#instantbird log on 04 25 2014

All times are UTC.

00:23:32 --> Mic has joined #instantbird
00:23:32 * ChanServ sets mode +o Mic 
00:35:43 <-- Mic has quit (Quit: Instantbird -- http://www.instantbird.com)
00:50:40 --> rosonline has joined #instantbird
01:02:54 <-- rosonline has quit (Client exited)
01:09:51 <-- Mook_as has quit (Quit: Mook_as)
02:24:40 <-- ivan has quit (Ping timeout)
02:25:07 <-- sukhe has quit (Ping timeout)
02:28:53 --> sukhe has joined #instantbird
02:30:06 <-- clokep has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
02:31:21 --> ivan has joined #instantbird
02:33:53 <instantbot> New Instantbird - Conversation bug 1001251 filed by iop_jr@yahoo.com.
02:33:54 <instantbot> Bug https://bugzilla.mozilla.org/show_bug.cgi?id=1001251 nor, --, ---, nobody, UNCO, Urls ending with hyphen are not linkified correctly
02:51:35 --> Mook has joined #instantbird
03:08:44 --> mconley has joined #instantbird
03:19:16 <-- wnayes has quit (Quit: wnayes)
03:27:49 <instant-buildbot> build #2122 of macosx-nightly-default is complete: Success [3build successful]  Build details are at http://buildbot.instantbird.org/builders/macosx-nightly-default/builds/2122
03:39:52 --> mayanktg has joined #instantbird
03:51:49 <instant-buildbot> build #1342 of win32-nightly-default is complete: Success [3build successful]  Build details are at http://buildbot.instantbird.org/builders/win32-nightly-default/builds/1342
03:55:52 <-- mconley has quit (Input/output error)
03:56:20 --> mconley has joined #instantbird
03:58:05 <-- mconley has quit (Ping timeout)
04:26:15 <-- nhnt11 has quit (Ping timeout)
04:27:58 --> nhnt11 has joined #instantbird
04:56:36 --> mconley has joined #instantbird
05:02:40 <-- mconley has quit (Ping timeout)
05:04:42 <-- Rym has quit (Ping timeout)
05:08:23 * Fallen|away is now known as Fallen
05:17:38 * Fallen is now known as Fallen|away
05:17:50 <-- dew has quit (Ping timeout)
05:20:33 <-- mayanktg has quit (Client exited)
05:21:09 * Fallen|away is now known as Fallen
05:28:32 --> mayanktg has joined #instantbird
05:43:54 * Fallen is now known as Fallen|away
06:09:03 <-- Mook has quit (Quit: Mook)
06:11:10 <-- nhnt11 has quit (Ping timeout)
06:28:15 --> nhnt11 has joined #instantbird
06:42:43 * Fallen|away is now known as Fallen
06:47:41 --> Mic has joined #instantbird
06:47:41 * ChanServ sets mode +o Mic 
06:59:27 --> dew has joined #instantbird
07:00:53 <Mic> mayanktg: I won't be here during the day most likely.
07:01:06 <Mic> Don't hesitate to ask the others if you're blocked.
07:01:29 * Fallen is now known as Fallen|away
07:02:19 <mayanktg> Mic: np. I'm giving another try, I'll ask if I get get stuck again. 
07:07:21 <-- mayanktg has quit (Ping timeout)
07:09:45 --> mayanktg has joined #instantbird
07:35:39 <-- nhnt11 has quit (Ping timeout)
07:37:54 <Mic> mayanktg: knowing about the data URI stuff, "atob" for converstion and a file writing example should be OK to get started.
07:40:17 <mayanktg> Mic: Ok. I first decoding the string and then using it to write file to disc Ok
07:51:49 * Fallen|away is now known as Fallen
08:04:02 --> flo-retina has joined #instantbird
08:04:02 * ChanServ sets mode +qo flo-retina flo-retina 
08:10:10 * Fallen is now known as Fallen|away
08:11:07 * flo-retina was away only 2 evenings + 1 day, and has 60+ unread email conversations to catch up with :-/
08:21:23 <flo-retina> https://developer.mozilla.org/en-US/docs/Introduction seems quite good :)
08:24:22 * flo-retina wants instantbot logs to use Bubbles :-]
08:37:21 <-- Mic has quit (Quit: Instantbird -- http://www.instantbird.com)
08:40:10 <flo-retina> aleth: http://log.bezut.info/instantbird/140424/#m204 "what the problem with "make a generator function out of a function if it contains yield" was though" -> It was very as a developer to not notice there was a yield, and call it like a function, then scratch one's head for hours wondering why NOTHING happens and no error is thrown.
08:40:43 * flo-retina has wasted time that way will trying to dig into gloda :-/
08:50:41 <flo-retina> clokep: http://log.bezut.info/instantbird/140424/#m380 "Yeah, why did we choose a gesture that's already used by the OS?" It was the _only_ gesture at the 10.5 (and maybe 10.6) time. And the OS didn't use it, only Safari and a few other apps (Preview?) used them.
08:51:53 <flo-retina> clokep: "Anyone else getting "The integrity of the update could not be verified" issues?" frequently happens to me after Ib is done downloading a complete update that had no reason to be downloaded (a partial update was available)
08:52:01 <flo-retina> never been able to figure out the cause though :(
09:00:59 <flo-retina> random thoughts/questions vaguely directed at Mic and mayanktg: have you 2 already discussed using OS.File to save the user image? Is encoding to base64 and then decoding really needed? If you already have the image displayed in an <img> tag, you can likely use a code similar to what the "Save Image as…" code of the Firefox context menu does.
09:07:13 --> sonny has joined #instantbird
09:20:15 <mayanktg> flo-retina: I'm displaying the iamge in the <img> tag. You mean directly saving the image in profile directory using code similar to "save image as..."?
09:20:23 <mayanktg> *image
09:20:26 <flo-retina> yes
09:24:49 <mayanktg> flo-retina: ok. http://mxr.mozilla.org/mozilla-central/source/browser/base/content/nsContextMenu.js#1273 is this the code for the same?
09:25:13 <flo-retina> yes
09:25:23 <flo-retina> looks like it's using a data url for the canvas case
09:25:39 <flo-retina> so maybe this is the right thing to do after all :)
09:25:57 <mayanktg> ok thanks :) 
09:26:07 <flo-retina> it uses a saveImageURL function at http://mxr.mozilla.org/mozilla-central/source/toolkit/content/contentAreaUtils.js#89
09:26:14 <flo-retina> it's in toolkit, so you can just re-use it
09:27:15 <flo-retina> hmm, that function may be too complicated for your use case
09:27:40 <mayanktg> ok.
09:29:10 * Fallen|away is now known as Fallen
09:29:27 <flo-retina> looks like it's using http://mxr.mozilla.org/mozilla-central/source/embedding/components/webbrowserpersist/public/nsIWebBrowserPersist.idl
09:29:37 <flo-retina> I wonder if that stuff is relevant for FileLink :)
10:02:20 --> Rym has joined #instantbird
10:14:53 --> mpmc has joined #instantbird
10:15:30 <-- sonny has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
10:15:36 --> sonny has joined #instantbird
10:23:42 --> clokep has joined #instantbird
10:23:42 * ChanServ sets mode +o clokep 
10:26:07 --> aleth has joined #instantbird
10:26:07 * ChanServ sets mode +o aleth 
10:27:49 <clokep> What stuff?
10:28:31 <flo-retina> clokep: the nsIWebBrowserPersist
10:28:43 <flo-retina> it seems to handle plenty of things related to saving asynchronously
10:28:54 <flo-retina> but it may be overcomplicated for our purpose
10:30:06 * clokep sent you a memoserv yesterday.
10:34:52 <flo-retina> yes
10:34:58 <flo-retina> I queued that in my todo list
10:35:03 * flo-retina is still dealing with unread emails
10:35:07 <-- clokep has quit (Ping timeout)
10:35:49 --> clokep has joined #instantbird
10:35:49 * ChanServ sets mode +o clokep 
10:36:14 <clokep> :)
10:36:29 * flo-retina didn't know such a UI existed on bugzilla: https://bugzilla.mozilla.org/page.cgi?id=user_activity.html&action=run&who=florian%40queze.net&from=2014-04-23&to=2014-04-25&sort=when
10:37:27 <aleth> That's very fine-grained
10:37:46 <-- mpmc has quit (Ping timeout)
10:38:30 --> mpmc has joined #instantbird
10:43:52 <aleth> flo-retina: Thanks for the explanation re the function* star, makes sense.
10:46:42 <clokep> aleth: The link including a trailing >; is an entirely different situation about how we convert entities.
10:47:01 <clokep> The link not including the - is probably just that the link finding code doesn't find it, whether that's correct or not. I don't know.
10:47:23 <aleth> clokep: I think both situations are about how we (or rather the mozilla code we call) converts entities
10:47:51 <clokep> aleth: bug 954848
10:47:54 <instantbot> Bug https://bugzilla.mozilla.org/show_bug.cgi?id=954848 nor, --, ---, nobody, NEW, angle bracket-delimited URL linkified with closing bracket included in link and semi-colon appended 
10:47:55 <aleth> Or maybe I am misunderstanding what you mean by that
10:48:48 <clokep> That bug explains what I said
10:48:48 <aleth> Hmm, interesting.
10:50:32 <aleth> And likely hard to fix.
10:58:15 <-- clokep has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
11:08:48 <flo-retina> yeah, it's likely painful to fix
11:14:32 * Fallen is now known as Fallen|away
11:19:52 <-- mpmc has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
11:29:42 <-- sonny has quit (Ping timeout)
11:31:25 --> nhnt11 has joined #instantbird
11:32:02 --> mconley has joined #instantbird
11:33:48 <-- mconley has quit (Ping timeout)
11:39:29 <-- Rym has quit (Ping timeout)
11:47:51 <-- nhnt11 has quit (Ping timeout)
11:54:42 --> clokep_work has joined #instantbird
11:54:42 * ChanServ sets mode +o clokep_work 
11:55:31 <-- clokep_work has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
11:58:49 --> clokep_work has joined #instantbird
11:58:49 * ChanServ sets mode +o clokep_work 
12:15:34 <-- aleth has quit (Ping timeout)
12:18:22 --> aleth has joined #instantbird
12:18:22 * ChanServ sets mode +o aleth 
12:37:59 <-- mayanktg has quit (Ping timeout)
12:39:45 --> mayanktg has joined #instantbird
12:42:42 --> nhnt11 has joined #instantbird
12:42:53 <nhnt11> Hi
12:44:46 <instantbot> New Instantbird - Contacts window bug 1001388 filed by kantsuris@gmail.com.
12:44:47 <instantbot> Bug https://bugzilla.mozilla.org/show_bug.cgi?id=1001388 nor, --, ---, nobody, UNCO, What off status on contact list ?
12:45:43 <nhnt11> aleth: Sorry for the super late response, but I discovered bug 999677 on a nightly from April 8th, then updated to a recent one and it was still there.
12:45:45 <instantbot> Bug https://bugzilla.mozilla.org/show_bug.cgi?id=999677 nor, --, ---, nobody, NEW, Errors when deleting a buddy with whom a conversation is open.
12:45:56 <nhnt11> Looks like you already figured out that it's not a regression though so...
12:45:58 <nhnt11> *shrug*
12:46:12 <aleth> nhnt11: yeah, like I said in my email, it no longer matters ;)
12:46:39 <nhnt11> "it no longer matters" - it=?
12:46:51 <nhnt11> whether I was on a recent nightly?
12:47:24 <aleth> Right. (You must have been, for the bug to be noticed that way)
12:47:39 <nhnt11> Cool cool.
12:47:54 <nhnt11> flo-retina: My GSoC blog this time will be on http://nhnt11.com/blog
12:48:05 <nhnt11> Er, I'll send an email saying that as well
12:49:07 <flo-retina> nhnt11: oh, lazy friends are no longer lazy? ;)
12:49:25 <nhnt11> I just had to nag him enough :P
12:49:34 <flo-retina> heh :)
12:51:37 <clokep_work> nhnt11, aleth: Didn't you guys want to catch up? Did that happen already?
12:51:44 * clokep_work needs to add all these blogs to his RSS feeds. :(
12:51:58 <nhnt11> Well, aleth said in his email that he just wanted to say hi, so I guess it did happen ;)
12:53:30 <aleth> I have other things I could say too but those can wait until nhnt11 actually has time to do things ;)
13:00:54 <nhnt11> aleth: Well I'm free for a bit to talk about stuff if you want.
13:03:17 <clokep_work> aleth: Congrats on your dumbmake.
13:03:47 <aleth> clokep_work: Let's see if it proves useful...
13:03:49 * nhnt11 Googles "dumbmake"
13:03:57 <clokep_work> I've had it in my queue, so that's useful, right?
13:04:01 <clokep_work> nhnt11: I doubt that will help much.
13:04:07 <aleth> nhnt11: It's a patch that makes 'mach build <folder>' work.
13:04:18 <aleth> in particular "mach build im" ;)
13:04:21 <nhnt11> clokep_work: It did, ""dumbmake" is the feature that makes "mach build foo/bar" sometimes
13:04:21 <nhnt11> rebuild some other directories as well. For example, "mach build gfx" will
13:04:22 <nhnt11> build gfx, as well as toolkit/library. " ;)
13:04:46 <nhnt11> aleth: Cool (I think :P)
13:04:50 <aleth> So, basically it does an incremental build.
13:04:55 * Fallen|away is now known as Fallen
13:05:41 <aleth> nhnt11: Do you have any thoughts on how to best start the project?
13:06:11 <nhnt11> aleth: I have a patch in my queue to change some of the stuff in logger.js to use OS.File
13:06:15 <aleth> I was thinking it might be useful to take a look at logger.js and make it async and add tests.
13:06:21 <aleth> Excellent :D
13:06:27 <nhnt11> Ah :)
13:07:16 <aleth> This might be useful: http://dutherenverseauborddelatable.wordpress.com/2014/02/05/is-my-data-on-the-disk-safety-properties-of-os-file-writeatomic/
13:07:26 <aleth> And also this: http://dutherenverseauborddelatable.wordpress.com/2014/02/14/shutting-down-things-asynchronously/
13:08:21 * nhnt11 adds those to his to-read list
13:08:29 <nhnt11> Interesting
13:08:48 <nhnt11> That looks like it could be official documentation
13:08:59 <aleth> It's just well written ;)
13:09:40 <clokep_work> TESTS!
13:09:53 <nhnt11> clokep_work: Electronics ones first :P
13:09:58 * aleth already said tests ;)
13:10:08 <aleth> though not in CAPITAL LETTERS
13:10:39 --> sonny has joined #instantbird
13:11:06 <flo-retina> TESTS!!!
13:11:36 <aleth> nhnt11: Actually come to think of it, it might be useful to take Yoric's blog and read some of the preceding posts too, it has some nice entries on async I/O
13:12:14 <nhnt11> aleth: Noted.
13:12:15 * aleth awaits xpcshell electronic tests
13:18:05 <aleth> While I'm sharing links to Yoric's blog, here's one for mayanktg ;) http://dutherenverseauborddelatable.wordpress.com/2013/10/18/copying-streams-asynchronously/
13:19:35 <aleth> But I'm not as sure it'll be helpful in that case.
13:27:11 <flo-retina> nhnt11: don't hesitate to talk to Yoric if you have questions anyway :)
13:33:19 <-- mayanktg has quit (Ping timeout)
13:35:40 --> mayanktg has joined #instantbird
13:36:21 <clokep_work> *TESTS!!!*
13:36:31 <clokep_work> I'd make the found bigger, but Instantbird doesn't support text formatting. ;)
13:36:47 <aleth> Put it in the topic?
13:39:19 <-- aleth has quit (Ping timeout)
13:40:28 <-- BWMerlin has quit (Quit: BWMerlin)
13:41:05 --> aleth has joined #instantbird
13:41:05 * ChanServ sets mode +o aleth 
13:48:38 <clokep_work> Our topic is maxed out. :)
13:49:47 * Fallen is now known as Fallen|away
13:53:52 <mayanktg> clokep_work, aleth: thanks for that link. I read the JavaScript part. Couldn't understand much about how I can use is it my case. 
13:54:11 <mayanktg> clokep_work: tagged you by mistake :-/
13:54:22 <clokep_work> And again! :P
13:54:25 <clokep_work> Which link was this?
13:54:39 <mayanktg>  http://dutherenverseauborddelatable.wordpress.com/2013/10/18/copying-streams-asynchronously/
13:55:09 <aleth> mayanktg: "in any case in which you can replace NetUtil.asyncCopy with OS.File.copy, you should pick the latter, which is both simpler and faster."
13:55:18 <aleth> Can you use OS.File.copy in your case?
13:56:36 <mayanktg> I don't know. :-/
13:56:42 <aleth> I don't either ;)
13:56:44 <aleth> https://developer.mozilla.org/en-US/docs/JavaScript_OS.File/OS.File_for_the_main_thread
13:57:53 <mayanktg> I was trying to implement it using the "Save Image As..." method for storing images in the directory flo mentioned.
13:59:22 --> iamjayakumars has joined #instantbird
14:20:38 --> mconley has joined #instantbird
14:29:23 * clokep_work would be curious what code mayanktg is using now. :-\
14:30:59 <-- sonny has quit (Ping timeout)
14:31:16 <mayanktg> clokep_work: I'm all confused my self :-/  I'm using the http://mxr.mozilla.org/mozilla-central/source/browser/base/content/nsContextMenu.js#1273 . I will post my progress until now by tomorrow.
14:32:33 <-- nhnt11 has quit (Ping timeout)
14:32:36 <mayanktg> I have a practical exam and viva tomorrow. I'll be back in second half of the day. :)
14:33:17 --> nhnt11 has joined #instantbird
14:33:45 <flo-retina> "I will post my progress until now by tomorrow." why aren't you pastebining a diff now to help clokep help you? :)
14:34:06 <-- aleth has quit (Ping timeout)
14:34:20 <flo-retina> unless you've got to go right now of course
14:39:28 --> sonny has joined #instantbird
14:44:25 <clokep_work> I agree. :)
14:44:39 <clokep_work> Pastebins are cheap.
14:44:42 <clokep_work> Almost free.
14:45:18 --> wnayes has joined #instantbird
14:54:36 <qheaden_away> Hello.'
14:54:51 * qheaden_away is now known as qheaden
14:55:03 <clokep_work> Hello!
14:55:27 --> sabret00the has joined #instantbird
15:01:24 <-- mayanktg has quit (Client exited)
15:04:07 --> Rym has joined #instantbird
15:20:16 <-- Suiseiseki has quit (Ping timeout)
15:22:59 <-- flo-retina has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
15:25:07 <instantbot> ryanvm@gmail.com changed the Resolution on bug 986411 from --- to FIXED.
15:25:09 <instantbot> Bug https://bugzilla.mozilla.org/show_bug.cgi?id=986411 nor, --, ---, aleth, RESO FIXED, Add dumbmake-dependencies entries for easier Instantbird incremental builds.
16:32:33 <-- nhnt11 has quit (Ping timeout)
16:46:45 --> Mook_as has joined #instantbird
16:57:18 <-- Rym has quit (Ping timeout)
16:57:36 --> Rym has joined #instantbird
17:25:51 <clokep_work> flo-retina: Yous ee that tb-planning thread?
17:29:51 <-- iamjayakumars has quit (Quit: )
17:39:49 --> Armada has joined #instantbird
17:40:10 <clokep_work> For those who don't follow tb-planning... http://googleonlinesecurity.blogspot.co.uk/2014/04/new-security-measures-will-affect-older.html
17:40:28 <clokep_work> Pretty much they're going to start forcing OAuth 2.0 usage for IMAP, SMTP, POP, XMPP, CalDAV and CardDAV.
18:04:22 <-- Armada has quit (Connection reset by peer)
18:04:33 --> Armada has joined #instantbird
18:18:31 --> nhnt11 has joined #instantbird
18:39:35 --> Vigilante has joined #instantbird
18:59:48 <-- clokep_work has quit (Ping timeout)
19:45:56 --> clokep has joined #instantbird
19:45:56 * ChanServ sets mode +o clokep 
19:54:09 --> Suiseiseki has joined #instantbird
20:14:45 <clokep> Hm....what as everyone's blogs again?
20:14:46 <clokep> nhnt11: ^
20:14:52 <clokep> sawrubh: ^
20:14:55 <nhnt11> clokep: nhnt11.com/blog
20:18:42 <clokep> Does it have RSS? :P
20:19:42 <clokep> Ah, it does, but it's broken.
20:24:42 <nhnt11> Should be working now
20:27:18 <clokep> Thanks.
20:29:13 <-- mconley has quit (Quit: NO CARRIER)
20:38:25 <clokep> nhnt11: Is your OS.FILE patch up somewhere?
20:39:23 <nhnt11> No
20:39:32 <nhnt11> I really don't even remember how many changes I made
20:39:36 <nhnt11> let me check really quick
20:42:18 <nhnt11> :S
20:42:24 <nhnt11> Apparently it's not in my queue....
20:43:02 <nhnt11> I could have sworn I had started rewriting some stuff in logger.js... Maybe I forgot to qref :S
20:43:04 <clokep> Uh oh!
20:43:15 <clokep> NBD was just curious. :)
20:43:18 <nhnt11> Oh well... it nothing substantial anyway.
20:43:18 <clokep> Sounded better than ironing...
20:44:37 <nhnt11> :P
20:53:15 --> mconley has joined #instantbird
21:10:40 <-- Mook_as has quit (Quit: Mook_as)
21:13:19 <-- clokep has quit (Connection reset by peer)
21:13:21 --> clokep has joined #instantbird
21:13:22 * ChanServ sets mode +o clokep 
21:44:32 <-- mconley has quit (Input/output error)
21:58:12 <-- sonny has quit (Ping timeout)
22:23:01 <-- clokep has quit (Ping timeout)
22:23:39 --> mconley has joined #instantbird
22:24:01 --> clokep has joined #instantbird
22:24:01 * ChanServ sets mode +o clokep 
22:29:11 <-- Armada has quit (Connection reset by peer)
22:32:40 --> sonny has joined #instantbird
22:42:48 <-- clokep has quit (Ping timeout)
22:52:02 <-- Rym has quit (Ping timeout)
23:00:18 --> BWMerlin has joined #instantbird
23:03:25 <-- mconley has quit (Input/output error)
23:03:53 --> mconley has joined #instantbird
23:05:37 <-- mconley has quit (Ping timeout)
23:21:38 --> Rym has joined #instantbird