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
Cheng Zhao [Fri, 28 Mar 2014 08:01:38 +0000 (16:01 +0800)]
gtk: Force size allocation in window, fixes #219.
Cheng Zhao [Thu, 27 Mar 2014 13:03:27 +0000 (21:03 +0800)]
gtk: Detect rare conditions when resizing.
Cheng Zhao [Thu, 27 Mar 2014 10:05:28 +0000 (18:05 +0800)]
gtk: Should remove self from watcher list in destructor.
Cheng Zhao [Thu, 27 Mar 2014 09:54:07 +0000 (17:54 +0800)]
gtk: Do not count menubar in work area size on Unity.
Cheng Zhao [Wed, 26 Mar 2014 02:16:32 +0000 (02:16 +0000)]
Bump v0.11.4.
Cheng Zhao [Wed, 26 Mar 2014 01:58:40 +0000 (09:58 +0800)]
Free window object immediately in destory().
This put everything back to the original design, since now it's not
possible to destory a window while a context menu is showing.
Cheng Zhao [Wed, 26 Mar 2014 01:40:53 +0000 (09:40 +0800)]
Increase unresponsive time to 2s when closing.
Fixes https://github.com/atom/atom/issues/1793.
Cheng Zhao [Wed, 26 Mar 2014 01:14:05 +0000 (09:14 +0800)]
Fix a possible crash when destroying window.
It could happend that the JS BrowserWindow object being double deleted
when calling the destroy() method.
Cheng Zhao [Tue, 25 Mar 2014 10:18:53 +0000 (10:18 +0000)]
Bump v0.11.3.
Cheng Zhao [Tue, 25 Mar 2014 10:10:51 +0000 (18:10 +0800)]
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.
Cheng Zhao [Tue, 25 Mar 2014 08:58:34 +0000 (16:58 +0800)]
BrowserWindow.destroy() should not delete window immediately.
It could cause crash when context menu is showing.
Cheng Zhao [Tue, 25 Mar 2014 08:56:02 +0000 (16:56 +0800)]
mac: Do not allow nested task when showing menu.
Fixes #163.
Cheng Zhao [Fri, 21 Mar 2014 07:04:55 +0000 (07:04 +0000)]
Bump v0.11.2.
Cheng Zhao [Thu, 20 Mar 2014 09:44:08 +0000 (17:44 +0800)]
gtk: Ask whether window is active from WM.
It could happpen that the WM thinks a window is active but it's actually not,
like when showing a context menu. In most cases we should follow what WM
says to keep consistent bevaviour on all platforms.
Cheng Zhao [Thu, 20 Mar 2014 01:29:39 +0000 (09:29 +0800)]
Close devtools completely instead of hiding it.
Fixes https://github.com/atom/atom/issues/1764.
Cheng Zhao [Thu, 20 Mar 2014 01:02:36 +0000 (09:02 +0800)]
Update node: Build .dSYM for node modules, fixes #207.
Cheng Zhao [Sat, 15 Mar 2014 16:33:15 +0000 (09:33 -0700)]
Bump v0.11.1.
Cheng Zhao [Tue, 18 Mar 2014 06:52:45 +0000 (14:52 +0800)]
gtk: Fix BrowserWindow::HasModalDialog.
Cheng Zhao [Tue, 18 Mar 2014 06:10:35 +0000 (14:10 +0800)]
linux: Include content_shell.pak in distribution.
Cheng Zhao [Sun, 16 Mar 2014 11:06:46 +0000 (19:06 +0800)]
Bump v0.11.0.
Cheng Zhao [Sun, 16 Mar 2014 11:02:59 +0000 (19:02 +0800)]
Should set low version field to 0 in bump-version.
Cheng Zhao [Sun, 16 Mar 2014 07:49:12 +0000 (15:49 +0800)]
Fix bump-version script.
Cheng Zhao [Sun, 16 Mar 2014 07:37:14 +0000 (07:37 +0000)]
Merge pull request #216 from atom/atom-chrome-src
Put atom-shell's source code under atom/
Cheng Zhao [Sun, 16 Mar 2014 07:19:09 +0000 (15:19 +0800)]
Fix the location default_app is copied to.
Cheng Zhao [Sun, 16 Mar 2014 05:24:25 +0000 (13:24 +0800)]
Fix process.resourcesPath.
Cheng Zhao [Sun, 16 Mar 2014 01:43:19 +0000 (09:43 +0800)]
Fix coffeelint.
Cheng Zhao [Sun, 16 Mar 2014 01:37:04 +0000 (09:37 +0800)]
Order header files.
Cheng Zhao [Sun, 16 Mar 2014 01:27:15 +0000 (09:27 +0800)]
:lipstick: Update bootstrap script.
Cheng Zhao [Sun, 16 Mar 2014 01:17:45 +0000 (09:17 +0800)]
:memo: Update docs for new source code structure.
Cheng Zhao [Sun, 16 Mar 2014 01:15:41 +0000 (09:15 +0800)]
Add LICENSE in chrome/.
Cheng Zhao [Sun, 16 Mar 2014 01:13:06 +0000 (09:13 +0800)]
Bring back build/include_order cpplint.
Cheng Zhao [Sun, 16 Mar 2014 00:58:59 +0000 (08:58 +0800)]
Bring back build/header_guard cpplint.
Cheng Zhao [Sun, 16 Mar 2014 00:39:43 +0000 (08:39 +0800)]
Move atom/browser/ui/gtk to chrome/.
Cheng Zhao [Sun, 16 Mar 2014 00:30:26 +0000 (08:30 +0800)]
Move all sources under atom/.
Cheng Zhao [Sat, 15 Mar 2014 14:57:35 +0000 (22:57 +0800)]
Remove unneeded include dir.
Cheng Zhao [Sat, 15 Mar 2014 14:37:22 +0000 (14:37 +0000)]
Merge pull request #215 from atom/first-mouse-event
Add 'accept-first-mouse' to BrowserWindow's creation option
Cheng Zhao [Sat, 15 Mar 2014 11:31:29 +0000 (19:31 +0800)]
:memo: Add 'accept-first-mouse' to docs.
Cheng Zhao [Sat, 15 Mar 2014 11:28:23 +0000 (19:28 +0800)]
Add 'accept-first-mouse' in window's option.
Cheng Zhao [Sat, 15 Mar 2014 11:10:24 +0000 (19:10 +0800)]
Upgrade libchromiumcontent: Add support for acceptsFirstMouse.
Cheng Zhao [Sat, 15 Mar 2014 10:18:19 +0000 (18:18 +0800)]
Remove hack for using foundation_util.h.
Cheng Zhao [Sat, 15 Mar 2014 09:43:59 +0000 (09:43 +0000)]
Merge pull request #214 from atom/linux-menu
Implement menu API on Linux
Cheng Zhao [Sat, 15 Mar 2014 09:07:44 +0000 (17:07 +0800)]
gtk: Fix crash when using frameless window.
Cheng Zhao [Sat, 15 Mar 2014 08:41:31 +0000 (16:41 +0800)]
:lipstick: Fix cpplint warning.
Cheng Zhao [Sat, 15 Mar 2014 08:36:29 +0000 (16:36 +0800)]
Separate common accelerator utils out.
Cheng Zhao [Sat, 15 Mar 2014 08:16:12 +0000 (16:16 +0800)]
gtk: Make menubar accelerator work.
Cheng Zhao [Fri, 14 Mar 2014 13:45:53 +0000 (21:45 +0800)]
Fix the menu of default_app.
Cheng Zhao [Fri, 14 Mar 2014 13:44:09 +0000 (21:44 +0800)]
gtk: Enabling setting menubar for window.
Cheng Zhao [Fri, 14 Mar 2014 13:13:28 +0000 (21:13 +0800)]
gtk: Enable creating menu bar.
Cheng Zhao [Fri, 14 Mar 2014 12:59:11 +0000 (20:59 +0800)]
gtk: Implement popup menu.
Cheng Zhao [Fri, 14 Mar 2014 12:42:39 +0000 (20:42 +0800)]
gtk: Add menu_gtk from Chromium.
Cheng Zhao [Fri, 14 Mar 2014 12:23:17 +0000 (20:23 +0800)]
gtk: Add event_utils from Chromium.
Cheng Zhao [Thu, 13 Mar 2014 08:34:19 +0000 (08:34 +0000)]
Merge pull request #213 from atom/linux-open-dialog
Implement file dialog API on Linux