Commit graph

231 commits

Author SHA1 Message Date
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
7f21da9334 Revert "Add additional backslashes in Exec line in Linux desktop file"
This reverts commit 06741ceb62.

A couple people on Fedora 40 reported that the desktop file was no
longer working for them after this change, and it's not clear that
anyone was having trouble on Ubuntu before it -- someone just noted that
`desktop-file-validate` was showing some warnings.
2024-08-08 07:40:39 -04:00
Adomas Venčkauskas
0cac4f5c86 Update LibreOffice submodule 2024-08-06 08:48:46 +03:00
Dan Stillman
1d5971c48f Windows: Change Zotero version in "Add or remove programs" after update
Fixes #4454
2024-07-30 02:20: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
bf59645133 Update removed-files for Win32 and Linux after #3133 2024-07-25 03:12:34 -04:00
Dan Stillman
9b38d3a02f Don't touch precomplete or removed-files in build_autocomplete.sh
Follow-up to ef2cceba7
2024-07-25 02:58:19 -04:00
Dan Stillman
352647a068 Fix path to removed-files on Linux
Follow-up to ef2cceba7
2024-07-25 06:29:27 +00:00
Dan Stillman
cf389ff20f Update removed-files for macOS after #3133
This is all the files removed since 5.0.
2024-07-25 02:13:52 -04:00
Dan Stillman
0f777efbf6 Don't bundle Safari extension test files 2024-07-25 02:13:22 -04:00
Dan Stillman
4bd46821de Stop using deprecated argument syntax for macOS codesign 2024-07-25 02:13:22 -04:00
Dan Stillman
ef2cceba7e Fix deleted files not getting removed after complete updates
Mozilla uses a `precomplete` file to delete local files when doing a
complete update, but since Zotero 5 in 2017 we've just been bundling an
empty file, which has meant that deleted or moved files have been left
behind. Among other things, this has likely been the primary cause of
Safari App Extension post-update brokenness for many years.

Incremental updates weren't affected, since those include explicit
removal instructions for moving from the given build to the latest one.

This restores proper generation of the `precomplete` file during builds,
using the Mozilla script added in 74ec6620e.

Separately, we'll update the `removed-file` for each platform to remove
files that should've been removed during previous updates.

Fixes #3133
2024-07-25 02:13:22 -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
34eb8205d1 Fix -jsdebugger flag on Linux
https://groups.google.com/g/zotero-dev/c/h4_UZDml-10/m/DjQCcl6PAAAJ
2024-07-20 02:16:32 -04:00
Dan Stillman
06741ceb62 Add additional backslashes in Exec line in Linux desktop file
https://github.com/zotero/zotero/issues/4163#issuecomment-2220309854
2024-07-15 04:20:39 -04:00
Abe Jellinek
8cb93b35a4 Tests: Fix -noquit flag
Fixes #4359
2024-07-09 12:07:32 -04:00
Adomas Venčkauskas
e7d2a9a7d6 Update Word for Windows submodule 2024-07-02 13:14:08 +03:00
Dan Stillman
d2fda98bcb Add fill: #000000 to Linux symbolic icon
https://forums.zotero.org/discussion/115150/zotero-7-symbolic-icon-isnt-recognized-as-such-by-gnome
2024-06-14 07:01:51 -04:00
Dan Stillman
f59a4da7f0 Update Word for Windows submodule 2024-06-11 14:44:02 -04:00
Dan Stillman
569225897d Update Word for Windows submodule 2024-06-11 04:46:59 -04:00
windingwind
b0e617e968 Don't show experimental warning on plugin startup
Fix: https://groups.google.com/g/zotero-dev/c/zTNnAaeVg1s/m/ykEtux_PAAAJ
2024-06-11 09:07:05 +08:00
Adomas Venčkauskas
1354371cc6 Update Word for Mac submodule 2024-06-05 17:35:53 +03:00
Dan Stillman
94f061b0ec Fix "Desktop file didn't specify Exec field" error on Ubuntu 24.04
Latest Debian/Ubuntu seems to require some extra escaping of backslashes

Fixes #4163
2024-06-04 06:51:25 -04:00
Dan Stillman
24ca4e44fa Don't sign 'test' channel builds 2024-05-28 06:44:23 +01:00
Dan Stillman
4067514a7e Don't build bzip updates for architectures that didn't exist in Z6 2024-05-28 06:44:23 +01:00
Dan Stillman
044e228a49 Omit additional files from Windows Firefox builds 2024-05-28 06:44:22 +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
08706332f9 Fix metadata of setup .exe on Windows
E.g., "Zotero Setup", not "Firefox"
2024-05-28 06:44:21 +01:00
Dan Stillman
81edd1ee1c Don't show "Firefox Software Updater" on Windows
And fix other .exe metadata

