#instantbird log on 08 30 2010

All times are UTC.

00:13:12 <-- hicham has quit (Client exited)
00:18:08 --> hicham has joined #instantbird
00:30:56 <-- hicham has quit (Client exited)
01:06:40 <-- Ornthalas has quit (Quit: KTHXBYE)
01:12:21 <-- GeekShadow has quit (Quit: The cake is a lie !)
03:24:19 --> hicham has joined #instantbird
03:38:45 <-- hicham has quit (Client exited)
03:39:24 <-- clokep has left #instantbird ()
03:45:13 --> hicham has joined #instantbird
03:45:34 --> tymerkaev has joined #instantbird
03:56:37 --> rikki has joined #instantbird
04:21:05 <-- micahg has quit (Quit: Leaving.)
04:24:38 <-- tymerkaev has quit (Ping timeout)
04:28:20 --> micahg has joined #instantbird
05:07:41 <-- rikki has quit (Ping timeout)
05:08:47 --> rikki has joined #instantbird
05:40:54 <-- hicham has quit (Client exited)
06:32:00 --> tymerkaev has joined #instantbird
07:55:20 <-- tymerkaev has quit (Ping timeout)
09:20:46 --> Mic has joined #instantbird
10:13:07 --> GeekShadow has joined #instantbird
10:16:07 --> hicham has joined #instantbird
10:56:44 --> Mic|web has joined #instantbird
11:04:07 --> tymerkaev has joined #instantbird
11:13:24 <-- hicham has quit (Ping timeout)
11:17:44 --> clokep has joined #instantbird
11:21:03 --> hicham has joined #instantbird
11:22:52 <-- Mic|web has quit (Quit: http://www.mibbit.com ajax IRC Client)
11:46:01 <-- rikki has quit (Quit: Instantbird 0.2)
11:57:55 --> mokush has joined #instantbird
12:03:50 <-- hicham has quit (Ping timeout)
12:07:50 --> deOmega has joined #instantbird
12:15:24 <-- deOmega has quit (Quit: Instantbird 0.3a1pre)
12:16:19 --> Mic|web has joined #instantbird
12:16:31 <Mic|web> hi
12:16:58 <clokep> Good morning Mic|web!
12:17:17 <Mic|web> flo: does the change to Mozilla2 mean that Instantbird will get such in-tab options/addons manager?
12:17:26 <Mic|web> (eventually)
12:18:09 --> hicham has joined #instantbird
12:18:24 <flo> I think they will be in windows for some more time at least
12:19:39 <flo> I'm interested in experimenting with a single-window concept, but it's not going to be ready very soon.
12:32:55 <Mic|web> I think the message style section could definitely gain from more space, e.g. by showing preview images for the styles instead of a plain list
12:35:43 <mokush> hey, any ideea when 0.3 will be ready?
12:41:09 <clokep> mokush: Well, 0.2 just came out and new feature work hasn't really started on 0.3 yet...I'm not sure if flo has a target at all.
12:41:13 <clokep> Anyway, I'm off to class. Bye.
12:41:32 <-- clokep has quit (Quit: Instantbird 0.3a1pre)
12:41:55 <-- hicham has quit (Ping timeout)
12:43:03 <flo> mokush: is there a specific feature you are especially impatient of trying?
12:43:20 <mokush> :) heh
12:43:29 <mokush> well, most of all, more status options
12:43:34 <mokush> like invisible of Yahoo
12:43:38 <mokush> *on
12:43:53 <Mic|web> d'oh.. just missed clokep :S
12:44:43 <flo> mokush: so you want an add-on to set the status to invisible?
12:45:12 <mokush> there's no point of an add-on
12:45:21 <mokush> it should be part of the base release
12:47:02 <Mic|web> Why do you think an addon is not sufficient, btw?
12:48:56 <mokush> because it's a basic feature, every other IM out there has it
12:50:12 <Mic|web> flo: I think I remember that clokep once said something about writing native components
12:50:37 <Mic|web> Do you remember whether he can or not?
12:55:15 --> hicham has joined #instantbird
12:57:30 <Mic|web> Just my 2 cents: other clients essentially have to include all the features they'd like to offer as they are by far not as extensible as an application based on the Mozilla framework
12:58:17 <Mic|web> and looking at the success of Firefox and its extensions, it can't be such a bad way after all.
12:58:46 <Mic|web> This is not meant to offend you, just to question the "has to be a base"-feature idea
12:59:14 <flo> Mic|web: what's the question about native components exactly?
13:00:00 <Mic|web> The "Always On Top" problem (see bug 346) requires a bit of native code .. and I'm looking for one who might be able to write it
13:00:05 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=346 enh, --, ---, nobody, NEW, Buddy list always on top
13:00:16 <flo> mokush: by "every other IM out there has it" I assume you mean "the previous yahoo client I used to have".
13:00:55 <flo> invisible status is tricky, because what "invisible" means is very different from one protocol to another
13:01:00 <mokush> I mean every other im client I used
13:01:31 <mokush> I agree it's very tricky, but you could make it available only to yahoo (at first anyway)
13:01:53 <flo> by the way, 0.2 has the core support for the "invisible" status of libpurple ( = the invisible status of Pidgin). Adding a ui item for it is trivial to do with an add-on.
13:02:39 <Mic|web> I'm going to CC clokep anyways so it doesn't matter if you know the answer
13:02:45 <flo> I'm afraid "available only to yahoo" doesn't make much sense. If we display "invisible" as the statut at the top of the buddy list, the user can reasonably expect to be invisible on all protocols. What does it mean on for example IRC?
13:03:09 <flo> Mic|web: maybe you can try with jsctype? :)
13:03:11 <hicham> +i
13:03:16 <flo> anyway, lunck time
13:03:16 <Mic|web> I guess people have a bit of common sense ..
13:03:36 <Mic|web> js-ctypes require Mozilla2, don't they?
13:03:52 <flo> Mic|web: I think some basic features were already in 1.9.2
13:04:00 <Mic|web> ah, ok ..
13:04:12 <Mic|web> Let's see .. :)
13:04:58 <Mic|web> But I shouldn't pile up work I can't possible do on the other hand .. I have quite a few Ib-todo items already
13:05:23 <Mic|web> If clokep has a solution at hand I'll take it.. otherwise it will go on-hold for the time being
13:11:40 <Mic|web> hmm, the js-ctypes seem easier than I anticipated. Let's see.
13:11:43 <Mic|web> gtg
13:11:53 <Mic|web> bye
13:13:20 <Mic|web> mokush: I can take a look the the libpurple invisible status .. if it looks like it gives reasonable results and requires little coding (and thinking:P) then I might 'whip up' an extension for that
13:13:48 <Mic|web> (Don't expect more than a new icon on the drop down list and an entry in the menu though..)
13:15:01 <mokush> well that's the only thing I'm expecting :)
13:15:40 <Mic|web> bye
13:16:09 <-- Mic|web has quit (Quit: http://www.mibbit.com ajax IRC Client)
13:48:45 <-- hicham has quit (Client exited)
15:10:07 <-- Mic has quit (Quit: Instantbird 0.3a1pre)
15:19:53 <-- sumobot has quit (Ping timeout)
15:20:03 --> sumobot has joined #instantbird
16:09:15 --> clokep has joined #instantbird
16:14:33 <clokep> And I missed Mic? Hmmm...let me check out the bug.
16:29:18 <-- clokep has quit (Quit: Instantbird 0.3a1pre)
17:20:14 <-- tymerkaev has quit (Ping timeout)
17:20:35 <-- micahg has quit (Ping timeout)
18:08:07 --> Mic has joined #instantbird
18:08:22 <Mic> good evening
18:13:55 --> DGMurdockIII has joined #instantbird
18:29:07 --> micahg has joined #instantbird
18:42:40 <Mic> flo: is there an easy way to get the handle of a window for use with the Windows API?
18:43:17 <Mic> From what I've seen, I'd say no, but hope dies last ;)
18:44:36 --> idechix has joined #instantbird
18:44:36 * ChanServ sets mode +o idechix 
18:55:30 <-- idechix has quit (Quit: Instantbird 0.3a1pre)
18:55:38 --> idechix has joined #instantbird
18:55:38 * ChanServ sets mode +o idechix 
18:57:01 <-- idechix has left #instantbird ()
18:57:13 --> idechix has joined #instantbird
18:57:13 * ChanServ sets mode +o idechix 
18:59:58 <instantbot> leeraccount@yahoo.de added attachment 340 to bug 484.
19:00:07 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=484 enh, --, ---, leeraccount, NEW, Changed icons for Options dialog (Windows, Classic theme)
19:01:20 <Mic> The screenshot on the wiki is also updated btw
19:26:39 <-- DGMurdockIII has quit (Connection reset by peer)
19:29:40 --> clokep has joined #instantbird
19:31:11 <clokep> Mic: I also was trying to get the handle of a window for use with the Windows API. I failed. :(
19:31:36 <clokep> I found some posts about it in the newsgroup...but nothing was satisfactory, there is also a MDC page about it.
19:32:50 <clokep> What were you trying to get it for? Instead of those SB componentss?
19:33:53 <Mic> Yes
19:34:02 <Mic> I'm using js-ctypes at the moment
19:34:14 <Mic> All I need is the window handle as it seems
19:34:33 <clokep> :-\
19:34:42 <clokep> Mic: Give me 5 minutes to find the documentation I have?
19:34:45 <Mic> I'm going through the SB code and try to get the least possible amount of code to do so
19:34:46 <clokep> Just got in from class.
19:34:55 <clokep> That'd be good. :)
19:35:17 <Mic> Look into the NativeWindowManager class if you want to
19:35:32 <Mic> I think it's method "get" (and what it calls from there)
19:37:06 <clokep> OK, I have my books organized. :) Haha...
19:38:58 <clokep> Mic: Did you see https://developer.mozilla.org/en/Code_snippets/Finding_Window_Handles ?
19:39:29 <Mic> No, not yet. Sounds useful :)
19:40:17 <clokep> It kind of is.
19:40:26 --> DGMurdockIII has joined #instantbird
19:40:34 <clokep> I was thinking about posting to mozilla.dev newsgroup to see if there's a way to do it using only JS?
19:41:42 <Mic> Let me finish my Aero icons and I'll have a look at it then
19:42:30 <clokep> OK. :)
19:42:38 <clokep> I'm also checking some stuff.
19:58:30 <clokep> Mic: You might be able to use http://msdn.microsoft.com/en-us/library/ms633499%28VS.85%29.aspx ?
19:59:02 <clokep> Minimize to Tray also has some sample code for this btw.
19:59:36 <clokep> Ah, this is the thread I was looking for: http://groups.google.com/group/mozilla.dev.extensions/browse_thread/thread/e99919f97a59fed3/9d86af1617828838
19:59:40 <clokep> (Sorry for the link spam.)
20:01:42 <instantbot> leeraccount@yahoo.de added attachment 341 to bug 484.
20:01:44 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=484 enh, --, ---, leeraccount, NEW, Changed icons for Options dialog (Windows, Classic theme)
20:01:57 <clokep> There's also a way to loop over each of the windows using the windows API.
20:03:59 <clokep> Mic: I definitely like that image w/o the Pen, the Pen just look slike a slash to me, i.e. "not".
20:04:40 <Mic> Yes, it was hard to tell what it is. It's better much now, even though maybe a little empty ;)
20:05:43 <Mic> The Aero icon is not bad either.. I changed the emoticon colours to match the blue of the other icons
20:07:33 <clokep> I agree.
20:14:30 <clokep> Mic: Did you need me to compile / attempt compiling something?
20:14:40 <Mic> yes
20:15:02 <Mic> I was thinking I'd need a native component
20:15:14 <Mic> I guess I'll try around with the ctypes a bit
20:15:37 <clokep> Any luck finding the hwnd w/o a binary? :)
20:15:49 <clokep> OK well let me know if you want me to compile something?
20:16:14 <Mic> Not yet
20:16:19 <Mic> I'll do
20:20:16 <clokep> Also let me know if you do manage to get the hwnd, I'd need it for minimize to tray.
20:21:05 <Mic> Sure
20:23:10 <-- mokush has quit (Client exited)
20:24:33 <clokep> There's an awful lot of posts about it, but only vague references about how to get it. All native, of course.
20:33:44 <flo> clokep: a non-native way to get a raw pointer value doesn't make much sense ;)
20:34:07 <flo> (though I do understand the use case, of course :))
20:34:20 <clokep> flo: But it should be able to be stored using js-ctypes and then passed to another native function, no?
20:34:33 <flo> yes
20:34:39 <clokep> that's what I'm asking. :)
20:34:51 <flo> by the way, can't you execute the "native code" with js-ctypes? ;)
20:35:03 <Mic> Works:)
20:35:10 <Mic> FindWindowW just worked for me
20:35:50 <Mic> And.. the buddy list is "top most" :)
20:36:31 <clokep> Awesome. Can you pastebin it for me?
20:36:36 * clokep is feeling lazy.
20:36:38 <Mic> Sure
20:37:07 <Mic> http://pastebin.instantbird.com/367
20:43:17 <Mic> This is awesome :P
20:43:19 <clokep> Arg...I need this on my other computer. :P
20:43:30 <clokep> Glad that it works.
20:44:43 <Mic> oh, I don't know where you can find the window class name normally
20:45:02 <Mic> I but I guess it will always be the Mozilla UI thing
20:45:20 <clokep> Yes, it is.
20:45:26 <clokep> But apparently there can be multiple of those sometimes?
20:45:32 <clokep> Maybe if you're running multiple copies of Ib?
20:45:44 <Mic> I thought that as well
20:45:54 <Mic> but I guess you can only access own windows?
20:46:08 <clokep> There's a way to get child windows if that's what you're asking?
20:46:11 <Mic> At least it didn't do anything to the second copy of Instantbird that I was running
20:46:45 <Mic> I meant windows "owned by"  this process or something like that maybe.
20:47:06 <Mic> And:
20:47:07 <Mic>  I've absolutely no idea what I'm talking about. ;)
20:49:44 <clokep> Mic: You were running that in whta version of Instantbird?
20:49:54 <Mic> 0.3a1pre
20:50:02 <clokep> Hm. Interesting.
20:50:14 <Mic> 20100716041832 to be precise
20:50:19 <Mic> So rather old
20:55:44 <Mic> Fallen suggested having a look at libxul as well, maybe there's something more natural than looking for a window of the right name 
20:56:25 <clokep> Doesn't libxul contain like everything in toolkit?
20:59:44 <Mic> No idea
21:00:11 <Mic> Looking at the filesize it could contain just everything ever coded
21:03:02 <Mic> How do you tell which functions are exported (?) by a library?
21:03:13 <clokep> I'm not sure. :-\
21:03:17 <Mic> I thought I had a tool that listed them once but I can't find it
21:03:28 <clokep> You can get to it even if its not specifically exported, but that's bad hahah.
21:11:00 --> hicham has joined #instantbird
21:14:57 <-- clokep has quit (Quit: Instantbird 0.3a1pre)
21:15:01 --> clokep has joined #instantbird
21:17:40 <clokep> flo: I have a lot of errors and such in my error console from libpurple. Should I not worry about that until libpurple is updated, etc. or?
21:18:01 <flo> even after libpurple is updated :)
21:18:31 <-- Mic has quit (Quit: Instantbird 0.3a1pre)
21:18:38 <clokep> Haha OK. Most of them are proxy or auth errors, 
21:18:43 <flo> they are there to help diagnose the cause of problems that you see, not to make you believe there are problems when everything seems fine ;)
21:18:44 --> Mic has joined #instantbird
21:19:18 <clokep> Hmm...OK, shouldn't the be like warnings or info instead of errors then? ;)
21:19:36 <flo> bah... what are the errors? :)
21:19:51 <flo> do they sound really scary? ;)
21:20:18 <clokep> Bah I cleaned my error console. Brb.
21:20:21 <-- clokep has quit (Quit: Instantbird 0.3a1pre)
21:20:24 --> clokep has joined #instantbird
21:20:29 <-- Mic has quit (Quit: Instantbird 0.3a1pre)
21:20:37 --> Mic has joined #instantbird
21:20:55 <-- DGMurdockIII has quit (Quit: get satisfied! • :: www.unitedservers.de ««« (Gamers.IRC) »»» gamersirc.net ::)
21:20:59 <clokep> DNS failure, the same warning like 15 times about yahoo status keys, yahoo packet process errors.
21:21:11 <clokep> (Unhandled service), some IRC AUTH errors.
21:21:22 <flo> seems like noise
21:21:28 <clokep> Unable to open buddy icons from my MSN account. :P
21:21:41 <flo> I get that one too
21:21:42 <clokep> And a handshake failure/oscar error.
21:21:57 <clokep> Hm, OK. Thanks.
21:22:45 <flo> np
21:22:46 <-- Mic has left #instantbird ()
21:22:53 <flo> I wish we could have something there that makes more sense
21:23:08 --> Mic has joined #instantbird
21:23:32 <clokep> It'd be pretty fabulous to to limit by account, etc.
21:23:44 <clokep> Mic: I got it running but it doesn't seem to do anthing. :)
21:24:01 <Mic> I'll pastebin a new version
21:24:01 <clokep> hWnd was 0? Not sure that matters.
21:24:04 <flo> clokep: we have the protocol, but not the account
21:24:04 <Mic> ah, I know why ..
21:24:26 <clokep> flo: True, I didn't think about that.
21:24:27 <Mic> clokep: my Instantbird buddy list is named differently than others .. and it uses this iirc
21:24:56 <flo> maybe someday we will connect use each protocol plugin in a separate process, with an instance for each account
21:24:59 * flo dreams
21:25:00 <flo> :-P
21:25:21 <Mic> Should I zip the extension? You'd get a nice menu item for free then ;)
21:25:35 <flo> an "invisible" one? ;)
21:25:48 <clokep> Mic: That'd be helpful maybe? Although I still have to play with the name, right?
21:26:39 <clokep> To "Buddy list - Instantbird" I would presume?
21:27:59 <Mic> Only "Instantbird"
21:28:27 <Mic> Anyone knows a place to upload small binary files?
21:28:38 <clokep> You can just email it to me if you want. :)
21:28:42 <clokep> Or post it in the bug? ;)
21:29:18 <Mic> http://rapidshare.com/files/416117840/alwaysontop_mic.instantbird.org.zip
21:29:51 <clokep> I apparently need to try again in 2 minutes. :P
21:34:34 <clokep> Got it Mic. :)
21:34:47 <Mic> I'm seriously impressed
21:35:35 <Mic> It's about 30 lines of JS code including defining constants, calls native code and works like a charm
21:37:13 <Mic> You'll need to change the library path if your user32.dll doesn't reside in c:\windows\system32
21:37:29 <Mic> (just in case)
21:37:49 <clokep> Mic: WFM, awesome work. :)
21:38:00 <clokep> Also you can just use "user32" and it should find it automagically? Or maybe that's a moz2 thing only.
21:39:19 <flo> jsctypes will probably reduce a lot the pain of adding the systray icon ;)
21:39:27 <Mic> Yes it does .. but I didn't like that after the recent news about the "loading dll's from user dir" problem
21:39:36 <clokep> flo: What I've been working on, but I died at getting hWnd and ran out of time to work on it.
21:39:47 <hicham> i guess you are right, that is how dynamic linking works
21:40:10 <Mic> I know I can let it change the search order
21:40:14 <hicham> it starts by looking at the current dir, then system32, ...
21:40:24 <Mic> I'll do that before releasing the extension
21:40:27 <hicham> you better change the searcher order
21:40:34 <hicham> to be more secure
21:41:10 <hicham> luckily IB doesn't handle any mime type i guess
21:41:39 <clokep> Mic: I think you can also do something like %AppData% for the Windows path, not sure if that helps.
21:41:45 <Mic> no
21:41:50 <Mic> I've tried this
21:42:01 <Mic> %windir% it is, but it doesn't work here
21:42:38 <Mic> was to be expected imo
21:42:50 <hicham> try this http://msdn.microsoft.com/en-us/library/ms682586%28v=VS.85%29.aspx
21:43:05 <clokep> Hmmm...it doesn't seem that the version of ctypes in 1.9.2 can use pointers...
21:44:51 <Mic> clokep, what are you trying to do?
21:45:31 <clokep> Mic; Notification area support.
21:45:42 <Mic> no, the actual problem with the pointer
21:46:07 <clokep> Oh, it simply doesn't have the pointer type in it.
21:46:16 <clokep> I might be able to pass it as just an integer or whtaever. I didn't try.
21:46:33 <Mic> If you're concerned about LPWSTR's or something like that .. you use strings instead
21:46:35 * clokep is restarting his development computer.
21:48:12 <Mic> Oh, the TOPMOST status doesn't survive minimizing :(
21:48:27 <hicham> why not do that upstream ?
21:49:07 <Mic> hicham: what?
21:49:36 <hicham> Mic : i mean add systray support in upstream xulrunner
21:50:27 <hicham> i think mozilla will be happy to have that
21:51:57 <clokep> hicham: Why don't we worry about getting it working at all first? :)
21:52:42 <flo> hicham: several people have tried and wasted a lot of time
21:53:37 <flo> there didn't seem to be a good agreement on what the API should look like
21:56:49 <-- hicham has quit (Ping timeout)
22:05:29 <clokep> Mic: You should probably close the library.
22:05:40 <Mic> when?
22:05:59 --> hicham has joined #instantbird
22:06:04 <Mic> I either need to open it each time I want to call the function or leave it open
22:06:30 <clokep> Oh, I didn't think of that.
22:06:42 <clokep> You're probably "supposed" to open and close it each time so it doesn't keep the library open.
22:06:52 <clokep> But otherwise you could wait for a sthudown signal and do it then.
22:07:15 <clokep> At "purple-quit " notification perhaps.
22:08:07 <flo> hicham: my last comment may have sounded like I'm against upstreaming patches. It's not the case.
22:08:28 <flo> I'm actually spending time these days to upstream the patches that we currently apply to the mozilla source code for our builds
22:08:42 <hicham> flo : i am aware of how long it takes to get sthg into mozilla tree, don't worry :)
22:08:57 <flo> hicham: it's not always long
22:09:09 <flo> See https://bugzilla.mozilla.org/show_bug.cgi?id=591341
22:09:11 <Mic> clokep: how do you tell that the program minimizes?
22:09:21 <Mic> is there something like "onminimize"?
22:11:54 <clokep> Mic: Theoretically? Or actually? :P
22:12:03 <Mic> both?
22:12:54 <clokep> Mic: I'm not sure, check the "Window" documentation?
22:15:05 <clokep> window.windowState perhaps?
22:15:10 <clokep> https://developer.mozilla.org/en/xul/window
22:16:01 <clokep> Although you'd really want to know when a window is restored?
22:20:00 <Mic> yes
22:21:02 <hicham> Mic : did you look at minimizetotray code ?
22:21:12 <Mic> yes
22:21:19 <Mic> I had a quick glance at least
22:26:19 <clokep> I'm looking through it now Mic. I'll let you know if I find anything.
22:26:34 <Mic> Thanks
22:27:00 <hicham> is there such extension for mozilla on macos ?
22:30:09 <flo> an extension to do what?
22:30:27 <hicham> minimize to tray
22:30:42 <flo> minimize to tray doesn't make sense on Mac OS X
22:30:44 <hicham> or macos doesn't have that ?
22:30:50 <hicham> oh
22:30:52 --> Grunt has joined #instantbird
22:30:54 <flo> all applications are supposed to stay open even when you have closed all the windows
22:31:06 <-- Grunt has quit (Quit: Instantbird 0.2)
22:31:07 <flo> (Instantbird doesn't respect that (yet!) by the way... :()
22:31:20 <hicham> I ve never used mac :(
22:31:48 <flo> a click on the dock icon (which is comparable to the task bar on Windows) restores all the windows of the application, or opens a new window if all the previous windows have been closed
22:32:22 <flo> there's also a notification area near the clock, but it's not abused to minimize windows.
22:32:45 <hicham> almost the behavior of firetray
22:33:53 <clokep> Mic: Maybe you can check the state of the checkmark at one of these events on the window: https://developer.mozilla.org/en/DOM/window#Event_Handlers
22:34:10 <clokep> That's the best I can seem to find...although https://developer.mozilla.org/en/XPCOM_Interface_Reference/nsIWindowWatcher might have something. :-\
22:36:37 <-- Mic has quit (Quit: Instantbird 0.3a1pre)
22:36:39 <hicham> what do you think the menu on systray should show ?
22:36:46 --> Mic has joined #instantbird
22:39:21 <clokep> Restore. ;)
22:39:37 <Mic> I'm sorry, I just restarted the program
22:39:43 <flo> list of active conversations, with the unread message count?
22:39:47 <Mic> It seems I missed what you said before
22:40:06 <clokep> Mic: http://log.bezut.info/instantbird/100830/#m337
22:40:08 <flo> maybe a way to change the status
22:41:01 <clokep> Probably Restore, Exit, a submenu with a checklist of statuses, I'm not sure what else would be used often enough.
22:41:13 <clokep> flo: Hopefully unread message count can be in the icon. :)
22:41:33 <flo> clokep: I meant, per conversation
22:41:47 <clokep> Oh, a list of all conversations w/ # of unread?
22:42:10 <hicham> is there a way to retrieve that ?
22:42:20 <flo> maybe the icon could contain the number of item requesting attention (conversations with new messages, authorization requests, ...)
22:42:32 <flo> if there isn't we can add one.
22:42:34 <Mic> I'm not sure
22:42:45 <Mic> Right now the unread is not a counter, but a flag
22:43:04 <flo> we have a global counter
22:43:11 <flo> we should change all that :)
22:43:20 <Mic> Make it more awesome?
22:43:26 <flo> yeah!
22:43:42 <flo> we should hire a few interns to make it awesomely more awesome! ;)
22:43:44 <clokep> Maybe add in an awesomecounter? :P
22:43:50 <hicham> firetray does that for thunderbird and seamonkey
22:46:07 <Mic> And let them blog about it ;)
22:46:24 <-- idechix has quit (Quit: Instantbird 0.3a1pre)
22:46:34 <flo> we should blog more awesomeness!
22:46:55 <clokep> Actually its been a couple of weeks since a blog entry, no?
22:46:56 <flo> we haven't posted anything about the magic copy yet
22:47:05 <flo> clokep: yes :(
22:47:40 <-- Mic has quit (Quit: Instantbird 0.3a1pre)
22:50:55 --> Mic has joined #instantbird
22:51:04 <clokep> flo: But I guess there isn't too much to say? It was good you put one saying that everyone is kind of taking some time off or whatever so people aren't thinking that /nothing/ is happening.
22:52:49 <flo> actually, there could be things to say if we only wanted to do another status update
22:53:08 <flo> all the bugs related to mozilla2 that were known are fixed
22:53:39 <flo> whether we switch to omnijar packaging or not remains to be investigated/fixed.
22:54:18 <clokep> Oh, I didn't realize they had all been fixed. :)
22:54:22 <flo> our patches against the mozilla source code that were in instantbird 0.2 are on they way to be upstreamed.
22:54:51 <flo> well, I haven't tested on Windows at all, and I'm almost sure there will be a bug in the installer.
22:54:59 <flo> but it all works on Mac and Linux.
22:55:50 <clokep> That's good. :)
22:56:22 <flo> yeah, not testing Windows is good for one's mental health
22:56:26 <flo> "scnr" ;)
22:56:51 <clokep> What sorta bugs are upstreamed?
22:57:03 <flo> https://bugzilla.mozilla.org/show_bug.cgi?id=591341
22:57:10 <flo> https://bugzilla.mozilla.org/show_bug.cgi?id=591837
23:00:22 <clokep> Interesting.
23:00:57 <flo> it takes time to create the tests, and a write a description that is good enough to make people want to accept the patch ;)
23:01:30 <clokep> I'm sure, but it's good to put them upstream.
23:01:37 <clokep> Makes it easier to not have to patch Mozilla, no? :)
23:02:01 <flo> we will still patch it a bit
23:02:10 <clokep> flo: There's a distinct advantage to omnijar which I like...
23:02:17 <flo> there are 2 main motivations for upstreaming:
23:02:44 <clokep> you can just unzip the jar, delete it and work with the files as if they're flat chrome. This could allow people to easily mess with things without having to worry about using hg.
23:02:45 <flo> 1. Linux distribution that package instantbird make it use the system xulrunner, so we can't have a patched mozilla on Linux.
23:03:04 <flo> 2. It's annoying to have to repeatedly update the same patch each time there's a change in the file.
23:03:53 <hicham> so you ship a patched xulrunner on windows ?
23:04:01 <flo> everywhere
23:04:29 <flo> we just made sure that it will degrade gracefully on linux if the default xulrunner is used instead
23:05:18 <hicham> oh, i thought you were using vanilla xulrunner
23:05:26 <flo> in the rare cases where a patch was really required, we upstreamed it as soon as possible.
23:05:30 <flo> https://bugzilla.mozilla.org/show_bug.cgi?id=418535 for example
23:05:56 <flo> hicham: actually, we don't use xulrunner at all
23:06:24 <hicham> flo : how ?
23:06:27 <flo> when it's not built with the --with-libxul-sdk flag on Linux, Instantbird is a libxul application like Firefox is.
23:09:37 <flo> hicham: is this clear, or even more confusing? :)
23:10:17 <hicham> flo : yes, it is clear
23:10:42 <flo> once these 2 patches are upstreamed, 4 will remain
23:10:59 <flo> we can delete 2 of them which were only for Windows CE which we no longer plan to support
23:11:37 <flo> then we have one for the way the build system create buildsymbols archives. It's only needed because of the specific details of the way we have setup buildbot
23:12:00 <flo> and the last one removes the line "Instantbird is a registered trademark of the Mozilla Foundation" from the Windows installer.
23:12:40 <hicham> they shouldn't have hardcoded that
23:13:40 <flo> sure. But the patch to comment out the line is trivial, so it won't hurt all that much if it ever bitrot
23:14:07 <flo> by the way, I wonder if it writes "Minefield is a trademark blahblah" in Windows installer of nightly builds
23:14:34 <clokep> I'm pretty sure it does flo. :)
23:14:55 <flo> the patch is http://lxr.instantbird.org/instantbird/source/tools/patches/installer-trademark.patch
23:15:05 <Mic> Good night
23:15:14 <clokep> Mic: Goodnight.
23:15:28 <flo> Mic: good night! :)
23:15:51 <flo> clokep: maybe we can get them to fix it then :)
23:16:10 <clokep> flo: Do you know which page it says it on?
23:16:33 <flo> when you look at the version info of the .exe of the installer
23:16:45 <flo> the properties dialog of the file
23:19:03 <clokep> flo: I don't see that string anywhere or else I'd check. (looking at Firefox 3.6.8 properties right now.)
23:19:37 <flo> it may be the properties of the setup.exe file once the 7z auto-extractor has finished its job
23:19:42 <flo> in this case, it's almost invisible :)
23:21:13 <clokep> flo: You're right its of "setup.exe".
23:21:42 <clokep> Minefield has it.
23:21:44 <flo> is it on uninstall.exe too?
23:22:39 <clokep> "helper.exe" in the uninstall folder also says it.
23:23:02 <flo> that file may be more visible
23:23:07 <clokep> (And the Instantbird doesn't, if you were wondering. :))
23:23:28 <flo> I wasn't. I know I've patched it. ;)
23:24:10 <flo> and I remember I was frustrated by that hardcoded string at the time ;)
23:24:17 <clokep> I'm guessing you think they wouldn't want it saying Minefield was?
23:24:25 <flo> yes
23:26:19 <flo> if any of you is in the mood of filing a bug and trying to change this, cc me in the bug. :)
23:27:27 <clokep> I would, but I wouldn't even know how to start. :-\
23:29:03 <flo> bah, don't worry. It's not a bug that is likely to hurt anybody ;)
23:29:47 <clokep> Well what do you want the proper outcome to be? Do you want a way to disable it altogether? Do you just not want a hard coded string? It seems from the other patches there you'd need to patch that line anyway?
23:30:39 <flo> I think that like should be ifdef'd out for builds that don't use a registered trademark
23:31:30 <flo> s/like/line/ :(
23:31:39 <-- Mic has quit (Quit: Instantbird 0.3a1pre)
23:31:47 <clokep> Alright. Should I mention this is wanted for Instantbird?
23:32:35 <flo> you can mention at least that we had to work around it
23:32:49 <clokep> I'm guessing that that's a Core component, right? :-D
23:34:07 <flo> I would suggest Toolkit -> NSIS Installer
23:36:42 <clokep> That doesn't seem to exist.
23:37:04 <flo> look in "Other products"
23:37:28 <flo> https://bugzilla.mozilla.org/enter_bug.cgi?product=Toolkit
23:38:52 <clokep> Haha, apparently I'm failing at making thsi easier for you. :)
23:39:09 <clokep> I didn't realize Core != Toolkit.
23:41:03 <flo> clokep: probably because the difference makes sense only once you have understood that "toolkit" is the name of the directory here ;)
23:41:32 <clokep> What goes into core then? :P
23:41:50 <clokep> Ah i guess all the stuff not under toolkit haha.
23:43:08 <flo> :)
23:43:47 <flo> it's also possible that "toolkit" contains only stuff that are of interest for application developers
23:44:04 <flo> has opposed to "Core" that contains stuff that are likely to be of interest to web developers (CSS, DOM, ...)
23:47:36 <flo> *as
23:48:44 <clokep> Oh perhaps.
23:52:42 <clokep> OK, everything is ready to go except the summary?
23:56:17 <clokep> OK I cc'd you.