Cheng Zhao
55034be104
Add power-monitor module, fixes #45 .
2013-08-03 16:03:56 +08:00
Cheng Zhao
79870494df
Add test for native modules.
2013-08-01 15:40:54 +08:00
Cheng Zhao
394fb77ee0
[Win] Implement dialog.showSaveDialog.
2013-08-01 15:39:53 +08:00
Cheng Zhao
d888f5cc31
Revert "Enable getUserMedia(). Part of fixes for #31."
...
Now the getUserMedia is implemented in brightray.
This reverts commit f26db5c7a1
.
Conflicts:
atom.gyp
2013-08-01 14:50:06 +08:00
Cheng Zhao
51cf1db652
Update brightray.
2013-07-31 13:05:30 +08:00
Cheng Zhao
2c237e9d08
Update node: fix child_process.fork on Windows.
2013-07-31 12:36:29 +08:00
Cheng Zhao
0acaff48b8
Update node: fix process.stdio.
2013-07-31 12:30:07 +08:00
Cheng Zhao
247f7a51eb
Fix the update-node script.
2013-07-31 12:14:58 +08:00
Cheng Zhao
52a3dc8c9d
Show devtools on right click in specs window.
2013-07-31 10:55:47 +08:00
Cheng Zhao
02de9c3b39
Enable idle GC for both browser and renderer.
2013-07-29 20:50:03 +08:00
Cheng Zhao
4acbbd1ad7
Discard the idle gc module.
2013-07-29 20:34:07 +08:00
Cheng Zhao
e995383401
Guard against double erasing an object, fixes #44 .
2013-07-29 19:14:35 +08:00
Cheng Zhao
402dc2f5d2
Expose gc() in specs.
2013-07-29 16:35:42 +08:00
Cheng Zhao
cd19666307
Remove the useless remote.getObject API.
2013-07-29 16:35:25 +08:00
Cheng Zhao
e1ac21aa7a
Add script translate addresses in crash report into symbols.
2013-07-28 10:04:56 +08:00
Cheng Zhao
f8090dc010
Fix the update-node script for our new style of URLs.
2013-07-26 19:52:47 +08:00
Cheng Zhao
d7351f102f
Update node to v0.10.5.
2013-07-26 19:31:58 +08:00
Cheng Zhao
64b68add3d
Update to latest libchromiumcontent and node.
2013-07-26 19:18:27 +08:00
Cheng Zhao
51a632d7d9
Don't make use of the 'id' property when sending objects.
...
Fixes #43 .
2013-07-26 16:40:29 +08:00
Cheng Zhao
511b2a4422
Add test for id property of remote object.
2013-07-26 16:40:29 +08:00
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