#instantbird log on 02 26 2012

All times are UTC.

00:09:03 --> mmkmou has joined #instantbird
00:18:27 <-- Suiseiseki has quit (Ping timeout)
00:23:21 --> Suiseiseki has joined #instantbird
00:34:47 <-- Tomek has quit (Quit: Instantbird 1.1)
00:35:07 --> Tomek has joined #instantbird
00:41:17 <-- Tomek has quit (Quit: Instantbird 1.2a1pre)
00:42:21 --> Tomek has joined #instantbird
00:55:30 <clokep> Bah it mostly build, died in mintrayr.
00:56:57 <aleth> Connection reset by peer? how annoying
00:59:55 <clokep> Ping timeout?
01:13:49 <aleth> Dunno, it's just what it says here. "lost connection"  http://buildbot.instantbird.org/builders/linux-nightly-default/builds/406/steps/shell_2/logs/stdio
01:20:53 <clokep> Ohhh. I see
01:20:57 * BinaryOutcast is now known as Tobin
01:21:00 <clokep> Sounds like we need to poke even.
01:23:12 <Tomek> ...finally, I found some time to file theese enhancement ideas I discussed here more than week ago...
01:23:38 <aleth> The funny thing is, the linux buildbot at least says its connected http://buildbot.instantbird.org/builders/linux-nightly-default
01:23:46 <aleth> Even?
01:23:54 <instantbot> New Instantbird (UI) bug 1285 filed by tomaskom.cz@seznam.cz.
01:24:02 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1285 enh, --, ---, nobody, UNCO, Tranfer "Time Bubbles" features to other msg themes
01:24:44 <instantbot> New Instantbird (UI) bug 1286 filed by tomaskom.cz@seznam.cz.
01:24:48 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1286 enh, --, ---, nobody, UNCO, Add "Last seen online" to contact tooltip
01:25:05 <instantbot> New Instantbird (UI) bug 1287 filed by tomaskom.cz@seznam.cz.
01:25:07 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1287 enh, --, ---, nobody, UNCO, Remember opened/hold conversations from last time
01:25:15 <instantbot> New Instantbird (UI) bug 1288 filed by tomaskom.cz@seznam.cz.
01:25:18 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1288 enh, --, ---, nobody, UNCO, Adding IRC & other similar MUCs as contact
01:27:41 <aleth> Tomek: Thanks for filing these bugs!
01:29:04 <Tomek> aleth: the pleasure is all mine :-P
01:30:06 <Tomek> just some ideas what I'd like to have implemented in instantbird because of the way I use it :)
01:37:10 <-- jb has quit (Ping timeout)
01:40:02 <clokep> Thanks Tomek .
01:43:10 <instantbot> clokep@gmail.com set the Resolution field on bug 1287 to DUPLICATE of bug 307.
01:43:16 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1287 enh, --, ---, nobody, RESO DUPLICATE, Remember opened/hold conversations from last time
01:43:17 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=307 enh, --, ---, nobody, NEW, Restoring session after restart
01:48:22 <clokep> Bleh that review says it's created by Mozilla. :-/
01:50:45 <instantbot> clokep@gmail.com set the Resolution field on bug 1288 to DUPLICATE of bug 232.
01:50:48 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1288 enh, --, ---, nobody, RESO DUPLICATE, Adding IRC & other similar MUCs as contact
01:50:49 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=232 nor, --, ---, nobody, RESO INVALID, Can't add IRC channels to the buddy list
02:01:37 <Tomek> sorry for duplicates, I searched... I swear :-D
02:05:04 <clokep> It's fine. :)
02:05:11 <clokep> Better to file them then to forget them!
02:06:13 <Tomek> got one more, just putting visual draft together
02:10:04 <-- mmkmou has quit (Ping timeout)
02:10:34 --> waynenguyen has joined #instantbird
02:12:33 <instantbot> New Instantbird (UI) bug 1289 filed by tomaskom.cz@seznam.cz.
02:12:38 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1289 enh, --, ---, nobody, UNCO, Show more than just current protocol in conversation window
02:13:57 <clokep> Hmmm....that's a idea.
02:14:02 <clokep> And would make it more discoverable.
02:14:05 --> Mook has joined #instantbird
02:16:15 <Tomek> That idea came up when I nearly missed that my brother is still online on Facebook while offline on ICQ...
02:16:48 <Tomek> because I didnt look in contact list, just conv window
02:18:16 <clokep> Ideally we'd like it to automatically change in that case. :-/
02:18:23 <clokep> It was just never implemented.
02:21:27 <Tomek> a wI thought about it few times, but it could be confusing when you dont notice it or when you are switched to different protocol while your contact is offline just for a while
02:21:45 <clokep> Yes, it'd have to be if they're offline for longer than network jitter.
02:22:02 <Tomek> just difficult to do it the right way
02:22:41 <clokep> Yup.
02:22:48 <clokep> Doesn't mean it's not worth doing. :)
02:23:44 <Tomek> my idea was also that showing all protocols at once woul let the user easily see and decide what to do :)
02:23:52 <clokep> Yeah, it makes sense.
02:24:00 <clokep> I think it's more discoverable too.
02:24:11 <Tomek> without any unexpected automatical behaviour
02:24:32 <clokep> A system message would be displayed if the contact target changed btw.
02:25:14 <Tomek> of course it is also when made manually now :)
02:25:30 <clokep> Yup! Exactly, so...it could be unexpected, but the user would be informed. :)
02:25:48 <-- aleth has quit (Quit: Instantbird 1.2a1pre)
02:25:51 <clokep> Anyway, I think it's time for me to go! Thanks for the ideas, I'm sure people will read over them soon.
02:25:54 <clokep> Goodnight.
02:26:02 <-- clokep has quit (Quit: Instantbird 1.2a1pre)
02:26:08 <Tomek> hmm but what if I'm just typing and wish to send it to offline when in last sec the change occurs? :-P
02:26:17 <Tomek> ok, bye :)
02:31:27 <instant-buildbot> build #493 of win32-nightly-default is complete: Success [build successful]  Build details are at http://buildbot.instantbird.org/builders/win32-nightly-default/builds/493
02:41:51 <-- Tonnes has quit (Ping timeout)
02:43:00 --> Tonnes has joined #instantbird
03:15:08 <-- Tomek has quit (Quit: Instantbird 1.1)
03:26:53 <-- Tonnes has quit (Ping timeout)
03:28:37 --> Tonnes has joined #instantbird
03:59:16 <instant-buildbot> build #407 of linux-nightly-default is complete: Success [build successful]  Build details are at http://buildbot.instantbird.org/builders/linux-nightly-default/builds/407
04:15:15 <-- Tonnes has quit (Ping timeout)
04:16:52 --> Tonnes has joined #instantbird
05:03:26 <-- Tonnes has quit (Ping timeout)
05:05:06 --> Tonnes has joined #instantbird
05:27:52 <instant-buildbot> build #494 of win32-nightly-default is complete: Success [build successful]  Build details are at http://buildbot.instantbird.org/builders/win32-nightly-default/builds/494
05:28:00 --> Plop has joined #instantbird
06:51:58 <Mook> ooh, I think DNS SRV _can_ be hacked together in JS
06:52:24 <instant-buildbot> build #399 of macosx-nightly-default is complete: Success [build successful]  Build details are at http://buildbot.instantbird.org/builders/macosx-nightly-default/builds/399
06:55:22 <Mook> horrible proof of concept, with hard coded query: http://pastebin.instantbird.com/13901 (this will be interesting for... flo, I guess?)
07:09:08 <flo> Mook: are you serious? :-D
07:09:29 <flo> hardcoding Google's server may not be great for privacy (especially inside companies that have a local XMPP server)
07:09:34 <Mook> that it does _something_? yes, that came out of my JS shell
07:09:38 <flo> how did you come up with that?
07:09:57 <flo> capturing with wireshark and replaying?
07:10:08 <Mook> the data? yeah, wireshark capture
07:10:21 <Mook> I wasn't interested in building the request, so I did the dumb thing
07:11:02 <Mook> hmm, good point, I need a DNS server to resolve against
07:11:13 <flo> the idea is... hmm... interesting :-D
07:11:36 <flo> on unix it's probably ok to go read and parse /etc/resolv.conf
07:11:45 <flo> on Windows, it may be difficult to get a system DNS server
07:11:48 <Mook> .. that scares me a little
07:12:10 <Mook> but... the fact that making the _request_ didn't scare me as much as parsing /etc/resolv.conf also scares me.
07:12:22 <flo> ahah
07:12:55 <flo> how soon will the paste expired? it's one of the rare cases where "forever" would be nice :)
07:13:09 <Mook> feel free to repaste it :)
07:13:25 <Mook> I left it at default... I think that was a month :/
07:13:42 <Mook> also, http://mxr.mozilla.org/mozilla-central/source/netwerk/test/TestUDPSocketProvider.cpp
07:27:37 <-- Tonnes has quit (Ping timeout)
07:28:42 --> Tonnes has joined #instantbird
07:32:57 <-- waynenguyen has quit (Ping timeout)
08:18:33 <-- Mook has quit (Quit: zzz)
08:32:18 --> gerard-majax has joined #instantbird
08:39:14 <-- gerard-majax has quit (Ping timeout)
08:41:33 --> jb has joined #instantbird
08:44:17 --> jb1 has joined #instantbird
08:45:27 <-- jb has quit (Ping timeout)
08:53:27 <-- Tonnes has quit (Ping timeout)
08:54:39 --> Tonnes has joined #instantbird
09:13:20 --> Mad_Maks has joined #instantbird
09:14:52 <-- Tobin has quit (Quit: And the rain will kill us all / If we throw ourselves against the wall / But no one else can see / The preservation of the martyr in me)
09:15:04 --> Tobin has joined #instantbird
09:15:12 <-- Tobin has quit (Connection reset by peer)
09:15:17 --> Tobin has joined #instantbird
09:30:22 <-- Plop has quit (Connection reset by peer)
09:30:53 <-- GeekShadow has quit (Ping timeout)
09:30:53 --> Plop has joined #instantbird
09:34:14 --> GeekShadow has joined #instantbird
09:41:35 <-- Tonnes has quit (Ping timeout)
09:44:25 --> Tonnes has joined #instantbird
10:14:51 --> Even2 has joined #instantbird
10:14:59 <-- Even2 has quit (Quit: Instantbird 1.2a1pre)
10:15:07 --> Even2 has joined #instantbird
10:33:55 <-- Tonnes has quit (Ping timeout)
10:36:08 --> Tonnes has joined #instantbird
10:40:51 --> aleth has joined #instantbird
10:40:51 * ChanServ sets mode +h aleth 
10:44:59 <-- aleth has quit (Quit: Instantbird 1.2a1pre)
10:45:08 --> aleth has joined #instantbird
10:45:08 * ChanServ sets mode +h aleth 
11:01:47 <-- jb1 has quit (Quit: Instantbird 1.2a1pre)
11:07:54 --> jb has joined #instantbird
11:15:56 --> mmkmou has joined #instantbird
11:21:12 --> gandhi2 has joined #instantbird
11:25:21 <-- jb has quit (Ping timeout)
11:25:36 --> jb has joined #instantbird
11:41:04 <-- gandhi2 has quit (Ping timeout)
11:53:38 <-- mmkmou has quit (Ping timeout)
12:01:07 <-- jb has quit (Ping timeout)
12:02:40 --> jb has joined #instantbird
12:10:04 --> mmkmou has joined #instantbird
12:10:33 --> jb1 has joined #instantbird
12:10:35 --> stoyan has joined #instantbird
12:11:58 <-- jb has quit (Ping timeout)
12:13:01 <-- stoyan has quit (Quit: http://www.mibbit.com ajax IRC Client)
12:22:39 --> Tomek has joined #instantbird
12:44:21 --> gandhi2 has joined #instantbird
12:54:59 <-- jb1 has quit (Ping timeout)
13:44:20 <-- mmkmou has quit (Ping timeout)
13:48:17 <-- skeledrew has quit (Ping timeout)
13:48:25 --> jb has joined #instantbird
14:48:28 --> Andrey has joined #instantbird
14:49:09 <Andrey> hi
14:50:14 <Andrey> where i can find tutor "how to write plugins"? i need antispam addon
14:50:26 <Andrey> for icq and jabber pm's
14:51:23 <aleth> Andrey: https://wiki.instantbird.org/Developer
14:51:34 <Andrey> and how i can view source code for other plugins?
14:51:41 <aleth> It's great you're thinking of writing an add-on!
14:52:08 <aleth> Each add-on is an XPI file, which is really just a ZIP file.
14:52:15 <aleth> So all you have to do is unpack it.
14:52:23 <Andrey> aleth ~ thank you
14:53:05 <aleth> The best resource is MDN https://developer.mozilla.org/
14:53:43 <Andrey> good
14:53:58 <aleth> There isn't much of a difference between Instantbird and Firefox add-ons, that's what the first link is for
14:54:15 <aleth> This is also useful https://developer.mozilla.org/en/Setting_up_extension_development_environment
14:54:31 --> mmkmou has joined #instantbird
14:58:21 <-- jb has quit (Ping timeout)
15:01:51 <aleth> Andrey: An add-on like NickServKiller might be worth taking a look at, depending on what you want to do
15:04:39 <Andrey> ok thank you for help
15:08:56 --> skeledrew has joined #instantbird
15:10:09 <-- mmkmou has quit (Ping timeout)
15:23:59 <-- gandhi2 has quit (Ping timeout)
15:25:46 <-- Tonnes has quit (Ping timeout)
15:27:19 --> Tonnes has joined #instantbird
16:01:33 <aleth> Getting bug reports via the blog makes me wonder if there shouldn't be a 'Feedback' or 'Support' link right up top on the website, so it's more obvious how to get to #instantbird or bugzilla. 'About' is not really an obvious thing to click if you are looking for support info.
16:17:09 <flo> the "wiki" link may not be very useful on the homepage
16:19:40 <flo> I guess I shouldn't reply as "anonymous" on the blog comments :-/
16:19:42 <aleth> Yes, I agree. It should probably be replaced by a 'Developers' link
16:21:45 <flo> in case anybody here hasn't had enough pictures of classic cars yet, here are those I took this morning :-P
16:23:49 <flo> http://queze.net/goinfre/mamie/audruicq-20120226/
16:24:03 <flo> (I was supposed to press Command+c after "here" of course ;))
16:24:14 <flo> e
16:24:15 <flo> rrr
16:24:16 <flo> v
16:24:20 <flo> sorry :-D
16:25:26 <aleth> just a few :P
16:29:42 <flo> the most surprising for me was this one http://queze.net/goinfre/mamie/audruicq-20120226/IMG_1852.JPG because it's an Italian version! (even the French version has become rare anyway)
16:30:44 <aleth> It looks unusual, at first I wondered if it was an undertaker's car painted white
16:31:10 <aleth> What kind of car is this? http://queze.net/goinfre/mamie/audruicq-20120226/IMG_1820.JPG
16:31:34 <flo> the same, but in the "common" version
16:31:40 <flo> it's a Citroën DS
16:31:53 <flo> http://en.wikipedia.org/wiki/Citro%C3%ABn_DS
16:32:18 <aleth> I'd seen it before in old movies ;)
16:32:59 <aleth> Interesting design.
16:33:36 <aleth> Nice use of the logo on these ;) http://queze.net/goinfre/mamie/audruicq-20120226/IMG_1826.JPG
16:34:16 <flo> another Citroën. Older ;)
16:40:10 <aleth> I really like the DS design
16:40:39 <aleth> but they all have character
16:42:13 <Tomek> when it comes to wiki... i think https://wiki.instantbird.org/Instantbird:Roadmap could use some update ^^ (especially the 1.2 part)
16:43:54 <-- Tomek has quit (Ping timeout)
16:44:13 --> Tomek has joined #instantbird
16:55:33 <-- Andrey has quit (Quit: )
17:15:58 <-- Plop has quit (Ping timeout)
17:18:26 --> Plop has joined #instantbird
17:19:06 --> clokep has joined #instantbird
17:19:06 * ChanServ sets mode +o clokep 
17:31:25 --> mmkmou has joined #instantbird
17:34:23 <clokep> Tomek: We don't really use that page much I don't think. :-X
17:34:56 <instantbot> New Websites - www.instantbird.com bug 1290 filed by aletheia2@fastmail.fm.
17:34:59 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1290 enh, --, ---, nobody, NEW, Improve main website navigation bar
17:36:42 <clokep> Andrey: There's a start to a anti-spam add-on somewhere...
17:41:41 <-- Mad_Maks has quit (Quit: Instantbird 1.2a1pre)
17:47:15 <flo> https://wiki.instantbird.org/Instantbird:Roadmap still seems accurate to me
17:47:30 <flo> JS-XMPP and JS-IRC are the only things that we have been actively pushing into 1.2
17:49:21 <clokep> :)
17:49:29 <clokep> Any chance of that landing today? Or did one of the nightlies fail? :(
17:50:48 <-- Tonnes has quit (Ping timeout)
17:52:20 --> Tonnes has joined #instantbird
17:57:37 <-- Plop has quit (Ping timeout)
18:01:52 <flo> that = JS-IRC ?
18:03:37 <clokep> Yes.
18:04:09 <flo> bug 1289 discusses a "solution" before the problem :(
18:04:15 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1289 enh, --, ---, nobody, UNCO, Show more than just current protocol in conversation window
18:04:40 --> Plop has joined #instantbird
18:06:16 <clokep> flo: Yes, which is why I pointed to the auto-switching thing....which I think is an alternate solution.
18:06:43 <flo> bah, I know the irc bug number without having to look it up. I think it's a sign we have spent too much time commenting there. Time to land and close it. We will file follow ups ;)
18:07:10 <clokep> 507. ;)
18:07:12 <flo> clokep: we are both attempting to guess what the problem could be in the bug comments ;)
18:07:30 <flo> clokep: I'm not surprised that you know it, you spent more time than anybody else there :)
18:08:11 <clokep> Yup! :) I know a few bugs off the top of my head haha.
18:08:50 <flo> I know the damn 759
18:09:26 <clokep> Good thing that's closed and buried. :)
18:10:19 <instantbot> benediktp@ymail.com set the Resolution field on bug 1286 to DUPLICATE of bug 394.
18:10:22 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1286 enh, --, ---, nobody, RESO DUPLICATE, Add "Last seen online" to contact tooltip
18:10:23 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=394 enh, --, ---, nobody, NEW, Show time when a user was "Last seen"
18:10:46 <clokep> Apparently we have too many bugs now and I don't have them all memorized anymore. ;)
18:14:02 <flo> your last patch doesn't include the changes to conversation.xml :(
18:14:12 <clokep> Oh no. :(
18:14:28 <clokep> I must have excluded instantbird/content or something. :-/
18:15:32 <flo> a parameter taking either false or undefined is a strange idea
18:15:59 <clokep> Yes. But the other alternative had too many double negatives for my brain to handle. :(
18:16:06 <clokep> s/other //
18:16:34 <flo> !== false is a double negative
18:16:56 <clokep> Let me rephrase, I didn't like having to set something to true to disable something.
18:18:36 <flo> enabling additional privacy/security?
18:18:53 <clokep> Eh, I can just change it to aDisableLogging.
18:19:00 <clokep> Let me open my editor. ;)
18:19:32 <flo> the aLog parameter is very ambiguous. I would expect it to be a log file/object, and it's not documented
18:19:38 <flo> just passed around in lots of methods
18:19:39 <clokep> OK.
18:20:15 <flo> wait
18:20:25 <flo> what about making the parameter be what will be logged?
18:20:45 <flo> then this.log("Sending:\n" + (aLogData || aData))
18:21:13 <flo> and |this.sendMessage("PASS", this.imAccount.password, "PASS <password not logged>");
18:21:14 <flo> |
18:21:15 <flo> ?
18:21:34 <flo> (aLogData may not be the best name)
18:22:26 <clokep> Hmmm....that could work well.
18:23:55 <flo> aLoggedData may be better
18:24:24 <clokep> Yeah, it still needs to be passed through a lot of methods unfortunately.
18:26:43 <clokep> That seems better since we know the PASS is still sent though.
18:26:50 <clokep> So I think it's worth it. :) I'll add it + some comments.
18:27:30 <flo> take the opportunity to include conversation.xml in the diff please :)
18:27:40 <clokep> I will!
18:33:46 <instantbot> clokep@gmail.com cancelled review?(florian@instantbird .org) for attachment 1196 on bug 507.
18:33:47 <instantbot> clokep@gmail.com requested review from florian@instantbird .org for attachment 1202 on bug 507.
18:33:49 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=507 enh, --, ---, clokep, ASSI, Implement IRC in JavaScript
18:35:42 <-- Tonnes has quit (Ping timeout)
18:37:48 --> Tonnes has joined #instantbird
18:40:15 <flo> and now it includes the patch from bug 1135
18:40:44 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1135 min, --, ---, clokep, ASSI, Log date is not translated
18:41:04 <clokep> Bah.
18:41:16 <clokep> I thought I only had a patch from bug 1178 in there (which I reverted).
18:41:19 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1178 maj, --, ---, nobody, NEW, Regression: renamed contacts disappear from list
18:41:37 <clokep> Sorry. :-/
18:41:44 <clokep> Would you like a new one?
18:41:48 <flo> why are there 2 spaces before "aLoggedData" on this line? "+  // Shortcut method to build & send a message at once. Use  aLoggedData to log"?
18:42:26 <clokep> Because I copied and pasted wrong. :)
18:43:01 <flo> (by the way, I think that localized date patch is wrong, but I've no idea of how one can fix that correctly, so I'll probably r+ it anyway as it's probably still an improvement in *most* cases)
18:43:27 <flo> clokep: well, I can edit it, bit maybe it would be nicer if the latest attachment reflects what we are going to land
18:43:33 <clokep> OK.
18:43:39 <clokep> I'll make that change and exclude that file.
18:43:40 <flo> *but
18:46:09 <instantbot> clokep@gmail.com cancelled review?(florian@instantbird .org) for attachment 1202 on bug 507.
18:46:10 <instantbot> clokep@gmail.com requested review from florian@instantbird .org for attachment 1203 on bug 507.
18:46:12 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=507 enh, --, ---, clokep, ASSI, Implement IRC in JavaScript
18:48:48 <flo> ok
18:49:12 <flo> the last thing I want to test before landing it is starting my default profile on the debug build that has it to check that nothing that I use everyday is obviously broken :)
18:49:47 <-- flo has quit (Quit: Instantbird 1.2a1pre)
18:50:18 --> flo has joined #instantbird
18:52:15 <flo> it doesn't seem to send the passwords
18:52:31 <clokep> I tested that, it worked OK for me.
18:53:03 <clokep> Like 3 minutes ago.
18:53:05 <clokep> I'll try again though.
18:53:59 <clokep> Hmmm...I see that its sending the password.
18:54:11 <clokep> Well it's sending A password, Idk if it's THE password. :P
18:54:43 <flo> it doesn't send a password for me
18:54:58 <clokep> Hmmm...
18:55:00 <clokep> Interesting.
18:55:43 <flo> and connecting to freenode with ssl is still problematic
18:56:03 <flo> it works fine the first time. Then if you disconnect, the attempt to reconnect won't succeed
19:00:11 <-- flo has left #instantbird ()
19:01:25 <-- aleth has quit (Quit: Instantbird 1.2a1pre)
19:01:30 --> aleth has joined #instantbird
19:01:30 * ChanServ sets mode +h aleth 
19:01:52 --> flo has joined #instantbird
19:01:52 * ChanServ sets mode +qo flo flo 
19:02:12 <flo> ok, I know what's causing the password problem
19:02:29 * clokep hopes it's not an encoding issue.
19:02:32 <flo> the username that the password manager get with JS-IRC is somehow "normalized" and only contains lowercase letters
19:02:50 <flo> libpurple IRC uses the normal username for getting the password
19:03:42 <flo> clokep: can you reproduce the SSL & freenode issue? It seems I can connect only once and for the following attempts the server closes the connection on me.
19:04:04 <flo> could it be that some SSL stuff isn't correctly reset when disconnecting a JS-IRC account?
19:05:02 <clokep> flo: Yes I can reproduce.
19:05:05 <clokep> I get "connection reset"
19:05:12 <flo> exactly!
19:05:17 <clokep> :-/
19:06:54 <flo> wow
19:07:04 <-- aleth has quit (Quit: Instantbird 1.2a1pre)
19:07:06 --> aleth has joined #instantbird
19:07:06 * ChanServ sets mode +h aleth 
19:07:07 <flo> I've just received the worst support request ever about Instantbird
19:07:36 <flo> the guy asks 2 questions numbered a/ b/ c/ d/ (WTF?)
19:08:13 <-- Tobin has quit (Quit: And the rain will kill us all / If we throw ourselves against the wall / But no one else can see / The preservation of the martyr in me)
19:08:34 <flo> b/ is a huge paragraph of text talking mostly about the health issues of the user's deceased(!) father
19:10:32 <clokep> :-/
19:11:02 <clokep> Numbering them defeats the purpose if you're going to write paragraphs.
19:11:18 <clokep> Is that SSL issue reproducible with XMPP?
19:11:23 <flo> and if you start by saying you ask 2 questions, then number a/ b/ c/ d/ ... :-D
19:11:28 <flo> clokep: no
19:11:41 <clokep> I wonder if that destroys and recreates the socket and IRC tries to reuse it...
19:12:48 <flo> are we trying to debug both of these issues asap to land soon? postponing until you have both fixed?
19:13:06 <flo> if you fix the SSL mess right now, I'm willing to fix the password during that time :-D
19:15:47 <clokep> OK, let me look at the SSL stuff.
19:17:29 --> Mnyromyr has joined #instantbird
19:18:55 <flo> is there any reason for the normalized IRC username to not be just the username without any modification?
19:19:12 <flo> I guess I need to see what libpurple does and match the existing behavior
19:20:30 <flo> ok, libpurple does the equivalent of toLowerCase
19:21:28 --> Tobin has joined #instantbird
19:21:59 <clokep> Mostly because then it wouldn't be normalized. ;)
19:26:07 <flo> I think this is all we need to do to fix the password issue: http://pastebin.instantbird.com/14011
19:28:14 <clokep> Alright.
19:29:20 <clokep> By default it's |function normalize(aString) aString.replace(/[^a-z0-9]/gi, "").toLowerCase()|
19:29:41 <flo> yes
19:30:50 <clokep> Yes, that seems fine though.
19:31:19 <flo> I wonder if there are some other normalization (used to create the log folders/file names) that we should check too
19:33:28 <flo> yes, they are broken too :(
19:35:43 <clokep> flo: I wonder if the issue with the SSL is in the code path that creates the proxy.
19:36:03 <clokep> We only seem to call _createTransport if a proxy is given.
19:36:38 <flo> it's called in onProxyAvailable
19:36:44 <clokep> Ah, I see.
19:37:41 * clokep is confused because reconnecting to moznet works but not to freenode...
19:38:37 <clokep> I'm also very confused because it seems to successfully connect and then die once I start sending data. :-/
19:38:42 <flo> but we don't even keep the socket object for a reconnection :-S
19:39:33 <clokep> Right.
19:40:48 <clokep> :-S Very confusing.
19:57:21 <-- Plop has quit (Quit: Instantbird 1.1)
20:01:42 <flo> I guess if we can't find a solution and still want to land it we can change the default to non-SSL
20:04:58 <clokep> Right. I'm concerned there's a bigger issue...but it /is/ working OK for moznet.
20:07:14 <-- Tonnes has quit (Ping timeout)
20:08:47 --> Tonnes has joined #instantbird
20:14:36 --> jb has joined #instantbird
20:22:45 <-- clokep has quit (Quit: Instantbird 1.2a1pre)
20:22:55 --> clokep has joined #instantbird
20:22:55 * ChanServ sets mode +o clokep 
20:55:47 <-- Tonnes has quit (Ping timeout)
20:56:09 <-- jb has quit (Ping timeout)
20:58:16 --> Tonnes has joined #instantbird
21:01:26 <-- Mnyromyr has quit (Quit: ChatZilla 0.9.86 [SeaMonkey 1.1.19/2010030105])
21:09:09 <flo> clokep: so, what do you want us to do?
21:46:37 <-- Tonnes has quit (Ping timeout)
21:47:36 --> Tonnes has joined #instantbird
21:56:25 <clokep> flo: Either way is OK w/ me.
22:06:37 <flo> what are the alternatives? do you have a fix?
22:06:57 <clokep> I do not have a fix or any ideas of what to change to fix it right now. :-/
22:07:35 <clokep> Setting the default to non-SSL is OK (and parity with libpurple), but people who manually enabled SSL will still have it enabled...
22:14:00 <flo> clokep: and they don't have to disconnect their accounts
22:14:16 <flo> hmm, or does it also happen if the account has been disconnected because of the offline status? :-/
22:17:04 <clokep> Yes, it happens in that case too.
22:17:19 <clokep> (Why would people using SSL have to disconnect their accounts? I'm not sure what you mean by that statement.)
22:17:43 <flo> I was asking if they are *likely* to see the bug
22:18:00 <clokep> Ohhh.
22:19:15 <clokep> So if I change the port before reconnecting it works OK.
22:20:10 <flo> if you disconnect, change the port, connect, disconnect, change the port back to what it was initially, and attempt to connect again
22:20:13 <flo> does it work?
22:20:38 <clokep> I'll try (hopefully won't get banned :P)
22:21:30 <clokep> flo: No, I get the same errors then.
22:21:35 <flo> I don't think having a broken irc client is a reason to get banned from freenode
22:21:45 <flo> at least it wasn't when I added IRC support for 0.1.1 :-D
22:21:56 <clokep> I've gotten temporary bans from both moznet and freenode. ;)
22:22:28 <flo> what did you do?
22:23:12 <clokep> It was when I was working on super initial stuff, so I'd boot Instantbird connect, try something, immediately disconnect, change something small in the code, reconnect & repeat
22:23:35 <flo> was the ban after a hundred tries? :-D
22:23:51 <flo> can you look at what happens with wireshark to compare a working and a failed attempt?
22:25:51 <clokep> Yeah, I can.
22:25:57 <clokep> I have to do a few things though. I'll look later tonight.
22:26:18 <flo> means it won't land today then
22:26:26 <clokep> That's fine.
22:26:27 <flo> I have to go in less than an hour
22:26:33 <clokep> Alright.
22:26:39 <clokep> I'd rather get this right. :)
22:27:00 <clokep> Small behavior issues people can deal w/ until we fix...but being unable to reconnect until you restart, that's a bigger annoyance.
22:27:38 <flo> I have an idea of a possible cause :)
22:28:27 <clokep> Oh?!
22:30:28 <flo> hmm
22:30:36 <flo> my test doesn't give any of the expected result
22:30:40 <flo> s
22:33:16 <flo> so now I'm even more confused :(
22:33:34 <flo> (I'm playing with NSS about:config prefs)
22:34:04 <flo> I was suspecting the default value of a specific pref to cause the problem
22:34:30 <flo> as I know the libpurple NSS code explicitly turns that off
22:34:40 <flo> but with that pref off, things don't work better
22:34:57 <flo> however, if I toggle the pref value between each connection attempt, I can connect fine all the time...
22:35:23 <clokep> We can toggle it as part of the disconnect method! :P
22:35:48 <-- Tonnes has quit (Ping timeout)
22:36:35 <-- aleth has quit (Quit: Instantbird 1.2a1pre)
22:37:14 <flo> nah, it's a boolean, let's toggle it twice before connecting in the socket code ;)
22:37:28 <clokep> Hey if it works...
22:37:33 <flo> ahah, interestingly, toggling it twice in a row doesn't let me connect
22:37:53 <flo> so it's not even the action of a pref observer that reinitializes something in NSS that saves our connection attempt
22:38:05 --> Tonnes has joined #instantbird
22:38:14 --> aleth has joined #instantbird
22:38:14 * ChanServ sets mode +h aleth 
22:38:27 <flo> by the way, if I start looking at this, maybe you can look at the log filenames?
22:38:54 <flo> (ie. why aren't chats logged as <name including the #>.chat ?)
22:39:09 <clokep> Hmmm...I see.
22:44:14 <clokep> flo: It looks like we just don't even take into account whether it's a chat or not: http://lxr.instantbird.org/instantbird/source/chat/components/src/logger.js#105
22:44:18 <flo> hmm, wireshark isn't installed on my linux box :-S
22:44:28 <clokep> Somewhere in there we should check the isChat flag and append .chat it seems.
22:44:48 <clokep> I'm surprised it works for non-JS accounts. :-X
22:45:11 * clokep is very confused at where it even distinguishes between them.
22:45:44 <clokep> Ah-ha!
22:45:47 <clokep> http://lxr.instantbird.org/instantbird/source/purple/purplexpcom/src/purpleConvChat.cpp#96 appends .chat.
22:45:56 <clokep> So we need to handle that for jsProtos somehow. :-/
22:46:22 <clokep> I need to get going though, meeting a friend for dinner. I'll think about how to handle that and give you a patch for tomorrow.
22:47:38 <flo> maybe we should just remove http://lxr.instantbird.org/instantbird/source/purple/purplexpcom/src/purpleConvChat.cpp#96 and test .isChat in logger.js?
22:48:08 <flo> there's the .chat problem, but also the normalization problem
22:49:19 <clokep> Oh, OK.
22:49:30 <clokep> Yeah we should be able to check that I think.
22:49:32 <clokep> I'll look at it. :)
22:50:00 <flo> if you produce a new patch, feel free to include my previous normalization fix
22:50:37 <clokep> OK!
22:51:04 <-- skeledrew has quit (Ping timeout)
22:55:42 <flo> my freenode SSL-enabled account has just reconnected here
22:56:07 <flo> after failing for more than 15 minutes
22:59:17 <aleth> :(
23:00:03 <aleth> It's frustrating when new and mysterious bugs show up just when you think things are ready...
23:02:34 <flo> wireshark doesn't tell me anything interesting; which shouldn't be a real surprise for something supposed to be SSL
23:03:00 <flo> aleth: well, I've said for a few days that I didn't trust the SSL default setting ;)
23:03:28 <aleth> Yes, maybe the different SSL issues are related
23:05:38 <aleth> Hmm, I just thought I'd test some freenode parameters (libpurple). I never have connection problems. But just now I disconnected manually from port 7000 then reconnected on port 6697. It didn't connect. Then changed the port back, and got SSL handshake errors. But after a while, it connected.
23:06:03 <aleth> So maybe something is a bit fragile there for libpurple too
23:11:41 <flo> so it would be crap on the freenode servers?
23:13:08 <aleth> Well, I don't know. Maybe it's just a bug, or some timeout on freenode one can run into on reconnect. As I said I never have had issues with SSL and freenode. 
23:17:29 <-- clokep has quit (Ping timeout)
23:18:43 <aleth> OK. I've tried a couple of times with varying delays and I never have problems on 7000, only on 6697.
23:21:28 <aleth> Which is odd.
23:21:58 <-- aleth has quit (Quit: Instantbird 1.2a1pre)
23:22:08 --> aleth has joined #instantbird
23:22:09 * ChanServ sets mode +h aleth 
23:32:25 <-- mmkmou has quit (Ping timeout)
23:33:26 --> mmkmou has joined #instantbird
23:35:56 <-- mmkmou has quit (Ping timeout)
23:36:14 --> mmkmou has joined #instantbird
23:40:57 <flo> Good night
23:40:58 <-- flo has quit (Quit: Instantbird 1.2a1pre)
23:41:26 <-- mmkmou has quit (Ping timeout)
23:42:17 <-- Tonnes has quit (Ping timeout)
23:44:19 --> Tonnes has joined #instantbird
23:45:08 --> mmkmou has joined #instantbird
23:54:44 <-- mmkmou has quit (Ping timeout)