Cheng Zhao [Wed, 24 Jul 2013 10:33:27 +0000 (18:33 +0800)]
[Win] Ignore 4049 link warning.
Cheng Zhao [Wed, 24 Jul 2013 07:37:40 +0000 (15:37 +0800)]
[Win] Update node: fix console and process.stdout.
Cheng Zhao [Wed, 24 Jul 2013 07:20:59 +0000 (15:20 +0800)]
Do not end the process when other exception occurs.
Cheng Zhao [Tue, 23 Jul 2013 11:19:11 +0000 (19:19 +0800)]
[Win] Poll events with GetQueuedCompletionStatus, fixes #41.
Cheng Zhao [Tue, 23 Jul 2013 08:55:09 +0000 (16:55 +0800)]
Should force the embed thread to quit when terminating.
Cheng Zhao [Tue, 23 Jul 2013 08:37:00 +0000 (16:37 +0800)]
[Win] Write log to file in Debug build.
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.
Cheng Zhao [Tue, 23 Jul 2013 05:08:40 +0000 (13:08 +0800)]
Move the watcher queue hack to NodeBindingsMac.
It's mac only.
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.
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.
Cheng Zhao [Mon, 22 Jul 2013 08:41:52 +0000 (16:41 +0800)]
Use walkdir instead of findit, which supports Windows.
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.
Cheng Zhao [Mon, 22 Jul 2013 07:59:59 +0000 (15:59 +0800)]
Ship the filename_rules.gypi which is modified from chromium.
Cheng Zhao [Mon, 22 Jul 2013 07:25:39 +0000 (15:25 +0800)]
Cleanup the node bindings code.
Cheng Zhao [Mon, 22 Jul 2013 07:06:08 +0000 (15:06 +0800)]
Remove redundant calls to wake up main thread.
Cheng Zhao [Mon, 22 Jul 2013 06:58:25 +0000 (14:58 +0800)]
Move common message integration code to NodeBindings' base class.
Cheng Zhao [Mon, 22 Jul 2013 05:02:02 +0000 (13:02 +0800)]
Don't use gcd to post tasks to main thread.
Cheng Zhao [Fri, 19 Jul 2013 02:47:00 +0000 (10:47 +0800)]
Improve spec window's default behavior.
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.
Cheng Zhao [Thu, 18 Jul 2013 11:21:25 +0000 (19:21 +0800)]
Add BrowserWindow.inspectElement(x, y) API.
Cheng Zhao [Thu, 18 Jul 2013 10:37:40 +0000 (18:37 +0800)]
Fix how we detect renderer crash.
Cheng Zhao [Thu, 18 Jul 2013 07:19:36 +0000 (15:19 +0800)]
Add test for the unzip module.
Cheng Zhao [Wed, 17 Jul 2013 10:52:02 +0000 (18:52 +0800)]
Add two tests regarding crashes in context switching.
Cheng Zhao [Wed, 17 Jul 2013 10:51:16 +0000 (18:51 +0800)]
Install spec's third party modules in the source root.
Cheng Zhao [Wed, 17 Jul 2013 09:07:31 +0000 (17:07 +0800)]
Add test for setImmediate and process.nextTick.
Cheng Zhao [Wed, 17 Jul 2013 09:07:14 +0000 (17:07 +0800)]
Fix .gitignore.
Cheng Zhao [Wed, 17 Jul 2013 08:42:06 +0000 (16:42 +0800)]
Add script to run test.
Cheng Zhao [Wed, 17 Jul 2013 08:29:40 +0000 (16:29 +0800)]
Should install node modules for default_app and spec when bootstrap.
Cheng Zhao [Wed, 17 Jul 2013 08:28:14 +0000 (16:28 +0800)]
Add empty spec skeleton.
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.
Cheng Zhao [Wed, 17 Jul 2013 02:57:25 +0000 (10:57 +0800)]
Make sure atom-shell is build before creating distribution.
Cheng Zhao [Wed, 17 Jul 2013 02:51:58 +0000 (10:51 +0800)]
cefode-node is renamed to node.
Cheng Zhao [Wed, 17 Jul 2013 02:48:00 +0000 (10:48 +0800)]
Update node: fix process.nextTick.
Cheng Zhao [Mon, 15 Jul 2013 09:39:53 +0000 (17:39 +0800)]
Restart renderer when reloading in the default app.
Cheng Zhao [Mon, 15 Jul 2013 07:45:10 +0000 (15:45 +0800)]
Update node: use node's implementation of setImmediate.
Fixes #35.
Cheng Zhao [Wed, 10 Jul 2013 08:10:38 +0000 (16:10 +0800)]
Add 'open-url' event for app API. Fixes #36.
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.
Cheng Zhao [Wed, 10 Jul 2013 03:39:49 +0000 (11:39 +0800)]
Remove the :evil: loop.
Cheng Zhao [Wed, 10 Jul 2013 00:36:26 +0000 (08:36 +0800)]
Update gyp and depot_tools.
Cheng Zhao [Tue, 9 Jul 2013 14:57:02 +0000 (22:57 +0800)]
Update brightray.
Cheng Zhao [Tue, 9 Jul 2013 12:38:44 +0000 (20:38 +0800)]
Add process.activateUvLoop() API.
Cheng Zhao [Tue, 9 Jul 2013 04:26:31 +0000 (12:26 +0800)]
[Win] views_chromiumcontent.lib is renamed to chromiumviews.lib.
Cheng Zhao [Tue, 9 Jul 2013 02:22:38 +0000 (10:22 +0800)]
Link to the views module as static library.
Cheng Zhao [Mon, 8 Jul 2013 09:24:54 +0000 (17:24 +0800)]
[Win] Add custom frame view implementation for native window.
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.
Cheng Zhao [Mon, 8 Jul 2013 09:06:56 +0000 (17:06 +0800)]
[Win] Force using native frame.
Cheng Zhao [Mon, 8 Jul 2013 09:00:42 +0000 (17:00 +0800)]
[Win] Provide ClientView implementation.
Cheng Zhao [Mon, 8 Jul 2013 04:42:26 +0000 (12:42 +0800)]
Update node: fix cefode.js on Windows.
Cheng Zhao [Mon, 8 Jul 2013 03:09:53 +0000 (11:09 +0800)]
[Win] Print log to stderr instead of debug.log.
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.
Cheng Zhao [Mon, 8 Jul 2013 01:55:38 +0000 (09:55 +0800)]
Also ship content_shell.pak on Windows.
Cheng Zhao [Sun, 7 Jul 2013 08:26:59 +0000 (16:26 +0800)]
cpplint :lipstick:
Cheng Zhao [Sun, 7 Jul 2013 08:25:50 +0000 (16:25 +0800)]
Use depot_tools to provide ninja binary and cpplint.
Cheng Zhao [Sun, 7 Jul 2013 03:20:30 +0000 (11:20 +0800)]
Use process.resourcePath to locate js files.
Cheng Zhao [Sat, 6 Jul 2013 00:38:03 +0000 (08:38 +0800)]
Update brightray: fix linking errors of libchromiumcontent.
Cheng Zhao [Sat, 6 Jul 2013 00:29:08 +0000 (08:29 +0800)]
Compile out a working exe!
Cheng Zhao [Fri, 5 Jul 2013 10:33:37 +0000 (18:33 +0800)]
Implement basic methods of NativeWindowWin.
Cheng Zhao [Fri, 5 Jul 2013 02:23:10 +0000 (10:23 +0800)]
Add dummy implemenation of accelerator_util for Windows.
Cheng Zhao [Fri, 5 Jul 2013 02:13:09 +0000 (10:13 +0800)]
Add dummy implementation of file dialog for Windows.
Cheng Zhao [Fri, 5 Jul 2013 01:59:53 +0000 (09:59 +0800)]
Add dummy implementation of message box for Windows.
Cheng Zhao [Fri, 5 Jul 2013 01:44:56 +0000 (09:44 +0800)]
Add dummny menu implementation for Windows.
Cheng Zhao [Thu, 4 Jul 2013 13:18:28 +0000 (21:18 +0800)]
Add dummy implementaions of node integration in Windows.
Cheng Zhao [Thu, 4 Jul 2013 12:58:28 +0000 (20:58 +0800)]
Implement browser related functions in Windows.
Cheng Zhao [Thu, 4 Jul 2013 12:09:11 +0000 (20:09 +0800)]
Mark OS X only implementations in BrowserMainParts.
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.
Cheng Zhao [Thu, 4 Jul 2013 09:00:16 +0000 (17:00 +0800)]
:lipstick:
Cheng Zhao [Thu, 4 Jul 2013 07:54:34 +0000 (15:54 +0800)]
Seperate implementation of crash reporter to standalone class.
Cheng Zhao [Thu, 4 Jul 2013 07:37:45 +0000 (15:37 +0800)]
Add empty auto updater implementation for Windows.
Cheng Zhao [Thu, 4 Jul 2013 07:30:48 +0000 (15:30 +0800)]
Implement simple Beep() on Windows.
Cheng Zhao [Thu, 4 Jul 2013 07:27:52 +0000 (15:27 +0800)]
Implement MoveItemToTrash on Windows.
Cheng Zhao [Tue, 2 Jul 2013 10:47:51 +0000 (18:47 +0800)]
Use the platform_util_win implementation from Chromium.
Cheng Zhao [Wed, 3 Jul 2013 09:46:14 +0000 (17:46 +0800)]
Fix uploading the version file to wrong place.
Cheng Zhao [Wed, 3 Jul 2013 05:36:30 +0000 (13:36 +0800)]
Update to latest brightray.
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.
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.
Cheng Zhao [Tue, 2 Jul 2013 10:47:51 +0000 (18:47 +0800)]
Use the platform_util_win implementation from Chromium.
Cheng Zhao [Tue, 2 Jul 2013 10:30:39 +0000 (18:30 +0800)]
Update node: fix link error in uv.
Cheng Zhao [Tue, 2 Jul 2013 10:02:55 +0000 (18:02 +0800)]
Fix main function on Windows.
Cheng Zhao [Tue, 2 Jul 2013 09:33:43 +0000 (17:33 +0800)]
Update brightray: fix building with ninja.
Cheng Zhao [Tue, 2 Jul 2013 04:10:14 +0000 (12:10 +0800)]
Rename source_root to atom_source_root to avoid conflicts.
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.
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.
Cheng Zhao [Tue, 2 Jul 2013 01:28:48 +0000 (09:28 +0800)]
Update node: removed a few more unused patches.
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.
Cheng Zhao [Tue, 2 Jul 2013 00:52:06 +0000 (08:52 +0800)]
Define 'python' variable in atom-shell.
Removed a patch in node.
Cheng Zhao [Mon, 1 Jul 2013 14:27:14 +0000 (22:27 +0800)]
Fix update-frameworks.
Cheng Zhao [Mon, 1 Jul 2013 14:21:31 +0000 (22:21 +0800)]
Implement main function on Windows.
Cheng Zhao [Mon, 1 Jul 2013 14:01:17 +0000 (22:01 +0800)]
Fix compilation errors and warnings on native_window.cc.
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.
Cheng Zhao [Mon, 1 Jul 2013 13:54:18 +0000 (21:54 +0800)]
Ranged for is not supported by VS 2010.
Cheng Zhao [Mon, 1 Jul 2013 13:47:21 +0000 (21:47 +0800)]
snprintf is not supported by VS.
Cheng Zhao [Mon, 1 Jul 2013 13:44:25 +0000 (21:44 +0800)]
Implement converting string vector to char pointer array on Windows.
Cheng Zhao [Mon, 1 Jul 2013 13:35:00 +0000 (21:35 +0800)]
Implement process.crash() 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.
Cheng Zhao [Mon, 1 Jul 2013 10:45:46 +0000 (18:45 +0800)]
Fix warnings in http_parser.
Cheng Zhao [Mon, 1 Jul 2013 10:36:58 +0000 (18:36 +0800)]
Fix two warnings in openssl.
Cheng Zhao [Mon, 1 Jul 2013 10:31:23 +0000 (18:31 +0800)]
Compile atom_lib with C++ exception enabled.
Cheng Zhao [Mon, 1 Jul 2013 10:04:15 +0000 (18:04 +0800)]
Fix calling compile-coffee under cygwin.
Cheng Zhao [Mon, 1 Jul 2013 09:58:01 +0000 (17:58 +0800)]
Make node static library build.
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 :-(