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
Nathan Sobo
f6908f80cd
Rename watchProjectPath to watchProjectPaths
2016-03-02 15:38:29 -07:00
Josh Abernathy
663d9b234c
Merge pull request #11022 from atom/windows-git-fixes
...
Windows git fixes
2016-03-01 22:16:43 -05:00
Nathan Sobo
47a348f557
Filter out non-directory project paths when deserializing Project
...
Closes #10628
2016-03-01 18:22:43 -07:00
Ben Ogle
f884c987e2
Remove unnecessary import
2016-03-01 15:12:38 -08:00
Ben Ogle
492e89c8ff
Move raw ipc calls into the applicationDelegate
2016-03-01 15:09:05 -08:00
Ben Ogle
4d11ff25d0
Use atom.getReleaseChannel()
2016-03-01 15:09:05 -08:00
Ben Ogle
0b36d85bda
🎨 Remove whitespace
2016-03-01 15:09:05 -08:00
Ben Ogle
02368a9fc6
Add atom.getReleaseChannel
2016-03-01 15:09:05 -08:00
Ben Ogle
58bf090724
Rename dispose -> destroy
2016-03-01 15:09:04 -08:00
Ben Ogle
75aca7ee0c
Add a deprecation TODO
2016-03-01 15:09:04 -08:00
Ben Ogle
8eb1326d4c
Add some TODOs
2016-03-01 15:09:04 -08:00
Ben Ogle
8307fb8426
Change logic for `platformSupportsUpdates
2016-03-01 15:09:04 -08:00
Ben Ogle
3a32b30d5a
Add mechanism to get the AutoUpdateManager's state
2016-03-01 15:09:04 -08:00
Ben Ogle
7a1ad8263a
Rename quitAndInstallUpdate to restartAndInstallUpdate
2016-03-01 15:09:04 -08:00
Ben Ogle
68951494d2
isEnabled -> platformSupportsUpdates
2016-03-01 15:09:03 -08:00
Ben Ogle
bc138f727e
Fix usage of the onDidCompleteDownload() method
2016-03-01 15:09:03 -08:00
Ben Ogle
418b1bd8f1
Get rid of the initialize method
2016-03-01 15:09:03 -08:00
Ben Ogle
1cd530cdf0
Add some todo code
2016-03-01 15:08:47 -08:00
Ben Ogle
c19296efb7
Add isEnabled function to AutoUpdateManager
2016-03-01 15:08:46 -08:00
Ben Ogle
e477751c19
Make the autoupdater functions consistently names
2016-03-01 15:08:46 -08:00
Ben Ogle
d3340d070f
UpdateAvailable isn’t really a thing in this world
2016-03-01 15:08:46 -08:00
Ben Ogle
b60e1957a8
Return the disposables!
2016-03-01 15:08:46 -08:00
Ben Ogle
4afe6df2c4
Reorder for consistency
2016-03-01 15:08:46 -08:00
Ben Ogle
e9e372b69e
Dispose emitter
2016-03-01 15:08:46 -08:00
Ben Ogle
fa0f6f3525
Use the renderer AutoUpdateManager in atom-environment’s update events
2016-03-01 15:08:46 -08:00
Ben Ogle
c9293e7733
Pass the version info through the event
2016-03-01 15:08:45 -08:00
Ben Ogle
eaba694319
Let’s make this private for now
2016-03-01 15:08:45 -08:00
Ben Ogle
a876e85899
check -> checkForUpdate
2016-03-01 15:08:25 -08:00
Ben Ogle
b481a06cbf
Pass the app delegate into AutoUpdateManager
2016-03-01 15:08:25 -08:00
Ben Ogle
ddff53bfc5
Postfix ifs
2016-03-01 15:07:56 -08:00
Ben Ogle
e40c91d353
All subscriptions can be in one call
2016-03-01 15:07:56 -08:00
Ben Ogle
342f72b6a1
Rename Update AutoUpdateManager
2016-03-01 15:07:56 -08:00
Katrina Uychaco
dd53c6f856
Use onDidCompleteDownloadingUpdate in listenForUpdates
...
This gets a bit confusing… It was formerly
`@applicationDelegate.onUpdateAvailable`, but `::onUpdateAvailable`
listens for the `did-begin-downloading-update` event and
`::onDidCompleteDownloadingUpdate` listens for the `update-available`
event. Note that ‘available’ here means successfully downloaded and
ready to be used and NOT available to be downloaded.
2016-03-01 15:07:13 -08:00
Katrina Uychaco
16ebefca3f
Remove unnecessary ‘ipc' module import
2016-03-01 15:07:13 -08:00
Katrina Uychaco
5cda45b5c7
Use ipcRenderer from ‘electron’ rather than ‘pic’ module
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
Katrina Uychaco
004a0e870d
Add ApplicationDelegate listener disposables to subscriptions
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
a8a5006950
Add missing subscription event
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
44d7832745
add @update to AtomEnvironment
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
joshaber
6beed1d765
Merge branch 'master' into windows-git-fixes
2016-03-01 15:43:47 -05:00
Katrina Uychaco
19623b3543
Merge pull request #11009 from atom/ku-dont-destroy-pane-if-replacing-last-pending-item
...
Don't destroy pane if replacing last pending item
2016-03-01 11:00:34 -08:00
joshaber
87c74a8359
Merge branch 'master' into atom-textarea
2016-03-01 10:13:18 -05:00
Lee Dohm
668ec1901a
Merge pull request #11008 from jonjitsu/master
...
📝 Add documentation for order key in config.
2016-02-29 23:59:33 -08:00
joshaber
367f6db7a4
Merge branch 'master' into atom-textarea
2016-02-29 23:02:52 -05:00