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
Abe Jellinek
33d97f585e
Remove duplicate require.js from windows that import include.js
2025-07-30 22:30:30 -04:00
Abe Jellinek
27bd0708b6
fx140: Use ZOTERO_CONFIG as module in standalone.js and debugViewer.js
2025-07-30 22:30:30 -04:00
Abe Jellinek
c1f018eae8
fx140: ESMify actors
2025-07-30 22:30:30 -04:00
Abe Jellinek
c607b8f455
delayGenerator(): Use native Promise#then()
2025-07-30 22:30:29 -04:00
Abe Jellinek
496e067d11
fx140: Streamer: Don't use hiddenDOMWindow
...
WebSocket is available globally.
2025-07-30 22:30:29 -04:00
Abe Jellinek
c16b74ec5b
fx140: ESMify/asyncify preference panes
2025-07-30 22:30:29 -04:00
Abe Jellinek
32f812d515
Load each preference pane in its own scope
...
To eliminate conflicts between top-level const/let declarations.
2025-07-30 22:30:29 -04:00
Abe Jellinek
ab5758c0b6
fx140: 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-30 22:30:29 -04:00
Abe Jellinek
9be57b3110
Update ConcurrentCaller to use native promises
2025-07-30 22:30:29 -04:00
Abe Jellinek
06dc00af24
Migrate Promise#filter() in collectionTree.js
2025-07-30 22:30:29 -04:00
Abe Jellinek
4a1ca8ea96
Migrate Promise#isPending() in zotero.js
2025-07-30 22:30:28 -04:00
Abe Jellinek
37a6e0a61f
Migrate Promise#delay() in schema.js
2025-07-30 22:30:28 -04:00
Abe Jellinek
c9a5a66020
fx140: Don't use hiddenDOMWindow for editable-text sizing
...
Causes an error on Linux.
2025-07-30 22:30:28 -04:00
Abe Jellinek
a61f7035ad
fx140: Use ZOTERO_CONFIG as module in itemTree.jsx
2025-07-30 22:30:28 -04:00
Abe Jellinek
75a2c325ec
Fix error on shutdown
2025-07-30 22:29:58 -04:00
Abe Jellinek
eeb94aea48
fx140: Fix more broken code
2025-07-30 22:18:36 -04:00
Abe Jellinek
a080b7c9c6
fx140: Give require()'d modules a window context
2025-07-30 22:18:36 -04:00
Abe Jellinek
f8826a9e8a
fx140: Restore support for synchronous XHR in system code
2025-07-30 22:18:36 -04:00
Abe Jellinek
ece2b59700
fx140: More progress toward startup
2025-07-30 22:18:36 -04:00
Abe Jellinek
845b5a9006
migrate-fx140: Use native Promise.try(), fix Components.utils.import()
2025-07-30 22:18:36 -04:00
Abe Jellinek
c506e41072
fx140: Add working require.js, more progress toward startup
2025-07-30 22:18:36 -04:00
Abe Jellinek
14f4881d04
migrate-fx140: Assume all Firefox JSMs are ESMified
2025-07-30 22:18:35 -04:00
Abe Jellinek
741940dd9a
migrate-fx140: Run jscodeshift on all JS files
...
This is probably why it wasn't doing much.
2025-07-30 22:18:35 -04:00
Abe Jellinek
e94ed24e20
Add Promise.defer() to Bluebird shim
2025-07-30 22:18:35 -04:00
Abe Jellinek
05d19fc6aa
Replace Bluebird with async in xpcom/
2025-07-30 22:18:35 -04:00
Abe Jellinek
8d0923f119
fx140: Remove Bluebird
...
All module code runs in strict mode, and that breaks Bluebird.
And add a partial shim for the simplest and most useful methods. Not
sure if we actually want that, or if we should just replace it entirely
with native methods.
2025-07-30 22:18:35 -04:00
Abe Jellinek
ee512680ac
fx140: Rename esmify to migrate-fx140, add asyncify migration
...
See README.txt for run instructions.
2025-07-30 22:18:35 -04:00
Abe Jellinek
cd9f90da8d
fx140: Add esmify script
...
This seems to produce decent output on many of our files, but it totally
misses some import statements. Not sure why that is yet.
2025-07-30 22:18:34 -04:00
Dan Stillman
163ed14f92
Add removed-files_linux-arm64
2025-07-30 22:18:34 -04:00
Dan Stillman
e6cd5f322f
TEMP: Disable Linux updater
...
Since we haven't yet build an ARM64 updater
2025-07-30 22:18:34 -04:00
Dan Stillman
0f7590ad13
fx140: Comment out some lines that were failing
...
I didn't check to see which of these have just moved.
2025-07-30 22:18:34 -04:00
Dan Stillman
e715593eb7
fx140: browser-custom-element.js → browser-custom-element.mjs
2025-07-30 22:18:34 -04:00
Dan Stillman
fd4dde300d
fx140: Remove obsolete AppConstants modifications
2025-07-30 22:18:29 -04:00
Dan Stillman
832575b7c0
Update build scripts for Linux ARM64
...
This doesn't include an ARM updater, so those lines in build.sh need to
be commented out for the build to succeed.
Addresses #3515
2025-07-30 22:15:31 -04:00