Commit graph

15611 commits

Author SHA1 Message Date
Abe Jellinek
e52b1993f4 fx140: Work around grid layout bug in item box
And don't use hiddenDOMWindow, since it's no longer available on all
platforms.
2025-07-30 22:30:37 -04:00
Abe Jellinek
4ecac12cc6 fx140: Update type definitions 2025-07-30 22:30:37 -04:00
Abe Jellinek
31edc728d4 fx140: Update type definition update script
Use ZIP export to more easily get all subdirectories.
2025-07-30 22:30:37 -04:00
Abe Jellinek
6cbb0bc103 Migrate Zotero.Promise#isPending() in feedReader.js 2025-07-30 22:30:37 -04:00
Abe Jellinek
ed20f8b4d1 Migrate Zotero.Promise#isPending() in syncRunner.js 2025-07-30 22:30:37 -04:00
Abe Jellinek
ed00016caa Migrate Zotero.Promise#isPending() in dataObjects.js 2025-07-30 22:30:37 -04:00
Abe Jellinek
c4a0a760b1 Migrate Zotero.Promise#isResolved() in citationDialog.js 2025-07-30 22:30:36 -04:00
Abe Jellinek
e81f5d96f1 fx140: Fix Mendeley import
'else' branch is untested.
2025-07-30 22:30:36 -04:00
Abe Jellinek
e6aba9b879 fx140: Fix folder import 2025-07-30 22:30:36 -04:00
Abe Jellinek
fbf0177215 fx140: Fix Dictionary Manager 2025-07-30 22:30:36 -04:00
Abe Jellinek
ee859e374a fx140: Fix -debugger flag 2025-07-30 22:30:36 -04:00
Abe Jellinek
be0cc2c602 fx140: Fix ChromeUtils.defineESModuleGetters(this, ...) in MJS files
`this` is undefined - use globalThis.
2025-07-30 22:30:36 -04:00
Abe Jellinek
7b7c153711 Migrate Zotero.Promise#cancel() in zoteroPane.js 2025-07-30 22:30:36 -04:00
Abe Jellinek
90e92e995f Migrate Zotero.Promise.each() in syncLocal.js 2025-07-30 22:30:35 -04:00
Abe Jellinek
9a44834289 Migrate Zotero.Promise.filter() in profile.js 2025-07-30 22:30:35 -04:00
Abe Jellinek
68255d075e Migrate Zotero.Promise.map() in syncEngine.js 2025-07-30 22:30:35 -04:00
Abe Jellinek
70f75fd3b0 Migrate Zotero.Promise#cancel() in feeds.js 2025-07-30 22:30:35 -04:00
Abe Jellinek
122b160639 Migrate Zotero.Promise.map() in quickCopy.js 2025-07-30 22:30:35 -04:00
Abe Jellinek
18500b19d0 Migrate Zotero.Promise.each() in quickCopy.js 2025-07-30 22:30:35 -04:00
Abe Jellinek
676be3fc00 Update JSDoc for forEachChunkAsync() 2025-07-30 22:30:35 -04:00
Abe Jellinek
da6efecaef Migrate Zotero.Promise.map() in syncFullTextEngine.js
Fixes syncing, I think.
2025-07-30 22:30:34 -04:00
Abe Jellinek
14afba4b62 Import ConcurrentCaller in storageEngine.js 2025-07-30 22:30:34 -04:00
Abe Jellinek
ffb68f2f6c Make Library#_initSave() async to match superclass
Fixes .catch() error
2025-07-30 22:30:34 -04:00
Abe Jellinek
ce0ee4b693 Migrate Promise#return() in file.js 2025-07-30 22:30:34 -04:00
Abe Jellinek
9cad92b817 fx140: 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-30 22:30:34 -04:00
Abe Jellinek
2a077ab131 Remove Zotero.spawn()
This method relied on Bluebird and can be replaced by just awaiting an
async function.
2025-07-30 22:30:34 -04:00
Abe Jellinek
76232fda21 Replace use of Zotero.spawn() in ZoteroProtocolHandler 2025-07-30 22:30:34 -04:00
Abe Jellinek
2b0255435e Replace use of Zotero.spawn() in http.js 2025-07-30 22:30:33 -04:00
windingwind
6222737d1a fx140: Fix titlebar and window control icons 2025-07-30 22:30:33 -04:00
Abe Jellinek
488bcc484f Replace uses of Zotero.Promise.defer() as a constructor 2025-07-30 22:30:33 -04:00
Abe Jellinek
bb8a8a4362 fx140: Use import statements in MJS files 2025-07-30 22:30:33 -04:00
Abe Jellinek
c434ec40dd fx140: Remove unused bare imports 2025-07-30 22:30:33 -04:00
Abe Jellinek
c8dd6095c8 fx140: Fix remaining bare importESModule() calls 2025-07-30 22:30:33 -04:00
Dan Stillman
08879d81d6 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-30 22:30:33 -04:00
Dan Stillman
587e4227d7 Update Windows build to Firefox 140.0esr 2025-07-30 22:30:32 -04:00
Dan Stillman
f6f920350d 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-30 22:30:32 -04:00
Dan Stillman
cbefe513c2 Update Mac build to 140.0esr 2025-07-30 22:30:32 -04:00
Dan Stillman
001a6cc259 Update Rust version for fx140 builds 2025-07-30 22:30:32 -04:00
Dan Stillman
c634273fe1 Update build scripts with new default Firefox source folder
After the git transition
2025-07-30 22:30:32 -04:00
Dan Stillman
0a80484919 Fix win32 argument to Windows build script 2025-07-30 22:30:32 -04:00
Abe Jellinek
9d6669eb1e fx140: 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-30 22:30:32 -04:00
Abe Jellinek
f0ac59f3dc Add functional shim for Zotero.Promise.method()
For translation.
2025-07-30 22:30:31 -04:00
Abe Jellinek
60983dadd5 fx140: Fix other bare imports in file.js 2025-07-30 22:30:31 -04:00
Abe Jellinek
1197683ab3 fx140: Fix other bare imports in utilities_internal.js 2025-07-30 22:30:31 -04:00
Abe Jellinek
4f8a1bc968 fx140: Fix ctypes imports in utilities_internal.js 2025-07-30 22:30:31 -04:00
Abe Jellinek
a9df0424e5 fx140: Fix InlineSpellChecker import in editorInstance.js 2025-07-30 22:30:31 -04:00
Abe Jellinek
6053091563 fx140: ESMify EPUB and uses 2025-07-30 22:30:31 -04:00
Abe Jellinek
95038a7da5 fx140: ESMify RemoteTranslate and uses 2025-07-30 22:30:30 -04:00
Abe Jellinek
ff72087da1 migrate-fx140: Use .mjs for Zotero modules everywhere 2025-07-30 22:30:30 -04:00
Abe Jellinek
4b7ac315b5 migrate-fx140: Assume Zotero ESMS are/will be renamed to .mjs 2025-07-30 22:30:30 -04:00