Commit Graph

18 Commits

Author SHA1 Message Date
Max Brunsfeld
98070275b5 Normalize command line paths with windows drive letters 2018-02-14 17:22:36 -08:00
Antonio Scandurra
49e704291d Register for core.titleBar changes after the initial load of config
This prevents the change handler for `core.titleBar` from being
triggered every time a new instance of the main process is created. This
fixes a regression that was causing users to be prompted for a restart
every time they opened Atom.

Co-authored-by: Max Brunsfeld <maxbrunsfeld@github.com>
Co-authored-by: Nathan Sobo <nathan@github.com>
2018-01-31 09:24:15 -07:00
Max Brunsfeld
1d20b8ee1d Start work on routing all config file IO through main process 2018-01-25 20:35:00 -08:00
Bryant Ung
c100ad0108 Merge pull request #16525 from atom/wl-async-message-box
Use async dialog.showMessageBox
2018-01-21 13:39:48 -08:00
Wliu
056c825d18 Merge branch 'master' into wl-async-message-box 2018-01-19 16:12:37 -05:00
Max Brunsfeld
9f35de4413 Always return an array from AtomApplication.launch 2018-01-19 13:08:49 -08:00
Max Brunsfeld
f7aba5a132 Replace loadState with side-effect-free loadPreviousWindowOptions
Signed-off-by: Nathan Sobo <nathan@github.com>
2018-01-19 13:08:49 -08:00
Max Brunsfeld
61e53834e6 Make StorageFolder.load, AtomApplication.launch async
Signed-off-by: Nathan Sobo <nathan@github.com>
2018-01-19 11:52:25 -08:00
Max Brunsfeld
e2ad4e6a8b Make StorageFolder.store async
Signed-off-by: Nathan Sobo <nathan@github.com>
2018-01-19 11:37:07 -08:00
Max Brunsfeld
0390548e2c Make FileRecoveryService async 2018-01-18 11:27:27 -08:00
Wliu
f922727644 Use async dialog.showMessageBox 2018-01-09 21:17:17 -05:00
Max Brunsfeld
6f50f32116 Rename pathsToNotifyWhenClosed -> pathsWithWaitSessions 2018-01-05 17:50:11 -08:00
Max Brunsfeld
386b786d93 Let 'atom --wait -a folder' exit due to removing the project folder 2018-01-05 17:50:11 -08:00
Max Brunsfeld
1f4ccf3024 Allow existing windows to be reused when running --wait 2018-01-05 17:50:11 -08:00
Max Brunsfeld
7f76320387 Backfill a test for existing --wait functionality 2018-01-05 17:50:11 -08:00
Max Brunsfeld
9d30003e58 Use async/await in before-quit handler 2018-01-05 12:11:10 -08:00
Max Brunsfeld
cf3d272e47 Remove side effect from AtomWindow constructor
Standard was complaining about using 'new' for its side effect
2018-01-05 12:11:10 -08:00
Max Brunsfeld
043f183b1a Decaffeinate AtomApplication 2018-01-05 09:05:02 -08:00