#instantbird log on 03 23 2013

All times are UTC.

00:00:26 <Mook_as> ooh, so the protocol can actually send -1 for "you typed one more character than allowed"? :D
00:00:37 <clokep> Mook_as: That's the plan!
00:01:11 <Mook_as> and -(2^31) for "you typed a bit over two billion too many characters" :p
00:01:32 <clokep> Mook_as: I was thinking that could be a good "infinity" value.
00:01:51 <flo-retina> did we ever handle disabling "Copy Debug Log" when there's nothing in the log for that account?
00:01:53 <Mook_as> or max signed 32 bit int
00:02:11 <clokep> Yeah, I feel like min is less likely to be used... ;)
00:03:54 <flo-retina> clokep: if you use any value above 200, you won't have anything to do on the UI side, see http://lxr.instantbird.org/instantbird/source/instantbird/content/conversation.xml#797
00:05:07 <clokep> Is there a macro or anything for "max int"?
00:06:29 <Mook_as> http://mxr.mozilla.org/mozilla-central/source/nsprpub/pr/include/prtypes.h#331
00:06:50 <Mook_as> there's also things in limits.h etc
00:07:21 <Mook_as> ( http://mxr.mozilla.org/mozilla-central/source/mfbt/MSStdInt.h#137 via StandardInteger.h)
00:08:13 <clokep> Mook_as: Can I use that in an idl?
00:08:19 <Mook_as> nope!
00:11:32 <-- unghost has quit (Input/output error)
00:15:57 <Mic> Good night
00:16:00 <-- Mic has quit (Quit: No time to waste, let's go!)
00:16:46 <clokep> Does XMPP have a max message length?
00:16:55 <clokep> Mook_as: Thanks for all your help, I think I've got something kind of together now. :)
00:17:39 <Mook_as> yay! glad to help
00:17:47 <Mook_as> now go work on that skype thing :p
00:22:03 <flo-retina> nah, now go review my patch :-P
00:22:18 <Mook_as> instantbot: review my patch
00:22:21 <instantbot> Mook_as: Sorry, I've no idea what 'review my patch' might be.
00:22:22 <instantbot> Mook_as: Your patch looks good. r+sr+ui-r+a=mconnor
00:22:52 <flo-retina> Mook_as: that's outdated :(
00:23:07 <clokep> Mook_as: I'm hoping to get slave labor to do tha.
00:23:09 <flo-retina> I haven't seen mconnor doing sr, ui-r or approvals recently
00:23:09 <Mook_as> yeah. go tell firebot that
00:23:11 <clokep> Uhh...I mean GSoC students.
00:23:24 <Mook_as> clokep: but you repeat yourself. :p
00:24:47 <flo-retina> any idea of how I could cause an account to be disconnected with an error?
00:25:06 <Mook_as> unplug your network? hopefully... :p
00:25:07 <clokep> flo-retina: concrete.mozilla.org will give a cert error. ;)
00:25:15 <clokep> Oh, but you meant connected and then disconnect?
00:25:24 <clokep> Yes, unplug the network cable, or set yourself to offline
00:25:24 <flo-retina> I would like the account to reconnect fine after that
00:25:38 <flo-retina> the use case for my patch is to have a log of the spurious I/O errors
00:25:40 <Mook_as> be *really* fast about plugging the cable back in? :p
00:26:13 <Mook_as> if you want to be fancy, set up a local IRCd and restart it
00:26:40 <flo-retina> Mook_as: no, I don't want that. I just want to have seen my code work at least once before putting it for review ;)
00:26:57 <Mook_as> kick concrete.mozilla.org :p
00:27:19 <flo-retina> Mook_as: hmm, does that work?
00:27:37 <Mook_as> it would be hard to, since you (probably) don't have access to the server!
00:27:43 <flo-retina> hmm, I'm sure there's some junk I can send through /quote to get my irc account disconnected
00:27:49 <Mook_as> oh, I didn't mean /kick
00:28:04 <Mook_as> ah. try to get that Max SendQ Exceeded thing?
00:29:01 <clokep> I don't know of any commands offhand that will instant kick you.
00:29:28 <flo-retina> so I typed "/quote quit"
00:29:31 <Mook_as> I don't know of anything that will kick you with getting you glined :p
00:29:34 <flo-retina> that disconnected the account
00:29:40 <flo-retina> but now it's stuck on "Connecting..."
00:29:52 <Mook_as> s@with@without@
00:30:23 <clokep> Ah, I just remembered a bug in Komodo I keep remembering to report...
00:30:42 <clokep> (If oyu screw up a regexp in the find/replace window the find/replace window gets HUGE because the error doesn't wrap.)
00:30:45 <clokep> I'll file it tomorrow. :)
00:31:00 <flo-retina> clokep: any idea of why I can't reconnect?
00:31:07 <clokep> flo-retina: No.
00:31:12 <clokep> Maybe the server isn't allowing you to?
00:31:18 <clokep> flo-retina: Do you hvae a debug log? ;)
00:32:25 <flo-retina> http://pastebin.instantbird.com/161441
00:33:36 <clokep> flo-retina: No idea, you're not even getting a connection. It's not like it's the IRC code sucking.
00:33:41 <Mook_as> oh, a better way: use a registered nick, but don't sign in with nickserv
00:33:57 <Mook_as> err, and then ghost yourself, I think?
00:34:12 * clokep needs to go.
00:34:17 <clokep> Goodnight!
00:34:18 <flo-retina> clokep: there's onStartRequest in the log, can we have it if we don't get a connected socket?
00:35:03 <Mook_as> I think you get that when you intend to connect? (before the socket opens)
00:35:42 <flo-retina> my patch works :)
00:35:58 * flo-retina wonders if we have a bug on file for that
00:38:01 <flo-retina> Mook_as: I retried with SSL and port 6697 and that worked with /quote quit
00:38:13 <flo-retina> Mook_as: I'll assume it's just moznet that's flacky over non-SSL
00:39:39 <Mook_as> confirm it with freenode? :)
00:40:29 <flo-retina> clokep: shouldn't there be a |return;| at http://lxr.instantbird.org/instantbird/source/chat/protocols/irc/irc.js#1320 ?
00:40:45 <flo-retina> (feel free to look at that later if you really need to go :))
00:47:35 <instantbot> New Core - Debug bug 1906 filed by florian@instantbird.org.
00:47:36 <instantbot> florian@instantbird.org requested review from clokep@gmail.com for attachment 2297 on bug 1906.
00:47:37 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1906 nor, --, ---, florian, NEW, Keep the 50 debug log messages just before a disconnection with an error, even after the account is 
00:49:19 <flo-retina> Good night
00:51:24 <instant-buildbot> build #388 of linux-onCommit is complete: Success [build successful]  Build details are at http://buildbot.instantbird.org/builders/linux-onCommit/builds/388
01:12:56 <-- rohandalvi has quit (Connection reset by peer)
01:13:11 --> rohandalvi has joined #instantbird
01:14:11 <-- Mook_as has quit (Quit: Mook_as)
01:35:44 <-- clokep has quit (Ping timeout)
01:45:34 <instant-buildbot> build #374 of win32-onCommit is complete: Success [build successful]  Build details are at http://buildbot.instantbird.org/builders/win32-onCommit/builds/374
02:50:48 --> mconley has joined #instantbird
02:54:20 --> Mook has joined #instantbird
03:17:54 <-- rohandalvi has quit (Connection reset by peer)
03:18:07 --> rohandalvi has joined #instantbird
03:52:33 <instant-buildbot> build #818 of linux-nightly-default is complete: Success [build successful]  Build details are at http://buildbot.instantbird.org/builders/linux-nightly-default/builds/818
03:54:09 --> clokep has joined #instantbird
03:54:09 * ChanServ sets mode +o clokep 
04:04:37 <-- rohandalvi has quit (Ping timeout)
04:04:38 --> rohandalvi has joined #instantbird
04:13:57 <-- clokep has quit (Quit: Instantbird 1.4a1pre -- http://www.instantbird.com)
04:15:57 <-- mconley has quit (Input/output error)
04:32:48 <-- rohandalvi has quit (Ping timeout)
04:32:50 --> rohandalvi has joined #instantbird
04:44:50 <instant-buildbot> build #814 of macosx-nightly-default is complete: Success [build successful]  Build details are at http://buildbot.instantbird.org/builders/macosx-nightly-default/builds/814
04:49:09 <-- rohandalvi has quit (Client exited)
05:15:13 <-- Mook has quit (Quit: Mook)
05:32:06 --> FireFly_TB has joined #instantbird
05:50:43 <-- Optimizer has quit (Ping timeout)
06:02:29 --> Optimizer has joined #instantbird
06:07:00 <instant-buildbot> build #910 of win32-nightly-default is complete: Success [build successful]  Build details are at http://buildbot.instantbird.org/builders/win32-nightly-default/builds/910
07:13:39 <-- FireFly_TB has quit (Quit: FireFly_TB)
07:21:18 <-- skeledrew has quit (Ping timeout)
07:37:34 --> FireFly_TB has joined #instantbird
07:40:10 <-- FireFly_TB has quit (Ping timeout)
08:25:58 <-- Optimizer has quit (Ping timeout)
08:29:09 --> Optimizer has joined #instantbird
09:08:46 --> FireFly_TB has joined #instantbird
09:10:26 <-- FireFly_TB has quit (Ping timeout)
09:22:46 --> mpmc has joined #instantbird
09:42:35 --> FireFly_TB has joined #instantbird
10:05:56 --> Mic has joined #instantbird
10:05:56 * ChanServ sets mode +h Mic 
10:15:49 <-- FireFly_TB has quit (Ping timeout)
10:27:14 --> FireFly_TB has joined #instantbird
10:30:34 --> rosonline has joined #instantbird
11:12:47 --> Mic|TB has joined #instantbird
11:14:12 <-- Mic|TB has quit (Quit: Mic|TB)
11:15:10 --> Mic|TB has joined #instantbird
11:24:07 <-- Mic|TB has quit (Quit: Mic|TB)
11:24:54 <Mic> The Thunderbird "New message" counter looks terrible: http://i.imgur.com/dg8uQm3.png :(
11:26:56 <flo-retina> Mic: you may want to attach that screenshot to bug 846551
11:27:05 <flo-retina> I thought it was horrible only on Mac :(
11:31:20 <Mic> Done.
11:44:51 --> meh has joined #instantbird
11:46:14 <-- rosonline has quit (Quit: Instantbird 1.3 -- http://www.instantbird.com)
11:52:19 --> YH has joined #instantbird
12:00:27 --> clokep has joined #instantbird
12:00:27 * ChanServ sets mode +o clokep 
12:25:06 --> gerard-majax_ has joined #instantbird
12:30:27 <clokep> Mic: http://pastebin.instantbird.com/161764
12:36:35 --> aleth has joined #instantbird
12:36:36 * ChanServ sets mode +h aleth 
12:41:22 <-- FireFly_TB has quit (Input/output error)
12:41:51 <aleth> It looks like there was a bug in my CTCP patch :(
12:42:21 <clokep> ?
12:43:24 <aleth> I receiving ERRMSG from myself
12:43:42 * aleth confused
12:45:00 <aleth> Possibly sending to the wrong target
12:45:22 <clokep> :-/
12:45:26 <clokep> Yeah.
12:45:29 <clokep> Get a debug log?
12:45:45 <aleth> I am frustrated by the debug log only containing 50 messages
12:45:48 <aleth> Not enough context.
12:46:16 <clokep> aleth: try it now.
12:46:55 <aleth> clokep: Thanks
12:47:27 <aleth> Right, it's a bug.
12:47:37 <aleth> Not spotted during my testing as there the target was a MUC.
12:47:51 <clokep> :-/
12:47:57 <clokep> Nor during my review.
12:48:06 <clokep> Put up a new patch w/ r? me!
12:48:56 --> jb has joined #instantbird
12:52:49 <aleth> Mic: I've been using Input Placeholder with the string "  %S". The leading spaces make it not overlap with the cursor. I find it distracting unless I patch it so that it also shows up for MUCs.
12:53:38 <aleth> I've also run into something like what clokep described, but as it was "automatic" I'm not sure why I did what I did either.
12:54:03 <aleth> Obviously "  %S" would not make much sense for newbies...
12:57:13 --> mconley has joined #instantbird
12:57:14 <-- mconley has quit (Input/output error)
13:02:09 <clokep> aleth: You know Mic released a version that includes MUCs, right?
13:02:31 <aleth> clokep: I didn't know... pesky non-updating experimental add-ons
13:02:50 <aleth> Really experimental add-ons are where you most need updates :P
13:06:27 <-- meh has quit (Connection reset by peer)
13:08:38 <clokep> aleth: Yeah, read the logs.
13:10:27 <-- clokep has quit (Ping timeout)
13:12:08 --> meh has joined #instantbird
13:16:37 <Mic> The add-on isn't really for newbies. It's for us to figure out whether we want it or not and if yes, which string we would like to have.
13:17:12 <Mic> Thanks for pasting the error, clokep. That's OK, it only occurs if there's no user-set string. It falls back to what you see by default.
13:17:30 <Mic> I should have removed the reportError call before packaging it.
13:20:44 <Mic> I've hidden the conversation window status bar for a while now and I'm close to moving the "remaining characters"-counter to a panel ;)
13:21:18 <-- jb has quit (Ping timeout)
13:21:24 <aleth> Mic: Oh, are you implementing the FF show-URL-on-hover panel?
13:21:29 <aleth> :)
13:22:08 <Mic> I was rather interested in the length indicator for Twitter but the FF panels would be nice too.
13:22:33 <aleth> That code might be useful for both...
13:22:44 --> jb has joined #instantbird
13:25:08 <-- jb has quit (Ping timeout)
13:35:36 --> mconley has joined #instantbird
13:43:18 <-- mconley has quit (Ping timeout)
13:43:52 --> mconley has joined #instantbird
13:52:20 <flo-retina> aleth: the patch I attached yesterday to bug 1906 may simplify fixing bug 1842
13:52:23 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1906 nor, --, ---, florian, NEW, Keep the 50 debug log messages just before a disconnection with an error, even after the account is 
13:52:24 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1842 nor, --, ---, nobody, NEW, Add pref to set length of debug log.
14:10:34 --> FireFly_TB has joined #instantbird
14:11:01 <-- Even has quit (Quit: Instantbird 1.4a1pre -- http://www.instantbird.com)
14:11:13 --> Even has joined #instantbird
14:11:13 * ChanServ sets mode +o Even 
14:12:24 <-- FireFly_TB has quit (Ping timeout)
14:22:28 <-- mconley has quit (Input/output error)
14:56:25 <instantbot> aleth@instantbird.org requested review from clokep@gmail.com for attachment 2298 on bug 1902.
14:56:27 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1902 maj, --, ---, aleth, RESO FIXED, Change behaviour around unhandled CTCP messages
15:02:11 <-- mpmc has quit (Connection reset by peer)
15:03:26 <-- YH has quit (Ping timeout)
15:03:46 --> YH has joined #instantbird
15:13:31 <-- aleth has quit (Ping timeout)
15:22:13 --> aleth has joined #instantbird
15:22:14 * ChanServ sets mode +h aleth 
15:28:51 --> leandro has joined #instantbird
15:29:31 <leandro> hi! im doing a smileys set and i get this error → Fecha y hora: 23/03/13 13:31:48 Error: [Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIIOService2.newChannel]"  nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)"  location: "JS frame :: resource:///modules/imSmileys.jsm :: getTheme :: line 81"  data: no] Archivo de origen: resource:///modules/imSmileys.jsm Línea: 93
15:29:55 <Mic> hi
15:30:07 <leandro> i think is this line → let channel = Services.io.newChannel(theme.baseUri + kThemeFile, null, null); but my skin/theme.js does exist :-(
15:30:27 <Mic> I'm busy at th moment but I could look at it in maybe five to ten minutes
15:30:38 <leandro> no problem, sir
15:36:25 <flo-retina> leandro: are you sure it's correctly registered?
15:36:44 <flo-retina> You could pastebin the content of your chrome.manifest file so that we can check with you
15:38:14 <leandro> 1 min please flo-retina 
15:39:08 <leandro> here it is http://paste.fedoraproject.org/5870/40531331
15:39:12 <-- chrisccoulson has quit (Ping timeout)
15:39:43 <aleth> leandro: "my theme.js does not exist" - have you seen this page https://wiki.instantbird.org/Instantbird:Creating_a_smiley_theme ?
15:41:24 <flo-retina> try changing emoticons-smileol@wwww.elotrolado.net with just smileol in the chrome.manifest file
15:41:39 <flo-retina> and/or (re)read the wiki page that aleth gave you a link to :)
15:42:53 <leandro> i have seen that page
15:43:21 <leandro> Important: Please note that for your theme to work, shortthemename in the chrome.manifest and install.rdf files should be identical. The id of your theme has to start with emoticons-. 
15:43:55 <leandro> i'm confused
15:44:11 <Mic> Shortthemename is the part of the string between "emoticons-" and "@hostname.domain.tld".
15:44:51 <leandro> ah, i didnt get that :-/
15:45:11 <leandro> ok, lets try
15:45:55 --> chrisccoulson has joined #instantbird
15:47:04 <leandro> so the matching part in rdf file is the em:name, isnt it?
15:47:45 <Mic> em:name is the name that will be displayed to users.
15:49:21 <leandro> yuhuuuuuuu! :-)
15:49:32 <leandro> i was fighting with this from this morning
15:49:42 <leandro> :-D
15:50:16 <Mic> Congratulations :)
15:50:52 <-- chrisccoulson has quit (Ping timeout)
15:51:41 <Mic> You can upload to share it with others on http://addons.instantbird.org
15:52:07 <leandro> i will, but i have another problem now with this
15:53:51 <Mic> Just go ahead and ask...
15:53:53 <flo-retina> aleth: iirc there used to be a way with AIM to display characters immediately instead of when the user actually sends the message
15:54:03 <flo-retina> aleth: so things would appear a bit like for an etherpad
15:54:13 <flo-retina> aleth: and the prpl would need all the keystrokes
15:55:30 <flo-retina> aleth: also, see the bug that clokep was working on yesterday about not counting URLs in twitter's character count. The twitter prpl needs the whole string to return the remaining character count
15:55:59 <aleth> flo-retina: So you are saying in the near future we might change sendTyping to do more complicated things ;)
15:56:34 <flo-retina> aleth: near future like, yesterday ;)
15:56:41 <aleth> Interesting about AIM, I wonder if libpurple supports that at all
15:56:55 <flo-retina> aleth: I don't remember seeing that feature recently
15:57:21 <flo-retina> aleth: I think it was possible to turn it on only after establishing a direct P2P connection (which also allowed including images in the conversation)
15:57:53 <flo-retina> so that probably disappeared when people started having NATs everywhere.
15:58:20 <leandro> Mic: i miswritten the text to parse in theme.js so i see icons everywhere :-) no problem, i know how to fix it
15:58:55 <aleth> flo-retina: For twitter you would change the argument to sendTyping, but that's different from calling it on every keypress.
15:59:26 <flo-retina> aleth: well, we need to call it each time we want to update the remaining char counter
15:59:53 <aleth> flo-retina: Yes, my question in the context of that bug was how frequently we want to do just that.
16:00:32 --> FireFly_TB has joined #instantbird
16:00:36 <aleth> "1s" was a bad example value, 100ms or so may be more like what I was thinking.
16:01:30 <aleth> But I didn't want to bikeshed, if the current # of executeSoons is fine, it doesn't really matter.
16:01:47 <Mic> Wouldn't that most likely be one for every keystroke?
16:02:05 <Mic> 600 characters / minute seems like pretty fast typing ;)
16:02:18 <flo-retina> aleth: so what's your concern?
16:02:27 <flo-retina> aleth: is it about performance?
16:02:36 <flo-retina> about possible race conditions?
16:02:50 <aleth> Mic: true...
16:03:55 <aleth> flo-retina: My concern was about these calls "piling up" on slow machines
16:04:45 <flo-retina> aleth: so in that case you want an execute soon call
16:05:04 <aleth> flo-retina: Yes, that's what's there in the patch.
16:05:06 <leandro> Fecha y hora: 23/03/13 17:04:53 Error: TypeError: next.textCodes is undefined Archivo de origen: chrome://instantbird/content/preferences/smileys.js Línea: 36
16:05:31 <flo-retina> aleth: I'm increasingly confused about what we are discussing, so maybe I need to go read the patch again
16:06:24 <leandro> Mic: my theme.js is like «{"filename": "S05.png]", "[textCodes": ["[troll]"]},» is "[" accepted?
16:06:28 <flo-retina> leandro: can you pastebin you json file?
16:06:55 <flo-retina> *your
16:07:01 <flo-retina> well, theme.js
16:07:12 <flo-retina> or make it go through http://jsonlint.com/
16:07:18 <leandro> yes, is because the []
16:07:25 <leandro> jsonlint says good
16:07:28 <flo-retina> although I supposed if it went that far, it's parsable :-S
16:08:21 <leandro> flo-retina: http://paste.fedoraproject.org/5872/54886136
16:08:29 <aleth> leandro: you seem to have too many [ and ] ?
16:08:51 <leandro> the text to parse must be into []
16:09:04 <leandro> otherwise, i see icons everywhere :-)
16:09:09 <aleth> Do you really have files called C20.png] ?
16:09:15 <flo-retina> aleth: are you saying that conversation.xml should have a boolean field keeping track of whether there's already a pending executeSoon call, to avoid piling up more?
16:09:47 <aleth> leandro: Also [textCodes seems wrong, looking at the example here https://wiki.instantbird.org/Instantbird:Creating_a_smiley_theme
16:09:51 <leandro> aleth i see
16:09:55 <leandro> yes, yes
16:10:00 <leandro> youre right
16:10:05 <leandro> my fault
16:11:57 <aleth> flo-retina: Something like that. You'd have to replace the pending call though
16:12:26 <-- YH has quit (Quit: Instantbird 1.3 -- http://www.instantbird.com)
16:13:07 <Mic> aleth: what do you mean with pending?
16:13:22 <Mic> -pending +repleace the pending call?
16:13:38 <Mic> Once it runs, it will fetch the content of the input box and call sendTyping.
16:14:08 --> mpmc has joined #instantbird
16:15:51 <aleth> Mic: Oh you're right.
16:16:01 <aleth> That makes it easier.
16:16:39 <Mic> If the computer was slow and the typer fast, maybe a few characters were added before executeSoon came into action.
16:17:32 <aleth> Right.
16:17:35 <Mic> The first one would report e.g. a text length that increased by several characters, which would make the sendTyping implementation of the conversation send the "user is typing" notification.
16:17:57 <leandro> now is fully working, thx Mic & aleth
16:18:28 <aleth> Great, so we could potentially save us some unneccessary calls to that function.
16:18:39 <Mic> The following ones would report the same text length (if no new characters were added in the meantime), which would mean that sendTyping of the conversation might not send anything (because the text length didn't change between first and second executeSoon call).
16:18:42 <leandro> how must i upload it to the instantbird web?
16:19:24 <aleth> Mic: So the question is "is it worth it trying to avoid some unneccessary executeSoons"
16:19:35 <aleth> leandro: Glad it's working :)
16:19:57 <aleth> leandro: Go to the addon site and make yourself an account ;)
16:20:20 <flo-retina> aleth: the computation may become more expensive, it won't be just checking if the length changed any more
16:20:46 <leandro> thx aleth
16:21:47 <aleth> flo-retina: Yes, just to get the length is going to be more expensive for twitter...
16:22:35 <aleth> So it seems a good idea to add that boolean.
16:28:55 <Mic> hmm, in or for which case is it a good idea?
16:30:27 <aleth> The idea is you save yourself the additional calls to that function which only detect that nothing has changed.
16:30:29 <Mic> Shouldn't Twitter's implementation of sendTyping check if the new string matches the last one and not re-do the length computation if nothing had changed?
16:31:54 <Mic> Ah, I see.
16:32:43 <Mic> You're only concerned about the executeSoon-called function then..
16:33:33 <aleth> Well, in the process it automatically avoids calling anything else from there too, and some executeSoons.
16:33:39 <Mic> Do you want a new patch right away or do you have other comments?
16:36:39 <aleth> It looks good to me otherwise, though I haven't tested it :)
16:38:50 <aleth> Mic: Oh, I did have one question: Do we get an input event when the textbox is reset after the message is sent?
16:51:12 <aleth> Mic: Thanks for spotting that Mathjax regression! It's proving a pain to find the cause though...
16:55:35 --> jb has joined #instantbird
16:58:03 <-- jb has quit (Connection reset by peer)
16:58:10 --> jb has joined #instantbird
17:02:29 <-- aleth has quit (Quit: Ciao)
17:02:49 <-- jb has quit (Ping timeout)
17:07:33 <Mic> aleth: I haven't observed unexpected behavior when a message was sent if that helps to answer your question. I haven't actually dumped events to the console, though.
17:08:24 --> unghost has joined #instantbird
17:08:48 --> jb has joined #instantbird
17:10:08 <-- jb has quit (Connection reset by peer)
17:10:16 --> jb has joined #instantbird
17:11:51 <-- FireFly_TB has quit (Input/output error)
17:12:30 --> mconley has joined #instantbird
17:18:25 <-- jb has quit (Connection reset by peer)
17:18:29 --> jb has joined #instantbird
17:19:48 --> rosonline has joined #instantbird
17:21:26 <-- jb has quit (Connection reset by peer)
17:21:34 --> jb has joined #instantbird
17:23:05 <leandro> i suppose its very boring aswer always the same question, but will be avatars in roster soon?
17:24:43 <-- jb has quit (Ping timeout)
17:28:31 <Mic> leandro: don't worry about asking questions, we're quite helpful and patient normally ;)
17:29:00 <Mic> I understand your question as "will there be user icons for contacts in the contact list soon"?
17:29:22 <leandro> yes, that was that i meant
17:29:23 <Mic> The answer is most likely no, then. Nobody's working on this currently.
17:29:46 <leandro> but seems quite easy, its already in the info popup when mouseover
17:29:56 <leandro> its a design question?
17:31:10 <Mic> https://bugzilla.instantbird.org/show_bug.cgi?id=1641#c6
17:31:13 <instantbot> Bug 1641 enh, --, ---, nobody, NEW, Contact list avatars
17:31:23 --> jb has joined #instantbird
17:32:15 <Mic> Bug 1641
17:32:50 <Mic> Ah, I didn't know this feature, instantbot ;)
17:32:58 <Mic> instantbot: botsnack
17:32:59 * instantbot smiles
17:34:35 <-- jb has quit (Ping timeout)
17:35:11 <leandro> what a pity there is no one interested, seems not difficult :-/
17:35:25 <-- mpmc has quit (Connection reset by peer)
17:36:14 --> jb has joined #instantbird
17:37:07 <flo-retina> leandro: if it doesn't seem difficult, maybe you can try?
17:37:51 <leandro> it will be included if i do it?
17:38:35 <leandro> i can do it anyway only for me, i suppose
17:39:31 <flo-retina> you can start by doing it as an add-on
17:39:53 <flo-retina> I don't think it would be included as the default behavior
17:40:07 <leandro> yes, thats seems to be the way to do it, a plugin
17:40:08 <flo-retina> but I would like to have a way to do it for some tags
17:40:28 <flo-retina> with an item in the context menu of the tag
17:40:35 <flo-retina> so I think that could be included by default
17:40:37 <leandro> because of that i just questioned if it is a design principle
17:40:42 <-- jb has quit (Ping timeout)
17:41:33 <flo-retina> leandro: is my answer clear enough?
17:42:01 <leandro> yes, sir
17:42:03 <flo-retina> leandro: I suggested starting as an add-on because I think it's easier to have an add-on that just does it without configuration option, rather than having to deal with a way to select it for each tag.
17:42:05 <flo-retina> :)
17:42:55 <leandro> ok. i have some free time next week, i will try it
17:43:11 <flo-retina> cool :)
17:44:44 --> jb has joined #instantbird
17:45:02 <flo-retina> do we have all the new os file stuff already in moz19?
17:46:06 <flo-retina> would be too easy if https://developer.mozilla.org/en-US/docs/JavaScript_OS.File said when it was added :(
17:46:19 <-- jb has quit (Connection reset by peer)
17:47:27 <flo-retina> https://developer.mozilla.org/en-US/docs/JavaScript_OS.File/OS.File_for_workers contains "This example requires Firefox 19 or a more recent version" in a few places, so 19 should be good :)
17:48:15 --> jb has joined #instantbird
17:48:25 --> jb1 has joined #instantbird
17:49:28 <-- jb1 has quit (Write error: Connection reset by peer)
17:50:38 <leandro> where is the upload section in addons site?
17:50:53 <-- jb has quit (Ping timeout)
17:51:16 <Mic> You have an account already?
17:51:28 <leandro> yep
17:51:47 <leandro> oh
17:51:48 <instantbot> clokep@gmail.com granted review for attachment 2298 on bug 1902.
17:51:50 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1902 maj, --, ---, aleth, RESO FIXED, Change behaviour around unhandled CTCP messages
17:51:54 <leandro> developer tools :-)
17:51:55 <Mic> Log in then and go to "Developer tools"
17:53:13 <leandro> thanks Mic
17:59:53 --> jb has joined #instantbird
18:00:31 --> jb1 has joined #instantbird
18:01:41 <-- jb1 has quit (Write error: Connection reset by peer)
18:01:55 --> jb1 has joined #instantbird
18:02:44 <-- jb has quit (Ping timeout)
18:03:55 <-- Optimizer has quit (Ping timeout)
18:07:13 --> Optimizer has joined #instantbird
18:07:18 --> jb has joined #instantbird
18:08:42 <-- jb1 has quit (Ping timeout)
18:14:15 <-- gerard-majax_ has quit (Quit: Ex-Chat)
18:14:20 --> gerard-majax has joined #instantbird
18:17:05 --> gerard-majax_ has joined #instantbird
18:17:25 <-- gerard-majax has quit (Quit: Ex-Chat)
18:23:24 <-- jb has quit (Ping timeout)
18:25:33 --> FireFly_TB has joined #instantbird
18:41:29 --> jb has joined #instantbird
18:41:30 <-- jb has quit (Excess Flood)
18:41:34 --> jb has joined #instantbird
18:48:12 <-- leandro has quit (Quit: CGI:IRC)
19:06:44 <Mic> There are lots of places where Cc/Ci/Cr/Cu are already defined (or at least some of them) but not consistently used :(
19:07:01 <Mic> http://pastebin.instantbird.com/161938
19:07:27 <Mic> And that's only the files where we used the "var/const {..} = Components;" pattern.
19:16:13 <-- Mic has quit (Quit: No time to waste, let's go!)
19:17:54 <-- FireFly_TB has quit (Input/output error)
19:41:34 <flo-retina> is const nsIPromptService = Ci.nsIPromptService; really useful?
19:41:48 <flo-retina> adding Ci. in the few places where it's used is only 3 additional characters
19:44:39 --> beelze has joined #instantbird
19:46:13 <-- rosonline has quit (Client exited)
19:46:55 <beelze> Hello. I need some help about building Instantbird
19:51:53 <beelze> Currently I'm writing an ebuild for Gentoo Linux and I stopped searching the way to conditionally disable avahi dependency
20:21:52 <-- mconley has quit (Ping timeout)
20:24:12 --> mconley has joined #instantbird
20:28:53 --> Mic has joined #instantbird
20:28:54 * ChanServ sets mode +h Mic 
20:29:11 <Mic> flo-retina: true
20:30:06 <Mic> The patch was mostly a rather dumb search and replace.
20:38:10 --> FireFly_TB has joined #instantbird
20:38:41 <Mic> beelze: you'll most likely have to stay here for a while, sooner or later someone will try to help.
20:38:54 <Mic> I've no experience with Linux, so sorry, I can't help you.
20:40:59 <Mic> hmm, maybe I'll try anyways ;)
20:41:15 <Mic> avahi is used by Bonjour if I recall correctly.
20:41:38 <Mic> Would you like to build without Bonjour then to get rid of this dependency?
20:45:20 <-- FireFly_TB has quit (Quit: FireFly_TB)
20:45:25 <Mic> If that's indeed the case I'd try adding --disable-bonjour as option in mozconfig.
21:14:54 <-- Mic has quit (Quit: No time to waste, let's go!)
21:15:29 --> Mic has joined #instantbird
21:15:29 * ChanServ sets mode +h Mic 
21:16:24 <-- meh has quit (Quit: Lost terminal)
21:17:15 <flo-retina> Mic: if avahi is missing, configure is supposed to fail with "Could not find avahi-client or avahi-glib. To build without Bonjour, reconfigure with --disable-bonjour" as the message
21:17:24 <flo-retina> beelze: was that message displayed?
21:32:46 <beelze> Yes, I'm here now
21:38:43 <-- mconley has quit (Input/output error)
21:40:49 <beelze> maybe I should explain — ebuild system utilizes some eclasses (e.g. mozconfig), which provides some common mozilla dependencies, CFLAGS and others
21:42:29 <beelze> I can use some eclass functions for configure IB (mostly they writing lines into .mozconfig
21:43:02 <beelze> but seems that --disable-bonjour can't be used this way
21:43:35 <flo-retina> I'll probably need to talk to whoever wrote or maintains the ebuilds for Firefox and Thunderbird if you need help with that system
21:43:56 <flo-retina> I'm afraid nobody here has any gentoo specific knowledge
21:44:44 <beelze> maybe I do not need specific gentoo stuff? 
21:44:49 <flo-retina> (I used to have ubuntu on my laptop, but that was 7 years ago...)
21:45:09 <beelze> How can I use --disable-bonjour with, for instance, manual building?
21:45:47 <flo-retina> a mozconfig looks like this: http://lxr.instantbird.org/instantbird/source/tools/buildbot-configs/linux/mozconfig#6
21:46:11 <flo-retina> you'll need to add an ac_add_options --disable-bonjour line
21:46:55 <beelze> well, just add «ac_add_options --disable-bonjour» to mozconfig?
21:47:14 <flo-retina> yes
21:47:48 <beelze> great, I'll try this :)
21:49:43 <beelze> can I ask another question?
21:51:29 <flo-retina> sure. (but this was already another question :-P)
21:52:59 <beelze> Is there any limit? :D
21:52:59 <beelze> About libpurple — which dependencies must be met for --enable-purple-plugins?
21:56:42 --> FireFly_TB has joined #instantbird
21:58:32 <flo-retina> --enable-purple-plugins doesn't exist any more
21:58:44 <flo-retina> or if it does, it doesn't work
21:59:58 <flo-retina> apparently we haven't removed it yet
22:00:30 <beelze> *root* configure.in defines purple plugins. So, it must be ignored?
22:00:59 <flo-retina> that option was experimental, and never worked correctly
22:02:02 <-- FireFly_TB has quit (Quit: FireFly_TB)
22:02:25 <beelze> in my opinion, _libpurple_ never worked fully correctly :)
22:03:45 <flo-retina> that's a different story :)
22:04:21 <beelze> well, with your brilliant help there is some hope to finish ebuild, and, who knows, put it in official gentoo tree :)
22:05:35 <beelze> but definitely before this will be some other questions ;)
22:05:59 <flo-retina> feel free to ask as many as you want :)
22:14:11 --> mconley has joined #instantbird
22:19:33 <beelze> trying to build, but something goes wrong:
22:19:33 <beelze> Building instantbird-1.3 with the following configuration
22:19:33 <beelze> …
22:19:33 <beelze>     --disable-necko-wifi            -wifi
22:19:33 <beelze> …
22:19:33 <beelze> configure: error: Can't find header iwlib.h for Necko WiFi scanning (might be in package libiw-dev (Ubuntu) or wireless-tools-devel (Fedora) or libiw-devel (openSUSE)); use --disable-necko-wifi to disable
22:24:30 <flo-retina> what's that "            -wifi" ?
22:25:19 <beelze> seems that is simply comment after ac_add_options
22:26:47 <beelze> by the way, .mozconfig file must locate in *root* or mozilla directory? 
22:28:57 <flo-retina> the directory with the instantbird source code
22:30:31 <beelze> ok, near mozconfig, right?
22:30:59 --> rosonline has joined #instantbird
22:31:29 <-- unghost has quit (Ping timeout)
22:32:34 <flo-retina> you shouldn't have both a .mozconfig and a mozconfig file
22:37:12 <beelze> seems that eclasses authors used https://developer.mozilla.org/en-US/docs/Configuring_Build_Options as guide
22:38:24 <-- Optimizer has quit (Ping timeout)
22:39:02 <beelze> as a result, all configuration options goes to .mozconfig. Is it safe and proper move content of .mozconfig to the end of mozconfig?
22:39:45 <flo-retina> beelze: I just checked the code, if you have .mozconfig file, mozconfig will be ignored
22:39:50 <flo-retina> beelze: so it seems fine :)
22:40:30 <beelze> but when I have both of them I got:
22:40:30 <beelze> make -j5 -f client.mk build 
22:40:30 <beelze> client.mk:111: *** Fix above errors before continuing..  Stop.
22:42:07 --> Optimizer has joined #instantbird
22:42:27 <flo-retina> if there was an objdir created by a previous fail run of configure, you should try deleting it
22:44:13 <beelze> every time work directory was emptied and sources unpacked
22:46:39 <beelze> if I remove .mozconfig — build process runs without errors
22:47:13 --> unghost has joined #instantbird
22:47:50 <instantbot> New Instantbird (UI) bug 1907 filed by ornthalas@gmail.com.
22:47:52 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1907 maj, --, ---, nobody, UNCO, Text selection out of focus when toggling the window's
22:48:20 <instantbot> New Instantbird (UI) bug 1908 filed by ornthalas@gmail.com.
22:48:22 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1908 maj, --, ---, nobody, UNCO, Selected text color issue
22:50:45 <-- Mic has quit (Ping timeout)
22:52:05 <beelze> …seems that having mozconfig and .mozconfig together is not so fine? :)
22:54:22 --> Mic has joined #instantbird
22:54:22 * ChanServ sets mode +h Mic 
22:58:46 <flo-retina> beelze: are the .mozconfig and mozconfig files identical?
23:02:12 <beelze> no, mozconfig from source but .mozconfig was created by mzsconfig eclasses.
23:02:12 <beelze> I tried:
23:02:12 <beelze>     cat .mozconfig >> mozconfig
23:02:12 <beelze>     rm .mozconfig
23:02:12 <beelze>  seems that helps
23:03:45 <beelze> At least avahi and necko-wifi problems gone
23:16:27 <-- mconley has quit (Input/output error)
23:17:47 <-- Mic has quit (Ping timeout)
23:18:07 <beelze> after ~10 minutes of compiling I got error: http://pastebin.com/VnSBXj4B
23:19:18 --> Mic has joined #instantbird
23:19:18 * ChanServ sets mode +h Mic 
23:25:02 <flo-retina> beelze: the error was before that
23:33:49 <beelze> flo-retina: can I email complete build.log + environment?
23:34:06 <flo-retina> you can start by a longer pastebin ;)
23:34:34 <flo-retina> (I'll go to bed soon, so don't wait if you expect help from me tonight)
23:36:25 <beelze> 4.7M is too much for pastebin :)
23:38:26 <flo-retina> you just need to show the end of the log
23:38:31 <flo-retina> but enough to have the error included
23:38:55 <flo-retina> you were building with -j5 so 5 files were being built at once, which means that when one failed to build, 4 others needed to finish before the build could stop
23:39:52 <beelze> hope that will be enough: http://pastebin.com/5ZhDfrT4
23:42:01 <beelze> I do not see any errors except «make[6]: *** [gfxPlatform.o] Error 1»
23:44:16 <flo-retina> beelze: line 46 of your pastebin, /var/tmp/portage/net-im/instantbird-1.3/work/instantbird-1.3-src/mozilla/gfx/thebes/gfxPlatform.cpp:601:53: error: ‘cairo_null_surface_create’ was not declared in this scope
23:46:02 <beelze> any suggestions?
23:48:03 <beelze> well, may be too late for this today. may be postpone to tomorrow?
23:48:19 <flo-retina> figuring out how come cairo doesn't work fine / isn't there on your gentoo
23:53:51 <beelze> all cairo-dependent packages was built without errors…
23:55:58 <beelze> https://bugzilla.mozilla.org/show_bug.cgi?id=722975
23:55:59 <flo-retina> seems to be a problem with with --enable-system-cairo
23:57:41 <flo-retina> Good evening/night
23:57:56 <beelze> see you later
23:58:19 <-- beelze has left #instantbird ()