Re: [webkit-dev] Question related to license in WK2 EFL port

2012-07-25 Thread Dumez, Christophe
Hi, This kind of decision is not easy to take and cannot necessarily be taken by us developers (our employers may favor one particular license). The WebKit project allows both Apple's new BSD or LGPL as far as I know. So, as long as contributors use one of those 2 licenses for WebKit-EFL, I

Re: [webkit-dev] cr-linux-ews migration

2012-07-25 Thread Adam Barth
Sorry for the recent flakiness in the cr-linux-ews and the commit-queue. There was a subtle issue exposed by the migration that should hopefully be resolved by http://trac.webkit.org/changeset/123580. Adam On Fri, Jul 13, 2012 at 12:44 AM, Adam Barth aba...@webkit.org wrote: The cr-linux-ews

Re: [webkit-dev] Do we need a webkitBackground property for XMLHttpRequest?

2012-07-25 Thread xuewen
As I tested, the chromium Version 22.0.1217.0 (148296) shows auth dialogs for both XHR and sub-resources. Perhaps the changing has not been pushed to trunk !? On 07/25/2012 12:58 AM, Adam Barth wrote: On Tue, Jul 24, 2012 at 9:28 AM, xuewen.wang xuewen.w...@torchmobile.com.cn wrote: Do you

Re: [webkit-dev] Question related to license in WK2 EFL port

2012-07-25 Thread Kenneth Rohde Christiansen
Hi, The license is basically up to the contributor, though there might be a few advantages using the BSD license. Using BSD licensed code means that the code can be re-factored in the future and parts can be moved into WebCore or elsewhere. If you use LGPL you have to make sure to not reuse the

Re: [webkit-dev] Question related to license in WK2 EFL port

2012-07-25 Thread Gyuyoung Kim
Thank you for your kind reply. My curiosities are solved. I will discuss which license we will use with my co-workers. Cheers, Gyuyoung. --- Original Message --- Sender : Kenneth Rohde Christiansenkenneth.christian...@gmail.com Date : 2012-07-25 18:46 (GMT+09:00) Title : Re:

Re: [webkit-dev] Do we need a webkitBackground property for XMLHttpRequest?

2012-07-25 Thread Joe Mason
From: webkit-dev-boun...@lists.webkit.org [webkit-dev-boun...@lists.webkit.org] on behalf of Adam Barth [aba...@webkit.org] The network stack folks did a round of removing auth dialogs for subresources a while back. I'm not sure why they didn't remove the dialog from XHR. It's possible

Re: [webkit-dev] Do we need a webkitBackground property for XMLHttpRequest?

2012-07-25 Thread Joe Mason
From: webkit-dev-boun...@lists.webkit.org [webkit-dev-boun...@lists.webkit.org] on behalf of Brady Eidson [beid...@apple.com] I think there are corporate/financial apps that would break if this was policy. Any idea which? Joe

Re: [webkit-dev] Do we need a webkitBackground property for XMLHttpRequest?

2012-07-25 Thread Adam Barth
There is no such thing as pushing to trunk for Chromium. All development happens on trunk. That sounds like a regression. I'll follow up with the networking folks. Thanks for checking! Adam On Wed, Jul 25, 2012 at 12:57 AM, xuewen xuewen.w...@torchmobile.com.cn wrote: As I tested, the

Re: [webkit-dev] Easing printf based debugging in WebKit with an helper.

2012-07-25 Thread Yong Li
2012/7/19 Brady Eidson beid...@apple.com: On Jul 19, 2012, at 10:53 AM, Andreas Kling kl...@webkit.org wrote: On Tue, Jul 10, 2012 at 4:52 PM, Brady Eidson beid...@apple.com wrote: On Jul 10, 2012, at 5:25 AM, Alexis Menard alexis.men...@openbossa.org wrote: On Mon, Jul 9, 2012 at 6:53

Re: [webkit-dev] Easing printf based debugging in WebKit with an helper.

2012-07-25 Thread Brady Eidson
On Jul 25, 2012, at 8:25 AM, Yong Li yong.li.web...@gmail.com wrote: 2012/7/19 Brady Eidson beid...@apple.com: On Jul 19, 2012, at 10:53 AM, Andreas Kling kl...@webkit.org wrote: On Tue, Jul 10, 2012 at 4:52 PM, Brady Eidson beid...@apple.com wrote: On Jul 10, 2012, at 5:25 AM,

