Re: [webkit-dev] How to port webkit on PXA270

2009-07-13 Thread Maciej Stachowiak
For help with porting or similar questions, please direct your queries to . - Maciej On Jul 13, 2009, at 11:25 PM, Naveen Pal wrote: Hello All, I have created webkitgtk browser on OpenSuse. Now I want to port this on PXA270 board. Following are the h/w and s/w details. - Hardware sp

[webkit-dev] How to port webkit on PXA270

2009-07-13 Thread Naveen Pal
Hello All, I have created webkitgtk browser on OpenSuse. Now I want to port this on PXA270 board. Following are the h/w and s/w details. - Hardware spec.: PXA270, NOR Flash, NAND Flash, MDOC, 3.5" LCD with touch screen, PCF50606 (Philips) PMI

Re: [webkit-dev] Development Tools on Safari

2009-07-13 Thread Brent Fulgham
On Jul 13, 2009, at 7:28 PM, Juan Madrigal wrote: Firebug is also a must: http://getfirebug.com/ Why is Firebug a must, when we have the WebKit inspector? Is there something missing from the inspector tool? Or do you find performing certain actions less efficient? Thanks, -Brent

Re: [webkit-dev] Development Tools on Safari

2009-07-13 Thread Hieu Le Trung
Maciej, Can we separate the tools from WebKit menu? I want to run them as a stand-alone and connect to existing WebKit instance. Regards, -Hieu -Original Message- From: webkit-dev-boun...@lists.webkit.org [mailto:webkit-dev-boun...@lists.webkit.org] On Behalf Of Maciej Stachowiak Sent: T

Re: [webkit-dev] Development Tools on Safari

2009-07-13 Thread Maciej Stachowiak
On Jul 13, 2009, at 7:28 PM, Juan Madrigal wrote: Any chance HTMLTidy will be integrated into Safari? http://zappatic.net/safaritidy/ Firebug is also a must: http://getfirebug.com/ Those are the only things keeping me from ditching Firefox, well aside from the Web Developer Toolbar: http:/

Re: [webkit-dev] Development Tools on Safari

2009-07-13 Thread Mark Rowe
On 2009-07-13, at 19:28, Juan Madrigal wrote: Any chance HTMLTidy will be integrated into Safari? http://zappatic.net/safaritidy/ Firebug is also a must: http://getfirebug.com/ Those are the only things keeping me from ditching Firefox, well aside from the Web Developer Toolbar: http://chr

[webkit-dev] Development Tools on Safari

2009-07-13 Thread Juan Madrigal
Any chance HTMLTidy will be integrated into Safari? http://zappatic.net/safaritidy/ Firebug is also a must: http://getfirebug.com/ Those are the only things keeping me from ditching Firefox, well aside from the Web Developer Toolbar: http://chrispederick.com/work/web-developer/ and Tamper Dat

Re: [webkit-dev] ExecState::thisObject()

2009-07-13 Thread Maciej Stachowiak
On Jul 13, 2009, at 5:34 PM, Adam Barth wrote: On Mon, Jul 13, 2009 at 4:59 PM, Maciej Stachowiak wrote: If security is one motivation for this work, then I'd like us to understand the pattern we want to use for cross-origin-accessible objects. Should they use the "home global object" prot

Re: [webkit-dev] ExecState::thisObject()

2009-07-13 Thread Adam Barth
On Mon, Jul 13, 2009 at 4:59 PM, Maciej Stachowiak wrote: > If security is one motivation for this work, then I'd like us to understand > the pattern we want to use for cross-origin-accessible objects. Should they > use the "home global object" prototype but protect it from mutation or > access to

Re: [webkit-dev] ExecState::thisObject()

2009-07-13 Thread Maciej Stachowiak
On Jul 13, 2009, at 4:34 PM, Adam Barth wrote: CVE-2009-1702 is an example of such as security hole. I'm sure that I can find more if I look for them. I think objects attached to the global object and accessible cross- origin are a special case here. (The advisory cited is about Location

