Commit graph

201 commits

Author SHA1 Message Date
hrdl
147ed028df
Enable wayland backend when available. (#3655)
This will become obsolete with firefox >= 121.
2024-02-06 11:28:28 -05:00
Dan Stillman
5f5ceb9d87 Update Word for Windows submodule 2024-02-06 11:24:21 -05:00
Sebastian Fleer
a33603d496
build.sh: copy additional Linux icons (#3628) 2024-02-02 03:21:19 -05:00
Dan Stillman
ee9e11a3eb Add 32px and 64px icons for Linux 2024-01-28 03:03:31 -05:00
Dan Stillman
6eebbe32f4 Fix app.update.auto on Windows
On Windows, `app.update.auto` is now a per-installation pref stored in
C:\ProgramData\Zotero\Updates\[id]\update-config.json so that it can be
used by the background update service. We don't have a background update
service, so we force it to continue using the profile pref.
2024-01-28 01:58:49 -05:00
Dan Stillman
580d1df086 Use red Z for 16x16 icon in Windows .ico 2024-01-24 23:32:23 -05:00
Dan Stillman
1d8baa635a New app icons 2024-01-24 23:32:22 -05:00
windingwind
ef062b9a8d Fix addon.id is undefined error 2024-01-24 23:32:10 -05:00
Dan Stillman
feac973ec2 Update LibreOffice submodule 2023-11-10 16:33:49 -05:00
Dan Stillman
f1203f0fb3 Disable libvpx decoding/encoding 2023-11-02 17:50:16 -04:00
Dan Stillman
f012a348af Update Word for Mac submodule 2023-10-23 05:40:57 -04:00
Dan Stillman
5e634f57f0 Update Windows build to Firefox 102.15.1esr 2023-09-30 07:05:13 +01:00
Dan Stillman
03fcba3b71 Include Safari extension in test builds 2023-09-30 01:55:39 -04:00
Dan Stillman
f803c0cc4e Update Mac build to 102.15.1esr 2023-09-29 18:20:46 -04:00
Dan Stillman
918b1645aa Update Linux build to Firefox 102.15.1esr 2023-09-29 20:44:59 +00:00
Abe Jellinek
8d825f641a
Fix segfault when hyphenating text in main process (#3388) 2023-09-14 02:48:50 -04:00
Dan Stillman
e1def9971c Remove unnecessary mktemp alias on macOS
https://github.com/zotero/zotero/pull/3397/files#r1315697046
2023-09-05 06:47:17 -04:00
Abe Jellinek
a7f1235fd1 Fix middle-mouse autoscroll in reader 2023-08-07 16:07:52 -04:00
Dan Stillman
f01fe2801d Check for rsync in check_requirements 2023-07-28 16:14:00 -04:00
Adomas Venčkauskas
987b7ea952 Update Word for Mac submodule 2023-07-26 16:10:58 +03:00
Dan Stillman
5c26fe15d8 Check for Node 18 or later 2023-07-26 06:49:00 -04:00
Dan Stillman
d95c10e06c Use NODE_OPTIONS=--openssl-legacy-provider in build_and_run 2023-07-25 00:52:54 -04:00
Dan Stillman
d3502b22f2 Update Linux build to Firefox 102.13.0esr 2023-07-18 07:40:20 -04:00
Dan Stillman
4b7a1e8607 Get rid of some console warnings
And some other unused CSS
2023-07-11 05:35:32 -04:00
Dan Stillman
94cd2f6e92 Update Windows build to Firefox 102.13.0esr 2023-07-09 10:42:39 +01:00
Dan Stillman
cb5ef83f0a Skip 32-bit Linux build on x86_64 for dir_build without -p
And build_and_run doesn't set -p, so build_and_run will now skip
unnecessary 32-bit builds
2023-07-06 19:02:09 -04:00
Dan Stillman
7c25ab536f Skip 32-bit Linux build if SKIP_32 env variable is set 2023-07-06 18:46:38 -04:00
Adomas Venčkauskas
2db13c2494 Update Word for Mac submodule 2023-07-05 15:11:10 +03:00
Adomas Venčkauskas
49eda8861e Improve build scripts to work in pathnames with spaces 2023-07-05 15:01:41 +03:00
Dan Stillman
1766f8bb53 Plugin lifecycle fixes
- Call `shutdown()`/`uninstall()` with `ADDON_UPGRADE`/`ADDON_DOWNGRADE`
  during plugin upgrade/downgrade
- Actually call new version's bootstrap.js, not cached old version
- Create new scope for new version
- Don't call `shutdown()` on uninstall if not active

Fixes #3159
2023-07-01 06:19:04 -04:00
Dan Stillman
f447a4953a Fix intermittently missing title bar on Windows
https://forums.zotero.org/discussion/comment/437636/#Comment_437636
2023-06-28 07:41:01 -04:00
Dan Stillman
00651d670d Switch to notarytool for Mac build notarization 2023-06-19 06:39:39 -04:00
Dan Stillman
2277c73891 Update Word for Mac submodule 2023-06-16 06:26:13 -04:00
Adomas Venčkauskas
6efa55ffdf Update Word for Mac submodule. Update template version check 2023-06-16 03:24:03 -04:00
Dan Stillman
1c9ca88280 Update Word for Mac submodule
Fixes permissions prompt
2023-06-14 05:33:13 -04:00
Dan Stillman
77682cb45a Update LibreOffice and Word for Windows submodules 2023-06-01 05:36:29 -04:00
Dan Stillman
fda0fda7ac Use 64-bit Windows build in add_omni_file 2023-05-27 02:32:57 -04:00
Dan Stillman
fd50a5b65e Switch to UTF-16 helper function for xul.dll binary patching 2023-05-26 06:45:23 -04:00
Dan Stillman
889a812fdc Replace "FirefoxCP" with "ZoteroCP" in subprocess names
"Isolated Web Content", "Socket Process", "Web Content", etc.

Closes #3137
2023-05-26 06:45:23 -04:00
Dan Stillman
d14d281e7c Avoid warning about null bytes when checking for Git LFS checkouts 2023-05-26 02:08:17 +00:00
Dan Stillman
feb12fafe8 Add Git LFS checkout checks to app build script
For people with existing repos who haven't re-run check_requirements
2023-05-25 03:24:18 -04:00
Dan Stillman
4ca4278635 Update Word for Mac submodule 2023-05-24 17:30:14 -04:00
Dan Stillman
14875c962b Fix broken building on Windows from de154ab407 2023-05-24 08:29:43 +01:00
Dan Stillman
9da76eab43 Don't open second window when launching a second time 2023-05-24 02:25:20 -04:00
Dan Stillman
0734f6d55b Add commented-out line to save copy of Firefox Windows installers
For fetch_xulrunner development
2023-05-24 02:25:20 -04:00
Dan Stillman
de154ab407 Skip check for "Zotero" in xul.dll on macOS 2023-05-22 08:23:53 -04:00
Dan Stillman
39b8a33166 Fix Git LFS checkout check when not in repo root 2023-05-22 06:39:03 -04:00
Dan Stillman
840a98ff40 Update app build scripts for branch reshuffling
`master` → `6.0`, `fx102` → `main`
2023-05-22 04:10:21 -04:00
Dan Stillman
9622fcccdb Show consistent paths for missing scripts in check_requirements 2023-05-22 01:25:58 -04:00
Dan Stillman
5d0c1f38ef Add check for Git LFS in check_requirements 2023-05-22 01:25:54 -04:00
Dan Stillman
08213eb8fb fx102 branch is no more 2023-05-21 18:52:26 -04:00
Dan Stillman
4eb951c977 Add 7.0 beta build script 2023-05-21 18:38:38 -04:00
Dan Stillman
879da4feef Don't include 6.0 builds in incrementals 2023-05-21 22:37:42 +00:00
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
90d5e1e551 Update Linux updater for Zotero 7 2023-05-20 10:51:47 +00: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
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
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
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
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
Dan Stillman
87c71f74a0 Move -app-name variable to brand.ftl
So a custom build doesn't have to modify each .ftl file

`app-name` is redundant with the Firefox strings, but it's what we used
previously and is easier to remember.
2023-05-07 23:55:34 -04:00
Dan Stillman
969b782fd0 Avoid console warning about resource://gre/modules/FxAccountsCommon.js 2023-05-05 00:37:09 -04:00
Dan Stillman
7ee5dd564c Add comment for upgrade logic change 2023-05-04 08:40:06 -04:00
Dan Stillman
15674daeae Update Linux build to Firefox 102.10.0esr 2023-05-03 01:44:48 -04:00
Dan Stillman
e6776fd922 Skip 32-bit Linux build in CI or tests 2023-04-30 06:10:14 -04:00
Dan Stillman
2dc5eecfac Avoid URLDecorationAnnotationsService errors on every network request 2023-04-30 05:25:50 -04:00
Dan Stillman
adf2d92471 Cleaner error if prepare_build fails due to missing 'build' dir 2023-04-29 16:28:50 -04:00
Dan Stillman
c326a6c971 Fix more files for combined repos 2023-04-29 07:50:54 -04:00
Dan Stillman
3905f9d5b3 Move fetch_xulrunner and fetch_mar_tools into app/scripts 2023-04-29 07:14:51 -04:00
Dan Stillman
9a5275b92a Stop bundling the PDF tools 2023-04-29 07:14:51 -04:00
Dan Stillman
b6b6bbc3ee Load integration manifest files only on correct platform 2023-04-27 01:05:02 -04:00
Dan Stillman
a34a11b200 Remove a couple mozilla.org update URLs
Fixes #3097
2023-04-27 01:04:55 -04:00
Dan Stillman
2bc4c38f01 Remove obsolete app.update prefs 2023-04-27 00:31:33 -04:00
Dan Stillman
395d0c231b Update Word for Mac submodule 2023-04-26 16:10:10 -04:00
Dan Stillman
3693674fc9 Fix Fluent localization for non-English locales
All declared Fluent files need to exist for a locale to be used (in a
window?). Since Mozilla code tries to load Fluent files, we need to copy
non-English Mozilla .ftl files to their default effective path (just in
the app omni.ja instead of the toolkit omni.ja).

Fixes #3094
2023-04-26 04:40:22 -04:00
Dan Stillman
c55ef8714b Update app build scripts for new combined repo
Also:

- Replace `install.rdf` with `version` file
- Remove lots of obsolete logic in `prepare_build` (formerly
  `build_xpi`)
2023-04-26 04:40:22 -04:00
Dan Stillman
1ab041ef55 Move build_xpi to app/scripts as prepare_build 2023-04-26 04:40:22 -04:00
Dan Stillman
a3d7b58b83 Add zotero-standalone-build repo as app folder
Minus obsolete 4.0 files
2023-04-26 04:40:22 -04:00