#instantbird log on 06 23 2010

All times are UTC.

00:19:50 <-- Amfi has left #instantbird ()
02:41:03 <clokep> flo: ping Although its like 3 AM by you or something...
02:54:10 --> skeledrew has joined #instantbird
03:06:16 <-- clokep has quit (Ping timeout)
03:11:17 --> clokep has joined #instantbird
03:27:38 <instantbot> New Instantbird (UI) bug 425 filed by clokep@gmail.com.
03:27:39 <instantbot> clokep@gmail.com added attachment 314 to bug 425.
03:27:40 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=425 nor, --, ---, nobody, UNCO, Blank Conversation Tab on Ctrl+Tab
03:32:47 <-- clokep has quit (Ping timeout)
04:51:52 <-- flo has quit (Quit: Instantbird 0.2pre)
05:52:23 --> Mic has joined #instantbird
05:52:36 <Mic> morning
06:25:44 <-- skeledrew has quit (Ping timeout)
06:54:13 --> flo has joined #instantbird
06:54:13 * ChanServ sets mode +qo flo flo 
06:54:54 <flo> good morning
07:05:34 --> GeekShadow has joined #instantbird
08:54:30 --> skeledrew has joined #instantbird
09:02:29 <-- skeledrew has quit (Quit: Instantbird 0.2b2)
09:08:06 --> skeledrew has joined #instantbird
10:02:08 <-- skeledrew has quit (Ping timeout)
10:03:59 --> skeledrew has joined #instantbird
10:19:25 <-- GeekShadow has quit (Ping timeout)
10:20:08 <-- skeledrew has quit (Ping timeout)
10:29:23 --> skeledrew has joined #instantbird
11:04:41 <-- SM0TVI has quit (Connection reset by peer)
11:10:43 --> Amfi has joined #instantbird
11:28:07 --> SM0TVI has joined #instantbird
11:38:09 <-- Amfi has left #instantbird ()
11:59:01 --> GeekShadow has joined #instantbird
12:02:43 --> clokep_work has joined #instantbird
13:24:36 <clokep_work> flo: ping
13:24:46 <flo> hi :)
13:25:14 <clokep_work> So, remember what we were talking about yesterday with the "insert" div and such? That all seems to work...
13:25:23 <flo> cool :)
13:25:52 <clokep_work> But as far as I can tell the convbrowser decides whether to start a new bubble, etc. based on whether the last message was from that user or not. So by me manually removing that div, it just inserts on the bottom, but without making a new container.
13:26:31 <flo> hmm
13:27:59 <clokep_work> So getHTMLForMessage asks for a variable "isNext" which is calculated from isNextMessage. Which isn't related to the insert div. :-\
13:28:22 <clokep_work> I tried just setting _lastMessage = null, but it seems that that field doesn't exist or I can't access it (or I'm accessing it incorrectly).
13:28:35 <-- GeekShadow has quit (Ping timeout)
13:28:56 <flo> how are you accessing it?
13:29:27 <clokep_work> getBrowser().selectedConversation._lastMessage I think (sorry, I don't actually have my code with me).
13:30:14 <flo> .selectedConversation will give you the conversation binding, not the convbrowser
13:31:47 <clokep_work> OK. . .So how come getBrowser().selectedConversation.contentWindow.document gives me the document then?
13:31:51 --> GeekShadow has joined #instantbird
13:32:27 <flo> because in conversation.xml there's this line:      <property name="contentWindow" onget="return this.browser.contentWindow;"/>
13:35:37 <clokep_work> Ohhhh. I see, so I could do getBrowser().selectedConversation.browser.<convbrowser properties/fields> ?
13:35:50 <flo> yes
13:36:05 <flo> or getBrowser().selectedConversation
13:36:38 <flo> even getBrowser().contentDocument would work to get the document :)
13:38:08 <clokep_work> What does getBrowser() actually return? Is it the current convbrowser object?
13:38:21 <flo> it's the tabbrowser object
13:38:25 <clokep_work> How would getBrowser().selectedConversation work? Isn't that the same as what I initially suggested?
13:38:25 <flo> which forwards lots of properties
13:38:54 <flo> arg, I meant getBrowser().selectedBrowser
13:38:55 <flo> sorry :(
13:39:11 <clokep_work> Oh, that makes a lot more sense. :) I thought I was going crazy haha.
13:39:27 <flo> sorry for the mess ;)
13:40:18 <clokep_work> Its fine. I get it now. :)
13:44:07 <clokep_work> Having looked more into that bug report yet. Need to check what addons I actually have installed. Although I don't think nickservkiller is one. :(
13:44:34 <clokep_work> I suspect a race condition though.
14:12:36 <-- skeledrew has quit (Ping timeout)
14:42:34 --> skeledrew has joined #instantbird
14:49:21 <skeledrew> morning
14:50:09 <Mic> welcome
14:50:41 <skeledrew> thanks
14:51:41 <skeledrew> been doing loads of research. the wiki could do with a n update...
14:52:08 <Mic> Feel free ;)
14:52:17 <Mic> scnr
14:52:20 <flo> :)
14:52:29 <skeledrew> http://jslib.mozdev.org/
14:53:11 <skeledrew> is that library in the package?
14:53:30 <clokep_work> What do you need from it?
14:53:37 <skeledrew> i was thinking of making my own, but ran into this earlier
14:54:32 <skeledrew> not sure yet
14:54:37 <clokep_work> Well most of those pages haven't been updated since like 2006 (as most stuff on mozdev it seems...), but I think a lot of that is included in the toolkit now. Like natively.
14:55:28 <skeledrew> just like to have a source that tells me all the services that are available
14:56:18 <skeledrew> i kinda tend to reinvent the wheel alot too, and i'm trying to break out of the habit
14:56:22 <skeledrew> k
14:57:20 <skeledrew> found an archive of XPIDL interface files too
14:57:43 <clokep_work> flo or Mic do you know if there's a list somewhere on MDC of event types? I can't seem to find it. :-\
14:57:58 <clokep_work> skeledrew: There's a few of those going around, is it relatively up to date? :)
14:58:12 <skeledrew> not sure
14:58:53 <skeledrew> i'm seeing moz12, moz13 and moz14 in them. i guess those are diff versions
14:59:23 <clokep_work> If those are referring to Gecko versions that'd be super old. :) But I'm not sure moz12 even existed haha.
14:59:50 <flo> clokep_work: does this help https://developer.mozilla.org/en/DOM/element#Event_Handlers ?
14:59:56 <skeledrew> i downloaded loads of stuff. just trying to sort it all out now and figure what it's all about
15:01:10 <flo> skeledrew: http://www.oxymoronical.com/experiments/apidocs/
15:01:14 <skeledrew> sourced a copy of the "Rapid Application Development with Mozilla" ebook too :)
15:01:25 <flo> that's old ;)
15:01:35 <flo> it was an interesting read though :)
15:01:50 <clokep_work> flo: Thanks, now why isn't that linked from https://developer.mozilla.org/en/DOM/event ?! But yeah. Should help.
15:02:00 <skeledrew> k
15:02:46 <flo> clokep_work: mdc is one of those website where unfortunately questions begining by "why?" don't get satisfying answers :(
15:04:20 <clokep_work> skeledrew: In terms of JS modules this might be a better place: https://wiki.mozilla.org/Labs/JS_Modules
15:05:23 <skeledrew> clokep_work: there we go :D
15:06:25 <skeledrew> RAD with Mozilla should be a good read though, even if it's from 2003
15:06:51 <clokep_work> flo: If I'm trying to capture when a tab is browsed away from...DOMFocusOut maybe?
15:07:56 <flo> are you trying to capture if it's browser away, or it's already been browsed away when a message is about to be added?
15:08:25 <clokep_work> I'm trying to capture when I'm looking at a tab and then change to another tab (or ideally change to another program too).
15:09:08 <flo> I'm not sure if "change to another program" is easy to detect
15:09:37 <flo> but maybe you can expand the "focus" method of the conversation binding, so that when a tab is focused, you act as if all others were defocused?
15:09:53 <skeledrew> is Komodo Edit worth the download?
15:10:19 <flo> there may also be a "select" or "TabSelect" event fired from the tabbrowser
15:10:20 <clokep_work> skeledrew: I just use Notepad++ to program in. (Which you said you use...) It has XUL support I think?
15:10:36 <clokep_work> Right, but I don't want "TabSelect" I want "TabDeSelect" :)
15:10:36 <skeledrew> clokep_work: no
15:10:47 <skeledrew> but i added it
15:10:50 <clokep_work> skeledrew: No to which part. :)
15:11:03 <skeledrew> XUL support :)
15:11:13 <clokep_work> Ah, OK. Yeah I think I just added it to the XML one then.
15:11:15 <flo> clokep_work: at worst, you can listen for DOM attribute changes on the tab ;)
15:11:25 <skeledrew> clokep_work: yep
15:11:32 <flo> there's probably a selected="true" attribute that is removed when the tab is deselected
15:12:44 <clokep_work> flo: DOMAttrModified then? :)
15:12:54 <flo> yeah
15:15:22 <clokep_work> Right, the DOM has to know SOMEHOW that it's selected. Worse comes to worse I can check the CSS pseudo class.
15:18:04 <clokep_work> skeledrew: Any luck getting your extensions working at all? :)
15:18:44 <skeledrew> still in the info assimilation process
15:20:48 <skeledrew> weird
15:21:08 <skeledrew> i thought i could run multiplee IB instances
15:21:18 <skeledrew> *multiple
15:21:36 <skeledrew> but it's just activating this instance
15:21:42 <clokep_work> You can, you have to use the -no-remote option.
15:21:52 <skeledrew> oh
15:21:53 <skeledrew> k
15:22:34 <clokep_work> (And I'd suggest a different profile. :))
15:22:43 <skeledrew> yep
15:22:50 --> skeledrew1 has joined #instantbird
15:23:43 <-- GeekShadow has quit (Quit: The cake is a lie !)
15:25:31 * skeledrew1 is now known as skeledrew_dev
15:26:16 <skeledrew> testing...
15:26:46 <skeledrew_dev> perfect!
15:26:52 <-- skeledrew_dev has quit (Quit: Instantbird 0.2b2)
15:27:04 <instantbot> Check-in: http://hg.instantbird.org/instantbird/rev/89cd6820fdaf - Quentin Castier - Change the font used for the logo.
15:27:05 <instantbot> Check-in: http://hg.instantbird.org/instantbird/rev/ea95192ef2b1 - Florian Quèze - Upgrade the 'fake' code to work with Instantbird 0.2.
15:27:06 <instantbot> Check-in: http://hg.instantbird.org/instantbird/rev/d28b0e3d12d9 - Florian Quèze - Port patch from bug 567497 (avoid Win7 compatibility mode).
15:27:07 <instantbot> Check-in: http://hg.instantbird.org/instantbird/rev/9f03801289c1 - Florian Quèze - Port bug 522065 - PCA complains when installer is cancelled.
15:27:39 <skeledrew> flo: i just hacked your replytonick addon :p
15:27:56 <clokep_work> skeledrew: flo: Also the one I started from haha.
15:28:31 <skeledrew> now the convo has to be double clicked :)
15:28:32 <flo> I made these add-ons to be used as demo ;)
15:28:40 <skeledrew> k
15:28:52 <skeledrew> it was pretty annoying
15:29:22 <skeledrew> now to mod it in the actual profile...
15:31:02 <skeledrew> jar updated. next IB restart will be a slightly better experience :D
15:32:17 <flo> got to go, talk to you later :)
15:32:25 <-- flo has quit (Quit: Instantbird 0.2pre)
15:32:29 * Mic too.
15:32:30 <Mic> bye
15:34:40 <clokep_work> Bye.
15:35:04 <-- Mic has quit (Quit: Instantbird 0.2pre)
15:39:40 --> skeledrew1 has joined #instantbird
15:39:49 <-- skeledrew1 has quit (Quit: Instantbird 0.2b2)
15:43:40 --> skeledrew_dev has joined #instantbird
15:44:58 <-- skeledrew_dev has quit (Quit: Instantbird 0.2b2)
15:45:29 --> skeledrew_dev has joined #instantbird
15:46:45 <-- skeledrew_dev has quit (Quit: Instantbird 0.2b2)
15:46:56 --> skeledrew_dev has joined #instantbird
15:47:45 <-- skeledrew_dev has quit (Quit: Instantbird 0.2b2)
15:47:58 --> skeledrew_dev has joined #instantbird
15:48:21 <-- skeledrew_dev has quit (Quit: Instantbird 0.2b2)
15:57:50 --> GeekShadow has joined #instantbird
15:59:43 <-- SM0TVI has quit (Ping timeout)
16:10:34 --> SM0TVI has joined #instantbird
16:51:11 --> idechix has joined #instantbird
16:57:28 --> tymerkaev has joined #instantbird
17:01:10 --> skeledrew1 has joined #instantbird
17:03:38 <-- skeledrew has quit (Ping timeout)
17:03:54 * skeledrew1 is now known as skeledrew
17:17:44 --> Mic has joined #instantbird
17:38:20 * Mic just got Minefield ..
17:39:05 <Mic> For what reason would one want to rate plugins in the addon manager window?
17:39:28 <clokep_work> Mic: Plugins? No reason. Extensions...it makes sense. :)
17:40:13 --> DetroitLibertyPenguin has joined #instantbird
17:40:18 <Mic> Hasn't the in-content preferences window landed yet?
17:40:21 <-- DetroitLibertyPenguin has left #instantbird ()
17:40:44 <Mic> Or do I need a special build?
17:41:06 <clokep_work> Mic: Hasn't landed yet.
17:41:17 <clokep_work> I forget which Bug # it is...I can find it though if you want...
17:41:33 <Mic> No, I'm quite capable of using BUgzilla myself ;)
17:41:55 <clokep_work> Haha, I think I "voted" for it is all, so would be pretty trivial for me to find is why I volunteered.
17:42:37 <Mic> The on-top-of-tab-border-progress-bar is also a fancy mockup so far?
17:43:08 <Mic> I thought it would have all these shiny features that I saw on blog postings ..
17:44:18 <clokep_work> Mic: The on-top-of-... has a patch, but hasn't landed yet.
17:44:25 <clokep_work> Some of the features will be in Beta 1, but not all of them.
17:44:43 <clokep_work> They're going to continually revise the UI until the RC I believe.
17:47:47 <clokep_work> Actually Alexander Limi posted about it today on his blog.
17:48:34 <clokep_work> "Firefox UX Team update: Wrapping up the first Firefox 4 beta http://goo.gl/fb/stT52"
17:48:41 <Mic> I just read it
17:49:05 <clokep_work> They're getting there. I just wish the Fx button was in the title bar already hah.
17:50:29 --> flo has joined #instantbird
17:50:29 * ChanServ sets mode +qo flo flo 
17:50:45 <clokep_work> Mic: What OS do you run?
17:50:54 <Mic> WinXP
17:51:13 <Mic> And: no, I won't build it on my own ;)
17:51:43 <-- skeledrew has quit (Ping timeout)
17:51:47 <Mic> It's seems pretty complicated to set up a working build system on Windows
17:51:57 <Mic> At least from what I read about it ..
17:52:01 <clokep_work> Mic: Just wasn't sure if you were running Windows, apparently very little theme work got done for Mac/Linux.
17:52:13 <clokep_work> I'm running the build system on Windows, by far the easiest build system I've ever set up.
17:52:35 <clokep_work> I think it was 4 installs, 2 of which are cause I'm on Win 7.
17:52:44 <Mic> I have nothing to compare
17:52:51 <Mic> I never build anything myself
17:53:09 <Mic> Well, not true. I compiled gnuplot today ;)
17:53:18 <Mic> but on Linux
17:53:38 --> skeledrew has joined #instantbird
17:53:46 <clokep_work> Hahah, nice. :)
17:53:59 <clokep_work> But yeah, just wanted to make sure I wasn't telling you that things landed when they only landed on Windows. :)
17:56:28 <clokep_work> Did you get your crazy maps to work yet? :P
17:57:13 <-- tymerkaev has quit (Ping timeout)
18:02:07 <Mic> I was quite busy the last few days
18:02:29 <Mic> I haven't started looking for some decent map vector data
18:03:01 <Mic> The World map data (outline of continents) that comes with gnuplot seems to be ok
18:03:15 <Mic> You can tell which continent you're on
18:03:26 <clokep_work> That's usually a good thing. :)
18:03:46 <Mic> Atleast I recognized Northamerica and Europe ;)
18:03:56 --> tymerkaev has joined #instantbird
18:12:13 --> DetroitLibertyPenguin has joined #instantbird
18:12:31 <-- DetroitLibertyPenguin has left #instantbird ()
18:29:47 <clokep_work> Mic: Well that's 2 / 7, not too bad. And no one lives on Antarctica so...2 / 6 is pretty good. :)
18:31:01 <-- tymerkaev has quit (Connection reset by peer)
18:42:58 --> tymerkaev has joined #instantbird
20:42:13 <Mic> nn
20:49:49 <-- Mic has left #instantbird ()
20:59:27 <-- clokep_work has quit (Quit: http://www.mibbit.com ajax IRC Client)
21:05:25 <-- skeledrew has quit (Ping timeout)
21:07:20 --> skeledrew has joined #instantbird
21:36:58 <-- skeledrew has quit (Ping timeout)
21:40:19 --> skeledrew has joined #instantbird
21:48:02 <flo> good night
22:07:13 <-- GeekShadow has quit (Quit: The cake is a lie !)
22:30:53 --> clokep has joined #instantbird
22:31:18 <clokep> flo: Got it working. :)
22:31:24 <-- idechix has quit (Quit: Instantbird 0.2pre)
22:31:32 * flo is supposed to be asleep
22:31:36 <flo> what is "it"?
22:32:08 <clokep> Sorry, what we were talking about earlier. Using DOMAttrModified
22:32:18 <flo> ok :)
22:32:45 <flo> by the way, when you ping'ed me this night, you were 2 hours off ;)
22:32:53 <flo> it's UTC+2 in France
22:33:08 <clokep> 6 hours from me...
22:33:12 <clokep> 12:30, nice. :)
22:34:07 <flo> oh, east coast
22:34:28 <clokep> Yup. Which is why I'm always on at like oppsoite hours haha. I just got home from work.
22:34:55 <flo> it's nice to have people here at various time
22:35:14 <flo> it increases the likeliness that someone looking for help will have it :)
22:35:18 <clokep> Mmhmm. I'll post an xpi once I add some styles and stuff.
22:37:19 <flo> :)
22:41:50 <clokep> I wish Reply To Nick only worked over nicks. :P
22:42:43 <-- skeledrew has quit (Ping timeout)
22:42:56 <flo> what do you mean?
22:43:45 --> skeledrew has joined #instantbird
22:44:19 <clokep> It pops up if you click anywhere on the message, but I only want it to pop up when I click "flo".
22:44:27 <clokep> Also be nice if it showed a hand instead of a pointer. :)
22:44:30 <clokep> But that might just be picky.
22:44:38 <flo> it will be changed to react only on double click
22:44:49 <clokep> Ah I see.
22:45:48 <flo> but showing a hand and "working" when over nicks would be nice too
22:46:01 <flo> combined with display nicks, it may work :)
22:46:36 <flo> http://queze.net/goinfre/shownick2.png
22:46:38 <clokep> Display nicks changes colors to match what's in the buddy list?
22:46:47 <flo> show nick, sorry
22:47:00 <clokep> Ah, cool.
22:47:18 <clokep> Well the hand is really easy haha, you just add a style to user names.
22:47:46 <clokep> Any hints on moving the tab bar vertical? :)
22:47:53 * clokep Wishes Stylish worked for Instantbird.
22:48:13 <flo> wanna port it? :)
22:49:26 <clokep> Its on my ToDo list (seriously.)
22:49:51 <flo> what will it do?
22:49:57 <clokep> But I can almost cross off my "Little bar where you last flipped to the conversation".
22:50:06 <clokep> It'd let me apply styles without restarting?
22:50:21 <flo> ok :)
22:50:35 <flo> I was wondering if it involved doing something based on who the contact is
22:50:36 <clokep> You've never used stylish I take it?
22:51:18 <flo> "Stylish and userstyles.org are to CSS as Greasemonkey and userscripts.org are to JavaScript." on AMO is pretty clear about what it is
22:51:30 <clokep> Hahah OK.
22:51:40 <clokep> Yeah, nothing with contacts. :P Not yet.
22:51:52 <clokep> I also have "Content pane" on my to do list.
22:54:16 <clokep> The single click is bad since when I click on the window just to give it focus things pop up in the box. :(
22:57:27 <flo> hmm, it shouldn't
22:57:36 <clokep> It does. :)
22:57:50 <flo> when the click focuses the window, it automatically moves the focus to the textbox, and doesn't write anything
22:58:37 <clokep> I click on buddy list, click on your name in that last message, it adds "flo: " to the textbox and gives it focus after.
22:58:47 <clokep> Could that be a Mac/Windows difference? :-\
22:58:52 <flo> maybe
22:59:12 <flo> doesn't matter much though
22:59:21 <flo> as it's already decided that it will be a double click in the future :)
22:59:46 <clokep> True. :)
23:05:42 <clokep> I can't find the source for it blah. I know I can just use the XPI...
23:08:55 <flo> it?
23:09:18 <clokep> Stylish.
23:09:35 <clokep> Sorry. I'm bad at assuming people know why I'm talking about. :) Apparently there isn't one though. He just keeps the source on his computer.
23:11:59 <flo> usually I'm better at guessing what people are talking about
23:12:12 <flo> but I'm tired these days... and it's past 1am ;)
23:12:34 <flo> good night (for real this time!) :)
23:12:42 <clokep> 'night. Thanks for all the help.
23:13:02 <flo> you are welcome
23:14:36 <-- skeledrew has quit (Ping timeout)
23:15:29 --> skeledrew has joined #instantbird
23:58:27 <skeledrew> flo: clokep: i already made it a double click. it was a matter of adding 3 letters :)
23:59:38 <clokep> Yup! But it needs to be updated. :)