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
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
Dave Rael
a26ac5b363
🎨 Improve readability of multi-line command
2016-01-11 05:32:39 -07: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
Dave Rael
91253910ef
🏁 Fix corrupting Windows Paths
...
containing non-Ascii characters
Remove workaround that just didn't update the path at all - now including
the Atom path update and preserving the non-Ascii characters
2016-01-06 12:52:29 -07: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
Dave Rael
43e34d4f51
🏁 Use PowerShell to get User path
...
in Windows when installing via Squirrel, replacing reg.exe
that fails to execute if registry editing is disabled in the group policy.
This was causing the user Path to get deleted if registry editing is
disabled. The workaround that was in place kept the existing path, but
failed to add Atom to it.
2016-01-04 06:03:58 -07: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