#instantbird log on 03 11 2011

All times are UTC.

00:00:21 <flo> Good night! :)
00:00:22 <-- flo has quit (Quit: Instantbird 0.3a2pre)
00:01:35 <-- clokep has quit (Connection timed out)
00:01:42 --> clokep has joined #instantbird
00:01:42 * ChanServ sets mode +h clokep 
00:36:15 <-- Ornthalas has quit (Quit: KTHXBYE)
00:56:08 --> waynenguyen has joined #instantbird
01:05:14 <-- clokep has quit (Connection timed out)
01:06:28 --> clokep has joined #instantbird
01:06:28 * ChanServ sets mode +h clokep 
01:21:07 --> Mathnerd314 has joined #instantbird
01:24:13 --> rikki has joined #instantbird
01:26:25 <-- sonny has left #instantbird ()
02:04:57 <-- micahg has quit (Ping timeout)
03:01:10 <-- clokep has quit (Quit: Instantbird 0.3a2pre)
03:13:01 --> Mook has joined #instantbird
03:23:36 <-- waynenguyen has quit (Quit: http://www.mibbit.com ajax IRC Client)
03:41:18 --> micahg has joined #instantbird
04:30:52 --> zachlr has joined #instantbird
04:35:05 <-- Mathnerd314 has quit (Ping timeout)
04:37:51 <-- zachlr has quit (Quit: http://www.mibbit.com ajax IRC Client)
05:07:12 --> DGMurdockIII has joined #instantbird
05:59:04 --> tymerkaev has joined #instantbird
06:18:17 --> waynenguyen has joined #instantbird
06:18:34 <-- waynenguyen has quit (Quit: http://www.mibbit.com ajax IRC Client)
06:19:04 --> waynenguyen has joined #instantbird
07:00:59 <-- tymerkaev has quit (Ping timeout)
07:13:48 --> kaie2 has joined #instantbird
07:15:56 <-- kaie has quit (Ping timeout)
07:15:56 * kaie2 is now known as kaie
07:19:38 <-- linuxwizard has left #instantbird ()
07:45:13 <-- chrisccoulson has quit (Ping timeout)
07:49:29 <-- micahg has quit (Ping timeout)
07:53:28 --> Ornthalas has joined #instantbird
08:04:39 <-- DGMurdockIII has quit (Quit: get satisfied! • :: core-networks.de ««« (Gamers.IRC) »»» gamersirc.net ::)
08:08:01 --> micahg has joined #instantbird
08:14:30 <-- micahg has quit (Quit: Leaving.)
08:16:19 --> micahg has joined #instantbird
08:17:37 <-- waynenguyen has quit (Connection timed out)
08:41:46 --> Even has joined #instantbird
08:41:46 * ChanServ sets mode +o Even 
08:41:56 <-- Even has quit (Quit: Instantbird 0.3a2pre)
08:42:04 --> Even has joined #instantbird
08:42:04 * ChanServ sets mode +o Even 
08:54:33 --> chrisccoulson has joined #instantbird
08:54:48 <-- Even has quit (Quit: Instantbird 0.3a2pre)
08:55:35 --> tymerkaev has joined #instantbird
08:57:28 <-- chrisccoulson has quit (Ping timeout)
08:58:26 --> chrisccoulson has joined #instantbird
09:05:12 --> Even has joined #instantbird
09:05:13 * ChanServ sets mode +o Even 
09:12:44 <-- tymerkaev has quit (Ping timeout)
09:28:26 <-- Mook has quit (Quit: ChatZilla 0.9.86-xr [XULRunner 2.0b13pre/20110304030406])
09:49:52 --> waynenguyen has joined #instantbird
10:22:15 <-- waynenguyen has quit (Quit: http://www.mibbit.com ajax IRC Client)
11:01:06 <-- chrisccoulson has quit (Quit: Ex-Chat)
11:03:14 --> chrisccoulson has joined #instantbird
11:07:32 --> tymerkaev_away has joined #instantbird
11:07:35 <-- tymerkaev_away has quit (Quit: I must go. Good bye!)
11:10:14 --> tymerkaev has joined #instantbird
11:14:22 --> waynenguyen has joined #instantbird
11:15:14 --> clokep has joined #instantbird
11:15:14 * ChanServ sets mode +h clokep 
11:32:19 <-- clokep has quit (Quit: Instantbird 0.3a2pre)
11:39:20 <-- waynenguyen has quit (Quit: http://www.mibbit.com ajax IRC Client)
12:06:46 --> waynenguyen has joined #instantbird
12:20:06 --> Wolfy|Sajber has joined #instantbird
12:22:10 <-- Wolfy|Sajber has quit (Quit: Leaving.)
12:25:20 --> Wolfy|Sajber has joined #instantbird
12:26:24 --> flo has joined #instantbird
12:26:24 * ChanServ sets mode +qo flo flo 
12:26:41 <flo> hello :)
12:33:16 <-- Gizmokid2005 has quit (Ping timeout)
12:37:21 <-- Wolfy|Sajber has quit (Ping timeout)
12:42:23 --> clokep_work has joined #instantbird
12:42:24 * ChanServ sets mode +h clokep_work 
12:42:41 <clokep_work> Good morning.
13:09:23 <flo> http://www.joshmatthews.net/blog/2011/03/nsitimer-anti-pattern/ uh
13:11:23 <clokep_work> Do we do that? :)
13:11:28 <flo> very likely
13:11:59 <flo> I'm tempted to argue the nsITimer implementation is wrong, not every single developer who used it :-P.
13:12:31 <flo> let's see: http://lxr.instantbird.org/instantbird/search?string=nsITimer
13:13:07 <flo> anim.xml did it correctly apparently. But I removed the (useless) file for more safety :-D
13:14:18 <flo> apparently the only dangerous case is http://lxr.instantbird.org/instantbird/source/purple/purplexpcom/src/jsProtoHelper.jsm#72
13:14:43 <flo> any js protocol using a setTimeout call needs to keep the return value
13:15:38 <clokep_work> Right.
13:16:56 * clokep_work hasn't used that yet. :)
13:18:14 <flo> hmm, can we cheat by making the callback function hold the reference to the timer object? :-D
13:19:23 <clokep_work> I was thinking that too actually. :)
13:21:12 <flo> so how do we make function (aTimer) { aFunction.call(null, args); } keep a reference to "timer" without really using it?
13:23:28 <flo> http://pastebin.instantbird.com/592
13:26:28 <clokep_work> Can you pass an object like that instead of a function?
13:27:20 <flo> http://mxr.mozilla.org/mozilla-central/source/xpcom/threads/nsITimer.idl#70
13:27:33 <flo> it's rather that if the called is in JS, we can pass a function instead of the object :)
13:28:33 <clokep_work> Ah, OK. :)
13:28:40 <flo> *caller
13:28:42 <clokep_work> You should probably put a comment in there too. ;)
13:28:56 <flo> is "// This sucks." descriptive enough? :)
13:29:22 <flo> I'm not even sure it works
13:29:28 <clokep_work> I was thinking more of pointing to the bug or the blog post and an "// Save a timer today." ;)
13:30:39 <flo> "// A reference to the timer should be kept to ensure it won't be GC'ed before firing the callback."
13:30:59 --> sonny has joined #instantbird
13:31:08 <flo> I'm not really sure I want to commit that, as I still don't know why that settimeout implementation doesn't work right in JS windows
13:31:14 <flo> *XUL windows
13:31:28 <clokep_work> :-/ It could be because of that bug?
13:31:54 <flo> it wouldn't fire the callback at all, would it?
13:32:27 <clokep_work> I'm not sure. Unless it got GC half way through? ;)
13:32:41 <flo> the patch doesn't fix the prefwindow bug
13:39:33 --> Wolfy|Sajber has joined #instantbird
13:40:48 <flo> bah, the bug is I used "call" instead of "apply"
13:41:15 <flo> i'm sure I've tried using apply and it didn't fix the prefwindow bug at the time (it does now). I guess I broke something else before doing the test
13:43:32 <flo> hmm, or maybe it was just way too late and I made the change on that line:   var args = Array.prototype.slice.call(arguments, 2); :-D
13:45:31 <clokep_work> :)
13:46:03 <flo> anyway, I can fix and close that prefwindow bug
13:46:14 <flo> and save the timer by the same occasion :)
13:48:31 <clokep_work> Yay.
14:11:44 <flo> uh, the callstack for the assertion of bug 643 is in extensions/statusreminder@florian.instantbird.org.xpi!/bootstrap.js
14:11:47 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=643 min, --, ---, nobody, NEW, ASSERTION: purple_savedstatus_get_current should never return NULL
14:20:53 <-- waynenguyen has quit (Quit: http://www.mibbit.com ajax IRC Client)
14:26:15 * clokep_work is looking at mailnews fakeserver code / m-c httpd.js right now. :-S
14:28:03 <-- skeledrew has quit (Quit: Instantbird 0.3a2pre)
14:28:50 --> skeledrew has joined #instantbird
14:32:46 <flo> hmm, status reminder doesn't seem to work at all right now :-S
14:33:02 <clokep_work> I've been using it, it seems OK.
14:33:07 <flo> today?
14:34:13 <flo> bah, stupid...
14:34:22 <flo> it uses purpleICoreService::STATUS_*
14:36:39 <clokep_work> Ah, no. not today.
14:36:45 <clokep_work> I usually don't update until the night.
14:43:13 <instantbot> florian@instantbird.org set the Resolution field on bug 643 to INVALID.
14:43:15 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=643 min, --, ---, nobody, RESO INVALID, ASSERTION: purple_savedstatus_get_current should never return NULL
14:45:45 <clokep_work> You're just knocking out bugs today. :)
14:48:35 <flo> /away
14:48:37 <flo> oops
14:49:00 <flo> just click "check for updates" in the add-on manager and Status Reminder works again.
14:49:03 * flo loves restartless add-ons :)
15:02:31 * flo just had a transition that failed to finish in the buddy list :-S
15:02:40 <clokep_work> On Mac?
15:02:51 <flo> yes, when moving a contact to a different group
15:04:22 <clokep_work> Well...at least we know there's definitely a problem?
15:05:20 <flo> is it acceptable to start a setTimeout for each transition to "fix" it if it doesn't finish by itself?
15:05:59 <clokep_work> When you first sign on wouldn't there be a ton of them created though?
15:06:18 <flo> that's why I'm afraid of doing that
15:06:50 <flo> but it wouldn't be worse than when all the blist animations were done using JS code
15:08:18 <clokep_work> That's true. Did you ask on #developers if anyone has ideas for this issue?
15:08:25 <clokep_work> Is it actually a bug btw or just us doing something strange?
15:12:04 <flo> maybe a little bit of both.
15:12:06 <flo> I haven't asked
15:19:13 <-- Even has quit (Connection reset by peer)
15:28:14 <clokep_work> flo: Is this it? https://bugzilla.mozilla.org/show_bug.cgi?id=604074
15:28:58 <clokep_work> Eh I don't think it is, similar though.
15:31:01 <flo> that bug seems about transitions not starting
15:31:04 <flo> ours don't finish :)
15:35:42 <instantbot> Check-in: http://hg.instantbird.org/instantbird/rev/dc5813338b47 - Florian Quèze - Remove obsolete anim.xml file.
15:35:43 <instantbot> Check-in: http://hg.instantbird.org/instantbird/rev/a41a0948f778 - Florian Quèze - Bug 723 - not possible to switch to the Emoticons tab in the Themes prefpane: Fix broken setTimeout implementation in jsProtoHelper and scope the jsProtoHelper import in
15:35:44 <instantbot> messagestyle.js.
15:35:45 <instantbot> Check-in: http://hg.instantbird.org/instantbird/rev/7019846a7be3 - Florian Quèze - Add a small icon (created by Idechix) for the 'Unknown' status.
15:35:57 <instantbot> florian@instantbird.org set the Resolution field on bug 723 to FIXED.
15:35:58 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=723 maj, --, 0.3a2, florian, RESO FIXED, After selecting Themes is not possible to switch the submenu.
15:44:19 --> zachlr has joined #instantbird
16:03:45 --> Gizmokid2005 has joined #instantbird
16:44:17 <-- flo has quit (Quit: Instantbird 0.3a2pre)
16:48:54 <-- micahg has quit (Ping timeout)
17:06:03 --> micahg has joined #instantbird
18:46:24 --> GeekShadow has joined #instantbird
18:50:00 * tymerkaev is now known as tymerkaev_away
18:58:25 * tymerkaev_away is now known as tymerkaev
19:16:43 * tymerkaev is now known as tymerkaev_away
19:19:44 * tymerkaev_away is now known as tymerkaev
19:28:25 <-- zachlr has quit (Connection timed out)
19:34:50 --> linuxwizard has joined #instantbird
19:48:07 <-- Ornthalas has quit (Quit: KTHXBYE)
19:50:55 --> Ornthalas has joined #instantbird
19:52:06 <Ornthalas> o/
19:52:24 <Ornthalas> does somebody know the maxversion that is allowed now in firefox 4.0tc ?
19:52:26 <Ornthalas> rc
19:52:38 <Ornthalas> i had 4.0.* and it worked for every beta
19:52:45 <Ornthalas> but it is broken for the rc...
19:52:51 <Ornthalas> does anybody know?
19:53:36 <clokep_work> Try 4.* ?
20:01:20 --> DGMurdockIII has joined #instantbird
20:02:43 <-- DGMurdockIII has quit (Quit: get satisfied! • :: core-networks.de ««« (Gamers.IRC) »»» gamersirc.net ::)
20:03:14 <-- tymerkaev has quit (Ping timeout)
20:23:07 <-- linuxwizard has left #instantbird ()
20:32:26 --> linuxwizard has joined #instantbird
21:17:11 <-- clokep_work has quit (Quit: http://www.mibbit.com ajax IRC Client)
21:30:40 <-- micahg has quit (Ping timeout)
21:42:09 --> Mathnerd314 has joined #instantbird
21:48:35 --> DGMurdockIII has joined #instantbird
22:02:37 --> micahg has joined #instantbird
22:02:51 <-- micahg has quit (Quit: Leaving.)
22:03:29 --> micahg has joined #instantbird
22:04:30 --> clokep has joined #instantbird
22:04:30 * ChanServ sets mode +h clokep 
22:15:49 <-- Mathnerd314 has quit (Ping timeout)
22:19:42 <-- DGMurdockIII has quit (Quit: get satisfied! • :: core-networks.de ««« (Gamers.IRC) »»» gamersirc.net ::)
22:22:54 <-- clokep has quit (Quit: Instantbird 0.3a2pre)
22:22:56 --> clokep has joined #instantbird
22:22:56 * ChanServ sets mode +h clokep 
22:47:51 <-- clokep has quit (Connection timed out)
22:48:00 --> clokep has joined #instantbird
22:48:00 * ChanServ sets mode +h clokep 
22:50:21 <-- clokep has quit (Quit: Instantbird 0.3a2pre)
22:55:22 --> flo has joined #instantbird
22:55:23 * ChanServ sets mode +qo flo flo 
23:01:02 --> clokep has joined #instantbird
23:01:02 * ChanServ sets mode +h clokep 
23:05:52 * clokep is trying to get socket listeners to work.
23:06:09 --> DetroitLibertyPenguin has joined #instantbird
23:23:33 <-- clokep has quit (Connection timed out)
23:24:06 --> clokep has joined #instantbird
23:24:06 * ChanServ sets mode +h clokep 
23:31:10 <-- micahg has quit (Ping timeout)
23:36:59 <-- Ornthalas has quit (Quit: KTHXBYE)
23:39:09 <-- clokep has quit (Quit: Instantbird 0.3a2pre)
23:48:22 <-- sonny has left #instantbird ()
23:59:13 --> clokep has joined #instantbird
23:59:13 * ChanServ sets mode +h clokep