Commit graph

118 commits

Author SHA1 Message Date
Tom Najdek
e9c0e47a17
Suggest running git lfs install in check_requirements instructions (#5102) 2025-03-12 06:54:05 -04:00
Abe Jellinek
9cdfadbbae
Fix space before ellipsis in editable-text (#5087) 2025-03-10 22:47:38 -04:00
Dan Stillman
659d5e864b build_and_run: Fix handling of ZOTERO_PROFILE containing spaces 2025-03-09 16:16:47 -04:00
Abe Jellinek
cab8e38806
Remove deleted actors to prevent console spam (#5074) 2025-03-04 09:45:08 -05:00
Dan Stillman
307753d313 "Select add-on to install" → "Select plugin to install"
https://forums.zotero.org/discussion/122235/title-in-the-plugin-selection-windows-dialog-add-on-plugin
2025-02-27 23:30:45 -05:00
Abe Jellinek
26221b6786 Fix broken browser window on print + remove many Mozilla files (#5050) 2025-02-26 03:00:04 -05:00
Yichao Yu
8cfcdeb8e6
Use uname -m instead of arch (#4982)
`uname` is used in the script elsewhere already and `arch` does not seem to be available everywhere
2025-01-13 23:37:49 -05:00
abaevbog
459d00448a
Hide "Report" button from plugin context menu (#4976)
Fixes: #4975
2025-01-10 01:25:51 -05:00
Dan Stillman
bad01686d8 Fix some spaces instead of tabs in fetch_xulrunner 2025-01-08 00:30:21 -05:00
abaevbog
5fd94e22df
remove wrong aria-autocomplete from search-textbox (#4966)
searchButton setter in search-textbox element adds aria-autocomplete
to the input. It makes screen readers announce that there is an autocomplete
popup, which is misleading (even though it is appropriate for
firefox that actually does have autocomplete-like dropdown).
This overrides the searchButton setter to remove aria-autocomplete
attribute.

Addresses: zotero#4932
2025-01-03 05:14:36 -05:00
Dan Stillman
7e7ceffd77 Move utility functions for build to separate file
`replace_line`, etc.

To make them available to both build.sh and fetch_xulrunner
2025-01-03 01:21:57 -05:00
Dan Stillman
878d1cc401 fetch_xulrunner: Automatically cache unmodified Windows Firefox 2024-12-18 04:25:47 -05:00
Dan Stillman
485033b4a4 fx128: Fix new errors trying to load removed remote-settings.sys.mjs
Fixed previously in 297af9b40
2024-12-18 04:15:38 -05:00
Dan Stillman
e80b5787fe Switch 'dev' channel builds back to main 2024-12-14 01:20:49 -05:00
abaevbog
d63c39acff fx128: hide 'Run on sites with restrictions' from plugins page (#4925)
Remove 'Run on sites with restrictions' row from Tools > Plugins tab

Fixes: #4885
2024-12-14 01:16:06 -05:00
Dan Stillman
fed4097384 Use fx128 branch for 'dev' channel builds 2024-12-14 01:16:05 -05:00
Dan Stillman
a9e68d9530 fetch_xulrunner: Automatically cache unmodified Linux Firefox 2024-12-14 01:16:04 -05:00
Dan Stillman
d6f3acfede fetch_xulrunner: Automatically cache unmodified Mac Firefox
To avoid redownloading from Mozilla whenever fetch_xulrunner runs. We
might want to add cleanup of old versions at some point.

We should add this for Windows and Linux too.
2024-12-14 01:16:04 -05:00
Dan Stillman
a0bdeab401 fx128: Fix login manager
Use async methods (since the sync ones seem to already be broken from JS
despite https://bugzilla.mozilla.org/show_bug.cgi?id=1832756 still being
open) and avoid loading Firefox Accounts module
2024-12-14 01:16:03 -05:00
Abe Jellinek
b858645957 fx128: -moz-nativehyperlinktext -> LinkText (#4902) 2024-12-14 01:16:03 -05:00
Abe Jellinek
67b5545b93 Un-break global-shared.css with new remove_between function (#4901) 2024-12-14 01:16:03 -05:00
Abe Jellinek
d271c6c931 fx128: Remove non-native text input styles (#4890) 2024-12-14 01:16:02 -05:00
Dan Stillman
05ae75d3b4 Update build process for Firefox 128 2024-12-14 01:16:00 -05:00
Dan Stillman
d970f00243 Add check_line function in fetch_xulrunner
For checking whether a line exists without replacing it
2024-12-14 01:15:59 -05:00
Dan Stillman
5d0420a7d0 Add nsProcess NSIS plugin to check_requirements 2024-11-21 02:09:18 -05:00
Dan Stillman
e9f3d667b3 Windows signing fixes
- Sign zotero.exe in ZIP builds
- Re-sign xul.dll, which we modify in fetch_xulrunner
- Remove xul.dll.sig, a file for Widevine CDN that we don't need and
  that presumably doesn't match anymore
- Sign Word plugin DLL

https://forums.zotero.org/discussion/119766/tenable-invalid-signature-on-xul-dll
2024-11-21 01:14:38 -05:00
Abe Jellinek
6f9abaaffe Suppress "Checking [...] for addons" 2024-08-26 23:36:32 -04:00
Abe Jellinek
9ca70a7946 Prevent "Error: Addon must include an id, version, and type"
And "Addon with ID undefined already installed, older version will be
disabled".
2024-08-26 23:36:32 -04:00
Abe Jellinek
175541ed86 Prevent "Warning: unrecognized command line flag -rd" 2024-08-26 23:36:32 -04:00
Dan Stillman
b564924c7c build_and_run: Fix debugger not showing Zotero sources when using d
`-jsconsole` somehow prevented Zotero sources from showing up in the
Debugger tab of the Browser Toolbox, but there's no reason to show the
Browser Console when we're showing the Browser Toolbox, so just don't
pass `-jsconsole` when `d` is passed.

Fixes #4503
2024-08-10 01:32:46 -04:00
Dan Stillman
5d54b4d37d Handle absence of Z7 incrementals 2024-08-09 05:20:58 +01:00
Dan Stillman
4816eed0f4 Handle 0 incrementals 2024-08-09 00:17:56 -04:00
Dan Stillman
c8fbad4be7 Update release script for 7.0 2024-08-09 00:17:04 -04:00
Dan Stillman
fadcdcaef9 Use "Plugins" everywhere in Add-ons Manager
But we still need to switch to our own strings so they can be localized

Fixes #3354
2024-07-28 04:14:32 -04:00
Dan Stillman
297af9b409 Remove some additional Firefox modules and avoid logged errors 2024-07-27 02:10:20 -04:00
Dan Stillman
74ec6620e3 Add Mozilla script to generate precomplete file 2024-07-22 03:05:14 -04:00
Dan Stillman
934a74fba4 Use -jsdebugger for build_and_run, and don't bind devtools on port 6100
Since -jsdebugger apparently works fine, there's no reason to connect to
Zotero from Firefox anymore. So just open the Browser Toolbox when
passing the -d flag to build_and_run, and stop having the devtools
server listen on port 6100 for devtools-enabled builds, since
-jsdebugger uses a random port of its own.
2024-07-20 02:20:03 -04:00
Dan Stillman
24ca4e44fa Don't sign 'test' channel builds 2024-05-28 06:44:23 +01:00
Dan Stillman
7056513b77 Finish Windows ARM support
And rename to "ARM64"

Closes #3112
2024-05-28 06:44:21 +01:00
Dan Stillman
91054acfea Fix reversed shasum/sha256sum in dfaa0ce129 2024-04-22 07:04:42 -04:00
windingwind
3e30ae1797
Fix dialog window titlebar on macOS (#4011)
After #4010
2024-04-19 07:32:50 -04:00
Dan Stillman
dfaa0ce129
Use custom XUL binary on macOS (#4010)
Backports the following Mozilla fixes:

https://bugzilla.mozilla.org/show_bug.cgi?id=1858409
(AutoFill/Services menus; fixes #3927)

https://bugzilla.mozilla.org/show_bug.cgi?id=1884631
(sheets → dialogs; fixes #3936)

https://bugzilla.mozilla.org/show_bug.cgi?id=148624
(ghost tooltips, because why not)
2024-04-19 07:04:42 -04:00
Dan Stillman
128a540af6 Fix plugin updating
Fixes #3942
2024-04-09 19:02:27 -04:00
Dan Stillman
db19e52547 Use user-provided codesign script for Windows signing
The `app/win/codesign` script should take a path to a file and a
description (`/d` parameter to `signtool.exe`) and sign the file using
whatever process the certificate authority requires.
2024-04-08 10:12:58 +01:00
abaevbog
66fa9fdc51
do not trigger event causing autocomplete error (#3925)
DOMInputPasswordAdded event is triggered on autocomplete
submission which causes an error in LoginManager.
The error gets logged in the console, though the autocomplete does
work. This just removes the event from ActorManagerParent.

Fixes: #3883
2024-04-08 01:45:00 -04:00
Dan Stillman
13754fe32c Stop copying vcruntime140_1.dll in x64 build
Now bundled with Firefox in 115
2024-04-06 16:16:05 -04:00
Dan Stillman
bcf8d72b0b Add Windows ARM build (#3112)
Unimplemented:

- ARM-native installer/uninstaller

Untested:

- Installer/uninstaller/updater
- Word integration DLL

Also updates the launcher and updater to 115.9.0esr for x64. win32 stays
on 115.4.0esr for the launcher and 102.11.0esr for the updater because I
can no longer build it.
2024-04-06 04:54:07 -04:00
Dan Stillman
38287cec07 Fix error trying to delete a profile in Profile Manager
Regression from 23da0d70b0 -- commonDialog.xhtml now pulls in
include.js, but that window can be opened via Services.prompt.confirm()
in the Profile Manager when deleting profiles, which caused it to try to
initialize Zotero without an active profile, which was bad.

https://forums.zotero.org/discussion/112751/zotero-7-beta-68-error-when-attempting-to-delete-zotero-profile
2024-04-02 01:14:00 -04:00
Dan Stillman
ff28541245 Fix webExtensionsMinPlatformVersion for fx115 (and maybe in general) 2024-04-01 15:23:35 -04:00
Dan Stillman
8bf8bfe804 Fix fetch_xulrunner error on Linux after eeefd1cc0 2024-03-31 06:29:13 -04:00