platform/framework/web/crosswalk-tizen.git
11 years agoDon't make use of the 'id' property when sending objects.
Cheng Zhao [Fri, 26 Jul 2013 08:39:22 +0000 (16:39 +0800)]
Don't make use of the 'id' property when sending objects.

Fixes #43.

11 years agoAdd test for id property of remote object.
Cheng Zhao [Fri, 26 Jul 2013 07:53:00 +0000 (15:53 +0800)]
Add test for id property of remote object.

11 years ago[Win] Add key bindings for message box.
Cheng Zhao [Thu, 25 Jul 2013 13:04:33 +0000 (21:04 +0800)]
[Win] Add key bindings for message box.

11 years ago[Win] Override node's console and output stream with chromium's logging.
Cheng Zhao [Thu, 25 Jul 2013 12:06:23 +0000 (20:06 +0800)]
[Win] Override node's console and output stream with chromium's logging.

On Window node doesn't outputing as GUI program, so we have to switch to
chromium's implementation. Hacking into node (like what we did before
this commit) would sometimes make the outputing blocked.

11 years ago[Win] Show title and message's detail.
Cheng Zhao [Thu, 25 Jul 2013 09:06:08 +0000 (17:06 +0800)]
[Win] Show title and message's detail.

11 years ago[Win] Message box now returns the right result.
Cheng Zhao [Thu, 25 Jul 2013 08:56:02 +0000 (16:56 +0800)]
[Win] Message box now returns the right result.

11 years ago[Win] Layout the buttons of message box manually.
Cheng Zhao [Thu, 25 Jul 2013 08:19:40 +0000 (16:19 +0800)]
[Win] Layout the buttons of message box manually.

11 years ago[Win] Layout the buttons.
Cheng Zhao [Thu, 25 Jul 2013 07:47:12 +0000 (15:47 +0800)]
[Win] Layout the buttons.

11 years ago[Win] Use system's window background for message box.
Cheng Zhao [Thu, 25 Jul 2013 07:30:44 +0000 (15:30 +0800)]
[Win] Use system's window background for message box.

11 years ago[Win] Show buttons in message box.
Cheng Zhao [Thu, 25 Jul 2013 07:22:44 +0000 (15:22 +0800)]
[Win] Show buttons in message box.

11 years ago[Win] Make message box modal.
Cheng Zhao [Wed, 24 Jul 2013 10:51:03 +0000 (18:51 +0800)]
[Win] Make message box modal.

11 years ago[Win] Show an empty window for ShowMessageBox.
Cheng Zhao [Wed, 24 Jul 2013 10:34:50 +0000 (18:34 +0800)]
[Win] Show an empty window for ShowMessageBox.

11 years agoFix updating the win32 python repo.
Cheng Zhao [Wed, 24 Jul 2013 10:33:49 +0000 (18:33 +0800)]
Fix updating the win32 python repo.

11 years ago[Win] Ignore 4049 link warning.
Cheng Zhao [Wed, 24 Jul 2013 10:33:27 +0000 (18:33 +0800)]
[Win] Ignore 4049 link warning.

11 years ago[Win] Update node: fix console and process.stdout.
Cheng Zhao [Wed, 24 Jul 2013 07:37:40 +0000 (15:37 +0800)]
[Win] Update node: fix console and process.stdout.

11 years agoDo not end the process when other exception occurs.
Cheng Zhao [Wed, 24 Jul 2013 07:20:59 +0000 (15:20 +0800)]
Do not end the process when other exception occurs.

11 years ago[Win] Poll events with GetQueuedCompletionStatus, fixes #41.
Cheng Zhao [Tue, 23 Jul 2013 11:19:11 +0000 (19:19 +0800)]
[Win] Poll events with GetQueuedCompletionStatus, fixes #41.

11 years agoShould force the embed thread to quit when terminating.
Cheng Zhao [Tue, 23 Jul 2013 08:55:09 +0000 (16:55 +0800)]
Should force the embed thread to quit when terminating.

11 years ago[Win] Write log to file in Debug build.
Cheng Zhao [Tue, 23 Jul 2013 08:37:00 +0000 (16:37 +0800)]
[Win] Write log to file in Debug build.

11 years agoDelay the unresponsive message for a second, fixes #42.
Cheng Zhao [Tue, 23 Jul 2013 07:29:56 +0000 (15:29 +0800)]
Delay the unresponsive message for a second, fixes #42.

