1
0
mirror of https://github.com/roytam1/UXP.git synced 2026-05-26 22:22:56 +00:00
Commit Graph

469 Commits

Author SHA1 Message Date
roytam1 37a71cd845 Merge remote-tracking branch 'origin/tracking' into custom 2026-05-25 18:43:49 +08:00
Moonchild aadb6beb07 [libjar] Check Jar entry names for nulls. 2026-05-25 17:49:37 +08:00
roytam1 92f40774ad Merge remote-tracking branch 'origin/tracking' into custom 2026-05-19 09:39:53 +08:00
Basilisk-Dev 6861bedff6 Make WeakRef support always enabled 2026-05-19 09:38:50 +08:00
roytam1 d547944a68 Merge remote-tracking branch 'origin/tracking' into custom 2026-05-15 09:23:47 +08:00
Moonchild 335ddc41b9 Issue #3030 - Improve image cache entry handling.
This:
- increases max image cache entry size and adjusts related parameters.
- makes the cache entry timeout configurable for advanced tweaking.
- adds a mechanism to keep commonly-used, small image sizes in cache
  longer.
2026-05-15 09:19:17 +08:00
Basilisk-Dev ffb37922a1 Issue #3079 followup - set glx as OpenGL backend default until egl bugs can be investigated 2026-05-15 09:18:18 +08:00
roytam1 bebacdeb48 Merge remote-tracking branch 'origin/tracking' into custom 2026-05-08 06:46:05 +08:00
Basilisk-Dev f8ad674b35 Issue #3079 - Add EGL-aware X11 GL probing and fallback 2026-05-08 06:42:25 +08:00
roytam1 6be945e9da Merge remote-tracking branch 'origin/tracking' into custom 2026-04-27 10:42:07 +08:00
Moonchild 1020e0cd4f No issue - Update our in-tree brotli library to 1.2.0+
This includes a minor patch to encode.c to work around the "static init"
check that actually doesn't do anything in its default state, but, due to
compiler subtleties in handling duplicate object names, would not be able
to link brotli.exe because it would refuse to expose all symbols for
duplicate objects (a later one would just be ignored).
Unsure how clang does this but it's not portable across compilers.
(we need the brotli.exe tool for resource package compression)
2026-04-27 10:41:23 +08:00
roytam1 35520918ce Merge remote-tracking branch 'origin/tracking' into custom 2026-03-25 07:19:43 +08:00
wuggy c8460ae3e7 Cloudflare Image Resizing fix 2026-03-25 07:18:07 +08:00
roytam1 f4d5ee3cf3 Merge remote-tracking branch 'origin/tracking' into custom 2026-03-15 11:41:28 +08:00
Basilisk-Dev ea86d15635 Issue #2862 - css nesting pref true by default 2026-03-15 11:40:16 +08:00
Basilisk-Dev ce4b9975db Issue #2862 - Initial attempt at a css lowering 2026-03-15 11:36:22 +08:00
roytam1 67885784d2 Merge remote-tracking branch 'origin/tracking' into custom 2026-02-27 07:01:48 +08:00
Moonchild bd7aecb37b [libjar] Throw when we know a file was truncated. 2026-02-27 06:58:40 +08:00
roytam1 4aeb7e36cd Merge remote-tracking branch 'origin/tracking' into custom 2026-02-24 09:17:34 +08:00
Moonchild c9bdbd5603 Issue #2955 - Implement form.requestSubmit(element) 2026-02-24 07:41:10 +08:00
roytam1 8e7fc6a945 Merge remote-tracking branch 'origin/tracking' into custom 2026-02-19 11:14:28 +08:00
Job Bautista 0ebf0f049d Issue #2946 - Enable WMF VP9 decoder by default. 2026-02-19 11:14:10 +08:00
roytam1 2bfccb8d2d Merge remote-tracking branch 'origin/tracking' into custom 2026-02-07 21:40:07 +08:00
Moonchild 432378b376 No issue - Enable performance observers by default in the platform.
Performance observers have shown to be stable in daily use, so we should
enable this by default. Any applications building on UXP can decide for
themselves whether to explicitly enable or disable this API.
2026-02-07 21:36:46 +08:00
roytam1 f202c0e91f Merge remote-tracking branch 'origin/tracking' into custom 2026-01-07 23:11:51 +08:00
Moonchild ea25057ec8 Issue #2856 - Make clearing of passwords prefable, and disable by default.
New pref to control clearing of domain passwords for "Forget about site"
privacy function.

