platform/framework/web/crosswalk-tizen.git
11 years agoNo more plan for ipc.sendSync in browser.
Cheng Zhao [Tue, 23 Apr 2013 14:21:49 +0000 (22:21 +0800)]
No more plan for ipc.sendSync in browser.

I want the browser to be fully asynchronous, so sending synchronous
messages from browser to renderer will be unacceptable.

11 years agoAdd ipc.sendSync in renderer.
Cheng Zhao [Tue, 23 Apr 2013 13:52:19 +0000 (21:52 +0800)]
Add ipc.sendSync in renderer.

11 years agosmall tune of IPC interface.
Cheng Zhao [Tue, 23 Apr 2013 12:57:14 +0000 (20:57 +0800)]
small tune of IPC interface.

11 years agoAdd getRoutingID and getProcessID for window API.
Cheng Zhao [Tue, 23 Apr 2013 09:21:34 +0000 (17:21 +0800)]
Add getRoutingID and getProcessID for window API.

11 years agoUse require('ipc').send to communicate between browser and renderer.
Cheng Zhao [Tue, 23 Apr 2013 04:18:07 +0000 (12:18 +0800)]
Use require('ipc').send to communicate between browser and renderer.

11 years agoMessages from renderer will be emitted to the process object in browser.
Cheng Zhao [Mon, 22 Apr 2013 14:24:02 +0000 (22:24 +0800)]
Messages from renderer will be emitted to the process object in browser.

11 years agoRenderer can now use process.send to send messages to browser.
Cheng Zhao [Mon, 22 Apr 2013 13:32:48 +0000 (21:32 +0800)]
Renderer can now use process.send to send messages to browser.

11 years agoSeparate AtomBindings for renderer.
Cheng Zhao [Mon, 22 Apr 2013 08:27:34 +0000 (16:27 +0800)]
Separate AtomBindings for renderer.

11 years agoRemove RemoteObject, C++ layer should only have basic bridges.
Cheng Zhao [Mon, 22 Apr 2013 08:16:55 +0000 (16:16 +0800)]
Remove RemoteObject, C++ layer should only have basic bridges.

11 years agoSimpler way of inheriting EventEmitter.
Cheng Zhao [Mon, 22 Apr 2013 08:11:56 +0000 (16:11 +0800)]
Simpler way of inheriting EventEmitter.

11 years agoAdd the RemoteObject API in renderer. (not implemented yet)
Cheng Zhao [Mon, 22 Apr 2013 01:13:25 +0000 (09:13 +0800)]
Add the RemoteObject API in renderer. (not implemented yet)

11 years agoRemove recorded object from registry in desturctor.
Cheng Zhao [Sun, 21 Apr 2013 08:27:30 +0000 (16:27 +0800)]
Remove recorded object from registry in desturctor.

11 years agoIgnore api_messages.{cc,h} for cpplint.
Cheng Zhao [Sun, 21 Apr 2013 07:36:48 +0000 (15:36 +0800)]
Ignore api_messages.{cc,h} for cpplint.

11 years agoShare same native bindings code on both renderer and browser.
Cheng Zhao [Sun, 21 Apr 2013 06:53:26 +0000 (14:53 +0800)]
Share same native bindings code on both renderer and browser.

11 years agoAdd API messages for IPC.
Cheng Zhao [Sun, 21 Apr 2013 03:01:04 +0000 (11:01 +0800)]
Add API messages for IPC.

11 years agoRecord all objects created by API in browser.
Cheng Zhao [Sat, 20 Apr 2013 13:52:46 +0000 (21:52 +0800)]
Record all objects created by API in browser.

11 years ago:lipstick: for cpplint.
Cheng Zhao [Sat, 20 Apr 2013 06:03:55 +0000 (14:03 +0800)]
:lipstick: for cpplint.

11 years agoImplement window.open.
Cheng Zhao [Sat, 20 Apr 2013 05:56:01 +0000 (13:56 +0800)]
Implement window.open.

11 years agoEnable creating window with existing web contents.
Cheng Zhao [Sat, 20 Apr 2013 05:42:39 +0000 (13:42 +0800)]
Enable creating window with existing web contents.

11 years agoRemembers all opened web frames.
Cheng Zhao [Sat, 20 Apr 2013 05:05:23 +0000 (13:05 +0800)]
Remembers all opened web frames.

