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
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
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
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