Resolves #2856
2026-01-07 23:06:18 +08:00
Moonchild a266b9852c Issue #1791 - Part 1: Un-prefix -moz-appearance
Keep an alias (preffed) `-moz-appearance` for `appearance`
This should keep all previous behaviour intact.
2026-01-07 23:02:40 +08:00
roytam1 80b0d63161 Merge remote-tracking branch 'origin/tracking' into custom 2025-12-23 15:26:19 +08:00
Basilisk-Dev b9ded9c3dc Issue #2306: Fix spacing 2025-12-23 15:24:55 +08:00
Basilisk-Dev 5895253f46 Issue #2306: Add pref-gated WeakRef with safe stub when disabled
* Add javascript.options.weakrefs and plumb it through context options, XPConnect, and workers
* Keep referents alive via strong tracing when the pref is off so deref() still returns the target
* Retain weak-edge semantics when the pref is enabled
2025-12-23 15:24:25 +08:00
roytam1 ae1f9364cd Merge remote-tracking branch 'origin/tracking' into custom 2025-08-14 08:55:16 +08:00
Moonchild df3b213459 Issue #2837 - Implement prefers-reduced-motion media query.
Resolves #2837
2025-08-14 08:11:04 +08:00
roytam1 db9b04cc44 Merge remote-tracking branch 'origin/tracking' into custom 2025-08-04 21:33:36 +08:00
Moonchild 1ffa7569e9 Issue #2714 - Enable the Visual Viewport API by default.
Flip the pref. We want this on by default for web compat.
Users can disable it if they really want to, but it doesn't expose
anything of note to web content anyway that can't already be determined.
2025-08-04 21:32:58 +08:00
Moonchild a036cfeb69 Issue #2714 - Implement the Visual Viewport API
This DOM/Web API is entirely irrelevant for desktop use.
We give back the width/height of the root scrollframe of content and
for scale we pass forward our dpp resolution (usually 1.0).
Since we have no "no touch" zones in our content on desktop,. the rest
(origin and offset) is hard-coded to (0,0).
2025-08-04 21:32:39 +08:00
roytam1 4c1a4a4402 Merge remote-tracking branch 'origin/tracking' into custom 2025-07-29 10:44:33 +08:00
Francis Dominic Fajardo 37230e7b21 Issue #2835 - Part 2: Implement processing of import rules based on order of appearance 2025-07-29 10:08:01 +08:00
roytam1 7f3ccb5dc3 Merge remote-tracking branch 'origin/tracking' into custom 2025-05-27 23:22:51 +08:00
Shadow 2a2236d4d9 No issue - Remove obsolete pref.
Bug 1356751

Remove unused pref `layout.frame_rate.precise`
2025-05-27 23:18:38 +08:00
roytam1 e72f8a3a81 Merge remote-tracking branch 'origin/tracking' into custom 2025-05-14 14:36:05 +08:00
Shadow 422ca16a8e No Issue - Remove obsolete pref.
Bug 1193695

Removes obsolete preference "gfx.prefer-mesa-llvmpipe"

The code which made use of it was removed.
2025-05-14 14:20:49 +08:00
Moonchild facab7f0ab No issue - Bump general.useragent.compatMode.version to 128.0 2025-05-14 14:20:31 +08:00
Moonchild 055765d101 No issue - Explicitly indicate image/apng in Accept: header 2025-05-14 14:01:29 +08:00
Moonchild 0e02e94278 No issue - Include all non-ubiquitous image and media types in nav Accept:
See: https://github.com/whatwg/fetch/issues/274#issuecomment-2841053461
Considering the ubiquitous nature of gif, jpg, png, mp4, avi, etc. those
are left out, leaving just jxl, webp, x-matroska (mkv) and webm as
explicitly mentioned supported formats for conneg.

Note: it's not clear where network.http.accept.image is used in practice
because our normal place to use the image override (imgloader) uses
a different pref (image.http.accept).
2025-05-14 14:01:11 +08:00
roytam1 42e13fd8bf Merge remote-tracking branch 'origin/tracking' into custom 2025-04-18 10:32:18 +08:00
Moonchild d13c759467 Issue #2726 - Remove obsolete FirefoxOS MMS prefs
These aren't referenced anywhere.
Resolves #2726
2025-04-18 10:30:47 +08:00
Moonchild 17031f216b No issue - set UXP to dereference links in file open dialogs.
Since we (and Mozilla) currently don't have a solution for "auto" that
doesn't break usability for users, keep the old behavior for now.
2025-04-18 10:30:29 +08:00
roytam1 b86d97747f Merge remote-tracking branch 'origin/tracking' into custom 2025-04-03 09:50:55 +08:00
Moonchild 1283a5f874 [widget] Extend the use of FOS_NODEREFERENCELINKS on Windows.
In the modern era of user-customizable Quick Access sidebars on every file
dialog, navigating via `.lnk` files is considerably less useful than it
was twenty years ago.

Disable link-following in file-open dialogs by default, to prevent any of
the usual security issues involving symlink smuggling.

Allow overriding this behavior via a pref, for users who want to trade off
this security issue for convenience of being able to follow links inside
file dialogs (older OSes and established user workflows).
Note: File Save dialogs have a set of more nuanced guards against link
smuggling and protected file access; this change doesn't affect that.
2025-04-03 09:50:02 +08:00
Moonchild 8b41e53028 Issue #2693 - Disable CSP reporting by default in the platform.
This is a temporary measure to work around CF OOM situations.
Reporting is desirable normally so webmasters get alerted to CSP issues,
and this should be flipped back on once we can.
2025-02-18 19:11:42 +08:00