Options:
- # Session Start: Mon Mar 12 00:00:00 2012
- # Session Ident: #whatwg
- # [00:00] * Quits: dydx (~dydz@adsl-76-199-101-60.dsl.pltn13.sbcglobal.net) (Quit: dydx)
- # [00:10] * Joins: JM (Bass10@c-76-113-194-7.hsd1.mn.comcast.net)
- # [00:13] * Quits: tomasf (~tom@2002:55e5:dbb7:0:ac83:ec57:39d7:3bc7) (Quit: tomasf)
- # [00:13] * Joins: tomasf (~tom@c-b7dbe555.024-204-6c6b7012.cust.bredbandsbolaget.se)
- # [00:13] * Quits: Bass10 (~Bass10@c-76-113-194-7.hsd1.mn.comcast.net) (Ping timeout: 244 seconds)
- # [00:18] * Joins: jacobolus (~jacobolus@199.188.193.145)
- # [00:32] * Joins: espadrine (~thaddee_t@acces2342.res.insa-lyon.fr)
- # [00:50] * Quits: wtachi (~wtachi@cpe-069-134-168-033.nc.res.rr.com) (Quit: &)
- # [00:57] * Quits: jcarbaugh (jcarbaugh@conference/pycon/x-tndlethqnlswiklf)
- # [01:13] * Joins: JohnAlbin (~JohnAlbin@114-42-57-171.dynamic.hinet.net)
- # [01:14] * Quits: twisted` (~anonymous@p5DDB8C8C.dip.t-dialin.net) (Read error: Connection reset by peer)
- # [01:14] * Joins: twisted` (~anonymous@p5DDB8C8C.dip.t-dialin.net)
- # [01:14] * Quits: LBP (~Mirc@pD9EB21C6.dip0.t-ipconnect.de) (Read error: Connection reset by peer)
- # [01:14] * Joins: LBP (~Mirc@pD9EB21C6.dip0.t-ipconnect.de)
- # [01:17] * Joins: jcarbaugh (~jcarbaugh@12.43.172.10)
- # [01:41] * Joins: davidwalsh_ (~davidwals@75-135-74-55.dhcp.mdsn.wi.charter.com)
- # [01:43] * Quits: plutoniix (~plutoniix@182.53.63.11) (Quit: Leaving)
- # [01:43] * Quits: malydok (~marek@moma.t16.ds.pwr.wroc.pl) (Quit: Farewell)
- # [01:43] * Quits: davidwalsh_ (~davidwals@75-135-74-55.dhcp.mdsn.wi.charter.com) (Client Quit)
- # [01:44] * Joins: jondong (~jondong@123.126.22.58)
- # [01:49] * Quits: Druid_ (~Druid@p5B05C96B.dip.t-dialin.net) (Ping timeout: 265 seconds)
- # [01:51] * Quits: danbri (~danbri@cable-146-255-149-19.dynamic.telemach.ba) (Remote host closed the connection)
- # [01:53] * Quits: asmodai (asmodai@freebsd/developer/asmodai) (Ping timeout: 265 seconds)
- # [01:54] * Joins: danbri (~danbri@cable-146-255-149-19.dynamic.telemach.ba)
- # [01:54] * Joins: Druid_ (~Druid@p5B13549E.dip.t-dialin.net)
- # [01:57] * Joins: ezoe (~ezoe@203-140-91-180f1.kyt1.eonet.ne.jp)
- # [01:58] * Joins: asmodai (asmodai@freebsd/developer/asmodai)
- # [02:06] * Joins: yuuki (~kobayashi@58x158x182x50.ap58.ftth.ucom.ne.jp)
- # [02:14] * Quits: pyrsmk (~pyrsmk@mau49-1-82-245-46-173.fbx.proxad.net) (Read error: Connection reset by peer)
- # [02:17] * Quits: AryehGregor (~Simetrica@mediawiki/simetrical) (Read error: Connection reset by peer)
- # [02:17] * Joins: AryehGregor (~Simetrica@cpe-72-229-29-65.nyc.res.rr.com)
- # [02:17] * Quits: AryehGregor (~Simetrica@cpe-72-229-29-65.nyc.res.rr.com) (Changing host)
- # [02:17] * Joins: AryehGregor (~Simetrica@mediawiki/simetrical)
- # [02:22] <rniwa> AryehGregor: yt?
- # [02:28] * Quits: jcarbaugh (~jcarbaugh@12.43.172.10)
- # [02:30] * Quits: AryehGregor (~Simetrica@mediawiki/simetrical) (Read error: Connection reset by peer)
- # [02:30] * Joins: AryehGregor (~Simetrica@cpe-72-229-29-65.nyc.res.rr.com)
- # [02:30] * Quits: AryehGregor (~Simetrica@cpe-72-229-29-65.nyc.res.rr.com) (Changing host)
- # [02:30] * Joins: AryehGregor (~Simetrica@mediawiki/simetrical)
- # [02:35] * Quits: sarro (~sarro@i5E864037.versanet.de) (Ping timeout: 245 seconds)
- # [02:36] * Joins: sarro (~sarro@i5E8655F1.versanet.de)
- # [02:45] * Quits: rniwa (~rniwa@c-71-198-171-236.hsd1.ca.comcast.net) (Quit: rniwa)
- # [02:48] * Joins: benschwarz (u2121@gateway/web/irccloud.com/x-imcaaxwravmeniwp)
- # [02:48] * Joins: rniwa (~rniwa@c-71-198-171-236.hsd1.ca.comcast.net)
- # [02:53] * Quits: twisted` (~anonymous@p5DDB8C8C.dip.t-dialin.net) (Quit: twisted`)
- # [02:58] * Quits: smaug____ (~chatzilla@ZYYYCMIX.gprs.sl-laajakaista.fi) (Remote host closed the connection)
- # [02:59] * Joins: smaug____ (~chatzilla@ZYYYCMIX.gprs.sl-laajakaista.fi)
- # [03:02] * Joins: diraol (~diraol@189.100.4.40)
- # [03:02] * Joins: benjoffe (~benjoffe@119-252-71-224.static.highway1.net.au)
- # [03:13] * Quits: smaug____ (~chatzilla@ZYYYCMIX.gprs.sl-laajakaista.fi) (Ping timeout: 244 seconds)
- # [03:14] * Quits: LBP (~Mirc@pD9EB21C6.dip0.t-ipconnect.de) (Ping timeout: 265 seconds)
- # [03:14] * Joins: LBP (~Mirc@pD9EB1DCF.dip0.t-ipconnect.de)
- # [03:21] * Quits: tndrH (~Rob@cpc16-seac19-2-0-cust234.7-2.cable.virginmedia.com) (Quit: ChatZilla 0.9.88-rdmsoft [XULRunner 1.9.0.1/2008072406])
- # [03:25] * Quits: jacobolus (~jacobolus@199.188.193.145) (Remote host closed the connection)
- # [03:38] * Joins: davidb (~davidb@65.93.94.10)
- # [03:49] * Quits: diraol (~diraol@189.100.4.40) (Quit: Leaving.)
- # [03:56] * Joins: tantek (~tantek@64.134.62.116)
- # [03:57] * Joins: nattokirai (~nattokira@rtr.mozilla.or.jp)
- # [03:59] * Joins: miketaylr (~miketaylr@cpe-70-112-101-224.austin.res.rr.com)
- # [04:10] * Quits: davidb (~davidb@65.93.94.10) (Quit: davidb)
- # [04:11] * Joins: davidb (~davidb@65.93.94.10)
- # [04:11] * Quits: davidb (~davidb@65.93.94.10) (Client Quit)
- # [04:23] * Quits: tantek (~tantek@64.134.62.116) (Quit: tantek)
- # [04:34] * Joins: tantek (~tantek@64.134.62.116)
- # [04:35] * Quits: tantek (~tantek@64.134.62.116) (Client Quit)
- # [04:37] * Joins: jacobolus (~jacobolus@c-76-21-10-192.hsd1.ca.comcast.net)
- # [04:51] * Joins: diraol (~diraol@189.38.131.49)
- # [04:53] * Joins: jcarbaugh (~jcarbaugh@12.43.172.10)
- # [04:54] * Joins: twisted` (~anonymous@p5DDB8C8C.dip.t-dialin.net)
- # [04:58] * Quits: twisted` (~anonymous@p5DDB8C8C.dip.t-dialin.net) (Ping timeout: 252 seconds)
- # [05:00] * Quits: JohnAlbin (~JohnAlbin@114-42-57-171.dynamic.hinet.net) (Read error: Connection timed out)
- # [05:01] * Joins: JohnAlbin (~JohnAlbin@114-42-57-171.dynamic.hinet.net)
- # [05:04] * Joins: ehsan (~ehsan@209.29.21.241)
- # [05:06] * Joins: karega (karega@cpe-76-184-236-100.tx.res.rr.com)
- # [05:17] * Quits: moo-_- (~quassel@herd37.twinapex.fi) (Read error: Operation timed out)
- # [05:18] * Joins: moo-_- (~quassel@herd37.twinapex.fi)
- # [05:18] * Quits: sarro (~sarro@i5E8655F1.versanet.de) (Ping timeout: 255 seconds)
- # [05:19] * Joins: sarro (~sarro@i5E8655F1.versanet.de)
- # [05:19] * Quits: AlexNRoss (AleossIRC@unaffiliated/aleoss) (Quit: Rage-quit!)
- # [05:22] * Joins: tantek (~tantek@64.134.62.116)
- # [05:26] * Quits: jcarbaugh (~jcarbaugh@12.43.172.10)
- # [05:28] * Quits: heycam (~cam@wok.mcc.id.au) (Ping timeout: 255 seconds)
- # [05:29] * Joins: heycam (~cam@wok.mcc.id.au)
- # [05:30] * Quits: tantek (~tantek@64.134.62.116) (Read error: Connection reset by peer)
- # [05:32] * Quits: riven (~riven@pdpc/supporter/professional/riven) (Read error: Connection reset by peer)
- # [05:32] * Joins: riven (~riven@53518387.cm-6-2c.dynamic.ziggo.nl)
- # [05:32] * Quits: riven (~riven@53518387.cm-6-2c.dynamic.ziggo.nl) (Changing host)
- # [05:32] * Joins: riven (~riven@pdpc/supporter/professional/riven)
- # [05:32] * Joins: tantek (~tantek@64.134.62.116)
- # [05:35] * Quits: tantek (~tantek@64.134.62.116) (Client Quit)
- # [05:38] * Joins: izhak (~izhak@213.87.240.224)
- # [05:40] * Quits: ryanseddon (u1832@gateway/web/irccloud.com/x-wyhoxybzddlqwont) (Quit: Connection closed for inactivity)
- # [05:41] * Joins: dydx (~dydz@adsl-76-199-101-60.dsl.pltn13.sbcglobal.net)
- # [05:45] * Quits: kbrosnan (kbrosnan@firefox/community/qa/kbrosnan) (Ping timeout: 252 seconds)
- # [05:46] * Quits: cpearce (~cpearce@60.234.54.74) (Ping timeout: 244 seconds)
- # [05:47] * Quits: JM (Bass10@c-76-113-194-7.hsd1.mn.comcast.net) (Ping timeout: 250 seconds)
- # [05:49] * Joins: jcarbaugh (~jcarbaugh@12.43.172.10)
- # [05:51] * Quits: jacobolus (~jacobolus@c-76-21-10-192.hsd1.ca.comcast.net) (Read error: Connection reset by peer)
- # [06:00] * Quits: diraol (~diraol@189.38.131.49) (Ping timeout: 246 seconds)
- # [06:17] * Joins: Areks (~Areks@rs.gridnine.com)
- # [06:24] * Joins: jacobolus (~jacobolus@50-0-133-210.dsl.static.sonic.net)
- # [06:39] <rniwa> AryehGregor: yt?
- # [06:39] <rniwa> or is there anyone else familiar with Callback in Web IDL?
- # [06:39] <heycam> rniwa, hey
- # [06:40] <rniwa> heycam: hi
- # [06:40] <rniwa> heycam: do you know Callback?
- # [06:40] <heycam> rniwa, yeah
- # [06:41] <rniwa> heycam: so I thought I can turn http://rniwa.com/editing/undomanager.html#dom-domtransaction into a dictionary
- # [06:41] <rniwa> heycam: but it isn't so simple
- # [06:41] <rniwa> heycam: because they're callback functions, they can't be GC'ed like other objects :(
- # [06:41] <heycam> rniwa, oh I see, since it's got Functions
- # [06:41] <rniwa> heycam: yeah...
- # [06:42] <heycam> rniwa, so what I did when removing [Callback] from the spec was to replace it with two things
- # [06:42] <heycam> rniwa, one was the "callback Foo = returntype (args);" syntax
- # [06:42] <heycam> that's just for single functions
- # [06:42] <rniwa> heycam: kind of embarrassing story but I didn't realize that it won't work 'til I started to implement it
- # [06:42] <heycam> and the other is "callback interface Something { attribute whatever; void somefunction(); }"
- # [06:43] <heycam> so I think you want the latter
- # [06:43] <rniwa> heycam: right.
- # [06:43] <rniwa> heycam: yeah, so I do want the latter
- # [06:43] <rniwa> heycam: but then I can't really get rid of the interface
- # [06:43] <rniwa> heycam: i.e. can't just do document.undoManager.transact({ executeAutomatic: function () {
- # [06:43] <rniwa> this.executeAutomatic = function () { alert('foo'); }
- # [06:43] <rniwa> alert('bar');
- # [06:43] <rniwa> }, undo: function () { alert('baz'); } }); // alerts 'bar'
- # [06:43] <heycam> rniwa, no you can do that
- # [06:43] <rniwa> heycam: really/
- # [06:43] <rniwa> heycam: does it support implicit instantiation?
- # [06:44] <heycam> rniwa, yeah, for callback interfaces when it comes to convert the JS value into the "callback interface" value, it'll just inspect the properties on the JS Object for the attributes/methods
- # [06:44] <rniwa> heycam: okay.
- # [06:44] <heycam> rniwa, it should keep a reference to the JS Object ltself, not make a copy or anything, too
- # [06:44] <rniwa> heycam: maybe it's just that webkit's binding code doesn't support it then :\
- # [06:45] <rniwa> heycam: right, that'll defeat the point of using callback interface
- # [06:45] <heycam> rniwa, there are rules in the spec about how attributes are read/written and operations are invoked on "user objects", which are JS objects that implement callback interfaces
- # [06:45] <rniwa> heycam: yeah, I was just reading that section
- # [06:45] <heycam> rniwa, hmm, so you *want* to make a copy of the properties on the object passed in?
- # [06:45] <rniwa> heycam: no
- # [06:45] <rniwa> heycam: I do want to keep the original object
- # [06:46] <rniwa> heycam: but... not all functions need to be present on the object
- # [06:46] <rniwa> heycam: that's what makes it much more complicated
- # [06:46] <rniwa> heycam: DOMTransaction has 5 properties but any one of them can be omitted :(
- # [06:46] <heycam> rniwa, ok -- at least the rules should convert the undefined you get from getting the properties into the null
- # [06:47] <rniwa> heycam: ah, ok
- # [06:47] * Joins: gkellogg (~gregg@c-98-248-150-91.hsd1.ca.comcast.net)
- # [06:47] <heycam> rniwa, I guess you're concerned about the fact that dictionaries let you specify default values for their members
- # [06:47] <heycam> or know whether they are omitted or not
- # [06:47] <heycam> oh hang on
- # [06:48] <heycam> so currently you have them written as "attribute Function? …"
- # [06:48] <rniwa> heycam: well, my problem is more of the fact this is very unusual interface obejct
- # [06:48] <rniwa> heycam: yeah, i think that's incorrect
- # [06:48] <heycam> actually that might be more correct :)
- # [06:48] <rniwa> heycam: but I couldn't find a way to right optional interface methods :(
- # [06:48] <heycam> if you want to allow the author to omit them
- # [06:48] <rniwa> s/right/write
- # [06:48] <rniwa> heycam: oh
- # [06:49] <heycam> but that's interesting I hadn't thought of that difference before
- # [06:50] <rniwa> heycam: anyway, my concern is that there are no other web standards that use objects like this
- # [06:50] <rniwa> heycam: and i was wondering if there were a better way.
- # [06:50] <heycam> yeah I am not sure if I have seen someone use "callback interface" yet
- # [06:51] <rniwa> e.g. because they're callback functions that then get called much later when user-initiated undo/redo are involved
- # [06:51] <heycam> NodeFilter if rewritten with Web IDL would use it, iirc
- # [06:51] <rniwa> they have to be kept alive during normal GC cycles
- # [06:52] <heycam> still, if you had a dictionary with say some Node members, then they could have references kept to them by the DOM method, so I think it's the same thing here even though they're Functions
- # [06:52] <heycam> actually I'm not sure if any APIs *do* keep references to Node dictionary members like that
- # [06:55] <heycam> rniwa, anyway I think the strong reference to the Functions that get passed in here would just be part of the semantics of whatever function accepts the DOMTransaction objects
- # [06:55] <heycam> rniwa, so probably the bindings code itself doesn't need to worry about it
- # [06:57] * Quits: sarro (~sarro@i5E8655F1.versanet.de)
- # [06:57] <rniwa> heycam: hm... possible.
- # [06:57] <rniwa> heycam: at least in webkit, we don't support Function type yet
- # [06:57] <heycam> s/strong reference/keeping of the strong reference/
- # [06:57] <heycam> ok
- # [06:58] <rniwa> heycam: so that'll be an interesting journey :(
- # [06:58] <heycam> s/:(/:)/ :)
- # [07:04] <rniwa> heycam: thanks for the clarification
- # [07:04] * rniwa goes back on hacking
- # [07:04] <heycam> rniwa, no problem
- # [07:09] * Joins: sindhiBhai (ab438112@gateway/web/freenode/ip.171.67.129.18)
- # [07:09] * Joins: ruby_on_tails (~awakened@115.187.37.45)
- # [07:11] <rniwa> heycam: I guess I'll have to add Callback keyword?
- # [07:11] <ruby_on_tails> can anyone tell me why the canvas renders and then vanishes here http://thecodeplayer.com/walkthrough/ps3 (hit view code). but if i take the first 2 lines of the draw() out of it, it works fine
- # [07:11] <heycam> rniwa, yes I think you should write it as "callback interface DOMTransaction { … }"
- # [07:11] <heycam> rniwa, without the [NoInterfaceObject], since callback interfaces imply that
- # [07:11] <rniwa> heycam: right.
- # [07:12] <rniwa> heycam: I think it was me reading some very old version of WebIDL spec
- # [07:12] <heycam> rniwa, yeah the callback stuff changed in the last couple of months
- # [07:30] * Parts: sindhiBhai (ab438112@gateway/web/freenode/ip.171.67.129.18)
- # [07:34] * Quits: miketaylr (~miketaylr@cpe-70-112-101-224.austin.res.rr.com) (Quit: Leaving...)
- # [07:37] * Joins: jochen___ (jochen@nat/google/x-wpjqtcqeszjoayqw)
- # [07:40] * Quits: jochen__ (jochen@nat/google/x-arwmuefdjopohfzv) (Ping timeout: 260 seconds)
- # [07:40] * jochen___ is now known as jochen__
- # [07:40] * Quits: dydx (~dydz@adsl-76-199-101-60.dsl.pltn13.sbcglobal.net) (Quit: dydx)
- # [07:50] * Quits: ezoe (~ezoe@203-140-91-180f1.kyt1.eonet.ne.jp) (Ping timeout: 244 seconds)
- # [07:59] <espadrine> ]
- # [08:09] * Joins: maikmerten (~merten@ls5dhcp200.cs.uni-dortmund.de)
- # [08:11] * Joins: cpearce (~cpearce@ip-118-90-18-163.xdsl.xnet.co.nz)
- # [08:13] * Joins: niloy (~niloy@61.12.96.242)
- # [08:13] * Joins: astearns_ (~astearns@192.150.22.5)
- # [08:15] * Quits: astearns (~astearns@192.150.22.5) (Ping timeout: 240 seconds)
- # [08:15] * astearns_ is now known as astearns
- # [08:18] * Joins: Neocortex (~niels@82-170-160-25.ip.telfort.nl)
- # [08:18] * Joins: dirkpennings (~dirkpenni@90-145-26-140.bbserv.nl)
- # [08:25] * Joins: ezoe (~ezoe@203-140-89-96f1.kyt1.eonet.ne.jp)
- # [08:26] * Joins: tomasf_ (~tomasf@77.72.97.5.c.fiberdirekt.net)
- # [08:29] * heycam is now known as heycam|away
- # [08:30] * Quits: tomasf (~tom@c-b7dbe555.024-204-6c6b7012.cust.bredbandsbolaget.se) (Remote host closed the connection)
- # [08:30] * tomasf_ is now known as tomasf
- # [08:33] * Joins: zcorpan (~zcorpan@c-699de355.410-6-64736c14.cust.bredbandsbolaget.se)
- # [08:51] * Quits: rniwa (~rniwa@c-71-198-171-236.hsd1.ca.comcast.net) (Quit: rniwa)
- # [08:56] <Hixie> does overflow affect descendants that are position:fixed?
- # [08:56] <Hixie> per spec?
- # [08:57] * Quits: othermaciej (~mjs@c-24-6-209-189.hsd1.ca.comcast.net) (Quit: othermaciej)
- # [09:02] * Quits: ehsan (~ehsan@209.29.21.241) (Remote host closed the connection)
- # [09:05] * Joins: mhausenblas (~mhausenbl@wlan-nat.fwgal01.deri.ie)
- # [09:05] * Joins: ekr (~ekr@74-95-2-169-SFBA.hfc.comcastbusiness.net)
- # [09:07] <zcorpan> is a position:fixed element a 'block container box'?
- # [09:07] <Hixie> probably
- # [09:08] <zcorpan> then afaict the spec says "yes" (can't find anything that calls it out explicitly), but all my browsers disagree
- # [09:08] <Hixie> chrome 19 clips 'em
- # [09:09] <Hixie> and it regresses a thing i'm doing :-)
- # [09:09] <Hixie> TabAtkins_: ^ maybe css should change if all the browsers agree on this
- # [09:17] * Joins: woef (~woef@91.183.84.141)
- # [09:21] * Joins: annevk (~annevk@cm-84.215.13.244.getinternet.no)
- # [09:22] <annevk> oh, interface can be used as argument name again too now
- # [09:24] * Quits: nattokirai (~nattokira@rtr.mozilla.or.jp) (Quit: nattokirai)
- # [09:25] <annevk> heycam|away: event handler stuff looks okay now I guess
- # [09:38] * Joins: PalleZingmark (~Adium@217.13.228.226)
- # [09:44] <annevk> heycam|away: I thought callback interface meant the interface is exposed?
- # [09:44] <annevk> heycam|away: oh wait, only if there's constants I guess
- # [10:04] * Quits: moo-_- (~quassel@herd37.twinapex.fi) (Read error: Connection reset by peer)
- # [10:04] * Joins: moo-_- (~quassel@herd37.twinapex.fi)
- # [10:04] * Joins: drublic (~drublic@frbg-4d028a56.pool.mediaWays.net)
- # [10:05] * Quits: mpt (~mpt@canonical/mpt) (Ping timeout: 252 seconds)
- # [10:09] * Joins: mpt (~mpt@nat/canonical/x-csnvhqepknbzuuoz)
- # [10:09] * Quits: mpt (~mpt@nat/canonical/x-csnvhqepknbzuuoz) (Changing host)
- # [10:09] * Joins: mpt (~mpt@canonical/mpt)
- # [10:09] * Quits: ekr (~ekr@74-95-2-169-SFBA.hfc.comcastbusiness.net) (Quit: ekr)
- # [10:10] * Quits: ezoe (~ezoe@203-140-89-96f1.kyt1.eonet.ne.jp) (Read error: Connection reset by peer)
- # [10:14] * Joins: ekr (~ekr@74-95-2-169-SFBA.hfc.comcastbusiness.net)
- # [10:22] * Quits: ekr (~ekr@74-95-2-169-SFBA.hfc.comcastbusiness.net) (Ping timeout: 252 seconds)
- # [10:29] * Quits: Taggnostr (~quassel@dyn57-362.yok.fi) (Ping timeout: 246 seconds)
- # [10:29] * Joins: ekr (~ekr@74-95-2-169-SFBA.hfc.comcastbusiness.net)
- # [10:29] * Joins: nathanstaines (~nathansta@217.205.197.194)
- # [10:34] * Joins: ekr_ (~ekr@74-95-2-169-SFBA.hfc.comcastbusiness.net)
- # [10:37] * Quits: ekr (~ekr@74-95-2-169-SFBA.hfc.comcastbusiness.net) (Ping timeout: 246 seconds)
- # [10:37] * ekr_ is now known as ekr
- # [10:48] * Joins: ekr_ (~ekr@74-95-2-174-SFBA.hfc.comcastbusiness.net)
- # [10:50] * Joins: jarek (~jarek@bcv136.neoplus.adsl.tpnet.pl)
- # [10:50] * Quits: jarek (~jarek@bcv136.neoplus.adsl.tpnet.pl) (Changing host)
- # [10:50] * Joins: jarek (~jarek@unaffiliated/jarek)
- # [10:51] * Quits: ekr (~ekr@74-95-2-169-SFBA.hfc.comcastbusiness.net) (Ping timeout: 260 seconds)
- # [10:51] * ekr_ is now known as ekr
- # [10:51] * Quits: ekr (~ekr@74-95-2-174-SFBA.hfc.comcastbusiness.net) (Client Quit)
- # [10:54] * Quits: annevk (~annevk@cm-84.215.13.244.getinternet.no) (Remote host closed the connection)
- # [10:54] * Quits: temp01 (~temp01@unaffiliated/temp01) (Ping timeout: 245 seconds)
- # [10:56] * Joins: temp01 (~temp01@unaffiliated/temp01)
- # [10:58] * Quits: Areks (~Areks@rs.gridnine.com) (Ping timeout: 272 seconds)
- # [11:00] <niloy> If I put an event handler on 'scroll' event, how can I determine if the scroll was 'horizontal' or 'vertical'?
- # [11:11] * Joins: necolas (~necolas@5e0c715f.bb.sky.com)
- # [11:14] * Joins: Areks (~Areks@rs.gridnine.com)
- # [11:14] * Joins: annevk (annevk@nat/opera/x-unhwvbxvtwoctlqh)
- # [11:14] * Parts: zcorpan (~zcorpan@c-699de355.410-6-64736c14.cust.bredbandsbolaget.se)
- # [11:15] * Joins: zcorpan (~zcorpan@c-699de355.410-6-64736c14.cust.bredbandsbolaget.se)
- # [11:16] <annevk> is there a bug on upgrading HTML to the new callback syntax?
- # [11:16] * Quits: jcarbaugh (~jcarbaugh@12.43.172.10)
- # [11:18] * Joins: nonge_ (~nonge@p5082B5E0.dip.t-dialin.net)
- # [11:19] * Quits: MikeSmith (~MikeSmith@p15181-obmd01.tokyo.ocn.ne.jp) (Ping timeout: 244 seconds)
- # [11:22] * Joins: gwicke (~gabriel@46.115.25.93)
- # [11:22] * Quits: nonge (~nonge@p5B326DF9.dip.t-dialin.net) (Ping timeout: 252 seconds)
- # [11:27] * Joins: smaug____ (~chatzilla@GGYYKMDCCCLXXXIV.gprs.sl-laajakaista.fi)
- # [11:29] * Joins: mishunov (~spliter@77.88.72.162)
- # [11:31] * Joins: MikeSmith (~MikeSmith@p15181-obmd01.tokyo.ocn.ne.jp)
- # [11:31] * Quits: danbri (~danbri@cable-146-255-149-19.dynamic.telemach.ba) (Ping timeout: 244 seconds)
- # [11:32] * Quits: smaug____ (~chatzilla@GGYYKMDCCCLXXXIV.gprs.sl-laajakaista.fi) (Remote host closed the connection)
- # [11:32] * Joins: smaug____ (~chatzilla@GGYYKMDCCCLXXXIV.gprs.sl-laajakaista.fi)
- # [11:34] * Joins: Lachy (Lachy@nat/opera/x-tszvwmqdlwfgfbch)
- # [11:38] * Joins: richt (richt@nat/opera/x-lynzvytcpishinrk)
- # [11:55] * Joins: gwicke_ (~gabriel@212.255.30.217)
- # [11:55] * Quits: gwicke (~gabriel@46.115.25.93) (Ping timeout: 244 seconds)
- # [12:06] <annevk> http://dvcs.w3.org/hg/encoding/raw-file/tip/Overview.html#utf-16
- # [12:07] * Quits: mishunov (~spliter@77.88.72.162) (Quit: mishunov)
- # [12:07] <annevk> guess I could have done some more arithmetic shifting instead of * 0x400 ...
- # [12:19] * Joins: pyrsmk (~pyrsmk@mau49-1-82-245-46-173.fbx.proxad.net)
- # [12:31] * Joins: jarek_ (~jarek@aean42.neoplus.adsl.tpnet.pl)
- # [12:31] * Joins: micheil (~micheil@109.224.128.70)
- # [12:32] * Quits: jarek (~jarek@unaffiliated/jarek) (Ping timeout: 246 seconds)
- # [12:34] * Joins: mattwest (~mattwest@host81-149-171-23.in-addr.btopenworld.com)
- # [12:37] * Joins: malydok (~marek@moma.t16.ds.pwr.wroc.pl)
- # [12:46] * Joins: tndrH (~Rob@cpc16-seac19-2-0-cust234.7-2.cable.virginmedia.com)
- # [12:55] * gwicke_ is now known as gwicke
- # [13:02] * Joins: erichynds (~ehynds@venkman.brightcove.com)
- # [13:03] * Quits: espadrine (~thaddee_t@acces2342.res.insa-lyon.fr) (Ping timeout: 272 seconds)
- # [13:05] * Joins: hallvors (hallvord@nat/opera/x-kscgyvefclulfctw)
- # [13:11] * Joins: mishunov (~spliter@77.88.72.162)
- # [13:21] * Joins: jarek (~jarek@aeap208.neoplus.adsl.tpnet.pl)
- # [13:21] * Quits: jarek (~jarek@aeap208.neoplus.adsl.tpnet.pl) (Changing host)
- # [13:21] * Joins: jarek (~jarek@unaffiliated/jarek)
- # [13:22] * Quits: jarek_ (~jarek@aean42.neoplus.adsl.tpnet.pl) (Ping timeout: 250 seconds)
- # [13:30] * Quits: jarek (~jarek@unaffiliated/jarek) (Quit: jarek)
- # [13:36] * Quits: malydok (~marek@moma.t16.ds.pwr.wroc.pl) (Ping timeout: 264 seconds)
- # [13:37] <Philip`> ruby_on_tails: I don't see any problem in that demo
- # [13:38] <ruby_on_tails> Philip`: did you hit the play button ?
- # [13:39] <annevk> how would you say bitwise or in prose?
- # [13:40] <Philip`> ruby_on_tails: No, but if I do then I don't any problem with the moving orange circle at the end of it
- # [13:40] <annevk> is 'Let <var title>byte2</var> be <var>code point</var> bitwise or 0x00FF' understandable?
- # [13:40] <ruby_on_tails> Philip`: doesnt the typing become very slow after setinterval is defined ?
- # [13:40] <ruby_on_tails> and the output starts to flicker
- # [13:43] <Philip`> ruby_on_tails: I'd guess that problem is because setInterval won't call draw until 33ms after reloading the code, and the code-replaying thing is probably updating and reloading the code after not much more than 33ms, so it doesn't get much of a chance to render before resetting
- # [13:44] <ruby_on_tails> Philip`: the actual problem that i am facing is not with the render but with the stacking of the set intervals, the iframe is given a new js code which has a set interval every 33ms, all those setintervals stack up and slow down the entire thing
- # [13:44] <Philip`> annevk: Maybe write it as "OR" to distinguish it more clearly from normal prose?
- # [13:45] <Philip`> ruby_on_tails: Oh, I suppose that sounds possible, since you're never clearing the intervals
- # [13:45] <ruby_on_tails> Philip`: the code that you see is supposed to come from users of the site who may not use clearintervals all the time
- # [13:46] <ruby_on_tails> so currently i am thinking of going from 1-99999 and clear everything between 2 iframe injections ? thats the only solution i have got
- # [13:48] <Philip`> Could you run the code inside an iframe, and make it restart with a fresh document after each code change?
- # [13:48] <Philip`> like what http://software.hixie.ch/utilities/js/live-dom-viewer/ does
- # [13:49] <Philip`> (iframe.contentWindow.document.open(); iframe.contentWindow.document.write(...); iframe.contentWindow.document.close(); etc)
- # [13:51] <annevk> Philip`: thanks
- # [13:52] <Philip`> Alternatively, add a setInterval wrapper (var oldSI = window.setInterval; var intervals = []; window.setInterval = function(...) { var i = oldSI(...); intervals.push(i); return i; } etc) so you can tell what to explicitly clear
- # [13:53] <annevk> http://dvcs.w3.org/hg/encoding/raw-file/tip/Overview.html#utf-16-encoder
- # [13:53] <ruby_on_tails> Philip`: its curretly refreshing the iframe on the right
- # [13:53] * Quits: timmywil (~timmywil@host-68-169-154-67.WISOLT2.epbfi.com) (Quit: Computer has gone to sleep.)
- # [13:54] * Joins: jdong_bot_ (~jdong_bot@117.79.233.193)
- # [13:54] <annevk> I guess I should also define "decode utf-8" for the utf-8 only formats
- # [13:55] <annevk> (besides decoding as utf-8 it also skips a BOM if there is one)
- # [13:55] <ruby_on_tails> Philip`: the setinterval keeps running even after the iframe refreshes
- # [13:56] <ruby_on_tails> Philip`: what is that setinterval wrapper ? could explain a bit ?
- # [13:56] * Quits: izhak (~izhak@213.87.240.224) (Ping timeout: 244 seconds)
- # [13:56] <annevk> "utf-8 decode" works better
- # [13:58] * Joins: danbri (~danbri@cable-146-255-149-19.dynamic.telemach.ba)
- # [14:00] <annevk> is it code point-based formats
- # [14:00] <annevk> or code-point-based
- # [14:00] <annevk> or code point based
- # [14:01] * Quits: jdong_bot_ (~jdong_bot@117.79.233.193) (Ping timeout: 246 seconds)
- # [14:01] <Philip`> ruby_on_tails: The timers seem to stop in e.g. http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0A%3Cscript%3EsetInterval%28function%28%29{alert%281%29}%2C%204000%29%3C%2Fscript%3E whenever I change the code (e.g. change "1" to "2", and it no longer alerts 1)
- # [14:01] <annevk> nm for now
- # [14:01] <Philip`> annevk: code[hypen]point[en dash]based, I think
- # [14:01] * Joins: Bass10 (Bass10@c-76-113-194-7.hsd1.mn.comcast.net)
- # [14:02] <ruby_on_tails> Philip`: am not sure if i get it
- # [14:03] <Philip`> s/hypen/hyphen/
- # [14:03] <Philip`> (Also I don't know if that's a real convention or if I'm just imagining it)
- # [14:04] <annevk> http://dvcs.w3.org/hg/encoding/raw-file/tip/Overview.html#utf-8-decode
- # [14:09] <Philip`> annevk: What if the stream is shorter than three bytes?
- # [14:10] <annevk> then there's no match?
- # [14:10] <annevk> you think that should be more explicit?
- # [14:11] <annevk> is it also unclear in http://dvcs.w3.org/hg/encoding/raw-file/tip/Overview.html#decode ?
- # [14:11] <annevk> because I've been wondering about whether or not it was
- # [14:11] <Philip`> "the first three bytes" seems like an undefined concept in that case
- # [14:11] <Philip`> The expected behaviour is obvious, so I guess it depends on how pedantically correct you want to be
- # [14:12] <ruby_on_tails> Philip`: sorry you are watching the wrong link, this is the one which gets very slow http://thecodeplayer.com/walkthrough/ps6
- # [14:13] * Quits: cpearce (~cpearce@ip-118-90-18-163.xdsl.xnet.co.nz) (Ping timeout: 246 seconds)
- # [14:13] <Philip`> In #decode: "the offset given the in the cell in the" - too many "the"s
- # [14:14] * Joins: espadrine (~thaddee_t@acces2342.res.insa-lyon.fr)
- # [14:14] * Joins: davidb (~davidb@66.207.208.98)
- # [14:15] <Philip`> "if the first bytes of stream match all the bytes given" sounds alright to me, since the meaning is clear and it's not being invalidly specific about how many bytes to examine from stream
- # [14:16] <annevk> made some clarification, thanks
- # [14:18] <Philip`> "Let byte2 be code point bitwise OR 0x00FF." - shouldn't that be AND?
- # [14:19] <MikeSmith> zcorpan, annevk - fyi http://www.w3.org/TR/2012/WD-html5-diff-20120315/ is alive
- # [14:19] <MikeSmith> symlink won't be updated til Thursday
- # [14:19] <MikeSmith> http://www.w3.org/TR/html5-diff/ I mean
- # [14:20] * Joins: tantek (~tantek@12.14.132.2)
- # [14:21] <annevk> Philip`: yes
- # [14:22] * Joins: karlcow (~karl@nerval.la-grange.net)
- # [14:22] * Joins: GlitchMr (~glitchmr@178-36-152-229.adsl.inetia.pl)
- # [14:24] * Quits: tantek (~tantek@12.14.132.2) (Ping timeout: 260 seconds)
- # [14:25] * Joins: MacTed (~Thud@63.119.36.36)
- # [14:26] <annevk> also fixed btw
- # [14:28] <annevk> MikeSmith: cool
- # [14:28] <annevk> MikeSmith: any chance we can finally claim http://www.w3.org/TR/html/ this update?
- # [14:29] <MikeSmith> ah
- # [14:29] <MikeSmith> I'll talk with plh about it
- # [14:29] <MikeSmith> certainly would make sense
- # [14:29] <annevk> thanks
- # [14:33] <annevk> HTML callback bug is https://www.w3.org/Bugs/Public/show_bug.cgi?id=15358 btw
- # [14:33] <annevk> filed it myself
- # [14:34] * Joins: twisted` (~anonymous@p5DDB99B5.dip.t-dialin.net)
- # [14:36] * Joins: ezoe (~ezoe@203-140-90-8f1.kyt1.eonet.ne.jp)
- # [14:43] * Joins: lhnz (~lhnz@188-223-83-48.zone14.bethere.co.uk)
- # [14:43] * Quits: lhnz (~lhnz@188-223-83-48.zone14.bethere.co.uk) (Read error: Connection reset by peer)
- # [14:55] <annevk> I cleaned up some HTML bugs
- # [14:56] * Joins: timmywil (~timmywil@host-68-169-175-226.WISOLT2.epbfi.com)
- # [14:57] * Quits: smaug____ (~chatzilla@GGYYKMDCCCLXXXIV.gprs.sl-laajakaista.fi) (Ping timeout: 272 seconds)
- # [14:57] <annevk> why does http://dvcs.w3.org/hg/webperf/raw-file/tip/specs/RequestAnimationFrame/Overview.html not use partial Window?
- # [15:00] * Parts: nathanstaines (~nathansta@217.205.197.194) ("Linkinus - http://linkinus.com")
- # [15:03] * Joins: izhak (~izhak@213.87.241.236)
- # [15:03] <zcorpan> MikeSmith: nice
- # [15:05] <zcorpan> MikeSmith: what about changes to html that happen between that and whatever ends up on w3.org/TR/html5 (like Path, and if stuff get reverted)
- # [15:06] <MikeSmith> zcorpan: that?
- # [15:06] * Quits: Bass10 (Bass10@c-76-113-194-7.hsd1.mn.comcast.net) (Quit: Leaving)
- # [15:07] <MikeSmith> you mean http://www.w3.org/TR/html/ ?
- # [15:09] <zcorpan> that being http://www.w3.org/TR/2012/WD-html5-diff-20120315/
- # [15:09] * Quits: danielfilho (~daniel@187.31.77.7) (Quit: </html>)
- # [15:09] <zcorpan> MikeSmith: e.g. if http+aes gets reverted, it should be moved in the changelog in html5-diff
- # [15:09] <MikeSmith> hmm
- # [15:09] <MikeSmith> yeah
- # [15:10] <MikeSmith> I guess will quietly push any updates to the TR version if needed
- # [15:11] <zcorpan> currently the Path addition is missing
- # [15:11] <MikeSmith> if you make the change I will push it to TR
- # [15:15] * Joins: danielfilho (~daniel@187.31.77.7)
- # [15:19] <MikeSmith> zcorpan: hmm I see that pubrules apparently requires a link to a mailing list
- # [15:19] <MikeSmith> it doesn't matter what it says
- # [15:20] <zcorpan> http://dev.w3.org/cvsweb/html5/html4-differences/Overview.src.html.diff?r1=1.181;r2=1.182 (need to rebuild Overview.html or monkeypatch)
- # [15:20] <zcorpan> MikeSmith: ok, i'll make it say to *not* use the mailing list :-)
- # [15:20] * Joins: malydok (~marek@moma.t16.ds.pwr.wroc.pl)
- # [15:20] <MikeSmith> e.g., it could say, "There's a _public-html-comments mailing list_ but the appropriate forum for comments is s W3C Bugzilla
- # [15:20] <annevk> I can do make at some point
- # [15:20] <annevk> just tell me when you're done editing and I'll generate a new WD
- # [15:21] * Quits: tomasf (~tomasf@77.72.97.5.c.fiberdirekt.net) (Quit: tomasf)
- # [15:21] <annevk> takes less than a minute
- # [15:22] <MikeSmith> zcorpan: it wants both a mailto: link for the list address as well as a link to the archives
- # [15:22] <zcorpan> (<a href="mailto:public-html-comments@w3.org">public-html-comments@w3.org</a>,
- # [15:22] <zcorpan> a mailing list with a
- # [15:22] <zcorpan> <a href="http://lists.w3.org/Archives/Public/public-html-comments/" title="Archive for HTML comments mailing-list">public
- # [15:22] <zcorpan> archive</a>, is no longer used for tracking comments.)
- # [15:22] * Joins: ksweeney (~Kevin_Swe@nyv-exweb.iac.com)
- # [15:22] <zcorpan> sounds good?
- # [15:22] <MikeSmith> yah
- # [15:23] <zcorpan> http://dev.w3.org/cvsweb/html5/html4-differences/Overview.src.html.diff?r1=1.182;r2=1.183
- # [15:24] * Joins: Taggnostr (~quassel@dyn57-362.yok.fi)
- # [15:34] * Joins: miketaylr (~miketaylr@cpe-70-112-101-224.austin.res.rr.com)
- # [15:36] <zcorpan> http://software.hixie.ch/utilities/js/live-dom-viewer/saved/1382 i don't understand what opera and gecko are doing here
- # [15:36] * Quits: miketaylr (~miketaylr@cpe-70-112-101-224.austin.res.rr.com) (Client Quit)
- # [15:36] * Quits: mpt (~mpt@canonical/mpt) (Ping timeout: 252 seconds)
- # [15:36] <zcorpan> chrome makes more sense
- # [15:50] * Joins: mpt (~mpt@nat/canonical/x-oinotosvbfbegzaz)
- # [15:50] * Quits: mpt (~mpt@nat/canonical/x-oinotosvbfbegzaz) (Changing host)
- # [15:50] * Joins: mpt (~mpt@canonical/mpt)
- # [15:52] * Joins: saba (~foo@unaffiliated/saba)
- # [15:54] <wirepair> what... exactly is the point of the http+aes scheme? http://dev.w3.org/html5/spec-author-view/iana.html#http-aes-scheme
- # [15:55] <wirepair> i've read it a few times and i just can't seem to wrap my head around *why* you'd want to put encryption keys in a url.
- # [15:55] <MikeSmith> annevk: please go ahead and re-make the diffs doc
- # [15:56] <MikeSmith> and check in the updated Overview.html
- # [15:56] <MikeSmith> if we have more changes later we can just do it again as needed
- # [15:57] <annevk> done
- # [15:59] <zcorpan> oh, so opera and gecko just apply the "can't break around images" for the purpose of calculating the minimum width, but after that they are fine with breaking around images
- # [16:01] <zcorpan> and ie in compat view matches opera/gecko
- # [16:01] <zcorpan> ie non-compat quirks doesn't have this quirk
- # [16:05] <MikeSmith> annevk: thanks
- # [16:06] * JohnAlbin is now known as JOHNALBIN
- # [16:07] * JOHNALBIN is now known as JohnAlbin
- # [16:08] * Joins: smaug____ (~chatzilla@193-64-21-81-nat.elisa-mobile.fi)
- # [16:09] * Quits: ruby_on_tails (~awakened@115.187.37.45) (Quit: Leaving.)
- # [16:09] * Quits: mishunov (~spliter@77.88.72.162) (Quit: mishunov)
- # [16:13] <zcorpan> ah, excellent, the Automatic table layout algo in css21 is non-normative
- # [16:13] <zcorpan> i recall someone from mozilla having written a spec for table layout, but can't find it right now
- # [16:13] * Quits: niloy (~niloy@61.12.96.242) (Ping timeout: 248 seconds)
- # [16:14] <jgraham> zcorpan: Go speak to dbaron
- # [16:14] <jgraham> He will explain table layout to you from memory
- # [16:14] * Quits: Areks (~Areks@rs.gridnine.com) (Ping timeout: 272 seconds)
- # [16:15] * zcorpan finds http://dbaron.org/css/intrinsic/
- # [16:17] <zcorpan> http://dbaron.org/css/intrinsic/#inline-intrinsic-min
- # [16:17] <zcorpan> excellent, what i want is a TODO :-)
- # [16:19] <smaug____> so, the spec should refer to dbaron's brains?
- # [16:19] * Joins: ehsan (~ehsan@66.207.208.98)
- # [16:20] <jgraham> Well ideally dbaron should serialize the content of his brain to some more durable format
- # [16:20] * Quits: karega (karega@cpe-76-184-236-100.tx.res.rr.com) (Ping timeout: 272 seconds)
- # [16:21] * Joins: tantek (~tantek@50.59.76.58)
- # [16:21] <smaug____> but hey, it would be just a living standard
- # [16:23] <jgraham> The problem with living standards is that it's hard to clone their host body and init the clone's brain with the original data. We need the serialization for that.
- # [16:28] * Quits: mpt (~mpt@canonical/mpt) (Ping timeout: 252 seconds)
- # [16:30] * Quits: saba (~foo@unaffiliated/saba) (Ping timeout: 246 seconds)
- # [16:32] * Joins: timeless (u4015@firefox/developer/timeless)
- # [16:32] * Joins: mpt (~mpt@nat/canonical/x-cnlxjmghjdpmibav)
- # [16:32] * Quits: mpt (~mpt@nat/canonical/x-cnlxjmghjdpmibav) (Changing host)
- # [16:32] * Joins: mpt (~mpt@canonical/mpt)
- # [16:32] * Joins: saba (~foo@unaffiliated/saba)
- # [16:35] * Quits: MikeSmith (~MikeSmith@p15181-obmd01.tokyo.ocn.ne.jp) (Quit: MikeSmith)
- # [16:38] <annevk> haha
- # [16:38] <annevk> taking living standard to a whole new level
- # [16:41] * Quits: izhak (~izhak@213.87.241.236) (Ping timeout: 246 seconds)
- # [16:43] * Quits: tantek (~tantek@50.59.76.58) (Quit: tantek)
- # [16:44] * Joins: MikeSmith (~MikeSmith@p15181-obmd01.tokyo.ocn.ne.jp)
- # [16:44] * Joins: plutoniix (~plutoniix@182.53.63.11)
- # [16:47] * Joins: karega (~karegaani@64.124.202.222)
- # [16:50] * Quits: saba (~foo@unaffiliated/saba) (Ping timeout: 240 seconds)
- # [16:51] * Joins: saba (~foo@unaffiliated/saba)
- # [17:01] * Quits: zcorpan (~zcorpan@c-699de355.410-6-64736c14.cust.bredbandsbolaget.se) (Quit: zcorpan)
- # [17:09] * Quits: maikmerten (~merten@ls5dhcp200.cs.uni-dortmund.de) (Quit: Verlassend)
- # [17:10] * Quits: mpt (~mpt@canonical/mpt) (Quit: Ex-Chat)
- # [17:11] * Joins: mpt (~mpt@canonical/mpt)
- # [17:15] * Joins: jarek (~jarek@unaffiliated/jarek)
- # [17:20] * Quits: PalleZingmark (~Adium@217.13.228.226) (Quit: Leaving.)
- # [17:23] * Joins: pixelflips (~pixelflip@69-170-13-3.static-ip.telepacific.net)
- # [17:24] * Quits: dirkpennings (~dirkpenni@90-145-26-140.bbserv.nl) (Ping timeout: 246 seconds)
- # [17:25] * Quits: micheil (~micheil@109.224.128.70) (Quit: micheil)
- # [17:26] * Joins: jcarbaugh (~jcarbaugh@12.43.172.10)
- # [17:28] * Joins: micheil (~micheil@109.224.128.70)
- # [17:28] * Quits: micheil (~micheil@109.224.128.70) (Client Quit)
- # [17:29] * Quits: jernoble (~jernoble@2620:149:4:1b01:15dc:f967:6b4e:8bcc) (Quit: jernoble)
- # [17:35] * Joins: jernoble (~jernoble@17.212.152.13)
- # [17:38] * Quits: danbri (~danbri@cable-146-255-149-19.dynamic.telemach.ba) (Ping timeout: 260 seconds)
- # [17:39] * Quits: mhausenblas (~mhausenbl@wlan-nat.fwgal01.deri.ie) (Quit: bye)
- # [17:39] * Quits: slightlyoff (u1768@gateway/web/irccloud.com/x-oshtjvimzsenvyml)
- # [17:40] * Quits: mpt (~mpt@canonical/mpt) (Ping timeout: 244 seconds)
- # [17:52] * Quits: mattwest (~mattwest@host81-149-171-23.in-addr.btopenworld.com) (Ping timeout: 252 seconds)
- # [17:55] * Joins: mpt (~mpt@canonical/mpt)
- # [18:01] * Joins: ap (~ap@2620:149:4:1b01:c4d2:94fb:a988:8cc7)
- # [18:02] * Joins: GlitchMr42 (~glitchmr@77-254-33-137.adsl.inetia.pl)
- # [18:02] * Joins: tantek (~tantek@12.14.132.2)
- # [18:05] * Quits: GlitchMr (~glitchmr@178-36-152-229.adsl.inetia.pl) (Ping timeout: 260 seconds)
- # [18:07] * Joins: chriseppstein (~chrisepps@209.119.65.162)
- # [18:07] * Joins: Ms2ger (~Ms2ger@91.181.250.56)
- # [18:08] * Quits: tantek (~tantek@12.14.132.2) (Quit: tantek)
- # [18:10] * Quits: Evanescence (~Evanescen@60.183.204.41) (Quit: my website: http://stardiviner.dyndns-blog.com/)
- # [18:11] * Quits: Lachy (Lachy@nat/opera/x-tszvwmqdlwfgfbch) (Quit: Computer has gone to sleep.)
- # [18:12] * Joins: Maurice (copyman@5ED573FA.cm-7-6b.dynamic.ziggo.nl)
- # [18:17] * Quits: annevk (annevk@nat/opera/x-unhwvbxvtwoctlqh) (Quit: annevk)
- # [18:21] <Hixie> Philip`, or anyone else: any opinions on ellipse apis before i spec this proposal? http://wiki.whatwg.org/wiki/Canvas#Ellipses
- # [18:21] <Hixie> i'm not 100% happy with making it take x and y radii arguments because that means you have to do a rotation to get a rotated ellipse
- # [18:22] * Quits: saba (~foo@unaffiliated/saba) (Ping timeout: 240 seconds)
- # [18:23] * Joins: saba (~foo@unaffiliated/saba)
- # [18:23] <AryehGregor> You could have it take two foci instead of a center and radius.
- # [18:23] <AryehGregor> That's still just one extra argument over a circle.
- # [18:23] * Quits: karlcow (~karl@nerval.la-grange.net) (Quit: :tiuQ tiuq sah woclrak)
- # [18:23] <Hixie> so basically have ellipseArc and ellipseArcTo rather than arc and arcTo?
- # [18:24] <Hixie> rather than just overloading them i mean
- # [18:24] * AryehGregor isn't familiar enough with canvas to say what API makes the most sense
- # [18:24] <AryehGregor> Overloading on the number of arguments of a method that already takes five or six numeric arguments seems kind of confusing, though.
- # [18:26] * Joins: scor (~scor@drupal.org/user/52142/view)
- # [18:27] * Quits: jarek (~jarek@unaffiliated/jarek) (Quit: jarek)
- # [18:27] <Hixie> (if i take foci don't i still need a semi-major axis distance?)
- # [18:28] <AryehGregor> Hmm.
- # [18:29] <AryehGregor> Yeah, I think you need one more parameter in that case, you're right. You can have two different ellipses with the same foci.
- # [18:29] <Hixie> only two?
- # [18:30] <Hixie> surely i can have an infinite number
- # [18:30] <AryehGregor> Well, yes, of course.
- # [18:30] <Hixie> since two foci doesn't give you any data on the semi-minor axis
- # [18:30] <AryehGregor> I just meant that given two foci, there exist two distinct ellipses with those foci.
- # [18:30] * Quits: saba (~foo@unaffiliated/saba) (Ping timeout: 248 seconds)
- # [18:30] <AryehGregor> There are actually more than two, but two is enough to make my suggestion bad.
- # [18:31] * Joins: tomasf (~tom@2002:55e5:dbb7:0:21ab:9111:7efd:2641)
- # [18:32] <Hixie> i tried looking at the CG reference to see how they do it
- # [18:32] <Hixie> but of course that's the api that canvas was copied from
- # [18:33] <Hixie> so they don't
- # [18:33] <Hixie> same as us -_-
- # [18:35] * Joins: ekr (~ekr@74-95-2-169-SFBA.hfc.comcastbusiness.net)
- # [18:35] <Ms2ger> "I'm at capacity (arguably over capacity) already."
- # [18:35] <Ms2ger> Arguably?
- # [18:36] * Joins: mhausenblas (~mhausenbl@188.141.67.15)
- # [18:37] * Quits: mhausenblas (~mhausenbl@188.141.67.15) (Client Quit)
- # [18:39] * Joins: miketaylr (~miketaylr@64.134.148.201)
- # [18:41] <MikeSmith> Ms2ger: who said that?
- # [18:41] <Ms2ger> Hixie
- # [18:41] * Joins: tantek (~tantek@69.170.174.210)
- # [18:48] * Parts: ksweeney (~Kevin_Swe@nyv-exweb.iac.com)
- # [18:48] * Quits: jcarbaugh (~jcarbaugh@12.43.172.10)
- # [18:48] * Quits: miketaylr (~miketaylr@64.134.148.201) (Ping timeout: 245 seconds)
- # [18:51] * Quits: timmywil (~timmywil@host-68-169-175-226.WISOLT2.epbfi.com) (Quit: Computer has gone to sleep.)
- # [18:52] * Quits: drublic (~drublic@frbg-4d028a56.pool.mediaWays.net) (Remote host closed the connection)
- # [18:52] * Joins: kbrosnan (kbrosnan@firefox/community/qa/kbrosnan)
- # [18:52] * Quits: erichynds (~ehynds@venkman.brightcove.com)
- # [18:55] * Joins: pablof (~pablof@144.189.101.1)
- # [18:57] * Quits: facefox (~facefox@pool-74-111-197-200.lsanca.fios.verizon.net) (Ping timeout: 272 seconds)
- # [18:57] * Joins: facefox (~facefox@pool-74-111-197-200.lsanca.fios.verizon.net)
- # [19:02] * Joins: Bass10 (~Bass10@c-76-113-194-7.hsd1.mn.comcast.net)
- # [19:03] * nonge_ is now known as nonge
- # [19:03] * Quits: woef (~woef@91.183.84.141) (Ping timeout: 246 seconds)
- # [19:03] * Quits: Bass10 (~Bass10@c-76-113-194-7.hsd1.mn.comcast.net) (Max SendQ exceeded)
- # [19:03] * Joins: Bass10 (Bass10@c-76-113-194-7.hsd1.mn.comcast.net)
- # [19:05] * Ms2ger wonders how to get dragonfly to open
- # [19:06] * Joins: rniwa (rniwa@nat/google/x-jgdolqidnwtgisnd)
- # [19:06] * Joins: timmywil (~timmywil@host-68-169-154-67.WISOLT2.epbfi.com)
- # [19:08] * Quits: malydok (~marek@moma.t16.ds.pwr.wroc.pl) (Quit: Farewell)
- # [19:09] * Quits: ekr (~ekr@74-95-2-169-SFBA.hfc.comcastbusiness.net) (Quit: ekr)
- # [19:11] * Joins: jwalden (~waldo@2620:101:8003:200:224:d7ff:fef0:8d90)
- # [19:12] * Joins: dave_levin (dave_levin@nat/google/x-lionlwogbanmihqy)
- # [19:12] * Joins: svl (~me@ip565744a7.direct-adsl.nl)
- # [19:14] * Joins: maikmerten (~maikmerte@port-92-201-68-213.dynamic.qsc.de)
- # [19:15] <jgraham> Ms2ger: At what stage are you having a problem?
- # [19:15] <Ms2ger> Figured it out, the menu item was hidden three levels deep
- # [19:16] * Quits: jwalden (~waldo@2620:101:8003:200:224:d7ff:fef0:8d90) (Client Quit)
- # [19:16] <jgraham> That's the problem I have too
- # [19:16] <Ms2ger> AryehGregor, are you using the live dom viewer, and do you mind if I overwrite the test? :)
- # [19:16] * Joins: aklein (u4454@gateway/web/irccloud.com/x-jhecnykavzxtxrcn)
- # [19:16] <AryehGregor> Ms2ger, you can always overwrite the stuff I upload to Live DOM Viewer.
- # [19:16] <AryehGregor> Of course, I might overwrite what you upload too. :)
- # [19:17] <Ms2ger> If only I managed to :)
- # [19:19] * Ms2ger curses IE's XSS protection
- # [19:19] <Ms2ger> They're wrong anyway, so *shrug*
- # [19:19] <AryehGregor> That's part of why upload/download is so much more useful.
- # [19:19] <Ms2ger> All to yourself again :)
- # [19:19] <Hixie> looks like a lot of other apis do only x/y-aligned ellipses too
- # [19:20] <Ms2ger> Am I alone in finding Win8 hard to shut down?
- # [19:21] * AryehGregor just powers off the VM instead of sending a shutdown signal
- # [19:21] <Philip`> Shutting down is an obsolete concept
- # [19:27] <jgraham> Ms2ger: According to the interweb, everyone finds it hard to shut down
- # [19:27] <Ms2ger> Good
- # [19:27] <jgraham> Or at least enough people that there are supposedly youtube video tutorials on it
- # [19:27] * Ms2ger is in favour of Microsoft shipping crap
- # [19:30] * Joins: Lachy (~Lachy@77.88.102.21)
- # [19:31] * Joins: KevinMarks (~KevinMark@c-71-204-145-244.hsd1.ca.comcast.net)
- # [19:43] * GlitchMr42 is now known as GlitchMr
- # [19:43] * Joins: jwalden (~waldo@2620:101:8003:200:224:d7ff:fef0:8d90)
- # [19:45] * Joins: hasather_ (~hasather_@cm-84.208.108.107.getinternet.no)
- # [19:45] * Joins: tantek_ (~tantek@69.170.174.210)
- # [19:46] * Quits: tantek (~tantek@69.170.174.210) (Read error: Connection reset by peer)
- # [19:46] * tantek_ is now known as tantek
- # [19:48] * Quits: tantek (~tantek@69.170.174.210) (Client Quit)
- # [19:49] * Quits: facefox (~facefox@pool-74-111-197-200.lsanca.fios.verizon.net) (Ping timeout: 245 seconds)
- # [19:50] * Joins: facefox (~facefox@pool-74-111-197-200.lsanca.fios.verizon.net)
- # [19:54] * Quits: Lachy (~Lachy@77.88.102.21) (Quit: Computer has gone to sleep.)
- # [19:58] * Quits: JohnAlbin (~JohnAlbin@114-42-57-171.dynamic.hinet.net) (Read error: Operation timed out)
- # [19:59] * Joins: JohnAlbin (~JohnAlbin@114-42-57-171.dynamic.hinet.net)
- # [20:01] <AryehGregor> Ms2ger, what's the rationale for this? It causes any quotes in test names or results to be backslash-escaped. http://dvcs.w3.org/hg/resources/rev/b2e673a7d8c7
- # [20:01] <Ms2ger> XML :/
- # [20:01] <Ms2ger> And the fact that it uses innerHTML
- # [20:02] <AryehGregor> More specifically?
- # [20:02] * Ms2ger tries to remember the test
- # [20:02] <AryehGregor> If the problem is bad characters sneaking into test names, escape_html could entity-escape them.
- # [20:02] * Joins: jarek (~jarek@unaffiliated/jarek)
- # [20:03] <AryehGregor> format_value (and the part you copied into format_string) escapes in JS fashion, with backslashes, and in particular escapes innocuous stuff like quotes.
- # [20:03] <AryehGregor> I now have stuff like: Fail getComputedStyle(div).transformOrigin with \"transform: rotate(43deg); transform-origin: left 10px bottom -10px\", set via setAttribute() assert_approx_equals: Value of X part (actual: \"40px 15px\", expected: \"50px 25px\") expected 50 +/- 0.05 but got 40
- # [20:03] <Ms2ger> Yeah :/
- # [20:03] <Ms2ger> http://w3c-test.org/webapps/DOMCore/tests/submissions/Ms2ger/Document-createProcessingInstruction.xhtml was the one, I think
- # [20:04] <AryehGregor> That test should call format_value() itself on valid[i][0], valid[i][1], etc.
- # [20:04] <AryehGregor> That will add quotes and nice things like that too.
- # [20:04] <AryehGregor> You don't want to call it on the whole test name.
- # [20:04] <Ms2ger> OK
- # [20:05] <AryehGregor> Can I revert your testharness changes?
- # [20:05] <Ms2ger> Sure thing
- # [20:05] <AryehGregor> Okay, thanks.
- # [20:05] <Ms2ger> Well
- # [20:05] <Ms2ger> Hmm, I guess
- # [20:05] <Ms2ger> Yes, go ahead
- # [20:05] <AryehGregor> Okay.
- # [20:07] <AryehGregor> Is there a convenient hg equivalent to git revert -n?
- # [20:13] <Ms2ger> hg backout?
- # [20:13] <AryehGregor> That creates a commit.
- # [20:14] <Ms2ger> Well, yes
- # [20:14] <AryehGregor> git revert -n doesn't create a commit.
- # [20:14] <Ms2ger> What does it do then?
- # [20:14] <AryehGregor> It just applies the diff.
- # [20:14] <AryehGregor> I wound up doing hg diff -r 6 -r 4 | patch.
- # [20:14] * Joins: aniasis (~karegaani@64.124.202.222)
- # [20:15] <AryehGregor> Which conflicted because some context didn't match, but close enough.
- # [20:15] * Quits: karega (~karegaani@64.124.202.222) (Ping timeout: 265 seconds)
- # [20:16] * Quits: facefox (~facefox@pool-74-111-197-200.lsanca.fios.verizon.net) (Ping timeout: 252 seconds)
- # [20:17] * Joins: facefox (~facefox@pool-74-111-197-200.lsanca.fios.verizon.net)
- # [20:19] * Quits: hasather_ (~hasather_@cm-84.208.108.107.getinternet.no) (Remote host closed the connection)
- # [20:19] * Quits: aniasis (~karegaani@64.124.202.222) (Ping timeout: 264 seconds)
- # [20:20] * Joins: karega (~karegaani@64.124.202.222)
- # [20:20] <rniwa> AryehGregor: hi AryehGregor
- # [20:20] <AryehGregor> rniwa, hi!
- # [20:20] <rniwa> AryehGregor: did you see my email about nested transactions in undo manger?
- # [20:20] * Joins: jarek_ (~jarek@bcr30.neoplus.adsl.tpnet.pl)
- # [20:20] <AryehGregor> rniwa, yes.
- # [20:20] <AryehGregor> execCommand() should never be called recursively anyway now, because that will fire extra events.
- # [20:20] <AryehGregor> There were a few places where my spec said to do that, and I'm in the middle of fixing them.
- # [20:20] * Joins: ojan (u5519@gateway/web/irccloud.com/x-bnlybvhirghkbavh)
- # [20:20] * Quits: jarek (~jarek@unaffiliated/jarek) (Ping timeout: 252 seconds)
- # [20:21] * Quits: facefox (~facefox@pool-74-111-197-200.lsanca.fios.verizon.net) (Read error: Connection reset by peer)
- # [20:25] * Quits: karega (~karegaani@64.124.202.222) (Read error: Connection reset by peer)
- # [20:25] * Joins: aniasis (~karegaani@64.124.202.222)
- # [20:25] * Joins: Lachy (~Lachy@cm-84.215.13.244.getinternet.no)
- # [20:25] * Joins: erichynds (~ehynds@venkman.brightcove.com)
- # [20:27] * Quits: jarek_ (~jarek@bcr30.neoplus.adsl.tpnet.pl) (Quit: jarek_)
- # [20:27] * Quits: maikmerten (~maikmerte@port-92-201-68-213.dynamic.qsc.de) (Quit: Leaving)
- # [20:28] * Quits: gkellogg (~gregg@c-98-248-150-91.hsd1.ca.comcast.net) (Ping timeout: 260 seconds)
- # [20:28] * Quits: aniasis (~karegaani@64.124.202.222) (Read error: Connection reset by peer)
- # [20:28] * Joins: karega (~karegaani@64.124.202.222)
- # [20:29] * Quits: smaug____ (~chatzilla@193-64-21-81-nat.elisa-mobile.fi) (Ping timeout: 255 seconds)
- # [20:33] * Joins: othermaciej (~mjs@c-24-6-209-189.hsd1.ca.comcast.net)
- # [20:33] * Quits: MikeSmith (~MikeSmith@p15181-obmd01.tokyo.ocn.ne.jp) (Quit: MikeSmith)
- # [20:38] * Joins: ncooley (~tandemsev@c-50-133-132-159.hsd1.ma.comcast.net)
- # [20:39] * Joins: MikeSmith (~MikeSmith@p15181-obmd01.tokyo.ocn.ne.jp)
- # [20:42] * Joins: StoneCypher (~no@pool-71-191-249-112.washdc.fios.verizon.net)
- # [20:42] <StoneCypher> is it possible to control <td> border miters?
- # [20:46] * Quits: othermaciej (~mjs@c-24-6-209-189.hsd1.ca.comcast.net) (Quit: othermaciej)
- # [20:46] * Quits: karega (~karegaani@64.124.202.222) (Ping timeout: 264 seconds)
- # [20:46] * Quits: svl (~me@ip565744a7.direct-adsl.nl) (Ping timeout: 265 seconds)
- # [20:50] * Joins: karega (~karegaani@64.124.202.222)
- # [20:51] * Joins: auk (~scott@AMontsouris-752-1-155-182.w90-2.abo.wanadoo.fr)
- # [20:55] * Quits: GlitchMr (~glitchmr@77-254-33-137.adsl.inetia.pl) (Read error: Connection reset by peer)
- # [20:57] * Joins: jcarbaugh (~jcarbaugh@12.191.60.29)
- # [20:58] * Quits: auk (~scott@AMontsouris-752-1-155-182.w90-2.abo.wanadoo.fr) (Quit: Ex-Chat)
- # [20:58] * Joins: aniasis (~karegaani@64.124.202.222)
- # [20:58] * Quits: karega (~karegaani@64.124.202.222) (Read error: Connection reset by peer)
- # [21:00] * Joins: smaug____ (~chatzilla@193-64-21-55-nat.elisa-mobile.fi)
- # [21:02] <Hixie> heycam|away: can webidl distingush (five doubles and a boolean) from (six doubles), when it comes to overloading method ?
- # [21:02] <Hixie> methods, even
- # [21:03] <Ms2ger> Doesn't look like it
- # [21:04] <Hixie> crap
- # [21:04] <AryehGregor> Why not?
- # [21:04] <Hixie> that's unfortunate
- # [21:04] <AryehGregor> Also: why in heaven's name would you want such a confusing overload?
- # [21:04] <AryehGregor> Wouldn't a separate method be a lot clearer?
- # [21:05] <Ms2ger> Because we can!
- # [21:05] <Ms2ger> Well, we can't
- # [21:05] <Hixie> it'd be pretty clear, in this case, in practice
- # [21:05] <Hixie> but anyway. lunch.
- # [21:13] * Quits: JohnAlbin (~JohnAlbin@114-42-57-171.dynamic.hinet.net) (Read error: Connection reset by peer)
- # [21:13] * Joins: JohnAlbin_ (~JohnAlbin@114-42-54-208.dynamic.hinet.net)
- # [21:14] * Joins: Evanescence (~Evanescen@60.183.204.41)
- # [21:25] * Joins: sicking (~chatzilla@nat/mozilla/x-blsacpouqafyclyc)
- # [21:27] <rniwa> AryehGregor: ah, ok. great.
- # [21:27] <rniwa> AryehGregor: so just prohibit the nested transaction as wel?
- # [21:30] <AryehGregor> rniwa, I guess.
- # [21:30] <AryehGregor> I'm not familiar enough with UndoManager to understand the implications, TBH.
- # [21:35] <rniwa> sicking: ping
- # [21:35] <rniwa> AryehGregor: so the implication is simple
- # [21:35] <rniwa> AryehGregor: nobody is allowed to add new transaction while someone else's running a transaction
- # [21:35] <rniwa> AryehGregor: it might get a little tricky when there are cross-origin iframes
- # [21:36] <rniwa> AryehGregor: because the you sort of leak the information that a transaction is in progress
- # [21:36] <AryehGregor> Right, but I don't remember the use-cases etc. well enough to know what effect that would have in practice.
- # [21:36] <rniwa> but I don't think that's a big of deal
- # [21:36] <rniwa> ehsan: yt?
- # [21:36] <AryehGregor> Do cross-origin iframes share the same undo manager as their host page? That seems a little surprising.
- # [21:36] <AryehGregor> There's already information leak there, then, right?
- # [21:36] <rniwa> AryehGregor: no
- # [21:36] <ehsan> rniwa: yeah
- # [21:36] <rniwa> AryehGregor: there should be undo manager per document
- # [21:36] <rniwa> AryehGregor: but that's also tricky for webkit & ie
- # [21:37] <rniwa> AryehGregor: because undo stack shared across the entire page at the moment
- # [21:37] <AryehGregor> Then you're already leaking information. E.g., you can take some action in the outer page, wait a while, and see if execCommand("undo") reverses it. If it doesn't, the user must have taken some action in the iframe that got reversed.
- # [21:38] <rniwa> AryehGregor: right.
- # [21:38] <AryehGregor> Actually, that means the outer page can use undo/redo to modify the DOM of the inner page. That seems like it might be "interesting" from a security perspective.
- # [21:38] <rniwa> AryehGregor: while i'm not going to talk about specifics, there's a bug about it.
- # [21:38] <rniwa> AryehGregor: it's extremely tricky
- # [21:38] <Ms2ger> What's this "unrestricted float" thing in WebIDL?
- # [21:38] <rniwa> to say the least
- # [21:39] <rniwa> ehsan: do you think prohibiting nested transaction is the way to go?
- # [21:39] <AryehGregor> Ms2ger, https://www.w3.org/Bugs/Public/show_bug.cgi?id=16075
- # [21:39] <ehsan> rniwa: I still have not caught up with the thread
- # [21:39] * Quits: erichynds (~ehynds@venkman.brightcove.com)
- # [21:39] <rniwa> ehsan: ok
- # [21:39] * Joins: hasather_ (~hasather_@cm-84.208.108.107.getinternet.no)
- # [21:40] <rniwa> ehsan, AryehGregor: I just want to make sure the API behaves sane
- # [21:40] <ehsan> rniwa: I'll look at the thread later today
- # [21:40] <rniwa> ehsan, AryehGregor: on somewhat related note, DOMTransaction interface needs to be a callback interface
- # [21:40] * Quits: aniasis (~karegaani@64.124.202.222) (Remote host closed the connection)
- # [21:40] * Joins: karega (~karegaani@64.124.202.222)
- # [21:40] <rniwa> and there are a quite few interesting stuff going on with respect to GC
- # [21:40] <rniwa> because they need to be kept alive until undo/redo are done
- # [21:41] <Ms2ger> AryehGregor, is there a bug on HTML to use it?
- # [21:41] <AryehGregor> Ms2ger, not AFAIK.
- # [21:41] <rniwa> ehsan, AryehGregor: however, they might be pruned earlier if undoManager gets destroyed...
- # [21:45] * Joins: othermaciej (~mjs@17.245.88.25)
- # [21:47] * Quits: Dashiva (Dashiva@wikia/Dashiva)
- # [21:48] * Quits: KevinMarks (~KevinMark@c-71-204-145-244.hsd1.ca.comcast.net) (Ping timeout: 252 seconds)
- # [21:50] * Joins: svl (~me@ip565744a7.direct-adsl.nl)
- # [21:55] * Joins: KevinMarks (~KevinMark@nat-204-14-239-208-sfo.net.salesforce.com)
- # [21:58] * Joins: Dashiva (Dashiva@84-72-44-85.dclient.hispeed.ch)
- # [21:58] * Quits: Dashiva (Dashiva@84-72-44-85.dclient.hispeed.ch) (Changing host)
- # [21:58] * Joins: Dashiva (Dashiva@wikia/Dashiva)
- # [22:03] * Quits: hasather_ (~hasather_@cm-84.208.108.107.getinternet.no) (Remote host closed the connection)
- # [22:04] <smaug____> rniwa: just curious, does the undomanager thingie define how much needs to be kept in undo/redo stacks ?
- # [22:04] <rniwa> smaug____: it does not.
- # [22:05] <smaug____> undo can use quite some memory
- # [22:05] <rniwa> smaug____: right.
- # [22:05] <rniwa> smaug____: so we should probably add some limit to it
- # [22:05] <smaug____> yeah
- # [22:05] <rniwa> smaug____: but then... should we modify the page of undo stack pruning?
- # [22:05] <rniwa> notify*
- # [22:05] <smaug____> I think gecko has some limit
- # [22:05] <smaug____> ehsan might remember what that is
- # [22:06] * Quits: ap (~ap@2620:149:4:1b01:c4d2:94fb:a988:8cc7) (Quit: ap)
- # [22:07] <ehsan> smaug____: I don't think we impose a limit in fact
- # [22:07] <smaug____> there is max transaction count
- # [22:08] <ehsan> smaug____: well we set it to -1, which means don't care
- # [22:08] <smaug____> bah :)
- # [22:08] * Joins: ap (~ap@17.245.90.141)
- # [22:08] * Joins: Yuhong (~chatzilla@50-47-183-10.evrt.wa.frontiernet.net)
- # [22:08] <ehsan> smaug____: I don't see the point in imposing a limit...
- # [22:09] <ehsan> web pages can already do stupid stuff if they wanna burn memory
- # [22:09] <smaug____> and do
- # [22:09] * Joins: danbri (~danbri@cable-146-255-149-19.dynamic.telemach.ba)
- # [22:09] <rniwa> ehsan: I think chromium has a limit
- # [22:09] <smaug____> like irccloud
- # [22:09] <ehsan> and we don't need operations which are in an order of the length of the stack
- # [22:09] * Joins: abarth (~abarth@173-164-128-209-SFBA.hfc.comcastbusiness.net)
- # [22:09] <ehsan> rniwa: then I would suggest that they should lift it ;)
- # [22:09] * Quits: LBP (~Mirc@pD9EB1DCF.dip0.t-ipconnect.de) (Quit: Bye, bye! See you on http://leanbackplayer.com)
- # [22:09] <ehsan> smaug____: or, (sigh), gmail
- # [22:09] <Yuhong> http://ln.hixie.ch/?start=1137740632&count=1
- # [22:10] <smaug____> ehsan: oh, even that
- # [22:10] <Yuhong> "The HTML5 spec says that if you use another DOCTYPE, UAs can switch to quirks mode, in which case all bets are off. I'm not even going to try to specify quirks mode parsing. Hopefully, by making the DOCTYPE short and memorable, it will encourage authors to use it more."
- # [22:10] <smaug____> and sure, google reader too
- # [22:10] <Yuhong> From Hixie.
- # [22:10] <ehsan> jee, those like buttons?
- # [22:10] <smaug____> google web devs clearly don't have the right tools the find leaks
- # [22:10] <ehsan> don't get me started ;)
- # [22:10] <smaug____> "leaks"
- # [22:11] * Quits: othermaciej (~mjs@17.245.88.25) (Read error: Connection reset by peer)
- # [22:11] <Ms2ger> Oh hey, karl heard about me
- # [22:11] * Joins: othermaciej (~mjs@17.245.88.25)
- # [22:11] <Yuhong> Two years before X-UA-Compatible was created.
- # [22:11] <smaug____> s/the/to/
- # [22:11] <rniwa> smaug____, ehsan: i think webkit currently keeps undo stack for a page as long as the page is there
- # [22:11] <rniwa> so we need to change that before lifting the limit
- # [22:12] <rniwa> e.g. prune entries in the undo stack for a frame when the frame is destroyed, etc...
- # [22:12] <ehsan> rniwa: when you say frame, what do you mean? iframes? or rendering objects?
- # [22:12] <rniwa> ehsan: i mean DOM frames
- # [22:13] <smaug____> undo should be per document
- # [22:13] <rniwa> smaug____: it is not for webkit and msie
- # [22:13] <smaug____> but it should be :)
- # [22:13] <rniwa> smaug____: well, maybe.
- # [22:13] <ehsan> rniwa: I think smaug____ is right here, I don't know why they should have anything to do with frames
- # [22:14] <rniwa> smaug____: but gecko/opera also uses different undo stack for each text form controls
- # [22:14] <smaug____> undomanager is something new anyway, so better to make a good API
- # [22:14] <rniwa> whereas webkit and msie don't
- # [22:14] <ehsan> rniwa: that's sort of a by-product of gecko's editor
- # [22:14] <ehsan> no good reason ;)
- # [22:14] <rniwa> smaug____: well but it change the user-initiated undo behavior
- # [22:14] <smaug____> rniwa: sure. I actually think there should be several undomanagers
- # [22:14] <ehsan> although that seems intuitive to me as a user...
- # [22:15] <ehsan> (that = treating each text control as a separate undo host)
- # [22:15] <smaug____> yeah
- # [22:15] <rniwa> don't think we want to change the behavior here though
- # [22:16] * smaug____ doesn't know what behavior chrome has
- # [22:16] <ehsan> which behavior?
- # [22:16] <rniwa> that text form controls share the same undo manager
- # [22:16] <rniwa> smaug____: chrome=webkit here
- # [22:16] <rniwa> ehsan: also, we don't provide any mechanisms to merge undo managers
- # [22:17] <rniwa> so this would mean that websites can never have a page that shares the same undo managers amongst text from controls
- # [22:17] <rniwa> which might be desirable in spreadsheet apps
- # [22:17] <ehsan> rniwa: so in webkit, if you have two text fields, type foo in one of them and go to the other and do cmd+z, foo gets deleted from the first box?
- # [22:17] <rniwa> ehsan: right.
- # [22:17] <ehsan> rniwa: wow
- # [22:17] <smaug____> ugh
- # [22:17] <smaug____> sounds bizarre
- # [22:17] <ehsan> that sounds broken
- # [22:17] * ehsan tries it to see for himself
- # [22:17] <rniwa> ehsan: but it's useful when you're filling up forms
- # [22:17] <rniwa> ehsan: and want to do undo a bunch
- # [22:18] <Ms2ger> MikeSmith, yt?
- # [22:18] <smaug____> rniwa: so you need to remember which field you have filled in which order...
- # [22:18] <smaug____> before undoing
- # [22:18] <smaug____> strange
- # [22:19] <rniwa> smaug____: i mean, people normally fills in forms from top-down
- # [22:19] * Joins: roc (~chatzilla@ANancy-256-1-49-6.w90-26.abo.wanadoo.fr)
- # [22:19] <rniwa> smaug____: anyway i'm not about to argue about why we do this
- # [22:19] <smaug____> web apps could just move focus to previous field or something like that if field is emptied using undo
- # [22:19] <smaug____> rniwa: is that some ancient behavior in webkit?
- # [22:19] <rniwa> smaug____: right.
- # [22:19] <rniwa> smaug____: yeah
- # [22:19] <ehsan> this seems very bizzare to me...
- # [22:20] <rniwa> smaug____, ehsan: anyway, i don't think we can change this behavior
- # [22:20] <ehsan> although, it is a UX question
- # [22:20] <rniwa> because of legacy apps that depend on this particular behavior
- # [22:20] <smaug____> ( yeah, sounds like breaking all sorts of basic UX rules )
- # [22:20] <rniwa> right, it's a UX issue
- # [22:20] <ehsan> it might be sane in the case of forms, but we can't assume that all two text fields in the same page belong to the same form!
- # [22:20] <rniwa> we try to follow the platform convention whenever possible
- # [22:20] <rniwa> ehsan: right, that's why we want undoScope :)
- # [22:20] <ehsan> rniwa: well, here, platform convention is basically webkit's behavior :(
- # [22:20] <ehsan> so that's a logical loop ;)
- # [22:24] <rniwa> ehsan: as i said, IE does this too
- # [22:24] <ehsan> well yeah
- # [22:24] <ehsan> but we should see if this happens with the windows text control for example
- # [22:25] <ehsan> since that would be the real platform convention
- # [22:26] <rniwa> ehsan: yeah, but i can't find an app that have multiple form controls in a document
- # [22:26] <rniwa> most of examples i can find are modal dialogs
- # [22:26] <rniwa> and they, of course, behave differently
- # [22:27] * Quits: Ms2ger (~Ms2ger@91.181.250.56) (Quit: nn)
- # [22:27] <ehsan> rniwa: I have one here in fact, gimme a sec
- # [22:27] * ehsan waits for his windows box to boot up
- # [22:30] <ehsan> rniwa: ok, on native windows, each text field has its own undo stack
- # [22:30] <rniwa> ehsan: yeah, because they're separate windows
- # [22:30] <ehsan> correct
- # [22:30] <ehsan> (several OS level windows, that is)_
- # [22:30] <rniwa> ehsan: right.
- # [22:31] <rniwa> but i can't think of any windows app that has forms in the same page/document
- # [22:31] <rniwa> i can't think of such an ui
- # [22:31] <rniwa> anywhere
- # [22:31] <ehsan> so webkit doesn't adhere to platform conventions on windows ;)
- # [22:31] * Joins: hasather_ (~hasather_@cm-84.208.108.107.getinternet.no)
- # [22:31] <rniwa> ehsan: it adheres to the platform in the sense that msie is the only windows app that have such an UI
- # [22:31] <rniwa> ehsan: and we match msie
- # [22:31] <ehsan> rniwa: thing like office automation apps have lots of such forms
- # [22:31] * Quits: hasather_ (~hasather_@cm-84.208.108.107.getinternet.no) (Remote host closed the connection)
- # [22:32] <rniwa> ehsan: that's an interesting point
- # [22:32] <rniwa> ehsan: what do they do?
- # [22:32] <ehsan> separate undo stacks
- # [22:32] <rniwa> ok
- # [22:32] <ehsan> honestly, I've never noticed an app do something differently
- # [22:32] <rniwa> odd
- # [22:32] <ehsan> I don't use IE and webkit that much personally
- # [22:32] <rniwa> ehsan: we'll have to ask microsoft why do they do that way on msie
- # [22:32] <ehsan> but my eyeballs nearly popped out when I saw this today ;)
- # [22:33] <smaug____> rniwa: I could imagine the IE behavior could be some ancient thingie
- # [22:33] <smaug____> from IE3 or such
- # [22:33] <rniwa> smaug____: posible.
- # [22:34] <smaug____> and behavior in web browsers at that time didn't need to have any reasoning :)
- # [22:34] <ehsan> rniwa: take this as an example: http://www.bing.com/search?q=test&go=&qs=n&form=QBLH&filt=all&pq=test&sc=8-4&sp=-1&sk=
- # [22:34] <ehsan> rniwa: edit something in the first text box
- # [22:34] <ehsan> then scroll down
- # [22:35] <ehsan> focus the other text box at the end of the page
- # [22:35] <ehsan> and do Cmd+X
- # [22:35] <ehsan> *Z
- # [22:35] <ehsan> no observable behavior
- # [22:35] * Quits: Yuhong (~chatzilla@50-47-183-10.evrt.wa.frontiernet.net) (Quit: ChatZilla 0.9.88 [Firefox 10.0.2/20120215223356])
- # [22:35] <ehsan> and the edit in the first box suddenly gets unddone
- # [22:35] <ehsan> how can that be the desired UX? ;)
- # [22:35] <rniwa> ehsan: as I said, I'm not going to make a UX argument here
- # [22:35] * Quits: karega (~karegaani@64.124.202.222) (Ping timeout: 252 seconds)
- # [22:35] <ehsan> :)
- # [22:36] <rniwa> ehsan: all I know is that that's the behavior we chose to implement
- # [22:36] <ehsan> yeah ok fair enough
- # [22:36] <rniwa> and there might be some backward compatibility issues if we were to change it
- # [22:36] <ehsan> well implementations already have different behaviors here
- # [22:36] <ehsan> so I would decide that we should determine what the *correct* thing to do is
- # [22:37] <ehsan> and then adopt that
- # [22:37] <ehsan> and it _is_ a UX question
- # [22:37] <ehsan> so don't take my argument as a UX decision :)
- # [22:38] * Quits: jacobolus (~jacobolus@50-0-133-210.dsl.static.sonic.net) (Remote host closed the connection)
- # [22:38] <rniwa> ehsan: yeah.
- # [22:38] <rniwa> ehsan: we'll need to ask MS & Apple first though
- # [22:38] <rniwa> i don't even know if they can change the behavior
- # [22:38] <ehsan> sadface
- # [22:38] <rniwa> if they have compat. issues, etc... then we can't converge it anyway
- # [22:38] <ehsan> yeah
- # [22:39] <rniwa> we should probably bring it up on public-webapps or so
- # [22:39] <rniwa> or directly email our friendly ms/apple folks :)
- # [22:39] <ehsan> fwiw, I would be fine with changing gecko if someone has a compelling argument for the alternate behavior
- # [22:39] <ehsan> yep
- # [22:39] <rniwa> ehsan: you guys are lucky in that gecko isn't a part of some OS framework :)
- # [22:40] <rniwa> trident & webkit suffer a lot from their being part of OS frameworks :(
- # [22:40] * Joins: jdaggett (~jdaggett@ad008216.dynamic.ppp.asahi-net.or.jp)
- # [22:40] <ehsan> rniwa: it will be soon! ;)
- # [22:40] <smaug____> walled garden behavior doesn't apply here ;)
- # [22:40] <ehsan> rniwa: but I don't see why that is a concern
- # [22:40] <jdaggett> jprmc, joe: mtg?
- # [22:40] <smaug____> this is about web API
- # [22:40] <ehsan> webkit can detect whether it's embedded in some apple OS thingy or not
- # [22:40] <ehsan> and can have different behaviors
- # [22:41] <rniwa> ehsan: i don't wanna do that.... there are a lot of dependencies internally in our codebase
- # [22:41] <ehsan> for example, gecko already does some things different for mail editing and regular web editing
- # [22:41] <rniwa> ehsan: and supporting two behaviors is just a nightmare
- # [22:41] <smaug____> that is implementation issue
- # [22:41] <smaug____> web api should be good
- # [22:41] <smaug____> and behavior in the web
- # [22:42] <rniwa> i tend to agree but there are practicality issue
- # [22:42] <ehsan> rniwa: I sympathize, but what I'm trying to say is that OS backwards compat is not a good argument
- # [22:42] <rniwa> s
- # [22:42] <ehsan> rniwa: web compat is, however
- # [22:42] <rniwa> well sure. but if nobody has a time to implement it, then our behavior won't change
- # [22:42] <ehsan> but I don't think this can affect web compat in any serious way
- # [22:42] <rniwa> i mean we can say that we can change the behavior
- # [22:42] <ehsan> yeah
- # [22:42] <rniwa> but if nobody will work on it, then it won't happen :(
- # [22:42] <ehsan> but that's a different issue :)
- # [22:42] <ehsan> I think we should spec the right thing
- # [22:43] <ehsan> and don't let arcane OS level requirements hold us down
- # [22:43] <ehsan> whether an engine implements a spec completely and when is a different issue
- # [22:43] <rniwa> anyway, this whole argument won't move forward unless we can get apple/msft people to be involved
- # [22:43] <ehsan> yeah, that we agree on :)
- # [22:43] * Quits: jdaggett (~jdaggett@ad008216.dynamic.ppp.asahi-net.or.jp) (Client Quit)
- # [22:43] <smaug____> yeah, we should always spec the "right" thing, unless it breaks the web badly
- # [22:44] <rniwa> ehsan, smaug____: quite frankly, i'm not even sure if we need to spec this
- # [22:44] <rniwa> it's an UI issue so it could be left to implementors
- # [22:44] <rniwa> we tend not to spec UI issues in web standards as far as I know
- # [22:44] <ehsan> rniwa: wouldn't it affect the default undoScope though?
- # [22:44] <rniwa> ehsan: not really.
- # [22:45] <rniwa> ehsan: it sort of does if user editing stuff inside input/textarea
- # [22:45] <rniwa> ehsan: but in that sense, gecko/opera's behavior is more problmatic
- # [22:45] <ehsan> how so?
- # [22:45] <rniwa> ehsan: because setting values to input/textarea would being to the undo manager of the document
- # [22:46] <rniwa> whereas editing text inside input/textarea belong to the magic undo manager gecko/opera have for text form contorls
- # [22:46] <ehsan> well that depends on how it is specced
- # [22:46] <rniwa> so unless we somehow bound input/textarea's value to that magic undo manager
- # [22:46] <ehsan> setting the value can also change the undo manager for the text box
- # [22:46] <ehsan> if there is one
- # [22:46] <rniwa> possible.
- # [22:46] <rniwa> but then you'll be exposing the internal undo manager...
- # [22:46] * Quits: scor (~scor@drupal.org/user/52142/view) (Quit: scor)
- # [22:46] <ehsan> rniwa: please note that gecko doesn't really have a magic undo manager, it just creates one per input/textarea
- # [22:47] <ehsan> and one for the whole page if it has a contenteditable element
- # [22:47] <rniwa> ehsan: right. i'm just calling it "magic" because it's invisible to scirpts
- # [22:47] <ehsan> ok yeah
- # [22:47] <rniwa> but maybe "invisible" is a better term
- # [22:47] <ehsan> yep
- # [22:47] <smaug____> rniwa: I assume input/textarea will have a separate undomanager in the spec
- # [22:47] <rniwa> smaug____: it doesn't
- # [22:47] <ehsan> oh
- # [22:47] <ehsan> well
- # [22:47] <rniwa> smaug____: nowhere in my spec does it say that
- # [22:47] <ehsan> so this _is_ a spec issue, and not merely a UI issue
- # [22:47] <smaug____> rniwa: or that the spec describes what an undomanager is, and HTML spec defines that input/textarea has such
- # [22:48] <rniwa> smaug____: maybe.
- # [22:48] <rniwa> ehsan: sort of.
- # [22:48] <ehsan> yeah that makes sense to me
- # [22:48] <smaug____> also, should each contenteditable areas have own undomanager
- # [22:48] <smaug____> I think so
- # [22:48] <rniwa> ehsan: as it stands, value is tied to document's undo manager
- # [22:48] <rniwa> ehsan, smaug____: a bigger problem is with execCommand('undo')
- # [22:49] <smaug____> so, that is designMode document then
- # [22:49] <rniwa> ehsan, smaug____: that currently undoes actions inside textarea/input at least on webkit
- # [22:49] <rniwa> don't know what gecko/msie do
- # [22:49] <rniwa> smaug____: no
- # [22:49] <rniwa> smaug____: contenteditable and undo scope are separate
- # [22:50] <rniwa> smaug____: otherwise, you can't have multiple content editable regions that share the same undo manager
- # [22:50] <rniwa> smaug____: which is desirable for spreadsheet apps and others
- # [22:50] <ehsan> rniwa: I think gecko applies that command to the contenteditable stuff on the page and not the text box
- # [22:50] <ehsan> (not tested)
- # [22:50] * Joins: WeirdAl (~chatzilla@g2spf.ask.info)
- # [22:50] <smaug____> ah, that is possible
- # [22:51] * Quits: roc (~chatzilla@ANancy-256-1-49-6.w90-26.abo.wanadoo.fr) (Ping timeout: 246 seconds)
- # [22:52] <rniwa> ehsan: yeah gecko doesn't undo stuff inside text fields
- # [22:52] <ehsan> at least that is what the code intends to happen ;)
- # [22:52] * rniwa tests msier
- # [22:53] <rniwa> msie*
- # [22:53] <smaug____> (and connection to dns server died ( )
- # [22:53] * Quits: smaug____ (~chatzilla@193-64-21-55-nat.elisa-mobile.fi) (Quit: ChatZilla 0.9.88.1 [Firefox 13.0a1/20120312120456])
- # [22:54] <rniwa> ehsan: msie does undo in text fields
- # [22:54] <ehsan> :/
- # [22:55] <ehsan> this stuff is a mess in general
- # [22:55] * Joins: jamesr (~jamesr@173-164-251-190-SFBA.hfc.comcastbusiness.net)
- # [22:55] * Joins: smaug____ (~chatzilla@GYYKCCLVII.gprs.sl-laajakaista.fi)
- # [22:55] <rniwa> ehsan: yup
- # [22:56] <rniwa> ehsan: maybe we should standardize it :(
- # [22:56] <rniwa> AryehGregor: what do you think, Aryeh?
- # [22:56] <AryehGregor> About which?
- # [22:56] * ehsan dies a little bit inside
- # [22:56] <rniwa> AryehGregor: standariziging undo behavior
- # [22:56] <AryehGregor> I'm in favor, of course!
- # [22:56] <AryehGregor> Easy to say. :)
- # [22:56] <rniwa> AryehGregor: right now, msie/webkit undo things inside text fields by execCommand('undo')
- # [22:57] <rniwa> AryehGregor: but gecko (and presumably) and opera don't
- # [22:57] <rniwa> AryehGregor, ehsan: but this behavior might be dependent by some legacy contents though
- # [22:57] <AryehGregor> execCommand("undo") should behave exactly the same as hitting Ctrl-Z, IMO.
- # [22:57] <rniwa> i mean being able to undo things in text fields seems like a useful API
- # [22:57] <AryehGregor> To the extent feasible.
- # [22:57] <rniwa> AryehGregor: that's what all browsers do
- # [22:57] <AryehGregor> Well, Gecko likes to throw if there's no editable content on the page.
- # [22:57] <rniwa> AryehGregor: and the behavior is different between msie/webkit and gecko/opera
- # [22:58] <rniwa> AryehGregor: because msie/webkit share the same undo manager across the entire page whereas gecko/opera have separate undo managers for each form text control
- # [22:58] <AryehGregor> Oh.
- # [22:59] <AryehGregor> Fun.
- # [22:59] <smaug____> execCommand('undo') could use the most recently used undomanager in the page
- # [22:59] * smaug____ lost some context...looking at logs
- # [23:00] * ericc|afk is now known as ericc
- # [23:00] <rniwa> smaug____: but the problem is that "the most recently used undomanager" is different depending on the browser :)
- # [23:00] * ericc is now known as eric_carlson
- # [23:01] <rniwa> AryehGregor: yeah....
- # [23:01] <AryehGregor> What does Ctrl-Z do? Probably it picks the undo manager based on what's focused, right?
- # [23:01] <AryehGregor> Why can't execCommand() do that?
- # [23:01] <smaug____> rniwa: well, you need to just fix IE and webkit ;)
- # [23:01] <rniwa> AryehGregor: no
- # [23:01] <AryehGregor> :/
- # [23:01] <rniwa> AryehGregor: it undoes the last editing action on the page
- # [23:02] <rniwa> smaug____: the question is whether we can change our behavior or not.
- # [23:02] * Quits: Lachy (~Lachy@cm-84.215.13.244.getinternet.no) (Quit: Computer has gone to sleep.)
- # [23:02] <rniwa> smaug____: also there might be a good reason MSIE/WebKit do it this way
- # [23:02] <rniwa> i just don't know the history enough to give you any meaningful answer
- # [23:03] <smaug____> rniwa: I haven't seen any gecko bug reports about its behavior
- # [23:03] <rniwa> smaug____: intuitively, either behavior is fine.
- # [23:03] <rniwa> user would just get used to it :)
- # [23:03] <smaug____> and also, IE/webkit behavior just feels odd. But sure, if there is plenty of web content which relies on it ...
- # [23:03] * Joins: Lachy (~Lachy@cm-84.215.13.244.getinternet.no)
- # [23:03] * Quits: ap (~ap@17.245.90.141) (Remote host closed the connection)
- # [23:04] <rniwa> smaug____, AryehGregor: my gut tells me there are quite few IE-specific contents that rely on this behavior
- # [23:04] * Joins: ap (~ap@17.212.155.203)
- # [23:04] <rniwa> anyway, it seems like the right strategy is to bring it up on public-webapps
- # [23:04] <smaug____> yeah
- # [23:08] <rniwa> smaug____, AryehGregor, ehsan: anyway, i've got to tell you that implementing undo manager spec turned out to be much harder than I had imagined :(
- # [23:08] <rniwa> as i said there are very interesting GC implications
- # [23:09] <smaug____> rniwa: what kinds of GC implications ?
- # [23:09] <rniwa> and there are lots of edge cases, including the nested transactions, that we hadn't thought through well
- # [23:09] <rniwa> smaug____: basically, it needs to be treated like event handlers
- # [23:09] <rniwa> smaug____: because dom transaction objects can outlive script context :(
- # [23:10] <smaug____> (I guess I should review the draft, and r- if it has only one undomanager per document. )
- # [23:10] <rniwa> smaug____: it'll add undo manager on all elements that have undoScope content attribute :)
- # [23:10] <rniwa> smaug____: or when undoScope DOM attribute is set true
- # [23:10] <smaug____> rniwa: I'm not sure event listener behavior is spec'ed that clearly
- # [23:11] <smaug____> in case the script context dies
- # [23:11] <smaug____> in any case, I don't actually know how webkit does all the GCing
- # [23:12] <rniwa> smaug____: that's why "interesting" :(
- # [23:12] <smaug____> in Gecko undomanager would be just cycle collectable object, holding possibly some JS objects
- # [23:13] <smaug____> a GC isn't enough for Gecko, it needs also a CC :)
- # [23:13] * Quits: Maurice (copyman@5ED573FA.cm-7-6b.dynamic.ziggo.nl)
- # [23:14] <rniwa> smaug____: what's CC?
- # [23:14] <smaug____> cycle collector
- # [23:14] * Joins: tantek (~tantek@12.237.105.253)
- # [23:14] <rniwa> huh
- # [23:14] <rniwa> smaug____: what's cycle collector?
- # [23:14] <rniwa> smaug____: does it collect objects with cycles in them?
- # [23:14] * Joins: miketaylr (~miketaylr@50.59.76.58)
- # [23:15] <smaug____> it is for reference counted objects
- # [23:15] <rniwa> i see
- # [23:15] <smaug____> CC and GC do in principle the same thing
- # [23:16] <smaug____> GC handles live objects, CC tries to find to-be-deleted objects
- # [23:16] <smaug____> kind of
- # [23:18] <rniwa> i see.
- # [23:18] * rniwa isn't familiar with gecko's GC
- # [23:19] * Quits: jamesr (~jamesr@173-164-251-190-SFBA.hfc.comcastbusiness.net) (Quit: jamesr)
- # [23:19] <smaug____> Spidermonkey has GC, Gecko has CC
- # [23:20] <gavin> CC is a solution to the problem caused by refcounted objects interacting with GCed objects and creating cycles
- # [23:21] <smaug____> CC is also a solution for cycles which don't involve GCed objects at all.
- # [23:21] <gavin> true
- # [23:23] * Quits: MacTed (~Thud@63.119.36.36)
- # [23:24] <rniwa> smaug____, gavin: interesting
- # [23:24] <rniwa> i don't think webkit has tht
- # [23:24] <rniwa> that*
- # [23:24] <rniwa> so we have to use clever tricks to avoid cycles :(
- # [23:27] * Joins: jacobolus (~jacobolus@199-83-221-60.PUBLIC.monkeybrains.net)
- # [23:28] <ehsan> rniwa: how well do they work in practice?
- # [23:30] * Quits: WeirdAl (~chatzilla@g2spf.ask.info) (Quit: ChatZilla 0.9.88.1 [Firefox 10.0.2/20120215223356])
- # [23:32] <rniwa> ehsan: i don't know
- # [23:32] <rniwa> i'm not an expert in that area
- # [23:33] * Quits: davidb (~davidb@66.207.208.98) (Quit: davidb)
- # [23:33] * Quits: svl (~me@ip565744a7.direct-adsl.nl) (Quit: And back he spurred like a madman, shrieking a curse to the sky.)
- # [23:37] <rniwa> ehsan: you should ask othermaciej :)
- # [23:37] <rniwa> ehsan: we were just talking about callback interface yesterday
- # [23:37] <rniwa> ehsan: he seemed knowledgable in this rea
- # [23:37] <rniwa> area*
- # [23:41] <othermaciej> rniwa: I actually don't understand how it historically works, but I think the general approach is to teach GC how to find relevant GC roots from the document so that there is no need to GC protect GC objects references from refcounted objects
- # [23:42] <othermaciej> s/historically/currently/
- # [23:43] * Joins: davidb (~davidb@66.207.208.98)
- # [23:43] * Quits: davidb (~davidb@66.207.208.98) (Client Quit)
- # [23:44] * Joins: malydok (~marek@moma.t16.ds.pwr.wroc.pl)
- # [23:44] * Quits: pyrsmk (~pyrsmk@mau49-1-82-245-46-173.fbx.proxad.net) (Remote host closed the connection)
- # [23:46] <rniwa> othermaciej: you mean reachable* functions?
- # [23:47] <othermaciej> I don't know enough to relate it to code
- # [23:47] * Quits: Zauberfisch (Zauberfisc@venus.zauberfisch.at) (Quit: Leaving)
- # [23:47] * Joins: Zauberfisch (Subject619@venus.zauberfisch.at)
- # [23:49] * Joins: WeirdAl (~chatzilla@g2spf.ask.info)
- # [23:51] * Joins: gkellogg (~gregg@c-98-248-150-91.hsd1.ca.comcast.net)
- # [23:51] * Joins: erichynds (~ehynds@pool-71-184-234-218.bstnma.fios.verizon.net)
- # [23:54] * Quits: miketaylr (~miketaylr@50.59.76.58) (Quit: Leaving...)
- # [23:54] * Quits: tantek (~tantek@12.237.105.253) (Quit: tantek)
- # [23:59] * Quits: othermaciej (~mjs@17.245.88.25) (Quit: othermaciej)
- # Session Close: Tue Mar 13 00:00:02 2012
The end :)