It could happen that a window became responsive immediately after the
unresponsive message is sent (for example, the window was blocked by
showing a save as dialog), by delaying sending the unresponsive message
for a second, we can give the window a chance to whether it's really
unresponsive or not.

11 years agoMove the watcher queue hack to NodeBindingsMac.
Cheng Zhao [Tue, 23 Jul 2013 05:08:40 +0000 (13:08 +0800)]
Move the watcher queue hack to NodeBindingsMac.

It's mac only.

11 years agoremote.require should return the same object for the same module.
Cheng Zhao [Tue, 23 Jul 2013 03:59:07 +0000 (11:59 +0800)]
remote.require should return the same object for the same module.

This is required to use jasmine to test methods of the remote module.

11 years ago[Win] Simply poll events for every 50ms.
Cheng Zhao [Mon, 22 Jul 2013 08:43:58 +0000 (16:43 +0800)]
[Win] Simply poll events for every 50ms.

This only makes async functions half work, will use IOCP for the
polling.

11 years agoUse walkdir instead of findit, which supports Windows.
Cheng Zhao [Mon, 22 Jul 2013 08:41:52 +0000 (16:41 +0800)]
Use walkdir instead of findit, which supports Windows.

11 years agoDon't separate node bindings into renderer and browser part.
Cheng Zhao [Mon, 22 Jul 2013 08:05:35 +0000 (16:05 +0800)]
Don't separate node bindings into renderer and browser part.

Since we are going to use embeding thread to implement message
integration on all platforms, we do not need to separate renderer and
browser anymore.

11 years agoShip the filename_rules.gypi which is modified from chromium.
Cheng Zhao [Mon, 22 Jul 2013 07:59:59 +0000 (15:59 +0800)]
Ship the filename_rules.gypi which is modified from chromium.

11 years agoCleanup the node bindings code.
Cheng Zhao [Mon, 22 Jul 2013 07:25:39 +0000 (15:25 +0800)]
Cleanup the node bindings code.

11 years agoRemove redundant calls to wake up main thread.
Cheng Zhao [Mon, 22 Jul 2013 07:06:08 +0000 (15:06 +0800)]
Remove redundant calls to wake up main thread.

11 years agoMove common message integration code to NodeBindings' base class.
Cheng Zhao [Mon, 22 Jul 2013 06:58:25 +0000 (14:58 +0800)]
Move common message integration code to NodeBindings' base class.

11 years agoDon't use gcd to post tasks to main thread.
Cheng Zhao [Mon, 22 Jul 2013 05:02:02 +0000 (13:02 +0800)]
Don't use gcd to post tasks to main thread.

11 years agoImprove spec window's default behavior.
Cheng Zhao [Fri, 19 Jul 2013 02:47:00 +0000 (10:47 +0800)]
Improve spec window's default behavior.

11 years ago[Win] Pass relative path in the test script.
Cheng Zhao [Fri, 19 Jul 2013 02:41:24 +0000 (10:41 +0800)]
[Win] Pass relative path in the test script.

Parameter starting with '/' could be thought as switches under Windows.

11 years agoAdd BrowserWindow.inspectElement(x, y) API.
Cheng Zhao [Thu, 18 Jul 2013 11:21:25 +0000 (19:21 +0800)]
Add BrowserWindow.inspectElement(x, y) API.

11 years agoFix how we detect renderer crash.
Cheng Zhao [Thu, 18 Jul 2013 10:37:40 +0000 (18:37 +0800)]
Fix how we detect renderer crash.

11 years agoAdd test for the unzip module.
Cheng Zhao [Thu, 18 Jul 2013 07:19:36 +0000 (15:19 +0800)]
Add test for the unzip module.

11 years agoAdd two tests regarding crashes in context switching.
Cheng Zhao [Wed, 17 Jul 2013 10:52:02 +0000 (18:52 +0800)]
Add two tests regarding crashes in context switching.

11 years agoInstall spec's third party modules in the source root.
Cheng Zhao [Wed, 17 Jul 2013 10:51:16 +0000 (18:51 +0800)]
Install spec's third party modules in the source root.

11 years agoAdd test for setImmediate and process.nextTick.
Cheng Zhao [Wed, 17 Jul 2013 09:07:31 +0000 (17:07 +0800)]
Add test for setImmediate and process.nextTick.

11 years agoFix .gitignore.
Cheng Zhao [Wed, 17 Jul 2013 09:07:14 +0000 (17:07 +0800)]
Fix .gitignore.

