#instantbird log on 04 29 2011

All times are UTC.

00:04:14 <clokep> Mic2: I totally update and merged and generally made a mess out of the experiments repo...but I uploaded code for you. :)
00:11:34 <clokep> Mic: Namely this code is what you'll want to look at. It only partially works. I haven't looked into it in a while. http://hg.instantbird.org/experiments/file/599ebf1bf1d8/xbox-live%40patrick.cloke/components/xboxLiveProtocol.js
00:17:10 --> Mathnerd314 has joined #instantbird
00:34:23 <-- waynenguyen has quit (Ping timeout)
01:01:50 <-- GeekShadow has quit (Quit: The cake is a lie !)
01:03:13 <-- Mook_as has quit (Quit: ChatZilla [XULRunner])
01:16:30 --> GeekShadow has joined #instantbird
01:38:24 --> rikki has joined #instantbird
01:41:46 <-- skeledrew has quit (Ping timeout)
01:41:52 --> skeledrew has joined #instantbird
01:45:29 <-- GeekShadow has quit (Client exited)
01:49:47 --> GeekShadow has joined #instantbird
01:54:53 --> mepine has joined #instantbird
02:08:19 <-- mepine has quit (Ping timeout)
02:11:15 <-- skeledrew has quit (Ping timeout)
02:11:20 --> skeledrew has joined #instantbird
02:19:00 <-- GeekShadow has quit (Client exited)
02:25:31 <-- clokep has quit (Ping timeout)
02:25:34 --> clokep has joined #instantbird
02:25:34 * ChanServ sets mode +h clokep 
02:46:32 <-- clokep has quit (Quit: Instantbird 0.3a3pre)
02:49:23 <-- skeledrew has quit (Ping timeout)
02:49:54 --> skeledrew has joined #instantbird
02:51:50 <-- linuxwizard has left #instantbird ()
02:52:47 --> tymerkaev_away has joined #instantbird
03:13:26 <-- tymerkaev_away has quit (Ping timeout)
04:38:18 --> tymerkaev has joined #instantbird
04:44:58 <-- skeledrew has quit (Ping timeout)
04:45:03 --> skeledrew has joined #instantbird
04:55:32 --> Tonnes_ has joined #instantbird
04:55:49 <-- Tonnes has quit (Ping timeout)
04:55:54 * Tonnes_ is now known as Tonnes
05:09:30 --> mepine has joined #instantbird
05:16:40 <-- Mathnerd314 has quit (Connection reset by peer)
05:49:02 <-- skeledrew has quit (Ping timeout)
05:50:14 --> skeledrew has joined #instantbird
06:21:09 <-- mepine has quit (Ping timeout)
06:25:52 --> mepine has joined #instantbird
08:01:49 --> Even1 has joined #instantbird
08:02:01 <-- Even1 has quit (Quit: Instantbird 0.3a3pre)
08:02:15 --> Even1 has joined #instantbird
08:04:46 --> varuna has joined #instantbird
08:39:34 <-- chrisccoulson has quit (Ping timeout)
09:00:59 --> chrisccoulson has joined #instantbird
09:39:11 --> sonny has joined #instantbird
09:40:41 <-- tymerkaev has quit (Ping timeout)
09:58:21 <-- chrisccoulson has quit (Quit: Ex-Chat)
09:58:29 --> chrisccoulson has joined #instantbird
10:15:58 --> clokep has joined #instantbird
10:15:59 * ChanServ sets mode +h clokep 
10:21:13 --> mepine_ has joined #instantbird
10:22:27 <-- mepine has quit (Ping timeout)
10:22:27 * mepine_ is now known as mepine
10:29:50 --> GeekShadow has joined #instantbird
10:46:46 <-- sonny has left #instantbird ()
10:46:54 --> sonny has joined #instantbird
10:49:13 <sonny> varuna, Hi, I've heard you're working on XMPP JavaScript implementation
10:49:26 <sonny> varuna, this could help you https://bitbucket.org/lord_blackfox/xmpp4js
10:50:17 <sonny> specially https://bitbucket.org/lord_blackfox/xmpp4js/src/b33027dc8961/socket_mozilla.js
10:50:54 <sonny> since you're are working on a chrome content I hope you'll use E4X instead of DOM à la strophe.js
10:58:56 <-- clokep has quit (Connection timed out)
10:59:00 --> clokep has joined #instantbird
10:59:01 * ChanServ sets mode +h clokep 
11:00:06 <clokep> sonny: varuna so far is using our internal socket code http://lxr.instantbird.org/instantbird/source/purple/purplexpcom/src/socket.jsm
11:00:31 <clokep> sonny: Also his code is over at https://github.com/vpj/xmpp-js if you're interested. :)
11:00:37 <sonny> I guess so but he might be interested by the XMPP implementation
11:01:18 <varuna> sonny: thanks
11:01:41 <varuna> clokep: i might be changing it a bit
11:02:06 <varuna> for example the DataReceived
11:02:13 <varuna> sorry
11:02:21 <clokep> varuna: Of course! I'm sure it needs some fixes... :)
11:02:23 <varuna> onDataAvailable is needed for the SAX parser
11:02:32 <clokep> You might want to CC yourself on https://bugzilla.instantbird.org/show_bug.cgi?id=761 btw
11:02:32 <varuna> so I might take it off socket.jsm
11:02:37 <varuna> or leave it there but won't be used
11:02:37 <instantbot> Bug 761 nor, --, ---, nobody, NEW, JS-Socket fails to properly handle SSL errors
11:02:57 <clokep> What is SAX?
11:03:27 <varuna> https://developer.mozilla.org/En/SAX
11:03:35 <varuna> I'm not sure about any of these
11:03:43 <clokep> Well the point of that object is you're supposed to pull it into your code and use it as a prototype for making a socket specific for what you need to do...so if you need to overwrite a method of it, that's the point.
11:03:44 <varuna> I'm trying out idfferent things
11:03:52 <varuna> I thought I could use it to parse XML stream
11:04:09 <varuna> k :)
11:04:44 <clokep> You should be able to by adding an nsIStreamListener methods.
11:04:50 * clokep needs to go, we can talk about this in a bit.
11:04:56 <-- clokep has quit (Quit: Instantbird 0.3a3pre)
11:17:24 <-- varuna has quit (Ping timeout)
11:17:44 <-- Tonnes has quit (Ping timeout)
11:17:44 <-- mepine has quit (Quit: 隨緣也)
11:18:06 --> varuna has joined #instantbird
11:18:42 --> Tonnes has joined #instantbird
11:18:49 <-- GeekShadow has quit (Ping timeout)
11:19:26 --> GeekShadow has joined #instantbird
11:30:42 <-- sonny has left #instantbird ()
11:40:11 --> sonny has joined #instantbird
11:43:20 --> clokep_work has joined #instantbird
11:43:20 * ChanServ sets mode +h clokep_work 
11:44:24 <-- varuna has quit (Ping timeout)
11:48:08 <clokep_work> varuna: Yeah, nsIStreamListener just implements onDataAvailable (as you already know, just trying to catch up), so you could just overwrite that method with your own. It's also possible another "mode" could be added so that the socket could handle text, binary or XML.
11:56:04 <-- sabret00the has quit (Connection reset by peer)
11:56:47 <-- sonny has quit (Ping timeout)
11:56:49 --> sabret00the has joined #instantbird
11:56:55 <-- Tonnes has quit (Ping timeout)
11:57:18 --> skeledrew1 has joined #instantbird
11:57:29 <-- flo has quit (Ping timeout)
11:57:32 --> flo has joined #instantbird
11:57:33 * ChanServ sets mode +qo flo flo 
11:57:58 <-- skeledrew has quit (Ping timeout)
12:01:11 --> Tonnes has joined #instantbird
12:01:15 --> varuna has joined #instantbird
12:06:08 --> Mic has joined #instantbird
12:06:08 * ChanServ sets mode +h Mic 
12:06:18 <Mic> Hi.
12:06:24 <clokep_work> Hello flo. :)
12:06:31 <clokep_work> Hey Mic, I put some code up for you! ;)
12:06:46 <Mic> Thanks :)
12:12:53 --> sonny has joined #instantbird
12:18:57 --> tymerkaev_away has joined #instantbird
12:19:28 <clokep_work> Mic no promises on it working / being readable / etc. :-D
12:20:19 <clokep_work> sonny: That code is a lot different than last time I looked at it! :) Might steal a couple bits of it (some of the proxy stuff).
12:20:22 <clokep_work> Thanks. :)
12:20:39 * tymerkaev_away is now known as tymerkaev
12:50:58 <-- clokep_work has quit (Quit: http://www.mibbit.com ajax IRC Client)
12:52:40 <-- flo has quit (Quit: Instantbird 0.3a3pre)
12:53:01 --> flo has joined #instantbird
12:53:01 * ChanServ sets mode +qo flo flo 
12:55:10 <-- Mic has left #instantbird ()
13:26:14 <-- sonny has left #instantbird ()
13:30:52 --> Mic has joined #instantbird
13:30:52 * ChanServ sets mode +h Mic 
13:35:34 <-- rikki has quit (Ping timeout)
13:43:48 --> rikki has joined #instantbird
14:21:01 <varuna> clokep_work: that code looks a lot like xmpp4moz :)
14:22:06 --> sonny has joined #instantbird
14:39:29 --> clokep_work has joined #instantbird
14:39:29 * ChanServ sets mode +h clokep_work 
14:39:59 <clokep_work> varuna: Which code? My code?
14:40:17 <clokep_work> I've never looked at xmpp4moz, stopped once I saw it was GPL.
14:46:00 <-- tymerkaev has quit (Input/output error)
14:47:56 <-- Tonnes has quit (Ping timeout)
14:48:18 --> Tonnes has joined #instantbird
15:00:02 <flo> varuna: it may be a good idea to create a wiki page with all the link you've been given by various people, with a short summary of what you found interesting/reusable or NOT reusable and why.
15:08:18 <clokep_work> Also good to point to any documentation you're using (i.e. the RFCs, XEPs, GTalk documents?). I copied them into my source code, but not sure what you want to do.
15:25:16 <varuna> clokep_work: no the code that sonny showed
15:25:39 <varuna> flo: ok
15:25:54 <varuna> i hope i have all the links with me :D
15:26:11 <flo> varuna: sonny was a fan of xmpp4moz ;)
15:26:17 <sonny> was? :)
15:26:23 <varuna> :D
15:26:46 <flo> sonny: now I would say "is a fan of XMPP and Mozilla" :-P
15:26:47 <varuna> i's it alright if i borrow code from those?
15:26:47 <sonny> well the code isn't the greatest code I ever seen but it used to works very well
15:27:11 <flo> varuna: you can't borrow GPL'd code  :(
15:27:14 <sonny> varuna, you can't borrow from xmpp4moz but you can borrow from what I send you
15:27:51 <sonny> please don't use the DOM to manipulate XML :)
15:28:00 <sonny> that would be criminal
15:28:21 <varuna> you mean the SAX parser
15:28:27 <sonny> no I mean DOM
15:29:32 <sonny> such as XMPP javascript libs usually do (of course they don't have choice since E4X isn't cross-browser)
15:30:25 <sonny> varuna, if you need help I can give you the jabber id of my friend who wrote what I sent you
15:34:13 <-- rikki has quit (Connection reset by peer)
15:34:20 --> rikki has joined #instantbird
15:37:47 <clokep_work> varuna: Ah OK! :)
15:38:16 <varuna> sonny: sure thanks :)
15:38:46 <varuna> sonny: I was going to use the SAX parses which I think that project uses as well :)
15:39:51 <sonny> well E4X and the SAX parser are quit different
15:40:06 <sonny> in my opinion you need both
15:40:45 <sonny> xmpp4moz also use both iirc
15:40:57 <clokep_work> flo: How is the Firefox tabs coming along?
15:41:15 <flo> I haven't worked on them for a couple days
15:41:41 <flo> I spent the last 2 days at the classic car museum, helping for the restoration of a van that should appear in a film very soon
15:42:19 <-- rikki has quit (Connection reset by peer)
15:42:26 --> rikki has joined #instantbird
15:42:30 <flo> I was blocked on a stupid 1px offset issue that is a bit strange
15:43:03 <flo> all my elements are at the same place (when comparing the y coordinate with the same element in Firefox 4) and of the same size
15:43:10 <flo> but a white line is missing.
15:43:37 <flo> I suspect it's some border that should come from an element with a special -moz-appearance value
15:44:13 <flo> outside of that stupid issue, I still need to fix the tab drop indicator, and make the CSS transition when closing a tab work (probably a few lines of code to port in tabbrowser.xml)
15:44:40 <flo> and then do the same for linux and windows, but there should be only the CSS work there, the tabbrowser.xml will already be up to date from my mac version :)
15:45:11 <varuna> sonny: ok :) ... I only had a brief look into it so don't know much :P
15:46:47 <clokep_work> flo: Ah, that's pretty awesome. :) (The car part, not the missing pixel.)
15:49:45 <-- Even1 has quit (Quit: Instantbird 0.3a3pre)
15:49:46 <flo> clokep_work: it's the way the museum is funded: they rent cars for film makers. And they do so at much cheaper rates than private companies do. The money goes for some part to the car owner (when the owner is not the association of course), and some of the money goes to the association to fund its activities and the restoration of more cars.
15:50:21 <flo> I put my AMI in that museum 2 weeks ago by the way.
15:51:09 <clokep_work> That's a cool idea.
15:51:13 <clokep_work> So your AMI could be in movies? ;)
15:55:08 <flo> yeah, I could earn money from that :-P
15:58:13 <flo> note: all of this works because there are extremely motivated individuals working for free on that museum project. There's especially one person who has worked on it almost full time for 8 years!
16:00:01 <flo> another surprising fact about this association is that it's all self-funded. They got no help at all from local authorities, not even to buy the building and restore it (it's a factory which has stopped production almost 40 years ago and was in a very bad state).
16:00:22 <clokep_work> Interesting.
16:01:31 --> wesj has joined #instantbird
16:01:50 <-- wesj has left #instantbird ()
16:03:56 <clokep_work> Motivated people is usually a must. :)
16:04:17 <flo> that's the scarce resource ;)
16:22:47 <clokep_work> Hah, yes. Well...it can be.
16:24:33 --> Tonnes_ has joined #instantbird
16:24:47 <-- Tonnes has quit (Ping timeout)
16:24:54 <-- sonny has quit (Connection reset by peer)
16:24:55 * Tonnes_ is now known as Tonnes
16:30:29 <-- Mic has quit (Ping timeout)
16:31:14 --> igorko has joined #instantbird
16:31:16 --> waynenguyen has joined #instantbird
16:34:05 <flo> by the way, that museum project is surprisingly similar to Instantbird
16:34:15 <flo> they even have their trolls!
16:34:16 <clokep_work> Except they know how to make money. ;)
16:34:39 <flo> Instantbird isn't 8 years old yet ;)
16:35:07 --> sonny has joined #instantbird
16:35:19 <clokep_work> flo: So...sometimes in CTCP responses for IRC I get \0x02 and \0x03 (start of text and end of text, respectively). I was expecting those be "taken care of" automatically by Gecko when we print to the conversation, but they end up as the little squares w/ the unicode values in them (i.e. 0002), any ideas?
16:36:20 <flo> is the message otherwise valuable, or just some low level crap?
16:36:57 <clokep_work> It's inside of real text.
16:37:08 <clokep_work> The topic of #chatzilla has them in it, actually.
16:37:50 <flo> can you use a regexp to strip them?
16:38:06 <clokep_work> Yes, but is that the proper thing to do?
16:40:00 <clokep_work> If so, yeah. I'll just replace them with "", but I wasn't sure if there was like a "proper" way to display them.
16:40:13 <clokep_work> (Some IRC client must put them in for some reason, but I'm not sure what...)
16:40:59 <clokep_work> Oooo. I think it's me being dumb. :)
16:41:04 <clokep_work> It's supposed to make it bold! Never mind.
16:44:45 <flo> :)
16:44:59 <flo> you probably still need the regexp then :-D
16:45:11 <clokep_work> Yeah...I think it's real dumb the way it does it though.
16:45:37 <clokep_work> But I'll do it.
16:46:21 <clokep_work> The easy thing for now is to strip them out. :-D
16:46:27 <clokep_work> Or leave them in until it annoys me enough to bold them.
16:47:59 <-- clokep_work has quit (Quit: http://www.mibbit.com ajax IRC Client)
16:50:34 --> clokep_work has joined #instantbird
16:50:34 * ChanServ sets mode +h clokep_work 
16:54:00 <-- Tonnes has quit (Ping timeout)
16:54:22 --> Tonnes has joined #instantbird
16:55:10 <flo> it's not that hard to bold them with <strong> </strong> tags, but in channel topics, it will still look ugly ;)
16:57:17 <-- clokep_work has quit (Quit: http://www.mibbit.com ajax IRC Client)
16:59:00 --> clokep_work has joined #instantbird
16:59:01 * ChanServ sets mode +h clokep_work 
17:00:24 <clokep_work> The thing is I don't think IRC gives end tags.
17:00:39 <clokep_work> So 0x02 starts bold...and then if there's no matching tag you just put it at the end of the string.
17:00:55 <clokep_work> But if I have <bold><italic>Some text
17:01:12 <clokep_work> I need to make sure to do <strong><em>Some text</em></strong>
17:01:16 <clokep_work> It's just like silly rules.
17:03:04 <-- varuna has left #instantbird ()
17:10:05 <clokep_work> Really just me wanting to complain more about the protocol. :-D
17:14:17 <flo> bah, as long as you complain happily that's fine :)
17:15:00 <clokep_work> Of course. I leave the trolling to Mic. ;)
17:15:48 <flo> he will need some people talking about linux's beauty for that :)
17:17:37 --> tymerkaev has joined #instantbird
17:19:31 <clokep_work> Hah, I suppose. :) I'll probably do the bolding/italics this weekend. Since I can't figure out some of the bugs I'm having.
17:19:56 <clokep_work> I'll randomly get errors that a user isn't in a room when I try to remove them or that a user is already in a room when I try to add them.
17:20:24 <clokep_work> I'm not sure if I'm missing messages on the connection or if my code is failing to remove people or if the instantbird code is failing after I notify observers.
17:21:07 <-- sonny has left #instantbird ()
17:22:26 --> sonny has joined #instantbird
17:48:02 <-- igorko has quit (Quit: Instantbird 0.3a3pre)
18:08:41 * tymerkaev is now known as tymerkaev_away
18:12:07 <-- tymerkaev_away has quit (Ping timeout)
18:16:51 --> tymerkaev_away has joined #instantbird
18:19:33 <-- sonny has left #instantbird ()
18:19:38 --> sonny has joined #instantbird
18:24:53 <-- Tonnes has quit (Ping timeout)
18:25:50 --> Tonnes has joined #instantbird
18:33:10 <-- sonny has left #instantbird ()
18:33:12 --> sonny has joined #instantbird
18:39:37 * tymerkaev_away is now known as tymerkaev
18:52:20 --> DGMurdockIII has joined #instantbird
18:54:56 <-- Tonnes has quit (Ping timeout)
18:55:20 --> Tonnes has joined #instantbird
18:56:17 <-- clokep_work has quit (Quit: http://www.mibbit.com ajax IRC Client)
18:59:59 <-- chrisccoulson has quit (Ping timeout)
19:00:59 --> chrisccoulson has joined #instantbird
19:07:56 <-- Tonnes has quit (Ping timeout)
19:08:26 --> Tonnes has joined #instantbird
19:31:48 <-- Tonnes has quit (Ping timeout)
19:32:26 --> Tonnes has joined #instantbird
19:33:53 --> Tonnes_ has joined #instantbird
19:34:19 <-- Tonnes has quit (Ping timeout)
19:34:33 * Tonnes_ is now known as Tonnes
19:41:49 --> clokep has joined #instantbird
19:41:49 * ChanServ sets mode +h clokep 
20:02:45 <clokep> Bah spam on AIM is really starting to kill me. :-/
20:18:08 * tymerkaev is now known as tymerkaev_away
20:18:34 * tymerkaev_away is now known as tymerkaev
20:48:49 <-- sonny has left #instantbird ()
21:07:18 --> idechix has joined #instantbird
21:08:09 <-- idechix has left #instantbird ()
21:11:10 <-- tymerkaev has quit (Client exited)
21:14:36 <-- Chaz6- has quit (Ping timeout)
21:15:11 --> Chaz6- has joined #instantbird
22:15:25 --> sonny has joined #instantbird
22:25:48 <-- sonny has left #instantbird ()
22:27:35 <-- waynenguyen has quit (Quit: Instantbird 0.3a3pre)
22:38:14 --> sonny has joined #instantbird
22:42:36 <-- sonny has left #instantbird ()
22:44:20 <flo> ok, I have an acceptable work-around for that 1px border issue on Mac.
23:01:29 <clokep> :)
23:17:46 <flo> https://bugzilla.mozilla.org/show_bug.cgi?id=608589 looks so similar to our bug 675
23:17:51 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=675 nor, --, ---, nobody, NEW, Sign off transition not starting/finishing
23:18:43 <clokep> It does. And it's resolved fixed.
23:18:54 <clokep> I don't think I've seen that in a while though, so it's possible.
23:19:53 <clokep> Although that says it's fixed by https://bugzilla.mozilla.org/show_bug.cgi?id=613888, and which has a follow up: https://bugzilla.mozilla.org/show_bug.cgi?id=652543
23:21:33 <flo> which is unconfirmed
23:22:03 <flo> the frequency of bug 675 seems to have decreased, possibly because of the fix in bug 613888
23:22:06 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=675 nor, --, ---, nobody, NEW, Sign off transition not starting/finishing
23:22:17 <clokep> Yup. :)
23:22:25 * clokep hasn't seen it in a few weeks he thinks.
23:24:08 <flo> I hesitant to implement these tab animations if we will get the same bug there :-D
23:26:31 <clokep> But you can jus tblame Fx then. ;)
23:27:50 <flo> if I blame pidgin when Instantbird crashes because of a libpurple issue, that doesn't make it more stable ;)
23:28:45 <clokep> True. :)
23:28:50 <clokep> I haven't seen any issues w/ Firefox tabs either.
23:29:09 <clokep> Also, you open and close Instantbird tabs less often I think, so risk of the bug appearing is lower?
23:31:23 <flo> bah, you don't seem to be in the mood of justifying my laziness :-D.
23:31:27 <flo> That's ok I guess :)
23:32:25 <clokep> I just want nice animations flo!
23:32:32 <clokep> Eye candy is where it's at. ;)
23:39:44 <clokep> So what's a command that XMPP supports? :)
23:40:30 <-- DGMurdockIII has quit (Quit: get satisfied! • :: core-networks.de ««« (Gamers.IRC) »»» gamersirc.net ::)
23:41:58 <clokep> I found the list, never mind.
23:51:26 --> Mathnerd314 has joined #instantbird