Re: [webkit-dev] Memory usage for Webkit

2009-06-25 Thread Zoltan Horvath
Jim Howlett wrote at: 2009. 06. 25. 18.57.: > Thank you. > But can you please tell me how can I classify memory into memory areas: > Webkit, > Stack, > Heap, > Graphics library (in this case, Qt), > other? > > How can i run/build similar tests myself on a different platform? or > with a different

Re: [webkit-dev] How to find out how many children in a RenderObject

2009-06-25 Thread Johnny Ding
Not sure whether the following way fits your need or not.1. get DOM node via RenderObject->node(); 2. walk through all child nodes of that DOM node via Node interface, such as (child = node->firstChild(); child; child = child->nextSibling()) 3. get child's RenderObject via child->renderer()? 2009

[webkit-dev] How to find out how many children in a RenderObject

2009-06-25 Thread n179911
Can you please tell me how can I find out how many children in a RenderObject? In RenderObject, I only see these method, I can't find a way which return the number of children from a given RenderObject RenderObject* childAt(unsigned) const; RenderObject* firstLeafChild() const; RenderObject* la

Re: [webkit-dev] Webkit client

2009-06-25 Thread Brent Fulgham
Hi Tali, On Jun 24, 2009, at 11:22 PM, tali garsiel wrote: I would like to debug Webkit in a stand alone application (without safari). My OS is windows. Can I use a c# client? (I saw a discussion about registration related problem). What are the alternatives? The WebKit distribution i

Re: [webkit-dev] what's important in layouttests?

2009-06-25 Thread Oliver Hunt
Hi Dave, On Jun 25, 2009, at 7:54 PM, David Jones wrote: I am confused about webkit's layouttests. 1.What's the layouttess used for? Are they provided only for developers who want to create a browser with webkit to test if their browser behaves right? The (increasing inaccurately named) Layo

Re: [webkit-dev] what's important in layouttests?

2009-06-25 Thread Dan Bernstein
On Jun 25, 2009, at 7:54 PM, David Jones wrote: I am confused about webkit's layouttests. 1.What's the layouttess used for? The layout tests are used to detect unintended changes in engine behavior, which are typically regressions. Are they provided only for developers who want to create

[webkit-dev] what's important in layouttests?

2009-06-25 Thread David Jones
I am confused about webkit's layouttests. 1.What's the layouttess used for? Are they provided only for developers who want to create a browser with webkit to test if their browser behaves right? 2.The layouttests use Safari to run all the tests, right? 3.I noticed some tests need an app server, ho

Re: [webkit-dev] Dimension of Render Containers

2009-06-25 Thread David Hyatt
On Jun 25, 2009, at 8:36 PM, David Hyatt wrote: On Jun 25, 2009, at 11:50 AM, n179911 wrote: Hi, Does the dimension (width X height) of Render Containers (e.g. RenderBlock, RenderTableRow, RenderTableCell) always encompass all its children? For example, The Render Block is 145 x 14 which

Re: [webkit-dev] WebKit zooming behavior

2009-06-25 Thread David Hyatt
That API is more about desktop zooming. I wouldn't really recommend using it as a model for zooming on a mobile platform. dave (hy...@apple.com) On Jun 25, 2009, at 12:15 PM, Javed Rabbani wrote: Hello everyone, I was trying to zoom a web page (text + images) through WebKit API: frame->s

Re: [webkit-dev] Dimension of Render Containers

2009-06-25 Thread David Hyatt
On Jun 25, 2009, at 11:50 AM, n179911 wrote: Hi, Does the dimension (width X height) of Render Containers (e.g. RenderBlock, RenderTableRow, RenderTableCell) always encompass all its children? For example, The Render Block is 145 x 14 which encompasses its children RenderInline (145x12), Rende

Re: [webkit-dev] Testing worker lifecycle

2009-06-25 Thread Drew Wilson
On Thu, Jun 25, 2009 at 2:33 PM, Maciej Stachowiak wrote: > > On Jun 25, 2009, at 2:27 PM, Drew Wilson wrote: > > (resending to a wider audience - apologies to those of you who receive >> this twice) >> Hi all, >> >> The HTML5 worker spec has changed significantly from its earlier >> incarnation

Re: [webkit-dev] Testing worker lifecycle

2009-06-25 Thread Maciej Stachowiak
On Jun 25, 2009, at 2:27 PM, Drew Wilson wrote: (resending to a wider audience - apologies to those of you who receive this twice) Hi all, The HTML5 worker spec has changed significantly from its earlier incarnations, in that it's no longer externally visible whether a given worker threa

[webkit-dev] Testing worker lifecycle

2009-06-25 Thread Drew Wilson
(resending to a wider audience - apologies to those of you who receive this twice) Hi all, The HTML5 worker spec has changed significantly from its earlier incarnations, in that it's no longer externally visible whether a given worker thread has shut down or not (there are no more close events surf

Re: [webkit-dev] Getting global object from a webkit context throws a warning

2009-06-25 Thread Mark Rowe
On 2009-06-25, at 02:14, Sebastian Linke wrote: I'm currently learning how a JavaScript context is structured. Therefore I just load a site in a WebKit session and try to access the property "document.forms" using `JSObjectGetProperty()`: http://paste.pocoo.org/show/125018/ But before I go

Re: [webkit-dev] NPAPI

