Max Brunsfeld
4d3a9ec17b
Update TextEditorRegistry spec to expect sync updates
2018-08-24 10:37:06 -07:00
Max Brunsfeld
f1f37ee948
Update syntax highlighting synchronously if parsing completes synchronously
2018-08-24 09:34:58 -07:00
Max Brunsfeld
c0c071d6a4
Avoid error calling buildHighlightIterator on a destroyed language mode
2018-08-24 09:34:58 -07:00
Max Brunsfeld
3b9eb20c15
Implement getNonWordCharacters on TreeSitterLanguageMode
2018-08-24 09:34:58 -07:00
Max Brunsfeld
f716a73b59
Allow replacing editor's grammar with a grammar with the same scope name
2018-08-24 09:34:58 -07:00
Max Brunsfeld
d937f14265
Fix off-by-one error that was masked by TextMateLanguageMode
...
TextMateLanguageMode.isRowCommented would return `undefined` instead of
`false` for out-of-bounds rows.
2018-08-24 09:34:58 -07:00
Max Brunsfeld
d1283fa69f
Fix TreeSitterLanguageMode.isRowCommented
2018-08-24 09:34:58 -07:00
David Wilson
9aa50b9cd4
Merge pull request #17903 from atom/dw-fix-dev-resource-path
...
Always provide a devResourcePath in load settings
2018-08-22 16:38:28 -07:00
David Wilson
c1f58e7971
Recognize short form argument -r of --resource-path in main.js
2018-08-22 12:42:15 -07:00
David Wilson
f31471707d
Remove resourcePath and devResourcePath assignment from parseCommandLine
2018-08-22 12:41:36 -07:00
David Wilson
bb1f7b0a2f
Always provide a devResourcePath in load settings
2018-08-22 11:48:50 -07:00
Ash Wilson
393ded88bc
Inherit environment variables in the test runner window
2018-08-22 13:26:46 -04:00
Ash Wilson
dbb3947250
Pass the environment to the window if one is present
2018-08-22 13:22:08 -04:00
Ash Wilson
e1015103c8
Use Object.assign() instead of spread so we don't confuse Joanna
2018-08-22 13:21:44 -04:00
Ash Wilson
528346040c
Pass additional options to the test runner window
2018-08-22 10:28:41 -04:00
Ash Wilson
42c75ecbe5
Pass additional options with run-package-specs message
2018-08-22 10:28:20 -04:00
David Wilson
cbcad274a7
Merge pull request #17892 from atom/dw-improve-repo-local-packages
...
Improve repo-local packages implementation
2018-08-21 15:26:18 -07:00
Ash Wilson
4e150179a9
Merge pull request #17736 from atom/aw/custom-line-number-gutter
...
Multiple, custom line number gutters
2018-08-21 18:17:31 -04:00
David Wilson
2d65535147
Don't normalize undefined devResourcePath on Windows
2018-08-21 14:20:42 -07:00
David Wilson
ba12a1e2fc
Simplify dev resource path detection
2018-08-21 11:57:18 -07:00
David Wilson
ad4553cbba
Merge pull request #17686 from atom/dw-repo-local-core-packages
...
Enable repo-local core packages in the 'packages' folder
2018-08-21 10:08:39 -07:00
Ash Wilson
ddb1dec987
Merge remote-tracking branch 'origin/master' into aw/custom-line-number-gutter
2018-08-21 11:39:47 -04:00
David Wilson
8cd788e00f
👕
2018-08-21 06:50:37 -07:00
David Wilson
7b50f72ac2
Call getDevResourcePath
2018-08-21 06:43:28 -07:00
David Wilson
94f972e0bf
Teach --dev to detect Atom repo in process.cwd()
2018-08-21 06:40:25 -07:00
David Wilson
b84592ba10
Allow nightly releases to auto-update
...
This change removes a bad version check which prevented nightly releases
to be considered for auto-update checks. The fix is to only skip
auto-updates when using a build with a version containing `-dev`.
Fixes #17885
2018-08-20 15:40:14 -07:00
Max Brunsfeld
fd6f9d39bd
Make tree-sitter scope descriptors match HTML classes, not syntax tree
2018-08-20 10:40:55 -07:00
Max Brunsfeld
760b38c54b
Support a single scope name field on Tree-sitter grammars
...
* Remove the `legacyScopeName` field
* Remove the legacy scope name concept from the Config class
* Handle tree-sitter grammars and textmate grammars having the same
scope names
2018-08-20 09:58:37 -07:00
David Wilson
f922b7bd91
Merge pull request #17779 from atom/fb-mdt-esc-shouldnt-destroy
...
Don't take destructive action on esc
2018-08-15 06:41:36 -07:00
Joseph Lyons
0a361de70e
Added word "want" in sentence
2018-08-11 01:09:33 -04:00
Max Brunsfeld
9072e58ea7
Merge pull request #17816 from atom/mb-tree-sitter-grammar-regex-tweaks
...
Support two different content-matching regexes for tree-sitter grammars
2018-08-10 13:33:24 -07:00
Max Brunsfeld
6d54578daa
Use setTimeout instead of setImmediate in MenuManager
...
This should fix the flaky test failures that have been occurring on windows VSTS builds
2018-08-10 12:33:00 -07:00
Max Brunsfeld
87784989ad
Merge pull request #17750 from atom/mb-reduce-test-noise
...
Fix errors causing tests to fail when run from the UI
2018-08-10 12:22:54 -07:00
Max Brunsfeld
858071d54e
👕
2018-08-09 17:48:08 -07:00
Max Brunsfeld
6f41353e9f
Support two different content-matching regexes for tree-sitter grammars
...
* firstLineRegex is only tested against the first line of the file, and
if it matches, it allows the grammar to be used for the file.
* contentRegex is only tested if the grammar matched the file name
or the grammar's firstLineRegex matched. It is used to break ties
between grammars like C and C++, Flow and JS
2018-08-09 17:19:32 -07:00
David Wilson
298db7314c
Merge remote-tracking branch 'origin/master' into dw-repo-local-core-packages
2018-08-08 11:07:05 -07:00
Max Brunsfeld
826844c7e0
Emit onDidTokenize event from TreeSitterLanguageMode
2018-08-07 21:03:03 -07:00
David Wilson
6753b929cb
Don't depend on ATOM_DEV_RESOURCE_PATH for local core package path
2018-08-07 16:09:34 -07:00
David Wilson
86b8ead239
👕
2018-08-07 16:09:34 -07:00
David Wilson
77960f1d42
Enable repo-local core packages in the 'packages' folder
2018-08-07 15:57:43 -07:00
Max Brunsfeld
fce7360cdd
Avoid stack overflows due to spread in Array.splice call
2018-08-06 15:32:18 -07:00
Max Brunsfeld
53218b921b
Merge pull request #17774 from atom/fb-mdt-atomic-config-saves
...
Write config file atomically
2018-08-06 11:36:44 -07:00
Max Brunsfeld
058e2b82dc
Allow comma-separated selectors as keys in Tree-sitter scope mappings
2018-08-04 17:17:43 -07:00
Matthew Dapena-Tretter
272566dfad
Don't take destructive action on esc
2018-08-03 13:19:40 -07:00
Matthew Dapena-Tretter
f77391b158
Write config file atomically (write and replace)
2018-08-03 10:38:12 -07:00
Winston Liu
3e97867f3e
📝 correctly link function in docs
...
[ci skip]
2018-08-02 17:24:03 -05:00
Ash Wilson
b3518acd12
Merge branch 'master' into aw/custom-line-number-gutter
2018-07-31 07:54:57 -04:00
Ashi Krishnan
639164034f
Merge branch 'master' into regex-matchers-for-style-map
2018-07-30 12:46:08 -04:00
Ash Wilson
a61f006a62
Merge branch 'master' into aw/custom-line-number-gutter
2018-07-30 09:07:20 -04:00
Ash Wilson
95658c3769
👕
2018-07-27 11:18:35 -04:00