Re: [webkit-dev] TestShell for WebKit rendering engine

2009-04-30 Thread Mark Rowe
On 2009-04-29, at 22:14, Lucius Fox wrote: On Wed, Apr 29, 2009 at 9:40 AM, Darin Adler da...@apple.com wrote: On Apr 29, 2009, at 9:25 AM, Lucius Fox wrote: Is there a TestShell for WebKit rendering engine on MacOS? i.e. just a window with a text field to enter URL and then it uses WebKit

[webkit-dev] Adding new Javascript event.

2009-04-30 Thread Anand Patil
Hi, Similar to onload, onclick etc I would like to add new event. Could you please let me know the procedure to add new Javascript event to window object? Thanks, Anand ___ webkit-dev mailing list webkit-dev@lists.webkit.org

Re: [webkit-dev] Adding new Javascript event.

2009-04-30 Thread Jeremy Orlow
I'm not sure how, but if it were me, I'd find an event that was similar to what I wanted to do and trace it through the code base to figure out how it works. On Thu, Apr 30, 2009 at 12:24 AM, Anand Patil anand...@gmail.com wrote: Hi, Similar to onload, onclick etc I would like to add new

Re: [webkit-dev] TestShell for WebKit rendering engine

2009-04-30 Thread Lucius Fox
On Wed, Apr 29, 2009 at 11:09 PM, Mark Rowe mr...@apple.com wrote: On 2009-04-29, at 22:14, Lucius Fox wrote: On Wed, Apr 29, 2009 at 9:40 AM, Darin Adler da...@apple.com wrote: On Apr 29, 2009, at 9:25 AM, Lucius Fox wrote: Is there a TestShell for WebKit rendering engine on MacOS? i.e.

Re: [webkit-dev] TestShell for WebKit rendering engine

2009-04-30 Thread Mark Rowe
On 2009-04-30, at 10:48, Lucius Fox wrote: On Wed, Apr 29, 2009 at 11:09 PM, Mark Rowe mr...@apple.com wrote: The MiniBrowser example ships with the Mac OS X developer tools, and is installed at /Developer/Examples/WebKit alongside other WebKit- related sample code. Thank you. How can I

Re: [webkit-dev] How can I listen for a page load complete event

2009-04-30 Thread Meryl Silverburgh
On Wed, Apr 29, 2009 at 10:30 AM, Darin Adler da...@apple.com wrote: On Apr 29, 2009, at 10:00 AM, Meryl Silverburgh wrote: Can you please tell me how can I listen for a page load complete event programmatically? What platform? What programming language? Could you give a little more context

[webkit-dev] ASSERT crashes on arm platform

