Commit graph

15648 commits

Author SHA1 Message Date
Dan Stillman
93edf4e099 Use SHA256 for custom Firefox components on macOS
(Not currently necessary)
2025-07-30 22:30:53 -04:00
Dan Stillman
44bba85ce8 Use custom xul.dll on Windows
Necessary for non-Mozilla C:\ProgramData folder now that we can no
longer do a string replace on the official DLL

The custom component ZIPs are currently stored in S3 and referenced by
SHA-256 hashes, which get committed. This is basically the same as Git
LFS, but since we now support per-arch fetch_xulrunner and building,
this avoids the need to download large xul.dll files for other
architectures. (Git LFS files also can't ever be removed, so
particularly while we're testing this, we don't necessarily want to
permanently store every copy.)
2025-07-30 22:30:53 -04:00
Dan Stillman
3e0d2c06f1 Support arch-specific builds on Windows and Linux
`fetch_xulrunner`, `dir_build`, and `build.sh` now take an optional `-a`
argument on Windows and Linux to specify the architecture to
fetch/build. If `-a` is omitted for `dir_build` (as in `build_and_run`),
it defaults to the current architecture.

xulrunner hashes are now computed for each architecture. This changes
some filenames in xulrunner/, so you may want to clean out some old
folders/files.

This removes the custom handling for CI, since it will now default to
the architecture of the test runner.
2025-07-30 22:30:53 -04:00
Abe Jellinek
67d2e1cead fx140: Asyncify/ESMify tests
They seem to be succeeding when run individually, but failing when
run as a whole. Not sure why yet.
2025-07-30 22:30:53 -04:00
Abe Jellinek
d3419ed124 fx140: Update asyncify script to handle it() calls 2025-07-30 22:30:53 -04:00
Abe Jellinek
6fc1726da7 fx140: Fix folderImport import in fileInterface.js 2025-07-30 22:30:53 -04:00
Dan Stillman
ae83e01923 Update Mozilla patch for Firefox 140 for Windows
With ROOT_UPDATE_DIR_NAME change
2025-07-30 22:30:52 -04:00
Zotero
581157ca75 Set RUST_TARGET for Windows build 2025-07-30 22:30:52 -04:00
Dan Stillman
363383363d Disable some services for the Windows build
Unclear if these affect the launcher or xul.dll, but no need to build
them either way
2025-07-30 22:30:52 -04:00
Adomas Venčkauskas
19903271ce Use ESMified word processor plugin installers 2025-07-30 22:30:52 -04:00
Adomas Venčkauskas
601a1f2292 fx140: ESMify word-processor-plugin-installer 2025-07-30 22:30:52 -04:00
Adomas Venčkauskas
35919f640c fx140: Remove isFulfilled and isResolved uses in integration 2025-07-30 22:30:52 -04:00
Dan Stillman
94aa126107 Fix signing of Mac builds with fx140
There's now an UpdateSettings.framework in the updater that needs to be
signed before the updater itself can be signed.
2025-07-30 22:30:52 -04:00
Dan Stillman
4657156c91 Always sign macOS test builds
Since they don't start after fx140, for reasons I didn't investigate
2025-07-30 22:30:51 -04:00
Dan Stillman
e1a595d78d Update macOS SDK for fx140 build in mozconfig 2025-07-30 22:30:51 -04:00
Dan Stillman
21aaa1c33c Update Linux updater to Firefox 140.0esr
Including ARM64 version
2025-07-30 22:30:51 -04:00
Dan Stillman
63741ca9bc Add script to extract Linux updaters from custom Firefox builds 2025-07-30 22:30:51 -04:00
Dan Stillman
48e9bda610 Update Linux mozconfig for fx140 2025-07-30 22:30:51 -04:00
Abe Jellinek
6b2331b647 Remove special handling for Promise.coroutine() in server.js 2025-07-30 22:30:51 -04:00
Abe Jellinek
ae0413ce80 Asyncify standalone.js 2025-07-30 22:30:50 -04:00
Abe Jellinek
499ce2709c Asyncify errorReport.xhtml 2025-07-30 22:30:50 -04:00
Abe Jellinek
0937d47721 Asyncify feedSettings.js 2025-07-30 22:30:50 -04:00
Abe Jellinek
f9541b3281 Asyncify advancedSearch.js 2025-07-30 22:30:50 -04:00
Abe Jellinek
0970415c3a fx140: De-uglify tabbox on macOS
This is definitely not pixel-perfect to how it was before, but it's a
lot closer.
2025-07-30 22:30:50 -04:00
Abe Jellinek
d71a0db4a2 fx140: Preferences: Fix "Update now" label being appended, not replaced 2025-07-30 22:30:50 -04:00
Abe Jellinek
303b3a9a89 Preferences: Fix sandbox creation for subpanes 2025-07-30 22:30:50 -04:00
Abe Jellinek
e2bcf90856 Migrate Zotero.Promise#timeout() in db.js 2025-07-30 22:30:49 -04:00
Abe Jellinek
8fb3e6d1a9 Migrate Zotero.Promise methods in storageEngine.js 2025-07-30 22:30:49 -04:00
windingwind
8ff5d9e3e1 fx140: Fix tabs menu panel style 2025-07-30 22:30:49 -04:00
Abe Jellinek
6231b6dd5a migrate-fx140: Fix error message 2025-07-30 22:30:39 -04:00
windingwind
cb449989b8 fx140: Fix menupopup style 2025-07-30 22:30:38 -04:00
Abe Jellinek
1c4d2b84e0 Migrate Zotero.Promise#return() in libraries.js 2025-07-30 22:30:38 -04:00
Abe Jellinek
64a2237fb3 fx140: Don't rely on hiddenDOMWindow in plugins.js 2025-07-30 22:30:38 -04:00
Abe Jellinek
b9e560d33e fx140: Remove EventUtils
Unused, relied on hiddenDOMWindow.
2025-07-30 22:30:38 -04:00
Abe Jellinek
0f2690eb75 fx140: Migrate hiddenDOMWindow in style.js
XSLTProcessor is available in the global scope now.
2025-07-30 22:30:38 -04:00
Abe Jellinek
0c1e341f50 fx140: Remove unused method that used hiddenDOMWindow 2025-07-30 22:30:38 -04:00
Abe Jellinek
3e2f6a8783 fx140: Update feedReader.js hiddenDOMWindow comment 2025-07-30 22:30:37 -04:00
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