Abe Jellinek
76b7fd0dc1
Set preventDefault flag when URL is passed to CLH
...
Fixes #3132
2023-05-25 17:28:16 +03:00
Dan Stillman
117dbe1fe0
Clear Zotero.skipLoading after data directory tests
...
This was causing a startup error in the re-enabled debug output tests,
which don't reset app state.
2023-05-25 05:45:53 -04:00
Dan Stillman
6e2ec2300d
Fix checking for Firefox profiles high up in filesystem
...
This was triggering an erroneous warning dialog about a failure to check
for Firefox profiles during Linux tests (where the profile is at
something like /tmp/tmp.l5phnqSxBH/Zotero), but it could also affect a
custom profile directory location.
2023-05-25 03:37:06 -04: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
Abe Jellinek
6405997723
Use Zotero.appName in window title
2023-05-25 09:13:42 +03:00
Abe Jellinek
91fec9024c
Bidi: Fix control characters appearing in reader window titles on Windows
...
Fix in 6d5ce578e4
only affected tabs.
Fixes #3135
2023-05-25 09:05:36 +03:00
Dan Stillman
4ca4278635
Update Word for Mac submodule
2023-05-24 17:30:14 -04:00
Abe Jellinek
794b27c1ad
Test debug output logging again
...
Now that we run tests in Zotero with application menus.
2023-05-24 20:59:29 +03:00
Abe Jellinek
087a9859b4
Fix preference binding issues and "Include Zotero Links" checkboxes
...
- Set zotero-noteQuickCopy-menu's preference attribute to the correct key
- Warn about all ID-ish preference attribute values
- zotero-noteQuickCopy-menu's preference attribute was being set to the ID of
a now-nonexistent <preference> element. preference attribute values should
be preference keys now, but we were only warning if the associated
<preference> element was actually there
- We can't warn in all cases where the preference doesn't yet exist, because
some preferences don't have default values, and we shouldn't limit to
preferences that don't exist, because then the warning will stop showing
after the preference is persisted once
- When a <preference> ID is replaced by the associated key, update the
preference attribute so future syncFromPref() and syncToPrefOnModify() calls
will set the correct preference
- Listen to a range of events on all bound nodes, no matter their type
- Don't resolve _firstPaneLoadDeferred until actually done loading
Fixes #3131 .
2023-05-24 20:46:00 +03:00
Martynas Bagdonas
26068a855c
Make note editor iframe an XUL element to avoid focus anomalies
...
Fixes #3128
2023-05-24 17:38:15 +01:00
Dan Stillman
722287b81a
Switch back to @mozilla.org/browser/clh;1 and fix tests
...
In Firefox 102, `-file` was being swallowed by `nsBrowserContentHandler`
in BrowserContentHandler.jsm, so ab7d916e0
overrode that by using the
same contract id for our main nsICommandLineHandler in
zotero-service.js. But `nsBrowserContentHandler` also handles `-chrome`,
which we were using in tests to pass runtests.html. There's no need to
pass in dynamically though -- we can just hard-code that and open the
window ourselves.
2023-05-24 08:21:16 -04:00
Dan Stillman
744e73bfdb
Revert "fx-compat: Handle files opened via OS ( #3120 )"
...
This reverts commit ab7d916e0d
.
Switching to `@mozilla.org/browser/clh;1` broke tests and possibly other
command-line things, so disable for now.
2023-05-24 06:53:23 -04:00
Dan Stillman
0b1d958a86
Fix erroneous warning if Firefox profile directory can't be found
...
`Zotero.File.getContentsAsync()` now uses IOUtils rather than OS.File
2023-05-24 06:53: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
f5433f04e6
Update searchfox link to permalink
2023-05-24 02:25:20 -04:00
Abe Jellinek
ab7d916e0d
fx-compat: Handle files opened via OS ( #3120 )
2023-05-24 01:37:41 -04:00
Abe Jellinek
caa1036da2
Remote translation: Don't use wantGlobalProperties
...
Not necessary - just use the properties we inherit from contentWindow. This
fixes the DOMParser constructor, which fails if called without a window context
from a non-system principal.
https://forums.zotero.org/discussion/105163/zotero-7-doi-translator-broken-in-scaffold
2023-05-23 22:30:24 +03:00
Abe Jellinek
fd6ea99967
Item box: Always save current item when switching items
...
Fixes #3125
2023-05-23 19:40:09 +03:00
Abe Jellinek
61749d39a6
Item box: Populate both fields on creator autocomplete click
...
Fixes #3129
2023-05-23 19:06:56 +03:00
Martynas Bagdonas
04a44cfbaa
Update pdf-reader submodule
2023-05-23 12:00:17 +01:00
Dan Stillman
8440501ad2
Remove unused Zotero.isBigSurOrLater property
2023-05-23 01:55:31 -04:00
Dan Stillman
f9dab9b041
Show correct OS info in error reports
2023-05-23 01:55:31 -04:00
Dan Stillman
478dcc4f0f
Add Zotero.Utilities.Internal.subprocess(command, args)
...
To run a short-lived command and return stdout
The Subprocess module can also start long-running process and
communicate with them, but we'll implement something different for that
if we need it.
2023-05-23 01:46:25 -04:00
Dan Stillman
522de4ad92
Add 32/64-bit info after version number in about dialog on Windows/Linux
2023-05-22 23:58:00 -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
0c3d8eeb6f
Upload deployment ZIP from 'main' branch
2023-05-22 06:27:53 -04:00
Dan Stillman
66623b945e
Temporary fix for context-menu options getting triggered on Windows
...
https://forums.zotero.org/discussion/105103/right-click-on-collections-or-items-not-functioning-properly-in-zotero-7
2023-05-22 06:16:53 -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
55fe6f33f5
fx-compat: Fix XMLSerializer calls
...
https://forums.zotero.org/discussion/105118/zotero-7-error-upon-exporting-in-mods-format
2023-05-22 01:34:41 -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
c653449cc0
Increase active tabs count from 2 to 3 on <=8 GB systems
...
To match current Zotero 6 behavior on non-Windows systems
2023-05-20 19:12:19 -04:00
Dan Stillman
54d56f468b
Update styles and translators
2023-05-20 16:10:57 -04: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
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