11 years agoAdd script to run test.
Cheng Zhao [Wed, 17 Jul 2013 08:42:06 +0000 (16:42 +0800)]
Add script to run test.

11 years agoShould install node modules for default_app and spec when bootstrap.
Cheng Zhao [Wed, 17 Jul 2013 08:29:40 +0000 (16:29 +0800)]
Should install node modules for default_app and spec when bootstrap.

11 years agoAdd empty spec skeleton.
Cheng Zhao [Wed, 17 Jul 2013 08:28:14 +0000 (16:28 +0800)]
Add empty spec skeleton.

11 years agoStart the specified app if there is one in command line parameters.
Cheng Zhao [Wed, 17 Jul 2013 08:21:33 +0000 (16:21 +0800)]
Start the specified app if there is one in command line parameters.

11 years agoMake sure atom-shell is build before creating distribution.
Cheng Zhao [Wed, 17 Jul 2013 02:57:25 +0000 (10:57 +0800)]
Make sure atom-shell is build before creating distribution.

11 years agocefode-node is renamed to node.
Cheng Zhao [Wed, 17 Jul 2013 02:51:58 +0000 (10:51 +0800)]
cefode-node is renamed to node.

11 years agoUpdate node: fix process.nextTick.
Cheng Zhao [Wed, 17 Jul 2013 02:48:00 +0000 (10:48 +0800)]
Update node: fix process.nextTick.

11 years agoRestart renderer when reloading in the default app.
Cheng Zhao [Mon, 15 Jul 2013 09:39:53 +0000 (17:39 +0800)]
Restart renderer when reloading in the default app.

11 years agoUpdate node: use node's implementation of setImmediate.
Cheng Zhao [Mon, 15 Jul 2013 07:45:10 +0000 (15:45 +0800)]
Update node: use node's implementation of setImmediate.

Fixes #35.

11 years agoAdd 'open-url' event for app API. Fixes #36.
Cheng Zhao [Wed, 10 Jul 2013 08:10:38 +0000 (16:10 +0800)]
Add 'open-url' event for app API. Fixes #36.

11 years agoEnable the UI thread in browser to receive synchronous messages.
Cheng Zhao [Wed, 10 Jul 2013 04:36:02 +0000 (12:36 +0800)]
Enable the UI thread in browser to receive synchronous messages.

This is required to send synchronous message from renderer to browser.

11 years agoRemove the :evil: loop.
Cheng Zhao [Wed, 10 Jul 2013 03:39:49 +0000 (11:39 +0800)]
Remove the :evil: loop.

11 years agoUpdate gyp and depot_tools.
Cheng Zhao [Wed, 10 Jul 2013 00:36:26 +0000 (08:36 +0800)]
Update gyp and depot_tools.

11 years agoUpdate brightray.
Cheng Zhao [Tue, 9 Jul 2013 14:57:02 +0000 (22:57 +0800)]
Update brightray.

11 years agoAdd process.activateUvLoop() API.
Cheng Zhao [Tue, 9 Jul 2013 12:38:44 +0000 (20:38 +0800)]
Add process.activateUvLoop() API.

11 years ago[Win] views_chromiumcontent.lib is renamed to chromiumviews.lib.
Cheng Zhao [Tue, 9 Jul 2013 04:26:31 +0000 (12:26 +0800)]
[Win] views_chromiumcontent.lib is renamed to chromiumviews.lib.

11 years agoLink to the views module as static library.
Cheng Zhao [Tue, 9 Jul 2013 02:22:38 +0000 (10:22 +0800)]
Link to the views module as static library.

11 years ago[Win] Add custom frame view implementation for native window.
Cheng Zhao [Mon, 8 Jul 2013 09:24:54 +0000 (17:24 +0800)]
[Win] Add custom frame view implementation for native window.

11 years ago[Win] No need to manually to control the visibility of maximize button.
Cheng Zhao [Mon, 8 Jul 2013 09:09:11 +0000 (17:09 +0800)]
[Win] No need to manually to control the visibility of maximize button.

11 years ago[Win] Force using native frame.
Cheng Zhao [Mon, 8 Jul 2013 09:06:56 +0000 (17:06 +0800)]
[Win] Force using native frame.

11 years ago[Win] Provide ClientView implementation.
Cheng Zhao [Mon, 8 Jul 2013 09:00:42 +0000 (17:00 +0800)]
[Win] Provide ClientView implementation.

11 years agoUpdate node: fix cefode.js on Windows.
Cheng Zhao [Mon, 8 Jul 2013 04:42:26 +0000 (12:42 +0800)]
Update node: fix cefode.js on Windows.

11 years ago[Win] Print log to stderr instead of debug.log.
Cheng Zhao [Mon, 8 Jul 2013 03:09:53 +0000 (11:09 +0800)]
[Win] Print log to stderr instead of debug.log.

11 years ago[Win] Implement simple delegate methods of Widget.
Cheng Zhao [Mon, 8 Jul 2013 02:48:59 +0000 (10:48 +0800)]
[Win] Implement simple delegate methods of Widget.

From now on I'll use [Win], [Mac] and [GTK] to mark commits that only
for each platform.

11 years agoAlso ship content_shell.pak on Windows.
Cheng Zhao [Mon, 8 Jul 2013 01:55:38 +0000 (09:55 +0800)]
Also ship content_shell.pak on Windows.

11 years agocpplint :lipstick:
Cheng Zhao [Sun, 7 Jul 2013 08:26:59 +0000 (16:26 +0800)]
cpplint :lipstick:

11 years agoUse depot_tools to provide ninja binary and cpplint.
Cheng Zhao [Sun, 7 Jul 2013 08:25:50 +0000 (16:25 +0800)]
Use depot_tools to provide ninja binary and cpplint.

11 years agoUse process.resourcePath to locate js files.
Cheng Zhao [Sun, 7 Jul 2013 03:20:30 +0000 (11:20 +0800)]
Use process.resourcePath to locate js files.

11 years agoUpdate brightray: fix linking errors of libchromiumcontent.
Cheng Zhao [Sat, 6 Jul 2013 00:38:03 +0000 (08:38 +0800)]
Update brightray: fix linking errors of libchromiumcontent.

11 years agoCompile out a working exe!
Cheng Zhao [Sat, 6 Jul 2013 00:29:08 +0000 (08:29 +0800)]
Compile out a working exe!

11 years agoImplement basic methods of NativeWindowWin.
Cheng Zhao [Fri, 5 Jul 2013 10:33:37 +0000 (18:33 +0800)]
Implement basic methods of NativeWindowWin.

11 years agoAdd dummy implemenation of accelerator_util for Windows.
Cheng Zhao [Fri, 5 Jul 2013 02:23:10 +0000 (10:23 +0800)]
Add dummy implemenation of accelerator_util for Windows.

11 years agoAdd dummy implementation of file dialog for Windows.
Cheng Zhao [Fri, 5 Jul 2013 02:13:09 +0000 (10:13 +0800)]
Add dummy implementation of file dialog for Windows.

11 years agoAdd dummy implementation of message box for Windows.
Cheng Zhao [Fri, 5 Jul 2013 01:59:53 +0000 (09:59 +0800)]
Add dummy implementation of message box for Windows.

11 years agoAdd dummny menu implementation for Windows.
Cheng Zhao [Fri, 5 Jul 2013 01:44:56 +0000 (09:44 +0800)]
Add dummny menu implementation for Windows.

11 years agoAdd dummy implementaions of node integration in Windows.
Cheng Zhao [Thu, 4 Jul 2013 13:18:28 +0000 (21:18 +0800)]
Add dummy implementaions of node integration in Windows.

11 years agoImplement browser related functions in Windows.
Cheng Zhao [Thu, 4 Jul 2013 12:58:28 +0000 (20:58 +0800)]
Implement browser related functions in Windows.

11 years agoMark OS X only implementations in BrowserMainParts.
Cheng Zhao [Thu, 4 Jul 2013 12:09:11 +0000 (20:09 +0800)]
Mark OS X only implementations in BrowserMainParts.

11 years agoSeparate the creation function of NodeBindings for renderer and browser.
Cheng Zhao [Thu, 4 Jul 2013 11:47:48 +0000 (19:47 +0800)]
Separate the creation function of NodeBindings for renderer and browser.

On Windows the message loop integration would need two different
implementations.

11 years ago:lipstick:
Cheng Zhao [Thu, 4 Jul 2013 09:00:16 +0000 (17:00 +0800)]
:lipstick:

11 years agoSeperate implementation of crash reporter to standalone class.
Cheng Zhao [Thu, 4 Jul 2013 07:54:34 +0000 (15:54 +0800)]
Seperate implementation of crash reporter to standalone class.

