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
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
Michelle Tilley
f6d7cdd417
Merge remote-tracking branch 'origin/master' into mkt-url-based-command-dispatch
2017-09-19 09:29:58 -07:00
Michelle Tilley
f66e4c21d8
Correctly initialize AtomWindow
2017-09-18 19:01:41 -07:00
Michelle Tilley
a7b52ee9cb
Fix missing devMode param in AtomApplication#findPackageWithName
2017-09-18 18:52:18 -07:00
Michelle Tilley
208132fb52
Refactor AtomApplication URL opening code
2017-09-18 17:46:57 -07:00
Michelle Tilley
9e74e164b6
Merge remote-tracking branch 'origin/master' into mkt-url-based-command-dispatch
2017-09-18 16:49:12 -07:00
David Reiss
8ef9dabffa
Allow atom:// urls to be opened from the command line
...
Some Atom extensions (like Nuclide) have functionality that can only be
triggered by open-url events, which only work on Mac OS. With this
change, `atom://` URLs can be passed on the command-line, and they will
opened with the normal openUrl method on all platforms.
This change doesn't set Atom up as the default handler for atom:// urls.
That will require some platform-specific changes.
2017-09-18 12:27:29 -07:00
simurai
915e886711
Merge branch 'master' into sm-native-tabs
2017-08-24 13:52:52 +09:00
Nathan Sobo
8e6497bfba
Merge pull request #15277 from captbaritone/accel
...
Add accelerator indicators to context menus
2017-08-15 10:40:35 -06:00
Antonio Scandurra
91b7c14281
Prompt user only once when quitting/restarting and canceling save dialog
...
I think this slipped through during the refactoring performed in
dc32018 . With this commit we are fixing the regression and adding a new
main process regression test to exercise this behavior.
2017-08-14 12:21:19 +02:00
Jordan Eldredge
e71d8d863c
Add accelerator indicators to context menus
...
Electron allows us to pass an "accelerator" property for each menu item, which
is renders to the right of the menu item. We were already adding these for the
application level menus.
This pull request adds the accelerator property to regular context menu items,
which should make it easier for people to discover/recall key mappings for
actions which they usually take via a context menu.
2017-08-12 15:00:44 -07:00
Ash Wilson
6c608e88bc
Merge remote-tracking branch 'origin/master' into aw-filewatcher
2017-08-05 10:14:32 -04:00
Ash Wilson
97ffe46247
Consistently use require('temp').track()
2017-08-04 14:08:29 -04:00
Nathan Sobo
55748bd2c4
Document enable-electron-logging option
2017-08-02 21:12:02 -06:00
Lee Dohm
f35ca01202
Merge pull request #14795 from atom/wl-please-test-where-i-tell-you-to
...
Always run tests where directed
2017-07-19 15:17:52 -07:00
Damien Guard
269623c9ba
Update loadSettingsJSON when paths change, fixed #13933
2017-07-11 20:46:09 -07:00
Damien Guard
68b7bf46dd
Make loadSettings a property so we can change it
2017-07-11 17:04:54 -07:00
Wliu
5ca738b84c
Always run tests where directed
2017-06-15 21:59:12 -04:00
Paul Betts
2c29d99f33
Directly tell Squirrel what kinds of shortcuts to create
2017-06-14 15:08:35 -07:00
TJ Kohli
5524aca461
Improved clarity of Editor not responding actions
...
Changed "Close" to "Force Close" because "Close" might imply closing the Alert/Dialog instead of the editor, whereas "Force Close" better describes the action that button will take.
2017-06-10 19:30:52 -04:00
simurai
b854edef07
Enable native tabs on macOS
2017-06-03 15:54:53 +09:00
Max Brunsfeld
d289ca4471
Fix unintended unload prevention for spec windows
2017-06-02 10:30:10 -07:00
Max Brunsfeld
dc320181fc
Fix handling of .save and .saveAs rejections
...
* Make Pane.close, Pane.saveActiveItem, and Pane.saveActiveItemAs async.
* Refactor the logic for prompting to save on window unload
2017-05-31 17:46:04 -07:00
Ian Olsen
ddcf5460ed
Merge pull request #14427 from atom/fb-hw-url-fix2
...
Fix the atom:// URL handler for real (with tests this time)
2017-05-24 08:41:43 -07:00
Lee Dohm
85e65ffd1c
Merge pull request #14492 from mrngoitall/fix-report-issue-link
...
🐛 Fix Report Issue link to CONTRIBUTING.md
2017-05-22 12:02:41 -07:00
Antonio Scandurra
a7066e387f
Fix lint errors
...
Signed-off-by: Nathan Sobo <nathan@github.com >
2017-05-19 11:07:38 +02:00
Antonio Scandurra
d158e44374
Merge branch 'master' into tj-upgrade-electron
2017-05-19 11:05:15 +02:00
Will Ngo
6283463d88
🐛 Fix Report Issue link to CONTRIBUTING.md
2017-05-18 14:31:27 -07:00