Re: [webkit-dev] Question about Constructors in WebKit JS Bindings

2009-06-22 Thread Adam Barth
On Mon, Jun 22, 2009 at 11:07 PM, Maciej Stachowiak wrote: > I suspect most JS bindings in WebKit use the original more complicated > pattern Drew cited, instead of the more succinct but incorrect one. There are some bugs on file about this. I've been meaning to go through and look at all these c

Re: [webkit-dev] knowing filesize without downloding ... possible ?

2009-06-22 Thread Zoltan Horvath
Purushottam Sholapur wrote at: 2009. 06. 23. 08.32.: > Hi all, > > Is there any way in QT to know file size before downloading the actual > file.(by just URL) ? If I use wget on console, it first prints file size > before it starts downloading. I am using all QNetwork* classes for > download. > >

[webkit-dev] knowing filesize without downloding ... possible ?

2009-06-22 Thread Purushottam Sholapur
Hi all, Is there any way in QT to know file size before downloading the actual file.(by just URL) ? If I use wget on console, it first prints file size before it starts downloading. I am using all QNetwork* classes for download. regards Purush ___ webki

Re: [webkit-dev] Question about Constructors in WebKit JS Bindings

2009-06-22 Thread Maciej Stachowiak
On Jun 22, 2009, at 10:07 PM, Adam Barth wrote: On Mon, Jun 22, 2009 at 9:58 PM, Peter Kasting wrote: On Mon, Jun 22, 2009 at 9:53 PM, Adam Barth wrote: On Mon, Jun 22, 2009 at 7:04 PM, Maciej Stachowiak wrote: Your proposed alternative will have different behavior. It will use the lexi

Re: [webkit-dev] Question about Constructors in WebKit JS Bindings

2009-06-22 Thread Adam Barth
On Mon, Jun 22, 2009 at 9:58 PM, Peter Kasting wrote: > On Mon, Jun 22, 2009 at 9:53 PM, Adam Barth wrote: >> On Mon, Jun 22, 2009 at 7:04 PM, Maciej Stachowiak wrote: >> > Your proposed alternative will have different behavior. It will use the >> > lexical global object of the calling JavaScript

Re: [webkit-dev] Question about Constructors in WebKit JS Bindings

2009-06-22 Thread Peter Kasting
On Mon, Jun 22, 2009 at 9:53 PM, Adam Barth wrote: > On Mon, Jun 22, 2009 at 7:04 PM, Maciej Stachowiak wrote: > > Your proposed alternative will have different behavior. It will use the > > lexical global object of the calling JavaScript function, instead of the > > global object originally asso

Re: [webkit-dev] Question about Constructors in WebKit JS Bindings

2009-06-22 Thread Adam Barth
On Mon, Jun 22, 2009 at 7:04 PM, Maciej Stachowiak wrote: > Your proposed alternative will have different behavior. It will use the > lexical global object of the calling JavaScript function, instead of the > global object originally associated with the Options constructor. Yes. Almost everywhere

Re: [webkit-dev] JavaScriptCore in Windows Applications

2009-06-22 Thread Brent Fulgham
Hi Eric, On Jun 22, 2009, at 7:12 AM, webkit-l...@ericbrunstad.com wrote: Thank you very much for your reply. It was very helpful. Unfortunately, I cannot compile your CallJS sample. It appears that the 'afxwin.h' file is not present on my system. Is it not possible to compile your sam

Re: [webkit-dev] Question about Constructors in WebKit JS Bindings

2009-06-22 Thread Maciej Stachowiak
On Jun 22, 2009, at 5:54 PM, Drew Wilson wrote: I notice that this is a fairly common idiom in the WebKit JS bindings: 1) Storing away a pointer to the JSDOMGlobalObject in the constructor JSOptionConstructor::JSOptionConstructor(ExecState* exec, JSDOMGlobalObject* globalObject) : DOMOb

[webkit-dev] Question about Constructors in WebKit JS Bindings

