Commit Graph

17179 Commits

Author SHA1 Message Date
Ash Wilson
b095482071 Replace containsPath(s) with containsLocation(s)
This lets us use existing stat data.
2019-04-18 16:12:51 -04:00
Ash Wilson
efeb2cdb0a stat locations in parsePathToOpen() 2019-04-18 16:11:02 -04:00
Ash Wilson
41eacf7af7 Move AtomWindow creation into a dedicated, stubbable method 2019-04-18 10:51:02 -04:00
Ash Wilson
f7fd560ca0 :doc: comment reflow 2019-04-17 15:56:59 -04:00
Ash Wilson
87a4213b6a Rewrite AtomApplication::openPaths() logic to find existing windows 2019-04-17 15:56:49 -04:00
Ash Wilson
bd788b1cbd 📝 a/an 2019-04-17 15:13:17 -04:00
Ash Wilson
9409ba821c Account for a window being destroyed before an IPC message is delivered 2019-04-17 15:13:02 -04:00
Ash Wilson
4c432b6010 Don't send IPC replies to destroyed windows 2019-04-17 15:12:25 -04:00
Ash Wilson
a48dd69232 Getter for AtomWindow's loadedPromise 2019-04-17 14:10:14 -04:00
Rafael Oleza
1a1468b61f Calculate env vars when launching Atom from the desktop 2019-04-11 17:11:07 +02:00
Ash Wilson
ffb295d5d6 Conditionally include {window} in getLoadSettings() 2019-04-10 16:50:21 -04:00
Ash Wilson
866447934e promptForPathToOpen() uses an existing window when only files are chosen 2019-04-10 16:15:39 -04:00
Ash Wilson
03908ddfab Pass along the source window of an open-command IPC event 2019-04-10 16:09:32 -04:00
Ash Wilson
e39b12b165 Prefer a {window} explicitly provided to openPaths() 2019-04-10 16:08:59 -04:00
Nathan Sobo
218086d379 Merge branch 'master' into comment-cursor-placement 2019-04-08 16:19:25 -06:00
Max Brunsfeld
f861d89fd3 Revert "Merge pull request #19060 from atom/mb-tree-sitter-0-14"
This reverts commit 386b153878, reversing
changes made to 5a4cfeb12c.
2019-04-08 10:08:02 -07:00
Max Brunsfeld
386b153878 Merge pull request #19060 from atom/mb-tree-sitter-0-14
Update tree-sitter to v0.14.0
2019-04-07 14:26:11 -07:00
Nathan Sobo
5a4cfeb12c Document radio: true option introduced in atom/settings-view#1089 2019-04-05 16:57:47 -06:00
Rafael Oleza
31d7dd6bb9 Add explicit handle for errors when decrypting 2019-04-05 17:13:53 +02:00
Rafael Oleza
bca056d956 Remove the handling logic for the --socket-path arg 2019-04-05 17:13:53 +02:00
Rafael Oleza
d40ca4b675 Implement authentication and encryption of the client 2019-04-05 17:13:53 +02:00
Rafael Oleza
5e124f437e Implement server-side authentication on pipes
This is done by using a secret as the name of the pipe
2019-04-05 17:13:53 +02:00
Rafael Oleza
a7d1e682e6 Extract logic to get the socket name to a function 2019-04-05 17:13:53 +02:00
Rafael Oleza
f04a00ac2d Remove --socket-path CLI argument 2019-04-04 17:55:58 +02:00
Rafael Oleza
2656d4a846 Merge pull request #19058 from rafeca/fix-reopen-project
Fix reopen project when there are no open windows
2019-03-27 16:21:45 +01:00
Ash Wilson
53c02025ff Merge pull request #19028 from atom/aw/revert-launch-scenario-change
Revert launch scenario changes
2019-03-27 10:02:05 -04:00
Max Brunsfeld
71200e8edd ⬆️ tree-sitter to 0.14.0 2019-03-26 17:30:32 -07:00
Rafael Oleza
4fd800328a Do not delete global scope setting when resetting user settings 2019-03-26 19:19:59 +01:00
Rafael Oleza
9f453e64fe Fix reopen project when there are no open windows 2019-03-26 17:01:38 +01:00
Ash Wilson
2526e69e28 Exit with 1 and a message when -a and -n are both provided 2019-03-22 11:29:21 -04:00
Ash Wilson
372652915e 👕 Add missing newWindow parameter 2019-03-21 19:53:06 -04:00
Ash Wilson
2546170c0b Revert changes to help text 2019-03-21 19:09:19 -04:00
Ash Wilson
18847f79d1 Restore the newWindow option to force a path to open in a new window 2019-03-21 19:09:02 -04:00
Ash Wilson
4af379ae8e Re-use an existing window if one is available that contains all paths 2019-03-21 18:15:38 -04:00
Jason Rudolph
c9e6d04e8c Revert "Merge #18603 from atom/electron-3-0"
This reverts commit b92ae2ad04, reversing
changes made to d4fe5ccfeb.
2019-02-25 13:41:59 -05:00
Lee Dohm
d07d854986 Merge pull request #16558 from lgeiger/async-git
Add async implementation of GitRepositoryProvider.repositoryForDirectory
2019-02-21 09:29:53 -08:00
Ash Wilson
f0fb288849 Override console.(log|error) and process.std(out|err) when headless 2019-02-17 17:09:58 -05:00
David Wilson
bf3502c4db Fix "Open Folder" menu item on Windows 2019-02-15 09:54:44 -08:00
Nikolay Karev
5e3f12857f Shorter conditionals 2019-02-07 11:46:11 -08:00
Nikolay Karev
bed9c6966e File -> Open works without open windows 2019-02-07 11:46:11 -08:00
David Wilson
6e39fe3097 Merge pull request #18775 from atom/dw-fix-macos-update-restart
Fix restart behavior for "Restart and Install Update" on macOS
2019-02-04 09:54:34 -08:00
David Wilson
2a97673781 Fix restart behavior for "Restart and Install Update" on macOS 2019-02-01 15:51:02 -08:00
Ash Wilson
af64c82a7f Consolidate the "type" documentation to a single list 2019-02-01 13:52:21 -05:00
Ash Wilson
6dd7dcd83b Document the new parameter 2019-02-01 13:37:30 -05:00
Ash Wilson
f4e9b62261 Insert "position: after" decorations in increasing order 2019-02-01 13:18:34 -05:00
Ash Wilson
e8d304b8c7 Sort block decorations to render by order, then id 2019-02-01 13:14:39 -05:00
Ash Wilson
3345000273 Include id and order in Decoration parameters 2019-02-01 13:14:14 -05:00
David Wilson
b92ae2ad04 Merge pull request #18603 from atom/electron-3-0
Upgrade to Electron 3.0
2019-01-31 19:15:14 -08:00
David Wilson
7248737b94 Fix usage of deprecated Buffer APIs in render process 2019-01-25 16:10:56 -08:00
Ash Wilson
039aea4150 Restore missing return statement 2019-01-25 09:20:51 -05:00