#instantbird log on 10 12 2015

All times are UTC.

00:09:31 --> Alex has joined #instantbird
00:16:17 --> pWnnn has joined #instantbird
00:36:21 <-- pWnnn has quit (Client exited)
00:36:55 --> clokep has joined #instantbird
00:36:55 * ChanServ sets mode +o clokep 
00:39:02 <-- freaktechnik has quit (Ping timeout: 121 seconds)
00:40:03 --> pWnnn has joined #instantbird
00:40:18 --> freaktechnik has joined #instantbird
00:56:09 <-- aleth has quit (Ping timeout: 121 seconds)
01:13:43 <-- clokep has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
01:13:45 --> clokep has joined #instantbird
01:13:45 * ChanServ sets mode +o clokep 
02:59:01 <instant-buildbot> build #1549 of linux-nightly-default is complete: Failure [4failed compile]  Build details are at http://buildbot.instantbird.org/builders/linux-nightly-default/builds/1549
03:15:05 <-- clokep has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
03:15:19 --> clokep has joined #instantbird
03:15:19 * ChanServ sets mode +o clokep 
03:51:54 <instant-buildbot> build #1771 of win32-nightly-default is complete: Success [3build successful]  Build details are at http://buildbot.instantbird.org/builders/win32-nightly-default/builds/1771
03:52:52 <-- clokep has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
03:56:52 <instant-buildbot> build #2935 of macosx-nightly-default is complete: Success [3build successful]  Build details are at http://buildbot.instantbird.org/builders/macosx-nightly-default/builds/2935
04:35:41 <-- EionRobb has quit (Quit: Leaving.)
05:17:39 --> EionRobb has joined #instantbird
05:38:15 <instant-buildbot> build #459 of linux64-nightly-default is complete: Failure [4failed compile]  Build details are at http://buildbot.instantbird.org/builders/linux64-nightly-default/builds/459
07:42:58 <-- chrisccoulson has quit (Ping timeout: 121 seconds)
08:11:38 --> chrisccoulson has joined #instantbird
08:12:32 <-- chrisccoulson has quit (Connection closed)
08:12:34 --> chrisccoulson has joined #instantbird
08:14:28 --> gerard-majax has joined #instantbird
08:36:25 <-- gerard-majax has quit (Ping timeout: 121 seconds)
08:40:05 --> gerard-majax has joined #instantbird
08:42:02 --> Bollebib has joined #instantbird
08:51:09 <-- flo-retina has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
08:57:11 <-- gerard-majax has quit (Ping timeout: 121 seconds)
09:01:06 --> aleth has joined #instantbird
09:01:07 * ChanServ sets mode +o aleth 
09:07:10 <-- aleth has quit (Ping timeout: 121 seconds)
09:13:46 --> flo-retina has joined #instantbird
09:13:47 * ChanServ sets mode +qo flo-retina flo-retina 
09:27:47 <-- Alex has quit (Connection closed)
09:36:59 <-- mikef has quit (Ping timeout: 121 seconds)
09:38:17 --> mikef has joined #instantbird
09:39:18 --> gerard-majax has joined #instantbird
10:13:58 --> mpmc has joined #instantbird
10:29:06 <-- EionRobb has quit (Quit: Leaving.)
10:35:27 <-- mpmc has quit (Connection closed)
11:07:40 <-- flo-retina has quit (A TLS packet with unexpected length was received.)
11:08:31 --> flo-retina has joined #instantbird
11:08:32 * ChanServ sets mode +qo flo-retina flo-retina 
11:20:02 --> aleth has joined #instantbird
11:20:02 * ChanServ sets mode +o aleth 
11:36:03 --> afiksof has joined #instantbird
11:41:26 --> nhnt11 has joined #instantbird
11:41:27 * ChanServ sets mode +h nhnt11 
12:17:53 --> clokep_work has joined #instantbird
12:17:53 * ChanServ sets mode +o clokep_work 
12:24:00 <-- aleth has quit (Ping timeout: 121 seconds)
12:26:21 --> aleth has joined #instantbird
12:26:22 * ChanServ sets mode +o aleth 
13:37:18 <-- aleth has quit (Ping timeout: 121 seconds)
13:37:59 --> aleth has joined #instantbird
13:38:00 * ChanServ sets mode +o aleth 
13:58:34 --> mpmc has joined #instantbird
13:59:19 <-- afiksof has quit (Ping timeout: 121 seconds)
14:16:40 <flo-retina> is "Error: Maximum size for WATCH list exceeded (35)." expected? (nice that it's no longer NaN :))
14:17:21 <clokep_work> flo-retina: You have too many friends, please reduce your social interactions.
14:18:36 <flo-retina> clokep_work: I think you mean too many former managers ;)
14:18:55 <clokep_work> flo-retina: I think you were going to file a bug to ask to bump the max amount?
14:19:12 <flo-retina> maybe :)
14:21:15 <-- aleth has quit (Ping timeout: 121 seconds)
14:21:20 --> aleth has joined #instantbird
14:21:20 * ChanServ sets mode +o aleth 
15:05:03 --> abdelrhman has joined #instantbird
15:13:22 --> myk has joined #instantbird
15:13:38 <-- myk has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
15:13:40 --> myk has joined #instantbird
15:16:16 <abdelrhman> aleth: When freaktechnik was taking about buddyIcons in MUCs, was it only for twitter?
15:16:24 <aleth> abdelrhman: No
15:16:52 <aleth> Whoever adds that to the API should do it so it works for any protocol
15:17:23 <aleth> (in principle)
15:20:04 <clokep_work> abdelrhman: Although we wouldn't necessarily need to do all protocols at once.
15:21:04 <aleth> Yeah, all it means is that the API has to be designed that way.
15:22:35 <abdelrhman> OK, to keep everything clear. The buddyIcon will be shown in the tooltip when the user hovers MUC participant in MUC conversation. right?
15:23:47 <clokep_work> abdelrhman: Yep, the same way it looks when you hover over buddies.
15:25:05 <-- aleth has quit (Ping timeout: 121 seconds)
15:27:33 --> aleth has joined #instantbird
15:27:33 * ChanServ sets mode +o aleth 
15:29:15 <aleth> iirc buddy icons are saved across sessions though, you wouldn't need to do that for MUC participants of course
15:39:25 <abdelrhman> but I think this is already existing!
15:42:30 <-- aleth has quit (Connection closed)
15:42:35 --> aleth has joined #instantbird
15:42:36 * ChanServ sets mode +o aleth 
15:45:54 <abdelrhman> Is there a tool for images to use like pastebin for IB?
15:47:48 <clokep_work> abdelrhman: I think most of us use imgur or puush
15:49:03 --> aleth1 has joined #instantbird
15:49:03 * ChanServ sets mode +o aleth1 
15:50:12 <-- aleth has quit (Ping timeout: 121 seconds)
15:50:12 * aleth1 is now known as aleth 
15:53:41 <abdelrhman> OK. I tested that and I'm sure that buddyIcon is already working for XMPP
15:54:04 <aleth> For contacts, yes it works.
15:54:13 <aleth> For MUC participants, it doesn't
15:55:04 <abdelrhman> yes. we need only to add that for MUC (Now, it's clear) :-)
15:55:10 <aleth> yes :-)
16:01:08 <-- abdelrhman has quit (Ping timeout: 121 seconds)
16:01:56 --> abdelrhman has joined #instantbird
16:02:24 <-- gerard-majax has quit (Ping timeout: 121 seconds)
16:07:32 <-- mpmc has quit (Connection closed)
16:12:31 <-- aleth has quit (Connection closed)
16:12:33 --> aleth has joined #instantbird
16:12:34 * ChanServ sets mode +o aleth 
16:18:03 <-- myk has quit (Connection closed)
16:18:41 --> myk has joined #instantbird
16:27:07 --> gerard-majax has joined #instantbird
16:28:44 <instantbot> New Instantbird - Conversation bug 1213908 filed by a.ahmed1026@gmail.com.
16:28:45 <instantbot> Bug https://bugzilla.mozilla.org/show_bug.cgi?id=1213908 nor, --, ---, nobody, NEW, Add support for setting buddyIcon in prplITooltipInfo
16:45:49 <-- gerard-majax has quit (Ping timeout: 121 seconds)
16:55:02 --> gerard-majax has joined #instantbird
17:00:43 <-- gerard-majax has quit (Ping timeout: 121 seconds)
17:01:17 --> gerard-majax has joined #instantbird
17:05:32 <-- flo-retina has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
17:07:34 <-- gerard-majax has quit (Quit: Leaving)
17:07:36 --> gerard-majax_ has joined #instantbird
17:11:37 <-- gerard-majax_ has quit (Ping timeout: 121 seconds)
17:20:22 --> gerard-majax has joined #instantbird
17:23:56 --> flo-retina has joined #instantbird
17:23:56 * ChanServ sets mode +qo flo-retina flo-retina 
17:24:17 <-- aleth has quit (Quit: :tiuQ)
17:24:19 --> aleth has joined #instantbird
17:24:20 * ChanServ sets mode +o aleth 
17:28:58 <-- clokep_work has quit (Ping timeout: 121 seconds)
17:33:01 --> hadi has joined #instantbird
17:36:26 <-- aleth has quit (Ping timeout: 121 seconds)
17:36:49 <-- flo-retina has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
17:41:58 <-- gerard-majax has quit (Ping timeout: 121 seconds)
18:00:06 --> Mnyromyr has joined #instantbird
18:15:56 <-- Mnyromyr has quit (Ping timeout: 121 seconds)
18:31:47 --> Tonnes has joined #instantbird
18:40:37 --> gerard-majax has joined #instantbird
18:47:43 --> aleth has joined #instantbird
18:47:43 * ChanServ sets mode +o aleth 
18:55:50 <-- abdelrhman has quit (Ping timeout: 121 seconds)
18:57:23 --> abdelrhman has joined #instantbird
19:00:43 <-- gerard-majax has quit (Ping timeout: 121 seconds)
19:00:58 --> Mnyromyr has joined #instantbird
19:12:50 <-- Mnyromyr has quit (Quit: ChatZilla 0.9.92 [SeaMonkey 2.38/20150923193515])
19:37:10 --> EionRobb has joined #instantbird
19:42:23 --> gerard-majax has joined #instantbird
20:06:44 <-- gerard-majax has quit (Ping timeout: 121 seconds)
20:09:19 --> mpmc has joined #instantbird
20:10:09 <abdelrhman> aleth: What is target property here ? (https://dxr.mozilla.org/comm-central/source/chat/content/imtooltip.xml#350)
20:11:26 --> clokep_work has joined #instantbird
20:11:27 * ChanServ sets mode +o clokep_work 
20:11:36 <aleth> abdelrhman: https://dxr.mozilla.org/comm-central/source/chat/components/src/imConversations.js#108
20:12:05 <abdelrhman> Ah, Thanks.
20:23:14 <instantbot> clokep@patrick.cloke.us changed the Resolution on bug 953976 from --- to WONTFIX.
20:23:15 <instantbot> Bug https://bugzilla.mozilla.org/show_bug.cgi?id=953976 enh, --, ---, nobody, RESO WONTFIX, Enhance Facebook XMPP-chat with missing features
20:55:36 <abdelrhman> aleth: When this case happens (https://dxr.mozilla.org/comm-central/source/chat/content/imtooltip.xml#465)?
20:56:20 <aleth> If you hover over a nick in the conversation itself
20:56:26 <abdelrhman> Actually, I want to pass chatBuddy directly to updateTooltipFromParticipant not the nick.
20:56:43 <aleth> There's no way you can do that.
20:57:33 <clokep_work> aleth must have had fun with https://dxr.mozilla.org/comm-central/source/chat/content/imtooltip.xml#353-364 :)
20:57:36 <aleth> At the moment, at least
20:58:36 <abdelrhman> So how can I get the participant object?
20:59:28 <aleth> In some cases (the participant list) you have it already.
21:01:26 --> flo-retina has joined #instantbird
21:01:27 * ChanServ sets mode +qo flo-retina flo-retina 
21:01:53 <aleth> If you don't have it, you have to get it using the name.
21:02:19 <aleth> There doesn't seem to be an API for that other than https://dxr.mozilla.org/comm-central/source/chat/components/public/prplIConversation.idl#108
21:02:58 <aleth> So it's probably best to do it case by case.
21:03:11 --> Mook has joined #instantbird
21:03:49 <aleth> e.g. here you already have the chatbuddy https://dxr.mozilla.org/comm-central/source/chat/content/imtooltip.xml#456
21:04:46 <aleth> here you'll have to add some function that finds it https://dxr.mozilla.org/comm-central/source/chat/content/imtooltip.xml#462
21:05:13 <aleth> Once you've looked at all the callers, you can pass chatBuddy directly to updateTooltipFromParticipant as you said.
21:05:53 <clokep_work> That doesn't seem pretty roundabout.
21:06:04 <clokep_work> It also seems a bit odd that participants don't have a link back to an accountbuddy?
21:06:24 <clokep_work> *does seem*
21:06:31 <aleth> They don't have anything to do with accountbuddies.
21:06:34 <Mook> There are no Linux nightlies right now (on account of tooltool and things along those lines), right?
21:06:50 <clokep_work> aleth: They absolutely do!
21:06:58 <clokep_work> A participant may or may not map to an account buddy.
21:07:01 <clokep_work> Having that information is useful.
21:07:06 <clokep_work> Mook: Yes.
21:07:21 <Mook> Okay. Need to try to make a build, then, to test that thing.
21:07:23 <aleth> clokep_work: What I mean is: currently that information does not exist anywhere. Hence the hack you pointed at earlier ;)
21:08:05 <clokep_work> Ah, yes. :)
21:08:34 <aleth> patches welcome, etc...
21:09:17 <clokep_work> Shush.
21:09:20 <clokep_work> ;)
21:09:29 <clokep_work> It probably breaks some mental model somewhere. :-\
21:10:54 <abdelrhman> but I have iterate through all participants to get the desired participant!
21:12:04 <aleth> abdelrhman: yes, that's not great.
21:12:50 <abdelrhman> I was thinking to add an interface for getting participant with nick
21:13:17 <aleth> You could do that, yes.
21:13:31 <aleth> Libpurple might be painful though, idk
21:14:25 <aleth> Alternatively you could try to get the participant list DOM object somehow, the items in it contain pointers to the chatbuddies
21:14:48 <aleth> That seems like a hack though.
21:15:00 <clokep_work> Do we just not want to modify interfaces?
21:16:21 <aleth> abdelrhman: For now just add a helper function that uses getParticipants.
21:16:34 <aleth> Maybe some good idea will come up...
21:18:05 <aleth> clokep_work: Modifying is fine, breaking things for libpurple isn't, I would guess?
21:19:49 <aleth> Imho adding a getParticipant(aNick) method would be fine
21:22:06 <-- mikef has quit (Ping timeout: 121 seconds)
21:22:15 <aleth> heh, libpurple has a purple_conv_chat_find_user, but ..... it returns a boolean :P
21:22:56 <aleth> abdelrhman: You're in luck! purple_conv_chat_cb_find
21:22:56 <Mook> Any reason purplexpcom can't havea wrapper method that does the iterate over participants thing?
21:23:27 <aleth> Mook: That's what I suggested earlier, but I just discovered there's actually a libpurple method that seems to do the trick, it just needs to be exposed via purplexpcom.
21:23:42 <Mook> :D
21:24:37 <Mook> Also: Oops, I can't seem to log in to the hipchat server I need to test with :| Will sort that out tomorrow.
21:26:23 <aleth> abdelrhman: http://hg.mozilla.org/users/florian_queze.net/purple/file/cfb3392fcd20/libpurple/conversation.h#l1400 in case you're having trouble finding it
21:27:53 <aleth> If you don't know C++, someone else can do that part, just do the JS prpl implementation.
21:29:16 <abdelrhman> I know C++, but I'm not familiar with libpurple code 
21:29:30 * abdelrhman trying to understand :)
21:32:36 <abdelrhman> I wonder where the interface/linking between libpurple (C++ methods) and current tooltip.xml
21:33:37 <aleth> Here's the interface of the MUC conversation https://dxr.mozilla.org/comm-central/source/chat/components/public/prplIConversation.idl#108
21:33:54 <aleth> That's where you'd add a getParticipant(aNick)
21:34:15 <aleth> Then jsProtoHelper and the JS prpls implements that for JS.
21:34:28 <aleth> For libpurple the implementation is in purplexpcom
21:35:04 <aleth> (for this, in purplexpcom/src/purpleConvChat.cpp)
21:36:17 <aleth> The purplexpcom code calls the required libpurple methods.
21:36:29 <abdelrhman> Ah, I have understood! :-)
21:37:28 <abdelrhman> and I can add method getParticipant here for the purplexpcom using purple_conv_chat_cb_find
21:37:46 <aleth> yes
21:37:58 <abdelrhman> Thanks aleth :-)
21:40:17 <abdelrhman> How can I build libpurple and use it with current IB to test? (it there a documentation for that?)
21:40:41 <aleth> You've probably already got it if you followed https://developer.mozilla.org/en-US/docs/Simple_Instantbird_build
21:43:23 <abdelrhman> the purple lib should be in comm-central?
21:43:30 <abdelrhman> directory
21:44:10 <aleth> no
21:44:19 <aleth> https://developer.mozilla.org/en-US/docs/Simple_Instantbird_build#Building_purplexpcom_and_libpurple
21:45:09 <abdelrhman> Yes, I see that. but I wonder how the linking happens
21:45:45 <aleth> In a complicated way ;)
21:45:53 <abdelrhman> OK :-)
21:46:00 <aleth> Libpurple can't live in c-c as it's a different license.
21:46:30 <aleth> If you really want to see how the linking happens, just look at the moz.builds and the makefiles...
21:48:11 <abdelrhman> I think this "mozilla/extensions/purple" has the secret!
21:48:47 <aleth> Yes, technically it's built as an addon
21:49:15 <aleth> And for TB that's exactly what it is.
22:01:38 --> mikef has joined #instantbird
22:42:59 <-- abdelrhman has quit (Ping timeout: 121 seconds)
22:43:24 --> abdelrhman has joined #instantbird
23:05:11 <-- mpmc has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
23:18:07 <-- abdelrhman has quit (Quit: Leaving)
23:27:32 <-- Bollebib has quit (Ping timeout: 121 seconds)
23:58:41 --> myk1 has joined #instantbird
23:58:48 <-- myk has quit (Connection closed)
23:58:48 * myk1 is now known as myk 
23:59:39 <-- pWnnn has quit (Client exited)