Le 29 juin 07 à 12:52, David Chisnall a écrit :

> I had a look at the code, and talked to one of the WebKit guys.  It
> looks like it's about one or two months work for one or two people.
> We can use the existing qmake build environment (in the short term,
> at least), which removes the dependency on XCode.
>
> The first step is to port JavaScriptCore, which has very few platform
> dependencies.

JavaScriptCore should compile easily I think.

> Looking through the WebCore sources, it seems like we
> can re-use about 50% of the Mac stuff, and the rest won't be too hard
> to rewrite (lots of little classes).  While porting, we can stub out
> a lot of things (like the network code), so getting something working
> a bit should be fairly easy.

 From what I have seen, most of WebCore port has to be done in  
'platform' directory here: <http://trac.webkit.org/projects/webkit/ 
browser/trunk/WebCore/platform>
Few WebCore subdirectories have several platform specific  
subdirectories for each port:
- gdk
- qt
- mac
- win

It also seems the port can offer a variable amount of features. After  
a quick look, mac port seems to be the most exhaustive, followed by  
qt, then gdk and win. With all existing backends which can be used as  
potential inspiration, it shouldn't be difficult to work out a  
GNUstep port.

What needs to sorted out is probably how many classes of mac specific  
WebCore are used directly by WebKit. mac WebCore uses stuff like  
Carbon (for networking to take an example), AppleEvents etc.

> I didn't look at WebKit much, but even if we need to completely re-
> write it, it wouldn't be too much effort.

I think that's probably not necessary since I observed only very  
limited use of Carbon, AppleEvents, AppleScript and other Apple  
specific frameworks in the dozen of classes I examined. However the  
first days of debugging may be not easy once WebKit has been ported.  
Classes like NSURLCredential etc. needs also to be written.

Finally imho it's neither hard nor easy, I would state that a month  
of intense work could be enough to have everything work as expected.

Quentin.
_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss

Répondre à