Re: [webkit-dev] ExecState::thisObject()

2009-07-13 Thread Adam Barth
On Mon, Jul 13, 2009 at 4:20 PM, Maciej Stachowiak wrote: > My own interest would be in weighing the tradeoffs. In the Pro column: > > 1) Are there aspects of this issue that create security holes? CVE-2009-1702 is an example of such as security hole. I'm sure that I can find more if I look for t

Re: [webkit-dev] ExecState::thisObject()

2009-07-13 Thread Maciej Stachowiak
On Jul 13, 2009, at 4:11 PM, Adam Barth wrote: On Mon, Jul 13, 2009 at 4:01 PM, Geoffrey Garen wrote: That's correct. Other browser's get this case right. Here are a couple test cases you might find interesting: http://webblaze.org/abarth/tests/protoconfused/test1.html http://webblaze.org/

Re: [webkit-dev] ExecState::thisObject()

2009-07-13 Thread Maciej Stachowiak
On Jul 13, 2009, at 4:12 PM, Adam Barth wrote: On Mon, Jul 13, 2009 at 4:08 PM, Maciej Stachowiak wrote: Built-in classes work somewhat differently. I believe they use the calling function's global object ("lexical global object") rather than having some notion of home object. You might

Re: [webkit-dev] ExecState::thisObject()

2009-07-13 Thread Adam Barth
On Mon, Jul 13, 2009 at 4:08 PM, Maciej Stachowiak wrote: > Built-in classes work somewhat differently. I believe they use the calling > function's global object ("lexical global object") rather than having some > notion of home object. You might be thinking of boxing primitive values, which do in

Re: [webkit-dev] ExecState::thisObject()

2009-07-13 Thread Maciej Stachowiak
On Jul 13, 2009, at 3:40 PM, Adam Barth wrote: On Mon, Jul 13, 2009 at 3:29 PM, Geoffrey Garen wrote: Our current behavior is buggy, unpredictable, and out of spec. This has led to security bugs in the past and will lead to security bugs in the future. I don't disagree with you, but I'm

Re: [webkit-dev] ExecState::thisObject()

2009-07-13 Thread Adam Barth
On Mon, Jul 13, 2009 at 4:01 PM, Geoffrey Garen wrote: >> That's correct.  Other browser's get this case right.  Here are a >> couple test cases you might find interesting: >> >> http://webblaze.org/abarth/tests/protoconfused/test1.html >> http://webblaze.org/abarth/tests/protoconfused/test2.html >

Re: [webkit-dev] ExecState::thisObject()

2009-07-13 Thread Geoffrey Garen
Consider this case, which does not involve a DOM object: frames[0].Array.prototype.push.__proto__ == Array.prototype.push.__proto__ Built-in classes work somewhat differently. I believe they use the calling function's global object ("lexical global object") rather than having some notion

Re: [webkit-dev] ExecState::thisObject()

2009-07-13 Thread Maciej Stachowiak
On Jul 13, 2009, at 3:36 PM, Geoffrey Garen wrote: I discussed this a bit with Darin and Geoff, and we came to the conclusion that the correct fix is to have each JS DOMObject store a JSGlobalObject pointer and augment the toJS methods to pass a global object instead of an ExecState (close

Re: [webkit-dev] ENABLE_FORM_VALIDATION

2009-07-13 Thread Darin Fisher
On Mon, Jul 13, 2009 at 3:17 PM, David Hyatt wrote: > On Jul 13, 2009, at 5:02 PM, Darin Fisher wrote: > > This small interval rule-of-thumb idea sounds pretty good, but I still >> wish it didn't put the burden on the guy doing the branch to figure out what >> is or isn't incomplete about a part

Re: [webkit-dev] ExecState::thisObject()

2009-07-13 Thread Geoffrey Garen
Yep... My guess is that (a) is probably better, but you two are more expert on why we use lazy construction. Heh -- lazy construction in JSC is even older than I am! :) The goal is to reduce memory use and startup cost in cases where certain functions aren't used. I'm not sure how much of a

