/srv/irclogs.ubuntu.com/2013/11/27/#ubuntu-mir.txt

RAOFOh, my.01:34
RAOF“make test ARGS=-j9”01:34
=== duflu_ is now known as duflu
dufluWhy is freenode timing out so much this week?01:51
RAOFIs your internet being terrible again? :)01:52
dufluApparently I'm still connected at full speed. It's only IRC that's weird01:55
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
robotfuelduflu: ping04:38
duflurobotfuel: pong04:43
robotfuelduflu: I thought I needed the project(<name>) in the cmake file to name and publish an executable, will everything work the same without it?04:46
duflurobotfuel: Yeah should work without it, from memory04:50
robotfuelduflu: I was just following this http://www.cmake.org/cmake/help/cmake_tutorial.html when I modified the cmake file for this MP https://code.launchpad.net/~chris.gagnon/mir/development-branch-no-valgrind-on-arm-unit-tests/+merge/19640604:50
duflurobotfuel: Because it already falls under the mir project04:51
robotfuelah ok, I'll remove it then.04:51
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
RAOFAlright. That's me for the day. See you all in London.07:01
dufluRAOF: Happy travels07:04
tvossRAOF, see you in London :)07:55
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
alf_tvoss_: can you remind me why we have the test discovery logic in mir, instead of adding the test directly?11:06
tvoss_alf_, iirc, people wanted one executable per test class (unit/integration/acceptance) but more fine-grained output in the output of "make test"11:07
alf_tvoss_: ok, and I guess the usual gtest output (which is fine grained) is supressed when running with make test / ctest11:08
tvoss_alf_, exactly11:09
alf_tvoss_: thanks, I am trying to streamline our testing infrastructure and remove hardcoded assumptions (e.g. ANDROID==armhf==cross-compilation)11:12
tvoss_alf_, yup :) I'm not opposed to getting rid of the test discovery in general11:14
alf_tvoss_: ... and also remove hardcoded CI specific logic from our build system, instead exposing it as options. As a first step I am trying to figure out what the requirements are from all sides.11:15
alf_tvoss_: anyway, to be continued after lunch :)11:16
tvoss_alf_, yup :)11:16
alan_galf_: IIRC it was a workaround for a lack of any test output from CI. But we now see output from failed tests, so I think it unnecessary.11:30
=== alan_g is now known as alan_g|afk
=== alan_g|afk is now known as alan_g
=== dandrader is now known as dandrader|afk
=== alan_g is now known as alan_g|lunch
=== dandrader|afk is now known as dandrader
=== alan_g|lunch is now known as alan_g
alan_galf_: got a moment to talk design?14:23
alf_alan_g: sure, hangout or IRC?14:24
alan_gshall we start here?14:24
alf_alan_g: sounds good14:24
alan_gThis is about buffer handles14:24
alan_gI've been working through the consequences of a single owner handle passed out by BufferBundle14:25
alan_gAnd come across the fact that these would be needed for the in-process clients14:25
alan_gWhich means that the handles would need to be in shared - to be available for platformgraphics14:26
alan_gAnd I think putting part of (what is logically) compositor there seems distinctly odd14:26
alan_gthoughts?14:27
alf_alan_g: I don't understand why they need to be in 'shared'. Did you mean libmirplatform?14:27
alan_gI did14:28
alan_gI meant mirplatformgraphics14:28
alan_gThe "gbm" or "android" libraries14:29
alf_alan_g: ok, let me process this for a moment (and check the code)14:30
alan_galf_: e.g. include/platform/mir/graphics/internal_surface.h14:31
alan_galf_: the alternative design is to use a raw pointer - and at this point it seems like a more elegant approach.14:37
alf_alan_g: ok, so the problem is solved this way by InternalSurface not needing the implementation of the buffer handle, and just calling swap/release on the underlying surface14:42
alf_alan_g: and unique_ptr is cumbersome because of the need for an explicit deleter signature...14:43
alan_galf_: well I was writing my own handle type, but there's still a need for type information14:47
alf_alan_g: right, I meant that if we wanted to use unique_ptr instead it would be cumbersome. What I think would work is a shared header only implementation of a generic unique pointer handle that is more like a shared_ptr in terms of deleter encapsulation.14:53
alan_gPossible. But brutal14:55
alf_alan_g: I am not necessarily saying that this would be preferable to the raw pointer (and swap/release) approach :)14:56
alan_gack. ;)14:56
alan_gWe don't actually need release() for the current functionality14:57
alan_gJust because of the way some tests are designed14:57
alan_g(We don't leak resources or anything)14:58
alf_alan_g: What about the buffer bundle returning a normal unique_ptr to an mg::Buffer that knows how to destroy itself?15:00
alf_alan_g: (i.e. a decorated mg::Buffer)15:00
alan_gAs in with the default destructor. Yes, it could be done but like the current design we're creating an unnecessary object every time we pass out a buffer15:02
alan_gThe thing is we're not really passing out ownership - so smart pointers are at best misleading15:05
=== dandrader is now known as dandrader|lunch
alf_alan_g: OK then. I think we can start with the raw pointer approach, and if we see that it leads to issues we can reconsider. My original concern was related to your last statement; when using smart pointers there is an expectation that they knows how to clean themselves up, not so with raw pointers.15:12
alan_galf_: agreed a raw pointer says "this one", not "you own this"15:13
alan_galf_: thanks15:16
alf_alan_g: You are welcome. Going off on a tangent, I would like, in general, to have a smart ptr ala shared_ptr with unique semantics in the C++ arsenal :)15:20
alan_galf_: If you want it in the standard library you'll probably have to write a proposal for WG2115:22
alan_g(It isn't hard to implement, but standardising it...)15:23
=== alan_g is now known as alan_g|tea
ricmmgreyback: ping15:30
greybackricmm: pong15:30
ricmmgreyback: I just replied to the screenshotting thread15:31
ricmmI believe the scope is too broad for what the actual requirement is, which is to get QA back to where they were before15:31
greybackricmm: you're not wrong15:32
tvoss_ricmm, the one thing we should avoid is investing too much work into the screenshotting solution15:37
ricmmI said 30 minutes15:38
ricmmwith 30 minuts you can have a dbus interface that screenshots something and saves to /tmp/unity8/screenshots//formatted-name.png or whatever15:38
ricmmgreyback: +1/-1 ? I'll do the MR and just ping thomi to see if hes happy with it15:39
ricmmthats already days of discussions without unblocking them15:39
ricmmwhich was the real req15:39
ricmmtvoss_: ^15:39
greybackricmm: I'm +1.15:39
ricmmok15:39
* ricmm branches15:39
tvoss_ricmm, see Saviq's answer15:43
Saviqricmm, they can't do nothing with screenshots, it's screencasting that they need15:44
=== alan_g|tea is now known as alan_g
tvoss_Saviq, did they have screencasting with surfaceflinger?15:44
Saviqtvoss_, no15:44
ricmmso it has nothing to do with going back to where we were before15:45
ricmmnvm then15:45
tvoss_Saviq, ricmm +1, it seems to be a mid-term requirement then15:45
popeySaviq: tvoss_ when you guys are considering screenshot / screencast, can you also please consider remote desktop? ☻15:58
tvoss_popey, one step after the other :)15:59
popeyindeed15:59
popeythey're all related though15:59
Saviqpopey, I think nothing we've talked about until now precludes15:59
tvoss_popey, agreed15:59
Saviqpopey, https://lists.ubuntu.com/archives/mir-devel/2013-November/000511.html15:59
=== chihchun is now known as chihchun_afk
truebattleaxeGOOOOOOOOOOOOD morning16:22
alan_gkdub: over on #ubuntu-ci-eng Saviq is volunteering to test your GNexus fix16:39
Saviqalan_g, kdub yeah, gonna take some build time, but I will16:39
ogra_just a little hint for the future ... ask the bug submitter to test it ;)16:40
kdubSaviq, thanks16:44
kdubwhat i was seeing yesterday on the stock image was it  was working intermittently16:44
=== thomi_ is now known as thomi

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!