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
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
a7557a9626
Do not end the process when other exception occurs.
2013-07-24 15:20:59 +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
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
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
9b828ce39a
Start the specified app if there is one in command line parameters.
2013-07-17 16:21:33 +08:00
Cheng Zhao
4a47ceb730
Restart renderer when reloading in the default app.
2013-07-15 17:39:53 +08:00
Cheng Zhao
23dd5b4da8
Add 'open-url' event for app API. Fixes #36 .
2013-07-10 18:59:21 +08:00
Cheng Zhao
9c52af8253
Remove the :evil: loop.
2013-07-10 11:39:49 +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
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
b5bc347cd4
cpplint 💄
2013-07-07 16:26:59 +08:00
Cheng Zhao
3cd910abc6
Use process.resourcePath to locate js files.
2013-07-07 11:20:30 +08:00
Cheng Zhao
d473fcbf64
Implement basic methods of NativeWindowWin.
2013-07-05 18:33:37 +08:00
Cheng Zhao
ec147010fd
Add dummy implemenation of accelerator_util for Windows.
2013-07-05 10:23:10 +08:00
Cheng Zhao
3d77ee9d3b
Add dummy implementation of file dialog for Windows.
2013-07-05 10:13:09 +08:00
Cheng Zhao
cbb3c89ad7
Add dummy implementation of message box for Windows.
2013-07-05 09:59:53 +08:00
Cheng Zhao
df460c8d7d
Add dummny menu implementation for Windows.
2013-07-05 09:44:56 +08:00
Cheng Zhao
803ec00378
Add dummy implementaions of node integration in Windows.
2013-07-04 21:18:28 +08:00
Cheng Zhao
afca7464be
Implement browser related functions in Windows.
2013-07-04 20:58:28 +08:00
Cheng Zhao
947470b6ae
Mark OS X only implementations in BrowserMainParts.
2013-07-04 20:09:11 +08:00
Cheng Zhao
8bdf06131b
Separate the creation function of NodeBindings for renderer and browser.
...
On Windows the message loop integration would need two different
implementations.
2013-07-04 19:47:48 +08:00
Cheng Zhao
d82f2dd835
💄
2013-07-04 17:00:16 +08:00
Cheng Zhao
f146c1fe3b
Seperate implementation of crash reporter to standalone class.
2013-07-04 16:30:49 +08:00
Cheng Zhao
5f3b71e589
Add empty auto updater implementation for Windows.
2013-07-04 16:30:48 +08:00
Cheng Zhao
1b93ec1032
Fix compilation errors and warnings on native_window.cc.
2013-07-01 22:01:17 +08:00
Cheng Zhao
6bdf7c51b4
Don't rely on "iosfwd" for forward including std::string.
...
It seems that VS fails on this.
2013-07-01 21:56:46 +08:00
Cheng Zhao
0c6997b160
Fix passing null as window in dialog.showMessageBox.
2013-06-27 19:33:38 +08:00
Cheng Zhao
411e1a3685
Emit WindowCloseCancelled message when close is cancelled by user code.
2013-06-26 17:50:50 +08:00
Cheng Zhao
adacc2bcf9
Use applicationShouldTerminate to control whether application should quit.
2013-06-26 17:48:59 +08:00
Cheng Zhao
6bb3f1bba8
Merge branch 'master' into python
...
Conflicts:
script/update
2013-06-22 07:55:51 +08:00
Cheng Zhao
f26db5c7a1
Enable getUserMedia(). Part of fixes for #31 .
2013-06-21 16:05:28 +08:00
Cheng Zhao
6d187cbb7d
Build atom-shell with ninja.
2013-06-19 21:34:43 +08:00
Cheng Zhao
7138d3a58d
Add app.getHomeDir() API.
2013-06-19 13:49:58 +08:00
Cheng Zhao
81aea6a4b9
Add app.getVersion() API. Fixes #28 .
2013-06-19 13:44:17 +08:00
Cheng Zhao
a79649c43f
Add platform method to return executable(bundle)'s version.
2013-06-19 13:41:54 +08:00