Commit graph

13104 commits

Author SHA1 Message Date
Dan Stillman
4a68c04891 fetch_xulrunner: Use local copies of Firefox on Windows if available
Allows for faster fetch_xulrunner development without repeatedly
downloading Firefox from Mozilla servers. Already possible on macOS.
2023-05-20 12:52:12 +01:00
Dan Stillman
1e78025726 Use "Zotero" directory in C:\ProgramData
Instead of using "Mozilla-1de4eec8-1241-4177-a864-e594e8d1fb38" like
Firefox and Thunderbird
2023-05-20 12:50:41 +01:00
Dan Stillman
c0bc796fce Don't try to use the Mozilla Maintenance Service on Windows
Updating via the service seems to actually work (or at least it logs
that it's going to use it and the update succeeds -- I didn't verify
that it actually uses the service), but conditionally using a Mozilla
background service only if it's installed on the system seems like a bad
idea.
2023-05-20 12:50:31 +01:00
Dan Stillman
30f6cd44d8 Use correct WinWord DLL for 64-bit Windows
And omit 64-bit DLL from 32-bit build
2023-05-20 12:46:32 +01:00
Dan Stillman
8dd1db9839 Convert POSIX paths to Windows paths for mbsdiff on Windows 2023-05-20 12:46:32 +01:00
Dan Stillman
d9f86a6293 Add 7.0 deploy scripts for 'dev' and 'test' channels 2023-05-20 07:44:01 -04:00
Dan Stillman
ee07d603b1 Simplify lastrev filename 2023-05-20 07:41:08 -04:00
Dan Stillman
2097822872 CI: Add lfs: true to actions/checkout@v3 2023-05-20 11:02:21 +00:00
Dan Stillman
90d5e1e551 Update Linux updater for Zotero 7 2023-05-20 10:51:47 +00:00
Abe Jellinek
db4a79838b Preferences: Resync menulists when their subtrees change 2023-05-19 16:54:32 +03:00
Abe Jellinek
ff43d1877e Focus preferences window if already open on Cmd-Comma 2023-05-19 16:46:24 +03:00
Dan Stillman
874a45ed1c Add quotes around path in manage_incrementals 2023-05-18 10:51:30 +01:00
Dan Stillman
dec508542d Convert Cygwin paths passed to AWS CLI
AWS CLI v2 (or possibly some other config change on our new build
system) doesn't like POSIX paths, so convert to Windows paths
2023-05-18 10:51:29 +01:00
Dan Stillman
82a00b1f7b Update signtool.exe path 2023-05-18 10:51:29 +01:00
Dan Stillman
2e50c3856e Update paths for NSIS 3
Which seems to work the same as the NSIS 2 Unicode version we were using
previously
2023-05-18 10:49:29 +01:00
Dan Stillman
8a4d305843 Fix xz_to_bzip under Cygwin 2023-05-18 05:00:38 +01:00
Dan Stillman
39fa35ae12 Restore workaround for -C in mar command 2023-05-18 04:59:37 +01:00
Dan Stillman
cc65ca032e Update Windows updater for Zotero 7 2023-05-18 04:58:35 +01:00
Abe Jellinek
eecd85a1c2 Disable window dragging inside toolbar controls
And enable in the context pane toolbar extension.
2023-05-17 16:52:50 +03:00
Dan Stillman
33ac72ebac Generate xz MARs for new updater
The old updater used MARs with bzip2-compressed files, but Mozilla switched to
xz compression, so we generate xz-based MARs using the current MAR tools and
`make_(full|incremental)_update.sh` scripts and add a script to generate
bzip2-based MARs to serve to pre-7.0 builds.
2023-05-17 04:35:40 -04:00
Dan Stillman
6261640a92 Update Mac updater for Zotero 7
We were previously using an old version of the Mozilla updater before they
added Mozilla signature verification, but it's Intel-only, so we need to build
our own version of the current updater with signature verification disabled.
2023-05-17 04:35:40 -04:00
Dan Stillman
a30e63eee1 Remove unused make_incremental_updates.py script 2023-05-17 04:35:40 -04:00
Dan Stillman
ff51aad139 Generate changelog link automatically in add_version_info 2023-05-17 04:35:40 -04:00
Dan Stillman
4695b156e0 Move add_version_info to scripts dir
Not specific to update packaging
2023-05-17 04:35:40 -04:00
Dan Stillman
19265d4e98 Don't notarize 'test' channel builds on macOS 2023-05-17 04:35:40 -04:00
Abe Jellinek
7482c2b4ec Fix "Could not map contract ID ... to CID" warning in console
This is how Mozilla does it:
https://searchfox.org/mozilla-esr102/source/uriloader/exthandler/HandlerService.manifest
2023-05-16 20:06:36 +03:00
Abe Jellinek
f299692de7 Allow window dragging from PDF reader toolbar
Fixes #2713
2023-05-16 16:23:32 +03:00
Martynas Bagdonas
b51a30ed99 Update pdf-reader submodule 2023-05-11 16:50:54 +01:00
Dan Stillman
75eeac1d41 Fix avoidance of console warning for FxAccountsCommon.js
Follow-up to 969b782fd0
2023-05-11 02:09:36 -04:00
Dan Stillman
3d7ce028e9 Change win64 to win-x64 in app build scripts 2023-05-11 05:17:52 +01:00
Dan Stillman
3ba6fbf0f7 Avoid warnings in console due to duplicated brand.ftl
zoteroPane.xhtml includes base.js via customElements.js, and base.js
inserts brand.ftl, so we don't need to include brand.ftl as a link.
2023-05-10 07:12:24 -04:00
Dan Stillman
598689c9bc Update translators and styles 2023-05-10 06:43:08 -04:00
Dan Stillman
99cec416b7 Remove old code to force use of Lucida Grande on macOS
This was already commented out for Z7, which fixes the font rendering
problem.

