#instantbird log on 05 16 2014

All times are UTC.

00:02:27 <-- hadi has quit (Quit: Instantbird 1.5 -- http://www.instantbird.com)
00:09:12 <-- Vigilante has quit (Quit: Instantbird 1.5 -- http://www.instantbird.com)
00:15:38 <-- flo-retina has quit (Ping timeout)
00:15:45 --> flo-retina has joined #instantbird
00:15:45 * ChanServ sets mode +qo flo-retina flo-retina 
01:15:31 <-- Mook_as has quit (Quit: Mook_as)
01:31:55 <-- flo-retina has quit (Ping timeout)
01:33:59 --> flo-retina has joined #instantbird
01:33:59 * ChanServ sets mode +qo flo-retina flo-retina 
01:37:31 --> CaptainCalliope has joined #instantbird
01:42:13 <-- clokep has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
02:11:39 <instant-buildbot> build #1373 of win32-nightly-default is complete: Failure [4failed compile]  Build details are at http://buildbot.instantbird.org/builders/win32-nightly-default/builds/1373
02:38:43 <-- mconley has quit (Input/output error)
03:09:07 --> mconley has joined #instantbird
03:15:18 <-- mconley has quit (Ping timeout)
03:20:57 --> mayanktg has joined #instantbird
03:23:53 <mayanktg> Mic: hello
03:25:52 --> mconley has joined #instantbird
03:29:58 <instant-buildbot> build #2147 of macosx-nightly-default is complete: Success [3build successful]  Build details are at http://buildbot.instantbird.org/builders/macosx-nightly-default/builds/2147
03:32:04 <-- Rym has quit (Ping timeout)
03:37:25 <mayanktg> contentWindow contains a windowID. How can I get it?Is it the ID defined in <window> i.e."blistWindow"  https://mxr.mozilla.org/mozilla-central/source/webapprt/WebRTCHandler.jsm#16 . Please help
03:40:38 <-- mconley has quit (Input/output error)
03:42:09 <mayanktg> Pastebin of the function : http://pastebin.instantbird.com/709024
03:45:41 <-- mayanktg has quit (Ping timeout)
03:46:01 --> mayanktg has joined #instantbird
04:04:00 <-- CaptainCalliope has quit (Quit: CaptainCalliope)
04:21:57 --> mconley has joined #instantbird
04:38:21 <-- mayanktg has quit (Ping timeout)
04:38:47 --> mayanktg has joined #instantbird
04:49:11 <-- mconley has quit (Input/output error)
05:22:32 <-- wnayes has quit (Quit: wnayes)
05:22:58 <-- mpmc has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
05:23:38 <-- mayanktg has quit (Ping timeout)
05:24:35 --> mayanktg has joined #instantbird
05:32:28 <-- EionRobb has quit (Quit: Leaving.)
05:32:53 --> EionRobb has joined #instantbird
05:54:49 <-- mayanktg has quit (Ping timeout)
05:55:11 --> mayanktg has joined #instantbird
05:57:32 --> Mic|mobile has joined #instantbird
05:57:53 <Mic|mobile> Hello
05:58:52 <Mic|mobile> Mayanktg: what are you trying to do with the file that you linked to?
06:00:12 <mayanktg> Mic|mobile: I'm using it as a reference to create function to detect camera and then disable the "take image" button if no camera is found
06:01:19 <Mic|mobile> Ok
06:04:37 <mayanktg> How should I define the variable contentWindow? Line 16 of the pastebin. 
06:05:59 <mayanktg> Or probbably just tell how to make it run :-| I have put enough time on it and hopeless I will get it right 
06:08:53 <Mic|mobile> Ok, I can have a look. Will take 5 minutes before that, though
06:09:43 <mayanktg> ok
06:14:13 --> Mic has joined #instantbird
06:14:13 * ChanServ sets mode +o Mic 
06:16:29 --> gerard-majax__ has joined #instantbird
06:21:30 <-- EionRobb has quit (Quit: Leaving.)
06:25:37 <-- mayanktg has quit (Ping timeout)
06:25:54 --> mayanktg has joined #instantbird
06:30:16 * Fallen|away is now known as Fallen
06:30:58 <-- gerard-majax__ has quit (Ping timeout)
06:52:35 * Mic is stupid :S
06:56:43 <Mic> hmm, or not? :S
06:57:21 <mayanktg> did you figure out what needs to be done?
06:58:17 <mayanktg> No! You always solve my problems :) :D
06:59:58 <-- mayanktg has quit (Ping timeout)
07:00:39 --> mayanktg has joined #instantbird
07:05:48 <Mic> Sorry that this took so long, I've been doing stupid things...
07:05:49 <Mic> http://pastebin.instantbird.com/709155
07:06:43 <Mic> This is listing audio devices at the moment (I've no cam connected at the moment)!
07:07:23 <Mic> This will run on the console in Fx but should be easily adapted for your purposes.
07:07:33 <mayanktg> thanks :)
07:07:48 <Mic> You'll need to filter the list of devices for video devices (d.type == "video").
07:08:00 <mayanktg> I'ok
07:08:45 <mayanktg> * I'll modify it. ok :) 
07:12:30 <Mic> http://pastebin.instantbird.com/709176
07:16:38 <Mic> mayanktg: ^
07:17:21 <Mic> That's a short way of filtering the list.
07:19:14 <-- mayanktg has quit (Ping timeout)
07:22:23 * Fallen is now known as Fallen|away
07:29:48 * Fallen|away is now known as Fallen
07:32:39 --> mayanktg has joined #instantbird
07:35:12 <-- mayanktg has quit (Ping timeout)
07:35:26 --> sonny has joined #instantbird
07:40:56 --> mayanktg has joined #instantbird
07:42:02 <mayanktg> Mic: do we need to import any utils in menus.js?
07:45:01 --> EionRobb has joined #instantbird
07:47:33 <-- sonny has quit (Ping timeout)
07:48:40 <Mic> mayanktg: why / I don't understand the question?
07:48:46 --> gerard-majax__ has joined #instantbird
07:51:14 --> sonny has joined #instantbird
07:51:28 <mayanktg> Mic: for using  nsIMediaDevice? I modified it like this http://pastebin.instantbird.com/709207 but  upon running I think the function isn't evaluated. 
07:52:19 <mayanktg> Mic: running your code in firefox console says "TypeError: navigator.mozGetUserMediaDevices is not a function"
07:53:38 <Mic> hmm :/
07:53:59 <Mic> I need to go but I'll have a look at it on the way.
07:54:14 <-- Mic has quit (Quit: Instantbird -- http://www.instantbird.com)
07:54:29 <mayanktg> Ok
07:56:18 <-- sonny has quit (Ping timeout)
07:59:48 <Mic|mobile> I've run the function in the dev tools console that opens on pressing F12
08:00:02 <Mic|mobile> Maybe that makes a difference?
08:01:51 <mayanktg> Yes. I ran it in the same console. Did it work for you?
08:03:20 <Mic|mobile> Sure, I wouldn't have posted it otherwise.
08:04:27 <-- mayanktg has quit (Ping timeout)
08:05:19 --> mayanktg has joined #instantbird
08:05:22 <mayanktg> Ok :-/
08:06:29 * Fallen is now known as Fallen|away
08:08:53 <-- mayanktg has quit (Ping timeout)
08:09:08 --> mayanktg has joined #instantbird
08:11:10 <Mic|mobile> Could pastebin a diff of everthing, please? Thanks in advance...
08:11:43 <mayanktg> Yes.
08:14:20 <mayanktg> http://pastebin.instantbird.com/709218
08:21:35 <Mic|mobile> Is the navigator object available in the file that you're using it from? I'd guess yes as it said "function not..." and not "object ...".
08:22:49 <-- mayanktg has quit (Ping timeout)
08:23:51 --> mayanktg has joined #instantbird
08:23:59 <Mic|mobile> Imo these methods could be in blist.js anyways, as they're only used on the contact list and not feom the menu.
08:24:01 <mayanktg> How to make sure that the navigator object is available? and the error I pasted was from the fx console 
08:24:21 <mayanktg> Ok
08:26:54 <-- mayanktg has quit (Ping timeout)
08:27:16 --> mayanktg has joined #instantbird
08:28:58 <-- mayanktg has quit (Ping timeout)
08:31:02 --> Armada has joined #instantbird
08:31:40 <Mic|mobile> Bbl
08:31:42 --> mayanktg has joined #instantbird
08:31:45 <-- Mic|mobile has quit (Quit: AndroIRC - Android IRC Client ( http://www.androirc.com ))
08:34:36 --> sonny has joined #instantbird
08:39:39 <-- mayanktg has quit (Ping timeout)
08:39:44 --> mayanktg has joined #instantbird
08:46:51 --> jb has joined #instantbird
08:52:14 --> Mic|web has joined #instantbird
08:52:32 <Mic|web> mayanktg: that's strange. It should just work imo...
08:53:27 <mayanktg> :-| Should I try it in a new Ib build?
08:53:58 <Mic|web> Sad that the documentation on this is so sparse  :S
08:54:07 <Mic|web> What's your Fx version?
08:54:27 <mayanktg>  29.0.1
08:55:22 <Mic|web> hmm, that's mine too, afaik.
08:55:34 <mayanktg> I know. I could just find a gist code on the net for mozGetUserMediaDevices :-/
08:55:35 <Mic|web> I just reproduced the "not a function" problem on Fx 25...
08:56:01 <mayanktg> Maybe I have to enable/disable something in about:config?
08:56:05 <Mic|web> Maybe there's a pref that needs to be flipped?
08:56:10 <Mic|web> Ah, my thoughts :D
08:56:17 <mayanktg> :D
08:56:34 <Mic|web> "media.navigator.enabled" maybe?
08:56:48 <mayanktg> its enabled
08:56:53 <Mic|web> It's already set to true here, though.
08:58:13 <mayanktg> I even tried running the code in the scratchpad
08:58:42 <Mic|web> It didn't run in Scratchpad for me by the way.
08:59:23 <Mic|web> I need to go again, I've got an appointment at 11am (i.e. 'now';) 
08:59:56 <Mic|web> Maybe someone else has an idea?
09:00:07 <Mic|web> nhnt11: ^
09:00:13 <mayanktg> Ok bye :) Until then I will try my patch on a fresh Ib build and try to run yours in FF
09:00:20 <Mic|web> Bye!
09:00:33 <-- Mic|web has quit (Quit: http://www.mibbit.com ajax IRC Client)
09:01:57 <-- dew has quit (Connection reset by peer)
09:02:00 --> dew has joined #instantbird
09:13:16 <flo-retina> mayanktg: having an element with id userIconPanel and one with userIcon-panel is really confusing.
09:13:52 <mayanktg> Ok. I'll change it.
09:15:08 <flo-retina> http://pastebin.instantbird.com/709176 is kinda broken
09:15:17 <flo-retina> filter returns a new array, it doesn't modify it
09:19:33 <mayanktg> What needs to be changed then? But MIc said it detected audio devices.
09:19:34 <flo-retina> mayanktg: what's your current problem?
09:19:53 <flo-retina> mayanktg: Mic only has audio devices, so the broken filtering doesn't change the result
09:21:20 <-- mayanktg has quit (Ping timeout)
09:22:42 --> mayanktg has joined #instantbird
09:22:58 <mayanktg>  the navigator.mozGetUserMediaDevices isn't evaluated. There is no error returned. 
09:22:58 <mayanktg> Is there a problem with my build?
09:23:26 <flo-retina> is "there is no error" and "mozGetUserMediaDevices isn't evaluated" meant to be the same thing?
09:24:00 <mayanktg> yes
09:24:43 <mayanktg> If there had been problem with mozGetUserMediaDevices it should have thrown some error. :-o
09:25:20 <flo-retina> if you have a syntax error in your file, the code may not even go that far
09:25:37 <flo-retina> add a dump or console.log call just before and just after your mozGetUserMediaDevices call
09:25:47 <mayanktg> ok
09:29:06 <mayanktg> Both console.log are evaluated
09:30:28 <mayanktg> does it mean that the ff version I'm using doesn't support mozGetUserMediaDevices?
09:31:44 --> Rym has joined #instantbird
09:41:46 <flo-retina> that means that there's no error :)
09:41:57 <flo-retina> mayanktg: and mozGetUserMediaDevices _is_ evaluated
09:42:15 <flo-retina> now put a console.log call in both the success and the error callback
09:42:47 <mayanktg> Yes. :)
09:42:47 <mayanktg> Ok...
09:43:39 * Fallen|away is now known as Fallen
09:50:53 <mayanktg> :-|
09:51:48 <mayanktg> No messages recorded.
09:53:37 <-- mayanktg has quit (Ping timeout)
09:53:57 <flo-retina> pastebin... ;)
09:55:51 --> mayanktg has joined #instantbird
09:57:12 <mayanktg> http://pastebin.instantbird.com/709299
09:58:50 <mayanktg> sorry I have really bad internet today :-/
10:00:33 <-- mayanktg has quit (Ping timeout)
10:00:44 --> mayanktg has joined #instantbird
10:02:02 <flo-retina> and what's printed/logged?
10:02:23 <flo-retina> the console.log in the success callback needs to be the first line of the callback
10:02:40 <flo-retina> otherwise you don't know if the callback is called and has some broken code, or if the callback isn't called
10:04:15 <mayanktg> the lines above and below the function. ie success 1 success 4
10:05:16 <mayanktg> btw where is the log folder?
10:06:06 <mayanktg> Ok. I'm changing it to the first line of callback
10:10:26 --> BWMerlin has joined #instantbird
10:18:25 <-- mayanktg has quit (Ping timeout)
10:21:01 --> clokep has joined #instantbird
10:21:01 * ChanServ sets mode +o clokep 
10:26:40 <-- flo-retina has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
10:40:49 --> mpmc has joined #instantbird
10:43:10 <-- clokep has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
10:47:06 <-- EionRobb has quit (Quit: Leaving.)
10:54:04 --> flo-retina has joined #instantbird
10:54:04 * ChanServ sets mode +qo flo-retina flo-retina 
11:18:53 --> mayanktg has joined #instantbird
11:19:52 <mayanktg> Mic: you have to set "device.storage.enabled;true" in FF to detect the devices.
11:21:13 <-- Rym has quit (Ping timeout)
11:23:21 * Fallen is now known as Fallen|away
11:27:47 <flo-retina> mayanktg: that seems very unlikely
11:28:46 --> Mic|web has joined #instantbird
11:29:21 <Mic|web> mayanktg: the preference name is surprising ('storage'??) but it indeed fixes the problem on Fx.
11:29:28 <-- mpmc has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
11:30:43 --> mayanktg1 has joined #instantbird
11:31:26 <-- mayanktg has quit (Ping timeout)
11:33:51 <Mic|web> Did that solve your problems, mayanktg1?
11:34:42 <mayanktg1> Mic|web: Nopes :-/ 
11:35:00 <Mic|web> What's the error in IB again?
11:35:23 <mayanktg1> I tried using dump and console log too. The didn't log any output. 
11:35:41 <mayanktg1> There's no error displayed in the error console :-/
11:36:31 <mayanktg1> I should try the patch in some other computer and see if this works.
11:38:46 <-- nhnt11 has quit (Ping timeout)
11:38:57 <mayanktg1> Mic|web: Did you discuss about Bug 1004930? 
11:39:01 <instantbot> Bug https://bugzilla.mozilla.org/show_bug.cgi?id=1004930 enh, --, ---, nobody, NEW, Generic way to add buttons for actions to a conversation
11:39:07 <Mic|web> Components.utils.reportError() should write to the error console. Not sure if "Console" and "dump" work out of the box?
11:39:20 <mayanktg1> OK
11:39:58 <Mic|web> Put the logging at the beginning of functions and methods like flo suggested.
11:40:14 <Mic|web> This way you see if the function is entered at least.
11:40:23 * Mic|web wants to try the remote debugger on this.
11:42:32 <mayanktg1> Yes. I tried them now. The successcallback and errorcallbacks aren't evaluated
11:43:51 <mayanktg1> I get an output in error console for logs just above and just below the mozGetUserMEdiaDevices()
11:43:54 <Mic|web> Can you show me the code as it is now?
11:43:59 <mayanktg1> Yes
11:44:14 <mayanktg1> The function or the complete code?
11:44:50 <Mic|web> The diff
11:46:19 <mayanktg1> http://pastebin.instantbird.com/709380
11:46:30 <Mic|web> Thanks
11:46:42 <mayanktg1> I moved the function to blist.js as you said :)
11:47:47 <Mic|web> It's not ouputting anything?
11:47:50 <Mic|web> Not even "1"?
11:48:07 <Mic|web> Ah, sorry. You only said the callbacks weren't showing output.
11:49:23 <mayanktg1> Its outputing 1 and hello 
11:50:11 <Mic|web> The constraints are for a audio-devices atm?
11:50:42 <Mic|web> (Either way it should show "2" or "4")
11:51:27 <mayanktg1> I changed to audio: true as flo-retina mentioned it has incorrect filter.
11:52:02 <mayanktg1> http://log.bezut.info/instantbird/140516/#m151
11:52:45 <Mic|web> Oops, my mistake :/
11:54:28 * Fallen|away is now known as Fallen
11:54:56 <mayanktg1> aleth said me to read about window.navigator as in the example from webrtcUI.jsm file they use  contentWindow.navigator.mGUMD (http://mxr.mozilla.org/mozilla-central/source/browser/modules/webrtcUI.jsm#74)
11:55:22 <Mic|web> Please try removing everything but a reportError call in both the success and error callbacks.
11:55:37 <mayanktg1> ok
11:56:53 <Mic|web> And make sure the constraints match your system (i.e. search for video if you've got a webcam attached, ..)
12:00:13 <mayanktg1> The functions aren't evaluated 
12:00:20 <mayanktg1> here's the pastebin http://pastebin.instantbird.com/709392
12:01:35 <Mic|web> OK, what does happen when you run it now?
12:02:00 <-- mayanktg1 has quit (Ping timeout)
12:02:00 --> clokep_work has joined #instantbird
12:02:00 * ChanServ sets mode +o clokep_work 
12:03:02 --> mayanktg has joined #instantbird
12:03:26 <mayanktg> The button remains disabled
12:03:47 <mayanktg> and there is no output in the error console
12:03:50 <mayanktg> Maybe we need to get a windowID for the window. I'm not sure though.
12:04:35 <Mic|web> I'm only interested in the output of the error console at the moment.
12:05:25 <mayanktg> May be that's the reason it runs in console but not in scratchpad...
12:05:25 <mayanktg> ok.
12:05:49 <Mic|web> we need to get these functions working. When they do enabling/disabling buttons is easy.
12:06:14 * clokep_work would be curious /what/ navigator is.
12:07:18 <Mic|web> clokep_work: we'd see errors thrown in blist.js in the console, wouldn't we?
12:07:54 <clokep_work> Most likely, but it's worth checking.
12:08:01 <Mic|web> mayanktg: have you set the devices.storage pref in IB too?
12:08:06 <clokep_work> Where was the example you guys are copying?
12:08:19 <mayanktg> Mic: yes.. I did
12:11:30 <Mic|web> clokep_work: this should be working: http://pastebin.instantbird.com/709399
12:11:41 <Mic|web> Rather: this *does* work here.
12:12:49 <clokep_work> "here" being in Instantbird or in the scratchpad? :P
12:13:16 <Mic|web> In Fx console. Scratchpad doesn't work afaik.
12:16:53 <Mic|web> "device.storage.enabled" must be set to "true", but the change doesn't seem to apply immediately. I needed to reload pages or wait a moment for it to work.
12:17:50 <-- BWMerlin has quit (Quit: BWMerlin)
12:18:57 <mayanktg> Mic|web: Yes
12:19:40 <mayanktg> It behaves weirdly :P For one Tab I'm getting a TypeError and for the other I'm getting an output in FF :P
12:20:29 <Mic|web> I need to go again...
12:20:37 <clokep_work> Scratchpad not working doesn't surprise me as you most likely need a window.
12:20:45 <clokep_work> I'd ask flo-retina as he's done a lot of WebRTC stuff.
12:22:52 <Mic|web> bye.
12:22:56 <-- Mic|web has quit (Quit: http://www.mibbit.com ajax IRC Client)
12:23:13 <mayanktg> bye.
12:32:35 <flo-retina> so what's the problem exactly?
12:33:23 <flo-retina> mayanktg: do you have some bluetooth device (microphone, headset, ...) attached to your machine?
12:33:49 <mayanktg> flo-retina: No :-/
12:33:55 <flo-retina> great :)
12:34:14 <flo-retina> (they are known to sometimes cause issues/huge delays in detecting devices)
12:34:53 <mayanktg> flo-retina: The code Mic shared runs in FF but it doesn't for Ib :-/ . The successCallback and Error function doesn't return any output
12:36:00 <mayanktg> But I do get logs just above and below the function is registred in the error console. 
12:36:20 <mayanktg> Does the function is able to identify the window?
12:38:26 <mayanktg> aleth had an idea about it!
12:41:53 <flo-retina> are you trying in an Ib nightly, or in your own build where you have enabled webrtc?
12:42:22 <flo-retina> what's the lastest pastebin of your whole patch?
12:42:28 <flo-retina> (including the console.log)
12:43:45 <mayanktg> flo-retina: in my own build where I enabled webRTC
12:43:58 <mayanktg> Sharing...
12:47:55 <mayanktg> http://pastebin.instantbird.com/709434
12:48:46 <mayanktg> sorry I missed the console log
12:49:08 <flo-retina> Cu.reportError is fine too
12:49:59 <mayanktg> ok.
12:51:07 <-- jb has quit (Ping timeout)
12:52:26 --> jb has joined #instantbird
13:04:27 <-- mayanktg has quit (Ping timeout)
13:04:43 --> mayanktg has joined #instantbird
13:06:32 <-- mayanktg has quit (Ping timeout)
13:07:51 --> mayanktg has joined #instantbird
13:09:51 --> wnayes has joined #instantbird
13:12:50 --> Rym has joined #instantbird
13:20:04 --> Tobin has joined #instantbird
13:24:03 --> Mic|mobile has joined #instantbird
13:25:18 --> aleth has joined #instantbird
13:25:18 * ChanServ sets mode +o aleth 
13:30:00 <Tobin> Hey, I know I haven't been around a for a few years lol and this may be outside the scope of what is normally asked in this channel since it is not InstantBird specific but I am gonna ask anyway because it is kinda important and from what I remember you guys have always been helpful and such.
13:30:42 <flo-retina> hello. Would have been helpful to start with the question ;)
13:30:52 <Tobin> im getting it flo-retina 
13:31:15 <Tobin> I noticed you guys use Remora to drive your addons site which is the previous version of the software AMO used to use before that python mess. I was wondering if there is some general pointing me down the right path in setting up remora nothing in depth just some surface points
13:31:18 <Mic|mobile> Mayanktg: does window.console.log work? 
13:31:46 * aleth suspects "setting up remora" is not something anyone would want to do these days ;)
13:31:51 <flo-retina> Tobin: remora is awful. The "python mess" is likely a lot less messy
13:32:15 <mayanktg> Mic|mobile: No. Ci.error works. I tried window.console.log in the setUserIcon() too. It didn't had any output in console
13:32:49 <mayanktg> sorry Component.utils.error
13:32:51 <Tobin> I considered Zamboni but it is a bit daunting in setup
13:33:05 <clokep_work> Tobin: What project is this for? (Just curious. :))
13:33:12 <Mic|mobile> If it's not working then please remove it or replace it...
13:33:17 <mayanktg> ok
13:33:19 <flo-retina> if there's some explanation about how to set it up, it sounds like it's dramatically easier than remora ;)
13:33:53 <Tobin> well Remora is just php and sql unlike zamboni
13:33:56 <Mic|mobile> Not that it's maybe breaking something because it's not defined or so...
13:34:07 <flo-retina> Tobin: "just" :-D
13:34:14 <Tobin> i know i know lol
13:34:22 <flo-retina> Tobin: there's also a bunch of obscure scripts that need to be run from crontab
13:34:32 <mayanktg> Mic|mobile: Yeah. I missed that in errorCallback
13:35:15 <Tobin> flo-retina: I am glad to see InstantBird in c-c though
13:35:41 <flo-retina> Tobin: If you want to see the stuff we had to fix/tweak in remora, our changes are visible in this repo: http://hg.instantbird.org/websites/remora/shortlog
13:36:16 <Tobin> flo-retina: I have studing the changes yes
13:41:52 <-- Mic|mobile has quit (Connection reset by peer)
13:41:53 --> AndroUser2 has joined #instantbird
13:43:42 <-- AndroUser2 has quit (Ping timeout)
13:51:25 --> AndroUser2 has joined #instantbird
13:54:51 <-- AndroUser2 has quit (Quit: AndroIRC - Android IRC Client ( http://www.androirc.com ))
13:55:19 <clokep_work> Hm, I apparently fixed somethign in there at some point.
13:55:20 <clokep_work> Cool.
13:55:38 <Tobin> well thanks for talking to me flo-retina I shall investigate more
13:55:50 <flo-retina> clokep_work: :)
13:56:22 <flo-retina> clokep_work: you are even the newest commiter, I suspect that makes you the owner :-P.
13:56:36 * clokep_work runs away.
13:58:47 <aleth> clokep, master of remora! ;)
13:59:37 <aleth> sawrubh: So your problems joining devel.pidgin were really due to the XMPP server? I wonder what they did to annoy them...
14:01:50 --> mconley has joined #instantbird
14:02:02 <flo-retina> aleth: it's just possible it's a DNS issue ;)
14:04:12 --> iamjayakumars has joined #instantbird
14:12:36 <aleth> mayanktg: Could you tell me what bit you didn't understand when I tried to explain you what contentWindow was doing yesterday?
14:14:07 <-- mayanktg has quit (Ping timeout)
14:23:27 <-- iamjayakumars has quit (Ping timeout)
14:49:30 --> Mic|mobile has joined #instantbird
15:02:58 <-- Mic|mobile has quit (Quit: AndroIRC - Android IRC Client ( http://www.androirc.com ))
15:06:47 * Fallen is now known as Fallen|away
15:10:58 * Fallen|away is now known as Fallen
15:13:17 <-- sonny has quit (Ping timeout)
15:30:01 --> iamjayakumars has joined #instantbird
15:31:41 --> Vigilante has joined #instantbird
15:33:55 --> sonny has joined #instantbird
15:41:53 <instantbot> New Chat Core - XMPP bug 1011551 filed by aleth@instantbird.org.
15:41:56 <instantbot> Bug https://bugzilla.mozilla.org/show_bug.cgi?id=1011551 enh, --, ---, nobody, NEW, Support XMPP account creation
15:42:38 <flo-retina> I'm surprised we didn't have that bug filed yet
15:44:51 <aleth> So am I
15:45:24 <-- sonny has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
15:46:28 --> sonny has joined #instantbird
15:46:59 <-- jb has quit (Quit: jb)
15:49:08 <aleth> Argh, how did a regression creep in on the status icon in tooltips when there is a user icon set? :-S
15:49:23 <aleth> I'm surprised nobody noticed...
15:52:04 --> jb has joined #instantbird
15:52:50 * Fallen is now known as Fallen|away
15:55:11 <flo-retina> aleth: before getting distracted by another tab, I was typing _righ now_ a question to you asking if you are aware of it / have seen my screenshot a few days ago
15:56:14 <aleth> Oh, I must have missed that in the logs then :-(
15:57:13 <flo-retina> ah, I guess I was more interested in http://i.imgur.com/TsPwqnw.png :-S
15:58:06 <flo-retina> aleth: I mentioned it on May 9 (and nhnt11 should really give us better log searching!) http://log.bezut.info/instantbird/140509/#m194
15:58:30 <-- gerard-majax__ has quit (Ping timeout)
15:58:39 <aleth> I wonder if that's what the moz-appearance was for :P
15:58:41 <flo-retina> and the screenshot is http://i.imgur.com/Ty1aYHn.png
16:06:25 * mconley is now known as mconley|food
16:10:44 <-- flo-retina has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
16:13:46 --> mayanktg has joined #instantbird
16:18:03 <-- mayanktg has quit (Ping timeout)
16:18:26 --> mayanktg has joined #instantbird
16:20:36 <mayanktg> aleth: in that example navigator was a property of the contentWindow. I got confused whether we also needed such a window (its clear now btw that there is no need to mention _window_  :) )
16:23:00 <aleth> mayanktg: The link I gave you was meant to point out that navigator is a property of a window object. The contentWindow code in the example you had used a Services code to get the window object from a window id (you can see window id's in DOM inspector if you look)
16:23:34 <aleth> If you don't need window.navigator then that means navigator must be a variable that is defined in the scope when your function runs.
16:24:03 <-- mayanktg has quit (Ping timeout)
16:24:15 <aleth> Here's a simple way to find out: add a dump(window); and a dump(navigator); and you'll see if they are undefined or not
16:24:21 --> mayanktg has joined #instantbird
16:25:47 <aleth> mayanktg: take a look at the logs to see if you missed anything ;)
16:26:29 <aleth> I think you should try and understand *why* the code works (if it works?) ;)
16:28:43 <-- iamjayakumars has quit (Client exited)
16:29:07 <mayanktg> aleth: Thank you so much. I had to read log twice to understand. Didn't understood it from the docs btw. :) Wait..let me try that.
16:30:03 <aleth> Also make sure you have the js-strict pref set, that gives you useful warnings in the error console.
16:30:40 <mayanktg> ok
16:31:25 <mayanktg> Done :)
16:32:13 --> iamjayakumars has joined #instantbird
16:34:01 <clokep_work> sawrubh: ping
16:35:00 <clokep_work> aleth: Cause it was filed already. ;)
16:35:00 <aleth> mayanktg: So what's the current status of your patch?
16:35:58 <aleth> Does it work?
16:36:08 <aleth> clokep_work: Really? Blame BMO search then ;)
16:36:16 <instantbot> clokep@gmail.com changed the Resolution on bug 1011551 from --- to DUPLICATE.
16:36:18 <instantbot> Bug https://bugzilla.mozilla.org/show_bug.cgi?id=1011551 enh, --, ---, nobody, RESO DUPLICATE, Support XMPP account creation
16:36:23 <-- mayanktg has quit (Ping timeout)
16:36:31 <clokep_work> aleth: I found it immediately. :-\
16:38:09 --> mayanktg has joined #instantbird
16:38:56 <mayanktg> aleth: I was out for dinner. Its still that I'm 
16:38:56 <mayanktg> -> unable to disable the "take image" button as navigator.mozGetUserMediaDevices isn't evaluated
16:38:56 <mayanktg> -> have to add an icon for the close button
16:39:19 <aleth> mayanktg: Can you tell me the result of the two dump's I suggested you add?
16:39:46 --> Mook_as has joined #instantbird
16:42:17 <mayanktg> aleth: Yeah. Wait for a sec I'm getting a TTypeError: Components.utils.error is not a function error. 
16:43:10 <aleth> You want either ...reportError() or just use dump() to write to the terminal.
16:46:27 <mayanktg> oh sorry :-/ it returns [object Navigator] and [object ChromeWindow]
16:46:55 <-- Rym has quit (Ping timeout)
16:47:07 <mayanktg> dump and console.log doesn't write to terminal in this function.
16:47:17 <aleth> Cool, so both of them are defined and are what you would expect.
16:47:34 <aleth> dump() should *always* work as long as the dump pref is set in about:config
16:47:44 <clokep_work> And the code is being called. :)
16:48:01 * clokep_work prefers Cu.reportError, but just use which ever you're comfortable w/.
16:48:12 --> Rym has joined #instantbird
16:48:59 <-- sonny has quit (Ping timeout)
16:49:12 <aleth> mayanktg: Can you show me your current code in a pastebin?
16:49:12 * mayanktg should get a list of pref to set in about:config :D
16:49:24 <aleth> I gave you a list a few weeks ago ;)
16:49:25 <mayanktg> aleth: yes
16:49:34 <mayanktg> I did set them :)
16:50:01 <aleth> Then it should work as long as you start IB from a terminal.
16:50:27 <aleth> Anyway, Cu.reportError is just as good as long as you like the error console ;)
16:52:34 <-- aleth has quit (Quit: exit stage left)
16:53:08 <mayanktg> aleth: http://pastebin.instantbird.com/709605
16:57:14 <clokep_work> That doesn't apply cleanly for me...
17:04:13 * Fallen|away is now known as Fallen
17:05:32 <sawrubh> clokep_work: pong
17:07:38 --> aleth has joined #instantbird
17:07:39 * ChanServ sets mode +o aleth 
17:08:51 <sawrubh> aleth: yo, so I'm not able to conclusively say whether it's because of my XMPP server, but seems like it since I was able to join using my GTalk account
17:09:08 <aleth> Looks like it.
17:09:39 --> mayanktg1 has joined #instantbird
17:09:42 <clokep_work> sawrubh: Just wondering what your status was. :)
17:09:55 <-- mayanktg has quit (Ping timeout)
17:10:02 <aleth> Good to see XMPP bugs starting to be fixed ;)
17:10:17 <sawrubh> clokep_work: chilling out mostly today, saw Spiderman and went out for dinner so nothing much :)
17:10:34 <sawrubh> I'll work on it now, starting in an hour or so
17:10:55 <clokep_work> sawrubh: Just in time for me to leave :P
17:10:55 <-- Rym has quit (Ping timeout)
17:11:18 --> Rym has joined #instantbird
17:11:52 * sawrubh plans to bug aleth ;)
17:11:57 <aleth> mayanktg: Just to check, if you use window.navigator.mozGetUserMediaDevices does that change anything? (It shouldn't really)
17:12:36 <aleth> And you are saying neither of those two callbacks run?
17:12:41 --> gerard-majax__ has joined #instantbird
17:15:11 <-- jb has quit (Ping timeout)
17:17:12 <-- gerard-majax__ has quit (Ping timeout)
17:19:46 <mayanktg1> aleth: using window.navigator.mozGetUserMediaDevices didn't help either. Yes neither errorCallback nor successcallback run :-|
17:20:33 <mayanktg1> I added Cu.reportError() at the start of both the functions. they were not evaluated 
17:20:57 <clokep_work> mayanktg1: Can you point me to that example you're working off of.
17:21:18 <mayanktg1> http://pastebin.instantbird.com/709399
17:21:31 <aleth> Can you add a dump(navigator.mozGetUserMediaDevices) to check the function exists?
17:21:59 <mayanktg1> wait..let me add that..
17:22:29 <aleth> If it doesn't there should already have been an error, so I doubt that's the problem. But let's double check.
17:22:56 * mconley|food is now known as mconley
17:25:04 <-- iamjayakumars has quit (Client exited)
17:25:39 <aleth> clokep_work: Not really exhaustive documentation :-/ http://mxr.mozilla.org/mozilla-central/source/dom/webidl/Navigator.webidl#339
17:26:10 <mayanktg1> I should use dump (window.navigator.mGUMD .............); ) right?
17:26:15 <aleth> Yes
17:26:30 <aleth> Simple way to check the type of something ;)
17:27:20 --> sonny has joined #instantbird
17:28:06 <clokep_work> aleth: It sounds to me like innerWindowID is not actually optional.
17:28:09 <aleth> mayanktg1: Looking at this http://mxr.mozilla.org/mozilla-central/source/dom/webidl/Navigator.webidl#354 I think we should try adding a fourth parameter.
17:28:30 * clokep_work wanted a real example. :P
17:28:33 --> gerard-majax__ has joined #instantbird
17:29:35 <mayanktg1> Where to look for the dump values? terminal...there is none in the error console or the terminal :-/
17:29:53 <aleth> Use Cu.reportError instead of dump if that works for you.
17:30:06 <clokep_work> mayanktg1: If dump doesn't seem to be working for you, whenever any of us say "dump" or "console.log" just use Components.utils.reportError.
17:30:16 <mayanktg1> ok
17:30:24 <clokep_work> mayanktg1: You don't have to exactly use dump when we say it, just something that you know a string will pop up.
17:30:27 <clokep_work> Use alert if you want. :P
17:30:32 <clokep_work> Although that's hard to copy strings from. ;)
17:30:43 <mayanktg1> yeah ;)
17:30:54 <aleth> That's also why I don't like the error console myself ;)
17:32:06 <mayanktg1> returns  "undefined" :-|
17:33:31 <mayanktg1> aleth: should we try using the fourth parameter too?
17:34:48 <aleth> Let's try adding a fourth parameter. We need the inner window ID, which according to MDN is obtainable by window.QueryInterface(Ci.nsIInterfaceRequestor).getInterface(Ci.nsIDOMWindowUtils).currentInnerWindowID
17:35:06 <aleth> This webRTC function seems to be particularly undocumented and hard to use :-/
17:35:14 <mayanktg1> yeah...I read about it last night :D
17:35:43 <aleth> It's weird you're getting undefined for that function though, since you are able to call it without error.
17:36:55 <-- mayanktg1 has quit (Ping timeout)
17:37:15 --> mayanktg has joined #instantbird
17:38:52 <clokep_work> mayanktg: Can you pastebin the code for printing it out?
17:39:01 <-- mayanktg has quit (Ping timeout)
17:41:42 --> mayanktg has joined #instantbird
17:43:16 <aleth> And try the fourth parameter ;)
17:43:39 <-- gerard-majax__ has quit (Ping timeout)
17:44:28 <mayanktg> clokep_work: http://pastebin.instantbird.com/709636 I had to remove " ; " after the navigator.mGUMD(); 
17:44:41 <mayanktg> to make Cu.reportError work
17:44:48 <mayanktg> aleth: yes. I'm trying that
17:45:04 <clokep_work> mayanktg: OK, I don't think that's what aleth wanted you to do.
17:45:10 <aleth> You have to remove the () ! Otherwise you are *calling* the function and the return value gets put there.
17:45:11 <clokep_work> I think he wanted you to do Cu.reportError(window.navigator.mozGetUserMediaDevices)?
17:45:36 <clokep_work> I think we've wasted enough time though and need to talk to someone who knows how to use that function.
17:45:51 <aleth> Yes I did ;) http://log.bezut.info/instantbird/140516/#m458
17:46:37 <mayanktg> :(
17:47:58 <aleth> clokep_work: I agree, if adding the fourth parameter doesn't help,  it's time for mayanktg to ask on #media.
17:48:20 <mayanktg> returns: 
17:48:20 <mayanktg> Error: function mozGetUserMediaDevices() {
17:48:20 <mayanktg>     [native code]
17:48:20 <mayanktg> }
17:49:42 <aleth> Pastebin?
17:49:45 --> mayanktg1 has joined #instantbird
17:49:59 <-- mayanktg has quit (Ping timeout)
17:50:27 <-- mayanktg1 has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
17:50:30 --> mayanktg has joined #instantbird
17:52:45 <Mook_as> clokep_work: alert() is easy to copy strings from, just hit Ctrl+C (cmd+C on mac)
17:53:10 <Mook_as> (the Windows native ones support Ctrl+C too, it just uses the beep that is typically used for errors...)
17:53:37 <mayanktg> aleth: oh sorry I pasted there :P http://pastebin.instantbird.com/709657
17:54:08 <mayanktg> yes I'm going in #media and ask about it 
17:54:14 <aleth> Can you show your current diff?
17:54:20 <mayanktg> ok
17:54:54 <clokep_work> Mook_as: Interesting. Didn't know that. Thanks. :)
17:57:25 <mayanktg> aleth: here's the current diff http://pastebin.instantbird.com/709658 and the complete patch until now http://pastebin.instantbird.com/709659
17:58:16 <aleth> Thanks. So from the Cu.reporError output above, you know mozGetUserMediaDevices is defined (it says it's a function).
17:58:50 <aleth> Now try adding the innerwindowid as the fourth parameter when calling navigator.gUMD
17:59:21 <mayanktg> ok :)
18:03:14 --> quartzjer has joined #instantbird
18:03:55 <mayanktg> http://pastebin.instantbird.com/709670 right? no change :-/
18:04:40 <aleth> You could try Cu.reportError(innerWindowID) to see what is actually returned, but that looks right.
18:05:06 <aleth> I'd say ask on #media how to use that function!
18:05:18 <mayanktg> ok
18:06:43 <mayanktg> Yes I'm asking there, was trying adding the fourth parameter. returns a "6" :D
18:06:46 <aleth> Did you make sure Ci is defined at the top of blist.js? (Ci is Components.interfaces)
18:06:58 <aleth> ah, well if it returns 6, then it must be working ;)
18:07:11 --> mpmc has joined #instantbird
18:09:04 <-- sonny has quit (Client exited)
18:09:06 --> sonny has joined #instantbird
18:10:47 <clokep_work> mayanktg: If you need help formulating a question,w e can help you.
18:12:45 <-- mayanktg has quit (Ping timeout)
18:14:19 --> mayanktg has joined #instantbird
18:14:25 <mayanktg> clokep_work: " Hello Everyone. Can someone please guide me in using mozGetUserMediaDevices() . We are trying to detect video devices but the function | window.navigator.mozGetUserMediaDevices | isn't evaluated. Here's the pastebin http://pastebin.instantbird.com/709672 . "
18:14:52 <clokep_work> mayanktg: Reasonable enough.
18:15:03 <aleth> I'd replace "isn't evaluated" with "none of the callbacks are called"
18:15:48 <aleth> But it's fine :) Lets hope someone responds quickly ;)
18:16:09 <-- mayanktg has quit (Ping timeout)
18:17:32 --> mayanktg has joined #instantbird
18:18:53 <-- aleth has quit (Ping timeout)
18:19:45 <-- clokep_work has quit (Ping timeout)
18:22:56 <-- sonny has quit (Ping timeout)
18:30:00 <-- mayanktg has quit (Ping timeout)
18:30:19 --> mayanktg has joined #instantbird
18:48:12 --> sonny has joined #instantbird
19:00:10 <-- sonny has quit (Ping timeout)
19:01:38 <-- micahg has quit (Ping timeout)
19:02:03 <-- mayanktg has quit (Ping timeout)
19:02:24 --> mayanktg has joined #instantbird
19:09:36 --> sonny has joined #instantbird
19:12:49 <-- Rym has quit (Ping timeout)
19:14:27 --> Rym has joined #instantbird
19:33:01 <-- mayanktg has quit (Ping timeout)
19:33:23 --> mayanktg has joined #instantbird
19:48:45 <-- mayanktg has quit (Ping timeout)
19:49:07 --> mayanktg has joined #instantbird
19:55:46 <-- quartzjer has quit (Quit: Leaving.)
19:58:49 <-- mayanktg has quit (Ping timeout)
19:59:46 --> mayanktg has joined #instantbird
20:01:23 <-- sonny has quit (Ping timeout)
20:01:29 <-- mayanktg has quit (Ping timeout)
20:01:50 --> mayanktg has joined #instantbird
20:03:21 <-- mayanktg has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
20:06:39 --> sonny has joined #instantbird
20:10:08 <-- Vigilante has quit (Quit: Instantbird 1.5 -- http://www.instantbird.com)
20:16:06 <-- Tonnes has quit (Connection reset by peer)
20:21:03 --> Tonnes has joined #instantbird
20:26:52 --> CaptainCalliope has joined #instantbird
21:11:41 --> Mic has joined #instantbird
21:11:41 * ChanServ sets mode +o Mic 
21:15:56 <-- Rym has quit (Ping timeout)
21:16:15 --> Rym has joined #instantbird
21:24:03 --> flo-retina has joined #instantbird
21:24:03 * ChanServ sets mode +qo flo-retina flo-retina 
21:24:31 <flo-retina> clokep, aleth, Mic: has any of you actually tried the patch?
21:24:35 <flo-retina> Would be nice to try it on a debug build and see if there are some warnings
21:24:58 <flo-retina> the innerWindow parameter really looks optional, see: http://mxr.mozilla.org/mozilla-central/source/dom/media/MediaManager.cpp#1606 for what happens if it's omitted
21:28:32 * Fallen is now known as Fallen|away
21:30:14 <Mic> No, not yet. I'll try it tomorrow morning. I just got home and am quite dead...
21:31:12 <flo-retina> ok, let's figure this out tomorrow :)
21:31:45 <Mic> Good night!
21:41:41 <-- Mic has quit (Quit: Instantbird -- http://www.instantbird.com)
21:47:49 <-- sonny has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
22:07:09 <-- Even has quit (Ping timeout)
22:15:54 --> quartzjer has joined #instantbird
22:22:25 <-- mconley has quit (Input/output error)
22:36:43 --> EionRobb has joined #instantbird
23:17:08 <-- Rym has quit (Ping timeout)
23:17:46 --> Rym has joined #instantbird
23:37:25 --> mconley has joined #instantbird
23:45:14 <-- Armada has quit (Connection reset by peer)
23:50:18 <-- wnayes has quit (Quit: wnayes)
23:53:20 <-- quartzjer has quit (Quit: Leaving.)