Re: [webkit-dev] ExecState::thisObject()

2009-07-13 Thread Geoffrey Garen
Which spec did you have in mind? I'd like to read it. Essentially, the ECMAScript spec requires this. In spec-land, these objects are all created at the beginning of time. The fact that we create them lazily is what leads to this bug. Depending on who touches them first, they end up with diff

Re: [webkit-dev] ExecState::thisObject()

2009-07-13 Thread Adam Barth
On Mon, Jul 13, 2009 at 3:36 PM, Geoffrey Garen wrote: > Sam and I just noticed that, to fully support this behavior, any host object > that lazily constructs function properties using the functions in lookup.h > must either > > (a) change in the same way as DOM objects must change > > or > > (b) e

Re: [webkit-dev] ExecState::thisObject()

2009-07-13 Thread Adam Barth
On Mon, Jul 13, 2009 at 3:29 PM, Geoffrey Garen wrote: >> Our current behavior is buggy, unpredictable, and out of spec.  This >> has led to security bugs in the past and will lead to security bugs in >> the future. > > I don't disagree with you, but I'm not immediately convinced that a large > des

Re: [webkit-dev] A module that changes webserver configuration?

2009-07-13 Thread Brady Eidson
It seems like you have confused this mailing list with another one. ~Brady On Jul 13, 2009, at 11:10 AM, Elison Smith wrote: Hello, I am looking for pointers to module(s) that change the webserver configuration (in-memory and maybe also in the config files on disk) for any reason. Are the

Re: [webkit-dev] ExecState::thisObject()

