/srv/irclogs.ubuntu.com/2012/03/28/#ubuntu-touch.txt

=== MacSlow is now known as MacSlow|lunch
=== MacSlow|lunch is now known as MacSlow
tvossmade grail green again, answered comments on omgubuntu and youtube, (self-)reviews, investigated test-failures for evemu14:15
dandraderinvestigating why I'm getting a half-second or so of silence (i.e. no events coming) at the beginning of a 4 fingers' gesture14:16
bregmamaking good progress on #94482214:18
bregmatvoss, it looks like eemu tests are failing because they require root privs14:19
bregmas/eemu/evemu/ not a large flughtless bird14:19
tvossbregma, considered that as well, but apparently, the device /dev/input/event10 is not present in the vm's14:19
tvossbregma, checked that the tests are executed with root privs14:20
tvossbregma, do you know if it's okay to switch to /dev/input/event0, it's only a construction test for class Device14:20
bregmadoes the kernel in the VM not support the required functionality perhaps (would not be the first time)?14:20
tvossbregma, in general, it does. All other tests do pass and all other projects relying on evemu use that functionality as well14:21
cndI'm working on the last remaining bugs in unity gestures14:21
cndand then any miscellaneous fixes I can manage across the stack14:21
cndpreparing some packages like xorg-server for the archive opening up tomorrow14:22
cndbregma, tvoss: what's going wrong?14:22
bregmatvoss, yeah, it looks like event10 was chosen at random ny Duncan when he wrote the test, it can probably be changed to event014:23
bregmacnd, there is an evemu test case that fails on a non-existent device14:23
cndahh14:23
bregmait's just a poorly constructed test case14:23
cndthat reminds me, we need to add device properties to evemu14:24
cndI'll open a bug and maybe get to it today14:24
tvosshttp://pastebin.ubuntu.com/903964/14:24
cndotherwise we won't be able to replicate buttonpad devices properly14:24
bregmaI think that functionality will have to wait for Q14:24
cndbregma, we can apply it to trunk and ask people to use our ppa when necessary14:25
bregmasure, no problem, but we should probably consider the released version of evemu frozed:  I should branch the packaging today14:26
bregmaum, frozed was a typo but I like that word, I think I;ll keep it14:26
bregmathere's a bunch of evemu refactoring I'd like to do but it's low priority14:27
bregmacnd, are you going to do #966367 (grail FTBFS in PPA) or should I MR what I did yesterday?14:28
cndbregma, I've already proposed it14:29
cndjust waiting for someone to review14:29
bregmaoops, missed that -- I seem to be having weird trouble with mail a lot lately14:30
bregmaI especially hate when I send mail and it doesn't actually get sent14:30
tvossbregma, same here14:31
bregmamust be a bug in thunderbird, it happens mostly with "reply to list", but also with replying to Debian bugs (which is serious, because that's how Debian handles bugs)14:31
cndI can't wait for the switch to gmail14:32
bregmatvoss, will you fix the evemu test case?14:32
cndtvoss, oops, I meant googlemail14:32
cnd:)14:32
tvosscnd, indeed :)14:33
tvossbregma, ack14:33
bregmayeah, I really dislike g*mail but it's sounding better lately14:33
bregmaespecially with launchpad working better with gmail than with canonical mail servers14:33
cndI personally really like gmail for personal mail, I hope I like it for work mail too14:33
cndbut I won't be 100% sure until I can try it14:34
bregmaI just want to do code reviews and bug administration through mail instead of a browser without having taste like @$$14:35
cndheh14:35
tvossbregma, just scheduled a one-shot build for my branch, if it passes, I'm going to mp it14:36
bregmaso, are we on track to do a release of the stack (evemu/frame/grail) tomorrow?14:37
cndbregma, I think so14:41
cndbregma, tvoss, dandrader: btw, if you can't get 4 touch drag to show/hide the launcher, there are two options you need to check14:41
cndin the system settings -> appearances -> behavior, ensure that Auto-hide the launcher is on14:42
tvossah14:42
cndif it's greyed out, then you need to open up ccsm, find the unity compiz plugin, go to the behavior tab, and ensure "Hide Launcher" is set to "Autohide"14:42
cndthe dock then hides/unhides properly as you are dragging14:43
cndsometimes when you lift your fingers it reverts back14:43
cndso I need to find out why14:43
cndbut otherwise it's nice and smooth14:44
tvosscnd, thanks14:45
* tvoss waits for unity-2d-daily to finish compiling14:45
cndaha, so the last update event sometimes has a huge position delta14:48
cndbregma, got one more geis bug15:12
cndthe position delta attribute value is calculated incorrectly, and it manifests when the number of touches changes15:12
cndnote to self: don't edit shared events from your phone15:16
bregmaOK15:16
bregmais the fix straighforward?  It should probably get int to 2.2.8 if possible.15:17
cndyes15:19
cndvery15:19
cndbregma, http://paste.ubuntu.com/904046/15:19
cndI have just confirmed it fixes the launcher hide/unhide reverting at the end of a gesture15:20
cndand I believe it fixes windows warping oddly at the end of a three touch gesture too15:20
cndI just need to make a test for it15:20
cndit also seems to adjust the window movement speed to be more correct too15:21
cndthough I don't know exactly why that is15:21
tvossbregma, do you remember my branch for fixing the format error in geis on i386?15:25
bregmavaguely15:26
bregmathe one where we didn;t know why it wasn't failing15:27
dandradercnd, when you call XSyncAwait() you not receive any events until the wait condition is met, right?15:29
dandraders/you not/you will not15:29
tvossbregma, ack15:30
tvossbregma, would you mind merging it? we can have utouch all green then :)15:30
cnddandrader, no, you can receive events15:31
cndI think15:31
cndI seem to be able to15:31
dandraderThat's not happens in my box15:31
dandraderit seems15:31
cnddandrader, interesting15:31
cnddandrader, I think it will require some heavy-duty debugging to figure out :(15:32
dandraderand that's also what I understood from www.xfree86.org/current/synclib.pdf15:32
cndit could be that the events are waiting on the X fd, but the fd isn't being set as readable15:32
cndhmm...15:33
cndthen why is it working for me...15:33
dandradercnd, that's where the pause I'm getting comes from15:33
cndok15:33
cndI wish the sync extension were better documented15:34
cndand way better coded15:34
cndit's really awful15:34
cnddandrader, can you find anything in the sync extension that would work the way we want it to?15:36
dandrader"The mechanism used by this extension for synchronization within the X server15:37
dandraderis to block the processing of requests from a client until a specific15:37
dandradersynchronization condition occurs.15:37
dandrader"15:37
dandraderthat "block the processing" part scares me a bit15:37
cnddandrader, actually, it looks to me like it shouldn't block15:37
cndsimply because it's called *a*wait15:37
cnd"The await is15:38
cndprocessed asynchronously by the server"15:38
cnddandrader, can you try switching it from an await to an alarm?15:39
cndI honestly don't know what the difference between the two is15:39
cndmaybe the alarm won't block events?15:39
dandradersure, I'll check it15:40
cndbiab15:40
cnddandrader, while you're at it, try using XSyncPositiveTransition instead of XSyncPositiveComparison15:40
cndI think I may have it wrong in the code and we are getting extra events we don't need15:41
bregmatvoss, merged, kick off a test build if you feel the need to see green15:42
tvossbregma, thanks ... green is hope ;)15:42
dandrader"The extension provides an Alarm mechanism that allows clients to receive an15:48
dandraderevent on a regular basis when a particular counter is changed."15:48
dandraderlooks like that's what we want indeed15:48
tvossbregma, build fails with a missing header file: http://pastebin.ubuntu.com/904102/15:52
bregmatvoss, fixing....16:02
tvossbregma, thanks16:02
bregmatvoss, I pushed up a fix but most tests are disabled in the packaging builds so I can't guarantee you won't get other errors, go ahead and give it another try16:10
cndtvoss, are there plans to move our jenkins work to qa.ubuntu.com?16:20
=== dandrader is now known as dandrader|lunch
cndbregma, how's bug 944822 coming?17:23
cndI'm hitting it in my testcase for the position delta bug :)17:23
bregmaI'm working on it... you don't need to hit it, since your test case can create devices in advance of creating a geis instance, like other test cases do17:32
tvossbregma, scheduled a rebuild17:33
bregmapeachy, we'll just wee what we shall see17:34
bregmaI hate it when I write a test case and it fails and I spend a lot of time going through my code, only to realize the test case was wrong not my code17:35
cndbregma, I can do that, but it means I have to have multiple test fixtures17:38
cndor override the SetUp() function...17:38
cndbut it's easier, and I think cleaner, if we can instantiate the device in the test body17:39
cndif you'll be done soon, I can just wait17:39
cndif not, I'll override the SetUp() method17:39
tvossbregma, geis is green again17:42
cndactually, even overriding SetUp() won't work unless we begin using value-parameterized tests, which isn't really what they are intended for17:52
=== dandrader|lunch is now known as dandrader
=== sbambrough is now known as scottb
cnddandrader, any luck with the sync extension?19:54
dandradercnd, yes19:55
dandraderalarms work alright19:55
cnddandrader, great :)19:55
dandraderalthough XSyncPositiveTransition doesn't work19:55
cndoh well19:55
dandraderI've to create an alarm tiwh XSyncPositiveComparison and then delete it when I first get an alarm notifitation from it19:56
dandraderbut actually that logic would be the same for the *Transition case.19:56
dandradergotta submit a bug report now...19:57
cnddandrader, sounds good19:58
cndI'm still curious why it works here and not on your computer19:58
cndoh well19:58
dandrader"works for me"(tm)19:59
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
dandraderWhy is utouch-geis implemented all in C (as opposed to C++, like in utouch-frame and utouch-grail)?21:16
bregmasome of the target applications are not written in C (eg. GTK) and are less likely to use a library that pulls in the whole C++ runtime21:20
bregmaC is the lowest common denominator for most things, C++ is not compatible with many things21:20
bregmaC can provide a stable ABI across compilers, C++ can't21:21
bregmaof course, now that tgrail and friends were rewritten in C++, the pulling-in-the-whole-runtime is shot to heck21:22
cndbregma, yeah, though that's supposed to be temporary21:36
cndwe just need to get the dbus backend finished21:36
cndand make the backends into plugins21:36
cndhowever, the need for that has diminished since the core gtk developers have said they are ok with a c++ runtime dependency21:37
cndas long as the api is c21:37
dandraderI'm missing the std goodies... Where to go for a hash table now?21:39
dandraderbut we do have a geis_bag :)21:40
cnddandrader, make one?21:43
cnddandrader, we could also use glib, but we were concerned about it's support across platforms21:43
cndfor example, on windows21:44
cndby sticking with straight C and C++, we have a stack that *should* be cross-platform in nature, and does not bring in unwanted dependencies21:44
cndbregma, I've proposed the fix for the delta position21:45
cndI realized that since the gtest_attr tests all use the same device, we can work around bug 944822 for now21:46
bregmadandrader, geis_bag is the only generic container in geis, given the nature of most data in geis anything else would be overkill (without a good standard library)21:57
bregmathere are many times I missed my standard library when writinggeis21:58
bregmacnd, I'll try to review your MRs later today21:59
cndbregma, sounds good :)21:59
dandraderbregma, I feel your pain22:00
dandraderrewriting standard stuff such as containers is far from motivating indeed22:00
dandraderwell. time's up for me22:01

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