Cheng Zhao
cfa02bb41c
URL => Url in javascript.
2013-06-02 15:15:56 +08:00
Cheng Zhao
02c5ad16f3
Show uncaught exception in message dialog.
2013-06-02 14:55:47 +08:00
Cheng Zhao
c6ce3b789b
Update node binary to v0.10.9.
2013-06-02 12:25:16 +08:00
Cheng Zhao
dfa5257ce0
Update to latest chromium and brightray.
2013-06-02 00:26:24 +08:00
Cheng Zhao
cbb467032d
Add process.crash() for both browser and renderer.
2013-06-01 16:06:29 +08:00
Cheng Zhao
cd42fcceb9
Add crash reporter module (based on Quincy).
2013-06-01 15:57:37 +08:00
Cheng Zhao
97bc6cfc81
Build with Quincy.
2013-06-01 15:17:45 +08:00
Cheng Zhao
e6b4d52ee5
Rollback node to v0.10.5, there is ABI changes in V8.
2013-06-01 01:47:58 +08:00
Cheng Zhao
bdf12ddf3e
Update node to v0.10.9.
2013-06-01 01:10:39 +08:00
Cheng Zhao
e8715f4c14
Don't emit 'open-file' event for files passed in command line.
...
Fixes #16 .
2013-05-31 10:17:40 +08:00
Cheng Zhao
bb69d99423
Use - as filename seperator for coffee script files. Fixes #15 .
...
Also clean unused files and wrong file names.
2013-05-30 20:21:07 +08:00
Cheng Zhao
9ea1f9956e
Add app.focus API.
2013-05-30 19:24:47 +08:00
Cheng Zhao
4133fc28d9
Emit 'finish-launching' event when the application has finished launching.
2013-05-30 19:12:14 +08:00
Cheng Zhao
7dd48e24d3
Emit 'open-file' event when OS X is trying to open file with the app.
2013-05-30 16:03:10 +08:00
Cheng Zhao
01af2fd0c5
Improve default page.
2013-05-30 15:40:44 +08:00
Cheng Zhao
9cf890bb61
Add BrowserWindow.restart() to restart renderer process.
2013-05-28 16:22:29 +08:00
Cheng Zhao
39bd56af4c
Focusing on window should also focus on application.
2013-05-25 15:08:58 +08:00
Cheng Zhao
4a79842c4c
Enable '+', ',', '-', '.' in accelerators.
2013-05-24 20:05:51 +08:00
Cheng Zhao
3259246d17
Emit 'blur' event at right time.
2013-05-24 18:15:27 +08:00
Cheng Zhao
5f26b83ec1
Add app.exit() API to exit with specified exit status.
2013-05-24 17:59:11 +08:00
Cheng Zhao
9c86978da0
Add 'blur' window event.
2013-05-24 17:58:39 +08:00
Cheng Zhao
edf2e84895
Add BrowserWindow.focusOnWebView and blurWebView.
2013-05-24 17:51:15 +08:00
Cheng Zhao
f3a8a0741c
Use the new way of reporting exception in node context.
...
More on this can be found at:
3c0fc7ad9f
2013-05-23 13:49:13 +08:00
Cheng Zhao
0bab9a9d84
Support key combinations of over 4 keys. Fixes #12 .
2013-05-22 14:20:16 +08:00
Cheng Zhao
d265121ed0
Force running uv loop under a handle scope. Fixed #13 .
2013-05-22 09:13:32 +08:00
Cheng Zhao
2bb33d8b32
Rewrite dialog API with our simpler blocking dialog implementations.
...
Fixed #9 , fixed #10 .
2013-05-20 21:50:54 +08:00
Cheng Zhao
d19e62d867
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.
2013-05-20 14:55:46 +08:00
Cheng Zhao
ca1b8ada99
dialog.showMessageBox doesn't require window as parameter any more.
2013-05-18 10:47:06 +08:00
Cheng Zhao
7e11743735
Use string instead of integer to represent dialog's types.
2013-05-18 10:41:43 +08:00
Cheng Zhao
f3a6037d00
Add Edit menu.
2013-05-18 10:38:56 +08:00
Cheng Zhao
354b0c8e39
Send message to window directly when passing BrowserWindow for ipc.send.
2013-05-17 23:40:37 +08:00
Cheng Zhao
66c35e4517
Add BrowserWindow.fromProcessIdAndRoutingId API.
2013-05-17 21:53:37 +08:00
Cheng Zhao
d356be9c54
Update node: remove Atom.app/Contents/Resources/app from node paths.
...
Fixed #6 .
2013-05-17 18:30:45 +08:00
Cheng Zhao
1fea283d91
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.
2013-05-17 16:09:12 +08:00
Cheng Zhao
61bca04dfd
Add the App.commandLine API to control Chromium's command line.
2013-05-17 15:39:44 +08:00
Cheng Zhao
394bf0a8d9
Add BrowserWindow.getFocusedWindow() API.
2013-05-16 23:00:43 +08:00
Cheng Zhao
5c3857790c
Add BrowserWindow.isFocused() API.
2013-05-16 22:56:52 +08:00
Cheng Zhao
eec8abf397
Add Menu.buildFromTemplate API to greatly simplify building menu.
2013-05-16 22:43:58 +08:00
Cheng Zhao
e58f115b43
Make MenuItem's type default to 'submenu' if it has submenu property.
2013-05-16 22:22:33 +08:00
Cheng Zhao
c2f6676c62
Add 'selector' property for MenuItem, which automatically calls first reponder's selector.
2013-05-16 20:53:10 +08:00
Cheng Zhao
fae3137463
Automatically convert menu with tile of 'Window' to Window menu in application menu.
2013-05-16 20:48:09 +08:00
Cheng Zhao
84c320ea7f
setApplicationMenu and sendActionToFirstResponder are Mac only.
2013-05-16 20:31:58 +08:00
Cheng Zhao
c5884bf273
Build application menu with the new menu API in default app.
2013-05-16 20:29:13 +08:00
Cheng Zhao
4984f30e48
Read menu item's properties in menu's delegate.
2013-05-16 20:06:25 +08:00
Cheng Zhao
84e721188b
Build node-webkit style Menu API arounding the delegate-style Menu API.
2013-05-16 19:34:23 +08:00
Cheng Zhao
faf7280d1f
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.
2013-05-16 17:25:02 +08:00
Cheng Zhao
5d985aae09
Calling delegate methods should pass command id of menu item.
2013-05-16 15:32:37 +08:00
Cheng Zhao
b16c19ce32
Convert generic accelerator to platform accelerator.
...
When creating menus, the accelerators must be converted to platform
accelerators before they can be used.
2013-05-16 15:24:18 +08:00
Cheng Zhao
995b9dacc9
Fix titles of submenus in application menu.
2013-05-16 14:39:12 +08:00
Cheng Zhao
937b811c8d
Add Menu.setApplicationMenu API to set main menu of NSApp.
2013-05-16 10:54:37 +08:00