[webkit-dev] FontCache refactoring proposal

2008-12-11 Thread Julien Chaffraix
Hi everyone, while working on memory leaks inside WebCore, the Pleyo team has found that the FontCache was responsible for a few of them. In order to solve those leaks and prevent future ones, we have done a refactoring of the FontCache and its internal working (mainly making the SimpleFontData

[webkit-dev] JavaScriptCore: Accessing things created in C from script

2008-12-11 Thread Thomas Gutteridge
Hello Can you help me? I'm using WebKit's JavaScriptCore from within an application to allow some logic to be implemented in script and therefore modified without recompilation. Although, I can create JavaScript functions and objects using the C API, I can't see how to give them names that can be

[webkit-dev] Porting WebKit

2008-12-11 Thread Gmail
Hi all Has anyone ever ported WebKit to Windows Mobile? I'm pretty new to the WebKit. Can someone share some experiences on porting WebKit in general? I'm wondering if WebKit has some collection of abstract classes or interfaces that should be implemented on a platform particularly while

Re: [webkit-dev] JavaScriptCore: Accessing things created in C from script

2008-12-11 Thread Thomas Gutteridge
Great, it works like a dream! Thank you Cameron, Oliver. I haven't a lot of experience with JavaScript, otherwise that may have been more obvious :) 2008/12/11 Oliver Hunt [EMAIL PROTECTED]: On Dec 11, 2008, at 2:27 AM, Thomas Gutteridge wrote: Hello Can you help me? I'm using WebKit's

Re: [webkit-dev] winLauncher

2008-12-11 Thread Frank Zerangue
Brent, This was in a earlier post -- WinLauncher.cpp, line 390: change initWithURL(.., .., 0) timeout from 0 to something else like 30 or 60 seconds. Frank On Dec 10, 2008, at 11:08 PM, Brent Fulgham wrote: On Dec 10, 2008, at 6:37 AM, Aman wrote: I got WebKit to build properly on

Re: [webkit-dev] winLauncher

2008-12-11 Thread Frank Zerangue
Brent -- What version of WebKit are you able to build the Cairo/Curl version? Frank On Dec 10, 2008, at 11:15 PM, Paul Pedriana wrote: Ditto for me. I also have problems with crashes in CF, which cannot be debugged and so I can't diagnose them. On Dec 10, 2008, at 6:37 AM, Aman wrote:

Re: [webkit-dev] winLauncher

2008-12-11 Thread Frank Zerangue
Paul, I noticed that when I build WinLauncher within visual studio with configuration debug_internal, that I get the same crash. If I change the configuration to debug it executes just fine. Frank On Dec 10, 2008, at 11:15 PM, Paul Pedriana wrote: Ditto for me. I also have problems with

Re: [webkit-dev] winLauncher

2008-12-11 Thread Brent Fulgham
Hi Frank, 2008/12/11 Frank Zerangue [EMAIL PROTECTED]: This was in a earlier post -- WinLauncher.cpp, line 390: change initWithURL(.., .., 0) timeout from 0 to something else like 30 or 60 seconds. Thanks so much for that. Is an existing bug filed to correct this? If not, I'll get one of the

Re: [webkit-dev] winLauncher

2008-12-11 Thread Brent Fulgham
Frank, 2008/12/11 Frank Zerangue [EMAIL PROTECTED]: Brent -- What version of WebKit are you able to build the Cairo/Curl version? Frank I am generally building against ToT; I just updated last night, but I have not posted my revised patches in a few days. I'll try to do so later on today.

Re: [webkit-dev] winLauncher

2008-12-11 Thread Frank Zerangue
Brent, Not that I know of -- Frank On Dec 11, 2008, at 11:08 AM, Brent Fulgham wrote: Hi Frank, 2008/12/11 Frank Zerangue [EMAIL PROTECTED]: This was in a earlier post -- WinLauncher.cpp, line 390: change initWithURL(.., .., 0) timeout from 0 to something else like 30 or 60 seconds.

Re: [webkit-dev] winLauncher

2008-12-11 Thread Frank Zerangue
Brent, I need to the build a windows cairo / curl version as well but have been unsuccessful in doing so to this point. Any direction that you could give me would be appreciated. Frank On Dec 11, 2008, at 11:09 AM, Brent Fulgham wrote: Frank, 2008/12/11 Frank Zerangue [EMAIL PROTECTED]:

Re: [webkit-dev] FontCache refactoring proposal

2008-12-11 Thread Dan Bernstein
Hi Julien, On Dec 11, 2008, at 2:14 AM, Julien Chaffraix wrote: Hi everyone, while working on memory leaks inside WebCore, the Pleyo team has found that the FontCache was responsible for a few of them. It would be good to have a bug filed about each leak. In order to solve those leaks and

[webkit-dev] Proposal: Revise WebKit/win To use GraphicsContext rather than CG calls

2008-12-11 Thread Brent Fulgham
I have been keeping a set of patches attached to https://bugs.webkit.org/show_bug.cgi?id=17484, which mainly #if/def around various CG and CFNetwork calls. Setting aside the issue of CFNetwork calls in WebKit/win, I wanted to see if we could reach some agreement on revising the WebKit/win layer

Re: [webkit-dev] Proposal: Revise WebKit/win To use GraphicsContext rather than CG calls

2008-12-11 Thread Adam Roben
On Dec 11, 2008, at 10:35 AM, Brent Fulgham wrote: Would changing to GraphicsContext objects instead of bare CGContextRef and friends be acceptable to the Apple/Safari team? If so, I'd be happy to put together a patch to make this happen. Sure, it's probably good to use GraphicsContext where

Re: [webkit-dev] Why the limited scope for preferredExtensionForImageSourceType?

2008-12-11 Thread Maciej Stachowiak
On Dec 11, 2008, at 11:38 AM, Brent Fulgham wrote: A recent change added some tests in the dragging logic for valid file extension. The default Cairo implementation was set to return blank, which causes these various assertions to fire, rendering these operations unusable. It seems that most

Re: [webkit-dev] JSON support

2008-12-11 Thread Darin Adler
On Dec 11, 2008, at 12:51 AM, Sriram Neelakandan wrote: Is there any help that is required in getting this to trunk ? I believe you started a discussion in the bug https://bugs.webkit.org/show_bug.cgi?id=20031 and got an answer there. -- Darin

Re: [webkit-dev] FontCache refactoring proposal

2008-12-11 Thread Julien Chaffraix
Hi Dan, On Thu, Dec 11, 2008 at 6:40 PM, Dan Bernstein m...@apple.com wrote: Hi Julien, On Dec 11, 2008, at 2:14 AM, Julien Chaffraix wrote: Hi everyone, while working on memory leaks inside WebCore, the Pleyo team has found that the FontCache was responsible for a few of them. It would

[webkit-dev] Inspector under windows

2008-12-11 Thread webkit webkit
Hi, I have built webkit under windows, while when I start winlaucher then right click it to choose Inspect Element, only get a window showing the source code of html. I traced it to InspectorController.cpp, at setWindowVisible(): if( !m_scriptContext || !m_scriptObject) return; The condition

Re: [webkit-dev] Inspector under windows

2008-12-11 Thread Brent Fulgham
On Dec 11, 2008, at 7:38 PM, webkit webkit wrote: Hi, I have built webkit under windows, while when I start winlaucher then right click it to choose Inspect Element, only get a window showing the source code of html. I traced it to InspectorController.cpp, at setWindowVisible(): if(

Re: [webkit-dev] Inspector under windows

2008-12-11 Thread Vincent Deng
I installed safari and copied necessary files to the running folder, and I didn't not find SafariTheme.resource in Webkit. On Fri, Dec 12, 2008 at 12:03 PM, Brent Fulgham bfulg...@gmail.com wrote: On Dec 11, 2008, at 7:38 PM, webkit webkit wrote: Hi, I have built webkit under windows, while

Re: [webkit-dev] Inspector under windows

2008-12-11 Thread Brent Fulgham
On Dec 11, 2008, at 10:48 PM, Vincent Deng wrote: I installed safari and copied necessary files to the running folder, and I didn't not find SafariTheme.resource in Webkit. On Fri, Dec 12, 2008 at 12:03 PM, Brent Fulgham bfulg...@gmail.com wrote: You probably did not copy the