#instantbird log on 09 02 2013

All times are UTC.

00:02:10 --> mconley has joined #instantbird
00:25:59 <-- dionisos has quit (Ping timeout)
00:49:56 <-- mconley has quit (Input/output error)
01:38:19 --> dew has joined #instantbird
01:39:25 <-- dew1 has quit (Ping timeout)
02:10:22 --> wnayes has joined #instantbird
02:51:05 <-- wnayes has quit (Ping timeout)
03:30:36 <-- Suiseiseki has quit (Client exited)
04:03:32 --> Suiseiseki has joined #instantbird
04:35:27 <instant-buildbot> build #958 of linux-nightly-default is complete: Success [build successful]  Build details are at http://buildbot.instantbird.org/builders/linux-nightly-default/builds/958
05:25:36 --> FireFly_TB has joined #instantbird
05:31:46 <-- FireFly_TB has quit (Ping timeout)
05:32:51 --> wnayes has joined #instantbird
05:45:18 <-- EionRobb has quit (Quit: Leaving.)
05:48:11 <-- wnayes has quit (Ping timeout)
05:56:34 <instant-buildbot> build #973 of macosx-nightly-default is complete: Success [build successful]  Build details are at http://buildbot.instantbird.org/builders/macosx-nightly-default/builds/973
06:24:12 <-- skeledrew1 has quit (Quit: Instantbird 1.4 -- http://www.instantbird.com)
06:34:31 --> skeledrew has joined #instantbird
07:16:58 <-- skeledrew has quit (Ping timeout)
08:02:37 --> EionRobb has joined #instantbird
08:25:29 --> chrisccoulson has joined #instantbird
08:39:02 --> nhnt11 has joined #instantbird
08:42:07 <-- gerard-majax has quit (Ping timeout)
08:43:14 <-- squib has quit (Quit: Leaving)
09:06:34 --> aleth has joined #instantbird
09:06:34 * ChanServ sets mode +h aleth 
09:19:50 <-- flo-retina has quit (Quit: Instantbird 1.5a1pre -- http://www.instantbird.com)
09:33:39 --> gerard-majax has joined #instantbird
09:48:52 --> flo-retina has joined #instantbird
09:48:52 * ChanServ sets mode +qo flo-retina flo-retina 
09:52:54 --> dionisos has joined #instantbird
10:16:54 <-- nhnt11 has quit (Quit: Instantbird 1.5a1pre -- http://www.instantbird.com)
10:30:47 <flo-retina> https://bugzilla.mozilla.org/show_bug.cgi?id=910517 looks like we will need some refactoring on our purple memory reporters.
10:32:23 <flo-retina> https://bugzilla.mozilla.org/show_bug.cgi?id=831193 actually (moz26)
10:38:55 <-- EionRobb has quit (Quit: Leaving.)
11:19:35 --> jb has joined #instantbird
11:35:36 --> clokep has joined #instantbird
11:35:36 * ChanServ sets mode +o clokep 
11:51:46 <-- jb has quit (Ping timeout)
12:27:56 --> jb has joined #instantbird
12:50:31 --> skeledrew has joined #instantbird
13:12:15 <-- jb has quit (Quit: jb)
13:16:48 --> jb has joined #instantbird
14:47:26 <-- qheaden has quit (Quit: ZNC - http://znc.in)
14:55:05 --> qheaden has joined #instantbird
14:57:11 --> wnayes has joined #instantbird
15:15:21 <-- aleth has quit (Quit: Ciao)
15:15:40 <-- jb has quit (Ping timeout)
15:33:25 <-- wnayes has quit (Ping timeout)
15:33:32 --> wnayes has joined #instantbird
15:59:08 <-- wnayes has quit (Ping timeout)
16:14:29 --> jb has joined #instantbird
16:15:15 --> nhnt11 has joined #instantbird
16:15:27 <-- gerard-majax has quit (Ping timeout)
16:17:08 <nhnt11> Good evening
16:46:39 <-- flo-retina has quit (Quit: Instantbird 1.5a1pre -- http://www.instantbird.com)
16:50:01 <-- jb has quit (Quit: jb)
16:51:55 --> jb has joined #instantbird
17:08:18 --> qlum has joined #instantbird
17:51:07 <-- jb has quit (Ping timeout)
17:54:30 <qheaden> Hello everyone.
18:11:28 --> flo-retina has joined #instantbird
18:11:28 * ChanServ sets mode +qo flo-retina flo-retina 
18:22:05 <-- clokep has quit (Ping timeout)
18:25:55 --> skeledrew1 has joined #instantbird
18:27:01 <-- skeledrew has quit (Ping timeout)
18:45:22 --> Mic has joined #instantbird
18:45:22 * ChanServ sets mode +h Mic 
19:24:36 <-- chrisccoulson has quit (Ping timeout)
19:25:47 <qheaden> Does jsProtoHelper provide any timer methods for sending periodic pings?
19:29:45 --> unghost has joined #instantbird
19:41:42 --> wnayes has joined #instantbird
19:45:36 <Mic> qheaden: what kind of timer methods are you thinking about?
19:46:23 <qheaden> Mic: Nothing special. I'm currently using setTimeout, which works well. Was just wondering if jsProtoHelper provide that functionality.
19:46:33 * qheaden didn't want to reinvent anything.
19:47:29 <Mic> That's the method from imXPCOMUtils then?
19:49:38 <qheaden> Yeah.
20:06:10 <flo-retina> qheaden: jsProtoHelper doesn't, but socket.jsm does.
20:06:23 <-- nhnt11 has quit (Input/output error)
20:07:06 --> nhnt11 has joined #instantbird
20:12:58 <qheaden> flo-retina: Ahh yes. That's what I was looking for. :)
20:13:08 <flo-retina> :)
20:14:05 <qheaden> flo-retina: There should be a way to change the timer frequency. It seems to be hard coded to 2 minutes. :-/
20:14:20 <qheaden> I think that is best for another bug.
20:14:26 <flo-retina> that would surprise me
20:14:44 <qheaden> http://lxr.instantbird.org/instantbird/source/chat/modules/socket.jsm#275
20:26:50 <qheaden> flo-retina: Can the GenericAccountPrototype observe method receive account-connected events?
20:26:57 <qheaden> I see they are sent to imAccount
20:41:49 --> EionRobb has joined #instantbird
20:42:19 <flo-retina> qheaden: why would it want to observe that?
20:42:47 <qheaden> flo-retina: I need to know when I am connected so I can start the ping timers.
20:42:48 <flo-retina> (it seems strange for an object to observe the notifications it sent itself)
20:43:36 <flo-retina> qheaden: http://lxr.instantbird.org/instantbird/source/chat/protocols/yahoo/yahoo-session.jsm#353
20:44:24 <qheaden> flo-retina: Yeah, I just added another call in that method to a new method, YahooAccount.onLoginComplete.
20:44:41 <qheaden> I wanted to use a callback within YahooAccount so that I won't have to add extra methods to manipulate the timers.
20:58:54 <qheaden> flo-retina: Looks like I need setInterval, but it isn't defined for code in yahoo.js. What do I need to import?
20:59:10 <qheaden> I see that the Ib code doesn't use setInterval much.
20:59:16 <flo-retina> it doesn't exist
20:59:52 <qheaden> :(
21:00:13 <qheaden> So I guess I'll create an interval by setting the timer again in the timer callback.
21:04:14 <-- Suiseiseki has quit (Ping timeout)
21:05:29 --> Suiseiseki has joined #instantbird
21:08:28 <Mic> Good night!
21:09:11 <flo-retina> Mic: good night :)
21:10:05 <Mic> qheaden: nsITimer supports other kinds of timers, repeating ones among them iirc. Look at MDN. I'm not sure if we want to use such a way over setting a new timeout. Talk to flo ;)
21:12:03 <-- Mic has quit (Quit: Instantbird -- http://www.instantbird.com)
21:30:02 --> florian has joined #instantbird
21:34:03 <-- qlum has quit (Quit: Getting the <censored> out.)
21:41:49 <qheaden> flo-retina: It looks like nsITimer is great for my needs https://developer.mozilla.org/en-US/docs/XPCOM_Interface_Reference/nsITimer
21:41:58 <qheaden> Do you have anything against using it?
21:42:13 <flo-retina> no, as long as you don't forget to clean it up :)
21:42:58 <qheaden> :)
21:56:49 <-- nhnt11 has quit (Quit: Instantbird 1.5a1pre -- http://www.instantbird.com)
21:57:09 <qheaden> flo-retina: What do you think of this line wrapping? http://pastebin.instantbird.com/316032
21:57:17 <qheaden> It looks a bit messy. I'm not sure what is the best way to wrap it.
21:58:55 <flo-retina> I would write it like this: http://pastebin.instantbird.com/316033
22:00:34 --> nhnt11 has joined #instantbird
22:00:44 <qheaden> Okay.
22:01:34 <flo-retina> are you sure you want REPEATING_PRECISE ?
22:02:06 <flo-retina> http://mxr.mozilla.org/mozilla-central/source/xpcom/threads/nsITimer.idl#79 sounds scary ;)
22:02:14 <-- nhnt11 has quit (Ping timeout)
22:03:39 <qheaden> Yeah, I think I better use SLACK
22:07:33 <instantbot> New Instantbird (UI) bug 2147 filed by florian@instantbird.org.
22:07:34 <instantbot> florian@instantbird.org requested feedback from aleth@instantbird .org for attachment 2813 on bug 2147.
22:07:35 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=2147 nor, --, ---, nobody, NEW, Bubbles' last message sometimes doesn't auto-scroll
22:10:49 * qheaden wonders why we must send ping and keepalive packets
22:11:16 * qheaden sees them as synonymous 
22:12:47 <flo-retina> that seems strange
22:13:27 <qheaden> What isn't strange in the Yahoo Messenger protocol? :P
22:13:45 <qheaden> Something tells me most of this weirdness is caused by legacy support.
22:16:55 <instantbot> New Core - General bug 2148 filed by unghost@gmail.com.
22:16:59 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=2148 nor, --, ---, nobody, UNCO, Remove VKontakte protocol
22:17:06 <-- unghost has quit (Quit: Ухожу я от вас (xchat 2.4.5 или старше))
22:23:53 <instantbot> qheaden@phaseshiftsoftware.com requested review from clokep@gmail.com for attachment 2814 on bug 2102.
22:24:01 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=2102 nor, --, ---, qheaden, ASSI, Support Server Pings
23:20:55 --> clokep has joined #instantbird
23:20:55 * ChanServ sets mode +o clokep 
23:22:37 <-- clokep has quit (Ping timeout)