#instantbird log on 11 24 2011

All times are UTC.

00:06:29 <-- GeekShadow has quit (Ping timeout)
00:15:47 --> GeekShadow has joined #instantbird
00:28:57 <-- aleth has quit (Quit: Instantbird 1.2a1pre)
01:11:28 <-- Mook_as has quit (Quit: gone)
02:05:48 --> BlueMaxima has joined #instantbird
03:52:16 <-- Tomek has quit (Quit: Instantbird 1.1)
04:02:03 --> hunsly has joined #instantbird
04:12:08 <-- gmoro_ has quit (Ping timeout)
04:14:50 --> gmoro_ has joined #instantbird
04:23:08 <-- hunsly has quit (Ping timeout)
04:30:06 <-- gmoro_ has quit (Ping timeout)
04:30:15 <-- Novarg has quit (Ping timeout)
04:30:22 --> Novarg has joined #instantbird
04:30:44 --> gmoro_ has joined #instantbird
04:30:58 <-- Gizmokid2005 has quit (Ping timeout)
04:31:23 --> Gizmokid2005 has joined #instantbird
04:37:29 <-- EionRobb has quit (Quit: Leaving.)
06:00:06 --> jb has joined #instantbird
06:02:03 --> skeledrew has joined #instantbird
07:02:49 <-- jb has quit (Ping timeout)
07:08:32 --> hunsly has joined #instantbird
07:12:58 <-- hunsly has quit (Ping timeout)
07:13:12 --> hunsly has joined #instantbird
07:16:04 <-- hunsly has quit (Ping timeout)
07:34:19 --> aleth has joined #instantbird
07:35:12 <-- aleth has quit (Quit: Instantbird 1.2a1pre)
07:35:21 --> aleth has joined #instantbird
07:39:34 --> Guido has joined #instantbird
07:46:41 <-- aleth has quit (Quit: Instantbird 1.2a1pre)
07:48:34 <-- Guido has quit (Client exited)
07:48:52 --> Guido has joined #instantbird
07:53:00 <-- micahg_ has quit (Ping timeout)
08:06:49 --> micahg_ has joined #instantbird
08:10:22 <-- Even has quit (Quit: Instantbird 1.2a1pre)
08:23:50 <-- gerard-majax has quit (Ping timeout)
08:56:35 --> gerard-majax has joined #instantbird
09:09:11 --> jb has joined #instantbird
09:14:15 --> mmkmou has joined #instantbird
09:17:52 --> MadWookiee has joined #instantbird
09:42:18 --> aleth has joined #instantbird
09:51:43 --> flo has joined #instantbird
09:51:43 * ChanServ sets mode +qo flo flo 
09:55:32 <flo> hello :)
10:00:48 --> Mic has joined #instantbird
10:00:49 * ChanServ sets mode +h Mic 
10:01:03 <Mic> Hi
10:02:51 <Mic> flo: the standby bug with accounts not reconnecting is really bothering me. What would be a way to start investigating?
10:03:13 <flo> it still happens after bug 759?
10:03:16 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=759 min, --, ---, florian, ASSI, Reorganize purplexpcom
10:03:21 <flo> (or is it a regression from it?)
10:04:16 <Mic> I think I saw it since then but now that you ask I'm not absolutely sure anymore.
10:04:45 * flo thought you were saying that because you saw it today
10:05:16 <Mic> No, I said it because I'm going to be away from the computer for a while now and was already thinking: when I come back I'll see this problem again :D
10:06:17 <aleth> I think it's a regression. At least it never happened to me before 759.
10:06:32 <Mic> aleth: you saw that on Linux?
10:06:37 <aleth> BUT it hasn't happened to me in the last week either, so maybe it's a different bug.
10:06:55 <Mic> I thought it only occured on Windows and Mac..
10:07:04 <Mic> well, I'm away now. Let's see later.
10:07:09 <aleth> It's hard to test.
10:07:18 <Mic> aleth: that's the problem ;)
10:07:51 <aleth> Oh, when you say "standby" do you mean putting the computer into hibernation? That's not what I meant.
10:08:14 <aleth> I thought you meant reconnection after the connection is lost for some reason
10:08:30 <flo> aleth: uh, is that not working??
10:09:52 <aleth> Like I said, it hasn't been a problem in the past week, so maybe you fixed it already :)
10:10:01 <aleth> There was definitely a problem after 759 landed
10:10:56 <flo> that's old history ;)
10:11:01 <aleth> good :)
11:09:52 --> hunsly has joined #instantbird
11:22:48 <-- Guido has quit (Quit: Instantbird 1.1)
11:33:22 <-- hunsly has quit (Connection reset by peer)
11:48:25 <-- gmoro_ has quit (Ping timeout)
11:57:49 <flo> I wonder what the user is supposed to do when presented with this cert dialog: http://queze.net/goinfre/ssl-cert-dialog.png
11:59:57 --> ironhead has joined #instantbird
12:01:44 --> Yoric has joined #instantbird
12:01:49 <Yoric> H
12:01:50 <Yoric> Hi
12:01:55 <Yoric> I can't start today's nightly :/
12:02:05 <flo> Yoric: what's the error message?
12:02:08 <Mic> Hi
12:02:10 <Yoric> Strictly nothing.
12:02:16 <-- MadWookiee has quit (Ping timeout)
12:02:22 <flo> which OS?
12:02:29 <Yoric> I click, the icon bounces a few times and that's it.
12:02:32 <Yoric> Mac
12:02:38 <flo> Is this after an update, or a fresh download?
12:02:42 <Yoric> After an update.
12:02:46 <-- Mic has quit (Quit: Instantbird 1.2a1pre)
12:02:47 * Yoric will try from a fresh download.
12:02:55 <flo> http://ftp.instantbird.com/instantbird/nightly/latest-trunk/
12:03:10 <Yoric> Network is slow in the Paris office, see you in a few minutes...
12:03:19 <flo> I've got to go (sorry). I'll be back in about an hour, but I hope someone will help you find a solution before that :)
12:03:24 * Yoric might take the opportunity to get some lunch anyway.
12:03:34 <flo> yeah, I'm taking lunch too ;)
12:03:34 <Yoric> Nothing critical, don't worry.
12:03:42 <Yoric> Enjoy your meal :)
12:03:56 <Yoric> Bon appétit, perhaps even :)
12:04:19 --> Mic has joined #instantbird
12:04:19 * ChanServ sets mode +h Mic 
12:05:43 <Mic> I needed to update anyways so this was a good opportunity to check.
12:05:50 <Mic> The new Windows nightly works fine.
12:07:08 <Yoric> Fresh download seems to work.
12:08:42 <Yoric> However, I can't remove the files of the previous download.
12:08:52 <Yoric> (no matter what I `kill -9`)
12:14:03 --> clokep has joined #instantbird
12:14:03 * ChanServ sets mode +h clokep 
12:42:23 <-- Mic has quit (Quit: Instantbird 1.2a1pre)
12:49:01 <-- Yoric has quit (Input/output error)
12:52:30 <-- clokep has quit (Ping timeout)
12:57:21 --> MadWookiee has joined #instantbird
13:47:40 --> gmoro_ has joined #instantbird
13:48:20 --> Plop has joined #instantbird
13:49:46 --> sonny has joined #instantbird
13:52:51 <-- sonny has left #instantbird ()
14:01:12 <-- ironhead has quit (Quit: leaving)
14:07:00 <-- BlueMaxima has quit (Quit: Instantbird 1.1)
15:10:32 <-- SM0TVI has quit (Ping timeout)
15:11:41 --> clokep has joined #instantbird
15:11:41 * ChanServ sets mode +h clokep 
15:12:10 --> SM0TVI has joined #instantbird
15:13:12 <-- jb has quit (Ping timeout)
15:13:13 --> jb has joined #instantbird
15:24:17 <instantbot> florian@instantbird.org requested review from clokep@gmail.com for attachment 1019 on bug 761.
15:24:19 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=761 nor, --, ---, clokep, ASSI, JS-Socket fails to properly handle SSL errors
15:24:53 <flo> clokep: I tried to make the changes to socket.jsm as small as possible, so I haven't added the onCertificationError method.
15:25:31 <clokep> flo: I'll read it in a second. I need to figure out if the 5k I just ran was more like a 6k. :P
15:25:33 <flo> I'm not really sure of the point of the onConnectionReset, onConnectionTimedOut and onConnectionClosed methods
15:26:22 <flo> but I think changing/simplifying the API isn't the point of that bug
15:28:09 <flo> and as 3 things (the null delimiter, the broken readWriteTimeout (even though I gave up on using it), and the missing getInterface method) in that patch are real bugs that prevent the code from working with JS-XMPP, I would rather get at least that landed relatively soon.
15:33:36 <clokep> flo: That's understandable.
15:33:46 <clokep> The broken readWriteTimeout? I'll need to view the patch.
15:34:36 <flo> it's a trivial copy/paste error
15:34:49 <flo> I gave up using it before noticing what was wrong with it :-D
15:36:54 <flo> I'm not sure of how XMPP accounts are supposed to timeout
15:37:15 <flo> I guess I'll have to read the specification for the ping XEP someday
15:37:23 <clokep> Ah, yes. the readWriteTimeout difference. :) Bah I have that fixed locally. :-/ Oops.
15:41:07 <clokep> I'm trying it in JS-IRC right now.
15:41:10 --> em3 has joined #instantbird
15:42:54 <em3> Hi, how can I change dictionary language to english, when my locale is different?
15:42:54 <em3> I tried the about:config and changing "spellchecker.dictionary" to "en-US", but the setting reverts to "pl" upon restart... and doesn not affect actual spellchecking.
15:44:36 <flo> em3: Hello :). Is the en-US dictionary actually installed?
15:45:03 <em3> well... I don't think so, but it isn't available on the instantbird site either
15:45:20 <em3> https://addons.instantbird.org/en-US/instantbird/browse/type:3
15:45:47 <em3> so I thought it was... installed by default and hidden
15:45:49 <em3> or something
15:46:56 <flo> em3: https://addons.instantbird.org/en-US/instantbird/addon/283
15:47:44 <em3> Oh, it's experimental, that's why it doesn't show up in listing, right?
15:48:18 <flo> I assume that's the reason, but I don't really know.
15:49:21 <em3> Instantbird says it's not compatible.
15:49:46 * flo has removed the completely outdated French language pack from the listing
15:51:19 <flo> em3: if you know how to do it, you can edit the maxVersion in the install.rdf file.
15:51:22 <em3> flo: this dictionary is for instantbird up to 1.0.* ... so, I have to edit .xpi?
15:51:33 <em3> I think I heard about it..
15:51:42 <em3> 7zip opens the .xpi?
15:51:45 <flo> yes
15:51:47 <clokep> em3: Yes.
15:51:49 <flo> it's just a renamed zip file
15:51:53 <instantbot> clokep@gmail.com granted review for attachment 1019 on bug 761.
15:51:56 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=761 nor, --, ---, clokep, ASSI, JS-Socket fails to properly handle SSL errors
15:52:18 <flo> clokep: I'm wondering which encryption preferences we want to expose for XMPP connections.
15:52:58 <-- em3 has quit (Quit: Instantbird 1.1)
15:53:15 <clokep> flo: Sometimes I think we need to separate the "Advanced" options into an "Advanced options" and "Super advanced options, if you touch these we won't help you" tab. ;)
15:53:17 --> em3 has joined #instantbird
15:53:21 <clokep> I'm checking whta the current ones rae, one second.
15:54:13 <clokep> libpurple is require SSL, use it available or don't use?
15:54:35 <flo> not really
15:54:41 <em3> flo: OK, I have the English dictionary working now, thanks.
15:56:33 <flo> libpurple currently offers:
15:56:33 <flo> 1. "require TLS | TLS if the server supports it | SSL"
15:56:34 <flo> 2. Allow sending the password in plain text [<-- this option is pointless if the user hasn't selected "TLS if the server supports it"]
15:56:34 <flo> 3. connect port [crappy option, because it needs a different default value if the user selects "SSL" instead of TLS...]
15:56:39 <flo> em3: cool! :)
15:58:00 <flo> clokep: so the current libpurple options are a bit messy. Varuna's options are worse (it's super easy to get the account in a state that will never be able connect to). And I'm out of good ideas to simplify this :(.
15:59:13 <clokep> By the way (kind of unrelated...) the advanced options looks pretty messy on many protocols. :-/ Scrollbars proliferate.
16:00:28 <clokep> flo: I don't know if it's possible to do with our current options set up...but we could have the port change automatically when you change from SSL to TLS?
16:00:42 <clokep> And enable disable the "send password in plaintext"
16:01:30 <flo> clokep: that would just be UI improvements above the current libpurple option set
16:01:44 <clokep> Right.
16:01:53 <clokep> What are varuna's options currently? How wide of a range of options are there?
16:02:58 <flo> varuna's options are just: 1. Server (libpurple has that too by the way, but that option makes sense so I haven't listed it) 2. Port 3. Use SSL (checkbox). 4. Use StartTLS (checkbox
16:02:59 <flo> )
16:03:44 <flo> checking both these checkboxes at once crashes NSS :). (and the crash detection code of the add-on manager works awesomely well, even for JS protocols! :))
16:03:55 <flo> s/add-on/account/
16:04:59 <clokep> Yes, that should definitely be a drop down.
16:05:03 <clokep> I'm not sure how we can make that better.
16:05:09 <clokep> Setting up account is kind of complicated. :(
16:07:26 <-- jb has quit (Ping timeout)
16:08:57 <flo> clokep: https://etherpad.mozilla.org/FwxWFcOirh this summarizes the technical situation / which decisions we have to make.
16:10:14 <flo> I could complicate it a bit more by adding information about which SSL cert Gtalk servers are going to send us depending of which decisions we made previously and whether we have a gmail or gtalk for google apps account, but let's start simple :)
16:10:37 <clokep> Yes.
16:13:11 <flo> so possible simplifications: - deciding that the SSL connection mode is deprecated and we don't care about it. (if we do that, it's no longer possible for the user to hide that the connection is indeed an XMPP connection. With SSL and port 443 (which GTalk supports), it's possible to go through HTTPS proxies)
16:13:24 <flo> - deciding we never want to send plain text passwords
16:14:48 <clokep> Yes.
16:15:05 <clokep> I was thinking maybe hiding the use SSL option, I didn't realize it had uses.
16:15:34 <clokep> I don't want to limit them in such a way that people can't connect though. :-/
16:15:46 <flo> what about automatically doing an SSL connection if the user has entered 443 as the port?
16:15:49 <clokep> Would hidden options be an option btw?
16:16:07 <clokep> I guess it's not really a good UX though.
16:16:23 <flo> protocol overrides may be an option ;)
16:16:35 <clokep> flo: I like that, but only if "Require TLS" is not set, perhaps?
16:16:51 <flo> we don't want to show "TLS" in the UI
16:16:57 <flo> Libpurple write "Require encryption"
16:17:03 <flo> SSL is indeed encrypted
16:17:56 <clokep> True.
16:18:38 <clokep> Let me know if I say crazy things btw.
16:18:58 <flo> aren't we all crazy anyway? ;)
16:19:23 <clokep> Can we just have a tickbox "Require encryption", use TLS if available, use SSL otherwise.
16:19:35 <clokep> Then use SSL if it's port 443 (and or we're getting HTTPS headers?)
16:19:46 <flo> so then it can be simplified to an option about how the user wants the connection to be, and the port/hostname options
16:20:03 <flo> HTTPS headers? What's that?
16:20:43 <clokep> I have no idea. :) I don't understand much about encryption.
16:21:28 <clokep> Yes, host/port/require encryption (which people should only ever uncheck if stuff isn't working).
16:21:31 <flo> Connection security: [require encryption|use encryption if available|allow sending my password unencrypted]
16:21:59 <clokep> And third option implies using no encryption?
16:22:14 <flo> no
16:22:26 <flo> do you think we need an option to explicitly disable encryption?
16:22:53 <flo> I don't see what that could be used for (except for debugging purpose maybe, but we should definitely provide an XMPP console that does a better job than wireshark ;))
16:22:56 <-- Suiseiseki has quit (Ping timeout)
16:23:32 <flo> clokep: the third option implies that if the server doesn't support TLS *and* the only possible way to authenticate is sending the password in plain text, we won't abort.
16:23:58 <flo> = the user doesn't care about security/privacy
16:23:58 <clokep> flo: Is it a possible that a broken server says it supports TLS and/or SSL but actually /doesn't/ so you have to connect without encryption?
16:24:20 <flo> anything is possible.
16:25:01 <clokep> That's the only use case I have for being able to explicitly disable it though.
16:25:49 <flo> libpurple doesn't seem to offer a way to explicitly disable encryption
16:26:09 <flo> and btw, facebook servers usually offer encryption these days ;)
16:26:14 <clokep> OK, then forget all that! :)
16:26:39 <clokep> Do we use encryption for Facebook?
16:26:51 <flo> yes, only if offered to
16:27:00 <flo> = if MITM'ed, we will still be happy
16:27:41 <clokep> Oh.
16:30:53 <flo> so this sounds like a great plan. Except it's not going to be able to connect to gtalk with the default settings ;)
16:31:09 <clokep> :(
16:31:12 <clokep> Why not?
16:31:18 <clokep> (But we can force the GTalk override to work. ;))
16:31:19 <flo> because with these settings I'll receive a cert for gmail.com, and I expect chat.google.com
16:31:46 <clokep> Right. :-/
16:32:04 <flo> I don't have working DNS SRV requests yet
16:32:41 <flo> do you know where I can tell the socket code to use a different hostname for checking the cert that it used for finding the IP to connect to?
16:33:34 <clokep> One second.
16:33:42 <flo> apparently the official SSL XMPP port is 5223
16:33:47 <flo> (443 is HTTPS)
16:34:25 <clokep> flo: I think that's what notifyCertProblem and notifySSLError were for in my patch. (I.e. the this.onCertificatationError)
16:35:04 <clokep> So it's implementing nsIBadCertListener2 and nsISSLErrorListener.
16:35:18 <clokep> I /think/.
16:36:14 <flo> clokep: the comment in .idl is very explicitly saying that these functions can only prevent the modal dialog from popping up, but that the connection will abort anyway.
16:36:28 <clokep> Ah, I see.
16:36:31 <flo> *comments in .idl files are
16:36:43 <clokep> I wonder if it says that on the MDN page or not. :(
16:36:52 <flo> who reads MDN pages? ;)
16:37:03 <clokep> I do. :P
16:37:16 <clokep> In that case, I have no idea how to accept that. :-/
16:37:35 <flo> http://mxr.mozilla.org/mozilla-central/source/security/manager/ssl/public/nsIBadCertListener2.idl#59 "The consumer shall return true if it wants to suppress the error message related to the bad cert (the connection will still get canceled)."
16:38:02 <flo> telling NSS about the actually expected hostname would be better than overriding the failure
16:39:33 <clokep> Yes, I see. :-/ I'm not sure if there's a way to do that.
16:39:43 <clokep> I'm sure there's a way to, but I don't know it. :-D
16:41:05 --> Guido has joined #instantbird
16:41:24 <clokep> Is this our comment http://lxr.instantbird.org/instantbird/source/config/autoconf.mk.in#288 or did we import that from comm-central? :P
16:41:54 <flo> I'm not ramiro
16:42:35 <clokep> Yes, wasn't sure if others have touched that file for Instantbird or not.
16:42:53 <flo> it seems very old (it was already there in the very first version of comm-central)
16:47:53 --> igorko has joined #instantbird
16:48:42 <clokep> Well there's lot of interesting stuff in http://mxr.mozilla.org/mozilla-central/source/security/manager/ssl/public/
16:53:06 <flo> if http://mxr.mozilla.org/mozilla-central/source/netwerk/base/public/nsISocketTransport.idl#60 wasn't read only, I would try to set it in our startTLS method and see what happens
16:53:44 <clokep> Yes.
16:53:48 <clokep> Would kaie know this, do you think?
16:53:59 <clokep> (He's an security guru, right?)
16:54:51 <flo> I hope so!
16:57:35 <flo> http://mxr.mozilla.org/mozilla-central/source/security/manager/ssl/public/nsICertOverrideService.idl#72 we need to already have the cert to set an override :-/
17:01:40 <clokep> Does that mean you need to try to connect, fail, store the cert, try again?
17:01:55 <clokep> (Or provide it with Instantbird?)
17:02:37 <flo> we can get it from http://mxr.mozilla.org/mozilla-central/source/security/manager/ssl/public/nsIRecentBadCertsService.idl#59
17:02:47 <flo> clokep: something like that yes
17:02:56 <clokep> That's gross. :(
17:03:04 <flo> try to connect, fail, get the cert, [ask the user to] set an exception, try again
17:03:45 <flo> it seems the XPCOM interfaces around certificates are as crappy and hard to understand as the user facing interface in Firefox
17:03:49 <-- Plop has quit (Ping timeout)
17:05:26 --> Plop has joined #instantbird
17:06:54 <clokep> Not very desirable in my opinion, but I can't think of a better way.
17:15:05 <-- em3 has quit (Quit: Leaving.)
17:29:35 <-- igorko has quit (Quit: Instantbird 1.1)
17:29:36 <-- MadWookiee has quit (Quit: Instantbird 1.1)
17:32:13 <-- gerard-majax has quit (Ping timeout)
17:34:20 <-- Guido has quit (Quit: Instantbird 1.1)
17:34:25 --> Guido has joined #instantbird
17:43:53 --> Suiseiseki has joined #instantbird
17:57:39 <flo> I wonder why I have this error: [Exception... "'[JavaScript Error: "this._proxyCancel is null" {file: "resource:///modules/socket.jsm" line: 207}]' when calling method: [nsIStreamListener::onStopRequest]"  nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "<unknown>"  data: yes] :-S
17:59:05 <-- clokep has quit (Quit: Instantbird 1.2a1pre)
17:59:08 --> clokep has joined #instantbird
17:59:08 * ChanServ sets mode +h clokep 
17:59:29 <flo> if in a gtalk override I set the connect server to talk.google.com and set the port to 443 so that it uses SSL, I don't have any cert issue :)
17:59:49 <clokep> :) So using SSL instead of TLS?
17:59:54 <clokep> Is that (much) less secure?
18:00:02 <flo> not at all
18:00:09 <flo> it may be a bit deprecated though
18:00:32 <-- Tobin has quit (Quit: Everything you do is to hurt me, leave me alone.)
18:00:46 --> Tobin has joined #instantbird
18:09:48 <-- mmkmou has left #instantbird ()
18:16:21 --> gerard-majax has joined #instantbird
18:33:08 <-- clokep has quit (Quit: Instantbird 1.2a1pre)
18:42:59 <aleth> Wow, you're fixing the SSL/cert mess :) 
18:44:46 <flo> no
18:44:52 <flo> well, the configuration options
18:45:01 <flo> but not the current bug (it's a totally different code path)
18:45:27 <aleth> I have a suggestion regarding the options UI (which may make no sense of course). Could IB default to the most secure possible option and only expose the setting in the account prefs *after* those have failed and the user has confirmed he wants to go "lower"
18:45:52 <aleth> I.e. expose only when already on a lower-security setting (so you can "upgrade" again)
18:46:51 <aleth> This is vague as I was thinking from the user perspective of avoiding clutter, don't know if it can be made to make technical sense
18:49:03 <aleth> I'm not even sure it would be "better" than simply having an "advanced" tab option, just wanted to throw it out there as a possibility
18:50:09 <flo> I think I would prefer the other way
18:50:23 <flo> start will a "use encryption if available default"
18:50:41 <flo> and if the account ever successfully connect with encryption, then require it all the time until the user touches the configuration
18:52:07 <-- GeekShadow has quit (Ping timeout)
18:52:11 <aleth> Yes, that would end up in the same place from the user pov.
18:53:26 <flo> it may be a little bit too "magical" though
18:54:06 <aleth> I think "I can assume the defaults are safe and will be warned if they fail" (loosely speaking) isn't a bad thing
18:54:57 --> GeekShadow has joined #instantbird
18:55:09 <flo> For GTalk account (where we know encryption is supported), we will always require encryption
18:55:32 <aleth> Most jabber servers should support it I believe
18:55:54 <aleth> So one could do the same for XMPP
18:56:40 <flo> I've no idea of what "most XMPP servers" support
18:56:59 <flo> but I hope we will have protocol overrides in place for most popular servers
18:57:25 <flo> and I expect people who have setup their own server to know how to configure the client.
18:59:06 <-- flo has quit (Quit: Instantbird 1.2a1pre)
19:00:08 <aleth> Yeah. I think I initially understood "require encryption" differently from how you meant it 
19:10:34 --> clokep has joined #instantbird
19:10:34 * ChanServ sets mode +h clokep 
19:12:31 <clokep> aleth: How did you understand it then?
19:12:42 <clokep> Maybe there's a better way to phrase it.
19:13:38 <aleth> I thought you meant "have 'require encryption' the default setting" (which also makes sense for XMPP) rather than "don't allow encryption to be turned off for gtalk accounts at all"
19:15:33 <clokep> Ah, OK. :)
19:16:04 <aleth> with s/you/flo of course ;)
19:16:35 <aleth> I like the idea of protocol overrides for popular servers that hide options. Best of both worlds.
19:16:35 <clokep> I took "you" as the general "yous" :P
19:17:00 <clokep> I don't think context messages are working for me anymore.
19:17:20 <clokep> Ah, no they are.
19:17:29 <clokep> Oh hahaha.
19:17:38 <clokep> I get lines when I switch tabs and I couldn't figure out why...
19:17:45 <aleth> Lines?
19:17:45 <clokep> But it's one of my extensions that got reenabled. :)
19:18:00 <aleth> Ah.
19:18:06 <clokep> Sure like the one I see right here (screenshot forth coming ^ )
19:18:41 <clokep> aleth: http://imgur.com/V4viD
19:19:19 <aleth> Is that going to be a divider between what's already been read and what hasn't?
19:19:48 <clokep> In a way, it puts a horizontal rule when you switch tabs, so you know what you last read.
19:20:04 <aleth> Excellent idea.
19:20:29 <aleth> Which reminds me I wanted to look into the possibility of scrolling to the first unread message by default.
19:21:17 <aleth> Currently you get "restore conv from hold -> scroll up past hundreds of messages until you hit the first context message"
19:21:34 <aleth> Not sure how hard it would be to do.
19:23:26 <clokep> aleth: https://addons.instantbird.org/en-US/instantbird/addon/247/ If you're interested.
19:23:34 <clokep> I think it's buggy though.
19:26:01 <clokep> That could probably be made restartless.
19:26:06 <aleth> Cheers, might be related.
19:34:28 <-- aleth has quit (Quit: Instantbird 1.2a1pre)
20:00:32 --> EionRobb has joined #instantbird
20:09:03 --> Mnyromyr has joined #instantbird
20:18:11 <Mnyromyr> if I click on "Addons"  on instantbird.com's main page, I get a "Redirect Loop" error page and this URL: https://addons.instantbird.org/en-US/seamonkey/seamonkey/seamonkey/seamonkey/seamonkey/seamonkey/seamonkey/seamonkey/seamonkey/seamonkey/seamonkey/seamonkey/seamonkey/seamonkey/seamonkey/seamonkey/seamonkey/seamonkey/seamonkey/ o_O
20:18:35 <Mnyromyr> seems like some automatism wants to be super clever ;-)
20:18:41 --> Tomek has joined #instantbird
20:19:12 <clokep> Mnyromyr: WFM.
20:19:34 <Mnyromyr> clokep: using SeaMonkey?
20:19:43 <clokep> No. Using Firefox.
20:19:56 <Mnyromyr> clokep: I suspect some autodetection on the server side
20:20:28 <clokep> Maybe. Even1 or flo would know. :(
20:20:59 <Mnyromyr> if I set my UA to Lynx, it works ^_^
20:21:06 <clokep> Hah.
20:22:03 <Mnyromyr> guessing wildly, the addon code is from AMO, has SM code in it and nobody removed when setting up ib's addon server ;-)
20:26:04 <clokep> Mnyromyr: That's probably what it is. :) Could you file a bug maybe?
20:28:14 <Mnyromyr> maybe. although I have no idea where ^_^
20:28:21 --> Mic has joined #instantbird
20:28:21 * ChanServ sets mode +h Mic 
20:28:24 <Mnyromyr> (I'll find out)
20:28:30 <Mic> Hi ..
20:29:39 <clokep> Mnyromyr: https://bugzilla.instantbird.org
20:29:41 <clokep> Hello Mic.
20:29:58 <Mnyromyr> ah, thx
20:30:30 <clokep> It doesn't fit in the topic. :(
20:32:04 <-- chrisccoulson has quit (Ping timeout)
20:32:04 --> aleth has joined #instantbird
20:41:25 --> chrisccoulson has joined #instantbird
20:43:58 <instantbot> New Websites - addons.instantbird.org (Remora) bug 1186 filed by mnyromyr@tprac.de.
20:44:01 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1186 maj, --, ---, raynaudquentin, UNCO, "Redirect Loop" error for addons.instantbird.org
20:45:27 --> flo has joined #instantbird
20:45:27 * ChanServ sets mode +qo flo flo 
21:12:18 <-- clokep has quit (Ping timeout)
21:32:52 --> clokep has joined #instantbird
21:32:52 * ChanServ sets mode +h clokep 
21:42:06 --> devfil has joined #instantbird
21:46:24 <-- Mic has quit (Quit: Instantbird 1.2a1pre)
22:22:57 <-- Guido has quit (Ping timeout)
22:23:00 --> Guido has joined #instantbird
22:24:47 --> hunsly has joined #instantbird
22:36:05 <-- Guido has quit (Quit: Instantbird 1.1)
22:42:33 <flo> "I've done most of a build with 1.6 and it seems OK so far." :-D
22:42:59 <flo> until you have produced a working installer, I don't think you can really know if that Mozilla build is ok ;)
22:53:07 <-- hunsly has quit (Quit: Instantbird 1.1)
22:54:34 --> hunsly has joined #instantbird
22:56:46 <clokep> Is an installer |make package| or does that just make the zip?
22:57:55 <clokep> Ah, apparently there's a |make installer| too. ;)
22:58:53 <aleth> Anyone seen this before? |Warning: XML parser error for xmlnode 0xaa620808: Domain 3, code 100, level 1: xmlns: URI vcard-temp is not absolute. Source File: http://hg.instantbird.org/instantbird/raw-file/f7e273f69c46/purple/libpurple/xmlnode.c Line: 664 Source Code: xmlnode: xmlnode_parser_structural_error_libxml|
22:59:13 <clokep> aleth: I think I have too.
22:59:31 <clokep> Does it concern you for some reason?
22:59:32 <aleth> somewhere deep in libpurple I guess
22:59:46 <aleth> No, it's just new (for me), so I thought I'd mention it
23:00:24 <clokep> flo: I have an installer made, Idk if it's working or not. :-D
23:00:47 <clokep> (And my build runs. Although IRC isn't in it. :( When I removed the prpl-irc registration from the old prpl.manifest, it's no longer registered...)
23:01:15 <-- hunsly has quit (Ping timeout)
23:01:44 <flo> have you added an irc.manifest or your own?
23:01:51 <clokep> Yes. :P
23:02:23 <flo> so why is it broken? :-P
23:02:25 <Tomek> Is there any way to easily turn off sound? (temporarily, not in the preferences - something like button in contacts list, key combination shortcut...)
23:02:25 <Tomek> I tried and didn't find any related bug
23:02:31 <clokep> flo: http://pastebin.instantbird.com/1108
23:02:55 <clokep> Tomek: What reason do you have for doing that?
23:03:03 <clokep> (There isn't a way to, an extension could easily do it though.)
23:03:03 <flo> Tomek: any reason you want to do that? You may be interested in the Do Not Disturb add-on
23:04:16 <flo> clokep: is that manifest present in the component/ folder of your build?
23:04:27 <Tomek> flo: for example i want to play some music and don't want it to be spoiled by incoming messages... I used to do that a lot in my old IM
23:04:30 <clokep> flo: Yes, they're identical.
23:05:27 <flo> can you create an instance of your protocol from the error console?
23:05:28 <clokep> They seem the same.
23:05:47 <clokep> How would I do that?
23:06:01 <clokep> Components.classes["@instantbird.org/purple/irc;1"] returns a value.
23:06:58 <-- aleth has quit (Quit: Instantbird 1.2a1pre)
23:07:03 --> aleth has joined #instantbird
23:07:20 <-- Mnyromyr has quit (Quit: ChatZilla 0.9.86 [SeaMonkey 1.1.19/2010030105])
23:07:22 <Tomek> flo: DND addon is nice, but I want to be avilable, actually I chat with music playing quite often
23:08:13 <clokep> Tomek: You could make an add-on to toggle it easily (or probably somehow automatically shut it off if other sound is playing).
23:08:13 <Tomek> My opinion it that it should be one of the basic features in any IM ;)
23:08:32 <clokep> Can you describe "it" better?
23:08:32 <flo> clokep: Components.classes["@instantbird.org/purple/irc;1"].createInstance(Components.interfaces.<whatever prpl implement these days :-P>);
23:08:54 <Tomek> at the moment I disable IB in sound mixer, but it isn't handy
23:09:16 <flo> sounds easier to do it from the pref window
23:09:36 <clokep> The mixer is like two clicks in Windows 7.
23:09:49 <Tomek> not on 7 :-D
23:10:33 <flo> clokep: right. Disabling from the pref is 1 keyboard shortcut (faster than a click) + 1 click on the checkbox (very large target) + 1 key press to get rid of the pref window
23:10:45 <Tomek> gotta click, than again, side scroll to find IB... my opinion was already said, now it's up to you if you agree or not
23:11:13 <clokep> Tomek: I'm not sure what you're looking for? Like something in the Tools menu that disables sounds directly? That very much sounds like extension fodder to me.
23:11:23 <clokep> (It'd be cooler if it auto-disabled sounds if other sounds were playing. :))
23:11:33 <Tomek> for exapmle, hat would be good enough for me
23:12:04 <clokep> flo: http://pastebin.instantbird.com/1109 this means I just have an error in the protocl then? :(
23:12:12 <Tomek> would be cooler, but I dont thik it would be good for default, addon would be very cool  :)
23:12:14 <clokep> (I did |Components.classes["@instantbird.org/purple/irc;1"].createInstance(Components.interfaces.prplIProtocol);| btw)
23:12:33 <flo> clokep: time to play with xpcshell ;)
23:12:57 <clokep> flo: Paste the same code? :)
23:12:58 <flo> Tomek: if you want to create an add-on but don't have the skills to do so yet, we can help you ;)
23:13:18 <clokep> Ah, real errors!
23:13:30 <flo> clokep: what do you mean? I don't have JS-IRC installed
23:13:45 <flo> you have xpcshell available? :)
23:14:01 <clokep> flo: "Do I paste the same code?" is the proper thing.
23:14:05 <clokep> And yes, I do. :) Gets built automatically AFAIK.
23:14:06 <Tomek> well, I dont have the skills yet, but I won't have much time till february
23:14:39 <flo> Tomek: from my point of view, the really difficult part is deciding which UI you want.
23:16:01 <flo> I think if I wanted to toggle that often (which is certainly not the case, the less I touch options everyday, the better I feel :)), I would want an icon in the status bar showing the current state, and a click on it toggling it
23:19:01 <Tomek> I just counted... on vista, it takes 5 clicks (one of them is drag) to disable sound for IB in mixer and close it :-D
23:19:15 <clokep> flo: Part of it was the |initLogModule("irc");| --> |initLogModule("irc", this);| change.
23:19:23 <flo> Tomek: how many click for the preference window?
23:19:44 <flo> clokep: by the way, do you have a better idea for that fix?
23:20:10 <clokep> flo: No. :( I meant to look to see if I could figure out what that change was from, but I haven't.
23:20:24 <flo> the new current API is misleading, one would expect the functions to be attached to the object given as second argument, not to the global context
23:21:57 <Tomek> flo: 6 (in case I already have visible the first tab 5), and one more if you are disabling both messages ond contact sound (which I have off) - so i use the mixer rather on the moment
23:22:28 <-- Plop has quit (Quit: Instantbird 1.1)
23:22:42 <flo> Tomek: if you touch that often, isn't the first tab always visible?
23:22:49 <-- devfil has quit (Ping timeout)
23:22:52 <flo> or is there another pref that you touch everyday?
23:23:06 <Tomek> but I dont think all users are enough experienced to do that in mixer, and in preference window... it is awkward
23:24:37 --> clokep_js has joined #instantbird
23:24:58 <clokep_js> flo: It's working. :) Needed to update some paths to modules was all! Silly me.
23:25:08 <clokep_js> Thanks for the help!
23:25:17 <flo> no problem :)
23:25:26 <flo> I'm glad I found that xpcshell trick ;)
23:25:26 <clokep_js> And EionRobb you wanted to see this: & < >?
23:25:36 <clokep> Yes, that's super helpful flo!
23:25:49 --> Mook has joined #instantbird
23:25:52 <Tomek> flo: I guess good way to do "mute button" is an item in main menu/context menu on tray icon... to have a button in contact window explititly woldn't fin in well
23:26:09 <Tomek> explicitly*
23:26:31 <flo> clokep: by the way, I'm currently starting my build with: ./xpcshell components/xmpp.js && ./instantbird-bin -P jsxmpp -purgecaches
23:26:43 <flo> clokep: this way I don't even start the UI if the component isn't parsable
23:27:00 <clokep> Interesting.
23:27:01 <clokep> Good trick.
23:27:05 <-- clokep_js has quit (Client exited)
23:29:17 <flo> clokep: hmm, shouldn't all these DEBUG/LOG/WARN/ERROR calls dump to the terminal too?
23:29:35 <clokep> flo: They probably should, yes. File a bug. ;)
23:30:09 <flo> do we need a pref for that?
23:30:14 <flo> or is it only for debug builds?
23:30:39 <flo> or reuse the pref that enables dump? (a bit useless, as dump would be a no-op anyway when that pref is false)
23:31:05 <clokep> Reuse the pref that enables dump I'd say.
23:33:01 <flo> so what's the point of it? :)
23:33:38 <clokep> Do things usually get dumped to the console
23:33:43 <clokep> From libpurple I mean.
23:34:29 <flo> no
23:34:39 <flo> but in debug builds JS Errors and warnings are
23:35:13 <flo> To see libpurple log messages in the terminal, I need to export NSPR_LOG_MODULES=purpleInit:5 on my command line
23:35:22 <clokep> I'd say do the same thing as that then?
23:35:36 <clokep> Oh hmmm....I see.
23:35:55 <clokep> Idk, it's whatever you like better. I don't use the console usually.
23:36:17 <flo> so you click and scroll that stupid error console all the time while debugging your code?
23:36:48 <clokep> There's so much garbage on the console output too.
23:37:11 <flo> all the terminals I've ever tried on Windows are so unusable though :(
23:37:29 <clokep> I actually redirect the output to Komodo usually.
23:38:08 <flo> can you press Ctrl+c there, and press up-arrow, enter to just restart your build?
23:39:00 <EionRobb> clokep: I like the look of your &
23:39:17 <clokep> I double click the thing in my toolbox to restart my build. ;) I could also set a keyboard shortcut to start my build.
23:39:21 <clokep> EionRobb: Thanks. :-D
23:39:36 <Mook> ctrl+c won't work anywhere, because windows does the equivalent of nohup+disown for gui apps, doesn't it? (... except for gvim, which is somehow crazy)
23:40:58 <flo> Mook: isn't that only for applications that start with a winmain C function instead of the standard main?
23:41:18 <flo> Mook: I think Mozilla builds with --enabled-debug stay attached to their terminal
23:41:23 <flo> *enable
23:41:33 <Mook> ah, yes, --enable-debug things are console apps
23:41:38 <Mook> (it's a flag in the PE header)
23:42:07 <Mook> and if you double-click an enable-debug mozilla app in explorer, it spawns a console :D
23:42:16 <flo> yes
23:42:22 <instantbot> clokep@gmail.com requested review from raynaudquentin@gmai l.com for attachment 1020 on bug 1186.
23:42:30 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1186 maj, --, ---, raynaudquentin, UNCO, "Redirect Loop" error for addons.instantbird.org
23:42:31 <flo> and it's so frustrating that the console gets closed at shutdown without letting you read the shutdown error messages :(
23:42:46 <clokep> flo: It doesn't when I open from Komodo. :P
23:43:23 <clokep> Also, if that review should go to you, feel free to steal it from Even...I'm not sure who's up to date on remora.
23:43:30 <flo> clokep: well, don't get me started on the list of frustrating things when running windows. I've more productive things to do :)
23:43:41 <flo> clokep: nobody is :(.
23:43:50 <flo> but Even is probably the right person.
23:45:18 <flo> the "otherwise stick instantbird in the place of honour and redirect" comment can mislead into thinking that someone has actually read/written that comment
23:45:28 <flo> but we just did a mass search & replace "firefox" -> "instantbird"
23:46:01 <flo> that patch looks perfect to me btw :)
23:47:21 <clokep> flo: I assumed it was a mass replacement of firefox --> instantbird, yes.
23:47:42 <clokep> Luckily PHP is the one scripting language I know...lets me work on our website code. ;)
23:47:45 <flo> :)
23:50:00 <clokep> The disable angle / update to moz 9 was Even's first patch checked into Instantbird?!
23:50:11 <clokep> Or were previous ones in the SVN repo so under fl o's name?