Commit graph

15550 commits

Author SHA1 Message Date
Abe Jellinek
d734d78812 Migrate Zotero.Promise.filter() in profile.js 2025-07-02 11:07:56 -04:00
Abe Jellinek
924a2554b9 Migrate Zotero.Promise.map() in syncEngine.js 2025-07-02 11:03:25 -04:00
Abe Jellinek
c3a9ffb574 Migrate Zotero.Promise#cancel() in feeds.js 2025-07-02 11:01:14 -04:00
Abe Jellinek
692312b419 Migrate Zotero.Promise.map() in quickCopy.js 2025-07-02 10:46:21 -04:00
Abe Jellinek
cf18fe69a9 Migrate Zotero.Promise.each() in quickCopy.js 2025-07-02 10:45:19 -04:00
Abe Jellinek
1c203fdd1c Update JSDoc for forEachChunkAsync() 2025-07-02 10:44:26 -04:00
Abe Jellinek
e1b002c436 Migrate Zotero.Promise.map() in syncFullTextEngine.js
Fixes syncing, I think.
2025-07-02 10:40:31 -04:00
Abe Jellinek
2ceae44707 Import ConcurrentCaller in storageEngine.js 2025-07-02 10:34:53 -04:00
Abe Jellinek
efcfaff013 Make Library#_initSave() async to match superclass
Fixes .catch() error
2025-07-02 10:33:25 -04:00
Abe Jellinek
2987624b4d Migrate Promise#return() in file.js 2025-07-02 10:31:00 -04:00
Abe Jellinek
41f8c8e399 Fix ZoteroProtocolHandler URI parsing
nsIURI#pathQueryRef no longer includes the authority component. A URI
that would've had pathQueryRef '//authority/path' before will now have
pathQueryRef '/path'.

Reader seems to be functional after this change.
2025-07-02 10:30:59 -04:00
Abe Jellinek
2e0a10f732 Remove Zotero.spawn()
This method relied on Bluebird and can be replaced by just awaiting an
async function.
2025-07-02 10:30:27 -04:00
Abe Jellinek
ccc5dba032 Replace use of Zotero.spawn() in ZoteroProtocolHandler 2025-07-02 10:30:26 -04:00
Abe Jellinek
499b5e4f14 Replace use of Zotero.spawn() in http.js 2025-07-02 10:30:21 -04:00
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