Commit Graph

36452 Commits

Author SHA1 Message Date
Ash Wilson
286a110ef4 Merge pull request #19207 from atom/aw/versioned-application-state
Only store directories in serialized application state
2019-04-24 17:22:10 -04:00
Ash Wilson
c8beb6ffab Open loaded window options *first* 2019-04-24 15:22:32 -04:00
Ash Wilson
2988226370 Set {newWindow: true} for options recovered from application.json 2019-04-24 15:22:03 -04:00
Ash Wilson
a53addbf78 Update AtomWindow::projectRoots synchronously on openLocations() 2019-04-24 15:04:59 -04:00
Ash Wilson
f1e0843473 Don't report missing project folder errors twice 2019-04-24 11:34:36 -04:00
Ash Wilson
2b1aaa7a13 Save application state with a version-tagged schema
Load application state from the current or previous application.json 
schema. Filter out file paths when loading old state.
2019-04-24 10:18:47 -04:00
Ash Wilson
f4be123137 Test a new application.json schema and our handling of the old one 2019-04-24 10:17:20 -04:00
Ash Wilson
a0e9bb785f Merge pull request #19203 from atom/aw/reopen-projects
"Reopen projects" in a new window
2019-04-23 17:35:13 -04:00
Jason Rudolph
9747f747c6 Update src/main-process/atom-application.js
Co-Authored-By: smashwilson <smashwilson@github.com>
2019-04-23 16:37:03 -04:00
Ash Wilson
68af9d1565 Use open-chosen-xyz commands instead of open-command with a parameter 2019-04-23 11:53:49 -04:00
Ash Wilson
8a933d879c Document why 'open-file' is there 2019-04-23 11:53:25 -04:00
Ash Wilson
405304d449 🎨 formatting tweak 2019-04-23 11:19:01 -04:00
Ash Wilson
213f3b28b3 Rework and test IPC events that create windows 2019-04-23 11:18:53 -04:00
Ash Wilson
0cd7020036 Merge pull request #19200 from atom/aw/electron-link-up
Re-upgrade electron-link to v0.3.3
2019-04-23 10:51:42 -04:00
Ash Wilson
57e4931206 ⬆️ electron-link@0.3.3 2019-04-22 21:05:24 -04:00
Ash Wilson
758fd9d75c Merge pull request #19169 from atom/aw/launch-it
Improve launch behavior
2019-04-22 20:39:28 -04:00
Jason Rudolph
5055be06ca Update spec/main-process/atom-application.test.js
Co-Authored-By: smashwilson <smashwilson@github.com>
2019-04-22 16:00:28 -04:00
Ash Wilson
ab490a064a Test for restoring windows over directories and files 2019-04-19 18:07:18 -04:00
Ash Wilson
c719dc8aa2 Test empty command-line cases 2019-04-19 17:37:23 -04:00
Ash Wilson
96e6403573 Remove unused forceAddToWindow 2019-04-19 17:36:33 -04:00
Jason Rudolph
96124941f3 Fix language-python and first-mate versions in package-lock.json
/xref https://ci.appveyor.com/project/Atom/atom/builds/23980099/job/ccjdy5wjefa8ox1y
2019-04-19 17:31:38 -04:00
Jason Rudolph
f3f32c45cc Merge pull request #19176 from atom/respect-package-lock-on-ci
Teach CI to use versions specified in package-lock.json
2019-04-19 17:13:38 -04:00
Nathan Sobo
54a0419ea7 ⬆️ first-mate@7.2.0 2019-04-19 15:08:47 -06:00
Nathan Sobo
bca3e5bcfd Merge pull request #18499 from Aerijo/content-regex
Support contentRegex for TextMate grammar
2019-04-19 14:58:58 -06:00
Nathan Sobo
406e033323 Merge pull request #19183 from atom/ns/upload-windows-crashes-on-release-branches
On Azure DevOps, upload Windows crash dumps to S3 on release branches
2019-04-19 13:52:47 -06:00
Ash Wilson
8126a136cd Read hasOpenFiles to determine whether or not the initial editor should open 2019-04-19 15:50:24 -04:00
Ash Wilson
cc1ddf1011 Use hasOpenFiles to flag a window that will receive openLocations() 2019-04-19 15:50:03 -04:00
Ash Wilson
190875873e 📝 Document the LaunchScenario stuff 2019-04-19 15:07:33 -04:00
Ash Wilson
28116828a1 Consistently operate on result.pathToOpen 2019-04-19 14:37:26 -04:00
Ash Wilson
d3bb28f1a4 File under "how did this ever work" 2019-04-19 14:33:22 -04:00
Ash Wilson
53188eb19d Distinct test names 2019-04-19 14:33:00 -04:00
Nathan Sobo
5a6f93d1c3 Fix lint errors 2019-04-19 12:03:40 -06:00
Ash Wilson
1a123c06ef Line separators are hard okay 2019-04-19 13:59:30 -04:00
Ash Wilson
97c4038906 Fix problems with _dimensions being modified in-place 2019-04-19 13:10:17 -04:00
Nathan Sobo
51d97a16d8 Add test for content regexes in first-mate grammars 2019-04-19 10:55:34 -06:00
Ash Wilson
e8cc4aa421 Call removeWindow() explicitly to simulate a window close 2019-04-19 12:55:03 -04:00
Ash Wilson
b9268c703c URL pathnames use /, not path.sep 2019-04-19 12:53:30 -04:00
Max Brunsfeld
0e675d1c47 Update package-lock.json so tree-sitter-rust is at top level 2019-04-19 09:12:39 -07:00
Ash Wilson
c4f3b519d3 Replace the AtomApplication test suite 2019-04-19 12:07:21 -04:00
Ash Wilson
3645cef518 More marking stuff covered 2019-04-19 12:06:09 -04:00
Ash Wilson
a3a44006be Tests for URL handling, no-window actions on macOS, and app re-use 2019-04-19 12:06:01 -04:00
Ash Wilson
37e471b315 Omit missing windows from the shorthand assertion summary 2019-04-19 12:05:16 -04:00
Ash Wilson
91dce7faba Track created windows in the createWindow stub 2019-04-19 12:04:51 -04:00
Ash Wilson
af28d3c248 Pass atom:// URL arguments through directly 2019-04-19 12:04:17 -04:00
Ash Wilson
1ba571becd Create and restore ATOM_HOME for the socket stuff 2019-04-19 12:03:58 -04:00
Ash Wilson
ad2b431c5c Stub trivial isSpecWindow method 2019-04-19 12:03:22 -04:00
Ash Wilson
18ec08735e Don't require locationsToOpen in load settings 2019-04-19 12:03:04 -04:00
Ash Wilson
a303e31c1b Consistently return an AtomWindow from openPackageUriHandler 2019-04-19 12:02:36 -04:00
Ash Wilson
a1e3598648 Default devMode, safeMode, and window to predictable false values 2019-04-19 12:02:11 -04:00
Ash Wilson
9d8ae2aa82 Return a Promise that resolves once the server has started listening 2019-04-19 12:01:51 -04:00