Re: [webkit-dev] Easing printf based debugging in WebKit with an helper.

2012-07-25 Thread John Yani
That possibility aside, the stronger part of my objection is language purity. WebCore uses C++ as C with classes and I don't think it's worth it to confuse new (or existing) contributors about that going forward. Can you elaborate why WebCore uses C++ as C with classes? Probably he meant

Re: [webkit-dev] WebKit memory instrumentation

2012-07-25 Thread Maciej Stachowiak
On Jul 25, 2012, at 2:08 AM, Yury Semikhatsky yu...@chromium.org wrote: On Tue, Jul 24, 2012 at 10:34 PM, Maciej Stachowiak m...@apple.com wrote: On Jul 24, 2012, at 12:39 AM, Yury Semikhatsky yu...@chromium.org wrote: On Tue, Jul 24, 2012 at 12:47 AM, Maciej Stachowiak

Re: [webkit-dev] Delaying Applying CSS Effects

2012-07-25 Thread Keyar Hood
For the SVGResoruceCache route, how would I specify that some element depends on another element with id x, where x does not exist in the DOM yet? I have noticed SVGDocumentExtensions::addPendingResource which sounds like what I want, but it only excepts SVGStyleElements. On Tue, Jul 24, 2012

Re: [webkit-dev] WebKit memory instrumentation

2012-07-25 Thread Ilya Tikhonovsky
It turns out that clang has good API for plugins and a simple plugin for checking the instrumentation coverage contains ~200 loc. Thus the first option looks useless. Regards, Tim. On Wed, Jul 25, 2012 at 11:34 PM, Maciej Stachowiak m...@apple.com wrote: On Jul 25, 2012, at 2:08 AM, Yury

[webkit-dev] Multiple inheritance in the DOM

2012-07-25 Thread Adam Barth
The CSS Regions specification [1] defines a CSSOM interface named Region, which can be mixed into interfaces for other objets that can be CSS regions. That means that Region introduces a form of multiple inheritance into the DOM. For example, Element implements Region but Node does not implement

[webkit-dev] Building on Mountain Lion

2012-07-25 Thread Jacob Goldstein
Has any tried to build WebKit on Mountain Lion? I just attempted with a new install of Mountain Lion and Xcode 4.4 and the build keeps failing while trying to compile AlternativeTextUIController. If anyone has thoughts as to why this could be, please let me know.

Re: [webkit-dev] Building on Mountain Lion

2012-07-25 Thread Mark Rowe
On 2012-07-25, at 14:15, Jacob Goldstein jac...@adobe.com wrote: Has any tried to build WebKit on Mountain Lion? I just attempted with a new install of Mountain Lion and Xcode 4.4 and the build keeps failing while trying to compile AlternativeTextUIController. If anyone has thoughts

Re: [webkit-dev] Building on Mountain Lion

2012-07-25 Thread Jacob Goldstein
On 7/25/12 2:21 PM, Mark Rowe mr...@apple.com wrote: On 2012-07-25, at 14:15, Jacob Goldstein jac...@adobe.com wrote: Has any tried to build WebKit on Mountain Lion? I just attempted with a new install of Mountain Lion and Xcode 4.4 and the build keeps failing while trying to compile

Re: [webkit-dev] Multiple inheritance in the DOM

2012-07-25 Thread Adam Barth
Eric Seidel points out that SVG uses multiple inheritance in its DOM interfaces. However, the situation there is a bit different. Although SVGSVGElement implements SVGLocatable, there aren't any interfaces with methods that return SVGLocatable, which means we don't need to implement

Re: [webkit-dev] Multiple inheritance in the DOM

2012-07-25 Thread Darin Fisher
At least DOMInterface::interfaceName() is no where near as bad as COM's QueryInterface. Provided we don't end up with any diamond inheritance hierarchies, we shouldn't need something as complicated as QueryInterface. -Darin On Wed, Jul 25, 2012 at 2:33 PM, Adam Barth aba...@webkit.org wrote:

Re: [webkit-dev] Multiple inheritance in the DOM

2012-07-25 Thread Adam Barth
According to WebIDL, every platform object has a primary interface, as defined by http://www.w3.org/TR/WebIDL/#dfn-primary-interface. As long as that's the case, DOMInterface::interfaceName() should be sufficient to figure out which JavaScript wrapper to use. Adam On Wed, Jul 25, 2012 at 2:44

