Commit graph

89 commits

Author SHA1 Message Date
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
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
e1411982b2 Set Safari extension LSMinimumSystemVersion to Mojave for betas 2024-03-31 05:22:21 -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
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
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
Abe Jellinek
51d77d5699
Update prepare_build for Python 3.12 (#3865) 2024-03-20 23:51:25 -04: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
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
windingwind
ef062b9a8d Fix addon.id is undefined error 2024-01-24 23:32:10 -05:00
Dan Stillman
03fcba3b71 Include Safari extension in test builds 2023-09-30 01:55:39 -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
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
4b7a1e8607 Get rid of some console warnings
And some other unused CSS
2023-07-11 05:35:32 -04: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
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