Cheng Zhao [Tue, 29 Apr 2014 02:03:03 +0000 (02:03 +0000)]
Use 0.0.2 release.
Cheng Zhao [Tue, 29 Apr 2014 02:00:57 +0000 (02:00 +0000)]
:lipstick: Fix pylint warning.
probablycorey [Mon, 28 Apr 2014 18:09:03 +0000 (11:09 -0700)]
Use atom/atom-shell-frameworks until atom/atom-shell is public
probablycorey [Mon, 28 Apr 2014 17:49:49 +0000 (10:49 -0700)]
Move framework downloads to github release
Cheng Zhao [Mon, 28 Apr 2014 03:55:56 +0000 (03:55 +0000)]
Fix printing in specs.
Cheng Zhao [Sat, 26 Apr 2014 05:15:41 +0000 (13:15 +0800)]
Bump the close timeout to 10s.
Fixes atom/atom#1838.
Cheng Zhao [Fri, 25 Apr 2014 09:41:58 +0000 (09:41 +0000)]
Merge pull request #234 from atom/api-web-contents
Separate out WebContents API to a new class
Cheng Zhao [Fri, 25 Apr 2014 09:35:36 +0000 (17:35 +0800)]
:memo: Update docs of ipc module.
Cheng Zhao [Fri, 25 Apr 2014 09:15:26 +0000 (17:15 +0800)]
:memo: Add docs on WebContents.
Cheng Zhao [Fri, 25 Apr 2014 08:45:14 +0000 (16:45 +0800)]
Avoid using processId and routingId directly.
Cheng Zhao [Fri, 25 Apr 2014 08:23:40 +0000 (16:23 +0800)]
Separate the webContents code in a new file.
Cheng Zhao [Fri, 25 Apr 2014 08:13:16 +0000 (16:13 +0800)]
Handle IPC messages in webContents instead of BrowserWindow.
Cheng Zhao [Fri, 25 Apr 2014 05:14:11 +0000 (13:14 +0800)]
Make send and loadUrl also supported methods of BrowserWindow.
Cheng Zhao [Fri, 25 Apr 2014 05:10:16 +0000 (13:10 +0800)]
Add send for webContents.
Cheng Zhao [Fri, 25 Apr 2014 04:52:30 +0000 (12:52 +0800)]
Move navigator related APIs to webContents.
Cheng Zhao [Fri, 25 Apr 2014 04:40:04 +0000 (12:40 +0800)]
Fix releasing the wrong renderer view.
Cheng Zhao [Fri, 25 Apr 2014 04:22:16 +0000 (12:22 +0800)]
Move loading events to webContents.
Cheng Zhao [Fri, 25 Apr 2014 03:59:33 +0000 (11:59 +0800)]
Add destroyed event for webContents.
Cheng Zhao [Fri, 25 Apr 2014 03:51:05 +0000 (11:51 +0800)]
Move webContents events away from window.
Cheng Zhao [Fri, 25 Apr 2014 03:22:51 +0000 (11:22 +0800)]
Be safe on lifetime of webContents.
Cheng Zhao [Fri, 25 Apr 2014 02:57:45 +0000 (10:57 +0800)]
Get webContents on request.
Cheng Zhao [Fri, 25 Apr 2014 02:48:11 +0000 (10:48 +0800)]
Add getter for devToolsWebContents.
Cheng Zhao [Fri, 25 Apr 2014 02:34:40 +0000 (10:34 +0800)]
Add executeJavaScript method for webContents.
Cheng Zhao [Thu, 24 Apr 2014 09:00:41 +0000 (17:00 +0800)]
Move some APIs from Window to WebContents.
Cheng Zhao [Thu, 24 Apr 2014 08:45:25 +0000 (16:45 +0800)]
Initial empty api_web_contents.
Cheng Zhao [Thu, 24 Apr 2014 08:17:35 +0000 (16:17 +0800)]
mac: Avoid sending "blur" event when closing window.
Cheng Zhao [Thu, 24 Apr 2014 08:08:59 +0000 (16:08 +0800)]
spec: Should destroy window even when spec failed.
Cheng Zhao [Thu, 24 Apr 2014 07:42:37 +0000 (15:42 +0800)]
spec: Use random port when creating http server.
Cheng Zhao [Thu, 24 Apr 2014 05:10:04 +0000 (13:10 +0800)]
Enable passing null to dialog API.
Cheng Zhao [Thu, 24 Apr 2014 04:07:03 +0000 (12:07 +0800)]
Avoid passing closures to browser when showing dialog.
It's resource-costy.
Cheng Zhao [Thu, 24 Apr 2014 04:24:39 +0000 (04:24 +0000)]
Merge pull request #232 from atom/fix-devtools-menu
Fix crash when showing menu for devtools when there are multiple windows
Cheng Zhao [Thu, 24 Apr 2014 04:04:23 +0000 (12:04 +0800)]
Only call getDevTools for windows that have devtools.
Cheng Zhao [Thu, 24 Apr 2014 03:25:06 +0000 (11:25 +0800)]
Fix using an null dictionary.
Cheng Zhao [Wed, 23 Apr 2014 07:32:36 +0000 (07:32 +0000)]
Merge pull request #231 from atom/native-mate
Reimplement JS API with native-mate
Cheng Zhao [Wed, 23 Apr 2014 06:17:13 +0000 (14:17 +0800)]
:lipstick: Fix cpplint warning.
Cheng Zhao [Wed, 23 Apr 2014 04:59:03 +0000 (12:59 +0800)]
gtk: Free resources when closing window.
Cheng Zhao [Wed, 23 Apr 2014 04:45:48 +0000 (12:45 +0800)]
Fix compilation under Linux.
Cheng Zhao [Wed, 23 Apr 2014 04:24:20 +0000 (12:24 +0800)]
Update native_mate for fixing crash in GC.
Cheng Zhao [Wed, 23 Apr 2014 03:39:40 +0000 (11:39 +0800)]
Fix the capturePage method.
Cheng Zhao [Wed, 23 Apr 2014 03:21:17 +0000 (11:21 +0800)]
Remove redundant call to NotifyWindowClosed.
Cheng Zhao [Wed, 23 Apr 2014 03:20:49 +0000 (11:20 +0800)]
Update brightray to fix crash from BRYInspectableWebContentsView.
Cheng Zhao [Wed, 23 Apr 2014 02:53:07 +0000 (10:53 +0800)]
Make sure window object is destryed.
Cheng Zhao [Wed, 23 Apr 2014 02:24:46 +0000 (10:24 +0800)]
Should send "closed" event when native window is closed.
Cheng Zhao [Wed, 23 Apr 2014 01:53:38 +0000 (09:53 +0800)]
Do not free memory used by native window immediately.
Otherwise we would have two ways to destroy a window, making code much
more complicated.
Cheng Zhao [Wed, 23 Apr 2014 01:25:04 +0000 (09:25 +0800)]
Remove window from observers when it's closed instead of deleted.
Cheng Zhao [Wed, 23 Apr 2014 01:09:28 +0000 (09:09 +0800)]
Fix parameter detection in capturePage.
Cheng Zhao [Wed, 23 Apr 2014 00:50:33 +0000 (08:50 +0800)]
Use closed event instead of destroyed event.
We now do not delete window manually so the destroyed would be delayed
until the object is GCed.
Cheng Zhao [Wed, 23 Apr 2014 00:50:26 +0000 (08:50 +0800)]
Free memory when native window is closed.
Cheng Zhao [Tue, 22 Apr 2014 15:07:21 +0000 (23:07 +0800)]
Discard all our custom V8 helpers, use native-mate instead.
Cheng Zhao [Tue, 22 Apr 2014 03:06:13 +0000 (11:06 +0800)]
Simplify atom_browser_bindings.
Cheng Zhao [Tue, 22 Apr 2014 03:01:37 +0000 (11:01 +0800)]
Simplify atom_bindings.
Cheng Zhao [Mon, 21 Apr 2014 15:49:53 +0000 (23:49 +0800)]
Remove use of native_type_conversions.h when possible.
Cheng Zhao [Mon, 21 Apr 2014 15:40:10 +0000 (23:40 +0800)]
Simplify menu api.
Cheng Zhao [Mon, 21 Apr 2014 08:33:32 +0000 (16:33 +0800)]
Simplify protocol api.
Cheng Zhao [Fri, 18 Apr 2014 09:28:05 +0000 (17:28 +0800)]
Fix cpplint warning.
Cheng Zhao [Fri, 18 Apr 2014 09:25:22 +0000 (17:25 +0800)]
Use BrowserV8Locker when possible.
Cheng Zhao [Fri, 18 Apr 2014 09:19:15 +0000 (17:19 +0800)]
Use the new function converter in dialog api.
Cheng Zhao [Fri, 18 Apr 2014 09:18:50 +0000 (17:18 +0800)]
Enable converting v8::Function to base::Callback.
Cheng Zhao [Thu, 17 Apr 2014 09:26:21 +0000 (17:26 +0800)]
Simpilfy auto_updater api.
Cheng Zhao [Thu, 17 Apr 2014 09:14:05 +0000 (17:14 +0800)]
Use native_mate based Event in browser_ipc.
Cheng Zhao [Thu, 17 Apr 2014 09:13:46 +0000 (17:13 +0800)]
Simplify app api.
Cheng Zhao [Thu, 17 Apr 2014 09:13:17 +0000 (17:13 +0800)]
Simplify power_monitor api.
Cheng Zhao [Thu, 17 Apr 2014 09:12:27 +0000 (17:12 +0800)]
Add native_mate implemented Event and EventEmitter.
Cheng Zhao [Thu, 17 Apr 2014 05:51:59 +0000 (13:51 +0800)]
Simplify browser_ipc api.
Cheng Zhao [Thu, 17 Apr 2014 05:45:14 +0000 (13:45 +0800)]
Put converters under atom/common/native_mate_converters.
Cheng Zhao [Wed, 16 Apr 2014 07:45:28 +0000 (15:45 +0800)]
Use base::File::StringType.
Cheng Zhao [Wed, 16 Apr 2014 07:31:59 +0000 (15:31 +0800)]
Use Dictionary to set module.exports.
Cheng Zhao [Wed, 16 Apr 2014 07:14:44 +0000 (15:14 +0800)]
Use native_mate to simplify dialog api.
Cheng Zhao [Wed, 16 Apr 2014 04:29:16 +0000 (12:29 +0800)]
Use native_mate to simplify renderer_ipc api.
Cheng Zhao [Wed, 16 Apr 2014 03:58:48 +0000 (11:58 +0800)]
Use the new Constructor API.
Cheng Zhao [Wed, 16 Apr 2014 01:54:01 +0000 (09:54 +0800)]
Use native_mate to simplify id_weak_map api.
Cheng Zhao [Tue, 15 Apr 2014 08:29:38 +0000 (16:29 +0800)]
Remove unneeded include.
Cheng Zhao [Tue, 15 Apr 2014 08:25:39 +0000 (16:25 +0800)]
Use native_mate to simplify screen api.
Cheng Zhao [Tue, 15 Apr 2014 08:02:19 +0000 (16:02 +0800)]
Use native_mate to simplify crash_reporter api.
Cheng Zhao [Tue, 15 Apr 2014 07:50:00 +0000 (15:50 +0800)]
Use native_mate to simplify clipboard api.
Cheng Zhao [Tue, 15 Apr 2014 07:42:46 +0000 (15:42 +0800)]
Fix cpplint warning.
Cheng Zhao [Tue, 15 Apr 2014 07:41:26 +0000 (15:41 +0800)]
Use native_mate to simplify shell API.
Cheng Zhao [Tue, 15 Apr 2014 03:15:46 +0000 (11:15 +0800)]
Add native_mate as dependency.
Cheng Zhao [Tue, 15 Apr 2014 01:35:26 +0000 (09:35 +0800)]
mac: Move OS X only files to atom/browser/mac.
Cheng Zhao [Fri, 11 Apr 2014 13:02:22 +0000 (21:02 +0800)]
Bump v0.11.10.
Cheng Zhao [Mon, 14 Apr 2014 16:18:42 +0000 (00:18 +0800)]
Do not use new clang flags.
Cheng Zhao [Mon, 14 Apr 2014 16:02:33 +0000 (00:02 +0800)]
mac: Always cancel application termination.
OS X's application termination doesn't work very well with C++ message
loops. Especially when we return NSTerminateLater for shouldTerminate,
it would be impossible for the C++ message loop to quit, because unless
we explictly let NSApp terminate the application, the message loop would
think the application is not terminated and will run forever.
The fix is to simply ignore the Cocoa's application termination request
and let the C++ message loop deal with it compeletey. But we had the
side effect that atom-shell would always cancel OS X's shutdown request,
this is also the approach chosen by Chromium.
Fixes #229.
Fixes atom/atom#1864.
Cheng Zhao [Mon, 14 Apr 2014 15:54:36 +0000 (23:54 +0800)]
Fix compiler warning in breakpad when using latest clang.
Cheng Zhao [Fri, 11 Apr 2014 10:44:41 +0000 (10:44 +0000)]
Bump v0.11.9.
Cheng Zhao [Fri, 11 Apr 2014 10:43:01 +0000 (18:43 +0800)]
Fix a crash when destroying window.
Cheng Zhao [Fri, 11 Apr 2014 04:47:22 +0000 (12:47 +0800)]
mac: Avoid managing NSWindow by hand.
Cheng Zhao [Fri, 11 Apr 2014 04:45:48 +0000 (12:45 +0800)]
Remove unneeded accessor.
Cheng Zhao [Fri, 11 Apr 2014 04:32:42 +0000 (12:32 +0800)]
mac: InspectableWebContents should be destroyed before release NSWindow.
Fixes atom/atom#1841.
Cheng Zhao [Thu, 10 Apr 2014 09:07:39 +0000 (17:07 +0800)]
Fix app.exit compatibility.
Cheng Zhao [Thu, 10 Apr 2014 07:30:29 +0000 (07:30 +0000)]
Bump v0.11.8.
Cheng Zhao [Thu, 10 Apr 2014 07:22:17 +0000 (15:22 +0800)]
Shutdown gracefully, fixes #227.
Cheng Zhao [Thu, 10 Apr 2014 07:08:14 +0000 (15:08 +0800)]
Deprecate app.terminate API.
Users should use app.quit which can shutdown the application gracefuly.
Cheng Zhao [Tue, 8 Apr 2014 06:50:40 +0000 (06:50 +0000)]
Bump v0.11.7.
Cheng Zhao [Tue, 8 Apr 2014 06:22:22 +0000 (14:22 +0800)]
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.
Cheng Zhao [Tue, 8 Apr 2014 04:52:42 +0000 (12:52 +0800)]
:memo: Add docs for executeJavaScriptInDevTools.
Cheng Zhao [Tue, 8 Apr 2014 04:50:12 +0000 (12:50 +0800)]
Add API to execute javascript in devtools.
Cheng Zhao [Tue, 8 Apr 2014 01:32:44 +0000 (09:32 +0800)]
gtk: Connect to window-state-event, fixes #226.
Cheng Zhao [Mon, 7 Apr 2014 09:21:02 +0000 (09:21 +0000)]
Bump v0.11.6.
Cheng Zhao [Mon, 7 Apr 2014 09:19:27 +0000 (17:19 +0800)]
mac: Do not destroy window immediately.
Fixes atom/atom#1841.
Cheng Zhao [Mon, 7 Apr 2014 09:12:24 +0000 (17:12 +0800)]
:lipstick: Remove unsed constant.