Commit Graph

38045 Commits

Author SHA1 Message Date
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
Ash Wilson
e0bbf28bca ⬆️ github 2020-11-06 10:13:07 -05:00
Ash Wilson
c54c61be87 ⬆️ github@0.36.1 2020-11-06 08:27:15 -05:00
Musa Ibrahim
7e41d5b039 Merge pull request #21655 from atom/find-and-replace-0.219.7
⬆️ find-and-replace@0.219.7
2020-11-06 11:14:32 +01:00
darangi
3a43419799 ⬆️ find-and-replace@0.219.7 2020-11-06 09:37:17 +01:00
Sadick
80d4bc41c3 Merge pull request #21641 from atom/electron-osx-sign-0.5.0
⬆️ electron-osx-sign@0.5.0
2020-11-06 07:31:06 +03:00
runner
a967eb07ed ⬆️ electron-osx-sign@0.5.0 2020-11-04 03:15:54 +00:00
Amin Yahyaabadi
a68663ef48 explicit capture option in addEventListener (#21562)
Based on the docs true is equal to {capture: true}

> In older versions of the DOM specification, the third parameter of addEventListener() was a Boolean value indicating whether or not to use capture. Over time, it became clear that more options were needed. Rather than adding more parameters to the function (complicating things enormously when dealing with optional values), the third parameter was changed to an object that can contain various properties defining the values of options to configure the process of removing the event listener.

https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#Improving_scrolling_performance_with_passive_listeners
2020-11-03 16:20:58 +03:00
Atom Build Bot
37001d1218 Merge postcss-8.1.4 into master 2020-11-03 04:16:10 +01:00
Amin Yahyaabadi
5d3df55641 Run Prettier script/test (#21624)
* run prettier on script/test + replcae `==` with `===`

Fixes: 
script\test.js:391 Expected '===' and instead saw '=='. (eqeqeq)
script\test.js:394 Expected '===' and instead saw '=='. (eqeqeq)
script\test.js:474 Expected '===' and instead saw '=='. (eqeqeq)

* remove excess spawn 

The next line calls spawnTest
2020-11-02 17:55:48 +03:00
runner
3c4ed7e576 ⬆️ postcss@8.1.4 2020-11-02 17:52:47 +03:00
Atom Build Bot
a348e13b08 Merge prebuild-install-6.0.0 into master 2020-10-31 04:15:01 +01:00
Atom Build Bot
b2577aafb3 Merge focus-trap-6.1.4 into master 2020-10-31 04:15:00 +01:00