2009-06-22 Thread Drew Wilson
I notice that this is a fairly common idiom in the WebKit JS bindings: 1) Storing away a pointer to the JSDOMGlobalObject in the constructor JSOptionConstructor::JSOptionConstructor(ExecState* exec, JSDOMGlobalObject* globalObject) : DOMObject(JSOptionConstructor::createStructure(exec->lexical

Re: [webkit-dev] JavaScriptCore in Windows Applications

2009-06-22 Thread Eric Brunstad
Hi Brent, Is it possible to replace a DLL used by the compiled WebKit with a newer version of the same DLL without recompiling WebKit? I need to link my application with CFLite but your compiled version of WebKit in CallJS does not include a CFLite library file (only a DLL). Your requir

[webkit-dev] Fwd: indentation of nested-list

2009-06-22 Thread Ryosuke Niwa
-- Forwarded message -- From: Ryosuke Niwa Date: Mon, Jun 22, 2009 at 2:12 PM Subject: Re: [webkit-dev] indentation of nested-list To: Ojan Vafai Ok, thanks Ojan.  Julie tried it on MSIE8 and got the expected result 1 2 3 instead of 1 1 2. Ryosuke On Mon, Jun 22, 2009 at 2:03

Re: [webkit-dev] indentation of nested-list

2009-06-22 Thread Ojan Vafai
I commented on the bug. The correct behavior is clearly the second one. Try any word processor (e.g. MS Word). Firefox just happens to also have a bug there. Ojan On Mon, Jun 22, 2009 at 1:10 PM, Ryosuke Niwa wrote: > Hi Justin, thanks for the screenshot. Could you edit HTML document so > that

Re: [webkit-dev] Should we restrict Web Fonts to same-origin by default?

2009-06-22 Thread Ojan Vafai
On Mon, Jun 22, 2009 at 12:45 PM, David Hyatt wrote: > On Jun 22, 2009, at 2:38 PM, Maciej Stachowiak wrote: > >> Mozilla restricts downloaded fonts to same-origin by default, with the >> ability for the hosting site to open up access via Access-Control (aka >> CORS). Apparently this step has the

Re: [webkit-dev] indentation of nested-list

2009-06-22 Thread Justin Haygood
I get the following: 1 1 1 1 -Original Message- From: Ryosuke Niwa [mailto:rn...@google.com] Sent: Monday, June 22, 2009 4:10 PM To: Justin Haygood Cc: WebKit Development Subject: Re: [webkit-dev] indentation of nested-list Hi Justin, thanks for the screenshot.

Re: [webkit-dev] indentation of nested-list

2009-06-22 Thread Ryosuke Niwa
Hi Justin, thanks for the screenshot. Could you edit HTML document so that it'll indent "three"? What I want to see is whether it gives me 1 1 1 2 Or 1 1 2 3 Ryosuke On Mon, Jun 22, 2009 at 1:04 PM, Justin Haygood wrote: > MSIE 8.0 gets a JavaScript error on window.getSe

[webkit-dev] indentation of nested-list

2009-06-22 Thread Ryosuke Niwa
Hi, I'm currently working on the patch for 21712 (Bug 21712: Indent on li creates new ol instead of merging with existing ol, numbering incorrect.) But because Firefox gave me unexpected result for https://bugs.webkit.org/show_bug.cgi?id=21712, I'm wondering whether I should copy the behavior of

Re: [webkit-dev] Should we restrict Web Fonts to same-origin by default?

2009-06-22 Thread David Hyatt
On Jun 22, 2009, at 2:38 PM, Maciej Stachowiak wrote: Mozilla restricts downloaded fonts to same-origin by default, with the ability for the hosting site to open up access via Access- Control (aka CORS). Apparently this step has the potential to make font foundries more comfortable about u

[webkit-dev] Should we restrict Web Fonts to same-origin by default?

2009-06-22 Thread Maciej Stachowiak
Mozilla restricts downloaded fonts to same-origin by default, with the ability for the hosting site to open up access via Access-Control (aka CORS). Apparently this step has the potential to make font foundries more comfortable about using straight up OpenType fonts on the Web, without in

Re: [webkit-dev] JavaScriptCore in Windows Applications

2009-06-22 Thread Peter Kasting
On Mon, Jun 22, 2009 at 7:12 AM, wrote: > Thank you very much for your reply. It was very helpful. Unfortunately, > I cannot compile your CallJS sample. It appears that the 'afxwin.h' file > is not present on my system. Is it not possible to compile your sample > with Visual C++ 2005 Express

Re: [webkit-dev] InlineBox::m_isSVG

2009-06-22 Thread David Hyatt
On Jun 21, 2009, at 11:18 PM, Roland Steiner wrote: Hi Dave, as I will probably need to special-case height() for ruby InlineBox objects in the same way as is done for SVG boxes (still ironing out the details, though), making height() virtual was exactly my intent. I would have thought th

Re: [webkit-dev] NPAPI plugin does not load under Safari (Cocoa related?)

2009-06-22 Thread Darin Adler
On Jun 22, 2009, at 7:55 AM, Eddy Bruël wrote: It looks like the NSPrincipalClass should be set to the name of the 'main' class in my plugin. That’s not needed for Netscape plug-ins. There’s a separate kind of plug-in called a WebKit plug-in that requires NSPrincipalClass. To figure out w

Re: [webkit-dev] New approach for DOM attributes that reflect content attributes

2009-06-22 Thread Dimitri Glazkov
I'll take care of the V8 bindings. :DG< On Sun, Jun 21, 2009 at 10:26 PM, Darin Adler wrote: > There are many attributes in the DOM that are simply covers for getting and > setting HTML or SVG attributes. The HTML 5 draft calls this reflection of > content attributes. > > Currently we do this by

[webkit-dev] NPAPI plugin does not load under Safari (Cocoa related?)

2009-06-22 Thread Eddy Bruël
Hello everyone, I am new on this list, so I hope this is the appropriate place for this kind of questions. If not, please let me know where I should go, and I'll post any future questions there. I've already sent the same question to one of the Mozilla mailinglists, so please just take a look at t

Re: [webkit-dev] JavaScriptCore in Windows Applications

2009-06-22 Thread webkit-list
Brent, Thank you very much for your reply. It was very helpful. Unfortunately, I cannot compile your CallJS sample. It appears that the 'afxwin.h' file is not present on my system. Is it not possible to compile your sample with Visual C++ 2005 Express Edition with the Windows Server 2003 R2 SD

Re: [webkit-dev] Should we put the webkit.org mailing lists on Gmane?

2009-06-22 Thread Patrick Mueller
Adam Roben wrote: Given the single vote in favor and no one opposed, I'm going to work on this today. -Adam On Jun 15, 2009, at 4:52 PM, Gustavo Noronha wrote: On Sat, 2009-06-13 at 09:00 -0400, Adam Roben wrote: Gmane () provides a few features that could be useful for t