There is a hack in WebKit to switch to the creation context of exception
when under node context, so we need to remember all window contexts.

Remove this when we have multi-context node.

11 years agoDisable renderer sandbox.
Cheng Zhao [Sat, 20 Apr 2013 03:19:25 +0000 (11:19 +0800)]
Disable renderer sandbox.

11 years agoInject node bindings to renderer's DOM.
Cheng Zhao [Sat, 20 Apr 2013 03:13:06 +0000 (11:13 +0800)]
Inject node bindings to renderer's DOM.

11 years agoImprove the way to integrate libuv.
Cheng Zhao [Fri, 19 Apr 2013 13:21:04 +0000 (21:21 +0800)]
Improve the way to integrate libuv.

Now we poll libuv's events in embed thread by adding main loop's backend
fd to a new kqueue fd, instead of directly polling on main loop's
backend fd. In this way we can avoid dealing with one shot events
overselves.

11 years agoUpdate to latest brightray.
Cheng Zhao [Fri, 19 Apr 2013 10:28:13 +0000 (18:28 +0800)]
Update to latest brightray.

11 years agoAdd Window.url API.
Cheng Zhao [Thu, 18 Apr 2013 16:06:10 +0000 (00:06 +0800)]
Add Window.url API.

11 years agoEmit 'page-title-updated' as javascript event for window.
Cheng Zhao [Thu, 18 Apr 2013 15:50:47 +0000 (23:50 +0800)]
Emit 'page-title-updated' as javascript event for window.

11 years agoEmulate DOM's Event class.
Cheng Zhao [Thu, 18 Apr 2013 13:42:20 +0000 (21:42 +0800)]
Emulate DOM's Event class.

11 years agoAdd observers list for NativeWindow.
Cheng Zhao [Thu, 18 Apr 2013 12:50:58 +0000 (20:50 +0800)]
Add observers list for NativeWindow.

11 years agoAdd convenient accessors for Window API.
Cheng Zhao [Thu, 18 Apr 2013 07:57:53 +0000 (15:57 +0800)]
Add convenient accessors for Window API.

11 years agoComplete a few APIs for getters.
Cheng Zhao [Thu, 18 Apr 2013 07:38:04 +0000 (15:38 +0800)]
Complete a few APIs for getters.

11 years agoAdd partial APIs for WebContents and NavigationController.
Cheng Zhao [Thu, 18 Apr 2013 07:09:53 +0000 (15:09 +0800)]
Add partial APIs for WebContents and NavigationController.

11 years agoAdd GetTitle for window API.
Cheng Zhao [Thu, 18 Apr 2013 06:30:05 +0000 (14:30 +0800)]
Add GetTitle for window API.

11 years agoExpose interface of NativeWindow in javascript.
Cheng Zhao [Wed, 17 Apr 2013 14:49:49 +0000 (22:49 +0800)]
Expose interface of NativeWindow in javascript.

11 years agoUse JavaScript to open the main window.
Cheng Zhao [Wed, 17 Apr 2013 12:05:43 +0000 (20:05 +0800)]
Use JavaScript to open the main window.

11 years agoFix README.
Cheng Zhao [Mon, 15 Apr 2013 16:26:43 +0000 (00:26 +0800)]
Fix README.

11 years agoInitial empty window javascript binding.
Cheng Zhao [Mon, 15 Apr 2013 16:25:08 +0000 (00:25 +0800)]
Initial empty window javascript binding.

11 years agoInternal built-in module code should be wrapped under api namespace.
Cheng Zhao [Mon, 15 Apr 2013 15:01:12 +0000 (23:01 +0800)]
Internal built-in module code should be wrapped under api namespace.

11 years agoInitial javascript startup code.
Cheng Zhao [Mon, 15 Apr 2013 07:39:54 +0000 (15:39 +0800)]
Initial javascript startup code.

11 years agoCopy the default_app to bundle.
Cheng Zhao [Sun, 14 Apr 2013 15:24:46 +0000 (23:24 +0800)]
Copy the default_app to bundle.

11 years agoWrite js codes in coffee script.
Cheng Zhao [Sun, 14 Apr 2013 14:48:35 +0000 (22:48 +0800)]
Write js codes in coffee script.

