Amin Yahyaabadi
0008c25757
don't use then on an awaited function
2021-01-21 21:20:44 +03:00
Amin Yahyaabadi
12ddf94d25
support sync conditions
2021-01-21 21:20:44 +03:00
Maarten Fonville
6ab5500d25
Electron todo cleanups ( #21816 )
...
* cleanup TodoElectronIssue for GCM initVector
* cleanup TodoElectronIssue drop manual set of random value for debugging-port
* Remove workaround for slow crypto.randomBytes
* produceCachedData --> script.createCachedData()
* Remove arguments from childProcess.removeAllListeners()
Co-authored-by: DeeDeeG <DeeDeeG@users.noreply.github.com >
2021-01-18 19:29:34 +03:00
DeeDeeG
7928a1b339
Fix buggy partial startup on macOS due to flag added by Gatekeeper/XProtect ( #21861 )
...
macOS Gatekeeper adds a flag ("-psn_0_[six or seven digits here]") when it intercepts Atom launches.
This happens for fresh downloads, new installs, or first launches after upgrading).
We don't need this flag, and yargs interprets it as many short flags. So, we filter it out.
2021-01-18 19:22:22 +03:00
Sadick
1e10a0a746
Add setting to disable middle mouse paste ( #21864 )
...
* Add editor setting
* Only paste on middle click if selectionClipboard is true
* Add specs
2021-01-15 09:50:45 +03:00
Max Brunsfeld
847e787014
Fix tree-sitter language injection inside of empty nodes
2020-11-23 17:14:54 -08:00
Sadick
83d6c09b10
Decaffeinate specs ( #21546 )
...
Decaffeinate the following files.
* atom-protocol-handler
* babel-spec
* buffered-node-process
* buffered-process
* clipboard
* context-menu-manager
* decoration-manager
* default-directory-provider
* deserializer-manager
* file-system-blob-store
* keymap-extensions
* menu-manager
* module-cache
* pane-axis-element
* pane-container-element
* pane-element
* package-spec
* squirel-update
* styles-element-spec
* task-spec
* typescript-spec
* spec-helper-platform
2020-10-30 16:40:57 +03:00
sadick254
6d7322993f
Add defaultFontSize setting
...
Resolves https://github.com/atom/atom/issues/9873
2020-10-13 19:02:07 +03:00
Sadick
7b0147b0d5
Merge non word characters ( #21487 )
2020-10-12 15:40:53 +03:00
sadick254
809303b422
Update stub usage
2020-09-22 18:17:58 +03:00
sadick254
c859f2067f
Refactor test from async to sync
...
Reason for change: This test has been flaky on our CI due to its async
nature.
The expectation is for .build to construct TextEditor with the right
params.
We don't have to load the correct language package for this test. We can
load a dummy languageMode and assert that the correct grammar is set on
TextEditor
2020-09-18 20:01:55 +03:00
Amin Yahyaabadi
5b2c05a745
detect symbolic link packages
...
* detect symbolic link packages
2020-09-08 16:04:47 +03:00
Bulby
10dfeb8c56
Allow Title Bar to be Hidden
2020-09-07 21:41:01 +03:00
Musa Ibrahim
50a74a5e31
Merge pull request #21079 from atom/electron-6.1.12-bump-electron-packager-from-git
...
Electron 6 Take Two
2020-08-20 10:16:38 +01:00
sadick254
613f76d594
Double waitsFor timeout value
2020-08-19 11:03:19 +03:00
sadick254
9be745817d
Adjust jasmine default timeout value
2020-08-17 19:18:24 +03:00
Mazen El-Kashef
4bdeb86c83
Merge branch 'master' into electron-6.1.12-bump-electron-packager-from-git
2020-07-16 11:18:24 -05:00
Ethan Johnson
33cefdf8cf
lint
2020-06-16 09:59:29 -05:00
Ethan Johnson
eca8bb615f
no whitespace
2020-06-15 12:14:26 -05:00
Ethan Johnson
3191997c87
add test
2020-06-15 12:12:02 -05:00
Mazen El-Kashef
9c16e5c673
Fix lint errors
2020-06-11 22:23:00 -05:00
Mazen El-Kashef
ece51f97ac
Update webdriverio config to match the new schema
2020-06-11 21:25:40 -05:00
Tony Brix
21580aa170
fix multi cursor correct setting
2020-06-11 11:13:32 -05:00
Mazen Elkashef
4feca894e1
Merge pull request #20444 from UziTech/disable-multicursor
...
feat: add setting to disable multi cursor on click
2020-05-13 06:29:17 -05:00
Mazen Elkashef
ef6cc4ad2b
Merge pull request #20347 from robobenklein/patch-1
...
If Text Editor Component uses the scroll event, consume it / prevent bubbling
2020-04-03 14:04:33 -05:00
Tony Brix
d5c3c9661d
feat: add setting to disable multi cursor on click
2020-02-24 17:54:22 -06:00
Darangi
139a6a2f81
fixed lint error
2020-02-10 20:46:20 +01:00
Darangi
604f34e687
adjusted expected values in tree-sitter-failing tests to match grammar changes
2020-02-10 19:48:56 +01:00
Ben Klein
5b6a4f67b3
spec/text-editor-component: linter/test var fix
2020-01-22 23:10:36 -05:00
Ben Klein
f9f6f32f89
tests: Text Editor component Event.preventDefault
2020-01-22 22:52:01 -05:00
Alexis King
15c7ea0c72
🐛 Recognize git worktree directories as valid git repositories
...
fixes #8168
2019-08-23 14:02:54 -05:00
Jason Rudolph
4c34c11c5d
🔥 Remove unused TimeReporter class
2019-08-08 11:05:01 -04:00
Jason Rudolph
bdbb664e6a
Remove test that's testing a test helper
...
We appreciate the thoroughness, but we think it's OK to _not_ have this
level of meta-testing at this point in the project.
Co-authored-by: Antonio Scandurra <as-cii@github.com >
2019-08-06 11:08:20 -04:00
Jason Rudolph
802e377cbf
Fix typo in comment
...
Co-authored-by: Antonio Scandurra <as-cii@github.com >
2019-08-06 11:03:35 -04:00
Tony Brix
9bc83aad87
add spec-helper tests
2019-08-05 13:07:32 -05:00
Tony Brix
ee8abde83d
fix checking for jasmineMatches on null
2019-08-05 13:01:59 -05:00
Tony Brix
9a0564fbf5
add support for jasmine.any
2019-08-05 13:01:59 -05:00
Antonio Scandurra
a186428571
Fix linter errors
2019-08-02 10:31:07 +02:00
Antonio Scandurra
0693b4f48c
Report scopes from shallower layers at the start or end of an injection
2019-08-01 15:48:00 +02:00
Antonio Scandurra
a46740261a
Fix linter errors
2019-07-30 11:18:27 +02:00
Nathan Sobo
40ad380206
Only cover parent scope boundaries if nested layer has a scope boundary
2019-07-29 15:27:47 -06:00
Antonio Scandurra
fdd60afecb
Write test to demonstrate injection grammar bug
...
Co-Authored-By: Nathan Sobo <nathan@github.com >
2019-07-29 19:30:03 +02:00
Rafael Oleza
f7f002fd20
Merge branch 'master' into electron-4
2019-07-19 17:35:28 +02:00
Rafael Oleza
fd6e9763a0
Fix squirrel-update specs
2019-07-04 15:21:32 +02:00
Rafael Oleza
cbe54954f4
Revert breaking changes on the WinShell module
...
In earlier commits from this PR, some breaking changes were done to the
WinShell module, which cause some issues on the `settings` package (and
potentially other packages).
Since these breaking changes are not needed (and they don't provide even
a better API), this PR reverts them to keep the previous contract.
2019-07-04 14:14:47 +02:00
Rafael Oleza
f7b7545fd0
Create get-app-name module that returns correct application name
...
Before, in order to retrieve the application name, Electron's
`getName()` method was used (https://electronjs.org/docs/api/app#appgetname ).
Now, instead, we also use the Atom version in order to calculate the release
channel and be able to have it on the app name (e.g `Atom Nightly`).
2019-07-04 13:21:14 +02:00
Rafael Oleza
0578c0626e
Merge branch 'master' into dw-windows-separate-channels
2019-07-04 10:34:39 +02: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