Commit graph

46 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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