Commit Graph

712 Commits

Author SHA1 Message Date
David Elliott
e2fa948ac8 🐛 Add support for Mac and Open Folder dialog. 2016-04-29 08:20:52 -07:00
David Elliott
398ae4491e 🎨 Removed application:open-dev and application:open-safe from new method. 2016-04-28 11:13:07 -07:00
David Elliott
6ec5cf497b 🐛 Ctrl-O opens file dialog in directory of currently active editor 2016-04-27 10:52:57 -07:00
David Elliott
e0688bef1a Ctrl-o opens last directory where you opened a file 2016-04-26 16:15:41 -07:00
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
Antonio Scandurra
2d5e697016 Add AutoUpdateManager.prototype.onUpdateError 2016-03-30 15:05:57 +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
Nathan Sobo
64ed1a0e43 Populate initialPaths based on pathsToOpen if not specified
This ensures that we deserialize projects correctly when specifying
command line arguments.
2016-03-02 17:00:27 -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
16ebefca3f Remove unnecessary ‘ipc' module import 2016-03-01 15:07:13 -08:00
Katrina Uychaco
3e29cd5762 Merge branch 'master' into dh-expose-updates 2016-03-01 15:07:12 -08:00
Daniel Hengeveld
bdb9866ff1 remove errant log statement 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
Daniel Hengeveld
1eaf30fae9 Add a few more things before stepping aside to work on another issue
…maybe rebase this away…
2016-03-01 15:06:33 -08:00
Daniel Hengeveld
3716aaf00b Spike out an update wrapper
We can expose just a few event subscription methods on atom.update to
take care of what most packages (e.g. About) would be interested in. Of
course the updater runs on the main thread so we’re proxying them
through IPC. It’s fine.
2016-03-01 15:06:33 -08:00
Damien Guard
f03b036872 Merge pull request #10326 from atom/dr-windows-installer-path-read
Fix Windows installer path update woes
2016-02-26 07:18:33 -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
aabaf1c2ba Use a temporary storage directory when running specs 2016-02-18 15:10:43 -08:00
Lee Dohm
e060ccbca7 Merge pull request #10870 from atom/ld-templates
Add Issue template and extra version info
2016-02-18 12:02:35 -08:00
Max Brunsfeld
43656a9861 Load packages before deserializing state 2016-02-18 09:17:34 -08:00
Lee Dohm
6202409d49 fullVersion -> writeFullVersion 2016-02-17 14:56:40 -08:00
Lee Dohm
cc8a0ccbf7 Squish all the printing into one call 2016-02-17 14:30:28 -08:00
Lee Dohm
dca727e3af Add more version information to --version arg 2016-02-17 13:10:42 -08:00
Max Brunsfeld
4bc969d1df Merge branch 'master' into wl-electron-35 2016-02-16 13:16:13 -08:00
Katrina Uychaco
cfab689de1 Merge pull request #10605 from atom/ku-crash-recovery
(WIP) Periodically save state and store in indexedDB
2016-02-16 11:58:04 -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
Damien Guard
f8ae09b112 Register Atom for file associations in Windows #6177 #4893 #6860 2016-02-14 15:10:07 -08:00
Katrina Uychaco
24dc4c6c73 Add command-line argument to clear state in IndexedDB 2016-02-12 15:18:41 -08:00
Max Brunsfeld
0ea06bad31 Merge branch 'master' into wl-electron-35 2016-02-12 12:57:54 -08:00
Katrina Uychaco
baa2c32a51 Merge branch 'master' into ku-crash-recovery 2016-02-10 11:10:57 -08:00
Max Brunsfeld
0f02663f6b Add --user-data-dir flag, to control indexedDB directory
This way, we can still use indexedDB in the integration tests

Signed-off-by: Katrina Uychaco <kuychaco@github.com>
2016-02-09 14:30:58 -08:00
joshaber
03e33b4474 Use default dimensions the first time we load a window, but saved dimensions after that. 2016-02-08 21:20:36 -05:00
Katrina Uychaco
656cac8814 Merge branch 'master' into ku-crash-recovery 2016-02-08 15:24:00 -08:00
Max Brunsfeld
7c733f6dc4 Merge branch 'master' into wl-electron-35 2016-02-05 10:22:01 -08:00
Ian Olsen
c098acb615 Merge pull request #9798 from atom/dr-wait-windows
Make --wait work on Windows
2016-02-04 13:57:51 -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