Commit Graph

4438 Commits

Author SHA1 Message Date
Moonchild 90df4cfb70 Revert "Issue #21 - Remove TelemertyVFS"
This:
- reverts commit 83ecae9ff7ee1469da1675435dbcf26d094aa1c6
- adds a failure check to Connection::GetQuotaObjects

This resolves #1768.
2021-05-21 09:34:11 +08:00
Moonchild 98f29e4737 [network] Fix typo in port blocking range check.
This fixes a typo in 5e705bd5059da5b7a39e3a096b7c7f59cb466730
2021-05-14 00:21:36 +08:00
FranklinDM 52b1a20bcf Issue #1770 - Fix incorrect reference to event parameter 2021-05-14 00:21:23 +08:00
Moonchild 215e93606d Issue #1751 -- Remove cocoa and uikit gfx and hal support code 2021-05-14 00:21:09 +08:00
Moonchild 214ac352e5 [Pale-Moon] Issue #1865 - Remove mac-specific resources
This removes Mac-specific branding resources, shell service components, and the
Mac browser theme.
2021-05-10 10:06:41 +08:00
Moonchild 70b9128474 Issue #1751 -- Update crashtests 2021-05-10 09:54:57 +08:00
Moonchild 3a4e65f1de Issue #1751 -- Remove cocoa and uikit widget support code 2021-05-10 09:54:45 +08:00
Moonchild a6ae35ba91 Issue #1751 -- Remove cocoa support code from /dom 2021-05-10 09:54:32 +08:00
Moonchild 82b363f05d Issue #1751 -- fix up a few stray #ifs 2021-05-07 09:54:04 +08:00
Moonchild a4b0f333ba Issue #1751 -- Remove XP_MACOSX conditionals from the rest of the tree.
This also removes some PP abuse and takes file entries out of PP when no longer
needed without XP_MACOSX conditionals.
2021-05-07 09:53:59 +08:00
Moonchild 02c59100a8 Issue #1751 -- Remove XP_MACOSX conditionals from /layout 2021-05-05 10:29:02 +08:00
Moonchild df94ccb22c Issue #1751 -- Remove XP_MACOSX conditionals and support files from /xpcom 2021-05-05 10:28:58 +08:00
Moonchild ccf9e5f54b Issue #1751 -- Remove XP_MACOSX conditionals and support files from /gfx 2021-05-05 10:27:35 +08:00
Moonchild 9aed800398 Issue #1751 -- Remove files unused without XP_DARWIN 2021-05-05 10:27:29 +08:00
Moonchild 2f27335cc4 Issue #1751 -- Remove XP_DARWIN 2021-05-05 10:27:04 +08:00
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