Re: [webkit-dev] WebKit memory management?

2008-06-04 Thread Paul Pedriana
Thanks for the response. I'm sorry, and perhaps I misunderstand, but I believe your statement about inline operator new is incorrect. Unless I misunderstand you, what you say is not supported by any existing compiler nor is it supported by the C++ language standard. In summary, the 'inline'

Re: [webkit-dev] WebKit memory management?

2008-06-04 Thread Alexey Proskuryakov
On Jun 4, 2008, at 9:58 AM, Paul Pedriana wrote: Thanks for the response. I'm sorry, and perhaps I misunderstand, but I believe your statement about inline operator new is incorrect. Unless I misunderstand you, what you say is not supported by any existing compiler nor is it supported

Re: [webkit-dev] WebKit memory management?

2008-06-04 Thread Paul Pedriana
However, I am not aware of any platforms where an overridden operator new would have effect across a DLL boundary ... A DLL on Windows is treated rather like an EXE for the purposes of linkage. However, DLLs are a Windows-specific feature which don't exist on other platforms, though some

[webkit-dev] Some queries regarding WebKit 2.x

2008-06-04 Thread Sinha Tuheen-A19034
Hi All, I had some queries regarding WebKit 2.x. I would really appreciate if someone can help me. 1. Do we have some stable version of WebKit 2.x available? I have seen several nightly builds, but not sure if we have a place where we release stable versions too. 2. Is WebKit 2.x

[webkit-dev] construct the dom tree of non Xml valid page

2008-06-04 Thread nina
Hello, I want to construct the dom tree of an html page. This page must be Xml valid for construct his dom tree? Thanks Cheers ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Re: [webkit-dev] WebKit memory management?

2008-06-04 Thread Darin Adler
On Jun 3, 2008, at 7:58 PM, Paul Pedriana wrote: The application should be able to set aside a block of RAM and have the library use that block of RAM via a user-supplied memory allocator. At no time should the library attempt to use any other memory nor use its own means to access the

Re: [webkit-dev] Some queries regarding WebKit 2.x

2008-06-04 Thread Mark Rowe
On Jun 4, 2008, at 3:29 AM, Sinha Tuheen-A19034 wrote: Hi All, I had some queries regarding WebKit 2.x. I would really appreciate if someone can help me. 1. Do we have some stable version of WebKit 2.x available? I have seen several nightly builds, but not sure if we have a

Re: [webkit-dev] WebKit memory management?

2008-06-04 Thread Darin Adler
On Jun 4, 2008, at 10:57 AM, Paul Pedriana wrote: As I mentioned in a previous response, this unfortunately doesn't work because all operator new is directed to FastMalloc, not just WebKit's usage of operator new. Operator new is global in a linkage unit. Did you try it, or is that

Re: [webkit-dev] WebKit memory management?

2008-06-04 Thread Justin Haygood
Based on my (limited) understanding: * Inside the same linked executable (an EXE, DLL, etc..), you can only have a single implementation of something, such as operator new, operator delete, etc.. * Inside different linked executables that are dynamically linked (or statically linked using shared

Re: [webkit-dev] WebKit memory management?

2008-06-04 Thread Darin Adler
On Jun 4, 2008, at 11:38 AM, Paul Pedriana wrote: I can understand that some developers who have spent a lot of time developing monolithic desktop or server software are used to using the built-in global operator new. The concept of controlling memory like I am proposing is the rule in

Re: [webkit-dev] WebKit memory management?

2008-06-04 Thread Maciej Stachowiak
On Jun 3, 2008, at 10:58 PM, Paul Pedriana wrote: Thanks for the response. I'm sorry, and perhaps I misunderstand, but I believe your statement about inline operator new is incorrect. Unless I misunderstand you, what you say is not supported by any existing compiler nor is it supported by

Re: [webkit-dev] WebKit memory management?

2008-06-04 Thread Maciej Stachowiak
Hi Chris, On Jun 4, 2008, at 2:37 PM, Chris Brichford wrote: I have two clever ideas, which might be bad ones, that would not involve massive changes to the existing code: Interesting ideas. It appears that both of these would impost runtime cost (since calls to allocator-related

Re: [webkit-dev] WebKit memory management?

2008-06-04 Thread Paul Pedriana
I have implemented a version of Maciej's suggestion #2 below, with basic documentation and a basic test. A slight alternative would be to change the 'new' syntax to to use a macro which would allow for a simpler reference version that used global new/delete, but would introduce a preprocessor

Re: [webkit-dev] Some queries regarding WebKit 2.x

2008-06-04 Thread Sinha Tuheen-A19034
Thanks for the information. By WebKit 2.x, I meant WebKit Tip of tree. Does WebKit Tip of tree support any w3c specifications for HTML, xHTML, CSS, DOM, SVG and JavaScript? Thanks, Tuheen -Original Message- From: Mark Rowe [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2008 11:13