#instantbird log on 03 15 2011

All times are UTC.

00:10:52 <-- sonny has left #instantbird ()
00:45:17 <-- linuxwizard has left #instantbird ()
00:57:49 <clokep> Anyone who wants (accurate, scientific) information on Japan's nuclear reactors check out: http://mitnse.com/
01:21:11 --> Mathnerd314 has joined #instantbird
01:21:25 <clokep> So...that was so meant for my Twitter feed...which was apparently the conversation above this one. :) Oops.
01:21:28 <clokep> Still true though. ;)
01:47:50 <-- clokep has quit (Quit: Instantbird 0.3a2pre)
02:01:06 --> Mook has joined #instantbird
02:11:30 <-- zachlr has quit (Quit: http://www.mibbit.com ajax IRC Client)
02:16:16 --> mepine has joined #instantbird
02:24:55 <-- Mathnerd314 has quit (Ping timeout)
02:26:22 --> Mathnerd314 has joined #instantbird
02:35:00 <-- chrisccoulson has quit (Ping timeout)
02:52:35 <sabret00the> anyone else finding that facebook chat isn't working properly?
03:07:23 <Mook> clokep: re: minimizetotray: songbird is still on gecko 1.9.2. so there might be issues with the code. (I don't know of a version that's updated to m-c... best guess would be mintrayr)
03:22:56 <Mook> oh, google groups. my condolences.
03:23:33 <Mook> (also: I'm not ignoring you, I just don't have facebook)
03:43:29 <-- Tonnes has quit (Ping timeout)
04:05:07 --> Tonnes has joined #instantbird
05:03:43 --> tymerkaev has joined #instantbird
05:05:08 <-- Mathnerd314 has quit (Ping timeout)
07:32:05 <-- skeledrew has quit (Quit: Instantbird 0.3a2pre)
07:32:38 --> skeledrew has joined #instantbird
07:49:16 --> Wolfy|Sajber has joined #instantbird
08:07:10 <-- rikki1 has quit (Connection reset by peer)
08:07:17 --> rikki has joined #instantbird
08:22:16 --> Ornthalas has joined #instantbird
08:30:45 <-- Mook has quit (Quit: ChatZilla 0.9.86-xr [XULRunner 2.0b13pre/20110304030406])
09:19:05 --> Even1 has joined #instantbird
09:23:56 --> yoh has joined #instantbird
09:53:53 <-- Ornthalas has quit (Quit: KTHXBYE)
10:21:58 --> clokep has joined #instantbird
10:21:58 * ChanServ sets mode +h clokep 
10:24:33 <clokep> sabret00the: Facebook chat was working fine for me last night. :) Although Facebook Chat is always a little funky.
10:24:53 <clokep> Mook: MinTrayR is updated, I'm not sure of any other ones that work on mozilla-2.0.
10:38:00 <sabret00the> Thanks clokep
10:51:18 <-- clokep has quit (Quit: Instantbird 0.3a2pre)
10:55:32 <-- tymerkaev has quit (Ping timeout)
10:58:53 <-- yoh has quit (Quit: http://www.mibbit.com ajax IRC Client)
10:59:18 --> waynenguyen has joined #instantbird
11:26:33 --> chrisccoulson has joined #instantbird
11:36:04 <-- waynenguyen has quit (Quit: Instantbird 0.2)
11:40:11 --> yoh has joined #instantbird
11:41:52 --> clokep_work has joined #instantbird
11:41:52 * ChanServ sets mode +h clokep_work 
11:42:43 <-- mepine has quit (Quit: mepine)
11:43:01 --> mepine has joined #instantbird
11:43:02 <-- mepine has quit (Quit: mepine)
11:45:16 <yoh> (
11:54:16 <clokep_work> Hello. :)
11:54:29 <yoh> hello
11:54:39 <clokep_work> How's it going?
11:55:00 <yoh> i'm fine thx and you ?
11:56:07 --> tymerkaev has joined #instantbird
11:56:36 <clokep_work> It's OK. Need to find some time to finish up what I've been working on. :)
11:58:36 --> mokush has joined #instantbird
11:58:45 <yoh> me too, and i'm waiting flo
12:01:43 <clokep_work> Something I can help with?
12:10:24 <yoh> hum i don't know
12:11:38 <yoh> I try to open conversation with two informations : the account name and the buddy name
12:12:25 <clokep_work> And that's not working?
12:13:23 <yoh> in my extension, i don't know how create a Conversation object
12:13:42 <yoh> var conv = new Conversation( this.opened_conv[accountName][i] , accountName );
12:13:51 <yoh> but new Conversation is not defined
12:14:30 <yoh> I must defined it ? i can't use a definition in IB ?
12:14:47 <clokep_work> Hmm...I think that's how we do it in the jsProto code, but that's not how you'd want to do it -- you want to tell the core to open a conversation.
12:14:56 <clokep_work> Give me a second to look through a couple things.
12:16:36 <yoh> i do this after : Components.classes["@mozilla.org/observer-service;1"].getService( Components.interfaces.nsIObserverService ).notifyObservers( conv, "new-conversation", null );
12:17:21 <yoh> to open the dialog and instantiate the conversation
12:18:10 <clokep_work> Does that work?
12:19:11 <-- Even1 has quit (Quit: Instantbird 0.3a2pre)
12:19:20 --> Even1 has joined #instantbird
12:19:39 --> rikki1 has joined #instantbird
12:19:53 <-- rikki has quit (Connection reset by peer)
12:20:33 <yoh> this open a dialog
12:20:53 <yoh> but there is no tab (conversation) inside
12:21:09 <clokep_work> This is how you want to do it: http://lxr.instantbird.org/instantbird/source/purple/purplexpcom/public/purpleIAccount.idl#113
12:21:30 <clokep_work> So if you have the purpleIAccount object, you can just call .createConversation("Buddy name") here.
12:21:54 <-- micahg has quit (Ping timeout)
12:21:57 <clokep_work> Whenever you're looking to handle buddies, conversations, etc. it's good to take a look at the interfaces defined in http://lxr.instantbird.org/instantbird/source/purple/purplexpcom/public/
12:22:55 <yoh> I look this thx :)
12:23:50 <clokep_work> You're welcome. I don't remember how to get references to each purpleIAccount object, but I vaguely recall you get it from purpleICoreServices or something? I know the account manager code does it. :)
12:24:59 --> micahg has joined #instantbird
12:26:24 <yoh> clokep_work: thx a lot !!
12:26:31 <yoh> :)
12:26:58 <clokep_work> No problem. :) Let me know if you're having more trouble.
12:27:27 <yoh> ok !
12:29:35 --> Mic2 has joined #instantbird
12:30:27 <Mic2> hi
12:30:41 <clokep_work> Hey Mic2.
12:30:56 <clokep_work> Did Mic2 like kidnap Mic1? :P
12:32:34 <Mic2> I wonder if we should use placeholder texts on input boxes like "Enter your message here and press Enter to submit it"
12:33:51 <clokep_work> We probably should, that's just a XUL property, right?
12:34:04 <Mic2> Yes, it's very cheap to add it
12:34:16 --> tymerkaev_ has joined #instantbird
12:34:16 <-- tymerkaev_ has quit (Quit: tymerkaev_)
12:35:01 <Mic2> Even though there could be different messages depending on if the account is connected, or isn't. Buddy is online/offline and supports offline messages or doesn't ..
12:35:16 <Mic2> *should (imo)
12:35:54 --> kaie2 has joined #instantbird
12:36:00 <-- tymerkaev has quit (Client exited)
12:37:10 <clokep_work> Ah, true. Still wouldn't be more than like a 20 - 30 line JS function probably. :)
12:37:16 <-- kaie has quit (Ping timeout)
12:37:16 * kaie2 is now known as kaie
12:38:26 <-- rikki1 has quit (Ping timeout)
12:38:29 --> rikki has joined #instantbird
12:45:18 <Mic2> We get a bug every 120 SLoC's in average iirc .. would it be worth a 1/6 to 1/4 bug to add this? ;)
12:48:19 <clokep_work> Probably. :) Might not want to add it until after the richtextbox stuff is done though? :-/
13:02:08 <Mic2> have a nice day
13:02:13 <-- Mic2 has quit (Quit: http://www.mibbit.com ajax IRC Client)
13:17:27 --> mepine has joined #instantbird
13:18:49 <-- mepine has quit (Quit: 隨緣也)
13:36:31 --> tymerkaev has joined #instantbird
13:45:46 --> Even2 has joined #instantbird
13:45:56 <-- Even has quit (Ping timeout)
13:58:31 <yoh> clokep_work: :)
13:58:42 <clokep_work> Got it working? :)
13:58:50 <yoh> i try ton JSON.stringify a Array()...
13:58:53 <yoh> it return []
13:59:15 <yoh> do you have a solution for that ?
13:59:34 <yoh> yes, but after a problem, there is an other :D
14:00:20 <yoh> this problem seems well know but i don't find solution
14:02:42 <clokep_work> If the Array has nothing in it, it will just return [].
14:03:06 <clokep_work> What are you trying to do though? Just debug what's inside an array? You should just be able to print it, the array elements will automatically be concatenated w/ a , character.
14:03:57 <yoh> in fact a try to save my array in json format in a file at the shutdown of my extension
14:04:51 <yoh> and at the startup, i try to do the opposite
14:04:57 <clokep_work> Ah, OK. Got it. :)
14:05:09 <yoh> my array is an associativ array
14:05:17 <clokep_work> So it's an object, not an array?
14:05:28 <clokep_work> {"key": "value", "key2": "value2"} ?
14:05:56 <yoh> I declare it with array because i use push
14:06:13 <clokep_work> Can you pastebin the code snippet? :)
14:06:29 <yoh> i have array[account_name][buddy_name]
14:06:42 <yoh> of course !
14:06:48 <yoh> 2sec please
14:08:13 <yoh> http://pastebin.instantbird.com/598
14:10:14 <yoh> I do that when "new-text" is observed
14:10:33 <clokep_work> How is this.tmp_messages declared/initialized?
14:10:55 <yoh> tmp_messages : [],
14:11:56 <clokep_work> Do tmp_messages: {}, instead and give that a try.
14:12:06 <clokep_work> If it works, I'll explain the difference. :-D
14:12:16 <yoh> if I declare it as object
14:12:46 <yoh> ok i think i have already try it :D
14:12:48 <clokep_work> Yes.
14:13:18 --> Mic2 has joined #instantbird
14:13:35 <Mic2> yoh: there's nothing like associative arrays in Javascript
14:13:47 <Mic2> "associative arrays" as called by some is just abused objects
14:14:12 <Mic2> the brackets are another way to access properties of an object
14:14:44 <clokep_work> Yes, that's what I was getting at. :)
14:15:02 <yoh> so i must declare it as object
14:15:06 <Mic2> You initialize this as array, but use it like an object later: this.tmp_messages[ accountName ] = [];
14:15:18 <yoh> and no use shift and push ?
14:15:40 <clokep_work> Well you have three level of objects going on.
14:15:41 <Mic2> You can use shift and push on arrays, so you can add an array to your object and push into it
14:16:18 <clokep_work> You have tmp_messages, which should be an object, the each account in tmp_messages, which shold also be an object, and then each conversation in each account, which is an array and you can ush push/shift/unshift/pop, etc.
14:17:08 <yoh> I try that !
14:18:29 <clokep_work> So Mic2 is right also that tmp_messages and tmp_messages[ accountName ] should be declared as objects (i.e. {})
14:18:39 <Mic2> I think it looks good otherwise
14:19:40 <yoh> yes i think it's ok, i test better
14:20:01 <Mic2> With the changes that clokep_work mentioned it should be fine as far as I can tell
14:22:26 <yoh> :)
14:22:46 <yoh> yes it's good
14:22:58 <yoh> thanks clokep_work 
14:23:01 <yoh> thanks Mic2 
14:23:12 <Mic2> :)
14:23:42 <clokep_work> Glad it works. :)
14:48:07 --> yoh_ has joined #instantbird
14:48:15 <yoh_> kick yoh
14:48:51 <clokep_work> It'll time out eventually. :)
14:49:02 <yoh_> sur !
14:49:11 <Mic2> yoh: which case do you cover with your work?
14:49:29 <Mic2> Restoring sessions on startup or also for reopening closed tabs?
14:50:18 <yoh_> i'm doing an extension to display old message when conversation is closed (during the same session)
14:50:29 <-- yoh has quit (Quit: http://www.mibbit.com ajax IRC Client)
14:50:33 <yoh_> i restart...
14:51:22 <yoh_> the extension display old messages when a conversation closed is re-open
14:51:39 <yoh_> the 10 last messages
14:52:39 <yoh_> and when IB crash, I automatically re-open conversation which was opened
14:54:16 <clokep_work> Cool. :)
14:56:07 <Mic2> nice :)
14:56:08 <Mic2> gtg
14:56:15 <-- Mic2 has quit (Quit: http://www.mibbit.com ajax IRC Client)
15:17:44 <-- Tonnes has quit (Ping timeout)
15:19:19 --> Tonnes has joined #instantbird
15:23:58 <-- mokush has quit (Ping timeout)
15:27:36 --> igorko has joined #instantbird
15:32:43 <-- yoh_ has quit (Quit: http://www.mibbit.com ajax IRC Client)
15:41:54 * tymerkaev is now known as tymerkaev_away
16:01:48 <igorko> when release?
16:02:07 <igorko> in a month? later?
16:02:17 <clokep_work> When it's ready? ;)
16:02:28 <igorko> yeah- nice answer
16:02:29 <clokep_work> I believe flo wants to within 3 months though.
16:02:47 <clokep_work> But I don't think there's a set in stone timeline.
16:03:24 <igorko> he said 0.4 in september (as i remember)
16:09:19 * tymerkaev_away is now known as tymerkaev
16:10:02 <clokep_work> That sounds familiar. Hopefully we'll get it there. :)
16:23:31 <-- micahg has quit (NickServ (GHOST command used by micahg1))
16:23:31 --> micahg1 has joined #instantbird
16:23:41 * micahg1 is now known as micahg
16:24:17 <-- micahg has quit (NickServ (GHOST command used by micahg1))
16:24:19 --> micahg1 has joined #instantbird
16:24:22 <-- micahg1 has quit (Input/output error)
16:31:45 <-- igorko has quit (Quit: Instantbird 0.3a2pre)
16:33:13 --> igorko has joined #instantbird
16:35:41 <igorko> guys
16:35:47 <igorko> found mega bug
16:35:56 <igorko> encoding-related
16:36:18 <clokep_work> File a bug about it.
16:36:49 <clokep_work> Unless you just want someone to verify, but I can't do that right now. :)
16:38:34 <igorko> one guy uses qip client for ICQ protocol
16:38:48 <igorko> cyrillic text(cp1251)
16:39:03 <igorko> pidgin understands his text nice
16:39:08 --> mokush has joined #instantbird
16:39:11 <igorko> but instantbird sucks
16:40:53 <igorko> he wrote something like this "шекета коли буває не в курсі"
16:41:01 --> micahg has joined #instantbird
16:41:03 <igorko> but i'm receiving "xejer` jnkh asb`: me b jspq3?"
16:41:11 <clokep_work> Is the encoding a setting for ICQ? i don't remember.
16:41:38 <igorko> in instantbird and pidgin it's set to CP1251
16:41:46 <igorko> in ICQ account
16:43:17 <clokep_work> I don't know then. :(
16:51:10 <igorko> miranda works ok
17:02:05 <igorko> s lem QIP 2005 opnqrni qr`p{i <-- this means somehing in cyrillic :)
17:05:52 <igorko> how about autorization of buddy?(ICQ for example)
17:06:06 <clokep_work> What do you mean?
17:06:11 <igorko> not implemented<-------------- ?
17:06:42 <igorko> if you are adding new icq contact it's by default "offline"
17:07:34 <clokep_work> I think authorization is implemented. I've gotten authorization requests for MSN before.
17:10:06 <igorko> anyway
17:10:12 <igorko> about codepage
17:10:34 <igorko> miranda- ok. pidgin- ok. qip 2005- failure
17:10:47 <clokep_work> igorko: I would say file a bug, flo will defeinitely read it.
17:10:53 <clokep_work> File a bug about both if you think they're bugs.
17:15:03 <-- igorko has quit (Quit: Instantbird 0.3a2pre)
17:15:12 --> igorko has joined #instantbird
17:18:30 <igorko> what mean those detach from contact?
17:18:43 <igorko> Expand, collapse?
17:18:50 <igorko> why they are needed?
17:19:44 <clokep_work> You can combine multiple buddies into a contact.
17:20:38 <igorko> but i don't understand how
17:20:47 <igorko> dragging?
17:21:16 <igorko> really- dragging works
17:21:28 <igorko> yeah- really cool
17:24:23 <clokep_work> Yeah, drag & drop combines them.
17:24:31 <clokep_work> It needs to be more obvious that you can do that.
17:31:08 --> GeekShadow has joined #instantbird
17:33:29 <-- micahg has quit (Ping timeout)
17:34:12 <igorko> seems bug happens only with  qip 2005(very old client)
17:34:25 <igorko> in newer(qip infium) all is ok
17:35:43 <igorko> about autorizing Just wanted to connect to guy. He has antibot
17:36:02 <igorko> so i added him to contact list and can't start new conversation
17:36:17 <igorko> clicking on him and nothing happens
17:38:22 <clokep_work> IDk what antibot is.
17:38:31 <clokep_work> You should alwys be able to open a conversation whether they're online or not.
17:40:25 <igorko> i can't
17:40:45 <igorko> what happens in pidgin:
17:41:08 <igorko> 1 after adding contact appears autorization dialog
17:41:20 <igorko> 2. i put my text-> click OK
17:41:40 <igorko> 3 appears conversation window  with antibot question
17:42:02 <clokep_work> I don't know how ICQ works, sorry.
17:50:43 --> micahg has joined #instantbird
17:50:55 <-- micahg has quit (Quit: Leaving.)
17:51:21 --> micahg has joined #instantbird
17:57:26 * tymerkaev is now known as tymerkaev_away
17:58:57 * tymerkaev_away is now known as tymerkaev
17:59:40 <-- Even1 has quit (Quit: Instantbird 0.3a2pre)
18:14:20 * tymerkaev is now known as tymerkaev_away
18:14:25 * tymerkaev_away is now known as tymerkaev
18:15:16 <-- mokush has quit (Client exited)
18:27:14 <-- igorko has quit (Quit: Instantbird 0.3a2pre)
18:27:49 --> igorko has joined #instantbird
18:28:16 <-- igorko has quit (Quit: Instantbird 0.3a2pre)
18:28:24 --> igorko has joined #instantbird
18:32:05 <igorko> clokep_work: http://img143.imageshack.us/i/444ts.jpg/
18:32:19 --> linuxwizard has joined #instantbird
18:32:54 <igorko> and this http://img37.imageshack.us/i/333jp.jpg/
18:33:18 <igorko> first one about antibot
18:33:19 <igorko> a
18:33:32 <igorko> second about No autorization
18:38:07 * tymerkaev is now known as tymerkaev_away
18:38:07 <-- linuxwizard has quit (Quit: Instantbird 0.2)
18:43:14 --> bumpaw has joined #instantbird
18:45:11 <bumpaw> How do you hide all the quit and join events? Might be called conference mode.
18:46:19 <bumpaw> I'm talking about on irc.freenode.net
18:55:14 <-- igorko has quit (Quit: Instantbird 0.3a2pre)
18:56:30 --> linuxwizard has joined #instantbird
18:59:28 --> igorko has joined #instantbird
19:06:20 <instantbot> New Instantbird (UI) bug 729 filed by mansonigor@gmail.com.
19:06:21 <instantbot> mansonigor@gmail.com added attachment 557 to bug 729.
19:06:22 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=729 maj, --, ---, nobody, UNCO, Can't request authorization of ICQ contact
19:07:41 <clokep_work> bumpaw: You can't, there's a bug about it, give me a second to find it.
19:07:41 <-- micahg has quit (Ping timeout)
19:08:33 <clokep_work> igorko: Are those using the nightlies or 0.3a1 or 0.2?
19:08:47 <igorko> latest nightly
19:09:02 <igorko> 20110315
19:09:42 <clokep_work> bumpaw: Check out bug 440.
19:09:46 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=440 enh, --, ---, nobody, NEW, IRC option: Hide events
19:10:11 <bumpaw> clokep_work: OK thanks.
19:10:50 --> micahg has joined #instantbird
19:10:52 * tymerkaev_away is now known as tymerkaev
19:10:55 <clokep_work> bugsaw and also Bug 437. They're similar although not exactly the same.
19:10:58 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=437 enh, --, ---, nobody, NEW, Allow to summarize events in conversations
19:13:04 <igorko> clokep_work seems i even can't start conversation if i'm not autorised for him
19:13:25 <igorko> he auturized me be i still can't type
19:13:30 <clokep_work> Right, that makes sense. But I think when you add him to your buddy list it automatically requsts authorization.
19:13:34 <clokep_work> I don't know.
19:13:45 <igorko> nope
19:14:13 <igorko> tried in pidgin- i can type after He authorized me
19:14:30 <igorko> but instantbird needs both in this case
19:15:06 <igorko> so implementing authorizing will solve this
19:15:54 <-- bumpaw has left #instantbird ()
19:16:27 --> BenoitRen has joined #instantbird
19:16:45 <BenoitRen> Hi there.
19:16:52 <clokep_work> Hello.
19:17:12 <clokep_work> igorko: Sorry, you'll have to ask flo. :)
19:17:25 <clokep_work> BenoitRen: How're you doing?
19:17:27 <igorko> yeah, np
19:17:36 <BenoitRen> clokep_work: I'm all right. How are you?
19:17:43 <BenoitRen> clokep_work: (aside from work)
19:17:48 <igorko> or even not implementing- porting
19:17:48 <clokep_work> Fine. :)
19:18:11 <BenoitRen> clokep_work: I got your e-mail message. Sorry for popping up late.
19:18:15 <clokep_work> igorko: It's possible part of libpurple just isn't implemented in the UI properly, but I really have no idea.
19:18:31 <clokep_work> BenoitRen: It's fine. :) Would you be willing to relicense it as tri-license?
19:19:11 <igorko> now time for encoding bug
19:19:47 <BenoitRen> clokep_work: I wouldn't mind, but have you asked clav about it? He's the one who wrote the thing originally. I just patched it here and there according to my needs.
19:20:10 <clokep_work> clav? Was his name in the licensing? :-/
19:20:22 <igorko> шекета коли буває не в курсі ---->  xejer` jnkh asb`: me b jspq3?
19:20:25 <clokep_work> The original file (from ChatZilla) has been relicensed as tri-license if that's what you mean?
19:20:30 <BenoitRen> Yeah, his full name should be in there. One second.
19:20:39 <igorko> cool decoding :)
19:21:00 <clokep_work> Ah, his name is in there. :)
19:21:12 <clokep_work> I just assumed you wrote it since you were the project contact.
19:21:17 <clokep_work> I'll shoot him an email then.
19:21:19 <-- chrisccoulson has quit (Ping timeout)
19:21:39 <BenoitRen> clav wrote it based on ChatZilla's file and lots of questions asked on IRC.
19:21:48 <igorko> "e" is decoded properly :)
19:21:48 <BenoitRen> Then he sent it to me. :)
19:22:18 <clokep_work> Mmhmm. :) The ChatZilla code is a mess. I'm glad he figured out the messy parts!
19:22:27 <clokep_work> http://hg.instantbird.org/experiments/file/tip/modules/socket.jsm is what I have now though if you're curious.
19:22:47 <clokep_work> It's his code + some additions from ChatZilla and doing binary transfers in a "better" way...although untested so far. :-D
19:23:19 <BenoitRen> By the way, the version you see in CVS isn't the latest version. I patched it some for version 0.9 of my client, which still isn't out.
19:23:41 * BenoitRen only uses CVS at version releases
19:23:57 <clokep_work> Oh? Any major changes?
19:24:23 <BenoitRen> Let me look at my changelog...
19:24:42 * clokep_work assumed that project wasn't being developed anymore actually. :-X
19:26:36 <clokep_work> But it makes more sense if you only commit during full versions. :)
19:27:12 <BenoitRen> Hmm, I see nothing noted, but I remember patching it so its connected variable would remain consistent with the situation.
19:27:44 <clokep_work> I was thinking that should just be changed into a getter that checks if each transport isAlive()
19:28:06 <BenoitRen> It's been at least half a year since I actually developed the thing. I lost motivation when support for MSNP9 was dropped.
19:28:52 <BenoitRen> To use one of the more recent protocol versions, I need some hashing functions that the Mozilla platform doesn't offer.
19:29:59 <BenoitRen> Right now it's telling MSN that it supports both 8 and 9, and falls back to 8 if the server doesn't accept 9. Which is always. :/
19:30:10 <clokep_work> Ah. :-/ That's unfortunate...somewhere I saw a bunch of hashing functions in JS...
19:30:47 <BenoitRen> Like here? -> http://slbsoftware.com/sha256/sha256.js
19:31:11 <BenoitRen> That's the only implementation I know of of a DES thingie, whatever it was. It's been a while.
19:32:07 <clokep_work> Did you check out the Weave encryption stuff? I think that includes some extra functions...although it's in a binary. :(
19:32:25 <BenoitRen> I didn't.
19:32:46 <BenoitRen> I see I never wrote my name in the license. :O
19:35:06 <BenoitRen> So, if I understood correctly, you're trying to replace libpurple by JavaScript modules?
19:35:39 <clokep_work> I've been working on allowing protocols in Instantbird to be done in JavaScript, yes.
19:35:49 <clokep_work> I've personally been using IRC to dogfood it.
19:36:03 <clokep_work> Florian wrote a twitter protocol in JavaScript also.
19:36:09 <BenoitRen> Cool.
19:36:22 <clokep_work> I can point toward code/interfaces/blog posts, etc. if you're interested. :)
19:36:41 <clokep_work> I can't find the js hashing stuff, I have it bookmarked at home.
19:36:50 <BenoitRen> Considering that MSN is one of the protocols, do I have to assume that my MSN protocol code didn't look good enough? :P
19:38:22 * tymerkaev is now known as tymerkaev_away
19:38:22 <clokep_work> I didn't really look at the protocol code yet. :)
19:38:33 <BenoitRen> I see.
19:38:35 <clokep_work> I was trying to find a socket implementation that abstracted away all the mozilla junk.
19:38:49 <clokep_work> And flo had me check your code or I found your code? Idk which.
19:38:58 <clokep_work> And I liked it. :)
19:39:03 <BenoitRen> :)
19:39:41 <BenoitRen> I can send you the latest version of the files, if you like.
19:39:50 <clokep_work> I was planning to check out the protocol stuff at some point though...but I'm knee deep in writing IRC, while implementing the interfaces I need to use them.
19:40:11 <clokep_work> That'd be helpful I think. :) Back to the email address I sent is OK.
19:40:18 <BenoitRen> All right.
19:40:58 * tymerkaev_away is now known as tymerkaev
19:43:01 <clokep_work> BenoitRen: http://www.mozdev.org/source/browse/fireftp/src/content/js/connection/paramikojs/ is the hashing stuff I found.
19:46:13 <BenoitRen> clokep_work: Sent!
19:47:49 --> chrisccoulson has joined #instantbird
19:48:04 <clokep_work> Got it. Thanks. :) So are you totally stuck until you can update to MSNP16 (or at least > 9?)
19:48:27 <BenoitRen> Yes, basically.
19:49:38 <BenoitRen> Looking at the repository you linked, the HMAC code uses Mozilla platform code. Interesting. HMAC is another encryption needed to log in using more recent versions.
19:52:39 <clokep_work> :) I might eventually need a blowfish algorithm which is how I came across that code, but I think that implementation is creative commons or something strange?
19:52:41 * clokep_work hates licenses.
19:53:18 <BenoitRen> Introduced in Gecko 1.9...
19:53:26 * BenoitRen runs his client on 1.8.1
19:55:34 <clokep_work> Well your socket class still works on 2.0. :)
20:04:56 <BenoitRen> That repository has its own 3DES algorithm implementation. Nice.
20:05:04 <clokep_work> If you'd be interested in fitting it into our framework though, it's possible we could remove the MSN libpurple implementation, which has been having a lot of problems. :-/
20:05:32 <BenoitRen> What kind of problems?
20:05:37 <clokep_work> It had every crypto algorithm I had ever heard of...which isn't saying much. ;)
20:05:58 <clokep_work> Uhhh...you couldn't add buddies, that's fixed now though I think? Some other issues too though.
20:06:02 * clokep_work doesn't really use MSN much.
20:07:24 <BenoitRen> libpurple uses something more recent than MSNP8, right?
20:07:42 <clokep_work> It uses MSNP15 I think? With partial P2P protocol implemented.
20:07:42 <BenoitRen> I think Pidgin uses MSNP13 or MSNP11.
20:07:46 <-- GeekShadow has quit (Ping timeout)
20:08:09 <BenoitRen> I see.
20:08:46 <clokep_work> I lied, it's MSNP16, at least partially.
20:09:29 <BenoitRen> I'm willing to implement the MSN protocol in JavaScript for InstantBird, but as things are right now, that'd mean using MSNP8 until I figure out MSNP15 or higher.
20:10:24 <BenoitRen> So... I think I'll wait until I can make some time for figuring it out. :)
20:10:32 <clokep_work> That's fine. :) Just keep us in mind.
20:10:45 <BenoitRen> MSNP8 has been having quirks in the past 3 months or longer.
20:10:59 <clokep_work> The API layer needs a bit more work right now anyway, I occasionally break my own code when I change it. ;)
20:11:26 * BenoitRen is all too familiar with breaking code
20:11:42 * BenoitRen wishes JavaScript had a pseudo-compiler to catch stupid mistakes
20:13:49 <clokep_work> I use a plug-in for Komodo that catches syntax errors usually.
20:13:55 <clokep_work> JS-strict or something.
20:14:15 <clokep_work> JSLint, rather. :)
20:14:27 <BenoitRen> That sounds familiar.
20:15:48 <BenoitRen> How does InstantBird handle conversation windows. One property of JavaScript+DOM that makes me crawl up the wall is that window.open() returns before the window has finished loading.
20:15:53 <BenoitRen> *windows?
20:16:45 <BenoitRen> So my session object sometimes calls JavaScript associated with a window that hasn't fully loaded yet.
20:16:51 <clokep_work> You wouldn't handle them at all in any code, you'd just do new Conversation(...)
20:17:19 <clokep_work> Uhh...we have a binding that handles it all though. There's a conversation window binding and a conversation tab binding.
20:17:23 --> Ornthalas has joined #instantbird
20:17:42 <BenoitRen> A binding? Tell me more. :)
20:17:44 <clokep_work> And communication from the protocol to the UI is done w/ listeners/observers.
20:18:13 <clokep_work> http://lxr.instantbird.org/instantbird/source/instantbird/content/convbrowser.xml and http://lxr.instantbird.org/instantbird/source/instantbird/content/conversation.xml
20:19:03 <clokep_work> So protocols generally just control that with http://lxr.instantbird.org/instantbird/source/purple/purplexpcom/public/purpleIConversation.idl or by notifying observers that events occured (like a buddy joined a chat).
20:19:29 <BenoitRen> Ah, XBL.
20:20:22 <BenoitRen> One quirk of MSN is that you can have a conversation with one buddy or multiple buddies.
20:20:57 <clokep_work> You mean a conversation can morph from one buddy to multiple and back again?
20:21:04 <BenoitRen> Yes.
20:21:11 <clokep_work> That's a pain. :)
20:21:18 <BenoitRen> EXACTLY. :D
20:21:38 <BenoitRen> I never figured that out.
20:21:52 <clokep_work> I don't think our code could handle that. http://hg.instantbird.org/experiments/file/2d92525931a8/components/ircProtocol.js#l301 is how I make a new conversation in IRC though.
20:22:46 <BenoitRen> My code tries to keep contacts to their own window, but if a multi-buddy conversation goes single-buddy again, it's naive about it. Probably sends everything to the session object that shows up first.
20:24:48 <clokep_work> For us we can just use the MUC interface always, but tthat's messy if there's only one user...you don't need the participants list in that case. :( There's some other differences too.
20:24:54 <clokep_work> Anyway, I'm going home. :)
20:25:58 <clokep_work> Hopefully talk to you again, feel free to email me if you have questions and I'm not here (or just leave messages, we log the conversation and I read it.)
20:26:07 <-- clokep_work has quit (Quit: http://www.mibbit.com ajax IRC Client)
20:26:40 <BenoitRen> Laters.
20:26:52 <BenoitRen> I'll get going as well, then.
20:26:59 <-- BenoitRen has quit (Quit: Chatzilla 0.9.75.1 [SeaMonkey 1.1.19/2010022818])
20:32:53 <instantbot> New purplexpcom - General bug 730 filed by mansonigor@gmail.com.
20:32:56 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=730 nor, --, ---, nobody, UNCO, Instantbird doesn't understand cyrillic text, sent from qip 2005
20:55:53 <-- igorko has quit (Quit: Instantbird 0.3a2pre)
21:11:06 <-- tymerkaev has quit (Ping timeout)
21:13:43 <-- linuxwizard has left #instantbird ()
21:14:30 --> GeekShadow has joined #instantbird
21:39:42 --> clokep has joined #instantbird
21:39:43 * ChanServ sets mode +h clokep 
21:58:08 --> flo has joined #instantbird
21:58:08 * ChanServ sets mode +qo flo flo 
21:58:39 <flo> Good evening :)
21:59:08 <clokep> Hey flo.
21:59:18 <clokep> Just got an email saying I can change to the tri-license. :)
21:59:34 <flo> cool :)
22:01:07 <-- micahg has quit (Ping timeout)
22:06:15 --> micahg has joined #instantbird
22:20:02 <-- clokep has quit (Ping timeout)
22:21:02 --> clokep has joined #instantbird
22:21:02 * ChanServ sets mode +h clokep 
22:32:42 <-- sabret00the has quit (Ping timeout)
22:41:17 * flo doesn't know what to write in the mailing list blog post
22:42:09 <clokep> "Dude, we have a mailing list."
22:42:43 <clokep> Something along the lines of "A lot of work has been going on since the alpha...blah blah..." high light a couple of things we've completed since then and then say "We've opened a public mailing list to...."
22:43:29 <flo> ah, so you think we should stuff the mailing list thing inside a regular status update post?
22:48:19 <clokep> Probably. I mean do we have enough to say otherwise? :)
22:52:50 <flo> http://pastebin.instantbird.com/599
22:55:10 <clokep> Give the link to the wiki that has guidelines? Maybe something like "If you'd like to help support users, check out our <guidelines>."
23:00:08 <flo> yes
23:02:31 * flo wonders if the mailing list wiki page should be protected like the roadmap
23:08:00 <flo> should I include something targeted at google haters? :)
23:08:40 <-- Seji has quit (Client exited)
23:09:22 <clokep> Maybe just a line saying you can sign up by emailing the sign up email (even with a Google account)
23:11:33 <flo> what's the sign-up email by the way?
23:12:38 * clokep doesn't know.
23:13:46 <flo> <groupname>-subscribe@googlegroups.com would make sense, but I haven't found it written anywhere
23:14:09 <clokep> flo: http://groups.google.com/support/bin/answer.py?answer=46606
23:14:19 <clokep> [Groupname]+subscribe@googlegroups.com
23:18:07 <flo> http://pastebin.instantbird.com/600
23:21:19 <clokep> Sounds good, I'd just add "New posts to the mailing list will now be publicly available"
23:21:29 <clokep> So people don't think their old emails will just be made public. :)
23:21:51 <-- flo has quit (Input/output error)
23:23:30 --> flo has joined #instantbird
23:23:30 * ChanServ sets mode +qo flo flo 
23:36:31 <flo> so Pidgin developers want to rename PurpleContact to PurplePerson, and PurpleBuddy to PurpleContact. So now the word "contact" won't technically refer to the same thing, depending on whether people are using libpurple/pidgin 3.* or 2.*. Nice :).
23:37:02 <flo> I hope in the long run it will reduce the confusion, but at the beginning it will be... uh :-S.
23:38:01 <clokep> Yeah I saw that too.
23:38:10 <clokep> Probablyl better in the long run, yes. :(
23:40:50 <clokep> They want to merge a lot...we might want to wait for 3.1. ;)
23:41:46 <flo> or jump on it and merge a significant portion of our current changes ;)
23:42:27 <flo> I'm not sure yet of how much time I want to invest in this, but it may be a good opportunity to change the API enough to be able to use the default system libpurple on Linux distributions
23:42:53 <clokep> You mean to make Instantbird use a more standard libpurple?
23:43:20 <flo> I mean make the standard libpurple more Instantbird friendly ;)
23:44:37 <flo> 2 developers were saying in the XMPP room the other day that I should have commit access.
23:45:27 <flo> I guess that would make it easier for us to merge patches that nobody from Pidgin care about either way.
23:49:08 <clokep> Idk though a "person" and a "contact" are kind of synonymous. :-/
23:49:21 <clokep> (in this context at least)
23:49:51 <flo> I'll try to avoid replying on that topic on the mailing list :).
23:54:54 <-- clokep has quit (Quit: Instantbird 0.3a2pre)
23:55:03 --> clokep has joined #instantbird
23:55:03 * ChanServ sets mode +h clokep