Commit graph

4,423 commits

Author SHA1 Message Date
Moonchild
a9c8f3a84a Issue #1751 -- Remove XP_IOS 2021-05-05 10:26:14 +08:00
Moonchild
d29e4f8306 Issue #1751 -- Remove XP_MACOSX conditionals from /dom 2021-05-05 10:26:13 +08:00
Moonchild
434b3269fb Issue #1767 - Prevent incorrect calling of network change detection function.
This rewrites the websocket channel network change detection function to not
skip part of its logic in a situation that has already been checked, preventing
a thread race. See analysis of the problem in the issue.
2021-05-05 10:25:45 +08:00
FranklinDM
0be821b7c1 [Basilisk] Issue #39 - Warn before opening many URI nodes in tabs 2021-04-30 09:50:10 +08:00
Moonchild
1d298f4e0f [Pale-Moon] [SSUAO] Update Citi bank override. 2021-04-30 09:49:45 +08:00
FranklinDM
8d7f0a27aa [Pale-Moon] Issue #1816 - Warn before opening many URI nodes in tabs 2021-04-22 09:29:23 +08:00
FranklinDM
d846ef7bee [Pale-Moon] Issue #1701 - Allow Open All in Tabs for containers with only one child URI 2021-04-22 09:29:03 +08:00
Moonchild
69597507db [Network] Solve type mismatch in AllowPort().
Casting it to an int16_t was wrong and would preclude the check for high port
numbers (due to overflow).
This makes the type matching, but adds an explicit check to ensure the port
number passed in is within a valid range.
2021-04-21 21:55:41 +08:00
Jeff Gilbert
88bfb5d5d1 [WebGL] Bind framebuffer before DrawBuffers/ReadBuffer selection. 2021-04-21 21:55:40 +08:00
Moonchild
7e02267fd3 [DOM] Add missing IDL definitions for CSP .nonce attributes.
Apparently Mozilla completely spaced out on this when adding the CSP nonce
mechanism, potentially causing web compat issues if scripting relies on
being able to get/set nonces through DOM and/or causing CSP policy check
issues if websites try to "hide" nonces.
2021-04-20 09:05:20 +08:00
Moonchild
700f7804bd [Pale-Moon] Issue #1866 - Add controls for preferred color scheme. 2021-04-10 17:22:19 +08:00
Moonchild
437f41ff19 [Pale-Moon] Feed Twitter a native UA so it'll stop blocking. 2021-04-10 17:21:58 +08:00
Olivier Certner
d094352ddf Issue #1761 - Enable use of Tauthon instead of Python 2.7 at build
Make essential Tauthon's builtins and modules available in sandboxes, without
disrupting building with Python 2.7.

1. Allow new builtins and modules. "__build_class__" is for
building... new-style classes (to handle the new metaclass syntax imported from
3.x). "_oserror" is necessary because of internal changes to raise errors
deriving from OSError (which are reported as IOError if not caught).
2. Look for modules and packages in the right places.

This was tested on FreeBSD, and should work out of the box on Linux.
2021-04-10 17:16:32 +08:00
Moonchild
2fea3f29bc [Pale-Moon] Issue #1865 - Stop preprocessor abuse causing issues 2021-04-02 10:45:56 +08:00
Moonchild
724fc731ac [Pale-Moon] Issue #1865 - Remove unused overlays and unnecessary preprocessing 2021-04-02 10:43:35 +08:00
Moonchild
4651d97342 Issue #1756 - Clean up ICU patch.
We don't need ICU_UNUM_HAS_FORMATDOUBLEFORFIELDS because we don't support any
ICU other than the one in-tree.
2021-04-02 10:34:14 +08:00
Moonchild
bdcb9cc504 Issue #1756 - Expose NumberFormat.formatToParts() to content. 2021-04-02 10:34:12 +08:00
Moonchild
5df0028108 Issue #1756 - Initial wrapped implementation in C++ 2021-04-02 10:34:10 +08:00
athenian200
618fa768c8 Issue #1757 - Reinstate "dom.details_element.enabled" preference
The removal of this preference was botched, all other surrounding plumbing changes appear to be working okay. The ability to use prefs to control this stylesheet might be useful in the future, so perhaps this is one of those "if it ain't broke, don't fix it" bugs where leaving well enough alone in the first place would have been the best choice.
2021-04-02 10:33:54 +08:00
Moonchild
be539ad8fc Issue #1755 - Add smooth, high-quality and pixelated to CSS image-rendering 2021-03-29 10:38:13 +08:00
Moonchild
a10c0bceab Issue #1754 - Fix clip path overflow.
Resolves #1754.
2021-03-29 10:38:12 +08:00
Moonchild
a984b1dd93 [Pale-Moon] Issue #1865 - Remove XP_MACOSX conditional blocks. 2021-03-25 09:25:51 +08:00
Moonchild
0006a4612d [Pale-Moon] Remove stray Android conditional 2021-03-25 09:20:07 +08:00
Moonchild
d88f98c226 [Basilisk] Don't try to force x-icon image type for search engine icon.
If it's not actually an image, then throw a warning in the console and bail.
2021-03-25 09:19:37 +08:00
Moonchild
cfadb0bc6f [WebRTC] Apply port restrictions to peerconnections. 2021-03-25 09:05:46 +08:00
Moonchild
bdfe49f178 [WebGL] Only allow texture uploads from pixelbuffer if bound.
Throw an error if it mismatches.
2021-03-25 09:05:44 +08:00
Moonchild
43ebe6d86f [docshell] Stop loading of the document if network load is stopped.
After all, stop means stop.
2021-03-25 09:05:42 +08:00
athenian200
da2461fa57 Issue #1752 - Implement "prefers-color-scheme" as a user preference.
This PR passes all current tests for this feature, and implements the "prefers-color-scheme" media query as an enumerated keyword that is controlled by an integer preference.