11 years agoAdd script to check coding styles.
Cheng Zhao [Sun, 14 Apr 2013 09:34:51 +0000 (17:34 +0800)]
Add script to check coding styles.

11 years ago:lipstick: for cpplint.
Cheng Zhao [Sun, 14 Apr 2013 09:33:44 +0000 (17:33 +0800)]
:lipstick: for cpplint.

11 years agoAdd our own built-in native module system.
Cheng Zhao [Sun, 14 Apr 2013 07:36:48 +0000 (15:36 +0800)]
Add our own built-in native module system.

11 years agoDon't quit browser when get fatal js error.
Cheng Zhao [Sat, 13 Apr 2013 15:38:29 +0000 (23:38 +0800)]
Don't quit browser when get fatal js error.

11 years agoUse node's error reporting system in browser.
Cheng Zhao [Sat, 13 Apr 2013 15:38:13 +0000 (23:38 +0800)]
Use node's error reporting system in browser.

11 years agoIntegrate libuv with browser's message loop.
Cheng Zhao [Sat, 13 Apr 2013 15:05:13 +0000 (23:05 +0800)]
Integrate libuv with browser's message loop.

11 years agoLoad atom.js on startup.
Cheng Zhao [Sat, 13 Apr 2013 13:10:41 +0000 (21:10 +0800)]
Load atom.js on startup.

11 years agoInitialize node in browser process.
Cheng Zhao [Sat, 13 Apr 2013 10:39:09 +0000 (18:39 +0800)]
Initialize node in browser process.

11 years ago:lipstick:
Cheng Zhao [Fri, 12 Apr 2013 15:16:16 +0000 (23:16 +0800)]
:lipstick:

11 years agoGive URL of my libchromiumcontent build.
Cheng Zhao [Fri, 12 Apr 2013 15:11:18 +0000 (23:11 +0800)]
Give URL of my libchromiumcontent build.

11 years agoBuild with node.
Cheng Zhao [Fri, 12 Apr 2013 14:52:32 +0000 (22:52 +0800)]
Build with node.

11 years agoPass brightray.gypi via parameters.
Cheng Zhao [Fri, 12 Apr 2013 13:17:54 +0000 (21:17 +0800)]
Pass brightray.gypi via parameters.

We need to make sure node.gyp can get variables in brightray.gypi, this
needs minimum modifications.

11 years agoSet our WebKit preferences.
Cheng Zhao [Fri, 12 Apr 2013 12:48:02 +0000 (20:48 +0800)]
Set our WebKit preferences.

11 years agoHandle keyboard events with AtomEventProcessingWindow.
Cheng Zhao [Fri, 12 Apr 2013 12:31:15 +0000 (20:31 +0800)]
Handle keyboard events with AtomEventProcessingWindow.

Some system events like cmd+` will be handled by it automatically.

11 years agoFix devtools.
Cheng Zhao [Fri, 12 Apr 2013 08:41:15 +0000 (16:41 +0800)]
Fix devtools.

11 years agoAtomBrowserMainParts is platform-independent now.
Cheng Zhao [Fri, 12 Apr 2013 07:57:17 +0000 (15:57 +0800)]
AtomBrowserMainParts is platform-independent now.

11 years agouse AtomEventProcessingWindow as native window.
Cheng Zhao [Fri, 12 Apr 2013 07:53:29 +0000 (15:53 +0800)]
use AtomEventProcessingWindow as native window.

11 years agoSteal ChromeEventProcessingWindow from chrome.
Cheng Zhao [Fri, 12 Apr 2013 07:24:36 +0000 (15:24 +0800)]
Steal ChromeEventProcessingWindow from chrome.

Chromium has done quite a lot of low level works for us, steal them to
ease our lives.

11 years agoImplement generic native window class.
Cheng Zhao [Fri, 12 Apr 2013 07:04:46 +0000 (15:04 +0800)]
Implement generic native window class.

11 years agoInitial empty browser.
Cheng Zhao [Fri, 12 Apr 2013 01:46:58 +0000 (09:46 +0800)]
Initial empty browser.

11 years agoAdd submodules.
Cheng Zhao [Thu, 11 Apr 2013 11:55:35 +0000 (19:55 +0800)]
Add submodules.