Re: [webkit-dev] Windows Multithread issue

2009-06-16 Thread John Abd-El-Malek
Thanks for the info guys, I stand corrected. Completely forgot about the JS issue. 2009/6/15 Oliver Hunt oli...@apple.com This is not possible due to various issues with the interaction between JS across multiple webviews, and the additional assumption that all layout and painting occurs in

Re: [webkit-dev] Windows Multithread issue

2009-06-16 Thread Oliver Hunt
It's not just JS -- WebCore is not threadsafe -- chrome gets around this by hosting each webview in a distinct process -- effectively the same as if you launched multiple instances of safari (or Cruz, Shiira, OmniWeb, etc) to get parallel browsing (this is a high level overview, chrome

Re: [webkit-dev] Crash on the Mac (RapidWeaver plugin and Safari 4)

2009-06-16 Thread Gilberto De Faveri
I'll try to track down to a minimal example project, but this is not easy. The hangs is reproducible only embedding webkit in a RapidWeaver plugin and does not affect test machines using Safari 3. This is probably due to RapidWeaver internals, which runs plugin's - initWithCoder: method

Re: [webkit-dev] Windows Multithread issue

2009-06-16 Thread ZHOU Xiao-bo
There are so many classes containing static hashmap, such as string. Cache is a singleton and the contents it caches is not thread-safe. As for js, JSGlobalOjbect is linked by a list. 2009/6/16 John Abd-El-Malek j...@google.com Yes it's possible. The Chromium port runs web views in different

[webkit-dev] Name of a JS function

2009-06-16 Thread Zoltan Herczeg
Hi, how can I extract the name of a JS function in JIT.cpp? Zoltan ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Re: [webkit-dev] New Port

2009-06-16 Thread Neil Gall
Hi Brian, You might want to take a look at OWB at http://www.sand-labs.org/. It's WebKit with an abstraction layer on the backend for easier porting, intended for embedded devices. I have used it to provide OpenVG rendering and am also now looking at OpenGL ES too. Cheers, Neil Gall On Sun,

[webkit-dev] opera unite api: extensions to add web server capability to browser engines

2009-06-16 Thread Luke Kenneth Casson Leighton
http://dev.opera.com/libraries/unite/ this is a stunningly cool idea, so much so i had to let people know about it and invite webkit developers (i'll ping the mozilla ones separately) to provide an implementation, too. the key bit is best hinted at from

Re: [webkit-dev] Building WebKit GTK+

2009-06-16 Thread jagadeesh k
Hi, Thanks Gustavo.Your solution worked. Jagadeesh   From: jagadeesh k jagadees...@yahoo.com To: webkit-dev@lists.webkit.org Sent: Monday, June 15, 2009 6:34:02 PM Subject: Building WebKit GTK+ Hi,     I downloaded WebKit GTK+ port for building it on Linux

Re: [webkit-dev] opera unite api: extensions to add web server capability to browser engines

2009-06-16 Thread Luke Kenneth Casson Leighton
http://davidkellogg.com/wiki/Main_Page it turns out that there already exists a firefox extension which adds only web server functionality to the firefox web browser (and any other XUL engine). what POW (plain old web server) doesn't have is firewall-busting technology built-in - therefore no

Re: [webkit-dev] Name of a JS function

2009-06-16 Thread Geoffrey Garen
Function objects have a property named name, and also a property named displayName. Geoff On Jun 16, 2009, at 3:55 AM, Zoltan Herczeg wrote: Hi, how can I extract the name of a JS function in JIT.cpp? Zoltan ___ webkit-dev mailing list

Re: [webkit-dev] opera unite api: extensions to add web server capability to browser engines

2009-06-16 Thread Oliver Hunt
unite is a browser feature, not an engine feature and as such it would not be appropriate for it to be implemented as part of WebKit. --Oliver ___ webkit-dev mailing list webkit-dev@lists.webkit.org

Re: [webkit-dev] Name of a JS function

2009-06-16 Thread Zoltan Herczeg
Thank you. And how can I access it in JIT::privateCompileMainPass()? I could only find m_codeBlock-source()-url() and m_codeBlock-sourceOffset() methods, but I would prefer a readable identifier. Zoltan Function objects have a property named name, and also a property named displayName. Geoff