Currently, the possible options are 0 to see a website's fallback code and essentially behave like this isn't implemented (our current behavior), 1 to express a preference for a light theme (the default for spec reasons), and 2 to express a preference for a dark theme. Over time, this list may expand to include other preferences like a preference for a sepia theme or something, and this leaves us prepared for that future.
2021-03-25 09:05:20 +08:00
Moonchild
407a983af1 Issue #1751 - Remove MacOS support from configure 2021-03-25 09:05:02 +08:00
Moonchild
b8f2ada817 Issue #1053 - Remove __ANDROID__ defines (except in third party code) 2021-03-25 09:04:29 +08:00
Moonchild
a29e342411 [CSS] Enable scrollbar-width keyword by default.
I totally forgot this <.<
2021-03-19 09:07:46 +08:00
Moonchild
0e51c60953 [Basilisk] [SSUAO] Update UA override for YT studio 2021-03-17 09:13:55 +08:00
Moonchild
21c13ce7d1 [Toolkit] Update TwemojiMozilla font to 0.5.1 (Twemoji 12.1.6) 2021-03-17 09:04:21 +08:00
Moonchild
ed26fe34af Issue #1746 - Update pkix code with later NSS code. 2021-03-16 09:49:44 +08:00
Moonchild
849d42280b [Pale-Moon] [SSUAO] Update override for Citi 2021-03-13 06:59:36 +08:00
Moonchild
0e8947001f [Pale-Moon] [SSUAO] Add override for kroger 2021-03-13 06:59:02 +08:00
Moonchild
ccc2fcc8ae [Pale-Moon] [SSUAO] Add override for spotify 2021-03-13 06:58:42 +08:00
Moonchild
348c6604be Issue #1053 - Remove MOZ_WIDGET_ANDROID and IDB_MOBILE 2021-03-12 08:59:50 +08:00
Moonchild
0ced696351 Issue #1053 - Remove Android-specific blocks from system headers and /dom 2021-03-12 08:57:47 +08:00
Moonchild
1feafdc819 Issue #1053 - Remove mobile-specific graphics "optimizations" (=compromises) 2021-03-11 10:13:55 +08:00
Moonchild
9985a44c41 Issue #1053 - Remove android blocks from configure. 2021-03-11 10:13:51 +08:00
Moonchild
50653a7c4c Issue #1053 - Remove build system MOZ_ANDROID_* defines and related code. 2021-03-11 10:13:09 +08:00
Moonchild
650abe2cb9 [Pale-Moon] Issue #1862 - Add media format controls in Preferences -> Content 2021-03-05 09:09:02 +08:00
roytam1
0d8d9b881b libaom: restore NT5-friendly aom_thread.h 2021-03-05 09:07:18 +08:00
Moonchild
148bd3547b Issue #1737 - Update build config and mozbuild files. 2021-03-04 09:29:44 +08:00
roytam1
7537b4d23a Issue #1737 - Import libaom 2.0.2 source (excluding aom_ports/aom_once.h) 2021-03-04 09:29:28 +08:00
Moonchild
9031ee4017 [parser] run java translation. 2021-03-04 09:21:34 +08:00
Gaming4JC
99cde7ce7b [widget] MailNews Followup: Require user interaction when picking files or folders v2
98f6ad61f4f3c66209036db4bc7a4ae6ff4d1d3d introduced a boolean, this just passes it down and fixes build bustage of mailnews.
2021-03-04 09:21:25 +08:00
Moonchild
ed1e3a5fcc [Pale-Moon] [SSUAO] Shut twitter's pointless nagging up. 2021-02-26 07:27:32 +08:00
Moonchild
88a2541365 [OTS] Backport some upstream OTS commits. 2021-02-25 09:27:02 +08:00