Commit graph

15536 commits

Author SHA1 Message Date
windingwind
5d3bcefd70 Fix titlebar and window control icons 2025-07-02 16:05:26 +02:00
Abe Jellinek
8d6a853a3f Replace uses of Zotero.Promise.defer() as a constructor 2025-07-02 09:58:27 -04:00
Abe Jellinek
09fc93f977 Use import statements in MJS files 2025-07-02 09:52:04 -04:00
Abe Jellinek
3b5da6ce01 Fix indents 2025-07-02 09:52:04 -04:00
Abe Jellinek
183c09351c Remove unused bare imports 2025-07-02 09:52:04 -04:00
Abe Jellinek
61f7c4fe83 Fix remaining bare importESModule() calls 2025-07-02 09:52:04 -04:00
Dan Stillman
0d1fffd10a Update Windows updater to 140.0esr
This allows updates from Firefox builds past 115.23esr/128.10esr/138.0,
which change the command line arguments passed to the updater.

https://bugzilla.mozilla.org/show_bug.cgi?id=1923376
2025-07-02 02:50:10 -04:00
Dan Stillman
c8a7f30946 Update Windows build to Firefox 140.0esr 2025-07-02 02:49:30 -04:00
Dan Stillman
eb19da3cda Update Mac updater to 140.0esr
This allows updates from Firefox builds past 115.23esr/128.10esr/138.0,
which change the command line arguments passed to the updater.

https://bugzilla.mozilla.org/show_bug.cgi?id=1923376
2025-07-02 01:39:59 -04:00
Dan Stillman
cfa3410443 Update Mac build to 140.0esr 2025-07-02 01:36:07 -04:00
Dan Stillman
215dc344ac Update Rust version for fx140 builds 2025-07-02 03:32:34 +00:00
Dan Stillman
bdbdcb8744 Update build scripts with new default Firefox source folder
After the git transition
2025-07-02 03:30:29 +00:00
Dan Stillman
91abf2d6f3 Fix win32 argument to Windows build script 2025-07-02 03:28:58 +00:00
Abe Jellinek
c43320d8dd ChromeUtils.import() shim: Be explicit 2025-07-01 17:07:51 -04:00
Abe Jellinek
a639e74b7c Add ChromeUtils.import() shim for plugins
We can decide if we want to keep this, but it's an easy change that
seems useful for dev builds.
2025-07-01 17:04:22 -04:00
Abe Jellinek
d035c94ae3 Add functional shim for Zotero.Promise.method()
For translation.
2025-07-01 16:51:37 -04:00
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