[webkit-dev] How to build Webkit GTK on macos

2009-05-06 Thread Lucius Fox
From http://trac.webkit.org/wiki/BuildingGtk, it said i need to install ATK Cairo cURL fontconfig freetype2 gettext gtk+ libjpeg libpng libtiff libxml2 libxslt pango SQLite My question is how to install these packages on Macos so that i can compile Webkit gtk on Macos? Thank you.

Re: [webkit-dev] link-following feature for our new webkit browser.

2009-05-06 Thread Jan Kolkmeier
a href=javascript:alert(0)link/a scriptwindow.location = document.links[0].href;/script Can confirm now that this works indeed. But still, some stuff does not work, like: a href=# onclick=return showcover(false);/a Further, it would be nice to be able to select/click form elements like

Re: [webkit-dev] How to build Webkit GTK on macos

2009-05-06 Thread Zhe Su
Maybe you need MacPorts http://www.macports.org/. Regards James Su On Wed, May 6, 2009 at 2:27 PM, Lucius Fox lucius.fo...@gmail.com wrote: From http://trac.webkit.org/wiki/BuildingGtk, it said i need to install ATK Cairo cURL fontconfig freetype2 gettext gtk+ libjpeg libpng

Re: [webkit-dev] Problem with building WebKit

2009-05-06 Thread Seby
Hello Adam, I tried to build WebKit using the latest version and I see that the JavaScriptCoreGenerated without errors other than the xcopy error: Output Window Performing Makefile project actions xcopy /y/d/e/i ..\..\..\WebKitLibraries\win\tools

[webkit-dev] Some questions about squirrelfish

2009-05-06 Thread thouraya andolsi
Hi, - Is there any squirrelfish porting document? - How is calling the code generated by the function privatecompileCTIMachineTrampoline? Best regards. ___ webkit-dev mailing list webkit-dev@lists.webkit.org

Re: [webkit-dev] Problem with building WebKit

2009-05-06 Thread Adam Roben
It looks like Cygwin's link.exe is getting invoked instead of VC++ Express's link.exe. I suspect you have an issue with your PATH. You could try adding the directory that contains VC++ Express's link.exe to your PATH. -Adam On May 6, 2009, at 5:33 AM, Seby wrote: Hello Adam, I tried to

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

2009-05-06 Thread Mario Bensi
The goal of Origyn Web Browser Abstraction Layer (OWBAL) is to clarify what is platform dependant and what is not. In BAL directory you find some modules which split sources per family of feature: Database: all files needed for HTML5 Database and Storage. Events: all events definitions

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

2009-05-06 Thread George Staikos
On 5-May-09, at 10:49 AM, Darin Adler wrote: On May 4, 2009, at 7:45 PM, George Staikos wrote: 1) In some cases some things apply to more than one OS so we have: #if OS(x) || OS(y) || OS(z) ... I think we should use: #if OS(x,y,z) How? Macros don’t have overloading with the same macro but

[webkit-dev] setting a size limit for Application Cache

2009-05-06 Thread Andrei Popescu
Hi, I was recently looking at https://bugs.webkit.org/show_bug.cgi?id=22700 I have a small patch that attempts to fix this issue by 1. allowing the ChromeClient implementers to decide what the size limit should be, 2. evicting caches (in LRU order) from the database when the size limit is

[webkit-dev] MessagePorts and garbage collection

2009-05-06 Thread Drew Wilson
Hi all, I'm fixing some race conditions in the MessagePort code, and I want to make sure I understand how garbage collection works for things like MessagePorts that are access across multiple threads. Some quick background: HTML5 MessagePorts are essentially two ends of a message channel -

[webkit-dev] WebKit Javascript Popups

