Commit graph

15088 commits

Author SHA1 Message Date
Dan Stillman
a0bdeab401 fx128: Fix login manager
Use async methods (since the sync ones seem to already be broken from JS
despite https://bugzilla.mozilla.org/show_bug.cgi?id=1832756 still being
open) and avoid loading Firefox Accounts module
2024-12-14 01:16:03 -05:00
Dan Stillman
26bcc49174 Use arrays for DataTransfer#types in tree tests
After the fix for #4893

(And fix a bug that was revealed in the process)
2024-12-14 01:16:03 -05:00
Abe Jellinek
d9550bb5df Server: Expose actual bound port (#4903)
And:
- Use a different port for tests so server tests don't break when Zotero
  is already running
- Remove no-op httpServer.enabled pref updates in tests
   - It's already enabled, no test disables it, and any test that did
     would clean up after itself
   - Updating that pref has no effect without a separate call to
     Zotero.Server.init()
- Remove unused arg to Zotero.Server.init()
2024-12-14 01:16:03 -05:00
Abe Jellinek
b858645957 fx128: -moz-nativehyperlinktext -> LinkText (#4902) 2024-12-14 01:16:03 -05:00
Abe Jellinek
67b5545b93 Un-break global-shared.css with new remove_between function (#4901) 2024-12-14 01:16:03 -05:00
windingwind
7833c6fc29 fx128: Fix macOS menupopup style (#4895)
fix: #4880
2024-12-14 01:16:03 -05:00
Abe Jellinek
275fc4a230 Scaffold: Fix off-center toolbar
Addresses #4900
2024-12-14 01:16:03 -05:00
Abe Jellinek
268ba4821c Scaffold: Fix tabbox styling issues on macOS
- Cramped tabs due to insufficient padding (new in fx128)
- Off-center text due to margins (our styles)
- Off-center text due to padding-top (platform styles)
2024-12-14 01:16:02 -05:00
windingwind
a32e327ef8 fx128: Fix Windows menupopup style (#4896) 2024-12-14 01:16:02 -05:00
Dan Stillman
c963e5785f Update Windows build to 128.5.0esr 2024-12-14 01:16:02 -05:00
Abe Jellinek
d271c6c931 fx128: Remove non-native text input styles (#4890) 2024-12-14 01:16:02 -05:00
Abe Jellinek
72b56e7a59 Pass BrowsingContext to nsIFilePicker init
Fixes #4892
2024-12-14 01:16:02 -05:00
Abe Jellinek
f28fa763cc DataTransfer#types: contains() -> includes()
Not sure what this was before, but it's a standard read-only array now.

Fixes #4893
2024-12-14 01:16:02 -05:00
Abe Jellinek
a96b7f1b68 HiddenBrowserTest: Don't test HTML served as attachment
Something funky is going on with Content-Disposition: attachment on
displayable content in fx128. It's correctly blocking the download, but
we're no longer getting a STATE_STOP notification when that happens.
The HTML test didn't really test anything different from the
octet-stream one, so we can just remove it.

Fixes #4881
2024-12-14 01:16:02 -05:00
Dan Stillman
160cc8ba72 Update Firefox build process for fx128 on Windows 2024-12-14 01:16:01 -05:00
Dan Stillman
45e681431b fx128: Remove uses of nsIDOMChromeWindow
https://bugzilla.mozilla.org/show_bug.cgi?id=1522052
2024-12-14 01:16:01 -05:00
Dan Stillman
9606fca3ad fx128: XPCOMUtils.defineLazyGetterChromeUtils.defineLazyGetter
Avoids deprecation warning
2024-12-14 01:16:01 -05:00
Dan Stillman
f11fb6c2a0 Update Word submodules to fx128 branches 2024-12-14 01:16:01 -05:00
Dan Stillman
78975f0f2a Update Linux build to 128.5.0esr 2024-12-14 01:16:01 -05:00
Dan Stillman
9b4961a31f Build deployment ZIPs for fx128 branch 2024-12-14 01:16:01 -05:00
Dan Stillman
f341341012 Use custom ChannelPrefs.framework to set Mac update channel
Mac Firefox builds now specify the update channel via a custom macOS
framework:

https://bugzilla.mozilla.org/show_bug.cgi?id=1799332

We set the update channel in the build script, so bundle a custom
ChannelPrefs framework set to "source" and then patch the binary as
necessary for non-source channels. What could go wrong?
2024-12-14 01:16:01 -05:00
Dan Stillman
5c4a0c3b30 Disable copying of XUL for Mac builds 2024-12-14 01:16:01 -05:00
Dan Stillman
187b1649c1 fx128: Handle changed error message for IOUtils.makeDir on broken symlink 2024-12-14 01:16:00 -05:00
Dan Stillman
24bf583b78 fx128: Remove uses of nsIScriptableUnicodeConverter
Replace convertToByteArray() and convertToInputStream()
2024-12-14 01:16:00 -05:00
Dan Stillman
6b3ea14aa1 fx128: Remove try/catch for Services.jsm not being available
Not sure if there are other errors here that we want to ignore, but the
specified one should no longer be an issue.
2024-12-14 01:16:00 -05:00
Dan Stillman
97329752a1 fx128: Remove Services.jsm imports
Now included automatically
2024-12-14 01:16:00 -05:00
Dan Stillman
7f619e3fe3 fx128: nsIOSFileConstantsService is gone 2024-12-14 01:16:00 -05:00
Dan Stillman
3fde2a3e43 Update Mac build to 128.5.0esr 2024-12-14 01:16:00 -05:00
Dan Stillman
b18b15fc08 Update Mozilla patch and mozconfig for fx128 on macOS 2024-12-14 01:16:00 -05:00
Dan Stillman
05ae75d3b4 Update build process for Firefox 128 2024-12-14 01:16:00 -05:00
Dan Stillman
d970f00243 Add check_line function in fetch_xulrunner
For checking whether a line exists without replacing it
2024-12-14 01:15:59 -05:00
Dan Stillman
31bbf2acfa Update locales from Transifex 2024-12-14 01:08:36 -05:00
Dan Stillman
67486965dd Update reader submodule 2024-12-14 00:56:08 -05:00
abaevbog
4196b61dc5
let Zotero_Tabs.undoClose reopen duplicate tabs (#4920)
Fixes: #4919
2024-12-14 00:42:56 -05:00
Abe Jellinek
85deee9631 Update reader submodule 2024-12-11 13:35:10 -05:00
Tom Najdek
d3ef6cfebd
Improve importing from Mendeley
- Make the annotations importer more resilient to missing data
- Fix notebooks not being imported in some cases
- Fix an instance of a hidden browser leaked by the Mendeley Importer
2024-12-11 12:44:13 +01:00
Abe Jellinek
6c437e3df2 Update reader submodule 2024-12-10 15:47:29 -05:00
Dan Stillman
e4f2894424 Remove debug line 2024-12-10 03:06:31 -05:00
Dan Stillman
8c58d887bf Shower nicer error for malformed WebDAV URL
We fix `://` or `//` automatically after #3483, but a leading ':'
character would still show an internal `NS_ERROR_MALFORMED_URI` error.
Instead, just say "[url] is not a valid WebDAV URL".
2024-12-10 03:06:31 -05:00
Dan Stillman
021c004923 Strip leading :// or // in WebDAV URL
Closes #3483
2024-12-10 03:06:31 -05:00
Dan Stillman
64c03792ea Reset file sync history when changing WebDAV URL
Fixes #3535
2024-12-10 03:06:30 -05:00
Dan Stillman
404fc41b88 Clear library storage version when resetting file sync history
Fixes #1753
2024-12-10 00:59:04 -05:00
windingwind
f3d274afeb
Item pane scroll pos fix after switching from note (#4897)
Follow up to #4879
fix: #4276
2024-12-09 02:26:20 -05:00
Dan Stillman
61b034898d Update version 2024-12-06 09:41:59 -05:00
Dan Stillman
0a60953226 Update reader submodule 2024-12-06 04:38:01 -05:00
Abe Jellinek
886dbd17ff Abstract box: Use focused getter instead of :focus-within
See b4c5c5d539

Fixes #4878
2024-12-05 14:39:27 -05:00
Dan Stillman
d57392d810 Update reader submodule 2024-12-04 16:44:52 -05:00
Dan Stillman
6740115cf2 Revert "Fix Item Pane unstable rendering during scrolling (#4879)"
Regressions:

https://forums.zotero.org/discussion/120216/blinking-item-pane-when-switching-item-with-pinned-section-in-the-sidenav
https://forums.zotero.org/discussion/120217/title-field-is-not-visible-anymore-after-creating-a-new-item-if-a-section-is-pinned-in-the-sidenav

This reverts commit 4067745c7a.
2024-12-04 01:35:04 -05:00
Martynas Bagdonas
8317f77837 Trigger annotation import only for PDF attachments when creating a note
Fixes https://forums.zotero.org/discussion/120181/batch-create-note-from-annotations-for-different-attachment-types
2024-12-03 21:24:37 +00:00
Abe Jellinek
1c70e53006
Fix several automatic relinking regressions due to PathUtils (#4887) 2024-12-03 16:23:00 -05:00