IRC log of dig on 2010-07-21

Timestamps are in UTC.

00:12:20 [melvster]
oshani: Nathan: okay tabulator on 3.6.7 works fine, latest refactor branch
00:29:40 [kennyluck_]
kennyluck_ (~kennyluck@EM114-48-36-112.pool.e-mobile.ne.jp) has joined #dig
00:32:53 [kennyluck]
kennyluck has quit (Ping timeout: 240 seconds)
00:32:54 [kennyluck_]
kennyluck_ is now known as kennyluck
00:45:57 [kennyluck]
kennyluck has quit (Ping timeout: 265 seconds)
01:19:45 [mcherian]
mcherian (~mathew@c-24-61-8-94.hsd1.ma.comcast.net) has joined #dig
01:24:45 [mcherian]
mcherian has quit (Quit: Ex-Chat)
01:35:45 [melvster]
melvster has quit (Ping timeout: 245 seconds)
01:45:11 [nunnun]
nunnun is now known as nunnun_away
02:00:05 [mcherian]
mcherian (~mathew@c-24-61-8-94.hsd1.ma.comcast.net) has joined #dig
02:27:43 [kennyluck]
kennyluck (~kennyluck@133.27.228.170) has joined #dig
02:53:40 [lkagal]
lkagal has quit (Quit: lkagal)
02:57:35 [lkagal]
lkagal (~lkagal@pool-96-237-240-136.bstnma.fios.verizon.net) has joined #dig
03:01:24 [timbl]
timbl has quit (Ping timeout: 248 seconds)
03:18:34 [nunnun_away]
nunnun_away is now known as nunnun
03:19:08 [oshani]
oshani has quit (Quit: Mama nidi!)
03:53:25 [oshani]
oshani (~oshani@c-71-233-151-72.hsd1.ma.comcast.net) has joined #dig
04:02:10 [mcherian]
mcherian has quit (Ping timeout: 265 seconds)
04:44:27 [oshani]
oshani has quit (Quit: Mama nidi!)
04:51:57 [lkagal]
lkagal has quit (Quit: lkagal)
05:30:02 [mhausenblas]
mhausenblas (~mhausenbl@wg1-nat.fwgal01.deri.ie) has joined #dig
05:54:30 [drrho]
drrho (~rho@chello213047112079.11.11.vie.surfer.at) has joined #dig
06:07:10 [melvster]
melvster (~melvster@p5797FC1C.dip.t-dialin.net) has joined #dig
07:00:27 [kennyluck]
kennyluck has quit (Quit: kennyluck)
07:06:01 [drrho]
drrho has quit (Remote host closed the connection)
07:08:34 [kennyluck]
kennyluck (~kennyluck@2001:200:1c0:2900:225:ff:fe4d:f8c7) has joined #dig
07:12:02 [kennyluck]
kennyluck has quit (Client Quit)
07:26:59 [kennyluck]
kennyluck (~kennyluck@133.27.228.170) has joined #dig
08:24:18 [nunnun]
nunnun is now known as nunnun_away
08:50:00 [kennyluck]
kennyluck has quit (Quit: kennyluck)
09:43:04 [mhausenblas]
mhausenblas has quit (Quit: brb)
11:27:25 [RalphS]
RalphS (~swick@30-7-139.wireless.csail.mit.edu) has joined #dig
11:30:14 [oshani]
oshani (~oshani@c-71-233-151-72.hsd1.ma.comcast.net) has joined #dig
11:46:54 [timbl]
timbl (~timbl@74.198.12.14) has joined #dig
11:58:07 [oshani]
oshani has quit (Quit: Mama nidi!)
12:07:41 [nunnun_away]
nunnun_away is now known as nunnun
12:18:40 [melvster]
melvster has quit (Remote host closed the connection)
12:18:49 [oshani]
oshani (~oshani@c-71-233-151-72.hsd1.ma.comcast.net) has joined #dig
12:19:04 [melvster]
melvster (~melvster@p5797FC1C.dip.t-dialin.net) has joined #dig
13:16:53 [lkagal]
lkagal (~lkagal@pool-96-237-240-136.bstnma.fios.verizon.net) has joined #dig
14:20:00 [melvster]
melvster has quit (Ping timeout: 276 seconds)
14:22:32 [lkagal]
lkagal has quit (Quit: lkagal)
14:23:32 [lkagal]
lkagal (~lkagal@pool-96-237-240-136.bstnma.fios.verizon.net) has joined #dig
14:23:54 [melvster]
melvster (~melvster@p579F94BA.dip.t-dialin.net) has joined #dig
14:31:42 [kennyluck]
kennyluck (~kennyluck@EM114-48-72-43.pool.e-mobile.ne.jp) has joined #dig
14:51:11 [timbl]
timbl has quit (Ping timeout: 240 seconds)
14:54:22 [timbl]
timbl (~timbl@PC001a80d47d78-WM0003D7097db5.wbb.net.cable.rogers.com) has joined #dig
14:56:14 [mcherian]
mcherian (~mathew@31-34-55.wireless.csail.mit.edu) has joined #dig
14:57:04 [timbl]
timbl has quit (Remote host closed the connection)
14:58:58 [timbl]
timbl (~timbl@74.198.12.14) has joined #dig
15:23:55 [oshani]
oshani has quit (Quit: Mama nidi!)
15:48:35 [amy]
amy has quit (Quit: bye)
15:53:32 [knappy]
knappy (~haoqi@31-33-15.wireless.csail.mit.edu) has joined #dig
16:14:08 [oshani]
oshani (~oshani@24-1-117.dynamic.csail.mit.edu) has joined #dig
17:11:16 [melvster]
melvster has quit (Remote host closed the connection)
17:11:27 [melvster]
melvster (~melvster@p579F94BA.dip.t-dialin.net) has joined #dig
17:12:14 [drrho]
drrho (~rho@chello213047112079.11.11.vie.surfer.at) has joined #dig
17:26:23 [knappy]
hey
17:26:32 [knappy]
is the tabulator broken for you guys too?
17:32:10 [oshani]
oshani has quit (Quit: Mama nidi!)
17:35:11 [melvster]
not me
17:47:34 [knappy]
melvster, it's NOT broken for you?
17:49:31 [nunnun]
nunnun is now known as nunnun_away
17:50:28 [knappy]
it's broken for both me and Oshani
17:55:57 [melvster]
hmm
17:56:26 [melvster]
not sure why, but i dont seem to have an issue, firefox 3.6.6 nathan said it worked with 3.6.7 too
17:57:17 [oshani]
oshani (~oshani@24-1-117.dynamic.csail.mit.edu) has joined #dig
18:16:15 [knappy]
whoa Oshani
18:16:24 [knappy]
my tabulator, randomly worked again
18:16:32 [knappy]
I have no idea what was the problem
18:16:48 [oshani]
hmm... you remember what you did? :)
18:16:54 [knappy]
I just restarted it
18:16:59 [oshani]
okay
18:16:59 [knappy]
the same version
18:17:12 [knappy]
I didn't change to an older version,
18:17:33 [knappy]
I was checking, right before I was about to change to an older version, that it was still broken
18:17:40 [knappy]
but then, it was not broken ...
18:24:36 [oshani]
okay, then perhaps another extension I am developing is interfering with Tabulator
19:09:47 [knappy]
Does anyone know how to show an alert with "addEventListener"?
19:10:06 [knappy]
I made a button called b_submit
19:10:18 [knappy]
b_submit.addEventListener("click", showAlert(), false);
19:10:42 [knappy]
where showAlert has one line
19:10:45 [knappy]
alert('hi');
19:11:23 [knappy]
but Tabulator gives an error
19:11:27 [knappy]
"ReferenceError: alert is not defined"
19:13:15 [knappy]
oh I think I know why now
19:13:23 [knappy]
it's because this is not client-side javascript
19:13:30 [knappy]
so alert doesn't work
19:13:32 [knappy]
:(
19:14:15 [knappy]
Maybe Oshani knows another way of showing alert messages in panes?
19:16:51 [oshani]
knappy, where are you using the alert?
19:18:57 [oshani]
much of the Tabulator code in the refactor branch is written so that it is run before the contentDocument is loaded. And apparently alert is not defined in the xpcom layer
19:19:14 [oshani]
you might still be able to use tabulator.log though
19:20:57 [oshani]
it is *still* client-side javascript, just that FF does not let you alert
19:22:03 [knappy]
ff doesn't allow alerts
19:22:04 [knappy]
wow
19:22:19 [knappy]
ok let me try tabulator.log
19:23:02 [knappy]
TypeError: tabulator.log is not a function
19:23:23 [knappy]
what I want to do is to show some kind of signal that my button clicking works
19:23:37 [knappy]
because I don't think it works
19:23:50 [knappy]
and I want to figure out where it doesn't work
19:23:57 [oshani]
you can also use dump()
19:24:04 [oshani]
to write to stdout
19:24:17 [oshani]
but then you have to start FF from the console
19:24:23 [knappy]
for both?
19:24:39 [oshani]
no, just for the dump
19:27:17 [knappy]
is stdout for javascript?
19:39:08 [oshani]
stdout == console
19:47:16 [knappy]
knappy has quit (Quit: knappy)
19:50:45 [knappy]
knappy (~haoqi@24-1-128.dynamic.csail.mit.edu) has joined #dig
20:08:03 [knappy]
here is a strange thing
20:08:47 [knappy]
if I make addEventListener's 2nd argument point to an outside function like:
20:08:54 [knappy]
function testfunc(){
20:08:54 [knappy]
dump('i work! ');
20:08:54 [knappy]
}
20:08:55 [knappy]
20:08:55 [knappy]
b_submit.addEventListener("click", testfunc(), false);
20:09:00 [knappy]
I get an error
20:09:07 [knappy]
[Exception... "Could not convert JavaScript argument" nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)" location: "JS frame :: chrome://tabulator/content/js/panes/pubsPane.js :: anonymous :: line 114" data: no]
20:09:07 [knappy]
No stack available.
20:09:23 [knappy]
If I put it inside, like:
20:09:24 [knappy]
b_submit.addEventListener("click", function(){ dump('hi theraae');}, false);
20:09:31 [knappy]
it has no error
20:11:46 [knappy]
Oshani told me it's because of Javascript's closures
20:11:46 [knappy]
:D
20:18:00 [RalphS]
RalphS has quit (Quit: leaving ...)
20:29:28 [amy]
amy (~amy@31-35-122.wireless.csail.mit.edu) has joined #dig
20:31:00 [kennyluck_]
kennyluck_ (~kennyluck@EM111-188-31-21.pool.e-mobile.ne.jp) has joined #dig
20:34:05 [kennyluck]
kennyluck has quit (Ping timeout: 245 seconds)
20:34:06 [kennyluck_]
kennyluck_ is now known as kennyluck
20:38:22 [nunnun_away]
nunnun_away is now known as nunnun
20:44:27 [drrho]
drrho has quit (Remote host closed the connection)
20:55:57 [oshani]
oshani has quit (Quit: Mama nidi!)
20:56:20 [knappy]
knappy has quit (Quit: knappy)
21:01:14 [knappy]
knappy (~haoqi@31-33-15.wireless.csail.mit.edu) has joined #dig
21:07:00 [oshani]
oshani (~oshani@31-35-71.wireless.csail.mit.edu) has joined #dig
21:17:51 [knappy]
knappy has quit (Quit: knappy)
21:36:07 [nunnun]
nunnun is now known as nunnun_away
21:45:01 [oshani]
oshani has quit (Quit: Mama nidi!)
21:53:44 [oshani]
oshani (~oshani@31-35-71.wireless.csail.mit.edu) has joined #dig
22:03:52 [nunnun_away]
nunnun_away is now known as nunnun
22:09:33 [oshani]
oshani has quit (Quit: Mama nidi!)
22:35:43 [nunnun]
nunnun is now known as nunnun_away
22:35:46 [nunnun_away]
nunnun_away is now known as nunnun
22:48:46 [timbl]
timbl has quit (Quit: timbl)
23:26:41 [nunnun]
nunnun is now known as nunnun_away