Cheng Zhao
77d6bb2c3f
Bring the close timeout back to 5s.
2014-05-09 12:10:37 +08:00
Cheng Zhao
3e6df19eff
Do not send "unresponsive" when window is closed.
2014-05-09 12:08:15 +08:00
Cheng Zhao
a070f0fdb6
Only cancel unresponsive event when window close is cancelled.
2014-05-09 11:40:48 +08:00
Cheng Zhao
146ce284de
Do not override pending unresponsive counter.
2014-05-09 11:38:57 +08:00
Cheng Zhao
d10292d95c
Do not receive notifications after window is closed, fixes #265 .
2014-05-09 09:47:11 +08:00
Cheng Zhao
676b1e0bc7
Fix closing a crashed window, closes #269 .
2014-05-09 09:26:46 +08:00
Cheng Zhao
f176b2c58f
Switch to use MIT license.
2014-05-04 20:29:08 +08:00
Cheng Zhao
dc9778f0f2
Fix compilation error on Windows.
2014-04-29 11:39:31 +08:00
Cheng Zhao
97006bcbc3
Bump the close timeout to 10s.
...
Fixes atom/atom#1838 .
2014-04-26 13:15:41 +08:00
Cheng Zhao
c0875864dc
Handle IPC messages in webContents instead of BrowserWindow.
2014-04-25 16:13:16 +08:00
Cheng Zhao
4135040449
Move loading events to webContents.
2014-04-25 12:22:16 +08:00
Cheng Zhao
859606e88c
Move webContents events away from window.
2014-04-25 11:51:05 +08:00
Cheng Zhao
c5f8fbf471
Add getter for devToolsWebContents.
2014-04-25 10:48:11 +08:00
Cheng Zhao
f6cca0df48
Remove redundant call to NotifyWindowClosed.
2014-04-23 11:21:17 +08:00
Cheng Zhao
8417f158b4
Do not free memory used by native window immediately.
...
Otherwise we would have two ways to destroy a window, making code much
more complicated.
2014-04-23 09:53:38 +08:00
Cheng Zhao
a040a96652
Discard all our custom V8 helpers, use native-mate instead.
2014-04-22 23:07:21 +08:00
Cheng Zhao
5c5cf3c66e
Fix a crash when destroying window.
2014-04-11 18:43:01 +08:00
Cheng Zhao
d6079782d1
mac: InspectableWebContents should be destroyed before release NSWindow.
...
Fixes atom/atom#1841 .
2014-04-11 12:32:42 +08:00
Cheng Zhao
b975d4c41f
Detect unresponsive window when quitting.
...
Preivously this is disabled because quitting multiple windows could
bring up the unresponsive dialog, but since we now have increased the
unresponsive time limitto 5s, this is not needed anymore and could cause
confusions.
Fixes #17 .
2014-04-08 14:24:44 +08:00
Cheng Zhao
d7a54cf3a6
Add API to execute javascript in devtools.
2014-04-08 12:50:12 +08:00
Cheng Zhao
98fcc93862
💄 Remove unsed constant.
2014-04-07 17:12:24 +08:00
Cheng Zhao
b21e5a6300
Fix capturePage under accelerated mode, fixes #223 .
2014-04-07 15:43:15 +08:00
Cheng Zhao
ac11c95da6
Increase the closing time limit to 5s.
...
Fixes https://github.com/atom/atom/issues/1838 .
2014-04-06 13:16:14 +08:00
Cheng Zhao
877277d837
Enable writing files in devtools.
2014-04-05 09:22:25 +08:00
Cheng Zhao
a80fe40f56
Synchronous event should be bound to WebContents.
...
This allows us to reply to synchronous message for arbitrary
WebContents.
2014-04-04 22:04:42 +08:00
Cheng Zhao
01a9ac21a5
Increase unresponsive time to 2s when closing.
...
Fixes https://github.com/atom/atom/issues/1793 .
2014-03-26 09:40:53 +08:00
Cheng Zhao
7a83b16cc4
Delay the unresponsive event shortly.
...
It could happen that a window became responsive immediately after the
unresponsive message is sent, like after showing a context menu
synchronously.
2014-03-25 18:10:51 +08:00
Cheng Zhao
f4b648385c
Close devtools completely instead of hiding it.
...
Fixes https://github.com/atom/atom/issues/1764 .
2014-03-20 09:32:00 +08:00
Cheng Zhao
2d808d30a2
Bring back build/include_order cpplint.
2014-03-16 09:13:06 +08:00
Cheng Zhao
516d46444d
Move all sources under atom/.
2014-03-16 08:30:26 +08:00