Commit Graph

9051 Commits

Author SHA1 Message Date
Sadick
eb6258fd50 Merge pull request #22687 from atom/electron-upgrade-11.4.7
Electron upgrade 11.4.7
2021-12-02 15:59:52 +03:00
Musa Ibrahim
cbde3ea00d Revert "Only allow drag-and-drop to succeed on panes in the center workspace" 2021-10-25 18:14:08 +01:00
Sadick
38f403a5e0 Merge pull request #19016 from atom/wl-clipboard-line-endings
Convert line endings when copy and pasting
2021-09-30 12:42:36 +03:00
sadick254
c8f3f86db9 Fix text-editor failing spec
Compare against the platforms eol marker.
2021-09-29 14:03:50 +03:00
Rafael Oleza
decb5e3c91 Re-apply prettier JS formatter 2021-09-29 13:41:03 +03:00
Winston Liu
e73a454def 🎨 2021-09-29 13:41:02 +03:00
Winston Liu
e71d5594f7 Fix specs 2021-09-28 23:54:13 +00:00
Winston Liu
030cda77b0 Merge branch 'master' into wl-restrict-drag-events 2021-09-14 03:02:15 +00:00
Eric Cornelissen
3652d2ff28 Add prevent option to ::onWillDestroyPaneItem 2021-09-06 21:12:47 +02:00
Dean Brettle
fda78a1871 Fix lint errors. 2021-09-03 11:24:52 -07:00
Dean Brettle
970728cc58 Merge branch 'master' into master 2021-09-03 10:51:14 -07:00
sadick254
c48b924004 Add timeout time 2021-08-20 16:19:46 +03:00
sadick254
cdbbcab4a7 Stub global.atom
The test don't require the atom environment to be setup.
2021-08-18 23:27:06 +03:00
sadick254
510d04bffe Use custom element on text editor element 2021-08-18 12:55:00 +03:00
sadick254
133a7062ca Revert timeout increase on CI.
We now have a retry mechanism. There is now no need to make the wait
period longer
2021-08-16 20:51:35 +03:00
sadick254
fc5286fdca Use custom elements on text editor element spec 2021-07-29 20:37:12 +03:00
sadick254
fadf565b30 Fix linting issues 2021-07-28 22:31:35 +03:00
sadick254
6deb323384 Use customElement for the specs
document.register element will be deprecated on chrome bundled with
electron 11. This makes it impossible to upgrade
2021-07-28 18:55:15 +03:00
sadick254
89597affff Use custom elements on TestPanelContainerItemElement 2021-07-27 20:50:13 +03:00
sadick254
5799920e37 Spec cleanup
Remove unnecessary return statements
2021-07-20 22:27:18 +03:00
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 a8b47528b8.
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