#instantbird log on 11 07 2011

All times are UTC.

00:10:10 --> adev has joined #instantbird
00:11:30 <-- adev has quit (Quit: Instantbird 1.2a1pre)
00:32:42 <-- mmkmou has quit (Ping timeout)
00:53:08 <-- skeledrew has quit (Ping timeout)
00:55:57 --> skeledrew has joined #instantbird
01:19:38 <-- skeledrew has quit (Connection reset by peer)
01:19:42 --> skeledrew has joined #instantbird
01:25:37 <-- skeledrew has quit (Connection reset by peer)
01:25:39 --> skeledrew has joined #instantbird
01:31:05 <-- skeledrew has quit (Ping timeout)
01:33:43 <-- GeekShadow has quit (Client exited)
01:34:08 --> skeledrew has joined #instantbird
01:58:44 <-- Tomek has quit (Quit: Instantbird 1.1)
01:58:50 <-- aleth has quit (Input/output error)
01:58:57 <-- chrisccoulson has quit (Ping timeout)
02:00:27 <-- EionRobb1 has quit (Connection reset by peer)
02:02:31 --> EionRobb has joined #instantbird
02:09:19 <-- EionRobb has quit (Connection reset by peer)
02:28:40 <-- skeledrew has quit (Connection reset by peer)
02:29:32 --> skeledrew has joined #instantbird
02:46:02 --> EionRobb has joined #instantbird
02:46:32 <-- EionRobb has quit (Connection reset by peer)
02:46:36 --> EionRobb has joined #instantbird
03:31:04 <-- clokep has left #instantbird ()
03:43:06 <-- devfil has quit (Client exited)
04:17:07 --> Mook has joined #instantbird
04:30:07 <-- Mook has quit (Ping timeout)
04:32:28 --> Mook has joined #instantbird
04:59:28 <-- Mook has quit (NickServ (GHOST command used by Mook_))
05:00:15 --> Mook has joined #instantbird
05:00:30 --> bret has joined #instantbird
05:01:28 <bret> Hi, I'm trying out Instantbird for the first time, but I am having a problem
05:01:51 <rikki> hello bret
05:01:56 <bret> I can't seem to connect to the duckduckgo server
05:02:11 <bret> I keep getting ssl handshake errors
05:02:25 <bret> https://duck.co/#Topic/28469000000637077
05:02:32 <bret> thats the thread detailing the server info
05:03:15 <Novarg> you will have to manually add the certificate to instantbird
05:03:44 <bret> oh, why this suddenly makes sence derp
05:03:48 <bret> how do I do that?
05:04:18 <bret> I just noticed that the tutorial they have written states their cert isnt validated
05:05:23 <bret> where can I even get their certificate to import?
05:05:34 <Novarg> I imagine they use the same certificate for their http server as they do for their xmpp server
05:05:42 <bret> Ill try it
05:06:05 <-- EionRobb has quit (Quit: Leaving.)
05:06:15 <Novarg> you can import it in the preferences under Advanced >> Encrypted >> View Certificates
05:08:10 <Mook> instantbird is probably still using pidgin for xmpp, right?
05:08:27 <bret> How do I export?
05:08:49 <bret> I am running into issues doing the xporting to a format that instantbird is looking for
05:11:02 <bret> i can export a pem file out of pidgin
05:11:04 <rikki> i can't do it either
05:11:17 <rikki> and i managed to import the certificate
05:12:50 <bret> I like to use their server for a public facing xmpp  ID singe google talk makes you reveal you email
05:12:57 <bret> since*
05:14:16 <bret> rikki, which certificate did you import?
05:14:44 <bret> the one from their search site?
05:15:17 <bret> doing it through pidgin gets you a certificate from dukgo.com
05:15:29 <bret> not sure if that woud make a difference
05:15:47 <bret> i cant figure out how to get pidgin certificates into instantbird
05:16:34 <rikki> i imported it and exported it though instantbird
05:16:43 <rikki> and then imported the resulting certificate
05:17:55 <bret> and you still cant get on either?
05:18:18 <rikki> no i can't
05:22:05 <rikki> i can connect via psi
05:22:32 <bret> what is psi?
05:22:37 <rikki> XMPP client
05:22:59 <bret> oh, yeah I have no issues getting on using pidgin
05:23:51 <bret> the point of all this was to try out instantbird :p
05:25:45 <rikki> hmm this is interesting
05:25:50 <rikki> im looking at error console
05:27:33 <bret> What are you seeing
05:27:44 <rikki> check yours
05:28:51 <bret> my internet is super slow right now hang on
05:29:00 <bret> freaking netflix
05:30:47 <bret> Can't look up SRV record
05:31:00 <bret> dns name does not exist 
05:31:06 <bret> handshake failed
05:31:24 <rikki> that sounds right
05:32:02 <rikki> file a bug
05:32:15 <rikki> nothing more i can do
05:32:37 <bret> Should I just list the errors and the server info in a bug report?
05:32:46 <rikki> yes
05:32:55 <rikki> and anything else you think might help
05:34:22 <rikki> in all honesty i use another client for XMPP as i want a more advance interface for it
05:34:23 <rikki> as im admin
05:35:30 <bret> i figured I should give the mozilla IM a shot
05:36:36 <bret> perferably, I wish there was an IM client written specifially for windows using its own libraries that had an emphasis on being a lightwheight client
05:36:55 <bret> but oh well, maybe eventually
05:39:01 <bret> how severe would you say this is?
05:39:17 <rikki> proberbly just something simple
05:39:44 <rikki> but i can't truely say as i don't know the backend and how it works
05:41:34 <instantbot> New purplexpcom - General bug 1148 filed by bcomnes@gmail.com.
05:41:36 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1148 maj, --, ---, nobody, UNCO, Can't get onto the dukgo.com xmpp network
06:03:58 <-- Mook has quit (Quit: zzz)
06:59:00 --> BlueMaxima has joined #instantbird
07:04:55 --> Tomek has joined #instantbird
08:05:41 --> FeuerFliege has joined #instantbird
08:12:35 --> jb has joined #instantbird
08:25:19 <-- Tomek has quit (Quit: Instantbird 1.1)
08:27:48 <-- bret has quit (Quit: )
08:40:36 --> ghinda has joined #instantbird
08:48:54 --> Mic has joined #instantbird
08:48:54 * ChanServ sets mode +h Mic 
09:08:24 --> MadWookiee has joined #instantbird
09:11:03 --> chrisccoulson has joined #instantbird
10:17:04 --> aleth has joined #instantbird
10:24:31 <-- aleth has quit (Quit: Instantbird 1.2a1pre)
10:25:33 --> aleth has joined #instantbird
10:43:02 --> gmoro_ has joined #instantbird
10:49:27 --> GeekShadow has joined #instantbird
11:13:22 --> skeledrew1 has joined #instantbird
11:13:29 --> clokep has joined #instantbird
11:13:29 * ChanServ sets mode +h clokep 
11:13:55 <-- skeledrew has quit (Ping timeout)
11:20:09 --> flo has joined #instantbird
11:20:09 * ChanServ sets mode +qo flo flo 
11:21:49 --> gerard-majax has joined #instantbird
11:23:39 <-- gerard-majax has quit (Ping timeout)
11:28:38 --> gerard-majax has joined #instantbird
11:30:40 <-- gerard-majax has quit (Ping timeout)
11:30:52 <flo> rikki: "i want a more advance interface for it" what do you miss? Are these issues filed?
11:31:20 <rikki> i need a more specialist client
11:31:24 <rikki> as i own the server
11:32:15 <rikki> to be honest im not that worried, if my servers platform didn't support an XMPP server by default and i barely had to do much then i wouldn't even have one
11:33:33 <flo> are there actual features that you miss?
11:33:45 <rikki> not that i know of
11:33:53 <rikki> i didn't really look into it
11:34:58 <flo> so it's more that you need to have a complicated/specialized client to feel like an administrator?
11:35:08 <rikki> you could say that
11:35:17 <flo> that's hard to fix ;)
11:35:17 <rikki> but i got some bad news
11:35:20 <flo> technically at least
11:35:33 <rikki> that bug that was filed also is happening to my server i think
11:35:50 <rikki> or something similar to stop hand shaking
11:36:24 <flo> Mic: do you remember where is the etherpad where you listed the SSL error code meanings?
11:37:08 <Mic> No, give me a second
11:37:26 <Mic> https://etherpad.mozilla.org/crm723ibfP
11:37:32 <Mic> It should have links to MDN
11:37:40 <flo> thanks!
11:38:05 <clokep> Ah I had no idea that existed! :)
11:38:10 <flo> I think we need to paste that URL (or the content of the pad as an attachment?) in bug 1100 so that we (I?) don't lose it again
11:38:13 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1100 cri, --, ---, nobody, UNCO, XMPP protocol login Error: SSL Handshake failed
11:38:15 <Mic> I'm glad I remembered 12276 for searching in the logs ;)
11:39:25 <flo> hmm, so these error codes are not in our list :(
11:39:42 <flo> bug 1148 (code -8172)
11:39:45 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1148 maj, --, ---, nobody, UNCO, Can't get onto the dukgo.com xmpp network
11:40:12 <flo> bug 1100 (code -8156)
11:40:15 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1100 cri, --, ---, nobody, UNCO, XMPP protocol login Error: SSL Handshake failed
11:41:01 <flo> I hope we'll be able to remove that code completely in a not so distant future :-|
11:42:43 <clokep> Yes, at least tell people that it works in the nightly builds?
11:47:20 <flo> or release something that just works? :)
11:51:09 <clokep> I suppose that would be better. :P
11:53:20 <flo> I'll need to think more about the enabledness of accounts to get rid of that notion in the part implemented by each protocol plugin; it's currently confusing :-/
11:56:40 <clokep> This referring to the Twitter enabled hack type thing we discussed yesterday?
11:56:45 <flo> yes
11:56:48 <clokep> Ah I'm late. need to get going.
11:56:53 <flo> + the fact that I need to reimplement that in purpleAccoutn currently
11:56:58 <clokep> (And yes, that's confusing! :'( Please make it prettier! :))
11:57:03 <-- clokep has left #instantbird ()
11:59:40 <-- aleth has quit (Quit: Instantbird 1.2a1pre)
11:59:43 --> aleth has joined #instantbird
12:06:41 <-- skeledrew1 has quit (Ping timeout)
12:06:44 --> skeledrew has joined #instantbird
12:10:21 --> Mad_Maks has joined #instantbird
12:14:48 --> skeledrew1 has joined #instantbird
12:15:14 <-- skeledrew has quit (Ping timeout)
12:15:39 <-- Mic has quit (Ping timeout)
12:20:10 --> skeledrew has joined #instantbird
12:20:56 <-- skeledrew1 has quit (Ping timeout)
12:23:49 --> Mic has joined #instantbird
12:23:49 * ChanServ sets mode +h Mic 
12:25:03 <-- Mad_Maks has quit (Quit: Instantbird 1.2a1pre)
12:25:12 --> Mad_Maks has joined #instantbird
12:27:59 <-- ghinda has quit (Client exited)
12:30:42 <-- BlueMaxima has quit (Quit: Instantbird 1.1)
12:32:31 <-- Mad_Maks has quit (Client exited)
12:45:13 --> clokep_work has joined #instantbird
12:45:13 * ChanServ sets mode +h clokep_work 
12:57:10 <flo> clokep_work: hmm, so should all of https://bugzilla.instantbird.org/attachment.cgi?id=725&action=diff go into imAccount.js, or is there some of it that should stay in prpl implementations?
12:57:56 <flo> I'm hesitating between moving only the ._enabled value to imAccount, or also the .connect and .disconnect automatic calls when the status changes
12:59:09 <clokep_work> One second.
12:59:23 <flo> actually, I'm still confused about what that code does :-D
12:59:52 <clokep_work> Right, OK so...
13:00:10 <clokep_work> I'd like it if the "core" (imAccount.js I guess) were to tell protocols when they're supposed to connect or not.
13:00:50 <clokep_work> So I'd think it should call the .connect / .disconnect automatically (or however protocols are notified of being told to connect).
13:01:25 <clokep_work> The code attempts to keep track of when we're supposed to be connected, i.e. if the account is "enabled" (if it's "disabled" it should ALWAYS be disconnected)
13:01:35 <clokep_work> Btw I think there's a follow up check in to that.
13:02:00 <flo> ah, we didn't get it right the first time?
13:02:03 <clokep_work> flo: http://hg.instantbird.org/instantbird/log?rev=bug+650
13:03:18 <flo> thanks
13:04:19 <flo> I don't feel confident touching that now :(.
13:04:27 <flo> libpurple also has a "enabled" handling
13:04:41 <flo> I'll probably need to get rid of it before we can really cleanup
13:05:06 <clokep_work> Alright, understood.
13:05:18 <clokep_work> I agree that it's really something that the protocols shouldn't deal w/ themselves. :)
13:05:23 <clokep_work> I think I filed a bug on that btw. ;)
13:05:40 <flo> well, with "touching" I meant "changing completely", as I've actually just touched that code because the API around status has changed and I forgot to update the twitter code to use the new api
13:06:04 <flo> yeah, but libpurple thinks it's the core, not a protocol plugin ;)
13:06:43 <clokep_work> Ah, bug 650 was the bug I filed on it. We hijacked it for Twitter.
13:06:46 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=650 nor, --, 1.0, clokep, RESO FIXED, Twitter accounts should reconnect automatically when going back from offline
13:09:07 <flo> my current code probably has a bug around setting the current status to an account that we connect after a status has changed
13:09:50 <flo> hmm, and by the way, when an account isn't enabled, it probably shouldn't receive any notification from the core
13:10:50 <flo> so maybe the prpl-implemented accounts could continue to observe the status changes, and connect/disconnect based on that, but they wouldn't received status change notification when they aren't enabled?
13:10:50 <clokep_work> Yes, exactly. That's what I meant (even though it's not what I said above. :()
13:11:17 <flo> I thought you meant the core should call connect/disconnect on the account
13:11:41 <clokep_work> Ah well, it should either call connect or tell the prpl to connect via a status change.
13:12:19 <clokep_work> Sorry, what I meant was that the prpl shouldn't have any concept of whether it's enabled or disabled I think (it shouldn't have to observe when it becomes enabled and then connect)
13:12:49 <clokep_work> Does that make more sense? :-/
13:13:02 <flo> yeah, ok :)
13:13:11 <flo> I probably still need to think a little bit more about it
13:13:20 <flo> but I'm getting a better idea of what we could implement
13:13:35 * clokep_work feels like this would be a great time for a flow chart...
13:13:41 <flo> I'm also wondering what we should do for user icon changes that happened while the account wasn't enabled
13:14:07 <flo> (and for the public alias / display name / friendly name / whatever people call that)
13:14:51 <clokep_work> Ideally we'd want them to be notified when they connect.
13:15:19 <flo> if we want to do that, we need to keep a timestamp of the last change, and of the last connection
13:15:20 <clokep_work> (Almost a "see what's on the server, does it match? No --> Set the new one | Yes --> OK!)
13:15:37 <clokep_work> (But you can't really do that ^ ^ anyway, because of resizing, etc.)
13:15:49 <flo> the other option is to say it's the prpl's reponsibility to check on each connect that it's in sync with the core
13:17:22 <clokep_work> Yes, that could probably work.
13:18:13 <flo> by the way, we should make more use of that value
13:18:24 <flo> for example, on IRC it makes no sense to have a "real name" option, it should just use that value
13:18:41 <clokep_work> I agree.
13:18:50 <flo> :)
13:19:15 <flo> adapting C++ code for API changes takes way more time than adapting the JS code :-/
13:19:17 * instantbot frowns at flo
13:20:05 <clokep_work> Should I file that as a bug ^ (the IRC "real name")
13:20:30 <clokep_work> (Or more generally a "use the public alias everywhere" bug...)
13:20:42 <flo> if it helps you to remember that we want to do it after the js-irc merge, yes :)
13:21:00 <flo> I'm not sure in how many more places we need it
13:21:21 <flo> I would like to get rid of the per-account alias, but I'm not sure if it's the same issue, as that's for local display only
13:22:09 --> gerard-majax has joined #instantbird
13:22:09 <clokep_work> I'll just throw a comment in bug 507...
13:22:13 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=507 enh, --, ---, clokep, ASSI, Implement IRC in JavaScript
13:23:12 --> devfil has joined #instantbird
13:23:59 <-- gerard-majax has quit (Ping timeout)
13:24:16 <aleth> flo: In case you didn't know, just noticed that Show Nick occasionally throws an error, "exp.exec is not a function. Source File: chrome://shownick/content/shownick.js Line: 103" 
13:24:50 <flo> aleth: I've already observed that. No idea of the cause unfortunately :(
13:25:25 <flo> that's typically when joining a room, and it often causes the topic system message to not be displayed
13:25:50 <instantbot> New purplexpcom - General bug 1149 filed by clokep@gmail.com.
13:25:51 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1149 min, --, ---, nobody, NEW, Automatically use public alias as "real name" in IRC
13:27:38 <clokep_work> I wonder if it can happen if nicks is empty.
13:30:41 <aleth> Yeah, might be when self._getRegExp() returns null.
13:32:55 <aleth> (ie does a null function have an exec method)
13:33:04 <flo> no, but why would it return null?
13:34:38 <aleth> Well, I don't know the code, but line 88?
13:34:49 --> BlueMaxima has joined #instantbird
13:35:23 <flo> right, thanks
13:35:49 <flo> I missed that when patching https://hg.instantbird.org/addons/rev/e6281ed3a17f
13:36:30 <clokep_work> The spacing of that if statement is wrong too! r-. ;)
13:37:22 <flo> clokep_work: uh?
13:37:48 <clokep_work> Line 88 has four spaces as an indent.
13:37:56 <clokep_work> http://hg.instantbird.org/addons/file/7f7829087892/shownick/content/shownick.js#l88
13:38:13 <flo> ah, right :)
13:38:54 --> gerard-majax has joined #instantbird
13:39:08 <flo> aleth, clokep_work so how do you feel about http://pastebin.instantbird.com/1049 ? :)
13:39:45 <aleth> heh, neat! :)
13:40:33 <clokep_work> flo: That should work OK. Untested of course. ;)
13:40:44 <flo> how did you guess that I haven't tested it?
13:41:35 <clokep_work> I meant I haven't tested it!
13:41:42 <flo> my debug build isn't in a state that let me test add-ons ;)
13:41:56 <clokep_work> Hahah. Things not working right now?
13:42:05 <flo> still rewriting purpleAccount
13:44:06 <aleth> You can build already?
13:44:33 <flo> I haven't tried
13:44:45 <flo> so most likely: no
13:44:53 <-- FeuerFliege has quit (Quit: Instantbird 1.2a1pre)
13:45:04 <flo> there are still references to purpleAccountBase in purpleAccount ;)
13:51:51 <clokep_work> I don't think it'll compile then. :)
13:52:04 <flo> *is still a reference
13:52:13 <flo> I've just removed the others :)
13:57:05 <flo> I have a feeling that I could do a better job of cleanup up the account-specific pref API
14:04:59 --> mikk_s has joined #instantbird
15:12:10 <instantbot> New Instantbird (UI) bug 1150 filed by michal.stanke@mikk.cz.
15:12:13 --> instantbot has joined #instantbird
15:12:13 topic changed by gravel.mozilla.org to "Ask questions about Instantbird (http://www.instantbird.com) here|Get Instantbird 1.1 while it's hot! :) |News: http://blog.instantbird.org/ |Nightlies: http://nightly.instantbird.im/ (testing purpose only) |IRC logs: http://log.bezut.info/ |Pastebin: http://pastebin.instantbird.org/"
15:12:14 * ChanServ sets mode +v instantbot 
15:12:22 <-- jb1 has quit (Ping timeout)
15:16:17 <instantbot> New Instantbird (UI) bug 1151 filed by michal.stanke@mikk.cz.
15:16:20 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1151 nor, --, ---, nobody, UNCO, No way to delete group/tag
15:19:50 <instantbot> New Instantbird (UI) bug 1152 filed by michal.stanke@mikk.cz.
15:19:51 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1152 enh, --, ---, nobody, UNCO, Number of contacts online
15:22:50 <-- mikk_s has quit (Quit: Instantbird 1.1)
15:24:21 <-- GeekShadow has quit (Client exited)
15:33:40 <-- ecaron has quit (Ping timeout)
15:34:33 <instantbot> clokep@gmail.com set the Resolution field on bug 1151 to DUPLICATE of bug 1072.
15:34:36 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1151 nor, --, ---, nobody, RESO DUPLICATE, No way to delete group/tag
15:34:37 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1072 enh, --, ---, nobody, UNCO, Tags should be editable and/or removable
15:37:33 <flo> ah, the C++ compile errors can now fit on the screen without scrolling :)
15:39:36 <aleth> wow not bad for a first try of something that big :)
15:40:01 <flo> well, I've been fixing compile errors for a long while already ;)
15:40:04 <clokep_work> Is bug 1152 a dup of bug 559?
15:40:06 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1152 enh, --, ---, nobody, UNCO, Number of contacts online
15:40:07 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=559 enh, --, ---, nobody, NEW, Unable to view number of offline buddies in a group
15:40:10 <flo> well, an hour exactly it seems
15:41:52 <aleth> clokep_work: It's doubtful it's a bug, isn't it? I mean, it counts what you selected it to display
15:42:46 <flo> clokep_work: it seems so. (although I'm not sure I would actually want to fix these bugs)
15:42:49 <aleth> But I guess that's not what some people want
15:43:36 <flo> how useful is it to know how many of your friends you can't currently talk to?
15:43:54 <flo> a tooltip when hovering the group header would be nice though :)
15:44:06 <clokep_work> I'm not arguing whether they should be fixed or not (although I filed the first one), but just trying to dup them. :)
15:44:37 <flo> I think they are dup, but if you want to be sure, you need to discuss with the author :)
15:44:44 <flo> s/author/reporter/
15:44:45 <instantbot> clokep@gmail.com set the Resolution field on bug 1152 to DUPLICATE of bug 559.
15:44:47 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1152 enh, --, ---, nobody, RESO DUPLICATE, Number of contacts online
15:44:48 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=559 enh, --, ---, nobody, NEW, Unable to view number of offline buddies in a group
15:47:23 <clokep_work> Bug 1150 should be easy enough to fix after the fix by v17... is checked in. :)
15:47:26 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1150 nor, --, ---, nobody, UNCO, Sorting contacts that are beginning with accented character
15:52:12 <flo> clokep_work: by "easy enough" you mean just mark as resolved fixed? ;)
15:55:48 <clokep_work> Ah, will it just perfectly work then? :)
15:56:29 <flo> see the last 3 lines of my review comment (https://bugzilla.instantbird.org/show_bug.cgi?id=772#c8)
15:56:32 <instantbot> Bug 772 enh, --, ---, mattdentremont, ASSI, Use a sortComparator function on groups to allow easy changing of the order of contacts
15:58:14 <clokep_work> Ah-ha! :)
15:59:47 <flo> one last error to fix before I can see how badly it fails to link
16:04:12 <clokep_work> That's the part I don't like. :-/
16:05:16 <flo> only 3 undefined symbols
16:11:36 <clokep_work> We'll do a nightly with just these changes at first?
16:11:45 <flo> not sure
16:11:55 <flo> maybe we should also finish the moving/renaming of interfaces
16:12:03 <flo> to break add-ons only once
16:12:53 <clokep_work> Yes, that might work nicely.
16:14:34 <flo> it compiles, but will it start? :)
16:15:16 <flo> current diffstat: 60 files changed, 2225 insertions(+), 4430 deletions(-)
16:16:53 --> myk has joined #instantbird
16:18:15 <clokep_work> (And if it starts...will it connect? ;))
16:18:29 <flo> and then, quit without crashing in libpurple
16:19:29 <flo> various steps of the initialization and uninitialization used to be intertwined, so things may not like to be done separately ;)
16:22:23 <flo> Component returned failure code: 0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE) [nsIJSCID.getService]"  nsresult: "0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE)"  location: "JS frame :: resource://gre/modules/XPCOMUtils.jsm :: XPCU_serviceLambda :: line 232
16:22:31 <flo> totally unhelpful error :(
16:24:01 <-- myk has quit (Ping timeout)
16:25:14 --> myk has joined #instantbird
16:26:13 <clokep_work> Yeah...sounds like a service failed to registered?
16:26:16 <clokep_work> But which one? :P
16:26:27 <flo> imIAccountsService
16:26:31 --> wesj has joined #instantbird
16:26:44 <flo> (known after several cycles of dump addition + restart)
16:30:24 <flo> hmm, is there a way to know if there are syntax errors in there?
16:30:49 <clokep_work> JSLint? ;)
16:30:58 <clokep_work> As far as I know...no, not at all.
16:31:07 <flo> it doesn't like my syntax, it doesn't accept let, etc...
16:31:23 <flo> s/my syntax/expression closures/
16:34:28 <flo> https://developer.mozilla.org/en/Troubleshooting_XPCOM_components_registration#Parsing_Errors_in_JavaScript_Components pff "These parsing errors should show up in the Error Console" super helpful...
16:34:33 <flo> yeah, they should
16:36:46 <-- Tonnes has quit (Quit: ChatZilla 0.9.87 [Firefox 7.0.1/20110928134238])
16:37:12 <-- SM0TVI has quit (Ping timeout)
16:37:28 <clokep_work> But you have to enable chrome errors first. :P
16:37:32 <clokep_work> Seems kind of silly.
16:38:27 --> SM0TVI has joined #instantbird
16:39:09 <aleth> flo: found this yesterday, might be useful, or might not? https://blog.mozilla.com/tglek/2011/10/19/alternative-to-the-indignity-of-dealing-with-the-error-console/
16:39:30 <aleth> (Problem is it's part of FF)
16:40:08 <flo> if I try to load the file in Firefox, will it tell me where there's an error?
16:40:31 <aleth> I have not tried it, just bookmarked it ;)
16:46:06 <aleth> Actually Scratchpad itself might be worth playing with
16:46:14 <flo> there's a MOZ_REPORT_ALL_JS_EXCEPTIONS environment variable it seems
16:46:58 <flo> which doesn't change anything :(
16:48:00 <-- myk has quit (Ping timeout)
16:48:35 <aleth> Is that devtools.chrome.enabled tip helpful?
16:48:54 --> myk has joined #instantbird
16:49:25 <clokep_work> I think devtools only exists in Firefox, but I'm not sure.
16:49:34 <flo> not in this context
16:50:58 <aleth> dom.report_all_js_exceptions ?
16:51:04 <-- myk has quit (No route to host)
16:51:14 <aleth> I guess that's what you just tried
16:51:46 <flo> yes
16:53:14 <aleth> Surprising really that Scratchpad can't check JS syntax without running it?
16:56:34 <clokep_work> Meeting today?
16:56:42 <flo> yes
17:02:24 <flo> anybody has created a pad yet?
17:03:11 <clokep_work> No.
17:03:27 --> MattATobin has joined #instantbird
17:06:33 <clokep_work> Pad @ https://etherpad.mozilla.org/instantbird-weekly-meeting-20111107
17:09:10 <flo> thanks
17:10:04 <-- MadWookiee has quit (Quit: Instantbird 1.1)
17:13:36 <clokep_work> Sounds like we haven't done much. ;)
17:14:28 <flo> I don't have tons of stuff to talk about :-/
17:14:40 <flo> except that debugging parse errors in JS components suck ;)
17:14:52 <flo> and that I need to start working on my slides soon
17:15:30 --> ecaron has joined #instantbird
17:16:23 <aleth> Well it's natural when big changes are about to land that there appears little to "report"
17:19:24 <clokep_work> Yeah, I don't have much to say either. :-/
17:19:41 <clokep_work> A bit of waiting for changes to land so everything doesn't bitrot on me. :-D
17:19:49 <flo> yeah, I'm blocking everybody :(
17:19:56 <flo> both with patches that I haven't pushed
17:20:02 <flo> and with the patches that I haven't finished
17:20:17 <flo> + with the mess on the l10n side
17:20:25 <flo> with the pt-BR repository that isn't created
17:20:31 <flo> and the en-US repository that's broken :(
17:20:43 <aleth> It'll be worth it :)
17:21:19 <aleth> Plus, what's that law about things taking longer than you think even if you take the law into account?
17:21:26 <flo> I would feel bad telling at the mozcamp that new localizations are welcome if I'm not in a position to create a repository quickly :-/
17:21:58 <clokep_work> What's the issue with creating a new one? Just that you're not sure what strings to use?
17:22:07 <flo> yeah, I don't know what to import
17:22:22 <flo> + the en-US model isn't reliable
17:22:22 --> myk has joined #instantbird
17:23:00 <aleth> There was an IRC conv this morning in the log which is like a live transcript of someone trying IB and giving up due to SSL issues :/
17:23:19 <aleth> Some of that is hard to fix
17:24:59 <flo> the SSL issues seem to always be about people using uncommon Jabber servers
17:25:04 <-- MattATobin has quit (Quit: I'm a trifle deaf in this ear. Speak a little louder next time.)
17:25:07 <flo> so all that will change once we get JS-XMPP in
17:25:21 <clokep_work> Yes, except the one person on AIM, but Idk what was up with that.
17:25:25 <flo> (It's sure it will change, I don't know how yet, but I hope it will be for the better)
17:25:32 <aleth> flo: yes, misconceptions that you need one run by a search engine company? I didn't quite understand that
17:25:37 <flo> that was probably a temporary server issue
17:25:58 <aleth> Most Jabber servers tell you what cert they use
17:26:20 <aleth> But you need to know what to look for
17:27:16 <aleth> Btw I tried to track down that incorrect listitem binding issue and got stuck. Suspect it might require more insight into how/when bindings are actually made (asynchronously) in the mozilla code
17:27:39 <clokep_work> It'd be nice to have a simple test case if it is a Mozilla bug. 
17:28:17 <flo> yes, creating a reduced test case would help to then file a bug that would be likely to get fixed
17:28:21 <aleth> Yes that's what I was hoping to work towards
17:28:53 <aleth> It's tricky because so far it seems an intermittent problem
17:33:01 --> adev has joined #instantbird
17:34:06 <clokep_work> Did you manage to debug your component flo? If you need another pair of eyes, feel free to ask.
17:34:35 <flo> no :(
17:34:49 <flo> I'm still trying to add printf calls inside the js engine to make it dump a readable message
17:35:26 <flo> the file is http://pastebin.instantbird.com/1050
17:37:02 --> Mook_as has joined #instantbird
17:37:24 <clokep_work> 90% of the time when I have components that won't load I missed like a comma. :(
17:37:34 <flo> or a )
17:37:47 <flo> stupid things like that, that make us waste several hours
17:37:55 <-- adev has quit (Quit: Instantbird 1.2a1pre)
17:38:36 <flo> if only http://code.google.com/p/js2-mode/issues/detail?id=122 could get fixed, syntax errors would be highlighted in my editor (without dozens of false positives)
17:39:25 <Mook_as> hmm, I feel like I should be pimping komodo right now ;)
17:39:47 <flo> Mook_as: it highlights syntax errors in modern JS code?
17:40:01 <Mook_as> it runs the spidermonkey js shell for syntax checking ;)
17:40:22 <flo> does that work?
17:40:28 <Mook_as> seems to!
17:40:36 <flo> like, if I have some #ifdef in my code, does it skip that, or does it just dies?
17:41:00 <Mook_as> oh, then it just dies
17:41:07 <Mook_as> (or at least, it reports an error)
17:41:16 <flo> yeah, I guess it's an error
17:41:26 <flo> what's interesting, is can it still report correct errors for the lines after that?
17:41:43 <Mook_as> SyntaxError: illegal character: (on column 1)
17:41:47 <Mook_as> nope :(
17:42:04 * flo keeps emacs
17:42:17 <flo> but I should really learn lisp someday to get rid of that bug!
17:44:33 --> Mic|web has joined #instantbird
17:44:40 <clokep_work> My method to find these was to comment out large portions of the code and bisect it until I find the error. :)
17:44:51 <flo> I've done that too in the past
17:44:52 <Mic|web> hi
17:44:56 <flo> but that's very wasteful :(
17:45:04 <aleth> flo: is line 257 correct?
17:45:10 <flo> especially if you already have some /* */ comments in the middle of the file
17:45:18 <aleth> (probably is but I didn't know you could do that)
17:45:58 <flo> aleth: yes, although my editor doesn't like it :(
17:47:59 <flo> aleth: https://developer.mozilla.org/en/JavaScript/New_in_JavaScript/1.8#Expression_closures_%28Merge_into_own_page.2Fsection%29
17:48:28 <aleth> thanks
17:48:46 <flo> oh, or was it the || that surprised you?
17:48:59 * clokep_work thought it was the get that surprised.
17:48:59 <aleth> it was the lack of  (...)
17:49:18 <flo> of {} you mean?
17:49:24 <flo> if so my link is what you wanted
17:49:45 <aleth> right, yes :)
17:50:35 * aleth dislikes changing between different country keyboard mappings
17:55:59 <flo> I'm stupid
17:56:25 <flo> http://pastebin.instantbird.com/1051
17:56:31 <flo> that was a trivial command :(
17:57:02 <Mook_as> yeah, I think we spawn `js -c foo.js`
17:58:04 <clokep_work> Ah you called it though! :)
17:59:12 <flo> and my editor was complaining "missing ) after argument list" on that line :'(
18:00:11 <aleth> It's always obvious once you spot it ;)
18:00:17 <Mic|web> parseInt is missing its base too :P
18:00:34 <Mic|web> (i know that it is 'optional')
18:02:02 <flo> so know I have "JavaScript Error: "Services.accounts.initAccounts is not a function""
18:02:54 <Mook_as> so, grab a js shell, and inspect Services.accounts? :)
18:03:16 <flo> I'm doing that in the error console right now
18:03:20 <flo> is a JS shell better?
18:03:40 <Mook_as> well, you just need a useful REPL
18:03:44 --> Tonnes has joined #instantbird
18:03:46 <Mook_as> if you can stand error console... :)
18:04:19 <Mook_as> I think you can uneval(Components.utils.import("resource://gre/modules/Services.jsm").acounts);
18:04:29 <flo> bah, it was defined as   void InitAccounts(); in the idl file
18:04:37 <Mook_as> haha
18:07:22 <flo> ERROR resource:///modules/jsProtoHelper.jsm:194                     SyntaxError: missing } after property list
18:07:22 <flo> that message is nice.
18:07:36 <flo> I don't know if it's visible by default or if it's my printf in the JS engine that outputs it though
18:10:01 <flo> is it logical that on "        let ab = account.loadBuddy(buddy, tag);" I get as an error "Error: contact is null"
18:10:01 <flo> ?
18:12:35 <Mook_as> no, but perhaps the line number is slightly off
18:12:42 <flo> no
18:12:46 <flo> account is null
18:12:50 <Mook_as> hah
18:13:23 <flo> it's not the first time that I observe that the error is reported on the right line but with a random identifier from the same file for the variable name
18:17:12 <flo> ah, and Cu.reportError eats errors :(
18:17:36 <flo> as it puts them in the error console but not the terminal, and when there are thousands of errors in the error console, the first aren't visible :(
18:18:40 <flo> bah, stupid bug
18:18:41 <flo>         let imAccount = new imAccount(account);
18:18:44 <flo> that line doesn't work
18:18:50 <flo> TypeError: imAccount is not a constructor
18:19:03 <flo> because the let overrides the constructor that's defined before
18:27:43 <clokep_work> That's not totally ridiculous though, and is kind of bad form anyway.
18:28:31 <flo> from the stream of errors in my terminal, I see at least a libpurple protocol plugin has been loaded
18:28:57 <flo> (and libpurple has been initialized)
18:34:32 <-- jb has quit (Ping timeout)
18:41:47 <clokep_work> Is that good or bad? :)
18:42:24 <flo> good, the purpleProtocol part seems to mostly work. I'm currently fighting the other errors ;)
18:42:54 --> gerard-majax has joined #instantbird
18:43:19 <Mic|web> Good as in ...
18:43:24 <Mic|web> Good evening? ;)
18:43:39 <Mic|web> Bye.
18:43:42 <clokep_work> Ciao!
18:43:46 <-- Mic|web has quit (Quit: http://www.mibbit.com ajax IRC Client)
18:51:04 <-- ghinda has quit (Client exited)
18:53:16 <-- myk has quit (gravel.mozilla.org sand.mozilla.org)
18:53:16 <-- wesj has quit (gravel.mozilla.org sand.mozilla.org)
18:53:16 <-- BlueMaxima has quit (gravel.mozilla.org sand.mozilla.org)
18:53:16 <-- skeledrew has quit (gravel.mozilla.org sand.mozilla.org)
18:53:16 <-- gmoro_ has quit (gravel.mozilla.org sand.mozilla.org)
18:53:16 <-- rikki has quit (gravel.mozilla.org sand.mozilla.org)
18:53:16 <-- Mook_as has quit (gravel.mozilla.org sand.mozilla.org)
18:53:16 <-- ecaron has quit (gravel.mozilla.org sand.mozilla.org)
18:53:16 <-- Suiseiseki has quit (gravel.mozilla.org sand.mozilla.org)
18:53:16 <-- douglaswth has quit (gravel.mozilla.org sand.mozilla.org)
18:53:16 <-- micahg has quit (gravel.mozilla.org sand.mozilla.org)
18:53:16 <-- harisund has quit (gravel.mozilla.org sand.mozilla.org)
18:53:16 <-- lewellyn has quit (gravel.mozilla.org sand.mozilla.org)
18:54:25 <clokep_work> Bah, net split?
18:54:32 <clokep_work> At least instantbot is still here. :)
18:55:01 <-- Tonnes has quit (Ping timeout)
18:58:04 --> Mook_as has joined #instantbird
18:58:04 --> myk has joined #instantbird
18:58:04 --> ecaron has joined #instantbird
18:58:04 --> wesj has joined #instantbird
18:58:04 --> Suiseiseki has joined #instantbird
18:58:05 --> douglaswth has joined #instantbird
18:58:05 --> BlueMaxima has joined #instantbird
18:58:05 --> skeledrew has joined #instantbird
18:58:05 --> gmoro_ has joined #instantbird
18:58:05 --> micahg has joined #instantbird
18:58:05 --> rikki has joined #instantbird
18:58:05 --> lewellyn has joined #instantbird
18:58:05 --> harisund has joined #instantbird
19:03:09 <flo> https://twitter.com/#!/twitterapi/status/133617804527153152 looks promising :)
19:05:40 <flo> I see some ###!!! ASSERTION: Null found in classinfo interface list: 'Error', file /Users/florian/buildhg/hg.instantbird.org/mozilla/js/src/xpconnect/src/xpcwrappednativeinfo.cpp, line 609 errors for accounts from protocol plugins implemented in JS (or with a JS override)
19:06:36 <flo> and my list of accounts is no longer empty :)
19:07:22 <aleth> getting there quickly it seems :)
19:07:23 <flo> but I seem to have an infinite loop in the contact list loading code
19:07:59 <flo> aleth: heh :). There's still a long way before being able to connect an account ;).
19:08:14 <flo> away for diner, back later to continue debugging my mess :)
19:08:16 <-- flo has quit (Quit: Instantbird 1.2a1pre)
19:13:46 <clokep_work> Ah, do user IDs not currently match? That's ridiculous.
19:13:57 --> mmkmou has joined #instantbird
19:16:08 --> jb has joined #instantbird
19:27:24 <-- mmkmou has quit (Client exited)
19:39:05 --> Tonnes has joined #instantbird
19:42:45 --> myk1 has joined #instantbird
19:43:35 <-- myk has quit (Ping timeout)
19:46:32 --> EionRobb has joined #instantbird
19:49:37 <-- skeledrew has quit (Ping timeout)
19:52:40 --> ghinda has joined #instantbird
20:01:12 <-- chrisccoulson has quit (Ping timeout)
20:03:12 <-- ghinda has quit (Client exited)
20:20:09 --> flo has joined #instantbird
20:20:09 * ChanServ sets mode +qo flo flo 
20:20:23 <flo> clokep_work: yes, search API user ids are different.
20:21:22 <clokep_work> Sometimes I want to smack the Twitter API people around a bit. :(
20:21:50 <flo> I wanna do that each time a discussion about the twitter API includes the words "search API" ;)
20:22:21 <flo> https://twitter.com/#!/twitterapi/status/133640144317198338 :)
20:23:55 <clokep_work> Nice! We didn't use that information anyway though it seems.
20:24:01 <clokep_work> Was it blocking something of ours?
20:28:42 <flo> "We didn't use that information anyway though it seems." because I had to revert the change that used it
20:29:10 <flo> it blocked showing the follow/unfollow context menu items on tweets from the search API.
20:34:04 <-- aleth has quit (Quit: Instantbird 1.2a1pre)
20:34:08 --> aleth has joined #instantbird
20:34:44 <clokep_work> Ah, right. :)
20:35:05 <clokep_work> I've used that a few times, it's real handy!
20:35:20 <clokep_work> Was trying to increase my SNR.
20:41:22 <flo> oh, bug 700*** already on BMO!
20:41:35 <clokep_work> Yes, happened a few days ago I think.
20:43:08 <flo> I've filed https://bugzilla.mozilla.org/show_bug.cgi?id=700421 on the issue that wasted over an hour and a half earlier today
20:47:42 <flo> we should really file a bug on the problem we have when failing to load a JS module and then other modules can't be loaded at all
20:48:07 <clokep_work> Yes, I wonder if it happens in Firefox too?
20:48:16 <flo> I hope so!
20:48:22 <flo> (otherwise it will never get fixed)
20:52:20 <clokep_work> Not unless we fix it, yeah. :p
20:53:15 <flo> hmm, should that block the instantbird tracking bug? :)
20:53:54 <clokep_work> It's definitely something that's blocked some of our work. :P
20:54:15 <clokep_work> I spent at least an hour on that one day too. :-/
20:54:42 <flo> I spent an excessive time on it at the time of the js-blist rewrite
20:54:57 <flo> + smaller amounts of time several other times
20:56:41 <clokep_work> Yeah.
20:59:05 <-- gerard-majax has quit (Ping timeout)
21:02:08 <-- jb has quit (Ping timeout)
21:44:44 <-- wesj has quit (Input/output error)
21:45:04 --> wesj has joined #instantbird
21:45:34 <flo> I've made some progress. The contact list loads
21:45:57 <flo> the UI opens and is a bit broken, I need to fix the top of the contacts window to use the new status API
21:54:18 <clokep_work> :)
21:54:26 <clokep_work> Bah it gets dark so early now.
21:54:30 <clokep_work> Anyway time to go!
21:55:16 <-- clokep_work has quit (Quit: Instantbird 2.71828prepre)
21:59:00 <flo> 2.71828prepre nice version number :)
21:59:39 <aleth> oh, he changed it from almost \Pi :P
22:08:19 <Mook_as> that means his version number is going _down_?
22:09:21 * flo got rid of the last error that happened while loading the list of accounts
22:09:58 <flo> Mook_as: yes, when it be be close enough from the Instantbird version number, his code will be ready to merge :)
22:10:00 <aleth> Mook_as: it's approaching a different transcendental number I guess ;)
22:13:08 <flo> there are always more errors coming :-/
22:15:16 <aleth> like grains of sand...
22:27:09 * flo connects an account!
22:28:34 <flo> hmm, shutdown crash :-/
23:10:27 --> Tomek has joined #instantbird
23:18:30 <flo> hmm, what's the gdb command to dump the JS stack again?
23:18:45 <Mook_as> call DumpJSStack() ?
23:18:58 <flo> yes :)
23:18:59 <flo> thanks
23:39:26 <-- ecaron has quit (Quit: Instantbird 1.1)
23:57:39 --> clokep has joined #instantbird
23:57:39 * ChanServ sets mode +h clokep