2009-06-25 Thread Darin Adler
On Jun 25, 2009, at 6:44 AM, Jack Wootton wrote: 1. Is there a way to get the browser to load NPAPI plugins without an object or embed tag first having been parsed? No. 2. Using the Browse side of the NPAPI, is there a way to get a handle to WebView? No. Netscape plug-ins are intended to

Re: [webkit-dev] Getting global object from a webkit context throws a warning

2009-06-25 Thread Darin Adler
On Jun 25, 2009, at 2:14 AM, Sebastian Linke wrote: But before I go on, I would like to know why I get this warnings: $ LANG=C gcc test.c -o test $(pkg-config --cflags --libs webkit-1.0) test.c: In function 'get_forms': test.c:23: warning: assignment makes pointer from integer without a cast

Re: [webkit-dev] JavaScriptCore in Windows Applications

2009-06-25 Thread Brent Fulgham
Hi Eric, On Jun 25, 2009, at 6:45 AM, Eric Brunstad wrote: Does your cairo.dll have its dependencies built into it? i.e. why are you using a zlib dll rather than a static zlib? I sort of assumed you were doing that because cairo depended on having a zlib.dll. As far as I know, it uses t

Re: [webkit-dev] Dimension of Render Containers

2009-06-25 Thread n179911
On Thu, Jun 25, 2009 at 9:50 AM, n179911 wrote: > Hi, > > Does the dimension (width X height) of Render Containers (e.g. > RenderBlock, RenderTableRow, RenderTableCell) always encompass all its > children? > > For example, > The Render Block is 145 x 14 which encompasses its children > RenderInline

Re: [webkit-dev] InlineBox::m_isSVG

2009-06-25 Thread Ojan Vafai
One simple chunk you could break off into it's own patch is the hasSpecialHeight refactor. It would be straightforward to review and could be committed without blocking on the ruby side. On Thu, Jun 25, 2009 at 2:44 AM, Eric Seidel wrote: > > 400k is too large of a patch for anyone to review. >

[webkit-dev] WebKit zooming behavior

2009-06-25 Thread Javed Rabbani
Hello everyone, I was trying to zoom a web page (text + images) through WebKit API: frame->setZoomFactor(). The call forces WebKit to recalculate the page layout and send repaints to the application via Chrome Client. What I have noticed is that zooming takes considerable time and that effect beco

Re: [webkit-dev] Memory usage for Webkit

2009-06-25 Thread Jim Howlett
Thank you. But can you please tell me how can I classify memory into memory areas: Webkit, Stack, Heap, Graphics library (in this case, Qt), other? How can i run/build similar tests myself on a different platform? or with a different Graphics library (e.g. Gtk)? On Thu, Jun 11, 2009 at 1:23 PM,

[webkit-dev] Dimension of Render Containers

2009-06-25 Thread n179911
Hi, Does the dimension (width X height) of Render Containers (e.g. RenderBlock, RenderTableRow, RenderTableCell) always encompass all its children? For example, The Render Block is 145 x 14 which encompasses its children RenderInline (145x12), RenderText (145x12) RenderBlock (floating) {DIV} at

Re: [webkit-dev] JavaScriptCore in Windows Applications

2009-06-25 Thread Eric Brunstad
Hi Brent, Does your cairo.dll have its dependencies built into it? i.e. why are you using a zlib dll rather than a static zlib? I sort of assumed you were doing that because cairo depended on having a zlib.dll. Thanks, Eric On Jun 25, 2009, at 12:23 AM, Brent Fulgham wrote: Eric, The

[webkit-dev] NPAPI

2009-06-25 Thread Jack Wootton
Hi 1. Is there a way to get the browser to load NPAPI plugins without an object or embed tag first having been parsed? 2. Using the Browse side of the NPAPI, is there a way to get a handle to WebView? None of the functions here seem to help: http://devedge-temp.mozilla.org/library/manuals/2002/p

[webkit-dev] Build WebKit_GTk, I get an error lack of Libsoup-2.25.91

2009-06-25 Thread deuxliquid
Hi all, I am building webkit_gtk on Fedora 10. Webkit needs libsoup-2.25.91 but I can't install libsoup-2.25.91 because it is not suitable for Fedora 10. Can any one help me?? This is message: checking for LIBSOUP... configure: error: Package requirements (libsoup-2.4 >= 2.25.91) were not met:

Re: [webkit-dev] InlineBox::m_isSVG

2009-06-25 Thread Eric Seidel
400k is too large of a patch for anyone to review. I would suggest you start by splitting out the layout test changes from the rest of the patch. I would also suggest that you try to post the code changes in smaller chunks. Ideal patch review size is <20k, but that's not always possible for feat

Re: [webkit-dev] InlineBox::m_isSVG

2009-06-25 Thread Roland Steiner
Hi Dave, thanks again for the feedback! I've now submitted a patch to bug #3749 with a basic ruby implementation with all the changes discussed on the list. (including the flag). Would be great if you could take time to review the patch whenever you can spare the time. Cheers, Roland On Tue, Ju

[webkit-dev] Getting global object from a webkit context throws a warning

2009-06-25 Thread Sebastian Linke
Hi, I'm currently learning how a JavaScript context is structured. Therefore I just load a site in a WebKit session and try to access the property "document.forms" using `JSObjectGetProperty()`: http://paste.pocoo.org/show/125018/ But before I go on, I would like to know why I get this warnings: