platform/framework/web/crosswalk-tizen.git
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.

11 years agoFix compilation errors and warnings on native_window.cc.
Cheng Zhao [Mon, 1 Jul 2013 14:01:17 +0000 (22:01 +0800)]
Fix compilation errors and warnings on native_window.cc.

11 years agoDon't rely on "iosfwd" for forward including std::string.
Cheng Zhao [Mon, 1 Jul 2013 13:56:46 +0000 (21:56 +0800)]
Don't rely on "iosfwd" for forward including std::string.

It seems that VS fails on this.

11 years agoRanged for is not supported by VS 2010.
Cheng Zhao [Mon, 1 Jul 2013 13:54:18 +0000 (21:54 +0800)]
Ranged for is not supported by VS 2010.

11 years agosnprintf is not supported by VS.
Cheng Zhao [Mon, 1 Jul 2013 13:47:21 +0000 (21:47 +0800)]
snprintf is not supported by VS.

11 years agoImplement converting string vector to char pointer array on Windows.
Cheng Zhao [Mon, 1 Jul 2013 13:44:25 +0000 (21:44 +0800)]
Implement converting string vector to char pointer array on Windows.

11 years agoImplement process.crash() on Windows.
Cheng Zhao [Mon, 1 Jul 2013 13:35:00 +0000 (21:35 +0800)]
Implement process.crash() on Windows.

11 years agoShould enable C++ exceptions for all targets on Windows.
Cheng Zhao [Mon, 1 Jul 2013 12:52:48 +0000 (20:52 +0800)]
Should enable C++ exceptions for all targets on Windows.

It's a requirement for using standard library of VS.

11 years agoFix warnings in http_parser.
Cheng Zhao [Mon, 1 Jul 2013 10:45:46 +0000 (18:45 +0800)]
Fix warnings in http_parser.

11 years agoFix two warnings in openssl.
Cheng Zhao [Mon, 1 Jul 2013 10:36:58 +0000 (18:36 +0800)]
Fix two warnings in openssl.

11 years agoCompile atom_lib with C++ exception enabled.
Cheng Zhao [Mon, 1 Jul 2013 10:31:23 +0000 (18:31 +0800)]
Compile atom_lib with C++ exception enabled.

11 years agoFix calling compile-coffee under cygwin.
Cheng Zhao [Mon, 1 Jul 2013 10:04:15 +0000 (18:04 +0800)]
Fix calling compile-coffee under cygwin.

11 years agoMake node static library build.
Cheng Zhao [Mon, 1 Jul 2013 09:58:01 +0000 (17:58 +0800)]
Make node static library build.

11 years agoAdd switch to skip operations require networking.
Cheng Zhao [Mon, 1 Jul 2013 08:12:31 +0000 (16:12 +0800)]
Add switch to skip operations require networking.

I'm on a slow network :-(

11 years agoWe don't need to force updating to latest npm.
Cheng Zhao [Mon, 1 Jul 2013 08:06:37 +0000 (16:06 +0800)]
We don't need to force updating to latest npm.

11 years agoUse win32 python to call gyp when running under cygwin.
Cheng Zhao [Mon, 1 Jul 2013 07:49:52 +0000 (15:49 +0800)]
Use win32 python to call gyp when running under cygwin.

11 years agoIgnore vendor/python_26 in git.
Cheng Zhao [Mon, 1 Jul 2013 07:37:22 +0000 (15:37 +0800)]
Ignore vendor/python_26 in git.

11 years agoPull in precompiled python under cygwin.
Cheng Zhao [Mon, 1 Jul 2013 07:21:27 +0000 (15:21 +0800)]
Pull in precompiled python under cygwin.

11 years agoShip gyp.
Cheng Zhao [Fri, 28 Jun 2013 08:38:05 +0000 (16:38 +0800)]
Ship gyp.

11 years agoDo not ignore vendor/.
Cheng Zhao [Fri, 28 Jun 2013 08:15:52 +0000 (16:15 +0800)]
Do not ignore vendor/.

11 years agoOnly download frameworks on OS X.
Cheng Zhao [Fri, 28 Jun 2013 08:12:40 +0000 (16:12 +0800)]
Only download frameworks on OS X.

11 years agoUpdate npm after node is downloaded.
Cheng Zhao [Fri, 28 Jun 2013 08:10:12 +0000 (16:10 +0800)]
Update npm after node is downloaded.

So we can execute npm even without system node.