Commit Graph

38104 Commits

Author SHA1 Message Date
Musa Ibrahim
bfe2145456
Merge pull request #22063 from atom/git-utils-5.7.1
⬆️ git-utils@5.7.1
2021-04-06 08:34:40 -07:00
Musa Ibrahim
c109e035d1
Merge pull request #22060 from atom/chai-4.3.4
⬆️ chai@4.3.4
2021-04-06 08:01:14 -07:00
Musa Ibrahim
c4eb9be83d
Merge pull request #22061 from atom/focus-trap-6.3.0
⬆️ focus-trap@6.3.0
2021-04-06 07:46:11 -07:00
runner
af213fa26b ⬆️ chai@4.3.4 2021-04-06 10:51:12 +01:00
runner
3a27d88e50 ⬆️ focus-trap@6.3.0 2021-04-06 10:50:35 +01:00
runner
c2742d7035 ⬆️ git-utils@5.7.1 2021-04-06 10:45:40 +01:00
darangi
2c6a7743c0 Merge branch 'master' of https://github.com/atom/atom 2021-04-05 11:34:12 +01:00
Sadick
10f7d454ed
Merge pull request #22106 from atom/dependabot/npm_and_yarn/y18n-3.2.2
Bump y18n from 3.2.1 to 3.2.2
2021-03-31 20:21:19 +03:00
darangi
6960104e6a Merge branch 'master' of https://github.com/atom/atom 2021-03-30 19:48:56 +01:00
dependabot[bot]
243ffb4b82
Bump y18n from 3.2.1 to 3.2.2
Bumps [y18n](https://github.com/yargs/y18n) from 3.2.1 to 3.2.2.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-30 18:43:54 +00:00
Musa Ibrahim
4d2d9c8546
Merge pull request #22050 from asturur/test-itemclick
Fix context menu right click not working ( alternative fix )
2021-03-30 11:42:15 -07:00
Andrea Bogazzi
516b6ab872 remove last change 2021-03-30 17:24:45 +02:00
Andrea Bogazzi
be08d10ebc try 2021-03-30 17:23:10 +02:00
Andrea Bogazzi
5fd0ef9e44 Merge branch 'master' into test-itemclick 2021-03-30 17:22:05 +02:00
Ikko Ashimine
2beb93b0d7
Fix typo in menu-sort-helpers-spec.js (#22032)
begining -> beginning
2021-03-26 08:33:44 +03:00
ThatXliner
a6d64cd829
Added Github Discussions for discussions (#22034) 2021-03-25 22:05:57 +03:00
DeeDeeG
bd6f7004ea
utils.less: Update comment to reflect final PR (#22055) 2021-03-25 22:03:48 +03:00
darangi
f0a79a0143 fetch 2021-03-23 08:10:49 +01:00
Musa Ibrahim
ba746fdd51
Merge pull request #22046 from atom/fix-context-menu-bug
Fixes context menu not working
2021-03-21 12:39:03 -07:00
Andrea Bogazzi
e6b915bca1 no unwanted changes 2021-03-19 12:06:10 +01:00
Andrea Bogazzi
71da729f41 fix atomWindow non being serializable 2021-03-19 11:49:45 +01:00
darangi
5ca56fc790 fix serialization error 2021-03-17 22:15:03 +01:00
Musa Ibrahim
7574784426
Merge pull request #21927 from atom-community/incompatible-native-detection
fix: require .node files directly to detect incompatible native modules
2021-03-13 03:51:11 -08:00
Musa Ibrahim
c7bf8f1aa3
Merge pull request #22019 from atom/fix-dependency-bump-failure
Fixes failing Dependency Bump script
2021-03-10 11:18:44 -08:00
Ruby Allison Rose
b079194478
Fix git diff subscriptions (#21968)
The startup script now uses a `Set` to manage `GitDiffView`s held in memory and destroy them when `deactivate` is called.
There are now four major subscription blocks. 
1. The outer subscriptions held by `activate`.
2. The per-editor subscriptions held within `activate`.
3. The per-editor repository event subscriptions held within each `GitDIffView` instance.
4. The per-editor modification event subscriptions held within each `GitDiffView` are only active when the editor content is bound to a valid git repository.

Teardowns of any editor or the module now result in `disposal` of the respective editor's subscriptions or all subscriptions authored within the module.

I removed some of `GitDiffView`'s unnecessary methods such as the `start`, `cancleUpdate`, `addDecoration` and `removeDecorations`;
The last two methods were combined into the body of `updateDiffs`.
`scheduleUpdate` now calls `requestAnimationFrame` instead of `setImmediate` because it's native, standard, and yields
to other more important browser processes. I know Atom Core implements setImmediate, but rAF seems to work just as fast if not faster.
The memory management of the editor markers and diffs have been joined using a WeakMap. When the diffs are destroyed,
so too are the editor markers.
Finally, I added the `destroy` method to handle the teardown of subscriptions and other destroyable objects contained within the `GitDiffViews` before object release.
2021-03-08 21:12:07 +03:00
Amin Yahyaabadi
0f04fb2a74 test: add test for conditionally loaded .node files 2021-03-06 20:00:57 -06:00
Amin Yahyaabadi
ad2aaa8c3c fix: require .node files directly to detect incompatible native modules
- This fixes the incompatible native module detection for the packages 
that require their .node files lazily
- Speeds up the performance of detection by directly require .node files 
instead of requiring the package
2021-03-06 00:54:40 -06:00
Hubot
42f24335d6 1.57.0-dev 2021-03-05 11:51:16 -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
7fbc957fba
Clang 9 is already in the image. (#22000)
It's on the PATH and is the version that will be used without needing to do update-alternatives.
2021-03-03 17:48:30 +03:00
陈亿强
6f52e03bc4
Update LICENSE.md (#21997) 2021-03-02 10:24:09 +03:00
darangi
7a255bc138 rm .catch block 2021-03-01 19:01:36 +01:00
darangi
ce5e0f3068 use a default branch instead of master 2021-03-01 18:57:27 +01:00
Maarten Fonville
3d5c83be99
Add libxkbfile.so.1 to RPM Requires (#21980) 2021-02-23 07:00:08 +03:00
chbk
eb064bf502
Implement naming conventions in default themes (#20524)
Update of the default syntax themes to implement [naming conventions](https://github.com/atom/flight-manual.atom.io/pull/564) for syntax scopes.

Adds the [template](https://github.com/atom/apm/pull/883) to each theme with custom colors, to accommodate the naming conventions. There should be no compatibility break with existing grammars.

As naming conventions are implemented in more language grammars, their old specific stylesheets can be retired.
2021-02-19 08:55:25 +03:00
DeeDeeG
ff1e4f6be4
atom.spec.in: Disable Fedora's shebang lint script (#21964)
Fedora's script tries to coerce all shebangs
to point to exact, system-provided binaries.

For example: `#!/usr/bin/env sh` becomes `#!/usr/bin/sh`.

Starting with Fedora 30, the script errors out when it encounters
ambiguous, versionless `python` in shebangs.

(`python2` and `python3` are allowed.)

For example, this shebang causes an error: `#!/usr/bin/env python`.

---

Disable this script for two reasons:

1) Fedora users should be able to build Atom without errors.
2) Consistent shebangs across builds of Atom on Ubuntu and Fedora.

See: https://github.com/atom/atom/issues/21937 for more details.

Fixes: https://github.com/atom/atom/issues/21937
2021-02-15 06:54:12 +03:00
DeeDeeG
2469309235
tree-sitter-rust@0.17.0 (#21790) (#21949)
(cherry picked from commit ea5dbdfb57)

Co-authored-by: Musa Ibrahim <small_musa@hotmail.com>
2021-02-15 06:50:52 +03:00
Sadick
2f6f41b96e
Revert "Bump minidump @aminya/minidump@0.19.0-8 (#21792)" (#21942)
This reverts commit 11b9559a5b.
2021-02-09 09:08:23 +03:00
Amin Yahyaabadi
dc6cfb8197
performance: CSS containment for workspace (#21940)
* add css-containment to workspace variables
2021-02-09 09:06:52 +03:00
Andrea Bogazzi
8844d58595
Electron update related: fix showSaveDialog elector api for deprecated callback (#21935)
* showSaveDialog

* fix lint
2021-02-08 21:06:04 +03:00
Musa Ibrahim
394b468779
Merge pull request #21928 from atom/fix-dependency-bump-failure
Fixes dependency bump script
2021-02-04 15:48:11 +01:00
darangi
b6b8a87558 fix lint 2021-02-04 13:40:24 +01:00
darangi
1db87c09b0 checkout origin/master 2021-02-04 08:29:27 +01:00
DeeDeeG
55df66bd4c
package-lock.json: ⬇️ @babel/core 7.12.9 (#21923)
@babel/core 7.12.10 partly breaks when used with
Atom's custom require.resolve() function.

That in turn breaks the loading of the "github" package.

See https://github.com/atom/github/issues/2620 for details.
2021-02-02 19:50:54 +03:00
Amanda Li
02fd34d269
Resolve Uncaught TypeError (#16392)
A `TypeError` raised when a certain file, or lack thereof, causes Atom to open improperly, without the side pane appearing. To fix this, users must clear their Atom window state, then reopen the program. Add a notification when this error occurs with information on how to resolve it.

Co-authored-by: Sadick <sadickjunior@gmail.com>
Co-authored-by: Amin Yahyaabadi <aminyahyaabadi74@gmail.com>
2021-02-01 11:04:32 +03:00
Sadick
ee27540065
Revert "Merge non word characters" (#21910)
This reverts commit a8b47528b836a7175aade5a9bcc925ce4fecc2c2.
2021-02-01 08:52:38 +03:00
Amin Yahyaabadi
d3ace8a9b2
The script executables should be LF so they can be edited on Windows (#21426) 2021-01-29 21:56:12 +03:00
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