[webkit-dev] If you are in china and you have interest in webkit, please join us with qq group 8763622.

2009-05-14 Thread canquan.shencq
Hi all, Disucss the webkit conveniently for Chinese people who has interest in webkit , I create a QQ group 8763622. If you are in china and you have interest in webkit,please join us with qq group 8763622. Thanks Steven Shen 2009-5-14

Re: [webkit-dev] Memory leaks

2009-05-14 Thread Alexey Proskuryakov
13.05.2009, в 23:51, Alexey Proskuryakov написал(а): I ran the test cases in the above directory and in test cases for JSON code and end up with reported leaks in the same ares, I thought it might b something I have introduces but I can't find anything related to my code changes in the

Re: [webkit-dev] How to let webkit to be able to load local image file in html content?

2009-05-14 Thread Holger Freyther
On Thursday 14 May 2009 07:14:18 Jan Alonzo wrote: Hi james, can you please file a bug against the WebKitGtk component at http://bugs.webkit.org. I don't think that's correct. It is correct. You define the SecurityOrigin (we have a class with that name) and you want to load something from a

Re: [webkit-dev] How to let webkit to be able to load local image file in html content?

2009-05-14 Thread Zhe Su
I just found that setting base_uri to file:// can't actually solve the problem. Though it allows loading local image file in a simple html content, I found that using local image file in css may still not work. It looks not like a correct behavior. Regards James Su On Thu, May 14, 2009 at 3:37

Re: [webkit-dev] How to let webkit to be able to load local image file in html content?

2009-05-14 Thread Jan Alonzo
On Thu, May 14, 2009 at 5:37 PM, Holger Freyther ze...@selfish.org wrote: On Thursday 14 May 2009 07:14:18 Jan Alonzo wrote: Hi james, can you please file a bug against the WebKitGtk component at http://bugs.webkit.org. I don't think that's correct. It is correct. You define the

Re: [webkit-dev] Hi, how can I know the whole architecture of webkit?

2009-05-14 Thread Holger Freyther
On Thursday 14 May 2009 12:05:29 JIN Wei wrote: Hi, guys: As a newbie to open source software , I wonder where can I find the docs of the architecture of webkit. And how can I get start? As hard it might sound. There is no architecture documentation available at this moment, the code is

[webkit-dev] KJS::JSObject question

2009-05-14 Thread Jack Wootton
Hello all, I'm looking at the JSObject class in the KJS namespace. The file is JavaScriptCore/kjs/object.h. My understanding of this class is that it must be subclassed when adding new JavaScript objects to suplement the standard global objects such as document or window etc. I have a vague

[webkit-dev] How to access formatted Java script Console message ?

2009-05-14 Thread Gopal Raghavan
WebKit/WebCore/page/Cosole.cpp provides Console::log(), debug(), error() etc., to support Firebug console API. There are two overloaded addMessage(). Console::log messages are processed through Console::addMessage(MessageLevel level, ScriptCallStack* callStack, bool acceptNoArguments) I am

[webkit-dev] Dump render tree of webkit

2009-05-14 Thread Meryl Silverburgh
Hi, In http://webkit.org/blog/114/webcore-rendering-i-the-basics/, it said webkit will build a Render tree for each page it loads. Is there a tool/API for me to dump the Render Tree to a file/screen? The closest I find is './WebKitBuild/Debug/DumpRenderTree', but when I run it $

Re: [webkit-dev] Dump render tree of webkit

2009-05-14 Thread Ariya Hidayat
layer at (0,0) size 800x600 RenderView at (0,0) size 800x600 layer at (0,0) size 800x600 RenderBlock {HTML} at (0,0) size 800x600 RenderBody {BODY} at (8,8) size 784x584 This the render tree. Or did you mean something else? Moreover , is there any tool/function to dump the DOM of

Re: [webkit-dev] Dump render tree of webkit

