Kevin Sawicki
34f7ddec9f
Update API to isAccessibilitySupportEnabled
2016-07-11 14:32:14 -07:00
Kevin Sawicki
fc36ac8c1b
Add API for accessibility state and changes
2016-07-11 14:04:56 -07:00
Cheng Zhao
767124c45c
Update for reviews
2016-07-02 10:36:46 +09:00
Cheng Zhao
cb00d3cfb3
mac: Implement app.setBadgeCount
2016-07-01 17:39:26 +09:00
deepak1556
0e0235407b
fill net::URLRequest details on IO thread
2016-06-09 10:39:18 +05:30
Cheng Zhao
60bd60e1ed
Fully support converting NSDictionary to JS userInfo object
2016-05-05 16:26:44 +09:00
Cheng Zhao
7268f434b2
Fix code styling problems
2016-05-05 12:26:23 +09:00
Charlie Hess
f84a973d69
Revert "Use a DictionaryValue everywhere instead of a string map."
...
This reverts commit 90cc10944a
.
2016-05-03 10:31:53 -07:00
Charlie Hess
90cc10944a
Use a DictionaryValue everywhere instead of a string map.
2016-05-02 16:18:58 -07:00
Charlie Hess
195940292d
This is preventDefault by convention.
2016-04-29 22:08:19 -07:00
Charlie Hess
88805ec7e2
Make the Linter happy.
2016-04-29 22:05:36 -07:00
Charlie Hess
c20acb0361
Implement a "continue-activity" event on app for resuming from hand-off.
2016-04-29 17:36:04 -07:00
Cheng Zhao
66853344c0
Make sure the userData directory is created before ready event
2016-04-29 20:20:52 +09:00
Cheng Zhao
a421c66f3f
Deprecate the platform-theme-changed event
2016-04-25 14:35:34 +09:00
Daniel Pham
6e46753499
Don't emit 'will-quit' when 'app.exit()' is called. Fixes #4643
2016-03-31 10:18:18 -04:00
Daniel Pham
63294892f0
Rename dark-mode-changed to platform-theme-changed
2016-03-03 23:58:58 -05:00
Daniel Pham
c4049cb393
🍎 Add 'dark-mode-changed' event to app api
2016-03-01 15:43:38 -05:00
Cheng Zhao
388a18b265
Don't emit will-quit
event when calling app.exit
2015-12-10 11:22:55 +08:00
Cheng Zhao
9a0dc3bfd7
Add Delegate for AtomBrowserClient
2015-11-18 10:07:03 +08:00
Cheng Zhao
863199348f
Make process.exit() quit gracefully
...
Instead of abrupting the whole program immediately, we should close all
windows and release all native resources gracefully on exit. This avoids
possible crashes.
Fix #3350 .
2015-11-06 20:25:20 +08:00
Cheng Zhao
7c7a7b96de
win: Do not set app user model id by default
...
When user drags exe file into taskbar directly the pinned icon will not
has an app user model id, so if we set app user model id in the
application two icons will show in the taskbar.
For apps installed with a installer it is not a problem since the
shortcut icon will be created with app user model id, but we should also
keep the ability to make portable apps work out of box.
Fix #3303 .
2015-11-03 14:55:43 +08:00
Cheng Zhao
d05255179a
Add login event for "app" module
2015-10-28 19:54:59 +08:00
Cheng Zhao
ca876e424b
Fix crash when calling app.quit() before app is ready
2015-10-22 16:06:37 +08:00
Cheng Zhao
bdd2f91913
Make Browser::Quit more robust
2015-10-04 19:20:52 +08:00
Haojian Wu
9652ed6508
More fixes after code review.
2015-09-14 19:43:21 -07:00
Haojian Wu
377e7ee3a7
Implement 'activiate' event instead of 'activate-with-open-windows'.
2015-09-14 18:34:27 -07:00
Haojian Wu
3ad5d17612
[OS X] Implement 'activate-with-open-windows' event for app.
2015-09-14 20:32:50 +08:00
Cheng Zhao
ab859067aa
win: Delay quitting until next tick of message loop
...
This fixes app.quit() not working when it is called before the message
loop starts to run.
2015-08-27 11:42:06 +08:00
deepak1556
0fbd908fb6
app: event to pass client certificate data
2015-06-25 21:29:21 +05:30
Charlie Hess
78b856268e
Fix cpplint errors.
2015-02-25 21:57:25 -08:00
Charlie Hess
b6787a9b34
Emit a new before-quit event at the start of Browser::Quit, which gives us a chance to cancel before any windows are closed.
2015-02-25 19:33:42 -08:00
Cheng Zhao
528f7bd45f
win: Set app user model ID
...
This ID is used by Windows to identify your application.
2014-11-17 15:55:49 +08:00
Kevin Sawicki
b6b6fc3bfd
Remove All Rights Reserved after GitHub copyright
...
Closes #762
2014-10-31 11:17:05 -07:00
Cheng Zhao
25f69df341
Throw error when BrowserWindow is created before app is ready
2014-10-30 21:32:35 +08:00
Cheng Zhao
909ff085ac
Add "quit" event for app.
2014-09-25 21:48:15 +08:00
Cheng Zhao
f176b2c58f
Switch to use MIT license.
2014-05-04 20:29:08 +08:00
Cheng Zhao
b994ae8174
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 .
2014-04-15 00:13:00 +08:00
Cheng Zhao
f0d9ee4ca9
Shutdown gracefully, fixes #227 .
2014-04-10 15:22:17 +08:00
Cheng Zhao
2d808d30a2
Bring back build/include_order cpplint.
2014-03-16 09:13:06 +08:00
Cheng Zhao
516d46444d
Move all sources under atom/.
2014-03-16 08:30:26 +08:00