-
Notifications
You must be signed in to change notification settings - Fork 17.4k
Conversation
e72b83e
to
cde8811
Compare
This comment has been minimized.
This comment has been minimized.
I don't think the tests would pass either. We first need to get the build passing and start working on the failing tests. |
This comment has been minimized.
This comment has been minimized.
Building on win32 is failing for electron version 11.4.7. We need to add the errors on the warning list to have a passing build on atom/atom#22687 An altenative would be to fix the warnings. Right now there is no capacity for us to do the fixes
4a6eb37
to
f7d15a9
Compare
More Windows 32-bit problems. I opened a PR for this one: atom/atom-keymap#250 It is a similar issue with Update: It's building for me on all platforms. Still issues with the tests, but at least it's building! https://dev.azure.com/DeeDeeG/b/_build/results?buildId=1186 (I had to fork |
22152f2
to
f13eac8
Compare
@DeeDeeG I will be using your tree-sitter fork to get the macOS build passing for now. |
Brief summary: Okay. I recommend installing it as (Which is this commit: DeeDeeG/node-tree-sitter@bb298ea) Full comment below: I think for best security, I would recommend putting the exact commit hash in the URL in (So, safe barring a rather impressive hash collision attack??? Related article: https://github.blog/2017-03-20-sha-1-collision-detection-on-github-com/. For the record, I am not attempting such a hash collision! I just think it pays to be safe about security and use good practices. Like not using branch names or tag names in git URLs in So I suppose it would be : "tree-sitter": "https://github.com/DeeDeeG/node-tree-sitter#bb298eaae66e0c4f11908cb6209f3e141884e88e" (One can do That is my commit DeeDeeG/node-tree-sitter@bb298ea bumping (Thoughts for the future: Eventually, perhaps the Atom github org should fork the |
@sadick254 how about going to |
Electron 11.4.11 is now available #22810 |
Thank you @mfonville for following up on the Electron upgrade and Electron releases. We would update to the latest 11.x.x after getting this working. We did start with using |
290bd57
to
a377935
Compare
- @atom/fuzzy-native@1.2.1 - @atom/nsfw@1.0.28", - atom-keymap@8.2.15", - first-mate@7.4.3", - pathwatcher@8.1.2",
bd046b6
to
b2eeaaf
Compare
The test don't require the atom environment to be setup.
Atom is upgrading to use electron 11.4.7 however on that version chromium has deprecated `document.registerElement`. There are some community packages whose implementations depend on `document.registerElement`. Therefore shipping without a polyfill will break those packages. As Atom maintainers we wouldn't want to introduce a change that has the potential of breaking many packages.
Having the polyfill for compatibility is a great idea, but I think it'd be a good idea to add a warning/message to alarm the package maintainers that they should implement this change. You wouldn't want to maintain this work-around polyfill forever. |
Atom is upgrading to use electron 11.4.7 however on that version chromium has deprecated `document.registerElement`. There are some community packages whose implementations depend on `document.registerElement`. Therefore shipping without a polyfill will break those packages. As Atom maintainers we wouldn't want to introduce a change that has the potential of breaking many packages.
71d8603
to
04d6338
Compare
FYI/heads up: Some packages have issues. I tried I tried to install The usual reliable |
* Upgrade to electron 11.4.11 for security fixes * Electron 11.4.12
@DeeDeeG We have enabled remote module atom/src/main-process/atom-window.js Line 61 in 10f7d45
The remote module has not been removed on electron version 11. It will be removed on version 12. I think the issue might be something else. |
Electron now went to 11.5.0 https://github.com/electron/electron/releases/tag/v11.5.0 with some security fixes It will be the final release for the 11-series. |
Holy mother of electrons, wut? Congrats, keep it going |
@DeeDeeG Thanks for the heads up 🙇🏾 , I went ahead to install about 41 ide packages(The most I could find), I can confirm only I will create issues in the repos responsible for those packages |
@darangi @sadick254 what is needed to get this over the line? |
@UziTech I thought The errors are related to the deprecation of |
Congrats. @sadick254 great job on this. Thanks =) |
I'm glad to see this merged!!! One small request: Would the Atom GitHub org be willing to fork Atom's Line 164 in 7033a5a
Can an official maintainer of Atom, or the Example workflow to do this:
|
Will there be a new beta now that this has been merged or are there other things that need to be done first? |
Please @sadick254 I understand aabout the archiving of at atom by microsoft, but I am among those that I already love the editor so much to give up on it anytime soon, most people say this and that about VScode and the likes but forget atom is the most hackable editor till date, |
TODO
BLOCKERS AND ISSUES
-
charRegression Checklist
General testing
Review issues tagged with
electron
to see if any of them are fixedVerify that you can collaborate with Teletype
Steps
1. Open a file 1. Share a portal 1. Have a guest join the portal 1. When guest edits the text in the file, verify that the host sees those changesCheck 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
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
Note: this is a regression that has not been fixed since Electron 3, will leave it in the template to keep it on our radar once it's fixed
Other
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.Issues we've seen: It resolves to
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