Closes #1740
2023-05-10 06:25:05 -04:00
Dan Stillman
05fd1601ad Update locales from Transifex
This removes some newlines due to processing changes in our script.
2023-05-10 06:25:05 -04:00
Dan Stillman
b8c9bfcc34 Update non-English Mozilla locale files
Mostly just minor whitespace changes due to changes in our processing
script
2023-05-10 06:25:05 -04:00
Dan Stillman
8cf7993af5 Add non-English updates.properties
(And update the en-US version with some strings that we don't use but
might if we updated to a slightly newer version of the updater before
they got rid of the dedicated update window)
2023-05-10 06:25:05 -04:00
Dan Stillman
6a14e8a376 Add some disabled code to extract 'updates' files from old Moz langpacks 2023-05-10 06:25:05 -04:00
Dan Stillman
27ccff636b Various fixes to locale processing script
- Properly handle regular vs. Mozilla locale files
- Avoid whitespaces changes as much as possible
- Keep copyright block at top of all Mozilla files
- Bug fixes
2023-05-10 06:25:05 -04:00
Dan Stillman
08a508b750 fx-compat: Fix collections-containing-an-item highlight 2023-05-09 17:49:18 -04:00
Abe Jellinek
fa31956d28
fx-compat: Fix feed button appearance/overflow behavior (#3114) 2023-05-09 16:38:33 -04:00
Abe Jellinek
942986c6b6 fx-compat: Use native checkboxes for Quick Copy options 2023-05-09 16:01:52 +03:00
Dan Stillman
659c131de6 Fix Win64 ZIP filename when fetching build for incremental updates 2023-05-09 07:39:28 -04:00
Dan Stillman
bbcfe50e0d Update to Firefox 102.11.0esr
Mac and Windows launchers in 725e5ac0f and 93f009e9d8 were actually from
102.11.0esr, not 102.10.0esr
2023-05-09 05:42:42 -04:00
abaevbog
fa28228acb
Automatically run fetch_xulrunner if xulrunner is missing or out of date (#3111) 2023-05-09 05:41:27 -04:00
Dan Stillman
93f009e9d8 Win: Update to Firefox 102.10.0 and don't create default-esr profile
zotero.exe.tar.xz is now stored using Git LFS, so anyone building the
app on Windows will need that installed.
2023-05-09 07:06:19 +01:00
Dan Stillman
725e5ac0f0 Mac: Update to Firefox 102.10.0 and don't create default-esr profile 2023-05-09 01:30:34 -04:00
Dan Stillman
b568585f44 Don't create default-esr profile and data directory
Set MOZ_LEGACY_PROFILES environment variable to disable
dedicated-profile support, which creates dedicated profiles for
different channels (e.g., `esr`).
2023-05-09 01:30:05 -04:00
Abe Jellinek
508cd0a64c
Hide About window in Window menu (Mac) (#3113) 2023-05-08 20:35:40 -04:00
Abe Jellinek
8c37865c07 Fix add-on install error message when file is entirely invalid
If the file wasn't an XPI at all, or it didn't contain valid metadata for fx102,
the error message would previously show "%S" where the add-on name should be.
Now we fall back to the file path.
2023-05-08 20:13:47 +03:00
Abe Jellinek
b30f97dad5 fx-compat: Allow file drop on Add-ons window
Fixes #3099
2023-05-08 20:06:47 +03:00