2009-05-14 Thread Ariya Hidayat
Thanks. But I was trying it with http://www.cnn.com, it has more than just a BODY tag, so I am not sure why it does not show the rest, which is what I care about. I don't know about your setup, but using QtWebKit's DRT on CNN, I got the full-blown render tree. -- Ariya Hidayat, Software

Re: [webkit-dev] Dump render tree of webkit

2009-05-14 Thread Kevin Ollivier
Hi Meryl, On May 14, 2009, at 9:08 AM, Meryl Silverburgh wrote: On Thu, May 14, 2009 at 9:11 AM, Ariya Hidayat ariya.hida...@trolltech.com wrote: layer at (0,0) size 800x600 RenderView at (0,0) size 800x600 layer at (0,0) size 800x600 RenderBlock {HTML} at (0,0) size 800x600

[webkit-dev] maximum z-index value

2009-05-14 Thread Eric Puidokas
I've noticed Safari 3.2.1 has a maximum z-index value of 16777271. It's been fixed in the nightly to be the max value of a 32-bit signed int (2147483647). I'm curious if anyone knows where the number 16777271 came from before the bug was fixed. It doesn't correspond to any data type I know of.

Re: [webkit-dev] KJS::JSObject question

2009-05-14 Thread Darin Adler
On May 14, 2009, at 8:03 AM, Jack Wootton wrote: My question: I do not understand how JSObject can be used to allow for the JavaScript syntax of : myNewJSObject.someObject.hello(). My first comment is that you should not be using JSObject directly. The right way to do this is to use the

[webkit-dev] WebKit resource caching

2009-05-14 Thread Javed Rabbani
While looking through the WebKit code, I came across a hard-coded value of 8 MB in file WebCore/loader/Cache.cpp: static const int cDefaultCacheCapacity = 8192 * 1024; I just wanted to know what impact does this value has on the WebKit resource caching behavior. What would happen if I reduce this

Re: [webkit-dev] WebKit resource caching

2009-05-14 Thread Ariya Hidayat
I just wanted to know what impact does this value has on the WebKit resource caching behavior. What would happen if I reduce this value to a much smaller value? This value of 8 MB is quite big especially if WebKit is running on an embedded platform with limited resources. It is the default

Re: [webkit-dev] maximum z-index value

2009-05-14 Thread Eric Seidel
Using google to compute the log base 2 (lg) = lg(16777271) gave me the answer. It must have been a 24-bit bitfield. I expect this would have been on RenderLayer, and was for saving space. -eric On Fri, May 15, 2009 at 2:38 AM, Eric Puidokas e...@puidokas.com wrote: I've noticed Safari 3.2.1

[webkit-dev] Building QtWebKit on Mac

2009-05-14 Thread Brian Ellis
Hi all, I've been haunting #webkit and #qtwebkit for a while with this problem, but it seems to be some kind of tricky configuration issue, so I thought I might have more luck asking here. I'm trying to build QtWebKit on a Mac (running 10.5.6) from an unmodified WebKit trunk working

[webkit-dev] Webkit on MacOS 10.5.7

2009-05-14 Thread ying lcs
Hi, Does anyone expect WebKit crashes on MacOS 10.5.7? I load 'www.yahoo.com' and 'www.nytimes' after I checkout and built from trunk, they both crash the browser. I wonder if that has anything to do with MacOS 10.5.7 (I upgrade to that last night), and I see even my Safari 4.0 beta crashes more

Re: [webkit-dev] Webkit on MacOS 10.5.7

2009-05-14 Thread Adam Roben
On May 14, 2009, at 7:35 PM, ying lcs wrote: Hi, Does anyone expect WebKit crashes on MacOS 10.5.7? I load 'www.yahoo.com' and 'www.nytimes' after I checkout and built from trunk, they both crash the browser. I wonder if that has anything to do with MacOS 10.5.7 (I upgrade to that last night),

[webkit-dev] JSObjectCallAsFunctionCallback question

