/srv/irclogs.ubuntu.com/2011/11/15/#ayatana.txt

bschaeferthumper: hey just started doing the sru branch for nux. When you say bare minimum should I only init the variable that caused the bug or any that are not inited? (I am guessing all that are not)00:02
thumperbschaefer: I suggest all that are not00:08
thumperbschaefer: at least this way we avoid coming back to it00:08
thumperbschaefer: I also had an idea00:08
thumperbschaefer: to the general problem00:08
bschaeferthumper: yeah, that's what I was thinking00:08
thumperbschaefer: run unity under valgrind, and just look at the uninitialized reads00:08
thumperbschaefer: and filter on those in nux00:08
thumperbschaefer: should provide some interesting reading00:09
thumperbschaefer: actually, I have some valgrind logs around00:09
thumperbschaefer: and a script to filter them...00:09
* thumper makes a note00:09
bschaeferthumper: I was actually going to ask you about that (since I remember you talking about that)00:09
bschaeferthumper: and I havent found the dash problem yet, but I am just getting over a cold...so I should be able to focus haha00:09
* thumper nods00:10
bschaeferthumper: thought it was in TextEntry and an un inited var called _blocks_text00:10
bschaeferthumper: but I have eliminated a lot of areas00:10
bschaeferthumper: I almost feel like I should just make  a branch and try to fix all the uninited vars00:11
thumperbschaefer: I wouldn't have one branch for all00:11
thumperbschaefer: it may be too bug :)00:11
thumpers/bug/big00:11
bschaeferthumper: yeah haha00:11
bschaeferthumper: i have found a lot but then they don't fix the bug and I forget about them00:12
bschaeferthumper: i feel if I am going through all these I should be fixing it along the way00:12
thumperyes...00:12
thumperwe should00:12
bschaeferI can start making branchs for each file00:13
bschaeferwhen I finish this sru branch00:13
thumperbschaefer: coolio00:23
APIlamalex, hi, tim penhey pinged me for some merged code00:42
APIis there any problem here?00:42
thumperAPI: that's me00:50
thumperit was more me looking at the log and seeing that the code review didn't have any approved00:51
thumperI didn't notice that it was alex that did the merging00:51
thumpersince he was one of the reviewers, it is ok as far as you are concerned00:51
thumperjust not all the boxes ticked that I was expecting00:51
thumperbschaefer: are you comfortable looking through valgrind logs?00:52
thumperbschaefer: I have a dump of some uninitialized variables used in jumps00:52
thumperbschaefer: where nux is mentioned00:52
bschaeferthumper: I should be00:52
thumperbschaefer: they should all be missing initialization in unity or nux00:53
thumperbschaefer: I'll fire it over to you00:53
bschaeferthumper: I have used it a couple time before, but not for uninitalized vars00:53
thumperbschaefer: do you prefer your .edu email or gmail?00:53
bschaeferthumper: gmail, as my edu will be gone in a year00:53
thumperkk00:53
bschaeferthumper: sweet thanks00:54
thumpersent00:54
bschaeferthumper: cool, I might write a simple script to parse out noise00:55
bschaeferthumper: until you put up your script00:56
* thumper sighs00:56
APIthumper, ok, thanks00:57
bschaeferthumper: it looks like you already ran the script on it though...as it is all uninited vars00:57
thumperbschaefer: yes... and here you go lp:~thumper/+junk/valgrind-py00:57
thumperbschaefer: run it with 'valgrind.py <valgrind-output>'00:58
bschaeferthumper: thanks, should have looked over it first...00:58
thumperbschaefer: you get dropped into a python interactive prompt00:58
bschaeferthumper: alright00:58
bschaeferthumper: https://code.launchpad.net/~brandontschaefer/nux/sru-fix-819721/+merge/8223601:35
* thumper waits for the diff01:38
izzaboohowdy06:41
om26erdidrocks, Hi! you aware of bug 875557 ?10:57
ubot5Launchpad bug 875557 in compiz-plugins-main (Ubuntu) "Compiz grid overlay appears after workspace switcher use" [Critical,Confirmed] https://launchpad.net/bugs/87555710:57
* om26er thinks would be better to undo the SRU update as thats a major regression10:58
didrocksom26er: looking10:59
AlanBellooh, I have seen that happen too, thought it was me10:59
om26eralso bug 878516 caused by the same SRU10:59
ubot5Launchpad bug 878516 in compiz-plugins-main (Ubuntu) "Regression: snap to screen edges to view two windows side by side doesn't restore window size correctly" [High,Confirmed] https://launchpad.net/bugs/87851610:59
didrocksom26er: it's not the current SRU in -proposed, isn't it?11:00
didrocksom26er: there is a new version in -proposed which should ix some of those behaviors11:01
didrocksom26er: or do I misread?11:01
om26erits a regression in compiz-plugins-main11:01
om26erand there is no -proposed of now11:01
om26erits in -updates now11:01
om26erdidrocks, ^11:02
didrocks1:0.9.6-0ubuntu4, right?11:02
om26erdidrocks, yep11:02
om26eri downgraded and the problem is not there11:03
om26erdowngraded to 1:0.9.6-0ubuntu211:03
didrocksdid you try 1:0.9.6-0ubuntu3 ?11:03
didrocksah no11:03
didrockshum, reverting, there is a lot of fixes there11:03
didrockssmspillaz: ^11:03
didrocksright now, the current glitch seems way less important than what 1:0.9.6-0ubuntu3 is fixing11:04
smspillazI'll have a look when I get back11:04
om26eri think i did test 1:0.9.6-0ubuntu3 and the same11:04
didrocksom26er: and, and I'm quite not confortable reverting this one11:05
didrockssmspillaz: basically, just to sum up, latest SRU regressed bug #875557 and bug #87851611:05
ubot5Launchpad bug 875557 in compiz-plugins-main (Ubuntu) "Compiz grid overlay appears after workspace switcher use" [Critical,Confirmed] https://launchpad.net/bugs/87555711:05
ubot5Launchpad bug 878516 in compiz-plugins-main (Ubuntu) "Regression: snap to screen edges to view two windows side by side doesn't restore window size correctly" [High,Confirmed] https://launchpad.net/bugs/87851611:05
smspillazgreat11:05
om26erdidrocks, i have seen like 3-4 big bugs with the update11:05
smspillazI can't seem to get anything right these days *shrug*11:06
didrocksom26er: would have been nice that people detected them while it was in proposed :)11:06
didrockswe already pushed -0ubuntu4 because of the regression in ubuntu311:06
om26erdidrocks, yeah wonder what happened with the SRU testers there :-O11:08
smspillazc-p-m is such a nightmare to maintain11:08
* om26er did SRU tested in the past :p11:08
om26er*testing11:08
murraycDoes nux/unity support GtkIMContext, for instance in the search text entries?11:10
murraycsmspillaz: ?11:11
smspillazmurrayc: not a question I can answer, sorry11:12
smspillaz(don't know)11:12
smspillazpretty sure that njpatel did some IM related stuff in unity though11:13
mhr3murrayc, i think the O version does11:24
murraycmhr3: What is the "0 version"?11:25
mhr3oneric11:25
mhr3oneiric*11:25
murraycBy the way, am I right that nux dropped the glibmm dependency? If so, I think that was wise.11:25
murraycmhr3: Thanks. We, here at Openismus, will test it out sometime over the next few days.11:26
smspillazmurrayc: don't you maintain glibmm ;-) ?11:32
murraycsmspillaz: Yes. I mentioned at the time that the IOChannel code has some problems. There are bug reports, I think.11:36
ockham_kamstrup: hi, i've got a tentative fix for bug 78510111:44
ubot5Launchpad bug 785101 in unity (Ubuntu) "unable to remove the "Apps Available for Download" section from Applications Lens" [Undecided,Opinion] https://launchpad.net/bugs/78510111:44
ockham_though i have to say i'm on natty so i could only check that it compiles but not test it...11:44
ockham_kamstrup: it's in the unity-lens-applications and unity branches linked from that bug report11:45
ockham_kamstrup: do you feel like giving it a try? i'm asking because of your comment #8 there11:47
kamstrupockham_: it was against natty?11:49
* kamstrup is not sure he has a natty box around...11:49
ockham_nope, against trunk (via pbuilder)11:49
kamstrupah, nice :-)11:50
kamstrupockham_: seems you'remissing the settings schema?11:50
ockham_it's in the unity branch11:50
kamstrupockham_: also; did you bind() the settings to react on changes?11:51
ockham_kamstrup: oops. i'm afraid no.11:51
ockham_kamstrup: was a bit of an experiment, i admit11:51
kamstrupah, you're just looking up the value on each query. That works as well11:52
ockham_kamstrup: yeah, i hoped so11:52
kamstrupalthough also slower11:52
ockham_so should i bind() it instead?11:52
kamstrupockham_: if you make display_most_used_apps and display_available_apps real properties on the class then you can use gp_settings.bind()11:53
kamstrupockham_: I think so. When we're running this on a tablet one day, we want every ounce of performance11:54
ockham_okay, i'll do that now11:54
kamstrupcool11:54
kamstrupockham_: when you've done that and added the schema you can merge propose it. I can probably do the needed autofoo magic to install the schemas if you want11:55
ockham_kamstrup: about the schema, isn't it okay the way i put the options into unity's schema?11:56
kamstrupockham_: ah, I didn't see.11:56
kamstrupockham_: although that sorta creates a runtime dep on unity that we don't have currently I think...11:56
ockham_the thing is, there's already an unity-lens-applications related option in unity's schema -- for u-l-a's runner11:57
kamstrupockham_: ah, you're right11:58
kamstrupockham_: although - that sucks :-)11:58
kamstrupockham_: this is all slowly coming back to me - I remember complaining about this when we added the runner back in the hay day :-)12:00
ockham_so this stuff should really be moved to a schema that ships with u-l-a?12:01
kamstrupockham_: I think so... let me check with didrocks...12:02
kamstrupdidrocks: the gschema for the runner... should we not move that into u-l-a?12:03
kamstrupto remove the runtime hard dep on unity...12:03
didrockskamstrup: it's depending on unity-common, isn't it?12:03
didrocksas the schema is there IIRC12:03
* didrocks checks12:03
kamstrupdidrocks: still, for developers - it's a dep on lp:unity12:03
kamstrupmakes it harder to maintain12:04
didrockskamstrup: well, we already have that dep for some icons IIRC12:04
didrocksbut either way, I have no strong opinion, move it if you prefer12:05
kamstrupdidrocks: ok - i probably will. it makes it easier to accept patches12:05
kamstrup(and easier to test)12:06
didrockskamstrup: sure! :)12:06
kamstrupockham_: I'll move the schema from unity into u-l-a and ping you when I am done12:08
ockham_kamstrup: great! can you include the options from my unity branch?12:08
ockham_kamstrup: and, um, can you help me some more about the bind() thing?12:09
ockham_kamstrup: i'm declaring display_most_used_apps and display_available_apps as private members of Unity.ApplicationsLens12:10
kamstrupockham_: if you declare them like this they'll work with bind(): public bool display_most_used_apps { get; set }12:11
ockham_and then just add the line gp_settings.bind()12:12
ockham_and display_available_apps = this.gp_settings.get_boolean (DISPLAY_AVAILABLE_APPS_KEY);12:12
ockham_to the constructor?12:12
ockham_(and the same for most_used, that is)12:12
ockham_kamstrup: ping^12:14
=== MacSlow is now known as MacSlow|lunch
kamstrupockham_: sounds right12:39
ockham_kamstrup: i haven't found any examples for bind()12:39
ockham_kamstrup: but the reference suggests something like this.gp_settings(DISPLAY_MOST_USED_APPS_KEY, this, display_most_used_apps);12:40
kamstrupockham_: i'm not sure exactly what paramsgo where :-) but it's something like that :-)12:43
kamstrupockham_: i filed https://bugs.launchpad.net/unity-lens-applications/+bug/890660 with merge requests12:43
ubot5Ubuntu bug 890660 in unity-lens-applications "Apps lens should bundle its own gsettings schema" [Medium,In progress]12:43
kamstrupmaybe we can punk mhr3 to review ^^ ? :-)12:43
ockham_kamstrup: do you know of any good examples for this bind() stuff? haven't found anything in unity...12:45
kamstrupockham_: I think it must be something like this:12:48
kamstrupgb_settings.bind (DISPLAY_MOST_USED_APPS_KEY, this, "display-most-used-apps", GLib.SettingsBindFlags.DEFAULT);12:50
kamstrup(warning: untested) :-)12:50
ockham_kamstrup: sounds good -- and seems i was close12:50
ockham_kamstrup: another question, what are the "get" and "set" for in the declaration12:54
ockham_public bool display_most_used_apps { get; set; }12:54
ockham_?12:54
kamstrupockham_: that is a vala-ism. it means that the variable becomes a "property"12:54
kamstrupockham_: properties are like reach public variables, that you can have change notifications on12:55
ockham_kamstrup: oh, cool. do we need both get and set? u-l-a only reads those properties.12:55
kamstrupockham_: I think we need the set; as well in order to allow gsettings to write to it12:55
ockham_ok12:55
ockham_kamstrup: ok, i compiled it successfully. i'm going to commit it now. before i push it, how can i merge your lp:~kamstrup/unity-lens-applications/include-gsettings-schema branch? (bzr newbie here)12:59
kamstrupockham_: you can just 'bzr merge lp:~kamstrup/unity-lens-applications/include-gsettings-schema' when you're standing in your own branch. Not much to it :-)13:06
kamstrupockham_: and then bzr commit13:06
ockham_kamstrup: strange, i get "ssh_exchange_identification: Connection closed by remote host"13:06
ockham_"bzr: ERROR: Connection closed: Unexpected end of message. Please check connectivity and permissions, and report a bug if problems persist."13:06
kamstrupockham_: oI got that just a while ago...13:06
kamstrupdunno what it was13:06
kamstrupi logged out and back in, and then it worked13:07
kamstrupI think they must have reset some services13:07
ockham_kamstrup: hm, at 3rd attempt it seems to work now13:07
kamstrupwow, odd13:07
ockham_yup13:07
ockham_kamstrup: is there a way to automatically re-use your commit msg or something boilerplate like "merged from  lp:~kamstrup/unity-lens-applications/include-gsettings-schema?"13:08
=== MacSlow|lunch is now known as MacSlow
kamstrupockham_: that msg is ok.13:17
ockham_kamstrup: okay i think i got one final question: do i need to explicitly add my gsettings options to data/com.canonical.Unity.AppsLens.gschema.xml.in.in now?13:19
ockham_what's puzzling me is that com.canonical.Unity.ApplicationsLens.gschema.xml also contains a shows-on-edge key in com.canonical.Unity.ApplicationsLens13:20
ockham_where does that come from?13:20
kamstrupockham_: where do you see that shows-on-edge key?13:29
kamstrupockham_: but yes; you need to put your schema in there13:30
ockham_in the generated com.canonical.Unity.ApplicationsLens.gschema.xml13:30
ockham_kamstrup: ^13:32
=== zyga is now known as zyga-afk
kamstrupockham_: ah, no, only edit the .in.in version13:37
ockham_kamstrup: sure; i was just curious where that stuff came in from13:37
ockham_kamstrup: btw, what gsettings path should i use? just desktop/unity, or something like desktop/unity/lenses/applications13:39
kamstrupockham_: it's standard automake foo... the .in files are used to extract translation templates and such13:39
kamstrupockham_: desktop/unity/lenses/applications makes sense I think13:39
ockham_kamstrup: alright13:40
davidcalleHaving xchat highlighting "lens" was a stupid idea :-)13:41
ockham_davidcalle: sry, will be finished soon :-)13:41
davidcalleockham_, just kidding ;-)13:42
mhr3kamstrup, still necessary?13:43
kamstrupmhr3: yes13:43
mhr3ok, going to look13:43
ockham_kamstrup: ok, i pushed it. can you give it a try?13:43
mhr3ockham_, so i suppose the unity branch is obsolete now?13:44
ockham_mhr3: mine is obsolete, kamstrup's not13:44
mhr3ah, it's removing stuff, i though it's adding...13:45
ockham_mhr3: yep, his unity branch removes stuff that's added by his unity-lens-applications branch13:46
ockham_mhr3: i've delete my unity branch now13:46
mhr3ockham_, and you will make another mp on top of that, correct?13:47
ockham_mhr3: mp?13:47
mhr3merge proposal13:47
ockham_ah, yeah.13:47
ockham_as soon as someone tested it successfully, that is13:47
ockham_mhr3: (being on natty where i can't test it myself)13:48
mhr3right13:48
ockham_mhr3: feel like testing it? :-)13:48
mhr3sure13:48
ockham_mhr3: great!13:49
mhr3ockham_, a bit odd that you're fixing bug that doesn't affect you though :)13:49
ockham_mhr3: well it does affect me, but i think natty's unity doesn't use gsettings yet, and i'm sure going to update some time soon anyway...13:50
mhr3so preparing for update, cool :)13:52
ockham_mhr3: btw if it works, do you think it could be backported to oneiric?13:52
mhr3ockham_, dunno, i dont package stuff13:54
=== zyga-afk is now known as zyga
ockham_kamstrup, mhr3: soo... did you guys check out my finished branch yet (and if it works for you?)14:10
mhr3ockham_, where is it?14:14
ockham_mhr3: lp:~ockham-razor/unity-lens-applications/lp78510114:15
mhr3ockham_, could you register a merge proposal, it's hard look it over this way14:17
ockham_mhr3: and set you as the reviewer?14:19
mhr3doesn't matter14:20
ockham_mhr3: ok, mp filed14:21
ockham_https://code.launchpad.net/~ockham-razor/unity-lens-applications/lp785101/+merge/8228014:22
hakermaniakamstrup, hello, I was told that you may know to answer my question :P Well, I have made it on how to make dynamic quicklists, connect them to actions, disable, hide them etc, but is it possible to hide the static quicklists while the dynamic ones take place while the application is running?14:30
kamstruphakermania: not that I know of... although that would make sense...14:31
kamstruphakermania: can you file a bug?14:31
hakermaniakamstrup, I do, but I didn't mention any kind of problem. I just asked if it is possible to hide the static ones while the program is running and the static ones are available through the unity.h. Not a bug if possible, just a missing feature14:32
hakermaniaIdo - I can14:33
hakermaniakamstrup, sorry, not a native english, now I made sense, I will file a bug :)14:36
kamstruphakermania: not worries, I read yo loud and clear :-)14:37
kamstrups/not worries/no worries/ - not doing too well myself either ;-)14:38
kamstrupockham_: ok, my two branches with the schema twiddling has been merged to trunk(s)14:43
ockham_kamstrup: great! i've filed a merge proposal and asked mhr3 to test.14:46
kamstrupcool, thanks!14:46
mhr3kamstrup, eek, i just noticed the crawling of all binary files in user's path... do we really want that?14:48
=== yofel_ is now known as yofel
=== m_conley_away is now known as m_conley
mhr3yey, gsettings crashes if the schema doesn't exist15:47
mhr3that's nice15:47
hrwhi15:55
hrwis it normal that unity/2d panel^Wlauncher stops hiding after some time?15:55
ronocdiwic, ping16:07
jbwiv_guys, anyone know if the improved multi-monitor support is testable/installable on Oneiric? I had to switch over the KDE for now because unity wouldn't support my three monitor setup...I'd like to switch back sooner rather than later...16:10
seifhey tedg16:30
ockham_mhr3: thx for your review. those issues should be fixed now. can you check?16:30
ockham_i'm afraid i have to leave now, but i might be back later on16:34
cwillu_at_workjbwiv_, it works much better17:02
cwillu_at_workI still dispute whether unity itself is a great tool for multi-monitor use, but...17:03
jbwiv_cwillu_at_work, I could understand that17:09
jbwiv_is there a way to test the new functionality on 11.10?  (an easy way, that is?)17:09
mhr3ockham_, sorry, there was some other stuff i had to do, it'll have to wait till tomorrow17:41
ockham_mhr3: alright - thx anyway17:43
SWcan anyone suggest where i can find some tutorials on interacting with the Unity launcher?  I was looking through the documentation here: https://wiki.ubuntu.com/Unity/LauncherAPI but all the sample code is broken17:48
ockham_mhr3: i don't need to resubmit the mp after having pushed the fixes, do i?17:49
mhr3ockham_, nope, it'll be fine17:49
ockham_mhr3: ok, thx17:49
=== bregma_ is now known as bregma
cwillu_at_workjbwiv_, a livecd?18:49
andyrockthumper, finally :) i'm adding the google test for the device launcher icon private impl19:13
andyrockbut when i run ./tests/test-gtest19:13
andyrockor make check19:14
andyrocki get19:14
andyrockFATAL: Unable to connect to test service19:14
andyrocknot only using my branch19:14
nolavizanyone here?20:53
andyrockthumper, around?21:05
thumperandyrock: I am, but on a call21:06
andyrockthumper, can you ping me when you're available?21:06
thumpersure21:06
andyrockjaytaoko, ping21:24
compaCan anyoune help me whit bug 773841? I'm new in ubuntu and I want to solve a bitesize bug!21:49
ubot5Launchpad bug 773841 in unity-place-files (Ubuntu) "\\192.168.1.x opens http:\\192.168.1.x in firefox as opposed to smb://192.168.1.x in nautilus" [Low,Confirmed] https://launchpad.net/bugs/77384121:49
jaytaokoandyrock: pong22:35
andyrockjaytaoko, yesterday you told me brb22:36
andyrockthen i went to bed22:36
jaytaokoandyrock: sorry22:37
andyrockdon't worry :) are you available right now?22:38
jaytaokoandyrock: yes22:38
andyrockso i'm wondering if in nux there is a "tool" or something to help in creating test22:41
andyrocki mean something to create fake events22:42
jaytaokoandyrock: well I want to make a first one22:42
jaytaokoandyrock: I am adding Xtest support for fake events22:42
andyrockjaytaoko, great... :)22:42
jaytaokoandyrock: I hope to have a first iteration working at the end of this week22:43
andyrockso for the scroll - click branch...22:43
jaytaokoandyrock: then I will use that to make a test framework that we can all re-use22:43
andyrocki can wait for test right?22:43
andyrockthis makes sense22:44
jaytaokoandyrock: yes, we want to enforce the need for tests22:44
jaytaokoandyrock: it will make the code more robust22:44
jaytaokoandyrock: so yes, your branch is fine. but I need to finish with the testing framework before we can push it22:45
andyrockI know it...22:45
andyrockso we should test that when the mouse state changes22:45
andyrockthe right event is emitted22:45
andyrocknot only22:45
andyrockthe scroll and mouse released event22:45
andyrockIMO22:45
jaytaokoandyrock: yes22:46
jaytaokoandyrock: in short, the event on the button 1, 2, 3 should be unaffected22:46
jaytaokoandyrock: the higher mouse button (including for horizontal scroll)  will not have a mouse down/up event22:47
jaytaokoandyrock: we have to make sure of that with XTest22:47
andyrockyeah... another solution is supporting horizontal scroll22:47
jaytaokoandyrock: you mean adding a NUX_HORIZONTAL_SCROLL event?22:48
andyrocksomething like that22:48
andyrockcreate another event is easier22:48
andyrockbut we can use the same envet for both vertical and horizontal scroll22:48
jaytaokoandyrock: I will be adding uTouch support to nux, so I think uTouch should cover that22:49
andyrockbut the release state should not be setted any way ;)22:49
greybackjaytaoko: hey, I'm a unity2d guy, we're exploring testing architectures. You are building this test stuff into nux, no?22:50
jaytaokoandyrock: right22:50
jaytaokogreyback: hello22:50
greybackjaytaoko: hello :) sorry, I'm rude22:50
thumpergreyback: we should talk about this some time22:50
thumpergreyback: testing that is22:50
greybackthumper: hey. Yes I think so too22:50
andyrockthumper, gtest doesn't work in unity22:51
jaytaokogreyback: Xtest will be a separate framework, Nux itself won't need to be modified for it22:52
thumperandyrock: :( it did before?22:52
thumperI'll take a look22:52
jaytaokogreyback: I want to have some test that respond to fake X events generated by XTest22:52
jaytaokogreyback: XTest will specifically target the Nux window22:53
andyrockthumper, i don't it too much in unity... but at leat two month ago yes :)22:53
greybackjaytaoko: I see. That makes it useful for 2d also22:53
jaytaokogreyback: and Nux should process the events as usual22:53
* thumper sighs22:54
jaytaokogreyback: I think the Xtest component won't be too complex...22:54
jaytaokogreyback: so we could share it22:54
greybackjaytaoko: magic! 2d should receive the same events anyway.22:56
jaytaokogreyback: right22:56
andyrockthumper, sorry... i don't use it...22:57
thumperandyrock: you don't use what?22:57
andyrockbtw it uses com.canonical.Unity.Test22:57
andyrockthumper, i don't use unity-gtest22:57
andyrockbut two month ago i patched it22:58
greybackjaytaoko: could you give me a link to xtest so I check it out please?22:58
thumperandyrock: it should be the responsibility of the person merging the code to run make check22:58
andyrockif i'm not wrong i ported a test from glib test to google test22:58
thumperif it doesn't pass, you don't merge22:58
jaytaokogreyback: sure...22:58
thumperandyrock: I run it  before every merge I do22:58
thumperandyrock: and soon, we'll have a landing robot, and normal people won't have commit rights to trunk22:59
andyrockthumper, yeah but the test doesn't fail because tests fail22:59
andyrockunity gtest tries to use com.canonical.Unity.Test23:00
andyrockthat doesn't exist on my pc23:00
greybackjaytaoko: or is it the usual x11 xtest extension you're using?23:00
jaytaokogreyback: So XTest is an X11 extension. Check on the web to find the spec23:00
jaytaokogreyback: yes, I plan on using the X11 extension23:00
greybackjaytaoko: ahh, sorry, for some reason I thought you were rolling your own. Sorry!23:01
jaytaokogreyback: you will need libxtst-dev on your system23:01
jaytaokogreyback: no, I think x11 Xtest should do23:01
jaytaokogreyback: here is a short sample on how to use it: http://bharathi.posterous.com/x11-fake-key-event-generation-using-xtest-ext23:02
greybackjaytaoko: ok thanks23:02
jaytaokogreyback: no problem!23:02
andyrockthumper, i think that Trevinho has the same problem23:10
andyrockwith unity gtest23:10
* thumper is checking locally23:10
thumperlp:unity r1735 has make check working23:11
thumperat least for me here23:11
* Trevinho confirms andyrock's words23:13
andyrockthumper, let me try23:13
* thumper is rebuilding r1736 from scratch23:13
andyrockTrevinho, thank you for the support ;)23:13
TrevinhoI had the same issue with old versions too23:14
=== m_conley is now known as m_conley_away
thumperTrevinho: can you run r1735 locally?23:19
thumperTrevinho: you may be missing a library or something23:19
* andyrock is building r1735 too...23:19
thumperr1736 passed make check for me23:20
thumperI'm hoping it is just you guys missing a package23:21
andyrockthumper, can you run:23:21
andyrock qdbus com.canonical.Unity.Test23:21
andyrockand give us the output23:21
thumperI've already blown away my revisions, and rebuilding23:22
andyrockthumper, i've google-mock package23:22
andyrockbrb23:25
Trevinhothumper: I've the same issue with that rev too23:26
Trevinhomarco@pangolin:~/unity-trunk/build/tests$ make test23:26
TrevinhoRunning tests...23:26
TrevinhoTest project /home/marco/unity-trunk/build/tests23:26
Trevinho    Start 1: UnityGTests23:26
Trevinho1/1 Test #1: UnityGTests ......................***Failed   10.87 sec23:26
Trevinhomake check seems to be different though23:26
thumperyes... it is23:27
thumperif you go back to the build dir23:28
thumperand go make check, what do you get?23:28
Trevinhoit runs but I get some errors like23:28
Trevinhotask-1: WARN  2011-11-16 00:28:33 unity.glib.dbusproxy GLibDBusProxy.cpp:255 Cannot call method InfoRequest proxy /com/canonical/unity/testlens does not exist23:28
thumperyeah, I get those too23:29
thumperso... maybe our make check needs to be fixed23:29
Trevinhook, then I get the result with23:29
Trevinhotask-1: [==========] 71 tests from 11 test cases ran. (16570 ms total)23:29
Trevinhotask-1: [  PASSED  ] 71 tests.23:29
TrevinhoSo now it works23:29
Trevinhobut make test doesn't23:30
thumper$  qdbus com.canonical.Unity.Test23:30
thumperService 'com.canonical.Unity.Test' does not exist.23:30
thumpermake test fails for me too :(23:31
thumperI've never run that before...23:31
thumpernot sure what it is supposed to do23:31
thumper1 - UnityGTests (Failed)23:31
TrevinhoOk, I used to use make test since I generally use that with automake23:32
Trevinhobut make check seems to work fine with unity23:33
Trevinhothanks thumper23:33
Trevinhothumper: how can I test issues like this one without a manual test? https://bugs.launchpad.net/ubuntu/+source/unity/+bug/88865023:40
ubot5Ubuntu bug 888650 in unity (Ubuntu) "Menus are not shown when an indicator is opened and the pointer is over the global-menu area" [Low,Confirmed]23:40
TrevinhoI mean, of course I can test the new functions I add, but how to test the results?23:41
thumperI'm not sure you can right now23:42
TrevinhoMaybe using something like the fake-key code that jaytaoko posted (http://bharathi.posterous.com/x11-fake-key-event-generation-using-xtest-ext) ?23:42
thumperTrevinho: I think we may manage to do this with autopilot soon23:42
TrevinhoAlso, thumper maybe we should classify the issues to test... I mean, maybe some one like that above is really minor to be tested if requires something maual23:43
* thumper is eating...23:44
thumperpotential sticky fingers23:44
Trevinho:)23:46

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