#instantbird log on 10 13 2015

All times are UTC.

00:02:12 --> pWnnn has joined #instantbird
00:06:52 <-- myk has quit (Ping timeout: 121 seconds)
00:12:23 --> Alex has joined #instantbird
00:38:56 <-- freaktechnik has quit (Ping timeout: 121 seconds)
00:39:08 --> freaktechnik has joined #instantbird
00:40:57 <-- aleth has quit (Ping timeout: 121 seconds)
00:54:44 <-- hadi has quit (Connection closed)
03:09:33 <instant-buildbot> build #1550 of linux-nightly-default is complete: Failure [4failed compile]  Build details are at http://buildbot.instantbird.org/builders/linux-nightly-default/builds/1550
03:14:07 <-- clokep_work has quit (Ping timeout: 121 seconds)
03:53:04 <instant-buildbot> build #1772 of win32-nightly-default is complete: Success [3build successful]  Build details are at http://buildbot.instantbird.org/builders/win32-nightly-default/builds/1772
03:57:45 <instant-buildbot> build #2936 of macosx-nightly-default is complete: Success [3build successful]  Build details are at http://buildbot.instantbird.org/builders/macosx-nightly-default/builds/2936
04:31:15 <-- dustinm` has quit (A TLS packet with unexpected length was received.)
04:35:52 <-- EionRobb has quit (Quit: Leaving.)
05:16:43 --> dustinm` has joined #instantbird
05:45:36 --> EionRobb has joined #instantbird
06:04:17 <instant-buildbot> build #460 of linux64-nightly-default is complete: Failure [4failed compile]  Build details are at http://buildbot.instantbird.org/builders/linux64-nightly-default/builds/460
06:12:28 --> myk has joined #instantbird
06:38:52 <-- myk has quit (Ping timeout: 121 seconds)
07:52:01 --> aleth has joined #instantbird
07:52:01 * ChanServ sets mode +o aleth 
07:52:23 <-- Mook has quit (Ping timeout: 121 seconds)
08:06:29 --> Bollebib has joined #instantbird
08:11:06 --> gerard-majax has joined #instantbird
08:14:05 <-- Bollebib has quit (Quit: Instantbird 1.5 -- http://www.instantbird.com)
08:14:43 --> Bollebib has joined #instantbird
08:23:01 --> mpmc has joined #instantbird
08:36:18 <-- flo-retina has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
08:37:43 <-- gerard-majax has quit (Ping timeout: 121 seconds)
08:43:58 --> gerard-majax has joined #instantbird
08:55:57 <-- aleth has quit (Ping timeout: 121 seconds)
08:59:46 --> flo-retina has joined #instantbird
08:59:46 * ChanServ sets mode +qo flo-retina flo-retina 
09:03:28 <-- gerard-majax has quit (Ping timeout: 121 seconds)
09:42:14 --> afiksof has joined #instantbird
09:42:14 --> aleth has joined #instantbird
09:42:15 * ChanServ sets mode +o aleth 
09:46:08 --> gerard-majax has joined #instantbird
09:52:42 <-- afiksof has quit (Connection closed)
09:53:15 <-- EionRobb has quit (Quit: Leaving.)
09:54:30 --> afiksof has joined #instantbird
10:18:01 <-- Alex has quit (Quit: Instantbird 1.5 -- http://www.instantbird.com)
10:25:40 --> BWMerlin has joined #instantbird
10:28:01 <-- BWMerlin has quit (Client exited)
10:28:26 --> BWMerlin has joined #instantbird
10:31:01 <-- afiksof has quit (Connection closed)
10:40:11 <-- aleth has quit (Ping timeout: 121 seconds)
11:01:54 --> clokep has joined #instantbird
11:01:54 * ChanServ sets mode +o clokep 
11:20:22 --> PingWiN has joined #instantbird
11:23:50 --> clokep_ has joined #instantbird
11:23:50 * ChanServ sets mode +o clokep_ 
11:24:00 <-- pWnnn has quit (Ping timeout: 121 seconds)
11:25:36 <-- gerard-majax has quit (Ping timeout: 121 seconds)
11:26:25 <-- clokep has quit (Ping timeout: 121 seconds)
11:26:25 * clokep_ is now known as clokep 
11:48:46 --> gerard-majax has joined #instantbird
11:59:32 --> abdelrhman has joined #instantbird
12:06:07 <-- clokep has quit (Ping timeout: 121 seconds)
12:13:56 <-- gerard-majax has quit (Ping timeout: 121 seconds)
12:19:48 --> gerard-majax has joined #instantbird
12:21:54 <-- mpmc has quit (Connection closed)
12:26:27 <-- gerard-majax has quit (Ping timeout: 121 seconds)
12:32:02 --> gerard-majax has joined #instantbird
12:35:13 --> afiksof has joined #instantbird
12:39:27 --> clokep_work has joined #instantbird
12:39:27 * ChanServ sets mode +o clokep_work 
12:44:18 <-- gerard-majax has quit (Ping timeout: 121 seconds)
12:45:53 <-- clokep_work has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
12:45:57 --> clokep_work has joined #instantbird
12:45:57 * ChanServ sets mode +o clokep_work 
12:56:36 <-- chrisccoulson has quit (Ping timeout: 121 seconds)
13:06:19 --> aleth has joined #instantbird
13:06:19 * ChanServ sets mode +o aleth 
13:50:49 --> gerard-majax has joined #instantbird
13:54:50 <-- gerard-majax has quit (Ping timeout: 121 seconds)
13:55:28 --> gerard-majax has joined #instantbird
14:10:44 <-- gerard-majax has quit (Ping timeout: 121 seconds)
14:12:16 --> gerard-majax has joined #instantbird
14:20:41 --> chrisccoulson has joined #instantbird
14:23:26 --> chrisccoulson_ has joined #instantbird
14:26:15 <-- chrisccoulson has quit (Ping timeout: 121 seconds)
14:36:13 <-- aleth has quit (Ping timeout: 121 seconds)
14:43:10 --> chrisccoulson__ has joined #instantbird
14:45:48 <-- chrisccoulson_ has quit (Ping timeout: 121 seconds)
14:58:25 <-- chrisccoulson__ has quit (Ping timeout: 121 seconds)
14:59:44 --> chrisccoulson__ has joined #instantbird
15:09:41 <-- chrisccoulson__ has quit (Ping timeout: 121 seconds)
15:15:57 --> myk has joined #instantbird
15:25:56 --> mpmc has joined #instantbird
15:37:47 <-- flo-retina has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
15:42:14 --> aleth has joined #instantbird
15:42:15 * ChanServ sets mode +o aleth 
15:54:53 --> myk1 has joined #instantbird
15:58:42 <-- myk has quit (Ping timeout: 121 seconds)
15:58:42 * myk1 is now known as myk 
16:04:36 --> chrisccoulson has joined #instantbird
16:16:41 --> Mnyromyr has joined #instantbird
16:30:18 <clokep_work> abdelrhman: Hello!
16:30:21 <clokep_work> You're on Linux right?
16:30:31 <abdelrhman> Hi :), yes
16:30:41 <clokep_work> Do you use Thunderbird?
16:30:45 <clokep_work> Would you be willing to test something for me?
16:31:46 <abdelrhman> What do you want to test?
16:31:56 <clokep_work> To see if https://addons.mozilla.org/en-US/thunderbird/addon/additional-chat-protocols/ works on Linux.
16:32:07 <clokep_work> Someone said it's not working on Xubuntu 15.04.
16:32:11 <clokep_work> I'm not sure what you're running.
16:34:53 <abdelrhman> OK. I'll test it for you. my current version (14.04). and also I have 15.04 on VM
16:35:09 <clokep_work> Thanks so much! What distro are you on again?
16:35:15 * clokep_work needs to run to get lunch.
16:35:29 <abdelrhman> Ubuntu
16:36:35 <aleth> clokep_work: fyi there's a dead lxr link in the addon description
16:45:40 <clokep_work> aleth: Rgr.
16:49:52 <-- abdelrhman has quit (Ping timeout: 121 seconds)
17:08:37 <-- chrisccoulson has quit (Quit: OSError: [Errno 130] Owner died)
17:08:40 --> chrisccoulson has joined #instantbird
17:13:51 <-- chrisccoulson has quit (Ping timeout: 121 seconds)
17:17:10 <-- Mnyromyr has quit (Ping timeout: 121 seconds)
17:18:43 --> Mnyromyr has joined #instantbird
17:19:21 <-- mpmc has quit (Connection closed)
17:27:08 --> abdelrhman has joined #instantbird
17:30:11 <abdelrhman> clokep_work: I've tested the add-on on Ubuntu 15.04 and It does not work!
17:30:23 <clokep_work> abdelrhman: :( Did it work in 14.04?
17:30:26 <abdelrhman> this is a log of what happened (http://pastebin.instantbird.com/2070782)
17:31:04 <clokep_work> Failed to load native module at path '/home/ubuntu/.thunderbird/wng76lrn.default/extensions/thunderbird@instantbird.org/components/libpurplexpcom64-x86_64.so': (80004005) /home/ubuntu/.thunderbird/wng76lrn.default/extensions/thunderbird@instantbird.org/components/libpurplexpcom64-x86_64.so: cannot open shared object file: No such file or directory
17:31:15 <clokep_work> That seems to be the real error. That file name looks strange. Any ideas aleth/flo?
17:31:23 <clokep_work> I can't look right now -- _working
17:31:43 <abdelrhman> let me test it in 14.04
17:33:09 <-- abdelrhman has quit (Quit: Leaving)
17:33:56 <clokep_work> I don't think it'll work, it seems like a packaging issue.
17:34:09 <aleth> Does the file actually exist?
17:38:10 <-- aleth has quit (Ping timeout: 121 seconds)
17:38:41 <clokep_work> No: libpurplexpcom-i686.so   libpurplexpcom.dylib     purplexpcom.xpt libpurplexpcom-x86_64.so purplexpcom.dll
17:41:16 * clokep_work wonders where those so names come from.
17:43:35 <-- gerard-majax has quit (Quit: Leaving)
17:43:35 --> gerard-majax_ has joined #instantbird
17:47:28 * gerard-majax_ is now known as gerard-majax 
17:52:02 --> MattATobin has joined #instantbird
17:52:17 <clokep_work> Dammit it's wrong in the manifest.
17:52:40 <clokep_work> I wonder if I only tried on 32-bit...
17:53:06 <-- Tobin has quit (Ping timeout: 121 seconds)
18:10:26 --> aleth has joined #instantbird
18:10:26 * ChanServ sets mode +o aleth 
18:12:08 <-- afiksof has quit (Ping timeout: 121 seconds)
18:18:44 --> afiksof has joined #instantbird
18:29:13 <-- gerard-majax has quit (Ping timeout: 121 seconds)
18:33:18 --> flo-retina has joined #instantbird
18:33:18 * ChanServ sets mode +qo flo-retina flo-retina 
18:41:04 --> chrisccoulson has joined #instantbird
18:41:21 <-- afiksof has quit (Connection closed)
18:44:23 --> afiksof has joined #instantbird
18:47:35 --> abdelrhman has joined #instantbird
18:48:11 <abdelrhman> clokep_work: tested on 14.04 and the same problem happens
18:49:12 <clokep_work> abdelrhman: Right, have you worked with XPIs before? I want to ask you to make a minor change to it!
18:49:23 <abdelrhman> aleth: the file exists with a different name (libpurplexpcom-x86_64.so)
18:49:40 <clokep_work> abdelrhman: Exactly! So there's a file called "chrome.manifest" inside of the XPI.
18:49:47 <clokep_work> And it points to the wrong file (libpurplexpcom64-x64_64.so)
18:49:57 <clokep_work> I want you to try modifying that file to the correct file and trying again. :)
18:50:41 <abdelrhman> OK
18:51:18 <clokep_work> Thank you. :)
18:55:32 <-- abdelrhman has quit (Ping timeout: 121 seconds)
18:56:09 <-- chrisccoulson has quit (Ping timeout: 121 seconds)
19:00:17 --> chrisccoulson_ has joined #instantbird
19:15:33 --> mpmc has joined #instantbird
19:31:47 <-- aleth has quit (Connection closed)
19:31:53 --> aleth has joined #instantbird
19:31:53 * ChanServ sets mode +o aleth 
19:33:51 --> EionRobb has joined #instantbird
19:34:46 <-- afiksof has quit (Ping timeout: 121 seconds)
19:39:15 --> gerard-majax has joined #instantbird
20:13:03 --> satdav has joined #instantbird
20:16:36 <-- aleth has quit (Quit: :tiuQ)
20:16:43 --> aleth has joined #instantbird
20:16:43 * ChanServ sets mode +o aleth 
20:22:48 <-- gerard-majax has quit (Ping timeout: 121 seconds)
20:33:51 <-- Mnyromyr has quit (Quit: ChatZilla 0.9.92 [SeaMonkey 2.38/20150923193515])
20:42:16 --> abdelrhman has joined #instantbird
20:43:16 <abdelrhman> clokep_work: Seems different error is appeared (http://pastebin.instantbird.com/2070843)
20:44:19 <clokep_work> |version `xul38a2' not found| doesn't soudn good.
20:44:24 <clokep_work> But I don't really know what it means. (flo-retina?)
20:44:31 <aleth> you might have to rebuild? :-/
20:45:12 <aleth> abdelrhman: what TB version do you have?
20:45:22 <abdelrhman> 38.0.3
20:46:27 * aleth thought a2 was aurora
20:46:35 <flo-retina> seems like aurora to me too
20:46:48 <clokep_work> aleth, flo-retina, abdelrhman: I might have built that when 38 was in aurora?
20:47:25 <abdelrhman> sorry, it's 38.3.0
20:48:33 <flo-retina> clokep_work: that seems possible
20:48:45 <flo-retina> that was built with the try server, right?
20:48:57 <flo-retina> clokep_work: I suspect Fallen would know this kind if stuff :)
20:50:08 <clokep_work> flo-retina: Yes, it was. FWIW I did test both the Windows and the Mac one.
20:50:13 <clokep_work> I tested the Mac one today on 38.3.
21:02:28 <abdelrhman> aleth: purplexpcom, I want to convert PurpleConvChatBuddy to prplIConvChatBuddy (http://hg.mozilla.org/users/florian_queze.net/purple/file/cfb3392fcd20/purplexpcom/src/purpleConvChatBuddy.h#l13)
21:02:41 <abdelrhman> it gives error when I try static_cast
21:03:41 <aleth> You don't have to convert it. prplIConvChatBuddy is the XPCOM interface, purpleConvChatBuddy is a C++ class
21:03:42 * instantbot frowns at aleth
21:03:53 <aleth> instantbot: snack pointers
21:03:56 <instantbot> aleth: Sorry, I've no idea what 'snack pointers' might be.
21:04:02 <clokep_work> instantbot: botsnack
21:04:03 <instantbot> yay
21:05:42 <abdelrhman> I want the conversation to pass to result parameter as return of GetParticipant method
21:07:51 <aleth> pastebin what you have
21:08:05 <aleth> I can't guess what you have done ;)
21:08:43 <abdelrhman> OK
21:09:45 <abdelrhman> http://pastebin.instantbird.com/2070864
21:10:03 <abdelrhman> and in the idl (prplIConvChatBuddy getParticipant(in AUTF8String aNick);)
21:17:54 <aleth> Get rid of line 12
21:18:38 <aleth> replace *participant with *result
21:21:32 <abdelrhman> http://pastebin.instantbird.com/2070865
21:21:59 <aleth> Ah, that's why you added that
21:23:27 <aleth> What's the error you got with your first pastebin?
21:24:55 <abdelrhman> http://pastebin.instantbird.com/2070866
21:26:42 <abdelrhman> I also used upcasting (prplIConvChatBuddy *) and it passed compilation, but IB breaks when this method is called
21:27:36 <abdelrhman> (prplIConvChatBuddy *) participant
21:28:01 <aleth> I would have tried prplIConvChatBuddy *result =  purple_conv_chat_cb_find(chat, PromiseFlatCString(aNick).get());
21:28:46 <aleth> but I suppose that fails too?
21:29:38 <abdelrhman> yes, it fails
21:29:44 <aleth> flo-retina has the most experience with this stuff
21:34:04 <clokep_work> Mook_as is a good resource too.
21:36:31 <Mook_as> Where's PurpleConvChatBuddy defined again? :D
21:36:48 <abdelrhman> http://hg.mozilla.org/users/florian_queze.net/purple/file/cfb3392fcd20/purplexpcom/src/purpleConvChatBuddy.h#l13
21:37:16 <Mook_as> that's purpleConvChatBuddy (lower case P)?
21:38:03 <aleth> ooh, don't say it was all a typo ;)
21:38:31 <Mook_as> No, purpleConvChatBuddy::Init() takes a PurpleConvChatBuddy, so it must be a thing
21:39:41 <EionRobb> PurpleConvChatBuddy is a libpurple C struct in libpurple/conversation.h
21:39:56 <aleth> ah, right
21:40:00 <Mook_as> Thanks!
21:40:26 <Mook_as> And yeah, you can't cast a C struct to a C++ class. Unless you've written that C struct very, very carefully (in which case you're probably near midl)
21:40:54 <aleth> So maybe you need to use purpleTypeToInterface
21:41:15 <aleth> Isn't there some other existing API function that returns a prplIConvChatBuddy? ;)
21:41:17 <EionRobb> but you could do prplIConvChatBuddy *result =  new purpleConvChatBuddy(purple_conv_chat_cb_find(chat, PromiseFlatCString(aNick).get()));  ?
21:41:36 <EionRobb> oh, nevermind
21:42:27 <-- satdav has quit (Quit: Leaving)
21:42:42 <EionRobb> dou need to make a new purpleConvChatBuddy() and call .Init(purple_conv_chat_cb_find(...)) on that?
21:42:50 <abdelrhman> http://hg.mozilla.org/users/florian_queze.net/purple/file/cfb3392fcd20/purplexpcom/src/purpleInitConv.cpp#l130
21:43:07 <EionRobb> lol, yes
21:43:33 <aleth> Yeah
21:43:44 <EionRobb> wouldn't it be better to have a constructor that takes in a PurpleConvChatBuddy? :)
21:44:01 <aleth> If flo-retina returns he can tell us why he wrote it that way ;)
21:44:21 <EionRobb> I dare not ask why The Butcher of Glib would ever do anything
21:45:10 <flo-retina> aleth: that's the standard XPCOM convention
21:45:28 <flo-retina> if we need to be able to instantiate that class from CreateInstance, the constructor can't take a parameter.
21:45:37 <EionRobb> ah
21:45:39 <aleth> abdelrhman, flo-retina: http://hg.mozilla.org/users/florian_queze.net/purple/file/cfb3392fcd20/purplexpcom/src/purpleGListEnumerator.h#l40 should do the right thing, right?
21:45:43 <flo-retina> we no longer need to do that, I've meant to deCOMify that stuff for a while
21:45:51 <EionRobb> and no static method constructors?
21:45:51 <aleth> flo-retina: ah, thanks
21:46:28 <flo-retina> I don't really know what you are trying to do though :-S
21:46:50 <aleth> abdelrhman wants to return a prplIConvChatBuddy and has a PurpleConvChatBuddy
21:52:20 <-- Bollebib has quit (Ping timeout: 121 seconds)
21:56:13 <aleth> abdelrhman: So does using something like the code in purpleTypeToInterface work?
21:57:17 <-- clokep_work has quit (Ping timeout: 121 seconds)
21:57:53 <abdelrhman> I'm trying that, but I think it should work as getParticipants use this way (http://hg.mozilla.org/users/florian_queze.net/purple/file/cfb3392fcd20/purplexpcom/src/purpleConvChat.cpp#l88)
21:58:42 <aleth> Don't call purpleTypeToInterface of course, but use the equivalent directly\
21:58:57 <abdelrhman> yes, sure
22:01:50 <abdelrhman> It worked ;) Thanks all.
22:03:19 <aleth> :-)
22:03:42 * aleth learnt something about having to call Init today ;)
22:03:49 <abdelrhman> :D
22:18:59 <abdelrhman> for prplIConvChatBuddy if I added to interface e.g. (string icon) should I implement func. in XPCOM to return null (as I think libpurple does not show / have a method buddyIcon for participants in MUC)?
22:19:25 <aleth> yes
22:19:56 <aleth> The default in jsProtoHelper for JS prpls should also be to return nothing
22:20:16 <abdelrhman> OK
22:53:37 --> clokep has joined #instantbird
22:53:37 * ChanServ sets mode +o clokep 
22:59:36 <-- mpmc has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
23:19:04 <-- flo-retina has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
23:40:14 --> Bollebib has joined #instantbird
23:41:58 <-- abdelrhman has quit (Ping timeout: 121 seconds)
23:55:49 <-- EionRobb has quit (Quit: Leaving.)