Fixes #3571
2024-05-28 06:44:20 +01:00
Dan Stillman
a7ae98c4c8 Remove Firefox 102 patch 2024-05-28 06:44:19 +01:00
Dan Stillman
17255e4f5b Update Word for Windows submodule and revert ui.window_class_override
Addresses #3930
2024-05-25 03:21:47 -04:00
Sean Takats
a3b1558f00
Updated icon file with corrected shade of white (#4135) 2024-05-17 05:49:28 -04:00
Adomas Venčkauskas
99d977be3f Update Word for Windows submodule 2024-05-02 12:30:11 +03: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
Abe Jellinek
210d815173 Prevent duplicate main window
Fixes #3964
2024-04-13 01:07:00 -04:00
Dan Stillman
d21fc40115 Update Mozilla strings for fx115
(Or technically 125, but I don't think any strings we need were
removed)

This fixes the Edit and Window menu (except for some macOS Window
strings that seem to come from the system) in non-English locales.
2024-04-10 07:33:40 -04:00
Dan Stillman
128a540af6 Fix plugin updating
Fixes #3942
2024-04-09 19:02:27 -04:00
Adomas Venčkauskas
03d0ea4366 Update Word for Windows submodule 2024-04-09 10:19:48 +03: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
a9e57541cf Update update_exe to extract updater from Firefox ZIP as well
We don't have to actually update updater.exe.tar.xz every time we update
the launcher, but we might as well stage it from the same script.
2024-04-06 09:57:36 +01: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
Dan Stillman
eeefd1cc0d Fix fetch_xulrunner error on Windows after 982d08798 2024-03-31 06:25:47 -04:00
Dan Stillman
982d087987 Ignore relative paths in PATH in Subprocess.pathSearch()
Used by Utilities.Internal.subprocess() if a bare command is given
2024-03-31 05:26:12 -04:00
Dan Stillman
95f6d2aa72 Update builds to Firefox 115.9.1esr
This fixes the Mac launcher, which had been ARM-only. (This launcher is
built from 115.9.0esr, because 115.9.1esr, a recent security fix,
doesn't seem to have a public tag yet.)

The Windows build seems to work without updating the launcher from
115.4.0esr.
2024-03-31 05:25:03 -04:00
Dan Stillman
e1411982b2 Set Safari extension LSMinimumSystemVersion to Mojave for betas 2024-03-31 05:22:21 -04:00
Dan Stillman
f86d1e1d07 Update Firefox patch and mozconfig for Firefox 115 2024-03-31 05:22:11 -04:00
Dan Stillman
0d9a34ba28 Better styling of plugin homepage links 2024-03-30 05:13:03 -04:00
Dan Stillman
4ece2fdd19 fx115: Fix build error due to change to plugin homepage links 2024-03-30 04:55:36 -04:00
Dan Stillman
2ec6c7c72e Ignore Firefox components folder during build
After the removal of zotero-service.js for fx115, we no longer have a
`components` folder, so we don't need to shuffle things around to merge
our folder with the one from Firefox.

This fixes a build failure we were getting in CI after #3894.
2024-03-30 01:02:08 -04:00
Adomas Venčkauskas
a92358bdd1 Fix fluent string breakage (regression 7276b8c50d). Closes #3894 2024-03-30 01:01:43 -04:00
Adomas Venčkauskas
d56181622e fx115: Update word processor submodules 2024-03-30 00:59:49 -04:00
Adomas Venčkauskas
7276b8c50d fx115: Readd support for -file, -url and winword command line handlers 2024-03-30 00:58:58 -04:00
Dan Stillman
07b2e1d310 fx115: Fix replace_line line for commonDialog.xhtml 2024-03-30 00:58:56 -04:00
Abe Jellinek
f4a33cc2e1 Fx115: Hide trailing separator in Add-ons menu 2024-03-30 00:58:56 -04:00
Dan Stillman
d8919d29f7 fx115: Update Windows build to 115.5.0esr 2024-03-30 00:58:55 -04:00
Dan Stillman
fcb96c775e Add Firefox build script for Windows 2024-03-30 00:58:55 -04:00
Dan Stillman
990e740afb fx115: Update Linux build to 115.5.0esr 2024-03-30 00:58:55 -04:00
Dan Stillman
13ab3bd87f fx115: Add command-line handling to Firefox command-line handler
XPCOM objects have to be statically registered now, so instead of
creating our own command-line handler, just stuff our code into the
Firefox one.

A few parameters require the Zotero object, which isn't available in the
Firefox CLH, so I've left those in zotero-service.js for now until we
decide how to deal with those.
2024-03-30 00:58:53 -04:00
Dan Stillman
2051f08b4c fx115: Move Zotero object initialization to zotero.mjs 2024-03-30 00:58:53 -04:00
Dan Stillman
676c1d85aa fx115: Change Mozilla filenames from .jsm to .mjs in fetch_xulrunner 2024-03-30 00:58:53 -04:00
Dan Stillman
1cd01e8dc0 fx115: Update macOS build to 115.4.0esr 2024-03-30 00:58:53 -04:00
Abe Jellinek
51d77d5699
Update prepare_build for Python 3.12 (#3865) 2024-03-20 23:51:25 -04:00
Adomas Venčkauskas
aef07afd32 Update Word for Mac submodule 2024-03-19 11:11:41 +02:00
windingwind
e08c34b497
Use system browser for plugin links (#3820) 2024-03-11 02:19:09 -04:00
Dan Stillman
af1aab3f0a Don't log deletion of CSL locale support files during build 2024-03-08 01:29:44 -05:00
windingwind
23da0d70b0
Implement Windows redesign for native elements (#3727) 2024-03-02 02:51:55 -05:00
Dan Stillman
6327e55599 Include multilocale.txt in xulrunner hash 2024-02-27 07:42:24 -05:00
Dan Stillman
98fc32a65e Add Tamil locale from Transifex
Contributed by @TamilNeram
2024-02-27 07:01:49 -05:00
Adomas Venčkauskas
f7cb5f89a7 Update LibreOffice submodule 2024-02-27 13:27:04 +02:00
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