2009-07-13 Thread Geoffrey Garen
I discussed this a bit with Darin and Geoff, and we came to the conclusion that the correct fix is to have each JS DOMObject store a JSGlobalObject pointer and augment the toJS methods to pass a global object instead of an ExecState (close to you #1). I would not advocate storing more data

Re: [webkit-dev] ExecState::thisObject()

2009-07-13 Thread Geoffrey Garen
Is there a particular security or other benefit here, or do we just want to make this change to match other browsers? Our current behavior is buggy, unpredictable, and out of spec. This has led to security bugs in the past and will lead to security bugs in the future. I don't disagree with

Re: [webkit-dev] Build File Maintenance (was Re: Please welcome GYP to the our dysfunctional build family)

2009-07-13 Thread Joe Mason
Maciej Stachowiak wrote: Another note, based on some #chromium conversations: if someone passionate made CMake (or any other tool) into something compelling enough to work better for Chromium than gyp does (or at least to work close-to-as-well), and that tool was more plausible for other ports

Re: [webkit-dev] ENABLE_FORM_VALIDATION

2009-07-13 Thread David Hyatt
On Jul 13, 2009, at 5:17 PM, David Hyatt wrote: It's the organization shipping their product that should be working to determine when their product is shippable. This may in fact be the most incomprehensible sentence I have ever typed. :) dave (hy...@apple.com) ___

Re: [webkit-dev] ExecState::thisObject()

2009-07-13 Thread Adam Barth
On Mon, Jul 13, 2009 at 2:26 PM, Maciej Stachowiak wrote: > For the few cases where > cross-origin access is allowed, we would *not* want to expose the home > window's prototype chain. So for Window.postMessage for instance, > cross-origin access need to give you a distinct wrapper. That's correct

Re: [webkit-dev] ENABLE_FORM_VALIDATION

2009-07-13 Thread David Hyatt
On Jul 13, 2009, at 5:02 PM, Darin Fisher wrote: This small interval rule-of-thumb idea sounds pretty good, but I still wish it didn't put the burden on the guy doing the branch to figure out what is or isn't incomplete about a particular snapshot of WebKit. That guy might not be savy enou

Re: [webkit-dev] ExecState::thisObject()

2009-07-13 Thread Adam Barth
On Mon, Jul 13, 2009 at 1:33 PM, Geoffrey Garen wrote: >>> Is it definitely right for document.body to make a wrapper using >>> prototypes >>> from the document's host window, rather than from the accessing >>> function's >>> window? What do other browsers do? >> >> That's correct.  Other browser's

Re: [webkit-dev] ENABLE_FORM_VALIDATION

2009-07-13 Thread Darin Fisher
On Mon, Jul 13, 2009 at 2:55 PM, Maciej Stachowiak wrote: > > On Jul 13, 2009, at 11:57 AM, David Hyatt wrote: > > On Jul 13, 2009, at 1:52 PM, Jeremy Orlow wrote: > > On Mon, Jul 13, 2009 at 11:40 AM, David Hyatt wrote: > >> On Jul 13, 2009, at 12:52 PM, Peter Kasting wrote: >> >> On Mon, Jul 1

Re: [webkit-dev] ENABLE_FORM_VALIDATION

2009-07-13 Thread Maciej Stachowiak
On Jul 13, 2009, at 11:57 AM, David Hyatt wrote: On Jul 13, 2009, at 1:52 PM, Jeremy Orlow wrote: On Mon, Jul 13, 2009 at 11:40 AM, David Hyatt wrote: On Jul 13, 2009, at 12:52 PM, Peter Kasting wrote: On Mon, Jul 13, 2009 at 10:47 AM, David Hyatt wrote: I agree. We should formalize t

Re: [webkit-dev] ExecState::thisObject()

2009-07-13 Thread Darin Adler
On Jul 13, 2009, at 2:36 PM, Maciej Stachowiak wrote: Don't you need an ExecState to report exceptions, including the uncatchable out-of-memory exception? Or does that work differently now? It works differently now. A JSGlobalData is all you need to report exceptions. -- Darin

Re: [webkit-dev] ExecState::thisObject()

2009-07-13 Thread Maciej Stachowiak
On Jul 13, 2009, at 2:28 PM, Geoffrey Garen wrote: I discussed this a bit with Darin and Geoff, and we came to the conclusion that the correct fix is to have each JS DOMObject store a JSGlobalObject pointer and augment the toJS methods to pass a global object instead of an ExecState (close

Re: [webkit-dev] ExecState::thisObject()

2009-07-13 Thread Geoffrey Garen
I discussed this a bit with Darin and Geoff, and we came to the conclusion that the correct fix is to have each JS DOMObject store a JSGlobalObject pointer and augment the toJS methods to pass a global object instead of an ExecState (close to you #1). There are classes in JavaScriptCore wi

Re: [webkit-dev] ExecState::thisObject()

2009-07-13 Thread Geoffrey Garen
I discussed this a bit with Darin and Geoff, and we came to the conclusion that the correct fix is to have each JS DOMObject store a JSGlobalObject pointer and augment the toJS methods to pass a global object instead of an ExecState (close to you #1). You probably mean "in addition to" rath

Re: [webkit-dev] ExecState::thisObject()

2009-07-13 Thread Maciej Stachowiak
On Jul 13, 2009, at 2:18 PM, Sam Weinig wrote: I discussed this a bit with Darin and Geoff, and we came to the conclusion that the correct fix is to have each JS DOMObject store a JSGlobalObject pointer and augment the toJS methods to pass a global object instead of an ExecState (close t

Re: [webkit-dev] ExecState::thisObject()

2009-07-13 Thread Geoffrey Garen
1. Pass a "current global object" through to all toJS calls (lots of callsites changed) 2. Store a "current global object" off of the ExecState (set by the JS engine before leaving into custom native code for property lookup or function execution). I discussed this a bit with Darin and Geoff,

Re: [webkit-dev] Build File Maintenance (was Re: Please welcome GYP to the our dysfunctional build family)

2009-07-13 Thread Maciej Stachowiak
On Jul 13, 2009, at 2:03 PM, Peter Kasting wrote: On Mon, Jul 13, 2009 at 1:56 PM, Maciej Stachowiak wrote: One belated comment on this topic. It would be neat if some port agreed to be the guinea pig to see if gyp could plausibly work for more than Google's ports. The Wx port probably ha

Re: [webkit-dev] ExecState::thisObject()

2009-07-13 Thread Eric Seidel
On Mon, Jul 13, 2009 at 2:18 PM, Sam Weinig wrote: > I discussed this a bit with Darin and Geoff, and we came to the conclusion > that the correct fix is to have each JS DOMObject store a JSGlobalObject > pointer and augment the toJS methods to pass a global object instead of an > ExecState (close

Re: [webkit-dev] ExecState::thisObject()

2009-07-13 Thread Sam Weinig
On Mon, Jul 13, 2009 at 1:57 PM, Eric Seidel wrote: > On Mon, Jul 13, 2009 at 1:36 PM, Geoffrey Garen wrote: > > I'm not sure what you guys have been meaning by the phrase "correct > heap." > > Barring workers, all WebCore objects are allocated from the same heap. > > We had wrongly assumed that

Re: [webkit-dev] Build File Maintenance (was Re: Please welcome GYP to the our dysfunctional build family)

2009-07-13 Thread Peter Kasting
On Mon, Jul 13, 2009 at 1:56 PM, Maciej Stachowiak wrote: > One belated comment on this topic. It would be neat if some port agreed to > be the guinea pig to see if gyp could plausibly work for more than Google's > ports. The Wx port probably has the lowest resources of any complete port in > the

Re: [webkit-dev] ExecState::thisObject()

2009-07-13 Thread Eric Seidel
On Mon, Jul 13, 2009 at 1:36 PM, Geoffrey Garen wrote: > I'm not sure what you guys have been meaning by the phrase "correct heap." > Barring workers, all WebCore objects are allocated from the same heap. We had wrongly assumed that each window got its own. OK. This invalidates using heaps as a

Re: [webkit-dev] Build File Maintenance (was Re: Please welcome GYP to the our dysfunctional build family)

2009-07-13 Thread Maciej Stachowiak
One belated comment on this topic. It would be neat if some port agreed to be the guinea pig to see if gyp could plausibly work for more than Google's ports. The Wx port probably has the lowest resources of any complete port in the tree, so they might not be the best choice of experimenta

Re: [webkit-dev] ExecState::thisObject()

2009-07-13 Thread Geoffrey Garen
I'm first fixing JSCell::new subclasses to make sure they're always allocating in the correct heap. If we're to map from objects to the associated globalobject via the heap, we need to fix allocation first. I'm not sure what you guys have been meaning by the phrase "correct heap." Barring w

Re: [webkit-dev] ExecState::thisObject()

2009-07-13 Thread Geoffrey Garen
Is it definitely right for document.body to make a wrapper using prototypes from the document's host window, rather than from the accessing function's window? What do other browsers do? That's correct. Other browser's get this case right. Is there a particular security or other benefit he

Re: [webkit-dev] ExecState::thisObject()

2009-07-13 Thread Geoffrey Garen
Our current thinking is to add a parameter to toJS() to receive the JSGlobalObject in which to create the wrapper. Seems logical. Once we do that, the question is how to find the proper JSGlobalObject at each call site. In most cases, you have another JSObject sitting around that is from t

Re: [webkit-dev] ExecState::thisObject()

2009-07-13 Thread Eric Seidel
Re-sending from correct address. On Mon, Jul 13, 2009 at 1:23 PM, Eric Seidel wrote: > I'm looking at this more today. > > I'm first fixing JSCell::new subclasses to make sure they're always > allocating in the correct heap.  If we're to map from objects to the > associated globalobject via the he

Re: [webkit-dev] ExecState::thisObject()

2009-07-13 Thread Geoffrey Garen
1. Is it correct for the ExecState to carry the "thisValue"? As Adam realized later (I think), ExecState carries the value for "this" inside the calling function. It does not carry the object whose property is being accessed. Geoff ___ webkit-de

Re: [webkit-dev] Please welcome GYP to the our dysfunctional build family

2009-07-13 Thread Peter Kasting
On Mon, Jul 13, 2009 at 12:24 PM, Mark Mentovai wrote: > We also considered CMake, and had it demonstrably working for some of > our smaller projects as well. > BTW, Mark's list of issues with CMake is non-exhaustive (we can share more if desired), but we're not trying to slag CMake - it's a goo

Re: [webkit-dev] Please welcome GYP to the our dysfunctional build family

2009-07-13 Thread Mark Mentovai
Generate Your Projects, or GYP, was designed around Chromium's needs. Maintaining distinct project files for different build environments and different platforms put a great burden on our team, and was never intended to be a long-term solution. We really wanted to have a single canonical descripti

Re: [webkit-dev] ENABLE_FORM_VALIDATION

2009-07-13 Thread Jeremy Orlow
On Mon, Jul 13, 2009 at 11:57 AM, David Hyatt wrote: > On Jul 13, 2009, at 1:52 PM, Jeremy Orlow wrote: > > On Mon, Jul 13, 2009 at 11:40 AM, David Hyatt wrote: > >> On Jul 13, 2009, at 12:52 PM, Peter Kasting wrote: >> >> On Mon, Jul 13, 2009 at 10:47 AM, David Hyatt wrote: >> >>> I agree. W

Re: [webkit-dev] ENABLE_FORM_VALIDATION

2009-07-13 Thread David Hyatt
On Jul 13, 2009, at 1:52 PM, Jeremy Orlow wrote: On Mon, Jul 13, 2009 at 11:40 AM, David Hyatt wrote: On Jul 13, 2009, at 12:52 PM, Peter Kasting wrote: On Mon, Jul 13, 2009 at 10:47 AM, David Hyatt wrote: I agree. We should formalize this as policy too in my opinion. Maybe something ti

Re: [webkit-dev] ENABLE_FORM_VALIDATION

2009-07-13 Thread Jeremy Orlow
On Mon, Jul 13, 2009 at 11:40 AM, David Hyatt wrote: > On Jul 13, 2009, at 12:52 PM, Peter Kasting wrote: > > On Mon, Jul 13, 2009 at 10:47 AM, David Hyatt wrote: > >> I agree. We should formalize this as policy too in my opinion. Maybe >> something time-based, e.g., if you have an implementat

Re: [webkit-dev] ENABLE_FORM_VALIDATION

2009-07-13 Thread David Hyatt
On Jul 13, 2009, at 12:52 PM, Peter Kasting wrote: On Mon, Jul 13, 2009 at 10:47 AM, David Hyatt wrote: I agree. We should formalize this as policy too in my opinion. Maybe something time-based, e.g., if you have an implementation of a new Web technology that is going to take > (1month?)

[webkit-dev] A module that changes webserver configuration?

2009-07-13 Thread Elison Smith
Hello, I am looking for pointers to module(s) that change the webserver configuration (in-memory and maybe also in the config files on disk) for any reason. Are there any such modules? Or is Apache inherently an ecosystem where the config (config files) are not written to by the webserver itself?

Re: [webkit-dev] ENABLE_FORM_VALIDATION

2009-07-13 Thread Peter Kasting
On Mon, Jul 13, 2009 at 10:47 AM, David Hyatt wrote: > I agree. We should formalize this as policy too in my opinion. Maybe > something time-based, e.g., if you have an implementation of a new Web > technology that is going to take > (1month?) to implement, then the feature > should be landed i

Re: [webkit-dev] ENABLE_FORM_VALIDATION

2009-07-13 Thread Michelangelo De Simone
2009/7/13 Peter Kasting : > When it relands I will see if I can figure out what the ENABLE flag should > cover and make sure it's covered.  I'm concerned about other things already > in the tree with "valid" in their name, e.g. "readonly attribute boolean > willValidate" -- not sure if these shoul

Re: [webkit-dev] ENABLE_FORM_VALIDATION

2009-07-13 Thread Michelangelo De Simone
2009/7/13 Darin Fisher : > I'd like to propose that we add an ENABLE_FORM_VALIDATION flag (or something > similarly named).  I'm writing this to webkit-dev because I want to make > sure that other new web platform features that may be in development get > similar treatment while they are still in

Re: [webkit-dev] ENABLE_FORM_VALIDATION

2009-07-13 Thread David Hyatt
I agree. We should formalize this as policy too in my opinion. Maybe something time-based, e.g., if you have an implementation of a new Web technology that is going to take > (1month?) to implement, then the feature should be landed inside ENABLE ifdefs (that can then be removed when the

Re: [webkit-dev] ENABLE_FORM_VALIDATION

2009-07-13 Thread Peter Kasting
On Mon, Jul 13, 2009 at 10:40 AM, Darin Fisher wrote: > I'd like to propose that we add an ENABLE_FORM_VALIDATION flag (or > something similarly named). I'm writing this to webkit-dev because I want > to make sure that other new web platform features that may be in development > get similar trea

[webkit-dev] ENABLE_FORM_VALIDATION

2009-07-13 Thread Darin Fisher
I noticed that some new form validation code is landing (e.g., http://trac.webkit.org/changeset/45739). That change adds stubs for the ValidityState object. What I didn't see in that patch is any kind of ENABLE flag. I suspect there should be one since otherwise it becomes difficult for a web de

Re: [webkit-dev] Query regarding Rendering

2009-07-13 Thread Christophe Gillette
Hi, This should help you going: class Element : public ContainerNode { PassRefPtr getClientRects() const; PassRefPtr getBoundingClientRect() const; } Christophe JayaSai Kishore wrote: > > Hi, > I need to get Rect region where a node is rendered. > As per my understanding

Re: [webkit-dev] saving the current state of webkit

2009-07-13 Thread RDC
You can't restore a page from only the serialized DOM. The CachedPage class may help. I have looked at CachedPage.h, but I don't see any method to serialize the cached page to files and then de-serialize it later. Can you please tell me how can I do that with cached page? I'm not sure CachedP

Re: [webkit-dev] saving the current state of webkit

2009-07-13 Thread n179911
On Mon, Jul 13, 2009 at 3:37 AM, ZHOU Xiao-bo wrote: > You can't restore a page from only the serialized DOM. > The CachedPage class may help. > I have looked at CachedPage.h, but I don't see any method to serialize the cached page to files and then de-serialize it later. Can you please tell me h

[webkit-dev] Patch process - a fresh thread (Was: Patch process - let's make it better)

2009-07-13 Thread Nikolas Zimmermann
Am 13.07.2009 um 15:33 schrieb Holger Freyther: On Monday 13 July 2009 13:47:13 Luke Kenneth Casson Leighton wrote: On 7/13/09, Luke Kenneth Casson Leighton > wrote: I concur with Maciej. Luke, in some other culture your posts are already considered derogatory and insulting. also - (i apo

Re: [webkit-dev] Query regarding Rendering

2009-07-13 Thread Ariya Hidayat
> I need to get Rect region where a node is rendered. Please post such questions to webkit-help, see http://lists.webkit.org/mailman/listinfo.cgi/webkit-help Rationale: read https://lists.webkit.org/pipermail/webkit-dev/2009-July/008681.html https://lists.webkit.org/pipermail/webkit-dev/2

Re: [webkit-dev] Patch process - let's make it better

2009-07-13 Thread Holger Freyther
On Monday 13 July 2009 13:47:13 Luke Kenneth Casson Leighton wrote: > On 7/13/09, Luke Kenneth Casson Leighton wrote: > > > I concur with Maciej. > > > > > > Luke, in some other culture your posts are already considered > > > derogatory and insulting. > > also - (i apologise for not thinking

[webkit-dev] Query regarding Rendering

2009-07-13 Thread JayaSai Kishore
Hi, I need to get Rect region where a node is rendered. As per my understanding xPos() and yPos() methods on any Renderer of a node, give coordinates relative to parent node but not exact coordinates where rendering happens for that Renderer. Is there any way to find Render region

Re: [webkit-dev] Patch process - let's make it better

2009-07-13 Thread Luke Kenneth Casson Leighton
On 7/13/09, Maciej Stachowiak wrote: > Hi Luke, > > I think your webkit-dev emails are becoming disruptive. Sending > profanity-laced [apologised and explained already] > walls of text maciej, i thought i'd best pick up on this one and nip it in the bud, even though i've replied already.

Re: [webkit-dev] Patch process - let's make it better

2009-07-13 Thread Luke Kenneth Casson Leighton
On 7/13/09, Luke Kenneth Casson Leighton wrote: > > I concur with Maciej. > > > > Luke, in some other culture your posts are already considered derogatory > and > > insulting. also - (i apologise for not thinking of this earlier) - it's worth emphasising that early on in the #16401 devel

Re: [webkit-dev] Patch process - let's make it better

2009-07-13 Thread Luke Kenneth Casson Leighton
> I concur with Maciej. > > Luke, in some other culture your posts are already considered derogatory and > insulting. dear ariya, i apologise for that. i invite you to consider this, especially in light of the subject being discussed: if there was not a deep seated problem with the way that

Re: [webkit-dev] Patch process - let's make it better

2009-07-13 Thread Luke Kenneth Casson Leighton
On 7/13/09, Maciej Stachowiak wrote: > Hi Luke, hi maciej, > I think your webkit-dev emails are becoming disruptive. whilst at the same time apologising for being disruptive, i'd like to ask you why you consider that to be a bad thing. > Sending > profanity-laced walls of text is not an ap

Re: [webkit-dev] Patch process - let's make it better

2009-07-13 Thread Ariya Hidayat
> I think your webkit-dev emails are becoming disruptive. Sending > profanity-laced walls of text is not an appropriate use of this list. > Please find a way to communicate without annoying the rest of the > list, or I will ask the list administrators to "censor" you from the > mailing list for th

Re: [webkit-dev] saving the current state of webkit

2009-07-13 Thread ZHOU Xiao-bo
You can't restore a page from only the serialized DOM. The CachedPage class may help. 2009/7/13 Luka Napotnik > Hello. > > I want to partially prevent the user from loosing focus from the > current page being displayed. As I see, this can be done by saving the > current state of webkit which mea

Re: [webkit-dev] How to develop NPAPI plugin with webkit lib

2009-07-13 Thread Hieu Le Trung
Zhang, The napi.h is located under WebCore/bridge folder. Please check to see why it didn't include in the build. -Hieu -Original Message- From: webkit-dev-boun...@lists.webkit.org [mailto:webkit-dev-boun...@lists.webkit.org] On Behalf Of Jack Wootton Sent: Monday, July 13, 2009 4:50 PM

Re: [webkit-dev] Patch process - let's make it better

2009-07-13 Thread Maciej Stachowiak
Hi Luke, I think your webkit-dev emails are becoming disruptive. Sending profanity-laced walls of text is not an appropriate use of this list. Please find a way to communicate without annoying the rest of the list, or I will ask the list administrators to "censor" you from the mailing lis

Re: [webkit-dev] How to develop NPAPI plugin with webkit lib

2009-07-13 Thread Jack Wootton
Are you calling NPN_CreateObject using the function pointers that were exchanged during initialization? You're probably aware that the browser provides pointers to the browser side of the NPAPI and it is your job as the plugin author to populate the function pointers that make up the plugin side o

[webkit-dev] saving the current state of webkit

2009-07-13 Thread Luka Napotnik
Hello. I want to partially prevent the user from loosing focus from the current page being displayed. As I see, this can be done by saving the current state of webkit which means serializing the DOM tree. But I don't know if traversing the DOM tree is sufficient and which information is relevant t