#instantbird log on 06 18 2010

All times are UTC.

01:16:54 --> skeledrew has joined #instantbird
02:00:41 <instantbot> clokep@gmail.com added attachment 313 to bug 424.
02:00:43 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=424 nor, --, ---, nobody, UNCO, Buddy's status different in buddy list and conversation window when changing from mobile to availabl
02:49:02 <-- clokep has quit (Quit: Instantbird 0.2pre)
04:44:49 <-- flo has quit (Quit: Instantbird 0.2pre)
05:25:36 <-- skeledrew has quit (Ping timeout)
05:46:46 --> Mic has joined #instantbird
05:48:33 <Mic> flo: the thing with crashed accounts is that I have an account that I connect frequently but not always myself
05:49:18 <Mic> With the Jabber problem I opened the account manager, hit enter or space and killed the application thereby, because the broken Jabber account was selected instead of the usual
05:50:00 <Mic> Maybe it 
05:51:38 <Mic> Could the properties button be a better default button for crashed accounts maybe?
05:53:20 <Mic> The error message is persisted over account setting changes afaik, maybe changing that could be discussed as well?
05:54:25 <Mic> We don't know about the remote server but we know that we crashed with certain settings (and might not with others, even though a crash should just not happen at all?)
06:26:02 --> tymerkaev has joined #instantbird
07:08:53 --> flo has joined #instantbird
07:08:54 * ChanServ sets mode +qo flo flo 
07:09:22 <flo> hi :)
07:10:08 <tymerkaev> hi
07:10:37 <flo> Mic: isn't this jabber "crash" fixed in current nightlies?
07:11:03 <flo> I think the error message about the crash persists until you successfully connect the account at least once.
07:36:20 <Mic> The jabber crash is fixed, sure
07:36:59 <Mic> it was about "going to the account manager and connecting a broken by accident because selection has changed unexpectedly"
07:37:16 <flo> uh
07:37:21 <Mic> *broken account
07:37:25 <flo> isn't it selected as soon as you open the account manager?
07:38:25 <Mic> I didn't check when using keyboard shortcuts but relied on the first account being selected (I moved it on top to be able to do exactly this) 
07:38:48 <Mic> ie "ctrl-shift-a, enter"
07:39:00 <Mic> well, luxury problems .. ;)
07:43:43 <flo> hmm, so to connect your favorite account, you ctrl-shift-a enter ctrl-shift-a, without looking at the window that appears?
07:44:27 <Mic> I don't use it every time I connect, so I can't set it to autoconnect
07:44:47 <Mic> *I don't use it everytime use Instantbird, so ...
08:09:48 <instantbot> Check-in: http://hg.instantbird.org/instantbird/rev/4887fa6a83c1 - Florian Quèze - Fix build bustage when building without --enable-debug.
08:09:49 <instantbot> Check-in: http://hg.instantbird.org/instantbird/rev/21c5cf8cc294 - Florian Quèze - Stop using purple_find_prpl in purplexpcom.
09:16:39 --> skeledrew has joined #instantbird
10:46:45 --> tymerkaev_ has joined #instantbird
10:47:07 <-- tymerkaev_ has quit (Quit: I must go. Good bye!)
10:47:55 --> noob has joined #instantbird
10:48:23 <-- noob has quit (Quit: I must go. Good bye!)
11:52:24 --> Amfi has joined #instantbird
11:57:40 --> clokep_work has joined #instantbird
12:49:08 <-- Amfi has left #instantbird ()
12:52:29 <-- skeledrew has left #instantbird ()
12:53:48 --> skeledrew has joined #instantbird
13:52:50 <-- tymerkaev has quit (Client exited)
14:46:12 <skeledrew> how can i determine the call hierarchy in a chrome's content folder containing multiple XUL files?
14:47:14 <clokep_work> skeledrew: I'm not sure what you mean by  that. XUL files are loaded when a particular window/overlay is loaded.
14:49:20 <skeledrew> i'm pulling apart IB itself, and there're loads of XULs in the chrome folder. i already know that JSs are called from XULs. i'm seeking a way to determine which XULs call which...
14:50:10 <flo> if you have the name of a xul file and you wonder how it is opened, just look it up in lxr
14:50:26 <skeledrew> flo: lxr?
14:50:26 <flo> the xul file loaded at startup is blist.xul
14:50:37 <flo> skeledrew: http://lxr.instantbird.org/instantbird/
14:51:11 <flo> (survival tool when diving into the source code, especially when libpurple is involved :))
14:51:12 <skeledrew> really? i thought so!
14:51:40 <skeledrew> now i definitely know why the app closes when you close the buddy list
14:52:35 <flo> skeledrew: it's because if this line: http://lxr.instantbird.org/instantbird/source/instantbird/content/blist.js#537
14:52:58 <skeledrew> i was already going to make the suggestion that a dummy window or something be created instead of loading the buddy list
14:53:45 <clokep_work> Personally I'm a fan of the Quit button quitting the application. Its the expected behavior. If you want something to minimize to a tray I think the minimize button should do it.
14:53:56 <flo> I think an XPCOM component should replace the "normal" startup of a XULRunner application, and either start the account wizard (if this is a new profile), or the account manager (if automatic connections are disabled), or the buddy list (if connecting automatically)
14:55:33 <skeledrew> clokep_work: the buddy list isn't a window that i (and i assume many) use frequently. it's not a matter of minimizing it, but hiding it till it's needed. as with the other windows
14:56:13 <clokep_work> skeledrew: I don't know anyone that closes their buddy list even if its not in use. They just let it "bubble" to the back.
14:56:16 <Mic> clokep_work: I'd say it's rather common that Instantmessengers just close the buddylist if you click the 'Close' button
14:56:28 <skeledrew> i do...
14:56:35 <skeledrew> my friends do...
14:56:45 <clokep_work> skeledrew: That's fine. I'm disagreeing and saying my friends don't. :P
14:56:53 <skeledrew> lol
14:57:05 <clokep_work> Just that its very hard in this type of case to assume that "many" or "most". :(
14:57:12 <Mic> The 'average user' does :P
14:57:27 <skeledrew> Pidgin, Miranda and Digsby all hide the buddy windows when you close it
14:57:31 <clokep_work> Mic, but how do you know what the "average user" does?
14:57:32 <flo> usually, expecting "people" to do what you and your friend do is an assumption that needs to be challenged ;).
14:57:35 <clokep_work> Pidgin has an option.
14:57:44 <clokep_work> flo: That's my point! Thanks.
14:58:07 <skeledrew> well then...
14:58:17 <skeledrew> i guess it's time for that option...
14:58:20 <flo> I'm certainly not the typical user :)
14:58:30 <Mic> The 'average user' thing was not serious
14:58:44 <clokep_work> Not trying to be argumentative, just trying to "challenge" it, as flo said.
14:58:54 <Mic> It's a you-can-claim-everything-based-on-this
14:59:00 <skeledrew> so line # 537 will pose a problem
14:59:12 <flo> Mic: remember faaborg's post on this topic?
14:59:21 <clokep_work> Mic: I know, its just frustrating how different people view programs, especially when the people writing programs are certainly not the mystical "average user".
14:59:21 <Mic> Why Personas are bad? ;)
14:59:22 <skeledrew> since JS can't be overlayed, only fully replaced...
14:59:43 <flo> skeledrew: where did you get that from?
15:00:07 <skeledrew> i think?
15:00:11 <clokep_work> skeledrew: You can "overlay" JS, but you can add to a function, you'd have to replace it / add a wrapper around it.
15:00:28 <skeledrew> ok
15:00:47 <skeledrew> so time to find a way to zap the close function...
15:00:58 <clokep_work> A lot of extensions will capture feedback from the user, do their own things to it...and if its not applicable just pass it on to the application.
15:01:02 <Mic> Have a look at the source of .. the nickservkiller extension
15:01:34 <skeledrew> Mic: have it open right now. best eg so far :)
15:01:34 <clokep_work> Should just be able to buddyListContextMenu.close = function() {} or somethign along those lines...(or you can get fancy and replace it with a minimize ;)).
15:01:45 <Mic> I think it 'stores' and replaces the listener for newconversation and calls it later if necessary
15:01:58 <flo> by the way, when someone in an argument says "most users do blahblahblah", I understand "I personally do blahblahblah"
15:02:12 <skeledrew> flo: true
15:02:38 <Mic> flo: want an extension for replacing "most users"?  ;)
15:03:07 <flo> Mic: it's built-in in my mind! :)
15:03:14 <skeledrew> lolz
15:03:18 <clokep_work> skeledrew: Actually I lied a bit, I minimize my Skype buddy list since I don't use it often, but that's only cause you can't minimize it to try anymore.
15:03:39 <skeledrew> clokep_work: heh heh
15:03:52 <skeledrew> point proven
15:04:59 <Mic> lol
15:05:14 <flo> bah, I close it with Ctrl-c :-P
15:05:21 <Mic> "Proof by example" .. that's rather .. bold ;)
15:05:26 <skeledrew> thing is, other clients that i've used provide their most used functions directly from a right click on the tray icon. a double click brings up the buddy list
15:05:28 <flo> most user do it, anyway! :-P
15:05:40 <skeledrew> it's the norm for me
15:05:56 <clokep_work> Not Ctrl+W? :P Does that even close the buddy list?
15:06:11 <flo> clokep_work: Ctrl+Q does
15:06:18 <flo> but I'm using Ctrl-c in the terminal :)
15:06:28 <clokep_work> There's actually a third "group" of users I can think of -- those that "dock" their buddy list to the side of the screen so its ALWAYS up.
15:06:31 <skeledrew> flo: terminal?
15:06:33 <Mic> Does CTRL-Q also quit on Windows?
15:06:40 <clokep_work> skeledrew: Command Prompt
15:06:43 <flo> Mic: not sure, but I think it does
15:06:59 <skeledrew> IB can be used from cmd?
15:07:01 <flo> clokep_work: I'm in that 3rd group :)
15:07:29 <clokep_work> skeledrew: It can be executed from a command prompt like any program can be. :)
15:07:39 <skeledrew> i know
15:07:42 <flo> skeledrew: I use debug builds, so there's a lot of output in my terminal
15:07:47 <skeledrew> but actually using it...
15:07:54 <skeledrew> oh
15:08:20 <clokep_work> flo: But Instantbird can't be docked, can it?
15:08:46 <flo> Is there a standard way to do that?
15:08:59 <flo> it needs to work at least on Mac OS X to be interesting :-P
15:09:18 <skeledrew> just remembered that the cmd windows are sometimes bound to the apps they run, and don't continue until it exits...
15:09:31 <skeledrew> thought that was strictly Linux though
15:09:45 <clokep_work> flo: I want to say that on Windows there's an API for it. but I might be making that up. O:-) There's a Pidgin plugin for it though?
15:09:47 <Mic> Bug 24 is the CTRL-W bug
15:09:50 <instantbot> Mic: Bug https://bugzilla.instantbird.org/show_bug.cgi?id=24 nor, P5, ---, florian, NEW, Command-W Does Not Close Buddy List Window
15:10:19 <flo> it's all related to the systray thing
15:10:28 <flo> it should close the window, not the app
15:13:25 <skeledrew> flo: so where in the code dictates the initial loaded XUL (blist.xul)? i thought it was a XUL standard to load the XUL file having the same name as the owning chrome (or whatever you call it)...
15:13:33 <clokep_work> Ah, Mozilla not having systray in toolkit. :(
15:13:54 <skeledrew> clokep_work: and therein lies the problem
15:14:02 <flo> skeledrew: http://lxr.instantbird.org/instantbird/search?string=blist.xul
15:14:09 <flo> first result! :)
15:14:15 <Mic> skeledrew it's a preference value that determines what gets loaded
15:14:31 <Mic> ah, exactly this
15:15:27 <flo> pff, that stupid C++ preprocessor :(
15:15:28 * instantbot frowns at flo
15:15:48 <skeledrew> maybe instead of a tray icon a small box will do. you know, like those Firefox pops up to announce updates...
15:15:49 <Mic> I could image it's a problem like this: one way to make it work on Windows
15:15:54 <Mic> Another on MacOS
15:16:01 <skeledrew> at least for now
15:16:15 <Mic> And a hundred alternative way necessary to get it more or less work "on Linux"
15:16:30 <flo> Mic: are you talking about the trayicon?
15:16:36 <Mic> Yes .. 
15:16:38 <flo> if so on linux we only care about gtk
15:17:13 <flo> there's actually some existing code to have a tray icon (in Prism, in Songbird, and in at least 2 bugs in bugzilla)
15:17:21 <clokep_work> You could probably take mintrayr and strip out half the code and take it into the tree to add systray support, but I'm not sure how nice that code is anymore.
15:17:32 <flo> ah, yes, and mintrayr
15:18:01 <clokep_work> flo: Along with like 5 or 6 other ones that can be found on AMO, but I think they're all based off of "MinimizeToTray" and MinTrayR is the "official" successor.
15:18:01 <skeledrew> clokep_work: and the context menu support?
15:18:12 <skeledrew> prob another headache
15:18:17 <clokep_work> skeledrew: You mean on the systray icon? They support it.
15:18:38 <flo> someone just needs to take a week or two and get all that crap to work reliably
15:18:42 <skeledrew> clokep_work: i was ref to mintrayr
15:19:15 <flo> converting the icons to the OS-specific formats was painful if I remember well
15:19:32 <flo> and we probably want to be able to draw/write in there (for example, the number of unread messages)
15:19:50 <Mic> flo: in the tray area?
15:19:50 <clokep_work> flo: Now you're just being picky.
15:20:00 <clokep_work> skeledrew: Yes it supports it.
15:20:14 <Mic> At least on Windows that's would be pretty uncommon
15:20:14 <flo> clokep_work: I worked on it almost a year ago
15:20:27 <Mic> *that
15:20:37 <clokep_work> flo: I'd be interested in looking at it (with ctypes perhaps), but not sure when that'd be...might have to wait until school starts since I tend to be less busy then.
15:20:39 <flo> it was so depressing that I gave up and decided I'd need to get back to it
15:20:42 <Mic> Usually programs change icons at best
15:21:16 <flo> Mic: how is it different from changing the icon?
15:21:18 <clokep_work> Mic: So Instantbird can be better. ;)
15:21:24 <flo> it's just an icon with some characters inside it
15:21:50 <clokep_work> Worse comes to worse you have 12 preset icons, no new message, 1 to 9, and 9+ or something. But you should be able to rewrite it "on-the-fly".
15:21:53 <skeledrew> oooh! just thought of something. how much work would it be to modify mintrayr so it overrides the close function in blist.js?
15:21:58 <flo> we need to generate a .ico thing on the fly
15:22:07 <clokep_work> skeledrew: I think its in mintrayr already?
15:22:41 <clokep_work> flo: Mozilla can't export an .ico can it? There's probably a free library somewhere that can...but might not be worth the effort.
15:22:44 <skeledrew> clokep_work: no. it just creates an entry in the File menu
15:22:54 <Mic> Well, have fun generating icons; I'm off to the lab again
15:22:57 * clokep_work wishes Windows could use an image file as an icon like Linux.
15:23:00 <flo> clokep_work: the code for the tray icon does it
15:23:21 <skeledrew> clokep_work: bmp...
15:23:28 <clokep_work> skeledrew: Well its definitely in there for Thunderbird I think?
15:23:37 <skeledrew> lol
15:23:40 <skeledrew> i dunno
15:23:43 <clokep_work> (I guess definitely and "I think" kind of clash in that sentence.)
15:23:57 <clokep_work> skeledrew: Give me a fewm inutes. I'll check the source.
15:24:33 <Mic> btw it's nice to see such dynamics here :)
15:24:36 <flo> clokep_work: there's also the "?" to make it even more definite :)
15:24:44 <flo> Mic: yeah :)
15:25:32 <skeledrew> anyway, back to pulling apart IB...
15:27:01 <flo> skeledrew: I hope you'll find a great treasure hidding in there :)
15:27:16 <skeledrew> lol
15:27:17 <skeledrew> me too
15:29:17 <skeledrew> hmm. is there any utility out there that can recursively decompress the files in a folder, regardless of the extension?
15:29:47 <skeledrew> or will i be forced to write a script?
15:30:13 <instantbot> Check-in: http://hg.instantbird.org/instantbird/rev/1ab7ebdabfff - Florian Quèze - Move the tag related methods from purpleICoreService to a new purpleITagsService.
15:30:17 <clokep_work> Just pull things off of hg. Easier to have the real source.
15:31:16 <skeledrew> clokep_work: i want to dig into the code while i'm using IB...
15:31:34 <flo> skeledrew: are you going to build it yourself at some point?
15:31:53 <flo> if you do, build it with flat chrome (no jar files, you can edit in place :))
15:31:59 <skeledrew> flo: i don't think so. not in the near future anyway
15:32:30 <flo> if you just want to look at the code to undersand it, without editing it, I'd suggest to just use lxr
15:32:33 <flo> that's what I do
15:32:52 <clokep_work> flo: What option is that in build? I'd find that convenient. :)
15:32:58 <skeledrew> just piecing the jigsaw with a few addons installed...
15:33:28 <flo> clokep_work: https://developer.mozilla.org/en/JAR_Packaging
15:33:58 <skeledrew> and i'll be doing some minor editing. as i said, i'm doing a somewhat live analysis
15:34:08 <flo> --enable-chrome-format=(jar|flat|symlink)  in the mozconfig
15:34:24 <flo> I've got to go
15:34:28 <flo> good evening :)
15:34:37 <skeledrew> evening???
15:34:46 <clokep_work> 'night.
15:34:54 <skeledrew> it's 10:35am...
15:35:05 <flo> it's 5:34pm in Instantbird's time :-P
15:35:14 <skeledrew> ohhh
15:35:15 <skeledrew> lol
15:35:22 <-- flo has quit (Quit: Instantbird 0.2pre)
15:35:36 <clokep_work> flo is in France.
15:35:44 <skeledrew> i see
15:36:08 <clokep_work> I think?
15:36:16 <skeledrew> lol
15:36:17 <clokep_work> Somewhere in Europe at least. :)
15:36:40 <skeledrew> yep. France
15:43:36 <clokep_work> MinTrayR can minimize "on close", but it does it through some weird C++ hackery. I'd have to REALLY read the source, instead of between compiles here at work haha.
15:44:06 <clokep_work> It'd probably be worth more time to actually integrate his code into the app then to fix it and make it sort of work with Ib
16:10:16 <-- skeledrew has quit (Ping timeout)
16:27:09 --> idechix has joined #instantbird
16:29:31 --> noob has joined #instantbird
16:34:40 * noob is now known as tymerkaev
16:38:46 --> GeekShadow has joined #instantbird
16:56:03 <Mic> bye
16:56:49 <clokep_work> Bye Mic.
16:59:21 <-- Mic has quit (Quit: Instantbird 0.2pre)
17:15:39 --> DetroitLibertyPenguin has joined #instantbird
17:16:27 <-- DetroitLibertyPenguin has left #instantbird ()
17:23:21 --> flo has joined #instantbird
17:23:21 * ChanServ sets mode +qo flo flo 
17:27:23 <-- tymerkaev has quit (Ping timeout)
17:49:41 --> Even has joined #instantbird
17:49:41 * ChanServ sets mode +o Even 
18:16:38 --> skeledrew has joined #instantbird
18:18:12 --> Mic has joined #instantbird
18:18:40 <Mic> re
18:18:51 <skeledrew> *sighs*
18:18:51 <skeledrew> lost my entire workspace to a power outage
18:18:51 <skeledrew> ah well. such is life
18:19:19 <Mic> Nothing is ever easy;)
18:19:52 <clokep_work> That's why I save and check into some sort of vcs all the time haha. Had it happen too many times. :(
18:21:53 <-- skeledrew has quit (Ping timeout)
18:23:02 --> skeledrew has joined #instantbird
18:35:36 <-- skeledrew has quit (Ping timeout)
18:39:37 --> skeledrew has joined #instantbird
18:47:09 <-- skeledrew has quit (Ping timeout)
18:47:34 --> skeledrew has joined #instantbird
18:48:46 <clokep_work> My weeks over. Probably won't be on IRC until Sunday, so have a good weekend.
18:49:00 <clokep_work> Don't forget to get some sun. :)
18:49:23 <flo> it's rainy here
18:49:38 <clokep_work> Doesn't it always rain in Europe? ;)
18:50:11 <clokep_work> Well I'm gonna go commute for 3 hours, so...I'm sure sitting in the rain would be better. :(
18:50:37 <-- skeledrew has quit (Ping timeout)
18:53:07 <-- clokep_work has quit (Quit: http://www.mibbit.com ajax IRC Client)
19:13:39 --> DGMurdockIII has joined #instantbird
19:20:52 --> skeledrew has joined #instantbird
19:21:34 <-- DGMurdockIII has quit (Quit: get satisfied! • :: www.unitedservers.de ««« (Gamers.IRC) »»» gamersirc.net ::)
19:25:24 <-- skeledrew has quit (Ping timeout)
19:50:58 --> skeledrew has joined #instantbird
20:01:05 <-- skeledrew has quit (Ping timeout)
20:12:44 <-- idechix has quit (Quit: Instantbird 0.2pre)
20:24:51 --> tymerkaev has joined #instantbird
20:25:02 <-- tymerkaev has quit (Quit: I must go. Good bye!)
20:41:19 --> Amfi has joined #instantbird
20:44:15 <-- Amfi has left #instantbird ()
21:45:16 --> skeledrew has joined #instantbird
21:48:18 <-- skeledrew has quit (Ping timeout)
21:48:22 --> skeledrew has joined #instantbird
22:01:01 <-- skeledrew has quit (Ping timeout)
22:03:14 --> skeledrew has joined #instantbird
22:06:19 <-- skeledrew has quit (Ping timeout)
22:07:33 --> skeledrew has joined #instantbird
22:08:23 <Mic> nn
22:08:31 <-- Mic has left #instantbird ()
22:14:39 <-- skeledrew has quit (Ping timeout)
22:16:38 --> skeledrew has joined #instantbird
22:22:32 --> DetroitLibertyPenguin has joined #instantbird
22:27:01 <-- skeledrew has quit (Ping timeout)
22:38:08 <-- GeekShadow has quit (Quit: The cake is a lie !)
23:00:06 <-- DetroitLibertyPenguin has left #instantbird ()
23:44:31 --> clokep has joined #instantbird