-
Notifications
You must be signed in to change notification settings - Fork 17.3k
Conversation
a68719b
to
1dd5f31
Compare
As noted in #21422 (comment) and a reminder I had put here: atom-community#75 (comment) If you are upgrading electron to a version of 7 or higher, you can drop the |
For Windows, Superstring error is fixed by: atom/superstring#91 |
a7db5fa
to
973178d
Compare
By the way, probably at some point, you will encounter some errors that say electron-link is not able to bundle the app because of https://github.com/atom/electron-link which I think it would be better to merge atom/electron-link#31 before registration, as it tests electron-link for electron 9. |
@aminya Noted. I will look into it. |
I believe that the current error in the CI is the error that I am talking about.
This commit fixes that error: |
@aminya Am afraid the error on the CI is not the one you are talking about. I have however published a new release for |
I notice btw that in the bootstrap phase (at least on Linux) Python is on 2.7; shouldn't it be already be Python3 with these higher electron/apm/nmp versions? |
@sadick254 It was throwing the error on Windows. It is now gone. Windows does not have the minidump issue, and that's why it is ahead of other operating systems in the build script. On Windows, less-node is throwing warnings/errors.
Probably my Less 3 PR will fix that: |
Minidump error on Linux and MacOS will be probably fixed by #21792 |
edb8122
to
bac4998
Compare
Electron 9.4.0 is now also available with some (security) fixes |
The current failure in Windows CI is because of the "debug" module in spellcheck package. I have opened an issue for it. |
7c35b18
to
21766a3
Compare
|
Running the build locally on Windwos fails because of the old superstring which is because of the old whats-my-line in github package. @sadick254 This commit is incomplete. You should also bump the version in package-dependencies - "github": "0.36.3",
+ "github": "0.36.6", spell-check commit is also incomplete. - "spell-check": "0.76.2",
+ "spell-check": "0.77.0", |
Windows build in PR CI finished. However, one of the core main tests time-outs: ##[error] The 'core-main-process' test step finished with a non-zero exit code
You can run the test again using:
D:/a/1/s/out/Atom Dev x64/atom-dev.exe --resource-path D:\a\1\s --test --main-process D:\a\1\s\spec\main-process
1) AtomWindow
creating a real window
creates a real, properly configured BrowserWindow:
Error: Timeout of 10000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (D:\a\1\s\spec\main-process\atom-window.test.js)
at listOnTimeout (internal/timers.js:531:17)
at processTimers (internal/timers.js:475:7)
I built Atom locally after applying the changes of this comment. Also, Production CI fails to sign the executable due to a connection issue. Is the link still valid? |
Downgrading to electron 7.3.3 gives a working Atom. However, I get these warnings when I launch Atom in dev mode: (node:32076) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https://github.com/electron/electron/issues/18397 for more information and when I closed Atom: Attempting to call a function in a renderer window that has been closed or released.
Function provided here: Object.<anonymous> (C:\Users\aminy\Documents\GitHub\JavaScript\@atom-ide-community\atom\node_modules\github\lib\worker.js:60:22
Remote event names: crashed, destroyed Also, opening a project doesn't work. |
Trying Electron 8.5.5 gives better warning messages about these native modules that should be updated. Pretty much all non This should be done before Electron 12 based on electron/electron#18397 ❯ (electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently "false". It will change to be "true" in Electron 9. For more information please check https://github.com/electron/electron/issues/18397
(node:31924) Electron: Loading non-context-aware native module in renderer: '\\?\C:\atom\out\Atom Dev x64\resources\app.asar.unpacked\node_modules\scrollbar-style\build\Release\scrollbar-style-observer.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.
(node:31924) Electron: Loading non-context-aware native module in renderer: '\\?\C:\atom\out\Atom Dev x64\resources\app.asar.unpacked\node_modules\text-buffer\node_modules\superstring\build\Release\superstring.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.
(node:31924) Electron: Loading non-context-aware native module in renderer: '\\?\C:\atom\out\Atom Dev x64\resources\app.asar.unpacked\node_modules\pathwatcher\build\Release\pathwatcher.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.
(node:31924) Electron: Loading non-context-aware native module in renderer: '\\?\C:\atom\out\Atom Dev x64\resources\app.asar.unpacked\node_modules\git-utils\build\Release\git.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.
(node:31924) Electron: Loading non-context-aware native module in renderer: '\\?\C:\atom\out\Atom Dev x64\resources\app.asar.unpacked\node_modules\tree-sitter-json\build\Release\tree_sitter_json_binding.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.
(node:31924) Electron: Loading non-context-aware native module in renderer: '\\?\C:\atom\out\Atom Dev x64\resources\app.asar.unpacked\node_modules\oniguruma\build\Release\onig_scanner.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.
(node:31924) Electron: Loading non-context-aware native module in renderer: '\\?\C:\Users\aminy\Documents\GitHub\JavaScript\@atom\spell-check\node_modules
A93C
\spellchecker\build\Release\spellchecker.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.
(node:31924) Electron: Loading non-context-aware native module in renderer: '\\?\C:\Users\aminy\.atom\packages\Hydrogen\node_modules\zeromq\build\Release\zmq.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.
(node:31924) Electron: Loading non-context-aware native module in renderer: '\\?\C:\atom\out\Atom Dev x64\resources\app.asar.unpacked\node_modules\tree-sitter-c\build\Release\tree_sitter_c_binding.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.
(node:31924) Electron: Loading non-context-aware native module in renderer: '\\?\C:\atom\out\Atom Dev x64\resources\app.asar.unpacked\node_modules\tree-sitter-cpp\build\Release\tree_sitter_cpp_binding.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.
(node:31924) Electron: Loading non-context-aware native module in renderer: '\\?\C:\atom\out\Atom Dev x64\resources\app.asar.unpacked\node_modules\tree-sitter-css\build\Release\tree_sitter_css_binding.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.
(node:31924) Electron: Loading non-context-aware native module in renderer: '\\?\C:\atom\out\Atom Dev x64\resources\app.asar.unpacked\node_modules\tree-sitter-go\build\Release\tree_sitter_go_binding.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.
(node:31924) Electron: Loading non-context-aware native module in renderer: '\\?\C:\atom\out\Atom Dev x64\resources\app.asar.unpacked\node_modules\tree-sitter-embedded-template\build\Release\tree_sitter_embedded_template_binding.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.
(node:31924) Electron: Loading non-context-aware native module in renderer: '\\?\C:\atom\out\Atom Dev x64\resources\app.asar.unpacked\node_modules\tree-sitter-html\build\Release\tree_sitter_html_binding.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.
(node:31924) Electron: Loading non-context-aware native module in renderer: '\\?\C:\atom\out\Atom Dev x64\resources\app.asar.unpacked\node_modules\tree-sitter-java-dev\build\Release\tree_sitter_java_binding.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.
(node:31924) Electron: Loading non-context-aware native module in renderer: '\\?\C:\atom\out\Atom Dev x64\resources\app.asar.unpacked\node_modules\tree-sitter-javascript\build\Release\tree_sitter_javascript_binding.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.
(node:31924) Electron: Loading non-context-aware native module in renderer: '\\?\C:\atom\out\Atom Dev x64\resources\app.asar.unpacked\node_modules\tree-sitter-jsdoc\build\Release\tree_sitter_jsdoc_binding.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.
(node:31924) Electron: Loading non-context-aware native module in renderer: '\\?\C:\atom\out\Atom Dev x64\resources\app.asar.unpacked\node_modules\tree-sitter-regex\build\Release\tree_sitter_regex_binding.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.
(node:31924) Electron: Loading non-context-aware native module in renderer: '\\?\C:\atom\out\Atom Dev x64\resources\app.asar.unpacked\node_modules\tree-sitter-python\build\Release\tree_sitter_python_binding.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.
(node:31924) Electron: Loading non-context-aware native module in renderer: '\\?\C:\atom\out\Atom Dev x64\resources\app.asar.unpacked\node_modules\tree-sitter-ruby\build\Release\tree_sitter_ruby_binding.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.
(node:31924) Electron: Loading non-context-aware native module in renderer: '\\?\C:\atom\out\Atom Dev x64\resources\app.asar.unpacked\node_modules\tree-sitter-rust\build\Release\tree_sitter_rust_binding.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.
(node:31924) Electron: Loading non-context-aware native module in renderer: '\\?\C:\atom\out\Atom Dev x64\resources\app.asar.unpacked\node_modules\tree-sitter-bash\build\Release\tree_sitter_bash_binding.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.
(node:31924) Electron: Loading non-context-aware native module in renderer: '\\?\C:\atom\out\Atom Dev x64\resources\app.asar.unpacked\node_modules\tree-sitter-typescript\build\Release\tree_sitter_tsx_binding.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.
(node:31924) Electron: Loading non-context-aware native module in renderer: '\\?\C:\atom\out\Atom Dev x64\resources\app.asar.unpacked\node_modules\tree-sitter-typescript\build\Release\tree_sitter_typescript_binding.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.
(node:31924) Electron: Loading non-context-aware native module in renderer: '\\?\C:\atom\out\Atom Dev x64\resources\app.asar.unpacked\node_modules\@atom\nsfw\build\Release\nsfw.node'. This is deprecated, see https://github.com/electron/electron/issues/18397. |
298fce3
to
2f43d7c
Compare
2f43d7c
to
78c1bed
Compare
With the latest commit 78c1bed, I can open Atom when there is a blank I do see a couple of errors in any window launched with blank
These are in the |
f1f0379
to
3a5617e
Compare
It's on the PATH and is the version that will be used without needing to do update-alternatives.
Electron went to 9.4.4: |
Thanks for the work! 🎉 |
Wow! Electron 9 on |
@UziTech interesting to observe effect on terminus/x-terminal as well as all built in Atom addons though. congrats @ all involved in these upgrades and finally merging in. |
If we integrate #21927, there will be no issues regarding the native addon. |
indeed but only if that PR is merged into master before master code becomes a stable release. so we hope it is indeed merged asap. |
- still depends on nodejs 10, which will be EOL starting May 2021 - template is very out of date (current version is 1.56.0), which shows lack of interest for the package - as seen in [1], depends on outdated electron9 (which void no longer provides) [1] atom/atom#21777
- still depends on nodejs 10, which will be EOL starting May 2021 - template is very out of date (current version is 1.56.0), which shows lack of interest for the package - as seen in [1], depends on outdated electron9 (which void no longer provides, if we wanted to use system electron), and that's a recent development [1] atom/atom#21777
- still depends on nodejs 10, which will be EOL starting May 2021 - template is very out of date (current version is 1.56.0), which shows lack of interest for the package - as seen in [1], depends on outdated electron9 (which void no longer provides, if we wanted to use system electron), and that's a recent development [1] atom/atom#21777
- still depends on nodejs 10, which will be EOL starting May 2021 - template is very out of date (current version is 1.56.0), which shows lack of interest for the package - as seen in [1], depends on outdated electron9 (which void no longer provides, if we wanted to use system electron), and that's a recent development [1] atom/atom#21777
This upgrades atom from
6.1.12
to9.3.5
TODO
Issues to resolve
Failing tests
Regressions to fix before merging
Known bugs resolved by this upgrade
Electron Upgrade Test Manifest
Review issues tagged with
electron
to see if any of them are fixedVerify that you can collaborate with Teletype
Steps
Check for regressions experienced in previous upgrades
Text Input/Keybindings
See how to setup keyboard layouts.
IME not working (1.19.0-beta2: Cursor stucks at the first letter when using macOS Chinese IME #14911)
Repro steps
zhongwenshuru
Expected: in Pinyin simplified
中文输入
is expectedIssues we've seen: Only shows latin first character and not every character typed.
macOS: Key binding with composition characters are ignored (key-mappings with
alt
don't suppress Mac OS composition characters anymore (atom-1.19) #15189)Repro steps
ABC - Extended
keyboard layoutExpected: the keybindings work
Issues we've seen: it types out the modified keys and ignores the key mapping
macOS: Composition characters mess up insertion point (Composition characters mess up insertion point #15344)
Repro steps
Expected: Both alt-o and alt-n behave the same
Issues we've seen:

Ubuntu: Keystrokes involving ctrl resolve to the default layout instead of the active layout (Keystrokes involving ctrl on Linux resolve to the default layout instead of the active layout #13170)
Repro steps
8000 This should be tested on Linux with gnome
Expected:
core:close
to dispatch (Or the keybinding-resolver to resolve to ctrl-w). Should be resolving to the keyboard layout that is chosen and not the OS default layout.Issues we've seen:
core:undo
dispatched because it was resolved as ctrl-z because AZERTY has Z where W is on QWERTY.Other keyboard layouts on new Electron version
UI
tree-view drag image (Display the correct drag image on Electron >= 1.14 tree-view#1054)
Repro steps
Expected:

Issues we've seen:
drag-and-drop indicator (Fix missing drop indicator on Electron >= 1.14 tree-view#1055, Fix missing drop indicator on Electron >= 1.4 tabs#426, Fix mistakenly shown docks drop indicator on Electron >= 1.4 tabs#437)
Repro steps
atom folderA folderB folderC
)Expected:
The placeholder indicates where the folder/project is being dropped to.
Issues we've seen:
No placeholder shows up after drag and dropping
Large file rendering (Bad rendering after ~1 million lines #16591)
Repro steps
Expected: To not regress the number of lines that can be rendered. Rendering to be correct for lines past a certain point. Atom 1.25 can render around 800k to 1 million lines correctly.
Issues we've seen: Increased number of lines rendered but bad rendering past a certain point
Loss of subpixel AA when the cursor is at the end of long lines (Loss of subpixel AA on soft-wrapped line #16889, Don't break subpixel AA when cursor is at the end of longest line #16595)
Repro steps
a
until the you reach the end of the windowExpected: To not lose subpixel AA
Issues we've seen: Loss of subpixel AA. Both when soft wrapping was enabled and disabled.
Scrolling horizontally shift + scroll wheel (Upgrade Electron to v1.6.x #12696 (comment))
Repro steps
Expected: File to scroll horizontally in both directions
Issues we've seen: File does not scroll horizontally at all in any direction
Scrollbars misbehaving on the first file that is opened (Upgrade Electron to v1.6.x #12696 (comment))
Repro steps
Expected: Scrollbar to be visible
Issues we've seen: Scrollbar is not visible and is flickering when you are editing
Middle clicking on unsaved tab (1.19, Linux: Middle-clicking an unsaved tab causes entire desktop to be unresponsive to clicks #15197)
Repro steps
Expected:
Clicking save/cancel or the options on the dialog works.
Issues we've seen:
The UI and the dialog is unable to receive mouse clicks. You can still choose options via Keyboard, but not mouse.
Linux: Atom scrolls even when not focused (Atom scrolls even when not focused #15482)
Repro steps
Expected: Atom window should keep the original scroll position
Issues we've seen: The Atom window scrolls after it is focused
Other
Deprecation warnings (Upgrade Electron to v1.6.x #12696 (comment))
Repro steps
This should be tested on macOS, Linux and Windows with community packages installed
Expected: No new deprecation warnings
Issues we've seen: New deprecation warnings both from core and community packages
Supported Versions of OS (Atom 1.19.0 crashes instantly after launching #15297)
Repro steps
Expected: https://atom.io and https://atom.io/faq to display the same versions as the Electron documentation
Issues we've seen: macOS version support changed and https://atom.io and https://atom.io/faq was not updated
macOS : Native tabs (Native tabs on macOS #14711)
Repro steps
Show Tab Bar
Expected:
Native Tab bar shows up and able to drag different windows to each other. Also make sure UI isn't messed up.
Issues we've seen:
Native Tab Bar doesn't work and messes up UI when enabled
Ubuntu with KDE: Menu uses 100% CPU (Globalmenu consumes 100% CPU and does not work electron/electron#8455, Menus not working in plasma 5.9 with global menu enabled #13885)
Repro steps
Expected:
Desktop menu items work
Issues we've seen:
Desktop menu items do nothing when you click on things.
macOS: Slovak QWERTZ (Slovak QWERTZ does not resolve keys correctly on macOS atom-keymap#223)
Repro steps
cmd+'
.Expected: Resolves to
cmd+'
like it shows on keyboard viewer on mac.ctrl+§
macOS: IME jump (1.20.0: Popup jump when using macOS Chinese IME #15696)
Repro steps
Expected:
Expected the IME to be positioned at under the character you entered
Issues we've seen: The IME window is in the top left corner. When you enter the second character it jumps to be positioned under the text