#instantbird log on 11 06 2010

All times are UTC.

00:12:53 <-- chrisccoulson has quit (Quit: Ex-Chat)
00:13:00 --> sonny has joined #instantbird
00:30:16 <-- GeekShadow has quit (Quit: The cake is a lie !)
00:42:58 --> hicham has joined #instantbird
00:43:29 --> rikki has joined #instantbird
00:53:00 <-- hicham has quit (Ping timeout)
00:54:41 <-- sonny has quit (Ping timeout)
00:56:10 --> sonny has joined #instantbird
01:07:55 <-- Ornthalas has quit (Quit: KTHXBYE)
01:18:40 <-- sonny has quit (Ping timeout)
01:19:10 --> sonny has joined #instantbird
01:33:48 <-- sonny has quit (Quit: ChatZilla 0.9.86-rdmsoft [XULRunner])
05:36:01 --> tymerkaev has joined #instantbird
06:20:01 <-- tymerkaev has quit (Ping timeout)
07:01:54 <instantbot> Just appeared in Pidgin News - default :
07:01:55 <instantbot> http://qulogic.blogspot.com/2010/10/fun-at-gsoc-mentors-summit.html - Elliott Sales de Andrade: Fun at the GSoC Mentors Summit
07:42:25 <-- flo has quit (Quit: Instantbird 0.3a1pre)
07:42:40 --> flo has joined #instantbird
07:42:41 * ChanServ sets mode +qo flo flo 
07:44:22 <flo> Good morning :)
07:54:02 <Tonnes> good morning :)
09:18:16 --> Ornthalas has joined #instantbird
09:44:26 --> mokush has joined #instantbird
09:53:06 <-- mokush has quit (Client exited)
10:00:52 * flo reads the documentation of CSS transitions
10:40:38 --> tymerkaev_away has joined #instantbird
10:45:17 --> Orn has joined #instantbird
10:47:12 <-- Ornthalas has quit (Ping timeout)
10:53:33 --> Even has joined #instantbird
10:53:33 * ChanServ sets mode +o Even 
10:56:44 <-- tymerkaev_away has quit (Ping timeout)
11:01:03 --> hicham has joined #instantbird
11:21:08 --> tymerkaev has joined #instantbird
12:22:14 <-- hicham has quit (Client exited)
12:33:13 --> Mic has joined #instantbird
12:33:40 <Mic> hi
12:35:03 <-- rikki has quit (Quit: Instantbird 0.2)
12:35:16 <Mic> flo: are transitions working so far? I think I ran into a problem with animating the height of buddy list items iirc
12:43:17 <-- Mic has quit (Quit: Instantbird 0.3a1pre)
12:44:35 --> Mic has joined #instantbird
12:57:33 <-- Even has quit (Quit: Instantbird 0.3a1pre)
13:08:01 --> GeekShadow has joined #instantbird
13:08:57 <flo> Mic: I have a problem with the height too
13:09:14 <flo> I found the cause with DOM inspector
13:09:25 --> Even has joined #instantbird
13:09:25 * ChanServ sets mode +o Even 
13:10:18 <flo> the "expand" animation that was done in JS sets .style.height, which adds a style attribute to the DOM node which takes precedence over the rule in the CSS stylesheet
13:29:58 --> hicham has joined #instantbird
13:53:53 --> Andrey has joined #instantbird
13:55:56 --> ron has joined #instantbird
13:56:58 <-- Andrey has quit (Ping timeout)
14:12:40 <-- hicham has quit (Ping timeout)
14:13:59 --> hicham has joined #instantbird
14:16:02 <Mic> I thought I had the JS animations commented out
14:16:15 <Mic> As it seems I hadn't ;)
14:20:27 <flo> It's possible we didn't have the exact same issue
14:20:43 <flo> I'm having another issue with the height too ;)
14:21:23 <flo> it seems the transition needs to be from one value to another, so for the animation when a buddy appears, I need to set the height first to 0 and immediately after that to the real height
14:21:34 <flo> or something close to that that I haven't completely figured out yet :)
14:24:55 <-- ron has quit (Ping timeout)
14:25:58 --> Andrey has joined #instantbird
14:30:59 <Mic> Yes, I noticed that too. It's a transition from a previous state to the current state.
14:32:42 <-- skeledrew1 has quit (Ping timeout)
14:37:07 <-- Mic has quit (Connection reset by peer)
14:37:52 --> Mic has joined #instantbird
14:45:27 <-- Mic has quit (Connection reset by peer)
14:48:05 --> Mic has joined #instantbird
14:49:49 <-- tymerkaev has quit (Ping timeout)
15:22:19 <Mic> btw the Services.jsm changeset brought a nice reduction of code
15:23:34 <Mic> I think I spotted a place where you could have saved two more lines though ;)
15:23:36 <Mic> https://hg.instantbird.org/instantbird/rev/2a42fc158bfd
15:23:45 <Mic> https://hg.instantbird.org/instantbird/rev/2a42fc158bfd#l14.22
15:24:26 <flo> ah, yes
15:24:31 <Mic> Or was that intentional because of line length limitations (no idea how long the line would have been)
15:25:03 <flo> seems the same length as getAccounts: function jc_getAccounts() getIter(Services.core.getAccounts()
15:25:32 <flo> I guess I'll fix that when adding Services.accounts :)
15:31:00 <flo> pff, I'm stupid :( I just spent half an hour trying to understand why my animation for making buddies appear didn't work when a contact signed on but worked when a showing offline buddies
15:31:30 <flo> it was just that... playing sounds blocks the UI thread on Linux :(
15:32:09 <flo> if I disable the sounds in the pref dialog, the animation works perfectly
15:36:24 --> chrisccoulson has joined #instantbird
15:44:12 --> skeledrew has joined #instantbird
15:46:14 <Mic> :(
15:49:02 <Mic> Don't we have another blocks-thread bug somewhere?
15:49:40 <Mic> I think the modal accept/refuse contact dialogs are blocking the animation (js) as well
15:50:33 <Mic> Yes, it's bug 471
15:50:36 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=471 nor, --, ---, nobody, NEW, Modal dialogs from buddy list block sign on/off animation
15:53:12 <-- hicham has quit (Ping timeout)
15:53:25 --> tymerkaev has joined #instantbird
16:10:54 --> Orny has joined #instantbird
16:11:24 <instantbot> New Instantbird (UI) bug 573 filed by benediktp@ymail.com.
16:11:26 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=573 enh, --, ---, nobody, NEW, Change away from modal dialogs to something less obtrusive
16:12:50 <-- Orn has quit (Ping timeout)
16:18:33 --> hicham has joined #instantbird
16:18:56 <-- hicham has quit (Client exited)
16:25:51 --> hicham has joined #instantbird
16:37:27 <Even> it was just that... playing sounds blocks the UI thread on Linux :( => this is completely stupid, how does Mozilla to play sounds using the <sound> tag in a page on Linux ? It would be quite stupid to have this freezing the window... There should be a way, maybe using a theora encoded sound instead ?
16:43:20 <hicham> any page to test ?
17:05:25 <-- hicham has quit (Ping timeout)
17:09:50 --> hicham has joined #instantbird
17:25:44 <-- hicham has quit (Ping timeout)
17:26:34 --> hicham has joined #instantbird
17:32:29 <-- Orny has quit (Quit: KTHXBYE)
17:46:08 * tymerkaev is now known as tymerkaev_away
17:47:43 * tymerkaev_away is now known as tymerkaev
17:57:45 <-- hicham has quit (Client exited)
18:17:09 <-- Mic has quit (Quit: Instantbird 0.3a1pre)
18:34:24 <flo> Even: I don't think the <audio> tag blocks the UI
18:35:08 <flo> and there was a plan to reimplement nsISound using the <audio> backend so that it can play ogg vorbis sounds in addition to wav files
18:38:40 <flo> the interesting bug is https://bugzilla.mozilla.org/show_bug.cgi?id=520417
18:39:14 <flo> it has seen some serious work relatively recently so I had good hopes it would be fixed for Mozilla 2.0, but it hasn't happened
18:50:01 <-- Andrey has quit (Quit: )
19:03:04 --> DGMurdockIII has joined #instantbird
19:21:32 <-- DGMurdockIII has quit (Quit: get satisfied! • :: www.unitedservers.de ««« (Gamers.IRC) »»» gamersirc.net ::)
19:23:26 --> Ornthalas has joined #instantbird
19:24:24 --> DGMurdockIII has joined #instantbird
20:58:46 --> rikki has joined #instantbird
21:06:14 <-- chrisccoulson has quit (Ping timeout)
21:23:27 --> chrisccoulson has joined #instantbird
21:27:01 --> Even1 has joined #instantbird
21:27:24 <-- Even1 has quit (Quit: Instantbird 0.3a1pre)
21:27:34 --> Even1 has joined #instantbird
21:29:28 <-- Even1 has quit (Quit: Instantbird 0.3a1pre)
21:29:40 --> Even1 has joined #instantbird
21:53:16 <-- tymerkaev has quit (Ping timeout)
22:52:22 --> clokep has joined #instantbird
23:07:35 --> Mic has joined #instantbird
23:08:39 <Mic> evening
23:12:27 <Mic> flo: is the omegle js-protocol plugin currently functional by the way?
23:12:55 <flo> I don't remember updating it for the new XPCOM registration
23:13:10 <Mic> ah
23:13:12 <flo> so it probably need some care to work again
23:13:48 <flo> otherwise, I can't think of any major API change that could have broken it
23:13:55 <Mic> I see. There's only the component but no makefile and nothing in the repository, so I guess the answer is yes, needs some care ;)
23:14:15 <flo> I've never packaged it
23:14:35 <flo> at the time dropping the .js file in the components folder of the application was enough for the XPCOM registration
23:15:15 <Mic> I remember that, I was more wondering about possible api changes
23:15:17 <flo> was there something you wanted to do based on it?
23:15:36 <flo> I think I'll need to release the Eliza protocol plugin too :)
23:15:43 <Mic> Only some fun-hacking if I have a spare minute
23:16:05 <Mic> I wanted to try to send "net send"/"msg" messages in Windows networks
23:16:39 <flo> is there a known protocol for that, or do you just want to call the binary?
23:16:59 <Mic> just calling the library
23:17:19 <Mic> No idea how receiving messages works there, so sending-only at first
23:18:24 <Mic> Sending should be pretty simple; you don't even need to connect to any server, just send the message with the wanted receipient(s)
23:19:28 <Mic> brb
23:21:08 --> Mic1 has joined #instantbird
23:22:34 <-- Mic has quit (Ping timeout)
23:24:50 * Mic1 is now known as Mic
23:25:24 <Mic> By the way: did the transitions work fine eventually?
23:29:04 <clokep> Mic, flo: Omegle was never updated. ;) I meant to do that at some point actually.
23:29:24 <flo> Mic: it's not finished yet
23:29:28 <clokep> flo: Did you want me to update that wiki page about Instantbird MPL stuff?
23:30:02 <flo> I've done it only for buddy.xml, not group.xml yet, and I still have a bug/thing to finish related to buddies in closed groups
23:30:30 <flo> clokep: not really, but the blog post seemed like Gerv would like it ;)
23:32:17 <flo> Mic: the finished part works well :)
23:33:21 <Mic> Good to hear that. Beside removing the custom animation code  it will be more extensible then :)
23:33:38 <Mic> I guess you can do pretty fancy things with these transitions ;) 
23:34:44 <Mic> Ah, good point: how have you solved the problem of removing the item from the list when a buddy signs off (and offline buddies are hidden)?
23:36:54 <-- Even1 has quit (Quit: Instantbird 0.3a1pre)
23:37:04 <flo> Mic: there's still some JS code.
23:37:26 <Mic> Sure, I didn't mean that..
23:37:34 <flo> I've replaced the "expanding" and "collapsing" JS attributes with a "state" attribute that can take several values
23:37:54 <Mic> In short: how do you tell that all animations have finished?
23:38:05 <flo> I listen to the transitionend event, and each time it's fired, based on the current value of the state attribute, I know what the JS code should do
23:39:16 <Mic> If you animate several attributes simultaneously you should get several transitionend events as well
23:39:53 <Mic> It's been a while since I looked at it, so it's all "iirc"
23:40:45 <Mic> It's late, we don't need to discuss it today btw
23:42:18 <flo> I'm not animating several attributes at once :)
23:43:38 <Mic> Ok, when I was looking at it I wanted it to be able to do that since I wanted to leave it up to theme authors how they'd want the animation
23:43:50 <Mic> (many want's in there;)
23:46:48 <Mic> I'm not sure though that you can tell at all how many transitions are running at a moment :S
23:49:41 <flo> currently my goal is not to improve the extensibility, but just to simplify the code
23:49:49 <flo> (and improve the performances if I can :))
23:50:57 <flo> I'm now setting the attributes (display name, protocol icon, ...) only at the end of the expand animation, it should help to reduce the freeze when turning on display of offline buddies