Archived
1
0
This repository has been archived on 2024-09-09. You can view files and clone it, but cannot push or open issues or pull requests.
code-server/patches
Asher 73cb236535
Add back local storage patch
And fix the workspace bug.  It is caused by an issue with how some
global variables are being used asynchronously and is exacerbated by the
delay reading settings from the remote introduces.

1. The workspace is created and is marked as not initialized.
2. The configuration's change handler is triggered, and now
   initialization is complete.
3. The handler tries to set the global workspace variable to initialized
   but the workspace has not been set yet so we get an undefined error.
4. The workspace global is now set, but it is set to the old value with
   initialized still set to false.
5. Workspace is never marked as initialized until something else
   triggers the on change handler again.

Fixes #3061, and closes #6546.

My guess is this logic changed in one of the VS Code updates,
introducing this async bug but never getting caught probably because for
them the settings are always local thus minimal delay.
2023-11-27 17:25:38 -09:00
..
base-path.diff Enable secret storage (#6450) 2023-09-26 08:35:41 -08:00
cli-window-open.diff Update to VS Code 1.82.2 (#6436) 2023-09-20 15:33:28 -08:00
disable-builtin-ext-update.diff Update to VS Code 1.82.2 (#6436) 2023-09-20 15:33:28 -08:00
disable-downloads.diff Add back local storage patch 2023-11-27 17:25:38 -09:00
display-language.diff Add back local storage patch 2023-11-27 17:25:38 -09:00
getting-started.diff Add back local storage patch 2023-11-27 17:25:38 -09:00
insecure-notification.diff Update to 1.71 (#5535) 2022-09-09 16:28:54 +00:00
integration.diff Update Code to 1.83.1 (#6488) 2023-10-19 00:50:21 +00:00
local-storage.diff Add back local storage patch 2023-11-27 17:25:38 -09:00
logout.diff Update to VS Code 1.82.2 (#6436) 2023-09-20 15:33:28 -08:00
marketplace.diff Remove mention of legacy extension API 2023-10-04 15:44:54 -08:00
proposed-api.diff Update Code to 1.83.1 (#6488) 2023-10-19 00:50:21 +00:00
proxy-uri.diff Refresh proxy URI patch 2023-09-26 12:19:13 -08:00
safari.diff Update Code to 1.83.1 (#6488) 2023-10-19 00:50:21 +00:00
series Add back local storage patch 2023-11-27 17:25:38 -09:00
service-worker.diff Update to VS Code 1.82.2 (#6436) 2023-09-20 15:33:28 -08:00
sourcemaps.diff Update Code to 1.84.2 (#6524) 2023-11-14 13:44:21 -09:00
store-socket.diff Set session socket into environment variable (#6282) 2023-06-21 22:47:01 -08:00
telemetry.diff Update Code to 1.84.2 (#6524) 2023-11-14 13:44:21 -09:00
unique-db.diff chore: update Code to 1.72.2 (#5650) 2022-10-17 16:30:39 -07:00
update-check.diff Update to VS Code 1.82.2 (#6436) 2023-09-20 15:33:28 -08:00
webview.diff Update to VS Code 1.82.2 (#6436) 2023-09-20 15:33:28 -08:00