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.
Cheng Zhao [Mon, 7 Apr 2014 07:43:15 +0000 (15:43 +0800)]
Fix capturePage under accelerated mode, fixes #223.
Cheng Zhao [Sun, 6 Apr 2014 05:14:59 +0000 (13:14 +0800)]
Increase the closing time limit to 5s.
Fixes https://github.com/atom/atom/issues/1838.
Cheng Zhao [Sat, 5 Apr 2014 11:21:18 +0000 (19:21 +0800)]
gtk: Handle accelerators after renderer handled them.
The key-press signal captured the key events before renderer handles,
which violated the behavior on OS X and Windows.
Fixes #221.
Cheng Zhao [Sat, 5 Apr 2014 06:49:59 +0000 (14:49 +0800)]
gtk: Do not access clipboard in renderer process.
Cheng Zhao [Sat, 5 Apr 2014 03:30:47 +0000 (03:30 +0000)]
Merge pull request #225 from atom/devtools-menu
Enable context menu in devtools
Cheng Zhao [Sat, 5 Apr 2014 03:05:51 +0000 (11:05 +0800)]
Don't build symbols in CI.
Cheng Zhao [Sat, 5 Apr 2014 03:00:35 +0000 (11:00 +0800)]
:lipstick: Fix cpplint warning build/include_what_you_use.
Cheng Zhao [Sat, 5 Apr 2014 02:24:46 +0000 (10:24 +0800)]
Use dialog API to override file chooser dialog in web inspector.
Cheng Zhao [Fri, 4 Apr 2014 16:10:57 +0000 (00:10 +0800)]
Enable writing files in devtools.
Cheng Zhao [Fri, 4 Apr 2014 14:37:34 +0000 (22:37 +0800)]
Correctly translate WebInspector menu to native menu.
Cheng Zhao [Fri, 4 Apr 2014 14:28:47 +0000 (22:28 +0800)]
Make remote.getCurrentWindow work for devtools.
Cheng Zhao [Fri, 4 Apr 2014 14:28:18 +0000 (22:28 +0800)]
Enable getting a window according to its attached devtools.
Cheng Zhao [Fri, 4 Apr 2014 14:05:43 +0000 (22:05 +0800)]
Allow sending ipc messages to devtools.
Cheng Zhao [Fri, 4 Apr 2014 14:04:42 +0000 (22:04 +0800)]
Synchronous event should be bound to WebContents.
This allows us to reply to synchronous message for arbitrary
WebContents.
Cheng Zhao [Thu, 3 Apr 2014 12:54:42 +0000 (20:54 +0800)]
Override web inspector's context menu.
Cheng Zhao [Thu, 3 Apr 2014 12:20:42 +0000 (20:20 +0800)]
Enable intercepting devtools window.
Cheng Zhao [Wed, 2 Apr 2014 06:23:38 +0000 (14:23 +0800)]
:lipstick: Fix cpplint warning.
Cheng Zhao [Wed, 2 Apr 2014 01:59:21 +0000 (09:59 +0800)]
Bump v0.11.5.
Cheng Zhao [Wed, 2 Apr 2014 01:58:56 +0000 (09:58 +0800)]
Make sure tags are pushed.
Cheng Zhao [Wed, 2 Apr 2014 01:58:38 +0000 (09:58 +0800)]
Add /vendor/npm to gitignore.
Cheng Zhao [Sat, 29 Mar 2014 08:07:44 +0000 (16:07 +0800)]
gtk: Consider window frame in SetSize.
Cheng Zhao [Sat, 29 Mar 2014 06:18:47 +0000 (14:18 +0800)]
gtk: Do some guess of window border size according to window manager.
Cheng Zhao [Sat, 29 Mar 2014 06:08:25 +0000 (14:08 +0800)]
gtk: Fix crash when calling GetSize() for hidden window.
Cheng Zhao [Fri, 28 Mar 2014 09:42:37 +0000 (09:42 +0000)]
:lipstick:
Cheng Zhao [Fri, 28 Mar 2014 09:36:35 +0000 (09:36 +0000)]
Make bootstrap script silent.
Cheng Zhao [Fri, 28 Mar 2014 09:30:15 +0000 (09:30 +0000)]
Fix calling apm for apm 0.37.0.
Cheng Zhao [Fri, 28 Mar 2014 09:25:53 +0000 (09:25 +0000)]
Use lastes npm in CI.
Cheng Zhao [Fri, 28 Mar 2014 08:19:19 +0000 (16:19 +0800)]
Upgrade to apm@0.37.0