11 years agoAdd empty auto updater implementation for Windows.
Cheng Zhao [Thu, 4 Jul 2013 07:37:45 +0000 (15:37 +0800)]
Add empty auto updater implementation for Windows.

11 years agoImplement simple Beep() on Windows.
Cheng Zhao [Thu, 4 Jul 2013 07:30:48 +0000 (15:30 +0800)]
Implement simple Beep() on Windows.

11 years agoImplement MoveItemToTrash on Windows.
Cheng Zhao [Thu, 4 Jul 2013 07:27:52 +0000 (15:27 +0800)]
Implement MoveItemToTrash on Windows.

11 years agoUse the platform_util_win implementation from Chromium.
Cheng Zhao [Tue, 2 Jul 2013 10:47:51 +0000 (18:47 +0800)]
Use the platform_util_win implementation from Chromium.

11 years agoFix uploading the version file to wrong place.
Cheng Zhao [Wed, 3 Jul 2013 09:46:14 +0000 (17:46 +0800)]
Fix uploading the version file to wrong place.

11 years agoUpdate to latest brightray.
Cheng Zhao [Wed, 3 Jul 2013 05:36:30 +0000 (13:36 +0800)]
Update to latest brightray.

11 years agoMake sure the fake config.gypi can be parsed by node.js.
Cheng Zhao [Tue, 2 Jul 2013 14:32:14 +0000 (22:32 +0800)]
Make sure the fake config.gypi can be parsed by node.js.

11 years agoShould write a meaningful config.gypi for node.
Cheng Zhao [Tue, 2 Jul 2013 14:23:13 +0000 (22:23 +0800)]
Should write a meaningful config.gypi for node.

Node is parsing it for 'process.config', empty file would cause
exception.

11 years agoUse the platform_util_win implementation from Chromium.
Cheng Zhao [Tue, 2 Jul 2013 10:47:51 +0000 (18:47 +0800)]
Use the platform_util_win implementation from Chromium.

11 years agoUpdate node: fix link error in uv.
Cheng Zhao [Tue, 2 Jul 2013 10:30:39 +0000 (18:30 +0800)]
Update node: fix link error in uv.

11 years agoFix main function on Windows.
Cheng Zhao [Tue, 2 Jul 2013 10:02:55 +0000 (18:02 +0800)]
Fix main function on Windows.

11 years agoUpdate brightray: fix building with ninja.
Cheng Zhao [Tue, 2 Jul 2013 09:33:43 +0000 (17:33 +0800)]
Update brightray: fix building with ninja.

11 years agoRename source_root to atom_source_root to avoid conflicts.
Cheng Zhao [Tue, 2 Jul 2013 04:10:14 +0000 (12:10 +0800)]
Rename source_root to atom_source_root to avoid conflicts.

11 years agoDon't throw exception when gyp fails.
Cheng Zhao [Tue, 2 Jul 2013 01:33:11 +0000 (09:33 +0800)]
Don't throw exception when gyp fails.

This makes output cleaner when we got a gyp error.

11 years agoOnly create config.gypi if it doesn't exist.
Cheng Zhao [Tue, 2 Jul 2013 01:31:43 +0000 (09:31 +0800)]
Only create config.gypi if it doesn't exist.

Otherwise every call of bootstrap would trigger recompilation of some
files.

11 years agoUpdate node: removed a few more unused patches.
Cheng Zhao [Tue, 2 Jul 2013 01:28:48 +0000 (09:28 +0800)]
Update node: removed a few more unused patches.

11 years agoInclude node's config.gypi in atom-shell.
Cheng Zhao [Tue, 2 Jul 2013 01:16:56 +0000 (09:16 +0800)]
Include node's config.gypi in atom-shell.

Removed 3 commits of our node fork.

11 years agoDefine 'python' variable in atom-shell.
Cheng Zhao [Tue, 2 Jul 2013 00:52:06 +0000 (08:52 +0800)]
Define 'python' variable in atom-shell.

Removed a patch in node.

11 years agoFix update-frameworks.
Cheng Zhao [Mon, 1 Jul 2013 14:27:14 +0000 (22:27 +0800)]
Fix update-frameworks.

11 years agoImplement main function on Windows.
Cheng Zhao [Mon, 1 Jul 2013 14:21:31 +0000 (22:21 +0800)]
Implement main function on Windows.