Commit Graph

110 Commits

Author SHA1 Message Date
sadick254
6d7322993f Add defaultFontSize setting
Resolves https://github.com/atom/atom/issues/9873
2020-10-13 19:02:07 +03:00
Rafael Oleza
9ae30a3545 Merge pull request #19615 from dwelle/ripgrep-pcre2
Add ripgrep pcre2 search support
2019-07-01 18:18:36 +02:00
dwelle
ef7b910ed0 Add ripgrep pcre2 support
👕 fix lint

Co-Authored-By: Rafael Oleza <rafeca@gmail.com>

fix passing PCRE2 flag in specs

👕 fix lint
2019-07-01 14:51:28 +02:00
Rafael Oleza
3d2d439f93 Fix issue when ripgrep returns matches that are empty 2019-07-01 12:49:06 +02:00
Benjamin Gray
166d968daa adjust specs 2019-06-21 16:11:50 +10:00
Benjamin Gray
f141ca35a3 Merge branch 'master' of github.com:atom/atom 2019-06-12 14:39:28 +10:00
Rafael Oleza
ac9be2d082 Remove test that checks that we can search of a subfolder of an ignored folder
This seems to not be working on Windows or with ripgrep, so it's not
expected behaviour.
2019-06-06 14:02:29 +02:00
Rafael Oleza
8c80d13dd1 Remove logic to prepend wildcard on globs
That logic was only needed to make `ripgrep` match correctly globs like
`src` when we pass it the folder to search on.

If we don't pass the folder, `ripgrep` assumes it's the cwd and their
glob matching logic improves by allowing globs like `src`.
2019-06-05 15:07:24 +02:00
Rafael Oleza
95adde37c0 Take into account the includeHidden option in ripgrep scanner 2019-06-05 10:21:06 +02:00
Rafael Oleza
8758c399db Take into account the follow option in ripgrep scanner 2019-06-04 12:21:50 +02:00
Rafael Oleza
3845862f5d Convert beforeEach() function to async 2019-06-04 12:21:50 +02:00
Rafael Oleza
7652d659e5 Take into account the excludeVcsIgnores option in ripgrep scanner 2019-06-04 12:21:50 +02:00
Rafael Oleza
41840abdc2 Merge commit '1d9a4cafcf6cc288d675512db8fd984e13aab869' into pr18738 2019-05-31 20:25:41 +02:00
Rafael Oleza
0580aa11d1 Merge commit '677bbb7f0b8754787ff9e7bfab4602ba82e13b0b' into pr18738 2019-05-31 20:19:05 +02:00
Rafael Oleza
7f3f040628 Reformat all JS files using prettier 2019-05-31 18:33:56 +02:00
Rafael Oleza
ab90d08292 Fix unrelated test 2019-05-24 20:30:57 +02:00
Rafael Oleza
17aa985f4e Fix handling of binary files when using ripgrep scanner 2019-05-24 18:55:18 +02:00
Rafael Oleza
6748b84060 Process unicode results from ripgrep correctly 2019-05-22 22:00:09 +02:00
Rafael Oleza
c3845dd902 Add proper multiline support to ripgrep scanner 2019-05-22 16:15:57 +02:00
Rafael Oleza
d9c27cc99a Update workspace-spec tests to be run against both ripgrep and standard implementation 2019-05-21 11:46:56 +02:00
Rafael Oleza
0647a0044f Add context support to ripgrep-directory-searcher 2019-05-17 11:40:46 +02:00
Nathan Sobo
fd82a58f1d WIP
Co-Authored-By: Rafael Oleza <rafeca@users.noreply.github.com>
2019-05-16 17:45:34 +02:00
Jason Rudolph
f1952c2fc1 Merge pull request #19272 from atom/improve-positioning-when-opening-file-at-line
Improve positioning when opening file at line
2019-05-07 10:53:52 -04:00
Jason Rudolph
4ac6107f95 🎨 Use await to make the world a better place
/xref https://github.com/atom/atom/pull/19272#discussion_r281562954
2019-05-07 09:20:00 -04:00
David Wilson
614d3e150a Use fs.renameSync in Workspace spec to fix test failure 2019-05-06 20:25:52 +02:00
Jason Rudolph
9921d1cef3 Unfold (if needed) when opening file at specific line 2019-05-06 11:24:26 -04:00
Benjamin Gray
814c23b950 this? 2019-03-05 14:30:29 +11:00
Benjamin Gray
f4887f7de6 actually fix it 2019-03-05 13:23:26 +11:00
Benjamin Gray
391bf710aa fix serialisation spec 2019-03-05 13:17:35 +11:00
Rafael Oleza
a93808d1a8 Always use global it, beforeEach and afterEach methods 2019-02-28 20:39:21 +01:00
Rafael Oleza
cd302135f0 Fix undefined variables from specs 2019-02-28 19:30:03 +01:00
Rafael Oleza
d7d6d0838f Remove unused vars from specs 2019-02-28 19:30:03 +01:00
Rafael Oleza
c35ec012b4 Run prettier on spec/ folder 2019-02-28 19:30:03 +01: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
David Wilson
eee7ae8abe Use fs.renameSync in Workspace spec to fix test failure 2019-01-18 15:13:24 -08:00
Benjamin Gray
e0041c3c24 Add tests for root-scope-used activation hook 2018-06-16 22:50:14 +10:00
hansonw
1f685768d5 Ensure grammar activation hooks are called after emitting new editors 2018-05-15 11:32:31 -07:00
Ash Wilson
7c9463acea Specs for concurrent opening 2018-03-23 09:14:48 -04:00
Wliu
7fcfdcec00 Test assertions correctly 2017-12-04 22:58:59 +01:00
Wliu
3998556a0a Merge branch 'master' into wl-async-confirm 2017-12-04 22:49:12 +01:00
Max Brunsfeld
6e2ac3548f Ensure that all opened editors' buffers are added to the project
Assigning a language mode happens when adding a buffer to the project,
so we need to guarantee this happens to all buffers used by visible editors.
2017-12-01 09:58:19 -08:00
Max Brunsfeld
49d8d94218 🎨 workspace-spec.js 2017-12-01 09:47:20 -08:00
Max Brunsfeld
e08091f193 Make assignLanguageMode take a language id instead of a language name 2017-11-28 11:14:29 -08:00
Max Brunsfeld
6bf32b5ce8 Fix Workspace spec 2017-11-20 16:45:05 -08:00
Wliu
0ba6517a41 Update Workspace specs for async confirm 2017-11-19 01:21:15 +01:00
Max Brunsfeld
0d6c746572 Add grammar registry as an injected dependency of Project 2017-11-02 12:24:11 -07:00
Wliu
2bf9e4b0c7 Use scope names rather than names
Some languages are not guaranteed to have names
2017-10-25 17:36:21 +02:00
Josh Soref
ee87ac1604 spelling: falsy 2017-09-10 15:46:39 +00:00
Wliu
8963cf4955 Only use multiline if the flag is passed in 2017-08-10 13:24:46 -04:00
Wliu
95b216f234 Add multiline spec 2017-08-09 23:15:33 -04:00