Max Brunsfeld
2575cf6b1a
Fix path duplication after decaffeinating main process code
2018-02-16 13:41:17 -08:00
Max Brunsfeld
e3135f1938
Continue to normalize any non-URL path command line arg
...
Also, remove duplicate file stat'ing in AtomWindow
2018-02-15 10:40:31 -08:00
Max Brunsfeld
98070275b5
Normalize command line paths with windows drive letters
2018-02-14 17:22:36 -08:00
Max Brunsfeld
c47ed5ea06
Merge pull request #16701 from atom/fb-pw-configurable-loadSettings
...
add `configurable: true` to browserwindow.loadSettingsJSON
2018-02-08 23:07:56 +01:00
Philip Weiss
c3309ee9b9
remove trailing comma
2018-02-08 12:55:20 -08:00
Philip Weiss
ef50a52405
add configurable: true to browserwindow.loadSettingsJSON
2018-02-08 10:33:47 -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
Antonio Scandurra
ff6dc42fcd
Merge pull request #16594 from atom/as-stop-transpiling-core-js-paths
...
Stop using Babel in Atom Core (benchmarks, exports, src)
2018-01-20 10:30:56 +01: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
Antonio Scandurra
e68a2b1eb9
Replace import and export keywords with require and module.exports
2018-01-19 09:43:55 +01: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
Wliu
b69631a444
Merge branch 'master' into wl-async-save-dialog
2018-01-07 20:55:16 -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
0085bc83e4
Decaffeinate AtomProtocolHandler
2018-01-05 13:20:26 -08:00
Max Brunsfeld
2793498e0b
Decaffeinate ApplicationMenu
2018-01-05 13:13:30 -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
822900f40e
Decaffeinate AtomWindow
2018-01-05 12:11:10 -08:00
Max Brunsfeld
043f183b1a
Decaffeinate AtomApplication
2018-01-05 09:05:02 -08:00
Morten Piibeleht
1964b0094b
Make socketPath shorter
...
To work around the limited socket file length on macOS/BSD.
2017-12-28 13:06:52 +13:00
Morten Piibeleht
2b3e22a39d
Allow independent Atom instances
...
By having an $ATOM_HOME-dependent part in the socket name, Atom
instances that have different homes will run in independent processes.
Fixes the current behaviour where starting Atom with a new $ATOM_HOME
"opens" an Atom window with settings and packages from the original
$ATOM_HOME. Useful for IDEs.
2017-12-28 13:02:25 +13:00
Max Brunsfeld
798bbe3c32
Revert "Independent Atom instances (per $ATOM_HOME)"
2017-12-27 13:35:01 -08:00
Damien Guard
016c321bba
Merge pull request #15081 from mortenpi/multiple-instances
...
Independent Atom instances (per $ATOM_HOME)
2017-12-17 16:52:20 -08:00
Wliu
9f9ec92e9b
Make showSaveDialog optionally async
2017-11-20 19:29:39 +01:00
Wliu
e941dbd9be
Make ContextMenu async
2017-11-15 11:51:54 +01:00
Michelle Tilley
cbf2d24d9e
⌨️ fix typo
2017-11-02 11:31:06 -07:00
Michelle Tilley
2d20886cfa
Rename AtomApplication#windows -> #windowStack
...
Update references across codebase
2017-11-01 14:36:23 -07:00
Michelle Tilley
662a397860
👕
2017-10-19 16:19:44 -07:00
Michelle Tilley
8111ba6c1e
Allow core URI handlers to determine which window to trigger the URI on
2017-10-19 15:50:24 -07:00
Michelle Tilley
e1bc9b593b
Run URI handlers in last non-spec window
2017-10-19 14:37:08 -07:00
Michelle Tilley
158622ce48
Convert array of windows in AtomApplication to a WindowStack
2017-10-19 14:19:24 -07:00
Michelle Tilley
9b5f95a14d
openWithAtomUrl -> openPackageUriHandler
2017-10-17 15:26:29 -07:00
Michelle Tilley
5e43084cd3
url -> URI
2017-10-17 15:23:10 -07:00
Morten Piibeleht
3bee363375
Allow independent Atom instances
...
By having an $ATOM_HOME-dependent part in the socket name, Atom
instances that have different homes will run in independent processes.
Fixes the current behaviour where starting Atom with a new $ATOM_HOME
"opens" an Atom window with settings and packages from the original
$ATOM_HOME. Useful for IDEs.
2017-10-16 11:20:33 +02:00
Michelle Tilley
eecd524788
Differenter
2017-09-21 14:57:33 -07:00
Michelle Tilley
6227203de7
Do this different
2017-09-21 14:55:19 -07:00
Michelle Tilley
c52d517d13
Limit argument parsing when --url-handler is set
2017-09-21 14:50:41 -07:00
Michelle Tilley
d81f48b1b2
✅
2017-09-19 13:47:46 -07:00
Michelle Tilley
ed423672ef
Getting the package manager requires devMode
2017-09-19 12:22:58 -07:00
Michelle Tilley
3c5d471ec7
Fix bugs in urlMain handling
2017-09-19 10:41:53 -07:00