Commit graph

10587 commits

Author SHA1 Message Date
Abe Jellinek
549d8d0e2f Remove special handling for Promise.coroutine() in server.js 2025-07-08 16:36:57 -04:00
Abe Jellinek
9bed1585d5 Asyncify standalone.js 2025-07-08 16:36:01 -04:00
Abe Jellinek
c08104803a Asyncify errorReport.xhtml 2025-07-08 16:33:42 -04:00
Abe Jellinek
55acc492cd Asyncify feedSettings.js 2025-07-08 16:32:16 -04:00
Abe Jellinek
e2c9c2fe75 Asyncify advancedSearch.js 2025-07-08 16:31:14 -04:00
Abe Jellinek
b828cd5281 Preferences: Fix "Update now" label being appended, not replaced 2025-07-08 16:14:30 -04:00
Abe Jellinek
5ffcd88d97 Preferences: Fix sandbox creation for subpanes 2025-07-08 16:07:13 -04:00
Abe Jellinek
a0dca12d51 Migrate Zotero.Promise#timeout() in db.js 2025-07-03 10:59:28 -04:00
Abe Jellinek
842ddcd633 Migrate Zotero.Promise methods in storageEngine.js 2025-07-03 10:55:11 -04:00
Abe Jellinek
35c0a76fd0 Migrate Zotero.Promise#return() in libraries.js 2025-07-02 18:28:54 -04:00
Abe Jellinek
cd813171e7 Don't rely on hiddenDOMWindow in plugins.js 2025-07-02 15:49:20 -04:00
Abe Jellinek
92ed62f1ec Migrate hiddenDOMWindow in style.js
XSLTProcessor is available in the global scope now.
2025-07-02 15:44:04 -04:00
Abe Jellinek
7534fbdbb5 Remove unused method that used hiddenDOMWindow 2025-07-02 15:37:04 -04:00
Abe Jellinek
ecb6bc735c Update feedReader.js hiddenDOMWindow comment 2025-07-02 15:36:09 -04:00
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
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
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
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