#instantbird log on 12 06 2011

All times are UTC.

00:04:57 <flo> Good night
00:05:00 <-- flo has quit (Quit: Instantbird 1.2a1pre)
00:08:03 --> Even2 has joined #instantbird
00:08:06 <-- Even has quit (Ping timeout)
00:15:05 <aleth> clokep: Just checked: via twitter.com there are two separate options for followers: "Report for spam" and "Block"
00:21:03 <clokep> Ah, I see.
00:21:16 <clokep> Are they just links or is htere an API?
00:21:38 <aleth> I don't know - this is in their web interface
00:23:09 <aleth> Looks like it https://dev.twitter.com/docs/api#block
00:24:19 <clokep> Ah OK. :) File a bug?
00:28:35 <instantbot> New purplexpcom - Twitter bug 1194 filed by aletheia2@fastmail.fm.
00:28:39 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1194 nor, --, ---, nobody, NEW, Twitter: Add "block" and "report spam" actions
00:32:15 <clokep> Thanks! :)
00:32:25 <clokep> That might be blocked on us supporting blocking people in general.
00:33:23 <clokep> Mook_as: Do you have any ideas how I can l10nize this string? "nickname [<i>source</i>] entered the room."
00:34:11 <Mook_as> "%1$S [<i>%2$S</i>] entered the room." ?
00:34:13 <aleth> Then you'd also have to somehow have twitter _followers_ listed as buddies. Not necessarily a good idea
00:34:32 <clokep> Mook_as: I don't really want the formatting to be up to the translators though, or is that standard practice to do that?
00:34:34 <Mook_as> (and if you don't have source, you use "%1$S entered the room" instead)
00:34:48 <clokep> Right...
00:35:04 <Mook_as> clokep: it usually is up to the translators, I think, and you assume they're competent?
00:35:04 <clokep> Oh I'm dumb. :)
00:35:21 <clokep> I can just input <i>source</i> as the second string, no?
00:36:24 <Mook_as> I might want 「<i>source</i>」 though?
00:36:47 <clokep> Thta's fine. I'm just not letting them choose that source is in italics?
00:37:02 <Mook_as> ah. I guess if you want that...
00:37:35 <Mook_as> I'm assuming source is always latin strings?
00:37:51 <Mook_as> (so no worries about, for example, if some charset is unreadable in italics)
00:41:15 <clokep> Yes, it should be.
00:41:21 <clokep> It's the server URI essentially.
00:41:35 <clokep> I'm just going to put in the tags for now and let flo tell me what he thinks is correct.
00:41:46 <Mook_as> okay, then forcing %2$S to <i>source</i> should work
00:41:59 <Mook_as> I still am not sure it smells right, but it should work :p
00:42:40 <clokep> :)
00:46:54 --> XaviorPenguin has joined #instantbird
00:50:10 <clokep> In the future, osmeone please remind me to do l10n while making protocols.
00:50:21 <-- XaviorPenguin has left #instantbird ()
01:03:33 <-- aleth has quit (Input/output error)
01:22:52 --> Kagami has joined #instantbird
01:23:07 <-- douglaswth has quit (sand.mozilla.org concrete.mozilla.org)
01:23:07 <-- gmoro_ has quit (sand.mozilla.org concrete.mozilla.org)
01:23:07 <-- micahg has quit (sand.mozilla.org concrete.mozilla.org)
01:23:07 <-- Suiseiseki has quit (sand.mozilla.org concrete.mozilla.org)
01:24:31 --> douglaswth has joined #instantbird
01:27:07 <-- skeledrew has quit (Ping timeout)
01:27:33 --> skeledrew has joined #instantbird
01:32:24 --> gmoro_ has joined #instantbird
01:32:44 --> micahg has joined #instantbird
01:47:18 <-- Mook_as has quit (Quit: gone)
02:52:11 <clokep> flo: "Username" for GTalk...I tried /just/ my username first, not my whole email address.
03:29:57 --> XaviorPenguin has joined #instantbird
03:30:02 <-- XaviorPenguin has left #instantbird ()
03:30:47 <-- BlueMaxima has quit (Ping timeout)
03:33:24 <-- clokep has quit (Quit: Instantbird 1.2a1pre)
03:37:02 <-- skeledrew has quit (Ping timeout)
03:41:25 <-- Kagami has quit (Ping timeout)
04:10:35 --> BlueMaxima has joined #instantbird
04:10:37 --> Suiseiseki has joined #instantbird
04:10:40 --> skeledrew has joined #instantbird
04:11:12 <-- BlueMaxima has quit (Quit: Instantbird 1.1)
04:15:48 --> Mook has joined #instantbird
04:50:45 --> BlueMaxima has joined #instantbird
05:05:10 <-- EionRobb1 has quit (Quit: Leaving.)
06:17:06 <instantbot> mook.moz+bugs.instantbird@gmail.com granted review for attachment 1059 on bug 1171.
06:17:08 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1171 nor, --, ---, florian, ASSI, Replace the current binary XMPP plugin with a JS implementation
06:17:21 <Mook> \o/ bugzilla attachment things are back!
06:26:41 <-- hunsly has quit (Ping timeout)
06:53:17 --> XaviorPenguin has joined #instantbird
06:53:32 <-- XaviorPenguin has left #instantbird ()
06:55:53 <-- BlueMaxima has quit (Ping timeout)
07:29:33 <-- Tobin has quit (Quit: Everything you do is to hurt me, leave me alone.)
07:32:59 <-- Mook has quit (Quit: ChatZilla 0.9.87-rdmsoft [XULRunner 6.0/20110811165603])
07:33:57 --> BlueMaxima has joined #instantbird
08:10:06 <-- chrisccoulson has quit (Ping timeout)
08:10:58 --> BlueMaxima1 has joined #instantbird
08:11:35 <-- BlueMaxima has quit (Ping timeout)
08:29:07 --> chrisccoulson has joined #instantbird
08:34:26 <-- gerard-majax has quit (Ping timeout)
08:44:02 --> MadWookiee has joined #instantbird
08:56:44 --> Tobin has joined #instantbird
09:01:19 <-- BlueMaxima1 has quit (Connection reset by peer)
09:01:22 --> BlueMaxima has joined #instantbird
09:06:20 --> aleth has joined #instantbird
09:10:35 --> Mic has joined #instantbird
09:10:35 * ChanServ sets mode +h Mic 
09:16:48 --> gerard-majax has joined #instantbird
09:20:44 <-- aleth has quit (Quit: Instantbird 1.2a1pre)
09:21:33 --> aleth has joined #instantbird
09:21:52 <-- aleth has quit (Quit: Instantbird 1.2a1pre)
09:22:00 --> aleth has joined #instantbird
09:25:32 <-- aleth has quit (Quit: Instantbird 1.2a1pre)
09:28:00 --> aleth has joined #instantbird
09:32:37 <Mic> Hello
09:39:53 --> flo has joined #instantbird
09:39:54 * ChanServ sets mode +qo flo flo 
09:40:38 <flo> hello :)
09:41:58 <Mic> Hi flo
09:43:04 <flo> lots of valuable comments on my patch :)
10:00:25 --> hunsly has joined #instantbird
10:43:12 --> jb has joined #instantbird
11:17:01 --> clokep has joined #instantbird
11:17:01 * ChanServ sets mode +h clokep 
11:30:54 <clokep> flo: I mean :-D to mean that it's awesome it's extensible. :)
11:31:07 <clokep> (I used it as "big smile" not "laugh". :))
11:34:05 <flo> :)
11:37:49 <-- Mic has quit (Ping timeout)
11:42:15 --> Mic has joined #instantbird
11:42:15 * ChanServ sets mode +h Mic 
11:43:17 <flo> aleth: I don't understand your comment
11:43:44 <flo> at that line we check if the new node is a top level stanza or a child of a node already being parsed.
11:46:44 <aleth> It seemed to me you could end up with this._node being == node and having a child == node. But I probably just didn't understand what the code is trying to do
11:47:10 <aleth> Hmm I should rephrase that
11:50:46 <clokep> flo: I notice you didn't implement left for your XMPP MUC.
11:50:51 <aleth> I thought it should either be |if (!this._node)| or |node = this._node.addChild(node);| in the line below. But I've just looked up appendChild and it seems the latter is redundant.
11:55:23 <-- clokep has quit (Quit: Instantbird 1.2a1pre)
12:00:36 <-- hunsly has quit (Ping timeout)
12:26:43 <-- Mic has quit (Ping timeout)
12:26:46 --> Mic has joined #instantbird
12:26:46 * ChanServ sets mode +h Mic 
12:35:38 --> clokep_work has joined #instantbird
12:35:39 * ChanServ sets mode +h clokep_work 
12:39:24 <clokep_work> Well I think I know why SIPE didn't connect for me. :) I think I need to compile it with kerberos.
12:42:09 <flo> right, "left" is a todo ^^
12:44:56 <clokep_work> flo: OK! todo it soon so I can steal it? ;)
12:53:03 <flo> I thought you were going to do it ;)
12:58:45 <clokep_work> I can't get seem to get it to work. :-S It always shows up as true for me.
12:58:57 <clokep_work> (I"m currently using !this._hasParticipant(this.nick) I think.)
12:59:12 <flo> do you clear the nicklist when leaving the room?
13:01:57 <clokep_work> Yes.
13:02:10 <clokep_work> But even when I first enter a room it shows up that I've left. :(
13:02:32 <flo> ah
13:03:57 <clokep_work> Yeah, I just need to look at it again.
13:22:24 <-- skeledrew has quit (Ping timeout)
13:22:26 --> skeledrew has joined #instantbird
13:38:03 --> BlueMaxima1 has joined #instantbird
13:39:54 <-- BlueMaxima has quit (Ping timeout)
13:49:35 <-- BlueMaxima1 has quit (Quit: Instantbird 1.1)
13:50:03 --> XaviorPenguin has joined #instantbird
13:50:11 <-- XaviorPenguin has left #instantbird ()
13:55:02 <-- jb has quit (Ping timeout)
13:57:10 --> jb has joined #instantbird
14:24:30 --> mmkmou has joined #instantbird
14:31:27 --> Tomek has joined #instantbird
14:32:14 <-- mmkmou has quit (Ping timeout)
14:32:18 --> mmkmou has joined #instantbird
15:02:13 --> ecaron has joined #instantbird
15:06:36 <-- clokep_work has quit (Quit: http://www.mibbit.com ajax IRC Client)
15:09:16 --> clokep_work has joined #instantbird
15:09:16 * ChanServ sets mode +h clokep_work 
15:15:24 <-- jb has quit (Ping timeout)
15:15:25 --> jb has joined #instantbird
15:36:32 <flo> I'll try my current debug build with JS-XMPP in my default profil before pushing
15:36:42 <-- flo has quit (Quit: Instantbird 1.2a1pre)
15:40:43 --> flo has joined #instantbird
15:40:44 * ChanServ sets mode +qo flo flo 
15:42:20 <-- flo has quit (Quit: Instantbird 1.2a1pre)
15:50:28 --> flo has joined #instantbird
15:50:28 * ChanServ sets mode +qo flo flo 
15:53:13 <Mic> And, is it ready to land? :)
15:54:45 <flo> I found one issue with facebook chat
15:54:56 <flo> it sends presence stanzas without resource
15:55:17 <flo> and our tooltip display "undefined" for the resource, it's not a good behavior in my opinion
16:00:36 <-- jb has quit (Ping timeout)
16:01:46 <-- waynenguyen has quit (Ping timeout)
16:03:08 --> jb has joined #instantbird
16:07:56 <-- flo has quit (Quit: Instantbird 1.2a1pre)
16:34:45 <-- gmoro_ has quit (Ping timeout)
16:58:21 --> flo has joined #instantbird
16:58:22 * ChanServ sets mode +qo flo flo 
17:05:26 * flo has a fix
17:18:17 <instantbot> florian@instantbird.org cancelled review?(clokep@gmail.com) for attachment 1059 on bug 1171.
17:18:19 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1171 nor, --, ---, florian, ASSI, Replace the current binary XMPP plugin with a JS implementation
17:21:04 <Novarg> oh hopefully, this will fix my facebook-chat :))
17:21:29 <flo> Novarg: what's wrong with it?
17:21:51 <Novarg> it doesn't seem to work with libpurple
17:21:59 <flo> if you don't receive messages people send, or people don't receive your messages, I'm afraid this won't help as it's a server issue
17:21:59 <Novarg> I couldn't send messages in pidgin and I can't send them in instantbird
17:22:11 <Novarg> I receive messages, I just can't send any
17:22:28 <Novarg> but I figured it would be a server issue
17:22:38 <Novarg> I reported it to facebook but I wonder if they even look at it
17:22:44 <flo> we can still look at the raw data exchanged
17:22:55 <flo> (once you are using a build with this patch)
17:24:08 <Novarg> that patch you just attached?
17:24:14 <flo> yes
17:27:36 <aleth> yay, js-xmpp almost landed :)
17:32:04 <flo> I feel a bit bad about landing all these unrelated changes at once, but oh well...
17:35:21 <flo> how does this sound for the commit message? "Bug 1171 - Add a JavaScript implementation of the XMPP protocol; use it for Google Talk and Facebook Chat. Based on the code developed by Varuna JAYASIRI for Google Summer of Code 2011. Partial reviews by Mook, clokep, aleth, Mic."
17:37:02 <Mic> I found a typo in one of the error messages for the account manager .. too late for that already?
17:37:15 <flo> where?
17:37:19 <Mic> http://pastebin.instantbird.com/1676
17:37:27 <flo> I guess I should spellcheck the localizable files ^^
17:42:02 <flo> Mic: thanks!
17:42:05 <Mic> hmm, two more things: http://pastebin.instantbird.com/1680
17:43:06 <Mic> (I haven't really looked closely at the code, you can remove me from the review list if you like btw)
17:45:04 <flo> "*Partial* reviews" means I won't hold any of you responsible for the that things that are likely to happen tomorrow ;)
17:45:16 <flo> s/that/bad/
17:45:29 <Mic> ;)
17:51:37 <-- gerard-majax has quit (Ping timeout)
17:54:02 --> Mook_as has joined #instantbird
17:54:28 <flo> Mook_as: Good morning! :)
17:55:37 <Mook_as> flo: morning!
17:55:40 <Mook_as> I blame the bits in my review that made no sense on sleepiness :p
17:56:32 <flo> have you finished reading my comments already? (I'm about to commit/push the changes)
17:58:34 <-- MadWookiee has quit (Quit: Instantbird 1.1)
17:58:40 <Mook_as> yeah; that make sense
17:58:54 <Mook_as> (at least, any comments up to about an hour ago, before I got on the train)
18:00:43 <flo> ok, so if there's nothing more to change, I'll push it :)
18:03:06 <instantbot> Check-in: http://hg.instantbird.org/instantbird/rev/8a2df449facc - Florian Quèze - Bug 1171 - Add a JavaScript implementation of the XMPP protocol; use it for Google Talk and Facebook Chat. Based on the code developed by Varuna JAYASIRI for Google Summer
18:03:08 <instantbot> of Code 2011. Partial reviews by Mook, clokep, aleth, Mic.
18:07:00 <Mic> I've got bold text in this last message and no markup where it could come from.
18:07:15 <Mic> d'oh, nevermind. It pinged me. 
18:07:29 * Mic feels silly now ;)
18:07:33 <-- jb has quit (Quit: Instantbird 1.1)
18:07:42 <instantbot> florian@instantbird.org set the Resolution field on bug 1171 to FIXED.
18:07:44 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1171 nor, --, 1.2, florian, RESO FIXED, Replace the current binary XMPP plugin with a JS implementation
18:08:43 <Mic> The Windows onCommit build failed already
18:09:10 <flo> clokep_work: by the way, about that <i>source</i> formatted string. Shouldn't the appearance be defined by the message theme, rather than hard coded?
18:11:33 <flo> there hasn't been any windows nightly for 5 days?!? :(
18:13:55 <Mic> hmm, I didn't notice :(
18:24:58 <aleth> flo: heh, "partial review" is an ambitious word for a single question based on not understanding nodes properly ;)
18:25:47 * Mook_as should either try to re-review that patch tonight, or work on what aleth asked for :)
18:25:54 <flo> aleth: I'm sure you opened the attachment and looked inside it for that though ;)
18:26:22 <aleth> looking forward to the next build! :)
18:26:29 <flo> aleth: and IIRC you also commented on a few pastebin in the last few days ;)
18:26:42 <Mook_as> oh, flo: for the gtalk.js bit: if the pref is set, would'nt you want to read it from the pref, rather than the stringbundle?
18:26:49 <aleth> oh yeah this is true
18:27:30 <flo> Mook_as: I don't know what you are talking about :(
18:27:44 <flo> aaah!
18:27:53 <flo> you understood "getString" as getting something from a string bundle?
18:27:58 <Mook_as> yeah
18:28:04 <flo> it's _() to get something from the bundle
18:28:16 <flo> getString is to get the current value of an account specific pref
18:28:35 <Mook_as> or rather, what's the difference between http://hg.instantbird.org/instantbird/diff/8a2df449facc/chat/protocols/gtalk/gtalk.js#l1.71 and line 1.64?
18:29:30 <flo> .resource is obtained from the result of the regexp in the _parseJID method
18:30:39 <Mook_as> (as I read it, it says "if pref is set, do X; if that has no result, do X again", where X is "this._jid.resource = this.getString("resource") ")
18:30:42 <flo> so for example, if the user has "foo@bar.com/laptop" as username, if the resource pref has the default value, we will use "laptop" for the resource. If the pref has a non default value, we will use the current pref value.
18:35:46 --> gerard-majax has joined #instantbird
18:36:34 <Mook_as> flo: ah, does that mean that code is equivalent to http://pastebin.instantbird.com/1686 ?
18:37:12 <flo> equivalent except in a specific case
18:37:51 <flo> if the username is foo@bar.com/laptop and the pref has been edited to an empty string (the default is "instantbird")
18:38:00 <Mook_as> ah, right
18:49:30 <-- flo has quit (Quit: Instantbird 1.2a1pre)
18:58:32 <-- Mic has quit (Ping timeout)
19:04:59 --> Mic has joined #instantbird
19:05:00 * ChanServ sets mode +h Mic 
19:06:34 <clokep_work> flo: Great that you landed! I do wish some of those jsProto bits had been landed separately though (just for reference) :(
19:14:48 <Mic> Are you focusing on Tb integration for a while now? I saw on the wiki that it was flagged at risk for Tb 11?
19:58:42 --> EionRobb has joined #instantbird
20:36:54 <-- gerard-majax has quit (Ping timeout)
20:43:55 <instantbot> New Instantbird (UI) bug 1195 filed by oliver@sahr-net.com.
20:43:57 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1195 nor, --, ---, nobody, UNCO, Insert Emoticons by selectimg them
20:47:17 <clokep_work> There's an add-on to do that ^ ^, someone should reply to that. :)
20:49:30 <aleth> I just did ;)
20:53:05 <clokep_work> Thanks. :) I'm going to reply to the Skype one.
20:56:35 <EionRobb> ooh, skype?
20:57:57 * clokep_work wonders if EionRobb has never seen Bug 563.
20:58:01 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=563 enh, --, ---, nobody, NEW, Skype protocol plugin
20:58:09 <EionRobb> never
20:59:16 <clokep_work> It's generally my "I hate Skype protocol, but it's what all my friends use and I want it in Instantbird" bug.
20:59:47 <EionRobb> neat
21:00:06 <EionRobb> I wonder if it'd be worth writing that one in javascript
21:00:12 <EionRobb> I wonder if it'd even be possible
21:00:59 <EionRobb> also, you can't use skypekit.  not only is it non-gpl compatible, it's non-opensource compatible
21:07:01 <clokep_work> Yeah, that's what I was kind of getting at and did a bad job of.
21:07:12 <clokep_work> EionRobb: What part do you not think would be possible? :)
21:07:44 <EionRobb> do you have direct access to the win32 api from javascript?
21:08:05 <clokep_work> With jsctypes you do.
21:08:21 <clokep_work> (ala python ctypes if you're familiar)
21:09:00 <EionRobb> ah ok
21:09:02 <-- Mic has quit (Ping timeout)
21:10:40 <clokep_work> It's kind of a pain though. :(
21:10:52 <-- EionRobb has quit (Quit: Leaving.)
21:11:03 <aleth> That does not sound platform independent either
21:11:31 <clokep_work> aleth: Interacting with Skype is platform dependent.
21:11:32 --> EionRobb has joined #instantbird
21:11:53 <aleth> skype seems an all-round :(
21:13:01 <EionRobb> "an all-round"?
21:13:27 <aleth> all-round trouble from a coding pov
21:13:46 <EionRobb> why's that?
21:15:05 <aleth> well, you've mentioned platform-dependence, the lack of an open API, having to run it in the background for the pidgin plugin... 
21:16:00 <EionRobb> ah, true :)
21:16:05 <EionRobb> yeah, it was a fun challenge
21:16:28 <aleth> heh :)
21:17:02 <EionRobb> just to make it more interesting, I made it all threaded
21:22:10 <aleth> Here's hoping clokep's wrapper works then!
21:22:24 <EionRobb> yeah, hurry up clokep!
21:22:26 <EionRobb> make it work!
21:23:03 <clokep_work> It's not a wrapper. :(
21:23:08 <clokep_work> It's just a makefile!
21:24:03 <EionRobb> (10:22:41) EionRobb: make it work!,
21:24:44 <aleth> after JS-IRC ;)
21:27:38 <clokep_work> Yeah.
21:27:44 <clokep_work> Maybe I'll look at it tonight if I ever get home.
21:28:06 <EionRobb> just go home now,
21:28:08 <EionRobb> you look unwell,
21:28:21 <clokep_work> I'm going to the gym. ;)
21:29:10 <EionRobb> don't be silly, unwell people don't go to the gym!
21:38:33 --> Mic has joined #instantbird
21:38:34 * ChanServ sets mode +h Mic 
21:40:01 <-- Mic has quit (Quit: Instantbird 1.2a1pre)
21:57:46 <-- clokep_work has quit (Quit: Goodnight.)
22:03:44 <DGMurdockIII> i really need the ability to block user
22:03:54 <DGMurdockIII> this is getting to be a pain
22:04:09 <DGMurdockIII> the bot spam is getting very bad
22:06:47 <EionRobb> is there a /block in IB?
22:10:53 --> hunsly has joined #instantbird
22:56:58 --> XaviorPenguin has joined #instantbird
22:57:15 <-- XaviorPenguin has left #instantbird ()
23:13:41 <-- mmkmou has quit (Ping timeout)
23:40:01 <-- Even1 has quit (Ping timeout)
23:45:34 <-- DGMurdockIII has quit (Quit: get satisfied! • :: core-networks.de ««« (Gamers.IRC) »»» gamersirc.net ::)
23:49:06 --> clokep has joined #instantbird
23:49:06 * ChanServ sets mode +h clokep