/srv/irclogs.ubuntu.com/2010/11/24/#ayatana.txt

kvalokamstrup: good morning06:19
kamstrupmorning kvalo06:20
spikebhello you two06:23
kamstrupmorning spikeb06:27
kvalohi spikeb06:40
kvalokamstrup: I have to apologise in advance for a really long merge request I'm about to send later today. can you read the intermediate commits or should I try to split it some other way?06:42
kamstrupkvalo: I'll probably 'bzr viz' it anyway, as I am sick and tired of LPs review interface06:56
kvalokamstrup: oh, that's a really nice app. thanks for the tip!06:59
kvalokamstrup: is there any way to get the diff to the same window as the commits? ala gitk06:59
kvalohehe, too easy. view > show diffs07:00
kamstrupkvalo: I'm not sure what you mean...07:00
kamstrupkvalo: ah, the setting07:01
kamstrupkvalo: I thought Show Diffs was on by default...07:01
kvaloit wasn't for me07:02
kvalobut maybe bzr noticed that user is a git fan boy, and decided to play tricks on me ;)07:03
kamstrupkvalo: yeah, it checks if ~/.gitconfig has mtime newer than 12 hours and if so enables the Emacs style "butterfly mode"...07:05
kamstrupin fact I added that code to bzr07:06
kvalohehe07:08
kvalokamstrup: but really good that you use bzr viz for review. makes also my life easier.07:14
didrocksgood morning07:59
spikebgood morning didrocks08:02
didrockshey spikeb08:02
MacSlowgreetings everybody08:05
spikebgreetings MacSlow08:05
MacSlowyo spikeb08:06
kvalodidrocks: morning. I want to temporarily include debug symbols to indicator-network. is there a switch for that?08:17
didrockskvalo: morning, yeah there is :)08:18
kvalodidrocks: ie. I want to disable strip08:19
didrocksDEB_BUILD_OPTIONS="debug nostrip noopt"08:19
kvalodidrocks: perfect, thanks!08:19
smspillazDBO: Clearly you and I both hate sleep08:19
didrocksthat will keep the debug symbols in the libs/bin08:19
didrocksand remove all optimization08:19
smspillazDBO: eg, it's for the weak, etc08:19
didrocksand then, don't strip in the package :)08:19
DBOsmspillaz, it was college that did this to me08:19
DBOsmspillaz, after 5 years of uni... I simply stopped sleeping. My brain wont shut off at night, I just lay there thinking for hours if I try. So I figure, what the hell might as well be productive08:20
smspillazDBO: it was law school that did this to me08:20
smspillazDBO: college: good grades, social life, enough sleep: pick 208:20
DBOsmspillaz, yeah but I only got good grades of the 308:21
DBOwhats wrong with me?08:21
smspillazclearly you must have had a social life08:22
smspillazIRC counts08:22
kvalodidrocks: works just as I wanted, thank you very much!08:22
didrockskvalo: you're really welcome, I always keep it as my favorite post-it :)08:23
DBOsmspillaz, worst social life EVAR08:23
didrockskvalo: what I want to do for every dx package is to get those option on odd number (==unstable) and not on even number08:23
didrocksthat can be cool08:23
smspillazDBO: hahaahah08:23
DBOsmspillaz, in dallas, we'll go out on the town... well the hotel they take is too is more out in the middle of a highway garden... but we'll take a bus into town, then go out on it!08:24
smspillazwoooo!08:24
smspillazhit up the night clubs oh wait fml the drinking age changes08:25
kvalodidrocks: I agree, that would be really handy08:25
DBOsmspillaz, are you not of legal age?08:25
smspillazDBO: your stupid united states and it's 21 year old drinking age. why can't it be more like australia (18)08:25
DBOsmspillaz, because then we'd have drunk children everywhere!08:25
DBOduh!08:25
RAOFBe thankful they're not still prohibiting all forms of alcholol!08:26
RAOF:P08:26
smspillazbecause we don't already have drunk children everywhere ...08:26
smspillaznot being able to drink = meh not being able to go to the clubs = NOOOOOOOOOOOOOOOOOOOOO08:27
DBOwe just banned caffeinated alcoholic beverages here in Michigan08:27
DBOso yeah, we are heading back to the all out ban, no worries there08:27
DBOsmspillaz, you can go to most clubs, you just cant drink08:27
smspillazDBO: we had a 200% tax on "alchopops" (whatever the hell they are)08:27
smspillazDBO: oh really? So the rules regarding licenced venues are different then08:27
DBOsmspillaz, yes08:27
smspillazin australia you can't go to any place that serves alcohol without fodo until you're 1808:28
DBOsmspillaz, if a venue is 21+ it tends to be because its easier to make sure you dont serve minors08:28
smspillazhm08:28
smspillazheh08:28
smspillazactually08:28
smspillazthe proof of age cards here don't actually say your DOB08:28
smspillazthey just say "proof of age card"08:29
smspillazI wonder if I'd pass as 2108:29
smspillaz(probably not)08:29
smspillazwow, this is wayyyy offtopic08:29
DBOindeed08:29
DBOto go a bit ontopic08:29
smspillazit's what happens when you don't sleep08:29
DBOwhy does recordmydesktop have tons of artifacts in it08:29
DBOwhen I use it with compiz + unity08:30
smspillazDBO: nvidia?08:30
DBOyes08:30
smspillazDBO: yeah that's why08:30
DBOthats a bad answer08:30
smspillazDBO: nvidia can't do vsync properly on full screen repaints08:30
DBOwat?08:30
smspillaznot even their windows drivers can get it right08:30
DBORAOF ^^ confirm?08:31
smspillazthat's at least my experience08:31
RAOFNot that specific issue, but nouveau *does* do video vsync significantly better than nvidia.08:31
RAOFIt wouldn't amaze me to find that nvidia doesn't vsync particularly well.08:31
DBORAOF, does it do power management yet?08:32
smspillazDBO: you're on a macbook pro right08:32
DBOyes08:32
smspillazDBO: I'd approach noveau with caution, I think there could be some EFI issues still08:32
RAOFOnly in the nouveau kernel tree; some power management support should get merged for 2.6.38, and hence make its way into Natty.08:32
spikebis compiz+unity the default on the daily isos yet?08:32
DBORAOF, only some?08:33
DBOspikeb, no08:33
RAOFDBO: My understanding is that the developer working on it has dynamic reclocking and similar powermanagement stuff pretty much solid for his hardware.08:34
spikebok08:34
smspillazRAOF: G80?08:34
DBORAOF, thats about the scariest sentence I ever read08:34
RAOFsmspillaz: Yeah; only nv5x+08:34
smspillazI love having the best supported card08:34
smspillazIts just like using linux and not being screwed08:35
RAOFDBO: He's been reclocking his card thousands of times a second overnight.  That's moderately solid.08:35
DBORAOF, *his card* is the bit that scares me08:35
RAOFYeah. :)08:35
DBOas you know, hardware generalizes in the same way that rocks float08:35
spikebheh08:35
RAOFWould it reassure you to know that fglrx has more power-management code than the radeon kernel driver + mesa driver + DDX combined? :)08:35
smspillazDBO: do you mind if I can clean up the unity plugin code?08:36
smspillazDBO: you wrap a whole bunch of functions you don't need08:36
DBOsmspillaz, oh yeah the spare functions we never used?08:36
DBOsmspillaz, yeah go ahead08:36
smspillazyeah that's inefficien08:36
DBOi know08:36
DBOi just stole your example code08:36
smspillazI saw08:36
DBOthen from there its just been "but I might need that some day... might as well leave it until later"08:37
smspillazit seems to be the new rage round the ayatana circles08:37
smspillazthough that's not very good considering that it's poorly formatted08:37
DBOyou remember when you play an RPG, and you get ammo for the Super KillMax 5000, but you never use it because you dont know whats around the corner?08:37
DBOsame mentality08:37
smspillazfair enough08:37
RAOFNice analogy!08:38
DBOthanks08:38
spikebI rather like that analogy too08:38
* smspillaz was probably just going to go with the whole "you save money in the bank for a rainy day)08:38
DBOI dont think todays youth would get that really08:38
smspillazyou're right. SPEND IT ALL ON GOON08:38
DBOfirst off, half of them are going to ask you what rain is, and the other half will ask what a bank is08:39
smspillazDBO: hahaha08:39
spikebhaha08:39
DBOeither I am funny when I am tired, or you all are quite nice to me08:39
smspillazit really is the former08:40
smspillaznot so much tired ... but ... delerious08:40
smspillazlike that night when I started writing code inside of my law essay08:40
DBOI write code in my sleep all the time08:40
smspillazand then almost handed the essay in with some code caught in the middle08:40
DBOthen I wake up and wonder where it all went08:40
DBOits depressing...08:40
spikebhaha smspillaz08:40
smspillazDBO: that must be a massive fml right there08:41
DBOit is!08:41
DBOthe worst part of it is I have gotten really good at this08:41
smspillazDBO: We need to create a device to hook a comptuer up to your brain08:41
DBOI'll code in my sleep08:41
DBOwake up, and just write out what I coded whilst sleeping08:41
spikebi can sort of code in my sleep, but most certainly not while awake.08:41
DBOand 90% of the time it will be an effective and creative solution to an earlier problem08:41
smspillazDBO: actually I get that too08:41
DBOits weird08:42
smspillazDBO: although it's not really code, it's more like, wake up, and "crap i was meant to do it this way all along"08:42
smspillaz"quick find a pen find a pen"08:42
DBOI think in framework design08:42
DBOso it starts as classes, then methods, then implementations08:42
DBOand usually a monster pushing me down the stairs08:42
DBOwhich somehow does not prevent me from typing08:43
DBOaaanyhow, night all08:44
didrocksgood night DBO08:45
DBOgood night didrocks08:45
RAOFSleep productively :)08:45
DBOthat sounds like the catch phrase apple would use if they made a sleeping pill08:45
RAOFNo; it'd be “Sleep productive”08:46
DBOyes08:46
didrockssmspillaz: so, it seems from what I see there there is profile support in the gconf backend. I guess the profile switch is handled by libcompizconfig, right? (btw, I don't see your commit there about profile choice by the env variable)08:46
RAOFAdjectival forms are for squares.08:46
DBOyou lost me08:46
DBOI only speak english, not understand the rules08:46
RAOF“Productively” is an adverb, modifying the verb “to sleep”.  So I was wrong, too.  *Adverbial* forms :)08:47
* RAOF restarts to test the new mesa hotness.08:47
smspillazdidrocks: oh I need to commit that08:51
smspillazdidrocks: also, yes profile suppor tis handed by lcc08:51
smspillazdidrocks: basically when you switch profiles it copies the gconf tree over to the master one08:51
smspillazDBO: it looks like hooking the paint of one window seems more and more like a hack when I look at it08:52
smspillazDBO: maybe I should change the way CompWindowPaintList works and change it to something like PaintList <PaintableObject>08:52
smspillazDBO: so we can make Unity a PaintableObject with it's own draw callbacks08:52
didrockssmspillaz: yeah, that's bad… but we will try to get something better for the gsettings backend if possible :)08:52
smspillazdidrocks: the gsettings backend should load directly from the profile08:53
smspillazdidrocks: the only reason the gconf backend does that is to maintain compatibility with the old gconf plugin08:53
didrockssmspillaz: ok, makes sense08:53
didrockssmspillaz: so, thinking about people having ini backend and not the gconf backend, we should maybe rather ship the .xml file for the profile (which get automatically imported if you activate the gconf backend, right?)08:54
smspillazdidrocks: I think compiz config will handle the change in backends08:54
didrockssmspillaz: btw, if you don't have the time now, we can discuss about it a little bit later, just tell me when you have the time for that + looking at the transition script integrations (nice work on gconf btw!) and make dist08:54
smspillazdidrocks: yeah, just gotta finish this paint thing first in nux08:55
didrocksI saw a lot of i/o when switching with a new profile, right08:55
didrocksso I guess it handles that :)08:55
didrockssmspillaz: I'll have a look if we can ship the Profiles in /usr or /etc08:55
smspillazyeah08:56
smspillazdidrocks: switching profiles between backends is always going to be expensive unfortunately08:56
smspillazdidrocks: IMO if the user has chosen to use the ini backend we should just preserve that08:56
smspillazotherwise gconf as default08:56
smspillazin fact, gconf already is the default08:56
didrockssmspillaz: right, the thing is that I want to profiles to be there for both08:57
didrocksso, you mean, if I create a "bar" profile in gconf08:58
didrocksand switch to ini08:58
didrocksit will create the file for me?08:58
* didrocks tries08:58
didrockssmspillaz: no, it doesn't create a profile, so we have to ship both :/09:00
kamstrupdidrocks: I assume we have glib 2.27/2.28 in Natty?09:09
didrockskamstrup: 2.27.309:12
kamstrupdidrocks: cool09:12
kvalokamstrup: do I always need to call g_signal_handler_disconnect() during object destroy for signals connected with g_signal_connect()?09:39
kamstrupkvalo: basically yes09:41
kvalokamstrup: damn, I have missed this altogether09:42
kvalokamstrup: thanks again09:43
kamstrupkvalo: if an object connects to its own signals it's less of an issue because the signals wont be emitted once the object is finalized09:43
kvaloyeah09:43
kamstrupkvalo: but if the signals are on another object, the other object will still emit signals, triggering the callbacks, when the first object is dwead09:43
kvaloI learned this the hard way :)09:44
* kamstrup should alias make=make -j209:44
kamstrupkvalo: so did I :-)09:44
kvalono no, -j8! ;)09:44
* kvalo taps his i709:45
kamstrupkvalo: if you're hungry I can serve you a knuckle sandwich!09:45
kvalo:909:46
kamstrupit's not good custom to belittle people who don't have an i7 ;-)09:46
kvalokamstrup: just to give you some motivation to buy a faster machine ;)09:50
kamstrupkvalo: rest absolutely assured that I have plenty motivation to do that :-)09:51
didrocksMacSlow: btw, do not forget the "QL/tooltip empty" for the release (kind reminder :))10:01
didrocksMacSlow: oh, fix commited? (just received the email), awesome!10:12
MacSlowdidrocks, that is fixed in trunk for some days now10:15
didrocksMacSlow: ok, but I don't have the time to run trunk. Awesome news :)10:15
MacSlowdidrocks, I always forget we ride different parts of the same wave :)10:16
didrocksMacSlow: heh :)10:16
=== MacSlow is now known as MacSlow|lunch
=== MacSlow|lunch is now known as MacSlow
vishhmm, is it a holiday in UK? seems no one from Canonical towers in online..13:13
vishs/in/is13:14
kvalovish: I think it's not a holiday today13:45
kvalokamstrup: oh man, this one is huge: https://code.launchpad.net/~kvalo/indicator-network/libconnman-backend/+merge/4173413:46
kvalokamstrup: take your time, it's not urgent in any way13:47
kamstrupkvalo: probably tomorrow before lunch, ok?13:47
kvalokamstrup: I tried to keep commits small so that it would be easier to review13:47
kvalokamstrup: even friday is ok13:47
lamalexnjpatel, what do you mean for "parenthesis on new line"14:13
njpatelwoops14:13
njpatelbrackets14:13
lamalexhaha ok14:13
njpatelbraces14:13
njpateleven14:13
njpatelfudge14:13
njpatelthat would be weird, eh?14:14
njpatelif14:14
njpatel(14:14
njpatel  x == y14:14
njpatel)14:14
njpatel{14:14
lamalexthat's what I was thinking14:14
lamalexand i was ready to quit14:14
njpatel  return false;14:14
njpatel}14:14
njpatellamalex, lol14:14
lamalexnjpatel, is that true for loops also?14:15
njpatelyeah14:15
njpatelbasically everyone likes something different so I made the choice14:15
lamalexyeah, that's fine as long as it's brackets and not parens :)14:16
* lamalex wants to be technical lead so he can make these kinds of decisions for people14:16
lamalex.. someday14:16
njpatelMy usual approach to these problems is choose something I like or everyone hates, but I'd have had to invent a new way of doing braces to do that14:16
lamalexhaha14:16
lamalexso I tried to comb my hair by cutting it this morning14:17
lamalexdidn't turn out well14:17
njpatelpics or it didn't happen14:18
lamalexnjpatel, I'll bring the bag of hair to QA sprint14:18
lamalexnjpatel, and re: AddChild vs addChild- should all methods be pascal cased then?14:18
njpatelI found an interesting bug on natty....when my computer attempts to sleep the graphics decides I only need 16bit color when it wakes up14:18
njpatellamalex, yeah, I think in unity.h/cpp and Launcher* there is some fooBar, but it all should be FooBar14:19
lamalexyeah, unity.h was kind of the basis I used for headers/style14:19
lamalexapparently not the right choice :{14:19
njpatellamalex, no, no, never use DBO's files for code style ;)14:19
lamalexha- yeah I seem to remember giving him lots of shit when I would review merges for Do14:20
njpateli'm going to make a precommit astyle hook when I'm bored14:21
njpatelokay, my eyes are screwed thanks to this driver bug, going to reboot so I can code14:22
lamalexhah, I forgot to remove that, "EAT IT, BITCH" line..14:25
lamalexthanks kamstrup14:25
kamstruplamalex: lol, :-)14:26
lamalexthe astyle man page is full of /very/ nerdy references14:28
kamstrupDeeModel is going to be ridiculously awesome when ported to GVariant14:30
njpatelso, it seems my monitor is broken :(14:31
lamalex<3 dee14:32
lamalexI want to start a new project just to use dee..14:32
njpatelI'm going to be  (1440*900)/(1920*1200) * 100 less productive14:32
dbarthnjpatel: we can still read you, even if you can't see us (are you typing blind?)14:34
njpateldbarth, no, no, I rebooted, But thanks for making me now think that when I type stuff it makes about as much sense if someone couldn't see what they are typing :)14:34
dbarth:-D14:35
njpatelOkay, time to make glib feel foolish14:35
lamalexnjpatel, could you look at kamstrup's comments? He had a question or two directed at you I'd like answered14:36
njpatelsure14:36
njpatellamalex, just the dbus related one, right?14:38
lamalexyeah14:39
lamalexkamstrup, what is simpler about using a stack allocated GVariantBuilder?14:39
njpateldone, basically leave it how it is until I add a proper object that will own the name14:39
kenvandinekamstrup, DeeModel is going to be ridiculously awesome when i can use it in python :-D14:41
* kenvandine ducks 14:41
lamalexkamstrup, kenvandine  DeeModel is going to be ridiculously awesome when i can use it in C#14:42
kenvandinehehe14:42
kenvandinei suspect python will come first :)14:42
lamalexnot if RAOF ever writes his gobject-introspection parser/generator for mono...14:42
kenvandineDee is close to working with GIR in python14:43
lamalexoh njpatel there were two things :P14:45
lamalexStateIntrospection vs. Introspection14:45
njpatelIntrospection is nicer I guess, but it's not a big deal for me14:46
lamalexkenvandine, please implement autocomplete for gwibber14:46
kenvandinelamalex, we will14:46
lamalex<3 da best14:46
kenvandineit will be in the new vala client14:47
kenvandinei hope :)14:47
kenvandineif not 3.0, 3.2 :)14:47
kenvandinejust getting a usable pure gtk client has to come first14:47
lamalexwow new vala client eh?14:49
kenvandineyeah14:51
kenvandinedepends on getting DeeModel working in python though, gwibber-service will provide the model14:52
lamalexso gwibber-service will remain in python?14:52
kenvandineyeah14:52
kenvandinenot going to re-write all that just to get Dee :)14:53
lamalexkamstrup, https://pastebin.canonical.com/40119/ is why DBusMethodCall was public. I need to put it in one of the GDBus structs- and if it's not public I get that error. Is there a way to define those structs in the header?15:00
njpatellamalex, can it just be a standard static C call inside the file? Seeing as it's a static C++ call anyway, that should work15:08
lamalexnjpatel, as in don't declare it in the header?15:08
njpatelright15:09
lamalexnjpatel, how do I prototype those in the cpp file?15:18
lamalexor do I just have to get the order right..15:18
njpatellamalex, the normal C way of prototyping at the top of the file15:19
njpatellamalex, basically it just a C function15:19
lamalexyeah, that's what I thought15:19
njpatelsee IndicatorObjectFactoryRemove.cpp for instance15:19
lamalexI was getting a weird compiler error15:20
lamalexnjpatel, that file are all normal class methods15:21
lamalex/home/alex/Projects/unity/unity.si/src/IntrospectionDBusInterface.cpp:30: error: invalid conversion from ‘void (*)(GDBusConnection*)’ to ‘void (*)(GDBusConnection*, const gchar*, const gchar*, const gchar*, const gchar*, GVariant*, GDBusMethodInvocation*, void*)’15:22
lamalexvoid DBusMethodCall (GDBusConnection*); looks like a fine prototype, right?15:22
njpatellamalex, IndicatorObjectFactoryRemote::on_proxy_ready_cb is just a normal C callback that links up to the C++ object after some validation checks15:22
njpatellamalex, the gpointer data ?15:23
njpateluser_data, even15:23
lamalexnevermind-- I'm missing so many arguments in that prototype15:23
lamalexI'm a moron15:23
smspillazDBO: yeah, review my work plz :)15:25
DBOon it you sexy sexy law student15:26
lamalexsmspillaz is a law student?15:26
lamalexfancy15:26
njpatelhe studies law?15:26
smspillazDBO: also, after I finish the migration stuff with didrocks I'm going to take scissors to the unity plugin15:26
smspillazahahahahahaahahahahahahaaha15:26
DBOnjpatel, no thats just my fantasy15:26
smspillazlamalex: njpatel: didn't you see when I got a law case submission caught in the compiz planet feet?15:26
didrocksDBO: I'll keep him busy, do not worry :)15:26
smspillaz*feed15:26
* smspillaz will lawyer your face15:27
njpatelDBO, awww, I have a bunch of "keep 100ft away" orders that I was going to get his help with15:27
smspillaz(IANAL!!! (yet))15:27
DBOnjpatel, yeah, in reality he studies Australian Law15:27
DBOwhich is like bizarro canada law15:28
smspillazyeah, I'll section 279 you!15:28
njpatelsmspillaz, whenever I read that I read: I ANAL15:28
njpatelsorry15:28
njpatelDBO, oh, that's no use to anyone15:28
DBOexactly15:28
smspillazactually, western australian criminal law is very different to english law actually15:28
smspillaznjpatel: BAHAHAHAHAHAHAHHAHAHHAHAAHHAAHAH15:28
smspillazI am actually laughing to hard right now15:28
DBOnjpatel, australian law is kinda a weird concept to me15:29
smspillazit seems we just cant get away from the innuendo today15:29
DBOI mean they have already been convicted once15:29
DBOin-your-endo15:29
smspillazDBO: I saw that one coming15:29
smspillazhow I met your mother15:29
* njpatel refrains15:29
DBOI can't help it15:29
DBOevery time someone says that word15:29
DBOI *have* to quote The Todd15:29
smspillaz*sigh*15:30
smspillazgee and I think the conversations I have with my friends at uni are bad ...15:30
DBOalso its from Scrubs not How I Met Your Mother15:30
njpatelright, dumb youngsters getting it wrong15:30
DBOUnity has 11 active reviews?15:31
njpatelyeah, but most are for 0.215:31
njpatelI wonder if I can mark them as needs-fixing?15:31
lamalexnjpatel, in the cpp files there's a strong mix of void Method and void\nMethod15:32
lamalexwhich is right15:32
njpatellamalex, void\nFoo::Method15:32
lamalexok15:32
lamalexbut in the header files it's void Method15:33
njpatelfor the sake of not having to have screen-size terminals15:33
njpatellamalex, yes, we're special like that15:33
lamalexha15:33
* lamalex keeps his terminal screen-sized..15:33
njpatelyou don't have the Foo:: in header mostly, that's why15:33
DBOsmspillaz, why does your branch work?15:33
lamalexright15:33
DBOsmspillaz, I really honestly dont understand how it works...15:34
njpatelPanelIndicatorObjectEntryView::PanelIndicatorObjectEntryView ()15:34
njpatelwe really need to use namespaces15:34
smspillazDBO: because I'm a sexy sexy law student?15:34
DBOsmspillaz, no I want a real answer, then I'll humor your funny bone (set up)15:34
smspillazDBO: probably a lack of stack overflows15:34
smspillazI did see one or two calls to empty boost functiosn while mucking around with the clock on this machine though15:35
DBOsmspillaz, no seriously, to me it looks like your find would hit every single glPaint call15:35
smspillazDBO: oh right, you mean my paint thing15:35
smspillazDBO: basically it hooks every single GL window's glDraw call15:35
DBOwait, window is a list?15:35
smspillazscreen->windows () is15:36
smspillazbasicaly it hooks every window's call to glDraw, and if the window is above the nux windows it draws the nux windows underneath15:36
smspillazotherwise it draws them on top15:36
DBOyou can walk screen->windows () by doing window->prev???15:36
smspillazyes15:36
DBOTHATS AWESOME15:36
smspillazdoubly linked lists bitches?15:36
smspillazDBO: there is also screen->reverseWindows ()15:37
DBOwell window I did not expect to be a node15:37
DBOsince its of type CompWindow15:37
smspillazit behaves like a node and like a list iter15:37
DBOalso15:37
DBOstop abusing C++15:37
smspillazC++ was designed to be abused?15:37
DBOit was15:38
DBOit really was15:38
smspillazyou should see how much I abuse boost in my other projects15:38
smspillaz(non compiz related)15:38
dbarthbrb15:38
DBOsmspillaz, really that sounds to me like "you should see how amazing unmaintainable my other projects are"15:39
DBOsmspillaz, you are +1 to merge15:40
didrocksDBO: stop distracting him, we are working!!! :p15:40
DBOdidrocks, aren't you still on strike? :P15:41
didrocksDBO: not yet, but my strike time will begin in 20 minutes, so we need compiz uploaded first :p15:42
didrocksuploading*15:42
didrocksDBO: isn't thanksgiving btw?15:42
DBOi thought that was friday15:42
smspillazoh right15:42
smspillaztomorrow it's slapsgiving15:42
smspillaztotally forgot15:42
smspillazoh what's worse is that the fb event time starts at 10:00AM15:43
DBOoh wow15:43
smspillaz... right when I have a driving lesson15:43
didrocksDBO: I'm not American, I don't know, it was a real question :)15:43
DBOdidrocks, seems that it is in fact tomorrow15:43
DBOdidrocks, as you can tell, I dont have anything to do on thanksgiving, so you will be seeing me15:44
didrocksDBO: you should get some rest somtimes :)15:44
DBOsocial lives are overrates15:45
DBOoverrated15:45
smspillazthanksgiving is deprecated here15:45
smspillazDBO: famous last words in college15:45
DBOsmspillaz, are you merging?15:45
smspillazDBO: oh right, I need to do that15:45
DBOplease15:45
smspillazI'll have to admit, I'm a bit bzr retarded15:45
DBOi will merge after15:45
smspillazhow exactly do I do that15:45
DBOdo you have a branch of trunk15:45
DBObzr branch lp:unity15:46
DBOcd unity15:46
DBObzr merge lp:YOURBRANCH15:46
DBObzr commit15:46
smspillazok15:46
DBObzr push15:46
smspillazdone15:47
smspillazmerge yours and then I will start cleaning the hell out of the unity plugin code15:47
DBOsmspillaz, i dont see your merge in trunk15:50
smspillazDBO: the push failed for some reason15:50
smspillazfixing15:50
smspillazit probably doesn't like the clock changes caused by booting into windows and then osx today15:51
DBOsmspillaz?15:57
smspillazDBO: argh I lost the console to this machine15:58
smspillazDBO: done16:00
smspillazwait16:00
DBOO_o16:00
smspillazDBO: argh wth16:01
smspillazit's saying I have no new revisions to push16:01
smspillazI hate to say it bug16:02
smspillazhttp://whygitisbetterthanx.com16:02
* smspillaz hids16:02
smspillaz*hides16:02
DBOscrew it I will merge your branch16:03
smspillazjust mreged it now16:03
smspillazauthenticating16:03
smspillazcool done16:03
smspillazactually16:03
smspillazdone16:03
DBOperfect16:03
DBOthank you16:03
smspillaz:)(16:03
smspillaz:)16:03
DBOsmspillaz, are you sure we are not painting every frame twice now?16:17
smspillazDBO: no we aren't16:18
smspillazDBO: that var gets reset at the beginning of every glPaintOutput16:18
DBOsomething weird is going on actually16:19
DBOsmspillaz, yeah it can be painted twice16:20
smspillazhum16:20
DBOsmspillaz, the case where it gets painted twice happens when a window is painted over it16:20
DBOopen a menu16:20
smspillazhave a look if glPaintOutput is being called twice16:20
smspillazdont see it16:21
DBOmake your wallpaper solid white16:21
DBOits easy to see then16:21
DBOif you open a menu such that it overlaps the launcher16:21
smspillazah right now I see it16:21
smspillazhmm I'll have to look into that16:21
smspillazdo you mind if I can do that after I get this migration stuff done?16:22
DBOhow long on that?16:22
smspillazDBO: err depends on if something works16:26
smspillazit's taking a long time write16:26
DBOcan you switch to this then16:27
smspillazis it critical?16:27
DBOyeah16:27
smspillaz:/16:27
smspillazok I'll have a look then16:27
DBOthe background flickers quite often16:27
DBOevery time notify osd comes up16:27
DBOso whenever it is painting under a window16:27
smspillazhm16:28
DBOyeah16:28
DBOnotify-send "test"16:28
DBOthen mouse over the launcher16:28
DBOboom, double render16:28
smspillaznotify-send sigabrts for me16:29
DBOawesome16:29
smspillazDBO: can you put an fprintf in glPaintOutput and one in preparePaint and see if glPaintOutput is getting called twice after a preparePaint16:32
smspillaz?16:32
smspillazthat's the only reason I can think of it for it rendering twice16:32
DBOsmspillaz, I see the problem16:32
smspillazah? what is it?16:32
DBOyou put the check in the wrong place16:32
DBOin glDraw16:32
DBOit should be checking doShellRepaint in multiple places16:33
DBOoutside and inside the loop16:33
DBOsince unity has multiple input windows16:33
smspillazit only needs to check it where we call paintDisplay ()16:33
smspillazunless we call paintDisplay in other places too16:33
smspillazyeah, that's not the problem, unless I missed some obscure code path16:34
DBOsmspillaz, yeah that fixed it16:35
smspillazO.o16:35
DBOyou'll see the fix when I push it16:35
smspillazDBO: where did you put the check?16:35
DBOfor (CompWindow *w = window; w && uScreen->doShellRepaint; w = w->prev)16:35
DBOthere16:35
smspillazah right16:36
smspillazyeah yeah that makes sense16:36
DBOyes indeed16:36
smspillazactually16:36
smspillazactually16:36
smspillazmore obvious solution16:36
smspillazafter calling paintDisplay16:36
DBOno we are not putting the check in paintDisplay16:36
smspillazbreak ()16:36
DBOi thought of that16:36
smspillazbreak;16:36
DBOi thought of that too16:36
smspillazsure ?16:36
DBOits possible that paintDisplay does not actually paint16:36
DBOfor some reason16:36
DBOin other words, we should assume paintDisplay is a black box16:36
smspillazbut putting the check into the for loop is going to have the same effect as just breaking after paintDisplay () ...16:37
smspillazexcept that it will be slower16:37
DBOno it wont16:37
DBOyou are talking MAYBE an extra instruction16:37
DBOi can live without the fraction of a nanosecond that will take16:38
smspillazDBO: try break after paintDisplay ()16:38
smspillazI'm 100% certain it will also work16:38
smspillazalso much cleaner16:38
DBOI am too16:38
cyphermoxnjpatel, kvalo, anybody else: the NM indicator patch is slowly taking form, here's how it looks right now: http://twitpic.com/39s20s16:38
DBOthats not the point smspillaz16:38
DBOthe point is we should treat paintDisplay as a black box16:38
DBOnot make assumptions about its implementation16:38
DBOin other words say for some reason we decide to add a check into paintDisplay in the future16:39
DBOthis check determines if nux is ready to paint or not16:39
DBOif not, it doesn't paint16:39
smspillazDBO: oh I see16:39
DBOnow you get it :)16:39
smspillazyeah16:39
smspillazbecause I was going to say16:39
DBOyeah I see how right now it makes no difference16:39
smspillazthe current paintDisplay () always sets doShellRepaint to false16:39
DBObut the idea is to never rely on a side effect16:39
smspillazfair enough16:39
DBOplease please remember that as you program, so important :)16:40
smspillazheh16:40
njpatelcyphermox, Nice!16:41
DBOcyphermox, you are a gentleman and a scholar, I salute you16:41
cyphermoxDBO, not such a huge feat. the code for nm-applet is clear and nice, so it makes it easy to integrate things16:42
* cyphermox goes back to hacking. I may fall offline regularly :)16:42
DBOsmspillaz, last major issue16:43
DBOsmspillaz, when using the wall plugin to change workspaces and having a notify-osd notification up16:43
DBOsomething bad happens16:43
DBOsmspillaz, other than that, I am so very happy with this work16:43
cyphermoxnjpatel, if you're interested, there should in theory be daily builds showing up here: https://code.edge.launchpad.net/~mathieu-tl/+recipe/nm-indicator, but it seems the chroots are unhappy right now16:43
DBOsmspillaz, also the "something bad that happens" is not introduced by you, it was there before but I couldn't fix it16:44
smspillazDBO: maybe we need to put a check and paintDisplay into glPaintTransformedScreen ?16:45
smspillaz*Output16:45
smspillazthat was my guess since I hit something like that too16:45
njpatelcyphermox, definitely interested, will try them out tomorrow after I've made the unity release16:46
njpatelcyphermox, thanks for the link!16:47
DBOsmspillaz, whatever makes it work16:47
smspillazDBO: *shrug*16:47
cyphermoxnjpatel, it directly replaces nm-applet though, so you'll want to be careful :)16:47
njpatelheh, will do :)16:47
lamalexDBO, make[2]: Leaving directory `/home/alex/Projects/uni17:04
lamalexuh17:04
lamalexI mean17:04
lamalexDBO, http://pastebin.com/3n14P8QA17:04
DBOlamalex, bamf doesn't crash17:05
DBOIm calling solar ray on this one17:05
lamalexit just did dog17:05
DBOSOLAR RAY17:05
lamalexa bunch of times17:05
lamalexlike, it was A PROBLEM17:05
DBOpriv->connection = dbus_g_bus_get (DBUS_BUS_SESSION, &error); <--- that call failed17:06
DBOdude wtf did you do to dbus?17:06
smspillazwho me?17:06
DBOno, launi17:06
smspillazah right :)17:06
DBOwhy is it that QA guys have the worlds most broken machines?17:06
smspillazthat line of code appears in compiz so I was just checking17:06
DBOlamalex, it didn't crash, it aborted due to an ability to connect to the bus17:06
lamalexi dont care why it did it- make it not happen!17:07
DBOis dbus working on your system?17:07
DBOits trivial for me to make it not crash, but you wont get any launchers17:07
lamalexyeah17:07
DBOits not crashing really17:08
DBObut yeah I see your point17:08
DBOyou want me to fix dbus for you17:08
lamalexyeah17:08
lamalexand a foot rub please17:08
DBOlamalex, it should have printed out a console message17:08
DBOi need that message17:08
lamalexDBO, I think no launchers is better than crashing17:08
lamalexumm everything should be in that gdb log?17:09
DBOaborting17:09
DBOits not17:09
DBOi need the stdout17:09
lamalexthat's all I have17:09
DBOg_error ("Failed to open connection to bus: %s", error != NULL ? error->message : "Unknown");17:09
lamalexwhy wouldn't stdout go into the gdb log- that's retarded17:09
DBOyou should get a message that looks like that17:09
lamalex_njpatel, pushing state-introspection fixes17:12
lamalex_njpatel, Im going to hold off on fixing the use of g_variant_builder to use stack allocation- it's segfaulting for some reason and I think getting it in is more important than making it ideal (according to kamstrup)17:13
=== lamalex_ is now known as lamalex
njpatellamalex, that's fine, easily can be another merge request17:16
njpatellamalex, I'll have a look at your merge again in 10mins17:16
lamalexnjpatel, ok. sounds good17:17
lamalexwow so rolling releases17:25
lamalexI wonder if that makes didrocks' job easier or harder17:26
didrockslamalex: source? :)17:26
lamalexdidrocks, http://www.theregister.co.uk/2010/11/23/darily_ubuntu_updates/17:30
lamalexDBO, that hard lock on alt-tab happens all of the fing time17:31
didrockslamalex: well, let's see, thanks for the source! :)17:31
DBOlamalex, nothing i can do about that right now17:31
njpatellamalex, (reviewing) you have a merge conflict with trunk17:33
lamalexnjpatel, ok- will fix17:34
lamalexalso I figured out my error with g_variant_builder_init segfaulting17:34
lamalexso I'll do both now17:34
njpatellamalex, bah, okay so I approved pending the conflict being resolved17:35
njpatellamalex, can take a look at the g_variant thing once you've pushed to your branch again :)17:36
lamalexk17:36
njpatelI'm using Claws mail right now17:47
njpatelit's actually quite fun17:47
njpatelquite robust17:47
lamalexnjpatel, conflict fixed17:53
njpatelcool, did you push up your g_variant stuff too?17:54
=== njpatel is now known as njpatel|away
didrocksok, will work a little bit offline, see you!19:00
DBOreview please: https://code.launchpad.net/~canonical-dx-team/unity/unity.trash-can/+merge/4178119:10
seiflotfy_ok any unity hacker around19:52
seiflotfy_i am having toruble adding new groups19:52
seiflotfy_only 2 groups show up19:52
seiflotfy_although i added 1019:52
seiflotfyjcastro, there?21:21
seiflotfyDBO jcastro and rickspencer321:21
seiflotfyhttp://seilo.geekyogre.com/2010/11/unity-place-people-day-3/21:21
seiflotfy:)21:21
boulabiarseiflotfy, the bg e is for enlightenment ?21:26
faganboulabiar: its for elementary21:29
boulabiarthanks21:31
=== DanRabbit is now known as DanRabbit|afk

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