Re: [webkit-dev] SquirrelFish Extreme for non x-86 platforms

2008-12-25 Thread Javed Rabbani
This way the engine will run without JIT support. However, what to do with memory allocation functions like VirtualAlloc() that are only available on Windows? I mean to say, to run on embedded platforms, what alternate has to exist that may provide the facility of VirtualAlloc(). As far I have

Re: [webkit-dev] SquirrelFish Extreme for non x-86 platforms

2008-12-25 Thread Oliver Hunt
On Dec 25, 2008, at 12:54 AM, Javed Rabbani wrote: This way the engine will run without JIT support. However, what to do with memory allocation functions like VirtualAlloc() that are only available on Windows? I mean to say, to run on embedded platforms, what alternate has to exist that

Re: [webkit-dev] SquirrelFish Extreme for non x-86 platforms

2008-12-25 Thread Javed Rabbani
Oliver, That call to VirtualAlloc is inside a PLATFORM(WIN_OS) guard -- you should not be hitting it on a non-windows platform You are absolutely right about that. The VirtualAlloc() should never be hit on non-Windows platform. Let me clarify, I am not hitting the VirtualAlloc call on a

Re: [webkit-dev] Canvas API in Webkit

2008-12-25 Thread Darin Adler
On Dec 24, 2008, at 7:48 PM, Lucius Fox wrote: Thanks. I think Safari has a 'history' feature or Nokia S60 browser which shows each url in history as a preview image. Not the desktop version of Safari, but yes, the mobile Safari has something like this. I think the Nokia browser does too.

Re: [webkit-dev] webkit.lib link error

2008-12-25 Thread Darin Adler
Those are most likely version skew problems with the ICU library. If you compile against headers for the 3.8 version of ICU and try to link against a different version, you'd get errors like that. I don't know the specifics about how you could get a configuration that was broken that way.

Re: [webkit-dev] About renderer

2008-12-25 Thread Darin Adler
On Dec 24, 2008, at 2:16 AM, zhenghe zhang wrote: I know how to create a render object , but I don't know that the condition about create the render object ,could you tell me? The process of creating and properly setting up the objects in the render tree is called layout. It starts with

Re: [webkit-dev] Canvas API in Webkit

2008-12-25 Thread Zalan Bujtas
Well, those browsers aren't open source, so there's no real way for you to find out how they implemented the feature. I think it's safe to assume that they draw the web pages into a bitmap and then shrink the image. It certainly has nothing to do with the HTML canvas element in either

[webkit-dev] Moving methods from Frame to various other classes

2008-12-25 Thread Holger Freyther
Hey, there are some comments in Frame.h regarding moving functionality to different classes and on IRC it was confirmed that the comments are old but current. I have decided to do something about it. I have created a git branch[1] on George's server that will contain the work in progress of

Re: [webkit-dev] Moving methods from Frame to various other classes

2008-12-25 Thread Maciej Stachowiak
On Dec 25, 2008, at 2:46 PM, Holger Freyther wrote: Hey, there are some comments in Frame.h regarding moving functionality to different classes and on IRC it was confirmed that the comments are old but current. I have decided to do something about it. I have created a git branch[1] on

Re: [webkit-dev] SquirrelFish Extreme for non x-86 platforms

2008-12-25 Thread Maciej Stachowiak
On Dec 25, 2008, at 3:54 AM, Oliver Hunt wrote: On Dec 25, 2008, at 2:18 AM, Javed Rabbani wrote: Oliver, That call to VirtualAlloc is inside a PLATFORM(WIN_OS) guard -- you should not be hitting it on a non-windows platform You are absolutely right about that. The VirtualAlloc()

Re: [webkit-dev] SquirrelFish Extreme for non x-86 platforms

2008-12-25 Thread Maciej Stachowiak
On Dec 25, 2008, at 4:51 AM, Oliver Hunt wrote: You can manually align the memory, eg. char* memory = malloc(size + alignment - 1); memory += alignment; memory = ~(alignment - 1) return memory; The obvious problem with this is that you can't directly free the result as it will not

Re: [webkit-dev] SquirrelFish Extreme for non x-86 platforms

2008-12-25 Thread Maciej Stachowiak
On Dec 25, 2008, at 4:34 PM, Maciej Stachowiak wrote: All of the #if branches allocateBlock will guarantee 64k alignment, which is what is required. That's with the exception of the PLATFORM(SYMBIAN) branch, which appears to be incorrect. I would expect it to lead to crashes as a result

[webkit-dev] crash in WebKit.dll when debuging WinLauncher

2008-12-25 Thread yin xiaobing
#if USE(SAFARI_THEME) #if !defined(NDEBUG) defined(USE_DEBUG_SAFARI_THEME) SOFT_LINK_DEBUG_LIBRARY(SafariTheme) #else SOFT_LINK_LIBRARY(SafariTheme)---breaks here #endif (..\WebKitClassFactory.cpp:67 SafariThemeLibrary) First-chance exception at 0x5ec2a3a8 (WebKit.dll) in

Re: [webkit-dev] crash in WebKit.dll when debuging WinLauncher

2008-12-25 Thread Brent Fulgham
You most likely do not have the SafarTheme.dll file in the directory of your application, OR you are missing the set of Safari Theme resources. These can be copied from the Safari instance. I believe they are held in a directory called Safari.resources or SafariTheme.resources. -Brent

[webkit-dev] ASSERTION FAILED:stackBase

2008-12-25 Thread zouguangwei
I have a problem on webkit. I have checked out webkit-r39293 and cross complie it for Xscale (one kind of ARM) Platform. When I run it on the Platform, webkit prints ASSERTION FAILED: stackBase (../../../JavaScriptCore/runtime/Collector.cpp:447 void* JSC::currentThreadStackBase())

[webkit-dev] can i draw a url Edit by webkit API in the drawing area?

2008-12-25 Thread yin xiaobing
hi, i am thinking of draw components by webkit APIs, anyone knows how? thanks ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev