Joe Fitzgerald
82fa61e54d
Allow Multiple Launches Of Atom To Result In An Updated Environment
2016-04-12 11:29:33 -06:00
Antonio Scandurra
158d019371
Use application-level events to control updates in the browser process
2016-04-01 10:56:30 +02:00
Antonio Scandurra
c735b3fe74
Merge pull request #11314 from atom/as-handle-update-error
...
Handle auto-updater errors
2016-04-01 09:09:37 +02:00
Antonio Scandurra
296c016bf8
🐎 Don't load state when restorePreviousState is false
2016-03-31 10:41:23 +02:00
Antonio Scandurra
4d4ee6bf3b
Add applicationDelegate.getAutoUpdateManagerErrorMessage()
...
Sometimes, the error event gets emitted before the renderer process has
the chance to subscribe. Therefore, we expose an
`autoUpdateManager.getErrorMessage()` in the browser process, so that we
don’t lose that information.
2016-03-31 10:16:11 +02:00
Jordan Tucker
f4b94fef30
always save state on close, check config on open
2016-03-29 08:30:18 -07:00
Jordan Tucker
4e4c85970b
add option to choose whether atom rememebers your last windows
2016-03-12 23:31:39 -08:00
Jordan Tucker
8ffcea381e
load config in atom-application and pass it to auto-update-manager
2016-03-12 23:31:30 -08:00
Joe Fitzgerald
6b38049b8d
Remove Project API, Work With process.env Directly
...
- Convert environment.coffee and environment-spec.coffee to JavaScript
- Pass the process's environment across the wire when launching atom multiple times from the command line
2016-03-10 15:30:04 -07:00
Nathan Sobo
a218582aeb
Supply pathsToOpen in case there’s no window state
2016-03-03 18:02:08 -07:00
Jason Koenig
51a2609bc9
Properly restore initialPaths so project paths are not loaded as files
...
If project folders no longer exist or are not mounted, then Atom would
open them as buffers, which were empty because the corresponding file
did not exist. This threads the right state through the startup
sequence so that "initialPaths", which actually are project roots, is
restored correctly.
2016-03-02 16:56:42 -07:00
Ben Ogle
3a32b30d5a
Add mechanism to get the AutoUpdateManager's state
2016-03-01 15:09:04 -08:00
Katrina Uychaco
3e29cd5762
Merge branch 'master' into dh-expose-updates
2016-03-01 15:07:12 -08:00
Daniel Hengeveld
6fce680a28
Send check-for-update message over ipc
2016-03-01 15:07:12 -08:00
Max Brunsfeld
7aab88c4f6
Merge pull request #10841 from ArnaudRinquin/feat/cli-add-option
...
Add the -a, --add CLI option
2016-02-22 16:42:21 -08:00
Daniel Hengeveld
7b83db160f
remove Open Roadmap menu item, fixes #10884
2016-02-19 12:37:17 +01:00
Arnaud Rinquin
53693b4d0f
Add the -a, --add CLI option
2016-02-19 08:54:17 +00:00
Max Brunsfeld
43656a9861
Load packages before deserializing state
2016-02-18 09:17:34 -08:00
Max Brunsfeld
4bc969d1df
Merge branch 'master' into wl-electron-35
2016-02-16 13:16:13 -08:00
Katrina Uychaco
083f577889
Use more descriptive flag for clearing state - ‘clear-window-state’
2016-02-16 10:28:30 -08:00
Katrina Uychaco
47459948cf
Clear state in indexedDB if ‘clear-state’ command-line flag is passed
2016-02-15 21:28:25 -08:00
Katrina Uychaco
a2f9a8d32e
Rename StorageFolder::store to ::storeSync
2016-01-27 23:52:41 -07:00
Max Brunsfeld
32f5149196
Wait for browser process to acknowledge window manipulation IPC requests
...
We need to avoid using the module for synchronous IPC on startup, but
in some cases, we need to know when our asynchronous IPC messages have taken
effect. Now, methods like and
return Promises that indicate when the message has been processed.
2016-01-27 12:59:24 -08:00
Wliu
7ee74ed4c7
Merge branch 'master' into wl-electron-35
2016-01-15 17:20:31 -05:00
Wliu
8c767a82d6
Remove OS X conditional logic
2016-01-14 11:01:59 -05:00
Wliu
39e9075e01
Don't cascade maximized windows
...
Fixes #10335
2016-01-14 14:31:09 +00:00
Wliu
91b2dc5b9c
Merge branch 'master' into wl-electron-35
2016-01-08 16:57:04 +00:00
Max Brunsfeld
ec66a66bb3
Merge pull request #9990 from scv119/test
...
Add a core config `core.automaticallyUpdate` to disable Atom autoupdate.
2016-01-07 11:05:43 -08:00
Wliu
d855613340
Merge remote-tracking branch 'refs/remotes/origin/master' into wl-electron-35
2016-01-05 17:25:51 -05:00
joshaber
94b77d0998
Separate the offset determination from the dimensions.
2016-01-05 11:59:59 -05:00
joshaber
fb8b25dc16
Merge branch 'master' into cascade-windows
2016-01-04 16:49:07 -05:00
joshaber
dcd860ae6f
Use the last focused window instead of the last opened window.
2016-01-01 12:18:48 -05:00
joshaber
9e7cb15c2c
Offset on Windows too.
2016-01-01 12:05:42 -05:00
joshaber
a63e70148d
Cascade new windows on OS X
...
Fixes #10057 .
2015-12-30 17:33:45 -05:00
joshaber
5c14d3e99b
Don't fail if event is undefined.
...
Unclear why this is undefined, but apparently it is.
2015-12-30 14:33:23 -05:00
joshaber
7024e000a8
Provide some defaults.
...
Otherwise we’ll get:
TypeError: Cannot read property 'pathToOpen' of undefined
when called from ‘application:new-file’.
2015-12-30 14:32:55 -05:00
Wliu
295698c085
app.terminate --> app.quit
2015-12-22 17:01:01 -05:00
Chen Shen
d227d8b646
Add config to disable autoupdate, revert previous build option
2015-12-15 17:20:57 -08:00
Wliu
74e830358d
Save the state before the browser window is closed
2015-12-14 17:31:27 -05:00
Wliu
678c390e2e
Fix indentation
2015-12-10 22:52:06 -05:00
Cheng Zhao
2e5c7f8573
executeJavaScriptInDevTools is deprecated
2015-12-11 11:00:08 +08:00
Cheng Zhao
c186d70bec
Also use require('electron') in specs
2015-12-11 10:03:20 +08:00
Cheng Zhao
1f9cfc929c
Update the API usages after merge
2015-12-11 09:50:18 +08:00
Cheng Zhao
f6e889aeb2
Merge branch 'master' into wl-electron-35
2015-12-11 09:32:32 +08:00
Cheng Zhao
1725b9bf54
Use require('electron')
2015-12-11 09:30:58 +08:00
Douwe Maan
948aaa0652
Add opened files and folders to recent documents menu
2015-12-01 11:07:10 +01:00
Kevin Sawicki
838f6fb7b1
Merge pull request #9606 from DouweM/dock-menu
...
Add OS X dock menu with 'New Window' option
2015-11-30 17:15:32 -08:00
Wliu
577b85e76c
Merge remote-tracking branch 'refs/remotes/origin/master' into wl-electron-35
2015-11-19 20:20:24 -05:00
Nathan Sobo
a126374a7b
Coerce boolean options to booleans
...
Pairing with @as-cii
2015-11-19 08:14:24 -08:00
Wliu
6cd480b37e
Fix Electron deprecations
2015-11-17 21:16:09 -05:00