#instantbird log on 12 30 2010

All times are UTC.

00:21:52 <-- Mic has quit (Quit: Instantbird 0.3a1pre)
00:22:19 <-- clokep has quit (Quit: Instantbird 0.3a1pre)
00:36:33 <flo> Good evening/night! :)
00:59:40 <-- chrisccoulson has quit (Ping timeout)
01:01:56 --> chrisccoulson has joined #instantbird
01:05:15 <-- micahg has quit (Ping timeout)
01:17:28 <-- Glards has quit (Connection reset by peer)
01:23:36 <instantbot> mook.moz+bugs.instantbird@gmail.com added attachment 458 to bug 628.
01:23:39 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=628 nor, --, ---, nobody, NEW, Unable to accept IRC invite
02:03:34 --> clokep has joined #instantbird
02:03:34 * ChanServ sets mode +h clokep 
02:07:16 <auscompgeek> :O
02:07:22 <auscompgeek> hang on
02:07:28 <auscompgeek> only that many bugs?
02:07:34 <clokep> Mook:Glad you're working on the invite code.
02:07:49 <clokep> Do you know what other actions are handled by the that code?
02:07:53 <clokep> What other "requests" are there?
02:08:02 <Mook> clokep: one of the things I really, really want before I switch from CZ :)
02:08:22 <clokep> :)
02:08:28 <Mook> http://lxr.instantbird.org/instantbird/source/purple/libpurple/request.h#187
02:08:41 <Mook> (one of the channels in my autojoin list is invite-only)
02:09:03 <clokep> How do you auto-join if it's invite only? ;)
02:09:59 <clokep> I see so it's a standard API and the protocols can use it in many different ways.
02:10:16 <Mook> /chanserv invite #foopy
02:11:25 <clokep> Ah, OK.
02:31:28 <-- GeekShadow has quit (Quit: The cake is a lie !)
02:31:31 <-- Ornthalas has quit (Quit: KTHXBYE)
02:45:42 --> mepine has joined #instantbird
02:50:06 <-- clokep has quit (Quit: Instantbird 0.3a1pre)
03:05:57 --> micahg has joined #instantbird
04:13:23 <-- Mook has quit (Ping timeout)
04:19:02 <-- hicham has quit (Client exited)
04:23:25 --> Mook has joined #instantbird
04:44:55 <-- mepine has quit (Quit: mepine)
05:26:00 --> tymerkaev has joined #instantbird
05:31:28 --> mepine has joined #instantbird
06:10:51 <-- tymerkaev has quit (Ping timeout)
08:43:36 --> tymerkaev has joined #instantbird
09:07:18 <-- Mook has quit (Quit: zzz)
09:08:55 --> Even has joined #instantbird
09:08:55 * ChanServ sets mode +o Even 
09:09:18 <-- Even has quit (Quit: Instantbird 0.3a1pre)
09:09:24 --> Even has joined #instantbird
09:09:24 * ChanServ sets mode +o Even 
09:12:22 --> Even1 has joined #instantbird
09:13:17 --> Mic has joined #instantbird
09:13:17 * ChanServ sets mode +h Mic 
09:13:59 <-- Even has quit (Ping timeout)
09:21:16 <instantbot> benediktp@ymail.com set the Resolution field on bug 640 to WONTFIX.
09:21:19 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=640 blo, --, ---, nobody, RESO WONTFIX, No check-ins on Christmas
09:24:08 <-- Mic has left #instantbird ()
09:55:35 <-- tymerkaev has quit (Ping timeout)
10:01:07 --> Ornthalas has joined #instantbird
10:33:15 --> Even has joined #instantbird
10:33:15 * ChanServ sets mode +o Even 
10:34:25 <-- Even1 has quit (Ping timeout)
10:51:55 <-- chrisccoulson has quit (Client exited)
10:58:07 --> Even1 has joined #instantbird
10:59:17 <-- Even has quit (Ping timeout)
11:00:51 <-- flo has quit (Quit: Instantbird 0.3a1pre)
11:01:10 --> flo has joined #instantbird
11:01:10 * ChanServ sets mode +qo flo flo 
11:08:29 --> Even has joined #instantbird
11:08:29 * ChanServ sets mode +o Even 
11:09:40 <-- Even1 has quit (Ping timeout)
11:16:37 <-- Ornthalas has quit (Quit: KTHXBYE)
11:44:25 --> Mic has joined #instantbird
11:44:26 * ChanServ sets mode +h Mic 
11:44:28 <Mic> Hi
11:47:46 <-- mepine has quit (Quit: 隨緣也)
11:48:46 <flo> Mic: Hello :)
11:50:05 <Mic> Seems I don't get messages in the conversation view today ;)
11:50:12 <-- Mic has left #instantbird ()
11:51:00 --> Mic has joined #instantbird
11:51:00 * ChanServ sets mode +h Mic 
11:57:27 <Mic> flo: is there something special you want for the nick colours?
11:58:00 <Mic> I wanted to move that to a separate function that we can use from anywhere where we'd like to get the colour of a nick
11:58:02 <flo> what are you trying to do/change? :)
11:58:21 <flo> ok, I'm typing too slowly today ;)
11:58:24 <Mic> I'm taking conversation.xml apart at the moment ;)
11:58:49 <Mic> I splitted the participant list into a separate overlay
11:58:59 <flo> so you mean, something special compared to what we currently have, or some properties of the current code that I want to keep, or...?
12:00:05 <Mic> Ok, the nick colours are not the most urgent problem though ;) Maybe let's start with what I'm planning to do with the participants list
12:00:50 <Mic> I separated it from conversation.xml, and loaded it from a separate overlay, in case that the chat attribute is set on the conversation.
12:02:03 <flo> how are you loading the overlay? Is it a binding extending the main conversation binding that gets loaded from the CSS?
12:04:05 <Mic> No, I'm using a separate binding so far that attaches to an element in the conv binding. I'm not sure if that's a good idea though (e.g. if I can observe notifications for buddy changes at all)
12:04:19 <Mic> Should I rather extend the conversation binding?
12:05:58 <flo> so you keep an element in the conversation binding that is useless for IM conversations? (like we currently do, but without the content of that element except when it's useful?)
12:06:29 <Mic> Yes.
12:06:42 <flo> ok :)
12:07:00 <flo> Mic: "Should I rather extend the conversation binding?" only if you find a good reason to do so I guess :).
12:07:43 <Mic> I thought it might be more general if I don't rely on the conversation binding
12:09:06 <Mic> I think I'll experiment with it a bit more and try to get someone else than titi and tata on my list first.
12:10:22 <flo> sounds good :)
12:10:31 <flo> get it to work first, and then you can clean it up ;)
12:19:27 --> tymerkaev has joined #instantbird
12:25:26 --> Even1 has joined #instantbird
12:25:57 --> sabret00the has joined #instantbird
12:27:25 <-- Even has quit (Ping timeout)
12:29:23 --> Even has joined #instantbird
12:29:24 * ChanServ sets mode +o Even 
12:31:05 <-- Even1 has quit (Ping timeout)
12:32:18 * tymerkaev is now known as tymerkaev_away
12:33:33 * tymerkaev_away is now known as tymerkaev
12:41:43 --> Andrey has joined #instantbird
12:42:49 --> Even1 has joined #instantbird
12:44:00 <-- Even has quit (Ping timeout)
13:06:24 --> chrisccoulson has joined #instantbird
13:40:01 * tymerkaev is now known as tymerkaev_away
13:43:26 * tymerkaev_away is now known as tymerkaev
13:51:09 <Mic> flo: by the way, would be great if you could comment on bug 418 if you have a moment. I can't find the thing you said about it on the logs and it wasn't much either if I recall correctly.
13:51:12 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=418 enh, --, ---, benediktp, ASSI, Keyboard shortcut to open "Join chat" dialog from conversation windows
14:00:51 <-- tymerkaev has quit (Ping timeout)
14:35:24 <-- Andrey has quit (Ping timeout)
14:45:03 <-- Even1 has quit (Quit: Instantbird 0.3a1pre)
14:45:23 --> Even has joined #instantbird
14:45:23 * ChanServ sets mode +o Even 
14:56:24 <-- Even has quit (Connection reset by peer)
14:56:44 --> Even has joined #instantbird
14:56:44 * ChanServ sets mode +o Even 
15:12:54 --> tymerkaev has joined #instantbird
15:16:41 --> GeekShadow has joined #instantbird
15:28:07 --> Even1 has joined #instantbird
15:29:18 <-- Even has quit (Ping timeout)
15:41:40 <-- micahg has quit (Ping timeout)
15:59:29 <instantbot> florian@instantbird.org denied review for attachment 445 on bug 418.
15:59:30 <flo> Mic: done. I tried to remember what we said. I hope I didn't miss anything
15:59:32 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=418 enh, --, ---, benediktp, ASSI, Keyboard shortcut to open "Join chat" dialog from conversation windows
16:11:53 <Mic> Thanks.
16:31:55 * tymerkaev is now known as tymerkaev_away
16:40:32 <-- Mic has quit (Ping timeout)
16:50:13 --> Ornthalas has joined #instantbird
16:52:51 * tymerkaev_away is now known as tymerkaev
16:53:17 <-- Even1 has quit (Quit: Instantbird 0.3a1pre)
17:07:45 --> micahg has joined #instantbird
17:10:44 --> Mic has joined #instantbird
17:10:44 * ChanServ sets mode +h Mic 
17:57:00 <-- tymerkaev has quit (Quit: I must go. Good bye!)
17:57:26 --> tymerkaev has joined #instantbird
18:56:25 --> Flo_ has joined #instantbird
18:58:12 <-- Flo_ has quit (Quit: ChatZilla 0.9.86 [Firefox 3.6.13/20101203075014])
19:04:56 <tymerkaev> :D
19:33:44 <-- chrisccoulson has quit (Ping timeout)
20:04:03 --> hicham has joined #instantbird
20:13:10 <hicham> IB+Buddy Status = Great IM 
20:22:13 --> clokep has joined #instantbird
20:22:13 * ChanServ sets mode +h clokep 
20:23:48 * tymerkaev is now known as tymerkaev_away
20:27:13 * tymerkaev_away is now known as tymerkaev
20:33:22 <-- micahg has quit (Ping timeout)
20:36:10 --> sabret00the_ has joined #instantbird
20:38:25 <-- sabret00the has quit (Ping timeout)
21:10:20 <-- clokep has quit (Ping timeout)
21:31:23 <-- tymerkaev has quit (Ping timeout)
21:34:16 --> clokep has joined #instantbird
21:34:16 * ChanServ sets mode +h clokep 
21:43:25 <clokep> flo: If I try to access a preference from a protocol, and the user hasn't set one so I have to check the default, what do I do if it doesn't exist? Throw an exception?
22:26:23 --> GeekShad0w has joined #instantbird
22:38:33 --> chrisccoulson has joined #instantbird
22:54:19 <-- GeekShad0w has quit (Ping timeout)
23:07:22 <flo> clokep: yes. Having no default for a preference is a coding error, so an exception is appropriate :)
23:08:38 <clokep> flo: Thanks! Although right now my code isn't working and I have no idea why.
23:12:56 <flo> do you want me to look at it?
23:13:07 --> GeekShad0w has joined #instantbird
23:13:13 <-- GeekShad0w has quit (Client exited)
23:13:23 <clokep> Yes. :)
23:13:28 <clokep> I'm uploading.
23:13:37 <clokep> I'm skiing -- the internet here is really slow. :(
23:16:06 <clokep> In http://hg.instantbird.org/experiments/file/c47ca60397fc/modules/jsProtoHelper.jsm#l181 the protocol._getOptionDefault function doesn't work and causes the component to not work properly.
23:16:14 <clokep> But this.protocol should refer to the protocol?
23:16:29 <clokep> (flo perhaps the newest changeset would be good to look at ?)
23:18:14 <flo> looking
23:18:23 <clokep> Thanks. :)
23:20:17 <flo> hasOwnProperty[aName] -> hasOwnProperty(aName)
23:21:00 <clokep> Bah.
23:21:02 <clokep> Thanks.
23:21:31 <flo> np :)
23:21:38 <clokep> Although it's still not working...?
23:22:28 <flo> what's the error?
23:22:48 <clokep> There is no error, it's in a component via a module. :-\
23:23:04 <clokep> One second. :)
23:23:11 <flo> how do you know it's not working then? :)
23:24:07 <clokep> It doesn't seem to like LOG(this.protocol._getOptionDefault)
23:24:22 <clokep> I know it doesn't work because if I call getInt then the account doesn't show up in the account manager. :)
23:24:31 <clokep> If I comment that line out...everything works. ;)
23:26:26 <flo> this.protocol is what?
23:26:33 <flo> s/.protocol//
23:26:36 <clokep> And for the exception should I make a new type of exception or anything... or just do: throw "Some message here".
23:27:09 <flo> some message would be OK I think
23:27:25 <clokep> this.protocol is: [xpconnect wrapped (nsISupports, nsIClassInfo, purpleIProtocol)], this is [object Object]
23:27:45 <flo> ok
23:28:43 <flo> if you put a try{ everything currently in getInt }catch(e){LOG(e);} do you see something?
23:29:35 <clokep> TypeError: this.protocol._getOptionDefault is not a function
23:30:41 <flo> can you pastebin the current code around the _getOptionDefault implementation?
23:31:11 <clokep> Yes, it's in the file too. :)
23:31:44 <clokep> http://pastebin.instantbird.com/512
23:32:49 <flo> if you LOG this.protocol._getOptionDefault what is it then? :)
23:33:19 <flo> arg, I think I know what's going on :(
23:33:43 <clokep> flo: LOG(this.protocol._getOptionDefault) throws the same exception.
23:33:53 <flo> not a function? :-S
23:33:59 <clokep> Yes.
23:35:06 <clokep> flo: Sorry, I actually get "undefined" not an exception.
23:35:26 <flo> ok, looks more logical :)
23:35:54 <flo> when you pasted the value of this.protocol, I should have noticed the "xpconnect wrapped" thing.
23:36:18 <flo> it means xpconnect added a wrapper that prevents you from accessing anything but the APIs exposed in the .idl
23:36:23 <clokep> Right, so I can only get functions that are part of the xpcom object?
23:36:35 <clokep> Ah, OK. Can I remove the wrapper?
23:36:44 <clokep> Or should I just make the function part of account instead of protocol.
23:37:10 <flo> we can force remove it if really needed
23:37:46 <clokep> OK. I'll just do it the other way. :)
23:37:47 <flo> but I believe we should not have it in the first place here, so there's probably a subtle coding error that causes it to be created
23:38:16 <clokep> I'm not sure.
23:38:23 <clokep> Dinner time though. I'll be back soon.
23:38:43 <flo> get protocol() this._base.protocol
23:38:52 <flo> if this is the implementation, it's calling into C++
23:45:52 <flo> this should fix it: http://pastebin.instantbird.com/513