On Jan 20, 2010, at 7:08 AM, Kent Hansen wrote:

> Hello WebKit developers,
> A while ago, we, the team of Qt developers at Nokia and INdT, presented the 
> idea of adding a Qt C++ API on top of JavaScriptCore [1].
> The fundamental issue back then was that our implementation was not using the 
> JavaScriptCore C API, which made it problematic to upstream
> (we don't want to limit the freedom to change the JSC implementation by 
> introducing new dependencies).
> 
> Hence, we've started an implementation that only uses the C API. The latest 
> version of the initial patch can be found in the Bugzilla task: 
> https://bugs.webkit.org/show_bug.cgi?id=32565
> It provides only the basic functionality of the two main classes, 
> QScriptEngine and QScriptValue.
> 
> If the community agrees, we would like to begin the process of upstreaming 
> this and other patches, that incrementally build the C++ API on top of the C 
> API.
> If there are places where we find the C API to be incomplete, we will try to 
> propose and implement additional API that will hopefully also be of value to 
> other JavaScriptCore embedders.

This sounds like a good approach. And keeping it in the WebKit repository seems 
totall acceptable to me.

Also please let us know if you find any limitations in the C API that make it 
hard or impossible to do what you want with this API - we would like to fix any 
such issues.

Cheers,
Maciej

_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to