Commit graph

15564 commits

Author SHA1 Message Date
Abe Jellinek
682535305b Work around grid layout bug in item box
And don't use hiddenDOMWindow, since it's no longer available on all
platforms.
2025-07-02 15:35:51 -04:00
Abe Jellinek
626b4e7fe7 Update type definitions 2025-07-02 13:37:51 -04:00
Abe Jellinek
f15831f1a9 Update type definition update script
Use ZIP export to more easily get all subdirectories.
2025-07-02 13:37:42 -04:00
Abe Jellinek
c62c39b131 Migrate Zotero.Promise#isPending() in feedReader.js 2025-07-02 11:52:56 -04:00
Abe Jellinek
8ffdb8bca2 Migrate Zotero.Promise#isPending() in syncRunner.js 2025-07-02 11:50:10 -04:00
Abe Jellinek
8891b700cd Migrate Zotero.Promise#isPending() in dataObjects.js 2025-07-02 11:44:13 -04:00
Abe Jellinek
58cc3cc6dd Migrate Zotero.Promise#isResolved() in citationDialog.js 2025-07-02 11:36:37 -04:00
Abe Jellinek
473eabdb7a Fix Mendeley import
'else' branch is untested.
2025-07-02 11:33:46 -04:00
Abe Jellinek
3847047471 Fix folder import 2025-07-02 11:33:36 -04:00
Abe Jellinek
f18ce9eb1f Fix Dictionary Manager 2025-07-02 11:20:38 -04:00
Abe Jellinek
75da9f885d Fix -debugger flag 2025-07-02 11:18:32 -04:00
Abe Jellinek
2ed53501f0 Fix ChromeUtils.defineESModuleGetters(this, ...) in MJS files
`this` is undefined - use globalThis.
2025-07-02 11:15:58 -04:00
Abe Jellinek
232d5e7ac2 Migrate Zotero.Promise#cancel() in zoteroPane.js 2025-07-02 11:13:22 -04:00
Abe Jellinek
1f87ba2a24 Migrate Zotero.Promise.each() in syncLocal.js 2025-07-02 11:08:54 -04:00
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