Commit Graph

9024 Commits

Author SHA1 Message Date
sadick254
2a1e10a9f9
Use custom elements on pane container element
document.registerElement is being deprecated which will make upgrading
to later versions of electron imposible
2021-07-20 22:17:35 +03:00
Sadick
91c3a694df
Merge pull request #22749 from atom/migrate-to-custom-elements-styles-element
Migrate styles element to custom elements
2021-07-20 20:04:41 +03:00
sadick254
80888a979e
Migrate to custom elements
document.registerElement will be deprecated which will make moving to
later electrons imposible.
2021-07-20 17:15:27 +03:00
Sadick
f9f0aa3fd6
Merge pull request #22717 from icecream17/try-removing-marked
Try removing marked
2021-07-19 19:28:45 +03:00
Ikko Ashimine
a9724cb915
Fix typo in tree-sitter-language-mode-spec.js
targetting -> targeting
2021-07-16 23:42:54 +09:00
steven nguyen
b38bf4d846
Remove unused import marked 2021-07-11 13:51:28 -05:00
juggernautjp
23dee756ca Fix bug of Linter error 2021-06-20 00:12:14 +09:00
juggernautjp
83c2956679 Fix error of CI linter
Change spec/{context-,}-menu-manager.spec.js
2021-06-18 03:12:04 +09:00
juggernautjp
0c5a781a1c Fix bug of atom/{src, spec}/*.js for CI error
FIx bug of atom/spec/*menu*.js, that are not tested at 1st Pull Request.
2021-06-17 15:23:04 +09:00
Christian Fritz
98f30825e5 tree-indenter: Applied fix introduced in sane-indentation for atom 1.40
- Four days of work to get those damn test to run again, just for a two character change to fix the tests.

- Now also added all other, minor changes to sane-indendation over the last five years since the PR for this change was opened.
2021-05-31 02:32:07 +00:00
Sadick
ea4cbb7e84
Merge pull request #11786 from Connormiha/master
fix spec toShow()
2021-05-24 07:23:46 +03:00
Sadick
b921e1bba5
Merge pull request #22297 from eltociear/patch-2
Fix typo in text-editor-spec.js
2021-05-18 19:02:32 +03:00
sadick254
b2477be794
Speed up blinking cursor 2021-05-06 23:24:30 +03:00
Ikko Ashimine
08226f27b2
Fix typo in text-editor-spec.js
preceeding -> preceding
2021-04-29 02:32:29 +09:00
Ikko Ashimine
2beb93b0d7
Fix typo in menu-sort-helpers-spec.js (#22032)
begining -> beginning
2021-03-26 08:33:44 +03:00
Amin Yahyaabadi
0f04fb2a74 test: add test for conditionally loaded .node files 2021-03-06 20:00:57 -06:00
Sadick
f4d832f2e2
Upgrade to electron 9.4.4 (#21777)
* Electron 9.4.4 Upgrade

Co-authored-by: Amin Yahyaabaadi <aminyahyaabadi74@gmail.com>
Co-authored-by: Maarten Fonville <mfonville@users.noreply.github.com>
Co-authored-by: Andrea Bogazzi <andreabogazzi79@gmail.com>
2021-03-05 07:48:45 +03:00
Sadick
ee27540065
Revert "Merge non word characters" (#21910)
This reverts commit a8b47528b836a7175aade5a9bcc925ce4fecc2c2.
2021-02-01 08:52:38 +03:00
Sebastian Pfitzner
0f9234ce22
Add textEditors.getActiveTextEditor() method (#12804)
* add textEditors.getActiveTextEditor()

Co-authored-by: sadick254 <sadickjunior@gmail.com>
2021-01-27 09:54:04 +03:00
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