Cheng Zhao [Mon, 24 Jun 2013 08:24:19 +0000 (16:24 +0800)]
Rewrite compile-coffee script in python.
Cheng Zhao [Mon, 24 Jun 2013 08:05:22 +0000 (16:05 +0800)]
Don't throw exception when ninja quit unnormally.
Cheng Zhao [Mon, 24 Jun 2013 07:36:38 +0000 (15:36 +0800)]
Rewrite build script in python.
Cheng Zhao [Mon, 24 Jun 2013 07:24:30 +0000 (15:24 +0800)]
Rewrite update script in python.
Cheng Zhao [Fri, 21 Jun 2013 15:04:39 +0000 (23:04 +0800)]
Merge branch 'master' into python
Conflicts:
script/update
Cheng Zhao [Fri, 21 Jun 2013 08:05:28 +0000 (16:05 +0800)]
Enable getUserMedia(). Part of fixes for #31.
Cheng Zhao [Fri, 21 Jun 2013 04:28:23 +0000 (12:28 +0800)]
Update node to v0.10.12.
Cheng Zhao [Fri, 21 Jun 2013 02:32:57 +0000 (10:32 +0800)]
Use unzip command on Mac to keep symbol links in zip file work.
Cheng Zhao [Thu, 20 Jun 2013 15:23:22 +0000 (23:23 +0800)]
Rewrite update-frameworks script in python.
Cheng Zhao [Thu, 20 Jun 2013 15:10:00 +0000 (23:10 +0800)]
Simplify download function.
Cheng Zhao [Thu, 20 Jun 2013 14:55:54 +0000 (22:55 +0800)]
Use .py suffix for python scripts, we're following chromium.
Cheng Zhao [Thu, 20 Jun 2013 14:51:58 +0000 (22:51 +0800)]
Move helper functions into a common module.
Cheng Zhao [Thu, 20 Jun 2013 14:49:11 +0000 (22:49 +0800)]
Rewrite update-node script in python.
Cheng Zhao [Wed, 19 Jun 2013 14:54:40 +0000 (22:54 +0800)]
Update brightray: fix linking with libchromiumcontent.
Cheng Zhao [Wed, 19 Jun 2013 13:31:57 +0000 (21:31 +0800)]
Build atom-shell with ninja.
Cheng Zhao [Wed, 19 Jun 2013 07:41:41 +0000 (15:41 +0800)]
Add script to find existing Mac SDK (taken from chromium).
Cheng Zhao [Wed, 19 Jun 2013 06:32:41 +0000 (14:32 +0800)]
Rewrite bootstrap script in python.
Cheng Zhao [Wed, 19 Jun 2013 05:49:58 +0000 (13:49 +0800)]
Add app.getHomeDir() API.
Cheng Zhao [Wed, 19 Jun 2013 05:43:48 +0000 (13:43 +0800)]
Add app.getVersion() API. Fixes #28.
Cheng Zhao [Wed, 19 Jun 2013 05:41:54 +0000 (13:41 +0800)]
Add platform method to return executable(bundle)'s version.
Cheng Zhao [Wed, 19 Jun 2013 05:24:13 +0000 (13:24 +0800)]
Fix cpplint errors.
Cheng Zhao [Wed, 19 Jun 2013 02:53:38 +0000 (10:53 +0800)]
Set base url in bootstrap script by default.
Cheng Zhao [Wed, 19 Jun 2013 02:52:18 +0000 (10:52 +0800)]
Update libchromiumcontent, fixed #22.
Cheng Zhao [Tue, 18 Jun 2013 13:40:03 +0000 (21:40 +0800)]
Revert "Make BrowserWindow inheritable. Fixed #23."
This reverts commit
5a0aab2e4f1a9f447bf72d7d3425d5461ed6173c.
Cheng Zhao [Tue, 18 Jun 2013 10:47:13 +0000 (18:47 +0800)]
Since we support inheritance of native objects, use js to send messages.
Cheng Zhao [Tue, 18 Jun 2013 10:35:08 +0000 (18:35 +0800)]
Make BrowserWindow inheritable. Fixed #23.
Cheng Zhao [Mon, 10 Jun 2013 12:50:25 +0000 (20:50 +0800)]
Add API for renderer's crashes.
Cheng Zhao [Mon, 10 Jun 2013 12:42:10 +0000 (20:42 +0800)]
Make window aware of renderer crashes.
Cheng Zhao [Mon, 10 Jun 2013 08:12:10 +0000 (16:12 +0800)]
Use a different icon for atom-shell to make it distinguishable from atom.
Cheng Zhao [Mon, 10 Jun 2013 06:47:32 +0000 (14:47 +0800)]
Update to latest brightray and libchromiumcontent.
Cheng Zhao [Fri, 7 Jun 2013 10:42:57 +0000 (18:42 +0800)]
Add BrowserWindow.restartHangMonitorTimeout() API.
Cheng Zhao [Fri, 7 Jun 2013 07:59:12 +0000 (15:59 +0800)]
Allow showing message dialog as sheet.
Cheng Zhao [Fri, 7 Jun 2013 07:58:36 +0000 (15:58 +0800)]
Return button's index for [NSAlert runModalSheetForWindow].
Cheng Zhao [Fri, 7 Jun 2013 07:41:26 +0000 (15:41 +0800)]
Add runModalSheetForWindow method for NSAlert.
Cheng Zhao [Fri, 7 Jun 2013 06:05:56 +0000 (14:05 +0800)]
Fullscreen => FullScreen. Fixed #19.
Cheng Zhao [Thu, 6 Jun 2013 11:45:48 +0000 (19:45 +0800)]
Add responsive and unresponsive events for window.
Cheng Zhao [Tue, 4 Jun 2013 10:15:03 +0000 (18:15 +0800)]
Discard fullscreen support on OS X 10.6.
Cheng Zhao [Mon, 3 Jun 2013 13:51:46 +0000 (21:51 +0800)]
Add 'ready-for-update-on-quit' event for auto-updater.
Cheng Zhao [Mon, 3 Jun 2013 10:21:13 +0000 (18:21 +0800)]
Pass continueUpdate callback in the 'will-install-update' event.
Cheng Zhao [Mon, 3 Jun 2013 10:15:20 +0000 (18:15 +0800)]
willInstallUpdateOnQuit has been discarded in latest Sparkle.
Cheng Zhao [Mon, 3 Jun 2013 10:07:15 +0000 (18:07 +0800)]
Don't download frameworks if they exist.
Cheng Zhao [Mon, 3 Jun 2013 09:59:34 +0000 (17:59 +0800)]
Add auto-updater module.
Cheng Zhao [Mon, 3 Jun 2013 09:58:34 +0000 (17:58 +0800)]
Fix crashes in auto updater.
Cheng Zhao [Mon, 3 Jun 2013 09:57:37 +0000 (17:57 +0800)]
Don't ship frameworks in repository, instead we download them.
Cheng Zhao [Mon, 3 Jun 2013 07:31:46 +0000 (15:31 +0800)]
Add 'will-finish-launching' event for app.
Cheng Zhao [Mon, 3 Jun 2013 02:34:42 +0000 (10:34 +0800)]
Add a few more methods for AutoUpdater.
Cheng Zhao [Sun, 2 Jun 2013 12:23:04 +0000 (20:23 +0800)]
Wrap Sparkle's minimum interface with C++.
Cheng Zhao [Sun, 2 Jun 2013 07:48:08 +0000 (15:48 +0800)]
Build with Sparkle.framework.
Cheng Zhao [Sun, 2 Jun 2013 07:15:56 +0000 (15:15 +0800)]
URL => Url in javascript.
Cheng Zhao [Sun, 2 Jun 2013 06:55:47 +0000 (14:55 +0800)]
Show uncaught exception in message dialog.
Cheng Zhao [Sun, 2 Jun 2013 04:25:16 +0000 (12:25 +0800)]
Update node binary to v0.10.9.
Cheng Zhao [Sat, 1 Jun 2013 14:33:40 +0000 (22:33 +0800)]
Update to latest chromium and brightray.
Cheng Zhao [Sat, 1 Jun 2013 08:06:29 +0000 (16:06 +0800)]
Add process.crash() for both browser and renderer.
Cheng Zhao [Sat, 1 Jun 2013 07:57:37 +0000 (15:57 +0800)]
Add crash reporter module (based on Quincy).
Cheng Zhao [Sat, 1 Jun 2013 06:29:35 +0000 (14:29 +0800)]
Build with Quincy.
Cheng Zhao [Fri, 31 May 2013 17:47:58 +0000 (01:47 +0800)]
Rollback node to v0.10.5, there is ABI changes in V8.
Cheng Zhao [Fri, 31 May 2013 17:10:39 +0000 (01:10 +0800)]
Update node to v0.10.9.
Cheng Zhao [Fri, 31 May 2013 02:17:40 +0000 (10:17 +0800)]
Don't emit 'open-file' event for files passed in command line.
Fixes #16.
Cheng Zhao [Thu, 30 May 2013 12:16:54 +0000 (20:16 +0800)]
Use - as filename seperator for coffee script files. Fixes #15.
Also clean unused files and wrong file names.
Cheng Zhao [Thu, 30 May 2013 11:24:47 +0000 (19:24 +0800)]
Add app.focus API.
Cheng Zhao [Thu, 30 May 2013 11:12:14 +0000 (19:12 +0800)]
Emit 'finish-launching' event when the application has finished launching.
Cheng Zhao [Thu, 30 May 2013 08:03:10 +0000 (16:03 +0800)]
Emit 'open-file' event when OS X is trying to open file with the app.
Cheng Zhao [Thu, 30 May 2013 07:40:44 +0000 (15:40 +0800)]
Improve default page.
Cheng Zhao [Tue, 28 May 2013 08:01:44 +0000 (16:01 +0800)]
Add BrowserWindow.restart() to restart renderer process.
Cheng Zhao [Sat, 25 May 2013 07:08:58 +0000 (15:08 +0800)]
Focusing on window should also focus on application.
Cheng Zhao [Fri, 24 May 2013 12:05:51 +0000 (20:05 +0800)]
Enable '+', ',', '-', '.' in accelerators.
Cheng Zhao [Fri, 24 May 2013 10:15:27 +0000 (18:15 +0800)]
Emit 'blur' event at right time.
Cheng Zhao [Fri, 24 May 2013 09:59:11 +0000 (17:59 +0800)]
Add app.exit() API to exit with specified exit status.
Cheng Zhao [Fri, 24 May 2013 09:58:39 +0000 (17:58 +0800)]
Add 'blur' window event.
Cheng Zhao [Fri, 24 May 2013 09:51:15 +0000 (17:51 +0800)]
Add BrowserWindow.focusOnWebView and blurWebView.
Cheng Zhao [Thu, 23 May 2013 05:49:13 +0000 (13:49 +0800)]
Use the new way of reporting exception in node context.
More on this can be found at:
https://github.com/atom/cefode/commit/
3c0fc7ad9fa27c7a7c42d3fec4c9f413c88b1835
Cheng Zhao [Wed, 22 May 2013 06:20:16 +0000 (14:20 +0800)]
Support key combinations of over 4 keys. Fixes #12.
Cheng Zhao [Wed, 22 May 2013 01:13:32 +0000 (09:13 +0800)]
Force running uv loop under a handle scope. Fixed #13.
Cheng Zhao [Mon, 20 May 2013 13:46:43 +0000 (21:46 +0800)]
Rewrite dialog API with our simpler blocking dialog implementations.
Fixed #9, fixed #10.
Cheng Zhao [Mon, 20 May 2013 06:55:46 +0000 (14:55 +0800)]
Erase window from weak map immediately after it's destroyed.
Otherwise it could happend that developers accessed the window after
it's destroyed but before it's GCed.
Cheng Zhao [Sat, 18 May 2013 02:47:06 +0000 (10:47 +0800)]
dialog.showMessageBox doesn't require window as parameter any more.
Cheng Zhao [Sat, 18 May 2013 02:41:43 +0000 (10:41 +0800)]
Use string instead of integer to represent dialog's types.
Cheng Zhao [Sat, 18 May 2013 02:38:56 +0000 (10:38 +0800)]
Add Edit menu.
Cheng Zhao [Fri, 17 May 2013 15:40:37 +0000 (23:40 +0800)]
Send message to window directly when passing BrowserWindow for ipc.send.
Cheng Zhao [Fri, 17 May 2013 13:53:37 +0000 (21:53 +0800)]
Add BrowserWindow.fromProcessIdAndRoutingId API.
Cheng Zhao [Fri, 17 May 2013 10:30:45 +0000 (18:30 +0800)]
Update node: remove Atom.app/Contents/Resources/app from node paths.
Fixed #6.
Cheng Zhao [Fri, 17 May 2013 08:09:12 +0000 (16:09 +0800)]
Simulate the toggleDevTools API.
Currently there is no way to know the devtools's state in brightray, so
we have to record the state manually, fix this after patching brightray.
Cheng Zhao [Fri, 17 May 2013 07:39:44 +0000 (15:39 +0800)]
Add the App.commandLine API to control Chromium's command line.
Cheng Zhao [Thu, 16 May 2013 15:00:43 +0000 (23:00 +0800)]
Add BrowserWindow.getFocusedWindow() API.
Cheng Zhao [Thu, 16 May 2013 14:56:52 +0000 (22:56 +0800)]
Add BrowserWindow.isFocused() API.
Cheng Zhao [Thu, 16 May 2013 14:43:58 +0000 (22:43 +0800)]
Add Menu.buildFromTemplate API to greatly simplify building menu.
Cheng Zhao [Thu, 16 May 2013 14:22:33 +0000 (22:22 +0800)]
Make MenuItem's type default to 'submenu' if it has submenu property.
Cheng Zhao [Thu, 16 May 2013 12:53:10 +0000 (20:53 +0800)]
Add 'selector' property for MenuItem, which automatically calls first reponder's selector.
Cheng Zhao [Thu, 16 May 2013 12:48:09 +0000 (20:48 +0800)]
Automatically convert menu with tile of 'Window' to Window menu in application menu.
Cheng Zhao [Thu, 16 May 2013 12:31:58 +0000 (20:31 +0800)]
setApplicationMenu and sendActionToFirstResponder are Mac only.
Cheng Zhao [Thu, 16 May 2013 12:29:13 +0000 (20:29 +0800)]
Build application menu with the new menu API in default app.
Cheng Zhao [Thu, 16 May 2013 12:06:25 +0000 (20:06 +0800)]
Read menu item's properties in menu's delegate.
Cheng Zhao [Thu, 16 May 2013 11:34:23 +0000 (19:34 +0800)]
Build node-webkit style Menu API arounding the delegate-style Menu API.
Cheng Zhao [Thu, 16 May 2013 09:25:02 +0000 (17:25 +0800)]
Add API to SendActionToFirstResponder.
It's important to bind application menu items to curtain actions of
first responder, like 'quit', 'minimize', 'copy' etc. This API gives
developers ability to do most of them in javascript.
Cheng Zhao [Thu, 16 May 2013 07:32:37 +0000 (15:32 +0800)]
Calling delegate methods should pass command id of menu item.
Cheng Zhao [Thu, 16 May 2013 07:24:18 +0000 (15:24 +0800)]
Convert generic accelerator to platform accelerator.
When creating menus, the accelerators must be converted to platform
accelerators before they can be used.
Cheng Zhao [Thu, 16 May 2013 06:39:12 +0000 (14:39 +0800)]
Fix titles of submenus in application menu.
Cheng Zhao [Thu, 16 May 2013 02:54:37 +0000 (10:54 +0800)]
Add Menu.setApplicationMenu API to set main menu of NSApp.
Cheng Zhao [Wed, 15 May 2013 14:17:27 +0000 (22:17 +0800)]
Fix places where Window should be BrowserWindow.
Cheng Zhao [Wed, 15 May 2013 12:24:51 +0000 (20:24 +0800)]
Add 'Reload' in application menu. Fixes atom/atom-shell#4.