Re: [webkit-dev] opera unite api: extensions to add web server capability to browser engines

2009-06-16 Thread Luke Kenneth Casson Leighton
On 6/16/09, Oliver Hunt oli...@apple.com wrote: unite is a browser feature, not an engine feature and as such it would not be appropriate for it to be implemented as part of WebKit. great! webkit gets left behind, as technology moves forward. ___

Re: [webkit-dev] opera unite api: extensions to add web server capability to browser engines

2009-06-16 Thread Oliver Hunt
On Jun 16, 2009, at 10:55 AM, Luke Kenneth Casson Leighton wrote: On 6/16/09, Oliver Hunt oli...@apple.com wrote: unite is a browser feature, not an engine feature and as such it would not be appropriate for it to be implemented as part of WebKit. great! webkit gets left behind, as

Re: [webkit-dev] Name of a JS function

2009-06-16 Thread Oliver Hunt
You can't really do it from within compilation, as the function name is part of the JS function object not the code, so none of the code representations actually have this information. Your best bet would probably be to to do a printf in cti_op_call_JSFunction and have it print the name

Re: [webkit-dev] opera unite api: extensions to add web server capability to browser engines

2009-06-16 Thread Luke Kenneth Casson Leighton
Um. Unite is not part of rendering, layout or javascript. It is part of the browser. WebKit is not a browser. It is a browser engine. ... a browser engine where the javascript namespace / DOM namespace that can be extended? Could you explain how unite represents part of rendering,

Re: [webkit-dev] opera unite api: extensions to add web server capability to browser engines

2009-06-16 Thread Mark Rowe
On 2009-06-16, at 11:34, Luke Kenneth Casson Leighton wrote: [… lots and lots and lots and lots of stuff …] Luke, the topic of this mailing list is development of WebKit. As Oliver indicated in an earlier post, the features in Opera Unite are not features of browser engines such as

Re: [webkit-dev] opera unite api: extensions to add web server capability to browser engines

2009-06-16 Thread Joe Mason
Luke Kenneth Casson Leighton wrote: perhaps a better question is, instead of saying it's not possible, it's not possible, is to ask: how can the javascript namespace be extended? This might indeed be a better question, and it's a shame you didn't ask it in the first place. how can objects

Re: [webkit-dev] opera unite api: extensions to add web server capability to browser engines

2009-06-16 Thread Mohammed Sameer
[snip] On Tue, Jun 16, 2009 at 06:34:14PM +, Luke Kenneth Casson Leighton wrote: perhaps a better question is, instead of saying it's not possible, it's not possible, is to ask: how can the javascript namespace be extended?

Re: [webkit-dev] opera unite api: extensions to add web server capability to browser engines

2009-06-16 Thread Adam Treat
On Tuesday 16 June 2009 02:34:14 pm Luke Kenneth Casson Leighton wrote: ... a browser engine where the javascript namespace / DOM namespace that can be extended? Sure. how the heck does anyone do that with webkit? correction: how does anyone get some object into the global namespace that

[webkit-dev] MIPS port problem - cti_op_put_by_id slow case problem

2009-06-16 Thread Toshiyasu Morita
I've gotten the MIPS port up to where it can compile and execute through about 9 functions of a testcase before it crashes. The reason for the crash appears to be related to op_put_by_id. When this opcode is compiled, the JIT executes: void JIT::compilePutByIdSlowCase(int baseVReg, Identifier*

Re: [webkit-dev] MIPS port problem - cti_op_put_by_id slow case problem

2009-06-16 Thread Maciej Stachowiak
It's cool that you are working on a MIPS port of the JIT. However, it's somewhat off-topic to ask for help with private ports here. There's also not much we can do to help without actually seeing the code. I would suggest posting some patches to get the start of your port in

Re: [webkit-dev] MIPS port problem - cti_op_put_by_id slow case problem

2009-06-16 Thread Toshiyasu Morita
I am performing this work on contract, and therefore I do not own the changes. Therefore, I cannot submit the changes. Toshi --- On Wed, 6/17/09, Maciej Stachowiak m...@apple.com wrote: From: Maciej Stachowiak m...@apple.com Subject: Re: [webkit-dev] MIPS port problem - cti_op_put_by_id slow

