#instantbird log on 05 17 2012

All times are UTC.

00:05:42 <clokep> Mook_as: Do I need to do anything special after messing with these files when building?
00:05:47 <clokep> Do I have to manually run configure or anything?
00:06:02 <clokep> (Thanks for your help btw! The build stuff is a bit beyond me generally...)
00:07:31 <Mook_as> you shouldn't need to, client.mk should take care of it
00:07:41 <Mook_as> (it runs autoconf2.13 followed by configure)
00:08:03 <clokep> Usually I run |make obj-dir tier_app|, so hopefully that does it's thing. :)
00:08:11 <Mook_as> that won't work
00:08:14 <Mook_as> you need to run client.mk
00:08:37 <clokep> Ah, so I did need to do something special! :P
00:08:44 <clokep> Alright...will do that in a second.
00:13:44 <clokep> Uhh...is there a special way to run that? :-[
00:17:53 <clokep> Ah, just the way I would build initially...never mind. ;)
00:26:18 <-- aleth has quit (Input/output error)
00:41:11 <-- myk has quit (Quit: Instantbird 1.2a1pre -- http://www.instantbird.com)
00:50:45 <-- Mook_as has quit (Quit: gone)
00:55:57 <-- BYK1 has quit (Connection reset by peer)
01:16:15 <instant-buildbot> build #243 of win32-onCommit is complete: Success [build successful]  Build details are at http://buildbot.instantbird.org/builders/win32-onCommit/builds/243
01:26:06 <instant-buildbot> build #222 of macosx-onCommit is complete: Success [build successful]  Build details are at http://buildbot.instantbird.org/builders/macosx-onCommit/builds/222
01:48:53 <-- DGMurdockIII has quit (Quit: ChatZilla 0.9.88.2 [Firefox 13.0/20120509070325])
02:14:24 <-- clokep has quit (Quit: Instantbird 1.2a1pre -- http://www.instantbird.com)
03:02:56 <instant-buildbot> build #499 of linux-nightly-default is complete: Success [build successful]  Build details are at http://buildbot.instantbird.org/builders/linux-nightly-default/builds/499
03:13:36 --> Mook has joined #instantbird
03:33:43 <-- EionRobb has quit (Connection reset by peer)
03:42:18 --> EionRobb has joined #instantbird
04:04:46 --> gpsychosis has joined #instantbird
04:30:45 <instant-buildbot> build #592 of win32-nightly-default is complete: Success [build successful]  Build details are at http://buildbot.instantbird.org/builders/win32-nightly-default/builds/592
04:55:07 <-- Mook has quit (Quit: z)
04:58:18 --> pvagner has joined #instantbird
06:03:44 <instant-buildbot> build #485 of macosx-nightly-default is complete: Success [build successful]  Build details are at http://buildbot.instantbird.org/builders/macosx-nightly-default/builds/485
06:04:08 <-- Kaishi has quit (Quit: Kaishi)
06:08:53 <-- Tomek has quit (Ping timeout)
06:12:27 --> jb has joined #instantbird
06:13:44 <-- EionRobb has quit (Quit: Leaving.)
06:14:35 <-- jb has quit (Input/output error)
06:15:17 --> jb has joined #instantbird
06:17:26 <-- jb has quit (Quit: jb)
06:49:06 --> EionRobb has joined #instantbird
06:49:11 --> jb has joined #instantbird
07:00:59 <-- jb has quit (Ping timeout)
07:03:17 <-- Suiseiseki has quit (Ping timeout)
07:07:41 --> Optimizer has joined #instantbird
07:11:13 <Optimizer> okay so I am trying to call channelHandler.joinChannel(channelName) from this code : http://mibpaste.com/LjDmC7 
07:11:28 <Optimizer> but I only get an alert displaying 1
07:11:31 <Optimizer> i.e. the first alert
07:11:47 <Optimizer> the Services.accounts.getAccounts() does not run
07:12:50 --> Suiseiseki has joined #instantbird
07:42:55 --> devfil has joined #instantbird
07:57:09 <Optimizer> okay I solved that problem (by looking into the source code of every available addon)
07:57:51 <Optimizer> now I have another problem, I am inserting a span in the conversation, and have onclick property of the span as a function, but when i click that span this error pops up :
07:57:56 <Optimizer> Error: uncaught exception: [Exception... "Component returned failure code: 0x804b000a (NS_ERROR_MALFORMED_URI) [nsIIOService2.newURI]"  nsresult: "0x804b000a (NS_ERROR_MALFORMED_URI)"  location: "JS frame :: chrome://instantbird/content/convbrowser.xml :: onxblclick :: line 844"  data: no]
08:04:45 --> Tomek has joined #instantbird
08:17:27 --> aleth has joined #instantbird
08:17:27 * ChanServ sets mode +h aleth 
08:17:53 <-- aleth has quit (Quit: Instantbird 1.2a1pre -- http://www.instantbird.com)
08:18:04 --> aleth has joined #instantbird
08:18:05 * ChanServ sets mode +h aleth 
08:23:00 <flo> Optimizer: have you looked at the code that's throwing that error?
08:25:04 <flo> probably http://lxr.instantbird.org/instantbird/source/chat/content/convbrowser.xml#1117
08:26:03 <Optimizer> That is solved now
08:26:08 <Optimizer> I have another problem now :(
08:27:29 <Optimizer> in this code : http://mibpaste.com/yor2ho 
08:27:44 <Optimizer> I want to add an click event handler to the span elt
08:28:22 <Optimizer> but none of elt.onclick, elt.addEventListener("click", elt.setAttribute("onclick" (and same for mousedown etc) works
08:28:44 <Optimizer> the event handler simply does not gets attached
08:32:47 <flo> can't you use a pastebin that sucks less?
08:33:14 <Optimizer> this is the easiest pastebin , so I use it
08:33:16 <Optimizer> wait then
08:33:16 <flo> http://pastebin.instantbird.com/ with "Javascript" in the highlight style for example
08:33:35 <flo> Optimizer: easier for you, but it's unreadable, so it's not a real optimization ;)
08:33:37 <Optimizer> That is why I am creating this add-on ;P
08:33:51 <Optimizer> I am on a bigger optimization here :P
08:33:54 <flo> oh, you are creating the pastebin add-on now? :)
08:34:04 <Optimizer> no
08:34:10 <Optimizer> the whole mibbit theme
08:34:21 <Optimizer> with every functionality that mibbit provides, and even more
08:34:36 <flo> :)
08:35:07 <Optimizer> I have done the styling, the nick highlighting, the channel linking and highlighting, now I am on to line highlighting
08:35:30 <Optimizer> but my task would be easier if I was able to have what I wanted
08:36:13 <Optimizer> http://pastebin.instantbird.com/42219
08:36:26 <Optimizer> so in this code, I want to have a click event handler to elt span
08:40:38 <flo> is that a text modifier (similar to what the shownick add-on does)?
08:40:49 <Optimizer> yes
08:40:53 <Optimizer> I copied that only
08:40:55 <Optimizer> :)
08:42:39 <flo> if you put click handler there, it's likely going to be disappointing, because you will have handlers only on text nodes
08:43:02 <Optimizer> I want that only, so that if one clicks on a channel
08:43:02 <flo> or do you want your code to react when clicking on a nick, rather than on a message?
08:43:04 <Optimizer> i do something
08:43:22 <Optimizer> that code snippet detects a channel name and styles it differently
08:43:26 <Optimizer> and i want ot have a click handler
08:43:33 <Optimizer> so that one can join the channel on clicking
08:43:37 <flo> is this "something" joining the mentioned channel?
08:43:40 <Optimizer> I have the joining code
08:44:24 <Optimizer> right now I do it in  a hacky way that I have a click event handler for the whole window, and I check the event.target.className to be "channelNode"
08:44:48 <flo> that sounds better than adding event handlers everywhere
08:45:10 <Optimizer> but lets say for a text node that has a nick name
08:45:15 <Optimizer> nick's name*
08:45:26 <Optimizer> I want to have a mousehover handler to that 
08:45:38 <Optimizer> so that I can highlight the corresponding lines
08:45:49 <Optimizer> how do I do that with a global mouseover handler ?
08:45:53 <flo> by the way, if I wanted channel names to be clickable in IRC messages, I would replace them with <a href="irc://currentservername/#channel">#channel</a>
08:46:00 <flo> and add an irc protocol handler
08:46:13 <flo> and that doesn't have to be an add-on, we would accept that behavior by default I think
08:46:24 <Optimizer> that does not work by default
08:46:37 <Optimizer> if I normally type #something
08:46:45 <Optimizer> instantbird does not take it as a channel
08:47:54 <Optimizer> what about the mouseover handler that I asked ?
08:48:11 <Optimizer> how can I achieve that with a  global mouseover handler
08:54:57 <flo> Optimizer: "that does not work by default" isn't this what I said?
08:55:26 <Optimizer> okay, sorry, my bad
08:55:53 <flo> my point is, fixing the default behavior would be easier (and benefit to more people) than doing it in an add-on
08:56:31 <flo> what have you tried for the global mouseover handler? Where did you get stuck?
08:58:06 <Optimizer> if I do window.onmouseover
08:58:15 <Optimizer> then that would only trigger when I enter the window
08:59:22 <Optimizer> I can have a mousemove handler, but I think that would be costly ?
09:02:03 <flo> can you add it on the div id="Chat" element?
09:02:13 <flo> I don't remember if that event bubbles or not
09:05:59 <Optimizer> so I do window.getElementById("Chat").addEventListener('mousemove'  ?
09:06:29 <Optimizer> is Chat the chat window comprising of tabs (connected channels)
09:07:23 --> Even1 has joined #instantbird
09:07:28 <-- Even1 has quit (Quit: Even1)
09:07:34 --> Even1 has joined #instantbird
09:07:56 <-- Even1 has quit (Quit: Instantbird 1.2a1pre -- http://www.instantbird.com)
09:08:01 --> Even1 has joined #instantbird
09:14:30 <aleth> Optimizer: You probably want to avoid mousemove.
09:14:49 <aleth> The Chat element contains all the messages, as you can see with DOM Inspector.
09:15:20 <aleth> I think flo was suggesting an onclick handler on #Chat which looks at the original target to see what was clicked on.
09:38:00 <-- skeledrew has quit (Client exited)
09:39:51 <flo> aleth: it wasn't onclick any more (he wanted onclick to handle channel links), now it's an even for highlighting messages of a similar author
09:40:33 <flo> Optimizer: "window.getElementById("Chat")" you would do that if you are inside a message theme. Overwise, you need to access first the content window
09:41:04 <flo> (the window where the HTML conversation is displayed, rather than the XUL window displaying the tabs and the UI)
09:41:24 <Optimizer> How do I get that flo  ?
09:43:00 <Optimizer> btw, is your last name rida ?
09:44:46 --> Optimizer1 has joined #instantbird
09:47:40 <flo> if you already have access to the conversation binding, conv.browser.contentWindow.getElementById
09:49:35 <Optimizer> okay
09:49:43 <Optimizer> I am now on to the pastebin feature
09:50:18 <Optimizer> I should use pastebin.instantbird.com right ?
09:52:39 <flo> that would be a sane default, yes
09:52:45 <flo> but you may want to make that configurable
09:53:06 <Optimizer> I would make the language and the time period configurable
09:53:21 <Optimizer> but what is the point of having option for the server ?
09:53:25 <flo> supporting sending to pastebin is something we may accept as a default behavior (and if included by default it would have to be configurable), but I think experimenting first in an add-on is a good idea for that feature :)
09:53:45 <flo> Optimizer: people may have a favorite server they want to use
09:53:59 <Optimizer> okay
09:54:07 <flo> Optimizer: for example, they may want to only use an https server that they host themselves (to avoid data leaks)
09:54:10 <Optimizer> is there an api for pastebin ?
09:55:05 <-- gpsychosis has quit (Quit: Instantbird 1.1)
09:55:38 <flo> I don't remember
09:55:59 <flo> but it wouldn't difficult to just to a POST request similar to what submitting the form does
09:56:10 <flo> *wouldn't be difficult
09:56:40 <Optimizer> it wouldn't be, but I need to know if pasetbin supports that, and how to get back the url
09:57:09 <flo> I think you receive the url in a location: header
10:01:30 <Optimizer> pastebin.com provides a documentation 
10:01:50 <Optimizer> but does that apply to any pastebin on any server ?
10:04:45 <aleth> Maybe start by getting it working with pastebin.instantbird.com, and then experiment further?
10:05:07 <Optimizer> sadly every pastebin has different method
10:05:22 <Optimizer> I just tested pastebin.com, pastebin.instantbird.com and mibpaste.com
10:05:36 <aleth> Ah.
10:05:39 <aleth> Btw I think if you make the pastebin add-on separate from your Mibbit add-on, it will be more flexible and useful to more people
10:05:57 <Optimizer> okay
10:06:14 <-- EionRobb has quit (Quit: Leaving.)
10:06:27 <Optimizer> then the mibbit add-on is ready :D
10:06:33 <aleth> )
10:07:05 <Optimizer> I should now do proper references of code and etc etc
10:11:15 <-- Optimizer1 has quit (Ping timeout)
10:13:06 <Optimizer> what is the version of latest Nightlies ?
10:13:14 <aleth> 1.2a1pre
10:14:24 --> clokep has joined #instantbird
10:14:24 * ChanServ sets mode +o clokep 
10:16:31 * aleth wonders why he is seeing flo marked Away in the buddy list when he isn't according to whois
10:16:51 <Optimizer> Can you suggest a description ?
10:17:02 <Optimizer> currently I have : Mibbit Web Client styled messaging theme for Instantbird
10:17:58 <aleth> That sounds clear, though on the add-on site you might want to also describe what the features are.
10:18:07 <Optimizer> hmm
10:18:26 <Optimizer> I am uploading now then :)
10:18:27 <aleth> But you can do that when submitting the add-on, not in the add-on itself.
10:19:00 <-- aleth has quit (Quit: Instantbird 1.2a1pre -- http://www.instantbird.com)
10:19:09 --> aleth has joined #instantbird
10:19:09 * ChanServ sets mode +h aleth 
10:19:31 --> jb has joined #instantbird
10:26:21 --> FireFly_TB has joined #instantbird
10:26:47 <clokep> aleth: That bug about being away when you log in? It happens even w/ libpurple accounts.
10:27:08 <-- Optimizer has quit (Quit: http://www.mibbit.com ajax IRC Client)
10:27:18 --> Optimizer has joined #instantbird
10:27:31 <Optimizer> even must be getting a lot of pings :P
10:28:15 <flo> Optimizer: the matching is case sensitive
10:28:25 <flo> but yes, I think it was a poor choice of nick ;)
10:28:55 <aleth> clokep: our bug or theirs?
10:29:03 <flo> clokep: various libpurple protocol plugins have had issues with that (not sending a != available status when (re)connecting an account)
10:29:22 <flo> I suspect at least the oscar prpl still has that bug
10:29:26 <Optimizer> How do I know that my add-on is up for review ? 
10:29:34 --> Optimizer1 has joined #instantbird
10:30:29 <aleth> Optimizer: You request review by submitting to go public
10:30:37 <Optimizer> oh
10:30:51 <aleth> Before you do that, it is on the website, but listed as "experimental"
10:31:12 <Optimizer> do I need user reviews to ask for code review ?
10:31:30 <Optimizer> this is not the case for mozilla addons
10:31:34 <clokep> flo: I tested with the oscar protocol.
10:32:05 <clokep> It definitely used to be the case for Mozilla addons, who knows what they do now...
10:32:24 <Optimizer> they do not require user reviews
10:32:29 <aleth> I don't think its a requirement for IB add-ons anymore
10:32:52 <Optimizer> Public Nomination Criteria      At least one preview image required for extensions and themes.     Several user reviews of the add-on (may be external reviews).     Add-on is not marked as pre-release.
10:33:14 <clokep> Yes, we know what the site says. :P
10:33:26 <clokep> Mic does most of our reviews I think, I'd say just nominate it.
10:33:35 <clokep> I know we have addons with no reviews that are pulic.
10:33:55 <Optimizer> how to nominate ?
10:34:05 <aleth> Optimizer: bug 1154
10:34:08 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1154 nor, --, ---, raynaudquentin, NEW, Stated conditions for nominating an add-on for 'public' status are incorrect
10:36:04 <Optimizer> nominated
10:36:24 <aleth> Thanks for writing an add-on! :)
10:36:51 <Optimizer1> :)
10:37:05 <Optimizer1> after all it was for my own comfort
10:37:09 <-- clokep has quit (Input/output error)
10:37:18 --> clokep has joined #instantbird
10:37:18 * ChanServ sets mode +o clokep 
10:37:28 <flo> I wonder if https://addons.instantbird.org/en-US/instantbird/addon/314 works and if it contains anything interesting for wnayes
10:37:58 <Optimizer> wnayes ?
10:38:15 <clokep> Optimizer: You really need to keep your window big for this theme, eh?
10:38:25 <Optimizer> window big ?
10:38:55 <flo> Optimizer: wnayes is our Google Summer of Code student, working on an account import wizard :)
10:39:21 <clokep> Optimizer: http://i.imgur.com/wCyHM.png
10:39:22 <Optimizer> oh I am also a gsoc student for mozilla :)
10:40:00 <Optimizer> if you make it so small, then yes it would not work
10:40:15 <Optimizer> I will think of a work around in next release
10:40:17 <aleth> Optimizer: CSS media-queries might help?
10:40:25 --> Lalae has joined #instantbird
10:40:27 <flo> Optimizer: oh, which project do you work on?
10:40:32 <Optimizer> clokep: what is your screen resolution ?
10:40:40 <Optimizer> flo: Graphical timeline
10:40:50 <-- Lalae has left #instantbird ()
10:41:11 <clokep> Optimizer: I don't see what that has to do w/ anything?
10:41:28 <flo> is that the project to get insight into what necko is up to?
10:41:39 <Optimizer> how small did you do your window ?
10:41:53 <flo> the size that's on the screenshot, most likely ;)
10:41:59 <Optimizer> flo : not really : https://wiki.mozilla.org/DevTools/Timeline
10:42:42 <clokep> Optimizer: Yes, I keep it the size of that screenshot. :P That's my actual window size I use everyday.
10:42:57 <Optimizer> thats small
10:43:03 <Optimizer> which device?
10:43:17 <clokep> I have a laptop, but I don't see how that makes a difference.
10:43:37 <flo> Optimizer: lots of people think their IM windows should be small, to fit in a corner of their screen ;).
10:43:42 <clokep> Optimizer: I like the theme though, it looks like Mibbit. :P The highlighting of nicks is certainly useful on occassion.
10:43:43 <Optimizer> oh
10:44:03 <clokep> flo: Funny thing...I don't consider mine that small. :) I know a lot of people keep it wayyy smaller.
10:44:03 <Optimizer> I made it that way so that an even long nick will accomodate
10:44:22 <-- Optimizer1 has quit (Quit: Instantbird 1.1)
10:44:23 <flo> clokep: I wasn't really referring to your window
10:44:23 <aleth> Just make it respond to window size.
10:44:32 <Optimizer> hmm
10:44:34 <Optimizer> will do
10:44:39 <Optimizer> gotta run now
10:44:51 <-- clokep has quit (Input/output error)
10:44:51 <aleth> Optimizer: https://developer.mozilla.org/en/CSS/Media_queries
10:44:54 <-- Optimizer has quit (Quit: http://www.mibbit.com ajax IRC Client)
10:46:05 --> clokep has joined #instantbird
10:46:06 * ChanServ sets mode +o clokep 
10:47:50 --> FeuerFliege has joined #instantbird
10:48:49 <clokep> Hmmm...some stuff is off after installing that add-on...
10:49:03 <clokep> Ah it's affecting my bubbles theme too?
10:49:11 * clokep thinks that add-on is too encompassing.
10:51:55 <flo> so after a first look at the code, it seems it's incompatible with the show nick add-on, because it copied/pasted some of the code, without renaming the objects that are defined
10:52:35 <flo> the way channels are joined when clicking a #<channel name> thing looks unreliable: it uses the first connected account that can join chat, which isn't necessarily an IRC account
10:56:01 <flo> clokep: by the way, if we made the JS-IRC code automatically add <a href="irc://servername/#channelname> tags, do you know how we could handle them so that the channel is joined with the account that was used for the conversation where the link appeared?
10:57:13 <clokep> flo: You'd have to include the conversation name in the link somewhere, no?
10:57:24 <clokep> Or assume that there's only one account per server. :)
10:57:35 <clokep> But yes, that might be the next thing I work on.
10:57:43 <flo> clokep: the conversation isn't enough, what we really need is the account name (or at least the user's nick)
10:59:19 <flo> I'm wondering if we can handle these irc links with a protocol handler (that would also work for links received from external applications), or if we really have to special case them in http://lxr.instantbird.org/instantbird/source/chat/content/convbrowser.xml#1117 (doing some protocol-specific thing there would suck :()
10:59:31 <flo> although we may need something similar for twitter links
11:00:05 <flo> so maybe we just need to add a method to the conversation interface to handle a link clicked from the conversation, and return a boolean indicating if the prpl has handled it internally or not
11:00:16 <-- jb has quit (Ping timeout)
11:00:55 <clokep> flo: I'd really like to do it as a protocol handler.
11:01:25 * clokep needs to go.
11:01:26 <-- clokep has quit (Quit: Instantbird 1.2a1pre -- http://www.instantbird.com)
11:02:39 <aleth> The protocol handler could give preference to the account in the current active tab when there is more than one account that could match
11:04:30 <-- Tomek has quit (Quit: Instantbird 1.1)
11:05:01 <flo> aleth: knowing which tab is active (something the UI knows) from an xpcom component probably going to be part of chat/ sounds like a challenge ;)
11:05:33 <aleth> Right. And mixes backend with frontend in unfortunate ways anyway.
11:06:29 <flo> I think the solution I proposed (adding a method to prplIConversation) has the advantage of also solving the issue for twitter
11:07:33 <aleth> What twitter links are you thinking of?
11:17:06 --> jb has joined #instantbird
11:22:45 <-- jb has quit (Ping timeout)
11:23:47 <flo> #hashtag @username
11:24:08 <flo> it could be nice to show a timeline showing only twitters with that hashtag, or related to that username
11:24:31 <aleth> Ah, avoiding opening the twitter website
11:32:12 <flo> yeah :)
11:34:28 <FeuerFliege> that would be great!
11:35:44 <FeuerFliege> I would like if #hashtags and @usernames could be something like IRC-Channels
11:37:03 --> meh has joined #instantbird
11:43:46 --> clokep_work has joined #instantbird
11:43:46 * ChanServ sets mode +o clokep_work 
11:45:49 * clokep_work doesn't really get what that Timeline is supposed to do. :-S
11:47:24 <clokep_work> flo: Yeah, the right solution is probably to have a method of prplIConversation that gets links...although I'd still link to have a protocol handler to accept external links. ;)
11:52:55 <FeuerFliege> clokep_work: Timeline should show all tweets of those who you are following in a chronologic order :)
11:53:51 <clokep_work> FeuerFliege: Not what I was talking about, I was referring to someone's Google Summer of Code project earlier.
11:54:04 <clokep_work> I agree that we shld be able to show searches and other user's timelines. We probably have bugs about it.
11:54:05 <FeuerFliege> sorry
11:54:11 <clokep_work> It's OK.
12:02:00 <clokep_work> It was a vague statement. :)
12:02:29 <clokep_work> For reference if anyone is curious: http://tools.ietf.org/html/draft-butcher-irc-url-04#section-2.1
12:03:01 <clokep_work> An absurd amount of exceptions in there. :(
12:08:58 * jwir3|away is now known as jwir3
12:16:05 --> Kaishi has joined #instantbird
12:21:15 <-- meh has quit (Quit: I don't want to live on this planet anymore.)
12:25:33 <aleth> It does seem to already allow the inclusion of the user's nick though, which is all you would need to identify the account
12:25:49 --> jb has joined #instantbird
12:26:00 <clokep_work> aleth: Where? I didn't see that. :(
12:26:16 <-- Kaishi has quit (Quit: Kaishi)
12:26:20 --> Kaishi has joined #instantbird
12:26:28 <aleth> clokep_work: authinfo = [ username ] [ ":" password ]
12:27:08 <-- Kaishi has quit (Quit: Kaishi)
12:27:13 --> Kaishi has joined #instantbird
12:27:18 <aleth> Though using password just seems wrong :-/
12:29:04 <clokep_work> aleth: username isn't a nickname, it's explicitly forbidden: http://tools.ietf.org/html/draft-butcher-irc-url-04#section-2.2 "The username MUST NOT be passed to the server as a nickname."
12:29:24 <clokep_work> It's for the username of the protocol (which != the nickname).
12:29:36 <clokep_work> The password is for a passworded server, it kind of makes sense.
12:29:38 <aleth> Huh, What's the username of the protocol?
12:29:50 <aleth> Passing a password in plaintext within a URL...
12:30:03 <clokep_work> We send Instantbird as the username.
12:30:05 <clokep_work> Look at someone's whois info.
12:30:07 <aleth> Oh, I see
12:30:11 <aleth> That "username"
12:30:25 <-- FireFly_TB has quit (Ping timeout)
12:30:33 <clokep_work> Yes.
12:30:34 <-- FeuerFliege has quit (Ping timeout)
12:30:55 <clokep_work> I had the first thought initially toot hough. :(
12:31:13 <clokep_work> I mean we can just abuse it and break the specification. ;)
12:31:18 <clokep_work> I'm sure no one follows it anyway.
12:31:22 <aleth> Section 2.5.2?
12:31:40 <clokep_work> aleth: That's for opening a PRIVMSG to another user.
12:31:50 <clokep_work> (i.e. it's someone else's nickname)
12:31:57 <aleth> You can't use a channel and a nickname then.
12:32:14 <clokep_work> No, but we could probably abuse it to use that too. ;)
12:32:18 <aleth> We can break the spec any way we like as long as it's for internal use ;)
12:33:10 <flo> if it's for internal use we can to the prplIConversation method
12:33:23 <flo> the irc protocol handler is mostly for receiving links from external application
12:33:24 <flo> s
12:33:26 <aleth> Sure, whatever is easier.
12:33:39 <flo> although I don't know a cross platform way to register such handers
12:33:42 <flo> *handlers
12:34:12 <flo> and even less an easily extensible way... :(
12:34:21 <clokep_work> flo: Doesn't the platform support that?
12:34:23 <aleth> flo: I noticed the other day IB already seems registered for IRC links from FF for me (though it doesn't work of course).
12:34:26 <clokep_work> (I.e. Gecko?)
12:34:48 <flo> clokep_work: what do you mean with "support"?
12:35:02 <flo> clokep_work: we could look at how Thunderbird registers mailto: and news: handlers
12:35:47 <flo> but I think on Mac it's http://mxr.mozilla.org/comm-central/source/mail/app/macbuild/Contents/Info.plist.in#27
12:35:55 <-- aleth has quit (Quit: Instantbird 1.2a1pre -- http://www.instantbird.com)
12:36:03 <flo> on Windows something in the installer (boo :() that adds registry entries
12:36:05 --> aleth has joined #instantbird
12:36:05 * ChanServ sets mode +h aleth 
12:36:07 <flo> and on Windows I really don't know
12:36:12 <flo> err, I meant Linux
12:37:03 <clokep_work> Ah. :( I thought you could do it at run time.
12:37:10 <clokep_work> But I guess I'm thinking of the handlers, not registering it by default.
12:37:23 <flo> clokep_work: maybe you can. But I really don't have a clue of where to start to do it then
12:37:24 <clokep_work> http://www-archive.mozilla.org/projects/rt-messaging/chatzilla/irc-urls.html is a good page too aleth  ;)
12:37:35 <aleth> Clicking on an IRC link in FF currently allows me to select IB from a dialog box (along with Mibbit and purple-url-handler)
12:38:07 <flo> aleth: maybe because you selected Instantbird once from the file picker, hoping it would do the "right thing"?
12:38:19 <aleth> flo: If that is the case, I can't remember doing that
12:38:26 <flo> aleth: firefox remembers what you told it in the past
12:38:37 <aleth> I certainly didn't register mibbit either though
12:39:10 <aleth> Maybe using it once is enough?
12:39:11 <flo> I know an unfortunately large amount of pointless details about the crappy code handling that for Firefox (and toolkit in general), as it's the part of the code where I was hacking during my MoCo internship ;)
12:39:32 <flo> aleth: mibbit is preconfigured and ships by default with Firefox :(
12:39:42 <aleth> flo: That explains it :S
12:40:10 <flo> and I think the libpurple handler is registered correctly system wide if you installed libpurple through a package of your distribution
12:40:42 <aleth> Probably. Only a package would register such a user-unfriendly name ;)
12:40:49 <flo> ahah
12:41:06 <flo> I think it doesn't register the name, and the name use is the name of the binary that would be launched ;)
12:44:42 <flo> it would be nice to have someone seriously focusing on improving our integration with linux (and especially Ubuntu, as it seems to be the most used distribution these days)
12:45:10 <flo> integrating with unity and with the messaging applet next to the clock would be really useful to "compete" with empathy
12:45:48 <flo> "compete" would be in the "offer an alternative to" sense here, as I don't see any reason to discourage people from using empathy
12:45:49 <aleth> True. I think idechix wrote an add-on, not sure how far the integration provided goes.
12:46:15 <flo> iirc, he ported add-ons that were initially developed for Thunderbird
12:46:31 <flo> from what I've heard, that worked quite well, but I'm not sure the code would be suitable for being integrated by default
12:46:45 <flo> (I haven't really looked at the code)
12:46:47 <aleth> It also bugs me that we have issues on gnome3 (default on most other distros)
12:47:45 --> FireFly_TB has joined #instantbird
12:47:46 <aleth> It's possible that if IB was in the ubuntu/debian repos, we would have people showing up offering to fix these things?
12:47:49 --> FeuerFliege has joined #instantbird
12:47:55 <flo> it also bugs me that some parts of our UI look like crap on Windows 7 (default on most PC that ship ;))
12:48:17 <aleth> Really? I thought Mic had polished aero
12:48:24 <flo> we would need someone caring about putting instantbird back in the default ubuntu repos ;)
12:48:59 <flo> aleth: I think he has very significantly reduced the ugliness, but there are still things that look like they would need to be polished
12:51:04 <aleth> I wonder if there is some foruym on launchpad where one can ask if anyone is interested in helping out...
12:52:38 * aleth has a look
13:00:38 <aleth> https://bugs.launchpad.net/ubuntu/+source/instantbird/+bugs?field.status:list=NEW
13:01:45 * flo doesn't understand why his Thunderbird trunk debug build doesn't want to compile on his linux box
13:06:38 * bear-afk is now known as bear|buildduty
13:33:02 * clokep_work wonders if chris ccoulson would know of anyone interested in pushing Instantbird back into Ubuntu.
13:33:09 <clokep_work> Or mconley, he's been working with the Ubuntu guys I guess.
13:34:25 <clokep_work> Or maybe we should post on the blog or something about it. ;)
13:36:11 <flo> or mica hg ;)
13:37:04 <-- pvagner has quit (Ping timeout)
13:37:06 <clokep_work> Who is that?
13:37:45 --> Optimizer has joined #instantbird
13:41:33 <flo> clokep_work: another ubuntu maintainer ;)
13:42:01 <-- Kaishi has quit (Quit: Kaishi)
13:42:05 <flo> I think he made the initial instantbird ubuntu package, but I may be mistaken on that
13:42:53 <clokep_work> Oh OK.
13:51:07 <Optimizer> Is there a way to remove the AM/PM from the %time% in the status.html/content.html (in the skin folder) ?
13:52:37 <clokep_work> I have a feeling that %time% is auto-generated for different locales, but I might be making that up.
13:52:46 <-- Optimizer has quit (Max SendQ exceeded)
13:53:06 --> Optimizer has joined #instantbird
13:53:35 <flo> Optimizer: http://lxr.instantbird.org/instantbird/source/chat/modules/imThemes.jsm#385 just provide the format you want as a parameter ;)
13:54:13 <flo> documented at https://wiki.instantbird.org/Instantbird:Message_Styles:replacements#Replacement_in_messages_and_status_messages
13:54:36 <Optimizer> but the status.html file only contains %time%
13:54:42 <Optimizer> where do I provide parameters ?
13:55:20 <flo> %time{format}%
13:57:10 <Optimizer> Why were there % before and after time ?
13:57:13 --> meh has joined #instantbird
13:57:33 <flo> what do you meaN
13:57:35 <flo> *mean
13:57:36 <flo> ?
14:01:46 <-- Optimizer has quit (Ping timeout)
14:03:42 --> Optimizer has joined #instantbird
14:06:39 <aleth> Optimizer: The parser replaces %...% with the appropriate value for each message
14:07:02 <Optimizer> so to specify a time format, what should I use, lets say for 244 hr clock
14:07:05 <aleth> Btw flo left some feedback on your Mibbit add-on earlier, not sure if you saw that.
14:07:06 <Optimizer> 24*
14:07:18 <Optimizer> I didnt get any mail 
14:07:27 <Optimizer> was I supposed to get any ?
14:07:27 <aleth> on IRC ;) check the logs
14:07:53 <aleth> I don't know how the time format is specified, that's what the documentation is for ;)
14:09:21 <aleth> https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Date/toLocaleFormat
14:09:43 <aleth> mdn is a good resource for that kind of thing.
14:09:51 <Optimizer> so how to get the current active account (I read the logs)
14:12:54 <flo> if you have access to the conversation, it's easy
14:18:05 <aleth> conversation.xml (the conversation binding) is a good place to look to see how things are accessed
14:18:17 <-- Optimizer has quit (Quit: Instantbird 1.1)
14:18:28 --> Optimizer has joined #instantbird
14:19:54 <-- Optimizer has quit (Connection reset by peer)
14:20:20 --> Optimizer has joined #instantbird
14:22:16 <-- Optimizer has quit (Quit: Instantbird 1.1)
14:22:26 --> Optimizer has joined #instantbird
14:24:35 * clokep_work notices that Mook apparently vouched for him on Mozillians at some point... (o_O)
14:24:58 <Optimizer> some links for help on getting the accounts ? possibly the current active account ?
14:25:21 <clokep_work> What do you mean by "current active account"? I don't think that makes any sense...
14:26:52 <Optimizer> Services.accounts.getAccounts() returns an iterator for all the joined accounts
14:27:15 <Optimizer> currently I am using the first account I get from that iterator and join some channel using that account
14:27:41 <Optimizer> I want to make sure that the account is the current active account (from which the user clicked some link which called the funtion)
14:27:50 <Optimizer> and also that the account is of IRC
14:28:09 <clokep_work> Do you have the conversation that they clicked it from?
14:29:07 <Optimizer> I am using a global mouse click handler to handle clicks, so I suppose no
14:29:46 <clokep_work> Hmm...you have the element that was clicked?
14:38:18 <clokep_work> So if anyone does use mozillians.org, I added myself to an Instantbird group, but I'm the only one there. ;) So feel free to add it too.
14:40:51 <-- Optimizer has quit (Quit: Instantbird 1.1)
14:41:01 --> Optimizer has joined #instantbird
14:42:16 <clokep_work> Optimizer: By the way, you know you can run a second instance of Instantbird with the -P <profile name> -no-remote flags, right?
14:42:24 <flo> clokep_work: is there an easy way to find groups?
14:42:43 <clokep_work> flo: I addd it to my own profile and then clicked on it. :-D
14:42:48 <flo> I don't really know what mozillians is used for (except spamming large number of community members)
14:42:54 <clokep_work> But if you mean to like search through them or auto-complete...I have no idea.
14:43:15 <clokep_work> I don't either. I know it has big plans...I just logged int o see if anything had changed in the past six months.
14:43:23 <-- Optimizer has quit (Quit: Instantbird 1.1)
14:43:44 <flo> ah, it's based on browserid now, and it asks me to create my profil
14:43:54 <clokep_work> I already had one. ;)
14:43:57 <flo> is that a new confusing way to say "wrong email address"?
14:44:13 <clokep_work> Speaking of which, you have an IRC nick in your profile...is that pulled in from somewhere? I can't seem to add one?
14:44:28 <flo> what if my mozillians profile is on an email address that doesn't match the one of my browserid "account"?
14:45:03 --> igorko has joined #instantbird
14:47:52 <clokep_work> Yes tthat's one they haven't solved I think. :)
14:48:23 <flo> ah, using florian @ instantbird.org works better
14:48:35 <flo> now I'm "Florian Qu " Apparently UTF8 is hard ;)
14:49:27 <flo> so if I edit my profile to fix my last name, my IRC nick is lost and I can't add it back
14:49:30 <flo> cool...
14:53:02 <clokep_work> Hahah.
14:53:18 <clokep_work> Sounds like a bug. ;)
14:54:01 <flo> loosing half of my last name? Or loosing my IRC nick? Or having a painful login process? Or not having a single useful feature?
14:55:24 <aleth> The FF Password manager being incompatible with BrowserID is also helpful...
14:57:06 * clokep_work likes that he has a bunch of contributions in 2009 and then 2012 for c-c. :-P
14:57:55 <flo> I wonder if http://www.apple.com/DTDs/PropertyList-1.0.dtd has a license that allows us to distribute it
14:58:23 <clokep_work> Why? What is that useful for?
14:58:29 <flo> our debug builds have a warning in nsExpatDriver each time we load an info.plist file because of that DTD being missing in the res/dtd/ folder
14:59:03 <clokep_work> Ah, I see...we could ask? :P
14:59:08 <flo> I understood the cause only recently though; when the non-sense warning was turned into a "Failed to open external DTD: <path of the file that the parser attempted to open>"
14:59:13 <flo> ask who?
14:59:24 <clokep_work> I have no idea. :-/
15:00:08 <flo> or maybe we could decide it's needed for Thunderbird, and let licensing@mozilla.org figure it out :P
15:00:18 <flo> (I think that actually means Gerv though)
15:00:47 <clokep_work> Ah-ha! :) He's a good resource though...
15:00:54 <clokep_work> Can't you actually use the real URL though and it'll check it?
15:01:07 <flo> opening external files is disabled
15:01:20 <flo> + doing it over unencrypted http wouldn't make any sense ;)
15:01:51 <flo> an acceptable way to do it would be to ship a hash of the known good file, and have the application download it the first time it's needed and cache it; but that seems like too much work ;)
15:04:07 <flo> FeuerFliege: so you added instantbird@gmail.com in your gtalk buddy list?
15:04:49 <flo> I have a request from a very strange username: g-at-media.fjmail.de-<some string composed of letters and digits>@invite.talk.google.com
15:07:16 <flo> FeuerFliege: I accepted the request, and you are now visible in my contact list as <the strange string>@id.talk.google.com
15:07:17 <FeuerFliege> flo: ah, that must be via google plus. I have added instantbird too a GMail account, too. The other account doesn’t connect within IB. The one time it apparently did must been an error of IB.
15:07:35 <flo> FeuerFliege: I also accepted a request from a googlemail.com account
15:10:13 <FeuerFliege> ok
15:12:01 <clokep_work> Hey aleth, did you want to put up a blog post? It would be good to have one soon. :)
15:21:43 <FeuerFliege> btw the strange pseudo login just happened again.
15:21:43 <FeuerFliege> in fact it happened twice, in both cases the same errors appeared in the error console:
15:21:44 <FeuerFliege> http://pastebin.instantbird.com/42273
15:22:58 <flo> would be nice to finally get rid of that "this._proxyCancel is null" error
15:24:05 <clokep_work> Do we have a bug filed on it?
15:24:58 <flo> bug 335 seems like the real cause, but we could also cleanup the socket.jsm code to better handle errors
15:25:02 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=335 min, --, ---, nobody, NEW, Going offline should stop reconnection timers
15:27:39 <FeuerFliege> What pseudo login looks like in the account manager http://up.picr.de/10513184cn.png
15:27:42 --> Tomek has joined #instantbird
15:29:47 <flo> FeuerFliege: that looks like a failed disconnect to me
15:32:23 --> Optimizer has joined #instantbird
15:32:48 <Optimizer> I can update the add-on file for the same version right ?
15:36:33 <-- wesj has quit (Input/output error)
15:36:38 --> wesj has joined #instantbird
15:38:27 <clokep_work> Optimizer: I'm not sure what you're asking, but yes you can upload a new version whenever you want.
15:39:27 <Optimizer> not new version, same un reviewed version again 
15:40:57 <flo> aleth, clokep_work: looking at http://hg.mozilla.org/comm-central/rev/180f977a6795#l2.1 does it feel right that the j and join commands are no longer identical?
15:41:01 <clokep_work> If it's the same why would you update it?
15:41:32 <clokep_work> flo: :( Absolutely not.
15:41:32 <Optimizer> because I want the users to get the better version, when no one has downloaded the earlier yet
15:41:44 <clokep_work> Optimizer: So it is a new version. :P
15:41:54 <clokep_work> Yes, you can update it whenveer you want.
15:41:58 <Optimizer> yes, but the old version is yet to be downloaded
15:42:01 <Optimizer> to better replace it
15:42:08 <clokep_work> OK...I don't see the issue?
15:42:15 <clokep_work> (PS I downloaded it, so at least one person did.)
15:42:21 <Optimizer> :D
15:42:23 <clokep_work> Upload the new file, delete the old one.
15:42:26 <Optimizer> hmm
15:42:29 <Optimizer> cool :)
15:42:55 <clokep_work> flo: I guess we should abstract it to a method? (Or allow commands to have aliases. ;))
15:42:55 <-- Optimizer has quit (Quit: Instantbird 1.1)
15:43:49 <flo> I had that bug where tweets aren't sent until the account is reconnected again :(
15:44:02 <flo> clokep_work: is the /j command really useful?
15:44:23 <clokep_work> flo: It was a libpurple parity thing.
15:44:25 <flo> clokep_work: it seems to always be in my way, because I type /j<tab> and then it fails to complete and I have to press tab a second time
15:44:28 <clokep_work> I'd be fine removing it.
15:45:20 <clokep_work> flo: I think the idea is that you don't have to press <tab>, you just press space. :P
15:45:36 <flo> I think that's difficult for me :-D
15:48:25 <clokep_work> I personally prefer things to be verbose and obvious what they do instead of random one letter abbreviations...
15:48:37 <clokep_work> I'll r+ a removal. ;)
15:50:31 <flo> clokep_work: I would support command aliases in the way hg does them :)
15:50:54 <flo> that is, I would like /j /jo /joi and /join to work, but only /join to be listed in help messages
15:51:41 <clokep_work> flo: Ah, is that how it does it?! That's pretty slick. :)
15:51:46 <clokep_work> File a bug? ;)
15:52:13 <flo> clokep_work: command prefixes automatically work on hg if it's non ambiguous
15:53:14 <flo> clokep_work: https://twitter.com/#!/beltzner/status/203141157365088256
15:54:45 <clokep_work> :)
15:54:55 <clokep_work> flo: I'd be all for supporting that btw.
16:00:57 <-- Even1 has quit (Quit: Instantbird 1.2a1pre -- http://www.instantbird.com)
16:08:33 --> Optimizer has joined #instantbird
16:09:01 <Optimizer> any idea whether this kind of selector will work or not ? : [innerHTML*="entered"]
16:09:55 <flo> innerHTML isn't a DOM attribute, it's a JS property of the DOM object
16:09:57 <flo> so, no :)
16:10:23 <Optimizer> textContent ?
16:10:47 <flo> no :)
16:11:05 <Optimizer> .event .message-text[innerHTML*="entered"]
16:11:20 <Optimizer> this is what I am trying to segregate the someone entered the chat room message
16:11:24 <Optimizer> and to style is differently
16:12:04 <Optimizer> so there is no DOM attribute that has the text content of the node ?
16:12:38 <clokep_work> Can't you already change the way that system messages are formatted?
16:13:18 <Optimizer> yes, but cannot differentiate b/w various system messages
16:13:18 <clokep_work> Ah, are you trying to show entering vs. leaving differently?
16:13:24 <Optimizer> like joined, left, known as
16:14:12 <clokep_work> I think you'd need to use JavaScript to do that.
16:14:17 <Optimizer> :(
16:16:11 --> Mook_as has joined #instantbird
16:16:17 <flo> Optimizer: these messages are localized anyway ;)
16:16:28 <flo> so using the content of the message is very unreliable
16:16:36 <Optimizer> oh
16:16:42 <Optimizer> hmm
16:16:51 <Optimizer> atleast I can do for english :)
16:19:02 <-- jb has quit (Ping timeout)
16:19:22 --> jb has joined #instantbird
16:20:07 <-- jb has quit (Quit: jb)
16:26:00 <-- Optimizer has quit (Quit: Instantbird 1.1)
16:26:33 --> Optimizer has joined #instantbird
16:26:45 <Optimizer> now testing the JS
16:29:27 <Optimizer> Can anyone please quit or join :)
16:31:03 <instantbot> clokep@gmail.com set the Resolution field on bug 350 to INCOMPLETE.
16:31:06 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=350 nor, --, ---, nobody, RESO INCOMPLETE, IB crashes while adding 4-digit gadu-gadu buddies
16:31:23 <flo> Optimizer: you know you can configure several accounts, right?
16:31:33 <Optimizer> in the same IB ?
16:31:37 <flo> of course
16:31:56 <Optimizer> oh
16:31:59 <Optimizer> thanks
16:32:13 <-- Optimizer has quit (Quit: Instantbird 1.1)
16:33:30 <clokep_work> Does WATCH/MONITOR seem to be working for people btw?
16:35:34 --> myk has joined #instantbird
16:35:37 --> jb has joined #instantbird
16:40:20 <-- jb has quit (Quit: jb)
16:42:36 <aleth> clokep_work: I had a situation this morning where fl o stayed away despite not being away after a certain point. Didn't have loglevel high enough to see what happened though.
16:44:02 <clokep_work> Hmmm....OK...
16:44:25 <clokep_work> How do you know he was no longer away? ;)
16:44:33 <aleth> WHOIS :D
16:44:40 <clokep_work> AH, haha.
16:44:52 <aleth> Actually noticed by accident from the tooltip.
16:45:28 <flo> aleth: how do you know I haven't changed my status for only a few ms while you were displaying the tooltip? :-P
16:45:48 <aleth> Ooh sneaky :D
16:46:57 <flo> (in case that wasn't completely obvious, I was kidding)
16:48:08 <-- aleth has quit (Input/output error)
16:48:30 <clokep_work> Hopefully aleth was just running wireshark?
16:53:45 --> aleth has joined #instantbird
16:53:46 * ChanServ sets mode +h aleth 
16:53:53 <-- aleth has quit (Quit: aleth)
16:54:00 --> aleth has joined #instantbird
16:54:00 * ChanServ sets mode +h aleth 
16:55:17 --> Optimizer has joined #instantbird
16:55:33 <Optimizer> The by default colors assigned to each nick by IB as randomly bright
16:55:39 <Optimizer> so bright that it makes hard to read
16:56:04 <Optimizer> dark text-shadow also does not improves readability
16:57:10 <clokep_work> I find them very comfortable to read, but I guess it depends on your screen and all.
17:03:38 <-- Optimizer has quit (Quit: Instantbird 1.1)
17:04:06 --> wnayes has joined #instantbird
17:14:56 <-- meh has quit (Quit: I don't want to live on this planet anymore.)
17:21:55 <clokep_work> wnayes: Did you show off to everyone your improvements to Instantbird so far? ;)
17:22:50 <wnayes> clokep_work: haha not yet :)
17:23:25 <wnayes> I've been thinking about what to work on next though
17:24:34 <wnayes> I used to use the Psychic Mode plugin in Pidgin, and I thought I might try porting that functionality as an addon to IB.
17:25:01 <wnayes> Not sure whether XPCOM might be involved though...
17:25:51 <clokep_work> wnayes: I used to use that too and briefly looked into it, didn't write any code though.
17:26:18 <clokep_work> I wouldn't worry too much about XPCOM, you've already used it a bit when interfacing with the protocols and it's not too difficult of a concept. Pretty much just defining classes. :)
17:34:02 <clokep_work> But if you make that extension, I'd use it. :-D Last time I checked though, I don't think Instantbird had the right signal for it. :(
17:43:01 <clokep_work> (I think the update-typing signal is only sent if there's a conversation, but maybe not...I didn't fully look into it)
17:43:16 --> DGMurdockIII has joined #instantbird
17:44:17 <wnayes> clokep_work: Perhaps... I'm having a hard time finding the wiki page I believe I saw with a list of the signals :(
17:46:15 <flo> clokep_work: it may not be to hard to add it for all cases, or to make the typing signal create conversations with a hidden pref
17:47:00 <clokep_work> flo: Yes, there's only like five instances of it. :)
17:47:16 <clokep_work> wnayes: A better reference for that signal: http://lxr.instantbird.org/instantbird/search?string=update-typing ;)
17:50:54 <wnayes> clokep_work: Thanks :) This would probably not work as an addon if there needs to be a change to the IB code though.
17:52:28 <clokep_work> wnayes: We have in the past changed core code to enable add-ons.
17:52:55 <clokep_work> We certainly don't want to get in the way of add-ons...
17:53:28 <clokep_work> (I think in this case you would just add another notification or reuse the same one, but to also fire when there's no conversation)
17:54:25 <flo> clokep_work: wouldn't you just want to create the conversation when that notification is received, rather than when a real message arrives?
17:54:33 <flo> that behavior could be controlled by a hidden pref
17:55:53 <aleth> The new protocol selector looks great wnayes :)
17:56:13 --> Optimizer has joined #instantbird
17:56:17 <aleth> Can't see the separator between Show all protocols and the others though - is there meant to be one? http://i.imgur.com/zW1YG.png
17:56:29 <clokep_work> flo: Yes, you could do that too. Wasn't sure if we wanted that ability in core, in which case you'd have to add a notification of some sort. :)
17:56:31 <wnayes> aleth: Thanks :) Glad that bug was fixed before the nightly
17:56:45 <clokep_work> aleth: Can't we just blame Linux?
17:57:07 <aleth> You can if it makes you feel better ;)
17:57:59 <wnayes> aleth: No separator was added, maybe there was one in some mockups.
17:58:13 <aleth> Ah, that explains it!
18:02:03 <-- Optimizer has quit (Quit: Instantbird 1.1)
18:02:13 --> Optimizer has joined #instantbird
18:04:31 --> meh has joined #instantbird
18:04:59 <clokep_work> wnayes: Well sounds like you have the go ahead to add that w/ a hidden pref so...I await your patch. ;)
18:05:20 <aleth> Optimizer: You can always write an add-on that overrides the nick color computation...
18:05:53 <Optimizer> Too early for that :)
18:06:32 <wnayes> clokep_work: I'll do my best, I'm taking a look at the code right now :)
18:07:19 <-- igorko has quit (Connection reset by peer)
18:07:36 <clokep_work> Just write an add-on to be a web based Instantbird? :P
18:07:58 <aleth> Instantb2g? :P
18:09:16 <Optimizer> is hsl same as hsb ?
18:10:03 <clokep_work> Probably, but I've never heard "HSB" before.
18:10:06 <clokep_work> It's not the same as HSV.
18:10:23 <clokep_work> Ah, according to WP, HSB == HSV.
18:11:00 <Optimizer> cs uses hsl
18:11:09 <Optimizer> I just did l = 100% and every color is white
18:11:18 <Optimizer> though h is different
18:12:01 <instantbot> New Instantbird (UI) bug 1437 filed by aletheia2@fastmail.fm.
18:12:04 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1437 min, --, ---, nobody, NEW, Remove Welcome screen from Acount wizard
18:12:23 <aleth> yay typo :-/
18:13:27 <FeuerFliege> hsv != hsl
18:14:34 <FeuerFliege> if you see hsv as a cone, hsl is a double cone with black and white at bottom/top tips
18:15:26 <-- Optimizer has quit (Quit: Instantbird 1.1)
18:15:36 --> Optimizer has joined #instantbird
18:15:57 <FeuerFliege> Optimizer: http://farbe.wisotop.de/illustration/2008/Kapitel01/HSV-HSL-Farbmodelle.png
18:15:58 <clokep_work> aleth: I saw a few. ;)
18:17:01 <-- wnayes has quit (Ping timeout)
18:17:06 <Optimizer> There are 0 addons in the queue
18:17:13 <Optimizer> so when will my addon be reviewed ?
18:17:15 <Optimizer> :P
18:21:08 --> wnayes has joined #instantbird
18:22:27 <-- Optimizer has quit (Quit: Instantbird 1.1)
18:57:32 <clokep_work> flo: Is our plan to just pick up the MPL 2.0 license for chat/ when c-c gets relicensed?
19:32:41 <-- Tomek has quit (Quit: Instantbird 1.1)
19:47:41 <-- chrisccoulson has quit (Quit: Ex-Chat)
19:52:25 --> chrisccoulson has joined #instantbird
19:53:05 <-- SM0TVI has quit (Ping timeout)
19:54:03 --> SM0TVI has joined #instantbird
19:58:55 <-- DGMurdockIII has quit (Quit: ChatZilla 0.9.88.2 [Firefox 13.0/20120509070325])
20:06:10 <flo> clokep_work: yes. For chat/ and instantbird/ too
20:07:47 <clokep_work> flo: Well we'll have to relicense instantbird/ ourself, but I meant like take the changeset from comm-central.
20:09:41 <flo> clokep_work: I think Gerv is going to provide the script he will use for the relicensing
20:09:56 <clokep_work> Yeah, it's in his user repo IIRC.
20:10:17 <flo> is there any indication that the relicensing is happening soon in c-c?
20:12:15 <clokep_work> It's happening Monday for m-c, I assume c-c will follow shortly after. :)
20:12:49 <clokep_work> My real point was whether we should tell gerv not to relicense chat/ and we'd do it during our next ib --> c-c merge or whether we'd be merging this change from c-c to instantbird.
20:16:33 <-- gerard-majax has quit (Ping timeout)
20:19:14 <flo> clokep_work: have you seen http://blog.mozilla.org/bhearsum/archives/287 ?
20:19:40 <flo> clokep_work: we will merge his change
20:21:18 <-- meh has quit (Quit: I don't want to live on this planet anymore.)
20:21:43 <clokep_work> flo: I have now. That doesn't sound good. :(
20:22:50 <flo> it's not clear what we need to do about this, but it seems almost guaranteed to be painful
20:24:09 <clokep_work> Yes. :-/ What are our build machines on? 10.5?
20:24:32 <clokep_work> (Haha, I think Mook_as just pushed this over to #komodo. :P)
20:24:38 <flo> 10.5 PPC!
20:24:51 <clokep_work> Can we even get a certificate or whatever without paying? :-S
20:25:08 <flo> that's what I was wondering
20:25:20 <clokep_work> Could be worth leaving a comment about. :)
20:25:20 <flo> how can we get certificates? :(
20:25:36 <clokep_work> It says from a Apple Developer account.
20:26:00 <clokep_work> When I signed up for one the other day...didn't seem like there was much I could do without paying. :-/
20:26:08 <clokep_work> (I /could/ download the Bonjour SDK though. :-D_
20:26:37 <Mook_as> yeah, thanks for the heads up :)
20:27:20 <clokep_work> Mook_as: If you guys figure anything out, let us know? :)
20:27:42 <Mook_as> we're more doomed than you are, we're still running gecko 7 and building on 10.6
20:28:08 --> BYK has joined #instantbird
20:28:11 <clokep_work> Did you not see the building on 10.5 PPC above? ;)
20:28:27 <Mook_as> oh, right :)
20:28:32 <clokep_work> At least now that you guys got past Gecko 4 finally you should be able to update fairly easily.
20:28:36 <Mook_as> so we're differently doomed ;)
20:28:40 <clokep_work> (Unless PyXPCOM stops that...)
20:29:07 <clokep_work> Well, hopefully it's not /too/ painful. :-/
20:29:18 <clokep_work> I'm going to go run around outside though! Bye. :)
20:30:00 <-- clokep_work has quit (Quit: http://www.mibbit.com ajax IRC Client)
20:30:07 <Mook_as> yeah, pyxpcom is broken for m-c right now
20:34:36 --> EionRobb has joined #instantbird
20:35:01 <flo> so it seems if an application is signed, all binary plugins also have to be signed?
20:35:04 <flo> that promises to be fun...
20:35:28 <flo> what are the implications for partial updates, by the way?
20:40:27 <-- FireFly_TB has quit (Quit: FireFly_TB)
20:43:35 --> Adamodell has joined #instantbird
20:44:33 <Adamodell> is there any way to disable the inline notifications that occur inside of chat windows (reporting of status, PM changes and name changes)
20:44:38 <Adamodell> it's information I don't feel I need to know
20:46:03 <aleth> Adamodell: There is no built in way of hiding them at the moment
20:46:16 <Adamodell> well it's not a huge deal
20:46:16 <aleth> But you could easily modify a message theme to hide them
20:47:04 <flo> so apparently we need to pay 99$/year to have a developer id? (https://developer.apple.com/programs/mac/)
20:47:31 <Adamodell> Silly Apple
20:47:33 <aleth> A customized message style that doesn't display any system messages is not difficult to do. It's only difficult if you wanted to hide some and not others
20:49:13 <Adamodell> I'm not in a hurry, but thanks anyway
20:49:48 <aleth> You need a dev ID just to build something on OSX now?
20:50:38 <aleth> Ah, I've seen the link now
20:54:00 <-- FeuerFliege has quit (Connection reset by peer)
20:56:13 <flo> Adamodell, aleth: a userChrome or userContent css file in the profile should be enough to hide system messages
20:56:48 <flo> aleth: not to build it, but for other people to install it without having to first change a system setting
20:56:52 <aleth> flo: Good idea!
20:57:29 <Adamodell> also don't worry about the texting thing I was talking about some weeks ago- I haven't texted anyone on a computer for a while now and I'm not worried about that any more
20:57:57 <Adamodell> I think settings for some GUI aspects that don't have settings yet is a much more important thing that a larger amount of people would benefit from
20:58:44 <aleth> Such as?
20:59:07 <aleth> Enhancement requests are always welcome, especially if you file them on bugzilla ;)
20:59:20 <Adamodell> this might be worth filing
21:00:40 <Adamodell> but I'm too lazy for my own good
21:00:45 <flo> adding lots of things in the preference dialog is likely to be resolved as INVALID though ;)
21:02:55 <Adamodell> don't need too much
21:03:01 <flo> I would welcome suggestions for removing some though :)
21:04:31 <Adamodell> anyway flo mind explaining the userChome way of doing this, if it doesn't take a long time
21:04:32 <-- aleth has quit (Quit: Instantbird 1.2a1pre -- http://www.instantbird.com)
21:04:38 --> aleth has joined #instantbird
21:04:38 * ChanServ sets mode +h aleth 
21:05:28 <flo> Adamodell: I don't think I've ever successfully done it myself, so others are likely to give better explanations
21:05:33 <flo> I can explain the general idea though
21:06:02 <flo> it's possible to create a css file in your user profile (ie in a place that won't be affected by updates of the application) that will be applied to the application.
21:06:17 <flo> so you can use it to add a CSS rule hiding some elements you don't want to see
21:07:17 <aleth> You make a subdirectory called chrome in your IB profile folder, and in that folder you make a text file called userChrome.css
21:07:58 <flo> oh, it's in a subdirectory now?
21:08:11 <flo> isn't it userContent.css for the content of the conversations?
21:08:11 <aleth> I think that is required, but I'm not sure
21:08:25 <aleth> Hmm, good point.
21:08:25 <-- Gizmokid2005 has quit (Ping timeout)
21:08:35 <aleth> Probably.
21:08:53 <aleth> I'm not sure if that belongs in /chrome or not
21:09:56 <aleth> Anyway, in the file you'd put a line such as ".event {display:none;}"
21:10:00 <aleth> That should do it.
21:11:42 <aleth> Yes, it belongs in /chrome: http://kb.mozillazine.org/UserContent.css
21:12:12 <Adamodell> I was just gonna ask about the location after I got the file made but you answered right before I got to typing it
21:12:27 --> Gizmokid2005 has joined #instantbird
21:12:47 <Adamodell> anyway I'll be back in a second
21:12:50 <aleth> You might need !important after the "none", but try without
21:13:04 <Adamodell> ah okay
21:13:08 <flo> it may be better to put a safer selector
21:13:10 <-- Adamodell has quit (Quit: Instantbird 1.1)
21:13:14 <flo> would .bubbles.event work?
21:13:15 --> Adamodell has joined #instantbird
21:13:24 <aleth> Only with the bubbles style.
21:13:29 <flo> of course
21:13:40 <aleth> I didn't want to assume.
21:13:40 <flo> but Adamodell can probably decide which message style he wants to use :)
21:13:44 <Mook_as> can it reasonably use @-moz-document?
21:14:02 <flo> chrome://instantbird/content/conv.html ?
21:14:12 <flo> or maybe it's chrome://chat/content/conv.html (seems more likely)
21:14:23 <Adamodell> wait, what did I miss, haha, about the bubbles style
21:14:28 <Mook_as> yeah, I couldn't remember the url off the top of my head :)
21:14:43 <aleth> #Chat.event?
21:15:02 <aleth> ah no, needs to be a child selector then
21:15:04 * bear|buildduty is now known as bear-afk
21:15:04 <Adamodell> I'm using Minimal 2
21:15:11 <Adamodell> for my message style
21:15:15 <aleth> So, did it work?
21:16:18 <flo> Mook_as: what would you put in a C++ file to cause gdb to stop? NS_ASSERTION?
21:16:19 <instantbot> c++ is e-- ah, nevermind.
21:16:36 <Mook_as> __asm { int 3; }
21:16:45 <Mook_as> or whatever the right syntax was
21:17:09 <flo> maybe playing with https://developer.mozilla.org/en/XPCOM_DEBUG_BREAK
21:17:26 <Adamodell> I'm giving it a bit to see exactly what it does, although I still am getting notifications in RIC chat (topic title/name change), I dunno if these are classed the same, they probably are, I wouldn't know, and I'm waiting for stuff to happen in my MSN windows
21:17:52 <Mook_as> grabbing DOM inspector will be useful for you to figure out what's going on :)
21:18:14 <Adamodell> I can try the !important bit in a second
21:18:33 <aleth> Adamodell: It may be that the userContent route doesn't work for Minimal 2, it depends on how the message style is laid out. If you only ever use Minimal2, the best route is to change Minimal2
21:19:13 <Adamodell> yeah I figured I missed something pertaining to how custom themes are laid out when I caught that message about the default bubble theme
21:19:43 <-- SM0TVI has quit (Ping timeout)
21:19:48 <aleth> I'd suggest taking the Minimal2 XPI file, unzipping it, and opening Status.html and NextStatus.html (found within) with a text editor
21:19:49 --> gpsychosis has joined #instantbird
21:20:38 <aleth> Then you modify those files, compress (zip) the files back into an XPI, install the now changed style and are done.
21:21:01 --> SM0TVI has joined #instantbird
21:22:11 <flo> aleth: are these files even required? If not, they can just be removed
21:22:40 <flo> ah, not having Status.html will fallback to Incoming/Content.html, that's not wanted :)
21:22:45 <aleth> They fall back to Content.html if missing
21:23:32 <Adamodell> so do I just parse out %time% and %message% from both files or am I totally off base
21:23:42 <-- myk has quit (Quit: Instantbird 1.2a1pre -- http://www.instantbird.com)
21:23:45 --> myk has joined #instantbird
21:24:22 <myk> hmm, still seeing those failures to send messages to AIM buddies
21:24:32 <aleth> Probably better to just leave them empty should do :)
21:24:55 <aleth> Maybe leave the line with "insert"
21:25:43 <Adamodell> so just leave "<span id="insert"></span>" intact
21:25:47 <aleth> Yes.
21:25:58 <Adamodell> ah thanks, let's see what happens in a bit when I get this repackaged
21:26:37 <flo> myk: ah, I had almost forgot that! It could totally be just another way to reproduce the mess I'm trying to debug :-S
21:27:06 <myk> hmm
21:27:07 <flo> aleth: completely empty should do
21:27:24 <myk> flo: anything i can do to help? f.e. run a special build with extra logging?
21:27:28 <Adamodell> and I already got it packaged too
21:27:28 <Adamodell> haha
21:27:32 <flo> not sure
21:27:38 <aleth> Adamodell: Don't worry, it will be fine
21:27:43 <Adamodell> yeah I figured as much
21:28:07 <flo> I got a way to reproduce 100% of the time with Thunderbird at least once case where my XML HTTP request never reaches the network, so I hope I'll be able to debug from that
21:28:23 <Adamodell> okay let's see what happens
21:28:24 <-- Adamodell has quit (Quit: Instantbird 1.1)
21:28:25 <flo> *one case
21:28:27 --> Adamodell has joined #instantbird
21:28:39 <aleth> flo: That sounds like quite a bug :S
21:28:42 <Adamodell> I fail to see the IRC topic- so that right there proved it worked
21:28:51 <flo> aleth: there's definitely a bug
21:28:56 <flo> aleth: and a quite serious one :(
21:29:08 <Adamodell> what kind of bug, I missed out on conversation again
21:29:08 <Adamodell> haha
21:29:24 <flo> Adamodell: don't worry
21:29:32 --> jb has joined #instantbird
21:29:43 <Adamodell> anyway my request is fulfilled so that's over with
21:30:19 <flo> the thing I'm currently trying to debug is https://bugzilla.mozilla.org/show_bug.cgi?id=735688
21:30:30 <aleth> No more system messages ;)
21:30:50 <aleth> flo: Ah, the one Feuerfliege was complaining about
21:31:00 <flo> but it's possible lots of different strange issues related to sockets and usage of the network have the same cause
21:31:20 <flo> aleth: I also got bwinton and beltzner complaining about it today again
21:31:25 <flo> and j b yesterday
21:31:41 <aleth> It's never been an issue with IB, despite the same code?
21:31:46 <aleth> Different gecko versions?
21:31:51 <-- devfil has quit (Client exited)
21:31:53 <flo> possibly
21:32:02 <flo> or different initialization order
21:33:00 <Adamodell> seeya all
21:33:01 <flo> aleth: I would like to have some solid data to claim that it's the same bug as bug 1355 (and that the bug myk is seeing is also the same)
21:33:05 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1355 maj, --, ---, nobody, NEW, unable to establish any network connection until a restart of the application
21:33:27 <-- Adamodell has quit (Quit: Instantbird 1.1)
21:33:45 <aleth> If you can reproduce it now, that's halfway there though
21:34:05 <flo> the steps to reproduce are surprising
21:34:54 <flo> I can reproduce it only at the first attempt to connect twitter after the creation of a new Tb profile, and after the account provisionner failed (which it does consistently, probably for the same reason)
21:41:53 <-- BYK has quit (Quit: Instantbird 1.2a1pre -- http://www.instantbird.com)
21:42:11 <aleth> Do the same STR work for IB?
21:42:34 <flo> I don't think so
21:44:27 <flo> I suspect a regression from https://bugzilla.mozilla.org/show_bug.cgi?id=734057
21:44:43 <flo> hmm, although ib is on Moz11
21:44:53 <flo> but I'm not think there could be 2 different bugs
21:45:44 <aleth> So, I tried with IB, and the Oauth dialog shows up correctly
21:46:06 <flo> restoring #developers with 1500+ unread messages is terribly slow :(
21:46:26 <flo> we should really load only the 20 last messages, and do the rest only if the user scrolls :(
21:46:34 --> Tomek has joined #instantbird
21:47:05 <aleth> Yes, until then you can't really just keep IB running for days.
21:50:59 <-- jb has quit (Broken pipe)
22:19:25 <flo> so, now I have a plausible explanation for that Twitter OAuth dialog not showing up
22:19:44 <flo> which is a very good news... but doesn't explain any of the other bugs :(
22:20:32 <aleth> That's a shame/excellent/delete as applicable :)
22:33:08 <-- instant-buildbot has quit (Ping timeout)
22:34:38 --> instant-buildbot has joined #instantbird
22:34:38 * ChanServ sets mode +v instant-buildbot 
22:55:16 <-- instant-buildbot has quit (Ping timeout)
22:56:49 --> instant-buildbot has joined #instantbird
22:56:49 * ChanServ sets mode +v instant-buildbot 
23:00:38 <-- instant-buildbot has quit (Ping timeout)
23:00:43 --> instant-buildbot has joined #instantbird
23:00:43 * ChanServ sets mode +v instant-buildbot 
23:19:21 <flo> Good night
23:27:28 <-- Tomek has quit (Quit: Instantbird 1.1)