2009-05-14 Thread Xiong
Hello all, I have implement a JS object named myObject with the JavaScriptCore(JSC) API, and it has a method named getValues(), called as following: myObject.getValues(); And it define like this: JSStaticFunction staticFunc[] = { {getValues, getValue_cb, kJSPropertyAttributeReadOnly},

Re: [webkit-dev] JSObjectCallAsFunctionCallback question

2009-05-14 Thread Darin Adler
On May 14, 2009, at 7:03 PM, Xiong wrote: 1what is the purpose of the JSObjectRef function variable? In my case, we never use. It’s fine to not use this if you don’t need to. In JavaScript, functions are objects. Like other objects they can have properties. This argument is passed to

Re: [webkit-dev] JSObjectCallAsFunctionCallback question

2009-05-14 Thread Xiong
Thanks Darin. For the first problem, as you said, all the functions are objects, and also have **properties**. So,can we add a member for the function object to store the method name[here is getValues] in theoretical ? And this also like the JSObjectRef object variable in the callback

Re: [webkit-dev] JSObjectCallAsFunctionCallback question

2009-05-14 Thread Darin Adler
On May 14, 2009, at 7:53 PM, Xiong wrote: So,can we add a member for the function object to store the method name[here is getValues] in theoretical ? Yes, in theory you could do that. Although that’s not the typical pattern. And this also like the JSObjectRef object variable in the

[webkit-dev] How webkit finds plug-ins

2009-05-14 Thread Graffine
Hi all: I want to test my npapi plugin. On Mac OS system, the plug-ins can be stored in |/Library/Internet or ||~/Library/Internet, but I don't know where should I put my plug-ins on linux OS system.| Dose anyone know how webkit finds plug-ins in linux OS? Thanks, Graffine.

Re: [webkit-dev] JSObjectCallAsFunctionCallback question

2009-05-14 Thread Xiong
Darin, thanks for you help. I think we must implement the extra member for function object in my program architecture. Maybe more work. Thanks again. -Xiong On Fri, May 15, 2009 at 11:32 AM, Darin Adler da...@apple.com wrote: On May 14, 2009, at 7:53 PM, Xiong wrote: So,can we add a

Re: [webkit-dev] JSObjectCallAsFunctionCallback question

2009-05-14 Thread Zhe Su
If you create a JSObject with JSObjectMake() function, you can have a private data associated to the newly created JSObject. You can store anything you want in the private data. So following approach might be feasible for you: 1. define a special JSClass for your function, which has finalize and

Re: [webkit-dev] How webkit finds plug-ins

2009-05-14 Thread Nevo
hi, Graffine:WebKit would find Nescape plugins from the default firefox plugin folders ~/.mozilla/plugins/ or firefox package root/plugins/ . No particular plugin dir is required. Thanks Nevo 2009/5/15 Graffine graff...@gmail.com Hi all: I want to test my npapi plugin. On Mac OS system,

Re: [webkit-dev] Webkit on MacOS 10.5.7

2009-05-14 Thread ying lcs
On Thu, May 14, 2009 at 5:09 PM, Adam Roben aro...@apple.com wrote: On May 14, 2009, at 7:35 PM, ying lcs wrote: Hi, Does anyone expect WebKit crashes on MacOS 10.5.7? I load 'www.yahoo.com' and 'www.nytimes' after I checkout and built from trunk, they both crash the browser. I wonder if

[webkit-dev] build on ubuntu not working as expected

2009-05-14 Thread anurag uniyal
I first posted it on webkitsdk-...@lists.apple.com but was redirected here. Hi, I am facing problem in running latest build on ubuntu. Problem: I build revision 41937 sometime back and wxBrowser and my own wxPython browser was working fine Today i updated to revision 43688. 1. First I got an

Re: [webkit-dev] Webkit on MacOS 10.5.7

2009-05-14 Thread Mark Rowe
On 2009-05-14, at 21:27, ying lcs wrote: I see these in the XCode Debugger Console: The Debugger has exited due to signal 2 (SIGINT).The Debugger has exited due to signal 2 (SIGINT). [Session started at 2009-05-14 21:27:15 -0700.] 2009-05-14 21:27:15.899 Safari[3350:10b] Cooliris for Safari