Commit Graph

95 Commits

Author SHA1 Message Date
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
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
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
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
Wliu
5ca738b84c Always run tests where directed 2017-06-15 21:59:12 -04: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
Will Ngo
6283463d88 🐛 Fix Report Issue link to CONTRIBUTING.md 2017-05-18 14:31:27 -07:00
Lee Dohm
b28d0445d2 Fix search issues menu link
The previous link would give a 404 when the user was not logged in to
GitHub. This link works whether logged in or not.
2017-05-17 13:01:55 -07:00
hansonw
e8cd4bf431 Fix the atom:// URL handler for real (with tests this time) 2017-05-16 11:51:54 -07:00
Bryant Ung
f464bb3579 Merge pull request #13947 from anatoli26/master
Make an option to always restore the last session
2017-05-08 09:33:23 -07:00
hansonw
b5eca7c429 Call PackageManager.initialize from URL handler 2017-04-28 13:22:23 -04:00
Max Brunsfeld
89f1710cfe Wait for paths to open in main process test
Signed-off-by: Nathan Sobo <nathan@github.com>
2017-04-07 13:20:44 -07:00
Antonio Scandurra
81af989f0d Merge branch 'master' into as-snapshot-atom-environment 2017-03-16 21:08:41 +01:00
Antonio Scandurra
ad6a5ac3bf Don't send did-resolve-proxy messages to destroyed windows
This should fix some main process test failures we are observing on
AppVeyor.
2017-03-16 15:58:54 +01:00
Anatoli
a6e60762be Make an option to *always* restore the last session, no matter how Atom is invoked (#9643), part5: use _.deepClone from underscore-plus 2017-03-10 17:20:35 -03:00
Antonio Scandurra
05eb737a94 Set config schema entirely in the snapshot 2017-03-10 16:50:50 +01:00
Antonio Scandurra
c61df72548 Snapshot config, keymaps, tooltips, commands, grammars and styles 2017-03-10 16:48:00 +01:00
Antonio Scandurra
1e040c62d9 Add AtomEnvironment.prototype.resolveProxy(url)
This new private API will allow settings-view to communicate
asynchronously with the main process to resolve proxies, instead of
using `remote` and blocking the renderer process during startup.
2017-03-10 16:08:02 +01:00
Antonio Scandurra
11961b09ac Merge pull request #13949 from atom/as-minimize-startup-sync-io
Minimize synchronous I/O during startup
2017-03-10 15:00:30 +01:00
Anatoli
07c0498cf1 Make an option to *always* restore the last session, no matter how Atom is invoked (#9643), part4: import cloneDeep directly from lodash 2017-03-10 06:13:05 -03:00
Max Brunsfeld
4a1f98cb6c Create autoUpdateManager in AtomApplication constructor 2017-03-08 15:50:08 -08:00
Anatoli
6cc90c46ed Make an option to *always* restore the last session, no matter how Atom is invoked (#9643), part3: use _.cloneDeep from lodash instead of own clone function 2017-03-08 17:37:22 -03:00
Anatoli
9e41a1b490 Make an option to *always* restore the last session, no matter how Atom is invoked (#9643), part2: new option in Settings is merged with the old one, the result is a 3-value combobox [no, yes, always] 2017-03-08 10:38:08 -03:00
Antonio Scandurra
727472af58 Disable zoom in the main process
This commit will register the `display-added` and `display-removed`
events only once in the main process in order to disable zoom (see
https://github.com/atom/atom/pull/11345) directly instead of
unnecessarily paying for I/O in the renderer process during startup.
2017-03-07 10:54:42 +01:00
Anatoli
b71a9bb010 Make an option to *always* restore the last session, no matter how Atom is invoked (#9643) 2017-03-07 04:56:10 -03:00
simurai
ec9aec6686 Merge branch 'master' into sm-custom-title-bar 2017-02-21 21:56:53 +09:00
Nathan Sobo
c6cae5b8fd Store represented directory paths directly on AtomWindow in main process
Fixes #13729

Previously, when adding a window, we were unable to read its current
project paths out of the hash of the URL during window initialization
because the window still considered itself to be loading. Rather than
fixing this issue, we decided to completely eliminate the sharing of
state between processes in the window.location and instead switch to
cached synchronous RPC for the loadSettings and a dedicated RPC-based
mechanism for the project paths.
2017-02-07 13:15:27 -07:00
simurai
c406cc4420 Merge branch 'master' into sm-hidden-all 2017-01-14 10:09:07 +09:00
Vladimir Timofeev
a21841e5f3 Merge commit '1320ff28c39afd563820b30b43389ea38552e74c' into fix-12495 2017-01-07 01:19:50 +03:00
Damien Guard
5a446ff467 Clean up portable mode, try local .atom before ATOM_HOME 2016-12-11 15:59:24 -08:00
Joe Fitzgerald
1b2d2f0299 Use child_process.spawn instead of execFile
- Fixes #13084
- Kill child process on process exit, if it is running
- Ensure env is set correctly when new windows are launched
2016-11-14 10:06:26 -07:00
Damien Guard
0d0a2ae7b1 Windows 64-bit version of Atom 2016-11-10 16:59:12 -08:00
Lee Dohm
505160f24c Remove --harmony JavaScript flag 2016-10-27 11:50:08 -07:00
Damien Guard
8229924b96 History API, reopen project menu, command and list view 2016-10-21 15:13:59 -07:00
simurai
f05f0db94b Migrate config 2016-10-21 13:58:24 +09:00
simurai
f13fd74342 🎨 Resolve merge conflict 2016-10-15 20:53:02 +09:00
simurai
2571bbc6f2 Merge branch 'master' into sm-hidden-inset
# Conflicts:
#	src/main-process/atom-application.coffee
2016-10-15 19:45:50 +09:00
simurai
ed2c72a586 Add option to hide the title bar 2016-10-15 19:12:53 +09:00