Commit graph

391 commits

Author SHA1 Message Date
Cheng Zhao
47686b3233 [Win] Add key bindings for message box. 2013-07-25 21:04:33 +08:00
Cheng Zhao
2f2cbce9b9 [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.
2013-07-25 20:06:23 +08:00
Cheng Zhao
a163b148ce [Win] Show title and message's detail. 2013-07-25 17:06:08 +08:00
Cheng Zhao
21f59ec730 [Win] Message box now returns the right result. 2013-07-25 16:56:02 +08:00
Cheng Zhao
e2898d4f2a [Win] Layout the buttons of message box manually. 2013-07-25 16:19:40 +08:00
Cheng Zhao
da2a21f97d [Win] Layout the buttons. 2013-07-25 15:47:12 +08:00
Cheng Zhao
23452172ed [Win] Use system's window background for message box. 2013-07-25 15:30:44 +08:00
Cheng Zhao
489c5daff5 [Win] Show buttons in message box. 2013-07-25 15:22:44 +08:00
Cheng Zhao
2e7dcade25 [Win] Make message box modal. 2013-07-24 18:51:03 +08:00
Cheng Zhao
8d41c27a8c [Win] Show an empty window for ShowMessageBox. 2013-07-24 18:34:50 +08:00
Cheng Zhao
b91f29429e Fix updating the win32 python repo. 2013-07-24 18:33:49 +08:00
Cheng Zhao
41f0f9bcf3 [Win] Ignore 4049 link warning. 2013-07-24 18:33:27 +08:00
Cheng Zhao
bbc049ba3a [Win] Update node: fix console and process.stdout. 2013-07-24 15:37:40 +08:00
Cheng Zhao
a7557a9626 Do not end the process when other exception occurs. 2013-07-24 15:20:59 +08:00
Cheng Zhao
85e4e99e7f [Win] Poll events with GetQueuedCompletionStatus, fixes #41. 2013-07-23 19:19:11 +08:00
Cheng Zhao
767354476b Should force the embed thread to quit when terminating. 2013-07-23 16:55:09 +08:00
Cheng Zhao
7d61dcdde1 [Win] Write log to file in Debug build. 2013-07-23 16:37:00 +08:00
Cheng Zhao
e248e2ffc8 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.
2013-07-23 15:29:56 +08:00
Cheng Zhao
9efde9577a Move the watcher queue hack to NodeBindingsMac.
It's mac only.
2013-07-23 13:08:40 +08:00
Cheng Zhao
620c9fa109 remote.require should return the same object for the same module.
This is required to use jasmine to test methods of the remote module.
2013-07-23 11:59:07 +08:00
Cheng Zhao
2f9c30dd50 [Win] Simply poll events for every 50ms.
This only makes async functions half work, will use IOCP for the
polling.
2013-07-22 16:43:58 +08:00
Cheng Zhao
7ad8c3b569 Use walkdir instead of findit, which supports Windows. 2013-07-22 16:41:52 +08:00
Cheng Zhao
008b8d404d 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.
2013-07-22 16:05:35 +08:00
Cheng Zhao
bc62d8c2c5 Ship the filename_rules.gypi which is modified from chromium. 2013-07-22 15:59:59 +08:00
Cheng Zhao
fa9e939745 Cleanup the node bindings code. 2013-07-22 15:25:39 +08:00
Cheng Zhao
1f019b36d2 Remove redundant calls to wake up main thread. 2013-07-22 15:06:08 +08:00
Cheng Zhao
00fda0e778 Move common message integration code to NodeBindings' base class. 2013-07-22 14:58:25 +08:00
Cheng Zhao
41ff753339 Don't use gcd to post tasks to main thread. 2013-07-22 13:03:13 +08:00
Cheng Zhao
5bbb41415a Improve spec window's default behavior. 2013-07-19 10:47:00 +08:00
Cheng Zhao
99c37fc902 [Win] Pass relative path in the test script.
Parameter starting with '/' could be thought as switches under Windows.
2013-07-19 10:41:24 +08:00
Cheng Zhao
d59fb55a81 Add BrowserWindow.inspectElement(x, y) API. 2013-07-18 19:21:25 +08:00
Cheng Zhao
4ddd1bccb4 Fix how we detect renderer crash. 2013-07-18 18:37:40 +08:00
Cheng Zhao
36f125f3d3 Add test for the unzip module. 2013-07-18 15:19:36 +08:00
Cheng Zhao
42a6a7d0d3 Add two tests regarding crashes in context switching. 2013-07-17 18:52:02 +08:00
Cheng Zhao
ec33b4d579 Install spec's third party modules in the source root. 2013-07-17 18:51:16 +08:00
Cheng Zhao
1d9fca25dc Add test for setImmediate and process.nextTick. 2013-07-17 17:07:31 +08:00
Cheng Zhao
5f443ebbb0 Fix .gitignore. 2013-07-17 17:07:14 +08:00
Cheng Zhao
2af41ae56d Add script to run test. 2013-07-17 16:42:06 +08:00
Cheng Zhao
45285c8c9c Should install node modules for default_app and spec when bootstrap. 2013-07-17 16:29:40 +08:00
Cheng Zhao
2560782d54 Add empty spec skeleton. 2013-07-17 16:28:14 +08:00
Cheng Zhao
9b828ce39a Start the specified app if there is one in command line parameters. 2013-07-17 16:21:33 +08:00
Cheng Zhao
a3d362127e Make sure atom-shell is build before creating distribution. 2013-07-17 10:57:25 +08:00
Cheng Zhao
2d75fdd4f5 cefode-node is renamed to node. 2013-07-17 10:51:58 +08:00
Cheng Zhao
6045a5299f Update node: fix process.nextTick. 2013-07-17 10:48:00 +08:00
Cheng Zhao
4a47ceb730 Restart renderer when reloading in the default app. 2013-07-15 17:39:53 +08:00
Cheng Zhao
4d1d1fee9e Update node: use node's implementation of setImmediate.
Fixes #35.
2013-07-15 15:45:10 +08:00
Cheng Zhao
23dd5b4da8 Add 'open-url' event for app API. Fixes #36. 2013-07-10 18:59:21 +08:00
Cheng Zhao
ce569ebf78 Enable the UI thread in browser to receive synchronous messages.
This is required to send synchronous message from renderer to browser.
2013-07-10 12:36:02 +08:00
Cheng Zhao
9c52af8253 Remove the :evil: loop. 2013-07-10 11:39:49 +08:00
Cheng Zhao
598f3cdcd9 Update gyp and depot_tools. 2013-07-10 08:36:26 +08:00