2009-05-06 Thread Michael S. Walker
Hi, I'm a developer for Uzbl (http://www.uzbl.org) and we've got a problem with opening new links via javascript's window.open(). We don't know how to get the URI being requested, and so no new window is opened. How can we get the URI? Thanks -- Michael Walker (http://www.barrucadu.co.uk)

Re: [webkit-dev] setting a size limit for Application Cache

2009-05-06 Thread Jeremy Orlow
The way I see it, there's 2 uses for AppCache in the mobile space: Simply speeding things up (i.e. just a cache) and web applications you'd like to use offline. For the first use case, automatic eviction (presumably via LRU) is quite acceptable. For the second use case, I think you need some way

Re: [webkit-dev] setting a size limit for Application Cache

2009-05-06 Thread Michael Nordman
The chrome team had an interesting thread on this topic not long ago. Unfortunately it wasn't on the public chromium-dev mailing list, so I can't provide a link to it here :( summary (according to me at least:) The gist of it was that providing appcaching for general use w/o any special

Re: [webkit-dev] WebKit Javascript Popups

2009-05-06 Thread Christian Dywan
Am Wed, 6 May 2009 20:21:14 +0100 schrieb Michael S. Walker m...@barrucadu.co.uk: Hi, I'm a developer for Uzbl (http://www.uzbl.org) and we've got a problem with opening new links via javascript's window.open(). We don't know how to get the URI being requested, and so no new window is

Re: [webkit-dev] setting a size limit for Application Cache

2009-05-06 Thread Jeremy Orlow
Good point. Tying the apps together is pretty important. What good is it for the program to still be in AppCache if it's data (in databases or localStorage) was deleted by some other LRU policy? I'm not sure that yet another manifest is needed though. For databases and localStorage, access is

Re: [webkit-dev] setting a size limit for Application Cache

2009-05-06 Thread Michael Nordman
On Wed, May 6, 2009 at 12:45 PM, Jeremy Orlow jor...@google.com wrote: Good point.  Tying the apps together is pretty important.  What good is it for the program to still be in AppCache if it's data (in databases or localStorage) was deleted by some other LRU policy? I'm not sure that yet

Re: [webkit-dev] setting a size limit for Application Cache

2009-05-06 Thread Jeremy Orlow
On Wed, May 6, 2009 at 1:12 PM, Michael Nordman micha...@google.com wrote: On Wed, May 6, 2009 at 12:45 PM, Jeremy Orlow jor...@google.com wrote: Good point. Tying the apps together is pretty important. What good is it for the program to still be in AppCache if it's data (in databases or

Re: [webkit-dev] MessagePorts and garbage collection

2009-05-06 Thread Alexey Proskuryakov
06.05.2009, в 21:38, Drew Wilson написал(а): It looks like the JSC collection code relies on JSLock to lock the heap - I'm guessing that I'll need to explicitly grab the JSLock whenever I'm manipulating the linkage between the two ports, is that correct? Or is there a different/better way

[webkit-dev] AppCache resource loading in a multi-process world

2009-05-06 Thread Michael Nordman
Hi all, Please refer to https://bugs.webkit.org/show_bug.cgi?id=25436. Alexey and I have been trading messages in that issue. He suggested that I bring this up aspects of that issue on the larger list. I think that the best way forward is to discuss general multi-process loader architecture on

Re: [webkit-dev] setting a size limit for Application Cache

2009-05-06 Thread Alexey Proskuryakov
06.05.2009, в 23:09, Michael Nordman написал(а): There is no means for the system to distinguish between these two cases. There is no API to indicate which use is which. The first use case (just speeding things up) sounds like something that should be handled by a normal HTTP cache, as

Re: [webkit-dev] MessagePorts and garbage collection

2009-05-06 Thread Drew Wilson
OK, that's good to know (it only supports document contexts) - clearly some work has been done to prepare for multi-thread usage (for example, the core data structure is a thread-safe MessageQueue). I'm quite happy to drive this design (in fact, I'm in the middle of this now) but I would like to

Re: [webkit-dev] setting a size limit for Application Cache

2009-05-06 Thread Jeremy Orlow
2009/5/6 Alexey Proskuryakov a...@webkit.org 06.05.2009, в 23:09, Michael Nordman написал(а): There is no means for the system to distinguish between these two cases. There is no API to indicate which use is which. The first use case (just speeding things up) sounds like something that

Re: [webkit-dev] setting a size limit for Application Cache

2009-05-06 Thread Maciej Stachowiak
On May 6, 2009, at 11:40 AM, Jeremy Orlow wrote: The way I see it, there's 2 uses for AppCache in the mobile space: Simply speeding things up (i.e. just a cache) and web applications you'd like to use offline. For the first use case, automatic eviction (presumably via LRU) is quite

Re: [webkit-dev] MessagePorts and garbage collection

2009-05-06 Thread Maciej Stachowiak
On May 6, 2009, at 1:53 PM, Drew Wilson wrote: OK, that's good to know (it only supports document contexts) - clearly some work has been done to prepare for multi-thread usage (for example, the core data structure is a thread-safe MessageQueue). I'm quite happy to drive this design (in

Re: [webkit-dev] Problem with building WebKit

2009-05-06 Thread Adam Roben
On May 6, 2009, at 7:15 PM, Seby wrote: I've already tried to build the same after removing the WebKit Build directory and updating to latest source from svn. Do you meant to try reinstalling the MS VC++ Express and PlatformSDK? No, I meant to remove the WebKitBuild directory, like you

Re: [webkit-dev] MessagePorts and garbage collection

2009-05-06 Thread Drew Wilson
Thanks, this puts me on the right track. I've had a bunch of discussions with the Chrome folks on how we'd track MessagePort reachability in Chrome, but I'd hoped that the problem might be simpler in WebKit since we had direct access to the data structures cross-thread. The existence of separate

Re: [webkit-dev] MessagePorts and garbage collection

2009-05-06 Thread Drew Wilson
Following up. I think I have my head around how Worker GC is happening (I may start another thread about that, as it looks like there's some cases where the thread won't be shut down, but the general design is sound). MessagePort GC is a little trickier, because we need to detect when both sides