[webkit-dev] ARM JIT and related issues

2009-06-16 Thread Maciej Stachowiak
I'm not sure if there are any remaining disputes about the Nitro ports to armv6 and armv7. But just to make sure everyone is on the same page, I would like to clarify a few things: 1) The armv7 port is separate from the armv6 work, and uses the thumb2 instruction set. Both ports are (I

Re: [webkit-dev] ARM JIT and related issues

2009-06-16 Thread Toshiyasu Morita
--- On Wed, 6/17/09, Maciej Stachowiak m...@apple.com wrote: 5) Gavin has been a strong proponent of using MacroAssembler as the primary CPU abstraction layer, and that approach has worked reasonably well so far. However, it seems at least to me that CPUs with very different instruction sets may

Re: [webkit-dev] MIPS port problem - cti_op_put_by_id slow case problem

2009-06-16 Thread Oliver Hunt
On Jun 16, 2009, at 6:03 PM, Toshiyasu Morita wrote: --- On Wed, 6/17/09, Maciej Stachowiak m...@apple.com wrote: It's cool that you are working on a MIPS port of the JIT. However, it's somewhat off-topic to ask for help with private ports here. There's also not much we can do to

[webkit-dev] there should be a link to http://trac.webkit.org/wiki/BuildingOnWindows

2009-06-16 Thread Ryosuke Niwa
Hi, I think there should be a link to http://trac.webkit.org/wiki/BuildingOnWindows either from http://webkit.org/building/build.html or http://webkit.org/building/debug.html Alternatively, we can integrate that to either one. Ryosuke Niwa ___

Re: [webkit-dev] there should be a link to http://trac.webkit.org/wiki/BuildingOnWindows

2009-06-16 Thread Mark Rowe
On 2009-06-16, at 18:12, Ryosuke Niwa wrote: Hi, I think there should be a link to http://trac.webkit.org/wiki/BuildingOnWindows either from http://webkit.org/building/build.html or http://webkit.org/building/debug.html Alternatively, we can integrate that to either one. The website is in

Re: [webkit-dev] ARM JIT and related issues

2009-06-16 Thread Maciej Stachowiak
On Jun 16, 2009, at 5:52 PM, Toshiyasu Morita wrote: --- On Wed, 6/17/09, Maciej Stachowiak m...@apple.com wrote: 5) Gavin has been a strong proponent of using MacroAssembler as the primary CPU abstraction layer, and that approach has worked reasonably well so far. However, it seems at

[webkit-dev] rdar://5735912 for DumpRenderTree?

2009-06-16 Thread Ryosuke Niwa
Hi, I'm trying to debug DumpRenderTree but keep getting CFURLConnectionScheduleWithCurrentMessageQueue: NO LONGER NEEDED TO BE CALLED - done by CFURLConnectionScheduleWithCurrentMessageQueue: NO LONGER NEEDED TO BE CALLED - done by CFURLConnectionScheduleWithRunLoop (4) (see

Re: [webkit-dev] Expected behavior of Mutex.lock()

2009-06-16 Thread Maciej Stachowiak
On Jun 6, 2009, at 8:57 AM, Drew Wilson wrote: I can't seem to find any documentation as to what the expected behavior of Mutex.lock() is with regard to calling lock() recursively on the same thread. Looking at the pthreads implementation, it appears that when we create the mutex we

Re: [webkit-dev] Simplified ruby design document

2009-06-16 Thread Maciej Stachowiak
On Jun 10, 2009, at 3:53 PM, Roland Steiner wrote: Hi all, After the feedback on my previous design document on ruby text annotations and the reservations that were expressed, I prepared a new, scaled-back version. I'd greatly appreciate if you could provide further feedback:

[webkit-dev] Help! I can't survive building WebKit in Visual Studio 2005 IDE!

2009-06-16 Thread 张雷
I tried several times, but failed always! God damn! I read all the instructions detailedly. These are my steps: Note: I already have VS2005 Professional Edition with sp1(Microsoft Visual Studio 2005 Team Suite Service Pack 1) patched(But I don't have the other four suggested hotfixes