Commit Graph

16743 Commits

Author SHA1 Message Date
Max Brunsfeld
3f710a1398 Merge pull request #12783 from vedharish/editor_delete_line 2018-01-08 15:58:22 -08:00
Michelle Tilley
8bc7e8a28f Update protocol client installation 2018-01-08 15:18:43 -08:00
Nathan Sobo
4926fe466c Move highlights container into lines for theme compatibility 2018-01-08 13:16:46 -07:00
Wliu
5c3d6abb12 Merge branch 'master' into wl-async-confirm 2018-01-07 21:08:32 -05:00
Wliu
b69631a444 Merge branch 'master' into wl-async-save-dialog 2018-01-07 20:55:16 -05:00
Max Brunsfeld
84c9524403 Omit anonymous token types in tree-sitter scope descriptors for now 2018-01-07 13:59:15 -08:00
Max Brunsfeld
3f11fa57ee Make tree-sitter indent methods delegate to textmate ones for now 2018-01-07 13:52:25 -08:00
Max Brunsfeld
fe4d14444f Merge branch 'master' into mb-tree-sitter-parsers 2018-01-05 19:59:52 -08: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
b2337fcc45 Merge pull request #16500 from atom/mb-decaf-application-delegate
Decaffeinate ApplicationDelegate
2018-01-05 17:16:13 -08:00
Bryant Ung
911b805065 Merge pull request #16295 from xfontes42/master
Add event handler for window resizing.
2018-01-05 17:01:15 -08:00
Max Brunsfeld
bbc8b54f91 Decaffeinate ApplicationDelegate 2018-01-05 14:59:57 -08:00
Max Brunsfeld
22766b93e7 Merge pull request #16495 from atom/mb-decaf-main-process
Decaffeinate some main process files
2018-01-05 14:25:51 -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
Tony Brix
03d16c4f5d return promise.all from dispatch 2018-01-05 14:53:59 -06:00
Tony Brix
b02aa369ca rebase atom.commands.onDidFinish 2018-01-05 14:53:59 -06: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
Jason Rudolph
022544a0b2 Merge pull request #16492 from atom/jr-fix-modal-tabbing
Allow you to tab through modal text box
2018-01-05 09:51:01 -05:00
Jason Rudolph
9d23d37965 If a TextEditorElement has a tabIndex, use it; otherwise, use -1 2018-01-04 17:55:53 -05:00
Max Brunsfeld
7aac32e915 Merge branch 'master' into mb-tree-sitter-parsers 2018-01-04 12:13:30 -08:00
Max Brunsfeld
7f923fc05f Fix section comments 2018-01-04 12:13:23 -08:00
Max Brunsfeld
75b4a7a984 ⬆️ joanna, put back AtomEnvironment public property docs 2018-01-04 12:12:43 -08:00
Jason Rudolph
408070e913 Set the tabIndex on the input element
This commit reverts a portion of the changes introduced in
9eac520e6a. Prior to that commit, we were
setting the tabIndex to -1 on the atom-text-editor element. This commit
restores that behavior.

Instead of setting a custom tab index directly on the atom-text-editor
element, we instead set the tabIndex on the input element *inside* the
atom-text-editor element.

With these changes in place, you can successfully use the tabIndex to
define the tab order for atom-text-editor elements. 😅
2018-01-04 14:31:11 -05:00
itsmichaelwang
e462d0d298 Fix lint issue 2018-01-04 14:23:12 -05:00
itsmichaelwang
9eac520e6a Allow you to tab through modal text box 2018-01-04 14:23:12 -05:00
Tobias V. Langhoff
d848c15d42 Fix typo in protocol handler installer popup
Correct the typo "defaut" to the correct "default" in the atom:// URI protocol handler popup
2018-01-04 19:36:21 +01:00
Max Brunsfeld
2fa3b65364 Merge branch 'master' into mb-tree-sitter-parsers 2018-01-03 15:20:10 -08:00
Nathan Sobo
5743c41e03 Merge pull request #16282 from atom/io-electron-1.7
Upgrade electron to 1.7.10
2018-01-03 16:19:20 -07:00
Max Brunsfeld
6998c2df8c Merge branch 'master' into mb-tree-sitter-parsers 2018-01-03 14:53:06 -08:00
Max Brunsfeld
733d6381cc Fix handling of {undo: 'skip'} in TextEditor.insertText
Signed-off-by: Nathan Sobo <nathan@github.com>
2018-01-03 13:00:53 -08:00
Max Brunsfeld
629cb206ec Fix handling of empty tokens in TreeSitterHighlightIterator 2018-01-03 09:34:12 -08:00
Max Brunsfeld
aed6248b7b Merge branch 'master' into mb-tree-sitter-parsers 2017-12-29 16:21:54 -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
3482f8fe6f Merge pull request #16455 from fordhurley/fix-unique-editor-ids
Ensure that new editors get unique ids
2017-12-27 14:43:40 -08:00
Max Brunsfeld
798bbe3c32 Revert "Independent Atom instances (per $ATOM_HOME)" 2017-12-27 13:35:01 -08:00
Max Brunsfeld
0b6e994ac6 Merge branch 'master' into mb-tree-sitter-parsers 2017-12-27 12:35:51 -08:00
Ford Hurley
b5189e4e4a Delint 2017-12-27 15:16:13 -05:00
Ford Hurley
f96a0d922e Ensure that new editors get unique ids
This restores the behavior from when TextEditor was written in
coffeescript, and extended the Model class.
2017-12-27 13:42:40 -05:00
Max Brunsfeld
662d38135b Use zero as the minimum value of getGrammarPathScore
This way, we can determine if the grammar matches a buffer in any way by
checking for a positive score.
2017-12-26 14:14:22 -08:00
Mark Lee
2c2d9597a7 💚 remove trailing whitespace from text editor docs 2017-12-24 12:10:29 -08:00
Antonio Scandurra
69799d35b2 Delete Chrome 56 workarounds 2017-12-22 14:44:17 +01:00
Antonio Scandurra
8b3c3bcfcf Loosen containment rules on dummy scrollbar elements
This commit uses `content` containment (i.e. `layout paint style`) as
opposed to `strict` containment (i.e. `layout paint style size`) for
dummy scrollbar elements.

By removing `size` containment we are fixing a rendering bug that was
preventing the scrollbar from being sized correctly. This problem was
caught by a TextEditorComponent test
(https://circleci.com/gh/atom/atom/6393).
2017-12-22 14:29:22 +01:00