> I see a lot of uses for this. Does this project have a public
> roadmap?
Thanks for bringing up this topic. There isn't any roadmap yet -- we've
just finished the basic functionality and just about to start making a
roadmap. Any thoughts will be discussed here.
Since the project is developed in open, ideas and brainstorming are
welcome. We can make a roadmap together.
Hopefully the roadmap will be made soon.
> I'm particularly interested in when a Windows version might be
> available.
Right. As a runtime we'd like to support more OSes and
applications. Supporting OSes such as windows and android should be on
the TODO list.
--
Roger WANG Intel Open Source Technology Center
> Paul Spaulding <pjs6...@gmail.com> writes:
>
>> I see a lot of uses for this. Does this project have a public
>> roadmap?
>
> Thanks for bringing up this topic. There isn't any roadmap yet -- we've
> just finished the basic functionality and just about to start making a
> roadmap. Any thoughts will be discussed here.
>
> Since the project is developed in open, ideas and brainstorming are
> welcome. We can make a roadmap together.
>
> Hopefully the roadmap will be made soon.
Given there are requirements on porting to OSX and Windows, we are
exploring ways to port it and will start the porting as soon as the ways
are found.
As you may know, the major unique feature of node-webkit is that Node
API can be called directly from WebKit -- that means no IPC is needed
for data passing, which is good for performance. So WebKit and Node are
working in one process and one thread. To archive that, main loops from
Node and WebKit are merged.
Main loop merging seems to be harder on Windows platform. IOCP
processing (from Node) and Windows message processing should be merged
in this way. We have yet found ways to do it, but we are still looking
into it. Any suggestion is welcome. Running Node and WebKit in different
threads is also under consideration, but that would require very tricky
synchronization thus may not be doable.
> Main loop merging seems to be harder on Windows platform. IOCP
> processing (from Node) and Windows message processing should be merged
> in this way. We have yet found ways to do it, but we are still looking
> into it. Any suggestion is welcome. Running Node and WebKit in different
> threads is also under consideration, but that would require very tricky
> synchronization thus may not be doable.
Just got an idea today: WebKit2 may make the porting possible or
easier. With WebCore running in background process and communicate with
UI with IPC (named pipe on Windows), it could be merged with Node's main
loop. Node's IOCP based main loop can be used to facilitate the WebKit2
IPC.
This could also be helpful for porting to OSX.
Chris Sainty <csa...@hotmail.com> writes:
--
> 1. Being able to pass a closedown callback to nwebkit.init(). Have it
> called when the program is about to exit to perform cleanup.
Now you can pass a 'onclose' callback function to the options parameter
of init().
The example usage is in tests/callback.js
Now you can pass a 'onclose' callback function to the options parameter
of init().The example usage is in tests/callback.js
var GUI = require('nw.gui'); GUI.Window.get().on('close', function(){ GUI.App.quit(); });