Commit graph

15520 commits

Author SHA1 Message Date
Abe Jellinek
da18a465c5 Fix other bare imports in file.js 2025-07-01 14:59:28 -04:00
Abe Jellinek
d911981e84 Fix other bare imports in utilities_internal.js 2025-07-01 14:51:30 -04:00
Abe Jellinek
3dea9429bd Fix ctypes imports in utilities_internal.js 2025-07-01 14:51:29 -04:00
Abe Jellinek
cc19ab4155 Fix InlineSpellChecker import in editorInstance.js 2025-07-01 14:48:50 -04:00
Abe Jellinek
6f96fa9da8 ESMify EPUB and uses 2025-07-01 14:09:17 -04:00
Abe Jellinek
937ad309a7 ESMify RemoteTranslate and uses 2025-07-01 14:07:38 -04:00
Abe Jellinek
f21ea96b4f ESMify: Use .mjs for Zotero modules everywhere 2025-07-01 14:06:15 -04:00
Abe Jellinek
b2bd862271 ESMify: Assume Zotero ESMS are/will be renamed to .mjs 2025-07-01 12:30:16 -04:00
Abe Jellinek
54a35ff844 Remove duplicate require.js from windows that import include.js 2025-07-01 12:18:10 -04:00
Abe Jellinek
5e64365ce1 Use ZOTERO_CONFIG as module in standalone.js and debugViewer.js 2025-07-01 12:15:02 -04:00
Abe Jellinek
f88cd2a7d7 ESMify actors 2025-07-01 12:14:36 -04:00
Abe Jellinek
19f2c88523 delayGenerator(): Use native Promise#then() 2025-07-01 12:05:48 -04:00
Abe Jellinek
54f3bcaf45 Streamer: Don't use hiddenDOMWindow
WebSocket is available globally.
2025-07-01 12:05:22 -04:00
Abe Jellinek
aafad2a880 ESMify/asyncify preference panes 2025-07-01 12:05:04 -04:00
Abe Jellinek
e748e705be Load each preference pane in its own scope
To eliminate conflicts between top-level const/let declarations.
2025-07-01 12:04:47 -04:00
Abe Jellinek
8677713dcc TEMP: Restore menubar background on Linux
Not sure if these are the right colors or if this is the right place to
make this change.
2025-07-01 11:40:54 -04:00
Abe Jellinek
ba5007c4e7 Update ConcurrentCaller to use native promises 2025-07-01 11:40:11 -04:00
Abe Jellinek
0d45a8b4db Migrate Promise#filter() in collectionTree.js 2025-07-01 11:05:02 -04:00
Abe Jellinek
4ee59735cf Migrate Promise#isPending() in zotero.js 2025-07-01 11:05:02 -04:00
Abe Jellinek
59f7f2fc03 Migrate Promise#delay() in schema.js 2025-07-01 11:05:02 -04:00
Abe Jellinek
2825151467 TEMP: Don't use hiddenDOMWindow for editable-text sizing
Causes an error on Linux.
2025-07-01 11:05:02 -04:00
Abe Jellinek
0d830a5185 Use ZOTERO_CONFIG as module in itemTree.jsx 2025-07-01 11:05:01 -04:00
Abe Jellinek
97b5520150 Fix error on shutdown 2025-07-01 10:43:46 -04:00
Abe Jellinek
0b74db5d8c Fix more broken code 2025-06-30 19:06:07 -04:00
Abe Jellinek
261b76d380 Give require()'d modules a window context 2025-06-30 19:05:43 -04:00
Abe Jellinek
5ded9a84ee Restore support for synchronous XHR in system code 2025-06-30 19:05:13 -04:00
Abe Jellinek
159ed6ba68 More progress toward startup 2025-06-30 18:36:51 -04:00
Abe Jellinek
d5ec1ecc28 Use native Promise.try(), fix Components.utils.import() 2025-06-30 18:36:22 -04:00
Abe Jellinek
b62fd3aa04 Add working require.js, more progress toward startup 2025-06-30 17:08:33 -04:00
Abe Jellinek
3d5f5f2d23 Revert "Remove require.js"
This reverts commit 31701109
2025-06-30 17:08:31 -04:00
Abe Jellinek
144deae510 Assume all Firefox JSMs are ESMified 2025-06-30 17:08:18 -04:00
Abe Jellinek
aa0910991d Run jscodeshift on all JS files
This is probably why it wasn't doing much.
2025-06-30 14:44:07 -04:00
Abe Jellinek
1c4aae4842 Add Promise.defer() to Bluebird shim 2025-06-30 14:15:53 -04:00
Abe Jellinek
b090f5d4eb Replace Bluebird with async in xpcom/ 2025-06-30 13:02:56 -04:00
Abe Jellinek
8f7c760804 Remove Bluebird
And add a partial shim for the simplest and most useful methods. Not
sure if we actually want that, or if we should just replace it entirely
with native methods.
2025-06-30 13:02:56 -04:00
Abe Jellinek
3170110944 Remove require.js
But not yet calls to require().
2025-06-30 13:02:56 -04:00
Abe Jellinek
48604a7d7e Rename esmify to migrate-fx140, add asyncify migration
See README.txt for run instructions.
2025-06-30 13:00:37 -04:00
Abe Jellinek
e2e7676acd Add esmify script
This seems to produce decent output on many of our files, but it totally
misses some import statements. Not sure why that is yet.
2025-06-24 14:46:27 -04:00
Dan Stillman
75b3858dd1 TEMP: Disable CI tests until we fix fx140 more 2025-06-24 10:03:28 -04:00
Dan Stillman
9f7b67ccb8 Add removed-files_linux-arm64 2025-06-24 09:53:04 -04:00
Dan Stillman
3a39f0fa56 TEMP: Disable Linux updater
Since we haven't yet build an ARM64 updater
2025-06-24 09:30:36 -04:00
Dan Stillman
89a2dee3bf fx140: Comment out some lines that were failing
I didn't check to see which of these have just moved.
2025-06-24 09:30:36 -04:00
Dan Stillman
b4dfa61c71 fx140: browser-custom-element.js → browser-custom-element.mjs 2025-06-24 09:30:28 -04:00
Dan Stillman
4ee79a9efe fx-compat: Remove obsolete AppConstants modifications 2025-06-24 09:30:03 -04:00
Dan Stillman
735ae1cf09 Update build scripts for Linux ARM64
This doesn't include an ARM updater, so those lines in build.sh need to
be commented out for the build to succeed.

Addresses #3515
2025-06-24 09:30:01 -04:00
windingwind
6eb8a80e12
Fix reader sidenav buttons wrongly disabled (#5348)
fix: #5332
2025-06-20 23:32:30 -04:00
Martynas Bagdonas
0b5012555d Fix regression triggering multiple reader context menus
Fixes https://forums.zotero.org/discussion/124939/persistent-context-menu-in-the-snapshot-reader
Fixes https://forums.zotero.org/discussion/124938/double-context-menus-on-annotations-in-the-pdf-reader
2025-06-19 21:11:03 +03:00
Adomas Venčkauskas
0acfcd3f99 Update LibreOffice submodule 2025-06-19 11:39:51 +03:00
windingwind
50cafe57a2
Fix linux menu checkmark icon overlap (#5343)
Fix linux menu checkmark icon overlap

fix: #5340
2025-06-19 10:57:53 +03:00
Tom Najdek
57bc913304
Fix tag swatches regressions. Resolve #5322
Fixes missing tag swatches borders, a regression due to a change of the
default values for the `focus-states` mixin in #4961 (61b62d0).

Also introduces opaque tag colors so that tag swatches are not
semi-transparent.
2025-06-17 15:09:55 +02:00