#instantbird log on 03 11 2010

All times are UTC.

00:01:22 <-- DetroitLibertyPenguin has quit (Quit: Instantbird 0.2pre)
03:50:56 * Gizmokid2005 is now known as Gizmokid2005|AFK
05:44:46 <-- flo has quit (Quit: Instantbird 0.2pre)
06:24:49 --> tymerkaev-afk has joined #instantbird
06:41:48 <-- tymerkaev-afk has quit (Connection reset by peer)
07:01:35 --> tymerkaev-afk has joined #instantbird
07:29:35 --> flo has joined #instantbird
07:29:35 * ChanServ sets mode +qo flo flo 
07:30:22 <flo> hi :)
08:57:51 --> BigBrownChunx has joined #instantbird
08:59:28 <BigBrownChunx> hi there, are there any instructions on how to package libpurple protocols for instantbird floating around anywhere?
09:00:08 <flo> hi
09:01:05 <flo> there's nothing well documented on this topic, but if you plan to try to package a plugin, I can help you.
09:01:18 <BigBrownChunx> neato :)
09:01:43 <BigBrownChunx> I tried by starting with the facebook xpi and replacing out files
09:01:54 <flo> we made a demonstration with the facebook chat plugin a while ago: http://blog.instantbird.org/a9-instantbird-0-2-feature-preview-protocols-as-extensions.html
09:02:13 <BigBrownChunx> but can't really test (instantbird 0.2 isn't starting for me for some reason), nor do I know if that's the "right way" to go about it
09:02:58 <flo> instantbird's libpurple is not ABI compatible with Pidgin's libpurple (it should be nearly completely API compatible however)
09:03:17 <flo> which OS are you trying this?
09:03:23 <BigBrownChunx> ok :) I'll pretend to understand
09:03:27 <BigBrownChunx> win32 at the moment
09:03:40 <BigBrownChunx> if it helps, I'm also the facebook plugin developer :)
09:03:49 <flo> I know :)
09:03:50 <BigBrownChunx> so how is instantbird's libpurple different to pidgin's libpurple?
09:04:12 <flo> the most significant difference for plugins is that we don't use gettext
09:05:19 <BigBrownChunx> yep, I read that on your blog
09:06:49 <flo> this is what I had to patch to make the facebook plugin build for Instantbird: http://hg.instantbird.org/addons/facebook/repos/rev/380acb1069b7
09:07:13 <BigBrownChunx> interesting
09:07:46 <flo> hmmm. I don't see why the part inside the #ifdef ENABLE_NLS was needed.
09:10:56 <BigBrownChunx> so is it enough to drop the .dll into \components to get started?
09:11:01 <BigBrownChunx> and is there a debug log anywhere?
09:11:21 <flo> if the dll was built for pidgin, it won't work.
09:12:01 <flo> the calls to purple_debug_* are visible in the error console (Tools->Error console)
09:12:26 <BigBrownChunx> just needs the gettext stuff removed, then it should be good to go, right?
09:12:28 <BigBrownChunx> or what else needs to be done?
09:12:55 <flo> compile with the same compiler as Instantbird, and with the right headers included.
09:13:06 <flo> on Windows we build with MSVC8 (= Visual Studio 2005)
09:13:14 <BigBrownChunx> ah ok
09:16:37 <BigBrownChunx> has anyone tried compling plugins using mingw32 for instantbird?
09:17:00 <BigBrownChunx> actually... have you always used msvc for compiling instantbird?
09:17:28 <BigBrownChunx> cos I remember in the early early days of instantbird, I could just drop in .dll's and they'd open up instantbird without problems
09:17:29 <flo> we used (for version 0.1 and 0.1.1) to build libpurple with mingw
09:17:36 <BigBrownChunx> ah right
09:17:49 <flo> linking the mingw-produced dll to other MSVC-produced dll was painful, and sometimes crashy
09:18:01 <flo> it's much easier to build everything with a single compiler
09:18:20 <BigBrownChunx> which is why I want to keep compiling with mingw ;)
09:18:39 <flo> I don't think Mozilla builds correctly with mingw
09:19:32 <BigBrownChunx> I'll try removing the gettext stuff and see what happens... I'm feeling adventerous today :)
09:20:37 <flo> which plugin are you trying to build for Instantbird? :)
09:21:06 <BigBrownChunx> skype and okcupid... possibly facebook again too
09:21:40 <flo> ok :)
09:22:42 <flo> I think in the future we will try to provide a way for plugin developers to just upload some source code, and have it compiled "automatically" on the 3 OSes
09:22:58 <flo> but I can't promise when
09:23:05 <flo> it's a low priority project
09:23:06 <BigBrownChunx> no, fair enough
09:23:09 <BigBrownChunx> that'd be a pretty big job too
09:23:28 <flo> automating the production of localized builds is much more prioritized ;)
09:34:10 <tymerkaev-afk> flo: What's up with bug 371?
09:34:13 <instantbot> tymerkaev-afk: Bug https://bugzilla.instantbird.org/show_bug.cgi?id=371 maj, --, 0.2, nobody, UNCO, Broken separators in last nightlies.
09:34:28 <flo> I can't reproduce it
09:39:12 <BigBrownChunx> do I need to do anything magic to get my protocol into the list of protocols to add?
09:39:31 <flo> in the account wizard?
09:39:36 <BigBrownChunx> yup
09:39:42 <flo> no, if it's registered correctly with libpurple, it will be listed
09:40:03 <BigBrownChunx> ok, and how do I turn on the libpurple debugging in error console to see if its registered correctly?
09:41:11 <flo> oh, I forgot to say something important, sorry.
09:41:17 <flo> the plugins are loaded as XPCOM components
09:41:20 <BigBrownChunx> lol
09:41:34 <flo> so you have a C++ file that needs to be compiled and linked with your plugin
09:41:35 * instantbot frowns at flo
09:41:42 <flo> otherwise, it will never be loaded
09:42:07 <BigBrownChunx> okie dokie... where do I find the c++ file?
09:42:50 <flo> it's http://lxr.instantbird.org/instantbird/source/purple/libpurple/protocols/xpcomModule.cpp.in
09:46:00 <BigBrownChunx> right
09:55:09 <BigBrownChunx> are purpleIPlugin.h, value.h and xpcomCid.h in instantbird source?
09:55:34 <flo> purpleIPlugin.h is probably generated from purpleIPlugin.idl
10:04:50 --> Mic has joined #instantbird
10:07:49 <Mic> hi
10:10:10 <flo> hi :)
10:12:12 <BigBrownChunx> flo: do you have a copy of purpleIPlugin.h and xpcomCid.h floating around?
10:13:05 <flo> xpcomCid.h is generated for each plugin
10:13:17 <flo> http://lxr.instantbird.org/instantbird/source/purple/libpurple/protocols/prpl-rules.mk#57
10:13:40 <BigBrownChunx> oh
10:14:17 <BigBrownChunx> where's the create-cid.sh script?
10:14:33 <flo> http://lxr.instantbird.org/instantbird/source/purple/libpurple/protocols/
10:15:07 <BigBrownChunx> oh, so that's just a uuid
10:15:10 <BigBrownChunx> brb
10:54:05 --> Ruyan has joined #instantbird
10:57:36 <Ruyan> when i put purple from obj-instantbird to another projct, its contract ID same?
11:11:29 <Mic> Here's some ideas what a locale editor could have for features https://wiki.instantbird.org/Brainstorm:locale_editor
11:11:36 <Mic> Comments and contributions welcome
11:12:14 <Mic> I'm just afraid it might be a substantive amount of work to do such a thing
11:14:10 <Mic> *substantial
11:24:31 <-- BigBrownChunx has quit (Quit: Leaving.)
11:32:05 <instantbot> New Instantbird (UI) bug 376 filed by leeraccount@yahoo.de.
11:32:07 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=376 enh, --, ---, nobody, NEW, Start with OS / on sign-on
11:34:13 <flo> "#  Make it usable. " sounds like a great idea ;)
11:42:07 <Mic> If someone thinks "hey, what is 'usable'?" then this is a good start.. ;)
11:43:51 <flo> it's a topic (localization tools) that we have discussed several times, but I suspect it was often when talking face to face.
11:49:20 <Mic> Any revelations in these discussions?
11:49:38 <flo> bah... it will take a lot of time to do something great :-D
11:50:15 <flo> there are basically 2 different ways to "attack" the problem:
11:50:53 <flo> either we want to make dead simple to do collaborative work on translations. In this case, we want to create a webtool where it's easy and acceptable for translators to translate 2 strings a day
11:51:31 <flo> and where it's acceptable for random unknown contributors to post translation improvement suggestions that would be then reviewed by the "official" translator team of that language
11:52:01 <flo> The other, nearly opposite, solution, is it make it as easy as possible for a single translator to work on his local machine, and offline.
11:52:22 <flo> in this case, we want to make sure that it's very easy to test the resulting translated applications.
11:53:23 <flo> for example, there would be a "test" button, that would create a langpack with the current state of the translation, create a test profile automatically, install the langpack in it, and start Instantbird on that new temporary profile, so that the translator can check his work
11:53:31 <-- Ruyan has left #instantbird (Ex-Chat)
11:55:38 <Mic> ok
11:56:55 <flo> in both cases, we would want to hide the "low level complexity" of using hg
11:58:02 <flo> at least 4 hg repositories need to be cloned in order to be able to produce a language pack. That's a bit overcomplicated for the average Windows user I guess...
11:58:35 <Mic> 4? .. ok..
11:59:07 <flo> yeah. instantbird source code, mozilla source code, instantbird localization, mozilla localization
12:00:01 <flo> currently we hide that complexity by letting buildbot do the work each time a translator pushes changes :)
12:01:26 --> Ruyan has joined #instantbird
12:01:33 <Mic> hmm, hmm. That's much more complicated than I expected ;)
12:01:40 <Mic> I guess I need lunch first.
12:01:46 <Mic> ttyl
12:01:48 <Mic> ;)
12:02:02 <flo> :)
12:02:27 <Ruyan> Do I need new contract ID for lib I copied from instantbird?
12:03:08 <flo> probably not. But I'm not sure I really understand your question
12:04:19 <Ruyan> sorry
12:06:54 <Ruyan> I moved purple from instantbird to directory B, there is same extension for thunderbird, do i need new contract ID? because under instantbird is Cc["@instantbird.org/purple/core;1"]
12:07:10 <flo> this string won't change
12:07:41 <Ruyan> so, still Cc["@instantbird.org/purple/core;1"], even i move purple anywhere i want
12:08:00 <flo> the only way to change it is to edit this line: http://lxr.instantbird.org/instantbird/source/purple/purplexpcom/src/purpleCoreService.h#120
12:08:44 <Ruyan> but i don't need to do that
12:09:05 <flo> right
12:12:15 <Ruyan> then, i don't know why is showing me "has no properties"
12:12:39 <flo> because the XPCOM registration failed
12:12:58 <flo> https://developer.mozilla.org/en/Troubleshooting_XPCOM_components_registration
12:14:26 <instantbot> Check-in: http://hg.instantbird.org/instantbird/rev/d7ce5643f860 - Florian Quèze - Fix packaging of the custom CRT in Windows installers.
12:14:27 <instantbot> Check-in: http://hg.instantbird.org/instantbird/rev/d51ec379a0fe - Florian Quèze - Bug 368 - Context menu items displaced.
12:15:11 <instantbot> florian@instantbird.org set the Resolution field on bug 368 to FIXED.
12:15:14 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=368 nor, --, 0.2b2, florian, RESO FIXED, Context menu items displaced
12:15:37 <-- flo has quit (Quit: Instantbird 0.2pre)
12:56:22 <-- Ruyan has quit (Quit: Ex-Chat)
13:59:20 <-- Mic has quit (Ping timeout)
14:16:21 --> flo has joined #instantbird
14:16:22 * ChanServ sets mode +qo flo flo 
14:31:15 * Gizmokid2005|AFK is now known as Gizmokid2005
15:20:01 <instantbot> tymerkaev@gmail.com set the Resolution field on bug 371 to DUPLICATE of bug 268.
15:20:05 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=371 maj, --, 0.2, nobody, RESO DUPLICATE, Broken separators in last nightlies.
15:20:06 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=268 nor, --, ---, nobody, NEW, Leak after detaching a tab
15:30:01 <tymerkaev-afk> flo: Localization is now full translated and ready for make localized builds. Any chance to create it?
15:30:04 * tymerkaev-afk is now known as tymerkaev
15:30:28 <flo> your locale will be released as part of 0.2b2
15:30:43 <tymerkaev> flo: thanks
15:30:51 <tymerkaev> but...
15:30:55 <flo> I can create a localized windows installer for you in a few minutes if you want to test that part
15:31:20 <tymerkaev> flo: yes, I want
15:32:42 <tymerkaev> flo: what's up with instantbird.com and instantbird.org websites (I mean translate it)?
15:33:46 <flo> probably not for 0.2
15:34:04 <flo> but once we redesign the site, we will make sure that the end-user facing pages are translated
15:34:12 <tymerkaev> :(
15:34:13 <flo> the pages targeted at developers don't need to be translated
15:38:17 <tymerkaev> flo: also, what's up with bug 368? This is fixed only in 0.2pre? or in 0.2b2 too?
15:38:20 <instantbot> tymerkaev: Bug https://bugzilla.instantbird.org/show_bug.cgi?id=368 nor, --, 0.2b2, florian, RESO FIXED, Context menu items displaced
15:38:55 <flo> it's fixed for the next nightly (0.2pre), and I'll copy the fix to the 0.2b2 branch so that it is included in the next release candidate
15:39:17 <tymerkaev> flo: ok
15:40:53 <-- tymerkaev has quit (Connection reset by peer)
15:56:47 --> tymerkaev has joined #instantbird
15:57:57 <flo> about bug 369
15:58:00 <instantbot> flo: Bug https://bugzilla.instantbird.org/show_bug.cgi?id=369 tri, --, 0.2, nobody, UNCO, Add Localizations component to Bugzilla.
15:58:10 <flo> which kind of bugs do you expect to be reported inside this components?
15:59:03 <flo> localizability bugs (for example: "The string 'username is typing' is not localizable.") or translation bugs (for example: there's a typo in the translation of this string in the fr locale)?
16:05:02 <flo> there's one string missing in your locale: http://buildbot-l10n.instantbird.org/builders/translate/builds/75/steps/shell_3/logs/stdio/text
16:05:29 <flo> (yes, I know, missing strings that are not part of language packs don't appear in the emails you receive after a checkin... :()
16:12:04 <flo> tymerkaev: I've just created a Russian Windows installer. I emailed you a download link.
16:16:07 --> Amfi has joined #instantbird
16:17:31 * flo tries a french windows installer
16:17:50 <Amfi> flo: thanks for a nice surprise ;)
16:18:05 <flo> was it really a surprise?
16:18:37 <Amfi> In the time frame - yes. I wasn't expecting it this week
16:20:05 <Amfi> And the first question: how can we remove english search plugins leaving only those in pl?
16:21:17 <flo> if you have a list.txt file listing only the pl search engine... your best bet is probably to ask flo to fix the build system ;)
16:21:50 <Amfi> That's what we have :) http://hg.instantbird.org/l10n/pl/repos/file/acddc031c501/instantbird/searchplugins
16:22:10 <Amfi> OK, I guess i need to talk seriously with flo ;)
16:22:17 <flo> except "google"
16:22:36 <Amfi> I believe Wareczek took it from Fx
16:29:07 * tymerkaev is now known as tymerkaev-afk
16:36:53 <-- tymerkaev-afk has quit (Connection reset by peer)
16:41:24 <-- flo has quit (Quit: Instantbird 0.2pre)
16:51:00 <-- Amfi has left #instantbird ()
16:54:42 --> tymerkaev-afk has joined #instantbird
17:55:20 --> Amfi has joined #instantbird
18:10:24 --> idechix has joined #instantbird
18:10:41 <-- idechix has quit (Quit: Instantbird 0.2pre)
18:10:46 --> idechix has joined #instantbird
18:29:12 --> flo has joined #instantbird
18:29:12 * ChanServ sets mode +qo flo flo 
19:51:04 --> GeekShadow has joined #instantbird
20:26:31 <-- tymerkaev-afk has quit (Connection reset by peer)
20:39:46 --> Mic has joined #instantbird
20:39:58 <Mic> hi
20:45:54 --> Ruyan has joined #instantbird
20:53:33 <Mic> "update.instantbird.org : potentially vulnerable to CVE-2009-3555" and "addons.instantbird.org : potentially vulnerable to CVE-2009-3555" on the error console don't sound very reassuring
20:54:17 <Chaz6> needs newer nss
20:54:26 <Mic> That's an ssl issue accordingy to .. Google;)
20:54:28 <Chaz6> that's tls renegotiation iirc
20:57:28 <flo> so we need an Apache newer than 2.2.14 on the server?
20:58:27 <Chaz6> Unless you backport the fix, or switch to another server :)
20:59:54 <flo> or reinvent the world ;)
21:00:06 --> vicnet has joined #instantbird
21:00:23 <vicnet> hello everybody :)
21:00:48 <Morian> hey vicnet
21:00:49 <Chaz6> Sure, code a new server from scratch if you're really masochistic :)
21:03:04 <Mic> hej vicnet
21:05:12 <Ruyan> hi guys, i have moved *.xpt to another project, and thunderbird found all interfaces instead classes, any one know what is problem?
21:09:10 <Mic> Fun extension: make the participant count 'writable' if user has OP in IRC channels ;) 
21:21:41 <-- vicnet has quit (Quit: Instantbird 0.2pre)
21:21:46 --> vicnet has joined #instantbird
21:30:44 <flo> Ruyan: this part of your sentence "found all interfaces instead classes" makes no sense.
21:32:48 <Ruyan> sory
21:32:55 <Ruyan> wrong word
21:33:29 <Ruyan> using XPCOM viewer i found all interfaces purpleI*, but classes no
21:34:19 <flo> the interfaces are registered by the .xpt file
21:34:31 <Ruyan> yes
21:34:40 <flo> the classes by the .so/.dll/.dylib file, if it could be successfully loaded
21:34:57 <Ruyan> i load just .so 
21:35:58 <Ruyan> all of .so/.dll/.dylib must be loaded?
21:36:02 <flo> have you copied the file libpurple.so?
21:36:16 <flo> (.so on Linux, dll on Windows, dylib on Mac OS X)
21:36:40 <Ruyan> yes
21:37:32 <Ruyan> libpurple.so libpurplexpcom.so and libicq.so
21:38:13 <flo> have you recompiled them yourself?
21:38:41 <Ruyan> libpurple.so? just copied from instantbird
21:41:42 <Ruyan> after compiling instantbird on my laptop
21:53:40 <Ruyan> i have tried know libpurple.so.0.6.4 from pidgin, but still no working
21:55:34 <instantbot> leeraccount@yahoo.de added attachment 280 to bug 352.
21:55:35 <instantbot> leeraccount@yahoo.de requested review from florian@instantbird .org for attachment 280 on bug 352.
21:55:36 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=352 min, --, ---, leeraccount, NEW, Topic change bar issues
22:02:04 <-- GeekShadow has quit (Quit: http://www.mibbit.com ajax IRC Client)
22:03:07 <Ruyan> any idea flo?
22:03:47 <instantbot> New Instantbird (UI) bug 377 filed by leeraccount@yahoo.de.
22:03:49 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=377 min, --, ---, nobody, NEW, Show caps lock warning when typing in a password field
22:04:04 --> GeekShadow has joined #instantbird
22:04:50 <flo> Ruyan. No. If I needed to debug this myself, I would try with to see what's going on with strace
22:07:48 <Ruyan> ok
22:10:09 <-- Ruyan has quit (Quit: Ex-Chat)
22:21:30 <flo> good night
22:23:07 <Chaz6> Night flo
22:26:01 <-- GeekShadow has quit (Quit: http://www.mibbit.com ajax IRC Client)
22:39:24 <vicnet> Good night everyone!
22:46:43 <-- vicnet has quit (Quit: Instantbird 0.2pre)
22:55:45 <Mic> good night
22:56:27 <-- Mic has quit (Quit: Instantbird 0.2pre)
23:04:09 <-- idechix has quit (Quit: Instantbird 0.2pre)