Commit graph

13524 commits

Author SHA1 Message Date
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
Cheng Zhao
9ca650ffcc Update brightray. 2013-07-09 22:57:02 +08:00
Cheng Zhao
25d9c1a14d Add process.activateUvLoop() API. 2013-07-09 20:38:44 +08:00
Cheng Zhao
4c71fbb68b [Win] views_chromiumcontent.lib is renamed to chromiumviews.lib. 2013-07-09 12:26:31 +08:00
Cheng Zhao
7dae2c4966 Link to the views module as static library. 2013-07-09 10:22:38 +08:00
Cheng Zhao
9e3772ff0f [Win] Add custom frame view implementation for native window. 2013-07-08 17:24:54 +08:00
Cheng Zhao
528e6d2679 [Win] No need to manually to control the visibility of maximize button. 2013-07-08 17:09:11 +08:00
Cheng Zhao
739465582f [Win] Force using native frame. 2013-07-08 17:06:56 +08:00
Cheng Zhao
64329268b8 [Win] Provide ClientView implementation. 2013-07-08 17:00:42 +08:00
Cheng Zhao
6a48faebe3 Update node: fix cefode.js on Windows. 2013-07-08 12:42:26 +08:00
Cheng Zhao
2282c53485 [Win] Print log to stderr instead of debug.log. 2013-07-08 11:09:53 +08:00
Cheng Zhao
7047e5167f [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.
2013-07-08 10:48:59 +08:00
Cheng Zhao
525433905b Also ship content_shell.pak on Windows. 2013-07-08 09:55:38 +08:00
Cheng Zhao
b5bc347cd4 cpplint 💄 2013-07-07 16:26:59 +08:00
Cheng Zhao
950c09f2e7 Use depot_tools to provide ninja binary and cpplint. 2013-07-07 16:25:50 +08:00
Cheng Zhao
3cd910abc6 Use process.resourcePath to locate js files. 2013-07-07 11:20:30 +08:00
Cheng Zhao
72f74d7c0d Update brightray: fix linking errors of libchromiumcontent. 2013-07-06 08:38:03 +08:00
Cheng Zhao
7c44d1fa3e Compile out a working exe! 2013-07-06 08:29:08 +08:00