2009-04-30 Thread Gustavo Chaves
Hi, all. I'm yet another guy dealing with an arm box (set-top box), which has: - XScale3 processor - glibc 2.3.6 - libstdc++ 6.0.3 - all compiled with gcc 3.4.5 I'm working with the efl port of webkit and I have two bugs which only happen on the arm box (never happened on the x86 same source

Re: [webkit-dev] How can I listen for a page load complete event

2009-04-30 Thread Darin Adler
On Apr 30, 2009, at 10:55 AM, Meryl Silverburgh wrote: I am trying to do that in C++ on MacOS. And when page load complete, I meant the browser finish loading everything (all js, images, css). Implement a frame load delegate, and implement the - webView:didFinishLoadForFrame: method. There’s

[webkit-dev] Webkit C documentation

2009-04-30 Thread b-neva
Hi, Does anyone know of any documentation or code samples that are available for WebKit using C (not Objective C) thanks -- View this message in context: http://www.nabble.com/Webkit-C-documentation-tp23322207p23322207.html Sent from the Webkit mailing list archive at Nabble.com.

Re: [webkit-dev] Webkit C documentation

2009-04-30 Thread Mark Rowe
On 2009-04-30, at 11:51, b-neva wrote: Hi, Does anyone know of any documentation or code samples that are available for WebKit using C (not Objective C) Please be sure to mention which platform and port of WebKit you are working on when asking questions. Without this information it's

Re: [webkit-dev] Webkit C documentation

2009-04-30 Thread b-neva
We're using a linux system(Ubuntu) and we just want to get Webkit to show a window using gtk. Were having a hard time finding the include files/compile flags. Mark Rowe-5 wrote: On 2009-04-30, at 11:51, b-neva wrote: Hi, Does anyone know of any documentation or code samples that are

Re: [webkit-dev] Webkit C documentation

2009-04-30 Thread Mark Rowe
On 2009-04-30, at 11:59, b-neva wrote: We're using a linux system(Ubuntu) and we just want to get Webkit to show a window using gtk. Were having a hard time finding the include files/ compile flags. There is a program named GtkLauncher in the WebKit SVN repository that is a trivial

[webkit-dev] Notifications API for workers

2009-04-30 Thread John Gregg
Hi WebKit, I'm working on a Notifications API for Web Workers, with the idea that a user agent could receive these from script and route them in a platform-appropriate user-configurable way (desktop HTML toasts, Growl calls, status bar on mobile browsers, etc.). Permission controls would be

[webkit-dev] Proposal for a new way to handle porting #ifdefs

2009-04-30 Thread Maciej Stachowiak
I think our set of porting macros has become somewhat confused. Originally, our idea was that a port represents primarily adaptation to a particular platform. However, over time it has become clear that most of what is decided by a port is not platform adaptation, but rather policy

Re: [webkit-dev] Proposal for a new way to handle porting #ifdefs

2009-04-30 Thread Ojan Vafai
This looks great to me. It will definitely make ports more maintainable. For thoroughness sake, it would be good to add a bit about what should be a USE define versus a setting. For example, the EditingBehavior enum in Settings.h could just as easily be a USE define. I think it makes sense in this

Re: [webkit-dev] Proposal for a new way to handle porting #ifdefs

2009-04-30 Thread Gavin Barraclough
Maciej, This sounds good, and sounds like it could clean things up a lot. In the breakdown below you don't explicitly mention what would happen to h/w specific macros like PLATFORM_X86, though you do mention 'CPU' in your email, OOI are you thinking something like?: CPU() Examples:

Re: [webkit-dev] Proposal for a new way to handle porting #ifdefs

2009-04-30 Thread Maciej Stachowiak
On Apr 30, 2009, at 4:50 PM, Ojan Vafai wrote: This looks great to me. It will definitely make ports more maintainable. For thoroughness sake, it would be good to add a bit about what should be a USE define versus a setting. For example, the EditingBehavior enum in Settings.h could just

Re: [webkit-dev] Proposal for a new way to handle porting #ifdefs

2009-04-30 Thread Maciej Stachowiak
On Apr 30, 2009, at 5:02 PM, Gavin Barraclough wrote: Maciej, This sounds good, and sounds like it could clean things up a lot. In the breakdown below you don't explicitly mention what would happen to h/w specific macros like PLATFORM_X86, though you do mention 'CPU' in your email, OOI

[webkit-dev] Instrumentation framework for WebKit

2009-04-30 Thread James Robinson
It's difficult to understand the performance of a large web app nowadays - think GMail scale and beyond, in part because a lot of things happen in the UI thread outside of javascript. For example layout, selector matching and painting can all happen in a deferred way, take a lot of time and yet

Re: [webkit-dev] TestShell for WebKit rendering engine

2009-04-30 Thread Lucius Fox
On Thu, Apr 30, 2009 at 7:24 PM, Mark Rowe mr...@apple.com wrote: On 2009-04-30, at 19:20, Lucius Fox wrote: On Thu, Apr 30, 2009 at 10:54 AM, Mark Rowe mr...@apple.com wrote: On 2009-04-30, at 10:48, Lucius Fox wrote: On Wed, Apr 29, 2009 at 11:09 PM, Mark Rowe mr...@apple.com wrote:

[webkit-dev] files with .mm extension

2009-04-30 Thread Meryl Silverburgh
Hi, Can you please tell me what are the files with .mm extension? e.g. platform/graphics/mac/ImageMac.mm? It looks like c++, but it has syntax like this: NSBundle *bundle = [NSBundle bundleForClass:[WebCoreBundleFinder class]]; NSString *imagePath = [bundle pathForResource:[NSString

Re: [webkit-dev] files with .mm extension

2009-04-30 Thread Mark Rowe
On 2009-04-30, at 21:17, Meryl Silverburgh wrote: Hi, Can you please tell me what are the files with .mm extension? e.g. platform/graphics/mac/ImageMac.mm? It looks like c++, but it has syntax like this: NSBundle *bundle = [NSBundle bundleForClass:[WebCoreBundleFinder class]];