[webkit-dev] How to port webkit on PXA270
Hello All, I have created webkitgtk browser on OpenSuse. Now I want to port this on PXA270 board. Following are the h/w and s/w details. - Hardware spec.: PXA270, NOR Flash, NAND Flash, MDOC, 3.5 LCD with touch screen, PCF50606 (Philips) PMIC, NEXUS CHIP 3D Acceleration chip, WM9714 audio, - Software spec.: Linux kernel 2.6.26 basis Please give me direction to do this. Thank you in advance. Thanks Regards, Naveen Pal___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] How to port webkit on PXA270
For help with porting or similar questions, please direct your queries to webkit-h...@lists.webkit.org. - Maciej On Jul 13, 2009, at 11:25 PM, Naveen Pal wrote: Hello All, I have created webkitgtk browser on OpenSuse. Now I want to port this on PXA270 board. Following are the h/w and s/w details. - Hardware spec.: PXA270, NOR Flash, NAND Flash, MDOC, 3.5 LCD with touch screen, PCF50606 (Philips) PMIC, NEXUS CHIP 3D Acceleration chip, WM9714 audio, - Software spec.: Linux kernel 2.6.26 basis Please give me direction to do this. Thank you in advance. Thanks Regards, Naveen Pal ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
[webkit-dev] Documentation on internals of WebKit
Hi All, I am sure this has been asked before but I cannot seem to find anything related to it : Is there any documentation related to the internals (and not just external APIs) of webkit ? e.g. - regarding how javascript is parsed/executed, block-level diagram of the source and other such things which could help a developer to get started on adding features in webkit ? Also, is there any good resource that explains the working of a browser engine in some detail (e.g. what steps are involved from parsing a page to actually displaying it on screen) ? Thanks in advance for the help. Regards, Aneesh ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] Documentation on internals of WebKit
On Tue, Jul 14, 2009 at 3:13 AM, Aneesh Bhasin contact.ane...@gmail.comwrote: Hi All, I am sure this has been asked before but I cannot seem to find anything related to it : Is there any documentation related to the internals (and not just external APIs) of webkit ? e.g. - regarding how javascript is parsed/executed, block-level diagram of the source and other such things which could help a developer to get started on adding features in webkit ? Also, is there any good resource that explains the working of a browser engine in some detail (e.g. what steps are involved from parsing a page to actually displaying it on screen) ? Thanks in advance for the help. Regards, Aneesh Yes, a similar question(s) has been asked and answered. Thus, it seems that the better question to ask would be the following: I am interested in adding the following enhancement(s): enhancement a - supporting description enhancement b - supporting description enhancement c - supporting description ... enhancement N - supporting description Thus, I was wondering, what part(s) of the system should I focus my attention to implement these enhancement(s)? In short, you might want to describe what you're wanting to do for people here to better assist you in achieving your goal. Good luck, -Conrad ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] Documentation on internals of WebKit
This is a good high level view of WebKit: http://developer.apple.com/documentation/Cocoa/Conceptual/DisplayWebContent/DisplayWebContent.html A blog entry on rendering: http://webkit.org/blog/114/webcore-rendering-i-the-basics/ I'm sure there are other good blog entries, and the standard seems to be quite high, unfortunately I haven't found a page which lists the entries away from all the ...is now a webkit reviewer or allows a search of them. All I can do is provide this link: http://webkit.org/blog/ where you can trawl through all the blog entries searching for something useful. Others may have a few links, other than that you'll probably be met with the usual look at the source (this never fails to infuriate me. Or ask questions on the mailing list. Although, if you're new to WebKit, then chances are you don't knw what questions to ask, you just want to read about it for a bit. On Tue, Jul 14, 2009 at 11:13 AM, Aneesh Bhasincontact.ane...@gmail.com wrote: Hi All, I am sure this has been asked before but I cannot seem to find anything related to it : Is there any documentation related to the internals (and not just external APIs) of webkit ? e.g. - regarding how javascript is parsed/executed, block-level diagram of the source and other such things which could help a developer to get started on adding features in webkit ? Also, is there any good resource that explains the working of a browser engine in some detail (e.g. what steps are involved from parsing a page to actually displaying it on screen) ? Thanks in advance for the help. Regards, Aneesh ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev -- Regards Jack ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] Documentation on internals of WebKit
Hi, There are some articles and talks on WebKit (or Chromium) internals. * WebCore Rendering http://webkit.org/blog/114/webcore-rendering-i-the-basics/ http://webkit.org/blog/115/webcore-rendering-ii-blocks-and-inlines/ http://webkit.org/blog/116/webcore-rendering-iii-layout-basics/ http://webkit.org/blog/117/webcore-rendering-iv-absolutefixed-and-relative-positioning/ http://webkit.org/blog/118/webcore-rendering-v-floats/ * Chromium Tech Talks http://blog.chromium.org/2009/04/chromium-tech-talks.html * SquirrelFish http://webkit.org/blog/189/announcing-squirrelfish/ http://webkit.org/blog/214/introducing-squirrelfish-extreme/ http://webkit.org/specs/squirrelfish-bytecode.html http://blog.mozilla.com/dmandelin/2008/06/03/squirrelfish/ Regards, Kwang Yul Seo 2009/7/14 Aneesh Bhasin contact.ane...@gmail.com: Hi All, I am sure this has been asked before but I cannot seem to find anything related to it : Is there any documentation related to the internals (and not just external APIs) of webkit ? e.g. - regarding how javascript is parsed/executed, block-level diagram of the source and other such things which could help a developer to get started on adding features in webkit ? Also, is there any good resource that explains the working of a browser engine in some detail (e.g. what steps are involved from parsing a page to actually displaying it on screen) ? Thanks in advance for the help. Regards, Aneesh ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
[webkit-dev] S60WebKit MIME type question
Hi, Apologies for the very basic question, but I'm trying to find out how you can use custom MIME types in WebKit on S60 (3rd and 5th editions). We're looking at doing something like triggering the S60 camera app using a camera button in a web form (which is accessed in an app using Webkit for content display), take a picture, insert it into the form, and POST it to the website. Can anyone point me to information on how/ whether we could do this? Thanks, Sam *** Sam Critchley VP, Products and Co-Founder GyPSii http://www.gypsii.com/ scritch...@gypsii.com GyPSii HQ Amsterdam Mobile: +31 6 28 233 133 Landline: +31 20 715 5915 Fax: +31 20 524 8896 Join the GyPSii mobile lifestyle Download GyPSii to your phone Latest GyPSii Place *** ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
[webkit-dev] WebKit/Gtk+ and Accessibility Query
Hi, I am working on developing a test automation solution for an application which uses WebKit/Gtk+ library on Linux. While browsing through the sources of WebKit and related mailing lists, I got to know that WebKit does support Accessibililty through the usage of Atk/at-spi libraries. There are couple of tools like Accerciser and at-poke for finding the object information of Gtk applications (which are accessibility enabled). When I execute my webkit based application and try to see the object hierarchy in one of these tools (accerciser), I find ONLY txtObjects. The application is a small Gtk window with 7-8 Links on it which lead to different HTML pages. The complete rendering of html pages is done using WebKit. My query is: Since webkit is accessibility enabled, why I am not able to see the Links as LINK Objects on which I can perform click operations. All I see is txtLink1, txtLink2 without ANY operation possible on those. I am very sure that these links are displayed using the WEBKIT_WEB_VIEW macro and then calling webkit_web_view_open with uri of the html page. Any help is greatly appreciated. Thanks Regards Subodh Please do not print this email unless it is absolutely necessary. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
[webkit-dev] Review Queue needs some more attention
We have close to 100 patches that need attention in the review queue. http://www.webkit.org/pending-review I count five or six for the Qt port. Eight for the GTK port. Several for the Haiku port where a decision should probably be made. And several for the ARM Jit work and the custom memory allocator. I'm going to try and go through what I can, but if any other reviewers have some time... Cheers, Adam ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] S60WebKit MIME type question
If a browser finds a MIME type it cannot display (for example from an embed or object tag) then is will iterate through available plugins and load the plugin which handles that MIME type. Regarding camera on S60, you may want to take a look at: Nokia hvave released a beta version of the their new Platform Services (JavaScript API to you and me), this includes a camera API (the download includes a sis file which adds the new api to the device, but it also comes with a JavaScript library which allows pictures to be taken using the camera app and displayed using JavaScript). There are also sample widgets which use the camera API. http://www.forum.nokia.com/info/sw.nokia.com/id/cccea743-f4e5-418f-ad9f-0a7a7f50868f/Nokia_Platform_Services_2_0.html For something which isn't in beta, Nokia provide a JavaScript API for launching 3rd party applications (you just supply the UID of the app you wish to launch - I don't know how you can transfer data from the app to the webkit environment though). The API is part of Nokia's Web Developer Library found here: http://library.forum.nokia.com/index.jsp?topic=/Web_Developers_Library/GUID-4D13AF3F-4733-44E7-996F-F27A11C9D6BF_cover.html You want to look at Web Developer's Library 1.7 Web Runtime widgets Developing widgets Web Runtime API reference JavaScript Service API reference On Tue, Jul 14, 2009 at 1:21 PM, Sam Critchleyscritch...@gypsii.com wrote: Hi, Apologies for the very basic question, but I'm trying to find out how you can use custom MIME types in WebKit on S60 (3rd and 5th editions). We're looking at doing something like triggering the S60 camera app using a camera button in a web form (which is accessed in an app using Webkit for content display), take a picture, insert it into the form, and POST it to the website. Can anyone point me to information on how/whether we could do this? Thanks, Sam *** Sam Critchley VP, Products and Co-Founder GyPSii http://www.gypsii.com/ scritch...@gypsii.com GyPSii HQ Amsterdam Mobile: +31 6 28 233 133 Landline: +31 20 715 5915 Fax: +31 20 524 8896 Join the GyPSii mobile lifestyle Download GyPSii to your phone Latest GyPSii Place *** ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev -- Regards Jack ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] Development Tools on Safari
On Jul 13, 2009, at 11:24 PM, Hieu Le Trung wrote: Can we separate the tools from WebKit menu? I don't think I understand this question. What is the WebKit menu? I want to run them as a stand-alone and connect to existing WebKit instance. Right now each Web Inspector window is tied to a particular WebView, and the Web Inspector and the WebView must be in the same process. The Chrome guys have been doing some work on having the Inspector run in a separate process from the WebView, but we haven't adopted that in Apple's ports yet. You can use the Inspector in any WebView in any application on OS X if you set the WebKitDeveloperExtrasEnabledPreferenceKey preference to YES. Here's how you'd do it for Safari: defaults write com.apple.Safari WebKitDeveloperExtrasEnabledPreferenceKey YES Just replace com.apple.Safari with the bundle ID of the application in question. -Adam ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] S60WebKit MIME type question
Hi Jack, Thanks for taking the time to reply. The Nokia Platform Services resources are great, but currently only available in WRT on their S60 5th edition devices (5800 and N97). I think we're also going to look closely at the plug-in route as well - I wonder if there's a repository of standard plug-ins somewhere... I found the following on S60 browser plug-ins: http://www.forum.nokia.com/main/resources/technologies/browser_plug-in_api.html Unfortunately I think this pre-dates the WebKit browser, so I'm not sure it still applies I did find some documentation on Ecom plug-ins as well. I assume that's also available through S60WebKit as well. The main question is whether there's a repository of existing plug-ins somewhere (e.g. if there's a camera plug-in) or if you have to code your own. Thanks, Sam On Jul 14, 2009, at 2:46 PM, Jack Wootton wrote: If a browser finds a MIME type it cannot display (for example from an embed or object tag) then is will iterate through available plugins and load the plugin which handles that MIME type. Regarding camera on S60, you may want to take a look at: Nokia hvave released a beta version of the their new Platform Services (JavaScript API to you and me), this includes a camera API (the download includes a sis file which adds the new api to the device, but it also comes with a JavaScript library which allows pictures to be taken using the camera app and displayed using JavaScript). There are also sample widgets which use the camera API. http://www.forum.nokia.com/info/sw.nokia.com/id/cccea743-f4e5-418f-ad9f-0a7a7f50868f/Nokia_Platform_Services_2_0.html For something which isn't in beta, Nokia provide a JavaScript API for launching 3rd party applications (you just supply the UID of the app you wish to launch - I don't know how you can transfer data from the app to the webkit environment though). The API is part of Nokia's Web Developer Library found here: http://library.forum.nokia.com/index.jsp?topic=/Web_Developers_Library/GUID-4D13AF3F-4733-44E7-996F-F27A11C9D6BF_cover.html You want to look at Web Developer's Library 1.7 Web Runtime widgets Developing widgets Web Runtime API reference JavaScript Service API reference On Tue, Jul 14, 2009 at 1:21 PM, Sam Critchleyscritch...@gypsii.com wrote: Hi, Apologies for the very basic question, but I'm trying to find out how you can use custom MIME types in WebKit on S60 (3rd and 5th editions). We're looking at doing something like triggering the S60 camera app using a camera button in a web form (which is accessed in an app using Webkit for content display), take a picture, insert it into the form, and POST it to the website. Can anyone point me to information on how/whether we could do this? Thanks, Sam *** Sam Critchley VP, Products and Co-Founder GyPSii http://www.gypsii.com/ scritch...@gypsii.com GyPSii HQ Amsterdam Mobile: +31 6 28 233 133 Landline: +31 20 715 5915 Fax: +31 20 524 8896 Join the GyPSii mobile lifestyle Download GyPSii to your phone Latest GyPSii Place *** ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev -- Regards Jack *** Sam Critchley VP, Products and Co-Founder GyPSii http://www.gypsii.com/ scritch...@gypsii.com GyPSii HQ Amsterdam Mobile: +31 6 28 233 133 Landline: +31 20 715 5915 Fax: +31 20 524 8896 Join the GyPSii mobile lifestyle Download GyPSii to your phone Latest GyPSii Place *** ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] S60WebKit MIME type question
Plugins should follow the NPAPI (https://developer.mozilla.org/en/Gecko_Plugin_API_Reference) and so it shouldn't really matter if it pre-dates WebKit. No doubt someone else on this mailing list can offer more help here (since I'm new to webkit). If you sign up to the Symbian Foundation, then you can browse S60 code online. Unfortunately having had a quick look it seems there are no reference plugin implementations in the code. There are some s60 specific plugin files, using the Symbian Foundation cross referencing tool, they can be found in: /MCL/sf/mw/web/webengine/osswebengine/WebKit/s60/plugins (http://developer.symbian.org/xref/oss/xref/MCL/sf/mw/web/webengine/osswebengine/WebKit/s60/plugins/) On Tue, Jul 14, 2009 at 3:35 PM, Sam Critchleyscritch...@gypsii.com wrote: Hi Jack, Thanks for taking the time to reply. The Nokia Platform Services resources are great, but currently only available in WRT on their S60 5th edition devices (5800 and N97). I think we're also going to look closely at the plug-in route as well - I wonder if there's a repository of standard plug-ins somewhere... I found the following on S60 browser plug-ins: http://www.forum.nokia.com/main/resources/technologies/browser_plug-in_api.html Unfortunately I think this pre-dates the WebKit browser, so I'm not sure it still applies I did find some documentation on Ecom plug-ins as well. I assume that's also available through S60WebKit as well. The main question is whether there's a repository of existing plug-ins somewhere (e.g. if there's a camera plug-in) or if you have to code your own. Thanks, Sam On Jul 14, 2009, at 2:46 PM, Jack Wootton wrote: If a browser finds a MIME type it cannot display (for example from an embed or object tag) then is will iterate through available plugins and load the plugin which handles that MIME type. Regarding camera on S60, you may want to take a look at: Nokia hvave released a beta version of the their new Platform Services (JavaScript API to you and me), this includes a camera API (the download includes a sis file which adds the new api to the device, but it also comes with a JavaScript library which allows pictures to be taken using the camera app and displayed using JavaScript). There are also sample widgets which use the camera API. http://www.forum.nokia.com/info/sw.nokia.com/id/cccea743-f4e5-418f-ad9f-0a7a7f50868f/Nokia_Platform_Services_2_0.html For something which isn't in beta, Nokia provide a JavaScript API for launching 3rd party applications (you just supply the UID of the app you wish to launch - I don't know how you can transfer data from the app to the webkit environment though). The API is part of Nokia's Web Developer Library found here: http://library.forum.nokia.com/index.jsp?topic=/Web_Developers_Library/GUID-4D13AF3F-4733-44E7-996F-F27A11C9D6BF_cover.html You want to look at Web Developer's Library 1.7 Web Runtime widgets Developing widgets Web Runtime API reference JavaScript Service API reference On Tue, Jul 14, 2009 at 1:21 PM, Sam Critchleyscritch...@gypsii.com wrote: Hi, Apologies for the very basic question, but I'm trying to find out how you can use custom MIME types in WebKit on S60 (3rd and 5th editions). We're looking at doing something like triggering the S60 camera app using a camera button in a web form (which is accessed in an app using Webkit for content display), take a picture, insert it into the form, and POST it to the website. Can anyone point me to information on how/whether we could do this? Thanks, Sam *** Sam Critchley VP, Products and Co-Founder GyPSii http://www.gypsii.com/ scritch...@gypsii.com GyPSii HQ Amsterdam Mobile: +31 6 28 233 133 Landline: +31 20 715 5915 Fax: +31 20 524 8896 Join the GyPSii mobile lifestyle Download GyPSii to your phone Latest GyPSii Place *** ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev -- Regards Jack *** Sam Critchley VP, Products and Co-Founder GyPSii http://www.gypsii.com/ scritch...@gypsii.com GyPSii HQ Amsterdam Mobile: +31 6 28 233 133 Landline: +31 20 715 5915 Fax: +31 20 524 8896 Join the GyPSii mobile lifestyle Download GyPSii to your phone Latest GyPSii Place *** -- Regards Jack ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] S60WebKit MIME type question
Just to add, you are right, S60 browser uses ECOM to load a list of plugins at runtime that implement the interface 'CEcomBrowserPluginInterface'. It stores meta data about each plugin, such as the MIME type it handles and the UID of the DLL implementing the plugin. The browser then loads the plugin if the MIME type found in the object or embed tag matches. One thing to look out for is that I don't thin the NPAPI is fully implemented on S60. On Tue, Jul 14, 2009 at 4:04 PM, Jack Woottonjackwoot...@gmail.com wrote: Plugins should follow the NPAPI (https://developer.mozilla.org/en/Gecko_Plugin_API_Reference) and so it shouldn't really matter if it pre-dates WebKit. No doubt someone else on this mailing list can offer more help here (since I'm new to webkit). If you sign up to the Symbian Foundation, then you can browse S60 code online. Unfortunately having had a quick look it seems there are no reference plugin implementations in the code. There are some s60 specific plugin files, using the Symbian Foundation cross referencing tool, they can be found in: /MCL/sf/mw/web/webengine/osswebengine/WebKit/s60/plugins (http://developer.symbian.org/xref/oss/xref/MCL/sf/mw/web/webengine/osswebengine/WebKit/s60/plugins/) On Tue, Jul 14, 2009 at 3:35 PM, Sam Critchleyscritch...@gypsii.com wrote: Hi Jack, Thanks for taking the time to reply. The Nokia Platform Services resources are great, but currently only available in WRT on their S60 5th edition devices (5800 and N97). I think we're also going to look closely at the plug-in route as well - I wonder if there's a repository of standard plug-ins somewhere... I found the following on S60 browser plug-ins: http://www.forum.nokia.com/main/resources/technologies/browser_plug-in_api.html Unfortunately I think this pre-dates the WebKit browser, so I'm not sure it still applies I did find some documentation on Ecom plug-ins as well. I assume that's also available through S60WebKit as well. The main question is whether there's a repository of existing plug-ins somewhere (e.g. if there's a camera plug-in) or if you have to code your own. Thanks, Sam On Jul 14, 2009, at 2:46 PM, Jack Wootton wrote: If a browser finds a MIME type it cannot display (for example from an embed or object tag) then is will iterate through available plugins and load the plugin which handles that MIME type. Regarding camera on S60, you may want to take a look at: Nokia hvave released a beta version of the their new Platform Services (JavaScript API to you and me), this includes a camera API (the download includes a sis file which adds the new api to the device, but it also comes with a JavaScript library which allows pictures to be taken using the camera app and displayed using JavaScript). There are also sample widgets which use the camera API. http://www.forum.nokia.com/info/sw.nokia.com/id/cccea743-f4e5-418f-ad9f-0a7a7f50868f/Nokia_Platform_Services_2_0.html For something which isn't in beta, Nokia provide a JavaScript API for launching 3rd party applications (you just supply the UID of the app you wish to launch - I don't know how you can transfer data from the app to the webkit environment though). The API is part of Nokia's Web Developer Library found here: http://library.forum.nokia.com/index.jsp?topic=/Web_Developers_Library/GUID-4D13AF3F-4733-44E7-996F-F27A11C9D6BF_cover.html You want to look at Web Developer's Library 1.7 Web Runtime widgets Developing widgets Web Runtime API reference JavaScript Service API reference On Tue, Jul 14, 2009 at 1:21 PM, Sam Critchleyscritch...@gypsii.com wrote: Hi, Apologies for the very basic question, but I'm trying to find out how you can use custom MIME types in WebKit on S60 (3rd and 5th editions). We're looking at doing something like triggering the S60 camera app using a camera button in a web form (which is accessed in an app using Webkit for content display), take a picture, insert it into the form, and POST it to the website. Can anyone point me to information on how/whether we could do this? Thanks, Sam *** Sam Critchley VP, Products and Co-Founder GyPSii http://www.gypsii.com/ scritch...@gypsii.com GyPSii HQ Amsterdam Mobile: +31 6 28 233 133 Landline: +31 20 715 5915 Fax: +31 20 524 8896 Join the GyPSii mobile lifestyle Download GyPSii to your phone Latest GyPSii Place *** ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev -- Regards Jack *** Sam Critchley VP, Products and Co-Founder GyPSii http://www.gypsii.com/ scritch...@gypsii.com GyPSii HQ Amsterdam Mobile: +31 6 28 233 133 Landline: +31 20 715 5915 Fax: +31 20 524 8896 Join the GyPSii mobile lifestyle Download
Re: [webkit-dev] Development Tools on Safari
Adam, Let me check the Chrome. I'd like to have Web Inspector run as a separate process and connect to WebKit instance for profiling, performance measuring...It's also good if we can have it connect remotely, WebKit run on the target (embedded) and Web Inspector remote connect to do profile. Something like oProfileUI (http://labs.o-hand.com/oprofileui/) Regards, -Hieu -Original Message- From: Adam Roben [mailto:aro...@apple.com] Sent: Tuesday, July 14, 2009 8:42 PM To: Hieu Le Trung Cc: Maciej Stachowiak; Juan Madrigal; webkit-dev@lists.webkit.org Subject: Re: [webkit-dev] Development Tools on Safari On Jul 13, 2009, at 11:24 PM, Hieu Le Trung wrote: Can we separate the tools from WebKit menu? I don't think I understand this question. What is the WebKit menu? I want to run them as a stand-alone and connect to existing WebKit instance. Right now each Web Inspector window is tied to a particular WebView, and the Web Inspector and the WebView must be in the same process. The Chrome guys have been doing some work on having the Inspector run in a separate process from the WebView, but we haven't adopted that in Apple's ports yet. You can use the Inspector in any WebView in any application on OS X if you set the WebKitDeveloperExtrasEnabledPreferenceKey preference to YES. Here's how you'd do it for Safari: defaults write com.apple.Safari WebKitDeveloperExtrasEnabledPreferenceKey YES Just replace com.apple.Safari with the bundle ID of the application in question. -Adam ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
[webkit-dev] extend javascript inside iframes, and hide cursor
Hi all: I'm working with GTK-Webkit and I have two questions: a) I added a new javascript class, and it works fine, but when I run the webpage inside an iframe, it doesn't work. How have I to add the new class and object to make it work in the iframes too? I add the new class with this code, responding to the window-object-cleared signal. WebKitWebFrame* frame = webkit_web_view_get_main_frame (web_view); JSGlobalContextRef js_context = webkit_web_frame_get_global_context(frame); JSObjectRef js_object=JSContextGetGlobalObject(js_context); js_class = JSClassCreate (my_jsclass_def); class_string = JSStringCreateWithUTF8CString(MYCLASS); js_object2 = JSObjectMake (js_context, js_class, NULL); JSObjectSetProperty(js_context, js_object, class_string, js_object2, kJSPropertyAttributeNone, NULL); (well, there is more code to avoid re-creating the class and the object everytime a new page is loaded, but you catch the idea...). b) How can I hide the cursor when it's into the webkit widget? I've been able to hide it when it's in other GTK widgets, but as soon as it enters the browser, it's visible again. Thanks! ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] extend javascript inside iframes, and hide cursor
These questions should be posted to the new webkit- h...@lists.webkit.org list. -Adam ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] Documentation on internals of WebKit
On Tuesday, July 14, 2009 3:28:27 AM, Jack Wootton wrote: I'm sure there are other good blog entries, and the standard seems to be quite high, unfortunately I haven't found a page which lists the entries away from all the ...is now a webkit reviewer or allows a search of them. All I can do is provide this link: http://webkit.org/blog/ where you can trawl through all the blog entries searching for something useful. You may use Google to search the blog entries for you using the site: keyword: site:webkit.org/blog render tree http://www.google.com/search?client=safarirls=enq=site:webkit.org/blog+%22render+tree%22ie=UTF-8oe=UTF-8 Dave ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] Build File Maintenance (was Re: Please welcome GYP to the our dysfunctional build family)
Hi Peter, On Jul 13, 2009, at 2:03 PM, Peter Kasting wrote: On Mon, Jul 13, 2009 at 1:56 PM, Maciej Stachowiak m...@apple.com wrote: One belated comment on this topic. It would be neat if some port agreed to be the guinea pig to see if gyp could plausibly work for more than Google's ports. The Wx port probably has the lowest resources of any complete port in the tree, so they might not be the best choice of experimental subject, particularly if for them the process required writing a new gyp back end and if they are not yet entirely comfortable going the gyp route. Another note, based on some #chromium conversations: if someone passionate made CMake (or any other tool) into something compelling enough to work better for Chromium than gyp does (or at least to work close-to-as-well), and that tool was more plausible for other ports in the WK tree to adopt, we wouldn't be opposed in principle to using it. The potential benefits of a shared build system are clear, and we're not trying to tell people that system has to be gyp; we're just probably not prepared to be the ones to go determine other ports' needs and decide on the Build System To Rule Them All. If no one wants to do this, but other ports do want to try gyp, we can lend them a hand in checking it out too. Whatever makes things at least a little easier. After reading Mark's comments, one idea that has been stewing around in my head is seeing if it would be possible to have waf optionally call the GYP GenerateOutput methods directly, instead of doing a build, by converting the final, computed compiler/linker settings into a GYP-friendly series of lists/dicts. If that could be made to work, it would offer the best of both worlds. On one hand, we have a fast and scalable build system that can be extended to do pretty much anything you can code up in Python, and on the other, you can still use IDE projects if that's what you're comfortable with. Of course, the big question is if waf would have the same limitations as SCons in regards to doing this, but I think it's at least worth exploring. I'd be interested to know what limitations you guys ran into when trying to use SCons for this sort of thing. Of course, there will always be some things that would be hard to do with the IDE projects, but it may be possible for us to make use of waf there too, by using command line arguments to have it, for example, only generate the derived sources, which we could call from the IDE projects. Thoughts? Thanks, Kevin PK ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] Build File Maintenance (was Re: Please welcome GYP to the our dysfunctional build family)
On Tue, Jul 14, 2009 at 9:24 AM, Kevin Ollivier kev...@theolliviers.comwrote: Of course, the big question is if waf would have the same limitations as SCons in regards to doing this, but I think it's at least worth exploring. I'd be interested to know what limitations you guys ran into when trying to use SCons for this sort of thing. Of course, there will always be some things that would be hard to do with the IDE projects, but it may be possible for us to make use of waf there too, by using command line arguments to have it, for example, only generate the derived sources, which we could call from the IDE projects. I don't really know enough about either waf or SCons to comment. My impression as a naive observer was that SCons had serious speed issues with our build (especially the overhead for a null build). PK ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] Build File Maintenance (was Re: Please welcome GYP to the our dysfunctional build family)
On Tue, Jul 14, 2009 at 10:27 AM, Peter Kasting pkast...@google.com wrote: On Tue, Jul 14, 2009 at 9:24 AM, Kevin Ollivier kev...@theolliviers.comwrote: Of course, the big question is if waf would have the same limitations as SCons in regards to doing this, but I think it's at least worth exploring. I'd be interested to know what limitations you guys ran into when trying to use SCons for this sort of thing. Of course, there will always be some things that would be hard to do with the IDE projects, but it may be possible for us to make use of waf there too, by using command line arguments to have it, for example, only generate the derived sources, which we could call from the IDE projects. I don't really know enough about either waf or SCons to comment. My impression as a naive observer was that SCons had serious speed issues with our build (especially the overhead for a null build). PK In addition to slow startup time, the SCons system meant that we had to give up full IDE integration. That was the main deal breaker, which led us to look for a xcode/vcproj/etc. generation solution. -Darin ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] Build File Maintenance (was Re: Please welcome GYP to the our dysfunctional build family)
Kevin Ollivier wrote: I'd be interested to know what limitations you guys ran into when trying to use SCons for this sort of thing. The SCons input language is too free-form to be easily shoehorned into things like Xcode and Visual Studio projects. SCons is flexible enough that mapping its input language, and all of the logic that its input might contain, to just about anything else would have been an incredibly difficult task. For anything more involved than compile these files and produce a library or executable, with SCons, we would have needed to produce project files that weren't strictly native. The project files would have had to have contained instructions to call SCons to perform the actual build. We sought a greater level of native tool integration. Mark ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] Build File Maintenance (was Re: Please welcome GYP to the our dysfunctional build family)
Hi, Kevin Ollivier wrote: I'd be interested to know what limitations you guys ran into when trying to use SCons for this sort of thing. On Tue, Jul 14, 2009 at 11:04 AM, Mark Mentovaim...@chromium.org wrote: The SCons input language is too free-form to be easily shoehorned into things like Xcode and Visual Studio projects. The thing that worries me about this latest push to add GYP is that there was much Google enthusiasm for the SCons stuff six months or so ago, and SCons stuff started landing in the tree, and now that's all been tossed away (apparently for performance reasons). Do we feel that GYP is finally the right tool? -Brent ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] Build File Maintenance (was Re: Please welcome GYP to the our dysfunctional build family)
On Tue, Jul 14, 2009 at 11:20 AM, Brent Fulgham bfulg...@gmail.com wrote: Do we feel that GYP is finally the right tool? Well, unlike SCons we're actually building all our ports on top of GYP. We never actually expanded SCons to all platforms or addressed the problems we had with it. But I can't speak for eternity. If some other tool comes up that's even better then I imagine we'd switch to that. PK ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] Build File Maintenance (was Re: Please welcome GYP to the our dysfunctional build family)
Hi Peter, On Jul 14, 2009, at 10:27 AM, Peter Kasting wrote: On Tue, Jul 14, 2009 at 9:24 AM, Kevin Ollivier kev...@theolliviers.com wrote: Of course, the big question is if waf would have the same limitations as SCons in regards to doing this, but I think it's at least worth exploring. I'd be interested to know what limitations you guys ran into when trying to use SCons for this sort of thing. Of course, there will always be some things that would be hard to do with the IDE projects, but it may be possible for us to make use of waf there too, by using command line arguments to have it, for example, only generate the derived sources, which we could call from the IDE projects. I don't really know enough about either waf or SCons to comment. My impression as a naive observer was that SCons had serious speed issues with our build (especially the overhead for a null build). Yeah, I hit the same problems as well, and after some profiling and discussions on the SCons mailing list, came to the conclusion that SCons simply had architectural issues that made it a poor choice for a large project like WebKit. The overhead for waf is minimal, though, and quite possibly even less than make on Unix systems. Some benchmarks done have shown it to be significantly faster than make, in fact, which is my subjective opinion as well. My Windows builds also feel noticeably faster, but then again I was using .vc makefiles, which meant I couldn't do parallel builds there. ;-) I just haven't had time to really sit down and benchmark. Thanks, Kevin PK ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] Build File Maintenance (was Re: Please welcome GYP to the our dysfunctional build family)
Brent Fulgham wrote: The thing that worries me about this latest push to add GYP is that there was much Google enthusiasm for the SCons stuff six months or so ago, and SCons stuff started landing in the tree, and now that's all been tossed away (apparently for performance reasons). Do we feel that GYP is finally the right tool? It's fair to say that it's always been the Chromium team's desire to move at least some chunk of our WebKit build system upstream into the WebKit repository. Conceptually, the instructions for building WebKit belong with WebKit. What you're seeing with Dimitri's recent checkin of .gypi files is a step in this direction. Given this, you're quite right to pick up on the build system du jour nature of the discussion. A year ago, the Chromium team was expecting SCons files to become the master description of our build, but for various reasons including performance, that didn't really work out. We were gung-ho about SCons, but our enthusiasm may have been premature: at least for Chromium, it turned out to not be the right solution right now. The difference between the SCons-driven and GYP-driven builds of Chromium is that with the latter, we really were able to unify our disparate build systems. With GYP, we've got a single build system instead of three (or four), and we were able to do that while meeting the other requirements peculiar to our project. GYP may just be another build system du jour, but cette jour, it's actually carrying Chromium on all of its platforms. It's also important to keep in mind that as long as Chromium is using GYP for its build, we (the Chromium team) are committed to maintaining .gyp/.gypi files checked into the WebKit repository at least as well as they need to be maintained to support our use. Speaking as someone heavily involved with GYP's development, I'd be thrilled if it worked for other projects too; speaking as a Chromium team member, it'd be helpful if people working on other WebKit ports maintained the .gyp/.gypi files as they add, move, and remove files in the WebKit tree, even if no port other than Chromium is actually using GYP. To be honest, though, I don't think that WebKit (or any other project) should choose a build system hastily, and it's entirely conceivable that what works best for Chromium might not work best for WebKit. Mark ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] ExecState::thisObject()
That's correct. Other browser's get this case right. Here are a couple test cases you might find interesting: http://webblaze.org/abarth/tests/protoconfused/test1.html http://webblaze.org/abarth/tests/protoconfused/test2.html I tried these tests, with mixed results: IE8: Exception thrown during load. Firefox 3.0: mixture of passes and fails on test1.html. Exception thrown during load of test2.html. Chrome 2.0: Mixture of passes and fails. Yes. All the browsers suck on these tests. :) Would you like me to go look for more exploitable cases? It seems like the only reason not to fix this issue is because we're afraid of code churn. I'm just trying to clarify the issue. Based on your input, I started out thinking that there was a spec mandating this behavior, that other browsers followed the spec, and that failure to follow the spec was a security hole. Now I see that there is no spec, there is no clear shared behavior in other browsers, and the security holes we know about only pertain to cross-origin objects, which would specifically be excluded from this change. So, the motivation for this change is simply that it would establish a new, more logical model for cross-frame property access. That's a laudable goal. I hope we can make it happen. Since we're inventing the model, we have some freedom to do what we think is simplest and/or most efficient and/or most secure in certain edge cases. Also, once we've established the model, we'll need to propose it to some standards body -- probably HTML5. Also, we're free to fix the easy stuff now and the hard stuff later, since leaving some rough edges unfinished will not be a security problem. Geoff ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] ExecState::thisObject()
On Tue, Jul 14, 2009 at 12:31 PM, Geoffrey Garengga...@apple.com wrote: Also, once we've established the model, we'll need to propose it to some standards body -- probably HTML5. I believe the correct spec to describe this behavior is WebIDL, which controls how the abstract DOM interfaces are realized in ECMAScript. Adam ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] ExecState::thisObject()
Also, once we've established the model, we'll need to propose it to some standards body -- probably HTML5. I believe the correct spec to describe this behavior is WebIDL, which controls how the abstract DOM interfaces are realized in ECMAScript. Sounds good. Geoff ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] ExecState::thisObject()
I've made some initial stabs: https://bugs.webkit.org/show_bug.cgi?id=27276 The bindings need a bunch more cleanup before we can do much more than that. I've started filing bugs about the cleanup. On Tue, Jul 14, 2009 at 12:41 PM, Geoffrey Garengga...@apple.com wrote: Also, once we've established the model, we'll need to propose it to some standards body -- probably HTML5. I believe the correct spec to describe this behavior is WebIDL, which controls how the abstract DOM interfaces are realized in ECMAScript. Sounds good. Geoff ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev