#instantbird log on 12 10 2014

All times are UTC.

00:06:09 <EionRobb> clokep_work: it concatenate's and alloc's as many strings together as you want.  bring on the js + :P
00:21:34 <-- Rym has quit (Ping timeout: 121 seconds)
00:26:08 <-- Tonnes has quit (Connection closed)
00:28:31 --> Tonnes has joined #instantbird
00:47:58 --> Rym has joined #instantbird
00:48:18 <-- aleth has quit (Quit: :tiuQ)
00:48:25 --> aleth has joined #instantbird
00:48:25 * ChanServ sets mode +o aleth 
00:48:57 <-- aleth has quit (Quit: :tiuQ)
00:49:06 --> aleth has joined #instantbird
00:49:06 * ChanServ sets mode +o aleth 
00:51:58 <-- wesj has quit (Ping timeout: 121 seconds)
00:52:25 <-- Rym has quit (Ping timeout: 121 seconds)
01:08:26 --> Hoony has joined #instantbird
01:09:18 <-- Hoony has quit (Client exited)
01:09:36 --> Hoony has joined #instantbird
01:11:19 <-- aleth has quit (Ping timeout: 121 seconds)
01:11:38 <-- Armada has quit (Connection closed)
01:15:22 --> chrisccoulson_ has joined #instantbird
01:16:24 <-- clokep_work has quit (Ping timeout: 121 seconds)
01:16:55 <-- chrisccoulson has quit (Ping timeout: 121 seconds)
01:20:37 <-- clokep has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
01:29:17 --> mconley has joined #instantbird
01:33:37 --> clokep has joined #instantbird
01:33:37 * ChanServ sets mode +o clokep 
01:42:07 --> Rym has joined #instantbird
01:46:37 <-- Rym has quit (Ping timeout: 121 seconds)
01:47:56 <-- sherief has quit (Ping timeout: 121 seconds)
01:56:06 <-- Mook_as has quit (Client exited)
02:00:35 --> Widdershins has joined #instantbird
02:28:08 <-- Hoony has quit (Ping timeout: 121 seconds)
02:30:39 --> Hoony has joined #instantbird
02:36:15 --> Rym has joined #instantbird
02:38:17 <-- mconley has quit (Connection closed)
02:38:46 --> mconley has joined #instantbird
02:40:47 <-- Rym has quit (Ping timeout: 121 seconds)
02:42:52 <-- mconley has quit (Ping timeout: 121 seconds)
03:28:51 --> Mook has joined #instantbird
03:30:27 --> Rym has joined #instantbird
03:31:23 <Mook> Hmm, if I want to write a prpl, I'd start from jstest as a sample?
03:34:57 <-- Rym has quit (Ping timeout: 121 seconds)
03:37:18 <clokep> Mook: That's a reasonable place, yes.
03:37:20 <clokep> What prpl?
03:37:31 <EionRobb> is everyone doing prpls now?
03:38:04 <clokep> It's the soup du jour, yeah.
03:39:21 <Mook> Eh, I'll wait until I have something useful rather than randomly thinking "hey wouldn't it be nice if..." :D
03:39:57 <EionRobb> steam? :)
03:40:02 <clokep> we were older?
03:42:06 <clokep> No Beach Boys fans?
03:42:12 <EionRobb> hehe
03:42:46 <EionRobb> maybe they'd be more familiar if it was "... if the world was cadbury"? ;)
03:46:17 * clokep isn't sure what music Canadians listen to. ;)
03:47:22 <Mook> I think a bigger problem is that I don't listen to enough music :pp
03:48:17 <Mook> That reminds me. Did you still need help with skype?
03:50:18 <-- clokep has quit (Ping timeout: 121 seconds)
03:53:33 --> mconley has joined #instantbird
04:07:53 <Mook> Ugh, need to do oauth. Time to copy some twitter code I guess...
04:08:09 <EionRobb> are you writing a prpl? :)
04:09:03 <Mook> Hypothetically.
04:09:24 <EionRobb> for what service? :)
04:13:56 <-- EionRobb has quit (Quit: Leaving.)
04:24:36 --> Rym has joined #instantbird
04:25:25 --> kapy has joined #instantbird
04:29:05 <-- Rym has quit (Ping timeout: 121 seconds)
04:30:16 --> wesj has joined #instantbird
04:33:02 --> DGMurdockIII has joined #instantbird
04:50:00 <Mook> silly question: can prpls be bootstrapped/restartless?
04:55:39 <-- wesj has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
04:56:17 <instant-buildbot> build #1253 of linux-nightly-default is complete: Success [3build successful]  Build details are at http://buildbot.instantbird.org/builders/linux-nightly-default/builds/1253
05:02:54 --> Hoony1 has joined #instantbird
05:03:29 <-- Hoony has quit (Client exited)
05:03:57 --> Hoony has joined #instantbird
05:06:47 --> Hoony2 has joined #instantbird
05:06:50 <instant-buildbot> build #2456 of macosx-nightly-default is complete: Success [3build successful]  Build details are at http://buildbot.instantbird.org/builders/macosx-nightly-default/builds/2456
05:06:56 <-- Hoony1 has quit (Ping timeout: 121 seconds)
05:10:00 <-- Hoony has quit (Ping timeout: 121 seconds)
05:12:57 <Mook> Hmm, unclear what user name split thingy in the prpl are for.
05:16:08 <-- mconley has quit (Connection closed)
05:16:36 --> mconley has joined #instantbird
05:18:44 --> Rym has joined #instantbird
05:20:42 <-- mconley has quit (Ping timeout: 121 seconds)
05:24:27 <-- Rym has quit (Ping timeout: 121 seconds)
05:24:36 --> EionRobb has joined #instantbird
05:48:35 <-- kapy has quit (Connection closed)
05:51:06 --> kapy has joined #instantbird
06:00:49 <-- kapy has quit (Connection closed)
06:01:12 --> kapy has joined #instantbird
06:01:55 --> nhnt11 has joined #instantbird
06:01:55 * ChanServ sets mode +h nhnt11 
06:02:10 <-- kapy has quit (Connection closed)
06:04:43 --> kapy has joined #instantbird
06:04:59 --> Rym has joined #instantbird
06:05:27 <-- kapy has quit (Connection closed)
06:11:40 --> kapy has joined #instantbird
06:15:24 <-- kapy has quit (Connection closed)
06:15:33 --> kapy has joined #instantbird
06:18:04 <-- Hoony2 has quit (Connection closed)
06:23:59 --> Hoony has joined #instantbird
06:30:08 <-- EionRobb has quit (Ping timeout: 121 seconds)
06:32:25 <-- kapy has quit (Connection closed)
06:33:13 --> kapy has joined #instantbird
06:38:00 <-- kapy has quit (Connection closed)
06:44:11 --> EionRobb has joined #instantbird
06:49:53 <-- EionRobb has quit (Quit: Leaving.)
07:03:23 <-- DGMurdockIII has quit (Connection closed)
07:10:15 --> EionRobb has joined #instantbird
07:11:54 <-- nhnt11 has quit (Ping timeout: 121 seconds)
07:18:06 --> EionRobb1 has joined #instantbird
07:20:18 <-- EionRobb has quit (Ping timeout: 121 seconds)
07:30:53 --> nhnt11 has joined #instantbird
07:30:53 * ChanServ sets mode +h nhnt11 
07:38:23 --> kapy has joined #instantbird
07:39:50 --> Hoony1 has joined #instantbird
07:41:51 <-- Hoony1 has quit (Connection closed)
07:42:38 <-- Hoony has quit (Ping timeout: 121 seconds)
07:43:24 --> Hoony has joined #instantbird
07:43:37 <-- kapy has quit (Ping timeout: 121 seconds)
07:44:50 <-- Widdershins has quit (Ping timeout: 121 seconds)
08:02:26 <-- nhnt11 has quit (Connection closed)
08:02:36 --> nhnt11 has joined #instantbird
08:02:36 * ChanServ sets mode +h nhnt11 
08:05:05 <-- chrisccoulson_ has quit (Quit: OSError: [Errno 130] Owner died)
08:05:38 <-- BillBinkley has quit (Connection closed)
08:33:11 <-- Hoony has quit (Client exited)
08:33:17 --> Hoony has joined #instantbird
08:35:17 <-- Mook has quit (Client exited)
08:35:24 <instant-buildbot> build #149 of linux64-nightly-default is complete: Failure [4failed compile]  Build details are at http://buildbot.instantbird.org/builders/linux64-nightly-default/builds/149
08:37:08 <-- Rym has quit (Ping timeout: 121 seconds)
08:39:12 --> aleth has joined #instantbird
08:39:12 * ChanServ sets mode +o aleth 
08:49:50 * Fallen|away is now known as Fallen 
08:53:17 --> gerard-majax has joined #instantbird
09:09:02 <-- gerard-majax has quit (Ping timeout: 121 seconds)
09:19:53 --> Rym has joined #instantbird
09:21:04 --> kapy has joined #instantbird
09:24:23 <-- Rym has quit (Ping timeout: 121 seconds)
09:29:34 --> Hoony1 has joined #instantbird
09:29:35 <-- Hoony has quit (Connection closed)
09:42:15 <-- Hoony1 has quit (Client exited)
09:44:16 <-- EionRobb1 has quit (Quit: Leaving.)
09:45:57 <-- nhnt11 has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
09:46:06 --> nhnt11 has joined #instantbird
09:46:07 * ChanServ sets mode +h nhnt11 
09:47:58 <-- kapy has quit (Connection closed)
09:48:05 --> kapy has joined #instantbird
09:48:28 <-- kapy has quit (Connection closed)
10:06:53 --> Rym has joined #instantbird
10:11:22 <-- Rym has quit (Ping timeout: 121 seconds)
10:40:52 --> gerard-majax has joined #instantbird
10:49:11 <-- flo-retina has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
10:49:28 <-- aleth has quit (Quit: :tiuQ)
11:01:03 --> Rym has joined #instantbird
11:05:32 <-- Rym has quit (Ping timeout: 121 seconds)
11:06:20 --> aleth has joined #instantbird
11:06:20 * ChanServ sets mode +o aleth 
11:11:42 --> Hoony has joined #instantbird
11:12:23 <-- nhnt11 has quit (Ping timeout: 121 seconds)
11:14:21 --> hadi has joined #instantbird
11:17:34 --> clokep has joined #instantbird
11:17:34 * ChanServ sets mode +o clokep 
11:21:34 --> flo-retina has joined #instantbird
11:21:34 * ChanServ sets mode +qo flo-retina flo-retina 
11:25:00 <-- hadi has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
11:35:43 --> nhnt11 has joined #instantbird
11:35:43 * ChanServ sets mode +h nhnt11 
11:36:58 --> hadi has joined #instantbird
11:37:34 <-- hadi has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
11:41:38 <-- Bollebib has quit (Connection closed)
11:42:16 <clokep> I got statuses to work last night and started making the objects for IMs. :)
11:42:55 <aleth> soon you'll be blocked by video chats not having landed yet ;)
11:43:31 <clokep> Those don't work yet through the skypeweb stuff w/o a plug-in, I think EionRobb said.
11:47:58 <flo-retina> clokep: a plugin to add support for WebRTC in IE? :)
11:48:18 <clokep> flo-retina: I don't think it's WebRTC, it's necessary for all browsers...
11:48:30 <clokep> Now granted...we could probably install that plug-in into Instantbird and get it to work. ;)
11:48:40 <flo-retina> ugh
11:50:35 <flo-retina> aleth: btw, congrats on getting the date tooltips to actually work right :)
11:51:19 <clokep> "ugh" as in "that's gross"? :-D
11:51:48 <flo-retina> clokep: as in that would put our users at security risk
11:51:58 <flo-retina> (not worse than if they install that plugin in their browser though)
11:55:10 --> Rym has joined #instantbird
11:58:26 <clokep> To be clear, I wasn't suggesting we *do it*, just saying we /could/.
11:59:42 <-- Rym has quit (Ping timeout: 121 seconds)
12:02:18 <-- Hoony has quit (Ping timeout: 121 seconds)
12:03:34 <clokep> I'm more worried about just getting text conversations working anyway. :-D
12:03:43 * clokep wonders if we need MUCs to work to land this.
12:10:59 <-- clokep has quit (Ping timeout: 121 seconds)
12:49:22 --> Rym has joined #instantbird
12:53:51 <-- Rym has quit (Ping timeout: 121 seconds)
12:53:52 --> clokep_work has joined #instantbird
12:53:52 * ChanServ sets mode +o clokep_work 
12:55:47 <-- clokep_work has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
12:55:49 --> clokep_work has joined #instantbird
12:55:49 * ChanServ sets mode +o clokep_work 
13:00:01 <-- BWMerlin has quit (Client exited)
13:01:39 --> hadi has joined #instantbird
13:04:19 <hadi> Sooo, I cannot delete one of my accounts in instantbird, clicking delete on it does nothing!
13:04:35 --> Armada has joined #instantbird
13:07:23 <flo-retina> hadi: can you please check if there's an error in the error console?
13:07:58 <hadi> flo-retina:  There seems to be many errors in it, I wish i could copy all of them using my keyboard
13:08:11 <hadi> I think the last one said something about the conversation not being defined
13:08:43 <nhnt11> hadi: That's unfortunate. It may be helpful if you click the Clear button, then try to delete your account, and see if an error appeared
13:08:44 <flo-retina> are you using a screenreader? (sorry, I can't remember :()
13:09:01 <hadi> flo-retina:  yeah, and the error console is kinda.. not helpful
13:09:03 <nhnt11> Getting rid of all the other errors may not be a good idea though...
13:09:23 <hadi> Well, If.. i could find the clear button
13:09:31 <hadi> Let me try finding it
13:10:17 * nhnt11 wonders how accessible the error console is to screenreader users
13:10:54 <hadi> nhnt11:  it's not accessible at all
13:11:00 <hadi> Dunno why
13:11:01 <flo-retina> nhnt11: probably poor :(
13:11:01 <-- Tonnes has quit (Connection closed)
13:11:08 <aleth> It's bad enough if you can see.
13:11:19 <flo-retina> nhnt11: actually, I wonder if the debug logs in a tab is better
13:11:36 <aleth> flo-retina: At least with debug logs you can get the whole thing into the clipboard directly
13:11:43 <flo-retina> right
13:11:48 <hadi> Does the error console produce a log file.. of some sort?
13:11:59 <flo-retina> but there's no guarantee that all JS errors are logged in the account-specific log :-/
13:12:13 --> Tonnes has joined #instantbird
13:13:10 <aleth> hadi: What kind of account are you deleting? which protocol?
13:13:30 <hadi> aleth:  it's a synirc irc account
13:13:43 <hadi> And I think It has no channels
13:15:17 <aleth> I've never seen any problems deleting accounts :-|
13:15:39 <clokep_work> hadi: I can reproduce.
13:16:06 <hadi> hmm
13:16:10 <hadi> Ok i cleared the window
13:16:11 <flo-retina> clokep_work: you mean deleting IRC accounts is currently broken?
13:16:16 <flo-retina> if so, that really wants tests :-/
13:16:19 <clokep_work> flo-retina: Not all IRC accounts.
13:16:19 * aleth just deleted one and it worked fine
13:16:46 <hadi> just a sec, I'll give you the server im using
13:16:48 <clokep_work> I got this.buddies is undefined on http://mxr.mozilla.org/comm-central/source/chat/protocols/irc/irc.js#1710
13:16:53 <clokep_work> hadi: It doesn't matter. But thanks.
13:17:06 <hadi> clokep_work:  yeah that's the error i'm seeing on the console I think
13:17:18 <clokep_work> aleth: I created a new IRC account, connected it. Did it nothing else. Clicked "delete"
13:17:28 <flo-retina> clokep_work: so that's all connected IRC accounts with buddies?
13:17:35 <aleth> clokep_work: :-(
13:17:42 <hadi> How can i copy the error from the console? I got my mous on it
13:17:44 <flo-retina> ah, you don't even need the buddies array to be non-empty?
13:17:48 <clokep_work> flo-retina: No. All connected IRC accounts WITHOUT buddies.
13:17:53 <clokep_work> I think, at least.
13:17:57 <clokep_work> I didn't extensively test.
13:18:07 <clokep_work> hadi: Can you file a bug please?
13:18:15 <clokep_work> https://bugzilla.mozilla.org, chat core component
13:18:24 <hadi> clokep_work:  Ye ill do that
13:19:19 <hadi> oh hell yea, Hunted down the error finally. can i paste it here?
13:19:39 <hadi> Timestamp: 12/10/2014 4:45:12 PM
13:19:39 <hadi> Error: NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: [JavaScript Error: "this.conversations is undefined" {file: "resource://gre/components/irc.js" line: 1760}]'[JavaScript Error: "this.conversations is undefined" {file: "resource://gre/components/irc.js" line: 1760}]' when calling method: [prplIAccount::remove]
13:19:39 <hadi> Source File: resource://gre/components/imAccounts.js
13:19:39 <hadi> Line: 623
13:21:33 <nhnt11> I think that should be fixed in the nightlies?
13:21:34 <clokep_work> hadi: Thanks. :)
13:21:47 <hadi> I also will bug dis
13:24:07 <clokep_work> flo-retina: Any concept of how hard it would be to create tests for deleting accounts?
13:24:23 <clokep_work> Although I wrote the last set of tests we checked in, someone else's turn, right? ;)
13:24:26 <flo-retina> should be easy
13:24:37 <flo-retina> but it seems in this specific case you actually need to get the account in a connected state
13:24:40 <flo-retina> that may be the tricky part
13:24:55 <hadi> clokep_work:  Account manager component or chat?
13:25:05 <clokep_work> hadi: Chat core, IRC
13:25:49 <aleth> hadi: For that you don't want "Instantbird" as the product. But never mind, we can fix it later
13:26:10 <-- nhnt11 has quit (Ping timeout: 121 seconds)
13:26:51 <hadi> hmm. I'm running 1.6 nightly, so that's.. trunk i guess
13:27:04 <aleth> clokep_work: Do you see why it's broken? remove() looks OK to me at first glance. Or does it get called twice?
13:27:45 <clokep_work> aleth: My guess is that something is either not initialized properly or is uninitialized twice.
13:27:52 <clokep_work> Note that my error wasn't exactly the same. :-\
13:29:15 <instantbot> New Chat Core - IRC bug 1109589 filed by hadirezaei@gmx.com.
13:29:16 <instantbot> Bug https://bugzilla.mozilla.org/show_bug.cgi?id=1109589 nor, --, ---, nobody, UNCO, Can't delete IRC account
13:29:46 <aleth> clokep_work: ah, probably a race condition as closing convs is async
13:30:03 <aleth> eh, I mean disconnecting
13:30:30 <hadi> Oh i haven't tried disconnecting
13:30:42 <aleth> hadi: If you restart IB, disconnect, and then remove the account, it should hopefully work
13:30:55 <aleth> Thanks for reporting this bug!
13:31:04 <hadi> OK. disconnect does not work either!!!! I'm going to restart instantbird
13:31:27 <hadi> np :) IB is awesome
13:31:32 <-- hadi has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
13:33:19 --> hadi has joined #instantbird
13:34:01 <hadi> aleth:  That's right. I did what you said and i deleted it
13:34:11 <aleth> :-)
13:34:54 --> iamjayakumars has joined #instantbird
13:43:32 --> Rym has joined #instantbird
13:44:19 <-- qheaden has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
13:44:41 --> nhnt11 has joined #instantbird
13:44:42 * ChanServ sets mode +h nhnt11 
13:47:49 <clokep_work> hadi: Thanks.
13:48:00 <-- Rym has quit (Ping timeout: 121 seconds)
13:48:02 <hadi> clokep_work:  np
13:48:03 --> nhnt12 has joined #instantbird
13:48:04 * ChanServ sets mode +h nhnt12 
13:48:43 <-- nhnt11 has quit (Ping timeout: 121 seconds)
13:50:39 --> nhnt11 has joined #instantbird
13:50:39 * ChanServ sets mode +h nhnt11 
13:50:50 --> iamjayakumars__ has joined #instantbird
13:51:03 <-- iamjayakumars has quit (Ping timeout: 121 seconds)
13:52:05 <-- nhnt12 has quit (Ping timeout: 121 seconds)
13:53:20 <clokep_work> Guess I have something new to do tonight now. :-\
13:53:23 <clokep_work> Can I get an intern?
13:54:22 <flo-retina> why not?
13:54:42 <flo-retina> you can also take GSoC students ;)
13:55:04 <flo-retina> that tends to be more work though
13:55:36 <clokep_work> Yes. :'(
13:55:37 --> mhs has joined #instantbird
13:55:46 <mhs> hi folks
13:55:52 <flo-retina> hello :)
13:55:53 --> Hoony has joined #instantbird
13:55:59 <mhs> can instantbird connect to google hangouts multi-user chats?
13:56:01 <clokep_work> I'd like a GSoC student to clean up/extend/test our XMPP code this summer though.
13:56:01 <hadi> greetin
13:56:02 <-- Hoony has quit (Client exited)
13:56:55 <clokep_work> mhs: I don't think so, we used to be able to join some MUCs that were done through GTalk, but that was before hangouts...I haven't tried since then.
13:57:08 <clokep_work> At least not easily. :(
13:57:20 --> Hoony has joined #instantbird
13:57:27 <mhs> alas! ok, thanks for the info
13:57:31 <hadi> I hope Instantbird get some voice protocol or some sort, So i could be free of the  (new) skype 7 interface
13:57:44 <hadi> I mean that is literally crap.
13:59:00 <mhs> the code smell escapes through the interface ;-)
13:59:30 <hadi> Have you seen skype v7?
13:59:44 <hadi> It's like  a... tablet app on  windows 7
14:00:05 <aleth> mhs: we hope to have video chats soon
14:00:18 <hadi> aleth:  OMG! with voice too?
14:00:48 <clokep_work> mhs: If you look at the debug log it should at least tell you whether you got the invite to it or not over the XMPP interface. If we did...well then it's possible to *do* something. Someone just needs to write the code to parse it. :)
14:00:54 <aleth> hadi: if you turn off the webcam, I guess it's voice only ;)
14:00:54 <clokep_work> If we don't get the invite...not much we can do.
14:01:02 <-- nhnt11 has quit (Ping timeout: 121 seconds)
14:01:35 <hadi> aleth:  What service will it be on? Or maybe it'll be a p2p  thingy/
14:01:53 <flo-retina> hadi: it will use WebRTC, so yes, p2p.
14:02:13 <hadi> OOORRRRGRGGRRR I can't wait for that
14:02:17 <flo-retina> hadi: it will work first on XMPP
14:02:26 <flo-retina> but we are hoping for IRC support at some point too
14:02:44 <hadi> Oh.. huh
14:03:08 <hadi> You mean voice chat with people who are in an irc chatroom? lol that'd be totally rad
14:03:18 <flo-retina> no, for IRC private conversations
14:03:37 <hadi> Oh i see
14:03:41 <hadi> Still rad
14:03:42 <mhs> @clokep_work I was hoping that I could just connect to google with my regular user and then automatically participate in all group chats that I've been invited to (and joined) at some point
14:03:48 <hadi> They have to have instantbird though :D
14:04:11 <clokep_work> mhs: Yes, I understand...that's exactly what I'm talking about.
14:04:16 <aleth> mhs: that used to work fine until hangouts
14:04:19 <mhs> ah ok
14:04:33 <aleth> well, more or less fine, our JS-XMPP MUC support is a bit sketchy.
14:04:39 <flo-retina> hadi: Instantbird, or Thunderbird. Maybe we'll be able to just give a clickable link to people who have other clients, so that they can connect from their WebRTC-enabled web browser
14:04:51 <mhs> clokep_work: how can i get to the debug log?
14:04:53 <hadi> flo-retina:  I have not  xmpp at all, I don't know what it is even. Sounds like a open-source msg system
14:05:04 <flo-retina> hadi: Google Talk uses xmpp
14:05:24 <clokep_work> mhs: Right click on the account and in the account manager: copy debug log
14:05:46 * clokep_work could likely do it too...
14:05:47 <aleth> hadi: A lot of services are built on XMPP, but yes, there are a lot of open servers where you can get an xmpp account
14:05:51 <clokep_work> I have enough XMPP accounts around haha.
14:06:04 <hadi> lol nice
14:06:25 <hadi> But this voice project on Instantbird, I like it. It sounds cool
14:06:56 <clokep_work> Feel free to help out. :-D
14:08:19 <aleth> clokep_work: yes, a "polish XMPP" gsoc project would be really useful if we found the right student for it
14:09:33 <hadi> ay. No coding knowledge. I'd be happy to test and drive people into it though
14:10:05 <flo-retina> aleth: a "let's test all the things" GSoC would also be super useful
14:10:14 <-- iamjayakumars__ has quit (Connection closed)
14:10:23 <aleth> yes
14:11:51 <mhs> clokep_work: I found the name of the group chat to which I wanted to connect in the log (but only once), but I can't make sense of the messages logged around it. According to the timestamp, it was logged when I bluntly tried to connect to it via "Join chat"
14:12:37 <aleth> mhs: The interesting bit would be the response from the server
14:12:59 <clokep_work> IIRC Google uses random UUIDs for their chat names.
14:13:10 <clokep_work> So just joining doesn't work. :(
14:13:15 <mhs> darn
14:13:19 <clokep_work> mhs: If you remind me tonight I might be able to to test it.
14:13:22 * clokep_work is _work right now. :)
14:13:33 <clokep_work> Or if you have some programming knowledge I can guide you through bits of it.
14:14:41 <mhs> got it! i'll remind you before I leave work, because mhs_Feierabend isn't usually online :-)
14:14:55 <clokep_work> Sounds good. :)
14:15:11 <mhs> great, thanks
14:15:47 <clokep_work> mhs: Looks like I dumped my knowledge into bug 954942
14:15:50 <instantbot> Bug https://bugzilla.mozilla.org/show_bug.cgi?id=954942 nor, --, ---, nobody, NEW, Support MUCs in GTalk
14:21:11 <mhs> clokep_work: interesting, so it *should* work, although with several glitches
14:21:51 <mhs> clokep_work: do you happen to know how to get the uuid of a group that I already joined?
14:22:32 <mhs> (except by creating another google account and inviting myself)
14:22:41 <clokep_work> mhs: No, I don't. Sorry. :(
14:22:56 <mhs> no worries
14:25:36 <clokep_work> Ah...right, the debug log only goes back 100 messages by default, so probably not in there if you've been chatting at all.
14:25:40 <clokep_work> FWIW I'd also like this fixed. :-D
14:35:14 <hadi> So any ideas under what linux  distros you can have Instantbird? I know that on Arch linux you have to  get it from AUR and you need to install an older xulrunner version
14:37:16 <hadi> Oh and there's builds from instantbird.org but  I have no idea how you install them
14:37:40 --> Rym has joined #instantbird
14:42:09 <-- Rym has quit (Ping timeout: 121 seconds)
14:43:37 <clokep_work> hadi: The builds from instantbird.org are just archives, you just extract and run it. Of course you need the right pre-reqs, but it should run on Debian/Ubuntu.
14:43:43 <clokep_work> It'd be nice to be in the repositories for some distros...
14:43:58 <hadi> I use Arch, I will try this on arch
14:44:01 --> iamjayakumars has joined #instantbird
14:47:13 <clokep_work> I know very little about Arch, sorry.
14:51:28 * Tobin is now known as BinaryOutcast 
14:51:33 <-- BinaryOutcast has quit (Quit: Our job is to state the truth and let the facts attend to themselves.)
14:55:01 <aleth> Looks like they actually have 1.5 :) https://aur.archlinux.org/packages/instantbird/
15:01:14 <hadi> aleth:  yeah
15:01:37 <hadi> aleth:  but It requires you to download a xulrunner (v26) manually. Not sure why's that
15:01:45 <hadi> It does not work with xulrunner 30
15:02:18 <clokep_work> hadi: Because Instantbird 1.5 is based on Gecko 26.
15:02:34 <clokep_work> And XULRunners are no longer backward compatible.
15:02:58 <hadi> Oh, so that's Arch's fault on being bleeding edge, I guess?
15:03:28 <hadi> I guess Ubuntu and debian are on the required xulrunner, but arch uses the  latest one so that breaks
15:04:11 --> mconley has joined #instantbird
15:08:33 <-- iamjayakumars has quit (Connection closed)
15:13:43 <clokep_work> hadi: Our distribution doesn't run on top of XULRunner, I think.
15:14:25 <hadi> clokep_work:  your distribution?
15:15:25 --> iamjayakumars has joined #instantbird
15:15:30 <clokep_work> hadi: The ones on instantbird.org you talked about earlier.
15:15:42 <-- iamjayakumars has quit (Connection closed)
15:15:57 <hadi> clokep_work:  Oh
15:26:27 <aleth> Yes, it should just work.
15:26:45 <aleth> Of course it will also not automatically be integrated into your window manager's menus etc.
15:26:57 <aleth> That's what packaging does for you...
15:28:20 --> nhnt11 has joined #instantbird
15:28:21 * ChanServ sets mode +h nhnt11 
15:31:00 <aleth> nhnt11: ReferenceError: reference to undefined property aTab.linkedConversation, Source File: chrome://instantbird/content/tabbrowser.xml, Line: 931 on closing a window with a debug log tab open
15:31:48 --> Rym has joined #instantbird
15:32:53 <nhnt11> aleth: Happens when there's any non-conversation tab open I'm afraid
15:32:53 <nhnt11> bah
15:33:21 * nhnt11 feels like he's fixed this before
15:33:31 <nhnt11> I clearly remember adding a filter() there
15:33:41 <nhnt11> Oh, there IS a filter
15:36:17 <-- Rym has quit (Ping timeout: 121 seconds)
15:50:13 <hadi> aleth:  That's right. I just use your builds and link  it to my desktop
15:56:14 <-- Hoony has quit (Client exited)
15:56:22 --> Hoony has joined #instantbird
15:56:44 <-- Hoony has quit (Client exited)
16:15:42 --> Defman has joined #instantbird
16:19:03 --> sherief has joined #instantbird
16:26:00 --> Rym has joined #instantbird
16:30:29 <-- Rym has quit (Ping timeout: 121 seconds)
16:40:56 --> sonny has joined #instantbird
16:42:23 --> sonny1 has joined #instantbird
16:45:03 <-- sonny1 has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
16:45:14 <-- sonny has quit (Connection closed)
16:45:21 --> sonny has joined #instantbird
16:48:37 <-- sonny has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
16:48:42 --> sonny has joined #instantbird
17:04:36 <-- gerard-majax has quit (Ping timeout: 121 seconds)
17:06:07 --> myk has joined #instantbird
17:07:10 <-- myk has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
17:07:12 --> myk has joined #instantbird
17:20:09 --> Rym has joined #instantbird
17:24:37 <-- Rym has quit (Ping timeout: 121 seconds)
17:33:54 --> gerard-majax has joined #instantbird
17:37:23 <clokep_work> aleth: Any thoughts on that IRC account thing? We seem to use buddies in lots of places so it *should* exist, it shows up as undefined though.
17:39:48 <-- mhs has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
17:45:09 <clokep_work> The list of keys returned when i do Object.keys() is...unexpected.
17:45:14 <-- gerard-majax has quit (Ping timeout: 121 seconds)
17:45:30 <clokep_work> http://pastebin.instantbird.com/1094350
17:45:35 <clokep_work> That's object.keys(this) in that method.
17:48:04 --> Bollebib has joined #instantbird
17:49:01 * clokep_work is very stumped.
17:49:04 <aleth> You mean the deletion issue?
17:49:06 <clokep_work> Maybe "this" is wrong?
17:49:09 <clokep_work> aleth: Yep!
17:50:23 --> gerard-majax has joined #instantbird
17:51:24 <aleth> clokep_work: Calling remove() deletes it and then it's undefined. My guess is we don't disconnect before removing the account
17:51:42 <clokep_work> aleth: We do, we call quit()
17:51:54 <clokep_work> Maybe it's the wrong order though...
17:51:57 <clokep_work> Or a race like you said.
17:54:05 <aleth> Looks like reportDisconnecting gets called after remove, at least
17:56:38 <clokep_work> Yeah, maybe that's all the issue is.
17:57:33 <-- hadi has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
18:03:20 <clokep_work> aleth: Yes, that looks like the issue. Good catch.
18:07:02 --> Mook_as has joined #instantbird
18:11:45 --> hadi has joined #instantbird
18:13:37 <-- gerard-majax has quit (Ping timeout: 121 seconds)
18:14:17 --> Rym has joined #instantbird
18:14:59 * Fallen is now known as Fallen|away 
18:18:48 <-- Rym has quit (Ping timeout: 121 seconds)
18:19:10 --> Rym has joined #instantbird
18:19:33 <Mook_as> Hi! So, questions from prpl-writing-land: this thing really wants me to just show a web page and let the user enter things from there (rather than providing user name / password up front); is there some good way to do that, or should I just try to autofill the form (and hope it doesn't change)?
18:20:24 <aleth> Is this during account creation, like oauth for twitter?
18:20:31 <clokep_work> Mook_as: I saw you had a lot of questions yesterday!
18:20:32 <Mook_as> yeah
18:20:43 <Mook_as> yep, first time writing a prpl, bound to have questions!
18:20:52 <aleth> You can probably steal the code from twitter then
18:20:53 <Mook_as> (hint: I have no idea what I'm doing)
18:21:01 <clokep_work> Mook_as: So a username is made up of multiple parts, the username split defines this.
18:21:14 <clokep_work> Mook_as: E.g. IRC usernames are a nick + a server (concatenated with an "@")
18:21:21 <Mook_as> okay, that makes sense...
18:21:23 <clokep_work> We use these names to figure out 'unique' names of accounts.
18:21:33 <clokep_work> prpl-ID + username should be unique.
18:21:45 <clokep_work> Mook_as: And no, they can't be bootstrapped currently.
18:21:47 <Mook_as> that's information that I'd basically want to get _after_ the oauth response, though
18:22:13 <Mook_as> it can be _kind of_ bootstrapped; at least, showing up in the account creation list. I assume reconnect on next start will be broken :)
18:23:21 <-- Rym has quit (Ping timeout: 121 seconds)
18:23:34 <clokep_work> There's a bug open for making bootstrapped work.
18:23:41 <clokep_work> But weird things would happen if you try to remove the account...
18:23:50 <clokep_work> I mean remove the XPI without removing the account.
18:23:54 * clokep_work still wants to know what prpl. ;)
18:24:06 <Mook_as> right :) I don't have a working account yet, so I don't have to worry about it! :p
18:24:45 <-- aleth has quit (Connection closed)
18:25:26 --> aleth has joined #instantbird
18:25:27 * ChanServ sets mode +o aleth 
18:25:34 <-- flo-retina has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
18:27:06 <clokep_work> Mook_as: And please let us know what's not clear and needs better documentation!
18:27:56 --> aleth1 has joined #instantbird
18:27:56 * ChanServ sets mode +o aleth1 
18:27:59 <Mook_as> clokep_work: having the test proto be built as an extension I could download and look at would be nice!
18:28:11 <Mook_as> (as opposed to in the tree, where all the extension bits are missing)
18:28:49 <Mook_as> (but that's more of a nice to have)
18:29:28 <-- aleth has quit (Ping timeout: 121 seconds)
18:29:28 * aleth1 is now known as aleth 
18:30:50 <aleth> Mook_as: There are protocol addons on AIO, iirc
18:30:55 <aleth> Not many, but some.
18:31:09 --> gerard-majax has joined #instantbird
18:31:21 <Mook_as> Yeah, looked through some (there's a pointer on the wiki for... I can't remember which)
18:31:48 <clokep_work> Mook_as: Likely LJ Talk, which I built.
18:31:52 <clokep_work> But that's a fake one. It's just XMPP.
18:31:56 <clokep_work> Or maybe it was omegle?
18:32:02 <clokep_work> But that code is out of date. :(
18:32:32 <Mook_as> omegle, I think? yeah, it looked totally out of date.
18:33:49 <aleth> The packaging part shouldn't have changed much though
18:34:02 <aleth> If that's what you're interested in
18:34:24 <aleth> The best examples for prpl code are in the tree, of course
18:35:06 <Mook_as> Yep. Just needs more comments (e.g. around the username split part, which has been explained)
18:39:48 <clokep_work> Mook_as: more comments where?
18:39:50 <Mook_as> so, back to the username thing: anything better than grovelling around in their oauth page? :)
18:39:52 <clokep_work> In the tree?
18:40:08 <clokep_work> Mook_as: If you want to break your TOS you can likely auto-fill that stuff.
18:40:18 <Mook_as> Right http://dxr.mozilla.org/comm-central/source/chat/components/public/prplIProtocol.idl#93
18:40:25 <clokep_work> Oh, hah. :)
18:40:25 <Mook_as> explain what the interface is for :)
18:40:33 <clokep_work> Obviously it splits a username. :P
18:40:50 <Mook_as> My username is a word, it doesn't need splitting :p
18:40:55 <clokep_work> That's an inherited interface btw. :(
18:41:07 <clokep_work> You can not provide one then.
18:41:12 <clokep_work> jsProtoHelper defaults to that case.
18:41:43 <Mook_as> Yeah, not giving one right now (though I think I'll actually need one for the account scope)
18:41:54 <clokep_work> Mook_as: So for twitter, we ask for the username, bring up OAuth, have them do that jam, at the end we ensure the username matches what they originally provided.
18:42:06 <Mook_as> ah, okay
18:42:08 <clokep_work> The Twitter URL for oauth accepts a parameter to autofill the username field, so we use that.
18:42:15 <Mook_as> yeah, this one doesn't
18:42:20 <clokep_work> Mook_as: Does that sound like it'd work?
18:42:33 <clokep_work> It's icky though, I agree.
18:42:35 <Mook_as> oh, whatever. it's https://api.slack.com/docs/oauth
18:42:49 <clokep_work> Mook_as: Just turn on the XMPP or IRC interface?
18:42:53 <clokep_work> :p
18:43:17 <Mook_as> I do have IRC turned on! it's just... not very nice, because they can't tell when I've read it :p
18:43:25 <clokep_work> Mook_as: https://slack.zendesk.com/hc/en-us/articles/201727913-Connecting-to-Slack-over-IRC-and-XMPP ;)
18:43:31 <clokep_work> Mook_as: Haha, fair enough. :)
18:43:45 <clokep_work> Mook_as: FWIW I also want that support so...now I'm actually willing to help you. :-D
18:43:48 <Mook_as> (also, I have a couple dozen conversations, all with the same icon...)
18:44:23 <Mook_as> (I'm exploring w/ mookmook.slack.com if that is useful)
18:44:54 <clokep_work> Mook_as: So is the username thing explained OK or do you need more brainstorming?
18:44:57 * clokep_work has 10 more minutes.
18:45:30 <Mook_as> I _think_ it's okay, though having the user fill it in twice is kinda sucky.  I'll play around w/ a twitter account and see how that goes.
18:45:34 <clokep_work> Mook_as: Also, Thunderbird has a built in OAuth module, please use it. :)
18:45:53 * clokep_work cringes every time someone writes their own oauth code...
18:45:55 <Mook_as> That means this won't work for instantbird :p
18:46:06 <Mook_as> (which I'm totally okay with, I don't use it anyway! XD )
18:47:42 <clokep_work> I really want to move that code to toolkit, but have been lazy about it.
18:47:49 <clokep_work> Maybe I'll file a bug tonight. :P
18:49:40 <-- gerard-majax has quit (Ping timeout: 121 seconds)
18:50:17 * Fallen|away is now known as Fallen 
18:50:53 --> flo-retina has joined #instantbird
18:50:54 * ChanServ sets mode +qo flo-retina flo-retina 
18:52:14 <aleth> bah, why is it that sometimes you have to write essentially the same thing twice before you see how to abstract it out
18:53:22 <clokep_work> Mook_as: You could always ship a copy of the oauth module though. ;) But that's silly.
18:53:41 --> arlolra has joined #instantbird
18:54:06 <Mook_as> I guess my prpl will be tb-only until you move it, then! :p
18:55:12 <clokep_work> ;)
18:55:23 <clokep_work> It'll give me a bigger push to actually move it.
19:00:35 --> Rym has joined #instantbird
19:00:46 <-- myk has quit (Connection closed)
19:00:52 --> myk has joined #instantbird
19:06:30 <-- Rym has quit (Ping timeout: 121 seconds)
19:33:07 --> Rym has joined #instantbird
19:37:26 <-- Rym has quit (Ping timeout: 121 seconds)
19:38:05 --> EionRobb has joined #instantbird
19:44:46 <flo-retina> aleth: sorry for the lack of feedback there :(
19:45:01 <-- hadi has quit (Connection closed)
19:45:31 <aleth> yeah well, I'm pretty sure it works anyway ;)
19:50:10 <aleth> you can test this version...
20:03:36 <flo-retina> maybe I cna test the next nightly? (if you are sure :))
20:06:26 <aleth> maybe... looks like all trees are closed
20:08:04 <flo-retina> I'm also annoyed by that
20:08:18 <flo-retina> I've got 3 r+'ed patches I want to land tonight to uplift them to beta tomorrow
20:27:05 --> Rym has joined #instantbird
20:31:36 <-- Rym has quit (Ping timeout: 121 seconds)
20:53:50 <-- sonny has quit (Ping timeout: 121 seconds)
21:14:57 --> sonny has joined #instantbird
21:21:17 --> Rym has joined #instantbird
21:25:46 <-- Rym has quit (Ping timeout: 121 seconds)
21:28:22 <-- sonny has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
21:30:42 <clokep_work> aleth: Huh, I'm surprised that your "commandBuffers" is a Map.
21:30:46 <clokep_work> That doesn't seem very queue like to me. :-D
21:31:08 <aleth> It's not really a queue, so I renamed it
21:31:32 <clokep_work> I see.
21:31:38 <clokep_work> I haven't looked at the implmentation yet. will soon. :)
21:32:02 <aleth> If you have a better name, that would be good...
21:35:29 <EionRobb> commandBufferQueueMapEntityBean
21:36:40 <EionRobb> http://projects.haykranen.nl/java/ can help you pick a nam
21:37:39 <aleth> heh :D
21:41:01 <clokep_work> Probably should say Synchronized too so we know it's threadsafe.
21:46:19 <aleth> should probably wrap the whole thing into a SynchronizedCommandBufferFactory
21:46:59 <-- mpmc has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
21:47:33 <clokep_work> Ugh, factories.
22:15:25 --> Rym has joined #instantbird
22:19:55 <-- Rym has quit (Ping timeout: 121 seconds)
22:22:30 <-- Defman has quit (Connection closed)
22:23:08 --> DGMurdockIII has joined #instantbird
22:24:57 <-- mconley has quit (Connection closed)
22:25:25 --> mconley has joined #instantbird
22:29:29 <-- mconley has quit (Ping timeout: 121 seconds)
22:29:56 <Fallen> factories cause pollution
22:31:06 <clokep_work> :)
22:36:36 <aleth> Looks like the trees are open again... just got some bugmail.
22:37:55 <-- Armada has quit (Connection closed)
22:40:24 * Fallen is now known as Fallen|away 
22:55:35 <DGMurdockIII> AIM still not working
23:00:04 <clokep_work> aleth: I'm pretty sure you're fixing bug 954167 btw. ;)
23:00:06 <instantbot> Bug https://bugzilla.mozilla.org/show_bug.cgi?id=954167 enh, --, ---, clokep, ASSI, JS-Socket should automatically handle flood control
23:00:13 <clokep_work> Well kindo f.
23:00:16 <clokep_work> Another aspect of it.
23:03:24 <aleth> It's related I guess, but different. The rate at which we're allowed to send eg. JOINs is much lower than what that bug would tackle
23:03:39 <clokep_work> I'm unsure if that bug is even necessary honestly.
23:04:04 <clokep_work> But the "automatic" part of that was that it should be categorized to differetnt types of messages.
23:06:28 <aleth> Yeah, then it would get to be more similar.
23:06:31 --> hadi has joined #instantbird
23:07:06 <clokep_work> Yay for vague bugs from almost 4 years ago?
23:07:38 <aleth> you did say it wasn't your priority ;)
23:07:53 <clokep_work> :) I'm unsure it's even necessary.
23:08:20 <aleth> The approach in my patch is to avoid the problem by sending less messages, anyway, which is kind of orthogonal to spacing them out
23:08:52 <clokep_work> True.
23:09:08 <aleth> Speeds up connection a bit ;)
23:09:13 <clokep_work> Combine PRIVMSG by giving multiple targets? :P
23:09:30 <clokep_work> So when you log in and say "Hi" in a lot of places it gets sent once. :P
23:09:32 <aleth> :D
23:09:35 --> Rym has joined #instantbird
23:10:16 <clokep_work> If you actually do that, I'll be very unhappy haha.
23:10:48 <aleth> would be a nice example of pointless optimization :-)
23:11:44 --> BWMerlin has joined #instantbird
23:12:53 <-- Bollebib has quit (Connection closed)
23:12:56 --> Morian has joined #instantbird
23:14:05 <-- Rym has quit (Ping timeout: 121 seconds)
23:19:47 <-- clokep_work has quit (Ping timeout: 121 seconds)