Re: [webkit-dev] Multiple inheritance in the DOM

2012-07-25 Thread Dirk Schulze
On Jul 25, 2012, at 2:33 PM, Adam Barth wrote: Eric Seidel points out that SVG uses multiple inheritance in its DOM interfaces. However, the situation there is a bit different. Although SVGSVGElement implements SVGLocatable, there aren't any interfaces with methods that return SVGLocatable,

Re: [webkit-dev] Multiple inheritance in the DOM

2012-07-25 Thread Adam Barth
On Wed, Jul 25, 2012 at 3:44 PM, Dirk Schulze dschu...@adobe.com wrote: On Jul 25, 2012, at 2:33 PM, Adam Barth wrote: Eric Seidel points out that SVG uses multiple inheritance in its DOM interfaces. However, the situation there is a bit different. Although SVGSVGElement implements

Re: [webkit-dev] Multiple inheritance in the DOM

2012-07-25 Thread Kentaro Hara
A) Should we push back on the folks writing the CSS Regions specification to avoid using multiple inheritance? As far as I know, this is the only instance of multiple inheritance in the platform. Historically, EventTarget used multiple inheritance, but that's been fixed in DOM4 [4]. If

Re: [webkit-dev] Multiple inheritance in the DOM

2012-07-25 Thread Alan Stearns
On 7/25/12 4:49 PM, Kentaro Hara hara...@chromium.org wrote: A) Should we push back on the folks writing the CSS Regions specification to avoid using multiple inheritance? As far as I know, this is the only instance of multiple inheritance in the platform. Historically, EventTarget used

Re: [webkit-dev] Multiple inheritance in the DOM

2012-07-25 Thread Alan Stearns
On 7/25/12 5:37 PM, Sam Weinig s...@webkit.org wrote: On Jul 25, 2012, at 5:13 PM, Alan Stearns stea...@adobe.com wrote: On 7/25/12 4:49 PM, Kentaro Hara hara...@chromium.org wrote: A) Should we push back on the folks writing the CSS Regions specification to avoid using multiple

Re: [webkit-dev] Multiple inheritance in the DOM

2012-07-25 Thread Adam Barth
On Wed, Jul 25, 2012 at 6:00 PM, Sam Weinig s...@webkit.org wrote: On Jul 25, 2012, at 5:53 PM, Elliott Sprehn espr...@google.com wrote: On Wed, Jul 25, 2012 at 5:13 PM, Alan Stearns stea...@adobe.com wrote: ... From the WebIDL side, it's not strictly multiple inheritance. It's merely a

Re: [webkit-dev] Multiple inheritance in the DOM

2012-07-25 Thread Hajime Morrita
If the only problem is to determine the type of JS wrappers, is it possible to make wrapSlow() a virtual method of some base class, instead of static functions? It need a tweak on the code generator. Also, it might need to avoid name conflicts by suffixing like wrapSlowForNode(),

Re: [webkit-dev] Multiple inheritance in the DOM

2012-07-25 Thread Alan Stearns
On 7/25/12 6:12 PM, Sam Weinig s...@webkit.org wrote: On Jul 25, 2012, at 5:37 PM, Sam Weinig s...@webkit.org wrote: On Jul 25, 2012, at 5:13 PM, Alan Stearns stea...@adobe.com wrote: On 7/25/12 4:49 PM, Kentaro Hara hara...@chromium.org wrote: A) Should we push back on the folks

Re: [webkit-dev] Multiple inheritance in the DOM

2012-07-25 Thread Alan Stearns
From: Adam Barth aba...@webkit.org Date: Wednesday, July 25, 2012 6:05 PM To: Sam Weinig s...@webkit.org Cc: Elliott Sprehn espr...@google.com, Alan Stearns stea...@adobe.com, Kentaro Hara hara...@chromium.org, webkit-dev@lists.webkit.org webkit-dev@lists.webkit.org Subject: Re: [webkit-dev]

Re: [webkit-dev] Multiple inheritance in the DOM

2012-07-25 Thread Dirk Schulze
On Jul 25, 2012, at 3:50 PM, Adam Barth wrote: On Wed, Jul 25, 2012 at 3:44 PM, Dirk Schulze dschu...@adobe.com wrote: On Jul 25, 2012, at 2:33 PM, Adam Barth wrote: Eric Seidel points out that SVG uses multiple inheritance in its DOM interfaces. However, the situation there is a bit