Commit Graph

38057 Commits

Author SHA1 Message Date
Amin Yahyaabadi
6333223063
performance: add more CSS containment to text-editor (#21561)
This adds more [CSS containment](https://drafts.csswg.org/css-contain/#contain-property) to text-editor CSS classes. This results in performance improvements by giving the hint to the browser that the size/paint/layout of these elements does not affect other elements around them.

Fixes https://github.com/atom/atom/pull/21561#discussion_r515201915
2021-01-29 20:22:00 +03:00
Ash Wilson
1f9e0c01b0
Merge pull request #21903 from atom/github-up-dev
⬆️ github
2021-01-29 08:55:14 -05:00
Ash Wilson
91e85776e2 ⬆️ github 2021-01-28 19:40:12 -05:00
DeeDeeG
83a883e8d0
script/test: Add a timeout message to retry for (#21898)
We should retry when encountering "Error: Timed out waiting on",
seen in the wild as "Error: Timed out waiting on anonymous condition".
2021-01-28 21:01:58 +03:00
Sadick
80bf68edbc
Fix path when copying resource (#21900)
When copying resource from `{repositoryRootPath}/resources/win/*` to `{bundledResourcesPath}/cli/*`, omitted the {repositoryRootPath}.

Co-authored-by: yoonhyung <yoonhyungkim@webida.org>
2021-01-28 12:24:23 +03:00
Amin Yahyaabadi
11b9559a5b
Bump minidump @aminya/minidump@0.19.0-8 (#21792)
* ⬆️ Bump minidump @aminya/minidump@0.19.0-8
2021-01-27 21:51:06 +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
Jose Ramon C
719be6bc1d
Fix js colors to match solarized dark example (#19991)
Match JS colours more closely the original solarized spec.
2021-01-26 07:56:27 +03:00
Antonio Scandurra
cfde3f2106
Simplify didFocus logic in TextEditorComponent (#15309)
Prior to #15302, we wanted to make sure the component had rendered the
hidden input when receiving the focus event. To do so, we added some
workarounds for scenarios where the focus event was triggered before the
component had the chance to detect it was attached or visible.

After that pull-request, however, we always render the hidden input
independently of which events the component has observed, thus making
those workarounds not necessary anymore.

Please, note that we decided not to include this commit's changes in
beta, and want to let them bake for a full release cycle instead.

Co-authored-by: sadick254 <sadickjunior@gmail.com>
2021-01-26 06:26:04 +03:00
DeeDeeG
8d471a58e5
Update the "welcome" package's package-lock.json (#21887)
Gets rid of warnings about cache keys changing in the macOS Tests packages-2 job.
2021-01-25 21:35:39 +03:00
Amin Yahyaabadi
7f38e3f641
Line ending selector refactor (#20542)
Making code modular by introducing Selector class
2021-01-25 19:10:31 +03:00
Amin Yahyaabadi
d69078884b
Add node support in threads (#21139)
This enables the possibility of multithreading in Atom as stated in [Electron documentation](https://www.electronjs.org/docs/tutorial/multithreading). It allows using Node features in WebWorkers.
2021-01-25 19:05:33 +03:00
Benjamin Gray
4e1f76530c
Define npm_config_jobs env variable in build scripts (#21315)
Adds the npm_config_jobs env variable across build scripts that may benefit from it (ones that run apm install). This variable is used by node-gyp to compile native code with a number of threads equal to the reported CPU core count
2021-01-22 23:03:30 +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
DeeDeeG
79446ad2ef
CI: Cache the packages/ directory (#21884)
Ensures we do not miss restoring these packages' node_modules folders
when running the post-build jobs (the test jobs in particular).
2021-01-21 20:53:15 +03:00
Amin Yahyaabadi
9c8b097064
Refactor TextEditor updating (#21620)
Refactors the codes that were responsible for updating different parts of TextEditor out of update function, and, then, it uses those refactored functions directly, which bypasses the loop and switch case inside update.

`finishUpdate` is also refactored to allow finishing update of TextEditor from inside the update functions without the need for creating objects outside and passing them in.
2021-01-20 23:37:51 +03:00
Sadick
082c2c1f6a
Revert "⬆️ tree-sitter-rust@0.17.0 (#21790)" (#21880)
This reverts commit ea5dbdfb57.
2021-01-20 10:39:00 +03:00
Kane Montreuil
f0cdefbe7f
Consolidate log files (#13121) 2021-01-19 07:13:58 +03:00
Dhairya
3a371bb25e
📝 Update Contributing.md (#20707)
* Update Contributing.md
2021-01-19 06:34:39 +03:00
Musa Ibrahim
ea5dbdfb57
⬆️ tree-sitter-rust@0.17.0 (#21790) 2021-01-19 05:10:00 +03:00
dependabot[bot]
2182479e4f
⬆️ Bump ini from 1.3.5 to 1.3.7 in /script/vsts (#21793)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-18 19:44:31 +03:00
dependabot[bot]
c87216bb62
⬆️ Bump ini from 1.3.5 to 1.3.7 (#21791)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-18 19:43:40 +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
Dr. Bryan Roessler
e231837705
Update Dockerfile (#20845)
Update base image, dependencies, add ENTRYPOINT, and don't ADD source to reduce image size
2021-01-12 22:32:10 +03:00
dependabot[bot]
d885f15697
⬆️ Bump highlight.js from 9.18.1 to 9.18.5 (#21758)
Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 9.18.1 to 9.18.5.
- [Release notes](https://github.com/highlightjs/highlight.js/releases)
- [Changelog](https://github.com/highlightjs/highlight.js/blob/9.18.5/CHANGES.md)
- [Commits](https://github.com/highlightjs/highlight.js/compare/9.18.1...9.18.5)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-12 21:49:44 +03:00
Ivan
3ea504256a
update language-java (#21852) 2021-01-12 20:06:51 +03:00
DeeDeeG
72709dcaa5
🍎 Don't quit upon 'window-all-closed' event on macOS (#21847)
* 🍎 Don't quit on 'window-all-closed' on macOS

This prevents a lot of buggy partial-quitting stuff from happening.

Fixes: https://github.com/atom/atom/issues/17672
Fixes: https://github.com/atom/atom/issues/20831

Co-authored-by: Benjamin Gray <bengray178@gmail.com>
2021-01-07 22:39:31 +03:00
Sadick
c1fd11cc62
Merge pull request #21848 from atom/electron-signing
Add Authorization
2021-01-06 05:23:17 +03:00
sadick254
b9ef64e667
Add authorization 2021-01-04 22:19:26 +03:00
Musa Ibrahim
f1b0e3b47b
Merge pull request #21715 from UziTech/transpiled-testPath
check if testRunner is es module
2020-12-11 09:57:47 +01:00
Musa Ibrahim
30ba00a8f1
Merge pull request #21753 from atom/mb-fix-tree-sitter-injection
Fix handling of "empty" language injections with Tree-sitter
2020-12-10 14:17:08 +01:00
darangi
0af360a8e0 ⬇️ text-buffer@13.17.4 2020-12-10 12:28:47 +01:00
darangi
853d162950 ⬆️ text-buffer@13.18.5 2020-12-10 09:26:01 +01:00
Hubot
d2e7d16f59 1.56.0-dev 2020-12-09 10:54:25 -06:00
Musa Ibrahim
4c30215f20
Merge pull request #21787 from UziTech/patch-10
fix async confirm
2020-12-08 14:32:04 +01:00
Tony Brix
dc8e4b6a30
fix async confirm
add checkboxChecked to callback parameters
2020-12-07 17:32:43 -06:00
Ash Wilson
629a7a23d0
Merge pull request #21762 from atom/github-up
GitHub package update
2020-11-26 18:43:19 -05:00
Ash Wilson
36be3f3d7f ⬆️ github 2020-11-26 16:58:47 -05:00
Max Brunsfeld
847e787014 Fix tree-sitter language injection inside of empty nodes 2020-11-23 17:14:54 -08:00
Tony Brix
bd544cfd8d decaffeinate initialize-test-window 2020-11-18 14:36:04 -06:00
Tony Brix
1f2f590c73 check if testRunner is es module 2020-11-18 09:54:12 -06:00
Benjamin Gray
0a169b5794
Update the macOS Azure CI image to macos-10.15 (#21318) 2020-11-18 14:01:57 +03:00
Amin Yahyaabadi
bd189ebce9
support ES6 default require for packages (#21112)
This allows loading the packages that are Es module and export their function wrapped in a default object. This is the case for any package that uses Babel 6, Babel 7, or other modern compilers for transpiling their package.
2020-11-18 10:57:21 +03:00
Sadick
d93f2dd039
Merge pull request #21665 from atom/postcss-8.1.6
⬆️ postcss@8.1.6
2020-11-18 10:52:43 +03:00
runner
3e156435ec ⬆️ postcss@8.1.6 2020-11-07 03:15:30 +00:00
Hubot
551f8296c0 1.55.0-dev 2020-11-06 13:27:31 -05:00
Ash Wilson
29996cefef
Merge pull request #21657 from atom/github-up
Upgrade the GitHub package
2020-11-06 11:16:09 -05:00