Commit Graph

8490 Commits

Author SHA1 Message Date
Max Brunsfeld
f6d2d57299 Reparse again if there were changes since the last parse started 2018-05-23 08:11:54 -07:00
Max Brunsfeld
aced30da1f Start work on async parsing 2018-05-23 08:11:54 -07:00
hansonw
1f685768d5 Ensure grammar activation hooks are called after emitting new editors 2018-05-15 11:32:31 -07:00
Max Brunsfeld
7c6312b277 Update assertions about lack of memory-leak in GrammarRegistry specs 2018-04-25 13:17:33 -07:00
David Wilson
5b485dcb4b Merge pull request #15165 from segevfiner/sf-windows-update-process-env
Recognize Windows cmd or powershell environment in updateProcessEnv
2018-04-25 10:44:29 -04:00
David Wilson
31e9ddad1e Merge pull request #16864 from atom/fb-mdt-etch-docks
Convert Dock class to Etch
2018-03-30 11:59:08 -07:00
Ash Wilson
1342316e73 Maintain a global Map of ConfigFile instances 2018-03-27 08:54:37 -04:00
Ash Wilson
60033b7db1 🎨 remove extra space 2018-03-27 08:54:16 -04:00
Ash Wilson
7c9463acea Specs for concurrent opening 2018-03-23 09:14:48 -04:00
Ash Wilson
8fee5f8fb2 Merge remote-tracking branch 'origin/master' into aw/no-really-read-only 2018-03-21 11:55:52 -04:00
Ash Wilson
cf576a0a7e Verify Buffer-modifying methods on Selection 2018-03-21 11:52:47 -04:00
Ash Wilson
56a3f1bc41 Fill in missing ensureWritable() calls caught by the specs 2018-03-21 09:29:36 -04:00
t9md
38f080ef07 🔥 unnecessary async 2018-03-21 14:28:38 +09:00
t9md
f303d5906e undo/redo restore selection of change-initiated-editor 2018-03-21 14:26:05 +09:00
Ash Wilson
0f30f8d569 Specs for calling buffer modification methods on read-only editors 2018-03-20 16:31:06 -04:00
Antonio Scandurra
26837d65b4 Clip cursor width when soft-wrap is on and cursor is at the end of line
This prevents the parent tile from disabling sub-pixel anti-aliasing.
For some reason, adding `overflow: hidden` to the cursor container
element doesn't solve the issue, so we're adding this workaround
instead.
2018-03-13 12:04:35 +01:00
Philip Weiss
d7eff0ec55 Merge branch 'master' into fb-pw-simple-project-config 2018-03-09 14:06:14 -08:00
Antonio Scandurra
e2c89b29c8 Merge pull request #16428 from ernesto28/resize-pane
Resize pane
2018-03-09 08:38:44 +01:00
Matthew Dapena-Tretter
113453a219 Convert Dock to an etch component 2018-03-06 15:45:29 -08:00
Philip Weiss
685292bb8d fix linting issues 2018-03-06 11:09:58 -08:00
Philip Weiss
062dfdea80 address PR comments 2018-03-06 11:06:22 -08:00
Linus Eriksson
a790f1e3ec Randomize fontSize and lineHeight in the random test
This causes the failure fixed by https://github.com/atom/atom/pull/15831
to be caught by the randomized test more easily
2018-03-05 17:24:19 +01:00
Philip Weiss
232f821c35 remove getProjectSettings 2018-03-01 19:45:40 -08:00
Philip Weiss
3c02ab3621 add more spec 2018-03-01 19:12:53 -08:00
Philip Weiss
d5aaf9117a update with max's suggestions 2018-03-01 19:09:22 -08:00
Philip Weiss
9d95fd613e Merge branch 'fb-pw-simple-project-config' of github.com:atom/atom into fb-pw-simple-project-config 2018-03-01 13:28:25 -08:00
Philip Weiss
9fb756feeb save entire settings object, rather than just the filename 2018-03-01 13:28:16 -08:00
Philip Weiss
8f672b2e5f Merge branch 'master' into fb-pw-simple-project-config 2018-02-26 17:13:58 -08:00
Philip Weiss
48d3677664 update project api names 2018-02-26 15:45:56 -08:00
Philip Weiss
547b067f3e add callback to onDidReplaceAtomProject and add tests 2018-02-26 14:38:50 -08:00
Jordan Eldredge
fa9c8d1ace Merge pull request #16661 from captbaritone/context-menu-order-master
Enable packages to control order of context menu items
2018-02-22 09:36:43 -08:00
Segev Finer
6c9387d276 Add tests for recognizing Windows cmd or powershell environment in updateProcessEnv 2018-02-22 13:34:08 +02:00
Max Brunsfeld
2100f90cf4 Provide a default scope descriptor if language mode doesn't provide them 2018-02-21 14:55:58 -08:00
Jordan Eldredge
42e3a5015d Improve spec spacing 2018-02-21 13:14:45 -08:00
Max Brunsfeld
ea8165a1ca Make TreeSitterLanguageMode.scopeDescriptorForPosition accept arrays
Fixes #16808
2018-02-21 10:16:50 -08:00
Max Brunsfeld
1cdb804824 Tweak config APIs for dealing w/ legacy scope aliases 2018-02-20 11:07:45 -08:00
Philip Weiss
bf6a4e3db4 add .atomProject files 2018-02-18 15:03:00 -08:00
Nathan Sobo
e334f0419f Merge pull request #16753 from billyjanitsch/revert-15487
Stop scaling up small scroll wheel events
2018-02-16 11:58:33 -08:00
Nathan Sobo
f647109474 Merge pull request #15831 from atom/b3-failing-seed
Handle edits that scroll up due to hiding the horizontal scrollbar
2018-02-15 14:32:20 -08:00
Linus Eriksson
63326e969a Unfocus test and always return false to see if this fails on circle 2018-02-15 22:53:29 +01:00
Linus Eriksson
ad6b2131d6 Style the scrollbar in the test 2018-02-15 22:47:33 +01:00
Max Brunsfeld
adbd540029 Only return overridden language ids in .getGrammarOverride 2018-02-15 12:29:48 -08:00
Linus Eriksson
3059d14bd7 Merge remote-tracking branch 'origin/master' into b3-failing-seed 2018-02-15 19:49:58 +01:00
Billy Janitsch
a433e974eb Stop scaling up small scroll wheel events 2018-02-15 10:42:57 -08:00
Max Brunsfeld
3e7e8aecce Handle positions between CR and LF characters in TreeSitterTextBufferInput.seek 2018-02-14 07:49:02 -08:00
Jordan Eldredge
7a60c9920c Allow packages to control the order of context menu items 2018-01-31 16:35:15 -08:00
Wliu
46d9d190c2 Merge pull request #16627 from atom/wl-revert-right-click-move
Revert change to move mouse cursor on right-click
2018-01-26 23:52:59 -05:00
Wliu
7e0635d2c0 Fix spec 2018-01-26 18:41:57 -05:00
Max Brunsfeld
2acaa41e34 Remove trivial test
This doesn't work on CI for reasons related to
fa0bd1e049

It doesn't test anything interesting, so I'm just going to leave it out.
2018-01-26 12:28:09 -08:00
Max Brunsfeld
8f5cecbacd Use a queue to prevent concurrent async writeFile calls 2018-01-26 11:15:35 -08:00