Compare commits

..
Author SHA1 Message Date
Moonchild 652171acd5 [layout] Hold strong references to delayed menu command events. 2021-11-05 11:37:34 +00:00
Moonchild db335d4998 [DOM/XSLT] Pass sandbox flags from source doc. 2021-11-05 11:37:15 +00:00
Moonchild 890a2a42d4 Use brace initialization for Atomics.
Remind me to always build BEFORE committing :P
2021-11-05 11:36:58 +00:00
Moonchild 11be725168 [network] Make several variables atomic in nsSocketTransport2.
Fixes potential thread races between:
- nsSocketTransport::OnInputClosed and nsSocketTransport::OpenInputStream.
- nsSocketTransport::OnOutputClosed and nsSocketTransport::OpenOutputStream.
- nsSocketTransport::Close and nsSocketTransport::RecoverFromError called from
  OnSocketDetached.
2021-11-05 11:36:38 +00:00
Moonchild 37bc3e67e8 [network] Use a COM pointer instead of NS_ADDREF in nsSocketTransport2.cpp 2021-11-05 11:36:20 +00:00
Moonchild e76c2caa87 [network] Align IDN normalization with the current spec. 2021-11-05 11:36:00 +00:00
Moonchild 22f310bf5e [network] Tighten checks for ACE (punycode) encoding. 2021-11-05 11:35:42 +00:00
Moonchild 9fddaf82c0 [network] Clean up IDN logic and add some corner case use. 2021-11-05 11:35:24 +00:00
Moonchild d3163822fb Issue #3004 - Add an option to enable TLS 1.3 "compatibility" mode.
Critical note: this potentially reduces the strength of TLS 1.3 and should only
be enabled if absolutely necessary to access a site.
A browser restart is required for the pref change to take effect as it is set on
NSS initialization.
2021-11-05 11:34:02 +00:00
Jeremy Andrews 7b636b8869 No Issue - Nuke remaining dbsoft contributions 2021-11-05 11:31:51 +00:00
Moonchild a9f0afa0e9 Increase MAX_ICON_SIZE to account for more common use of HiDPI icons.
This change was unintentionally reverted when importing gecko/44 search service
code.
2021-11-05 11:31:22 +00:00
Moonchild 7b1e6e182d Merge branch 'master' into release 2021-09-09 17:32:54 +00:00
Olli Pettay 6bde58554d [XPCOM] be more precise when counting the number of allocator users
This patch is based on code inspection.
One could also move sAllocatorUsers to Free(), but it shouldn't matter
in practice.
2021-09-09 14:01:28 +00:00
Moonchild c3fa6c0302 [Network] Block mk: protocol to work around MSIE vulnerability. 2021-09-09 13:53:14 +00:00
Moonchild 5404937217 [DOM] Use RefPtr in ContentChild::RecvGetFilesResponse. 2021-09-09 13:37:46 +00:00
Matt A. Tobin 6f625bc364 Issue mcp-graveyard/UXP#1751 - Fix preprocessor typo to restore ARM Linux buildability 2021-08-25 18:47:59 -04:00
Moonchild 1b5b4f5858 Merge branch 'master' into release
Effectively reverse the cubeb lib update.
2021-08-22 17:42:44 +00:00
Moonchild 161a80be5f Revert "Issue mcp-graveyard/UXP#1806 - Update libcubeb"
This reverts commit 741fd8b61c.
2021-08-22 17:39:55 +00:00
Moonchild c3d7688e28 Revert "Issue mcp-graveyard/UXP#1806 - Follow-up: New libcubeb uses incorrect audio backend for Oracle Solaris."
This reverts commit 9d4f14582b.
2021-08-22 17:39:42 +00:00
Moonchild 495ccbe339 Revert "Issue mcp-graveyard/UXP#1806 - Follow-up: Restore PulseAudio support in libcubeb."
This reverts commit 0c2a0f45ec.
2021-08-22 17:39:29 +00:00
Moonchild 9c88a78672 Issue mcp-graveyard/UXP#1806 - Follow-up: Restore PulseAudio support in libcubeb.
This was incorrectly removed because we aren't using a Rustified abstraction.
2021-08-21 08:10:13 +00:00
Coordinator Tobin 695c6b8c36 Merge pull request 'Follow-up: New libcubeb uses incorrect audio backend for Oracle Solaris.' (#1809) from athenian200/UXP:use_sun_audio into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1809
2021-08-19 02:37:04 +00:00
Jeremy Andrews 2803ee6221 Issue mcp-graveyard/UXP#1806 - Follow-up: New libcubeb uses incorrect audio backend for Oracle Solaris.
Mozilla picked up a change to libcubeb moz.build file from the FreeBSD project. Using OSS directly works fine in Illumos, but Oracle Solaris still has to use a Sun-specific API for sound to work, even though it also uses OSS under the hood. No code changes are needed here, the build configuration is just not what Solaris needs even though it's fine for Illumos. The Sun-specific API works for both, though, and should thus be preferred.
2021-08-18 17:24:13 -05:00
Moonchild b84707c672 Issue mcp-graveyard/UXP#1797 - Implement WindowOrWorkerGlobalScope.origin
Resolves #1797
2021-08-15 14:31:05 +00:00
Moonchild 90a2ab9e31 Issue mcp-graveyard/UXP#1797 - Implement WindowOrWorkerGlobalScope.origin
Resolves #1797
2021-08-15 11:45:53 +00:00
Moonchild d696389fdb Merge branch 'master' into release 2021-08-13 09:48:56 +00:00
Moonchild 74b271b7d1 Bump platform version. 2021-08-13 09:43:04 +00:00
Moonchild 1d9a9cec8c [db] Update SQLite to 3.36.0 2021-08-13 09:41:57 +00:00
Moonchild b78c3a06ac Issue mcp-graveyard/UXP#1806 - Update libcubeb
This is a full lib update, changing callers where needed.
This also moves GertCubeMSGLatencyInFrames to CubebUtils.{cpp|h} where it
belongs.
2021-08-12 14:14:18 +00:00
Jens Stutte b0d0dd92f1 [DOM] Be more explicit about the WorkerPrivate self-reference. 2021-08-12 11:39:07 +00:00
Moonchild 45329f3c42 [MFBT] Convert debug asserts to early returns for situations that should
never occur.
2021-08-12 11:30:26 +00:00
Moonchild 78992fe27e [DOM/NPAPI] Defer loading object when setting attribute. 2021-08-12 00:27:34 +00:00
Moonchild 8d705611b1 [network] Use a proof of lock everywhere in cache v2. 2021-08-11 23:49:44 +00:00
Moonchild 7b19e4e0f2 Issue mcp-graveyard/UXP#1675 - Move regexp to new-regexp to make bz porting simpler. 2021-07-30 11:24:18 +00:00
Moonchild 935b5f281f Issue mcp-graveyard/UXP#1679 - Part4: Clean up commented-out/WIP code. 2021-07-30 09:58:15 +00:00
Moonchild 36d0e6c21b Issue mcp-graveyard/UXP#1679 - Part 3: Make everything build on supported compilers. 2021-07-30 09:43:28 +00:00
Moonchild ede242a947 Issue mcp-graveyard/UXP#1781 - Follow-up: fix debug assert in MergeMultiplicativeR() 2021-07-24 06:42:30 +00:00
Moonchild 06264d7c7d [no issue] Replace PurpleBlock with SegmentedVector to reduce indirect memory
accesses when calling suspect

Improves overall memory performance.
Also prerequisite for further work on #1677.
2021-07-23 15:29:24 +00:00
Moonchild 3f4c4df7ec Merge pull request 'Implement Promise.allSettled()' (#1796) from athenian200/UXP:Promise-allSettled into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1796
2021-07-18 17:03:03 +00:00
Moonchild 6337e1abcc Merge branch 'master' into release 2021-07-15 23:13:31 +00:00
athenian200 cf0b8a9276 Merge branch 'master' into Promise-allSettled 2021-07-15 16:21:00 +02:00
Jeremy Andrews b3d7d48cf8 Issue mcp-graveyard/UXP#1725 - Fix logic in PerformPromiseAllSettled.
This function essentially appears to work as written, there was an issue with it returning false too early in some situations that prevented it from working properly.
2021-07-15 03:08:11 -05:00
Moonchild f5d0b46615 [layout] Ensure we set the primary frame for native anon content where needed. 2021-07-15 04:11:48 +00:00
Moonchild e538e351a5 Revert "[accessibility] Remove selection listeners from shutting down PresShell."
This reverts commit 684000d9a5.
2021-07-14 17:30:58 +00:00
Eitan Isaacson d88995f874 [accessibility] Remove selection listeners from shutting down PresShell. 2021-07-14 16:40:33 +00:00
Moonchild b57c4c8efb [gfx] Hard-block old mesa/nouveau versions 2021-07-14 15:15:14 +00:00
Dana Keeler 8de446f8b3 [NSPR] Lock access to PRCallOnceType members in PR_CallOnce* for thread safety.
Cherry-picked upstream fix from 4.31
2021-07-14 14:42:24 +00:00
Moonchild 8112b3530e [ANGLE] Cherry-pick upstream fix 2021-07-14 13:51:11 +00:00
Valentin Gosu 90fcfaebf6 [network] Make CacheIOThread::ThreadFunc hold reference to thread. 2021-07-14 13:27:14 +00:00
Moonchild 36caf5a0fb [network] Add some sanity checks to deserialized nsStandardURLs
Note: C++ lambda expressions are actually useful for once.
2021-07-14 13:20:09 +00:00
Moonchild 5c1320e746 [network] Stop blocking 10080
Port 10080 is shared by too many devices and services that do need http(s)
access, so this port should not be blacklisted by default.
2021-07-14 01:51:13 +00:00
Moonchild 077e24abfe WIP: Base implementation 2021-07-13 20:09:21 +00:00
Matt A. Tobin ad0261c852 Issue mcp-graveyard/UXP#1793 - Only use Glass on the Toolkit Download Manager on Windows 7 2021-07-12 13:11:40 -04:00
Matt A. Tobin 9801e67a63 Issue mcp-graveyard/UXP#1793 - Only use proper Aero Styling in the Toolkit Error Console on Windows 7 2021-07-12 13:00:51 -04:00
Matt A. Tobin 18b20f402b Issue mcp-graveyard/UXP#1793 - Add a border-bottom to treecols header 2021-07-12 12:58:30 -04:00
Matt A. Tobin 4f9524c23f Issue mcp-graveyard/UXP#1793 - Add a border-bottom to toolbox
Follow-up to e8be661944
2021-07-12 12:57:39 -04:00
Moonchild d8d6160dc6 Issue mcp-graveyard/UXP#1792 - Part 4: Implement constructors for the EventTarget interface. 2021-07-12 03:06:58 +00:00
Moonchild 309dbc1f98 Issue mcp-graveyard/UXP#1792 - Part 3: Add ConstructibleEventTarget helper class.
Of course it couldn't be trivial :P
wrapObject is a pure virtual function which prevents an abstract constructor
from being used.
So, we need to extend DOMEventTargetHelper (applicable acronym: DETH :D) with
a wrapObject implementation - in a derivative class is the clearest way to do
this, as opposed to making DETH more complex.
2021-07-12 03:04:29 +00:00
Moonchild 7221d73380 Issue mcp-graveyard/UXP#1792 - Part 2: Move GetParentObject() to EventTarget.h for re-use. 2021-07-12 02:56:48 +00:00
Moonchild 006493a09d Issue mcp-graveyard/UXP#1792 - Part 1: Remove superfluous check for abstract ancestors.
This removes some restrictions on whether an interface that implements
QueryInterface can have a non-abstract ancestor.

This restriction was put in place back when we automatically added
QueryInterface to all rootmost non-abstract interfaces (~Pale Moon 24).
At the time, we needed to make sure it did NOT end up on EventTarget, because
back then WebIDL quickstubs would replace the QI implementation on non-WebIDL
EventTargets with the WebIDL one, which would not work for them.

Since then, we have removed WebIDL quickstubs and we now explicitly list which
interfaces get QueryInterface, so this check is no longer needed.
2021-07-12 02:54:51 +00:00
Moonchild b6e3f35011 Issue mcp-graveyard/UXP#1757 - Follow-up: Remove some stray WPT leftovers.
These were re-introduced when reverting the <details> element pref changes.
2021-07-12 02:50:57 +00:00
Moonchild 4ddd3eb7cb [network] Stop treating http and https as different for encoding schemes.
There is no reason to treat available encoding schemes for these protocols
differently.
2021-07-10 13:00:14 +00:00
Moonchild 6137ce638a [network] Enable brotli compression on http for sites that offer it. 2021-07-06 03:07:36 +00:00
Moonchild 3b8c358d72 [toolkit] Slightly lighten light-mode logopage background 2021-07-05 18:40:09 +02:00
Moonchild 8476785f39 [Toolkit] Update logopage styling.
Part of the UX refresh Pale Moon effort. This uses the new -moz-dark-theme media
query to make the logopage dark if the UI is dark, without explicitly relying on
(often not sane) system color values.
2021-07-01 17:48:58 +00:00
Moonchild fc3a5fb3c4 Issue mcp-graveyard/UXP#1751 - Remove Mac/ARM C fallback on gcc from pixman 2021-06-25 19:25:29 +00:00
athenian200 aee6629c09 Issue mcp-graveyard/UXP#1784 - Add -moz-dark-theme media query and allow prefers-color-scheme to follow it. 2021-06-22 18:14:44 +00:00
Matt A. Tobin 914afe4f97 [Toolkit] Attempt to initialize DownloadTaskbarProgress when onDownloadWindowLoad() is called so that DownloadTaskbarProgress from the Downloads Manager window works when the application doesn't explicitly invoke onBrowserWindowLoad(). 2021-06-22 01:54:11 -04:00
Moonchild 6de661e29d Issue mcp-graveyard/UXP#1751 - Remove Mac code behind MOZ_WIDGET_TOOLKIT == 'cocoa' 2021-06-21 17:52:42 +00:00
Moonchild de7e081e6e [whitespace] Fix CRLF line endings.
When originally implementing ResizeObserver, line endings ended up being CRLF
instead of LF. This commit fixes those line endings (no code changes)
2021-06-21 00:40:58 +00:00
Moonchild a51128b73f Bump platform version 2021-06-19 23:02:06 +00:00
Moonchild 42fecdf1d7 Merge branch '1783' 2021-06-19 23:00:12 +00:00
New Tobin Paradigm 5f97534828 Merge pull request 'Support detecting bool preferences in chrome stylesheets' (#1785) from athenian200/UXP:bool-chrome-stylesheets into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1785
2021-06-19 20:40:11 +00:00
Jeremy Andrews 48011db6d7 Issue mcp-graveyard/UXP#1776 - Support detecting bool preferences in chrome stylesheets
This functionality was already added to Gecko for UA stylesheets allow the "dom.details_element.enabled" preference to work. I changed the condition to allow bool preferences to be used in chrome stylesheets as well.
2021-06-19 15:01:08 -05:00
Moonchild 8e3011cec0 Issue mcp-graveyard/UXP#1783 - Part 3: Remove ResizeObservation's BroadcastSize.
This is chrome-only and unused, and interfered with getting the spec update in.
2021-06-19 15:40:37 +00:00
Moonchild 67078075b9 Issue mcp-graveyard/UXP#1783 - Part 2: Update ResizeObserver and resizeObserverSize.
This adds the later spec revision's contentBoxSize and borderBoxSize, and the
inlineSize and blockSize concepts.
The older spec contentRect remains functional as well for backwards
compatibility with the earlier spec (that was IMHO perfectly fine as it was...)
2021-06-19 15:38:14 +00:00
Moonchild 4cd68482fc Issue mcp-graveyard/UXP#1783 - Part 1: Move GetNodeDepth to ResizeObserver.cpp
GetNodeDepth() is a specialized version for ResizeObserver to get the depth of
a node across Shadow DOM. It's better to have this in ResizeObserver.cpp
instead of the generic ContentUtils.

Also updated the function to bypass the shadow root itself and not count it
because ResizeObserver doesn't observe the shadow root and only needs the
relative depths among all observed targets. IOW we use the flattened tree here.
2021-06-18 17:44:33 +00:00
Moonchild 644097ab45 Issue mcp-graveyard/UXP#1782: Remove Luna, Royale and Zune support from the platform.
These are obsolete system themes; the platform will fall back to generic/unknown
theme support instead.
2021-06-14 11:52:16 +00:00
Matt A. Tobin 76db1c368c [Toolkit] Don't use the "aero" msstyle provided toolbox background on Windows 10 2021-06-12 13:13:08 -04:00
Moonchild 8c6f1a49f9 Issue mcp-graveyard/UXP#1781 - Part 3: Add reftest for the static calc() case. 2021-06-12 11:54:09 +00:00
Moonchild cb223d33c3 Issue mcp-graveyard/UXP#1781 - Part 2: Fix animation interpolation for stroke-dashoffset.
Since we have calc() and floats working now, this is a trivial fix.
2021-06-12 11:36:16 +00:00
Moonchild 18b24efe0f Issue mcp-graveyard/UXP#1781 - Part 1: support calc() in stroke-dashoffset CSS
This adds basic calc() support to stroke-dashoffset. It does not provide
CSS animation (yet, todo for part 2)
2021-06-12 01:12:39 +00:00
Moonchild 38f7ca981f [js] Fix porting typo
Follow-up for 9acd98298c
2021-06-04 06:30:44 +00:00
Jan de Mooij 34ca537e89 [js] Fix invalid early return in BaselineFrame::trace.
We were not tracing debugger environments for Baseline frames without any
local/expression slots.
2021-06-04 06:30:29 +00:00
Moonchild cb8b405abe [toolkit] Exclude printer spew from troubleshooting information.
In almost all cases this is pointless to include, a ton of useless entries,
and there's no reason to have people post a full enumeration of installed
printers on their system when asked for TS information.
If there's a printer specific issue, people can always be asked to post relevant
info manually.
2021-06-04 06:30:13 +00:00
Matt A. Tobin be17c443dc Issue mcp-graveyard/UXP#1774 - Add metrics to the editable menulist-button for GTK3 2021-06-04 06:29:58 +00:00
Moonchild 8940464707 Revert "Issue mcp-graveyard/UXP#21 - Remove TelemertyVFS"
This:
- reverts commit 83ecae9ff7
- adds a failure check to Connection::GetQuotaObjects

This resolves #1768.
2021-06-04 06:29:26 +00:00
Moonchild f0b6f55fd6 Issue mcp-graveyard/UXP#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-06-04 06:29:06 +00:00
FranklinDM 57ebea128e Issue mcp-graveyard/UXP#1770 - Fix incorrect reference to event parameter 2021-06-04 06:28:25 +00:00
Moonchild b287ce7d92 [js] Fix porting typo
Follow-up for 9acd98298c
2021-06-03 00:23:41 +00:00
Jan de Mooij b4f614e5e9 [js] Fix invalid early return in BaselineFrame::trace.
We were not tracing debugger environments for Baseline frames without any
local/expression slots.
2021-06-02 10:29:47 +00:00
Moonchild c6bffce0fa [toolkit] Exclude printer spew from troubleshooting information.
In almost all cases this is pointless to include, a ton of useless entries,
and there's no reason to have people post a full enumeration of installed
printers on their system when asked for TS information.
If there's a printer specific issue, people can always be asked to post relevant
info manually.
2021-06-02 09:44:59 +00:00
Matt A. Tobin d792016777 Issue mcp-graveyard/UXP#1774 - Add metrics to the editable menulist-button for GTK3 2021-05-31 18:55:45 -04:00
Moonchild 53e927260c Revert "Issue mcp-graveyard/UXP#1774 - Make menulist-button visible again in gtk3"
This reverts commit 0a0830ba8b.
2021-05-31 17:56:30 +00:00
Moonchild 272159f632 Merge pull request 'Issue mcp-graveyard/UXP#1774 - Make menulist-button visible again in gtk3' (#1775) from jobbautista9/UXP:master into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1775
2021-05-31 15:30:27 +00:00
Job Bautista 6f0080e895 Issue mcp-graveyard/UXP#1774 - Make menulist-button visible again in gtk3 2021-05-31 22:59:39 +08:00
Moonchild 001eed1c74 Issue mcp-graveyard/UXP#1772 - Stop using legacy code page conversion for file paths on Linux.
OS.File already only supports UTF-8 paths on non-Windows systems, so this change
makes our different ways of accessing file paths consistent with each other.
This should prevent unexpected crashes in glibc that expect UTF-8.

This resolves #1772.
2021-05-14 12:25:57 +00:00
Moonchild 26e6880ac9 Revert "Issue mcp-graveyard/UXP#21 - Remove TelemertyVFS"
This:
- reverts commit 83ecae9ff7
- adds a failure check to Connection::GetQuotaObjects

This resolves #1768.
2021-05-14 10:50:53 +00:00
Moonchild 02364eed45 [network] Fix typo in port blocking range check.
This fixes a typo in 5e705bd505
2021-05-12 20:25:55 +00:00
Moonchild 2af111793e Merge pull request 'Fix undefined event error thrown when scrolling on the auto scroll pop-up' (#1771) from FranklinDM/UXP:scroll-wheel-event-work into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1771
2021-05-12 14:20:11 +00:00
FranklinDM 4e6d90798a Issue mcp-graveyard/UXP#1770 - Fix incorrect reference to event parameter 2021-05-12 14:21:12 +08:00
Moonchild 5025c80050 Issue mcp-graveyard/UXP#1751 -- Remove cocoa and uikit gfx and hal support code 2021-05-09 21:36:43 +00:00
Moonchild d753706a34 Issue mcp-graveyard/UXP#1751 -- Update crashtests 2021-05-09 00:29:23 +00:00
Moonchild f6e14b9545 Issue mcp-graveyard/UXP#1751 -- Remove cocoa and uikit widget support code 2021-05-08 21:00:49 +00:00
Moonchild 0a403b360e Issue mcp-graveyard/UXP#1751 -- Remove cocoa support code from /dom 2021-05-08 20:59:55 +00:00
Moonchild 15c205dd4c Issue mcp-graveyard/UXP#1751 -- fix up a few stray #ifs 2021-05-06 16:47:48 +00:00
Moonchild 1f6550b0f8 Issue mcp-graveyard/UXP#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-06 09:24:03 +00:00
Moonchild 942535d38e Issue mcp-graveyard/UXP#1751 -- Remove XP_MACOSX conditionals from /layout 2021-05-03 12:26:37 +00:00
Moonchild 56a56db5a3 Issue mcp-graveyard/UXP#1751 -- Remove XP_MACOSX conditionals and support files from /xpcom 2021-05-03 11:35:41 +00:00
Moonchild 964bff557d Merge branch '1767' 2021-05-02 20:28:54 +00:00
Moonchild 4c5b1a83f4 Issue mcp-graveyard/UXP#1751 -- Remove XP_MACOSX conditionals and support files from /gfx 2021-05-02 20:28:36 +00:00
Moonchild 1e0157b7a8 Issue mcp-graveyard/UXP#1751 -- Remove files unused without XP_DARWIN 2021-05-02 07:11:32 +00:00
Moonchild baf2c56a67 Issue mcp-graveyard/UXP#1751 -- Remove XP_DARWIN 2021-05-02 07:10:18 +00:00
Moonchild e2217eb715 Issue mcp-graveyard/UXP#1751 -- Remove XP_IOS 2021-05-01 07:15:13 +00:00
Moonchild 5d56757823 Issue mcp-graveyard/UXP#1751 -- Remove XP_MACOSX conditionals from /dom 2021-04-30 21:22:08 +00:00
Moonchild 64ce263360 Issue mcp-graveyard/UXP#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-04-26 10:26:22 +00:00
Moonchild 09293daac7 Merge branch 'master' into release 2021-04-21 03:57:43 +00:00
Moonchild c8576dce04 [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-20 13:12:38 +00:00
Jeff Gilbert 8e63193c70 [WebGL] Bind framebuffer before DrawBuffers/ReadBuffer selection. 2021-04-20 12:46:56 +00:00
Moonchild f3c4230348 [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-19 20:47:29 +00:00
Moonchild a3a9680cef Merge pull request 'Allow use of Tauthon instead of Python 2.7' (#1762) from OlCe1/UXP:tauthon-build-support into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1762
2021-04-08 02:26:58 +00:00
Olivier Certner 1ed36745da Issue mcp-graveyard/UXP#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-07 16:12:20 +02:00
Moonchild c815625d1e Merge branch '1756'
This resolves #1756
2021-04-01 10:44:59 +00:00
Moonchild 666fc40430 Merge pull request 'Reinstate "dom.details_element.enabled" preference' (#1758) from athenian200/UXP:details_element_pref into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1758
2021-04-01 07:17:23 +00:00
athenian200 bacdf9f523 Issue mcp-graveyard/UXP#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-03-31 17:57:48 -05:00
Moonchild 635be5e36c Issue mcp-graveyard/UXP#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-03-31 15:41:38 +00:00
Moonchild 047fd5d01e Issue mcp-graveyard/UXP#1756 - Expose NumberFormat.formatToParts() to content. 2021-03-31 14:45:56 +00:00
Moonchild be437d498e Issue mcp-graveyard/UXP#1756 - Initial wrapped implementation in C++ 2021-03-31 11:54:20 +00:00
Moonchild 232abfc22f Issue mcp-graveyard/UXP#1755 - Add smooth, high-quality and pixelated to CSS image-rendering 2021-03-28 10:55:28 +00:00
Moonchild 762f98c4c5 Issue mcp-graveyard/UXP#1754 - Fix clip path overflow.
Resolves #1754.
2021-03-26 17:19:27 +00:00
Moonchild 99b73184a7 [WebRTC] Apply port restrictions to peerconnections. 2021-03-25 21:34:32 +00:00
Moonchild c26fcbfe66 [WebGL] Only allow texture uploads from pixelbuffer if bound.
Throw an error if it mismatches.
2021-03-25 21:34:18 +00:00
Moonchild 1035a44a8e [docshell] Stop loading of the document if network load is stopped.
After all, stop means stop.
2021-03-25 21:34:07 +00:00
Moonchild 5df4b58996 [WebRTC] Apply port restrictions to peerconnections. 2021-03-24 18:04:20 +00:00
Moonchild 4a2811116d [WebGL] Only allow texture uploads from pixelbuffer if bound.
Throw an error if it mismatches.
2021-03-24 12:16:08 +00:00
Moonchild 26d31990c0 [docshell] Stop loading of the document if network load is stopped.
After all, stop means stop.
2021-03-24 11:41:58 +00:00
Moonchild 7aa0aecba7 Merge pull request 'Implement "prefers-color-scheme" as a user preference.' (#1753) from athenian200/UXP:prefers-color-scheme into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1753
2021-03-24 08:58:18 +00:00
athenian200 42c751ed87 Issue mcp-graveyard/UXP#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-23 22:25:54 -05:00
Moonchild 0dbcd15ec9 Issue mcp-graveyard/UXP#1751 - Remove MacOS support from configure 2021-03-22 09:37:12 +00:00
Moonchild d926fdad51 Issue mcp-graveyard/UXP#1053 - Remove __ANDROID__ defines (except in third party code) 2021-03-21 16:15:54 +00:00
Moonchild 19a0cb2081 Issue mcp-graveyard/UXP#1749 - Remove restriction of SVG width/height element attributes.
According to the original SVG spec, the SVG element in documents had to follow
special rules as to what was allowed for width/height attributes. This is no
longer the case, so we can decouple it from whatever internal units SVG/XML
language uses and allow all units like every other element.
2021-03-20 08:57:01 +00:00
Moonchild 2b6d1c55ee [CSS] Enable scrollbar-width keyword by default.
I totally forgot this <.<
2021-03-20 08:56:53 +00:00
Matt A. Tobin ece78bc0ab [NSS hotpatch] Hard disable AVX2 in NSS Build System 2021-03-20 08:56:02 +00:00
Moonchild bad317f6ed Force clobber 2021-03-20 08:55:52 +00:00
Moonchild 5e0410b519 Issue mcp-graveyard/UXP#1693 - Update NSS to 3.52.2-UXP
Update root certificates and port NSS sec patches from previous work.
2021-03-20 08:55:04 +00:00
Moonchild 9eade7e0ec [NSS] Update root certificates. 2021-03-20 08:54:43 +00:00
J.C. Jones 3b21d58930 [NSS] Prevent slotLock race in NSC_GetTokenInfo
Basically, NSC_GetTokenInfo doesn't lock slot->slotLock before accessing slot
after obtaining it, even though slotLock is defined as its lock.
2021-03-20 08:54:35 +00:00
Sohaib ul Hassan 504d7edda3 [NSS] Implement constant-time GCD and modular inversion
The implementation is based on the work by Bernstein and Yang
(https://eprint.iacr.org/2019/266)
"Fast constant-time gcd computation and modular inversion".

It fixes the old mp_gcd and s_mp_invmod_odd_m functions. The patch also fixes
mpl_significant_bits s_mp_div_2d and s_mp_mul_2d by having less control flow to
reduce side-channel leaks.

Co-authored by : Billy Bob Brumley
2021-03-20 08:54:24 +00:00
Moonchild 33cebaf890 Issue mcp-graveyard/UXP#1743 - Update CK_GCM_PARAMS use for PKCS11 v3.0 in WebCryptoTask
Re-apply now we have PKCS11 v3.0 again
2021-03-20 08:54:14 +00:00
Moonchild 453e02036d Issue mcp-graveyard/UXP#1693 - Update NSPR to 4.25-RTM 2021-03-20 08:54:04 +00:00
Moonchild ab37026693 Issue mcp-graveyard/UXP#1693 - Update NSS to 3.52.1-RTM 2021-03-20 08:53:53 +00:00
Moonchild 060b5432c0 Revert "Issue mcp-graveyard/UXP#1743 - Update CK_GCM_PARAMS use for PKCS11 v3.0 in WebCryptoTask"
This reverts commit 2b6effbf29.
2021-03-20 08:53:42 +00:00
Moonchild 4b9f39c877 Issue mcp-graveyard/UXP#1746 - Revert "Update NSPR to 4.29"
This reverts commit 149d2ffa77.
2021-03-20 08:53:32 +00:00
Moonchild 50d57df985 Issue mcp-graveyard/UXP#1746 - Revert "Update to NSS 3.59.1.1" 2021-03-20 08:53:19 +00:00
Moonchild 705d7fc339 Issue mcp-graveyard/UXP#1746 - Revert "Additional configuration for NSS lib update."
This reverts commit ae775e493b.
2021-03-20 08:53:09 +00:00
Moonchild 4142b0254b Issue mcp-graveyard/UXP#1746 - Update pkix code with later NSS code. 2021-03-20 08:53:00 +00:00
Moonchild e141d39f49 Issue mcp-graveyard/UXP#1749 - Remove restriction of SVG width/height element attributes.
According to the original SVG spec, the SVG element in documents had to follow
special rules as to what was allowed for width/height attributes. This is no
longer the case, so we can decouple it from whatever internal units SVG/XML
language uses and allow all units like every other element.
2021-03-20 07:35:30 +00:00
Moonchild b0aa060f41 [CSS] Enable scrollbar-width keyword by default.
I totally forgot this <.<
2021-03-17 12:14:00 +00:00
New Tobin Paradigm b635438e69 Merge pull request 'Remove the ability to accept Firefox GUIDS (remove the dual system)' (#1748) from athenian200/UXP:phoenix_extensions into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1748
2021-03-16 11:27:34 +00:00
athenian200 a68c985ce1 Issue mcp-graveyard/UXP#1744 - Remove the ability to accept Firefox GUIDS (remove the dual system)
This finally removes the dual-GUID hack. There's nothing as permanent as a temporary solution.
2021-03-16 06:20:59 -05:00
Moonchild c5e241361c [Toolkit] Update TwemojiMozilla font to 0.5.1 (Twemoji 12.1.6) 2021-03-16 10:59:51 +00:00
Matt A. Tobin 1a3f508045 [NSS hotpatch] Hard disable AVX2 in NSS Build System 2021-03-15 22:16:14 +00:00
Moonchild a39a707d60 Clobber for NSS update 2021-03-15 18:53:11 +00:00
Moonchild f07e28900b Issue mcp-graveyard/UXP#1693 - Update NSS to 3.52.2-UXP
Update root certificates and port NSS sec patches from previous work.
2021-03-15 18:52:57 +00:00
Moonchild 8217366a3a [NSS] Update root certificates. 2021-03-15 18:49:45 +00:00
J.C. Jones af229a9167 [NSS] Prevent slotLock race in NSC_GetTokenInfo
Basically, NSC_GetTokenInfo doesn't lock slot->slotLock before accessing slot
after obtaining it, even though slotLock is defined as its lock.
2021-03-15 18:43:00 +00:00
Sohaib ul Hassan 9d24a6b833 [NSS] Implement constant-time GCD and modular inversion
The implementation is based on the work by Bernstein and Yang
(https://eprint.iacr.org/2019/266)
"Fast constant-time gcd computation and modular inversion".

It fixes the old mp_gcd and s_mp_invmod_odd_m functions. The patch also fixes
mpl_significant_bits s_mp_div_2d and s_mp_mul_2d by having less control flow to
reduce side-channel leaks.

Co-authored by : Billy Bob Brumley
2021-03-15 18:40:01 +00:00
Moonchild 19d4c0985f Issue mcp-graveyard/UXP#1743 - Update CK_GCM_PARAMS use for PKCS11 v3.0 in WebCryptoTask
Re-apply now we have PKCS11 v3.0 again
2021-03-15 18:25:42 +00:00
Moonchild 9b47f367d0 Issue mcp-graveyard/UXP#1693 - Update NSPR to 4.25-RTM 2021-03-15 18:24:14 +00:00
Moonchild af66ab08d0 Issue mcp-graveyard/UXP#1693 - Update NSS to 3.52.1-RTM 2021-03-15 12:57:35 +00:00
Moonchild 22fcb34e4b Revert "Issue mcp-graveyard/UXP#1743 - Update CK_GCM_PARAMS use for PKCS11 v3.0 in WebCryptoTask"
This reverts commit 2b6effbf29.
2021-03-14 22:58:58 +00:00
Moonchild d989552396 Issue mcp-graveyard/UXP#1746 - Revert "Update NSPR to 4.29"
This reverts commit 149d2ffa77.
2021-03-14 22:48:44 +00:00
Moonchild 8c1e5bf10e Issue mcp-graveyard/UXP#1746 - Revert "Update to NSS 3.59.1.1" 2021-03-14 22:47:32 +00:00
Moonchild 8efddea7a4 Issue mcp-graveyard/UXP#1746 - Revert "Additional configuration for NSS lib update."
This reverts commit ae775e493b.
2021-03-14 22:44:25 +00:00
Moonchild fcf83e45e8 Issue mcp-graveyard/UXP#1746 - Update pkix code with later NSS code. 2021-03-14 13:06:22 +00:00
Moonchild 6bd2f90a34 Issue mcp-graveyard/UXP#1053 - Remove MOZ_WIDGET_ANDROID and IDB_MOBILE 2021-03-11 06:43:10 +00:00
Moonchild 632e75b73b Issue mcp-graveyard/UXP#1053 - Remove Android-specific blocks from system headers and /dom 2021-03-11 06:41:21 +00:00
Moonchild d679e9ef7b Issue mcp-graveyard/UXP#1053 - Remove mobile-specific graphics "optimizations" (=compromises) 2021-03-10 18:58:26 +00:00
Moonchild 0943617c84 Issue mcp-graveyard/UXP#1053 - Remove android blocks from configure. 2021-03-10 17:10:56 +00:00
Moonchild e4aa469ee4 Issue mcp-graveyard/UXP#1053 - Remove build system MOZ_ANDROID_* defines and related code. 2021-03-10 14:26:15 +00:00
Moonchild 9c118c5f82 Issue mcp-graveyard/UXP#1737 - Update build config and mozbuild files. 2021-03-04 00:03:56 +00:00
Moonchild d34c77a7d9 Issue mcp-graveyard/UXP#1737 - Import libaom 2.0.2 source 2021-03-04 00:03:46 +00:00
Moonchild 3f39430482 [parser] run java translation. 2021-03-02 12:01:30 +00:00
Moonchild 7ec6dcdc1e Merge branch 'master' into release 2021-02-26 17:42:34 +00:00
Moonchild 815440c292 Merge pull request '[widget] MailNews Followup: Require user interaction when picking files or folders v2' (#1745) from g4jc/UXP:master into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1745
2021-02-26 17:41:20 +00:00
Gaming4JC 40d835db79 [widget] MailNews Followup: Require user interaction when picking files or folders v2
98f6ad61f4 introduced a boolean, this just passes it down and fixes build bustage of mailnews.
2021-02-26 11:57:24 -05:00
Moonchild 10ddc12678 Merge branch 'master' into release 2021-02-25 01:03:57 +00:00
Moonchild 87dad2248c [OTS] Backport some upstream OTS commits. 2021-02-24 14:24:24 +00:00
Moonchild b94030115a [MFBT] Update lz4 to 1.9.3 2021-02-24 12:16:57 +00:00
Moonchild 1ab1ddbc8c Issue mcp-graveyard/UXP#457 - Remove duplicate PKCS11 definitions 2021-02-24 11:09:47 +00:00
Moonchild c5f556ca2d [security] Hold mutex when accessing TSI fields. 2021-02-24 11:08:36 +00:00
Moonchild 35c98cfc71 [DOM] Don't reveal error details for CORS-cross-origin decoding errors. 2021-02-24 10:13:37 +00:00
Moonchild 8d8f274223 [html parser] Check for integer overflow when computing new buffer sizes. 2021-02-24 09:57:24 +00:00
Moonchild df184791e6 [dom] Update noscript serialization to the changed spec.
Make <noscript> escaping conditional on whether scripting is enabled.
2021-02-24 09:05:30 +00:00
Moonchild b39e2de4fd Issue mcp-graveyard/UXP#1722 - Update about:license
Mostly making parts conditional and removing blocks that are no longer
applicable, and a few minor edits otherwise to update links and text.

Resolves #1722
2021-02-21 19:20:31 +00:00
Moonchild a620fddfbd [widget] Require user interaction when picking files or folders v2
Now with extra sauce to make it work cross-platform and cross-versions and
for HTML input elements only.
2021-02-21 10:32:47 +00:00
Moonchild 7c9b1c0580 Issue mcp-graveyard/UXP#1743 - Update CK_GCM_PARAMS use for PKCS11 v3.0 in WebCryptoTask 2021-02-17 22:30:39 +00:00
Moonchild 432a20af5e Issue mcp-graveyard/UXP#1688 - Add flood guard to state change logic. 2021-02-16 12:13:16 +00:00
Moonchild fba1bb6cce [widget] Require user interaction when picking files or folders. 2021-02-15 21:09:05 +00:00
Moonchild 667e59ef2e Issue mcp-graveyard/UXP#1741 - Follow-up: Remove superfluous prefobserver
This one is no longer necessary (and incorrect) after the changes made in #1684
2021-02-15 06:26:33 +00:00
Moonchild f12a628ffd Issue mcp-graveyard/UXP#1741 - Add missing prefobserver for general.useragent.* prefs
Resolves #1741
2021-02-14 16:04:06 +00:00
Moonchild c43b1d537d [js] Add XMMRegName for invalid_xmm 2021-02-14 08:34:36 +00:00
Moonchild 226b286987 Issue mcp-graveyard/UXP#1739 - Implement numeric separators.
Resolves #1739
2021-02-13 09:41:29 +00:00
Moonchild a42817a1fd Issue mcp-graveyard/UXP#1738 - Follow-up: Update comment (no code changes) 2021-02-12 21:24:32 +00:00
Moonchild 87f89d9f28 Issue mcp-graveyard/UXP#1738 - Part 2: Implement well-formed JSON stringify
This implements the ES2019 spec for JSON stringification, including
lower-casing, properly escaping lone surrogates, etc.
2021-02-11 13:55:24 +00:00
Moonchild ae3820417b Issue mcp-graveyard/UXP#1738 - Part 1: Improve performance of JSON stringify
- Use some pointer voodoo and instead of stringbuffer append()
- Use a lookup table instead of char comparisons for chr < 256
- Stop using a Hashtable/MovableCellHasher for JSON CycleDetector
2021-02-11 13:20:54 +00:00
Moonchild 6a4e87c691 Update tzdata to 2021a
Because people are apparently never satisfied with the time zones on the planet!
2021-02-10 03:08:34 +00:00
Moonchild 2bc1ddbcd9 Merge pull request 'Support for latest stable FreeBSD (12.2)' (#1736) from OlCe1/UXP:FreeBSD-support-update into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1736
2021-02-08 20:36:20 +00:00
Moonchild ed0a22fcf5 Issue mcp-graveyard/UXP#1737 - Disable AV1 by default.
Our current implementation has consistent playback issues; this needs to be
addressed before the codec can be enabled by default.
2021-02-07 20:22:04 +00:00
Moonchild c6362e48b1 Issue mcp-graveyard/UXP#1737 - Disable AV1 by default.
Our current implementation has consistent playback issues; this needs to be
addressed before the codec can be enabled by default.
2021-02-07 20:20:36 +00:00
Moonchild 8059da1638 [angle] Cherry-pick compressed tex depth stride fix. 2021-02-05 18:43:01 +00:00
Moonchild bb918efe07 Issue mcp-graveyard/UXP#1515 - Add null check to nsCSSFrameConstructor::IsValidSibling
With the changes to layout for WebComponents, it is now apparently possible to
pass in null for frame tree items to this function, which would cause a null
deref crash if not checked.
2021-02-05 18:42:30 +00:00
Moonchild a2ccc1469a [angle] Cherry-pick compressed tex depth stride fix. 2021-02-05 18:40:41 +00:00
Olivier Certner d3ce7fd313 Issue mcp-graveyard/UXP#1699 - Follow-up: mozjemalloc: Fix build by excluding some irrelevant init_lock code
This had been initially dealt with in issue #1699's commits, but one of them
was in the end reverted, which caused this problem (this change should have
been done there).
2021-02-05 18:22:59 +01:00
Olivier Certner c6135a3f0a Issue mcp-graveyard/UXP#1730 - Part 2: harfbuzz: Remove some useless define causing a build error
Defining _POSIX_C_SOURCE to 199309L on FreeBSD causes compile errors, because of
an obscure interaction between system wrappers and libc++ headers. The source
doesn't seem to need it at all, which tests confirm.

I bet that this is not needed either on other modern systems (even those based
on glibc), and that the define could probably be entirely removed. Not trying
it because I can't test it myself.
2021-02-05 18:22:53 +01:00
Olivier Certner 88e94416b0 Issue mcp-graveyard/UXP#1730 - Part 1: Interpose malloc even on RTLD_DEEPBIND presence
New FreeBSD versions have introduced RTLD_DEEPBIND (see dlopen(3)), which
triggers a provoked build error to be on the "safe" side.

Indeed, improper use of RTLD_DEEPBIND could cause malloc interposing not to
work on specific libraries. This would happen for libraries that provide their
own malloc/free and exchange pointers with other libraries or the main program,
one allocating an area and another one deallocating it.

It seems it happened for glibc, which is not a concern on FreeBSD, and for the
Flash Player (not a concern either, there is no native Flash Player). Moreover,
there is only a single reference to RTLD_DEEPBIND in the whole platform
currently, namely in the WebRTC code, but the corresponding code chunk is
compiled-in only on Linux (and this library doesn't seem to redefine malloc
functions anyway). So I don't see how a problem could happen. Additionally,
Pale Moon, which is my focus, doesn't use WebRTC.

Corresponding Mozilla bug: https://bugzilla.mozilla.org/show_bug.cgi?id=493541
2021-02-05 18:22:46 +01:00
Olivier Certner 31949aac8f Issue mcp-graveyard/UXP#1729 - Support building/linking against libc++ 9+
Including <cstdlib> must never trigger inclusion of "mozalloc.h", because the
first thing this one does is precisely to include <cstdlib>.

It is now the case that, in libc++ 9 and beyond, <cstdlib> includes <math.h>
which then tries to include <type_traits>, which the STL wrapper intercepts,
trying to load "mozalloc.h". Same problem happens with <limits>.

Fix pulled from: https://bugzilla.mozilla.org/show_bug.cgi?id=1594027.
2021-02-05 18:20:47 +01:00
Moonchild 7dd914312b Issue mcp-graveyard/UXP#1732 - Implement JSON superset proposal.
This change makes unicode line and paragraph separators allowed in JS strings,
removing the only quirk of the JS string definition that made JSON not a valid
subset of JS.

Resolves #1732
2021-02-05 12:44:26 +00:00
Moonchild 85c613f833 Issue mcp-graveyard/UXP#1726 - Add verification test for string.replaceAll() 2021-02-04 21:29:55 +00:00
Moonchild 229d9221e3 Merge pull request 'Implement String.replaceAll()' (#1728) from meatloaf/UXP:string_replaceAll into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1728
2021-02-04 21:27:26 +00:00
Moonchild 8bfdf9881a Issue mcp-graveyard/UXP#439 - Remove web-platform tests from the tree.
This removes a total of 23,936 files we would never use nor have the capacity
to properly maintain or keep up-to-date.
2021-02-04 19:41:06 +00:00
meatloaf 75f8f5c7d6 Issue mcp-graveyard/UXP#1726 - Implement String.replaceAll()
This also implements IsRegExp, as this demands it.
Ported from https://bugzilla.mozilla.org/show_bug.cgi?id=1540021
2021-02-04 12:59:54 -06:00
Moonchild 6c279a63fe Issue mcp-graveyard/UXP#1515 - Add null check to nsCSSFrameConstructor::IsValidSibling
With the changes to layout for WebComponents, it is now apparently possible to
pass in null for frame tree items to this function, which would cause a null
deref crash if not checked.
2021-02-03 11:10:44 +00:00
Moonchild c53a7aaa66 Fix CRLF line endings in npapi.h 2021-01-30 13:17:11 +00:00
Moonchild b566681f38 Issue mcp-graveyard/UXP#1720 - Remove explicit header inclusion from npapi.h
This should allow the header to be used outside of the UXP tree for compiling
plugins etc.
Resolves #1720
2021-01-30 13:16:33 +00:00
trav90 3459dd88a6 Issue mcp-graveyard/UXP#1723 - Fix Linux build bustage in HTMLMenuItemElement.cpp 2021-01-30 01:07:11 +00:00
Moonchild 13aef623a4 [js] Remove unused promise selfhosting functions.
These are leftovers from when promises were fully self-hosted and could cause
confusion if left in place.
2021-01-30 01:06:36 +00:00
Moonchild abf2b9e56f Merge pull request 'Issue mcp-graveyard/UXP#1723 - Fix Linux build bustage in HTMLMenuItemElement.cpp' (#1724) from trav90/UXP:1723-fix into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1724
2021-01-30 01:02:59 +00:00
trav90 66817e1d72 Issue mcp-graveyard/UXP#1723 - Fix Linux build bustage in HTMLMenuItemElement.cpp 2021-01-29 16:28:26 -06:00
Moonchild 4bb7c7c0a8 Merge branch 'master' into release 2021-01-29 14:55:20 +00:00
Moonchild 40a92020a4 [network] Hold mutex when accessing mSecurityInfo. 2021-01-27 10:52:32 +00:00
Moonchild 55287e7938 [DOM] Store weak pointer to next parents. 2021-01-26 23:16:22 +00:00
Moonchild 5d1fb5e955 [DOM] Try to avoid slow shrinking GC during sync calls 2021-01-26 22:42:46 +00:00
Moonchild 73d46ee312 [webaudio] Fix up ReverbInputBuffer's writeIndex. 2021-01-26 14:55:48 +00:00
Moonchild 0658a96f7a [WebRTC] Improve SDP parser error handling. 2021-01-26 13:59:19 +00:00
Moonchild b5fcf139d4 [js] Add AutoEnterOOMUnsafeRegion to JS_TransplantObject.
Transplanting objects is inherently oom-unsafe, so add
`AutoEnterOOMUnsafeRegion` to `JS_TransplantObject()` and annotate crashes
accordingly if they do happen.
2021-01-26 12:28:25 +00:00
Moonchild 42ed248cd7 Fix rooting hazard in ImageBitmap::CreateInternal by avoiding movable data. 2021-01-26 11:49:35 +00:00
Moonchild 61d966d9fe [layout, XUL] Avoid accessing invalidated frame. 2021-01-26 09:56:37 +00:00
Matt A. Tobin 8a9afe7164 Merge branch 'presentation-cleanup' 2021-01-25 18:26:58 -05:00
Moonchild 64a574ae1b Issue mcp-graveyard/UXP#1719 - Make <menuitem> pref-controlled and disable by default.
Resolves #1719
2021-01-25 23:18:58 +00:00
Matt A. Tobin 9f5326587c Issue mcp-graveyard/UXP#1390 - Clean up presentation api leftovers 2021-01-25 17:38:49 -05:00
Moonchild ec2b6aab8a Issue mcp-graveyard/UXP#1319 - Resolve RELEASE_OR_BETA questions in all.js
- Enabled SVG transform-box property. I've tested this extensively including the
bug that prevented Mozilla from shipping until 55 which does not seem to apply
to us (most likely a stylo issue). Should be good to go.
- Moved the getRootNode pref to a better place (no change)
- Enabled inputmode property for forms. This is n/a for physical keyboards but
should improve the experience for soft keyboards that can pop up various forms
of input (e.g. numeric) depending on the mode indicated. According to BZ this is
feature complete at our level but was problematic for Android which we don't
have support for anyway.
- Restricted crashing on insecure input of text to debug only.
- Enabled shutting down the async OSFile worker if not used for 30 seconds to
be more conscientious about resource use.
- Enabled blocking of autoplay of media in the background by default, since it
is a saner default to have for the OOBE and is commonly a desired setting by
users (see forum).
- Disabled the storage manager API by default. This fine-grained control over
stored website data is already handled by various extensions and we don't have
the front-end support for it. Assuming this was necessary for Mozilla due to
limited access of WebExtensions to this kind of data.
2021-01-23 12:42:53 +00:00
Moonchild 2982d95d1d Issue mcp-graveyard/UXP#1630 - Enable W3C pointer events by default.
Resolves #1630
2021-01-19 10:04:24 +00:00
Moonchild 0699402d4b Master merge
This merges master into release to replace Redwood.

# Conflicts:
#	CLOBBER
#	build/moz.configure/old.configure
#	config/milestone.txt
#	config/moz.build
#	config/system-headers
#	dom/abort/AbortController.cpp
#	dom/abort/AbortController.h
#	dom/abort/AbortSignal.cpp
#	dom/abort/AbortSignal.h
#	dom/abort/moz.build
#	dom/abort/tests/moz.build
#	dom/animation/KeyframeEffect.cpp
#	dom/base/CustomElementRegistry.cpp
#	dom/base/DocGroup.cpp
#	dom/base/ResizeObserverController.cpp
#	dom/base/ResizeObserverController.h
#	dom/base/nsContentUtils.cpp
#	dom/base/nsContentUtils.h
#	dom/base/nsDocument.cpp
#	dom/base/nsIDocument.h
#	dom/fetch/FetchObserver.cpp
#	dom/fetch/FetchObserver.h
#	dom/heapsnapshot/AutoMemMap.cpp
#	dom/heapsnapshot/AutoMemMap.h
#	dom/heapsnapshot/CoreDump.proto
#	dom/heapsnapshot/HeapSnapshot.cpp
#	dom/heapsnapshot/HeapSnapshotTempFileHelperChild.h
#	dom/heapsnapshot/HeapSnapshotTempFileHelperParent.cpp
#	dom/heapsnapshot/HeapSnapshotTempFileHelperParent.h
#	dom/heapsnapshot/PHeapSnapshotTempFileHelper.ipdl
#	dom/heapsnapshot/moz.build
#	dom/heapsnapshot/tests/gtest/moz.build
#	dom/html/nsGenericHTMLElement.h
#	dom/media/platforms/PlatformDecoderModule.h
#	dom/media/platforms/moz.build
#	dom/script/ModuleLoadRequest.cpp
#	dom/script/ModuleLoadRequest.h
#	dom/script/ModuleScript.cpp
#	dom/script/ModuleScript.h
#	dom/script/ScriptElement.cpp
#	dom/script/ScriptElement.h
#	dom/script/ScriptLoadHandler.cpp
#	dom/script/ScriptLoadHandler.h
#	dom/script/ScriptLoader.cpp
#	dom/script/ScriptLoader.h
#	dom/script/ScriptSettings.cpp
#	dom/script/ScriptSettings.h
#	dom/script/nsIScriptElement.h
#	dom/script/nsIScriptLoaderObserver.idl
#	dom/webidl/HTMLLinkElement.webidl
#	gfx/gl/moz.build
#	gfx/graphite2/src/moz.build
#	gfx/layers/moz.build
#	js/ductwork/inspector/moz.build
#	js/ductwork/moz.build
#	js/src/gc/Heap.h
#	js/src/moz.build
#	js/src/vm/UnboxedObject-inl.h
#	js/src/vm/UnboxedObject.cpp
#	js/src/vm/UnboxedObject.h
#	layout/base/crashtests/crashtests.list
#	layout/build/moz.build
#	layout/generic/AspectRatio.h
#	layout/generic/crashtests/crashtests.list
#	layout/reftests/bidi/reftest-stylo.list
#	layout/reftests/reftest-stylo.list
#	layout/reftests/table-bordercollapse/reftest.list
#	layout/reftests/writing-mode/reftest-stylo.list
#	layout/style/StyleSheet.cpp
#	layout/style/nsRuleNode.cpp
#	layout/style/nsStyleStruct.cpp
#	layout/style/nsStyleStruct.h
#	modules/libpref/init/all.js
#	nsprpub/pr/src/linking/prlink.c
#	parser/html/java/htmlparser/src/nu/validator/htmlparser/impl/AttributeName.java
#	parser/html/java/htmlparser/src/nu/validator/htmlparser/impl/ElementName.java
#	parser/html/nsHtml5AtomList.h
#	parser/html/nsHtml5AttributeName.cpp
#	parser/html/nsHtml5AttributeName.h
#	parser/html/nsHtml5ElementName.cpp
#	parser/html/nsHtml5ElementName.h
#	parser/html/nsHtml5TreeBuilderCppSupplement.h
#	parser/htmlparser/nsElementTable.cpp
#	parser/htmlparser/nsHTMLTagList.h
#	security/nss/lib/nss/nss.h
#	security/nss/lib/softoken/pkcs11.c
#	security/nss/lib/softoken/softkver.h
#	security/nss/lib/util/nssutil.h
#	testing/web-platform/tests/tools/html5lib/html5lib/html5parser.py
#	testing/web-platform/tests/tools/html5lib/html5lib/treebuilders/_base.py
#	toolkit/modules/AppConstants.jsm
2021-01-19 08:08:18 +00:00
Matt A. Tobin 0478f11457 [Media] Enable AV1 by default if built 2021-01-18 14:56:32 -05:00
Moonchild 191a450e4c Issue mcp-graveyard/UXP#1715 - Handle errors when initializing print settings from the printer
fails due to a bad printer name or O.S. error.

Resolves #1715
2021-01-18 18:07:28 +00:00
Moonchild 88b4e50f68 Merge pull request 'Selectively enable and pref the DOM Web Animations API' (#1714) from 1689 into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1714
2021-01-18 09:41:05 +00:00
Moonchild 51f2f082ae Bump platform version for added features. 2021-01-16 14:29:01 +00:00
Moonchild 5c64022e95 Issue mcp-graveyard/UXP#1689 - Part 5: Enable DOM Animations API except the preffed-off parts.
This enables the DOM Animations API core functions with the exception of those
parts that are either unimplemented or not ready for use, which have been
preffed off in this issue's previous parts.

Also tag #1319 for enabling a previous RELEASE_OR_BETA shielded API.
2021-01-14 19:04:25 +00:00
Moonchild 18a7ad54f1 Issue mcp-graveyard/UXP#1689 - Part 4: Add a preference for {Document,Element}.getAnimations()
This is probably the last thing we will ship (if ever) since it needs the most
spec and implementation work for arbitrary use that is pretty far into a corner.
2021-01-14 17:43:44 +00:00
Moonchild 231dd4e890 Issue mcp-graveyard/UXP#1689 - Part 3: Add a preference for animation composite modes.
This feature should not be shipped until the various definitions of addition for
each additive property are properly specified and then implemented accordingly.

Unlike other patches in this series, compositing is not frequently used
internally so there is no need to enable this by default for chrome callers.
2021-01-14 17:41:30 +00:00
Moonchild de389016cc Issue mcp-graveyard/UXP#1689 - Part 2: Add a preference for implicit keyframes
This preference controls whether authors are allowed to specify animations
without a 0% or 100% keyframe.

We intend to ship this but it isn't implemented yet (needs a follow-up) but this
preference acts as a safeguard in case we discover we need to disable it once
it's implemented.
2021-01-14 16:05:53 +00:00
Moonchild eab82cb4f9 Issue mcp-graveyard/UXP#1689 - Part 1: Add pref for DOM Animation timelines API
Default false, no intent to ship for web content. Always enabled for Chrome.
2021-01-14 14:46:52 +00:00
Moonchild ff58684f4f Merge pull request 'Add scrollbar-width CSS spec' (#1707) from 1705 into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1707
2021-01-13 00:25:23 +00:00
Moonchild 11c8b95f6f Issue mcp-graveyard/UXP#1705 - Part 9b: Revert overzealous changes on Mac (cocoa). 2021-01-12 13:07:40 +00:00
Matt A. Tobin 7b8c4e37a1 Issue mcp-graveyard/UXP#1624 - Fix slot access intrinsics for objects with > 16 reserved slots
Also flips ion inlining pref back on
2021-01-11 09:31:44 -05:00
Moonchild aaf3c930be Issue mcp-graveyard/UXP#1705 - Part 9: Implement scrollbar-width:thin on Mac (cocoa). 2021-01-09 23:21:36 +00:00
Moonchild 431fb909dd Issue mcp-graveyard/UXP#1705 - Part 8: Implement scrollbar-width:thin on GTK. 2021-01-09 23:20:31 +00:00
Moonchild 0d184276de Issue mcp-graveyard/UXP#1705 - Part 7: Implement scrollbar-width:thin on Windows. 2021-01-09 23:19:35 +00:00
Moonchild 9fc532c89a Issue mcp-graveyard/UXP#1710 - Check for triggering principal URI in FTP subresource check.
Resolves #1710
2021-01-09 19:19:39 +00:00
Moonchild 089032efb9 Issue mcp-graveyard/UXP#1705 - Part 6: Remove scrollbarbutton min-{width|height} rule from theme.
This would interfere with implementing thin scrollbars.

Almost all widgets provide a non-overridable size for scrollbar buttons, so it
makes no sense to specify min size for them. It is probably(?) a layout bug that
min size properties can override the value returned by GetMinimumWidgetSize
even if aIsOverridable is set to false, but removing this rule is simpler than
locating and fixing the issue in layout code ;)
2021-01-08 14:40:49 +00:00
Moonchild e3823a209a Issue mcp-graveyard/UXP#1705 - Part 5: Implement scrollbar-width:none for all target platforms. 2021-01-08 14:15:50 +00:00
Moonchild 644b2d6c61 Merge pull request 'Add modern FreeBSD support' (#1706) from OlCe1/UXP:FreeBSD-support-reformatted into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1706
2021-01-07 21:26:47 +00:00
Olivier Certner f03dc91b2f Revert "Issue mcp-graveyard/UXP#1699 - Part 3a: mozjemalloc: Memory barriers on 'malloc_initialized'"
This reverts commit f76695c1ce.

SUSv4 specifies that 'pthread_create' acts as a (full) memory barrier, so
barriers here are not necessary.
2021-01-07 20:28:40 +01:00
Olivier Certner 8c5bedcace Issue mcp-graveyard/UXP#1699 - Part 3c: mozjemalloc: FreeBSD: Ensure early initialization
This guarantees that initialization is done in a single-thread context.
2021-01-07 17:49:14 +01:00
Olivier Certner 565fdc78b8 Issue mcp-graveyard/UXP#1699 - Part 3b: mozjemalloc: Bootstrap allocator, early diversion for FreeBSD
Coded a simple memory allocator meant to be used during jemalloc bootstrap
(malloc_init_hard()). Although protected by "#ifdef __FreeBSD__", it is not
FreeBSD-specific: Any POSIX platform could use it.

Hook it so that it is used in place of jemalloc's own routines while
malloc_init_hard() is executing or memory for mutexes is being
allocated. Currently, 'malloc', 'calloc', '*memalign' and 'free' are diverted
during init or lock initializations.

Details are quite complex, see the big comment block starting with "There are
several problematic interactions between FreeBSD's libthr and this jemalloc."
for more explanations.

Also replaced ad-hoc BSD code to determine the number of CPUs with 'sysconf',
which is POSIX-compliant (and supported on modern BSDs).
2021-01-07 17:49:14 +01:00
Olivier Certner 1ca718a1c3 Issue mcp-graveyard/UXP#1699 - Part 3a: mozjemalloc: Memory barriers on 'malloc_initialized'
The barriers are here to make sure that setting 'malloc_initialized' at end of
init must be noticed later by any thread running on a different core. They are
in theory necessary in the absence of an explicit pthread lock.

What could happen is that the thread doing the initialization later spawns
other threads that could not have the updated 'malloc_initialized' value,
leading to a second initialization. This is dependent on whether OSes force a
full memory barrier before the new thread is run, which I don't know, and don't
want to bother.

This was done for FreeBSD only, for the sake of robustness. In theory, this
would be needed on Windows too.
2021-01-07 17:34:03 +01:00
Olivier Certner f611efa8a7 Issue mcp-graveyard/UXP#1699 - Part 2: libevent: Remove 'evutil_secure_rng_add_bytes'
In fact, this is a security threat.

This function calls 'arc4random_addrandom', which was removed from the
reference implementation 7 years go [1], on the ground that this was in fact an
internal interface which is almost impossible to use correctly. This update has
since then been propagated to other implementations (e.g., FreeBSD, IllumOS,
Android).

Do this for all platforms, since 'evutil_secure_rng_add_bytes' is not even used
in the current tree, and for the reason stated above, should never be.

Related bugs at Mozilla and libevent: Links [2] and [3] below.

[1] http://marc.info/?l=openbsd-cvs&m=138238762705209&w=2
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=931354
[3] https://sourceforge.net/p/levent/bugs/320/
2021-01-07 17:02:06 +01:00
Olivier Certner b11b78ba5a Issue mcp-graveyard/UXP#1699 - Part 1: python/psutil: Support recent FreeBSD versions
'sysctl' interface to currently opened connections changed in FreeBSD 12.

Drop support for FreeBSD < 9, these are very old and unsupported versions.
2021-01-07 17:02:05 +01:00
Moonchild b03e7dd0a9 Issue mcp-graveyard/UXP#1705 - Part 4: Add scrollbar-width CSS keyword to CSS parser.
This should be all parts needed to add a brand new enum keyword including
getting the computed style from it...
2021-01-06 23:57:26 +00:00
Moonchild 896ef58fa3 Issue mcp-graveyard/UXP#1705 - Part 3: Rename ScrollbarStyles to ScrollStyles.
ScrollbarStyles contains values of overflow, (over)scroll-behavior, etc.
The only one which is marginally related to scroll _bars_ is overflow, which can
be used to hide scrollbar (by making an element not scrollable) or enforce the
scrollbar to display.

It makes more sense to be called ScrollStyles as it's mainly concerning behavior
of scrolling, not scrollbars. Also, with the addition of scrollbar width
properties, the current name can be confusing.
2021-01-06 16:31:36 +00:00
Moonchild 210f946557 Issue mcp-graveyard/UXP#1705 - Part 2: Add a ShowScrollbar enum to be used in ScrollReflowInput.
Overflow properties have two purposes:
1. controlling whether the scrollbar should be shown;
2. controlling whether the content is scrollable.

However, with the scrollbar-width property being added, scrollability and
presence of a scrollbar are no longer tied together.
This patch makes a separation between the value of overflow and the presence of
a scrollbar by making it clear that for ScrollReflowInput, we only care about
whether scrollbar should be shown.
This should make it easier to write the logic involving presence of the
scrollbar based on webdev choice.
2021-01-06 12:48:38 +00:00
Moonchild 7aaa477df1 Issue mcp-graveyard/UXP#1705 - Part 1: Rename nsChangeHint_CSSOverflowChange to *ScrollbarChange.
Prepare for scrollbar-width which should trigger the same kind of change.
2021-01-06 10:35:21 +00:00
Moonchild 6b7d6ec029 Merge branch '61' 2021-01-04 11:29:47 +00:00
Matt A. Tobin 5577e29665 Issue mcp-graveyard/UXP#61 - Add missing external symbols for gkmedias when WebRTC is built 2021-01-04 03:43:58 -05:00
Matt A. Tobin a18c50a861 Issue mcp-graveyard/UXP#61 - Add missing external symbol cubeb_set_log_callback to gkmedias symbols.def 2021-01-03 23:41:17 -05:00
Matt A. Tobin 28a1a6653f Issue mcp-graveyard/UXP#61 - Add configure option for non-windows platforms
Windows will ALWAYS have this enabled but we eventually want all target operating systems to use this as well but that will require more work
2021-01-03 23:40:35 -05:00
Moonchild 4ecf2fe5bf Issue mcp-graveyard/UXP#61 - Place Skia in libxul
Skia does some nasty things that break with DLL calls like having virtual dtors
without a body definition (and it's honestly surprising that it even builds to
begin with the way it's done, but apparently they use some linking symbol voodoo
to work around that in dependent classes).
Not wanting to have to pull Google code apart to try and fix that for something
we're only using for canvas anyway, it's better to just let Skia reside in
libxul instead.
2021-01-03 21:45:04 +00:00
Moonchild aa5e61b256 Issue mcp-graveyard/UXP#61 - Add missing #endif in symbols file 2021-01-03 21:41:19 +00:00
Matt A. Tobin fcc497ba5c [NSS hotpatch] Hard disable AVX2 in NSS Build System
This should be ported to the NSS repo
2021-01-03 03:11:22 -05:00
Moonchild 1e0305f508 Redundant code path cleanup (#1702)
Remove various obsolete configure options.
Remove Adjust SDK install tracking filth.
Remove redundant code paths in old-configure
This also optimizes linker use
Remove redundant conditional blocks.
Rewrite span.h without constexpr use.
2021-01-02 19:27:13 +00:00
Moonchild 61a900f292 Issue mcp-graveyard/UXP#61 - Reinstate buildability with shared gkmedias dll
This fully works for splitting gkmedias.dll back out from xul with one exception
which is Skia throwing undefined externals when linking gkmedias.
2021-01-02 13:35:39 +00:00
Moonchild da87b0d49f Issue mcp-graveyard/UXP#1053 - Part 2b: Remove android from /layout reftests
Also cleans up some other obsolete checks and stylo reftest lists.
2020-12-31 22:46:09 +00:00
Moonchild 9a42c7d284 Issue mcp-graveyard/UXP#1053 - Part 3b: Remove AndroidSurfaceTexture and Android media decoder
interface.
2020-12-27 13:11:19 +00:00
Moonchild e1934e11bc Issue mcp-graveyard/UXP#1053 - Part 3a: Remove Android conditionals from /gfx 2020-12-27 06:58:56 +00:00
Moonchild a32b4e6d66 Issue mcp-graveyard/UXP#1053 - Part 2a: Remove android from /layout (partial)
This removes android code from base, build, forms, generic, inspector, style,
printing, tools and xul.
2020-12-26 10:16:55 +00:00
Moonchild b79ade2fcb Issue mcp-graveyard/UXP#1053 - Part 1c: Remove references to mobile/android targets and paths 2020-12-25 23:29:47 +00:00
Moonchild a70cd27b47 Issue mcp-graveyard/UXP#1681 - Hard-code FLAC media type association for .flac
We don't support AAC outside of OMX at the moment, so oops.
2020-12-24 13:35:26 +00:00
Moonchild 387c8ac20c Revert "Issue mcp-graveyard/UXP#1681 - Hard-code FLAC and AAC media type associations for .flac and .aac"
This reverts commit a8e90975d0.
2020-12-24 13:34:22 +00:00
Moonchild b293eb0299 Issue mcp-graveyard/UXP#1681 - Hard-code FLAC and AAC media type associations for .flac and .aac 2020-12-24 13:30:53 +00:00
Moonchild bece78bbd3 Clobber for NSS update. 2020-12-23 22:24:08 +00:00
Moonchild cf767fe7f3 Issue mcp-graveyard/UXP#1693 - Additional configuration for NSS lib update.
The Seed and RC2 components are completely obsolete, so we shouldn't build them.
AVX2 for Chacha20-Poly1305 would fall outside of our platform sysreqs, and has a
build system issue with non-MSVC flags being passed (needs more research, also a
recent change around NSS 3.53 when the makefile destruction happened)
2020-12-23 19:45:11 +00:00
Moonchild bab3256f70 Issue mcp-graveyard/UXP#1693 - Update NSS to 3.59.1.1
This updates to MoonchildProductions/NSS@bd49b2b88 in the repo created for our
consumption of the library.
2020-12-23 19:02:52 +00:00
Moonchild 66150f9833 Issue mcp-graveyard/UXP#1693 - Update NSPR to 4.29 2020-12-23 19:01:09 +00:00
Moonchild da4852b400 Issue mcp-graveyard/UXP#1701 - Implement Intl.PluralRules API 2020-12-22 20:32:56 +00:00
Moonchild 63cad8e472 Issue mcp-graveyard/UXP#1700 - Apply background color instead of inset shadow for findbar input.
This changes the toolkit theme for Linux and Windows (Mac already did this) to
style the input textbox on the findbar with -moz-appearance:none so as to give
us styling control (as opposed to using a native widget style) and apply a
neutral style to it.
Also ensures Mac remains readable in case of poorly contrasting text.
2020-12-21 16:24:37 +00:00
Moonchild 18913db9b9 Revert "Issue mcp-graveyard/UXP#1686 - Align a keybinding definition with the others"
This reverts commit 85dc118aac.
2020-12-20 19:48:50 +00:00
Moonchild 26177255b9 Merge pull request 'Reinstate the performance timing code removed in error' (#1698) from adesh/UXP:fix-performace-api into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1698
2020-12-16 15:36:19 +00:00
adesh 06959459d8 Issue mcp-graveyard/UXP#1697 - Reinstate the performance timing code removed in error.
This was a fallout from pull request #929.
2020-12-16 06:31:31 -05:00
Moonchild 07c9bbc397 Merge branch 'redwood' into release 2020-12-16 07:42:37 +00:00
Moonchild 84e620ff9b Revert "Issue mcp-graveyard/UXP#1695 - Add clamping to websocket polling timeouts."
As of [da0c073a7] we no longer need this workaround because the issue is avoided
with proper sleep/wake logic restored.

This reverts commit 2fa993b563.
2020-12-16 07:42:02 +00:00
Moonchild d7dad214d1 Issue mcp-graveyard/UXP#1695 - Restore Sleep/Wake timer that was erroneously removed.
This was fallout from PR #929 for Issue mcp-graveyard/UXP#21
2020-12-16 07:41:43 +00:00
Moonchild eb4f40d054 Revert "Issue mcp-graveyard/UXP#1695 - Add clamping to websocket polling timeouts."
As of [da0c073a7] we no longer need this workaround because the issue is avoided
with proper sleep/wake logic restored.

This reverts commit 2fa993b563.
2020-12-16 06:42:42 +00:00
Moonchild b3f7682511 Issue mcp-graveyard/UXP#1695 - Restore Sleep/Wake timer that was erroneously removed.
This was fallout from PR #929 for Issue mcp-graveyard/UXP#21
2020-12-16 06:39:51 +00:00
Moonchild 946cdfa88f Merge branch 'redwood' into release 2020-12-15 15:09:30 +00:00
Moonchild 7e93c88c20 [toolkit] Handle corner case confusion of downloaded files without extension.
See code comment for details.
2020-12-15 13:39:34 +00:00
Moonchild 0d5fc1efb8 Issue mcp-graveyard/UXP#1696 - Propagate flex sizes to the table wrapper
This avoids overlapping of table styled elements inside flexboxes as used on
some websites.

Resolves #1696
2020-12-15 13:39:19 +00:00
Moonchild 5d17a30ffe [network] Update port blacklist.
See BZ bugs 1674735, 1677047, 1677940 and 1676868 for details.
2020-12-15 13:39:01 +00:00
Moonchild 862c347a80 [toolkit] Handle corner case confusion of downloaded files without extension.
See code comment for details.
2020-12-15 11:33:29 +00:00
Moonchild 502f4a1c63 Issue mcp-graveyard/UXP#1696 - Propagate flex sizes to the table wrapper
This avoids overlapping of table styled elements inside flexboxes as used on
some websites.

Resolves #1696
2020-12-15 10:30:06 +00:00
Moonchild 20e6b61df5 [network] Update port blacklist.
See BZ bugs 1674735, 1677047, 1677940 and 1676868 for details.
2020-12-15 09:04:21 +00:00
Moonchild 427e2dbf0c Issue mcp-graveyard/UXP#1695 - Add clamping to websocket polling timeouts. 2020-12-13 18:14:40 +00:00
Moonchild db24956438 Revert "Issue mcp-graveyard/UXP#1391 - Disable DOM Filesystem/dirpicker APIs by default."
This reverts commit 45a976a5f1.
2020-12-13 18:14:22 +00:00
Moonchild 2544e90d3d Issue mcp-graveyard/UXP#1695 - Fix socket timeout logic. 2020-12-13 18:14:12 +00:00
Moonchild 1a2387e5f0 Issue mcp-graveyard/UXP#1694 - Part 2: Use scriptabledateformat for Update History display. 2020-12-13 18:14:00 +00:00
Moonchild 1e56a96d8c Issue mcp-graveyard/UXP#1694 - Part 1: Use scriptabledateformat for the Cookie Accept dialog. 2020-12-13 18:13:49 +00:00
Moonchild 02cd79f1fa Issue mcp-graveyard/UXP#1624 - flip the inlining pref.
The default is now set to the more stable but slower global setting.
2020-12-13 18:13:39 +00:00
Moonchild ad6939ea2f Nuke erroneously added vim line. 2020-12-13 18:13:28 +00:00
Moonchild 9d62ed1e15 Issue mcp-graveyard/UXP#1624 - Make ion inlining optimizations a pref.
This also adds it to JS_SetGlobalJitCompilerOption()
2020-12-13 18:13:03 +00:00
Moonchild dd3d6df6fb Issue mcp-graveyard/UXP#1695 - Add clamping to websocket polling timeouts. 2020-12-12 12:41:26 +00:00
Moonchild 330b0524f8 Revert "Issue mcp-graveyard/UXP#1391 - Disable DOM Filesystem/dirpicker APIs by default."
This reverts commit 45a976a5f1.
2020-12-08 17:26:30 +00:00
Moonchild 7e5d181092 Issue mcp-graveyard/UXP#1695 - Fix socket timeout logic. 2020-12-08 17:19:01 +00:00
Moonchild f02996d369 Issue mcp-graveyard/UXP#1694 - Part 2: Use scriptabledateformat for Update History display. 2020-12-04 16:41:24 +00:00
Moonchild fabbae0f71 Issue mcp-graveyard/UXP#1694 - Part 1: Use scriptabledateformat for the Cookie Accept dialog. 2020-12-04 16:37:02 +00:00
Moonchild ce5ecb8dce Issue mcp-graveyard/UXP#1624 - flip the inlining pref.
The default is now set to the more stable but slower global setting.
2020-12-03 18:33:35 +00:00
Moonchild dddf5cdf02 Nuke erroneously added vim line. 2020-12-03 17:52:32 +00:00
Moonchild 68a53ae641 Issue mcp-graveyard/UXP#1624 - Make ion inlining optimizations a pref.
This also adds it to JS_SetGlobalJitCompilerOption()
2020-12-03 13:56:36 +00:00
Moonchild c73eebf2f8 Issue mcp-graveyard/UXP#1624 - Globally disable inlining optimizations in the JS JIT compiler. 2020-12-02 07:21:27 +00:00
Brian Smith 4e98b9c870 Issue mcp-graveyard/UXP#1690 - Part 2: Update MacOS Blocklist support from 10.13 to 11.0.
Changes based on Mozilla bug 1678061.
2020-12-02 07:21:03 +00:00
Brian Smith 2e1be2525e Issue mcp-graveyard/UXP#1690 - Part 1: Fix MacOS version detection above 10.15.
Changes based on Mozilla bug 1616404 but supporting back to 10.7.
2020-12-02 07:20:45 +00:00
Moonchild 48c7a2bd54 Clobber for NSS update. 2020-12-02 07:20:26 +00:00
Moonchild 4eb1aa2fe2 [NSS] Version and build bump 2020-12-02 07:20:16 +00:00
Moonchild 5919056476 [NSS] Update root certificates. 2020-12-02 07:20:04 +00:00
Moonchild 705ef443b7 Issue mcp-graveyard/UXP#1684 - Move global user-agent override to networking component.
Since this is a http protocol networking feature, it belongs in the networking
branch of our preferences.
2020-12-02 07:19:17 +00:00
Moonchild 09cb875f3a Merge branch 'nss-patch-work' 2020-12-01 22:47:40 +00:00
Moonchild 3aa3104201 Issue mcp-graveyard/UXP#1624 - Globally disable inlining optimizations in the JS JIT compiler. 2020-12-01 22:46:55 +00:00
Moonchild a5e71b6cdc Revert "Issue mcp-graveyard/UXP#1624 - Exclude function scopes from Ion compilation."
This reverts commit bb31c1c65e.
2020-12-01 22:39:36 +00:00
Moonchild b2ab495ae2 Merge pull request 'Fix macOS version detection above 10.15 and update blocklist support to 11.0' (#1692) from dbsoft/UXP:Big_Sur_Version into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1692
2020-12-01 22:27:41 +00:00
Brian Smith c14f07d339 Issue mcp-graveyard/UXP#1690 - Part 2: Update MacOS Blocklist support from 10.13 to 11.0.
Changes based on Mozilla bug 1678061.
2020-12-01 15:46:38 -06:00
Moonchild 00e3d66bd3 Clobber for NSS update. 2020-12-01 15:33:00 +00:00
Moonchild b3111d6770 [NSS] Version and build bump 2020-12-01 14:20:15 +00:00
Moonchild 54f59ab88d [NSS] Update root certificates. 2020-12-01 14:19:59 +00:00
Moonchild b6051a2735 Issue mcp-graveyard/UXP#1624 - Exclude function scopes from Ion compilation.
This seems to work around the problem with the compiled code stack for in-line
declared JS module code. Not optimal, for sure, but better than having to kill
Ion compilation outright.
2020-11-30 16:53:49 +00:00
Moonchild e85ef44b34 Revert "Issue mcp-graveyard/UXP#1691 - Part 1: Provide a way of associating a private value with a script"
This reverts commit 15914ec578.
2020-11-28 10:18:10 +00:00
Moonchild d218beb640 Issue mcp-graveyard/UXP#1691 - Part 1: Provide a way of associating a private value with a script
or module.

This is a prerequisite for dynamic import
2020-11-27 15:47:49 +00:00
Moonchild b267ce3a5e Issue mcp-graveyard/UXP#1684 - Move global user-agent override to networking component.
Since this is a http protocol networking feature, it belongs in the networking
branch of our preferences.
2020-11-27 12:58:02 +00:00
Brian Smith 72c6567e04 Issue mcp-graveyard/UXP#1690 - Part 1: Fix MacOS version detection above 10.15.
Changes based on Mozilla bug 1616404 but supporting back to 10.7.
2020-11-23 08:18:34 -06:00
Matt A. Tobin 78f96681b6 Issue mcp-graveyard/UXP#1676 - Follow-up: Put js/src (including vm), jit, and wasm back into unified sources.
Function template inflation in intermediate code. The linker problem we hit with the corrupt file was because there were too many function descriptors and relation in the .lib
2020-11-20 12:37:11 -05:00
Moonchild 5d81d077bb Merge branch 'redwood' into release 2020-11-20 09:47:03 +00:00
Moonchild 1d2bdb9daf [webrtc] Only init WebRtcAec callbacks once 2020-11-19 22:47:40 +00:00
Werner Lemberg af9d738355 [sfnt] Fix heap buffer overflow.
This is CVE-2020-15999.

* src/sfnt/pngshim.c (Load_SBit_Png): Test bitmap size earlier.
2020-11-19 22:47:19 +00:00
Henri Sivonen f3d6be5be9 [dom] Remove attributes from descendants when setting sanitized style.
This avoids a number of problems with incomplete sanitation.
2020-11-19 22:47:05 +00:00
Moonchild 3ed006c46f [http] Use a copy of nsHttpConnectionInfo.
The root cause in this bug is that the connection info used by
'SpdyConnectTransaction' is the same instance as the connection info in
'nsHttpTransaction', so we should clone it and let 'SpdyConnectTransaction' use
the cloned one.
2020-11-19 22:46:51 +00:00
Moonchild 7ccc788f76 [xpcom] Don't use realloc for shrinking nsTArrays when allowRealloc is false.
The original patch handled the grow case but not the shrink case. When the
current and new allocation sizes are in different size classes, jemalloc's
realloc will move the allocation when shrinking, not just truncate the existing
one.

Based on work by Jon Coppeard.
2020-11-19 22:46:22 +00:00
Henri Sivonen be9c0dee9e [parser] Make the refcount of nsHtml5OwningUTF16Buffer atomic. 2020-11-19 22:46:06 +00:00
David Major dd8ac3cd77 [xpcom] Fix GetWindowsFolder storage 2020-11-19 22:45:53 +00:00
Moonchild a2ab6596ae [gfx][Skia] Hold mutex while accessing shared SkImage data. 2020-11-19 22:45:34 +00:00
Alessio Vanni 26e0065a57 Issue mcp-graveyard/UXP#1686 - Align a keybinding definition with the others 2020-11-19 22:45:00 +00:00
Brian Smith 5ab50eb978 Issue mcp-graveyard/UXP#1667 - Part 3: Fix OpenGL load and runtime issues on Big Sur
This fix is included in NSPR 4.27 and Mozilla bug 1652330.
Also put a main thread check in the cocoa draw callback.
2020-11-19 22:44:41 +00:00
Brian Smith d04902856e Issue mcp-graveyard/UXP#1667 - Part 2: Add MacOS 11.0 Big Sur widget compatibility
This involves refactoring the vibrancy and OpenGL/Pixel rendering changes contained
in the following Mozilla meta bugs: 1496823 and 1491445
Also add Big Sur to the features tests and update popup menu look and feel based
on Mozilla bug 1656301.
2020-11-19 22:44:22 +00:00
Brian Smith a52bbbd480 Issue mcp-graveyard/UXP#1667 - Part 1: Define _pthread_self if it is not already defined in jemalloc 2020-11-19 22:44:09 +00:00
Moonchild 367cfb6806 [webrtc] Only init WebRtcAec callbacks once 2020-11-19 22:32:24 +00:00
Moonchild 577482ab2c Merge pull request 'Align a keybinding definition with the others' (#1687) from vannilla/UXP:align-key-definition into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1687
2020-11-19 20:40:43 +00:00
Werner Lemberg e83ac0f716 [sfnt] Fix heap buffer overflow.
This is CVE-2020-15999.

* src/sfnt/pngshim.c (Load_SBit_Png): Test bitmap size earlier.
2020-11-19 19:18:32 +00:00
Henri Sivonen 828efb4439 [dom] Remove attributes from descendants when setting sanitized style.
This avoids a number of problems with incomplete sanitation.
2020-11-19 19:06:03 +00:00
Moonchild 2497bf0499 [http] Use a copy of nsHttpConnectionInfo.
The root cause in this bug is that the connection info used by
'SpdyConnectTransaction' is the same instance as the connection info in
'nsHttpTransaction', so we should clone it and let 'SpdyConnectTransaction' use
the cloned one.
2020-11-19 18:19:29 +00:00
Moonchild e38a87e045 Merge pull request 'Resolve various issues on Big Sur' (#1685) from dbsoft/UXP:master into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1685
2020-11-19 18:03:34 +00:00
Moonchild adae06984c [xpcom] Don't use realloc for shrinking nsTArrays when allowRealloc is false.
The original patch handled the grow case but not the shrink case. When the
current and new allocation sizes are in different size classes, jemalloc's
realloc will move the allocation when shrinking, not just truncate the existing
one.

Based on work by Jon Coppeard.
2020-11-19 17:48:59 +00:00
Henri Sivonen 3ce8af5cb2 [parser] Make the refcount of nsHtml5OwningUTF16Buffer atomic. 2020-11-18 23:28:27 +00:00
David Major d0984dece7 [xpcom] Fix GetWindowsFolder storage 2020-11-18 22:21:22 +00:00
Moonchild 464374f90e [gfx][Skia] Hold mutex while accessing shared SkImage data. 2020-11-18 22:06:11 +00:00
Alessio Vanni 2c620a7498 Issue mcp-graveyard/UXP#1686 - Align a keybinding definition with the others 2020-11-18 21:57:00 +01:00
Moonchild e651d3fbf8 [UA] Change default compatibility mode version to 68.0
Since several entities have started to ban .9 versions, even if they are valid
ESR versions.
2020-11-18 10:59:33 +00:00
Matt A. Tobin a8dfd4ce61 Issue mcp-graveyard/UXP#251 - Move chrome packaging options to ac configure
Also adds options for new functionality in #1683
2020-11-18 10:59:16 +00:00
Moonchild 224a4065af [packager] Optimize archive accesses. 2020-11-18 10:58:48 +00:00
Moonchild 676dbc2ed6 Issue mcp-graveyard/UXP#1683 - Update libjar module. 2020-11-18 10:58:35 +00:00
Moonchild ea8640f1f6 Issue mcp-graveyard/UXP#1683 - Update Brotli lib to 1.0.9 2020-11-18 10:58:22 +00:00
Moonchild 4a90bb772e [libjar] Fix inflation logic.
This has been broken for 11 years. About time it's fixed.
Tag mcp-graveyard/UXP#1683
2020-11-18 10:58:08 +00:00
Moonchild 7b9926ea57 Issue mcp-graveyard/UXP#1682 - Remove vibrator DOM interface and support code. 2020-11-18 10:57:53 +00:00
Moonchild c7db7360e5 Issue mcp-graveyard/UXP#1391 - Disable DOM Filesystem/dirpicker APIs by default.
There don't seem to be any drawbacks to this; tested for the past month disabled
and there have been no issues with any sites visited. Adoption seems very low.
2020-11-18 10:55:12 +00:00
adesh 5e5c0b892b Issue mcp-graveyard/UXP#1280 - Follow-up: Get rid of HPKP pinning mode.
This was a leftover from HPKP removal.

Also remove a couple of unused variables from security/manager/ssl/nsSiteSecurityService.cpp.
2020-11-18 10:54:47 +00:00
Matt A. Tobin 29249f52b4 Bug 1466909 - Use AddLvalueReference for UniquePtr's operator*().
This is required for UniquePtr to accept <void>,
which is required for PseudoHandle = mozilla::UniquePtr<T, JS::FreePolicy>;
in turn for mozilla::SegmentedVector<PseudoHandle<void>> uniquePtrArena_;

Tag mcp-graveyard/UXP#1679
2020-11-18 10:54:19 +00:00
Matt A. Tobin fadba1fb0c Bug 1328948 - Add is(), as() to Cell.
Tag mcp-graveyard/UXP#1679
2020-11-18 10:54:04 +00:00
athenian200 53ea4e7101 Issue mcp-graveyard/UXP#1673 - Part 5: Fix brace style and missed -moz-tab-size reference. 2020-11-18 10:51:58 +00:00
athenian200 03b2d632ea Issue mcp-graveyard/UXP#1673 - Part 4: Unprefix -moz-tab-size.
While we do fail a couple of tests, the other mainstream browsers also fail them and I think our implementation of tab-size is good enough to be unprefixed at this point. Having this patch also makes testing easier.
2020-11-18 10:51:45 +00:00
athenian200 d4e485c8ea Issue mcp-graveyard/UXP#1673 - Part 3: Bring minimum tab advance up to spec.
This provides a clearer rule for the minimum tab advance that brings us to alignment with the spec and both major browsers.
2020-11-18 10:51:34 +00:00
athenian200 37d3b7531f Issue mcp-graveyard/UXP#1673 - Part 2: Make tab-size animatable and fix typos.
There were a few typos in the previous patch and this patch also makes tab-size animatable which didn't really require much of a change at all.
2020-11-18 10:51:22 +00:00
athenian200 64f67bb23d Issue mcp-graveyard/UXP#1673 - Part 1: Allow tab-size to accept <length>.
Currently -moz-tab-size only accepts <number> values, and both Chrome and Firefox currently support <length> values and have for some time now. So with this you would be able to support sizes in px or em, for instance. This was implemented in Firefox 53 and was trivial to backport.
2020-11-18 10:51:09 +00:00
Brian Smith c091f553ba Issue mcp-graveyard/UXP#1667 - Part 3: Fix OpenGL load and runtime issues on Big Sur
This fix is included in NSPR 4.27 and Mozilla bug 1652330.
Also put a main thread check in the cocoa draw callback.
2020-11-17 06:52:06 -06:00
Matt A. Tobin 3dbef8ad47 Merge pull request 'Get rid of HPKP pinning mode leftovers' (#1680) from adesh/UXP:cleanup-hpkp-pinning-mode into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1680
2020-11-16 17:54:58 +00:00
Matt A. Tobin 04767b8e0b Issue mcp-graveyard/UXP#251 - Move chrome packaging options to ac configure
Also adds options for new functionality in #1683
2020-11-16 12:47:54 -05:00
Brian Smith 34e4da028e Issue mcp-graveyard/UXP#1667 - Part 2: Add MacOS 11.0 Big Sur widget compatibility
This involves refactoring the vibrancy and OpenGL/Pixel rendering changes contained
in the following Mozilla meta bugs: 1496823 and 1491445
Also add Big Sur to the features tests and update popup menu look and feel based
on Mozilla bug 1656301.
2020-11-16 07:23:44 -06:00
Brian Smith 92eb47ecc1 Issue mcp-graveyard/UXP#1667 - Part 1: Define _pthread_self if it is not already defined in jemalloc 2020-11-16 07:15:29 -06:00
Moonchild 87ea728d66 [UA] Change default compatibility mode version to 68.0
Since several entities have started to ban .9 versions, even if they are valid
ESR versions.
2020-11-16 11:38:02 +00:00
Moonchild 113a082c00 Revert "Issue mcp-graveyard/UXP#1684 - Remove global UA override preference and supporting code."
This reverts commit 18df01eb54.

Backed out for devtools breakage.
2020-11-15 23:11:24 +00:00
Moonchild f2f3597ca8 Issue mcp-graveyard/UXP#1684 - Remove global UA override preference and supporting code.
Resolves #1684
2020-11-15 16:24:47 +00:00
Moonchild a8bc127061 Revert "[toolkit] Add optimized UI code format option"
This reverts commit 511ac54cab.
2020-11-15 12:49:30 +00:00
Moonchild f6c08e0255 [toolkit] Add optimized UI code format option 2020-11-14 15:41:21 +00:00
Moonchild 7a32df208f [packager] Optimize archive accesses. 2020-11-14 01:03:27 +00:00
Moonchild 0f7a9c4b34 Issue mcp-graveyard/UXP#1683 - Update libjar module. 2020-11-13 16:00:06 +00:00
Moonchild 5b80a4ab07 Issue mcp-graveyard/UXP#1683 - Update Brotli lib to 1.0.9 2020-11-13 15:59:29 +00:00
Moonchild ed433ba947 [libjar] Fix inflation logic.
This has been broken for 11 years. About time it's fixed.
Tag mcp-graveyard/UXP#1683
2020-11-13 15:57:56 +00:00
Moonchild 980782c0d7 Issue mcp-graveyard/UXP#1682 - Remove vibrator DOM interface and support code.
Resolves #1682
2020-11-13 13:33:08 +00:00
Moonchild 10b469fc54 Issue mcp-graveyard/UXP#1391 - Disable DOM Filesystem/dirpicker APIs by default.
There don't seem to be any drawbacks to this; tested for the past month disabled
and there have been no issues with any sites visited. Adoption seems very low.
2020-11-13 10:09:36 +00:00
Moonchild 7cb4f14097 Issue mcp-graveyard/UXP#1679 - Part 2: Some small issues to address buildability.
- Explicitly |this| the Asserts in Cell.as<>
- Unified deprot in regexp-error.h
- Convert RegExpShared* inner() to a reinterpret_cast because for SOME reason
  .as<> no longer works after the reimport (which is a static cast)
2020-11-12 11:58:39 +00:00
adesh 461bc6002d Issue mcp-graveyard/UXP#1280 - Follow-up: Get rid of HPKP pinning mode.
This was a leftover from HPKP removal.

Also remove a couple of unused variables from security/manager/ssl/nsSiteSecurityService.cpp.
2020-11-10 23:07:22 -05:00
Matt A. Tobin c2071c2d6f Issue mcp-graveyard/UXP#1679 - Part 1: First pass account for some of the refactoring differences in regexp-shim.h
This is the patch Moonchild committed on the aborted branch before the plan was revised.
2020-11-09 21:19:45 -05:00
Matt A. Tobin 098838ebf4 Bug 1466909 - Use AddLvalueReference for UniquePtr's operator*().
This is required for UniquePtr to accept <void>,
which is required for PseudoHandle = mozilla::UniquePtr<T, JS::FreePolicy>;
in turn for mozilla::SegmentedVector<PseudoHandle<void>> uniquePtrArena_;

Tag mcp-graveyard/UXP#1679
2020-11-09 21:12:46 -05:00
Matt A. Tobin 2e71c682e6 Bug 1328948 - Add is(), as() to Cell.
Tag mcp-graveyard/UXP#1679
2020-11-09 21:10:53 -05:00
Matt A. Tobin c729e0559c Issue mcp-graveyard/UXP#1677 - Part 7: Add unicode/uniset.h to check_spidermonkey_style.py for some reason 2020-11-09 20:48:11 -05:00
Matt A. Tobin 2f77be11b7 Issue mcp-graveyard/UXP#1677 - Part 6: Implement NativeRegExpMacroAssembler for new regexp import based on irregexp/NativeRegExpMacroAssembler.cpp 2020-11-09 20:44:26 -05:00
Matt A. Tobin 0f2ea027e4 Issue mcp-graveyard/UXP#1677 - Part 5: "Simplify" regexp re-import process (and re-import from later revision)
I am going on record to say Mozilla are utter fucking assholes for pulling this as part of their progression.
2020-11-09 20:37:05 -05:00
Matt A. Tobin b332a7ce0d Issue mcp-graveyard/UXP#1677 - Part 4: Implement shim for regexp 2020-11-09 20:26:59 -05:00
Matt A. Tobin 55372b9d93 Issue mcp-graveyard/UXP#1677 - Part 3: Create shim definitions for V8-specific code in new regexp implementation 2020-11-09 20:20:18 -05:00
Matt A. Tobin e9cb44d153 Issue mcp-graveyard/UXP#1677 - Part 2: Add build files 2020-11-04 20:28:06 -05:00
Matt A. Tobin d004c9298a Issue mcp-graveyard/UXP#1677 - Part 1: Import new V8 regexp code with Mozilla's header modifications 2020-11-04 20:27:57 -05:00
Matt A. Tobin d2c0b6a7a0 Merge branch 'jsbuild-work' 2020-11-04 18:55:02 -05:00
Matt A. Tobin 7c40af0686 Issue mcp-graveyard/UXP#1676 - Part 21: Use js-cxxflags.mozbuild in testing code and js shell 2020-11-04 16:24:38 -05:00
Matt A. Tobin bc68570e1e Issue mcp-graveyard/UXP#1676 - Part 20: Split vtune sources out of js/src/moz.build 2020-11-04 15:03:42 -05:00
Matt A. Tobin 1de3a3f860 Issue mcp-graveyard/UXP#1676 - Part 19: Split ctypes sources out of js/src/moz.build 2020-11-04 14:59:00 -05:00
Matt A. Tobin 70f9afdd77 Issue mcp-graveyard/UXP#1676 - Part 18: Move and separate top level sources from vm sources in js/src/moz.build 2020-11-04 14:45:57 -05:00
Matt A. Tobin a1f7a201dd Issue mcp-graveyard/UXP#1676 - Part 17: Put remaining source files which have debug code ifdef'd behind MOZ_DEBUG 2020-11-04 14:38:12 -05:00
Matt A. Tobin 78beea2771 Issue mcp-graveyard/UXP#1676 - Part 16: Split WASM sources out of js/src/moz.build
Also puts WasmBinaryIterator.cpp which is debug code ifdef'd behind MOZ_DEBUG
2020-11-04 14:31:48 -05:00
Matt A. Tobin bd3bad43f1 Issue mcp-graveyard/UXP#1676 - Part 15: Split threading sources out of js/src/moz.build 2020-11-04 14:11:22 -05:00
Matt A. Tobin a5d5915249 Issue mcp-graveyard/UXP#1676 - Part 14: Split proxy sources out of js/src/moz.build 2020-11-04 13:59:16 -05:00
Matt A. Tobin 66ba5d2b30 Issue mcp-graveyard/UXP#1676 - Part 13: Split perf sources out of js/src/moz.build 2020-11-04 13:58:35 -05:00
Matt A. Tobin ac2bc49db7 Issue mcp-graveyard/UXP#1676 - Part 12: Split jit sources out of js/src/moz.build 2020-11-04 13:43:10 -05:00
Matt A. Tobin b0181237d1 Issue mcp-graveyard/UXP#1676 - Part 11: Split irregexp sources out of js/src/moz.build 2020-11-04 13:06:41 -05:00
Matt A. Tobin 89dbd3c9c2 Issue mcp-graveyard/UXP#1676 - Part 10: Split gc sources out of js/src/moz.build 2020-11-03 20:02:33 -05:00
Matt A. Tobin 0db436fe09 Issue mcp-graveyard/UXP#1676 - Part 9: Move DIRS down in js/src/moz.build 2020-11-03 19:08:56 -05:00
Matt A. Tobin e8a341ae46 Issue mcp-graveyard/UXP#1676 - Part 8: Fix up include for selfhosted.out.h 2020-11-03 19:07:51 -05:00
Matt A. Tobin 410d95078a Issue mcp-graveyard/UXP#1676 - Part 7: Split frontend sources out of js/src/moz.build 2020-11-03 17:37:32 -05:00
Matt A. Tobin ec58e1f808 Issue mcp-graveyard/UXP#1676 - Part 6: Split ds sources out of js/src/moz.build 2020-11-03 17:33:42 -05:00
Matt A. Tobin 7b58a1a87a Issue mcp-graveyard/UXP#1676 - Part 5: Split devtools sources out of js/src/moz.build 2020-11-03 17:09:00 -05:00
Matt A. Tobin f392da13fb Issue mcp-graveyard/UXP#1676 - Part 4: Split builtin sources out of js/src/moz.build 2020-11-03 16:57:05 -05:00
Matt A. Tobin 2e6a874ae0 Issue mcp-graveyard/UXP#80 - De-unify js/src
Three debug sources are producing link warnings and will be solved as Issue mcp-graveyard/UXP#1676 progresses.

This does not include JS Testing sources.
Specifically: js/src/gdb or js/src/jsapi-tests
2020-11-03 16:11:37 -05:00
Matt A. Tobin 71c28a9bf4 Issue mcp-graveyard/UXP#1676 - Part 3: Split DEFINES out of js/src/moz.build 2020-11-03 15:20:38 -05:00
Matt A. Tobin 2e8d80eaef Issue mcp-graveyard/UXP#1676 - Part 2: Split CFLAGS and CXXFLAGS directives out of js/src/moz.build 2020-11-03 14:20:26 -05:00
Matt A. Tobin 228d9aea76 Issue mcp-graveyard/UXP#1676 - Part 1: Split MozTesting directives out of js/src/moz.build 2020-11-03 14:19:03 -05:00
Moonchild 0d11d69015 [devtools] More gracefully (than a crash) handle stack capture failures. 2020-10-31 17:33:08 +01:00
Moonchild 032e66c0db [devtools] More gracefully (than a crash) handle stack capture failures. 2020-10-31 17:31:38 +01:00
Moonchild ff807cd0e4 Merge pull request 'Fix up -moz-tab-size and unprefix it.' (#1674) from athenian200/UXP:tab-size-length into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1674
2020-10-30 22:36:49 +00:00
athenian200 e97e5a046e Issue mcp-graveyard/UXP#1673 - Part 5: Fix brace style and missed -moz-tab-size reference. 2020-10-29 13:16:53 -05:00
athenian200 acb1b87e4f Issue mcp-graveyard/UXP#1673 - Part 4: Unprefix -moz-tab-size.
While we do fail a couple of tests, the other mainstream browsers also fail them and I think our implementation of tab-size is good enough to be unprefixed at this point. Having this patch also makes testing easier.
2020-10-28 14:17:51 -05:00
athenian200 04b4f74222 Issue mcp-graveyard/UXP#1673 - Part 3: Bring minimum tab advance up to spec.
This provides a clearer rule for the minimum tab advance that brings us to alignment with the spec and both major browsers.
2020-10-28 14:17:16 -05:00
athenian200 2df6c511c2 Issue mcp-graveyard/UXP#1673 - Part 2: Make tab-size animatable and fix typos.
There were a few typos in the previous patch and this patch also makes tab-size animatable which didn't really require much of a change at all.
2020-10-28 14:17:02 -05:00
athenian200 f75793bf47 Issue mcp-graveyard/UXP#1673 - Part 1: Allow tab-size to accept <length>.
Currently -moz-tab-size only accepts <number> values, and both Chrome and Firefox currently support <length> values and have for some time now. So with this you would be able to support sizes in px or em, for instance. This was implemented in Firefox 53 and was trivial to backport.
2020-10-28 14:16:42 -05:00
Moonchild 758e420a42 Issue mcp-graveyard/UXP#1656 - Nuke the remaining vim lines in UXP
Closes #1656
2020-10-26 19:09:16 +00:00
Moonchild f44dc18d2f Merge branch 'redwood' into release 2020-10-24 10:42:23 +00:00
Moonchild a966fcd635 Update docs for change of repository host.
Rename MCP back to MoonchildProductions.
2020-10-24 10:40:09 +00:00
Moonchild e3aa77788d Update docs for change of repository host. 2020-10-24 10:39:57 +00:00
Moonchild 8fb80b9cf0 [layout] Re-order rowgroups if reflowing.
This logic was missing for tfoot. See existing code in second hunk.
2020-10-24 10:39:36 +00:00
Moonchild dfa2259ebd [layout] Avoid negative availSize.BSizes in paginated table reflow. 2020-10-24 10:39:16 +00:00
Moonchild 42166bc63a Bump platform version for added features. 2020-10-24 10:39:03 +00:00
Moonchild aeeaf8526c [netwerk] Make nsIncrementalStreamLoader's GetNumBytesRead threadsafe.
This prevents a potential race and simplifies the code a bit by keeping the
bytes read separate instead of using mData, which is modified from another
thread from OnDataAvailable.
Relaxed atomics are fine for these, since they don't guard any memory.
2020-10-24 10:38:50 +00:00
Moonchild 6d4b5eb11a [DOM] When failing to create a channel and an image request, make sure to set
the image blocking status appropriately.

This is the same status as we do for known no-data protocols and ensures we
treat these two cases the same.
2020-10-24 10:38:35 +00:00
Moonchild 3d4b9aa885 [DOM Fetch] Detect broken pipes and propagate that write error to the caller. 2020-10-24 10:38:21 +00:00
Moonchild 5eefd5eea2 [DOM Fetch] Improve stability of Fetch API. 2020-10-24 10:38:07 +00:00
Moonchild 15ceeb1124 Issue mcp-graveyard/UXP#1671 - Unprefix ::-moz-selection
This actually keeps both pseudo-elements for now, since the prefixed version is
still used internally, but we need the unprefixed version for web compat.
Note: while unprefixing a non-spec-compliant pseudo here, it's exactly in line
with what other browsers do. Nobody is following the spec here and at least
we'll be doing what everyone else is with our unprefixed version.
2020-10-24 10:37:53 +00:00
athenian200 cca4dd3b56 Issue mcp-graveyard/UXP#1668 - Part 2: Visited color and auto support for caret-color property.
Mozilla's original implementation of this failed a couple of tests, but this seems to solve all the problems. Basically, the caret-color wasn't able to be set differently based on whether a link was visited, and the auto value implementation was incomplete. The only test we fail now is the one where you have grey text on a grey background and the caret is supposed to be visible, but I think that may have been removed from the spec. Even if it wasn't, no other browser supports it anyway.
2020-10-24 10:37:01 +00:00
athenian200 5f25da29dc Issue mcp-graveyard/UXP#1668 - Part 1: Implement support for caret-color property.
This CSS property allows input carets (that blinking input cursor you see in text fields), to be given a custom color. This was implemented in Firefox 53, and it was such a minor feature that no one ever missed it, but I don't see any harm in implementing this.

https://bugzilla.mozilla.org/show_bug.cgi?id=1063162
2020-10-24 10:36:47 +00:00
Moonchild adb4b94073 Issue mcp-graveyard/UXP#1643 - Follow-up: Ensure we properly clear our pointers when the
Presentation of a document is destroyed.
2020-10-24 10:36:20 +00:00
Moonchild f96e1a2e40 Update docs for change of repository host.
Rename MCP back to MoonchildProductions.
2020-10-23 14:53:57 +00:00
Moonchild 0d37912f23 Update docs for change of repository host. 2020-10-23 12:31:21 +00:00
Moonchild e7b0d8c5cf [layout] Re-order rowgroups if reflowing.
This logic was missing for tfoot. See existing code in second hunk.
2020-10-23 11:10:13 +00:00
Moonchild 14b43ddeb7 [layout] Avoid negative availSize.BSizes in paginated table reflow. 2020-10-23 10:36:09 +00:00
Moonchild 2c5f0b3443 Bump platform version for added features. 2020-10-23 09:27:56 +00:00
Moonchild 98edd7e309 [netwerk] Make nsIncrementalStreamLoader's GetNumBytesRead threadsafe.
This prevents a potential race and simplifies the code a bit by keeping the
bytes read separate instead of using mData, which is modified from another
thread from OnDataAvailable.
Relaxed atomics are fine for these, since they don't guard any memory.
2020-10-23 08:10:01 +00:00
Moonchild 9abf4bbc7d [DOM] When failing to create a channel and an image request, make sure to set
the image blocking status appropriately.

This is the same status as we do for known no-data protocols and ensures we
treat these two cases the same.
2020-10-22 20:43:08 +00:00
Moonchild ac1625d286 [DOM Fetch] Detect broken pipes and propagate that write error to the caller. 2020-10-21 23:48:32 +00:00
Moonchild b687cf0ed7 [DOM Fetch] Improve stability of Fetch API. 2020-10-21 20:35:07 +00:00
Moonchild b273afd2e7 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2020-10-20 09:52:16 +00:00
Moonchild fbfe2ed58f Issue mcp-graveyard/UXP#1671 - Unprefix ::-moz-selection
This actually keeps both pseudo-elements for now, since the prefixed version is
still used internally, but we need the unprefixed version for web compat.
Note: while unprefixing a non-spec-compliant pseudo here, it's exactly in line
with what other browsers do. Nobody is following the spec here and at least
we'll be doing what everyone else is with our unprefixed version.
2020-10-20 09:49:51 +00:00
Moonchild 094355467b Merge pull request #1670 from athenian200/caret_color
Implement CSS caret-color
2020-10-20 09:47:00 +00:00
athenian200 620d619469 Merge branch 'master' of https://github.com/MoonchildProductions/UXP into caret_color 2020-10-18 10:45:55 -05:00
athenian200 a22eb5ee72 Issue mcp-graveyard/UXP#1668 - Part 2: Visited color and auto support for caret-color property.
Mozilla's original implementation of this failed a couple of tests, but this seems to solve all the problems. Basically, the caret-color wasn't able to be set differently based on whether a link was visited, and the auto value implementation was incomplete. The only test we fail now is the one where you have grey text on a grey background and the caret is supposed to be visible, but I think that may have been removed from the spec. Even if it wasn't, no other browser supports it anyway.
2020-10-18 10:12:53 -05:00
athenian200 937f4fc17f Issue mcp-graveyard/UXP#1668 - Part 1: Implement support for caret-color property.
This CSS property allows input carets (that blinking input cursor you see in text fields), to be given a custom color. This was implemented in Firefox 53, and it was such a minor feature that no one ever missed it, but I don't see any harm in implementing this.

https://bugzilla.mozilla.org/show_bug.cgi?id=1063162
2020-10-18 10:04:12 -05:00
Moonchild ee9d069f8d Issue mcp-graveyard/UXP#1643 - Follow-up: Ensure we properly clear our pointers when the
Presentation of a document is destroyed.
2020-10-16 10:19:19 +00:00
Moonchild a8d5aa9b0c Merge branch 'redwood' into release 2020-10-06 09:32:46 +00:00
Moonchild 873e779e76 Issue mcp-graveyard/UXP#1606 - Add support for multi-monitor DPI awareness v2 (W10 1706+) 2020-10-06 09:32:13 +00:00
Moonchild 13fde6cb07 [devtools] Teach devtools about overflow-wrap: anywhere
Tag mcp-graveyard/UXP#1666
2020-10-06 09:32:03 +00:00
Moonchild 383fb27256 Issue mcp-graveyard/UXP#1666 - Implement overflow-wrap: anywhere
This aligns with the current spec regarding overflow-wrap: break-word and
overflow-wrap: anywhere in if it affects intrinsic sized due to considering
soft-wrap opportunities or not.
See CSS Text Module Level 3, Editor’s Draft, 1 October 2020, Section 5.5
2020-10-06 09:31:51 +00:00
Moonchild a65f44bb70 Issue mcp-graveyard/UXP#1665 - Take overflow-wrap into account when calculating min-content intrinsic size. 2020-10-06 09:31:40 +00:00
New Tobin Paradigm d282744d67 Update CONTRIBUTING.md
Revise Commit message style and add Follow-up form
2020-10-06 09:31:28 +00:00
Moonchild 5c0ee0ebf3 Issue mcp-graveyard/UXP#1606 - Add support for multi-monitor DPI awareness v2 (W10 1706+) 2020-10-06 09:23:59 +00:00
Moonchild 041d831de9 [devtools] Teach devtools about overflow-wrap: anywhere
Tag mcp-graveyard/UXP#1666
2020-10-03 15:05:53 +00:00
Moonchild 2fe26d0934 Issue mcp-graveyard/UXP#1666 - Implement overflow-wrap: anywhere
This aligns with the current spec regarding overflow-wrap: break-word and
overflow-wrap: anywhere in if it affects intrinsic sized due to considering
soft-wrap opportunities or not.
See CSS Text Module Level 3, Editor’s Draft, 1 October 2020, Section 5.5
2020-10-03 14:52:47 +00:00
Moonchild b27d291c73 Issue mcp-graveyard/UXP#1665 - Take overflow-wrap into account when calculating min-content intrinsic size. 2020-10-03 12:45:27 +00:00
New Tobin Paradigm 17081f9051 Update CONTRIBUTING.md
Revise Commit message style and add Follow-up form
2020-10-02 05:13:43 -04:00
Moonchild 15e4629200 Merge branch 'redwood' into release 2020-10-01 11:37:38 +00:00
athenian200 45b2e190b3 Issue mcp-graveyard/UXP#1647 - Followup: Remove excessive VARIANT_OPACITY statements.
I got very anxious about making sure I included VARIANT_OPACITY in all the places VARIANT_NUMBER was included to make sure it couldn't possibly break unexpectedly, and that led to me accidentally breaking a mechanism that prevented percentages from serializing as numbers in other parts of the code. It was a total accident, and these additions were unnecessary. Basically, the situation is that there was one part of the code where it determines what's allowed for the flex statement (and possibly other statements) by checking whether it got stored as a "number", and basically only disallows percentages if it attempted to store/serialize them as percentages.

However, it only got to that part of the code because I accidentally allowed VARIANT_OPACITY as a valid way for certain tokens to parse where it wasn't necessary. If it tries to parse it that way under very specific circumstances... percentages will be marked valid and fed through the system as numbers rather than being rejected and not serialized at all, because the check to disallow percentages there relied on them being stored as percentages.

It's a really weird thing to have a problem with in a lot of ways, because if percentages aren't allowed in a field, you would think people wouldn't try to use them there, much less depend on the broken behavior that results from them not parsing as a related value.
2020-10-01 09:55:37 +00:00
Moonchild 0eaba3dc47 Merge pull request #1663 from athenian200/opacity_followup
Remove excessive VARIANT_OPACITY statements.
2020-10-01 09:54:11 +00:00
athenian200 8b7322e893 Issue mcp-graveyard/UXP#1647 - Followup: Remove excessive VARIANT_OPACITY statements.
I got very anxious about making sure I included VARIANT_OPACITY in all the places VARIANT_NUMBER was included to make sure it couldn't possibly break unexpectedly, and that led to me accidentally breaking a mechanism that prevented percentages from serializing as numbers in other parts of the code. It was a total accident, and these additions were unnecessary. Basically, the situation is that there was one part of the code where it determines what's allowed for the flex statement (and possibly other statements) by checking whether it got stored as a "number", and basically only disallows percentages if it attempted to store/serialize them as percentages.

However, it only got to that part of the code because I accidentally allowed VARIANT_OPACITY as a valid way for certain tokens to parse where it wasn't necessary. If it tries to parse it that way under very specific circumstances... percentages will be marked valid and fed through the system as numbers rather than being rejected and not serialized at all, because the check to disallow percentages there relied on them being stored as percentages.

It's a really weird thing to have a problem with in a lot of ways, because if percentages aren't allowed in a field, you would think people wouldn't try to use them there, much less depend on the broken behavior that results from them not parsing as a related value.
2020-09-30 14:09:10 -05:00
Moonchild d222e9e616 Issue mcp-graveyard/UXP#1643 - Follow-up: Make sure things aren't changed while iterating.
This fixes some crashing scenarios.
2020-09-30 16:03:36 +00:00
Moonchild 1bee72df0b Issue mcp-graveyard/UXP#1643 - Follow-up: Make sure things aren't changed while iterating.
This fixes some crashing scenarios.
2020-09-30 16:02:17 +00:00
Moonchild bfa8565a7b Merge branch 'redwood' into release 2020-09-29 21:08:33 +00:00
Matt A. Tobin 3cbd933e7e Issue mcp-graveyard/UXP#1643 - Follow up: Add a null check for mOwner in ResizeObserverNotificationHelper::Unregister
A race condition seemed to exist between tab destruction and un-registering a ResizeObserver resulting in a null deref crash.
The original reporter in Forum Topic 25311 experienced this on msn.com so that was the functional test reference.
2020-09-29 21:07:49 +00:00
Matt A. Tobin 96b775f4bf Issue mcp-graveyard/UXP#1643 - Follow up: Add a null check for mOwner in ResizeObserverNotificationHelper::Unregister
A race condition seemed to exist between tab destruction and un-registering a ResizeObserver resulting in a null deref crash.
The original reporter in Forum Topic 25311 experienced this on msn.com so that was the functional test reference.
2020-09-29 15:03:13 -04:00
Moonchild 1fcf196567 Merge pull request #1660 from g4jc/1656
Issue mcp-graveyard/UXP#1656 - Fix broken comment from Part 1
2020-09-27 08:13:05 +00:00
Gaming4JC 0ad10a14c9 Issue mcp-graveyard/UXP#1656 - Fix broken comment from Part 1
Removing the vim line unintentionally broke the comment leading to build failure, this restores the comment.
2020-09-26 23:37:14 -04:00
Moonchild 1d3cdf0437 Issue mcp-graveyard/UXP#1656 - Part 10: Manual cleanup. 2020-09-24 09:22:12 +00:00
Moonchild 1beb83d5a3 Issue mcp-graveyard/UXP#1656 - Part 9: Single-line-comment style. 2020-09-24 08:56:05 +00:00
Moonchild c8d64358e0 Issue mcp-graveyard/UXP#1656 - Part 8: Devtools and misc. 2020-09-24 08:10:23 +00:00
Moonchild d9d80d476c Issue mcp-graveyard/UXP#1656 - Part 7: Nuke vim config lines in JS 2020-09-24 07:23:04 +00:00
Moonchild b40363530c Merge branch 'redwood' into release 2020-09-23 23:45:46 +00:00
Moonchild 960b821d0a Issue mcp-graveyard/UXP#1656 - Part 6: Clean up the build files 2020-09-23 15:52:00 +00:00
Moonchild e8decec389 Issue mcp-graveyard/UXP#1656 - Part 4: Manual cleanup 2020-09-23 15:37:46 +00:00
Moonchild 8d7551ef0a Issue mcp-graveyard/UXP#1656 - Part 4: Tackle *.idl, *.css, *.ipdlh, *.webidl, *.cc 2020-09-23 15:24:52 +00:00
Moonchild 890abb040c Issue mcp-graveyard/UXP#1656 - Part 3: Nuke more vim config lines in the tree.
Another S&R run with some smarter matching.
2020-09-23 15:14:30 +00:00
Moonchild 8bb7e7a503 Issue mcp-graveyard/UXP#1656 - Part 2b: Unmangle one more lost little UTF-8 victim. 2020-09-23 14:57:31 +00:00
Moonchild ec277098c1 Issue mcp-graveyard/UXP#1656 - Part 2: Unmangle some unfortunate UTF-8 victims.
The poor fellows got lost in an ASCII-interpretation of the world.
2020-09-23 14:52:16 +00:00
Moonchild 551a6a9fdc Issue mcp-graveyard/UXP#1656 - Part 1: Nuke most vim config lines in the tree.
Since these are just interpreted comments, there's 0 impact on actual code.
This removes all lines that match /* vim: set(.*)tw=80: */ with S&R -- there are
a few others scattered around which will be removed manually in a second part.
2020-09-23 13:55:00 +00:00
Moonchild 0b432ced44 Output webidl filenames as they are processed, for real this time. 2020-09-23 08:29:31 +00:00
Moonchild 92004154b5 Issue mcp-graveyard/UXP#1655: Update MediaQueryList to the current draft spec.
This make MediaQueryList inherit from EventTarget and adds MediaQueryListEvent
as an interface as well as the onchange() method.
This should not affect compatibility with other code; the event object is a
MediaQueryListEvent instance, which is recognized as a MediaListQuery instance.
2020-09-23 08:29:21 +00:00
Moonchild 319f458a00 [webaudio] Keep track of whether the HRTF database has already been loaded.
This DiD measure ensures that our async HRTF database loading is completed
before we actually try to use it. If not done, database() simply returns null.
2020-09-23 08:29:06 +00:00
Moonchild d146ea032b [dom/media] Use an atomic for mInputDeviceID to avoid potential race 2020-09-23 08:28:56 +00:00
Moonchild b10b618a92 [SVG] Only fire the SVG onload when scripting is enabled and allowed 2020-09-23 08:28:46 +00:00
Moonchild 12418ef7c7 Output webidl filenames as they are processed, for real this time. 2020-09-23 08:25:15 +00:00
Moonchild 5a9f5528a3 Issue mcp-graveyard/UXP#1655: Update MediaQueryList to the current draft spec.
This make MediaQueryList inherit from EventTarget and adds MediaQueryListEvent
as an interface as well as the onchange() method.
This should not affect compatibility with other code; the event object is a
MediaQueryListEvent instance, which is recognized as a MediaListQuery instance.
2020-09-23 08:24:14 +00:00
Moonchild 6d2a606387 [webaudio] Keep track of whether the HRTF database has already been loaded.
This DiD measure ensures that our async HRTF database loading is completed
before we actually try to use it. If not done, database() simply returns null.
2020-09-23 02:10:26 +00:00
Moonchild f334478c2f [dom/media] Use an atomic for mInputDeviceID to avoid potential race 2020-09-23 01:45:29 +00:00
Moonchild f86c7c1f2f [SVG] Only fire the SVG onload when scripting is enabled and allowed 2020-09-23 01:02:29 +00:00
Moonchild d7e0388206 [no issue] Fix whitespace (no code change) 2020-09-23 00:54:31 +00:00
Moonchild fcc9af5529 Issue mcp-graveyard/UXP#1224 - Remove constant expressions from /dom
This excludes DOMProxy handlers in dom bindings because that's intertwined with
codegen and js that needs to be handled together.
2020-09-21 11:10:23 +00:00
athenian200 8e37398156 Issue mcp-graveyard/UXP#1647 - Part 2: Implement VARIANT_OPACITY to correctly serialize.
Even though percentages are already treated as floats internally by the style system for computation purposes, you have to go out of your way to stop them from being read back out as percentages. What I do here amounts to storing the percentage token in the "wrong" container, the one normally used for floats. This allows a value that was read in as a percentage to be read back out as something else, which is normally prevented by the design of the style system.
2020-09-21 11:05:30 +00:00
athenian200 281327f1e5 Issue mcp-graveyard/UXP#1647 - Part 1: Implement percentage for CSS opacity keywords
This preliminary step allows percentages to be computed and display correctly,
but unfortunately it fails a test after changing VARIANT_HN to VARIANT_HPN because that allows values to be serialized as percentages. However, not doing this means percentages are rejected as valid values for the user to input. The way the style system is setup makes it hard to change this for opacity without changing it for everything else, especially since some code-saving speed hacks in Bug 636029 and Bug 441367 that make a lot of assumptions about this stuff very rigid.
2020-09-21 11:05:19 +00:00
Moonchild c8ff462995 Issue mcp-graveyard/UXP#1653 - Part 2: Stop indirectly loading DWM functions through WinUtils. 2020-09-21 11:05:03 +00:00
Moonchild 6b93c15f97 Issue mcp-graveyard/UXP#1653 - Part 1: Remove WinUtils::SHGetKnownFolderPath
Instead of doing the whole dll-load, replace function dance, we can just use the
shlobj.h version of Windows.
2020-09-21 11:04:52 +00:00
Moonchild c1f760c499 Issue mcp-graveyard/UXP#1643 - Part 4: Hook up all the plumbing. 2020-09-21 11:04:31 +00:00
Moonchild 09d50b25ee Issue mcp-graveyard/UXP#1643 - Part 3: Implement ResizeObserverController 2020-09-21 11:04:19 +00:00
Moonchild e6f25bf28b Issue mcp-graveyard/UXP#1643 - Part 2: Implement ResizeObserver API
Implements ResizeObserver, ResizeObserverEntry and ResizeObservation
2020-09-21 11:04:05 +00:00
Moonchild 4723c828d9 Issue mcp-graveyard/UXP#1643 - Part 1: Add GetNodeDepth() to nsContentUtils. 2020-09-21 11:03:48 +00:00
Moonchild b7162e6a43 [widget] Clean up Windows widget code some. 2020-09-21 11:00:01 +00:00
Gaming4JC baa20c8d7e Issue mcp-graveyard/UXP#618 - Clear the module map - Debug Followup
An assertion was added to dom/script/ScriptLoader.cpp but fails to compile on debug builds due it not being included in the namespace.

Ref: BZ 1529203
2020-09-21 10:59:48 +00:00
adeshkp 6fe8840382 Fix usage of a macro in a cocoa widget (#1649)
* Issue mcp-graveyard/UXP#457 - Fix usage of a macro in a cocoa widget
2020-09-21 10:59:35 +00:00
Moonchild 647c087343 Issue mcp-graveyard/UXP#1650 - Add null check.
There are situations where nsCSSClipPathinstance->CreateClipPath(dt)
returns null. We need to check for this before trying to use its
functions. If there is no clip path, then always return "no hit".
2020-09-21 10:59:24 +00:00
adeshkp 83d4af2a8b Issue mcp-graveyard/UXP#1280 - Remove hostname parameter to trust domain.
Host name was purely being used for HPKP and since HPKP is killed,
this can also go. Currently it doesn't do anything other than
generating build warnings.
2020-09-21 10:59:09 +00:00
athenian200 aff26b8978 Issue mcp-graveyard/UXP#1629 - Part 5: Remove pointless local variables.
Since the local variable is always initialized to false, we don't actually need to declare it and can just pass "false" directly as a parameter to the PrepareSheet function's bool. I was worried about code readability at first, but some well-placed comments took care of that.
2020-09-21 10:58:32 +00:00
athenian200 a992741e76 Issue mcp-graveyard/UXP#1629 - Part 4: Ensure isExplicitlyEnabled is false upon sheet creation.
This clarifies the assumptions the code is making and the order in which the variables pass through the loading process. The new variable is set after the sheet is created and prepared, and is assumed to be false in the beginning.
2020-09-21 10:58:18 +00:00
Moonchild efdf075c61 Isse #1224 - revert change to unbust debug builds. 2020-09-20 17:58:02 +00:00
Moonchild 2f6e72f648 Merge pull request #1654 from athenian200/opacity_percentage
Implement percentage for CSS opacity keywords
2020-09-18 10:23:00 +00:00
Moonchild 5b924dd1f0 Issue mcp-graveyard/UXP#1224 - Remove constant expressions from /dom
This excludes DOMProxy handlers in dom bindings because that's intertwined with
codegen and js that needs to be handled together.
2020-09-17 23:48:58 +00:00
athenian200 7755aaf9ef Issue mcp-graveyard/UXP#1647 - Part 2: Implement VARIANT_OPACITY to correctly serialize.
Even though percentages are already treated as floats internally by the style system for computation purposes, you have to go out of your way to stop them from being read back out as percentages. What I do here amounts to storing the percentage token in the "wrong" container, the one normally used for floats. This allows a value that was read in as a percentage to be read back out as something else, which is normally prevented by the design of the style system.
2020-09-17 16:01:38 -05:00
Moonchild 640d57bc84 Issue mcp-graveyard/UXP#1653 - Part 2: Stop indirectly loading DWM functions through WinUtils. 2020-09-17 15:28:59 +00:00
Moonchild 2e7a6ecfd0 Issue mcp-graveyard/UXP#1653 - Part 1: Remove WinUtils::SHGetKnownFolderPath
Instead of doing the whole dll-load, replace function dance, we can just use the
shlobj.h version of Windows.
2020-09-17 15:25:44 +00:00
athenian200 3d776304fe Issue mcp-graveyard/UXP#1647 - Part 1: Implement percentage for CSS opacity keywords
This preliminary step allows percentages to be computed and display correctly,
but unfortunately it fails a test after changing VARIANT_HN to VARIANT_HPN because that allows values to be serialized as percentages. However, not doing this means percentages are rejected as valid values for the user to input. The way the style system is setup makes it hard to change this for opacity without changing it for everything else, especially since some code-saving speed hacks in Bug 636029 and Bug 441367 that make a lot of assumptions about this stuff very rigid.
2020-09-16 17:34:03 -05:00
Moonchild 3d6efb22df Issue mcp-graveyard/UXP#1643 - Part 4: Hook up all the plumbing. 2020-09-16 19:39:33 +00:00
Moonchild a9700abc9e Issue mcp-graveyard/UXP#1643 - Part 3: Implement ResizeObserverController 2020-09-16 18:26:30 +00:00
Moonchild 24be800334 Issue mcp-graveyard/UXP#1643 - Part 2: Implement ResizeObserver API
Implements ResizeObserver, ResizeObserverEntry and ResizeObservation
2020-09-16 16:39:15 +00:00
Moonchild 918973d57b Issue mcp-graveyard/UXP#1643 - Part 1: Add GetNodeDepth() to nsContentUtils. 2020-09-16 13:30:35 +00:00
Moonchild 99e2dd7d29 [widget] Clean up Windows widget code some. 2020-09-14 12:18:24 +00:00
Moonchild ac2de5db1f Merge pull request #1652 from g4jc/618
Clear the module map - Debug Followup
2020-09-14 07:12:15 +00:00
Gaming4JC 8d84e920ea Issue mcp-graveyard/UXP#618 - Clear the module map - Debug Followup
An assertion was added to dom/script/ScriptLoader.cpp but fails to compile on debug builds due it not being included in the namespace.

Ref: BZ 1529203
2020-09-13 19:32:56 -04:00
Moonchild 585adda76d Merge pull request #1651 from athenian200/link_element_disabled
Clean up local variables from <link> disabled issue.
2020-09-13 11:17:55 +00:00
adeshkp 3c4db6fa0e Fix usage of a macro in a cocoa widget (#1649)
* Issue mcp-graveyard/UXP#457 - Fix usage of a macro in a cocoa widget
2020-09-13 10:09:40 +02:00
Moonchild c51b61cdee Issue mcp-graveyard/UXP#1650 - Add null check.
There are situations where nsCSSClipPathinstance->CreateClipPath(dt)
returns null. We need to check for this before trying to use its
functions. If there is no clip path, then always return "no hit".
2020-09-12 20:20:02 +02:00
Moonchild f9ba59748d Merge pull request #1648 from adeshkp/hpkp-hostname-cleanup
Remove hostname parameter to trust domain.
2020-09-12 11:28:58 +00:00
adeshkp 1b04cf8ada Issue mcp-graveyard/UXP#1280 - Remove hostname parameter to trust domain.
Host name was purely being used for HPKP and since HPKP is killed,
this can also go. Currently it doesn't do anything other than
generating build warnings.
2020-09-12 04:11:03 -04:00
athenian200 aaf1937592 Issue mcp-graveyard/UXP#1629 - Part 5: Remove pointless local variables.
Since the local variable is always initialized to false, we don't actually need to declare it and can just pass "false" directly as a parameter to the PrepareSheet function's bool. I was worried about code readability at first, but some well-placed comments took care of that.
2020-09-09 01:40:15 -05:00
Moonchild 5c33b48811 Issue mcp-graveyard/UXP#618 - Clear the module map when changing a Document's global and add
release build assertions for mismatching compartments.
2020-09-08 11:05:05 +00:00
Moonchild 3e721f8c42 Issue mcp-graveyard/UXP#618 - Make ES6 modules work for resource: URIs 2020-09-08 11:04:54 +00:00
Moonchild f4da53b323 Issue mcp-graveyard/UXP#618 - Implement preloading of module scripts.
This hooks up module scripts to the existing preload mechanism.
2020-09-08 11:04:36 +00:00
Moonchild ac47264dde Issue mcp-graveyard/UXP#1644 - Remove plugin checking code leftovers 2020-09-08 11:03:21 +00:00
Moonchild b623356186 Clobber for CSS flow-root implementation 2020-09-08 11:03:11 +00:00
athenian200 94d8ec47ea Issue mcp-graveyard/UXP#1641 - Implement CSS flow-root keyword
This is just a clean port of 1322191 and follow-up 1325970. It really seems to add create a new way to access existing code relating to block formatting and floating elements rather than implementing new functionality, and it is mercifully straightforwards.
2020-09-08 11:02:57 +00:00
Moonchild 6296859c7c Merge branch 'es-modules-work' 2020-09-08 11:01:01 +00:00
Moonchild d538ba3708 Issue mcp-graveyard/UXP#618 - Clear the module map when changing a Document's global and add
release build assertions for mismatching compartments.
2020-09-08 11:00:27 +00:00
Moonchild 4f18d50091 Issue mcp-graveyard/UXP#618 - Make ES6 modules work for resource: URIs 2020-09-08 08:22:28 +00:00
athenian200 6d1d20f482 Issue mcp-graveyard/UXP#1629 - Part 4: Ensure isExplicitlyEnabled is false upon sheet creation.
This clarifies the assumptions the code is making and the order in which the variables pass through the loading process. The new variable is set after the sheet is created and prepared, and is assumed to be false in the beginning.
2020-09-06 13:51:08 -05:00
Moonchild 68be195d58 Issue mcp-graveyard/UXP#1639 - Implement object.fromEntries()
Adds a self-hosted implementation of this map->object conversion.
This resolves #1639.
2020-09-06 10:02:00 +00:00
Moonchild ea8e1df606 Issue mcp-graveyard/UXP#1639 - Implement object.fromEntries()
Adds a self-hosted implementation of this map->object conversion.
This resolves #1639.
2020-09-06 10:01:37 +00:00
Moonchild f42969c2a8 Fix build error. 2020-09-05 20:36:39 +00:00
Gaming4JC 4d9ac504aa Regenerate the HTML Parser code for nomodule changes. 2020-09-05 18:46:32 +00:00
Gaming4JC 461987256a Issue mcp-graveyard/UXP#618 - Don't preload nomodule scripts when modules are enabled (uplift) 2020-09-05 18:45:45 +00:00
Gaming4JC 9e90a8f479 Regenerate Parser for Marquee Removal 2020-09-05 18:44:45 +00:00
Moonchild 25af11ae96 Issue mcp-graveyard/UXP#1525 - Kill marquee element (uplift) 2020-09-05 18:44:16 +00:00
Moonchild 9e0c3dc3de Issue mcp-graveyard/UXP#1644 - Remove plugin checking code leftovers 2020-09-05 11:22:45 +00:00
Moonchild 6ecb02be0f Clobber for CSS flow-root implementation 2020-09-04 13:33:37 +00:00
Moonchild 79cbfe2de7 Merge pull request #1642 from athenian200/display_flow_root
Implement CSS flow-root keyword
2020-09-04 07:39:42 +00:00
athenian200 e75ee9df13 Issue mcp-graveyard/UXP#1641 - Implement CSS flow-root keyword
This is just a clean port of 1322191 and follow-up 1325970. It really seems to add create a new way to access existing code relating to block formatting and floating elements rather than implementing new functionality, and it is mercifully straightforwards.
2020-09-03 18:55:28 -05:00
Matt A. Tobin ff458e56ef Update old.configure for --enable-phoenix-extensions 2020-09-01 05:46:57 +00:00
Matt A. Tobin 1945e0ed14 Update old.configure for --enable-phoenix-extensions 2020-09-01 05:44:49 +00:00
Moonchild 0ac4765c6a Merge branch 'redwood' into release 2020-08-31 05:54:39 +00:00
Moonchild 00b6ed71b6 Remove unsupported CE keyword from HTMLLinkElement.webidl 2020-08-30 12:04:46 +00:00
Moonchild a6b2d2fe94 Clobber for NSS update 2020-08-30 11:59:23 +00:00
Moonchild 99cd0f5caa [NSS] Version and build bump 2020-08-30 11:59:14 +00:00
J.C. Jones 9ac1276f8b [NSS] Prevent slotLock race in NSC_GetTokenInfo
Basically, NSC_GetTokenInfo doesn't lock slot->slotLock before accessing slot
after obtaining it, even though slotLock is defined as its lock.
2020-08-30 11:59:06 +00:00
Moonchild ba3eedb119 Issue mcp-graveyard/UXP#1587 followup - Improve resilience of AbortSignals. 2020-08-30 11:58:58 +00:00
Moonchild 90941b2457 [misc/mar] Don't use a signed type for a length parameter. 2020-08-30 11:58:49 +00:00
Kris Maglione 80ed9ee12a [DOM] Only construct JS-implemented objects if inner window is current. 2020-08-30 11:58:40 +00:00
Moonchild 661e282b26 [media] Only include source error details in debugging scenarios.
Unless a user is debugging media errors, this detail is unnecessary to report
and could include sensitive data which could be abused by third-party
requesters. This aligns it with the standard success/error paradigms in normal
browsing situations.
2020-08-30 11:58:32 +00:00
Moonchild 2e4d609ed8 Issue mcp-graveyard/UXP#618 - Implement async attribute for inline module scripts. (uplift)
This commit does several things:
- Moves the pref check from ScriptLoader to ns[I]Document so it can be called on
the document.
- Changes the atrribute freezing function to a better name that takes the
document as a parameter.
- Sets the proper async/defer attributes on HTML script elements based on
keywords and whether they are module scripts or not.
2020-08-30 09:51:18 +00:00
Moonchild e0e2f6e9f3 Issue mcp-graveyard/UXP#618 - (async) Keep track of script modes in a single mode state.
This simplifies handling of combinations of async/defer by assigning one and
only one state to scripts.
If async then always async > if defer or module then defer > otherwise blocking.
2020-08-30 09:48:07 +00:00
Moonchild e0861fbd54 Issue mcp-graveyard/UXP#618 - (async, preload) Correctly pass info about async/defer to parser.
This makes sure we don't block body-referred sub-resources by head-referenced
defer and async scripts. This is important for all script loads, not just
modules, but is added here because it was run into while implementing modules.
2020-08-30 09:47:49 +00:00
Moonchild f4c61f620c Issue mcp-graveyard/UXP#618 - (async) Split out function to add async request. 2020-08-30 09:40:15 +00:00
Moonchild b8e32e2101 Issue mcp-graveyard/UXP#618 - Rename some script load request flags to be more descriptive. 2020-08-30 09:40:03 +00:00
Moonchild 50f7e0c7b3 Issue mcp-graveyard/UXP#618 - Make document.currentScript null in modules.
Because the spec says so.
2020-08-30 09:39:55 +00:00
Jon Coppeard c49f8381c1 Issue mcp-graveyard/UXP#618 - Fix processing of non-parser-generated module scripts. 2020-08-30 09:39:45 +00:00
Jon Coppeard c0b60544af Issue mcp-graveyard/UXP#618 - Handle errors for inline module scripts and ensure we update the
module map after fetch errors.
2020-08-30 09:39:23 +00:00
Moonchild acd859a4aa Issue mcp-graveyard/UXP#618 - Split SRI verification out from OnStreamComplete. 2020-08-30 09:39:13 +00:00
Moonchild 6f04866abb Issue mcp-graveyard/UXP#618 - Split handling of load errors out from OnStreamComplete. 2020-08-30 09:39:03 +00:00
Moonchild 6fb04141bf Issue mcp-graveyard/UXP#618 - Integrity for descendant module scripts should be the empty string
Because the spec says so.
2020-08-30 09:38:54 +00:00
Jon Coppeard ef6919d17d Issue mcp-graveyard/UXP#618 - Don't mute errors for module scripts because they always use CORS 2020-08-30 09:38:44 +00:00
Moonchild 7b1ef1e1bb Issue mcp-graveyard/UXP#618: Pass down referrer and referrer policy when fetching modules.
Because the spec says so.
2020-08-30 09:38:29 +00:00
Moonchild 534deb0e7b Issue mcp-graveyard/UXP#618: Ignore 'event' and 'for' attributes for module scripts.
Because the spec says so.
2020-08-30 09:38:17 +00:00
Moonchild 9cceea1a95 Issue mcp-graveyard/UXP#618 - Simplify module resolve hook to be a function pointer
This is an ahead-of time port to try and address #1624.
This is based on BZ 1461751 and Jon Coppeard's work in it.
2020-08-30 09:37:12 +00:00
Moonchild 91a48b3683 [js] Add some utility functions to get the current JS runtime. 2020-08-30 09:37:03 +00:00
Gaming4JC 80a0fec5bb Issue mcp-graveyard/UXP#618 - Keep track of which modules in a graph have been fetched using a visited set
Ref: BZ 1365187
2020-08-30 09:36:51 +00:00
Gaming4JC cc0ac76cb0 Issue mcp-graveyard/UXP#618 - Simplify module map interface
Ref: BZ 1365187
2020-08-30 09:36:41 +00:00
Gaming4JC dd7654c371 Issue mcp-graveyard/UXP#618 - Align error handling for module scripts with the spec - Debug follow up
MODULE_STATUS_ERRORED is no more. Replacing with newer API.

Ref: BZ 1420420
2020-08-30 09:35:19 +00:00
Gaming4JC 788fa45074 Issue mcp-graveyard/UXP#618 - Lazily initialise module binding maps - Debug follow up
The added debug assertion does not work due to missing API.
They were added in BZ 1337491, 1395366, and others, but were primarily used for multi-threading.
This uses our existing non-multithreaded syntax instead, resolving a `no member named` build error.
2020-08-30 09:35:07 +00:00
Jon Coppeard c641af1f3e Issue mcp-graveyard/UXP#618 - Record module dependency before starting fetch so that error
handling works correctly

Ref BZ 1395896
2020-08-30 09:33:58 +00:00
Moonchild 550b3ab063 Issue mcp-graveyard/UXP#618 - Lazily initialise module binding maps
Make it so they are not allocated on a background thread in a different zone to
the final module.

Ref: BZ 1372258
2020-08-30 09:33:33 +00:00
Moonchild c23b6096d4 Issue mcp-graveyard/UXP#618 - Use a single slot for the module's environment object.
According to the spec this isn't created until the module is instantiated, but
we create it when we compile the module.
We stored this previously in InitialEnvironmentSlot and copied it to
EnvironmentSlot when it was supposed to be created, but we can just store it in
the latter slot straight away and check the module's status and return null if
it shouldn't exist yet.

This reduces the number of slots needed on a moduleObject to 17.

Re: BZ 1420412 Part 1
We can't implement the second part to further reduce our number of slots,
because it relies on SetProxyReservedSlot which in turn relies on
rearchitecturing JS proxies to make reserved slots dynamic. That's a rabbit hole
we really don't want to fall into.
So, we'll end up being a bit slower because it can't be in-line allocated with
having more than 16 slots, but so be it. I sincerely doubt it will make any
practical difference.
2020-08-30 09:33:21 +00:00
Moonchild db45b9f28d Issue mcp-graveyard/UXP#618 - Align error handling for module scripts with the spec (again)
This updates module implementation to match spec regarding handling of
instantiation errors, after it was changed yet again, this time to not remember
instantiation errors, but instead immediately rethrow applicable ones.

Ref: BZ 1420420
2020-08-30 09:33:06 +00:00
Moonchild d21e2d2c66 Issue mcp-graveyard/UXP#618 - Fix error events fired when loading JS module dependencies fail
When module dependencies fail, don't spam with errors for each import; only fire
the error event once.

Ref: BZ 1421259
2020-08-30 09:32:52 +00:00
Matt A. Tobin 74c371a36e Follow up to eb28b1f32 - Correct inputmethod build file by putting Keyboard.jsm back in EXTRA_JS_MODULES
JSMs are NOT Components.
2020-08-30 09:31:24 +00:00
Moonchild efd398cc5d [js] Reinstate precise floating point model for all js sources. 2020-08-30 09:31:10 +00:00
Moonchild b0452b64a4 Issue mcp-graveyard/UXP#457 - Silence SQLite compiler warning
Our use of SQLite explicitly avoids using MSVC's _msize which the lib would
notrmally use. This was set up this way in BZ bug 719579 for legitimate reasons
(because _msize would end up using the system symbol, which would crash trying
to get the size information from jemalloc allocations). Since we build the
SQLite lib separately there is no easy way to avoid this warning as it's not
directly linked against mozglue.dll which has the jemalloc functions it wants
for _msize when not using the system allocator. It is implicitly assuming the
function is an extern returning an int (with the call specifically  casting to
int) which is correct (well, correct _enough_, anyway) so the warning can
safely be ignored for our specific use as it all lines up at link time.
2020-08-30 09:30:50 +00:00
Moonchild 3c61c2c852 [db] Update SQLite lib to 3.33.0 2020-08-30 09:30:28 +00:00
Moonchild 85cc5d8162 Issue mcp-graveyard/UXP#1629 - Uplift implementation of <link disabled> behavior for stylesheets. 2020-08-30 09:29:45 +00:00
Gaming4JC 86b867397c Issue mcp-graveyard/UXP#1620 - Intrinsic Aspect Ratio: Debug Follow up.
Newly introduced aspect-ratio property did not have CSS_PROP_LIST_EXCLUDE_INTERNAL defines, resulting in the following assertion:
\!nsCSSProps::PropHasFlags(p, (1<<28)) (properties defined outside of #ifndef CSS_PROP_LIST_EXCLUDE_INTERNAL sections must not have the CSS_PROPERTY_INTERNAL flag), at ...layout/style/nsCSSProps.cpp:289

This patch resolves the assertion by adding #ifndef around the aspect-ratio property.
2020-08-30 09:24:25 +00:00
Moonchild 8f7d32251c [CSS] Alias -webkit-appearance for compatibility reasons
Since this is supported as an alias by Firefox and Edge for the same
reasons and we have websites using this to (attempt to) override the
system-provided styling with their own, leaving out the only supported
keyword we'd otherwise have (with -moz- prefix) but still stating
-webkit-.

TODO: unprefix this completely and make the vendor prefixes aliases.
2020-08-30 09:24:02 +00:00
Andy 529b1b8bf7 Issue mcp-graveyard/UXP#1620 - Enable Intrinsic Ratio by Default
A simpler name feels so much cleaner.
2020-08-30 09:23:46 +00:00
Andy 52f3c0eed2 Issue mcp-graveyard/UXP#1620 - Remove Development Comments 2020-08-30 09:23:37 +00:00
Andy b3a5129fa1 Issue mcp-graveyard/UXP#1620 - Use Intrinsic Aspect Ratio for Images (uplift) 2020-08-30 09:23:18 +00:00
Moonchild e23247adfa Clobber for NSS update 2020-08-29 15:05:15 +00:00
Moonchild bba3ca9f34 [NSS] Version and build bump 2020-08-29 13:24:13 +00:00
J.C. Jones 11d7fca1f9 [NSS] Prevent slotLock race in NSC_GetTokenInfo
Basically, NSC_GetTokenInfo doesn't lock slot->slotLock before accessing slot
after obtaining it, even though slotLock is defined as its lock.
2020-08-29 13:04:08 +00:00
Moonchild c912e74af1 Issue mcp-graveyard/UXP#1587 followup - Improve resilience of AbortSignals. 2020-08-28 18:15:27 +00:00
Moonchild b40ceb2ab5 [misc/mar] Don't use a signed type for a length parameter. 2020-08-28 09:43:24 +00:00
Kris Maglione 83898ee3e1 [DOM] Only construct JS-implemented objects if inner window is current. 2020-08-28 07:05:07 +00:00
Moonchild 9798bd075e [media] Only include source error details in debugging scenarios.
Unless a user is debugging media errors, this detail is unnecessary to report
and could include sensitive data which could be abused by third-party
requesters. This aligns it with the standard success/error paradigms in normal
browsing situations.
2020-08-28 06:46:12 +00:00
Moonchild 7fb5c6d8ac Revert "Issue mcp-graveyard/UXP#618 - Add JS API to associate scripts with DOM elements after compilation"
This reverts commit 22f300f7c4.
2020-08-27 19:25:46 +00:00
Moonchild 2f6bdbe7b4 Issue mcp-graveyard/UXP#618 - Implement preloading of module scripts.
This hooks up module scripts to the existing preload mechanism.
2020-08-27 15:44:53 +00:00
Jon Coppeard 909165f6b2 Issue mcp-graveyard/UXP#618 - Add JS API to associate scripts with DOM elements after compilation
Ref BZ 1342416
2020-08-27 09:14:33 +00:00
Moonchild fe04e41774 Merge branch 'es-modules-work' 2020-08-27 07:18:58 +00:00
Moonchild 654582f22b Merge pull request #1637 from g4jc/618
Don't preload nomodule scripts when modules are enabled
2020-08-27 06:05:23 +00:00
Gaming4JC c43272c56c Issue mcp-graveyard/UXP#618 - Regenerate the HTML Parser code for nomodule changes
Ref: BZ 1446082
2020-08-26 11:20:39 -04:00
Gaming4JC bee8f59192 Issue mcp-graveyard/UXP#618 - Don't preload nomodule scripts when modules are enabled
Ref: BZ 1382020
2020-08-26 11:19:42 -04:00
Moonchild 2008a44209 Issue mcp-graveyard/UXP#618 - (async) Implement async attribute for inline module scripts.
This commit does several things:
- Moves the pref check from ScriptLoader to ns[I]Document so it can be called on
the document.
- Changes the atrribute freezing function to a better name that takes the
document as a parameter.
- Sets the proper async/defer attributes on HTML script elements based on
keywords and whether they are module scripts or not.
2020-08-25 07:06:43 +00:00
Moonchild 4aaa2f4b77 Issue mcp-graveyard/UXP#618 - (async) Keep track of script modes in a single mode state.
This simplifies handling of combinations of async/defer by assigning one and
only one state to scripts.
If async then always async > if defer or module then defer > otherwise blocking.
2020-08-25 05:52:40 +00:00
Moonchild 6430079cf6 Issue mcp-graveyard/UXP#618 - (async, preload) Correctly pass info about async/defer to parser.
This makes sure we don't block body-referred sub-resources by head-referenced
defer and async scripts. This is important for all script loads, not just
modules, but is added here because it was run into while implementing modules.
2020-08-24 11:13:16 +00:00
Moonchild ff254f1c14 Issue mcp-graveyard/UXP#618 - (async) Split out function to add async request. 2020-08-24 10:15:00 +00:00
Moonchild 472400d697 Issue mcp-graveyard/UXP#618 - Rename some script load request flags to be more descriptive. 2020-08-24 09:56:03 +00:00
Moonchild b80a113144 Issue mcp-graveyard/UXP#618 - Make document.currentScript null in modules.
Because the spec says so.
2020-08-23 14:08:32 +00:00
Jon Coppeard 46db0c37f9 Issue mcp-graveyard/UXP#618 - Fix processing of non-parser-generated module scripts. 2020-08-22 18:35:57 +00:00
Matt A. Tobin 8030d27528 Update old.configure for --enable-phoenix-extensions 2020-08-22 09:48:34 -04:00
Jon Coppeard b68013364e Issue mcp-graveyard/UXP#618 - Handle errors for inline module scripts and ensure we update the
module map after fetch errors.
2020-08-22 10:13:37 +00:00
Moonchild 550758b2f0 Issue mcp-graveyard/UXP#618 - Split SRI verification out from OnStreamComplete. 2020-08-22 09:51:42 +00:00
Moonchild 26e93c639e Issue mcp-graveyard/UXP#618 - Split handling of load errors out from OnStreamComplete. 2020-08-22 09:27:12 +00:00
Moonchild 9cd552674d Issue mcp-graveyard/UXP#618 - Integrity for descendant module scripts should be the empty string
Because the spec says so.
2020-08-22 07:16:29 +00:00
Jon Coppeard 1cd17a505c Issue mcp-graveyard/UXP#618 - Don't mute errors for module scripts because they always use CORS 2020-08-22 07:08:10 +00:00
Moonchild 8fd12f1462 Merge branch 'master' into es-modules-work 2020-08-22 07:03:51 +00:00
Matt A. Tobin 89a2216ccd Follow up to eb28b1f32 - Correct inputmethod build file by putting Keyboard.jsm back in EXTRA_JS_MODULES
JSMs are NOT Components.
2020-08-19 17:44:09 -04:00
Moonchild d892f4bb0a [js] Reinstate precise floating point model for all js sources. 2020-08-19 07:16:29 +00:00
Moonchild 5850fb71ad Issue mcp-graveyard/UXP#457 - Silence SQLite compiler warning
Our use of SQLite explicitly avoids using MSVC's _msize which the lib would
notrmally use. This was set up this way in BZ bug 719579 for legitimate reasons
(because _msize would end up using the system symbol, which would crash trying
to get the size information from jemalloc allocations). Since we build the
SQLite lib separately there is no easy way to avoid this warning as it's not
directly linked against mozglue.dll which has the jemalloc functions it wants
for _msize when not using the system allocator. It is implicitly assuming the
function is an extern returning an int (with the call specifically  casting to
int) which is correct (well, correct _enough_, anyway) so the warning can
safely be ignored for our specific use as it all lines up at link time.
2020-08-18 19:36:56 +00:00
Moonchild b70ddb262c [db] Update SQLite lib to 3.33.0 2020-08-18 18:25:28 +00:00
Moonchild 70129fdfe2 Merge pull request #1632 from athenian200/link_element_disabled
Respond to disabled attribute set on <link> elements from HTML
2020-08-18 12:17:17 +00:00
Moonchild cffb82c99b Merge pull request #1635 from g4jc/1620
Intrinsic Aspect Ratio: Debug Follow up.
2020-08-17 12:57:29 +00:00
Gaming4JC 81d7dfad1b Issue mcp-graveyard/UXP#1620 - Intrinsic Aspect Ratio: Debug Follow up.
Newly introduced aspect-ratio property did not have CSS_PROP_LIST_EXCLUDE_INTERNAL defines, resulting in the following assertion:
\!nsCSSProps::PropHasFlags(p, (1<<28)) (properties defined outside of #ifndef CSS_PROP_LIST_EXCLUDE_INTERNAL sections must not have the CSS_PROPERTY_INTERNAL flag), at ...layout/style/nsCSSProps.cpp:289

This patch resolves the assertion by adding #ifndef around the aspect-ratio property.
2020-08-16 14:08:38 -04:00
athenian200 3ece02b74c Fix nits 2020-08-14 12:26:43 -05:00
athenian200 56820e3dc1 Issue mcp-graveyard/UXP#1629 - Part 3: Implement behind preference.
This is not very "clean," and is mostly done in the same sloppy way as Emilio did it because that's basically the only way you can do it. Note well that this does NOT actually turn off everything I've done in a clean fashion like ifdefs would. For instance, the Explicitly Enabled flag is still present, but is now always false because the only condition that can set it true is behind the pref and therefore inert when this pref is off. Also, because the arguments of SetDisabled have changed, my modifications to SetMozDisabled must be present regardless of whether the pref is on or off. What I have done is turn off the actual reflection of the disabled attribute in Disabled and SetDisabled, as well as in AfterSetAttr.

However, turning the pref off seems to restore more or less our old behavior, though there may be subtle differences unlike with an ifdef since this is, unfortunately, not an exact science and I can only turn off changes that happen within individual functions and not changes in how functions interact with each other.
2020-08-14 11:34:13 -05:00
Moonchild 1f8f348312 Issue mcp-graveyard/UXP#618: Pass down referrer and referrer policy when fetching modules.
Because the spec says so.
2020-08-13 17:13:23 +00:00
Moonchild d312a1d8aa Issue mcp-graveyard/UXP#618: Ignore 'event' and 'for' attributes for module scripts.
Because the spec says so.
2020-08-13 13:42:52 +00:00
Moonchild c795d3e81a Merge branch 'master' into es-modules-work 2020-08-13 12:10:54 +00:00
athenian200 b5540e2968 Issue mcp-graveyard/UXP#1629 - Part 2: Implement the Explicitly Enabled flag.
This part of the bug was significantly complicated by the following major refactors:

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

As best as I can tell, we just need to implement the explicitly enabled
flag on every instance of GetStyleSheetInfo, make sure
aIsExplicitlyEnabled is false in every situation except the one where
the disabled content attribute is removed from a link element, and
enable alternate stylesheets if this flag is set on them. So we take the
explicitly enabled flag as an input to PrepareSheet, and also add it to
LoadStyleLink and LoadInlineStyle. I also decided not to defer loading of
alternate stylesheets that have been explicitly enabled.
2020-08-13 01:09:58 -05:00
athenian200 85f3c063c8 Issue mcp-graveyard/UXP#1629 - Part 1: Implement basic logic in HTMLLinkElement.
So basically, I'm trying to adapt this to UXP:

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

The earliest source of difficulty while adapting Bug 1281135 to our codebase was simply getting the new ErrorResult flag added to the SetDisabled function to play nice with the SetMozDisabled function. At this point, the implementation can actually have a stylesheet be disabled by default but there are supposedly issues with alternate stylesheets.

At first I played around with the return type of SetMozDisabled to no avail, but I found another solution fairly quickly.

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

Essentially, the way around the problem of the number of return arguments not matching up is to declare a local variable within SetMozDisabled called ErrorResult rv, and using that to store the return value of the ErrorResult argument from SetDisabled. After that, because ErrorCode was removed, you would return rv.StealNSResult() in order to report success or failure to any consumer that calls on SetMozDisabled.
2020-08-13 00:56:54 -05:00
Moonchild e3b2414681 [CSS] Alias -webkit-appearance for compatibility reasons
Since this is supported as an alias by Firefox and Edge for the same
reasons and we have websites using this to (attempt to) override the
system-provided styling with their own, leaving out the only supported
keyword we'd otherwise have (with -moz- prefix) but still stating
-webkit-.

TODO: unprefix this completely and make the vendor prefixes aliases.
2020-08-10 12:13:10 +02:00
Moonchild b6305f3472 Merge pull request #1613 from RealityRipple/AspectRatio
[Image/CSS] Intrinsic Aspect Ratio
2020-08-08 19:59:24 +00:00
Andy 2d8034e173 Issue mcp-graveyard/UXP#1620 - Enable Intrinsic Ratio by Default
A simpler name feels so much cleaner.
2020-08-07 14:32:59 -07:00
Andy 9b28430fe8 Issue mcp-graveyard/UXP#1620 - Remove Development Comments 2020-08-07 14:31:36 -07:00
Moonchild ad8f8a33b0 Pref and disable getRootNode()
This is apparently used for fallback selection and if available it is "assumed"
Shadow DOM is also available, while this is a utility function.

Webcompat is a nightmare sometimes.
2020-08-07 21:30:12 +00:00
Matt A. Tobin d75c50c229 Issue mcp-graveyard/UXP#1628 - Remove redundant PREF_EM_UPDATE_BACKGROUND_URL 2020-08-07 21:30:03 +00:00
Gaming4JC 14ccf3aab9 Issue mcp-graveyard/UXP#1621 - Part 4: Check whether node can be splited.
At first, HTMLEditor::GetActiveEditingHost might return null in this situation, we should check whether nullptr is returned. At second, SplitNodeDeep returns error since curent is design mode and selection node has no parent. So we should check error.

Ref: Bug 1350772
2020-08-07 21:29:45 +00:00
Gaming4JC 7da5061b5d Issue mcp-graveyard/UXP#1621 - Part 3: Use nsIAtom to change attirbute if possible.
We can replace old nsIEditor API with nsIAtom version.

Ref: Bug 1324996
2020-08-07 21:29:36 +00:00
Gaming4JC 229f7b92bf Issue mcp-graveyard/UXP#1621 - Part 2: Implement nsIAtom version of SetAttribute/RemoveAttribute/CloneAttirubte.
Add nsIAtom version of the following.
 - CloneAttribute
 - RemoveAttribute
 - RemoveAttributeOrEquivalent
 - SetAttribute
 - SetAttributeOrEquivalent

Ref: Bug 1324996
2020-08-07 21:29:27 +00:00
Gaming4JC ebd1f6877d Issue mcp-graveyard/UXP#1621 - Part 1: CSSEditUtils should use atom for CSS property if possible.
There is a lot of string compare when using CSS property name. We should use nsGkAtoms instead.

Ref: Bug 1323138
2020-08-07 21:29:16 +00:00
Matt A. Tobin 4c93d2faa3 Issue mcp-graveyard/UXP#1625 - Allow MailNews Oauth2 support to be configured in confvars.sh
Baby has his bottle, you ok now?
2020-08-07 21:28:54 +00:00
Moonchild 65696dc4fd [js] Try to catch bad pointers for GC and bail if not valid. 2020-08-07 21:28:14 +00:00
Andy 7a730d9b0a Issue mcp-graveyard/UXP#1619 - Nits Picked 2020-08-07 21:28:03 +00:00
Andy 6026f68048 Issue mcp-graveyard/UXP#1619 - Add Vertical Writing Testcase
Ensures aspect ratio numerator and denominator aren't swapped in vertical writing modes.
https://bugzilla.mozilla.org/show_bug.cgi?id=1548768
2020-08-07 21:27:54 +00:00
Andy 3074a176bf Issue mcp-graveyard/UXP#1619 - Missing Dimension Computation
This existed in Firefox before this bug.
I don't know if it came from a previous bug or was removed post-fork.
2020-08-07 21:27:40 +00:00
Andy 6f8363edfb Issue mcp-graveyard/UXP#1619 - Convert Intrinsic Ratio to Float
https://bugzilla.mozilla.org/show_bug.cgi?id=1547792

Aspect Ratio handling simplified by using floating point integers:
- Multiplication of value (or inverse value) to a known side for Scaling
- No unequal equal values such as "4/3" vs "8/6" vs "20/15"
- Truly "Empty" aspect ratios, even if one dimension is not 0
2020-08-07 21:27:29 +00:00
Matt A. Tobin 97d8c86d9d Add license header to media/webrtc/trunk/build/mac/find_sdk_uxp.py 2020-08-07 21:27:17 +00:00
Matt A. Tobin 6824cdacf6 Use an alt script to properly determine the OSX SDK version 2020-08-07 21:27:03 +00:00
Gaming4JC 7211333ff7 Bug 1318570 - Clean up GetTextNode into TextEditRules.
EditorBase parameter of GetTextNode is unnecessary because it uses static method only. Also, we should return nsINode to reduce QI.

Resolves #1617
2020-08-07 21:26:33 +00:00
Moonchild 0b012355cb Pref and disable getRootNode()
This is apparently used for fallback selection and if available it is "assumed"
Shadow DOM is also available, while this is a utility function.

Webcompat is a nightmare sometimes.
2020-08-07 21:15:52 +00:00
Matt A. Tobin 8d60a27e77 Issue mcp-graveyard/UXP#1628 - Remove redundant PREF_EM_UPDATE_BACKGROUND_URL 2020-08-07 14:11:20 -04:00
Moonchild d8a9636ae1 [js] Try to catch bad pointers for GC and bail if not valid. 2020-08-06 18:31:58 +00:00
Moonchild 145c727a1f Issue mcp-graveyard/UXP#618 - Simplify module resolve hook to be a function pointer
This is an ahead-of time port to try and address #1624.
This is based on BZ 1461751 and Jon Coppeard's work in it.
2020-08-06 18:31:36 +00:00
Moonchild 17a5c3e3b9 [js] Add some utility functions to get the current JS runtime. 2020-08-06 18:28:54 +00:00
Moonchild 05053b252c Merge pull request #1627 from g4jc/618
Keep track of which modules in a graph have been fetched
2020-08-06 13:49:06 +02:00
Andy a5aa5cd0f3 Issue mcp-graveyard/UXP#1620 - Use Intrinsic Aspect Ratio for Images
https://bugzilla.mozilla.org/show_bug.cgi?id=1547231
https://bugzilla.mozilla.org/show_bug.cgi?id=1559094
https://bugzilla.mozilla.org/show_bug.cgi?id=1633434
https://bugzilla.mozilla.org/show_bug.cgi?id=1565690
https://bugzilla.mozilla.org/show_bug.cgi?id=1602047

Make use of Aspect Ratios in Image frames before Images are loaded.
- Check for width and height HTML properties and create a ratio with them.
- Overwrite HTML size values with actual image dimensions on load.
- Collapse any frames with srcless images.

Comments:
dom/html/nsGenericHTMLElement.cpp:1483
layout/generic/nsImageFrame.cpp:289
2020-08-04 13:56:45 -07:00
Gaming4JC ec7e870513 Issue mcp-graveyard/UXP#618 - Keep track of which modules in a graph have been fetched using a visited set
Ref: BZ 1365187
2020-08-04 10:25:36 -04:00
Gaming4JC 39712459a3 Issue mcp-graveyard/UXP#618 - Simplify module map interface
Ref: BZ 1365187
2020-08-04 10:25:32 -04:00
Moonchild 9e148f6d77 Merge pull request #1623 from g4jc/libeditor_patch
Improve Performance of libeditor
2020-08-04 11:16:59 +02:00
Moonchild 75dd81c0f3 Merge pull request #1626 from g4jc/618
Fix debug build issues on es-modules-work branch
2020-08-04 08:51:51 +02:00
Matt A. Tobin baa0314446 Issue mcp-graveyard/UXP#1625 - Allow MailNews Oauth2 support to be configured in confvars.sh
Baby has his bottle, you ok now?
2020-08-03 15:07:49 -04:00
Gaming4JC fd8f27789a Issue mcp-graveyard/UXP#618 - Align error handling for module scripts with the spec - Debug follow up
MODULE_STATUS_ERRORED is no more. Replacing with newer API.

Ref: BZ 1420420
2020-08-03 14:37:42 -04:00
Gaming4JC 5202178221 Issue mcp-graveyard/UXP#618 - Lazily initialise module binding maps - Debug follow up
The added debug assertion does not work due to missing API.
They were added in BZ 1337491, 1395366, and others, but were primarily used for multi-threading.
This uses our existing non-multithreaded syntax instead, resolving a `no member named` build error.
2020-08-03 14:37:41 -04:00
Gaming4JC f40afb22a3 Issue mcp-graveyard/UXP#618 - Remove eager instantiation - Debug follow up
The added debug assertion did not take into account microtask refactoring done in BZ 1405821.
Resulting in error: no member named 'IsInMicroTask' in 'nsContentUtils'.

This resolves the error.
2020-08-03 14:37:41 -04:00
Moonchild 1cfc8fc8f3 [js] Try to catch bad pointers for GC and bail if not valid. 2020-08-03 09:41:42 +00:00
Moonchild e214c3f3c4 Merge pull request #1622 from RealityRipple/master
Convert Intrinsic Ratio from nsSize to Float
2020-08-03 11:04:41 +02:00
Andy a634c8c782 Issue mcp-graveyard/UXP#1619 - Nits Picked 2020-08-02 08:01:58 -07:00
Jon Coppeard ab0ea1269c Issue mcp-graveyard/UXP#618 - Record module dependency before starting fetch so that error
handling works correctly

Ref BZ 1395896
2020-08-02 07:20:25 +00:00
Andy 21d3411b0c Issue mcp-graveyard/UXP#1619 - Add Vertical Writing Testcase
Ensures aspect ratio numerator and denominator aren't swapped in vertical writing modes.
https://bugzilla.mozilla.org/show_bug.cgi?id=1548768
2020-08-01 20:54:54 -07:00
Andy 2ee6b0c137 Issue mcp-graveyard/UXP#1619 - Missing Dimension Computation
This existed in Firefox before this bug.
I don't know if it came from a previous bug or was removed post-fork.
2020-07-31 22:42:38 -07:00
Matt A. Tobin 3f90b3a0c1 Add license header to media/webrtc/trunk/build/mac/find_sdk_uxp.py 2020-07-31 21:08:26 -04:00
Matt A. Tobin da56d07ed1 Use an alt script to properly determine the OSX SDK version 2020-07-31 20:47:28 -04:00
Andy 13b90bc1c1 Issue mcp-graveyard/UXP#1619 - Convert Intrinsic Ratio to Float
https://bugzilla.mozilla.org/show_bug.cgi?id=1547792

Aspect Ratio handling simplified by using floating point integers:
- Multiplication of value (or inverse value) to a known side for Scaling
- No unequal equal values such as "4/3" vs "8/6" vs "20/15"
- Truly "Empty" aspect ratios, even if one dimension is not 0
2020-07-31 13:01:18 -07:00
Gaming4JC 421013d7ae Issue mcp-graveyard/UXP#1621 - Part 4: Check whether node can be splited.
At first, HTMLEditor::GetActiveEditingHost might return null in this situation, we should check whether nullptr is returned. At second, SplitNodeDeep returns error since curent is design mode and selection node has no parent. So we should check error.

Ref: Bug 1350772
2020-07-31 15:59:59 -04:00
Gaming4JC 0532b1efdb Issue mcp-graveyard/UXP#1621 - Part 3: Use nsIAtom to change attirbute if possible.
We can replace old nsIEditor API with nsIAtom version.

Ref: Bug 1324996
2020-07-31 15:59:58 -04:00
Gaming4JC 66f8340cfd Issue mcp-graveyard/UXP#1621 - Part 2: Implement nsIAtom version of SetAttribute/RemoveAttribute/CloneAttirubte.
Add nsIAtom version of the following.
 - CloneAttribute
 - RemoveAttribute
 - RemoveAttributeOrEquivalent
 - SetAttribute
 - SetAttributeOrEquivalent

Ref: Bug 1324996
2020-07-31 15:59:58 -04:00
Gaming4JC 29417f5aa5 Issue mcp-graveyard/UXP#1621 - Part 1: CSSEditUtils should use atom for CSS property if possible.
There is a lot of string compare when using CSS property name. We should use nsGkAtoms instead.

Ref: Bug 1323138
2020-07-31 15:59:53 -04:00
Moonchild aaeab1bacd Merge pull request #1618 from g4jc/libeditor_patch
Clean up GetTextNode into TextEditRules.
2020-07-31 14:26:18 +02:00
Gaming4JC d96c3c954f Bug 1318570 - Clean up GetTextNode into TextEditRules.
EditorBase parameter of GetTextNode is unnecessary because it uses static method only. Also, we should return nsINode to reduce QI.

Resolves #1617
2020-07-30 23:01:53 -04:00
Moonchild a6ad1d7758 Merge branch 'redwood' into release 2020-07-30 09:37:13 +00:00
athenian200 5bee340bc7 Issue mcp-graveyard/UXP#1615 - SunOS LDAP cleanup.
I meant to do this a long time ago, but basically it accounts for the new XP_SOLARIS build flag that never made it into the MailNews code. Additionally, it enables a compatibility flag for Solaris 11.4 that allows us to use the three-argument implementation of ctime_r still used by Solaris 11.3 and illumos (which also appears equivalent to the NSLDAPI_CTIME implementation used by libldap internally). Also, the ctime_r function has been added to the time.h header library for a while now, not sure why Mozilla thought we didn't have a ctime_r implementation.
2020-07-30 09:36:55 +00:00
New Tobin Paradigm bc9825993c Merge pull request #1616 from athenian200/solaris_ldap_work
SunOS LDAP cleanup
2020-07-30 04:28:44 -04:00
athenian200 c48010e2c2 Issue mcp-graveyard/UXP#1615 - SunOS LDAP cleanup.
I meant to do this a long time ago, but basically it accounts for the new XP_SOLARIS build flag that never made it into the MailNews code. Additionally, it enables a compatibility flag for Solaris 11.4 that allows us to use the three-argument implementation of ctime_r still used by Solaris 11.3 and illumos (which also appears equivalent to the NSLDAPI_CTIME implementation used by libldap internally). Also, the ctime_r function has been added to the time.h header library for a while now, not sure why Mozilla thought we didn't have a ctime_r implementation.
2020-07-29 18:52:42 -05:00
Moonchild 807e249375 Merge branch 'redwood' into release 2020-07-29 19:32:26 +00:00
Matt A. Tobin 8596761c51 Issue mcp-graveyard/UXP#1614 - Update en-US Dictionary 2020-07-29 19:32:08 +00:00
Matt A. Tobin 6632797235 Issue mcp-graveyard/UXP#1614 - Update en-US Dictionary 2020-07-29 14:27:42 -04:00
Moonchild 6d2582fc72 Merge branch 'redwood' into release 2020-07-29 14:30:24 +00:00
Moonchild b6af0bffbc Improve dll loading on Windows. 2020-07-29 14:29:33 +00:00
Michael Tuexen bc0d531d4a [WebRTC] Stop putting addresses in the cookie chunk.
When using AF_CONN addresses, don't put these in the COOKIE
chunk. For these addresses it is possible to reconstruct them
locally. Conceptually, addresses are something to be shared
with the peer, but in the case of AF_CONN this might not be
the case. Therefore, zero then out.

Thanks to Natalie Silvanovich of Google Project Zero for
finding and reporting the issue.
2020-07-29 14:29:23 +00:00
Moonchild 165b543300 [dom] Fix a spec compliance issue with the HTML LS regarding script loading.
This fixes a spec compliance issue with section 8.1.4.2 Fetching scripts.
2020-07-29 14:29:10 +00:00
Moonchild ec54e54b38 [js] Don't improve TypeSets containing the magic-args type.
JIT optimizations involving the Javascript 'arguments' object could
potentially confuse later optimizations, so we simply disable these
optimizations as a DiD measure.
2020-07-29 14:28:55 +00:00
Andrea Marchesini 3e68541f8c [xpcom] Make Base64 compatible with ReadSegments() with small buffers. 2020-07-29 14:28:45 +00:00
Jan de Mooij c6d574c363 [js] Fix Sink to check for non-recoverable operands. 2020-07-29 14:28:36 +00:00
Moonchild cdd743cc8e [network/dom] Improve sanitization of download filenames. 2020-07-29 14:28:24 +00:00
Moonchild 1f9598c4ef Improve dll loading on Windows. 2020-07-29 14:13:33 +00:00
Michael Tuexen 8df5036326 [WebRTC] Stop putting addresses in the cookie chunk.
When using AF_CONN addresses, don't put these in the COOKIE
chunk. For these addresses it is possible to reconstruct them
locally. Conceptually, addresses are something to be shared
with the peer, but in the case of AF_CONN this might not be
the case. Therefore, zero then out.

Thanks to Natalie Silvanovich of Google Project Zero for
finding and reporting the issue.
2020-07-29 13:36:37 +00:00
Moonchild 6e4b103af4 [dom] Fix a spec compliance issue with the HTML LS regarding script loading.
This fixes a spec compliance issue with section 8.1.4.2 Fetching scripts.
2020-07-29 11:55:30 +00:00
Moonchild e1575f15dd [js] Don't improve TypeSets containing the magic-args type.
JIT optimizations involving the Javascript 'arguments' object could
potentially confuse later optimizations, so we simply disable these
optimizations as a DiD measure.
2020-07-29 11:25:40 +00:00
Andrea Marchesini 3f2005f169 [xpcom] Make Base64 compatible with ReadSegments() with small buffers. 2020-07-29 10:52:30 +00:00
Jan de Mooij 5d1a9bde21 [js] Fix Sink to check for non-recoverable operands. 2020-07-29 10:36:00 +00:00
Moonchild ae1831746b [network/dom] Improve sanitization of download filenames. 2020-07-29 01:21:13 +00:00
Matt A. Tobin a156d726a5 Follow up to 39be34c06 - The check sound be if not ordered
FINE! I'll go to bed already...
2020-07-28 15:51:37 +00:00
Matt A. Tobin 6262cd2d0f [MailNews] Allow setting "Local Folders" as always the first displayed account 2020-07-28 15:50:20 +00:00
Matt A. Tobin 8f4e0a14da [MailNews] Allow ordering of accounts to respect mail.accountmanager.accounts 2020-07-28 15:50:09 +00:00
Moonchild ed15097188 Issue mcp-graveyard/UXP#1391 - Remove the DOM battery API 2020-07-28 15:47:07 +00:00
Moonchild 2ee615a258 Issue mcp-graveyard/UXP#1391 - Remove the DOM battery API 2020-07-28 15:46:41 +00:00
Moonchild 422dd7abbc Fix line endings. 2020-07-28 10:38:28 +00:00
Moonchild e1e386e319 Issue mcp-graveyard/UXP#1587 Part 12 (followup 2): Allow clearing of signal by setting to null. 2020-07-28 10:38:16 +00:00
Moonchild ed4d13f8a3 Issue mcp-graveyard/UXP#1587 Part 11 (followup 1): Implement multithreaded signals for workers. 2020-07-28 10:38:04 +00:00
Matt A. Tobin 6fb8128fee Follow up to 39be34c06 - The check sound be if not ordered
FINE! I'll go to bed already...
2020-07-27 20:36:11 -04:00
Matt A. Tobin 560b3cae10 Revert "Follow up to 39be34c06 - The check sound be if not ordered"
This reverts commit d7d4567ffe.
2020-07-27 20:34:47 -04:00
Matt A. Tobin 4875861606 Follow up to 39be34c06 - The check sound be if not ordered
I am tired.
2020-07-27 20:33:34 -04:00
Matt A. Tobin f645985334 Revert "Follow up to 39be34c06 - The check sound be if not ordered"
This reverts commit 8698bde001.
2020-07-27 20:32:25 -04:00
Matt A. Tobin cbfa6b865d Follow up to 39be34c06 - The check sound be if not ordered 2020-07-27 20:30:56 -04:00
Matt A. Tobin 97ac0b1897 [MailNews] Allow setting "Local Folders" as always the first displayed account 2020-07-27 19:18:35 -04:00
Matt A. Tobin 5881be2f27 [MailNews] Allow ordering of accounts to respect mail.accountmanager.accounts 2020-07-27 19:17:14 -04:00
Moonchild 00276b7043 Merge branch 'abortcontroller-work' 2020-07-27 00:16:27 +02:00
Moonchild 752ca32042 Fix line endings. 2020-07-25 17:37:05 +00:00
Moonchild 1116a4e6ed Issue mcp-graveyard/UXP#1587 Part 12 (followup 2): Allow clearing of signal by setting to null. 2020-07-25 17:31:58 +00:00
Moonchild 5f06aea542 Issue mcp-graveyard/UXP#1587 Part 11 (followup 1): Implement multithreaded signals for workers. 2020-07-24 11:09:54 +00:00
Moonchild aadf3f8d2f [css] Enable various arbitrarily-disabled CSS features in the platform.
These should all be spec-compliant and were (for release-trickling of features)
arbitrarily disabled by Mozilla at our fork point. There's no real reason to
keep them disabled since they are used in the wild.
2020-07-23 23:17:18 +00:00
Matt A. Tobin b4d80acf36 Issue mcp-graveyard/UXP#1612 - Add-ons targeting Toolkit's ID (and not Firefox's) should be considered "native" by the Add-ons Manager when using the Dual-GUID system
A version bump triggering add-on compatibility check will re-evaluate the "native" status (among other things) so no extra or special work is required to fix erroneous warnings.

tl;dr instafix!
2020-07-23 23:17:09 +00:00
Matt A. Tobin d28650ec09 Issue mcp-graveyard/UXP#1611 - Enable WASM by default but only enable jit when 64bit 2020-07-23 23:16:56 +00:00
Moonchild 37774f2f13 [css] Enable various arbitrarily-disabled CSS features in the platform.
These should all be spec-compliant and were (for release-trickling of features)
arbitrarily disabled by Mozilla at our fork point. There's no real reason to
keep them disabled since they are used in the wild.
2020-07-23 23:16:18 +00:00
Matt A. Tobin 42935554b8 Issue mcp-graveyard/UXP#1612 - Add-ons targeting Toolkit's ID (and not Firefox's) should be considered "native" by the Add-ons Manager when using the Dual-GUID system
A version bump triggering add-on compatibility check will re-evaluate the "native" status (among other things) so no extra or special work is required to fix erroneous warnings.

tl;dr instafix!
2020-07-22 04:56:56 -04:00
Matt A. Tobin d18cd5b517 Issue mcp-graveyard/UXP#1611 - Enable WASM by default but only enable jit when 64bit 2020-07-20 08:12:05 -04:00
Gaming4JC 47261562e8 Issue mcp-graveyard/UXP#618 - Remove eager instantiation - Debug follow up
The added debug assertion did not take into account microtask refactoring done in BZ 1405821.
Resulting in error: no member named 'IsInMicroTask' in 'nsContentUtils'.

This resolves the error.
2020-07-12 19:40:18 +00:00
Moonchild 3f0e620534 Merge pull request #1607 from g4jc/618
Issue mcp-graveyard/UXP#618 - Remove eager instantiation - Debug follow up
2020-07-12 02:03:53 +02:00
Moonchild 0d95b0ed95 Revert "Revert "Issue mcp-graveyard/UXP#1445 - strings cleanup""
This reverts commit 554183b5dd.
2020-07-12 01:35:45 +02:00
Moonchild 13469fc4e5 Revert "Revert "Issue mcp-graveyard/UXP#1445 - Add a link to details on using Firefox extensions in Pale Moon""
This reverts commit 7ba07f4a17.
2020-07-12 01:35:30 +02:00
Moonchild 3b06777cf2 Revert "Revert "Issue mcp-graveyard/UXP#1445 - remove redundant nativeIndicator""
This reverts commit 0fb23389f5.
2020-07-12 01:35:17 +02:00
Moonchild 0acc4959f8 Revert "Revert "Issue mcp-graveyard/UXP#1445 - Use the detailed string also in the list entries.""
This reverts commit 0c150945dc.
2020-07-12 01:35:04 +02:00
Moonchild 088a4f9439 Revert "Revert "Issue mcp-graveyard/UXP#1446 - Only match extension add-on types for target applications.""
This reverts commit b089b365d6.
2020-07-12 01:34:51 +02:00
Moonchild cc7fae22ba Revert "Revert "Issue mcp-graveyard/UXP#1446 - Only allow extension add-on types for Firefox compat mode.""
This reverts commit 55fa46d059.
2020-07-12 01:34:38 +02:00
Moonchild 0564a1486e Revert "Revert "Issue mcp-graveyard/UXP#1445 - Clarify the status of extensions in the Add-On manager""
This reverts commit d21b46fc9c.
2020-07-12 01:34:17 +02:00
Gaming4JC a966db2b4e Issue mcp-graveyard/UXP#618 - Remove eager instantiation - Debug follow up
The added debug assertion did not take into account microtask refactoring done in BZ 1405821.
Resulting in error: no member named 'IsInMicroTask' in 'nsContentUtils'.

This resolves the error.
2020-07-11 10:57:29 -04:00
Moonchild 7e193181ae Merge branch 'redwood' into release 2020-07-10 18:46:10 +00:00
Moonchild 96b5395402 [network] Use query and ref lengths if available in nsStandardURL. 2020-07-10 18:34:52 +00:00
Moonchild 5c5c374e06 [js] Get the class pointer from the ObjectGroup in NativeObject::slotSpan
This changes NativeObject::slotSpan() to get the class from the object group
rather than getting it from the base shape to avoid a race between
Shape::ensureOwnBaseShape and background sweeping.
2020-07-10 18:34:43 +00:00
Moonchild 202d13a98a Force clobber 2020-07-10 18:34:31 +00:00
Moonchild a614e766d1 [NSS] Version and build bump 2020-07-10 18:33:22 +00:00
Sohaib ul Hassan fc269a62b6 [NSS] Implement constant-time GCD and modular inversion
The implementation is based on the work by Bernstein and Yang
(https://eprint.iacr.org/2019/266)
"Fast constant-time gcd computation and modular inversion".

It fixes the old mp_gcd and s_mp_invmod_odd_m functions. The patch also fixes
mpl_significant_bits s_mp_div_2d and s_mp_mul_2d by having less control flow to
reduce side-channel leaks.

Co-authored by : Billy Bob Brumley
2020-07-10 18:33:11 +00:00
Moonchild 54b88a8956 [js] Improve readability and control flow of js date string parser. 2020-07-10 18:33:01 +00:00
Byron Campen [:bwc] ed20410e6f [WebRTC] Make candidate pair insertion code easier to read/understand.
Includes removing an error code for a function that never fails, and removing an
error return when the function successfully did what it said it would.

Ref: BZ 1644477
2020-07-10 18:32:51 +00:00
Moonchild b216d1cc0a [AppCache] Add check for disallowed encoded path separators 2020-07-10 18:32:35 +00:00
Moonchild a464685143 [image] Add a sanity check to JPEG encoder buffer handling, just in case. 2020-07-10 18:32:26 +00:00
Moonchild ba68e4e258 Issue mcp-graveyard/UXP#618 - Fix typo and remove old function declarations. 2020-07-10 18:31:16 +00:00
Moonchild 166f1c7e2c Issue mcp-graveyard/UXP#618 - Report source position information (line/column)
Report source position information for module export resolution failures.

Ref: BZ 1362098
2020-07-10 18:31:06 +00:00
Moonchild fac4750b56 Issue mcp-graveyard/UXP#618 - Slightly improve module scripting tests.
Ref: BZ 1388728
2020-07-10 18:30:57 +00:00
Moonchild 21fe54bd37 Issue mcp-graveyard/UXP#618 - Further align error handling for module scripts with the spec
Ref: BZ 1388728
2020-07-10 18:30:48 +00:00
Moonchild d7dc2740da Issue mcp-graveyard/UXP#618 - Remove context and heap-idle check
For checking if a module is in an error state and what the error is, it
shouldn't matter if we are currently GC-ing or not. So we don't need to check
for it, which removes the requirement to pass in the JS context (needed for
AssertHeapIsIdle's runtime check); this unblocks progress where otherwise we'd
have to figure out what the context is at the module level just to satisfy this
check.
2020-07-10 18:30:39 +00:00
Moonchild 916eb3257c Issue mcp-graveyard/UXP#618 - Remove eager instantiation
This backs out the stuff added in Bug 1295978.
Ref: BZ 1295978, 1388728
2020-07-10 18:30:30 +00:00
Moonchild 730cdc072f Issue mcp-graveyard/UXP#618 - Fix JSAPI additions to pass the JS context. 2020-07-10 18:30:14 +00:00
Moonchild eaa1d21028 Issue mcp-graveyard/UXP#618 - Match JSAPI names with the changes in 9ca7414722
Ref: BZ 1388728
2020-07-10 18:30:03 +00:00
Moonchild 071afa3ac3 Issue mcp-graveyard/UXP#618 - Add APIs to query module record errors
Ref: BZ 1388728
2020-07-10 18:29:52 +00:00
Moonchild d26a2c171a Issue mcp-graveyard/UXP#618 - Update code comments for ModuleInstantiate 2020-07-10 18:29:43 +00:00
Moonchild 6b7e2c49ce Issue mcp-graveyard/UXP#618 - Align module instantiation/errors with the updated spec.
Store and re-throw module instantiation and evaluation errors.
Ref: BZ 1374239, 1394492
2020-07-10 18:29:33 +00:00
Moonchild d0020fd85f Issue mcp-graveyard/UXP#618 - Add clarifying code comments. 2020-07-10 18:29:22 +00:00
Moonchild 23ed4f7408 Issue mcp-graveyard/UXP#618 - Check for failed instantiation when starting to fetch dependencies
If instantiation has failed, then also fail the load and don't fetch imports.
Ref BZ: 1358882
2020-07-10 18:29:13 +00:00
Moonchild 51f4069744 Issue mcp-graveyard/UXP#1603 - Part 2: Split some classes out of ScriptLoader.cpp
This splits ScriptLoader up the same way Mozilla did with the exception of
ScriptRequest due to the fact that ScriptLoader and ScriptRequest are
interdependent and would create a circular dependency if split apart when not
using unified building.
2020-07-10 18:29:02 +00:00
Moonchild 27f4c5afaa Issue mcp-graveyard/UXP#1603 - Part 1: Reorganize ScriptLoader/ScriptElement
- Moves scripting parts of DOM into 'dom/script'
- Renames nsScript{Loader/Element} to Script{Loader/Element}
- Adjusts all callers
2020-07-10 18:28:50 +00:00
Moonchild e2e0269129 [network] Use query and ref lengths if available in nsStandardURL. 2020-07-10 16:52:44 +00:00
Moonchild fb909e94eb [js] Get the class pointer from the ObjectGroup in NativeObject::slotSpan
This changes NativeObject::slotSpan() to get the class from the object group
rather than getting it from the base shape to avoid a race between
Shape::ensureOwnBaseShape and background sweeping.
2020-07-10 16:15:00 +00:00
Moonchild 4b28da6257 Force clobber 2020-07-09 20:19:06 +00:00
Moonchild c1179af36a [NSS] Version and build bump 2020-07-09 18:55:01 +00:00
Sohaib ul Hassan 3767afbde7 [NSS] Implement constant-time GCD and modular inversion
The implementation is based on the work by Bernstein and Yang
(https://eprint.iacr.org/2019/266)
"Fast constant-time gcd computation and modular inversion".

It fixes the old mp_gcd and s_mp_invmod_odd_m functions. The patch also fixes
mpl_significant_bits s_mp_div_2d and s_mp_mul_2d by having less control flow to
reduce side-channel leaks.

Co-authored by : Billy Bob Brumley
2020-07-09 18:51:51 +00:00
Moonchild 9648260df9 [js] Improve readability and control flow of js date string parser. 2020-07-09 16:01:42 +00:00
Byron Campen [:bwc] 724174d6c5 [WebRTC] Make candidate pair insertion code easier to read/understand.
Includes removing an error code for a function that never fails, and removing an
error return when the function successfully did what it said it would.

Ref: BZ 1644477
2020-07-09 13:14:34 +00:00
Moonchild 499ed62fc3 [AppCache] Add check for disallowed encoded path separators 2020-07-09 13:01:36 +00:00
Moonchild e04a73f46f [image] Add a sanity check to JPEG encoder buffer handling, just in case. 2020-07-09 11:22:40 +00:00
Moonchild f956656442 Issue mcp-graveyard/UXP#618 - Lazily initialise module binding maps
Make it so they are not allocated on a background thread in a different zone to
the final module.

Ref: BZ 1372258
2020-07-08 14:53:31 +00:00
Moonchild d2c1db0e7e Issue mcp-graveyard/UXP#618 - Use a single slot for the module's environment object.
According to the spec this isn't created until the module is instantiated, but
we create it when we compile the module.
We stored this previously in InitialEnvironmentSlot and copied it to
EnvironmentSlot when it was supposed to be created, but we can just store it in
the latter slot straight away and check the module's status and return null if
it shouldn't exist yet.

This reduces the number of slots needed on a moduleObject to 17.

Re: BZ 1420412 Part 1
We can't implement the second part to further reduce our number of slots,
because it relies on SetProxyReservedSlot which in turn relies on
rearchitecturing JS proxies to make reserved slots dynamic. That's a rabbit hole
we really don't want to fall into.
So, we'll end up being a bit slower because it can't be in-line allocated with
having more than 16 slots, but so be it. I sincerely doubt it will make any
practical difference.
2020-07-08 14:12:57 +00:00
Moonchild 0938bd3c91 Issue mcp-graveyard/UXP#618 - Align error handling for module scripts with the spec (again)
This updates module implementation to match spec regarding handling of
instantiation errors, after it was changed yet again, this time to not remember
instantiation errors, but instead immediately rethrow applicable ones.

Ref: BZ 1420420
2020-07-08 12:58:30 +00:00
Moonchild 2ded02bb1c Issue mcp-graveyard/UXP#618 - Fix error events fired when loading JS module dependencies fail
When module dependencies fail, don't spam with errors for each import; only fire
the error event once.

Ref: BZ 1421259
2020-07-08 10:50:53 +00:00
Moonchild 2b34ff19df Merge branch 'es-modules-work' 2020-07-08 08:56:34 +00:00
Moonchild 0be68ce1fa Issue mcp-graveyard/UXP#618 - Fix typo and remove old function declarations. 2020-07-07 12:27:02 +00:00
Moonchild 21bbefa4e7 Merge branch 'es-modules-work' 2020-07-06 20:31:14 +00:00
Moonchild 033d339a68 Issue mcp-graveyard/UXP#618 - Report source position information (line/column)
Report source position information for module export resolution failures.

Ref: BZ 1362098
2020-07-04 23:12:13 +00:00
Moonchild 9ac3e8b117 Issue mcp-graveyard/UXP#618 - Slightly improve module scripting tests.
Ref: BZ 1388728
2020-07-04 20:33:01 +00:00
Moonchild 0ba8ced1be Issue mcp-graveyard/UXP#618 - Further align error handling for module scripts with the spec
Ref: BZ 1388728
2020-07-04 16:28:30 +00:00
Moonchild e799350ef9 Issue mcp-graveyard/UXP#618 - Remove context and heap-idle check
For checking if a module is in an error state and what the error is, it
shouldn't matter if we are currently GC-ing or not. So we don't need to check
for it, which removes the requirement to pass in the JS context (needed for
AssertHeapIsIdle's runtime check); this unblocks progress where otherwise we'd
have to figure out what the context is at the module level just to satisfy this
check.
2020-07-04 12:59:38 +00:00
Moonchild 59dca1b8fd Issue mcp-graveyard/UXP#618 - Remove eager instantiation
This backs out the stuff added in Bug 1295978.
Ref: BZ 1295978, 1388728
2020-07-04 10:35:22 +00:00
Moonchild 277c57b04b Issue mcp-graveyard/UXP#618 - Fix JSAPI additions to pass the JS context. 2020-07-03 15:59:00 +00:00
Moonchild fdaefdcbd4 Issue mcp-graveyard/UXP#618 - Match JSAPI names with the changes in 9ca7414722
Ref: BZ 1388728
2020-07-03 14:21:27 +00:00
Moonchild 818fbbe0a6 Issue mcp-graveyard/UXP#618 - Add APIs to query module record errors
Ref: BZ 1388728
2020-07-03 14:15:55 +00:00
Moonchild 33fbf66ff7 Issue mcp-graveyard/UXP#618 - Update code comments for ModuleInstantiate 2020-07-03 14:05:40 +00:00
Moonchild d227dd5da4 Issue mcp-graveyard/UXP#618 - Align module instantiation/errors with the updated spec.
Store and re-throw module instantiation and evaluation errors.
Ref: BZ 1374239, 1394492
2020-07-03 13:56:49 +00:00
Moonchild 0d51f7c38b Issue mcp-graveyard/UXP#618 - Add clarifying code comments. 2020-07-01 21:12:49 +00:00
Moonchild 2d8029c6e7 Issue mcp-graveyard/UXP#618 - Check for failed instantiation when starting to fetch dependencies
If instantiation has failed, then also fail the load and don't fetch imports.
Ref BZ: 1358882
2020-07-01 21:12:16 +00:00
Moonchild aef640b4ac Merge branch 'es-modules-work' 2020-07-01 12:57:29 +00:00
Moonchild 4c92acc856 Issue mcp-graveyard/UXP#1603 - Part 2: Split some classes out of ScriptLoader.cpp
This splits ScriptLoader up the same way Mozilla did with the exception of
ScriptRequest due to the fact that ScriptLoader and ScriptRequest are
interdependent and would create a circular dependency if split apart when not
using unified building.
2020-07-01 10:15:24 +00:00
Moonchild 40e3845614 Issue mcp-graveyard/UXP#1603 - Part 1: Reorganize ScriptLoader/ScriptElement
- Moves scripting parts of DOM into 'dom/script'
- Renames nsScript{Loader/Element} to Script{Loader/Element}
- Adjusts all callers
2020-06-30 11:51:11 +00:00
Gaming4JC e04d93ebc2 Bug 1316302 - Part 4: Refine HTMLEditRules::TryToJoinBlocks() and HTMLEditRules::MoveNodeSmart() with early return style for making scope of EditActionResult variable smaller
For now, let's make the scope of EditActionResult variable in them smaller without big change.

Tag mcp-graveyard/UXP#1563
2020-06-27 02:20:41 +02:00
Gaming4JC f0a92aaeaa Bug 1316302 - Part 3: Create EditActionResult class for making the methods which return nsresult, handled and canceled with out params
In a lot of places, edit action handlers and their helper methods return nsresult and aHandled and aCanceled with out params. However, the out params cause the code complicated since:

* it's not unclear if the method will overwrite aHandled and aCanceled value.
* callers need to create temporary variable event if some of them are not necessary.

This patch rewrites the helper methods of HTMLEditRules::WillDeleteSelection() with it.

Tag mcp-graveyard/UXP#1563
2020-06-27 02:20:28 +02:00
Gaming4JC 11c2f60e49 Bug 1316302 - Part 2: WillDeleteSelection() should retry to handle it when selection is collapsed and JoinBlocks() doesn't handle nor cancel the action
When selection is collapsed and JoinBlocks() doesn't handle nor cancel the action, WillDeleteSelection() should move selection to the start/end of leftmost/rightmost editable leaf node and retry to handle the action again.

For avoiding infinite loop, it checks if selected node is changed actually before calling itself again.

Tag mcp-graveyard/UXP#1563
2020-06-27 02:20:16 +02:00
Gaming4JC 2554c10349 Bug 1316302 - Part 1: Helper methods for HTMLEditRules::WillDeleteSelection() should have an out argument to indicates if it actually handles the action
When HTMLEditRules::WillDeleteSelection() tries to remove something from the end/start of a block to its last/first text node but it's contained by block elements, it tries to join the container and the block. However, JoinBlocks() always fails to join them since it's impossible operation. In this case, HTMLEditRules::WillDeleteSelection() should retry to remove something in the leaf, however, it's impossible for now because JoinBlocks() and its helper methods don't return if it handles the action actually.

This patch renames |JoinBlocks()| to |TryToJoinBlocks()| for representing what it is. And this patch adds |bool* aHandled| to the helper methods. Then, *aHandled and *aCancel are now always returns the result of each method. Therefore, for merging the result of multiple helper methods, callers need to receive the result with temporary variables and merge them by themselves.

Note that when they modify DOM node actually or the action should do nothing (for example, selection is across tables), aHandled is set to true.

Tag mcp-graveyard/UXP#1563
2020-06-27 02:20:04 +02:00
wolfbeast 82970405be Issue mcp-graveyard/UXP#1602 - Make sure we have a JSObject before trying to get global.
Dynamic script loading/unloading (thank you modules) can yank the script
out from under us before the JS API for it is initialized, leading to
null deref crashes.
This adds a simple check if the passed-in object is sane and present.
Resolves #1602
2020-06-27 02:19:50 +02:00
wolfbeast ffacca4e18 Issue mcp-graveyard/UXP#1602 - Make sure we have a JSObject before trying to get global.
Dynamic script loading/unloading (thank you modules) can yank the script
out from under us before the JS API for it is initialized, leading to
null deref crashes.
This adds a simple check if the passed-in object is sane and present.
Resolves #1602
2020-06-27 02:09:19 +02:00
Lootyhoof dc0861c396 Follow up to Issue mcp-graveyard/UXP#1578 - Remove unnecessary MOZ_ASSERT 2020-06-17 12:17:20 +00:00
Moonchild 3d37c91d51 Issue mcp-graveyard/UXP#1594 - restore UAC elevation in the uninstaller.
Effectively backs out BZ 1333789 which was uplifted to
Firefox before we forked for UXP.
Resolves #1594
2020-06-17 12:13:15 +00:00
Gaming4JC f283148140 Bug 1613623 - For IMAP, no longer allow STARTTLS when server sends PREAUTH greeting.
Tag mcp-graveyard/UXP#1312
2020-06-17 12:12:36 +00:00
Moonchild ff43879b8d Merge pull request #1596 from g4jc/1563
Allow backspace to work in editor even if there is a non-empty text node on the right
2020-06-16 13:15:38 +00:00
New Tobin Paradigm a31e52ebce Merge pull request #1595 from Lootyhoof/issue-1578-fixup
Remove unnecessary MOZ_ASSERT from widget/gtk/nsNativeMenuService.cpp
2020-06-14 23:14:45 -04:00
Lootyhoof 63da88d3e3 Follow up to Issue mcp-graveyard/UXP#1578 - Remove unnecessary MOZ_ASSERT 2020-06-14 23:23:23 +01:00
Moonchild 3e1e0a137a Issue mcp-graveyard/UXP#1594 - restore UAC elevation in the uninstaller.
Effectively backs out BZ 1333789 which was uplifted to
Firefox before we forked for UXP.
Resolves #1594
2020-06-14 21:43:38 +00:00
Gaming4JC b8fb60803d Bug 1316302 - Part 4: Refine HTMLEditRules::TryToJoinBlocks() and HTMLEditRules::MoveNodeSmart() with early return style for making scope of EditActionResult variable smaller
For now, let's make the scope of EditActionResult variable in them smaller without big change.

Tag mcp-graveyard/UXP#1563
2020-06-14 15:24:46 -04:00
Gaming4JC fbee8acf64 Bug 1316302 - Part 3: Create EditActionResult class for making the methods which return nsresult, handled and canceled with out params
In a lot of places, edit action handlers and their helper methods return nsresult and aHandled and aCanceled with out params. However, the out params cause the code complicated since:

* it's not unclear if the method will overwrite aHandled and aCanceled value.
* callers need to create temporary variable event if some of them are not necessary.

This patch rewrites the helper methods of HTMLEditRules::WillDeleteSelection() with it.

Tag mcp-graveyard/UXP#1563
2020-06-14 15:24:46 -04:00
Gaming4JC cb07f4a892 Bug 1316302 - Part 2: WillDeleteSelection() should retry to handle it when selection is collapsed and JoinBlocks() doesn't handle nor cancel the action
When selection is collapsed and JoinBlocks() doesn't handle nor cancel the action, WillDeleteSelection() should move selection to the start/end of leftmost/rightmost editable leaf node and retry to handle the action again.

For avoiding infinite loop, it checks if selected node is changed actually before calling itself again.

Tag mcp-graveyard/UXP#1563
2020-06-14 15:24:45 -04:00
Gaming4JC 8380c9da1c Bug 1316302 - Part 1: Helper methods for HTMLEditRules::WillDeleteSelection() should have an out argument to indicates if it actually handles the action
When HTMLEditRules::WillDeleteSelection() tries to remove something from the end/start of a block to its last/first text node but it's contained by block elements, it tries to join the container and the block. However, JoinBlocks() always fails to join them since it's impossible operation. In this case, HTMLEditRules::WillDeleteSelection() should retry to remove something in the leaf, however, it's impossible for now because JoinBlocks() and its helper methods don't return if it handles the action actually.

This patch renames |JoinBlocks()| to |TryToJoinBlocks()| for representing what it is. And this patch adds |bool* aHandled| to the helper methods. Then, *aHandled and *aCancel are now always returns the result of each method. Therefore, for merging the result of multiple helper methods, callers need to receive the result with temporary variables and merge them by themselves.

Note that when they modify DOM node actually or the action should do nothing (for example, selection is across tables), aHandled is set to true.

Tag mcp-graveyard/UXP#1563
2020-06-14 15:24:41 -04:00
New Tobin Paradigm ef83fb32d9 Merge pull request #1590 from g4jc/mail_patch
Don't allow STARTTLS when server sends PREAUTH
2020-06-14 07:15:09 -04:00
Moonchild 68252fb1b8 Merge pull request #1591 from MoonchildProductions/sr.activeElement-work
Implement ShadowRoot.activeElement
2020-06-14 10:01:06 +00:00
Matt A. Tobin 27687c0b37 Bug 1430299 - Add DocumentOrShadowRoot interface
Tag mcp-graveyard/UXP#1375
2020-06-13 08:24:18 -04:00
Matt A. Tobin 4a063f3570 Bug 1429656 - Implement ShadowRoot.activeElement
Tag mcp-graveyard/UXP#1375
2020-06-13 08:23:21 -04:00
Matt A. Tobin eebfeef673 Bug 1426494 - Share more code between nsIDocument and ShadowRoot
Tag mcp-graveyard/UXP#1375
2020-06-13 08:21:48 -04:00
Matt A. Tobin 4110cab074 Bug 1355787 - nsIdentifierMapEntry should let one to use either strings or atoms as keys to avoid slow string assignments when possible.
Tag mcp-graveyard/UXP#1375
2020-06-13 08:18:46 -04:00
Matt A. Tobin dd71cefbc0 Bug 1217436 - Make nsIdentifierMapEntry::mIdContentList an AutoTArray to save an allocation
Tag mcp-graveyard/UXP#1375
2020-06-13 08:17:56 -04:00
Moonchild d68f07dbef Issue mcp-graveyard/UXP#1587 - Part 10: Expose controlling pref and enable by default 2020-06-13 11:53:05 +02:00
Moonchild c093817984 Issue mcp-graveyard/UXP#1587 - Part 9: Immediately reject an already-aborted signal 2020-06-13 11:52:53 +02:00
Moonchild 9fa9c350b6 Issue mcp-graveyard/UXP#1587 - Part 8: Remove controller follow/unfollow
Since it didn't end up being in the final spec after all.
2020-06-13 11:52:42 +02:00
Moonchild 3351f59852 Issue mcp-graveyard/UXP#1587 - Part 7: Rename FetchController to AbortController
Also renames FetchSignal to AbortSignal. Includes renaming the various
controlling prefs to enable.
2020-06-13 11:52:30 +02:00
Moonchild 1d5abda12e Issue mcp-graveyard/UXP#1587 - Part 6: Move FetchController/Signal to its own dir
Since it is specced separately from fetch.
2020-06-13 11:52:17 +02:00
Moonchild aaa49288b9 Issue mcp-graveyard/UXP#1587 - Part 5: Hook FetchObserver up to the Fetch API 2020-06-13 11:52:04 +02:00
Moonchild 9a72295a8d Issue mcp-graveyard/UXP#1587 - Part 4: Implement FetchObserver 2020-06-13 11:51:53 +02:00
Moonchild b645438908 Issue mcp-graveyard/UXP#1587 - Part 3: Hook FetchSignal up to the Fetch API 2020-06-13 11:51:41 +02:00
Moonchild 7b7df00418 Issue mcp-graveyard/UXP#1587 - Part 2: Implement controller follow/unfollow 2020-06-13 11:51:30 +02:00
Moonchild 2870231b23 Issue mcp-graveyard/UXP#1587 - Part 1: Implement FetchController/FetchSignal interface 2020-06-13 11:51:18 +02:00
adeshkp 3d5c3b8395 Issue mcp-graveyard/UXP#1542 - Fix a typo in wasm which was causing build failure on ARM 2020-06-13 11:50:21 +02:00
Moonchild b01e320452 Issue mcp-graveyard/UXP#1585 - Replace node.rootNode with node.getRootNode()
This removes the (default disabled) node.rootNode readonly attribute
and replaces it with a node.getRootNode() function per WhatWG
spec discussion.
Based on work by John Dai <jdai@mozilla.com>
2020-06-13 11:50:06 +02:00
Matt A. Tobin 9d5e7302cb Follow up to Issue mcp-graveyard/UXP#1578 - Preprocess the popup binding 2020-06-13 11:49:53 +02:00
Lootyhoof ad4e112475 Issue MoonchildProductions/UXP#1578 - Add global menubar support for GTK 2020-06-13 11:49:36 +02:00
Moonchild 4ed154c219 Issue mcp-graveyard/UXP#1560 - Always include speech synthesis IPDLs
This is entangled with the IPC messaging configuration so
we need these IPDLs even if sppech synthesis is otherwise
not being built.

This resolves #1560
2020-06-13 11:49:13 +02:00
Moonchild 2eefe19376 [NSS] Update exported symbols
Some symbols were missing from export which might lead to build bustage.
2020-06-13 11:47:25 +02:00
Gaming4JC 23a6f4e064 Issue mcp-graveyard/UXP#1580 - Add missing MP3Demuxer.h to MediaDecoderReader.h
Follow up for dom/media work on Issue mcp-graveyard/UXP#80. Fixes non-optimized build bustage.
2020-06-13 11:47:05 +02:00
Moonchild 9f400c0357 Merge branch 'abortcontroller-work' 2020-06-12 07:46:54 +00:00
Moonchild 4f1b913def Issue mcp-graveyard/UXP#1587 - Part 10: Expose controlling pref and enable by default 2020-06-12 01:47:54 +00:00
Moonchild 7a3d8f6980 Issue mcp-graveyard/UXP#1587 - Part 9: Immediately reject an already-aborted signal 2020-06-12 01:46:48 +00:00
Moonchild a161af3bb0 Issue mcp-graveyard/UXP#1587 - Part 8: Remove controller follow/unfollow
Since it didn't end up being in the final spec after all.
2020-06-12 01:08:26 +00:00
Moonchild ccc2ab9332 Issue mcp-graveyard/UXP#1587 - Part 7: Rename FetchController to AbortController
Also renames FetchSignal to AbortSignal. Includes renaming the various
controlling prefs to enable.
2020-06-11 23:20:52 +00:00
New Tobin Paradigm 57f45702c5 Merge pull request #1588 from g4jc/439
Remove no longer existing test headers from WebIDL
2020-06-11 11:58:14 -04:00
Gaming4JC 2bfdb44ff6 Issue mcp-graveyard/UXP#439 - Debug follow up to remove no longer existing headers
Although the headers were removed, they are still referenced in WebIDL causing compiler to fail for debug builds.
This removes TestFunctions.webidl and TestInterfaceJSMaplikeSetlikeIterable.webidl, with nit fix for existing incorrect whitespace.
2020-06-11 11:52:09 -04:00
Gaming4JC bed7e2468a Bug 1613623 - For IMAP, no longer allow STARTTLS when server sends PREAUTH greeting.
Tag mcp-graveyard/UXP#1312
2020-06-11 10:33:23 -04:00
Moonchild b45a1f6ef8 Issue mcp-graveyard/UXP#1587 - Part 6: Move FetchController/Signal to its own dir
Since it is specced separately from fetch.
2020-06-11 12:43:17 +00:00
Moonchild 66735b5265 Issue mcp-graveyard/UXP#1587 - Part 5: Hook FetchObserver up to the Fetch API 2020-06-11 08:51:07 +00:00
Moonchild b24ba59f57 Issue mcp-graveyard/UXP#1587 - Part 4: Implement FetchObserver 2020-06-11 08:22:04 +00:00
Moonchild b328fb29f9 Issue mcp-graveyard/UXP#1587 - Part 3: Hook FetchSignal up to the Fetch API 2020-06-10 21:51:44 +00:00
Moonchild c8981dad11 Issue mcp-graveyard/UXP#1587 - Part 2: Implement controller follow/unfollow 2020-06-10 21:33:47 +00:00
Moonchild 6acc7ee552 Issue mcp-graveyard/UXP#1587 - Part 1: Implement FetchController/FetchSignal interface 2020-06-10 21:08:58 +00:00
New Tobin Paradigm 18fc5364a6 Merge pull request #1586 from adeshkp/fix-arm-build
Fix a typo in wasm which was causing build failure on ARM
2020-06-10 14:37:19 -04:00
Moonchild 0eff30d10d Issue mcp-graveyard/UXP#1585 - Replace node.rootNode with node.getRootNode()
This removes the (default disabled) node.rootNode readonly attribute
and replaces it with a node.getRootNode() function per WhatWG
spec discussion.
Based on work by John Dai <jdai@mozilla.com>
2020-06-10 01:19:37 +00:00
Matt A. Tobin 900e0c169c Follow up to Issue mcp-graveyard/UXP#1578 - Preprocess the popup binding 2020-06-09 10:42:36 -04:00
Moonchild d906155523 Merge pull request #1584 from Lootyhoof/global-menu
Add global menubar support for GTK
2020-06-09 16:22:26 +02:00
Lootyhoof 21f8071ce8 Issue MoonchildProductions/UXP#1578 - Add global menubar support for GTK 2020-06-09 13:41:53 +01:00
Moonchild 0e334014e8 Issue mcp-graveyard/UXP#1560 - Always include speech synthesis IPDLs
This is entangled with the IPC messaging configuration so
we need these IPDLs even if sppech synthesis is otherwise
not being built.

This resolves #1560
2020-06-09 04:18:32 +00:00
Moonchild c58a4f150d Issue mcp-graveyard/UXP#439 - Remove, fix and clean up automated tests
With the big amount of code churn around DOM a lot of tests
broke severely enough that they caused build bustage.
This commit cleans up, removes or otherwise fixes tests
that are broken, no longer relevant or obsolete.
2020-06-08 18:12:08 +00:00
Moonchild cec29e0b97 [NSS] Update exported symbols
Some symbols were missing from export which might lead to build bustage.
2020-06-08 18:07:02 +00:00
adeshkp 2fd413c807 Issue mcp-graveyard/UXP#1542 - Fix a typo in wasm which was causing build failure on ARM 2020-06-08 09:17:59 -04:00
Moonchild d9831afc79 Merge pull request #1581 from g4jc/1580
Add missing MP3Demuxer.h to MediaDecoderReader.h
2020-06-08 02:28:19 +02:00
Moonchild b89a240da5 Merge pull request #1582 from g4jc/marqp
Kill marquee element; Debug Follow Up
2020-06-08 02:28:00 +02:00
Gaming4JC fd358f2f1c Issue mcp-graveyard/UXP#1525 - Kill marquee element; Debug Follow Up
The marquee element was still specified in debug code, causing build to fail without it's removal.
2020-06-07 19:02:29 -04:00
Gaming4JC e0db1ccf23 Issue mcp-graveyard/UXP#1580 - Add missing MP3Demuxer.h to MediaDecoderReader.h
Follow up for dom/media work on Issue mcp-graveyard/UXP#80. Fixes non-optimized build bustage.
2020-06-07 18:59:00 -04:00
Moonchild 2657ab0191 [DOM] Hard-disable webcomponents and customelements prefs (redwood) 2020-06-07 18:09:13 +00:00
Moonchild b57ea93825 Merge pull request #1576 from win7-7/1379306-pr
Fix the wrong position when we calculate the position for position:absolute child
2020-06-04 21:34:32 +02:00
Moonchild 7c52a76c5e Fix missing include 2020-06-03 14:23:28 +00:00
Moonchild 2e2f7a57a2 Issue mcp-graveyard/UXP#80 - Re-land early dom/media de-unification with fixups.
For some reason these changes never got merged back to master
after reverting to work on a branch...
2020-06-03 11:49:58 +00:00
Moonchild b8651cab3f Fix missing include 2020-06-03 11:45:28 +00:00
Moonchild cd37834f24 Fix missing include 2020-06-03 11:44:55 +00:00
Moonchild 53d68a15b7 Merge branch 'release' of https://github.com/MoonchildProductions/UXP into release 2020-06-03 10:51:52 +00:00
Moonchild c5817e799a Merge branch 'redwood' into release 2020-06-03 10:50:44 +00:00
Moonchild d9342f0bde [NSS] Bump NSS version 2020-06-03 10:49:54 +00:00
Moonchild 2d506ea25f [NSS] Force a fixed length for DSA exponentiation 2020-06-03 10:49:43 +00:00
Moonchild f1f83e0a95 Bug 1632717 2020-06-03 10:49:35 +00:00
adeshkp 8a9bec1fdb Issue mcp-graveyard/UXP#1566 - Lowercase link filename extension 2020-06-03 10:49:23 +00:00
Moonchild 092bd01a69 [NSS] Bump NSS version 2020-06-03 10:47:56 +00:00
Moonchild ed0695f14e [NSS] Force a fixed length for DSA exponentiation 2020-06-03 10:15:17 +00:00
Moonchild 1d9a36f42a Bug 1632717 2020-06-03 09:44:20 +00:00
win7-7 36f389834c issue #1575 - Fix the wrong position when we calculate the position for position:absolute child and add reftests
Use |GetUsedBorder| instead of |GetComputedBorder| when we calculate the position for position:absolute child.
2020-06-02 11:55:46 +03:00
Moonchild 2fc541eb32 Merge pull request #1574 from adeshkp/patch-19
Lowercase link filename extension on Windows
2020-06-02 00:02:01 +02:00
Moonchild 3e0997fb35 Merge remote-tracking branch 'origin/redwood' into release 2020-06-01 21:58:35 +00:00
adeshkp 23e0dbfcc1 Issue mcp-graveyard/UXP#1566 - Lowercase link filename extension 2020-06-01 19:36:07 +05:30
MoonchildandGaming4JC dd5020e069 Issue mcp-graveyard/UXP#1525 - Kill marquee element
* Remove marquee code
* Regenerate HTML Elements/parser code for Removal of Marquee.

Co-authored-by: Gaming4JC <g4jc@hyperbola.info>
2020-06-01 14:16:06 +02:00
athenian200 d502d16ea7 Issue mcp-graveyard/UXP#1571 - Remove JEMALLOC_USES_MAP_ALIGN and fix 48-bit addressing on SunOS AMD64.
The JEMALLOC_USES_MAP_ALIGN code has turned out to be worse than useless, and in fact it breaks 64-bit SunOS. It's very old and turned out not to be needed anymore because the way the memory allocator works has changed since it was implemented. It prevented a fix I tried for 48-bit addressing from working properly. However, without either this code or the 48-bit addressing fix, the 64-bit version won't even start, which is why I thought the code was still needed.

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

https://hg.mozilla.org/mozilla-central/rev/a26c500b98ab

The 48-bit addressing fix is based on code found here:

https://github.com/OpenIndiana/oi-userland/blob/oi/hipster/components/web/firefox/patches/patch-js_src_gc_Memory.cpp.patch

I already applied these changes to js/src/gc/Memory.cpp, but as I was looking through jemalloc.c I saw that there were very similar ifdefs for Linux on SPARC as the ones I'd had to enaable in Memory.cpp, but for whatever reason the patches I found didn't touch them. So I tried doing for jemalloc.c what was already done for Memory.cpp, and it worked (but only after I removed the map align code).
2020-06-01 11:48:25 +00:00
Moonchild efd26c61e8 Update README.md
wiki -> site
2020-06-01 11:48:15 +00:00
wolfbeast f984e02712 Issue mcp-graveyard/UXP#1570 - Implement globalThis
This resolves #1570
2020-06-01 11:48:07 +00:00
Fedor 30f97961a5 Issue mcp-graveyard/UXP#1558 - Prevent null deref crash in WebrtcVideoConduit DTOR 2020-06-01 11:47:44 +00:00
Ascrod 7ddd2e89e7 Issue mcp-graveyard/UXP#361 - Remove dead Android code.
See Bug 1629030, part 3.
2020-06-01 11:47:09 +00:00
Trushita 6b69baba07 Bug 1154295 - use normal formatting for plaintext documents in reader mode
Before this change the plain text document in reader mode was not formatted/styled properly.

Tag mcp-graveyard/UXP#361.
2020-06-01 11:47:01 +00:00
Cameron McCormack b5e42c2e59 Bug 1621479 - Fix typo in reader mode CSS class preservation list.
Tag mcp-graveyard/UXP#361.
2020-06-01 11:46:53 +00:00
Ascrod 3faf87b500 Issue mcp-graveyard/UXP#361 - Update Readability from upstream.
(git rev 52ab9b5c8916c306a47b2119270dcdabebf9d203)
2020-06-01 11:46:41 +00:00
athenian200 7588cc1950 Issue mcp-graveyard/UXP#1571 - Remove JEMALLOC_USES_MAP_ALIGN and fix 48-bit addressing on SunOS AMD64.
The JEMALLOC_USES_MAP_ALIGN code has turned out to be worse than useless, and in fact it breaks 64-bit SunOS. It's very old and turned out not to be needed anymore because the way the memory allocator works has changed since it was implemented. It prevented a fix I tried for 48-bit addressing from working properly. However, without either this code or the 48-bit addressing fix, the 64-bit version won't even start, which is why I thought the code was still needed.

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

https://hg.mozilla.org/mozilla-central/rev/a26c500b98ab

The 48-bit addressing fix is based on code found here:

https://github.com/OpenIndiana/oi-userland/blob/oi/hipster/components/web/firefox/patches/patch-js_src_gc_Memory.cpp.patch

I already applied these changes to js/src/gc/Memory.cpp, but as I was looking through jemalloc.c I saw that there were very similar ifdefs for Linux on SPARC as the ones I'd had to enaable in Memory.cpp, but for whatever reason the patches I found didn't touch them. So I tried doing for jemalloc.c what was already done for Memory.cpp, and it worked (but only after I removed the map align code).
2020-06-01 11:00:26 +02:00
wolfbeast 70e875f824 Issue mcp-graveyard/UXP#1570 - Implement globalThis
This resolves #1570
2020-06-01 10:59:51 +02:00
Fedor feac83ebed Issue mcp-graveyard/UXP#1558 - Prevent null deref crash in WebrtcVideoConduit DTOR 2020-06-01 10:59:15 +02:00
New Tobin Paradigm f2394aedba Merge pull request #1572 from athenian200/jemalloc_48bit_address
Remove JEMALLOC_USES_MAP_ALIGN and fix 48-bit addressin…
2020-05-31 15:32:11 -04:00
athenian200 eaabeac135 Issue mcp-graveyard/UXP#1571 - Remove JEMALLOC_USES_MAP_ALIGN and fix 48-bit addressing on SunOS AMD64.
The JEMALLOC_USES_MAP_ALIGN code has turned out to be worse than useless, and in fact it breaks 64-bit SunOS. It's very old and turned out not to be needed anymore because the way the memory allocator works has changed since it was implemented. It prevented a fix I tried for 48-bit addressing from working properly. However, without either this code or the 48-bit addressing fix, the 64-bit version won't even start, which is why I thought the code was still needed.

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

https://hg.mozilla.org/mozilla-central/rev/a26c500b98ab

The 48-bit addressing fix is based on code found here:

https://github.com/OpenIndiana/oi-userland/blob/oi/hipster/components/web/firefox/patches/patch-js_src_gc_Memory.cpp.patch

I already applied these changes to js/src/gc/Memory.cpp, but as I was looking through jemalloc.c I saw that there were very similar ifdefs for Linux on SPARC as the ones I'd had to enaable in Memory.cpp, but for whatever reason the patches I found didn't touch them. So I tried doing for jemalloc.c what was already done for Memory.cpp, and it worked (but only after I removed the map align code).
2020-05-31 11:48:49 -05:00
Moonchild adfc841337 Update README.md
wiki -> site
2020-05-31 18:17:36 +02:00
wolfbeast 590f092f5d Issue mcp-graveyard/UXP#1570 - Implement globalThis
This resolves #1570
2020-05-30 21:14:43 +02:00
Moonchild bacb3bf48a Merge pull request #1565 from Feodor2/master
Prevent null deref crash in WebrtcVideoConduit DTOR
2020-05-29 11:58:39 +02:00
Fedor dfd4bbe3cc Issue mcp-graveyard/UXP#1558 - Prevent null deref crash in WebrtcVideoConduit DTOR 2020-05-27 09:01:53 +03:00
Moonchild b1949c3522 Merge pull request #1568 from MoonchildProductions/1564
Split off nsIdentifierMapEntry in its own header
2020-05-27 02:05:35 +02:00
wolfbeast 78e9b653a4 Revert "Issue mcp-graveyard/UXP#1564 - Fix debug build dependencies for g4jc"
This reverts commit 101c06946e.
2020-05-27 02:03:38 +02:00
Moonchild 4937551ae3 Merge pull request #1567 from Ascrod/readerview
Reader Updates
2020-05-26 17:47:52 +02:00
wolfbeast 6d9aeb533b Issue mcp-graveyard/UXP#1564 - Fix debug build dependencies for g4jc 2020-05-26 09:42:49 +02:00
wolfbeast 414da823f4 Issue mcp-graveyard/UXP#1564 - Fix debug build dependencies 2020-05-26 05:17:04 +02:00
Ascrod 3bf061b229 Issue mcp-graveyard/UXP#361 - Remove dead Android code.
See Bug 1629030, part 3.
2020-05-25 14:31:43 -04:00
Trushita 4bf9220ad5 Bug 1154295 - use normal formatting for plaintext documents in reader mode
Before this change the plain text document in reader mode was not formatted/styled properly.

Tag mcp-graveyard/UXP#361.
2020-05-25 14:31:31 -04:00
Cameron McCormack 1928a1c96f Bug 1621479 - Fix typo in reader mode CSS class preservation list.
Tag mcp-graveyard/UXP#361.
2020-05-25 14:30:18 -04:00
Ascrod 5cbcb9a331 Issue mcp-graveyard/UXP#361 - Update Readability from upstream.
(git rev 52ab9b5c8916c306a47b2119270dcdabebf9d203)
2020-05-25 14:29:42 -04:00
wolfbeast 2563174728 Issue mcp-graveyard/UXP#1564 - Split off nsIdentifierMapEntry in its own header
+ Fix dependency fallout from removing nsDocument.h from ShadowRoot.h
2020-05-25 20:28:36 +02:00
Moonchild 42d3c6fe35 [permissions] Fix build bustage with --disable-permissions 2020-05-23 16:13:26 +02:00
Moonchild ff04a9e48b [printing] Fix build bustage with --disable-printing 2020-05-23 16:13:14 +02:00
athenian200 5e98d0d096 Issue mcp-graveyard/UXP#1557 - Allow event dispatch on disabled form controls. (uplift) 2020-05-23 16:12:59 +02:00
athenian200 2f31509c70 Revert "Merge pull request #1357 from athenian200/form-disabled-issue"
This reverts commit ed88b99849, reversing
changes made to c4b0715baa.
2020-05-23 16:10:40 +02:00
Moonchild a42639a60d [permissions] Fix build bustage with --disable-permissions 2020-05-21 16:23:25 +00:00
Moonchild 6f16d4e4f5 [printing] Fix build bustage with --disable-printing 2020-05-21 16:22:51 +00:00
athenian200 27a117e835 Issue mcp-graveyard/UXP#1557 - Allow event dispatch on disabled form controls. (uplift) 2020-05-21 13:16:17 +00:00
athenian200 b2f56f2bca Revert "Merge pull request #1357 from athenian200/form-disabled-issue"
This reverts commit ed88b99849, reversing
changes made to c4b0715baa.
2020-05-21 13:10:27 +00:00
Moonchild c5f3242e7b Merge pull request #1559 from athenian200/form-disabled-issue
Restore -moz-input-disabled and allow events to target disabled form controls.
2020-05-21 15:00:59 +02:00
athenian200 88eb0f598b Issue mcp-graveyard/UXP#1557 - Allow event dispatch on disabled form controls.
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=329509

This seems to resolve #1356 without causing #1557.

Also reverts previous changes as they no longer appear to serve a purpose.
2020-05-21 01:31:48 -05:00
athenian200 42b2208199 Revert "Merge pull request #1357 from athenian200/form-disabled-issue"
This reverts commit ed88b99849, reversing
changes made to c4b0715baa.
2020-05-20 23:25:37 -05:00
athenian200 bf7fd30ccf Issue mcp-graveyard/UXP#1540 - Stop MP3 demuxer from choking on very small files. 2020-05-20 17:18:39 +02:00
Moonchild 3eef123751 Issue mcp-graveyard/UXP#1538 - remove speech recognition engine
This removes speech recognition, pocketsphinx, training models
and the speech automated test interface.
This also re-establishes proper use of MOZ_WEBSPEECH to work
for the speech API (synthesis part only) that was a broken mess
before, with some synth parts being always built, some parts
being built only with it enabled and recognition parts being
dependent on it. I'm pretty sure it'd be totally busted if you'd
ever have tried building without MOZ_WEBPEECH before.

Tested that synthesis still works as-intended.

This resolves #1538
2020-05-20 14:04:17 +00:00
Jiaxun Yang 96cbea35e2 Bug 1430745 - IPC: Fix unaligned accesses in DirReaderLinux
Tag: #1542
2020-05-20 14:04:01 +00:00
Jiaxun Yang d9496c6c3c Issue mcp-graveyard/UXP#1542 - [mtransport] Fix unaligned memory allocation in r_memory
Unaligend memory access can't work on RISC.
2020-05-20 14:03:54 +00:00
Jiaxun Yang d74ff3aaea Bug 1426323 - Media: WebRTC: Fix build config for MIPS64
Tag: #1542
2020-05-20 14:03:46 +00:00
Jiaxun Yang 5ed41e7c90 Issue mcp-graveyard/UXP#1542 - [WebRTC] Set CPU speed to -1 on MIPS
CPU is pretty slow due to lack of SIMD optmization.
2020-05-20 14:03:38 +00:00
Jiaxun Yang 6824426bb7 Issue mcp-graveyard/UXP#1542 - [WebRTC] Don't use post proc on MIPS 2020-05-20 14:03:28 +00:00
Jiaxun Yang 9dafe702dd Bug 1384826 - Media: WebRTC: Fix build config for MIPS
Tag: #1542
2020-05-20 14:03:20 +00:00
Jiaxun Yang a125c3974e Bug 1412030 - [MIPS] Emit wasm memory access information
Tag: #1542
2020-05-20 14:03:12 +00:00
Jiaxun Yang 7be7c9423f Bug 1330942 - move MemoryAccessDesc::isUnaligned to the ARM/MIPS platform layer
Tag: #1542
2020-05-20 14:03:04 +00:00
Jiaxun Yang 636b0d48dc Bug 1441521 : [MIPS] Optimize comparation with small constants
Tag: #1542
2020-05-20 14:02:56 +00:00
Jiaxun Yang 3ae9b43223 Bug 1430693 - IonMonkey: MIPS: Fix generic NaN for legacy mips (IEEE 754-1985)
Tag: #1542
2020-05-20 14:02:49 +00:00
Jiaxun Yang c3c643b800 Bug 1424978 - IonMonkey: MIPS64: Fix unboxNonDouble for Int32
Tag: #1542
2020-05-20 14:02:42 +00:00
Jiaxun Yang 27af884465 Bug 1424978 - IonMonkey: MIPS64: Fix tagValue function
Tag: #1542
2020-05-20 14:02:35 +00:00
Jiaxun Yang df21d81e1b Bug 1424978 - IonMonkey: MIPS64: Fix boxValue function
Tag: #1542
2020-05-20 14:02:28 +00:00
Jiaxun Yang 2a96a842e4 Bug 1390802 - IonMonkey: MIPS64: Fix storeValue function
Tag: #1542
2020-05-20 14:02:21 +00:00
Jiaxun Yang eb09408492 Bug 1424978 - IonMonkey: MIPS: Fix ma_store_unaligned
Tag: #1542
2020-05-20 14:02:13 +00:00
Jiaxun Yang 89bbb5ddba Bug 1424978 - IonMonkey: MIPS: Fix ma_addTestCarry
Tag: #1542
2020-05-20 14:02:06 +00:00
Jiaxun Yang 0bf620457a Bug 1390459 - mulby3 function implement error on mips platform
Tag: #1542
2020-05-20 14:02:00 +00:00
Jiaxun Yang c10b564584 Bug 1271968 - IonMonkey: MIPS: Refactor addMixedJump.
Tag: #1542
2020-05-20 14:01:52 +00:00
Jiaxun Yang 45f8a0b587 Bug 1271968 - wasm: MIPS: Port mixed jump for wasm.
Tag: #1542
2020-05-20 14:01:45 +00:00
Jiaxun Yang efc6200566 Bug 1271968 - IonMonkey: MIPS: Refactor PatchWrite_NearCall.
Tag: #1542
2020-05-20 14:01:38 +00:00
Jiaxun Yang c7fcc17211 Bug 1271968 - IonMonkey: MIPS: Handle conditional branch in out of line code of mixed jump.
Tag: #1542
2020-05-20 14:01:30 +00:00
Jiaxun Yang 55e60ab63b Bug 1271968 - IonMonkey: MIPS: Merge MacroAssembler::branchWithCode.
Tag: #1542
2020-05-20 14:01:22 +00:00
Jiaxun Yang 4d01e3b265 Bug 1271968 - IonMonkey: MIPS: Merge MacroAssembler::ma_jal.
Tag: #1542
2020-05-20 14:01:14 +00:00
Jiaxun Yang e301d31105 Bug 1271968 - IonMonkey: MIPS: Merge Assembler::bind.
Tag: #1542
2020-05-20 14:01:06 +00:00
Jiaxun Yang 430bc7d36f Bug 1271968 - IonMonkey: MIPS: Replace long jumps by mixed jumps.
Tag: #1542
2020-05-20 14:00:59 +00:00
Jiaxun Yang 4361691585 Bug 1271968 - IonMonkey: MIPS: Make jit code in same 256 MB-aligned region
Tag: #1542
2020-05-20 14:00:49 +00:00
Jiaxun Yang 7fc5d1f9b6 [IonMonkey] MIPS: Import small optimizations from load & store 2020-05-20 14:00:40 +00:00
Jiaxun Yang 6a3043b7ae Issue mcp-graveyard/UXP#1542 - IonMonkey: MIPS32: Fix build error on O32 platform. 2020-05-20 14:00:30 +00:00
Jiaxun Yang a75e5a2407 Bug 1323646 - IonMonkey: MIPS64: Fix range checking in ma_addTestOverflow
Tag: #1542
2020-05-20 14:00:23 +00:00
Jiaxun Yang 8326348976 Bug 1323642 - IonMonkey: MIPS64: Fix load unsigned 48-bit immediate
Issue:
In ma_li(Register, ImmWord):
	Load unsigned 48-bit immediate: 0x0000_8000_0000_0000
	Wrong instructions stream:
		lui	reg, 0x8000
		dsll	reg, reg, 16 # reg = 0xffff_8000_0000_0000
	Fixed instructions stream:
		lui	reg, 0x8000
		dinsu	reg, zero, 32, 32
		dsll	reg, reg, 16

Tag: #1542
2020-05-20 14:00:15 +00:00
Jiaxun Yang 3b71e431bc Bug 1323136 - wasm: MIPS: Do bounds check in 32-bit
Tag: #1542
2020-05-20 14:00:08 +00:00
Jiaxun Yang 5a38854147 Bug 1344597 - Baldr: MIPS: Fix trap type of unsigned divide by zero
Tag: #1542
2020-05-20 14:00:01 +00:00
Jiaxun Yang 89ac9f40f7 Bug 1394286 - mips64: fix error correction about stackpointer within function _NS_InvokeByIndex
Tag: #1542
2020-05-20 13:59:53 +00:00
Jiaxun Yang d160798969 Issue mcp-graveyard/UXP#1542 - nsprpub: _PR_SI_ARCHITECTURE add missing mips64 2020-05-20 13:59:46 +00:00
Jiaxun Yang 522ec0721a Issue mcp-graveyard/UXP#1542 - IonMonkey: MIPS: Define JS_CODEGEN_MIPSXX by HAVE_64BIT_BUILD.
MIPSXX is required for 64bit build.
2020-05-20 13:59:39 +00:00
adeshkp 3281b40087 Issue mcp-graveyard/UXP#80 - Include MDNSResponderOperator.h in libmdns/nsDNSServiceDiscovery.h for Mac
This is needed for forward declaration of `BrowseOperator` and `RegisterOperator`.
2020-05-20 13:59:08 +00:00
Gaming4JC 524fe55fa1 Issue mcp-graveyard/UXP#80 - Add nsSocketTransportService2.h to ThrottleQueue.cpp 2020-05-20 13:59:00 +00:00
Moonchild 3680b10f49 Issue mcp-graveyard/UXP#80 - De-unify netwerk/wifi 2020-05-20 13:58:52 +00:00
Moonchild 9a24ef31e5 Issue mcp-graveyard/UXP#80 - De-unify netwerk/streamconv 2020-05-20 13:58:44 +00:00
Moonchild 4699dd8b05 Issue mcp-graveyard/UXP#80 - De-unify netwerk/srtp 2020-05-20 13:58:37 +00:00
Moonchild c861d55ed7 Issue mcp-graveyard/UXP#80 - De-unify netwerk/socket 2020-05-20 13:58:30 +00:00
Moonchild 7325253d7d Issue mcp-graveyard/UXP#80 - De-unify netwerk/protocol/http 2020-05-20 13:58:23 +00:00
Moonchild 375a3e26a2 Issue mcp-graveyard/UXP#80 - De-unify netwerk/protocol/res 2020-05-20 13:58:17 +00:00
Moonchild b4591e8d53 Issue mcp-graveyard/UXP#80 - De-unify netwerk/protocol/ftp 2020-05-20 13:58:08 +00:00
Moonchild d0deadecbc Issue mcp-graveyard/UXP#80 - De-unify smaller netwerk/protocol components
- data
- device
- file
- viewsource
- wyciwyg
2020-05-20 13:57:59 +00:00
Moonchild 3b69a17d23 Issue mcp-graveyard/UXP#80 - De-unify netwerk/protocol/about 2020-05-20 13:57:52 +00:00
Moonchild 1d8cb5892e Issue mcp-graveyard/UXP#80 - De-unify netwerk/ipc 2020-05-20 13:57:44 +00:00
Moonchild af6d88ac4e Issue mcp-graveyard/UXP#80 - De-unify netwerk/dns 2020-05-20 13:57:37 +00:00
Moonchild e2e59c216b Issue mcp-graveyard/UXP#80 - De-unify netwerk/cookie 2020-05-20 13:57:30 +00:00
Moonchild c88293cc18 Issue mcp-graveyard/UXP#80 - De-unify netwerk/cache2 2020-05-20 13:57:24 +00:00
Moonchild 398a86e240 Issue mcp-graveyard/UXP#80 - De-unify netwerk/cache 2020-05-20 13:57:16 +00:00
Moonchild 892a14ff5d Issue mcp-graveyard/UXP#80 - De-unify netwerk/base 2020-05-20 13:57:09 +00:00
Moonchild 2e0efa77bb Issue mcp-graveyard/UXP#80 - De-unify editor/txmgr and editor/txtsvc 2020-05-20 13:56:50 +00:00
Moonchild e30a69fd68 Issue mcp-graveyard/UXP#80 - De-unify editor/libeditor 2020-05-20 13:56:43 +00:00
Moonchild 9480f89f18 Issue mcp-graveyard/UXP#80 - De-unify editor/composer 2020-05-20 13:56:35 +00:00
adeshkp 966a86211a Issue mcp-graveyard/UXP#80 - Include gfx/Logging.h in NativeFontResourceMac.cpp 2020-05-20 13:56:20 +00:00
Gaming4JC 1562acb9ef Issue mcp-graveyard/UXP#80 - Include gfxEnv.h in gfx/gl/GLLibraryEGL.cpp 2020-05-20 13:56:12 +00:00
Moonchild 3a5dae71e8 Issue mcp-graveyard/UXP#80 - Fix up gfx/ipc and gfx/src for Linux.
This removes an unused Telemetry enum
2020-05-20 13:56:02 +00:00
Moonchild a194731ec1 Issue mcp-graveyard/UXP#80- De-unify gfx/layers
Excludes layers/ipc/CompositorBridgeParent and CrossProcessCompositorBridgeParent
because the latter purposely uses functions implemented in the former.
See also code comment in CrossProcessCompositorBridgeParent.cpp

Note: likely dead code for us anyway; likely not worth investing in to solve.
2020-05-20 13:55:50 +00:00
Moonchild a4c0f51ce2 Issue mcp-graveyard/UXP#80 - De-unify gfx/ycbcr 2020-05-20 13:55:43 +00:00
Moonchild 9507c40ab0 Issue mcp-graveyard/UXP#80 - De-unify gfx/src 2020-05-20 13:55:36 +00:00
Moonchild d037168243 Issue mcp-graveyard/UXP#80 - De-unify gfx/skia and stop using dangerous opts 2020-05-20 13:55:28 +00:00
Moonchild ab0943e2c4 Issue mcp-graveyard/UXP#80 - De-unify gfx/ots 2020-05-20 13:55:22 +00:00
Moonchild 4ea45966bf Issue mcp-graveyard/UXP#80 - De-unify gfx/ipc 2020-05-20 13:55:14 +00:00
Moonchild e1fccc8bfd Issue mcp-graveyard/UXP#80 - De-unify gfx/harfbuzz 2020-05-20 13:55:08 +00:00
Moonchild 7aaeec2a1f Issue mcp-graveyard/UXP# 80 - Fix up gfx/2d/DataSurfaceHelpers
De-unified build requires <string.h> instead of <cstring> to
prevent stdlib confusion.
2020-05-20 13:55:01 +00:00
Moonchild 7e2bda11fc Issue mcp-graveyard/UXP#80 - de-unify and fix up gfx/graphite2
With de-unified building we have to re-apply the fix-up
for <cstdio>, and additionally the same for <cstring>
to prevent the compiler picking the wrong versions of
standard functions.
2020-05-20 13:54:54 +00:00
Moonchild 8246f59992 Issue mcp-graveyard/UXP#80 - Fix deps in gfxFont-Impl.h 2020-05-20 13:54:18 +00:00
Moonchild dbc1e45a33 Issue mcp-graveyard/UXP#80 - Split out GetShapedWord template function 2020-05-20 13:54:11 +00:00
Moonchild f7c40121bf Issue mcp-graveyard/UXP#80 - Fix gfx/thebes Windows conditional 2020-05-20 13:54:04 +00:00
Moonchild bdb8ce5ad9 Issue mcp-graveyard/UXP#80 - De-unify gfx/gl 2020-05-20 13:53:57 +00:00
Moonchild f29fea7693 Issue mcp-graveyard/UXP#80 - De-unify gfx/config 2020-05-20 13:53:49 +00:00
Moonchild 2986ed6160 Issue mcp-graveyard/UXP#80 - De-unify gfx/cairo 2020-05-20 13:53:41 +00:00
Moonchild a228e79011 Issue mcp-graveyard/UXP#80 - De-unify gfx/2d 2020-05-20 13:53:34 +00:00
Moonchild 598472e08b Issue mcp-graveyard/UXP#80 - De-unify gfx/thebes 2020-05-20 13:53:25 +00:00
win7-7 f9cba8b188 issue #1547 - Correct z-ordering for some table parts and add reftests 2020-05-20 13:52:54 +00:00
win7-7 914c10dd31 Issue mcp-graveyard/UXP#1545 - Fix border-radius on table row groups, rows, column groups, or columns
Before issue #146, border-radius on row groups, rows, column groups, or columns don't apply to the background of each cell, yet the border-radius on the cell itself does.

After issue #146, the behaviors changed. In this patch, I tried to revert the behaviors of border-radius on table row groups, rows, column groups, or columns back to what happened before issue #146.

Also: Don't override GetBorderRadii in nsBCTableCellFrame.
2020-05-20 13:52:15 +00:00
Moonchild 569b86a3ca Issue mcp-graveyard/UXP#457 - Silence some superfluous compiler warnings in cairo 2020-05-20 13:52:01 +00:00
Moonchild 7a35794003 Bump platform version 2020-05-20 13:51:22 +00:00
Moonchild a88d8bbf4e Issue mcp-graveyard/UXP#1543 - Follow-up: avoid displaying the Alt text if an image is loading.
This prevents the Alt text from briefly being shown before being replaced
with the image.
2020-05-20 13:50:04 +00:00
Moonchild 83220cf23b Issue mcp-graveyard/UXP#1543 - Align <img> with no src to the updated spec. 2020-05-20 13:49:55 +00:00
win7-7 730ff51eaf Issue mcp-graveyard/UXP#1355 - Fix the nit, remove nsPoint offset in nsFrame.cpp and change PresShellState member order 2020-05-20 13:49:35 +00:00
win7-7 1deb1288e2 Issue mcp-graveyard/UXP#1355 - Better way to create display items for column backgrounds
Part 1: Remove current table item, as it's never set.

Part 2: Get rid of generic table painting code, and handle each class separately.

Part 4: Hoist outline skipping into col(group) frame code.

Part 5: Skip box-shadow for table column and column groups.

Part 6: Store column and column group backgrounds separately, and then append them before the rest of the table contents.

Part 7: Pass rects in display list coordinates to AppendBackgroundItemsToTop.

Part 8: Create column and column group background display items as part of the cell's BuildDisplayList.

Part 9: Used cached values instead of calling nsDisplayListBuilder::ToReferenceFrame when possible, since it can be expensive when the requested frame isn't the builder's current frame.

Part 10: Make sure we build display items for table parts where only the normal position is visible, since we may need to create background items for ancestors at that position.

Part 11: Create an AutoBuildingDisplayList when we create background items for table columns and column groups, so that we initialize the invalidation state correctly.
2020-05-20 13:49:25 +00:00
win7-7 a12637386f Issue mcp-graveyard/UXP#1355 - SetNeedToCalcHasBCBorders to true when initialize nsTableFrame
In the printing preview, we create continuous table frame if table is too long to containing in a page. But the default value of NeedToCalcHasBCBorders is false which means we don't calculate HasBCBorders for continuous table frame. Thus, the border collapse is not shown when printing preview.
2020-05-20 13:49:16 +00:00
win7-7 0251b55c1c Issue mcp-graveyard/UXP#1355 - Avoid unnecessary work in nsIFrame::BuildDisplayListForStackingContext() and nsIFrame::BuildDisplayListForChild() and Cleanup DescendIntoChild
Bug 1441796 - Part 1: Optimize the (pseudo)-stacking context conditions

Bug 1441796 - Part 3: Reuse the results in nsIFrame::BuildDisplayListForStackingContext() for ChildrenHavePerspective(), IsTransformed(), and Combines3DTransformWithAncestors()

Bug 1512244 - Part 1: Cleanup DescendIntoChild
2020-05-20 13:49:09 +00:00
win7-7 73251cbc37 Issue mcp-graveyard/UXP#1355 - Preemptively fix build bustage for 1409114 2020-05-20 13:49:01 +00:00
win7-7 a705028d5a Issue mcp-graveyard/UXP#1355 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList
Also fix build bustage for De-unified layout/xul in nsRootBoxFrame.cpp
2020-05-20 13:48:52 +00:00
athenian200 1b8390f676 Issue mcp-graveyard/UXP#1540 - Stop MP3 demuxer from choking on very small files. 2020-05-20 13:48:10 +00:00
wolfbeast 7e0e255413 Issue mcp-graveyard/UXP#1589 - Ensure computed length and data is always available 2020-05-20 13:47:45 +00:00
Gaming4JC fe1778dba6 Issue mcp-graveyard/UXP#21 - Remove TelemertyVFS
This reverts m-c Bug 668378 and completely removes Telemetry SQLite IO. As a bonus this fixes a potential crash in newer SQLite versions without the need for updating this useless telemetry shim.
2020-05-20 13:47:24 +00:00
Moonchild 7a552cbdc6 Issue mcp-graveyard/UXP#1536 - Part 3: Parse content to decide whether it's an init segment. 2020-05-20 13:47:10 +00:00
wolfbeast 459200c89d Issue mcp-graveyard/UXP#1536 - Part 2: Parse content to decide whether it's a media segment. 2020-05-20 13:47:02 +00:00
wolfbeast 9f52b50777 Issue mcp-graveyard/UXP#1536 - Part 1: Add timecode checking for the WebM parser 2020-05-20 13:46:53 +00:00
Moonchild 54d1066188 Issue mcp-graveyard/UXP#80 - Fix additional deprot in /layout (redwood) 2020-05-20 13:45:06 +00:00
Moonchild 9e57e67f50 Issue mcp-graveyard/UXP#1538 - remove speech recognition engine
This removes speech recognition, pocketsphinx, training models
and the speech automated test interface.
This also re-establishes proper use of MOZ_WEBSPEECH to work
for the speech API (synthesis part only) that was a broken mess
before, with some synth parts being always built, some parts
being built only with it enabled and recognition parts being
dependent on it. I'm pretty sure it'd be totally busted if you'd
ever have tried building without MOZ_WEBPEECH before.

Tested that synthesis still works as-intended.

This resolves #1538
2020-05-20 10:19:04 +00:00
Moonchild b0a3d98753 Merge pull request #1544 from FlyGoat/mips-upstream
Implements initial MIPS Support
2020-05-19 22:14:43 +02:00
Moonchild 4e32748fb3 Merge pull request #1554 from MoonchildProductions/deunify_netwerk
Deunify netwerk
2020-05-19 14:21:00 +02:00
Moonchild 93c01bd6b3 Merge pull request #1556 from adeshkp/patch-18
Include MDNSResponderOperator.h in libmdns/nsDNSServiceDiscovery.h for Mac
2020-05-19 12:24:41 +02:00
Moonchild 33a12fcf90 Merge pull request #1555 from g4jc/deunify_netpatch
Add nsSocketTransportService2.h to ThrottleQueue.cpp
2020-05-19 12:24:17 +02:00
adeshkp 4394eb2561 Issue mcp-graveyard/UXP#80 - Include MDNSResponderOperator.h in libmdns/nsDNSServiceDiscovery.h for Mac
This is needed for forward declaration of `BrowseOperator` and `RegisterOperator`.
2020-05-18 23:35:43 +05:30
Gaming4JC d1aabd8b82 Issue mcp-graveyard/UXP#80 - Add nsSocketTransportService2.h to ThrottleQueue.cpp 2020-05-18 12:32:34 -04:00
Moonchild ae22d3b3be Issue mcp-graveyard/UXP#80 - De-unify netwerk/wifi 2020-05-18 12:24:52 +00:00
Moonchild b378bc3a56 Issue mcp-graveyard/UXP#80 - De-unify netwerk/streamconv 2020-05-18 12:13:22 +00:00
Moonchild aa0334a515 Issue mcp-graveyard/UXP#80 - De-unify netwerk/srtp 2020-05-18 10:35:34 +00:00
Moonchild c520241f35 Issue mcp-graveyard/UXP#80 - De-unify netwerk/socket 2020-05-18 10:26:16 +00:00
Moonchild 8b3295c2bd Issue mcp-graveyard/UXP#80 - De-unify netwerk/protocol/http 2020-05-18 09:23:17 +00:00
Moonchild adca41412c Issue mcp-graveyard/UXP#80 - De-unify netwerk/protocol/res 2020-05-18 07:00:59 +00:00
Moonchild 241eaee8e2 Merge branch 'master' into deunify_netwerk 2020-05-18 06:01:39 +00:00
Moonchild 4c13408686 Issue mcp-graveyard/UXP#80 - De-unify netwerk/protocol/ftp 2020-05-18 06:00:43 +00:00
New Tobin Paradigm ff26100bb4 Merge pull request #1553 from MoonchildProductions/deunify_editor
Deunify editor
2020-05-17 23:01:10 -04:00
Moonchild 934bb09052 Issue mcp-graveyard/UXP#80 - De-unify smaller netwerk/protocol components
- data
- device
- file
- viewsource
- wyciwyg
2020-05-17 19:37:17 +00:00
Moonchild ccda0aaf38 Issue mcp-graveyard/UXP#80 - De-unify netwerk/protocol/about 2020-05-17 16:24:12 +00:00
Moonchild dcbbe299d8 Issue mcp-graveyard/UXP#80 - De-unify netwerk/ipc 2020-05-17 16:13:43 +00:00
Moonchild 95e8147a35 Issue mcp-graveyard/UXP#80 - De-unify netwerk/dns 2020-05-17 15:41:22 +00:00
Moonchild 589dbc7ce3 Issue mcp-graveyard/UXP#80 - De-unify netwerk/cookie 2020-05-17 15:05:55 +00:00
Moonchild 5309db74eb Issue mcp-graveyard/UXP#80 - De-unify netwerk/cache2 2020-05-17 14:14:09 +00:00
Moonchild 368209b782 Issue mcp-graveyard/UXP#80 - De-unify netwerk/cache 2020-05-17 11:06:45 +00:00
Moonchild 554021500a Issue mcp-graveyard/UXP#80 - De-unify netwerk/base 2020-05-17 10:43:40 +00:00
Moonchild 8686f4e791 Merge pull request #1550 from MoonchildProductions/deunify_gfx
Deunify gfx
2020-05-16 14:55:39 +02:00
Moonchild b6063b656b Merge pull request #1551 from adeshkp/patch-17
Include gfx/Logging.h in NativeFontResourceMac.cpp
2020-05-16 14:54:03 +02:00
Moonchild f7e9449967 Merge pull request #1552 from g4jc/deunify_patch
Include gfxEnv.h in gfx/gl/GLLibraryEGL.cpp
2020-05-16 14:53:37 +02:00
Moonchild d362ffc742 Issue mcp-graveyard/UXP#80 - De-unify editor/txmgr and editor/txtsvc 2020-05-16 12:28:39 +00:00
Moonchild 69df844631 Issue mcp-graveyard/UXP#80 - De-unify editor/libeditor 2020-05-16 10:44:09 +00:00
Moonchild 7855c8db70 Issue mcp-graveyard/UXP#80 - De-unify editor/composer 2020-05-16 10:15:41 +00:00
Gaming4JC 504def8263 Issue mcp-graveyard/UXP#80 - Include gfxEnv.h in gfx/gl/GLLibraryEGL.cpp 2020-05-15 13:27:26 -04:00
adeshkp e3566504ff Issue mcp-graveyard/UXP#80 - Include gfx/Logging.h in NativeFontResourceMac.cpp 2020-05-15 21:13:56 +05:30
Moonchild edf05d5826 Merge pull request #1548 from win7-7/1394226-pr
Correct z-ordering for some table parts
2020-05-15 15:24:42 +02:00
Moonchild 2a7448d0d5 Issue mcp-graveyard/UXP#80 - Fix up gfx/ipc and gfx/src for Linux.
This removes an unused Telemetry enum
2020-05-15 13:10:56 +00:00
Moonchild 1f2f05d56b Issue mcp-graveyard/UXP#80- De-unify gfx/layers
Excludes layers/ipc/CompositorBridgeParent and CrossProcessCompositorBridgeParent
because the latter purposely uses functions implemented in the former.
See also code comment in CrossProcessCompositorBridgeParent.cpp

Note: likely dead code for us anyway; likely not worth investing in to solve.
2020-05-15 11:04:41 +00:00
Moonchild bae6360e70 Issue mcp-graveyard/UXP#80 - De-unify gfx/ycbcr 2020-05-15 09:01:29 +00:00
Moonchild 550b14403f Issue mcp-graveyard/UXP#80 - De-unify gfx/src 2020-05-14 20:36:39 +00:00
Moonchild 769ed80d67 Issue mcp-graveyard/UXP#80 - De-unify gfx/skia and stop using dangerous opts 2020-05-14 19:52:40 +00:00
Moonchild befcfde0ac Issue mcp-graveyard/UXP#80 - De-unify gfx/ots 2020-05-14 19:34:55 +00:00
Moonchild e0caf25154 Issue mcp-graveyard/UXP#80 - De-unify gfx/ipc 2020-05-14 19:27:23 +00:00
Moonchild a1764de8e3 Issue mcp-graveyard/UXP#80 - De-unify gfx/harfbuzz 2020-05-14 18:42:20 +00:00
Moonchild bd4767bef0 Issue mcp-graveyard/UXP# 80 - Fix up gfx/2d/DataSurfaceHelpers
De-unified build requires <string.h> instead of <cstring> to
prevent stdlib confusion.
2020-05-14 18:34:06 +00:00
Moonchild 7f638d9a33 Issue mcp-graveyard/UXP#80 - de-unify and fix up gfx/graphite2
With de-unified building we have to re-apply the fix-up
for <cstdio>, and additionally the same for <cstring>
to prevent the compiler picking the wrong versions of
standard functions.
2020-05-14 18:26:08 +00:00
Jiaxun Yang a241848f99 Bug 1430745 - IPC: Fix unaligned accesses in DirReaderLinux
Tag: #1542
2020-05-14 16:32:54 +08:00
Jiaxun Yang 4e064f8907 Issue mcp-graveyard/UXP#1542 - [mtransport] Fix unaligned memory allocation in r_memory
Unaligend memory access can't work on RISC.
2020-05-14 16:32:46 +08:00
Jiaxun Yang 8739218c5d Bug 1426323 - Media: WebRTC: Fix build config for MIPS64
Tag: #1542
2020-05-14 16:32:46 +08:00
Jiaxun Yang c91e2a88cf Issue mcp-graveyard/UXP#1542 - [WebRTC] Set CPU speed to -1 on MIPS
CPU is pretty slow due to lack of SIMD optmization.
2020-05-14 16:32:11 +08:00
Jiaxun Yang b71ef0135c Issue mcp-graveyard/UXP#1542 - [WebRTC] Don't use post proc on MIPS 2020-05-14 16:31:59 +08:00
Jiaxun Yang 38331af585 Bug 1384826 - Media: WebRTC: Fix build config for MIPS
Tag: #1542
2020-05-14 16:31:59 +08:00
Jiaxun Yang 36cfc142bf Bug 1412030 - [MIPS] Emit wasm memory access information
Tag: #1542
2020-05-14 16:31:59 +08:00
Jiaxun Yang 11406c91e5 Bug 1330942 - move MemoryAccessDesc::isUnaligned to the ARM/MIPS platform layer
Tag: #1542
2020-05-14 16:31:59 +08:00
Jiaxun Yang f131ae9bd8 Bug 1441521 : [MIPS] Optimize comparation with small constants
Tag: #1542
2020-05-14 16:31:59 +08:00
Jiaxun Yang 054400c260 Bug 1430693 - IonMonkey: MIPS: Fix generic NaN for legacy mips (IEEE 754-1985)
Tag: #1542
2020-05-14 16:31:59 +08:00
Jiaxun Yang e20aa0d8e5 Bug 1424978 - IonMonkey: MIPS64: Fix unboxNonDouble for Int32
Tag: #1542
2020-05-14 16:31:58 +08:00
Jiaxun Yang 1acd91e6ca Bug 1424978 - IonMonkey: MIPS64: Fix tagValue function
Tag: #1542
2020-05-14 16:31:58 +08:00
Jiaxun Yang ee6cfa1db6 Bug 1424978 - IonMonkey: MIPS64: Fix boxValue function
Tag: #1542
2020-05-14 16:31:58 +08:00
Jiaxun Yang f6a2c1cf79 Bug 1390802 - IonMonkey: MIPS64: Fix storeValue function
Tag: #1542
2020-05-14 16:31:58 +08:00
Jiaxun Yang e8a2d04e70 Bug 1424978 - IonMonkey: MIPS: Fix ma_store_unaligned
Tag: #1542
2020-05-14 16:31:58 +08:00
Jiaxun Yang 25db2f7b58 Bug 1424978 - IonMonkey: MIPS: Fix ma_addTestCarry
Tag: #1542
2020-05-14 16:31:58 +08:00
Jiaxun Yang 7ac248b6e0 Bug 1390459 - mulby3 function implement error on mips platform
Tag: #1542
2020-05-14 16:31:57 +08:00
Jiaxun Yang f3e7f9f8ee Bug 1271968 - IonMonkey: MIPS: Refactor addMixedJump.
Tag: #1542
2020-05-14 16:31:57 +08:00
Jiaxun Yang e0a398d34a Bug 1271968 - wasm: MIPS: Port mixed jump for wasm.
Tag: #1542
2020-05-14 16:31:57 +08:00
Jiaxun Yang c8c385b32a Bug 1271968 - IonMonkey: MIPS: Refactor PatchWrite_NearCall.
Tag: #1542
2020-05-14 16:31:57 +08:00
Jiaxun Yang 9dfc3e1467 Bug 1271968 - IonMonkey: MIPS: Handle conditional branch in out of line code of mixed jump.
Tag: #1542
2020-05-14 16:31:57 +08:00
Jiaxun Yang 44cb629f8c Bug 1271968 - IonMonkey: MIPS: Merge MacroAssembler::branchWithCode.
Tag: #1542
2020-05-14 16:31:57 +08:00
Jiaxun Yang 80d77f0852 Bug 1271968 - IonMonkey: MIPS: Merge MacroAssembler::ma_jal.
Tag: #1542
2020-05-14 16:31:56 +08:00
Jiaxun Yang e10048ad74 Bug 1271968 - IonMonkey: MIPS: Merge Assembler::bind.
Tag: #1542
2020-05-14 16:31:56 +08:00
Jiaxun Yang a2fa84a667 Bug 1271968 - IonMonkey: MIPS: Replace long jumps by mixed jumps.
Tag: #1542
2020-05-14 16:31:56 +08:00
Jiaxun Yang a07d043e9c Bug 1271968 - IonMonkey: MIPS: Make jit code in same 256 MB-aligned region
Tag: #1542
2020-05-14 16:31:56 +08:00
Jiaxun Yang 82cd42aa1b [IonMonkey] MIPS: Import small optimizations from load & store 2020-05-14 16:31:56 +08:00
Jiaxun Yang 792b34cd9f Issue mcp-graveyard/UXP#1542 - IonMonkey: MIPS32: Fix build error on O32 platform. 2020-05-14 16:31:55 +08:00
Jiaxun Yang 14effa783d Bug 1323646 - IonMonkey: MIPS64: Fix range checking in ma_addTestOverflow
Tag: #1542
2020-05-14 16:31:55 +08:00
Jiaxun Yang 9816a60c04 Bug 1323642 - IonMonkey: MIPS64: Fix load unsigned 48-bit immediate
Issue:
In ma_li(Register, ImmWord):
	Load unsigned 48-bit immediate: 0x0000_8000_0000_0000
	Wrong instructions stream:
		lui	reg, 0x8000
		dsll	reg, reg, 16 # reg = 0xffff_8000_0000_0000
	Fixed instructions stream:
		lui	reg, 0x8000
		dinsu	reg, zero, 32, 32
		dsll	reg, reg, 16

Tag: #1542
2020-05-14 16:31:55 +08:00
Jiaxun Yang 1901dead66 Bug 1323136 - wasm: MIPS: Do bounds check in 32-bit
Tag: #1542
2020-05-14 16:31:55 +08:00
Jiaxun Yang ae34d6ffd5 Bug 1344597 - Baldr: MIPS: Fix trap type of unsigned divide by zero
Tag: #1542
2020-05-14 16:31:55 +08:00
Jiaxun Yang ef2b3cf759 Bug 1394286 - mips64: fix error correction about stackpointer within function _NS_InvokeByIndex
Tag: #1542
2020-05-14 16:31:55 +08:00
Jiaxun Yang cde04da9c7 Issue mcp-graveyard/UXP#1542 - nsprpub: _PR_SI_ARCHITECTURE add missing mips64 2020-05-14 16:31:45 +08:00
Jiaxun Yang ca61d9c8f4 Issue mcp-graveyard/UXP#1542 - IonMonkey: MIPS: Define JS_CODEGEN_MIPSXX by HAVE_64BIT_BUILD.
MIPSXX is required for 64bit build.
2020-05-14 16:31:34 +08:00
Moonchild 9ea1fd14d0 Issue mcp-graveyard/UXP#80 - Fix deps in gfxFont-Impl.h 2020-05-13 18:43:16 +00:00
win7-7 1c431e9ac7 issue #1547 - Correct z-ordering for some table parts and add reftests 2020-05-13 19:57:18 +03:00
Moonchild 8018019b2c Issue mcp-graveyard/UXP#80 - Split out GetShapedWord template function 2020-05-13 14:36:06 +00:00
Moonchild 5fcf557ebf Issue mcp-graveyard/UXP#80 - Fix gfx/thebes Windows conditional 2020-05-13 14:34:14 +00:00
Moonchild 31d67b2766 Issue mcp-graveyard/UXP#80 - De-unify gfx/gl 2020-05-13 13:58:36 +00:00
Moonchild 5fe215feb2 Issue mcp-graveyard/UXP#80 - De-unify gfx/config 2020-05-13 12:37:09 +00:00
Moonchild 7151bf1d85 Merge pull request #1546 from win7-7/1375518-pr
Fix border-radius on table row groups, rows, column groups, or columns
2020-05-13 12:27:18 +02:00
Moonchild 19fa3de9d4 Issue mcp-graveyard/UXP#457 - Silence some superfluous compiler warnings in cairo 2020-05-13 10:15:24 +00:00
Moonchild b7c5d36568 Issue mcp-graveyard/UXP#80 - De-unify gfx/cairo 2020-05-13 10:12:58 +00:00
Moonchild 2109b67188 Issue mcp-graveyard/UXP#80 - De-unify gfx/2d 2020-05-13 10:10:59 +00:00
Moonchild cfda2a3cbc Issue mcp-graveyard/UXP#1543 - Follow-up: avoid displaying the Alt text if an image is loading.
This prevents the Alt text from briefly being shown before being replaced
with the image.
2020-05-12 18:28:25 +00:00
win7-7 ca37d4a47d Issue mcp-graveyard/UXP#1545 - Fix border-radius on table row groups, rows, column groups, or columns
Before issue #146, border-radius on row groups, rows, column groups, or columns don't apply to the background of each cell, yet the border-radius on the cell itself does.

After issue #146, the behaviors changed. In this patch, I tried to revert the behaviors of border-radius on table row groups, rows, column groups, or columns back to what happened before issue #146.

Also: Don't override GetBorderRadii in nsBCTableCellFrame.
2020-05-12 19:23:47 +03:00
Moonchild 5a4c8653a1 Issue mcp-graveyard/UXP#80 - De-unify gfx/thebes 2020-05-12 12:57:04 +00:00
Moonchild 185d675814 Bump platform version.
We've made some notable changes re: layout and rendering.
2020-05-12 09:08:51 +00:00
Moonchild 18e759c710 Issue mcp-graveyard/UXP#1543 - Align <img> with no src to the updated spec. 2020-05-11 23:17:47 +00:00
Matt A. Tobin 6dca1bcecb Issue mcp-graveyard/UXP#1449 - Implement URLSearchParams's sort() 2020-05-10 16:06:19 +02:00
Moonchild 0b157ec2ab Merge pull request #1537 from win7-7/column-backgrounds-pr-2
Better way to create display items for column backgrounds
2020-05-10 15:02:59 +02:00
Moonchild 8872f794f0 Merge pull request #1541 from athenian200/mp3-parser-fix
Stop MP3 demuxer from choking on very small files.
2020-05-10 15:00:03 +02:00
wolfbeast 576db4c6ae Issue mcp-graveyard/UXP#1589 - Ensure computed length and data is always available 2020-05-10 14:51:23 +02:00
wolfbeast 8240ba9c8b Issue mcp-graveyard/UXP#1589 - Ensure computed length and data is always available 2020-05-10 14:37:50 +02:00
win7-7 ffe7d73157 Issue mcp-graveyard/UXP#1355 - Fix the nit, remove nsPoint offset in nsFrame.cpp and change PresShellState member order 2020-05-10 15:00:08 +03:00
athenian200 720dfdf390 Issue mcp-graveyard/UXP#1540 - Stop MP3 demuxer from choking on very small files. 2020-05-10 06:45:59 -05:00
Moonchild ed7a34fc7f Merge pull request #1535 from g4jc/VFS_telemetry_nuke
Remove TelemertyVFS
2020-05-09 14:50:34 +02:00
win7-7 23698485be Issue mcp-graveyard/UXP#1355 - Better way to create display items for column backgrounds
Part 1: Remove current table item, as it's never set.

Part 2: Get rid of generic table painting code, and handle each class separately.

Part 4: Hoist outline skipping into col(group) frame code.

Part 5: Skip box-shadow for table column and column groups.

Part 6: Store column and column group backgrounds separately, and then append them before the rest of the table contents.

Part 7: Pass rects in display list coordinates to AppendBackgroundItemsToTop.

Part 8: Create column and column group background display items as part of the cell's BuildDisplayList.

Part 9: Used cached values instead of calling nsDisplayListBuilder::ToReferenceFrame when possible, since it can be expensive when the requested frame isn't the builder's current frame.

Part 10: Make sure we build display items for table parts where only the normal position is visible, since we may need to create background items for ancestors at that position.

Part 11: Create an AutoBuildingDisplayList when we create background items for table columns and column groups, so that we initialize the invalidation state correctly.
2020-05-08 15:27:28 +03:00
win7-7 0d08c572aa Issue mcp-graveyard/UXP#1355 - SetNeedToCalcHasBCBorders to true when initialize nsTableFrame
In the printing preview, we create continuous table frame if table is too long to containing in a page. But the default value of NeedToCalcHasBCBorders is false which means we don't calculate HasBCBorders for continuous table frame. Thus, the border collapse is not shown when printing preview.
2020-05-08 15:25:47 +03:00
win7-7 1422a40124 Issue mcp-graveyard/UXP#1355 - Avoid unnecessary work in nsIFrame::BuildDisplayListForStackingContext() and nsIFrame::BuildDisplayListForChild() and Cleanup DescendIntoChild
Bug 1441796 - Part 1: Optimize the (pseudo)-stacking context conditions

Bug 1441796 - Part 3: Reuse the results in nsIFrame::BuildDisplayListForStackingContext() for ChildrenHavePerspective(), IsTransformed(), and Combines3DTransformWithAncestors()

Bug 1512244 - Part 1: Cleanup DescendIntoChild
2020-05-08 15:24:02 +03:00
win7-7 3880213abc Issue mcp-graveyard/UXP#1355 - Preemptively fix build bustage for 1409114 2020-05-08 15:22:22 +03:00
win7-7 53876bede9 Issue mcp-graveyard/UXP#1355 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList
Also fix build bustage for De-unified layout/xul in nsRootBoxFrame.cpp
2020-05-08 15:20:01 +03:00
Moonchild 4a771324b7 Issue mcp-graveyard/UXP#1536 - Part 3: Parse content to decide whether it's an init segment. 2020-05-07 13:42:33 +02:00
wolfbeast 589712bea7 Issue mcp-graveyard/UXP#1536 - Part 2: Parse content to decide whether it's a media segment. 2020-05-07 13:40:21 +02:00
wolfbeast f9ae8ed3a6 Issue mcp-graveyard/UXP#1536 - Part 1: Add timecode checking for the WebM parser 2020-05-07 13:36:54 +02:00
Gaming4JC 506f8a40ec Issue mcp-graveyard/UXP#21 - Remove TelemertyVFS
This reverts m-c Bug 668378 and completely removes Telemetry SQLite IO. As a bonus this fixes a potential crash in newer SQLite versions without the need for updating this useless telemetry shim.
2020-05-06 13:55:19 -04:00
Matt A. Tobin d7d44e4c9f Hyperbola IceDove should use the toolkit SearchService 2020-05-06 19:17:04 +02:00
Moonchild 260b696a1f [XPFE] Properly anchor XUL windows when tearing down 2020-05-06 19:16:51 +02:00
Moonchild d746bc9c56 [WebRTC] Port some upstream sctp fixes
- add SCTP auth token boundary check.
- turn off SCTP auth and address reconfiguration.
2020-05-06 19:16:40 +02:00
Moonchild fed07b590a [dom] Reorder some calls to improve memory safety 2020-05-06 19:16:20 +02:00
Moonchild fe0dede0f3 [devtools] Port various upstream fixes 2020-05-06 19:16:06 +02:00
Moonchild c47a48d819 [js] Record load in MCreateThis alias set. 2020-05-06 19:15:54 +02:00
Bas Schouten 276e70d35d Prevent the existance of dangling pointers upon failure of FindDataStart. 2020-05-06 19:15:42 +02:00
Moonchild 167e63c552 Issue mcp-graveyard/UXP#1451 - Split out ICU data file on Windows
This reduces the xul.dll size by 11 MB
2020-05-06 19:15:12 +02:00
adeshkp 747e80a97c Issue mcp-graveyard/UXP#457 - Fix warning about inline nsINode::GetFlattenedTreeParentNodeForStyle being undefined 2020-05-06 19:14:56 +02:00
adeshkp ca6ef872d1 Issue mcp-graveyard/UXP#1259 - Remove a leftover GMP migration function 2020-05-06 19:14:42 +02:00
Moonchild 13698ca541 Issue mcp-graveyard/UXP#1450 - Remove NVidia 3D-Vision utils
Legacy, unmaintained and untested D3D9 stereo
output behind a hidden pref that nobody ever uses... :P
'nuf said. Resolves #1450
2020-05-06 19:14:17 +02:00
Moonchild 05422f3fc9 Issue mcp-graveyard/UXP#1517 - Remove dom.event.highrestimestamp.enabled pref
This resolves #1517
2020-05-06 19:14:05 +02:00
Matt A. Tobin 420f4cc410 Issue mcp-graveyard/UXP#1449 - Implement URLSearchParams's sort() 2020-05-06 19:13:52 +02:00
Matt A. Tobin 7de5ffa987 Issue mcp-graveyard/UXP#1531 - Work around GCC 10 defaulting to -fno-common in media/ffvpx/libavcodec/
Build Reference:
26:39.53 ../../../build/unix/gold/ld: error: /home/mattatobin/development/.obj/trunk-f1f9fdabf/navigator-x86_64-pc-linux-gnu-gtk2/media/ffvpx/libavcodec/flac_parser.o: multiple definition of 'ff_flac_parser'
26:39.53 ../../../build/unix/gold/ld: /home/mattatobin/development/.obj/trunk-f1f9fdabf/navigator-x86_64-pc-linux-gnu-gtk2/media/ffvpx/libavcodec/dummy_funcs.o: previous definition here
26:39.53 collect2: error: ld returned 1 exit status
26:39.53 gmake[4]: *** [/home/mattatobin/development/binoc-central/platform/config/rules.mk:773: libmozavcodec.so] Error 1

See also: https://gcc.gnu.org/gcc-10/porting_to.html
2020-05-06 19:13:31 +02:00
adeshkp 00d557fcc9 Issue mcp-graveyard/UXP#80 - Include nsIContentInlines.h in layout/base/PositionedEventTargeting.cpp 2020-05-06 19:13:11 +02:00
Moonchild d90d930a7b Issue mcp-graveyard/UXP#80 - Resolve issues with compiling on insane gcc configurations with no optimizations in layout/
(and fix a typo for cs fs)
2020-05-06 19:12:59 +02:00
Moonchild 51706bbe44 Issue mcp-graveyard/UXP#80 - De-unify layout/xul and tree, grid 2020-05-06 19:12:48 +02:00
Moonchild 6bd74b145e Issue mcp-graveyard/UXP#80 - De-unify layout/tables 2020-05-06 19:12:37 +02:00
Moonchild c80b9e194a Issue mcp-graveyard/UXP#80 - De-unify layout/svg 2020-05-06 19:12:26 +02:00
Moonchild 6005484e61 Issue mcp-graveyard/UXP#80 - De-unify layout/style (redwood) 2020-05-06 19:12:11 +02:00
Moonchild b6b712c44f Issue mcp-graveyard/UXP#80 - De-unify layout/printing 2020-05-06 19:06:17 +02:00
Moonchild 930d09986a Issue mcp-graveyard/UXP#80 - De-unify layout/PITA... I mean layout/generic 2020-05-06 19:06:06 +02:00
Moonchild e91606c5fd Issue mcp-graveyard/UXP#80 - De-unify layout/base 2020-05-06 19:05:49 +02:00
Moonchild e25026fba8 [XPFE] Properly anchor XUL windows when tearing down 2020-05-06 19:03:37 +02:00
Moonchild 719eba795e [WebRTC] Port some upstream sctp fixes
- add SCTP auth token boundary check.
- turn off SCTP auth and address reconfiguration.
2020-05-06 19:03:23 +02:00
Moonchild bbcf7b7afd [dom] Reorder some calls to improve memory safety 2020-05-06 19:03:08 +02:00
Moonchild 2f403fea0f [devtools] Port various upstream fixes 2020-05-06 19:02:56 +02:00
Moonchild 5ae8b3ef97 [js] Record load in MCreateThis alias set. 2020-05-06 19:02:42 +02:00
Bas Schouten 884f481497 Prevent the existance of dangling pointers upon failure of FindDataStart. 2020-05-06 19:02:28 +02:00
Matt A. Tobin 1d1eba2b5c Hyperbola IceDove should use the toolkit SearchService 2020-05-06 19:00:16 +02:00
Matt A. Tobin 71baed0061 Hyperbola IceDove should use the toolkit SearchService 2020-05-06 11:04:12 -04:00
Moonchild 9174642be4 [XPFE] Properly anchor XUL windows when tearing down 2020-05-06 11:15:48 +00:00
Moonchild 44f3801c8b [WebRTC] Port some upstream sctp fixes
- add SCTP auth token boundary check.
- turn off SCTP auth and address reconfiguration.
2020-05-06 10:54:14 +00:00
Moonchild 23394eed38 [dom] Reorder some calls to improve memory safety 2020-05-06 00:30:30 +00:00
Moonchild f22fc06d25 [devtools] Port various upstream fixes 2020-05-06 00:17:32 +00:00
Moonchild fdfa53be1e [js] Record load in MCreateThis alias set. 2020-05-05 23:43:22 +00:00
Bas Schouten 3802607ab2 Prevent the existance of dangling pointers upon failure of FindDataStart. 2020-05-05 23:22:19 +00:00
Moonchild 9a6aa63371 Issue mcp-graveyard/UXP#1451 - Split out ICU data file on Windows
This reduces the xul.dll size by 11 MB
2020-05-05 23:16:58 +00:00
New Tobin Paradigm 36ad49e2ba Merge pull request #1532 from adeshkp/patch-15
Fix warning about inline nsINode::GetFlattenedTreeParentNodeForStyle being undefined
2020-05-05 10:23:49 -04:00
New Tobin Paradigm 50afbdd5f8 Merge pull request #1534 from adeshkp/gmp-migration-leftover
Remove a leftover GMP migration function
2020-05-05 09:45:23 -04:00
adeshkp e30de2764c Issue mcp-graveyard/UXP#1259 - Remove a leftover GMP migration function 2020-05-04 23:41:48 -04:00
adeshkp d6607fa30e Issue mcp-graveyard/UXP#457 - Fix warning about inline nsINode::GetFlattenedTreeParentNodeForStyle being undefined 2020-05-05 08:43:34 +05:30
Moonchild c5b53260b6 Issue mcp-graveyard/UXP#1450 - Remove NVidia 3D-Vision utils
Legacy, unmaintained and untested D3D9 stereo
output behind a hidden pref that nobody ever uses... :P
'nuf said. Resolves #1450
2020-05-04 20:49:56 +00:00
Moonchild e7c37cd694 Issue mcp-graveyard/UXP#1517 - Remove dom.event.highrestimestamp.enabled pref
This resolves #1517
2020-05-04 13:11:28 +00:00
Matt A. Tobin f6c4aa7d3b Issue mcp-graveyard/UXP#1449 - Implement URLSearchParams's sort() 2020-05-02 16:43:30 -04:00
Matt A. Tobin 438e241402 Issue mcp-graveyard/UXP#1531 - Work around GCC 10 defaulting to -fno-common in media/ffvpx/libavcodec/
Build Reference:
26:39.53 ../../../build/unix/gold/ld: error: /home/mattatobin/development/.obj/trunk-f1f9fdabf/navigator-x86_64-pc-linux-gnu-gtk2/media/ffvpx/libavcodec/flac_parser.o: multiple definition of 'ff_flac_parser'
26:39.53 ../../../build/unix/gold/ld: /home/mattatobin/development/.obj/trunk-f1f9fdabf/navigator-x86_64-pc-linux-gnu-gtk2/media/ffvpx/libavcodec/dummy_funcs.o: previous definition here
26:39.53 collect2: error: ld returned 1 exit status
26:39.53 gmake[4]: *** [/home/mattatobin/development/binoc-central/platform/config/rules.mk:773: libmozavcodec.so] Error 1

See also: https://gcc.gnu.org/gcc-10/porting_to.html
2020-05-02 14:59:08 -04:00
New Tobin Paradigm 1791e85b45 Merge pull request #1526 from MoonchildProductions/deunify_layout
De-unify layout
2020-05-01 18:03:44 -04:00
adeshkp 2a14c01f7a Issue mcp-graveyard/UXP#80 - Include nsIContentInlines.h in layout/base/PositionedEventTargeting.cpp 2020-05-01 14:13:15 -04:00
Moonchild eea5ea93bc Issue mcp-graveyard/UXP#80 - Resolve issues with compiling on insane gcc configurations with no optimizations in layout/
(and fix a typo for cs fs)
2020-05-01 11:14:26 +00:00
Moonchild 3a26b2376f Issue mcp-graveyard/UXP#80 - De-unify layout/xul and tree, grid 2020-04-30 22:30:35 +00:00
Moonchild fe4f18a912 Issue mcp-graveyard/UXP#80 - De-unify layout/tables 2020-04-30 21:45:28 +00:00
Moonchild 439304317c Issue mcp-graveyard/UXP#80 - De-unify layout/svg 2020-04-30 21:02:50 +00:00
Moonchild f88768f048 Issue mcp-graveyard/UXP#80 - De-unify layout/style 2020-04-30 16:41:13 +00:00
Moonchild 82d16f42b8 Issue mcp-graveyard/UXP#80 - De-unify layout/printing 2020-04-29 19:53:36 +00:00
Moonchild 3806116cec Issue mcp-graveyard/UXP#80 - De-unify layout/PITA... I mean layout/generic 2020-04-29 16:55:02 +00:00
Moonchild b66ae74a40 Issue mcp-graveyard/UXP#80 - De-unify layout/base 2020-04-29 12:36:53 +00:00
wolfbeast 5d44e37b30 Revert "Issue mcp-graveyard/UXP#1445 - Clarify the status of extensions in the Add-On manager"
This reverts commit f107de8a90.
2020-04-27 11:58:42 +02:00
wolfbeast 4a4d4b3308 Revert "Issue mcp-graveyard/UXP#1446 - Only allow extension add-on types for Firefox compat mode."
This reverts commit e8417acbff.
2020-04-27 11:57:28 +02:00
wolfbeast fa826d4a20 Revert "Issue mcp-graveyard/UXP#1446 - Only match extension add-on types for target applications."
This reverts commit 4889e6dbbd.
2020-04-27 11:57:14 +02:00
wolfbeast 30821ba807 Revert "Issue mcp-graveyard/UXP#1445 - Use the detailed string also in the list entries."
This reverts commit ac68f8cf6c.
2020-04-27 11:57:01 +02:00
wolfbeast eb9d67a225 Revert "Issue mcp-graveyard/UXP#1445 - remove redundant nativeIndicator"
This reverts commit 2073a7f1c9.
2020-04-27 11:56:47 +02:00
wolfbeast 886b33946f Revert "Issue mcp-graveyard/UXP#1445 - Add a link to details on using Firefox extensions in Pale Moon"
This reverts commit c220c30bbb.
2020-04-27 11:56:33 +02:00
wolfbeast 03f3cc4f68 Revert "Issue mcp-graveyard/UXP#1445 - strings cleanup"
This reverts commit 461a9e86b2.
2020-04-27 11:56:19 +02:00
wolfbeast cf4d7ff69b Merge branch 'redwood' into 28.9-platform 2020-04-26 12:56:46 +02:00
Matt A. Tobin 4952ff3575 Issue mcp-graveyard/UXP#80 - Resolve issues with compiling on insane gcc configurations with no optimizations in dom/ 2020-04-26 10:27:18 +02:00
adeshkp 5541fb71c6 Issue mcp-graveyard/UXP#80 - Add Unused.h to dom/gamepad for Mac build 2020-04-26 10:26:57 +02:00
adeshkp 41d2020dcd Issue mcp-graveyard/UXP#80 - Fix include in PlatformDecoderModule.h 2020-04-26 10:26:07 +02:00
wolfbeast 68c92e525c Issue mcp-graveyard/UXP#80 - Fix include in dom/quota
Reported by Luke.
2020-04-26 10:23:13 +02:00
wolfbeast 0f9a1303ef Issue mcp-graveyard/UXP#80 - Fix include in dom/media for Pale Moon builds. 2020-04-26 10:22:59 +02:00
New Tobin Paradigm d4123168ba Add Unused.h to dom/media/webrtc/MediaTrackConstraints.cpp 2020-04-26 10:22:46 +02:00
adeshkp 511a1d3f10 Issue mcp-graveyard/UXP#80 - Include D3DMessageUtils.h in dom/plugins/ipc for Mac build
This should ideally not be needed on Mac but compilation fails due to
sizeof `DxgiAdapterDesc` not known.

Didn't face this issue on Linux though, probably due to a different include
chain which already has this file included somewhere along the way.
2020-04-26 10:22:32 +02:00
adeshkp 73c32778f9 Issue mcp-graveyard/UXP#80 - Fix includes in dom/media/platforms for Mac build 2020-04-26 10:22:20 +02:00
New Tobin Paradigm 6106b7fb35 Issue mcp-graveyard/UXP#80 - Include nsIContentInlines.h in dom/svg/SVGTests.cpp to fix linux bustage 2020-04-26 10:21:59 +02:00
Moonchild f5b72a4c90 Issue mcp-graveyard/UXP#80 - De-unify dom/xul 2020-04-26 10:21:48 +02:00
Moonchild b8d9700565 Issue mcp-graveyard/UXP#80 - De-unify dom/xslt 2020-04-26 10:21:37 +02:00
Moonchild fab05d9e90 Issue mcp-graveyard/UXP#80 - De-unify dom/xml 2020-04-26 10:21:27 +02:00
Moonchild ea7854b4ed Issue mcp-graveyard/UXP#80 - De-unify dom/xhr 2020-04-26 10:21:10 +02:00
Moonchild 159047cbeb Issue mcp-graveyard/UXP#80 - De-unify dom/xbl 2020-04-26 10:20:59 +02:00
Moonchild 1f61bc0e88 Issue mcp-graveyard/UXP#80 - De-unify dom/workers 2020-04-26 10:20:48 +02:00
Moonchild 1ef30b185d Issue mcp-graveyard/UXP#80 - De-unify dom/system 2020-04-26 10:20:38 +02:00
Moonchild fe51d7d032 Issue mcp-graveyard/UXP#80 - De-unify dom/svg 2020-04-26 10:20:27 +02:00
Moonchild b457de7915 Issue mcp-graveyard/UXP#80 - De-unify dom/smil 2020-04-26 10:20:16 +02:00
Moonchild e8d1342145 Issue mcp-graveyard/UXP#80 - De-unify dom/security
Exception: CSPUtils relies on something in CSPContext, but on
Windows it throws in an MSVC include which provides no hints.
2020-04-26 10:20:05 +02:00
Moonchild 0a57ef5dcf Issue mcp-graveyard/UXP#80 - De-unify dom/quota 2020-04-26 10:19:55 +02:00
Moonchild 6cb13875ee Issue mcp-graveyard/UXP#80 - De-unify dom/push 2020-04-26 10:19:44 +02:00
Moonchild 254f30f0a9 Issue mcp-graveyard/UXP#80 - De-unify dom/plugins/ipc 2020-04-26 10:19:33 +02:00
Moonchild 95588558ca Issue mcp-graveyard/UXP#80 - De-unify dom/plugins/base 2020-04-26 10:19:22 +02:00
Moonchild d7ba17f45c Issue mcp-graveyard/UXP#80 - De-unify dom/performance 2020-04-26 10:19:11 +02:00
Moonchild 55c36be432 Issue mcp-graveyard/UXP#80 - De-unify dom/media part 3
Excluding /dom/media/webrtc for bad template use:
MediaTrackConstraints.cpp/h
MediaEngineCameraVideoSource.cpp and
MediaEngineRemoteVideoSource.cpp
2020-04-26 10:18:59 +02:00
Moonchild 672b2799e0 Issue mcp-graveyard/UXP#80 - De-unify dom/media part 2 2020-04-26 10:18:45 +02:00
Moonchild ebb6b30cdd Issue mcp-graveyard/UXP#80 - De-unify dom/media part 1 (updated reland)
This de-unifies up to and including dom/media/platforms with the exception of
dom/media/platforms/wmf, because that one throws weird errors in the Win
SDK which don't have a clear cause (yet)
2020-04-26 10:18:28 +02:00
Matt A. Tobin 0934779c37 Issue mcp-graveyard/UXP#80 - Resolve issues with compiling on insane gcc configurations with no optimizations in dom/ 2020-04-25 23:04:24 -04:00
New Tobin Paradigm 18f1aa5e45 Merge pull request #1524 from adeshkp/deunify_dom_2
Fix includes in dom for Mac build
2020-04-25 20:14:00 -04:00
adeshkp c0e11c5093 Issue mcp-graveyard/UXP#80 - Add Unused.h to dom/gamepad for Mac build 2020-04-25 17:48:17 -04:00
wolfbeast d30239c5db Issue mcp-graveyard/UXP#80 - Fix include in dom/quota
Reported by Luke.
2020-04-25 21:01:30 +02:00
adeshkp 2f64f5dab3 Issue mcp-graveyard/UXP#80 - Fix includes in dom/media/platfoms for Mac build 2020-04-25 13:25:11 -04:00
wolfbeast bceb13e66d Issue mcp-graveyard/UXP#80 - Fix include in dom/media for Pale Moon builds. 2020-04-25 15:33:39 +02:00
Moonchild a0f2c658e2 Merge pull request #1522 from MoonchildProductions/deunify_dom
Deunify dom
2020-04-24 23:49:40 +02:00
New Tobin Paradigm 1404db937a Add Unused.h to dom/media/webrtc/MediaTrackConstraints.cpp 2020-04-24 17:41:17 -04:00
New Tobin Paradigm ef5e87f077 Merge pull request #1523 from adeshkp/deunify_dom
De-unify dom: Fix build bustage on Mac
2020-04-24 12:50:34 -04:00
adeshkp e63f0ec6c2 Issue mcp-graveyard/UXP#80 - Include D3DMessageUtils.h in dom/plugins/ipc for Mac build
This should ideally not be needed on Mac but compilation fails due to
sizeof `DxgiAdapterDesc` not known.

Didn't face this issue on Linux though, probably due to a different include
chain which already has this file included somewhere along the way.
2020-04-24 10:27:31 -04:00
adeshkp 0471e58e25 Issue mcp-graveyard/UXP#80 - Fix includes in dom/media/platforms for Mac build 2020-04-24 10:25:37 -04:00
Moonchild d6a3bc42fc Issue mcp-graveyard/UXP#80 - De-unify dom/ipc 2020-04-24 10:37:30 +02:00
Moonchild eb405d333c Issue mcp-graveyard/UXP#80 - De-unify dom/indexedDB 2020-04-24 10:37:19 +02:00
wolfbeast c6e03b7cf3 Issue mcp-graveyard/UXP#80 - De-unify dom/html 2020-04-24 10:37:08 +02:00
wolfbeast 0a5da04078 [AM] Clean up addon-signing build leftovers. 2020-04-24 10:36:55 +02:00
wolfbeast 87a5d010eb Issue mcp-graveyard/UXP#80 - De-unify dom/network 2020-04-24 10:36:44 +02:00
wolfbeast 64ee7c12a7 Issue mcp-graveyard/UXP#80 - De-unify dom/grid 2020-04-24 10:36:33 +02:00
wolfbeast d748b84ba9 Issue mcp-graveyard/UXP#80 - De-unify dom/geolocation 2020-04-24 10:36:23 +02:00
wolfbeast 2f183a0bca Issue mcp-graveyard/UXP#80 - De-unify dom/gamepad 2020-04-24 10:36:11 +02:00
wolfbeast 314a0065ba Issue mcp-graveyard/UXP#80 - De-unify dom/filesystem 2020-04-24 10:36:01 +02:00
wolfbeast c217e22bf4 Issue mcp-graveyard/UXP#80 - De-unify dom/filehandle 2020-04-24 10:35:49 +02:00
Matt A. Tobin 20ab21e68d Issue mcp-graveyard/UXP#576 - Remove IdentityService and ContextualIdentityService 2020-04-24 10:35:38 +02:00
Matt A. Tobin c98b5433ef Issue mcp-graveyard/UXP#65 - Remove AppConstants from toolkit/prompts/content/tabprompts.xml
This file not only somehow escaped my pass through here but was also mocking me by using AppConstants in a preprocessed file BUT ALSO right AFTER a preprocessor directive.
2020-04-24 10:35:09 +02:00
Matt A. Tobin 0e59617062 Put Request.cpp and Response.cpp back into UNIFIED in dom/fetch due to linux linker errors
Reference:

15:03.06 ../../build/unix/gold/ld: error: /home/mattatobin/development/.obj/trunk-master/navigator-x64-gtk3/toolkit/library/../../dom/fetch/Request.o: requires dynamic R_X86_64_PC32 reloc against '_ZN7mozilla3dom9FetchBodyINS0_7RequestEED2Ev' which may overflow at runtime; recompile with -fPIC
15:03.06 ../../build/unix/gold/ld: error: /home/mattatobin/development/.obj/trunk-master/navigator-x64-gtk3/toolkit/library/../../dom/fetch/Response.o: requires dynamic R_X86_64_PC32 reloc against '_ZN7mozilla3dom9FetchBodyINS0_8ResponseEED2Ev' which may overflow at runtime; recompile with -fPIC
15:03.06 ../../build/unix/gold/ld: error: read-only segment has dynamic relocations
15:03.07 /home/mattatobin/development/.obj/trunk-master/navigator-x64-gtk3/toolkit/library/../../dom/fetch/Request.o:Request.cpp:function mozilla::dom::Request::~Request(): error: undefined reference to 'mozilla::dom::FetchBody<mozilla::dom::Request>::~FetchBody()'
15:03.07 /home/mattatobin/development/.obj/trunk-master/navigator-x64-gtk3/toolkit/library/../../dom/fetch/Response.o:Response.cpp:function mozilla::dom::Response::~Response(): error: undefined reference to 'mozilla::dom::FetchBody<mozilla::dom::Response>::~FetchBody()'
2020-04-24 10:34:46 +02:00
wolfbeast 9daddc63df Issue mcp-graveyard/UXP#80 - De-unify dom/fetch
Running into the same problem as with dom/canvas: derived template
classes not being happy about being non-unified. Kept unified for now
to prevent linking errors.
2020-04-24 10:34:33 +02:00
wolfbeast 8b77c60903 Issue mcp-graveyard/UXP#80 - De-unify dom/events 2020-04-24 10:34:20 +02:00
wolfbeast a1f11fe5e3 Issue mcp-graveyard/UXP#80 - De-unify dom/crypto 2020-04-24 10:34:08 +02:00
Matt A. Tobin 54d1cfa217 Fix typo in dom/animation/CSSPseudoElement.cpp
Linux filesystems tend to be case sensitive
2020-04-24 10:33:56 +02:00
wolfbeast 7a33f7cb45 Issue mcp-graveyard/UXP#80 - De-unify dom/canvas 2020-04-24 10:33:20 +02:00
Matt A. Tobin b8d9e51555 Make application moz.configure file optional and set application/xulrunner as the default platform build_app 2020-04-24 10:33:08 +02:00
Matt A. Tobin a16076eee1 Issue mcp-graveyard/UXP#80 - De-unify layout/mathml 2020-04-24 10:32:48 +02:00
Matt A. Tobin d2ccb3dd77 Issue mcp-graveyard/UXP#80 - De-unify layout/forms 2020-04-24 10:32:36 +02:00
wolfbeast 5967c3c916 Issue mcp-graveyard/UXP#80 - De-unify dom/cache 2020-04-24 10:32:24 +02:00
wolfbeast 4e95429cd1 Issue mcp-graveyard/UXP#80 - De-unify dom/archivereader 2020-04-24 10:32:14 +02:00
wolfbeast d6f08636f5 Issue mcp-graveyard/UXP#80 - De-unify dom/animation
KeyFrameEffect and KeyFrameEffectReadOnly are still built unified as
buddies because they have some complex interdependency that couldn't
easily be resolved without linking failures.
2020-04-24 10:32:03 +02:00
Matt A. Tobin dd3fa9de98 Issue mcp-graveyard/UXP#80 - De-unify dom/messagechannel 2020-04-24 10:31:52 +02:00
Matt A. Tobin 8b670722db Issue mcp-graveyard/UXP#80 - De-unify dom/audiochannel 2020-04-24 10:31:42 +02:00
Matt A. Tobin f18789f1cf Issue mcp-graveyard/UXP#80 - De-unify dom/notification 2020-04-24 10:31:31 +02:00
Matt A. Tobin f8ccbc3062 Issue mcp-graveyard/UXP#80 - De-unify dom/url 2020-04-24 10:31:19 +02:00
Matt A. Tobin 8a61f9d5ac Issue mcp-graveyard/UXP#80 - De-unify dom/encoding 2020-04-24 10:31:08 +02:00
Matt A. Tobin 2f71733efc Issue mcp-graveyard/UXP#80 - De-unify dom/json 2020-04-24 10:30:52 +02:00
Matt A. Tobin eebf4be280 Issue mcp-graveyard/UXP#80 - De-unify dom/u2f 2020-04-24 10:30:40 +02:00
Matt A. Tobin 460e1890e5 Issue mcp-graveyard/UXP#80 - De-unify dom/power 2020-04-24 10:30:29 +02:00
Matt A. Tobin bb08b4bb9b Issue mcp-graveyard/UXP#80 - De-unify dom/mathml 2020-04-24 10:30:18 +02:00
Matt A. Tobin 8254b90198 Issue mcp-graveyard/UXP#80 - De-unify dom/jsurl 2020-04-24 10:30:08 +02:00
Matt A. Tobin fc02f855b1 Issue mcp-graveyard/UXP#80 - De-unify dom/worklet 2020-04-24 10:29:56 +02:00
Matt A. Tobin 6288e12d12 Issue mcp-graveyard/UXP#80 - De-unify dom/console 2020-04-24 10:29:45 +02:00
Matt A. Tobin 928aeeecd7 Issue mcp-graveyard/UXP#80 - De-unify dom/media/webm 2020-04-24 10:29:34 +02:00
Matt A. Tobin 59171cfc40 Issue mcp-graveyard/UXP#80 - De-unify dom/media/flac 2020-04-24 10:29:23 +02:00
Matt A. Tobin 862aec5b16 Issue mcp-graveyard/UXP#80 - De-unify dom/media/mp3 2020-04-24 10:29:13 +02:00
Matt A. Tobin b0c86f6755 Issue mcp-graveyard/UXP#80 - De-unify dom/media/ogg 2020-04-24 10:29:01 +02:00
Matt A. Tobin 8c4be34c0c Issue mcp-graveyard/UXP#80 - De-unify dom/media/encoder 2020-04-24 10:28:50 +02:00
Matt A. Tobin 44462f4b03 Issue mcp-graveyard/UXP#80 - De-unify dom/media/mediasink 2020-04-24 10:28:38 +02:00
Matt A. Tobin e33d3c2bb2 Issue mcp-graveyard/UXP#80 - De-unify dom/media/wave 2020-04-24 10:28:28 +02:00
Matt A. Tobin 9548d90173 Issue mcp-graveyard/UXP#80 - De-unify dom/storage 2020-04-24 10:28:16 +02:00
Matt A. Tobin a81c1ceadf Issue mcp-graveyard/UXP#80 - De-unify dom/time 2020-04-24 10:28:05 +02:00
Matt A. Tobin 1f03e6fb38 Issue mcp-graveyard/UXP#80 - De-unify dom/permission 2020-04-24 10:27:54 +02:00
Matt A. Tobin 5e815393b2 Issue mcp-graveyard/UXP#80 - De-unify dom/broadcastchannel 2020-04-24 10:27:42 +02:00
Matt A. Tobin 4ef16d96c1 Issue mcp-graveyard/UXP#80 - De-unify dom/offline 2020-04-24 10:27:30 +02:00
Matt A. Tobin c2958cb76c Issue mcp-graveyard/UXP#80 - De-unify /layout/inspector 2020-04-24 10:27:18 +02:00
Matt A. Tobin 1f9f3536aa Issue mcp-graveyard/UXP#80 - De-unify /layout/tools/layout-debug/src 2020-04-24 10:27:06 +02:00
Matt A. Tobin e16a1eb16e Issue mcp-graveyard/UXP#80 - De-unify /layout/ipc 2020-04-24 10:26:52 +02:00
Matt A. Tobin f735965581 Issue mcp-graveyard/UXP#80 - De-unify /layout/build 2020-04-24 10:26:40 +02:00
wolfbeast 9debdab01d [docs] Update coding style cf. discussion with Tobin. 2020-04-24 10:26:16 +02:00
wolfbeast 16ef2b0d92 Issue mcp-graveyard/UXP#251 - Move MOZ_AV1 back to ac configure for everyone to use. 2020-04-24 10:25:57 +02:00
Matt A. Tobin 31e2b56d74 Issue mcp-graveyard/UXP#1516 - Part 1: Add a global build define to determine if the client can draw in the titlebar and update consumers of the local define 2020-04-24 10:24:52 +02:00
New Tobin Paradigm 45b1b929b2 Issue mcp-graveyard/UXP#80 - Include nsIContentInlines.h in dom/svg/SVGTests.cpp to fix linux bustage 2020-04-23 19:26:31 -04:00
Moonchild b49648e3cf Issue mcp-graveyard/UXP#80 - De-unify dom/xul 2020-04-23 17:51:21 +00:00
Moonchild 551d51af68 Issue mcp-graveyard/UXP#80 - De-unify dom/xslt 2020-04-23 17:29:30 +00:00
Moonchild 253ad1c9e9 Issue mcp-graveyard/UXP#80 - De-unify dom/xml 2020-04-23 17:00:01 +00:00
Moonchild f3b380911e Issue mcp-graveyard/UXP#80 - De-unify dom/xhr 2020-04-23 16:48:48 +00:00
Moonchild a85b6f54e7 Issue mcp-graveyard/UXP#80 - De-unify dom/xbl 2020-04-23 16:24:33 +00:00
Moonchild 94946a3d79 Issue mcp-graveyard/UXP#80 - De-unify dom/workers 2020-04-23 16:19:06 +00:00
Moonchild 4da57e6de7 Issue mcp-graveyard/UXP#80 - De-unify dom/system 2020-04-23 15:00:52 +00:00
Moonchild f03f103659 Issue mcp-graveyard/UXP#80 - De-unify dom/svg 2020-04-23 14:55:34 +00:00
Moonchild b0f55ddf34 Issue mcp-graveyard/UXP#80 - De-unify dom/smil 2020-04-23 14:31:44 +00:00
Moonchild f25fe47b65 Issue mcp-graveyard/UXP#80 - De-unify dom/security
Exception: CSPUtils relies on something in CSPContext, but on
Windows it throws in an MSVC include which provides no hints.
2020-04-23 14:13:58 +00:00
Moonchild 69d3b6a143 Issue mcp-graveyard/UXP#80 - De-unify dom/quota 2020-04-23 12:07:55 +00:00
Moonchild c8364caaa7 Issue mcp-graveyard/UXP#80 - De-unify dom/push 2020-04-22 20:57:42 +00:00
Moonchild eb087bde89 Issue mcp-graveyard/UXP#80 - De-unify dom/plugins/ipc 2020-04-22 20:37:34 +00:00
Moonchild 5c73cafe02 Issue mcp-graveyard/UXP#80 - De-unify dom/plugins/base 2020-04-22 20:04:53 +00:00
Moonchild 9a8d7d999b Issue mcp-graveyard/UXP#80 - De-unify dom/performance 2020-04-22 19:19:55 +00:00
Moonchild feed72becc Issue mcp-graveyard/UXP#80 - De-unify dom/media part 3
Excluding /dom/media/webrtc for bad template use:
MediaTrackConstraints.cpp/h
MediaEngineCameraVideoSource.cpp and
MediaEngineRemoteVideoSource.cpp
2020-04-22 18:53:58 +00:00
Moonchild 1311dd7423 Issue mcp-graveyard/UXP#80 - De-unify dom/media part 1 (updated reland)
This de-unifies up to and including dom/media/platforms with the exception of
dom/media/platforms/wmf, because that one throws weird errors in the Win
SDK which don't have a clear cause (yet)
2020-04-22 13:18:39 +00:00
Moonchild 57068e1306 Revert "Issue mcp-graveyard/UXP#80 - De-unify dom/media part 1"
This reverts commit b5b62d841c.
2020-04-22 13:17:28 +00:00
wolfbeast a11f3a67e0 Revert "Issue mcp-graveyard/UXP#80 - De-unify dom/media part 1"
This reverts commit b5b62d841c.
2020-04-22 15:14:53 +02:00
Moonchild f6afecb8ec Issue mcp-graveyard/UXP#80 - De-unify dom/media part 2 2020-04-22 11:13:13 +00:00
Moonchild 549bad75f9 Issue mcp-graveyard/UXP#80 - De-unify dom/media part 1
This de-unifies up to and including dom/media/platforms with the exception of
dom/media/platforms/wmf, because that one throws weird errors in the Win
SDK which don't have a clear cause (yet)
2020-04-22 02:32:20 +00:00
Moonchild 9b2183b0a9 Issue mcp-graveyard/UXP#80 - De-unify dom/ipc 2020-04-21 18:09:13 +00:00
Moonchild 0f3f1a41d2 Issue mcp-graveyard/UXP#80 - De-unify dom/indexedDB 2020-04-21 15:28:03 +00:00
wolfbeast e3e8face64 Issue mcp-graveyard/UXP#80 - De-unify dom/html 2020-04-21 14:58:19 +02:00
wolfbeast 95850544cd [AM] Clean up addon-signing build leftovers. 2020-04-21 13:07:10 +02:00
wolfbeast e7b555e32e Issue mcp-graveyard/UXP#80 - De-unify dom/network 2020-04-20 20:06:44 +02:00
wolfbeast 2724a88516 Issue mcp-graveyard/UXP#80 - De-unify dom/grid 2020-04-20 19:35:13 +02:00
wolfbeast 1cd9db9886 Issue mcp-graveyard/UXP#80 - De-unify dom/geolocation 2020-04-20 19:03:35 +02:00
wolfbeast 2e8b702fa7 Issue mcp-graveyard/UXP#80 - De-unify dom/gamepad 2020-04-20 18:08:32 +02:00
wolfbeast e592cdd4e0 Issue mcp-graveyard/UXP#80 - De-unify dom/filesystem 2020-04-20 14:17:32 +02:00
wolfbeast 9c3a945166 Issue mcp-graveyard/UXP#80 - De-unify dom/filehandle 2020-04-20 12:46:11 +02:00
Matt A. Tobin ee367e13c3 Issue mcp-graveyard/UXP#576 - Remove IdentityService and ContextualIdentityService 2020-04-19 17:46:17 -04:00
Matt A. Tobin 8000f45bc8 Issue mcp-graveyard/UXP#65 - Remove AppConstants from toolkit/prompts/content/tabprompts.xml
This file not only somehow escaped my pass through here but was also mocking me by using AppConstants in a preprocessed file BUT ALSO right AFTER a preprocessor directive.
2020-04-19 16:29:19 -04:00
Matt A. Tobin 693822aad9 Put Request.cpp and Response.cpp back into UNIFIED in dom/fetch due to linux linker errors
Reference:

15:03.06 ../../build/unix/gold/ld: error: /home/mattatobin/development/.obj/trunk-master/navigator-x64-gtk3/toolkit/library/../../dom/fetch/Request.o: requires dynamic R_X86_64_PC32 reloc against '_ZN7mozilla3dom9FetchBodyINS0_7RequestEED2Ev' which may overflow at runtime; recompile with -fPIC
15:03.06 ../../build/unix/gold/ld: error: /home/mattatobin/development/.obj/trunk-master/navigator-x64-gtk3/toolkit/library/../../dom/fetch/Response.o: requires dynamic R_X86_64_PC32 reloc against '_ZN7mozilla3dom9FetchBodyINS0_8ResponseEED2Ev' which may overflow at runtime; recompile with -fPIC
15:03.06 ../../build/unix/gold/ld: error: read-only segment has dynamic relocations
15:03.07 /home/mattatobin/development/.obj/trunk-master/navigator-x64-gtk3/toolkit/library/../../dom/fetch/Request.o:Request.cpp:function mozilla::dom::Request::~Request(): error: undefined reference to 'mozilla::dom::FetchBody<mozilla::dom::Request>::~FetchBody()'
15:03.07 /home/mattatobin/development/.obj/trunk-master/navigator-x64-gtk3/toolkit/library/../../dom/fetch/Response.o:Response.cpp:function mozilla::dom::Response::~Response(): error: undefined reference to 'mozilla::dom::FetchBody<mozilla::dom::Response>::~FetchBody()'
2020-04-19 12:50:46 -04:00
Matt A. Tobin d60c78427b Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2020-04-19 12:38:46 -04:00
Matt A. Tobin 293412e1b2 Fix typo in dom/animation/CSSPseudoElement.cpp
Linux filesystems tend to be case sensitive
2020-04-19 12:38:41 -04:00
wolfbeast ed40a00bd3 Issue mcp-graveyard/UXP#80 - De-unify dom/fetch
Running into the same problem as with dom/canvas: derived template
classes not being happy about being non-unified. Kept unified for now
to prevent linking errors.
2020-04-19 16:45:01 +02:00
wolfbeast d744c8f8c6 Issue mcp-graveyard/UXP#80 - De-unify dom/events 2020-04-19 14:38:07 +02:00
wolfbeast 01178459d5 Issue mcp-graveyard/UXP#80 - De-unify dom/crypto 2020-04-19 12:52:40 +02:00
Matt A. Tobin e992df11ea Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2020-04-18 19:34:33 -04:00
Matt A. Tobin a97accd06e Make application moz.configure file optional and set application/xulrunner as the default platform build_app 2020-04-18 19:34:29 -04:00
wolfbeast 29361ecfe4 Issue mcp-graveyard/UXP#80 - De-unify dom/canvas 2020-04-18 22:00:45 +02:00
Matt A. Tobin ebb30d4908 Issue mcp-graveyard/UXP#80 - De-unify layout/mathml 2020-04-18 13:31:59 -04:00
Matt A. Tobin 4b2a5b91c6 Issue mcp-graveyard/UXP#80 - De-unify layout/forms 2020-04-18 13:10:09 -04:00
wolfbeast 4e68d0eb2e Issue mcp-graveyard/UXP#80 - De-unify dom/cache 2020-04-18 17:39:59 +02:00
wolfbeast c8095e613b Issue mcp-graveyard/UXP#80 - De-unify dom/archivereader 2020-04-18 17:07:15 +02:00
wolfbeast b035e68e42 Issue mcp-graveyard/UXP#80 - De-unify dom/animation
KeyFrameEffect and KeyFrameEffectReadOnly are still built unified as
buddies because they have some complex interdependency that couldn't
easily be resolved without linking failures.
2020-04-18 15:10:34 +02:00
Matt A. Tobin d7bceff536 Issue mcp-graveyard/UXP#80 - De-unify dom/messagechannel 2020-04-18 03:24:37 -04:00
Matt A. Tobin 45049d72b7 Issue mcp-graveyard/UXP#80 - De-unify dom/audiochannel 2020-04-18 03:18:46 -04:00
Matt A. Tobin bb2eff12f4 Issue mcp-graveyard/UXP#80 - De-unify dom/notification 2020-04-18 03:15:52 -04:00
Matt A. Tobin 58d6f51582 Issue mcp-graveyard/UXP#80 - De-unify dom/url 2020-04-18 03:13:33 -04:00
Matt A. Tobin b6d010c2ea Issue mcp-graveyard/UXP#80 - De-unify dom/encoding 2020-04-18 03:04:19 -04:00
Matt A. Tobin d2fd9cb443 Issue mcp-graveyard/UXP#80 - De-unify dom/json 2020-04-18 03:00:14 -04:00
Matt A. Tobin ff659ac549 Issue mcp-graveyard/UXP#80 - De-unify dom/u2f 2020-04-18 02:49:12 -04:00
Matt A. Tobin 4844b5c1cc Issue mcp-graveyard/UXP#80 - De-unify dom/power 2020-04-18 02:40:11 -04:00
Matt A. Tobin e0f0eec3e0 Issue mcp-graveyard/UXP#80 - De-unify dom/mathml 2020-04-18 02:37:07 -04:00
Matt A. Tobin fc52910c65 Issue mcp-graveyard/UXP#80 - De-unify dom/jsurl 2020-04-18 02:32:06 -04:00
Matt A. Tobin f7a5e6e787 Issue mcp-graveyard/UXP#80 - De-unify dom/worklet 2020-04-18 02:29:40 -04:00
Matt A. Tobin e312608635 Issue mcp-graveyard/UXP#80 - De-unify dom/console 2020-04-18 02:25:38 -04:00
Matt A. Tobin 04a41be81d Issue mcp-graveyard/UXP#80 - De-unify dom/media/webm 2020-04-18 02:11:10 -04:00
Matt A. Tobin 8c05cfff17 Issue mcp-graveyard/UXP#80 - De-unify dom/media/flac 2020-04-18 02:08:39 -04:00
Matt A. Tobin fb0a1a9f83 Issue mcp-graveyard/UXP#80 - De-unify dom/media/mp3 2020-04-18 01:57:00 -04:00
Matt A. Tobin a4a301852f Issue mcp-graveyard/UXP#80 - De-unify dom/media/ogg 2020-04-18 01:54:43 -04:00
Matt A. Tobin 78fafbf30c Issue mcp-graveyard/UXP#80 - De-unify dom/media/encoder 2020-04-18 01:47:24 -04:00
Matt A. Tobin cd3a918171 Issue mcp-graveyard/UXP#80 - De-unify dom/media/mediasink 2020-04-18 01:41:24 -04:00
Matt A. Tobin 4322c1141e Issue mcp-graveyard/UXP#80 - De-unify dom/media/wave 2020-04-18 01:21:32 -04:00
Matt A. Tobin 2586b899be Issue mcp-graveyard/UXP#80 - De-unify dom/storage 2020-04-18 01:18:11 -04:00
Matt A. Tobin 915689b8fc Issue mcp-graveyard/UXP#80 - De-unify dom/time 2020-04-18 01:07:01 -04:00
Matt A. Tobin b2eda74372 Issue mcp-graveyard/UXP#80 - De-unify dom/permission 2020-04-18 01:03:17 -04:00
Matt A. Tobin ab856be53e Issue mcp-graveyard/UXP#80 - De-unify dom/broadcastchannel 2020-04-18 00:53:39 -04:00
Matt A. Tobin f52713765f Issue mcp-graveyard/UXP#80 - De-unify dom/offline 2020-04-18 00:43:00 -04:00
Matt A. Tobin 7d2b4888cb Issue mcp-graveyard/UXP#80 - De-unify /layout/inspector 2020-04-18 00:25:59 -04:00
Matt A. Tobin 16c8dbb701 Issue mcp-graveyard/UXP#80 - De-unify /layout/tools/layout-debug/src 2020-04-18 00:21:30 -04:00
Matt A. Tobin 436b3b8222 Issue mcp-graveyard/UXP#80 - De-unify /layout/ipc 2020-04-18 00:19:33 -04:00
Matt A. Tobin 45fc56bb5b Issue mcp-graveyard/UXP#80 - De-unify /layout/build 2020-04-18 00:15:56 -04:00
Matt A. Tobin 6785cfe869 Bug 1425685 - Implement HTMLSlotElement.assignedElements();
Tag mcp-graveyard/UXP#1375
2020-04-17 12:27:45 -04:00
wolfbeast c2c7bd81b0 [docs] Update coding style cf. discussion with Tobin. 2020-04-17 16:32:28 +02:00
Moonchild f2f40dcdfe Merge pull request #1518 from MoonchildProductions/shadowdom-merge
Incremental shadowdom-merge
2020-04-17 16:02:56 +02:00
Matt A. Tobin a1c817be59 Issue mcp-graveyard/UXP#1375 - Merge CustomElements pref with Webcomponents Pref 2020-04-17 07:44:11 -04:00
Matt A. Tobin 4bfd8b76e0 Issue mcp-graveyard/UXP#1375 - Fix IsWebComponentsEnabled checks 2020-04-17 07:43:40 -04:00
Matt A. Tobin a34f876f91 Bug 1360154 - nsIPlaintextEditor might have to have hasText property for UpdateOverlayTextVisibility
* DocumentIsBody should return bool, not nsresult
* Add fast path to check whether valus is emtpy

Tag mcp-graveyard/UXP#1375
2020-04-17 07:43:03 -04:00
Matt A. Tobin 212f6226f6 Bug 1425769 - Base class for ShadowRoot and Document to manage style state
Tag mcp-graveyard/UXP#1375
2020-04-17 07:42:07 -04:00
Matt A. Tobin ef72793442 Issue mcp-graveyard/UXP#80 - De-unify dom/base
Tag mcp-graveyard/UXP#1375
2020-04-17 07:40:32 -04:00
Matt A. Tobin eb358ae43a Bug 1322661 - Expose (non-XBL) style sheets to devtools
Tag mcp-graveyard/UXP#1375
2020-04-17 07:39:36 -04:00
Matt A. Tobin c792c722c8 Bug 1348481 - Part 1b: Generalize FindDocStyleSheetInsertionPoint so it doesn't require an array of RefPtrs
Tag mcp-graveyard/UXP#1375
2020-04-17 07:39:08 -04:00
Matt A. Tobin 305a9d7724 Bug 1417829 - Remove unresolved pseudoclass
Tag mcp-graveyard/UXP#1375
2020-04-17 07:38:16 -04:00
Matt A. Tobin cd64c4be6b Bug 1426503 - Remove DestInsertionPoints stuff
Tag mcp-graveyard/UXP#1375
2020-04-17 07:37:07 -04:00
Matt A. Tobin 0c9fdd9948 Bug 1426536 - Remove nsContentUtils::IsContentInsertionPoint
Tag mcp-graveyard/UXP#1375
2020-04-17 07:36:25 -04:00
Matt A. Tobin c932099148 Bug 1409976 - Add slotchange event
* Add support for `slotchange` event
* Signal `slotchange` when slot's assigned nodes changes

Tag mcp-graveyard/UXP#1375
2020-04-17 07:35:48 -04:00
Matt A. Tobin 2a9242027c Bug 1425441 - Move relatedTarget to WidgetEvent
Tag mcp-graveyard/UXP#1375
2020-04-17 07:34:35 -04:00
Matt A. Tobin ed86edec9a Bug 1327185 - Refine EventStateManager::FireDragEnterOrExit
Tag mcp-graveyard/UXP#1375
2020-04-17 07:33:51 -04:00
Matt A. Tobin 1d1a1fb975 Bug 1412775 - Implement Event.composedPath
Tag mcp-graveyard/UXP#1375
2020-04-17 07:30:43 -04:00
Matt A. Tobin aa54ff63fd Bug 1422197 - Add fast path to get DocGroup in binding code for [CEReactions]
Tag mcp-graveyard/UXP#1375
2020-04-17 07:29:57 -04:00
Matt A. Tobin a3d9e938d2 Bug 1419762 - Return the inline continuation of an IB split when appending
Tag mcp-graveyard/UXP#1375
2020-04-17 07:29:19 -04:00
Matt A. Tobin 0abe24ae87 Bug 1422931 - Fix crash with slot element and make webcomponents preference per-doc
Tag mcp-graveyard/UXP#1375
2020-04-17 07:25:14 -04:00
Matt A. Tobin 43c64e6b2c Bug 1419799 - Fix nsContentUtils::IsInSameAnonymousTree in Shadow DOM
Tag mcp-graveyard/UXP#1375
2020-04-17 07:23:48 -04:00
Matt A. Tobin cff9f02927 Bug 1419964 - Remove AdjustParentFrameForAfterContent
Tag mcp-graveyard/UXP#1375
2020-04-17 07:22:58 -04:00
Matt A. Tobin eff407790b Bug 1415843 - Remove an unneeded call to AdjustAppendParentForAfterContent
Tag mcp-graveyard/UXP#1375
2020-04-17 07:22:26 -04:00
Matt A. Tobin a1678aef6c Bug 1415538 - Remove dead frame construction code (InsertFirstLineFrames)
Tag mcp-graveyard/UXP#1375
2020-04-17 07:21:26 -04:00
Matt A. Tobin d0d9110d3c Bug 1415152 - No need for AdjustAppendForAfter, since ::after is handled in FindNextSibling
Tag mcp-graveyard/UXP#1375
2020-04-17 07:20:50 -04:00
Matt A. Tobin eccbe1b49d Bug 1413619 - Fix insertion point computation when display: contents pseudos are involved.
Tag mcp-graveyard/UXP#1375
2020-04-17 07:20:06 -04:00
Matt A. Tobin 31226a705e Bug 979782 - Implement lazy frame construction for display:contents descendants
* Fixup FindFrameForContentSibling to don't duplicate work and trigger assertions for display: contents
* Enable lazy frame construction for display: contents direct descendants

Tag mcp-graveyard/UXP#1375
2020-04-17 07:19:16 -04:00
Matt A. Tobin d4fdfa0cc9 Bug 1380749 - Retry AdjustAppendParentForAfterContent in case |parentAfterFrame| was a :first-letter frame that we deleted
Tag mcp-graveyard/UXP#1375
2020-04-17 07:17:52 -04:00
Matt A. Tobin 28d2b703c2 Bug 1409975 - Implement node distribution for shadow tree slots
* Implementation for assignedNodes
* Include slots in the flat tree
* Fix event get-the-parent algorithm for a node
* Update and add reftests for Shadow DOM v1
* Update web platform tests expectations

Tag mcp-graveyard/UXP#1375
2020-04-17 07:10:54 -04:00
Matt A. Tobin 1e455db0be Bug 1418002 - Remove HTMLContentElement
Tag mcp-graveyard/UXP#1375
2020-04-17 07:08:22 -04:00
Matt A. Tobin d356f216d4 Bug 1416999 - Remove document.registerElement
Tag mcp-graveyard/UXP#1375
2020-04-17 07:07:09 -04:00
Matt A. Tobin ce02f56024 Bug 1411878 - Support Element.shadowRoot and Element.assignedSlot / TextNode.assignedSlot on closed shadow root
Tag mcp-graveyard/UXP#1375
2020-04-17 07:05:27 -04:00
Matt A. Tobin 6d2b166afa Bug 1404842 - Implement Element.attachShadow and Element.slot
Tag mcp-graveyard/UXP#1375
2020-04-17 07:04:42 -04:00
Matt A. Tobin 48f36c17bb Bug 1411754 - Rename PresShell::DestroyFramesFor to DestroyFramesForAndRestyle
Tag mcp-graveyard/UXP#1375
2020-04-17 06:41:41 -04:00
Matt A. Tobin 66d7c7a910 Bug 1404789 - Stop reconstructing frames for the whole shadow root each time content is inserted in a shadow tree
* Cleanup a bit the ShadowRoot code
* Privatize ShadowRoot methods
* When the shadow tree distribution changes, post a restyle + reframe
* Simplify ShadowRoot::IsPooledNode
* Be a bit better at detecting distribution changes

Tag mcp-graveyard/UXP#1375
2020-04-17 06:41:00 -04:00
Matt A. Tobin 16779f3b58 Bug 1408341 - Implement assignedSlot on Element and Text
Tag mcp-graveyard/UXP#1375
2020-04-17 06:38:37 -04:00
Matt A. Tobin 8156330f03 Bug 1381134 - Ensure we're using the correct frame for the :after/:before references
Tag mcp-graveyard/UXP#1375
2020-04-17 06:38:06 -04:00
Matt A. Tobin c982b8c135 Bug 1402941 - Add HTMLSlotElement
Tag mcp-graveyard/UXP#1375
2020-04-17 06:37:28 -04:00
Matt A. Tobin 51494b724d Bug 1401097 - Simplify gHTMLElements and remove redundant conditions in nsXHTMLContentSerializer::LineBreakAfterClose()
Tag mcp-graveyard/UXP#1375
2020-04-17 06:36:20 -04:00
Matt A. Tobin 8af655a1c5 Bug 1396584 - Remove support for multiple ShadowRoots
Tag mcp-graveyard/UXP#1375
2020-04-17 06:34:38 -04:00
Matt A. Tobin 2a959e90e4 Bug 1400777 - Slim down nsElementTable.h
* Remove eHTMLTags
* De-expose HTML group constants[]
* De-expose gHTMLElements[]
* Split nsHTMLElement
* Clean up nsElementTable.{cpp,h}
* Fixup for eHTMLTag removal in Parser

Tag mcp-graveyard/UXP#1375
2020-04-17 06:33:16 -04:00
Matt A. Tobin bc2c47471b Issue mcp-graveyard/UXP#1375 - Stop largely using the parser service
This is based on Bug 1395828

* Add nsHTMLElement::IsBlock()
* Rename nsHTMLTags methods
* Remove AssertParserServiceIsCorrect()
* Remove most uses of nsIParserService/nsParserService
2020-04-17 06:24:43 -04:00
Matt A. Tobin 1386b7e5b4 Bug 1396568 - Make DocumentFragment::mHost a strong reference (so that ShadowRoot.host doesn't become null)
Tag mcp-graveyard/UXP#1375
2020-04-17 06:15:38 -04:00
Matt A. Tobin 390effe78d Bug 1394300 - Streamline nsElementTable.cpp
Tag mcp-graveyard/UXP#1375
2020-04-17 06:14:58 -04:00
Matt A. Tobin 2a6b8c371f Bug 1389743 - Only reconstruct frames synchronously from ContentRemoved when called from frame construction
Tag mcp-graveyard/UXP#1375
2020-04-17 06:14:10 -04:00
Matt A. Tobin 1164b0d35b Bug 1375701 - Atomize class attribute value in the parser in the innerHTML case
Tag mcp-graveyard/UXP#1375
2020-04-17 06:12:55 -04:00
Matt A. Tobin d1454ab1a0 Bug 1382357 - Wait to destroy frames until after we've successfully fetched the binding
Tag mcp-graveyard/UXP#1375
2020-04-17 06:11:43 -04:00
Matt A. Tobin 341019dcb2 Bug 1377978 - Make nsRange use uint32_t to offset
Tag mcp-graveyard/UXP#1375
2020-04-17 06:10:23 -04:00
Matt A. Tobin d119425f0c Bug 1377648 - Fix HTMLSummaryElement::IsSummary() on removing the element
* Use inFlowFrame to check the target frame is summary and its parent is details
* Check summary frame instead of summary element on removing the summary

Tag mcp-graveyard/UXP#1375
2020-04-17 06:09:37 -04:00
Matt A. Tobin 4fd85d4d3c Bug 1368547 - Remove nsFrameManagerBase::mPlaceholderMap and instead store the placeholder on a frame property on the out-of-flow
Tag mcp-graveyard/UXP#1375
2020-04-17 06:07:51 -04:00
Matt A. Tobin 62221ee977 Bug 1368802 - nsFrameIterator::GetPlaceholderFrame should only try to get the placeholder for out-of-flow frames, because in-flow frames never have a placeholder
Tag mcp-graveyard/UXP#1375
2020-04-17 06:03:18 -04:00
Matt A. Tobin 305903ec2e Bug 1373798 - Move HTML dir attribute state into event state flags
* Stop calling SetHasDirAuto/ClearHasDirAuto in input element code
* Introduce event state flags that track the state of an element's dir attribute
* Rewrite our existing checks for the state of the dir attr on top of the new event state flags
* Add pseudo-classes for matching on the dir attribute states
* Use the new dir attribute pseudoclasses in html.css

Tag mcp-graveyard/UXP#1375
2020-04-17 05:50:47 -04:00
Matt A. Tobin 2e23e37d08 Bug 1372829 - Part 2: mozilla::EditorBase should cache raw pointer of nsISelectionController and nsIDocument with nsWeakPtr
Tag mcp-graveyard/UXP#1375
2020-04-17 05:47:12 -04:00
Matt A. Tobin e760139531 Bug 1332353 - Make it clearer when a stylesheet is really owned by its mDocument
Tag mcp-graveyard/UXP#1375
2020-04-17 05:46:23 -04:00
Matt A. Tobin 7f49fecd9b Bug 1372829 - Part 1: Make mozilla::PlaceholderTransaction inherit mozilla::SupportsWeakPtr instead of nsSupportsWeakReference
Tag mcp-graveyard/UXP#1375
2020-04-17 05:45:53 -04:00
Matt A. Tobin 50c3b9b989 Bug 1371170 - Add non-virtual EditorBase::GetSelectionController
Tag mcp-graveyard/UXP#1375
2020-04-17 05:43:47 -04:00
Matt A. Tobin e19dfe858e Bug 1337698 - Use UniquePtr instead of nsAutoPtr in editor
* PlaceholderTransaction should use UniquePtr
* HTMLEditor should use UniquePtr
* TypeInState should use UniquePtr

Tag mcp-graveyard/UXP#1375
2020-04-17 05:43:18 -04:00
Matt A. Tobin a261127396 Bug 1365092 - Move side effects of SetAttr and ParseAttribute to BeforeSetAttr and AfterSetAttr
* Moves side effects of nsGenericHTMLElement and Element's SetAttr, UnsetAttr, and ParseAttribute functions to the corresponding BeforeSetAttr and AfterSetAttr functions
* Moves side effects of HTMLAnchorElement's SetAttr, UnsetAttr, and ParseAttribute functions to the corresponding BeforeSetAttr and AfterSetAttr functions
* Moves side effects of HTMLImageElement's SetAttr function to the corresponding BeforeSetAttr and AfterSetAttr functions
* Moves side effects of SetAttr, UnsetAttr, and ParseAttribute functions to BeforeSetAttr and AfterSetAttr

Tag mcp-graveyard/UXP#1375
2020-04-17 05:33:06 -04:00
Matt A. Tobin 224738833e Bug 1367683 - Optimize initializing nsRange
Tag mcp-graveyard/UXP#1375
2020-04-17 05:28:43 -04:00
Matt A. Tobin b7e142ed2c Bug 1348851 - Use new block when better selection isn't found.
Tag mcp-graveyard/UXP#1375
2020-04-17 05:27:56 -04:00
Matt A. Tobin b93d49cfbc Bug 1363481 - Add the old attribute value as a parameter to Element::AfterSetAttr
Tag mcp-graveyard/UXP#1375
2020-04-17 05:26:58 -04:00
Matt A. Tobin 05361fe927 Bug 1361086 - Simplify UndisplayedMap::GetListFor/GetOrCreateListFor to take nsIContent* rather than nsIContent**
Tag mcp-graveyard/UXP#1375
2020-04-17 05:26:13 -04:00
Matt A. Tobin 974b633c81 Bug 1360157 - Assert that a display: contents child always has a parent
Tag mcp-graveyard/UXP#1375
2020-04-17 05:25:20 -04:00
Matt A. Tobin 92067e88de Bug 1355351 - Make pseudo-elements return the correct style via getComputedStyle
* Add a node property to access the ::before and ::after pseudo-elements
* Look for the frame for ::before and ::after pseudos
* Clean up pseudo-element props
* Simplify nsLayoutUtils callers, and make child iterators notice display: contents pseudos

Tag mcp-graveyard/UXP#1375
2020-04-17 05:10:25 -04:00
Matt A. Tobin a86ae6b96c Issue mcp-graveyard/UXP#1375 - Include content rules from HTMLTableCellElement::WalkContentStyleRules and move to the mapped attr functionality
* Bugs 1341647 and 1341648
2020-04-17 05:07:41 -04:00
Matt A. Tobin f98fa1bd62 Bug 1352389 -Don't push extra script blocker on stack when setting attributes
Tag mcp-graveyard/UXP#1375
2020-04-17 05:05:28 -04:00
Matt A. Tobin f379f8743e Bug 1296516 - Cleanup a bit of code in layout/base
* Tidy RestyleManager::ContentStateChanged
* Convert UndisplayedMap to a typed hashtable
* Cleanup infallible or unchecked nsCSSFrameConstructor methods

Tag mcp-graveyard/UXP#1375
2020-04-17 05:04:10 -04:00
Matt A. Tobin d3d3ff14bc Bug 1330843 - Allow JS to create NAC pseudo-elements
Tag mcp-graveyard/UXP#1375
2020-04-17 05:01:17 -04:00
Matt A. Tobin 37ba06ebce Bug 1346623 - Allow anonymous content created with nsIDocument::InsertAnonymousContent can change from non-native to native AC
* Prevent canvas custom content from becoming NAC when reframing the root element
* Add an API to get computed style values through an AnonymousContent object

Tag mcp-graveyard/UXP#1375
2020-04-16 20:19:06 -04:00
Matt A. Tobin 5024675955 Bug 1347640 - HTMLInputElement shouldn't try to cancel image request on all the type changes
* Move the changing of HTMLInputElement's mType from ParseAttribute to AfterSetAttr
* Move a few more things from AfterSetAttr to HandleTypeChange

Tag mcp-graveyard/UXP#1375
2020-04-16 20:02:55 -04:00
Matt A. Tobin 167428dcab Bug 656197 - Push state updates further out across beforesetattr/aftersetattr
* Remove the generic attr preparsing mechanism from BeforeSetAttr and just preparse class attributes directly in the one place that needs to do it
* Move calls to BeforeSetAttr to after AttributeWillChange
* Remove UpdateState calls in BeforeSetAttr
* Move calls to AfterSetAttr to before UpdateState when manipulating attributes
* Remove UpdateState calls from AfterSetAttr, since they are no longer needed there

Tag mcp-graveyard/UXP#1375
2020-04-16 19:59:10 -04:00
Matt A. Tobin 463e56a5b8 Bug 1343879 - Be consistent about the parent style context the document-level anonymous content container should get: it should get no parent style context.
Tag mcp-graveyard/UXP#1375
2020-04-16 17:54:38 -04:00
Matt A. Tobin 112c66e9c1 Issue mcp-graveyard/UXP#1375 - Overload FromContent() to work with const 2020-04-16 17:53:41 -04:00
Matt A. Tobin e484678480 Bug 1343937 - Fix a crash in nsWrapperCache.h
* Implement and use GetInFlowParent
* Exempt scrollbar NAC from the new NAC semantics

Tag mcp-graveyard/UXP#1375
2020-04-16 17:52:30 -04:00
wolfbeast a2f97cb149 Issue mcp-graveyard/UXP#251 - Move MOZ_AV1 back to ac configure for everyone to use. 2020-04-16 23:15:33 +02:00
Matt A. Tobin 5c78654f6f Bug 1340885 - Null check frame's content when searching for NAC ancestors in GetCorrectedParent
Tag mcp-graveyard/UXP#1375
2020-04-16 16:42:26 -04:00
Matt A. Tobin 46de8fd018 Bug 1340333 - Eagerly compute whether a frame is really a browser.
Tag mcp-graveyard/UXP#1375
2020-04-16 16:41:20 -04:00
Matt A. Tobin 751979c22d Bug 1331322 - Allow tagging of pseudo-implementing native anonymous content with the pseudo type at creation time
* Stop using a node bit for HasExplicitBaseURI
* Move MAY_HAVE_CLASS to mBoolFlags
* Add a flag to indicate that a node is native anonymous content
* Allow tagging of pseudo-implementing native anonymous content with the pseudo type at creation time, and eliminate explicit style contexts in nsIAnonymousContentCreator::ContentInfo

Tag mcp-graveyard/UXP#1375
2020-04-16 16:37:28 -04:00
wolfbeast f98b27cb06 Issue mcp-graveyard/UXP#1517 - Enable high-resolution DOM timestamps on trunk
At the very least we should enable these short term, with the potential
removal of it pending.
2020-04-16 13:58:36 +02:00
wolfbeast 22a21e8f60 Issue mcp-graveyard/UXP#1517 - Enable high-resolution DOM timestamps on trunk
At the very least we should enable these short term, with the potential
removal of it pending.
2020-04-16 13:21:27 +02:00
wolfbeast b1cef6ee5d Issue mcp-graveyard/UXP#1517 - Enable high-resolution DOM timestamps on release 2020-04-16 04:20:42 +02:00
Matt A. Tobin 5ca26f38c2 Bug 1336011 - Fix Crash in InvalidArrayIndex_CRASH in mozilla::EditorBase::DeleteSelectionImpl
* EditorBase shouldn't refer mActionListeners directly in loops because it might be removed during a loop
* Create an alias of the type of mEditorObservers
* Create an alias of the type of mDocStateListeners

Tag mcp-graveyard/UXP#1375
2020-04-15 01:55:25 -04:00
Matt A. Tobin ca4b39391e Bug 1334358 - Remove nsCSSFrameConstructor::CreateAnonymousFrames
Tag mcp-graveyard/UXP#1375
2020-04-14 23:27:56 -04:00
Matt A. Tobin cbc74e8ad3 Bug 1334247 - Remove nsIAnonymousContentCreator::CreateFrameFor
Tag mcp-graveyard/UXP#1375
2020-04-14 22:04:32 -04:00
Matt A. Tobin a2d766a4fe Issue mcp-graveyard/UXP#1375 - Fix unified sources 2020-04-14 21:55:36 -04:00
Matt A. Tobin c9a49681c7 Bug 1321284 - Crash in nsCSSFrameConstructor::GetInsertionPrevSibling when trying to reframe native anonymous content
* Make StyleChildrenIterator skip NAC generated by root element primary frame ancestors.
* Add nsINode::GetFlattenedTreeParentNodeForStyle.
* Add iterator class to find all restyle roots.

NOTE: Parts 1, 2, and "4.2"

Tag mcp-graveyard/UXP#1375
2020-04-14 21:50:13 -04:00
Matt A. Tobin acb801bdca Bug 1305458 - Changing -moz-appearence on hover breaks change event
* Rename nsIDOMEventTarget::PreHandleEvent to nsIDOMEventTarget::GetEventTargetParent
* Add nsIDOMEventTarget::PreHandleEvent
* Add EventTargetChainItem::GetFirstEventTarget
* Call EventTargetChainItem::PreHandleEvent even it sets mCanHandle=false
* Move form control frame focus/blur from nsGenericHTMLFormElement::GetEventTargetParent to PreHandleEvent
* Move fire change event from HTMLTextAreaElement::GetEventTargetParent to PreHandleEvent
* Refine nsXULElement::GetEventTargetParent
* Move dispatch XUL command from nsXULElement::GetEventTargetParent to PreHandleEvent
* Move fire events and set value from HTMLInputElement::GetEventTargetParent to PreHandleEvent
* Add test case
* Let HTMLInputElement delegate event handling to it's parent class
* Refine EventTargetChain flags to reduce overheads
* Refine event target chain creation
* Refine assertion in EventTargetChainItem::Create

Tag mcp-graveyard/UXP#1375
2020-04-14 21:25:54 -04:00
Matt A. Tobin 96b6ea0b94 Issue mcp-graveyard/UXP#1516 - Part 1: Add a global build define to determine if the client can draw in the titlebar and update consumers of the local define 2020-04-14 19:16:07 -04:00
wolfbeast 12ebcf1be5 Merge branch 'redwood' into 28.9-platform 2020-04-14 21:49:04 +02:00
wolfbeast a0e88865de Fix additional deprot in dom/base 2020-04-14 21:37:53 +02:00
wolfbeast 0cfeca86a8 Revert 1320408 part 15: Make addDataProperty static 2020-04-14 21:10:50 +02:00
wolfbeast 7613c31f88 Issue mcp-graveyard/UXP#80 - De-unify dom/base and fix deprot. 2020-04-14 14:19:58 +02:00
wolfbeast 350b0ed058 Fix deprot in /layout 2020-04-14 14:02:50 +02:00
Moonchild a4b6b34b3b Create SECURITY.md
Provide basic instructions how to report security vulnerabilities.
2020-04-14 13:28:43 +02:00
wolfbeast 521a60faed Issue mcp-graveyard/UXP#1514 - Perform validity check before trying to use the content.
Resolves #1514
2020-04-14 13:28:28 +02:00
wolfbeast 7802e225cc Issue mcp-graveyard/UXP#1513 - Bail on orphan node
This was refactored by Mozilla into doing effectively the same thing so
it aligns with them re: behavior.
Resolves #1513
2020-04-14 13:28:10 +02:00
wolfbeast 671de2dd9c Issue mcp-graveyard/UXP#1512 - Improve handling of multiple selections.
IsSelectionEditable should check whether the focus node and anchor node
aren't null before trying to use them.
This also changes the initialization of selections' aOutIndex to the
last range in the selection as a fallback in case we don't add a range
later (in AddItem) which could also end up with a null selection
otherwise if the additional selection nodes are removed.
2020-04-14 13:27:57 +02:00
wolfbeast f987540133 [layout] Always move descendants of layout frames if moved.
If we move the frame then we always need to move any descendant views,
not just in case the frame itself has a view.
2020-04-14 13:27:34 +02:00
wolfbeast 3bb09ab89a Issue mcp-graveyard/UXP#1511 - Bail on orphan situation.
This resolves #1511
2020-04-14 13:27:12 +02:00
Jan de Mooij 9603345b59 [js] Handle functions with rest parameters in isObservableArgumentSlot. 2020-04-14 13:26:57 +02:00
Matt A. Tobin 909659d055 Move aom source to a sub-directory under media/libaom
There is no damned reason to treat this differently than any other media lib given its license and there never was.
2020-04-14 13:26:42 +02:00
Matt A. Tobin 68b2d150b4 Silence removing dist/bin 2020-04-14 13:26:26 +02:00
Matt A. Tobin 735f76ffb5 Take files out of preprocessing that no longer require it 2020-04-14 13:26:13 +02:00
Matt A. Tobin 5489dcaa40 Follow up to d0eee8f01 - Run precomplete cmd during package staging 2020-04-14 13:25:58 +02:00
Matt A. Tobin 55c8bd1c36 Align mar generation on Windows with other platforms
This makes mar generation dependent on packaging not installer
2020-04-14 13:25:44 +02:00
Matt A. Tobin 69a0ca4073 Alter config.guess to properly detect host and target bitness on SunOS 2020-04-14 13:25:29 +02:00
wolfbeast fbea4aa9d3 [Docshell] Ensure nsDocShell::mContentViewer is released properly. 2020-04-14 13:25:13 +02:00
wolfbeast 327abbdddb Issue mcp-graveyard/UXP#1505 - Part 3: Make native mode actually native again. 2020-04-14 13:24:59 +02:00
wolfbeast 80ca0a9513 Issue mcp-graveyard/UXP#1505 - Part 2: Store application build ID in nsHttpHandler
Since we're needing to reuse this several times, it makes it simpler to
just get it once in init and storing it.
2020-04-14 13:24:46 +02:00
wolfbeast ef3ea2d31b Issue mcp-graveyard/UXP#1505 - Rebuild application version string
To respond dynamically to the pref change, the mAppVersion string needs
to be rebuilt.
Includes some minor improvements for corner cases and removes leftover
b2g junk.
2020-04-14 13:24:32 +02:00
New Tobin Paradigm 5c64a1cbeb Issue mcp-graveyard/UXP#1497 - Re-implement an un-preprocessed file check 2020-04-14 13:24:17 +02:00
wolfbeast 2e980c18e9 Issue mcp-graveyard/UXP#1508 - Redirect moz://a to http://thereisonlyxul.org/ 2020-04-14 13:24:03 +02:00
wolfbeast ff3e05a025 Issue mcp-graveyard/UXP#1507 - Remove nsRefreshDriver's use of high res system timers.
Since we are using vsync for timing anyway in the layout refresh driver,
there is no need to bump the system timer resolution down to 1 ms.

This resolves #1507.
2020-04-14 13:23:48 +02:00
JustOff 04957b0ec7 Issue mcp-graveyard/UXP#65 - Fix unprocessed directives in WebRequest.jsm 2020-04-14 13:23:21 +02:00
Matt A. Tobin ed8798e6aa Make the reference to Handle unambiguous in ipc/testshell/XPCShellEnvironment.cpp
.. correctly
2020-04-14 13:23:06 +02:00
Matt A. Tobin 733dddd51e Revert "Make the reference to Handle unambiguous in ipc/testshell/XPCShellEnvironment.cpp"
This reverts commit d4afddfada.
2020-04-14 13:22:51 +02:00
Matt A. Tobin 9156286914 Make the reference to Handle unambiguous in ipc/testshell/XPCShellEnvironment.cpp 2020-04-14 13:22:34 +02:00
Matt A. Tobin 0c5e5225c7 Output webidl filenames as they are processed 2020-04-14 13:22:13 +02:00
athenian200 9483a70c27 Issue mcp-graveyard/UXP#1501 - Un-bust building of NSS after update to 3.48 on Solaris. 2020-04-14 13:21:54 +02:00
Matt A. Tobin a4288cb9e6 Explicitly remove dist/bin before mozbuild's install_manifests get a hold of it 2020-04-14 13:21:33 +02:00
Matt A. Tobin f1c52a6533 Properly fix crash in nsDownloadManager when repeatedly pausing and resuming a download
This applies only to applications that do not use JSDownloads and is based on Bug 1224326
2020-04-14 13:21:07 +02:00
Matt A. Tobin 630e1e0829 Revert "Only state the stop notification for JSDownloads in nsWebBrowserPersist::EndDownload"
This reverts commit aa28523a55.
2020-04-14 13:20:54 +02:00
wolfbeast 336503aa50 Issue mcp-graveyard/UXP#1280 - Un-bust certerror pages and ForgetAboutSite 2020-04-14 13:20:35 +02:00
wolfbeast ffb55b38fa Issue mcp-graveyard/UXP#1280 - Stop requesting HPKP state from within devtools. 2020-04-14 13:20:22 +02:00
wolfbeast dd5230455d Issue mcp-graveyard/UXP#1280 - Part 2: Remove HPKP tests. 2020-04-14 13:19:54 +02:00
wolfbeast 59fcded664 Issue mcp-graveyard/UXP#1280 - Part 1: Remove HPKP components.
This also removes leftover plumbing for storing preload information
in SiteSecurityService since no service still uses it.
2020-04-14 13:19:41 +02:00
JustOff f0968c6271 Issue mcp-graveyard/UXP#1473 - Fix building %OS_SLICE% on non-Windows platforms 2020-04-14 13:19:20 +02:00
JMadgwick a9af7be9f6 Issue mcp-graveyard/UXP#1471 - Fix building on sparc64 Linux
Correct various pre-processor defines for sparc64 and in mozjemalloc use the JS arm64 allocator on Linux/sparc64.
This corrects build problems opn Linux sparc64 and is in line with bugzilla bug #1275204.
2020-04-14 13:18:48 +02:00
New Tobin Paradigm ac653f87a1 Update README.md 2020-04-14 13:18:16 +02:00
wolfbeast 729a4e0072 Issue mcp-graveyard/UXP#1497 Revert "Check if there are any unpreprocessed files"
This reverts PR #429
2020-04-14 13:18:02 +02:00
wolfbeast 3948adc717 Issue mcp-graveyard/UXP#1497 Revert "MoonchildProductions#1251 - Part 19"
"Make the unpreprocessed file script work on Solaris."

This reverts commit e51afbcc2f.
2020-04-14 13:17:47 +02:00
Matt A. Tobin bf080b4717 Teach config.guess to know if we want to build 32 or 64 bit builds on Windows 2020-04-14 13:17:20 +02:00
Matt A. Tobin bc7c3cda55 Issue mcp-graveyard/UXP#1499 - Re-import ExtensionStorage.jsm 2020-04-14 13:16:54 +02:00
wolfbeast e96f6a3a67 Issue mcp-graveyard/UXP#1498 - Part 6: Remove STS preloadlist pref. 2020-04-14 13:16:38 +02:00
wolfbeast c833c036bd Issue mcp-graveyard/UXP#1498 - Part 5: Update SSService CID and correct mismatch. 2020-04-14 13:16:24 +02:00
wolfbeast 0ead4b5ee8 Issue mcp-graveyard/UXP#1498 - Part 4: Remove clearPreloads.
Also tag #1280
2020-04-14 13:16:11 +02:00
wolfbeast 8ffc458a45 Issue mcp-graveyard/UXP#1498 - Part 3: Remove support for storing "knockout" values. 2020-04-14 13:15:58 +02:00
wolfbeast 8376c742af Issue mcp-graveyard/UXP#1498 - Part 2: Stop persisting preload states.
Since we don't use preloading anymore for either HPKP or HSTS, we no
longer need persistent storage in the profile for preload states.
Tag mcp-graveyard/UXP#1280 also
2020-04-14 13:14:43 +02:00
wolfbeast 17d2a46413 Issue mcp-graveyard/UXP#1498 - Part 1: Stop using HSTS preload lists. 2020-04-14 13:14:03 +02:00
Matt A. Tobin 6c4b95d146 Take nsSiteSecurityService out of UNIFIED_SOURCES
It exceeded the obj file sections limit because of the HSTS preload list so it cannot be built in UNIFIED mode.
2020-04-14 13:13:44 +02:00
wolfbeast 4e1723eca2 Issue mcp-graveyard/UXP#447 - Update HSTS preload list 2020-04-14 13:13:06 +02:00
Brian Smith b1dad17283 Issue mcp-graveyard/UXP#1491 - Part 2: Disable a workaround on macOS 10.14+ for an Apple bug described in Mozilla bug 378645 involving popup windows that was fixed by Apple. 2020-04-14 13:12:48 +02:00
Brian Smith a00e3014c5 Issue mcp-graveyard/UXP#1491 - Part 1: Update nsCocoaFeatures for newer versions of MacOS X. 2020-04-14 13:12:25 +02:00
wolfbeast 78fcda513c Issue mcp-graveyard/UXP#1467 - Part 4: Rename NSS_SQLSTORE to MOZ_SECURITY_SQLSTORE.
Rename the build config option accordingly.
2020-04-14 13:12:08 +02:00
wolfbeast 381dde97c3 Issue mcp-graveyard/UXP#1467 - Part 3: Use UTF-8 file paths for NSS-SQL database. 2020-04-14 13:11:51 +02:00
wolfbeast 82cc1b6a54 Issue mcp-graveyard/UXP#1467 - Part 2: Make the PBKDF rounds adaptive to choice of NSS db 2020-04-14 13:11:37 +02:00
wolfbeast b3dea0ee01 Issue mcp-graveyard/UXP#1467 - Part 1b: Fix type and make moz.configure happy. 2020-04-14 13:11:22 +02:00
wolfbeast f67c9beee6 Issue mcp-graveyard/UXP#1467 - Part 1: Set up conditional NSS-SQL builds.
- Adds buildconfig option --enable-nss-sqlstore
- Prefixes NSS dbinit with either sql: or dbm: depending on config
- Pre-initializes mozStorage when NSS-SQL storage is used to prevent
  an sqlite3_config race in NSS Init
2020-04-14 13:11:05 +02:00
wolfbeast 05908b7826 [devtools] Properly escape method arguments for curl. 2020-04-14 13:10:45 +02:00
wolfbeast e7691da05f [DOM] Make sure to exit fullscreen mode if popups are opened or focused. 2020-04-14 13:10:23 +02:00
wolfbeast 49fda578c7 [js] Remove pointless MakeMRegExpHoistable optimization.
It's a lot of code with no measurable effect.
2020-04-14 13:10:09 +02:00
wolfbeast 715ed571bc [network] Cherry-pick various sctp lib upstream fixes. 2020-04-14 13:09:51 +02:00
wolfbeast f45995d8cf Issue mcp-graveyard/UXP#1355 - Make addition of cell border display items depend on
whether they should be drawn.

This reduces the size of display lists for tables by only adding display
list items that are actually going to be visibly drawn, which will help
overall performance of table drawing.
2020-04-14 13:06:54 +02:00
JustOff fdb0f5e81a Issue mcp-graveyard/UXP#1482 - Give dynamic SSUAO rules priority over static ones 2020-04-14 13:06:30 +02:00
wolfbeast 3c0bc927c1 Issue mcp-graveyard/UXP#1485 - Fix incorrect grid cell sizing to min/max space.
There were actually two separate logical errors in this method:

The first part is that "origSizes.isSome()" is simply a bogus
requirement for applying min/max-sizes here. I'm still keeping
the optimization of not needlessly copying the mSizes array
(as originally intended) since it's a quite common case.

The second bug is that min/max-sizes were only applied under
the "if (fr != 0.0f)" block. This is bogus since the calculated
'fr' value depends on 'aAvailableSize' which might change by
applying min/max-sizes and thus 'fr' could become non-zero in
the second round.
To fix, this patch just moves "applyMinMax" block out one level.
2020-04-14 13:06:11 +02:00
Matt A. Tobin 3212f822d4 Issue mcp-graveyard/UXP#1477 - Fix finding config.guess on builds not using MOZ_OBJDIR
* So far this seems to only affect Macintosh builds but other unix builds may be affected. Windows doesn't seem to be.
* This maintains consistency with other one-off file invocations and backwards compatibility with older comm setups
2020-04-14 13:05:58 +02:00
wolfbeast d93aa21876 Issue mcp-graveyard/UXP#1480 - Skip abspos, fixed, float and placeholders for outline. 2020-04-14 13:05:43 +02:00
JustOff 782aca4eac Issue mcp-graveyard/UXP#1053 - Remove no longer used function and modules from UserAgentUpdates.jsm 2020-04-14 13:05:25 +02:00
JustOff 6f0bbe4b54 Issue mcp-graveyard/UXP#1473 - Add %OS_SLICE% macro to SSUAO to refine OS info 2020-04-14 13:05:07 +02:00
wolfbeast ae3dacc874 Minor update to UXP coding style guideline. 2020-04-14 13:04:46 +02:00
New Tobin Paradigm f1bec5430a Update README.md 2020-04-14 13:04:19 +02:00
wolfbeast 35e5f0c78f Issue mcp-graveyard/UXP#1474 - Prevent the cp detection from starting if preffed off.
When setting up connectivity, e.g. with new network detection, the pref
wouldn't be checked (or honored), resulting in spurious startup calls
despite being preffed off. This fixes that.

Resolves #1474
2020-04-14 13:04:05 +02:00
wolfbeast 289a39876b Update UXP coding style guide JS guide. 2020-04-14 13:03:47 +02:00
wolfbeast 740c84ae9e Update UXP coding style guide JS guide. 2020-04-14 13:03:34 +02:00
Matt A. Tobin 00ca271746 Issue mcp-graveyard/UXP#1470 - Part 3: Remove now unused update.locale
This requires changes to package-manifest in all applications
2020-04-14 13:03:21 +02:00
Matt A. Tobin a2f0f3027a Issue mcp-graveyard/UXP#1470 - Part 2: Change calls from UpdateUtils.getUpdateChannel() to UpdateUtils.UpdateChannel in telemetry modules 2020-04-14 13:03:07 +02:00
Matt A. Tobin c095a225a2 Issue mcp-graveyard/UXP#1470 - Part 1: Refactor UpdateUtils.jsm 2020-04-14 13:02:53 +02:00
wolfbeast de56cc9c2b Update UXP coding style guide with JS guide. 2020-04-14 13:02:39 +02:00
New Tobin Paradigm 1601bd30f0 Remove exposed bug from UpdateUtils.jsm 2020-04-14 13:02:22 +02:00
Matt A. Tobin 9077a8eaa9 Issue mcp-graveyard/UXP#1053 - Remove android-only skia-npapi 2020-04-14 13:01:51 +02:00
Matt A. Tobin e38edf7aaf Issue mcp-graveyard/UXP#1053 - Remove android support from nsNSSComponent.cpp 2020-04-14 13:01:34 +02:00
Matt A. Tobin 2b4bc500db Issue mcp-graveyard/UXP#251 - Move --disable-dbm to ac configure
Also Tag mcp-graveyard/UXP#1467
2020-04-14 13:01:21 +02:00
Matt A. Tobin f3039f1cfe Remove unused mailnews.mozbuild 2020-04-14 13:01:07 +02:00
Matt A. Tobin 30dbbc985d Mork is not dependent on dbm and never was. 2020-04-14 13:00:55 +02:00
Matt A. Tobin e70e0fcfd1 Correct typo in mailnews/base/src/moz.build 2020-04-14 13:00:41 +02:00
Matt A. Tobin aa85cd91f4 Issue mcp-graveyard/UXP#1319 - Remove EARLY_BETA_OR_EARLIER condition 2020-04-14 13:00:26 +02:00
wolfbeast 43a49f17a9 Issue mcp-graveyard/UXP#1465 - Implement optional catch binding. 2020-04-14 13:00:11 +02:00
wolfbeast b05ea6ec70 Revert "Issue mcp-graveyard/UXP#1355 - Better way to create display items for column backgrounds"
This reverts commit 44c47c5038.
2020-04-14 12:59:57 +02:00
wolfbeast ba47c9112d Revert "Layout\reftests\table-background\reftest.list should have only additions to the end of it."
This reverts commit efdc2af8ab.
2020-04-14 12:59:43 +02:00
wolfbeast e04355c28a [DOM] Add a null check 2020-04-14 12:59:26 +02:00
Matt A. Tobin 3a74e48f20 No Issue - Always build marionette until it can be tracked down and killed 2020-04-14 12:58:54 +02:00
win7-7 4d1d56c4e2 Layout\reftests\table-background\reftest.list should have only additions to the end of it.
Layout\reftests\table-background\reftest.list should have only additions to the end of it. Revert incorrect additions.
2020-04-14 12:58:33 +02:00
win7-7 a1f7842547 Issue mcp-graveyard/UXP#1355 - Better way to create display items for column backgrounds
Part 1: Remove current table item, as it's never set.

Part 2: Get rid of generic table painting code, and handle each class separately.

Part 4: Hoist outline skipping into col(group) frame code.

Part 5: Skip box-shadow for table column and column groups.

Part 6: Store column and column group backgrounds separately, and then append them before the rest of the table contents.

Part 7: Pass rects in display list coordinates to AppendBackgroundItemsToTop.

Part 8: Create column and column group background display items as part of the cell's BuildDisplayList.

Part 9: Used cached values instead of calling nsDisplayListBuilder::ToReferenceFrame when possible, since it can be expensive when the requested frame isn't the builder's current frame.

Part 10: Make sure we build display items for table parts where only the normal position is visible, since we may need to create background items for ancestors at that position.

Part 11: Create an AutoBuildingDisplayList when we create background items for table columns and column groups, so that we initialize the invalidation state correctly.
2020-04-14 12:58:11 +02:00
Matt A. Tobin e7362c6ecb Issue mcp-graveyard/UXP#1053 - Remove android preprocessor directive from toolkit/locales/jar.mn 2020-04-14 12:57:54 +02:00
wolfbeast d3b1e899f1 Revert #1091 Remove unboxed object code phase 1 + extras.
This should be the last code backout for this. merging this branch
should get us back to the way we were (+ additional code changes for
later changes) as fasr as the unused unboxed code is concerned.
2020-04-14 12:57:32 +02:00
wolfbeast 9e6d840e52 Revert #1137 - Remove unboxed arrays
- accounting for removal of watch()/unwatch()
- updated for intermediate code changes.
2020-04-14 12:57:13 +02:00
wolfbeast 571cd1255e Revert "Issue mcp-graveyard/UXP#1382 - Remove invalid assertion."
This reverts commit 9c6a8450b3.
2020-04-14 12:56:56 +02:00
wolfbeast 77f5116867 Revert #1142 - Remove unboxed objects
- accounting for removal of watch()/unwatch()
2020-04-14 12:56:40 +02:00
Matt A. Tobin 1db9512aab Issue mcp-graveyard/UXP#1053 - Remove android support from toolkit
Note: Does not remove support completely from toolkit/mozapps/installer or from telemetry or AppConstants.jsm
2020-04-14 12:56:02 +02:00
Matt A. Tobin 7317feb057 Bug 1339444 - Remove unused resource://gre/modules/sqlite/sqlite_internal.js 2020-04-14 12:55:48 +02:00
Matt A. Tobin 9187b59661 Issue mcp-graveyard/UXP#439 - Remove tests from toolkit/ 2020-04-14 12:55:19 +02:00
Matt A. Tobin e4a0e24286 Issue mcp-graveyard/UXP#1053 - Remove android support from db 2020-04-14 12:55:00 +02:00
Matt A. Tobin 1c4c9c5fd5 Issue mcp-graveyard/UXP#1053 - Remove android support from docshell 2020-04-14 12:54:47 +02:00
Matt A. Tobin 89606580a5 Issue mcp-graveyard/UXP#1053 - Remove android support from hal 2020-04-14 12:54:30 +02:00
Matt A. Tobin a03eb57f22 Issue mcp-graveyard/UXP#1053 - Remove android support from image 2020-04-14 12:54:15 +02:00
Matt A. Tobin 9d93ceeef7 Issue mcp-graveyard/UXP#1053 - Remove android support from intl/locale/nsLocaleService.cpp
This is the only non-icu file with android code in it. Not going to remove android in icu its self because it remains a 3rd party lib.
2020-04-14 12:54:01 +02:00
Matt A. Tobin 7cf5b925a7 Follow-up to 4e2e9be6a - Move HeapSnapshot DevTools-only Modules back to DevTools
I am so done with this.

Resolves #316
2020-04-14 12:53:46 +02:00
Matt A. Tobin b6e4977338 Issue mcp-graveyard/UXP#1053 - Remove android support from memory 2020-04-14 12:53:27 +02:00
Matt A. Tobin 8d9314cfe1 Issue mcp-graveyard/UXP#1053 - Remove android support from mfbt 2020-04-14 12:53:13 +02:00
Matt A. Tobin 21f01b741c Issue mcp-graveyard/UXP#1053 - Remove android support from ipc except for ipc/chromium
This does not include android in the imported chromium code as specific research needs done on defines and logic.
2020-04-14 12:52:59 +02:00
Matt A. Tobin e4ed3e7f80 Issue mcp-graveyard/UXP#1053 - Remove android support from mozglue
Yes, I checked for unsaved files this time...
2020-04-14 12:52:45 +02:00
Matt A. Tobin dd3cd2c0d1 Issue mcp-graveyard/UXP#1053 - Remove android support from netwerk/protocol/http/nsHttpHandler.cpp 2020-04-14 12:52:32 +02:00
Matt A. Tobin 9bdccfaf15 Issue mcp-graveyard/UXP#1053 - Remove android support from netwerk 2020-04-14 12:52:18 +02:00
Matt A. Tobin 9f1bf8e00f Issue mcp-graveyard/UXP#1053 - Remove android support from storage/mozStorageConnection.cpp 2020-04-14 12:52:05 +02:00
Matt A. Tobin a8fc51b410 Issue mcp-graveyard/UXP#1053 - Remove android support from uriloader 2020-04-14 12:51:52 +02:00
Matt A. Tobin 792abc0a95 Issue mcp-graveyard/UXP#1053 - Remove android support from xpcom/threads/nsThread.cpp
Forgot to save..
2020-04-14 12:51:38 +02:00
Matt A. Tobin 6088deafff Issue mcp-graveyard/UXP#1053 - Remove android support from XPCOM 2020-04-14 12:51:25 +02:00
Matt A. Tobin 763ce433a5 Remove redundant moz.build from db/ 2020-04-14 12:51:11 +02:00
Matt A. Tobin 19a48c4cc6 Reclassify heapsnapshot and nsJSInspector as not part of devtools
This resolves Issue mcp-graveyard/UXP#316
2020-04-14 12:50:57 +02:00
wolfbeast 53ec117c51 Set module default identification properly. 2020-04-14 12:50:42 +02:00
wolfbeast 33b7d1804b Remove gtest reference to non-existing path of removed component 2020-04-14 12:50:25 +02:00
wolfbeast eec4e0c7d3 [gfx] Put Skia-specific CTOR init behind Skia-conditional. 2020-04-14 12:50:12 +02:00
wolfbeast 25838c0d9e Issue mcp-graveyard/UXP#316 - Make sure MOZ_DEVTOOLS_SERVER is passed down to js. 2020-04-14 12:49:36 +02:00
Matt A. Tobin f382c4c1cb Issue mcp-graveyard/UXP#1053 - Remove android support from NPAPI 2020-04-14 12:49:22 +02:00
Matt A. Tobin 6b93e1ce89 Issue mcp-graveyard/UXP#1053 - Remove conditional android code from widget/ 2020-04-14 12:49:08 +02:00
Matt A. Tobin 9635477abf Issue mcp-graveyard/UXP#1053 - Remove Android Widget Toolkit specific files 2020-04-14 12:48:53 +02:00
Matt A. Tobin 8121e88866 Issue mcp-graveyard/UXP#439 - Remove tests from widget/ 2020-04-14 12:48:40 +02:00
wolfbeast 4f6a5c0c03 Issue mcp-graveyard/UXP#316 - Be more gentle with the CC and nursery. 2020-04-14 12:48:23 +02:00
wolfbeast 77fde68a43 Issue mcp-graveyard/UXP#316 - Pre-process Performance.webidl 2020-04-14 12:48:09 +02:00
wolfbeast 2359eedc5c Issue mcp-graveyard/UXP#316 - Make the memory GC performance object conditional (WIP)
This was only added for GCubench and likely interfering with building
without devtools-server.
2020-04-14 12:47:56 +02:00
Matt A. Tobin e43d8a783b Issue mcp-graveyard/UXP#1457 - Unfold sqlite3 from nss 2020-04-14 12:47:38 +02:00
wolfbeast 8d91bb77ec Issue mcp-graveyard/UXP#1383 - Remove "Copy raw data to clipboard" button
This resolves #1383
2020-04-14 12:47:23 +02:00
JustOff e1264e92af Issue mcp-graveyard/UXP#1445 - Add a link to details on using Firefox extensions in Pale Moon 2020-04-14 12:47:05 +02:00
Matt A. Tobin 481292a5fd Issue mcp-graveyard/UXP#1454 - Add MOZ_PKG_SPECIAL to UpdateUtils 2020-04-14 12:46:46 +02:00
JustOff 2284842f3b Issue mcp-graveyard/UXP#1445 - strings cleanup 2020-04-14 12:46:29 +02:00
wolfbeast 9adc48c736 Issue mcp-graveyard/UXP#1445 - remove redundant nativeIndicator
This resolves #1445
2020-04-14 12:46:14 +02:00
Matt A. Tobin ef6d57c614 Issue mcp-graveyard/UXP#1320 - Stop appending cpu arch to the end of %BUILD_TARGET% on Windows in UpdateUtils.jsm 2020-04-14 12:45:59 +02:00
wolfbeast 365222c2cb Issue mcp-graveyard/UXP#1445 - Use the detailed string also in the list entries. 2020-04-14 12:45:44 +02:00
wolfbeast 5cf51c9291 Issue mcp-graveyard/UXP#1446 - Only match extension add-on types for target applications.
This resolves #1446
2020-04-14 12:45:31 +02:00
win7-7 e46e3718ff Issue mcp-graveyard/UXP#1355 - Make nsTableCellFrame::GetColIndex/GetRowIndex faster
We can devirtualize it, remove some branches.
2020-04-14 12:45:15 +02:00
wolfbeast 9f72bf392b Issue mcp-graveyard/UXP#1446 - Only allow extension add-on types for Firefox compat mode. 2020-04-14 12:44:56 +02:00
wolfbeast 78905df0eb Issue mcp-graveyard/UXP#1445 - Clarify the status of extensions in the Add-On manager
This resolves #1445.
2020-04-14 12:44:41 +02:00
wolfbeast 3c78e3d9a9 [CSS] Only emit non-GC chrome wrapped XUL box warnings in debug builds. 2020-04-14 12:44:16 +02:00
wolfbeast 9e4bac6af6 Issue mcp-graveyard/UXP#1441 - Guard appomni/greomni with UXP_CUSTOM_OMNI env var.
This adds an addition to the environment set up for child processes
(plugin container) so that it may still be able to pass the omni
parameters there as-needed.
2020-04-14 12:44:02 +02:00
wolfbeast 75eef2b43b Revert "Issue mcp-graveyard/UXP#1441 - Guard appomni/greomni with UXP_CUSTOM_OMNI env var."
This reverts commit 2bdbca39b2.
2020-04-14 12:43:49 +02:00
Simon Giesecke 69d05a62f6 [IndexedDB] Ensure that strong references to newly created cursors are
kept until the DOM Binding is created.

This fixes random crashes on websites that use IndexedDB cursors.
See also BZ bug 1599420
2020-04-14 12:43:34 +02:00
Henri Sivonen ab92c7c0b7 [Parser] Move setting context to null to the correct location. 2020-04-14 12:43:22 +02:00
wolfbeast 5321471e3e Issue mcp-graveyard/UXP#1441 - Guard appomni/greomni with UXP_CUSTOM_OMNI env var. 2020-04-14 12:43:06 +02:00
sotaro c70481ff5f [Layers] Clear WrappingTextureSourceYCbCrBasic::mTexture correctly 2020-04-14 12:42:53 +02:00
wolfbeast 0f2e1064c9 [Network] Bump http channel default Firefox CompatMode init value. 2020-04-14 12:42:38 +02:00
wolfbeast 9cad5e40a0 Fix a whitespace issue in nsComputedDOMStyle.cpp 2020-04-14 12:42:23 +02:00
wolfbeast fce50e0916 [CSS] Add stub for font-variation-settings
This stub is added because websites insist on considering this
very hardware-dependent and O.S.-variable low-level font-control
as a "critical feature" which it isn't as there is 0 guarantee
that font variation settings are supported or honored by any
operating system used by the client.

On top this is a WD status feature that sites shouldn't be using, and
the feature itself is strongly discouraged for use in favor of standard
CSS font manipulation keywords like `font-weight`.
2020-04-14 12:42:10 +02:00
wolfbeast 9bb8802379 [CSP] Allow not having a Port for RessourceURI if the Scheme has no
Default Port
2020-04-14 12:41:57 +02:00
Matt A. Tobin 596493b81c Issue mcp-graveyard/UXP#65 - Correct nsHelperAppDlg.js for bad preprocessing conversion 2020-04-14 12:41:44 +02:00
Matt A. Tobin 744ba88563 Issue mcp-graveyard/UXP#80 - Stop building non-generated dom/binding files as UNIFIED_SOURCES
Also fix deprot
2020-04-14 12:41:31 +02:00
Matt A. Tobin 2e82adb868 Directly assign PrimitiveConversions.h to the generated binding of KeyframeAnimationOptions.
This is a hack to deal UnifiedBindings trying to deal with an incomplete codegen implementation so it was worked around with a hack back in Firefox 30-something. If we have anymore of this non-sense crop up as stuff is added or removed from DOM then extend this conditional.

Least until something better comes along.
2020-04-14 12:41:12 +02:00
win7-7 03bcda0023 Issue mcp-graveyard/UXP#1355 - Do less work for columns not in the desired set in PaintRowGroupBackgroundByColIdx
Do less work in PaintRowGroupBackgroundByColIdx for cells that are not in our desired set of columns.

crash fix:

Guard against empty column groups when building a display list for a table.
2020-04-14 12:40:47 +02:00
Matt A. Tobin 81744fef65 Issue mcp-graveyard/UXP#65 - Don't split in the middle of assignment statements in createProfileWizard.js 2020-04-14 12:40:06 +02:00
Matt A. Tobin 610771d3e9 Issue mcp-graveyard/UXP#65 - Correct fallthough case in profileSelection.js 2020-04-14 12:39:51 +02:00
Matt A. Tobin 062b46de3d Issue mcp-graveyard/UXP#65 - Remove AppConstants from toolkit/components/passwordmgr 2020-04-14 12:39:35 +02:00
Matt A. Tobin dfc0ce6139 Issue mcp-graveyard/UXP#65 - Remove AppConstants from toolkit/components/alerts 2020-04-14 12:39:21 +02:00
Matt A. Tobin fa180d417d Issue mcp-graveyard/UXP#65 - Remove AppConstants from toolkit/components/places 2020-04-14 12:39:08 +02:00
Matt A. Tobin 248199fb86 Issue mcp-graveyard/UXP#65 - Remove AppConstants from toolkit/components/apppicker 2020-04-14 12:38:54 +02:00
Matt A. Tobin 429ea89f55 Issue mcp-graveyard/UXP#65 - Remove AppConstants from toolkit/components/thumbnails 2020-04-14 12:38:41 +02:00
Matt A. Tobin 4ac2ebeccd Issue mcp-graveyard/UXP#65 - Remove AppConstants from toolkit/components/printing 2020-04-14 12:38:27 +02:00
Matt A. Tobin a3e805333f Issue mcp-graveyard/UXP#65 - Remove AppConstants from toolkit/components/satchel 2020-04-14 12:38:14 +02:00
Matt A. Tobin 954219a3cc Issue mcp-graveyard/UXP#65 - Remove AppConstants from toolkit/components/jsdownloads 2020-04-14 12:37:58 +02:00
Matt A. Tobin 08ed1ba89c Issue mcp-graveyard/UXP#65 - Remove AppConstants from toolkit/mozapps/downloads 2020-04-14 12:37:44 +02:00
Matt A. Tobin 62ae5c05ca Issue mcp-graveyard/UXP#65 - Remove AppConstants from toolkit/mozapps/extensions 2020-04-14 12:37:29 +02:00
Matt A. Tobin 225dafe7f1 Issue mcp-graveyard/UXP#65 - Remove AppConstants from toolkit/mozapps/update 2020-04-14 12:37:16 +02:00
Matt A. Tobin 06e9c10584 Issue mcp-graveyard/UXP#65 - Remove AppConstants from toolkit/profile 2020-04-14 12:37:02 +02:00
win7-7 2aa73cf65b fix whitespace
fix whitespace.
2020-04-14 12:36:29 +02:00
win7-7 4bc947ab24 Issue mcp-graveyard/UXP#1386 - Devirtualize GetRowSpan/GetColSpan
It's at ~1.5% on the perf log for the Netflix use case, which seems a bit too much.
2020-04-14 12:36:12 +02:00
Matt A. Tobin 11f9fed2f7 Issue mcp-graveyard/UXP#1395 - Part 2: Remove the rest of FlyWeb 2020-04-14 12:35:06 +02:00
Matt A. Tobin 2e6248d970 Issue mcp-graveyard/UXP#1395 - Remove FlyWeb Service 2020-04-14 12:31:31 +02:00
Matt A. Tobin f6332217e7 Issue mcp-graveyard/UXP#1390 - Get rid of the Presentation API 2020-04-14 12:31:16 +02:00
Matt A. Tobin a65b37e083 Issue mcp-graveyard/UXP#1390 - Remove secondscreen modules from toolkit 2020-04-14 12:31:03 +02:00
wolfbeast bacbab79b0 [AM] Remove shared theme leftovers for webextensions 2020-04-14 12:30:49 +02:00
Matt A. Tobin 40c09d85ae Issue mcp-graveyard/UXP#1392 - Change --enable-eme to MOZ_ARG_ENABLE_BOOL and remove MOZ_EME_MODULES 2020-04-14 12:30:34 +02:00
Moonchild 0cd0006f68 Update UXP Coding Style.md
Be more explicit about paranthesis spacing
2020-04-14 12:30:16 +02:00
Moonchild f844a4b6eb Update UXP Coding Style.md
Minor typo
2020-04-14 12:30:03 +02:00
wolfbeast 7f36f47668 Issue mcp-graveyard/UXP#26 - Part 2c: Remove dependence on gmp/widevine-adapter/* 2020-04-14 12:29:44 +02:00
wolfbeast d60736cb84 Issue mcp-graveyard/UXP#26 - Part 2b: Stub out GMPDecryptorProxy functions.
If EME isn't built, these functions would have no use and the callback
structures are unavailable. Stubbing these out will still allow the
callers to work unchanged, but in effect simply always return without
dispatching a promised task.
This fixes the dependency issue from part 2a.
2020-04-14 12:29:29 +02:00
wolfbeast 9611c24450 Issue mcp-graveyard/UXP#26 Part 2a: make more EME code conditional.
- Exclude missed MediaKey functions and CDMProxy code.
- Exclude EME APIs frm being built (webidl change)
- Fix tests in --disable-eme state
2020-04-14 12:29:16 +02:00
wolfbeast 24e237516a [Installer] Updated the 7-zip stub binary to make sure it doesn't hang
on older versions of Windows but instead provides a usable error message
2020-04-14 12:28:34 +02:00
win7-7 475a12cb38 Issue mcp-graveyard/UXP#1384 - Match standard for colSpan/rowSpan
HTML standardizes proper behavior of colSpan and rowSpan:

The main thing is that getting the .rowSpan and .colSpan IDL properties will now return the actual clamped value that we use.
2020-04-14 12:28:14 +02:00
wolfbeast a7aa3e2e1f Issue mcp-graveyard/UXP#1382 - Remove invalid assertion.
There is flexibility in exactly the value the initialized length must
hold, i.e. if an array is completely empty, it is valid for the
initialized length to be any value between zero and the length of the
array, as long as the in-memory values below the initialized length have
been initialized with a hole value.
In the case of 0, the array is packed and the move operation would be a
nop, so simply convert the assert to a condition to save some cycles.
2020-04-14 12:28:00 +02:00
win7-7 b505fcc088 Issue mcp-graveyard/UXP#1355 - Hit testing in large tables has become extremely slow
Add dirty rect intersection checks so that we don't build unnecessary table part display items.
2020-04-14 12:27:45 +02:00
wolfbeast 2aa7f9100a Revert "Issue mcp-graveyard/UXP#1355 - Hit testing in large tables has become extremely slow"
This reverts commit f7b2f0a665.
2020-04-14 12:27:31 +02:00
win7-7 a4439509d1 Issue mcp-graveyard/UXP#1355 - Hit testing in large tables has become extremely slow
Add dirty rect intersection checks so that we don't build unnecessary table part display items.
2020-04-14 12:27:14 +02:00
New Tobin Paradigm 2ff0a0bf81 Fix preprocessor directive in UserAgentUpdates.jsm 2020-04-14 12:26:58 +02:00
wolfbeast abcc1a2c75 Issue mcp-graveyard/UXP#1378 - Follow-up: make sure background items remain table-aligned. 2020-04-14 12:26:44 +02:00
Matt A. Tobin d563ae3f9f Issue mcp-graveyard/UXP#65 - Remove AppConstants from toolkit/modules
Except for secondscreen
2020-04-14 12:26:25 +02:00
Matt A. Tobin e522860d89 Issue mcp-graveyard/UXP#65 - Remove AppConstants from toolkit/content 2020-04-14 12:26:11 +02:00
Matt A. Tobin 8a3a4202b0 Issue mcp-graveyard/UXP#65 - Remove AppConstants from netwerk/ 2020-04-14 12:25:58 +02:00
Matt A. Tobin 60c8ed1c06 Issue mcp-graveyard/UXP#65 - Remove AppConstants from mailnews/ 2020-04-14 12:25:45 +02:00
Matt A. Tobin 858ddb822b Issue mcp-graveyard/UXP#65 - Remove AppConstants from dom/ 2020-04-14 12:25:32 +02:00
wolfbeast 4748cbe2e1 Issue mcp-graveyard/UXP#1378 - Align the drawing of table cell backgrounds with the spec. 2020-04-14 12:22:44 +02:00
Matt A. Tobin 27d1aa25f6 Issue mcp-graveyard/UXP#1377 - Fix porting typo in mailnews/base/search/content/searchWidgets.xml
MailNews Core being historically comm tended to avoid defining shorthand for Components.interfaces
2020-04-14 12:21:51 +02:00
wolfbeast b5adbb35b1 Issue mcp-graveyard/UXP#447 - Update HSTS preload list & reduce debug spew
Commented out spewing dump() statements in loops. With the ever growing
HSTS list it takes too much time and is pointless to display.
2020-04-14 12:21:27 +02:00
wolfbeast 866e82404f Issue mcp-graveyard/UXP#1342 - Remove support for system libvpx 2020-04-14 12:21:10 +02:00
wolfbeast 96e054a2f5 Issue mcp-graveyard/UXP#1342 - Remove support for system sqlite 2020-04-14 12:20:23 +02:00
wolfbeast d5123c369e Issue mcp-graveyard/UXP#1342 - Update old.configure for removed build options 2020-04-14 12:20:08 +02:00
wolfbeast f0fc753362 Issue mcp-graveyard/UXP#1342 - Remove support for system linbpng 2020-04-14 12:19:55 +02:00
win7-7 18de75d3a2 Issue mcp-graveyard/UXP#1355 - Speed up the traversal of a table row frame's child cells
Speed up getting the first cellframe in a row and the next cellframe after the given one
2020-04-14 12:19:39 +02:00
wolfbeast 90381fcabf Issue mcp-graveyard/UXP#1342 - Remove support for system NSPR/NSS 2020-04-14 12:18:35 +02:00
wolfbeast 4194e8405f Issue mcp-graveyard/UXP#1342 - Remove support for system ICU 2020-04-14 12:18:21 +02:00
wolfbeast 54cd0e34d2 [WebRequest] Remove AddonManagerPermissions leftovers
This was added as part of the WebExtension sec issue CVE-2017-5389.
Since we no longer have this interface, it needed to be removed to
prevent errors in the WebRequest channel callback.
2020-04-14 12:17:58 +02:00
athenian200 ec7ad7f9c7 Issue mcp-graveyard/UXP#1356 - Add tests.
Forgot to include these before.
2020-04-14 12:17:34 +02:00
athenian200 dad6b0592c Issue mcp-graveyard/UXP#1356 - Restore older syntax.
Some newer Firefox syntax snuck into my last bug. Just to be on the safe side I'm restoring the older syntax here.
2020-04-14 12:16:48 +02:00
athenian200 8c84f44ada Issue mcp-graveyard/UXP#1356 - Remove -moz-user-input disabled to improve event handling. 2020-04-14 12:16:31 +02:00
wolfbeast bdaa2cd1ad Issue mcp-graveyard/UXP#1360 - Enable acceleration by default on all known-good platforms. 2020-04-14 12:15:53 +02:00
wolfbeast 74d3e1fc29 Issue mcp-graveyard/UXP#1360 - Part 2: Update tests for changed preferences. 2020-04-14 12:14:27 +02:00
wolfbeast fd9e3cd86d Issue mcp-graveyard/UXP#1360 - Part 1: Simplify layers acceleration prefs.
This gets rid of platform-dependent hard-coded defaults, but keeps
build-time blocking if there is no GL provider (in which case layers
acceleration almost certainly won't work because it needs a GL
compositor and would likely crash without)

New prefs are
- layers.acceleration.enabled to enable HWA
- layers.acceleration.force to force it enabled (requires .enabled to be
  set as well)

This is the platform part of this issue. The rest will be front-end work
(Preference UI integration and pref migration)
2020-04-14 12:14:11 +02:00
wolfbeast 21e0b691bf Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2020-04-13 12:57:49 +02:00
wolfbeast 37cc59702d Issue mcp-graveyard/UXP#1514 - Perform validity check before trying to use the content.
Resolves #1514
2020-04-13 12:57:07 +02:00
wolfbeast a03a607361 Issue mcp-graveyard/UXP#1513 - Bail on orphan node
This was refactored by Mozilla into doing effectively the same thing so
it aligns with them re: behavior.
Resolves #1513
2020-04-13 12:55:47 +02:00
Moonchild 6a2a1ae47a Create SECURITY.md
Provide basic instructions how to report security vulnerabilities.
2020-04-13 10:44:05 +02:00
wolfbeast b88738ab2d Issue mcp-graveyard/UXP#1512 - Improve handling of multiple selections.
IsSelectionEditable should check whether the focus node and anchor node
aren't null before trying to use them.
This also changes the initialization of selections' aOutIndex to the
last range in the selection as a fallback in case we don't add a range
later (in AddItem) which could also end up with a null selection
otherwise if the additional selection nodes are removed.
2020-04-12 12:52:18 +02:00
wolfbeast fc3377deb5 [layout] Always move descendants of layout frames if moved.
If we move the frame then we always need to move any descendant views,
not just in case the frame itself has a view.
2020-04-10 21:51:32 +02:00
wolfbeast af88f2acc4 Issue mcp-graveyard/UXP#1511 - Bail on orphan situation.
This resolves #1511
2020-04-10 21:48:39 +02:00
Jan de Mooij 2dbb389048 [js] Handle functions with rest parameters in isObservableArgumentSlot. 2020-04-08 08:29:03 +02:00
Matt A. Tobin ba28f87315 Move aom source to a sub-directory under media/libaom
There is no damned reason to treat this differently than any other media lib given its license and there never was.
2020-04-07 23:30:51 -04:00
Matt A. Tobin 419f939d8b Silence removing dist/bin 2020-04-07 22:49:02 -04:00
Matt A. Tobin aa5489cc4c Take files out of preprocessing that no longer require it 2020-04-07 22:41:34 -04:00
Matt A. Tobin c622e988fe Follow up to d0eee8f01 - Run precomplete cmd during package staging 2020-04-07 22:13:11 -04:00
Matt A. Tobin 9cfccdf548 Align mar generation on Windows with other platforms
This makes mar generation dependent on packaging not installer
2020-04-07 21:55:11 -04:00
Matt A. Tobin 15093ae514 Alter config.guess to properly detect host and target bitness on SunOS 2020-04-07 21:18:31 -04:00
wolfbeast eeb473a3f5 [Docshell] Ensure nsDocShell::mContentViewer is released properly. 2020-04-07 10:55:20 +02:00
wolfbeast 555910ccf7 Issue mcp-graveyard/UXP#1505 - Part 3: Make native mode actually native again. 2020-04-05 16:40:21 +02:00
wolfbeast b3f787761a Issue mcp-graveyard/UXP#1505 - Part 2: Store application build ID in nsHttpHandler
Since we're needing to reuse this several times, it makes it simpler to
just get it once in init and storing it.
2020-04-05 16:38:22 +02:00
wolfbeast cedded8ff6 Issue mcp-graveyard/UXP#1505 - Rebuild application version string
To respond dynamically to the pref change, the mAppVersion string needs
to be rebuilt.
Includes some minor improvements for corner cases and removes leftover
b2g junk.
2020-04-05 11:48:09 +02:00
New Tobin Paradigm 93a8e00fdd Issue mcp-graveyard/UXP#1497 - Re-implement an un-preprocessed file check 2020-04-04 18:10:10 -04:00
wolfbeast 14862a4ce9 Issue mcp-graveyard/UXP#1508 - Redirect moz://a to http://thereisonlyxul.org/ 2020-04-03 18:16:41 +02:00
wolfbeast 16b0b3f38b Issue mcp-graveyard/UXP#1507 - Remove nsRefreshDriver's use of high res system timers.
Since we are using vsync for timing anyway in the layout refresh driver,
there is no need to bump the system timer resolution down to 1 ms.

This resolves #1507.
2020-04-03 18:14:15 +02:00
Moonchild 378ed9073b Merge pull request #1504 from JustOff/PR_fix_WebRequest_jsm
Issue mcp-graveyard/UXP#65 - Fix unprocessed directives in WebRequest.jsm
2020-04-02 07:32:33 +02:00
JustOff 1a8c9cb555 Issue mcp-graveyard/UXP#65 - Fix unprocessed directives in WebRequest.jsm 2020-04-01 21:38:20 +03:00
Matt A. Tobin 01b8931320 Make the reference to Handle unambiguous in ipc/testshell/XPCShellEnvironment.cpp
.. correctly
2020-03-31 17:37:02 -04:00
Matt A. Tobin ee48debe62 Revert "Make the reference to Handle unambiguous in ipc/testshell/XPCShellEnvironment.cpp"
This reverts commit d4afddfada.
2020-03-31 17:31:31 -04:00
Matt A. Tobin 221e76e418 Make the reference to Handle unambiguous in ipc/testshell/XPCShellEnvironment.cpp 2020-03-31 17:28:12 -04:00
Matt A. Tobin 855d789781 Output webidl filenames as they are processed 2020-03-31 12:01:49 -04:00
Matt A. Tobin e62cd26e85 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2020-03-31 09:44:24 -04:00
Matt A. Tobin 1fd5dac2c1 Explicitly remove dist/bin before mozbuild's install_manifests get a hold of it 2020-03-31 09:44:18 -04:00
Moonchild 3dd91d2cd6 Merge pull request #1502 from athenian200/nss348_solaris
Un-bust building of NSS after update to 3.48 on Solaris.
2020-03-31 11:40:05 +02:00
wolfbeast 646be0484f Issue mcp-graveyard/UXP#1280 - Un-bust certerror pages and ForgetAboutSite 2020-03-31 09:44:30 +02:00
athenian200 2447c6858e Issue mcp-graveyard/UXP#1501 - Un-bust building of NSS after update to 3.48 on Solaris. 2020-03-30 22:54:29 -05:00
wolfbeast 64283a62fe Issue mcp-graveyard/UXP#1280 - Stop requesting HPKP state from within devtools. 2020-03-30 08:18:09 +02:00
Matt A. Tobin 26e67c14c3 Properly fix crash in nsDownloadManager when repeatedly pausing and resuming a download
This applies only to applications that do not use JSDownloads and is based on Bug 1224326
2020-03-29 05:07:36 -04:00
Matt A. Tobin cf9960cd0c Revert "Only state the stop notification for JSDownloads in nsWebBrowserPersist::EndDownload"
This reverts commit aa28523a55.
2020-03-29 05:07:26 -04:00
Moonchild 43e236ae95 Merge pull request #1500 from MoonchildProductions/1280
Remove HPKP
2020-03-29 10:26:15 +02:00
Moonchild c93c2d9a24 Merge pull request #1494 from JustOff/PR_osslice_non_windows
Fix building `%OS_SLICE%` on non-Windows platforms
2020-03-28 16:54:43 +01:00
Moonchild 3bd56b1ed0 Merge pull request #1472 from JMadgwick/master
Fix building on sparc64 Linux
2020-03-28 16:50:07 +01:00
Matt A. Tobin 06c2295a2b Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2020-03-28 10:48:10 -04:00
Matt A. Tobin 422c50a558 Teach config.guess to know if we want to build 32 or 64 bit builds on Windows 2020-03-28 10:48:04 -04:00
wolfbeast bcb25a89d8 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2020-03-28 14:45:11 +01:00
wolfbeast 1aa76f7252 Issue mcp-graveyard/UXP#1497 Revert "Check if there are any unpreprocessed files"
This reverts PR #429
2020-03-28 14:44:34 +01:00
wolfbeast 0f43c3bd3c Issue mcp-graveyard/UXP#1497 Revert "MoonchildProductions#1251 - Part 19"
"Make the unpreprocessed file script work on Solaris."

This reverts commit e51afbcc2f.
2020-03-28 14:40:49 +01:00
New Tobin Paradigm e5ec0b0548 Update README.md 2020-03-28 06:57:45 -04:00
wolfbeast cad9358e17 Issue mcp-graveyard/UXP#1280 - Part 2: Remove HPKP tests. 2020-03-28 11:02:10 +01:00
wolfbeast 51dece497f Issue mcp-graveyard/UXP#1280 - Part 1: Remove HPKP components.
This also removes leftover plumbing for storing preload information
in SiteSecurityService since no service still uses it.
2020-03-28 01:06:56 +01:00
wolfbeast 4a1266370f Issue mcp-graveyard/UXP#1498 - Part 6: Remove STS preloadlist pref. 2020-03-27 23:27:07 +01:00
wolfbeast 20095823b8 Issue mcp-graveyard/UXP#1498 - Part 5: Update SSService CID and correct mismatch. 2020-03-27 16:16:43 +01:00
wolfbeast 6a236660f7 Issue mcp-graveyard/UXP#1498 - Part 4: Remove clearPreloads.
Also tag #1280
2020-03-27 15:13:00 +01:00
wolfbeast 332644513a Issue mcp-graveyard/UXP#1498 - Part 3: Remove support for storing "knockout" values. 2020-03-27 15:07:34 +01:00
wolfbeast 11fd07a86b Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2020-03-27 14:06:05 +01:00
wolfbeast e16cea6a2d Issue mcp-graveyard/UXP#1498 - Part 1: Stop persisting preload states.
Since we don't use preloading anymore for either HPKP or HSTS, we no
longer need persistent storage in the profile for preload states.
Tag mcp-graveyard/UXP#1280 also
2020-03-27 14:02:23 +01:00
wolfbeast c927c8e8e7 Issue mcp-graveyard/UXP#1498 - Part 1: Stop using HSTS preload lists. 2020-03-27 12:49:01 +01:00
Matt A. Tobin 4fd1859a09 Issue mcp-graveyard/UXP#1499 - Re-import ExtensionStorage.jsm 2020-03-26 15:38:21 -04:00
Matt A. Tobin b2a48aca01 Take nsSiteSecurityService out of UNIFIED_SOURCES
It exceeded the obj file sections limit because of the HSTS preload list so it cannot be built in UNIFIED mode.
2020-03-25 01:02:52 -04:00
JustOff 6c511c1c25 Issue mcp-graveyard/UXP#1473 - Fix building %OS_SLICE% on non-Windows platforms 2020-03-24 22:56:31 +02:00
wolfbeast e875843fb2 Issue mcp-graveyard/UXP#447 - Update HSTS preload list 2020-03-24 20:35:47 +00:00
New Tobin Paradigm 5857f55b8f Merge pull request #1492 from dbsoft/PopupWindowFixes
Disable workaround for popup windows on newer versions of Mac OS
2020-03-21 22:05:10 -04:00
Brian Smith 3d8fd8a7cf Issue mcp-graveyard/UXP#1491 - Part 2: Disable a workaround on macOS 10.14+ for an Apple bug described in Mozilla bug 378645 involving popup windows that was fixed by Apple. 2020-03-21 17:39:53 -05:00
Brian Smith 3e25a467e8 Issue mcp-graveyard/UXP#1491 - Part 1: Update nsCocoaFeatures for newer versions of MacOS X. 2020-03-21 17:37:05 -05:00
Moonchild cfab0a839c Merge pull request #1487 from MoonchildProductions/1467
Make UXP applications capable of using SQLite for NSS instead of DBM
2020-03-20 09:43:07 +01:00
wolfbeast 9bf01b48ca Issue mcp-graveyard/UXP#1467 - Part 4: Rename NSS_SQLSTORE to MOZ_SECURITY_SQLSTORE.
Rename the build config option accordingly.
2020-03-19 23:01:29 +01:00
wolfbeast bbc2b5f186 [devtools] Properly escape method arguments for curl. 2020-03-19 07:33:05 +01:00
wolfbeast 3b5d9fd970 [DOM] Make sure to exit fullscreen mode if popups are opened or focused. 2020-03-18 21:15:10 +01:00
wolfbeast 7a3dacdcc0 [js] Remove pointless MakeMRegExpHoistable optimization.
It's a lot of code with no measurable effect.
2020-03-18 13:31:19 +01:00
wolfbeast 6097aa7da2 [network] Cherry-pick various sctp lib upstream fixes. 2020-03-18 11:11:13 +01:00
wolfbeast 093748139c Issue mcp-graveyard/UXP#1467 - Part 3: Use UTF-8 file paths for NSS-SQL database. 2020-03-17 20:14:22 +01:00
wolfbeast cc67f27b9b Issue mcp-graveyard/UXP#1467 - Part 2: Make the PBKDF rounds adaptive to choice of NSS db 2020-03-17 13:33:03 +01:00
wolfbeast 3d65b0c4bd Issue mcp-graveyard/UXP#1467 - Part 1b: Fix type and make moz.configure happy. 2020-03-17 12:40:10 +01:00
wolfbeast 769bd4d869 Issue mcp-graveyard/UXP#1467 - Part 1: Set up conditional NSS-SQL builds.
- Adds buildconfig option --enable-nss-sqlstore
- Prefixes NSS dbinit with either sql: or dbm: depending on config
- Pre-initializes mozStorage when NSS-SQL storage is used to prevent
  an sqlite3_config race in NSS Init
2020-03-16 13:38:19 +01:00
wolfbeast 2bd8776af0 Issue mcp-graveyard/UXP#1355 - Make addition of cell border display items depend on
whether they should be drawn.

This reduces the size of display lists for tables by only adding display
list items that are actually going to be visibly drawn, which will help
overall performance of table drawing.
2020-03-16 09:30:31 +01:00
Moonchild 333eea5456 Merge pull request #1484 from JustOff/PR_ssuao_priority
Give dynamic SSUAO rules priority over static ones
2020-03-15 17:34:46 +01:00
JustOff 973b30661d Issue mcp-graveyard/UXP#1482 - Give dynamic SSUAO rules priority over static ones 2020-03-15 13:41:46 +02:00
Moonchild 9b5dbd77f1 Merge pull request #1486 from MoonchildProductions/1485
Fix incorrect grid cell sizing to min/max space.
2020-03-15 00:10:54 +01:00
Matt A. Tobin 880ff915b0 Issue mcp-graveyard/UXP#1477 - Fix finding config.guess on builds not using MOZ_OBJDIR
* So far this seems to only affect Macintosh builds but other unix builds may be affected. Windows doesn't seem to be.
* This maintains consistency with other one-off file invocations and backwards compatibility with older comm setups
2020-03-13 13:00:12 -04:00
wolfbeast 7b9bf5eedd Issue mcp-graveyard/UXP#1485 - Fix incorrect grid cell sizing to min/max space.
There were actually two separate logical errors in this method:

The first part is that "origSizes.isSome()" is simply a bogus
requirement for applying min/max-sizes here. I'm still keeping
the optimization of not needlessly copying the mSizes array
(as originally intended) since it's a quite common case.

The second bug is that min/max-sizes were only applied under
the "if (fr != 0.0f)" block. This is bogus since the calculated
'fr' value depends on 'aAvailableSize' which might change by
applying min/max-sizes and thus 'fr' could become non-zero in
the second round.
To fix, this patch just moves "applyMinMax" block out one level.
2020-03-13 11:28:54 +01:00
Moonchild daadac9fc2 Merge pull request #1481 from MoonchildProductions/1480
Skip abspos, fixed, float and placeholders for outline.
2020-03-11 23:24:42 +01:00
wolfbeast a5b695ce7e Issue mcp-graveyard/UXP#1480 - Skip abspos, fixed, float and placeholders for outline. 2020-03-11 13:01:48 +01:00
Moonchild dc14e58e72 Merge pull request #1479 from JustOff/PR_uau_cleanup
Remove no longer used function and modules from UserAgentUpdates.jsm
2020-03-11 11:49:30 +01:00
JustOff 6a7d4ee38d Issue mcp-graveyard/UXP#1053 - Remove no longer used function and modules from UserAgentUpdates.jsm 2020-03-11 01:07:33 +02:00
New Tobin Paradigm 383e98e34e Merge pull request #1476 from JustOff/PR_ssuao_os_slice
Add `%OS_SLICE%` macro to SSUAO to refine OS info
2020-03-10 16:58:06 -04:00
wolfbeast 15bfa20f16 Minor update to UXP coding style guideline. 2020-03-10 12:47:03 +01:00
JustOff 37932471aa Issue mcp-graveyard/UXP#1473 - Add %OS_SLICE% macro to SSUAO to refine OS info 2020-03-10 13:10:26 +02:00
New Tobin Paradigm 75dcf7b4d6 Update README.md 2020-03-09 17:38:25 -04:00
JMadgwick 7c03baf8f1 Issue mcp-graveyard/UXP#1471 - Fix building on sparc64 Linux
Correct various pre-processor defines for sparc64 and in mozjemalloc use the JS arm64 allocator on Linux/sparc64.
This corrects build problems opn Linux sparc64 and is in line with bugzilla bug #1275204.
2020-03-09 20:55:13 +00:00
wolfbeast 4aac796a2a Issue mcp-graveyard/UXP#1474 - Prevent the cp detection from starting if preffed off.
When setting up connectivity, e.g. with new network detection, the pref
wouldn't be checked (or honored), resulting in spurious startup calls
despite being preffed off. This fixes that.

Resolves #1474
2020-03-07 21:58:27 +01:00
wolfbeast 1155b55a85 Update UXP coding style guide JS guide. 2020-03-07 12:30:31 +01:00
wolfbeast 79be2285bd Update UXP coding style guide JS guide. 2020-03-06 23:23:57 +01:00
Matt A. Tobin 7a69f995b1 Merge branch 'updateutils-work' 2020-03-06 15:05:51 -05:00
wolfbeast a898350464 Update UXP coding style guide with JS guide. 2020-03-06 11:47:52 +01:00
Matt A. Tobin 2a01373b74 Issue mcp-graveyard/UXP#1470 - Part 3: Remove now unused update.locale
This requires changes to package-manifest in all applications
2020-03-05 19:30:38 -05:00
Matt A. Tobin 9bf46b97df Issue mcp-graveyard/UXP#1470 - Part 2: Change calls from UpdateUtils.getUpdateChannel() to UpdateUtils.UpdateChannel in telemetry modules 2020-03-05 19:24:11 -05:00
Matt A. Tobin 3990c74b9b Issue mcp-graveyard/UXP#1470 - Part 1: Refactor UpdateUtils.jsm 2020-03-05 19:22:49 -05:00
New Tobin Paradigm 0195983b0b Remove exposed bug from UpdateUtils.jsm 2020-03-04 13:03:27 -05:00
Matt A. Tobin d3ccc3dda1 Revert "Issue mcp-graveyard/UXP#190 - Part 1: Remove XP_IOS conditional code"
This reverts commit 6a3d5769d0.
2020-02-28 18:00:45 -05:00
Matt A. Tobin dc9b577d8d Issue mcp-graveyard/UXP#190 - Part 1: Remove XP_IOS conditional code 2020-02-28 17:58:46 -05:00
Matt A. Tobin 0310587cab Issue mcp-graveyard/UXP#1053 - Remove android-only skia-npapi 2020-02-28 17:19:05 -05:00
Matt A. Tobin 5d7056c505 Issue mcp-graveyard/UXP#1053 - Remove android support from nsNSSComponent.cpp 2020-02-28 16:51:00 -05:00
Matt A. Tobin 01ef6356f8 Issue mcp-graveyard/UXP#251 - Move --disable-dbm to ac configure
Also Tag mcp-graveyard/UXP#1467
2020-02-28 16:21:05 -05:00
Matt A. Tobin 890d2c1fa7 Remove unused mailnews.mozbuild 2020-02-28 15:11:25 -05:00
Matt A. Tobin 6fb5c8dc76 Mork is not dependent on dbm and never was. 2020-02-28 15:01:37 -05:00
Matt A. Tobin 8e1dc5a3c9 Correct typo in mailnews/base/src/moz.build 2020-02-28 15:01:13 -05:00
Matt A. Tobin 254cc45c94 Issue mcp-graveyard/UXP#1319 - Remove EARLY_BETA_OR_EARLIER condition 2020-02-28 12:05:19 -05:00
wolfbeast 2d1cf10a31 Issue mcp-graveyard/UXP#1465 - Implement optional catch binding. 2020-02-27 20:09:26 +01:00
wolfbeast 0bc843f819 Revert "Issue mcp-graveyard/UXP#1355 - Better way to create display items for column backgrounds"
This reverts commit 44c47c5038.
2020-02-26 20:51:22 +01:00
wolfbeast 0d7ffdd564 Revert "Layout\reftests\table-background\reftest.list should have only additions to the end of it."
This reverts commit efdc2af8ab.
2020-02-26 20:51:05 +01:00
wolfbeast 53317198a8 [DOM] Add a null check 2020-02-26 16:22:10 +01:00
Matt A. Tobin 69d311fffa Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2020-02-26 09:25:07 -05:00
Matt A. Tobin 64fd438098 No Issue - Always build marionette until it can be tracked down and killed 2020-02-26 09:24:49 -05:00
Moonchild 950aadf79f Merge pull request #1463 from win7-7/column-backgrounds-pr
Better way to create display items for column backgrounds
2020-02-26 13:53:30 +01:00
Matt A. Tobin 21b8f3dea8 Issue mcp-graveyard/UXP#1053 - Remove android preprocessor directive from toolkit/locales/jar.mn 2020-02-25 22:22:41 -05:00
Moonchild 2af595280b Merge pull request #1461 from MoonchildProductions/ubbo
Back out unboxed array/object removals
2020-02-26 02:38:18 +01:00
Matt A. Tobin 4cbeeed076 Issue mcp-graveyard/UXP#1053 - Remove android support from toolkit
Note: Does not remove support completely from toolkit/mozapps/installer or from telemetry or AppConstants.jsm
2020-02-25 19:45:39 -05:00
Matt A. Tobin a1cd1a363f Bug 1339444 - Remove unused resource://gre/modules/sqlite/sqlite_internal.js 2020-02-25 18:24:40 -05:00
win7-7 4aa07419c5 Layout\reftests\table-background\reftest.list should have only additions to the end of it.
Layout\reftests\table-background\reftest.list should have only additions to the end of it. Revert incorrect additions.
2020-02-26 00:36:09 +02:00
Matt A. Tobin 2add0e8cec Issue mcp-graveyard/UXP#439 - Remove tests from toolkit/ 2020-02-25 15:07:00 -05:00
Matt A. Tobin 4e2563637c Issue mcp-graveyard/UXP#1053 - Remove android support from db 2020-02-25 12:28:41 -05:00
Matt A. Tobin 8225be4d4a Issue mcp-graveyard/UXP#1053 - Remove android support from docshell 2020-02-25 12:26:18 -05:00
win7-7 69749d3179 Issue mcp-graveyard/UXP#1355 - Better way to create display items for column backgrounds
Part 1: Remove current table item, as it's never set.

Part 2: Get rid of generic table painting code, and handle each class separately.

Part 4: Hoist outline skipping into col(group) frame code.

Part 5: Skip box-shadow for table column and column groups.

Part 6: Store column and column group backgrounds separately, and then append them before the rest of the table contents.

Part 7: Pass rects in display list coordinates to AppendBackgroundItemsToTop.

Part 8: Create column and column group background display items as part of the cell's BuildDisplayList.

Part 9: Used cached values instead of calling nsDisplayListBuilder::ToReferenceFrame when possible, since it can be expensive when the requested frame isn't the builder's current frame.

Part 10: Make sure we build display items for table parts where only the normal position is visible, since we may need to create background items for ancestors at that position.

Part 11: Create an AutoBuildingDisplayList when we create background items for table columns and column groups, so that we initialize the invalidation state correctly.
2020-02-25 00:17:54 +02:00
wolfbeast 7a112a2a7f Revert #1091 Remove unboxed object code phase 1 + extras.
This should be the last code backout for this. merging this branch
should get us back to the way we were (+ additional code changes for
later changes) as fasr as the unused unboxed code is concerned.
2020-02-23 19:43:47 +01:00
Matt A. Tobin b2614cec53 Issue mcp-graveyard/UXP#1053 - Remove android support from hal 2020-02-23 11:29:12 -05:00
Matt A. Tobin ccb06d5f4a Issue mcp-graveyard/UXP#1053 - Remove android support from image 2020-02-23 11:28:41 -05:00
Matt A. Tobin c61ae6ad8b Issue mcp-graveyard/UXP#1053 - Remove android support from intl/locale/nsLocaleService.cpp
This is the only non-icu file with android code in it. Not going to remove android in icu its self because it remains a 3rd party lib.
2020-02-23 11:18:42 -05:00
Matt A. Tobin 39b9b989bc Follow-up to 4e2e9be6a - Move HeapSnapshot DevTools-only Modules back to DevTools
I am so done with this.

Resolves #316
2020-02-23 10:38:36 -05:00
wolfbeast 82bd3561f7 Revert #1137 - Remove unboxed arrays
- accounting for removal of watch()/unwatch()
- updated for intermediate code changes.
2020-02-23 14:41:40 +01:00
wolfbeast cfc2859e2a Revert "Issue mcp-graveyard/UXP#1382 - Remove invalid assertion."
This reverts commit 9c6a8450b3.
2020-02-23 11:33:50 +01:00
Matt A. Tobin c839f4eebb Issue mcp-graveyard/UXP#1053 - Remove android support from memory 2020-02-23 00:26:22 -05:00
Matt A. Tobin 7b65b04d56 Issue mcp-graveyard/UXP#1053 - Remove android support from mfbt 2020-02-22 23:30:31 -05:00
Matt A. Tobin 9ee03f0a82 Issue mcp-graveyard/UXP#1053 - Remove android support from ipc except for ipc/chromium
This does not include android in the imported chromium code as specific research needs done on defines and logic.
2020-02-22 22:44:01 -05:00
Matt A. Tobin c42b611f7b Issue mcp-graveyard/UXP#1053 - Remove android support from mozglue
Yes, I checked for unsaved files this time...
2020-02-22 21:16:37 -05:00
Matt A. Tobin 908e0b81c9 Issue mcp-graveyard/UXP#1053 - Remove android support from netwerk/protocol/http/nsHttpHandler.cpp 2020-02-22 20:48:32 -05:00
Matt A. Tobin 46e2c14b2c Issue mcp-graveyard/UXP#1053 - Remove android support from netwerk 2020-02-22 20:10:23 -05:00
Matt A. Tobin 6dbd24ae9e Issue mcp-graveyard/UXP#1053 - Remove android support from storage/mozStorageConnection.cpp 2020-02-22 19:31:52 -05:00
Matt A. Tobin 6d96e667a7 Issue mcp-graveyard/UXP#1053 - Remove android support from uriloader 2020-02-22 19:22:01 -05:00
Matt A. Tobin 334f7ae191 Issue mcp-graveyard/UXP#1053 - Remove android support from xpcom/threads/nsThread.cpp
Forgot to save..
2020-02-22 19:04:51 -05:00
Matt A. Tobin 81f1d9b545 Issue mcp-graveyard/UXP#1053 - Remove android support from XPCOM 2020-02-22 19:03:00 -05:00
Matt A. Tobin 26494daab4 Remove redundant moz.build from db/ 2020-02-22 17:47:21 -05:00
Matt A. Tobin ce8ac75ba9 Reclassify heapsnapshot and nsJSInspector as not part of devtools
This resolves Issue mcp-graveyard/UXP#316
2020-02-22 17:32:39 -05:00
wolfbeast 2220bf8718 Revert #1142 - Remove unboxed objects
- accounting for removal of watch()/unwatch()
2020-02-22 21:09:32 +01:00
wolfbeast 73c1ef9bda Revert 1320408 part 15: Make addDataProperty static 2020-02-22 21:07:48 +01:00
wolfbeast 430bbdebdb Set module default identification properly. 2020-02-21 18:50:28 +01:00
wolfbeast a1cbc14e58 Remove gtest reference to non-existing path of removed component 2020-02-21 12:21:10 +00:00
wolfbeast 476aedd775 [gfx] Put Skia-specific CTOR init behind Skia-conditional. 2020-02-21 12:12:47 +00:00
wolfbeast b9bdc52846 Merge branch '316' 2020-02-21 01:20:27 +01:00
wolfbeast 33cb3ff676 Issue mcp-graveyard/UXP#316 - Make sure MOZ_DEVTOOLS_SERVER is passed down to js. 2020-02-21 01:19:16 +01:00
Matt A. Tobin 5b37527964 Issue mcp-graveyard/UXP#1053 - Remove android support from NPAPI 2020-02-20 12:44:29 -05:00
Matt A. Tobin 3e19fd8358 Issue mcp-graveyard/UXP#1053 - Remove conditional android code from widget/ 2020-02-20 12:12:30 -05:00
Matt A. Tobin acf3454371 Issue mcp-graveyard/UXP#1053 - Remove Android Widget Toolkit specific files 2020-02-20 11:22:40 -05:00
Matt A. Tobin 45f54760bd Issue mcp-graveyard/UXP#439 - Remove tests from widget/ 2020-02-20 11:08:15 -05:00
Moonchild d5dea3d66c Merge pull request #1458 from MoonchildProductions/316
Fix buildability of builds without devtools-server
2020-02-20 16:50:49 +01:00
wolfbeast 22d601d655 Issue mcp-graveyard/UXP#316 - Be more gentle with the CC and nursery. 2020-02-20 16:47:04 +01:00
Matt A. Tobin 702e360a4c Issue mcp-graveyard/UXP#1457 - Unfold sqlite3 from nss 2020-02-20 10:02:49 -05:00
wolfbeast 10af32ca94 Issue mcp-graveyard/UXP#316 - Pre-process Performance.webidl 2020-02-20 13:29:03 +01:00
wolfbeast 533f1d9a05 Issue mcp-graveyard/UXP#316 - Make the memory GC performance object conditional (WIP)
This was only added for GCubench and likely interfering with building
without devtools-server.
2020-02-20 12:00:26 +01:00
wolfbeast 155a289c6d Issue mcp-graveyard/UXP#1383 - Remove "Copy raw data to clipboard" button
This resolves #1383
2020-02-20 11:01:30 +01:00
Moonchild c745223536 Merge pull request #1455 from JustOff/issue1445_details_url
Add a link to details on using Firefox extensions in Pale Moon
2020-02-19 21:23:24 +01:00
Matt A. Tobin e6d4ccda61 Issue mcp-graveyard/UXP#1454 - Add MOZ_PKG_SPECIAL to UpdateUtils 2020-02-19 15:05:50 -05:00
JustOff ad2c2f3531 Issue mcp-graveyard/UXP#1445 - Add a link to details on using Firefox extensions in Pale Moon 2020-02-19 19:30:21 +02:00
Moonchild b97bda2a54 Merge pull request #1452 from JustOff/Issue1445_cleanup
Issue mcp-graveyard/UXP#1445 - strings cleanup
2020-02-19 14:34:44 +01:00
JustOff eae4c3e7f4 Issue mcp-graveyard/UXP#1445 - strings cleanup 2020-02-19 14:37:14 +02:00
wolfbeast c7f5e9f326 Issue mcp-graveyard/UXP#1445 - remove redundant nativeIndicator
This resolves #1445
2020-02-19 11:56:34 +01:00
Matt A. Tobin 9f2b83f945 Issue mcp-graveyard/UXP#1320 - Stop appending cpu arch to the end of %BUILD_TARGET% on Windows in UpdateUtils.jsm 2020-02-17 12:19:22 -05:00
wolfbeast 195146f836 Issue mcp-graveyard/UXP#1445 - Use the detailed string also in the list entries. 2020-02-17 16:19:57 +01:00
wolfbeast c2778f8a0a Issue mcp-graveyard/UXP#1446 - Only match extension add-on types for target applications.
This resolves #1446
2020-02-17 16:19:05 +01:00
Moonchild dd64bed11f Merge pull request #1447 from win7-7/optimization-4-pr
Speed up nsTableColFrame::GetColIndex
2020-02-17 12:40:36 +01:00
wolfbeast 5bef997ccb Issue mcp-graveyard/UXP#1446 - Only allow extension add-on types for Firefox compat mode. 2020-02-17 12:33:34 +01:00
win7-7 064bdaf239 Issue mcp-graveyard/UXP#1355 - Make nsTableCellFrame::GetColIndex/GetRowIndex faster
We can devirtualize it, remove some branches.
2020-02-16 16:06:53 +02:00
wolfbeast dac2534aa7 Issue mcp-graveyard/UXP#1445 - Clarify the status of extensions in the Add-On manager
This resolves #1445.
2020-02-16 13:10:55 +01:00
wolfbeast defd5e1733 [CSS] Only emit non-GC chrome wrapped XUL box warnings in debug builds. 2020-02-14 19:09:13 +01:00
wolfbeast 5251d85c6a Issue mcp-graveyard/UXP#1441 - Guard appomni/greomni with UXP_CUSTOM_OMNI env var.
This adds an addition to the environment set up for child processes
(plugin container) so that it may still be able to pass the omni
parameters there as-needed.
2020-02-14 17:06:30 +01:00
wolfbeast 1968df165a Revert "Issue mcp-graveyard/UXP#1441 - Guard appomni/greomni with UXP_CUSTOM_OMNI env var."
This reverts commit 2bdbca39b2.
2020-02-14 16:31:54 +01:00
Simon Giesecke 31ad72dcc2 [IndexedDB] Ensure that strong references to newly created cursors are
kept until the DOM Binding is created.

This fixes random crashes on websites that use IndexedDB cursors.
See also BZ bug 1599420
2020-02-14 14:39:40 +01:00
Henri Sivonen e7e0f4a0ce [Parser] Move setting context to null to the correct location. 2020-02-14 13:24:59 +01:00
wolfbeast bdb5f4668a Issue mcp-graveyard/UXP#1441 - Guard appomni/greomni with UXP_CUSTOM_OMNI env var. 2020-02-14 12:35:58 +01:00
sotaro 4835df121b [Layers] Clear WrappingTextureSourceYCbCrBasic::mTexture correctly 2020-02-14 10:46:53 +01:00
wolfbeast d72a2ee5c6 [Network] Bump http channel default Firefox CompatMode init value. 2020-02-14 10:32:41 +01:00
wolfbeast 80d90e2d17 Fix a whitespace issue in nsComputedDOMStyle.cpp 2020-02-12 00:01:55 +01:00
wolfbeast eeccb0474c [CSS] Add stub for font-variation-settings
This stub is added because websites insist on considering this
very hardware-dependent and O.S.-variable low-level font-control
as a "critical feature" which it isn't as there is 0 guarantee
that font variation settings are supported or honored by any
operating system used by the client.

On top this is a WD status feature that sites shouldn't be using, and
the feature itself is strongly discouraged for use in favor of standard
CSS font manipulation keywords like `font-weight`.
2020-02-11 23:59:53 +01:00
wolfbeast 96d8eb7c97 [CSP] Allow not having a Port for RessourceURI if the Scheme has no
Default Port
2020-02-11 12:30:45 +01:00
Matt A. Tobin 3f503e61bf Issue mcp-graveyard/UXP#65 - Correct nsHelperAppDlg.js for bad preprocessing conversion 2020-02-09 19:54:01 -05:00
Matt A. Tobin dd6dedfcdc Issue mcp-graveyard/UXP#80 - Stop building non-generated dom/binding files as UNIFIED_SOURCES
Also fix deprot
2020-02-08 23:23:20 -05:00
Matt A. Tobin 0f3e517e48 Directly assign PrimitiveConversions.h to the generated binding of KeyframeAnimationOptions.
This is a hack to deal UnifiedBindings trying to deal with an incomplete codegen implementation so it was worked around with a hack back in Firefox 30-something. If we have anymore of this non-sense crop up as stuff is added or removed from DOM then extend this conditional.

Least until something better comes along.
2020-02-08 20:33:04 -05:00
Moonchild 699810ac04 Merge pull request #1393 from win7-7/optimization-3-pr
Do less work for columns not in the desired set in PaintRowGroupBackgroundByColIdx
2020-02-08 15:17:21 +01:00
Moonchild ec5f0e4c18 Merge pull request #1394 from MoonchildProductions/appconst-work
The rest of removing AppConstants for Platform
2020-02-07 10:57:04 +01:00
Matt A. Tobin 16cbae7e25 Issue mcp-graveyard/UXP#65 - Don't split in the middle of assignment statements in createProfileWizard.js 2020-02-07 04:55:10 -05:00
Matt A. Tobin b2fadac9cf Issue mcp-graveyard/UXP#65 - Correct fallthough case in profileSelection.js 2020-02-07 04:51:00 -05:00
Moonchild ffed90a4a2 Merge pull request #1388 from win7-7/devirtualize-pr
Merging this in even without a test performed since the code change looks sane. real-world testing will have to be performed.
2020-02-07 09:52:57 +01:00
Matt A. Tobin 225fd256ee Issue mcp-graveyard/UXP#1395 - Part 2: Remove the /rest/ of FlyWeb 2020-02-06 19:49:46 -05:00
Matt A. Tobin 30d27f9130 Issue mcp-graveyard/UXP#1395 - Remove FlyWeb Service 2020-02-06 19:47:29 -05:00
Matt A. Tobin 0eea64518b Issue mcp-graveyard/UXP#1390 - Get rid of the Presentation API 2020-02-06 16:03:39 -05:00
Matt A. Tobin 604125a4ce Issue mcp-graveyard/UXP#1390 - Remove secondscreen modules from toolkit 2020-02-06 14:49:41 -05:00
wolfbeast c8eac6a4c5 [AM] Remove shared theme leftovers for webextensions 2020-02-06 19:24:50 +01:00
Matt A. Tobin 8da49d5bf5 Issue mcp-graveyard/UXP#1392 - Change --enable-eme to MOZ_ARG_ENABLE_BOOL and remove MOZ_EME_MODULES 2020-02-06 13:06:35 -05:00
Matt A. Tobin f58b0d340f Issue mcp-graveyard/UXP#65 - Remove AppConstants from toolkit/components/passwordmgr 2020-02-06 10:39:22 -05:00
win7-7 a00a7f70b6 Merge branch 'master' into optimization-3-pr 2020-02-06 17:17:28 +02:00
win7-7 1a340bfbeb Issue mcp-graveyard/UXP#1355 - Do less work for columns not in the desired set in PaintRowGroupBackgroundByColIdx
Do less work in PaintRowGroupBackgroundByColIdx for cells that are not in our desired set of columns.

crash fix:

Guard against empty column groups when building a display list for a table.
2020-02-06 17:13:55 +02:00
Matt A. Tobin 08fb0a2428 Issue mcp-graveyard/UXP#65 - Remove AppConstants from toolkit/components/alerts 2020-02-06 09:47:45 -05:00
Matt A. Tobin da63a0fcfb Issue mcp-graveyard/UXP#65 - Remove AppConstants from toolkit/components/places 2020-02-06 09:43:27 -05:00
Matt A. Tobin e6b8da2195 Issue mcp-graveyard/UXP#65 - Remove AppConstants from toolkit/components/apppicker 2020-02-06 09:38:29 -05:00
Matt A. Tobin fbe58b1b10 Issue mcp-graveyard/UXP#65 - Remove AppConstants from toolkit/components/thumbnails 2020-02-06 09:34:25 -05:00
Matt A. Tobin 8cd04ca882 Issue mcp-graveyard/UXP#65 - Remove AppConstants from toolkit/components/printing 2020-02-06 09:31:03 -05:00
Matt A. Tobin 43b1f2e4b3 Issue mcp-graveyard/UXP#65 - Remove AppConstants from toolkit/components/satchel 2020-02-06 09:11:39 -05:00
Moonchild 82b03b935d Update UXP Coding Style.md
Be more explicit about paranthesis spacing
2020-02-06 14:50:58 +01:00
Moonchild 7ec2a7b57c Update UXP Coding Style.md
Minor typo
2020-02-06 14:47:30 +01:00
Matt A. Tobin 3f3ab6348b Issue mcp-graveyard/UXP#65 - Remove AppConstants from toolkit/components/jsdownloads 2020-02-06 08:31:14 -05:00
Matt A. Tobin 84d6ac959c Issue mcp-graveyard/UXP#65 - Remove AppConstants from toolkit/mozapps/downloads 2020-02-06 06:32:11 -05:00
Matt A. Tobin 192c916d5c Issue mcp-graveyard/UXP#65 - Remove AppConstants from toolkit/mozapps/extensions 2020-02-06 06:07:37 -05:00
Moonchild 8297ff5a9a Merge pull request #1389 from MoonchildProductions/EME_conditional
Make building of EME conditional
2020-02-06 11:53:51 +01:00
wolfbeast 5d6bc97260 Issue mcp-graveyard/UXP#26 - Part 2c: Remove dependence on gmp/widevine-adapter/* 2020-02-05 22:32:52 +01:00
Matt A. Tobin 965ba76dd6 Issue mcp-graveyard/UXP#65 - Remove AppConstants from toolkit/mozapps/update 2020-02-05 14:31:58 -05:00
Matt A. Tobin bf068fb2ab Issue mcp-graveyard/UXP#65 - Remove AppConstants from toolkit/profile 2020-02-05 13:52:28 -05:00
win7-7 a1f1718499 fix whitespace
fix whitespace.
2020-02-05 16:57:42 +02:00
wolfbeast bdd10c33c9 Issue mcp-graveyard/UXP#26 - Part 2b: Stub out GMPDecryptorProxy functions.
If EME isn't built, these functions would have no use and the callback
structures are unavailable. Stubbing these out will still allow the
callers to work unchanged, but in effect simply always return without
dispatching a promised task.
This fixes the dependency issue from part 2a.
2020-02-04 11:48:13 +01:00
wolfbeast 6c19608aa6 Issue mcp-graveyard/UXP#26 Part 2a: make more EME code conditional.
- Exclude missed MediaKey functions and CDMProxy code.
- Exclude EME APIs frm being built (webidl change)
- Fix tests in --disable-eme state
2020-02-03 23:42:52 +01:00
wolfbeast 8473896323 [Installer] Updated the 7-zip stub binary to make sure it doesn't hang
on older versions of Windows but instead provides a usable error message
2020-02-03 23:23:41 +01:00
win7-7 e1d7bfe250 Issue mcp-graveyard/UXP#1386 - Devirtualize GetRowSpan/GetColSpan
It's at ~1.5% on the perf log for the Netflix use case, which seems a bit too much.
2020-02-03 20:47:41 +02:00
Moonchild ce74ce7c88 Merge pull request #1385 from win7-7/standard-pr
Match standard for colSpan/rowSpan
2020-02-03 18:18:40 +01:00
win7-7 8795e13a40 Issue mcp-graveyard/UXP#1384 - Match standard for colSpan/rowSpan
HTML standardizes proper behavior of colSpan and rowSpan:

The main thing is that getting the .rowSpan and .colSpan IDL properties will now return the actual clamped value that we use.
2020-02-03 16:59:23 +02:00
wolfbeast 6f63bf42bd Issue mcp-graveyard/UXP#1382 - Remove invalid assertion.
There is flexibility in exactly the value the initialized length must
hold, i.e. if an array is completely empty, it is valid for the
initialized length to be any value between zero and the length of the
array, as long as the in-memory values below the initialized length have
been initialized with a hole value.
In the case of 0, the array is packed and the move operation would be a
nop, so simply convert the assert to a condition to save some cycles.
2020-02-03 04:52:44 +01:00
Moonchild 60b04af2a3 Merge pull request #1381 from win7-7/optimization2-pr
Add dirty rect intersection checks so that we don't build unnecessary table part display items
2020-02-02 19:17:12 +01:00
win7-7 68753d405b Issue mcp-graveyard/UXP#1355 - Hit testing in large tables has become extremely slow
Add dirty rect intersection checks so that we don't build unnecessary table part display items.
2020-02-02 15:02:47 +02:00
wolfbeast fe12e71bce Revert "Issue mcp-graveyard/UXP#1355 - Hit testing in large tables has become extremely slow"
This reverts commit f7b2f0a665.
2020-02-02 13:37:13 +01:00
Moonchild 59d6f487ae Merge pull request #1380 from win7-7/optimization-2-pr
Add dirty rect intersection checks so that we don't build unnecessary table part display items
2020-02-02 13:21:22 +01:00
New Tobin Paradigm 97271fd8cc Fix preprocessor directive in UserAgentUpdates.jsm 2020-02-02 06:52:04 -05:00
win7-7 83dad2ac3a Issue mcp-graveyard/UXP#1355 - Hit testing in large tables has become extremely slow
Add dirty rect intersection checks so that we don't build unnecessary table part display items.
2020-02-02 13:50:51 +02:00
wolfbeast b531b346f1 Issue mcp-graveyard/UXP#1378 - Follow-up: make sure background items remain table-aligned. 2020-02-02 11:31:07 +01:00
Matt A. Tobin 77cdb9c060 Issue mcp-graveyard/UXP#65 - Remove AppConstants from toolkit/modules
Except for secondscreen
2020-02-02 04:25:47 -05:00
Matt A. Tobin e0ab2678c7 Issue mcp-graveyard/UXP#65 - Remove AppConstants from toolkit/content 2020-02-01 23:45:36 -05:00
Matt A. Tobin 88b3d4cc6b Issue mcp-graveyard/UXP#65 - Remove AppConstants from netwerk/ 2020-02-01 21:59:08 -05:00
Matt A. Tobin 49f2c57a88 Issue mcp-graveyard/UXP#65 - Remove AppConstants from mailnews/ 2020-02-01 21:54:04 -05:00
Matt A. Tobin 8a08a6f76d Issue mcp-graveyard/UXP#65 - Remove AppConstants from dom/ 2020-02-01 21:45:08 -05:00
wolfbeast dbdacc7f9e Issue mcp-graveyard/UXP#1378 - Align the drawing of table cell backgrounds with the spec. 2020-02-02 02:16:41 +01:00
Matt A. Tobin 6811ccd50d Issue mcp-graveyard/UXP#1377 - Fix porting typo in mailnews/base/search/content/searchWidgets.xml
MailNews Core being historically comm tended to avoid defining shorthand for Components.interfaces
2020-02-01 20:06:57 -05:00
wolfbeast 799edd65a6 Issue mcp-graveyard/UXP#447 - Update HSTS preload list & reduce debug spew
Commented out spewing dump() statements in loops. With the ever growing
HSTS list it takes too much time and is pointless to display.
2020-02-01 01:37:52 +00:00
wolfbeast 6fbae7c140 Issue mcp-graveyard/UXP#1342 - Remove support for system libvpx 2020-01-31 16:54:07 +01:00
wolfbeast 8719dbd518 Issue mcp-graveyard/UXP#1342 - Remove support for system sqlite 2020-01-31 15:40:09 +01:00
wolfbeast 7307943289 Issue mcp-graveyard/UXP#1342 - Update old.configure for removed build options 2020-01-31 15:12:09 +01:00
wolfbeast af804e3f0f Issue mcp-graveyard/UXP#1342 - Remove support for system linbpng 2020-01-31 15:10:26 +01:00
Moonchild a11f0bb877 Merge pull request #1376 from win7-7/optimization-1-pr
Speed up the traversal of a table row frame's child cells
2020-01-30 17:54:48 +00:00
wolfbeast 0214437172 Issue mcp-graveyard/UXP#1342 - Remove support for system NSPR/NSS 2020-01-30 18:15:38 +01:00
wolfbeast 633d8804ef Issue mcp-graveyard/UXP#1342 - Remove support for system ICU 2020-01-29 15:13:55 +01:00
win7-7 30cf247be9 Issue mcp-graveyard/UXP#1355 - Speed up the traversal of a table row frame's child cells
Speed up getting the first cellframe in a row and the next cellframe after the given one
2020-01-29 11:14:34 +02:00
wolfbeast ce278a236d [WebRequest] Remove AddonManagerPermissions leftovers
This was added as part of the WebExtension sec issue CVE-2017-5389.
Since we no longer have this interface, it needed to be removed to
prevent errors in the WebRequest channel callback.
2020-01-29 09:08:00 +01:00
Moonchild 22ce4ab88d Merge pull request #1357 from athenian200/form-disabled-issue
Forms: Click() isn't executing properly when elements are defined disabled
2020-01-28 23:03:48 +00:00
athenian200 a1d0960c48 Issue mcp-graveyard/UXP#1356 - Add tests.
Forgot to include these before.
2020-01-28 00:03:00 -06:00
athenian200 83580939c9 Merge branch 'master' of https://github.com/MoonchildProductions/UXP into form-disabled-issue 2020-01-27 22:59:08 -06:00
wolfbeast 3b3c4d98a8 Issue mcp-graveyard/UXP#1360 - Enable acceleration by default on all known-good platforms. 2020-01-27 22:06:03 +01:00
wolfbeast 71e6248a31 Update platform version.
Intended to be bumped to 4.6.x once CE/sDOM is landed completely.
2020-01-27 11:54:06 +01:00
wolfbeast c2848e604e Merge branch '1360' 2020-01-27 11:49:31 +01:00
Matt A. Tobin 415d772819 Force CLOBBER 2020-01-26 18:30:55 -05:00
New Tobin Paradigm 7d70f79822 Merge pull request #1374 from g4jc/custom_elementsv1
Custom Elements v1
2020-01-26 17:13:16 -05:00
Gaming4JC 2aee067ed7 Bug 1430951 - Avoid element name atomizing to improve performance of LookupCustomElementDefinition
Since we are dealing with the element (nodeInfo->LocalName() and NameAtom() are the same value), we could use nodeInfo->NameAtom() instead.

Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:52 -05:00
Gaming4JC c192c26380 Bug 1430034 - Fix attributeChangedCallback isn't fired with correct newValue when the attribute value is an empty string;
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:52 -05:00
Gaming4JC 3e88821baf Bug 1421544 - Lazy push/pop CustomElementReactionsStack entry;
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:51 -05:00
Gaming4JC d97ddff6fe Bug 1413815 - Convert 'observedAttributes' to a sequence<DOMString>
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:51 -05:00
Gaming4JC 076695c597 Bug 1407669 - Fix custom element creation hides uncatchable exceptions from the constructor.
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:51 -05:00
Gaming4JC 6bbb46bfa2 Bug 1419305 - Part 2: Keep processing remaining elements in ElementQueue even if some of elements are already unlinked
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:50 -05:00
Gaming4JC 050946f9b4 Bug 1419305 - Part 1: Use MicroTask on CustomElements correctly
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:50 -05:00
Gaming4JC e95484102f Bug 1406922 - Make CycleCollectedJSContext to handle microtasks and make MutationObserver to use them
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:50 -05:00
Gaming4JC e028d32ad1 Bug 1405821 - Move microtask handling to CycleCollectedJSContext
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:49 -05:00
Gaming4JC b528068af7 Bug 1419643 - Don't need to lookup custom element definition for a non-custom element
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:49 -05:00
Gaming4JC 8d456c7508 Bug 1415761 - Catch the exception and rethrow it after invoking custom elements reactions;
The spec was unclear on how CEReactions interact with thrown exceptions; see https://github.com/whatwg/html/issues/3217. The spec is now being clarified in https://github.com/whatwg/html/pull/3235.

Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:48 -05:00
Gaming4JC c99209cfd7 Bug 1396620 - Part 2: Fix compartment mismatch crash when doing old prototype swizzling for custom element
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:48 -05:00
Gaming4JC 93a33c988b Bug 1396620 - Part 1: Remove created callback for custom elements
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:48 -05:00
Gaming4JC a7972e37bb Bug 1400762 - Make dom.webcomponents.enabled pref doesn't control CustomElements feature
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:47 -05:00
Gaming4JC 9811efd59d Bug 1405335 - Remove custom element attached and detached callbacks validation checks
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:47 -05:00
Gaming4JC 3745d3283f Bug 1406325 - Part 5: Implement try to upgrade.
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:46 -05:00
Gaming4JC 0047bbf745 Bug 1406325 - Part 4: Use mType for LookupCustomElementDefinition and also removing parts of v0.
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:46 -05:00
Gaming4JC 92b8802e4e Bug 1406325 - Part 3: Refactor custom elements clone a node.
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:46 -05:00
Gaming4JC cd97bca13a Bug 1406325 - Part 2: Set CustomElementData when cloning a node.
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:45 -05:00
Gaming4JC 518c36b556 Bug 1406325 - Part 1: Make sure custom element state is custom before sending callback.
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:45 -05:00
Gaming4JC c6ae6ed594 Bug 1378079 - Part 3: Complete the steps related to custom elements in "create an element for a token".
With fixup for missing header due to unified builds.

Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:44 -05:00
Gaming4JC d4da805c25 Regenerate Parser for 483155
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:44 -05:00
Gaming4JC 827bf5c00e Fix Build: We don't have SVG or MathML prefs yet
See Bug 1173199 / 1216893

Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:44 -05:00
Gaming4JC c2b9ea2420 Fix aAttributes
Fallout from 483155

Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:43 -05:00
Gaming4JC d079dea620 Fix ISINDEX
Since we want to keep this element, it has to be adapted to the parser changes in 483155

Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:43 -05:00
Gaming4JC c93dd2bb31 Add missing space to ElementName.java self-regeneration code.
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:43 -05:00
Gaming4JC 8bcb442cb9 Add missing elements from Bug 483155
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:42 -05:00
Gaming4JC a393504e82 Bug 483155 - Put content creator function pointers onto nsHtml5ElementName.
This is all the manual work for Bug 483155, minus the added functionality to disable SVG and MathML which can be done at any time and are out of scope.

Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:42 -05:00
Gaming4JC 385ab5f88e Bug 483155 - Put Gecko content creator function pointers on ElementName.
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:41 -05:00
Gaming4JC c58ab78b0a Bug 1355779 - Skip interned ElementName lookup for Custom Elements (ones with hyphen).
Regen.

Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:41 -05:00
Gaming4JC d1ac1990e9 Bug 1355779 - Skip interned nsHtml5ElementName lookup for Custom Elements (ones with hyphen).
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:41 -05:00
Gaming4JC c860ca45c8 Bug 1378079 - Part 2: Introduce throw-on-dynamic-markup-insertion counter.
Per spec, document objects have a throw-on-dynamic-markup-insertion counter, which is used in conjunction with the create an element for the token algorithm to prevent custom element constructors from being able to use document.open(), document.close(), and document.write() when they are invoked by the parser.

Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:40 -05:00
Gaming4JC 34d18e6f04 Bug 1378079 - Part 1: Gecko changes for adding attribute 'is' to parser.
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:40 -05:00
Gaming4JC a9f060601a Bug 1378079 - Add attribute 'is' to HTML parser.
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:39 -05:00
Gaming4JC 740d2801e0 Bug 1410790 - Add more assertion in CustomElementData::SetCustomElementDefinition and GetCustomElementDefinition;
This is a follow-up patch for bug 1392970. Since we only set CustomElementDefinition on a custom element which is custom, we could add more assertion to ensure that.

Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:39 -05:00
Gaming4JC fd39fe142e Bug 1366241 - Change memory layout of element name and attribute name hashes in HTML parser from sorted to level order BST in order to take advantage of cache during lookup.
HTML Regen.

Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:38 -05:00
Gaming4JC 9cddcfcd5a Bug 1366241 - Change memory layout of element name and attribute name hashes from sorted to level order BST in order to take advantage of cache during lookup.
Java Regen.

Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:38 -05:00
Gaming4JC d85d6223f3 Bug 1366241 - Change memory layout of element name and attribute name hashes from sorted to level order BST in order to take advantage of cache during lookup.
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:38 -05:00
Gaming4JC 92d36eb785 Bug 1358037 - Inline the methods of nsHtml5ElementName and nsHtml5AttributeName.
HTML Regen.

Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:37 -05:00
Gaming4JC 658a48837d Bug 1358037 - Inline the methods of nsHtml5ElementName and nsHtml5AttributeName.
Manual changes

Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:37 -05:00
Gaming4JC 1c73529a2a Bug 1358037 - Inline the methods of nsHtml5ElementName and nsHtml5AttributeName.
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:36 -05:00
Gaming4JC b9c8513751 Bug 1355479 - Flatten attribute storage in the HTML parser to AutoTArray to avoid malloc.
HTML Regen.

Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:36 -05:00
Gaming4JC 6533ea8b8d Bug 1355479 - Flatten attribute storage in the HTML parser to AutoTArray to avoid malloc.
- Removes nsHtml5ReleasableAttributeName
- Adds nsHtml5AttributeEntry.h
- Makes nsHtml5HtmlAttributes no longer gentered.

Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:36 -05:00
Gaming4JC c492eef2a4 Bug 1355479 - Remove isindex on the Java side and allow the C++ side to reduce malloc in attribute handling.
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:35 -05:00
Gaming4JC 444e87d15e Bug 1355769 - Avoid malloc for nsHtml5ElementName when processing a non-interned element name.
Fix build - Remove no longer used ReleaseableElement

Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:35 -05:00
Gaming4JC 36d8b786b0 Bug 1355769 - Avoid malloc for nsHtml5ElementName when processing a non-interned element name.
HTML Regen.

Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:34 -05:00
Gaming4JC 71f8184f82 Bug 1355769 - Avoid malloc for nsHtml5ElementName when processing a non-interned element name.
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:34 -05:00
Gaming4JC 2ed0141864 Bug 1355493 - Tweak bufToHash() and reduce the number of pre-interned elements.
HTML Regen.

Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:34 -05:00
Gaming4JC b012c32744 Bug 1355493 - Tweak bufToHash() and reduce the number of pre-interned elements.
Java Regen.

Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:33 -05:00
Gaming4JC 7dd437b47d Bug 1355493 - Tweak bufToHash() and reduce the number of pre-interned elements.
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:33 -05:00
Gaming4JC d561c1534b Bug 1352082 - Avoid shifting a signed integer left in C++.
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:32 -05:00
Gaming4JC 1db78cb221 Bug 1352082 - Avoid shifting a signed integer left in C++.
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:32 -05:00
Gaming4JC bc1d4d5789 Bug 1352290 - Add assertion to CustomElementReactionsStack::Enqueue to ensure upgrade reactions aren't scheduled to BackupQueue;
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:32 -05:00
Gaming4JC b3d6d10f27 Bug 1407937 - Move mDefinition from CustomElementReacion to CustomElementUpgradeReaction;
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:31 -05:00
Gaming4JC de729ac80c Bug 1406297 - Fix Document.createElement must report an exception.
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:31 -05:00
Gaming4JC 7a39271f67 Bug 1319342 - Clone a node should enqueue an upgrade reaction.
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:30 -05:00
Gaming4JC baa2e64378 Bug 1121994 - Implement adopted callback for custom elements.
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:30 -05:00
Gaming4JC 562fcf9182 Bug 1334044: Replace detached callback (v0) with disconnected callback (v1).
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:29 -05:00
Gaming4JC 16a66deced Bug 1334043 - Part 3: Update tests for connected callback.
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:29 -05:00
Gaming4JC 6e8a858e66 Bug 1334043 - Part 2: Make nsContentUtils::EnqueueLifecycleCallback static.
We make nsContentUtils::EnqueueLifecycleCallback static so that it can be called without a window object. To achive this, we also make CustomElementReaction not taking a CustomElementRegistry in the constructor, as it can call Upgrade statically.

Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:29 -05:00
Gaming4JC 8d579e8d43 Bug 1334043 - Part 1: Replace attached callback (v0) with connected callback (v1).
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:28 -05:00
Gaming4JC e99166dcc3 Bug 1392970 - Part 2: Get CustomElementDefinition from CustomElementData when possible.
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:28 -05:00
Gaming4JC 9bd399b0ed Bug 1392970 - Part 1: Make CustomElementDefinition ref-counted and put it in CustomElementData.
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:27 -05:00
Gaming4JC a84075dba1 Bug 1301024 - Part 2: Implement create an element steps.
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:27 -05:00
Gaming4JC f44c36ed94 Bug 1301024 - Part 1: Set CreateElement/CreateElementNS is attribute.
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:27 -05:00
Gaming4JC 48a8157891 Bug 1398401 - Add preference check for custom element setup.
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:26 -05:00
Gaming4JC 87c189fd92 Bug 1332233 - prevent resource leak in CustomElementRegistry::Define.
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:26 -05:00
Gaming4JC c6aacaca6d Bug 1334051 - Part 2: Invoke attributeChangedCallback only if attribute name is in the observed attribute list.
We call attributeChangedCallback in two cases:

1. When any of the attributes in the observed attribute list has changed, appended, removed, or replaced.

2. When upgrading an element, for each attribute in element's attribute list that is in the observed attribute list.

Note: w/ Fixup for not implementing an API Enhancement Bug 1363481.

Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:25 -05:00
Gaming4JC b5d64ec97c Bug 1334051 - Part 1: Include namespace in attributeChangedCallback.
Per spec [1], we should include namesapce in attributeChangedCallback argurment list.
[1] https://html.spec.whatwg.org/multipage/custom-elements.html#concept-upgrade-an-element, step 3

Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:25 -05:00
Gaming4JC 76006f6f33 Bug 1299363 - Part 5-2: Implement new upgrade steps.
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:25 -05:00
Gaming4JC ca6296d1e7 Bug 1299363 - Part 5-1: Make the constructor created by document.registerElement() also works with construction stack.
So that the old upgrade can also work with new upgrade steps which will be implemented in part 5-2.

Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:24 -05:00
Gaming4JC 9f861a2b3b Bug 1353647 - Fix the custom elements v0 upgrade inconsistency;
There are two places doing prototype setup in old upgrade,
- If definition comes after JS reflector creation, CustomElementRegistry::Upgrade will do prototype swizzling.
- If definition comes before JS reflector creation, Element::WrapObject will set up the prototype.

The later one does SubsumesConsideringDomain, but the former doesn't not.

This patch is to fix the inconsistency, i.e. the former case should also do SubsumesConsideringDomain.

Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:24 -05:00
Gaming4JC c18dff1a96 Bug 1299363 - Part 4: Hold a pointer of ElementQueue in ReactionsStack instead.
1. It is possible that invoking a reaction triggers pushing a new ElementQueue into ReactionStack (e.g., calling define() in constructor which probably enqueue another upgrade reaction), and the reference of ElementQueue passed to InvokeReactions becomes invalid due to the memmove in nsTArray implementation.

2. And we get another benefit from this is memmove becomes faster.

Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:23 -05:00
Gaming4JC a9dd650233 Bug 1299363 - Part 3: Remove unused argument in UpgradeCandidates.
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:23 -05:00
Gaming4JC 404d8b8471 Bug 1299363 - Part 2: Allow prototype swizzling in html constructor.
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:23 -05:00
Gaming4JC aefbbe2b4a Bug 1299363 - Part 1: Implement construction stack.
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:22 -05:00
Gaming4JC 84e2fb892a Bug 1315885 - Part 4: Implement callback reaction for custom element reactions.
Note: Skipped SyncInvokeReactions since it is removed in CE v1, waste of time.

Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:22 -05:00
Gaming4JC 6d9c610043 Bug 1315885 - Part 3: Transfer the ownership of ReactionQueue's entry due to re-enter CustomElementReactionsStack::InvokeReactions.
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:21 -05:00
Gaming4JC b598730ea8 Bug 1315885 - Part 2: Avoid rethrowing exception in CustomElementCallback::Call.
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:21 -05:00
Gaming4JC 9b4ae64e0b Bug 1315885 - Part 1: Add ShadowRoot CEReactions annotation.
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:20 -05:00
Gaming4JC 666fc98e41 Bug 1340027 - Part 5: Add XSLTProcessor CEReactions annotation.
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:20 -05:00
Gaming4JC 61296d50d2 Bug 1340027 - Part 4: Add DOM parsing CEReactions annotation.
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:20 -05:00
Gaming4JC 85bd446bf6 Bug 1340027 - Part 3: Add CSSStyleDeclaration CEReactions annotation.
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:19 -05:00
Gaming4JC 507a3f2b4c Bug 1340027 - Part 2: Add HTML CEReactions annotation.
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:19 -05:00
Gaming4JC a48fd18509 Bug 1340027 - Part 1: Add DOM CEReactions annotation.
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:18 -05:00
Gaming4JC a74ec8ed49 Bug 1377993 - Make node slots less memory hungry in common cases.
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:18 -05:00
Gaming4JC 4c1efef8cd Bug 1347634 - GetCustomElementData and SetCustomElementData don't need to be virtual;
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:17 -05:00
Gaming4JC 68b77b09ad Bug 1325279 - Put the reaction queue in CustomElementData structure instead of using a map;
Bug 1347446 makes accessing ElementReactionQueue becomes a bit non-trival (have to get it via DocGroup). Since bug 1359346 already refactors the creation time of CustomElementData, ReactionQueue can also be put into CustomElementData, then we can just get ReactionQueue from Element.

Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:17 -05:00
Gaming4JC 566829649a Creating customized built-in elements without relevant definitions registered first shouldn't throw NotFoundError;
per spec change: https://github.com/w3c/webcomponents/issues/608

Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:17 -05:00
Gaming4JC 129ddbb67d Bug 1359346 - Implement custom element state;
https://dom.spec.whatwg.org/#concept-element-custom-element-state

Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:16 -05:00
Gaming4JC 800341d2f8 Bug 1357002 - Part 2: Don't call SetupCustomElement() if the custom element feature is pref-ed off;
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:16 -05:00
Gaming4JC e1e2509511 Bug 1357002 - Part 1: Cache dom.webcomponents.customelements.enabled preference;
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:15 -05:00
Gaming4JC 2fdd94115a Bug 1341898 - Make nsDocument::IsWebComponentsEnabled use a cached bool pref;
Note: Minus IPC bit.

Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:15 -05:00
Gaming4JC 15210f6663 Bug 1309147 - Part 5: Eliminate performance cliff when accessing CEReactions code.
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:15 -05:00
Gaming4JC 211e1b7e42 Bug 1309147 - Part 4: Add CEReactions for CustomElementRegistry.
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:14 -05:00
Gaming4JC 2ea116494d Bug 1309147 - Part 3: Implement the support for CEReactions in Codegen.
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:14 -05:00
Gaming4JC 2df3770a93 Bug 1309147 - Part 2: Add the name of 'this' value's JSObject* for codegen to generate CEReaction code.
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:13 -05:00
Gaming4JC aa1df608c9 Bug 1309147 - Part 1: Implement the support for CEReactions in WebIDL parser.
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:13 -05:00
Gaming4JC 10e8b58546 Bug 1350960 - Release CustomElementReactionsStack in TabGroup thread when DocGroup is going away.
Note: In UXP we use non-Quantum thread checking implementation here.

Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:12 -05:00
Gaming4JC 3917eec821 Bug 1351979 - Change CustomElementRegistry::Define code to properly propagate out JS exceptions;
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:12 -05:00
Gaming4JC c756d4fa95 Bug 1347446 - Move custom element reactions stack to DocGroup.
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:12 -05:00
Gaming4JC 674575af0e Bug 1341693 - Don't need to check GetDocShell() when creating CustomElementRegistry;
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:11 -05:00
Gaming4JC c7c40b6c9e Bug 1309184 - Implement upgrade reaction for custom element reactions.
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:11 -05:00
Gaming4JC df9966ed67 Bug 1274159 - Part 4: Add test cases for HTMLConstructor;
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:10 -05:00
Gaming4JC c2c3a16515 Bug 1274159 - Part 3-2: Update web-platform-test expected result;
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:10 -05:00
Gaming4JC dd8855cdb4 Bug 1274159 - Part 3-1: Add HTMLConstructor to HTMLElement and its subclass;
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:10 -05:00
Gaming4JC 3b3b2d6371 Bug 1274159 - Part 2-2: Support HTMLConstructor WebIDL extended attribute for custom elements;
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:09 -05:00
Gaming4JC 52f348fd3f Bug 1274159 - Part 2-1: Include the name of relevant interface in nsHTMLTagList.h;
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:09 -05:00
Gaming4JC 444f4e9d44 Bug 1274159 - Part 1: Support looking up definitions by using constructor as a key;
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:08 -05:00
Gaming4JC 65436275d7 Bug 1271549 - Remove details and summary preference.
Tag UXP Issue mcp-graveyard/UXP#1344
2020-01-26 15:50:08 -05:00
Gaming4JC cc01ad2222 Bug 1276438 part 3. Align the .body setter with the spec a bit better.
There are two changes here:

1) We allow setting .body even if the root element is not an <html:html>. This is what the spec says to do, and what we used to do before the changes in bug
366200. No tests for this yet, pending https://github.com/whatwg/html/issues/3403 getting resolved.

2) We use GetBody(), not GetBodyElement(), to look for an existing thing to replace. This matters if there are <frameset>s involved.

Tag UXP Issue mcp-graveyard/UXP#1344
Tag UXP Issue mcp-graveyard/UXP#252
2020-01-26 15:50:07 -05:00
Gaming4JC 90c2cd9b79 Bug 1276438 part 2. Move the implementation of the .body setter from nsHTMLDocument to nsIDocument.
Tag UXP Issue mcp-graveyard/UXP#1344
Tag UXP Issue mcp-graveyard/UXP#252
2020-01-26 15:50:07 -05:00
Gaming4JC 57cbe109c7 Bug 1276438 part 1. Move the implementation of the .body getter from nsHTMLDocument to nsIDocument.
Tag UXP Issue mcp-graveyard/UXP#1344
Tag UXP Issue mcp-graveyard/UXP#252
2020-01-26 15:49:16 -05:00
wolfbeast 84c649c38b Issue mcp-graveyard/UXP#1360 - Part 2: Update tests for changed preferences. 2020-01-26 10:28:17 +01:00
wolfbeast 53d7d2f7fe Issue mcp-graveyard/UXP#1360 - Part 1: Simplify layers acceleration prefs.
This gets rid of platform-dependent hard-coded defaults, but keeps
build-time blocking if there is no GL provider (in which case layers
acceleration almost certainly won't work because it needs a GL
compositor and would likely crash without)

New prefs are
- layers.acceleration.enabled to enable HWA
- layers.acceleration.force to force it enabled (requires .enabled to be
  set as well)

This is the platform part of this issue. The rest will be front-end work
(Preference UI integration and pref migration)
2020-01-26 09:48:52 +01:00
Moonchild d1e7dd7739 Merge pull request #1371 from athenian200/ftp-list
Potential hang on bad FTP sequence
2020-01-26 08:26:23 +00:00
athenian200 bb50ac5cf7 Fix whitespace. 2020-01-26 01:51:37 -06:00
athenian200 abf90bc319 Issue mcp-graveyard/UXP#1349 - Stop 2xx FTP responses from causing browser to hang.
LIST and RETR still appear to work as intended on ftp:// URLs after my changes. I wasn't able to test STOR because the browser doesn't appear to support FTP uploads at this time (although our FTP implementation appears perfectly capable of doing an FTP upload.)

If I understood the issue correctly, though, what we're doing is ensuring that we receive a preliminary 100 response from the FTP server for a given action before jumping to the 200 code describing what we do if the action was completed. Even though it makes no logical sense for a server to say an action was completed before it was initiated, someone could write a really annoying FTP server that takes advantage of this fact to crash the browser if they wanted.
2020-01-26 01:40:55 -06:00
wolfbeast 460e1288b3 No issue - Always use jemalloc allocator for storage memory when
MOZ_MEMORY is defined (which is defined by enabling jemalloc in config)
2020-01-23 15:17:51 +01:00
Kai Engert 759d47c21e Issue mcp-graveyard/UXP#1338 - Follow-up: Also cache the most recent PBKDF1 hash
This rewrites the caching mechanism to apply to both PBKDF1 and PBKDF2
2020-01-23 13:11:09 +01:00
wolfbeast 09da507823 Issue mcp-graveyard/UXP#1342 - Remove support for system libevent 2020-01-23 13:08:02 +01:00
wolfbeast cd352bab7c Issue mcp-graveyard/UXP#1366 - Fix build bustage from erroneously removing 2 function implementations. 2020-01-22 21:42:10 +01:00
wolfbeast e36c81d559 Issue mcp-graveyard/UXP#1354 - Fix another potential crashing scenario in WebGL.
(merge of gl-work branch)
2020-01-22 11:51:19 +01:00
Moonchild 60ac653d34 Merge pull request #1367 from g4jc/showmodaldialog
Completely remove showModalDialog
2020-01-22 10:35:12 +00:00
Gaming4JC 4e5c0bf8cd Issue mcp-graveyard/UXP#1366 - Completely remove showModalDialog 2020-01-21 21:36:54 -05:00
wolfbeast 282ee5df56 Issue mcp-graveyard/UXP#1354 - Fix typo 2020-01-21 21:23:46 +01:00
wolfbeast d211e7adac Issue mcp-graveyard/UXP#1354 - Clear the current context when MakeCurrent() fails. 2020-01-20 22:42:14 +01:00
wolfbeast 68315aec89 Issue mcp-graveyard/UXP#1338 - Bump NSS version
Our NSS version is closer to the currently-released .1, so bump version
to that.
Note: we still have some additional patches to the in-tree version in
place so this isn't a 100% match to the RTM one.
2020-01-20 11:59:36 +01:00
wolfbeast 37bfff7612 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2020-01-19 14:40:01 +01:00
wolfbeast d1674fc337 Issue mcp-graveyard/UXP#1362 - Revert "Implement regular expression lookbehind"
This reverts commit fa473930f4.
2020-01-19 14:39:14 +01:00
wolfbeast 036dcab3a6 Issue mcp-graveyard/UXP#1362 - Revert "Update js/src/builtin/TestingFunctions.cpp for
regex lookbehind changes"

This reverts commit e79607a7a6.
2020-01-19 14:36:29 +01:00
Matt A. Tobin dc893dd5b7 Issue mcp-graveyard/UXP#1358 - Default to SSL/TLS when using the Account Wizard 2020-01-18 14:09:43 -05:00
Matt A. Tobin aa08ced0d9 Issue mcp-graveyard/UXP#1359 - Pointlessly rename greprefs.. again. 2020-01-18 13:17:41 -05:00
wolfbeast efbcbf5964 Minor update to the html5 parser component doc 2020-01-18 13:25:35 +01:00
wolfbeast 8906479c81 No issue - Fix unsafe http methods on HTTP/2 with TLSv1.3 0RTT. 2020-01-18 13:17:09 +01:00
wolfbeast ad6ae6447d Add component documentation for the HTML5 parser. 2020-01-18 13:01:53 +01:00
wolfbeast 5987cf8987 Revert "No issue - Fix unsafe http methods on HTTP/2 with TLSv1.3 0RTT."
This reverts commit 67d336a6f2.
2020-01-18 02:08:53 +01:00
wolfbeast 68c971bb1f No issue - Fix unsafe http methods on HTTP/2 with TLSv1.3 0RTT. 2020-01-17 17:11:06 +01:00
athenian200 45ed217cae Issue mcp-graveyard/UXP#1356 - Restore older syntax.
Some newer Firefox syntax snuck into my last bug. Just to be on the safe side I'm restoring the older syntax here.
2020-01-16 14:15:23 -06:00
athenian200 d41ae4d1c0 Issue mcp-graveyard/UXP#1356 - Remove -moz-user-input disabled to improve event handling. 2020-01-16 14:07:04 -06:00
Matt A. Tobin 588fb058c3 Update readme instructions for how to use the java html5 parser codegen makefile 2020-01-16 07:43:21 -05:00
Matt A. Tobin c1cefcca53 Merge branch 'html5-parser-work' 2020-01-16 07:32:48 -05:00
Matt A. Tobin e26ef294c6 Regenerate nsHtml5*.cpp files from java htmlparser sources 2020-01-16 07:28:40 -05:00
Matt A. Tobin 1b743bcbdc Update the html5 parser java codegen makefile to clean up snapshot javasrc 2020-01-16 07:22:22 -05:00
Matt A. Tobin 010b4113f1 Update gitignore to no longer track snapshot javasrc for the html5 parser 2020-01-16 07:19:29 -05:00
Matt A. Tobin f6c2f2567a Remove obsolete javasrc snapshot 2020-01-16 07:17:55 -05:00
Matt A. Tobin 858a52132c Update java htmlparser copyright on code to be translated to cpp 2020-01-16 07:16:39 -05:00
Matt A. Tobin 0b1c8c5c2b Fix an issue with the html5 tokenizer and tree builder (java htmlparser) 2020-01-15 22:07:59 -05:00
wolfbeast 6e4fc43ef7 No issue - Fix some line endings in WebGLShaderValidator.cpp 2020-01-16 01:41:21 +01:00
wolfbeast 5ca3428aaa Issue mcp-graveyard/UXP#1354 - Don't allow glsl[130,400] unless we have gpu_shader5
- Teach GLContext about gpu_shader5
- Downgrade shader language version if gpu_shader5 support isn't found.
2020-01-16 01:40:30 +01:00
wolfbeast 128c04dfa7 Issue mcp-graveyard/UXP#1354 - Cherry-pick ANGLE update for broken drivers that support
required indexing but not the extensions.
2020-01-16 01:31:47 +01:00
Matt A. Tobin c332e8b29e Bug 1562033
Adjust tokenization of U+0000 (java htmlparser)
2020-01-15 18:10:14 -05:00
Matt A. Tobin 379d1da294 Bug 1347737 - Introduce a new non-heap-allocated type for holding nsStringBuffer* in the HTML parser. (java htmlparser) 2020-01-15 16:55:12 -05:00
Matt A. Tobin c90b0c59ff Bug 1555523 (java htmlparser version) 2020-01-15 16:18:08 -05:00
Matt A. Tobin 243da97811 Bug 1322938 - Make the tree builder aware of <dialog>.
Tag mcp-graveyard/UXP#1343 | https://hg.mozilla.org/projects/htmlparser/rev/d9bdf700af247563fec9b07b52ede6bf61edd513
2020-01-15 15:30:54 -05:00
Matt A. Tobin e28cd17720 Update the java codegen makefile for having the two libs in-tree and change a few target names so they aren't obnoxious 2020-01-15 14:59:35 -05:00
Matt A. Tobin e4edd7585e Add the java javaparser
https://github.com/javaparser/javaparser/
Invisible tag: javaparser-1.0.6
2020-01-15 14:58:11 -05:00
Matt A. Tobin 7150db4a3e Add java htmlparser sources that match the original 52-level state
https://hg.mozilla.org/projects/htmlparser/
Commit: abe62ab2a9b69ccb3b5d8a231ec1ae11154c571d
2020-01-15 14:56:04 -05:00
Matt A. Tobin cec1b64f57 Update gitignore for import of java html5 codegen and parser sources 2020-01-15 14:45:20 -05:00
wolfbeast ac8668671c Issue mcp-graveyard/UXP#1332 - Enable seeking to next frame by default.
The indicated BZ bug was resolved in Gecko 50, and could have already
been enabled before (since it returns a promise as-required).
With the rest of promise-based media implemented it makes no sense to
keep this disabled on production.
2020-01-14 15:51:26 +01:00
wolfbeast 0737ef0ac2 No issue - Remove some unused webextension sync preferences. 2020-01-14 15:48:23 +01:00
wolfbeast 3d6cb69d9d Issue mcp-graveyard/UXP#1319 - Set some obvious prefs for production builds.
This sets some defaults for production builds that should be
self-explanatory.
2020-01-14 15:47:27 +01:00
wolfbeast 45e82ad9ab Issue mcp-graveyard/UXP#1353 - Disable remote jar: URIs by default.
Considering the one exception this was still enabled for on all versions
of Firefox since 45 until our fork point is no longer applicable.
This resolves #1353
2020-01-14 15:29:08 +01:00
wolfbeast c8b2113ac6 No issue - Remove unused network.http.bypass-cachelock-threshold pref. 2020-01-14 15:07:15 +01:00
wolfbeast e53dfd2167 No issue - Don't define gamepad prefs when gamepad support isn't built.
This also sets sane defaults when present. See also #1319.
2020-01-14 14:45:33 +01:00
wolfbeast 0a60e7c563 Issue mcp-graveyard/UXP#1319 - Enable promise debugging only in DEBUG builds. 2020-01-14 14:44:13 +01:00
wolfbeast 6aa0d09272 Issue mcp-graveyard/UXP#1319 - Disable MOZ_LOGGING in production builds.
This makes it only enabled in debug builds, instead, where logging
would be most useful.
2020-01-14 13:35:03 +01:00
wolfbeast a7b7944b86 Issue mcp-graveyard/UXP#1319 - Remove stderr_to_file.
This local-debug function is only useful for Android to work around
issues with logspewing and should never be in production builds anyway.
2020-01-14 13:23:39 +01:00
wolfbeast cbdcfa3c7e Fix comments for NSS PBKDF setup (no code change) 2020-01-14 13:14:57 +01:00
Kai Engert cc8c0c29f0 Issue mcp-graveyard/UXP#1338: Follow-up: Cache the most recent PBKDF2 password hash,
to speed up repeated SDR operations.

Landed on NSS-3.48 for Bug 1606992
2020-01-14 13:08:48 +01:00
wolfbeast 95c450c582 Reinstate the java->c++ source, generator code + documentation.
We've kept the java source up-to-date until its removal, so there should
be very little additional java mangling needed to have it back up to
speed and usable again.

This reverts commit c6446f1126.
2020-01-13 09:32:00 +01:00
wolfbeast 04a405f26c Simplify some alias sets in IonMonkey. 2020-01-11 13:09:17 +01:00
wolfbeast da7eb77790 Prefer file extension as-provided over default extension for mimetype to
look up default applications on Windows
2020-01-11 12:53:56 +01:00
Daiki Ueno 32832c11d6 Issue mcp-graveyard/UXP#1338 - Followup: certdb: propagate trust information if trust
module is loaded afterwards,

Summary: When the builtin trust module is loaded after some temp certs
being created, these temp certs are usually not accompanied by trust
information. This causes a problem in UXP as it loads the module from a
separate thread while accessing the network cache which populates temp
certs.

This change makes it properly roll up the trust information, if a temp
cert doesn't have trust information.
2020-01-10 20:34:53 +01:00
wolfbeast 7ffcc0f803 Update GTK clipboard handling
- Store the clipboard even if it was set in a GTK dialog.
- Fix a GtkTargetList leak.
- Notify GTK that the data is no longer available for
clipboard_get_cb(), so that GTK will no longer advertise nor attempt to
store the data.
2020-01-10 19:40:14 +01:00
wolfbeast ced6f9386e Issue mcp-graveyard/UXP#1338 - Un-bust building of NSS after update to 3.48 on Linux. 2020-01-10 18:17:14 +01:00
wolfbeast d44f572bbf Handle missing base64 challenge in NegotiateAuth and NTLMAuth. 2020-01-09 22:35:03 +01:00
Yaron Tausky dfc398b5c0 Make copy of list before iterating over it. 2020-01-09 22:23:13 +01:00
wolfbeast 60d695307e Be more consistent about decoding IP addresses in PSM. 2020-01-09 21:39:28 +01:00
wolfbeast 88a3ba4387 Simplify value setting.
This gets rid of unused boolean return values on setters and a level of
indirection for calls to set values.
2020-01-09 18:26:06 +01:00
Moonchild 2acd12dc12 Merge pull request #1347 from g4jc/html5_dialog
Implement HMTL5 <dialog>
2020-01-09 13:07:56 +00:00
wolfbeast 2e70d8066a Issue mcp-graveyard/UXP#1348 - Part 3: Set IS_PRIVATE input scope in private browsing.
Microsoft IME on Windows 10 20H1 (build 19025+) supports IME private
mode by input scope. Although previous Windows versions use an
undocumented API for Edge and IE only, the next Windows 10 release will
use a public API for it.
We pre-empt this potential privacy concern by setting the IS_PRIVATE
flag when in PB mode.
2020-01-09 13:22:29 +01:00
wolfbeast cb6d6d31f4 Issue mcp-graveyard/UXP#1348 - Part 2: Teach IMEState about Private Browsing mode. 2020-01-09 13:19:56 +01:00
Makoto Kato 45ec49950a Issue mcp-graveyard/UXP#1348 - Part 1: Clean up input scope support for IMM32.
Use AutoTArray to set input scope.
2020-01-09 09:53:16 +01:00
Gaming4JC 7e6f7f6e37 Bug 1379728 part 1. Remove the double-definition of the 'close' event from EventNameList.h.
Tag mcp-graveyard/UXP#1343
2020-01-07 18:33:24 -05:00
Gaming4JC 9eb5d168b9 Bug 1322938 - Make the HTML tree builder aware of <dialog>.
Original patch by :hsivonen
Tag mcp-graveyard/UXP#1343
2020-01-07 18:33:24 -05:00
Gaming4JC faba3194ec Bug 1322938 - Put <dialog> element behind preference.
Tag mcp-graveyard/UXP#1343
2020-01-07 18:33:23 -05:00
Gaming4JC 9c3ba22166 Bug 1322938 - Update <dialog> element Web Platform Tests expected results.
Tag mcp-graveyard/UXP#1343
2020-01-07 18:33:23 -05:00
Gaming4JC e0852c40b0 Bug 1322938 - Emit close event when HTMLDialogElement.prototype.close() is called.
Tag mcp-graveyard/UXP#1343
2020-01-07 18:33:23 -05:00
Gaming4JC 48e5dc5451 Bug 1322938 - Basic implementation of HTMLDialogElement.
Tag mcp-graveyard/UXP#1343
2020-01-07 18:33:22 -05:00
wolfbeast b134b75195 Reject sample rates that are out-of-range for libsoundtouch.
We never reach this with our normal use of this lib but adding the
sanity check just in case. (ported from upstream)
2020-01-07 21:24:58 +01:00
Moonchild 739e51217d Merge pull request #1346 from JustOff/PR_CSSStyleSheet_legacy
Issue mcp-graveyard/UXP#1345 - Implement non-standard legacy CSSStyleSheet rules
2020-01-07 12:30:21 +00:00
JustOff b05f89dcd4 Issue mcp-graveyard/UXP#1345 - Implement non-standard legacy CSSStyleSheet rules 2020-01-07 13:05:05 +02:00
Moonchild 26dc2759c5 Merge pull request #1341 from MoonchildProductions/nss-work
Update NSPR and NSS
2020-01-04 21:06:45 +00:00
wolfbeast 775ec93f48 Issue mcp-graveyard/UXP#1338 - Part 5: Clobber for NSS update
We usually need this, so just in case.
2020-01-02 21:25:41 +01:00
wolfbeast 25f0a7fe04 Issue mcp-graveyard/UXP#1338 - Part 4: Initialize NSS with desired run-time values.
This NSS version (and onward) has variables to enable PKDBF rounds for
master password hardening (combating brute-force guessing).
Since we use DBM, we need to explicitly enable iteration counts in DBM
mode, and adjust the rounds used with a lower maximum because the PKDBF
routine for DBM is considerably slower for which the NSS default of
10,000 is debilitatingly high.
The method for this is run-time configuration through environment
variables. We set these prior to NSS initialization from nsAppRunner.cpp
so the NSS lib picks them up and allows us to continue using the DBM
cert/key stores with stored rounds per record.
2020-01-02 21:24:54 +01:00
wolfbeast 605171c9e9 Issue mcp-graveyard/UXP#1338 - Part 3: Update NSS symbols 2020-01-02 21:16:43 +01:00
wolfbeast 94b361706e Issue mcp-graveyard/UXP#1338 - Part 2: Update NSS to 3.48-RTM 2020-01-02 21:06:40 +01:00
wolfbeast 3da02d6ad3 Issue mcp-graveyard/UXP#1338 - Part 1: Update NSPR to 4.24 2020-01-02 21:01:38 +01:00
New Tobin Paradigm 73089ac7b9 Merge pull request #1340 from g4jc/mailnews_enhance
OAuth2 updates
2019-12-31 20:17:35 -05:00
Gaming4JC 9b38a449f9 Bug 1599054 - allow callers to ommit sending OAuth2 client_secret parameter. 2019-12-30 20:29:27 -05:00
Gaming4JC 6338351d17 Bug 1597933 - Use URLSearchParams for setting params for OAuth2 authorization request. 2019-12-30 20:29:26 -05:00
Gaming4JC 335e6abff0 Bug 1597933 - use fetch + URLSearchParms instead of Http.jsm to request OAuth2 access token. 2019-12-30 20:29:26 -05:00
Gaming4JC 15cc382892 Bug 1597933 - don't pass string constants to determine OAuth refresh token or not. 2019-12-30 20:29:26 -05:00
Gaming4JC 225d78ebdd Bug 1597933 - improve OAuth2 params parsing. 2019-12-30 20:29:25 -05:00
Gaming4JC b85b9a5da1 Bug 1597933 - clean up OAuth2 code: remove responseType which is always code.
Response type token is part of the OAuth 2.0 Implicit Flow which is not used in Mail Applications, but also discouraged by the OAuth Working Group: https://developer.okta.com/blog/2019/05/01/is-the-oauth-implicit-flow-dead
2019-12-30 20:29:25 -05:00
Gaming4JC b244f1e17b Bug 1453643 - Enable proper retry on oauth2 authenication failure.
This prevents mail applications from  attempting to use an unauthenticated connection to mailbox(s) and avoid unexpected deletion of local mbox files and subsequent re-download of mailbox content over imap.
2019-12-30 20:29:25 -05:00
Gaming4JC a8daeed400 Bug 1176399 - Multiple requests for master password when GMail OAuth2 is enabled. 2019-12-30 20:29:20 -05:00
Moonchild 7fc476b904 Merge pull request #1335 from MoonchildProductions/document_open
Align document.open() with the overhauled specification
2019-12-28 10:14:29 +00:00
Moonchild 04a6e809ae Merge pull request #1336 from athenian200/html-media-hack
Issue mcp-graveyard/UXP#1332 - Backport promise-based media playback.
2019-12-28 10:05:21 +00:00
athenian200 73064b9f53 Fix typo. 2019-12-24 06:53:25 -06:00
athenian200 fe57043011 Issue mcp-graveyard/UXP#1332 - Backport promise-based media playback
https://bugzilla.mozilla.org/show_bug.cgi?id=1244768

I happened to find an older version of the promise-based media playback patch in Bugzilla, the one that was originally submitted for review. It had the DocShell changes I already knew how to deal with, and had fewer of the audio wrapper and nsISupports changes that were confusing me in the later patch. I was able to do a better job getting this back into a UXP-appropriate configuration than I could have with the final version.

I'm honestly still a little unsure about some of the minor refactoring done in the patch itself, insisting on already_AddRefed promises and such, but I don't really know how to avoid those completely. Still, I think it's better than it was.
2019-12-23 09:27:09 -06:00
wolfbeast f4361ba98f Issue mcp-graveyard/UXP#1118 - Part 9: Don't allow reuse of unlinked CallbackObjectHolder. 2019-12-23 01:21:32 +01:00
Moonchild f9114f7646 Merge pull request #1334 from g4jc/bug1333
Don't hang on to pointer from temporary NS_LossyConvertUTF16toASCII.
2019-12-22 23:50:30 +00:00
wolfbeast 52e7d7c5df Issue mcp-graveyard/UXP#1118 - Part 8: Remove no-longer-used mDidDocumentOpen and
CheckForOutdatedParent()

This was only used to check for cases when document.open() changed the
global, and elements being inserted into the document needing a new
reflector as a result.

Since document.open() no longer changes the global, this code is no
longer needed.
2019-12-23 00:04:31 +01:00
wolfbeast 6f21f7fda0 Issue mcp-graveyard/UXP#1118 - Part 7: Remove no-longer-used mWillReparent debug code. 2019-12-23 00:00:23 +01:00
wolfbeast 678084bdf4 Issue mcp-graveyard/UXP#1118 - Part 6: Fix various tests that are no longer correct.
The behavior change of document.open() requires these tests to be
changed to account for the new spec behavior.
2019-12-22 23:48:40 +01:00
Gaming4JC d300867ac3 Bug 1341238 - Don't hang on to pointer from temporary NS_LossyConvertUTF16toASCII.
Resolves #1333
2019-12-22 17:20:23 -05:00
wolfbeast 216e55bf08 Issue mcp-graveyard/UXP#1118 - Part 5: Change the way document.open() works
This changes the work we do for document.open() in the following ways:
- We no longer create a new Window when doing document.open().
  We use the same Window but remove all the event listeners on the
  existing DOM tree and Window before removing the document's existing
  children to provide a clean slate document to use for .write().
- We no longer create a session history entry (previously would be a
  wyciwyg URI). We now replace the current one, effectively losing the
  entry for the original document.
- We now support document.open() on windowless documents.
2019-12-22 19:57:30 +01:00
wolfbeast 29a6a8a805 Forward to new tree structure. 2019-12-22 01:26:49 +01:00
wolfbeast 1fed61bba2 Update README 2019-12-21 22:48:48 +01:00
wolfbeast 58ed1d3065 Issue mcp-graveyard/UXP#1219 - Align computed DOM styles with mainstream behvior.
This updates our behavior for computed DOM styling to no longer return
null on elements that have no display, but return a 0-length (empty)
style instead and don't throw. For this we stop looking at having a
presentation for the style and just look at the document instead.

This resolves #1219
2019-12-20 23:08:47 +01:00
wolfbeast 0d8fcebf08 Enable layers acceleration by default on GTK platforms.
"Why is this still `blocked by default for platform`.. Everyone on Linux
forces it on anyway once they are aware of it." -- Tobin

Tag mcp-graveyard/UXP#1319
2019-12-20 17:59:59 +01:00
wolfbeast 977340dc53 Issue mcp-graveyard/UXP#1316 - Reduce compiler warnings in ICU
This add a few disabled compiler warnings to the compiler flags on MSVC
and specifically filters out the RTTI disabling CL flag to prevent CLI
override warnings.

This resolves #1316
2019-12-19 17:40:52 +01:00
New Tobin Paradigm e2d734ebef Merge pull request #1330 from MoonchildProductions/DOM-promise-removal
DOM `Promise` removal
2019-12-18 23:07:31 -05:00
wolfbeast f829572790 Issue mcp-graveyard/UXP#1322 - Part 4: Fix WebIDL.py parser for line endings and wrong
IDL name
2019-12-19 03:26:59 +01:00
wolfbeast 33cef3b9ce Issue mcp-graveyard/UXP#1322 - Part 3: Remove DOM promise interface gunk
Based on work by Boris Zbarsky
2019-12-19 03:05:45 +01:00
wolfbeast 19ca30d189 Issue mcp-graveyard/UXP#1322 - Part 2: Remove --enable-sm-promise buildconfig switch. 2019-12-19 01:36:07 +01:00
wolfbeast 27862bdb9f Issue mcp-graveyard/UXP#1322 - Part 1: Remove the DOM Promise guts.
This removes all the parts guarded by SPIDERMONKEY_PROMISE
2019-12-19 01:35:24 +01:00
wolfbeast 1137bb402e Issue mcp-graveyard/UXP#1328 - Follow-up: Increase font size for changed monospace fonts.
Previously-used `Courier New` was purposefully used at a smaller font
size due to its width. With the font switch this forced downscaling is
no longer needed, although it should still remain somewhat smaller than
variable width for balance (variable width is inherently more compact).
2019-12-18 17:27:22 +01:00
wolfbeast 0b691d274d Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2019-12-18 13:38:59 +01:00
Chris Peterson 6431ac258e Issue mcp-graveyard/UXP#1328 - Part 3: Add fuzz to reftests and fix misc other tests. 2019-12-18 13:36:53 +01:00
wolfbeast 023241eae1 Issue mcp-graveyard/UXP#1328 - Part 2: Change tests that require Courier New explicitly. 2019-12-18 13:22:53 +01:00
wolfbeast 507359d654 Issue mcp-graveyard/UXP#1328 - Part 1: Change default monospace font to Consolas for all
localizations where this would be set to Courier New.
2019-12-18 13:08:39 +01:00
Matt A. Tobin 6b60ffe152 No Issue - Fix indentation and account for system libevent in ipc/chromium/moz.build 2019-12-17 19:06:03 -05:00
Moonchild 889d8f5679 Merge pull request #1327 from g4jc/async_iteration
Implement Async Iteration in SpiderMonkey

This resolves #1287
2019-12-17 21:47:18 +00:00
Gaming4JC d7f00a42f0 Bug 1454285 - Part 2: Disallow using innermostEmitterScope while the value does not match the bytecode environment.
Tag mcp-graveyard/UXP#1287
2019-12-17 06:25:31 -05:00
Gaming4JC 29519a1835 Bug 1454285 - Part 1: Specify the current scope when emitting await and .generator.
Tag mcp-graveyard/UXP#1287
2019-12-17 06:25:31 -05:00
Gaming4JC 3d654b51ea Bug 1352312 - Enable Async Iteration.
Tag mcp-graveyard/UXP#1287
2019-12-17 06:25:30 -05:00
Gaming4JC 892af1b47f Bug 1390082 - Implement AsyncGeneratorQueue with simpler array operations.
Tag mcp-graveyard/UXP#1287

Note: Without ReadableStream implementation
2019-12-17 06:25:30 -05:00
Gaming4JC a3298a7be2 Bug 1379525 - Part 2: Properly handle rejection in async-from-sync iteration.
Tag mcp-graveyard/UXP#1287
2019-12-17 06:25:30 -05:00
Gaming4JC 8886df0c13 Bug 1379525 - Part 1: Await on the value before yielding or returning inside async generator.
Tag mcp-graveyard/UXP#1287
2019-12-17 06:25:29 -05:00
Gaming4JC c8a39577f3 Bug 1364608 - Stash rval in AsyncIteratorClose.
Tag mcp-graveyard/UXP#1287
2019-12-17 06:25:29 -05:00
Gaming4JC 5cc17a3212 Bug 1355399 - Switch property retrieval in Async-from-Sync Iterator prototype methods.
Tag mcp-graveyard/UXP#1287
2019-12-17 06:25:29 -05:00
Gaming4JC 11bc25aece Bug 1331092 - Part 11: Await on the innerResult.value when innerResult.done is true in yield*.
Tag mcp-graveyard/UXP#1287
2019-12-17 06:25:29 -05:00
Gaming4JC 7e3b1b1658 Bug 1331092 - Part 9: Implement for-await-of.
Tag mcp-graveyard/UXP#1287
2019-12-17 06:25:28 -05:00
Gaming4JC 3207c8c409 Bug 1331092 - Part 8: Support JSOP_TOASYNCITER in JIT.
Tag mcp-graveyard/UXP#1287
2019-12-17 06:25:28 -05:00
Gaming4JC 769e83126f Bug 1331092 - Part 7: Implement Async Generator yield*.
Tag mcp-graveyard/UXP#1287
2019-12-17 06:25:28 -05:00
Gaming4JC a752a9f9de Bug 1331092 - Part 6: Support JSOP_TOASYNCGEN in JIT.
Tag mcp-graveyard/UXP#1287
2019-12-17 06:25:27 -05:00
Gaming4JC 9c40813058 Bug 1331092 - Part 2: Implement Async Generator except yield*.
Tag mcp-graveyard/UXP#1287
2019-12-17 06:25:27 -05:00
Gaming4JC 1317fe2d98 Bug 1331092 - Part 2: Implement Async Generator except yield*.
Tag mcp-graveyard/UXP#1287
2019-12-17 06:25:27 -05:00
Gaming4JC a0424f44ab Bug 1331092 - Part 1: Add Symbol.asyncIterator.
Tag mcp-graveyard/UXP#1287
2019-12-17 06:25:26 -05:00
Gaming4JC fb61c47969 Bug 1331092 - Part 0: Define NOMINMAX to avoid compile error from min/max macro on windows.
Tag mcp-graveyard/UXP#1287
2019-12-17 06:25:26 -05:00
Gaming4JC e16bb0eb48 Bug 1317389: Change property attributes for generator and async functions to match ES2015/2017.
Tag mcp-graveyard/UXP#1287
2019-12-17 06:25:26 -05:00
Gaming4JC ed233633cd Bug 1344753 - Update for-of stack depth in ControlFlowGenerator::processWhileOrForInLoop.
Tag mcp-graveyard/UXP#1287
2019-12-17 06:25:25 -05:00
Gaming4JC f8e41dc198 Bug 1316098 - Optimize out result object allocation for await/return in async function.
Tag mcp-graveyard/UXP#1287
2019-12-17 06:25:25 -05:00
Gaming4JC 60fa4f3a84 Bug 1343481 - Part 7: Add BytecodeEmitter::emitDotGenerator and make yield/await nodes unary.
Tag mcp-graveyard/UXP#1287
2019-12-17 06:25:25 -05:00
Gaming4JC 211ec44c01 Bug 1343481 - Part 6: Add native functions wrapper for GetInternalError and GetTypeError.
Tag mcp-graveyard/UXP#1287
2019-12-17 06:25:25 -05:00
Gaming4JC 4901a777f7 Bug 1343481 - Part 5: Rename AsyncFunction-related names in Promise.cpp to explicitly say Async Function.
Tag mcp-graveyard/UXP#1287
2019-12-17 06:25:24 -05:00
Gaming4JC 625c279582 Bug 1343481 - Part 4: Add Add GeneratorObject.{isAfterYield,isAfterAwait}.
Tag mcp-graveyard/UXP#1287
2019-12-17 06:25:24 -05:00
Gaming4JC f2837e9b02 Bug 1343481 - Part 3: Add JSOP_AWAIT and rename {yieldIndex,yieldOffset} to {yieldAndAwaitIndex,yieldAndAwaitOffset}.
Tag mcp-graveyard/UXP#1287
2019-12-17 06:25:24 -05:00
Gaming4JC 4d12f7f7d8 Bug 1343481 - Part 2: Stop using StarGegerator for async function.
Tag mcp-graveyard/UXP#1287
2019-12-17 06:25:23 -05:00
Gaming4JC f439384d73 Bug 1343481 - Part 1: Remove {JSFunction,JSScript,LazyScript}.isGenerator() method.
Tag mcp-graveyard/UXP#1287
2019-12-17 06:25:23 -05:00
Gaming4JC 1a4e3c2712 Bug 1336705 - Part 2: Add self-hosting intrinsics for resolving/rejecting Promises and adding reactions.
Tag mcp-graveyard/UXP#1287
2019-12-17 06:25:23 -05:00
Gaming4JC 08a3ccbc43 Bug 336705 - Part 1: Support creating and resolving Promises without resolve/reject functions.
Useful for internally-created Promises that'll only ever be resolved/rejected internally.

Tag mcp-graveyard/UXP#1287
2019-12-17 06:25:22 -05:00
Gaming4JC 9658783b01 Bug 1317376 - Part 2: Detect Promise self-resolution when resolving through the Promise resolving fast path.
Tag mcp-graveyard/UXP#1287
2019-12-17 06:25:22 -05:00
Gaming4JC 1eec102651 Bug 1317376 - Part 1: Remove unreachable code and remnants from the self-hosted implementation.
Tag mcp-graveyard/UXP#1287
2019-12-17 06:25:16 -05:00
Matt A. Tobin a5d7070bcf Issue mcp-graveyard/UXP#1323 - Move XULRunner back to topsrcdir 2019-12-16 20:09:38 -05:00
Matt A. Tobin 658c49bf5e Remove Basilisk from the Unified XUL Platform repository
Development will proceed at https://github.com/MoonchildProductions/Basilisk
2019-12-16 13:57:01 -05:00
wolfbeast 56c091a6c4 Update 7z-stub README to reflect the current state of its use. 2019-12-15 01:34:51 +01:00
wolfbeast a6dbd044e2 Update metadata in UXP 7z-stub installer 2019-12-15 01:25:32 +01:00
Matt A. Tobin 34c4b38917 Remove Pale Moon 7zstub 2019-12-14 17:31:53 -05:00
Matt A. Tobin 4102db60bc Remove Pale Moon from the Unified XUL Platform repository
Development will proceed at https://github.com/MoonchildProductions/Pale-Moon
2019-12-14 14:37:24 -05:00
wolfbeast e6676efafc Issue mcp-graveyard/UXP#1317 - Increase the XML nested depth limit to 2048.
- Converts from macro to static const for the limit.
- Uses a check against the declared type for the counter instead of
  a hard-coded one.

This resolves #1317.
2019-12-12 17:00:08 +01:00
wolfbeast 8a3e1d98f4 Update default bookmarks toolbar FAQ entry to redirect to forum. 2019-12-12 01:10:24 +01:00
wolfbeast 8c6e42b3e4 New cycle version bump 2019-12-10 15:06:57 +01:00
Matt A. Tobin 841e34a782 No Issue - Execute the precomplete command on *nix AltPackaging
Windows does not need this as mar generation is dependent on the NSIS Installer which already contains the call
2019-12-09 00:02:17 -05:00
wolfbeast c3878a82d4 Merge branch 'release' 2019-12-07 08:46:46 +01:00
New Tobin Paradigm 9ee16d8fb1 Merge pull request #1314 from g4jc/mailnews_patches
Mailnews Nov/Dec Updates
2019-12-06 19:18:39 -05:00
wolfbeast 92b058235e Merge branch 'master' into release 2019-12-06 23:39:47 +01:00
wolfbeast 836448e6c3 Update NSS version. 2019-12-06 17:13:09 +01:00
wolfbeast 9c72a76416 Add missing call to WaitForIsDebuggerRegistered 2019-12-06 17:03:06 +01:00
Craig Disselkoen caca92fcbd [NSS] Bug 1586176 - EncryptUpdate should use maxout not block size. 2019-12-06 16:06:30 +01:00
Christian Holler 6a6e8099d6 Check return value of PeerConnectionImpl::GetFingerprint. 2019-12-06 15:53:50 +01:00
J.C. Jones 259dd9f46f [NSS] Bug 1508776 - Remove unneeded refcounting from SFTKSession
SFTKSession objects are only ever actually destroyed at PK11 session
closure, as the session is always the final holder -- and asserting
refCount == 1 shows that to be true. Because of that, NSC_CloseSession
can just call `sftk_DestroySession` directly and leave
`sftk_FreeSession` as a no-op to be removed in the future.
2019-12-06 15:36:44 +01:00
wolfbeast 4275b15cf4 Initialize all fields of GdkEvents in nsClipboard.cpp 2019-12-06 15:08:10 +01:00
wolfbeast a3ee3b29f2 Fix incorrect values for saving ordered lists as text. 2019-12-06 14:54:57 +01:00
wolfbeast 830818b685 Update identifier map entries and notify if they get removed.
This can happen through DestroyElementMaps()
Based on work by Markus Stange and Edgar Chen.
2019-12-06 14:07:01 +01:00
Jonathan Kew ede803a81f Check if we're already at the end of the frame's content. 2019-12-06 13:42:37 +01:00
Valentin Gosu 55a869d918 Use mutex in PACResolver when accessing mRequest from multiple threads. 2019-12-06 13:01:55 +01:00
David Parks 5c4c1abcad Properly detect failure in receiving plugin NPObjects.
Properly handles NPError reporting and makes sure that, in the case of
failure, it does not return junk for the NPObject.
2019-12-06 12:28:18 +01:00
wolfbeast e8be887f14 Issue mcp-graveyard/UXP#1313 - Bump Firefox compatMode version to 68.9
This resolves #1313.
2019-12-04 11:04:46 +01:00
Gaming4JC e24617b716 Bug 1571481 - Improve multipart/alternative.
w/ Fixup for 1464056 - Follow-up: rename pref to align with mailnews.p7m_external (which was already in 52.x but missing a single line)

Tag mcp-graveyard/UXP#1311
2019-12-02 23:50:23 -05:00
Gaming4JC 61d49fcfc4 Bug 1482248 - don't crash on empty file name in nsMsgLocalStoreUtils::nsShouldIgnoreFile.
Tag mcp-graveyard/UXP#1311
2019-12-02 23:50:22 -05:00
Gaming4JC 2386f4a712 Bug 1509685 - Add more bounds checking in nsMsgDBView::UpdateDisplayMessage() to avoid crashes
Tag mcp-graveyard/UXP#1311
2019-12-02 23:50:22 -05:00
Moonchild 05d5663a92 Merge pull request #1310 from MoonchildProductions/jemalloc_cleanup
Clean up Jemalloc code
2019-12-03 00:36:26 +00:00
wolfbeast 05c21f06c6 Issue mcp-graveyard/UXP#1307 - Part 8: Remove deprecated sysctl.h inclusion. 2019-12-02 09:54:40 +01:00
Matt A. Tobin c0663cb1e4 No Issue - Add checking in platform/ for clobber.py because it can only know hardcoded values in comm-style configurations 2019-12-01 06:54:58 -05:00
wolfbeast a3c727c669 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2019-12-01 06:31:56 +01:00
wolfbeast 119153885b Issue mcp-graveyard/UXP#1309 - Fix handling of display rows where the elements are not
forming a monotonically increasing sequence (e.g. with position:sticky)

Relative positioning can cause table parts to move, which can cause
issues with the cursor position to know which rows can be skipped.
To make this work, use the max difference between the frame's rect and
the union of the frame's "normal" position and the overflow rect to
cover the area of relatively positioned elements even if they are out of
order.

This resolves #1309.
2019-12-01 06:31:26 +01:00
wolfbeast 6b21a2dd12 Issue mcp-graveyard/UXP#1308 - Create nsDisplayTableBackgroundColor to avoid display
list collisions when processing the background color of a table.

This is effectively #146 Part 3c to go along with the other 2 there.

This resolves #1308.
2019-12-01 06:20:05 +01:00
Matt A. Tobin 7ef359937f No Issue - Don't use a hard coded path for win_srcdir in comm-style configurations 2019-11-30 14:01:19 -05:00
wolfbeast fd6bb8ef0e Issue mcp-graveyard/UXP#1307 - Part 7: Add missing MALLOC_STATS 2019-11-30 18:37:15 +01:00
wolfbeast 04b63ef837 Issue mcp-graveyard/UXP#1307 - Part 6: Remove dead code behind PTHREAD_MMAP_UNALIGNED_TSD 2019-11-30 18:36:15 +01:00
wolfbeast 782ea478d0 Issue mcp-graveyard/UXP#1307 - Part 5: Remove allocation tracing.
Pointless for debugging and a major performance sink.
2019-11-30 17:32:36 +01:00
wolfbeast b24aa77b4b Issue mcp-graveyard/UXP#1307 - Part 4: Stop using variable-length arrays.
"USING VLA'S IS ACTIVELY STUPID! It generates much more code, and much
slower code (and more fragile code), than just using a fixed key size
would have done." -- Linus Torvalds
2019-11-30 15:42:59 +01:00
wolfbeast 8e6c921a89 Issue mcp-graveyard/UXP#1307 - Part 3: Assume MOZ_MEMORY is always enabled.
We never use jemalloc without MOZ_MEMORY surrounding code (mostly a
FreeBSD concession which doesn't work anyway). This allows us to get rid
of the "poor man's mutex" (CPU-based spinlock) in mozjemalloc.
2019-11-30 15:30:32 +01:00
Matt A. Tobin 323d9b6373 Issue mcp-graveyard/UXP#1306 - Move bundled fonts to toolkit 2019-11-30 09:13:54 -05:00
wolfbeast b0f93563c5 Issue mcp-graveyard/UXP#1307 - Part 2: Remove disabled code blocks 2019-11-30 15:05:28 +01:00
wolfbeast 424a47dd56 Issue mcp-graveyard/UXP#1307 - Part 1: Remove MALLOC_VALIDATE
This basic validation is hard-set to always-on, so no point in keeping
it conditional since we basically always want this rudimentary pointer
validation to be done.
2019-11-30 14:57:44 +01:00
wolfbeast ca366862ba No issue - Clean up libxul mozbuild a little
- Remove delayload dlls from which there are no imports
- Remove leftover MOZ_RUST config bit.
2019-11-30 01:26:45 +01:00
wolfbeast c18d045e46 Issue mcp-graveyard/UXP#1302 followup - Add spec-compliance checks/errors
- Check for undefined/null regex flags (because...)
- Make it throw a typeerror instead of syntax error on non-global
- Generalize JS error messages for these checks.
2019-11-30 00:46:07 +01:00
Mats Palmgren 2638cbc6e8 Remove unnecessary calls to ReparentFloatsForInlineChild in
nsInlineFrame.
2019-11-29 10:48:50 +01:00
wolfbeast e2dc5904e0 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2019-11-29 00:19:45 +01:00
Mats Palmgren 8825898131 Simplify the overflow child frame reparenting in
nsInlineFrame::DestroyFrom.
2019-11-29 00:19:03 +01:00
New Tobin Paradigm 73d56b8a96 Merge pull request #1305 from adeshkp/patch-13
Issue mcp-graveyard/UXP#1258 - Remove remaining chat core bits
2019-11-28 14:13:42 -05:00
adeshkp c928460bc1 Issue mcp-graveyard/UXP#1258 - Remove remaining chat core bits
This fixes Interlink build on Mac.
2019-11-28 23:14:25 +05:30
Matt A. Tobin addf77e071 Issue mcp-graveyard/UXP#1304 - Make the second arg of insertRule optional 2019-11-28 07:54:49 -05:00
Matt A. Tobin ef52eb2134 Allow Solaris to use alt packaging for Pale Moon and Basilisk 2019-11-28 02:23:54 -05:00
Matt A. Tobin c4c5ee77bf Fix typo in application./basilisk/build.mk 2019-11-28 02:20:28 -05:00
Matt A. Tobin bbc4724769 Issue mcp-graveyard/UXP#1303 - Add langpack generation targets for Pale Moon and Basilisk
* The langpack is not generated via the package target but IS for mozpackage target using old behavior
* Add mach command to specifically generate the langpack when needed without the rest of the packaging routine (mach langpack)
2019-11-28 00:17:32 -05:00
Matt A. Tobin 4852a3d032 No Issue - Use alternative packaging for Pale Moon and Basilisk
* This adds what will eventually be a rewritten packaging routine while maintaining backwards compatibility with the original mozilla routine
* Changes the build target and installer makefile to use the alternative packaging
* Adds build target to specifically invoke the original mozilla routine
* Update mach commands accordingly
2019-11-27 13:21:01 -05:00
wolfbeast dc7b31a88e Issue mcp-graveyard/UXP#1302 - Add self-hosted implementation for string regex .matchAll
This resolves #1302.
2019-11-26 13:37:09 +01:00
Moonchild faf5c9d1a6 Merge pull request #1301 from JustOff/PR_mm_script_cache
Clear the message manager script cache when updating and removing add-ons
2019-11-25 14:43:21 +00:00
wolfbeast 63057aaf0b Issue mcp-graveyard/UXP#1254 - Update embedded emoji font to 0.5.0 (Twemoji 12.1.3) for
Emoji 12 support.
2019-11-24 17:08:31 +01:00
wolfbeast af1f54aab9 Add crashtest for resolved bug 1558522. 2019-11-24 17:06:39 +01:00
JustOff f77d8488c5 Issue mcp-graveyard/UXP#1300 - Clear the message manager script cache when updating and removing add-ons 2019-11-22 14:05:53 +02:00
athenian200 ecbfdea26a Issue mcp-graveyard/UXP#1251 - Remove obsolete XP_QSORT reference.
I didn't include this in my initial PR because I assumed this part
was not relevant to UXP. I was asked to submit this while the MailNews rebase
was going on, but I was late with my patch and didn't quite grasp that this
specifically was still needed.

My counterpart at Mozilla, Petr Sumbara, has gotten his version of this
approved.

https://bugzilla.mozilla.org/show_bug.cgi?id=1568473
2019-11-20 00:40:30 -05:00
Moonchild d56a16dfcf Remove duplicate localization note
The note -used- to be where I inserted it but was apparently moved further down by Mozilla, outside of my FoV.
2019-11-19 14:31:52 +01:00
wolfbeast df487fb0a7 Issue mcp-graveyard/UXP#447 - Update HSTS preload list 2019-11-19 09:46:25 +00:00
wolfbeast 7d087bc424 Issue mcp-graveyard/UXP#1242 - Reinstate GPU Accelerated Windows entry in about:support
This resolves #1242.
2019-11-19 03:40:50 +01:00
Moonchild 1686da6b17 Merge pull request #1298 from g4jc/b1284
Update js/src/builtin/TestingFunctions.cpp for /s (dotAll) regular expression changes
2019-11-19 02:08:52 +00:00
Gaming4JC 8ad486e911 Issue mcp-graveyard/UXP#1284 - Update js/src/builtin/TestingFunctions.cpp for /s (dotAll) regular expression changes
This fixes debug builds
2019-11-18 19:30:45 -05:00
wolfbeast e6355a0833 Issue mcp-graveyard/UXP#1284 - Implement /s (dotAll) for regular expressions, v2.
Resolves #1284.
2019-11-18 16:50:40 +01:00
Moonchild 8ed0b19a03 Merge pull request #1297 from athenian200/compiler-warning
Fix a compiler warning in ipc/chromium/src/base/sys_info_posix.cc.
2019-11-18 13:13:38 +00:00
athenian200 50a9839d5b Issue mcp-graveyard/UXP#457 - Fix typo in ipc/chromium/src/base/sys_info_posix.cc
I made a typo in commit 687a789 when updating the ifdef style I used to comply with UXP standards. The typo I made resulted in a compiler warning I failed to notice, so I was asked to tag issue #457 when submitting the PR. I also fixed some trailing whitespace I apparently left behind in the file.
2019-11-18 06:40:09 -06:00
wolfbeast 26cf669b00 Revert "Issue mcp-graveyard/UXP#1284 - Implement /s (dotAll) for regular expressions."
This reverts commit f31b04a303.
2019-11-18 13:34:18 +01:00
wolfbeast b3da1e4c75 Issue mcp-graveyard/UXP#1284 - Implement /s (dotAll) for regular expressions.
Resolves #1284.
2019-11-18 12:20:44 +01:00
Moonchild 842391ff71 Merge pull request #1293 from JustOff/PR_widevine_strings
Adjust Widewine strings after removing Adobe Primetime support
2019-11-17 10:05:33 +00:00
Moonchild c160d3db8b Merge pull request #1294 from g4jc/bug_1288
Use NS_DECL_THREADSAFE_ISUPPORTS in HttpBaseChannel.cpp
2019-11-17 10:02:57 +00:00
Gaming4JC 5e0c2ff40a Issue mcp-graveyard/UXP#1288 - Use NS_DECL_THREADSAFE_ISUPPORTS in HttpBaseChannel.cpp
Fixes a regression in Part 1b which caused HTML5 parser to fall off the main thread.
2019-11-16 19:17:54 -05:00
JustOff 221a2365f6 Issue mcp-graveyard/UXP#1259 - Adjust Widewine strings after removing Adobe Primetime support 2019-11-16 16:01:44 +02:00
Matt A. Tobin 487eba2da4 Merge branch 'master' into mailnews-work 2019-11-15 17:37:54 -05:00
wolfbeast 5c317122dc Merge branch 'fdlibm-work'
This resolves #1291
2019-11-15 15:25:48 +01:00
wolfbeast 909290177a Issue mcp-graveyard/UXP#1291 - Part 4: Update patch files 2019-11-15 15:17:37 +01:00
wolfbeast 9dbda938c6 Issue mcp-graveyard/UXP#1291 - Part 3: Update fdlibm to Sept 2019 version 2019-11-15 15:17:01 +01:00
wolfbeast 38111936da Issue mcp-graveyard/UXP#1291 - Part 2: Stop using the lib's sqrt() function
Use <cmath>'s functions over fdlibm's for performance reasons.
No significant precision loss when doing this.
2019-11-15 14:00:18 +01:00
wolfbeast 897d5f5fff Issue mcp-graveyard/UXP#1291 - Part 1: Ensure exp(1) returns e exactly (use a const) 2019-11-15 13:51:29 +01:00
wolfbeast e9d48c4e0b Issue mcp-graveyard/UXP#80 - Stop building embedded xz lib unified 2019-11-15 13:02:37 +01:00
wolfbeast 3790d468ad Issue mcp-graveyard/UXP#80 - Stop building woff2 lib unified 2019-11-15 13:02:09 +01:00
wolfbeast 7a470bb508 Issue mcp-graveyard/UXP#80 - Stop building brotli lib unified 2019-11-15 13:01:47 +01:00
wolfbeast 0f8f33ecf9 Add Ekoru to the included search engines.
This provides a charity-supporting search engine option focused on
the planet's health and animal welfare.
Since this engine is based on Bing search, it provides a balancing
alternative to Ecosia (Google-based) with similar eco goals.
2019-11-15 11:06:37 +01:00
New Tobin Paradigm a71aac37a0 Merge pull request #1290 from g4jc/bug_1279
Update TestingFunctions.cpp for regex lookbehind changes
2019-11-14 22:44:54 -05:00
Gaming4JC 18cdac3fd6 Issue mcp-graveyard/UXP#1279 - Update js/src/builtin/TestingFunctions.cpp for regex lookbehind changes
This fixes debug builds
2019-11-14 22:40:15 -05:00
Matt A. Tobin 4ae219c8d2 Bug 1592407 - Port OAuth2 decoding fix from gData add-on. 2019-11-14 21:56:13 -05:00
Matt A. Tobin b2edcb2b4d Merge branch 'master' into mailnews-work 2019-11-14 21:08:43 -05:00
Matt A. Tobin febc581f89 [Mach] Add stage command to execute stage-package 2019-11-14 21:08:18 -05:00
wolfbeast fd7ffdf613 Issue mcp-graveyard/UXP#1289 - Part 4: Update Pale Moon UI.
This swaps the UI choice to using the new boolean pref instead of
enforcement level.
2019-11-14 12:26:32 +01:00
wolfbeast 16446cc6f7 Issue mcp-graveyard/UXP#1289 - Part 3: Update tests. 2019-11-14 12:17:00 +01:00
wolfbeast 43f8c485cf Issue mcp-graveyard/UXP#1289 - Part 2: Clear out the preload list except for test
domains.
2019-11-14 12:16:21 +01:00
wolfbeast 9659e3209a Issue mcp-graveyard/UXP#1289 - Part 1: Add a pref to disable HPKP header processing. 2019-11-14 12:13:54 +01:00
wolfbeast d6e23367ed Issue mcp-graveyard/UXP#1288 - Part 5: Pass graphite fonts through OTS.
Since the updated OTS supports proper checking of graphite fonts we no
longer need to rely of harfbuzz for them.
2019-11-14 10:09:50 +01:00
wolfbeast 5401dbbc6b Issue mcp-graveyard/UXP#1288 - Part 4: Update the OpenType Sanitizer component to 8.0.0 2019-11-14 10:07:01 +01:00
wolfbeast 2532cc0964 Issue mcp-graveyard/UXP#1288 - Part 3: Update woff2 component to 1.0.2 2019-11-14 10:02:36 +01:00
wolfbeast 5227f9902e Issue mcp-graveyard/UXP#1288 - Part 2: Add a partial LZ4 decompression routine.
This function never writes beyond `aDest` + `aMaxOutputSize`, and is
therefore protexted against malicious datapackets.
It also ignores unconsumed input upon reaching `aMaxOutputSize` and can
therefore be used for parial decompression of LZ4 input up to a desired
resulting size of decompressed data.
2019-11-14 09:51:07 +01:00
wolfbeast 35e9b2ccca Issue mcp-graveyard/UXP#1288 - Part 1b: Rewrite nsHTTPCompressConv.
This also includes formatting changes.
2019-11-14 09:46:28 +01:00
wolfbeast 774fb33b73 Issue mcp-graveyard/UXP#1288 - Part 1a: Update brotli to 1.0.7
This also reorganizes the exports in the build system to use `brotli/`
as include directory.
2019-11-14 09:07:29 +01:00
Matt A. Tobin 7b2f0197c3 Merge branch 'master' into mailnews-work 2019-11-13 05:54:58 -05:00
Matt A. Tobin 56f61917d9 Issue mcp-graveyard/UXP#1258 - Follow up to Part 8: Ifdef MailNews OAuth2 Support
Ifdef second authOAuth2 string in emailWizard.js
2019-11-12 23:39:44 -05:00
Matt A. Tobin bd2e27c61e Bug 1494764 - Removed MOZ_ASSERT but now still process line where it would occur.
MOZ_ASSERT changed to NS_WARNING. Also correctly handle case where last chunk ends with \r. Tested to make sure that regression identified in Bug 1494764 comment 10 remains fixed and that non-chunked and chunked messages are handled correctly including when \r\n is split between chunks.

Tag mcp-graveyard/UXP#1273
2019-11-12 23:01:21 -05:00
Matt A. Tobin c7dcf24705 Manually revert Bug 1494764 - Removed MOZ_ASSERT but now still process line where it would occur.
Tag mcp-graveyard/UXP#1273
2019-11-12 22:58:56 -05:00
Matt A. Tobin cd6d5893b8 Issue mcp-graveyard/UXP#1258 - Follow up to Part 8: Ifdef MailNews OAuth2 Support
Fix verifyConfig.js
2019-11-12 22:23:29 -05:00
Matt A. Tobin 7a272156ba Issue mcp-graveyard/UXP#1258 - Part 10: Remove chat core bits 2019-11-12 21:31:48 -05:00
Matt A. Tobin f8d7abc5e1 Issue mcp-graveyard/UXP#1258 - Follow up to Part 8: Ifdef MailNews OAuth2 Support 2019-11-12 20:13:48 -05:00
wolfbeast 2dc96a7d10 Merge branch 'issue-1279' 2019-11-12 17:03:28 +01:00
André Bargull fb7d48ecf2 Issue mcp-graveyard/UXP#1283 - Implement Promise.prototype.finally()
This resolves #1283.
2019-11-12 17:02:16 +01:00
wolfbeast 66df474990 Issue mcp-graveyard/UXP#1279 - Implement regular expression lookbehind
Based on Tom Schuster's work, with extra minters for unicode.
2019-11-11 23:37:35 +01:00
Matt A. Tobin 9a6accfa03 Issue mcp-graveyard/UXP#1258 - Part 9: Add close-icon class to close button in newmailalert.xul 2019-11-11 16:08:49 -05:00
Matt A. Tobin e68d075d2d Bug 1584473 - Follow-up: Remove leftover references to nsIMdbRowCellCursor::MakeCell() in comments.
Tag mcp-graveyard/UXP#1273
2019-11-11 02:13:13 -05:00
Matt A. Tobin c3c060daf8 Bug 726655 - Add null check in nsMsgDBView::GetThreadContainingMsgHdr() to avoid crash.
Tag mcp-graveyard/UXP#1273
2019-11-11 02:11:46 -05:00
Matt A. Tobin 8871b247a7 Bug 786683 - check success of GetFilePath() throughout nsMsgBrkMBoxStore.cpp.
Tag mcp-graveyard/UXP#1273
2019-11-11 02:10:24 -05:00
Matt A. Tobin eadea6d5a7 Bug 1584473 - Fix several issues
* Fix undefined HRESULT codes in class CMapiApi in MapiApi.cpp.
* Fix doubled up sub-expressions in MIME and MAPI.
* Remove broken/unused morkRowCellCursor::MakeCell()

Tag mcp-graveyard/UXP#1273
2019-11-11 02:08:59 -05:00
Matt A. Tobin dd25ce1236 Bug 1240290
Tag mcp-graveyard/UXP#1273
2019-11-11 01:56:34 -05:00
Matt A. Tobin 217c2972ba Bug 1580187 - Add null check to avoid crash in nsImapService::NewChannel().
Tag mcp-graveyard/UXP#1273
2019-11-11 01:53:00 -05:00
Matt A. Tobin 99f0981e14 Bug 1568095 - Make morkAtom::GetYarn() static.
Tag mcp-graveyard/UXP#1273
2019-11-11 01:49:50 -05:00
Matt A. Tobin 7c2224c9d5 Bugs 1437282, 1438590, 1506587, and 1498795
* strip unnecessary ==== padding in base64 text.
* Extension of the characters to be encoded (quoted-printable) according to RFC2047.
* Remove unwanted characters from headers. Compact extraneous white space in display name to avoid sender address spoofing.
* Be more tolerant of spaces in base64-encoded RFC 2047 tokens.

Tag mcp-graveyard/UXP#1273
2019-11-11 01:48:09 -05:00
Matt A. Tobin b404c98279 Bug 1558595
Tag mcp-graveyard/UXP#1273
2019-11-11 01:35:01 -05:00
Matt A. Tobin 656e8d6fef Bug 1315662 - delete SMTP server login credentials when deleting the account or if hostname/username changes.
Tag mcp-graveyard/UXP#1273
2019-11-11 01:26:42 -05:00
Matt A. Tobin 47711961a4 Bug 1338715 - Remove Outlook Express import
Tag mcp-graveyard/UXP#1273
2019-11-11 01:22:58 -05:00
Matt A. Tobin b5d045de0a Bug 1554098 - deduce RSS media enclosures type from extension when missing.
Tag mcp-graveyard/UXP#1273
2019-11-11 01:15:16 -05:00
Matt A. Tobin 2cca7aa6de Bug 1480063 - Remove mimeEncodeSubject (encodeMimePartIIStr_UTF8) from feeds.
Tag mcp-graveyard/UXP#1273
2019-11-11 01:12:23 -05:00
Matt A. Tobin 8576b730d8 Bug 1528496 - Correctly fix Bug 1023285 and utf8 addressing header display for jsmime.
Tag mcp-graveyard/UXP#1273
2019-11-11 01:08:45 -05:00
Matt A. Tobin 5b61428725 Bug 1423487 - Support multiple authors in RSS feeds.
Tag mcp-graveyard/UXP#1273
2019-11-11 01:04:46 -05:00
Matt A. Tobin 3890d6e709 Bug 1167982 - Do charset detection for all text/* attachments in composition, not just text/plain.
Tag mcp-graveyard/UXP#1273
2019-11-11 00:54:45 -05:00
Matt A. Tobin f4190453b1 Bug 522450 - Place mail copy on the correct folder when using Reply to List
This bug never landed in c-c

Tag mcp-graveyard/UXP#1273
2019-11-11 00:43:17 -05:00
Matt A. Tobin b0df123b6d Tails 6156 - Fix outdated error handling in accountcreation and remove buggy debug code
Tag mcp-graveyard/UXP#1273
2019-11-11 00:39:20 -05:00
Matt A. Tobin 6847bac8bb Bug 971347 - Fix autoconfig vulnerable to active MITM attacks for all domains (including the ones in ISPDB)
Tag mcp-graveyard/UXP#1273
2019-11-11 00:37:33 -05:00
Matt A. Tobin 0c036d992a Bug 1020971 - Port bug 1015664: Remove NS_HIDDEN and friends.
Tag mcp-graveyard/UXP#1273
2019-11-11 00:27:30 -05:00
Matt A. Tobin 137f7d7d10 Bug 1546840 - Allow GloDa queries for read or unread messages
Tag mcp-graveyard/UXP#1273
2019-11-11 00:22:33 -05:00
Matt A. Tobin 923f68a72a Bug 1508054 - reduce exposed API of nsMsgHdr.
Tag mcp-graveyard/UXP#1273
2019-11-11 00:00:30 -05:00
Matt A. Tobin 523a605aef Bug 1386601 - experimental patch to investigate Thunderbird topcrash, serializes S/MIME verification.
Tag mcp-graveyard/UXP#1273
2019-11-10 23:58:23 -05:00
Matt A. Tobin c2e3714db7 Bug 1495698 - Fix hang when HTML signature references non-existent image.
Tag mcp-graveyard/UXP#1273
2019-11-10 23:56:17 -05:00
Matt A. Tobin 52e78d51fa Bug 1525120 - Fix condition for decoding attachments (base64/qp) when saving or forwarding.
Tag mcp-graveyard/UXP#1273
2019-11-10 23:51:05 -05:00
Matt A. Tobin 22d731aad4 Bugs 1507218 and 1528615
Tag mcp-graveyard/UXP#1273
2019-11-10 23:49:16 -05:00
Matt A. Tobin 9710946cde Bugs 1402750 and 1490331 - Declare the character set correctly in the 'PGP add-on is missing' message.
Tag mcp-graveyard/UXP#1273
2019-11-10 23:45:23 -05:00
Matt A. Tobin a9385a6d16 Bug 1523048 - when copying a filter, copy its triggering events too (filterType).
Tag mcp-graveyard/UXP#1273
2019-11-10 23:41:56 -05:00
Matt A. Tobin 4980b44042 Bug 393302 - Correct memory handling in MAPISendMail() and CMapiImp::SendMail() to fix "Send to > Mail Recipient" crash.
Tag mcp-graveyard/UXP#1273
2019-11-10 23:38:54 -05:00
Matt A. Tobin 6c55a23ded Bug 1517464 - Fix crash in SMTP DTOR by properly initializing/testing pointer.
Tag mcp-graveyard/UXP#1273
2019-11-10 23:34:36 -05:00
Matt A. Tobin facc01c9cb Bug 906469 - fix maildir crash while parsing a folder.
Tag mcp-graveyard/UXP#1273
2019-11-10 23:09:17 -05:00
Matt A. Tobin 2c72ee1584 Bugs 1512557 and 1470716 - Convert nsIStringBundle pointers to nsCOMPtrs and release them when shutting down.
Tag mcp-graveyard/UXP#1273
2019-11-10 23:06:51 -05:00
Matt A. Tobin a8b5d5aae3 Bug 390721 - When parsing headers to cancel an article, also use folded lines.
Tag mcp-graveyard/UXP#1273
2019-11-10 23:01:33 -05:00
Matt A. Tobin 34f833e2fe Bug 809513 - Prevent unread Drafts from showing in new mail notification.
Change mainly affects Windows. However, Linux integration also changed so that it also allows new mail notification to occur for folder with SentMail flag.

Tag mcp-graveyard/UXP#1273
2019-11-10 22:59:41 -05:00
Matt A. Tobin e8c95f6a7b Bug 1271353 - check own email addresses case-insensitively in correspondents column and ignore plus addressing part.
Tag mcp-graveyard/UXP#1273
2019-11-10 22:56:15 -05:00
Matt A. Tobin 9778075317 Bug 1401858 - add null check to avoid crash in EncodedHeader()/DecodedHeader().
Tag mcp-graveyard/UXP#1273
2019-11-10 22:54:16 -05:00
Matt A. Tobin f66e346962 Bug 342632 - Allow defaultAccount to return success with nullptr result when there is no usable account.
Tag mcp-graveyard/UXP#1273
2019-11-10 22:51:10 -05:00
Matt A. Tobin 4a37b21f31 Bug 1508046 - return cleanly in LDAP autocomplete search if we are offline.
Tag mcp-graveyard/UXP#1273
2019-11-10 22:21:59 -05:00
Matt A. Tobin 29f106ff54 Bug 1507718 - crash in nsImapProtocol::GetMessageSize(). Make m_hostSessionList an nsCOMPtr.
Tag mcp-graveyard/UXP#1273
2019-11-10 22:20:52 -05:00
Matt A. Tobin d9905c697f Bug 1320475 - Fix broken controllers for cmd_printcard and cmd_printcardpreview.
Tag mcp-graveyard/UXP#1273
2019-11-10 22:19:01 -05:00
Matt A. Tobin 1d461f73f2 Bug 344205 - React correctly to NO/BAD tagged response to imap IDLE.
User is notifified and IDLE state is not entered if IDLE command fails.

Tag mcp-graveyard/UXP#1273
2019-11-10 22:13:47 -05:00
Matt A. Tobin c32365d1c0 Bug 1257058 - Distinguish 'empty password' from no password received to avoid shutdown crash.
Tag mcp-graveyard/UXP#1273
2019-11-10 22:01:39 -05:00
Matt A. Tobin 14c3c0c87f Bug 1333038 - Use 'modern' pointers to fix crash due to nsMsgLineStreamBuffer object being deleted while still in use.
Suspected "use after free" in nsMsgLineStreamBuffer::ReadNextLine() leading to crash since object may be destroyed while still in use on another thread.

Tag mcp-graveyard/UXP#1273
2019-11-10 21:59:52 -05:00
Matt A. Tobin ebf52df3de Bug 1494764 - Removed MOZ_ASSERT but now still process line where it would occur.
MOZ_ASSERT changed to NS_WARNING. Also correctly handle case where last chunk ends with \r. Tested to make sure that regression identified in Bug 1494764 comment 10 remains fixed and that non-chunked and chunked messages are handled correctly including when \r\n is split between chunks.

Tag mcp-graveyard/UXP#1273
2019-11-10 21:55:53 -05:00
Matt A. Tobin 48543b2c0f Bug 145113 - Make "next chunk starts with newline" flag a member variable to fix MOZ_ASSERT().
Tag mcp-graveyard/UXP#1273
2019-11-10 21:18:30 -05:00
Matt A. Tobin eedd0cfe08 Bug 1442648 - Fix mismatched types in mingw-w64 builds (const char16_t*/char16ptr_t).
When cross-compiling for Windows on Linux, fix mismatched types in nsMsgImapSearch.cpp. nsString::get() returns a char16ptr_t (with MOZ_USE_CHAR16_WRAPPER) and that causes a mismatch so we cast it to a const char16_t*. usAsciiCharSet is declared as a nsAutoString so we instead declare it as a char16_t* to avoid subsequent type mismatches.

Tag mcp-graveyard/UXP#1273
2019-11-10 21:16:23 -05:00
Matt A. Tobin 7bc47af367 Bug 1317117 - call msgStore folder deletion during imap/news empty trash.
Also factors out some common code into nsMSgDBFolder::Delete(), and makes a couple of incidental changes to try and clarify the responsibilies of nsIMsgPluggableStore::DeleteFolder().

Tag mcp-graveyard/UXP#1273
2019-11-10 20:27:19 -05:00
Matt A. Tobin e63599a84a Bug 1444389 - Fix crash in nsImapProtocol::HandleMessageDownLoadLine().
Tag mcp-graveyard/UXP#1273
2019-11-10 20:22:34 -05:00
Matt A. Tobin 7f8457a0c5 Bug 1216951 - Fix broken handling of split CR and LF between chunks.
Tag mcp-graveyard/UXP#1273
2019-11-10 20:21:01 -05:00
Matt A. Tobin acd5f72fc2 Revert "Issue mcp-graveyard/UXP#1273 - Remove Telemetry from Gloda"
This reverts commit 4db1ae892b.
2019-11-10 20:14:28 -05:00
Matt A. Tobin f06b398f1c Bug 1416033 - remove some unneeded includes in mailnews
Tag mcp-graveyard/UXP#1273
2019-11-10 20:14:13 -05:00
Matt A. Tobin 35983da94f Bug 1399756 - (More) Code clean-up: Style nits, typos and trailing spaces
Tag mcp-graveyard/UXP#1273
2019-11-10 19:36:14 -05:00
Matt A. Tobin 04c32829fa Bug 1393219 - Code clean-up: Style nits, typos and trailing spaces
Tag mcp-graveyard/UXP#1273
2019-11-10 19:32:24 -05:00
Matt A. Tobin fb9946df2e Bug 825513 - Fix crash in nsImapProtocol::GetMessageSize() by adding null check for m_runningUrl && m_hostSessionList.
Tag mcp-graveyard/UXP#1273
2019-11-10 19:23:39 -05:00
Matt A. Tobin e99ab480e0 Bug 1462316 - fix crash in nsAbView::OnItemAdded().
Tag mcp-graveyard/UXP#1273
2019-11-10 19:18:58 -05:00
Matt A. Tobin 5502eacc04 Bug 646901 - add error checking to fix crash in nsMsgXFVirtualFolderDBView::OnSearchHit().
dbToUse was null

Rag #1273
2019-11-10 19:17:09 -05:00
Matt A. Tobin d9d54285a2 Bug 1487082 - Resolve potential for build bustage regarding bad implicit conversion constructors
* Part 1: make conversion CTORs explicit.
  Minor tweaks to conform with new(ish) static analysis rule which flags up implicit single-argument conversion constructors.
* Part 2: fix a couple of double-mRefCnt declaration errors.
* Part 3: Fix unsafe use of NS_ConvertASCIItoUTF16().

Tag mcp-graveyard/UXP#1273
2019-11-10 19:11:03 -05:00
Matt A. Tobin 5d70fb9117 Issue mcp-graveyard/UXP#1273 - Remove Telemetry from Gloda 2019-11-10 18:53:43 -05:00
Matt A. Tobin 5801fa3d60 Bug 1427732 - fix newline handling when copying messages and compacting folders.
Tag mcp-graveyard/UXP#1273
2019-11-10 18:43:43 -05:00
Matt A. Tobin 425faea10e Bug 1227761 - Fix logic error in BuildAttachmentList().
First attachment cannot be saved if MIME message has no body part.

Tag mcp-graveyard/UXP#1273
2019-11-10 18:13:59 -05:00
Matt A. Tobin 2cdc61fd7d Bug 1079280 - Don't transmit email when imap append response is bad.
This only applies to non-literal+ appends. Bad response typically occurs when {size} parameter of append command is larger than server can accept. This prevents TB from sending megabytes of data to a server that has already rejected it.

Tag mcp-graveyard/UXP#1273
2019-11-10 18:11:49 -05:00
Matt A. Tobin ed9ff02bb9 Bug 1404049 - fix that mail.imap.use_literal_plus set to false may have no effect.
This is because it was only used in response to a CAPABILITY imap request. However, often CAPABILITY response occurs without a request so TB sees no need to do a request. Fix by moving the usage of use_literal_plus to where LITERAL+ capability is actually used.

Tag mcp-graveyard/UXP#1273
2019-11-10 18:06:51 -05:00
Matt A. Tobin ddc8effb11 Bug 1461106 - Remove SMTP password from cache when deleted from password manager to prevent stale connection attempts.
Tag mcp-graveyard/UXP#1273
2019-11-10 17:55:10 -05:00
Matt A. Tobin 68cb8ce4f7 Bug 516464 - Remove passwords from cache when password manager contents are changed to prevent stale password attempts.
Tag mcp-graveyard/UXP#1273
2019-11-10 17:53:59 -05:00
Matt A. Tobin a9ed17ec48 Bug 1328847 - Change SEC_NORMAL to SEC_ALLOW_CROSS_ORIGIN_DATA_IS_NULL where system principal is used.
Tag mcp-graveyard/UXP#1273
2019-11-10 17:25:51 -05:00
Matt A. Tobin d829472e9b Merge branch 'master' into mailnews-work 2019-11-10 15:43:51 -05:00
New Tobin Paradigm 560cde4f21 Merge pull request #1277 from adeshkp/remove-adobe-primetime
Remove Adobe Primetime support
2019-11-10 15:35:44 -05:00
wolfbeast 699dc3b03b Issue mcp-graveyard/UXP#618 - Flip on module type scripting. 2019-11-10 13:35:47 +01:00
Moonchild 03eb499591 Merge pull request #1278 from MoonchildProductions/js-modules
Partial solution for JS modules
2019-11-10 13:33:18 +01:00
wolfbeast d99ddc7d3d Issue mcp-graveyard/UXP#618 - Misc fixes (merge conflicts) 2019-11-10 13:02:28 +01:00
adeshkp b37bdb67d4 Issue mcp-graveyard/UXP#1259 - Part 7. Update tests for Adobe EME removal 2019-11-10 06:04:09 -05:00
adeshkp 32600fe046 Issue mcp-graveyard/UXP#1259 - Part 6. Remobe Adobe EME from Basilisk frontend 2019-11-10 06:03:50 -05:00
adeshkp 6b6dad1aad Issue mcp-graveyard/UXP#1259 - Part 5. Remove migration path for Adobe GMP storage
As a cleanup task, also remove GMP storage migration for Fx 42 era.
2019-11-10 06:03:32 -05:00
adeshkp 652502df61 Issue mcp-graveyard/UXP#1259 - Part 4. Remove Adobe EME from GMPUtils 2019-11-10 06:03:11 -05:00
adeshkp 4803fa3eca Issue mcp-graveyard/UXP#1259 - Part 3. Remove Adobe EME as a GMP source 2019-11-10 06:02:47 -05:00
adeshkp 8ad6f11d68 Issue mcp-graveyard/UXP#1259 - Part 2. Remove Adobe Primetime localization strings 2019-11-10 06:02:21 -05:00
adeshkp fa82695eec Issue mcp-graveyard/UXP#1259 - Part 1. Remove Adobe Primetime support from tree 2019-11-10 06:01:40 -05:00
wolfbeast ef6dd98ee8 Merge branch 'master' into js-modules
# Conflicts:
#	modules/libpref/init/all.js
2019-11-10 11:39:27 +01:00
wolfbeast bed03f0416 Issue mcp-graveyard/UXP#447 - Improve the getHSTSPreloadList script
- Use HEAD instead of GET for probe to avoid loading pages
- Reduce retries to 2
- Reduce timeout to 10 s (since we're just getting a HEAD this is royal)
- Identify ourselves to websites as an automated tool
- Improve performance of list merging (O(n^2) was getting too expensive)
- Add a total counter and perform GC every 200 requests
2019-11-09 13:10:23 +01:00
wolfbeast f698c679b8 Issue mcp-graveyard/UXP#447 - Update HSTS preload list. 2019-11-09 11:02:21 +01:00
wolfbeast 8a771511a3 Issue mcp-graveyard/UXP#1254 - Update SQLite to 3.30.1 2019-11-08 22:26:31 +01:00
Moonchild 6b6385f86e Merge pull request #1276 from MoonchildProductions/cairo-work
Update the in-tree cairo code.
2019-11-08 10:54:27 +01:00
Moonchild 294dc6c119 Merge pull request #1214 from MoonchildProductions/certexception-work
Fix Certificate Exception dialog logic
2019-11-08 10:54:10 +01:00
wolfbeast 55d1a64c05 Issue mcp-graveyard/UXP#1263 - Part 2: Remove DiskSpaceWatcher tests 2019-11-08 10:49:46 +01:00
wolfbeast ae78b7da60 Issue mcp-graveyard/UXP#1263 - Part 1: Remove DiskSpaceWatcher 2019-11-08 10:49:03 +01:00
wolfbeast 6308e5657b Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2019-11-07 16:53:15 +01:00
wolfbeast 8ee035aa05 Issue mcp-graveyard/UXP#1275 - Add pref to disable warning prompts for SuperfluousAuth
and AutomaticAuth, and default to not prompting.

This resolves #1275.
2019-11-07 16:52:33 +01:00
wolfbeast 0535824e1c Issue mcp-graveyard/UXP#1274 - Part 5: Misc fixes and version update. 2019-11-07 14:54:30 +01:00
wolfbeast 7a7862cdfe Issue mcp-graveyard/UXP#1274 - Part 4: Remove some unnecessary checks for old Windows versions.
This gets rid of deprecated GetVersionEx() calls as a bonus.
2019-11-07 14:53:12 +01:00
wolfbeast 1c8d9e671c Issue mcp-graveyard/UXP#1274 - Part 3: Update libpixman licensing 2019-11-07 14:51:48 +01:00
wolfbeast 1485933152 Issue mcp-graveyard/UXP#1274 - Part 2: Update Windows prerequisite defines. 2019-11-07 14:50:49 +01:00
wolfbeast 62a754c36a Issue mcp-graveyard/UXP#1274 - Part 1: Adopt the cairo version as our own.
- Move header licensing from tri-license to MPL 2.0. MPL-compatible
  other licensing has been retained where originally present.
- Remove individual superseded licensing terms.
- Remove patches, outdated readmes & incomplete patch summaries.
- Remove incomplete cairo release notes (only went up to 1.6.4 anyway).
- Rewrite COPYING to indicate the current state of the library in tree.
2019-11-07 14:49:48 +01:00
Matt A. Tobin fa1e3a3d7d Issue mcp-graveyard/UXP#1258 - Part 8: Ifdef MailNews OAuth2 Support
Use --disable-mailnews-oauth2 to exclude it. Confvars won't be respected.
2019-11-05 18:27:14 -05:00
Matt A. Tobin 152481e086 Merge branch 'master' into mailnews-work 2019-11-05 11:36:03 -05:00
wolfbeast e4cf7d61b1 Issue mcp-graveyard/UXP#1064 - Part 3: Fix notifyObservers() call. 2019-11-04 15:05:23 +01:00
wolfbeast 35e4815a9d Issue mcp-graveyard/UXP#1064 - Part 2: Fix shorthand and services module import. 2019-11-04 15:04:12 +01:00
wolfbeast 372b2884b6 Merge branch 'master' into certexception-work 2019-11-04 13:31:30 +01:00
wolfbeast 5e19d7effe Issue mcp-graveyard/UXP#1252 - Remove fragile fast path.
This resolves #1252.
2019-11-04 11:40:18 +00:00
wolfbeast 826061ed31 Merge branch 'table-sticky-work'
This resolves #146.
2019-11-04 08:41:48 +01:00
Matt A. Tobin 23697c05c9 Issue mcp-graveyard/UXP#1258 - Part 7: UXP Specific fixes
* This includes Bug 1326433 for Janek fallout (ldap already had this fix)
2019-11-03 22:50:47 -05:00
Matt A. Tobin 2d5e595f10 Issue mcp-graveyard/UXP#1258 - Part 6: Add MOZ_MOVEMAIL to MOZ_MAILNEWS configure logic 2019-11-03 21:21:22 -05:00
Matt A. Tobin c7badbd5e7 Issue mcp-graveyard/UXP#1258 - Part 5: Only IceDove cares about Thunderbird's baby mode account creation 2019-11-03 20:22:14 -05:00
Matt A. Tobin 923fcdf102 Issue mcp-graveyard/UXP#1258 - Part 4: Remove Add IM Account from Account Manager 2019-11-03 20:13:04 -05:00
New Tobin Paradigm 0deb3ddca1 Merge pull request #1272 from g4jc/libcubeb
Fix build failure in current in-tree libcubeb sndio module
2019-11-03 19:49:27 -05:00
Gaming4JC e43bd33786 Issue mcp-graveyard/UXP#1271 - Fix build failure in current in-tree libcubeb sndio module
Fixes build error due to errant typecast in PTHREAD_MUTEX_INITIALIZER.
2019-11-03 19:19:07 -05:00
wolfbeast 8e3075f9d8 Bump Goanna version. 2019-11-03 22:36:56 +01:00
Matt A. Tobin 8a892cfac4 Issue mcp-graveyard/UXP#1258 - Part 3: Make mailnews and friends build 2019-11-03 15:33:58 -05:00
Matt A. Tobin 509aa41eae Merge branch 'master' into mailnews-work 2019-11-03 14:35:17 -05:00
Matt A. Tobin 659b162dbb Revert "Issue mcp-graveyard/UXP#1267 - Part 1: Update libcubeb to a1200c34."
This reverts commit d162ecbaff.
2019-11-03 14:14:26 -05:00
Matt A. Tobin 72ff589d92 Revert "Issue mcp-graveyard/UXP#1267 - Part 2: fix libcubeb bindings in dom"
This reverts commit 22b35fa8e9.
2019-11-03 14:14:19 -05:00
wolfbeast c3526e77c8 Issue mcp-graveyard/UXP#146 - Part 7: Remove no longer relevant reftest. 2019-11-03 19:45:49 +01:00
wolfbeast 62a9340def Issue mcp-graveyard/UXP#146 - Part 6: Allow position: sticky on table elements. 2019-11-03 19:43:51 +01:00
Matt A. Tobin 9ed4414232 Issue mcp-graveyard/UXP#1258 - Part 2: Use binoc-central version of ldap 2019-11-03 13:17:15 -05:00
wolfbeast 0910ee77c2 Issue mcp-graveyard/UXP#146 - Part 5: Treat table row groups as containing blocks.
This aligns our behavior with Gecko/Blink.
2019-11-03 19:09:47 +01:00
wolfbeast 6d3d5e4ee8 Issue mcp-graveyard/UXP#146 - Part 4: Adjust tests for fixes.
This also adds a reftest for border radius on collapsed borders (should
be ignored according to the CSS3 standard). We didn't do this before,
except on internal elements.
2019-11-03 18:49:57 +01:00
Matt A. Tobin 6349ceee67 Merge branch 'master' into mailnews-work 2019-11-03 11:56:57 -05:00
wolfbeast 98ea5cca86 Issue mcp-graveyard/UXP#146 - Part 3: Create nsDisplayTableBackgroundImage to avoid
display list collisions when processing the background image of a table.
2019-11-03 17:25:37 +01:00
wolfbeast 046f1ee24f Issue mcp-graveyard/UXP#146 - Part 3: Create nsDisplayTableFixedPosition to avoid display
list collisions when processing the background image of a table.
2019-11-03 15:12:34 +01:00
Moonchild 47cbf31ea3 Merge pull request #1269 from g4jc/sndio
Expose sndio as a build option for any supporting system
2019-11-03 11:21:09 +01:00
Moonchild 590d7a334b Merge pull request #1270 from g4jc/libcubeb
Update libcubeb
2019-11-03 11:20:08 +01:00
Matt A. Tobin 08aaeffab2 Issue mcp-graveyard/UXP#1258 - Part 1: Import mailnews, ldap, and mork from comm-esr52.9.1 2019-11-03 00:17:46 -04:00
Gaming4JC 2335499123 Issue mcp-graveyard/UXP#1267 - Part 2: fix libcubeb bindings in dom 2019-11-02 23:02:54 -04:00
Gaming4JC 54126adc68 Issue mcp-graveyard/UXP#1267 - Part 1: Update libcubeb to a1200c34. 2019-11-02 23:02:42 -04:00
Gaming4JC 5ef1483362 Issue mcp-graveyard/UXP#1265 - Expose sndio as a build option for any supporting system 2019-11-02 20:31:13 -04:00
wolfbeast 3061f83a49 Issue mcp-graveyard/UXP#146 - Part 2: Remove custom table painting component.
Since we're now putting table borders and backgrounds properly in the
display lists, we no longer need this custom component to do this work
for us.
2019-11-02 23:10:06 +01:00
wolfbeast 787ec5e40f Issue mcp-graveyard/UXP#146 - Part 1: Draw each table's background on their own display
list items.

This patch does the following things:
1. Creates nsDisplayTableBorderCollapse that draws all collapse border
of tables.
2. Stops the use of nsDisplayTableBorderBackground.
3. Lets column and column group frames generate display items.
4. When traversing the table, also traverses the column and column group
frames.
5. For each type of table frame (col group, col, row group, row and
cell), draws their own background.
2019-11-02 22:42:07 +01:00
Moonchild ac253a52fc Merge pull request #1262 from athenian200/solaris-work
Support Modern Solaris
2019-11-02 14:37:22 +01:00
wolfbeast 63038fbb2c #1261 - Update status bar component for the removal of Object.(un)watch
This fixes the regression from #1257 by adding in an
Object.prototype.watch() shim, based on Eli Grey's polyfill.

This resolves #1261.
2019-11-01 21:55:13 +01:00
athenian200 659c7a7d6d Fix nits.
I hope this addresses everything.
2019-10-31 19:35:03 -05:00
wolfbeast 7cb37ac8db Issue mcp-graveyard/UXP#1257 - Part 3: Remove/update tests.
This removes a ton of tests that are no longer relevant with (un)watch
removed (e.g. testing stability/bugs in the watchpoint system itself
which has never been the most stable), and updates others that would
previously rely on watch/unwatch, so that they don't unexpectedly fail.
2019-10-27 02:14:16 +01:00
wolfbeast 09ebbf9a05 Issue mcp-graveyard/UXP#1257 - Part 2: Remove watch/unwatch and JS watchpoint class. 2019-10-27 02:51:11 +02:00
wolfbeast cf660c0a24 Issue mcp-graveyard/UXP#1257 - Part1: Remove watch class-hook and proxy trap. 2019-10-26 16:19:04 +02:00
wolfbeast 60df0a6516 Force clobber. 2019-10-24 22:43:40 +02:00
wolfbeast 185056063c Update NSS version 2019-10-24 22:43:28 +02:00
Kevin Jacobs 7e30dfc8d3 Add length checks for cryptographic primitives
This rollup patch adds additional length checks around cryptographic
primitives.
2019-10-24 22:43:18 +02:00
wolfbeast 013fde32de Support longer (up to RFC maximum) HKDF outputs
HKDF-Expand enforces a maximum output length much shorter than stated in
the RFC. This patch aligns the implementation with the RFC by allocating
more output space when necessary.
2019-10-24 22:43:06 +02:00
wolfbeast 2a6377fd70 Add size checks to WebGLContext::BufferData()
On MacOS, particularly large allocations within the platform limits
(1.2G+) will fail and crash. This adds a specific size check for that
when working around driver bugs (default).
While there, added a generic size_t limited size check for the
platform, and reporting OOM if too large.
2019-10-24 22:42:34 +02:00
wolfbeast d32fb60c58 Fix type barrier in IonBuilder::jsop_getimport. 2019-10-24 22:42:21 +02:00
Henri Sivonen 19af0d7187 Adjust tokenization of U+0000 2019-10-24 22:42:09 +02:00
Byron Campen 56c2d962a3 Prevent nr_ice_component_insert_pair from leaking. 2019-10-24 22:41:56 +02:00
wolfbeast ecee9d576f Leverage strings to get working dirs in nsUpdateDriver. 2019-10-24 22:41:44 +02:00
wolfbeast d983711fa6 Merge branch 'nss-work' 2019-10-24 22:41:05 +02:00
wolfbeast f2de955864 Force clobber. 2019-10-24 17:58:40 +02:00
wolfbeast 19e4b3303b Update NSS version 2019-10-24 16:52:46 +02:00
Kevin Jacobs 4a1f84505b Add length checks for cryptographic primitives
This rollup patch adds additional length checks around cryptographic
primitives.
2019-10-24 16:47:28 +02:00
wolfbeast 7e4b50cc58 Support longer (up to RFC maximum) HKDF outputs
HKDF-Expand enforces a maximum output length much shorter than stated in
the RFC. This patch aligns the implementation with the RFC by allocating
more output space when necessary.
2019-10-24 16:14:41 +02:00
wolfbeast b4192a712e Add size checks to WebGLContext::BufferData()
On MacOS, particularly large allocations within the platform limits
(1.2G+) will fail and crash. This adds a specific size check for that
when working around driver bugs (default).
While there, added a generic size_t limited size check for the
platform, and reporting OOM if too large.
2019-10-24 12:17:39 +02:00
wolfbeast ac4fb68b0c Fix type barrier in IonBuilder::jsop_getimport. 2019-10-24 12:13:26 +02:00
Henri Sivonen 19d6e938b4 Adjust tokenization of U+0000 2019-10-24 11:43:25 +02:00
Byron Campen f62a9f82c2 Prevent nr_ice_component_insert_pair from leaking. 2019-10-24 10:28:26 +02:00
wolfbeast ebc73709fd Leverage strings to get working dirs in nsUpdateDriver. 2019-10-23 16:40:29 +02:00
Simon Giesecke d949a2713f Ensure that file actors created after the database was closed are expired. 2019-10-23 13:25:21 +02:00
wolfbeast f94d55fc9d Avoid following the prototype chain
No longer follow the value's prototype chain when creating index updates
in IndexedDB.
2019-10-23 13:25:08 +02:00
wolfbeast 7a6876cf32 Issue mcp-graveyard/UXP#1255 - Port upstream fix from libexpat 2019-10-23 13:24:36 +02:00
wolfbeast 0223fb620b Issue mcp-graveyard/UXP#1253 - Reset performance object on navigation
This also addresses clearing of document dependent JS slots which might
get out of sync with innerWindow navigation; relevant comments added.

This resolves #1253
2019-10-23 13:24:20 +02:00
Simon Giesecke 6dacee6f60 Ensure that file actors created after the database was closed are expired. 2019-10-23 12:19:15 +02:00
wolfbeast e996c44880 Avoid following the prototype chain
No longer follow the value's prototype chain when creating index updates
in IndexedDB.
2019-10-23 11:29:38 +02:00
wolfbeast 7b24ea0f93 Add null check in Http2Session::RecvAltSvc 2019-10-23 10:50:55 +02:00
wolfbeast 22c83a87f7 Issue mcp-graveyard/UXP#1255 - Port upstream fix from libexpat 2019-10-23 10:32:13 +02:00
wolfbeast bd24404ada Avoid uint32_t overflow in js shell by checking size of file before
trying to stuff something insanely large into a Uint8Array.

See also: BMO 1571911
2019-10-22 20:57:58 +02:00
wolfbeast 648404b373 Issue mcp-graveyard/UXP#1253 - Reset performance object on navigation
This also addresses clearing of document dependent JS slots which might
get out of sync with innerWindow navigation; relevant comments added.

This resolves #1253
2019-10-21 22:29:42 +02:00
athenian200 6da3518d4f MoonchildProductions#1251 - Part 27: Fix ifdef style.
This should do it for all the commits to files I changed, but while I'm in here I could probably go ahead and turn ALL the singular if defined statements into ifdef statements by using grep/find on the tree. On the other hand, perhaps we should do that as a separate issue so that this doesn't become a case of scope creep.
2019-10-21 04:53:45 -05:00
athenian200 b16492e023 MoonchildProductions#1251 - Part 26: Oracle Solaris gsed/ICU fix.
OpenIndiana didn't need this for some reason, but on Oracle Solaris, we need this to make sure we're using gsed (GNU sed) here. It's probably a safer bet anyway.
2019-10-21 04:53:44 -05:00
athenian200 cc8ff09bf0 MoonchildProductions#1251 - Part 25: Fix link paths.
This fix is a bit ugly and may need to be changed later if we switch a new GCC version, but the fact is that we use an architecture-specific path for GCC libraries on Solaris, so knowing the right prefix for GCC would only help so much, because it would still need to decide between ${gccdir}/lib and ${gccdir}/lib/amd64. The MOZ_FIX_LINK_PATHS variable puts the search paths into the right order without the need for me to use elfedit on the binaries afterwards.
2019-10-21 04:53:44 -05:00
athenian200 1982ae21e8 MoonchildProductions#1251 - Part 24: Remove temporary GNU M4 workaround.
We finally found where configure was failing. Apparently they just invoked m4 without regard for TOOLCHAIN_PREFIX. Easy to fix, difficult to find.
2019-10-21 04:53:44 -05:00
athenian200 fb195d6cc9 MoonchildProductions#1251 - Part 23: Allow AMD64 build to work.
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Compiling_32-bit_Firefox_on_a_Linux_64-bit_OS

Setting this up turned out to be easier than I thought it would be. All I had to do was apply these instructions in reverse and add the following to my .mozconfig file:

CC="gcc -m64"
CXX="g++ -m64"
AS="gas --64"
ac_add_options --target=x86_64-pc-solaris2.11
export PKG_CONFIG_PATH=/usr/lib/amd64/pkgconfig
ac_add_options --libdir=/usr/lib/amd64
ac_add_options --x-libraries=/usr/lib/amd64

Most of these changes were fairly trivial, just requiring me to make a few of the changes I made earlier conditional on a 32-bit build. The biggest challenge was figuring out why the JavaScript engine triggered a segfault everytime it tried to allocate memory. But this patch fixes it:

https://github.com/OpenIndiana/oi-userland/blob/oi/hipster/components/web/firefox/patches/patch-js_src_gc_Memory.cpp.patch

Turns out that Solaris on AMD64 handles memory management in a fairly unusual way with a segmented memory model, but it's not that different from what we see on other 64-bit processors. In fact, I saw a SPARC crash for a similar reason, and noticed that it looked just like mine except the numbers in the first segment were reversed. Having played around with hex editors before, I had a feeling I might be dealing with a little-endian version of a big-endian problem, but I didn't expect that knowledge to actually yield an easy solution.

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

https://www.oracle.com/technetwork/server-storage/solaris10/solaris-memory-135224.html

As far as I can tell, this was the last barrier to an AMD64 Solaris build of Pale Moon.
2019-10-21 04:53:44 -05:00
athenian200 972a1186ed MoonchildProductions#1251 - Part 22: Remove some unused type declarations from IPC process_util.
https://bugzilla.mozilla.org/show_bug.cgi?id=1397928

Was looking into that _POSIX_PATH_MAX/NAME_MAX issue earlier because it didn't make a lot of sense and I was thinking of other approaches besides char arrays, and I wanted to make sure it didn't cause problems after they did it. Turns out that one commit after this was added, Mozilla determined the code I was working on fixing to be dead code as of Firefox 58. I don't know if it's dead code in Pale Moon as well, but given that it compiles fine without it and I can't find any other references to szExeFile in the IPC code, that seems like a safe bet.

Besides, I determined config/pathsub.c already seems to do what this code looks like it's trying to do, and implements the solution of just defining NAME_MAX to 256 and having done with it that I nearly adopted after realizing that even OS/2 and BeOS, let alone Unix/Linux systems, all basically use that value and there's just disagreement on which system header to check for it.
2019-10-21 04:53:44 -05:00
athenian200 28e24ebb36 MoonchildProductions#1251 - Part 21: Fix Flash player and some extensions being incompatible.
https://github.com/oracle/solaris-userland/blob/82dd4adb0eca729372074d62435e00a783d95b1f/components/desktop/firefox/patches/firefox-49-npapi.patch

The first fix was something I found on Oracle's patchset and allowed me to use the last Flash Player compiled for Solaris, from all the way back in 2012. Still works with most Flash content.

The second is an evolution of what I had to do to get Interlink to compile. For Interlink, I basically had to copy the contents of any boolean values from confvars.sh into the empty moz.configure file, otherwise nothing would get configured. I decided to test whether Pale Moon had the same issue, and it turned out that it wasn't as bad as on Interlink, but it was still pure luck that the browser component built at all, because MOZ_PHOENIX and other important flags were apparently not being defined at all, hence why I couldn't get half the extensions to be compatible at first.

I don't know why this is the case, but apparently configure.in isn't able to import values from confvars.sh. old-configure.in seems immune to the problem that application-specific configure.in files were experiencing, though. confvars.sh itself seems to work fine with values that aren't passed along via configure.in, though. So it's the interface between those two files that is messed up.
2019-10-21 04:53:43 -05:00
athenian200 24898cd1c0 Fix a bunch of dumb typos and omissions. 2019-10-21 04:53:43 -05:00
athenian200 2e908a8b2c MoonchildProductions#1251 - Part 20: Add atomic.h to system-headers.
https://bugzilla.mozilla.org/show_bug.cgi?id=1369061

OpenIndiana used a much messier fix for this, but this one was used by Mozilla and looks a lot cleaner. It shouldn't interfere with any other targets, but if it does, the messy version of this fix basically involves rewriting the Solaris version of atomicops_internals_solaris.h to use GCC compiler intrinsics for atomic operations directly. It absolutely works, but it's gross to look at.

https://github.com/OpenIndiana/oi-userland/blob/3b246b0b385735b092a88f58f9baa9799ee34761/components/web/firefox/patches/01-FF43.0b3_OpenSXCE_x86_x64.patch

Another fix may be possible by preventing config/gcc-hidden.h from being included, or possibly using well-placed GCC pragmas to solve the visibility issues.
2019-10-21 04:53:43 -05:00
athenian200 925459ceca MoonchildProductions#1251 - Part 19: Make the unpreprocessed file script work on Solaris.
https://www.tachytelic.net/2019/01/grep-recursively/

During testing, I tried simply replacing grep with ggrep, which was non-portable but worked fine. Using an environment variable with os.getenv set to 'g' also worked, but the problem with that approach is that you have to set it manually and some times the script will mess up if you don't explictly define it to an empty string for platforms that don't need it.

Setting TOOLCHAIN_PREFIX to 'g' seemed to solve all of my problems except this one, and it appears to be the only non-portable use of GNU grep in the whole tree. To understand what I tried to do here, let me present with you with two commands that yield the same output on my machine:

find . -name '*.xul' | xargs grep -E "#include"

ggrep -E -r "#include" --include="*.xul" .

I just tried to make the Python script follow the logic of those two commands, though I'm not sure how well I succeeded since I got no errors. I visualized everything this way:

ggrep -E -r "<strings>" --include="<filesuffixes>" <path>

find <path> -name '<filesuffixes>' | xargs grep -E "<strings>"

And arranged it all accordingly to the best of my ability, though I should point out that Python is not my strong suit.
2019-10-21 04:53:42 -05:00
athenian200 9f08158cab MoonchildProductions#1251 - Part 18: (Hopefully) final version of build system fixes.
I hope I can just apply these nice, clean changes and have everything work without having to make a mess again.
2019-10-21 04:53:42 -05:00
athenian200 364a02364d MoonchildProductions#1251 - Part 17: All the libffi and libxul.so issues, resolved.
https://bugzilla.mozilla.org/show_bug.cgi?id=1185424
http://www.mindfruit.co.uk/2012/06/relocations-relocations.html

The libxul.so fix was implemented by Mozilla in Firefox 57 and personally recommended to me by an Oracle employee on the OpenIndiana mailing list. It can easily be made ifdef XP_SOLARIS, but it seems like the new way is considered a better solution overall by the original author of the code that had it use that null pointer hack to begin with.

I can't link where I found the fix for libffi because I came up with it myself while looking at the way sysv.S does things. Something clicked in my brain while reading that mindfruit link above, though, and gave me enough of a sense of what was going on to be able to fix libffi.

The libffi fix looks a bit hairy because of all the FDE_ENCODE statements, but if you examine the code closely, you should find that it does exactly what it did before on all platforms besides Solaris. I later discovered that people who originally ported Firefox to Solaris never figured this out during the Firefox 52 era and had to use GNU LD for linking libxul.so while using the Sun LD for the rest of the build to make it work. For whatever reason, it works for me now without the GNU LD trick.
2019-10-21 04:53:42 -05:00
athenian200 7aca076ab1 MoonchildProductions#1251 - Part 16: Resolve namespace conflicts with dbm on Solaris.
https://bugzilla.mozilla.org/show_bug.cgi?id=1513913

Mozilla's solution to this is arguably overkill, since the namespace issue on Solaris only required them to change (or temporarily undefine) __log2. Instead they changed ALL the functions to be something along the lines of dbm_log2. They haven't changed the external interface at all, though.

If you're unhappy with this patch, I think I could also use XP_SOLARIS ifdefs to undefine __log2 prior to where it's declared in the dbm headers. The good thing about Mozilla's solution is that it guarantees this namespace issue never occurs again on any platform, though.
2019-10-21 04:53:42 -05:00
athenian200 ca1b9694de MoonchildProductions#1251 - Part 15: fdlibm should provide definition for u_int32_t and u_int64_t.
https://bugzilla.mozilla.org/show_bug.cgi?id=1350355

u_int32_t is not an stdint.h type. Windows already requires this, Solaris needs it too. If someone has a nit with this approach, the alternatives include:

1. Just replacing every instance of u_int32_t with uint32_t.

2. Including <sys/types.h> for Solaris only, which does define this.

3. Changing the original ifdef to be WIN32 || XP_SOLARIS

But it really doesn't matter how you solve this problem, all of the approaches are functionally equivalent, and this one has been used in Firefox since version 55. As far as I can tell, all it does is apply a fix that was being done for Windows already to any platform that needs it.
2019-10-21 04:53:42 -05:00
athenian200 bf217c35b2 MoonchildProductions#1251 - Part 14: libstagefright build should avoid _GLIBCXX_OS_DEFINES.
https://bugzilla.mozilla.org/show_bug.cgi?id=1367775

Windows already requires this ifdef, Solaris needs it too. Not much more to say, but I can do research and follow up on this if asked.
2019-10-21 04:53:41 -05:00
athenian200 34d964b88f MoonchildProductions#1251 - Part 13: Redefining abort in C++ requires extern "C"
https://bugzilla.mozilla.org/show_bug.cgi?id=1375467

I would ifdef this, but it's been in Firefox since version of 56, and Petr Sumbara's explanation as to why it's wrong in the first place is so detailed that it's pretty obvious the code wasn't technically doing things properly to begin with.

Basically, they tried to redefine a system function after including the header file that declares it, and it caused problems on Solaris because libc functions are imported into the C++ std namespace in a different way that also complies with standards. So the existing implementation is technically bad code on all platforms, the Solaris implementation just uncovered the lack of standards compliance in the Mozilla code.
2019-10-21 04:53:41 -05:00
athenian200 1e37d5bca2 MoonchildProductions#1251 - Part 12: Add Solaris/illumos support to WasmSignalHandlers.
https://www.illumos.org/issues/5876
https://bugzilla.mozilla.org/show_bug.cgi?id=135050
2019-10-21 04:53:41 -05:00
athenian200 7366f0b401 MoonchildProductions#1251 - Part 11: libpng uses C89 now to avoid buffer overflows.
https://bugzilla.mozilla.org/show_bug.cgi?id=1371266
https://github.com/glennrp/libpng/commit/12e63e91af1378225993b36e25ce3252b54e751a

This sounds absurd, and the fact that we had to change a C++ comment to a C-style comment on account of this may seem hilarious and inconsequential, but this isapparently not a joke and leaving it as it is now may be a bad idea.
2019-10-21 04:53:41 -05:00
athenian200 1935167504 MoonchildProductions#1251 - Part 10: ipc_channel_posix.cc should use IOV_MAX.
https://bugzilla.mozilla.org/show_bug.cgi?id=1345102

I assess this change to be low-risk for the following reasons:

1. It has been in Firefox since version 55 without issues.

2. The current behavior is not POSIX compliant, and is retained in the one instance where the new functionality causes issues.

3. It makes safer assumptions about implementation details than what we have now.
2019-10-21 04:53:41 -05:00
athenian200 dd19ffcaa2 MoonchildProductions#1251 - Part 9: Look for hypot in the math library (libm).
https://bugzilla.mozilla.org/show_bug.cgi?id=1351309
https://bugzilla.mozilla.org/show_bug.cgi?id=1309157

I assess this change to be low-risk for the following reasons:

1. It has been in Firefox since version 55 without issues.

2. It's nearly identical to the fix for bug 1309157 which is already in our tree, so that one would be causing problems if this one were going to.

3. Linux, Windows, and BSD are known to have a hypot function in their math libraries.

4. Even if it does break something, it should only break a test and not critical functionality.
2019-10-21 04:53:40 -05:00
athenian200 b8aa2b83d7 MoonchildProductions#1251 - Part 8: Align pointer for char_16t.
https://bugzilla.mozilla.org/show_bug.cgi?id=1352449

Mozilla patch that's been in the code since Firefox 55. Seems like there have been no ill effects from implementing it, and it would only increase the portability of the UXP code. All the Solaris Firefox repos I've seen implement some variation on the jsexn patch, and this seems to be the cleanest version of it.

I can add ifdefs if needed or there are performance concerns associated with this patch, but I get the impression this alignment backlog issue might affect a few platforms other than Solaris, though none were named. Otherwise I think they wouldn't have used "platforms that need it" in plural form or failed to ifdef it.
2019-10-21 04:53:40 -05:00
athenian200 a972c5fcc1 MoonchildProductions#1251 - Part 7: All the posix_m* memory-related stuff, gathered together.
https://bugzilla.mozilla.org/show_bug.cgi?id=1158445
https://bugzilla.mozilla.org/show_bug.cgi?id=963983
https://bugzilla.mozilla.org/show_bug.cgi?id=1542758

Solaris madvise and malign don't perfectly map to their POSIX counterparts, and some Linux versions (especially Android) don't define the POSIX counterparts at all, so options are limited. Ideally posix_madvise and posix_malign should be the safer and more portable options for all platforms.
2019-10-21 04:53:40 -05:00
athenian200 c8328b2423 MoonchildProductions#1251 - Part 6: Solaris needs an audio implementation.
Current versions of libcubeb already have a Sun audio implementation, but in Firefox 52 and earlier, this was all they had. I'm not completely happy with this implementation because it has issues like video freezing if the soundcard isn't working, but I think fixing this or pulling in a newer libcubeb would be going too far for too little gain.
2019-10-21 04:53:40 -05:00
athenian200 19af550115 MoonchildProductions#1251 - Part 5: Fix POSIX compliance issue in process_util.h.
https://bugzilla.mozilla.org/show_bug.cgi?id=1364865

Solaris doesn't define NAME_MAX because if you read the current POSIX standard literally, no system that supports multiple file systems or networking should be defining it. It's a pedantic choice given that they USED to define NAME_MAX, but Solaris always did take POSIX compliance seriously, for better or worse.
2019-10-21 04:53:40 -05:00
athenian200 68aff548d4 MoonchildProductions#1251 - Part 4: Core build system changes, lots of libevent/IPC junk.
This is mostly ifdefs, but as you can see, Solaris is actually a lot like Linux. They're both more SysV than BSD at core, and most of the differences have more to do with Solaris not using glibc than anything else.

I still need to audit a lot of these changes and understand why they're needed and what the alternative approaches are. After this patch, most of the core functionality needed to build Solaris is here.
2019-10-21 04:53:39 -05:00
athenian200 274b382170 MoonchildProductions#1251 - Part 3: Finally end the long tradition of casting getpid() to int.
https://bugzilla.mozilla.org/show_bug.cgi?id=535106
https://bugzilla.mozilla.org/show_bug.cgi?id=1359841

Like many parts of the busted Solaris support, this one has its origins in the pre-Firefox days. Bug 535106, another Mozilla suite bug. It keeps coming up because the core issue is never addressed, the fact that nsTSubstring doesn't know how to handle pid_t. I think the explicit cast to int is a band-aid they use because they know if they touch that substring header file to make it handle pid_t, they'll probably be asked to fix all the other problems with it. I honestly think it just works by accident on other platforms because it's implicitly cast to signed or unsigned int, even though the POSIX standard says pid_t can be either long or int, and work as either a signed or unsigned integer. Whatever the case may be, it's handled better on Solaris now than it was.

Ironically enough, the main point of having pid_t rather than just having pids be int or something is to hide this little implementation detail so you can just use pid_t for the return type in portable code without having to worry about what it is on a specific platform. The unfortunate way Mozilla implemented string functions turns that on its head and makes the good things about pid_t into liabilities rather than assets.
2019-10-21 04:53:39 -05:00
athenian200 d6176f97a4 MoonchildProductions#1251 - Part 2: Make the mozconfig loader POSIX-compliant.
https://bugzilla.mozilla.org/show_bug.cgi?id=1360571

Solaris uses ksh as the default shell, and furthermore bash doesn't seem to support the 'local' keyword feature when invoked as sh on OpenIndiana. We could just change the script to use bash (it is an option even on Solaris), but this fix is available and Mozilla has been using it since Firefox 55 with no issues on any other platforms. It was specfically done this way to avoid any need to change existing mozconfig files, so I feel confident saying the change is totally benign and if anything the way it is now is technically a POSIX compliance issue inherited from Mozilla that we'll hit if we ever try to compile this on any Unix platform where bash isn't sh.
2019-10-21 04:53:39 -05:00
athenian200 4d9f8e571a MoonchildProductions#1251 - Part 1: Restore initial Solaris support, fixed up.
Compared with what Pale Moon had for Solaris originally, this is mostly the same zero point I started patching from, but I've made the following changes here after reviewing all this initial code I never looked at closely before.

1. In package-manifest.in for both Basilisk and Pale Moon, I've made the SPARC code for libfreebl not interefere with the x86 code, use the proper build flags, and also updated it to allow a SPARC64 build which is more likely to be used than the 32-bit SPARC code we had there.

2. See Mozilla bug #832272 and the old rules.mk patch from around Firefox 30 in oracle/solaris-userland. I believe they screwed up NSINSTALL on Solaris when they were trying to streamline the NSS buildsystem, because they started having unexplained issues with it around that time after Firefox 22 that they never properly resolved until Mozilla began building NSS with gyp files. I'm actually not even sure how relevant the thing they broke actually is to Solaris at this point, bug 665509 is so old it predates Firefox itself and goes back to the Mozilla suite days. I believe $(INSTALL) -t was wrong, and they meant $(NSINSTALL) -t because that makes more sense and is closer to what was there originally. It's what they have for WINNT, and it's possible a fix more like that could serve for Solaris as well. Alternatively, we could get rid of all these half-broken Makefiles and start building NSS with gyp files like Mozilla did.

3. I've completely cut out support for the Sun compiler and taken into account the reality that everyone builds Firefox (and therefore its forks) with GCC now on Solaris. This alone helped clean up a lot of the uglier parts of the code.

4. I've updated all remaining SOLARIS build flags to the newer XP_SOLARIS, because the SOLARIS flag is no longer set when building Solaris.

5. I've confirmed the workaround in gtxFontconfigFonts.cpp is no longer necessary. The Solaris people got impatient about implementing a half-baked patch for a fontconfig feature that wasn't ready yet back in 2009, and somehow convinced Mozilla to patch their software to work around it when really they should have just fixed or removed their broken fontconfig patch. The feature they wanted has since been implemented properly, and no version of Solaris still uses the broken patch that required this fix. If anyone had ever properly audited this code, it would have been removed a long time ago.
2019-10-21 04:53:39 -05:00
wolfbeast 82f2169eea Issue mcp-graveyard/UXP#1229 - Remove fallback for $INSTDIR
This resolves #1229
2019-10-21 11:16:19 +02:00
Matt A. Tobin 0cf9606869 Don't treat format warnings as errors in xpconnect
GCC 9 compiler does not like the way we have it in XPCWrappedNative.cpp
2019-10-21 10:34:28 +02:00
Matt A. Tobin 7df6e39a38 Fix build errors with newer glibc versions 2019-10-21 10:34:15 +02:00
wolfbeast 3d5ed23da7 No Issue - Expand HWA over RDP to Windows 8.1 and 10.
When Mozilla implemented this initially, only Windows 8 existed.
Because of the strict equal check, 8.1 and 10 didn't get HWA over RDP
while they are perfectly capable of doing so with RemoteFX. This change
allows any version of Windows from 8.0 onwards to use HWA over RDP.
2019-10-21 10:34:00 +02:00
wolfbeast f857e42729 No issue - Update TZ data to 2019c 2019-10-21 10:33:08 +02:00
Moonchild b44e074104 No issue - Add 360 Safeguard to DLL blocklist
360 Safeguard/360 Total Security (Qihoo) causes crashes in a11y components.
This adds the offending dll to the injection blocklist.
See BZ bug 1536227 for details.
2019-10-21 10:32:20 +02:00
Gaming4JC 2d7e2cd2d1 Issue mcp-graveyard/UXP#1243 - Update List of NSS Exported Symbols
Add NSS_CMSSignedData_GetDigestAlgs and NSS_CMSSignedData_hasDigests which are required for security patches in mailnews applications. Ref: m-c bug 1526473
2019-10-21 08:46:25 +02:00
wolfbeast ae4947d511 Issue mcp-graveyard/UXP#1231 - Correct defines for Mac and keep universal prefs generic. 2019-10-21 08:43:14 +02:00
wolfbeast a5265d519c Issue mcp-graveyard/UXP#1231 - Correct defines for Mac and keep universal prefs generic. 2019-10-21 08:42:45 +02:00
adeshkp a805330a67 Issue mcp-graveyard/UXP#1231 - Stop using ICC profiles on Linux.
General consensus seems to be that color management on Linux desktops
is not mature enough to enable by default.
2019-10-21 08:28:23 +02:00
wolfbeast 274c92b8a6 Merge commit '18a2244f5b1e28c2d38dd95bf93d02cef0173178' into release 2019-10-21 08:27:45 +02:00
New Tobin Paradigm d106377a62 Merge pull request #1249 from g4jc/nss_exports
Issue mcp-graveyard/UXP#1243 - Update List of NSS Exported Symbols
2019-10-18 01:36:44 -04:00
Gaming4JC 0a144bb9f5 Issue mcp-graveyard/UXP#1243 - Update List of NSS Exported Symbols
Add NSS_CMSSignedData_GetDigestAlgs and NSS_CMSSignedData_hasDigests which are required for security patches in mailnews applications. Ref: m-c bug 1526473
2019-10-17 19:20:58 -04:00
Matt A. Tobin d149e774cc Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2019-10-16 12:44:36 -04:00
Matt A. Tobin 18d1330bb2 Don't treat format warnings as errors in xpconnect
GCC 9 compiler does not like the way we have it in XPCWrappedNative.cpp
2019-10-16 12:43:20 -04:00
Matt A. Tobin fd76ba979a Fix build errors with newer glibc versions 2019-10-16 12:37:07 -04:00
Moonchild 6ac5f4a3b0 Merge pull request #1246 from dimag0g/master
Replace calls to undefined functions isMarkable() and toMarkablePointer()
2019-10-12 19:19:50 +02:00
Dmitry Grigoryev 2ece5dcf51 Replace calls to undefined functions isMarkable() and toMarkablePointer() 2019-10-10 21:01:01 +02:00
wolfbeast a0c5def157 No Issue - Expand HWA over RDP to Windows 8.1 and 10.
When Mozilla implemented this initially, only Windows 8 existed.
Because of the strict equal check, 8.1 and 10 didn't get HWA over RDP
while they are perfectly capable of doing so with RemoteFX. This change
allows any version of Windows from 8.0 onwards to use HWA over RDP.
2019-10-08 21:02:28 +02:00
Moonchild df7fdc5542 Merge pull request #1244 from dimag0g/master
Added missing libwebp files to update.sh
2019-10-06 13:30:36 +02:00
Dmitry Grigoryev 07bf73732a Added missing libwebp files to update.sh 2019-10-04 21:10:42 +02:00
wolfbeast 3056f47b5e No issue - Update TZ data to 2019c 2019-10-02 14:00:30 +02:00
Moonchild 7e54589977 Merge pull request #1238 from dimag0g/master
Add libwebp NEON-specific files
2019-09-30 14:26:53 +02:00
Moonchild 277d10cfe1 Merge pull request #1237 from g4jc/css-work
CSS Grid Improvements
2019-09-29 13:54:29 +02:00
Gaming4JC 7abe69242b Issue mcp-graveyard/UXP#1230 - Part 3: Update Reftests
Ref:
1434478 part 7 - Update tests and enable some previously temporarily disabled Grid reftests from bug 1427608.
2019-09-28 23:47:05 -04:00
Gaming4JC e8b1a09ced Issue mcp-graveyard/UXP#1230 - Part 2: Align devtools to the changes in css-grid
Ref:
1398537 part 4 - [css-multicol] Implement percentages for 'column-gap' (automated update of devtools).
2019-09-28 23:47:05 -04:00
Gaming4JC 68bc133c80 Issue mcp-graveyard/UXP#1230 - Part 1: Fix Back-computing percentages for intrinsic sizing in Layout CSS-Grid
List of relevant patches applied:

1398537 part 2 - [css-multicol] Implement percentages for 'column-gap' (Gecko part).

1434478 part 1 - [css-grid] Stop back-computing percentage grid gaps when the percentage basis is indefinite. Treat them as zero sized instead.

1434478 part 2 - Stop back-computing percentage padding/margin when the percentage basis is indefinite. Treat them as zero sized instead.

1434478 part 3 - Remove IntrinsicISizeOffsetData::hPctPadding/hPctMargin members since they are now unused.

1434478 part 4 - Factor out constants like NS_UNCONSTRAINEDSIZE so they can be used in headers without needing nsIFrame.h (idempotent patch).

1434478 part 5 - Create nsLayoutUtils::ResolveToLength for resolving CSS <length-percentage> (idempotent patch).

1434478 part 6 - Propagate a percentage basis to nsIFrame::IntrinsicISizeOffsets for resolving padding/margin.

This is needed only for CSS Grid since in other cases we're only using IntrinsicISizeOffsets in the inline-axis and the percentage basis is always indefinite for *intrinsic sizing*. When calculating the intrinsic size of grid items in the grid container's block axis however, we do have a definite size for the grid area in the inline-axis and it should be used per: https://drafts.csswg.org/css-grid/#algo-overview "2. Next, the track sizing algorithm resolves the sizes of the grid rows, using the grid column sizes calculated in the previous step." (Percentage padding/margin for grid items is always resolved against the grid area's inline-size nowadays.)
2019-09-28 23:47:05 -04:00
Gaming4JC a6303615be Issue mcp-graveyard/UXP#1233 - Part 2: Update Reftests
List of relevant patches applied:

1425599 part 15 - [css-grid] Test reference fixes + more tests.

1373678 Part 3: Add line number checks to test_grid_implicit.html.

1416350 - Part 3: Add test to verify line numbers of grids with leading implicit tracks.

1416350 - Part 4: Add a reftest of repeat:auto-fit grids with leading implicit tracks.

1417711 - [css-grid] An abs.pos. grid container child that only covers removed 'auto-fit' tracks should not span to the end padding edge.

1416350 - Part 5: Correct the expected results for grids that have leading implicit tracks.

1418727 part 3 - [css-grid] Reftest updates.
2019-09-28 23:47:04 -04:00
Gaming4JC 7f9dee37cc Issue mcp-graveyard/UXP#1233 - Part 1: Fix grid overflow and rendering issues by improving Layout CSS-Grid API
List of relevant patches applied:

1425599 part 1 - [css-grid] Change the track sizing algorithm for spanning items so that it accumulates individual item contributions to the plan by max() rather than incrementing the planned size directly.

Also, fix a bug when copying back the planned limits after updating it for the first span group. It should only copy back track sizes that were actaully spanned by those items, other content-sized tracks' limits should remain at "infinity".

1425599 part 2 - [css-grid] Factor out the min-sizing parts of the track sizing for spanned items to a templated method (idempotent change).

1425599 part 3 - [css-grid] Factor out most of the max-sizing parts of the track sizing for spanned items to a templated method (idempotent change).

1425599 part 4 - [css-grid] Factor out the starting base/limit size to a templated method (idempotent change).

1425599 part 5 - [css-grid] Make CollectGrowable a templated method so that it works with either base/limit sizes (idempotent change).

1425599 part 6 - [css-grid] Make the size distribution methods templated with the intent of merging them in a later patch (idempotent change).

This patch also introduces an eInfinitelyGrowable bit to help get rid of the 'limits' temporary track sizes in the next patch.

1425599 part 7 - [css-grid] Remove the 'limits' copy of track sizes since they are no longer needed (idempotent change).

1425599 part 8 - [css-grid] Factor out the fit-content clamping function from DistributeToTrackLimits and pass it as a param instead (idempotent change).

1425599 part 9 - [css-grid] Merge DistributeToTrackLimits/Bases (idempotent change).

1425599 part 10 - [css-grid] Make MarkExcludedTracks a static method since it doesn't use 'this' (idempotent change).

1425599 part 11 - [css-grid] Hoist the marking of excluded tracks out from GrowSelectedTracksUnlimited to a separate method (idempotent change).

1425599 part 12 - [css-grid] Merge CopyPlanToBase/Limits into a templated method instead (idempotent change).

1425599 part 13 - [css-grid] Merge Grow[Base|Limits]ForSpanningItems into a templated method instead (idempotent change).

1425599 part 14 - [css-grid] Use iterators instead of an array + start/end index for the item data (idempotent change).

1425599 part 16 - [css-grid] Make SizeContributionForPhase a template.

1425599 - [css-grid] Follow-up bustage fix for stupid compiler warnings.

1378481 - Assign 'roundingError' in the default branch too, to avoid a maybe-uninitialized compiler warning.

1423292 - [css-grid] Add a couple of ItemState bits to Dump(), and make an ItemState assertion stricter (DEBUG-only changes).

1373678 Part 1: Reduce grid line numbers by count of leading implicit lines, minimum 0.

1416350 - Part 1: Correctly account for removed 'auto-fit' tracks also when there are leading implicit tracks.

1416350 - Part 2: Correct logic for Grid API line numbering with leading implicit tracks.

1418727 part 1 - [css-grid] Introduce StateBitsForRange() that collects the union of the state bits for a range of tracks (idempotent change).

1418727 part 2 - [css-grid] Require that an item spans at least one track with an 'auto' min sizing function for Automatic Minimum Size to apply.
2019-09-28 23:47:04 -04:00
Dmitry Grigoryev 6a4a551899 Merge branch 'master' of https://github.com/dimag0g/UXP 2019-09-28 10:02:11 +02:00
Dmitry Grigoryev fc44a70a22 Added missing libwebp NEON files 2019-09-28 10:00:36 +02:00
Moonchild 715af60d2c Merge pull request #1232 from adeshkp/disable-color-mgmt-linux
Issue mcp-graveyard/UXP#1231 - Stop using ICC profiles on Linux.
2019-09-24 21:14:54 +02:00
adeshkp 3e85221994 Issue mcp-graveyard/UXP#1231 - Stop using ICC profiles on Linux.
General consensus seems to be that color management on Linux desktops
is not mature enough to enable by default.
2019-09-24 13:59:46 -04:00
Moonchild 98f76dcda0 No issue - Add 360 Safeguard to DLL blocklist
360 Safeguard/360 Total Security (Qihoo) causes crashes in a11y components.
This adds the offending dll to the injection blocklist.
See BZ bug 1536227 for details.
2019-09-17 11:04:22 +02:00
wolfbeast 825645d901 Issue mcp-graveyard/UXP#1226 - Explicitly enable sse2 on x86_64 also.
Although it's enabled by default in gcc (should be, anyway!), we're
being explicit here for 64-bit x86 platforms here also. This matches the
old behavior.
2019-09-10 19:07:28 +02:00
wolfbeast 5c1eea3673 Don't assume Intel architecture for compiler optimizations on Linux/gcc.
This only adds SSE2 flags when the CPU architecture is correct for it.
Resolves #1226
2019-09-10 10:44:10 +02:00
wolfbeast 2f2e7ef88f Merge branch 'master' into release 2019-09-06 10:29:38 +02:00
wolfbeast d57a00b03f Fix whitelisting of JavaScript-uris by CSP hash. 2019-09-05 18:42:49 +02:00
wolfbeast 5a33228a3c Properly implement various HSTS states.
Previously, HSTS preload list values could be overridden temporarily due
to counter-intuitive behavior of the API's removeState function.
This adds an explicit flag to the API for writing knockout values to
the Site Security Service, with the default resetting to whatever the
preload list state is.
2019-09-05 18:23:12 +02:00
wolfbeast 08d34644ce Use the correct group for JIT constraints.
This fixes a rare crash/CTD in JS.
This adds information about the constraints to a new RAII class so we
can finish all constraints at the end.
Based on changes in BZ 1568397
2019-09-05 13:19:33 +02:00
Olli Pettay f016838255 Ensure the right body element is used throughout the method call. 2019-09-05 11:29:47 +02:00
Sebastian Streich 849dcb9db8 Add checks to respect CSP-wildcard + Ports. 2019-09-05 09:48:51 +02:00
wolfbeast 2b949b076a Fix a crash in IndexedDB. 2019-09-04 21:04:07 +02:00
Nathan Froyd 35ba481809 Kill newly-spawned threads if we're shutting down. 2019-09-04 17:55:04 +02:00
wolfbeast e7191797f7 Remove HTML5 parser java docs and generation code.
java->C++ automated translation is not something we want to deal with
now or in the future.
2019-09-04 16:33:37 +02:00
wolfbeast 367ad3bbda Belatedly fix html5 parser attribution for files not covered by the MPL. 2019-09-04 15:28:21 +02:00
wolfbeast b211d3243f Fix an issue with the html5 tokenizer and tree builder. 2019-09-04 15:27:40 +02:00
wolfbeast e1d5520e9f Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2019-09-04 12:14:54 +02:00
Markus Stange 3f8c4d70d4 Correctly return zero vertices if clipping plane 0 or 2 clip away the
entire polygon.

This fixes a bug that was introduced three years ago in BZ bug 1268854.
What happened was that the final pass over the polygon assumed that the
current polygon was living in plane[0]. But due to the double buffering,
the "current" polygon alternates between plane[0] and plane[1].
The bug had also introduced an early exit so that we could hit the final
pass at a time where the current, now empty, polygon was in plane[1]. So
we would incorrectly treat all 32 points in plane[0] as part of the
final polygon.

This bug was responsible for intermittently unreasonable numbers in
CompositorOGL's fill rate / overdraw overlay.

This fixes a regression caused by the fix for CVE-2016-5252.
2019-09-04 12:13:10 +02:00
wolfbeast b701bfb9d4 Revert "Correctly return zero vertices if clipping plane 0 or 2 clip away the"
This reverts commit 09a8b2f196.
2019-09-04 12:00:36 +02:00
Ascrod 5bc681728e Issue mcp-graveyard/UXP#1217 - Add support for (later versions of) the Windows 10 SDK 2019-09-01 17:36:03 -04:00
wolfbeast a4354ebf99 Merge working copy branch 2019-09-01 18:21:41 +02:00
wolfbeast 34197038f4 Issue mcp-graveyard/UXP#1222: Don't load plugin instances when they have no src URI.
Favor fallback content in that case (if present). Fallback is always
considered "good" in this case so may end up doing nothing which is what
we'd want for corner cases that hammer this routine with no content.
2019-09-01 18:20:28 +02:00
wolfbeast 4b62e0b0fe Correctly return zero vertices if clipping plane 0 or 2 clip away the
entire polygon.

This fixes a regression caused by the fix for CVE-2016-5252
2019-09-01 16:39:40 +02:00
wolfbeast 178e777b16 Issue mcp-graveyard/UXP#1179: fix indentation 2019-09-01 15:15:19 +02:00
wolfbeast 18df003923 New cycle version bump 2019-08-28 14:49:13 +02:00
wolfbeast e5b6c6ca04 Issue mcp-graveyard/UXP#1221: Pass the original element into
nsXMLContentSerializer::CheckElementEnd so that we can properly
determine whether it has children.

This resolves #1221
2019-08-28 14:39:17 +02:00
Matt A. Tobin 69c7f0aa30 [MCP Applications] Add %WIDGET_TOOLKIT% to the AUS update url for Pale Moon and Basilisk
Also removes the redundant branding version of app.update.url in Pale Moon that was missed when many prefs were merged back into application preferences
2019-08-22 08:25:44 -04:00
wolfbeast ecf84e491b No issue: Clean up exceptionDialog.js
- Fix some quoting, comments and inconsistencies and code style
- Swap manually grabbing service components out for using `Services.*`
2019-08-17 22:33:51 +02:00
wolfbeast 0880957206 Issue mcp-graveyard/UXP#1064: Don't get certificate details synchronously.
This avoids getting data synchronously on the main thread in an XHR
(which has been deprecated for a long time and _may_ actually be blocked
in our networking) and attempts to be more predictable by always firing
an update request for the dialog from the XHR request handlers.
2019-08-17 22:28:30 +02:00
Moonchild cfea706c84 Merge pull request #1212 from Ascrod/xdg-desktop-portal
Allow the use of Xdg desktop portal dialogs
2019-08-16 06:46:31 +00:00
Ascrod c8b2c9a950 Issue mcp-graveyard/UXP#999 - Disable native file picker by default. 2019-08-15 18:22:56 -04:00
wolfbeast 8df342ac29 Issue mcp-graveyard/UXP#1208: Update Sync policies.js getters/setters to prevent race. 2019-08-15 10:40:06 +02:00
wolfbeast 0cc306180f Issue mcp-graveyard/UXP#1208: Remove services.sync.enabled pref.
Sync will not do anything unless specifically set up to do so and at
least one engine is enabled, so there's no need for this "master switch"
to force it disabled based on engines being disabled (which was its
previous function to shortcut syncing in that situation).
2019-08-15 10:36:58 +02:00
wolfbeast 488f908e17 Issue mcp-graveyard/UXP#1208: Fix jsonLoad in Sync's util.js to handle errors.
- `OS.Path.join` can throw, so we always need to try/catch it.
- Also do a sanity check to make sure `callback` is defined before use
2019-08-15 09:52:38 +02:00
wolfbeast 9c4df76288 Issue mcp-graveyard/UXP#1124: [Basilisk] Remove Dev Edition theme. 2019-08-14 21:31:00 +02:00
wolfbeast 79d516188f Issue mcp-graveyard/UXP#1124: [Basilisk] Remove Dev Edition front-end tie-ins. 2019-08-14 20:08:49 +02:00
wolfbeast 9936931e8c Issue mcp-graveyard/UXP#1124: Remove Firefox Developer Edition code.
Removes all occurrences of MOZ_DEV_EDITION code and some helpers.
2019-08-14 17:19:40 +02:00
wolfbeast bb209ae595 Update platform version. 2019-08-14 15:55:42 +02:00
wolfbeast 864d0782cb Issue mcp-graveyard/UXP#438: Revert incorrect changes to w3c-css reftests 2019-08-14 15:34:02 +02:00
wolfbeast 840807b6de Issue mcp-graveyard/UXP#438: Add reftests. 2019-08-14 15:24:39 +02:00
wolfbeast 47c5973be4 Issue mcp-graveyard/UXP#438: Make the nsSVGOuterSVGAnonChildFrame a reference frame.
This causes transforms of the <svg> contents to be unaffected by
scrolling / offset changes of the <svg> element.
2019-08-14 15:20:20 +02:00
wolfbeast d61bb010c6 Issue mcp-graveyard/UXP#438: Check for non-rectilinear transforms 2019-08-14 15:09:34 +02:00
wolfbeast 67117409c4 Issue mcp-graveyard/UXP#438: Add an IsRectilinear helper method to gfxMatrix. 2019-08-14 14:22:13 +02:00
wolfbeast a94d20076b Issue mcp-graveyard/UXP#438: Rename coord/coords to originValue/transformOrigin.
For clarity and to prevent typoes.
2019-08-14 13:46:25 +02:00
wolfbeast 6976f72fc0 Issue mcp-graveyard/UXP#438: Pixel-snap subpixel value for outer SVG and anon child.
This doesn't solve the blurriness yet, but is part of the problem.
2019-08-14 13:38:25 +02:00
wolfbeast 93bc70e0ed Issue mcp-graveyard/UXP#438: Do not round the translation of an SVG frame.
This doesn't solve the blurriness yet, but is part of the problem.
2019-08-14 13:35:08 +02:00
wolfbeast f0563c914e Issue mcp-graveyard/UXP#1211: Allow the loading of TYPE_FONT from file: URLs.
This bypasses the CORS restriction of unique file: URLs in the case of
fonts loaded through CSS.

Resolves #1211.
2019-08-14 00:29:44 +02:00
wolfbeast f92db5cb77 Enable the JSON View tool by default.
Follow-up to issue #1138.
2019-08-13 13:45:39 +02:00
janekptacijarabaci 88c2bab6f0 Remove "Delete this page" and "Forget about this site" from livemarks.
These context menu entries should not be present on live bookmarks
because they make no sense for feed entries.
This resolves #663.
2019-08-12 23:41:30 +02:00
Moonchild 227bb29769 Merge pull request #1209 from win7-7/FrameProperties-remove-obsolete-comment
FrameProperties remove obsolete comment (no code changes)
2019-08-11 14:21:17 +00:00
Ascrod d6d73e11c7 Issue mcp-graveyard/UXP#999 - Use xdg-desktop-portal for file selection dialogs on Linux. 2019-08-10 17:26:31 -04:00
wolfbeast 47cc2e2c4d Issue mcp-graveyard/UXP#1134: Reinstate postDataString for about:home searches. 2019-08-10 12:25:57 +02:00
wolfbeast 46296b9c2a Remove some leftover snippets code.
follow-up to 3a17b713ef
2019-08-10 12:24:13 +02:00
Moonchild 892ea1e2a2 Merge pull request #1207 from win7-7/nsImageLoadingContent.cpp-AsyncOpen2
Convert dom/base/nsImageLoadingContent.cpp to use AsyncOpen2 and followups along with it (1445670 and 1373780 part 2 and 3)
2019-08-09 08:25:37 +00:00
wolfbeast c63a74e0d5 Remove old ANGLE driver bug workaround. 2019-08-08 22:15:33 +02:00
win7-7 e7e1bb543a Convert dom/base/nsImageLoadingContent.cpp to use AsyncOpen2 and followups along with it (1445670 and 1373780 part 2 and 3)
Convert dom/base/nsImageLoadingContent.cpp to use AsyncOpen2 and followups along with it (1445670 and 1373780 part 2 and 3)
2019-08-08 16:44:51 +03:00
wolfbeast 93e61c18ed Issue mcp-graveyard/UXP#1118 Part 4: Allow UpdateURLAndHistory to work even if there's no
root session history.

This can happen when someone does a document.open() on a document that
has no session history.
2019-08-06 09:58:35 +00:00
wolfbeast 6e92a5ec78 Issue mcp-graveyard/UXP#1118 Part 3: Add a public RemoveAllListeners method on
EventListenerManager.
2019-08-06 09:57:37 +00:00
wolfbeast 1255e59fea Issue mcp-graveyard/UXP#1118 Part 2: Allow UpdateURLAndHistory to work even if mOSHE is
null, if we're doing a replace.

We're going to end up hitting this if someone does a document.open()
before mOSHE has been set. We shouldn't need to worry about mLSHE,
because the document.open() will cancel the corresponding load.
2019-08-06 08:41:51 +00:00
win7-7 28c7b81329 Merge branch 'master' into FrameProperties-remove-obsolete-comment 2019-08-04 23:13:48 +03:00
Moonchild a8a5df734e Merge pull request #1201 from kn-yami/issue1138
Refactor JSON Viewer
2019-08-03 20:56:36 +00:00
win7-7 7ac97645b4 Outdated comment removal (no code changes)
No code changes.
2019-08-02 16:31:54 +03:00
yami 8e3dca8025 Issue mcp-graveyard/UXP#1138 - Part 4: fix JSON Viewer save functionality
Saving JSON from the viewer was broken, because the message passed to
the `saveToFile` function contained unneeded data. This bug was
introduced by 23e68227a2.
2019-08-01 02:18:45 +02:00
wolfbeast d81af4e39b Issue mcp-graveyard/UXP#1118 Part 1: Split out part of nsDocShell::AddState into a
separate method.

This implements the "URL and history update steps" from the HTML spec.
See https://html.spec.whatwg.org/multipage/history.html
2019-07-31 14:18:54 +00:00
yami ab286199f6 Issue mcp-graveyard/UXP#1138 - Part 3: avoid quirks mode in JSON Viewer
Mozilla Bug 1368899
2019-07-30 16:09:52 +02:00
yami f5da7c97c4 Issue mcp-graveyard/UXP#1138 - Part 2: JSON Viewer should ignore BOM
Mozilla Bug 1395313
2019-07-30 15:42:58 +02:00
yami ee73edcb90 Issue mcp-graveyard/UXP#1138 - Part 1: refactor the JSON Viewer stream converter
Mozilla Bug 1367894
2019-07-30 15:27:59 +02:00
wolfbeast a63e28250f Hide and disable open_all/cut/copy/delete/properties when opening
bookmarks/history context menu with no selection

This resolves #882 (by not offering options that can't be used)
2019-07-28 21:24:32 +02:00
wolfbeast bbfafb5a78 Update SQLite to 3.29.0 2019-07-28 12:18:12 +02:00
Moonchild 9d1cae7273 Merge pull request #1200 from flewkey/master
Issue mcp-graveyard/UXP#1156 - Location Bar Preferences Checkboxes
2019-07-27 10:15:38 +00:00
Ryan Fox d5b66e520d Issue mcp-graveyard/UXP#1156 - Location Bar Preferences Checkboxes
Signed-off-by: Ryan Fox <flewkey@2a03.party>
2019-07-27 08:27:38 +00:00
wolfbeast 8164f2e491 Add UI preference for overall vertical smooth scrolling speed
(as a percentage).

Resolves #1147.
2019-07-26 16:09:05 +02:00
wolfbeast 1af69d8e8f Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2019-07-25 12:35:41 +02:00
wolfbeast 3241d1e195 Update default bookmark icons. 2019-07-25 12:34:59 +02:00
Moonchild f829415a3f Merge pull request #1199 from wicknix/master
Add red moon icon to MacOS for unstable builds
2019-07-24 12:55:16 +00:00
wicknix b4857961f8 Add red moon icon to MacOS for unstable builds
Replaces grey moon which is supposed to be used for unofficial "New Moon" builds.
2019-07-23 18:43:03 -05:00
Moonchild f70427c3ac Merge pull request #1198 from wicknix/master
Add space to MOZ_APP_DISPLAYNAME
2019-07-23 13:34:10 +00:00
wicknix d2f9ba32f9 Add space to MOZ_APP_DISPLAYNAME
PaleMoon becomes Pale Moon
2019-07-22 23:58:18 -05:00
wicknix 5cb02ee752 Add space to MOZ_APP_DISPLAYNAME
NewMoon now becomes New Moon
2019-07-22 23:57:12 -05:00
wicknix 8abe7b213d Add space to MOZ_APP_DISPLAYNAME
PaleMoon now becomes Pale Moon
2019-07-22 23:55:50 -05:00
Moonchild 342feb578b Merge pull request #1197 from adeshkp/patch-12
Fix call to macro `MOZ_ASSERT_UNREACHABLE`
2019-07-22 20:59:15 +00:00
adeshkp ca235107f9 Fix call to macro MOZ_ASSERT_UNREACHABLE
Fallout from 227b23606b
2019-07-23 00:30:15 +05:30
wolfbeast a01c9d6d44 Remove MOZ_BROWSER_STATUSBAR conditional.
This resolves #1194.
2019-07-22 15:06:15 +02:00
wolfbeast e41dd95e61 Add CheckedInt check for GL texture uploads. 2019-07-22 12:35:39 +02:00
Moonchild 8fe73b6c01 Merge pull request #1196 from g4jc/feed_spidermonkey
Issue mcp-graveyard/UXP#1195 - Fix errant use of JSContext in ErrorNotes
2019-07-22 08:23:47 +00:00
wolfbeast 9e8c26af67 Remove unused checking function for unboxed types.
Tag mcp-graveyard/UXP#1030
2019-07-22 10:22:35 +02:00
wolfbeast e4fb2cd624 Implement a threadsafe & revised version of http2PushedStream.
This re-applies the patch for this with added typename declaration.
2019-07-22 04:53:44 +02:00
Gaming4JC a363f02e4b Issue mcp-graveyard/UXP#1195 - Fix errant use of JSContext in ErrorNotes
We want to ensure that ErrorNotes stays on the main thread to prevent a race condition that was introduced in 1283712 - Part 1. This fixes #1195.
2019-07-21 22:33:19 -04:00
wolfbeast 5b633b6014 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2019-07-21 21:35:03 +02:00
wolfbeast 3ed302e441 Revert "Implement a threadsafe & revised version of http2PushedStream."
Backed out because of gcc build failures.

This reverts commit 66fae1d810.
2019-07-21 21:31:04 +02:00
Moonchild 3ce8a64825 Merge pull request #1190 from adeshkp/spaces-mac-appname
Issue mcp-graveyard/UXP#701 - Support spaces in Mac app name
2019-07-21 00:35:25 +00:00
wolfbeast 1e55ce1d1a Update platform version and force clobber. 2019-07-20 23:11:27 +02:00
Moonchild c5cc1081ea Merge pull request #1192 from g4jc/parser_tuneup
Issues #816 / #802 - SpiderMonkey Tuneup
2019-07-20 20:43:11 +00:00
wolfbeast e0e16fc815 Use WeakPtr for extension parent pointer. 2019-07-20 18:08:16 +02:00
wolfbeast a8e9dbcbf7 Do not allow the ^ character to appear in the hostname. 2019-07-20 17:36:06 +02:00
Lars T Hansen cbef971d5a Define JumpImmediateRange on ARM64.
There are comments in the code suggesting that we've made plans at some
point to handle very far jumps via patching + indirect jumps, but all of
those comments are TODO/FIXME. Absent such a strategy, the furthest jump
is 2^27-1 bytes, and we need to define JumpImmediateRange to reflect
that.
2019-07-20 15:43:01 +02:00
Honza Bambas 0db9824e0b Bug 1548822. 2019-07-20 15:36:09 +02:00
Kyle Machulis 37a4ed96b7 Don't allow cross-origin POST redirects on 308 codes.
We already don't allow cross origin POST redirects on 307 redirects;
this adds extra guards to make sure we don't allow them on 308s either.
2019-07-20 15:28:48 +02:00
Henri Sivonen 697fba6f6d Bug 1555523. 2019-07-20 15:23:12 +02:00
wolfbeast a08fb2ee2e Clarify comment with security.fileuri.unique_origin 2019-07-20 15:02:04 +02:00
wolfbeast e18579b945 Treat all file: URIs as having a unique origin.
This prevents cross-file access from files loaded into the browser from
the local file system, further restricting the origin policy of file:
URIs.

Added a pref to control this behavior for local file access if required
for certain applications, since this change might break using the
browser to run applications on the local file system that require
access to local files.
2019-07-20 14:56:26 +02:00
wolfbeast 1c40d51b72 Check port safety for AltSvc 2019-07-20 13:59:45 +02:00
g4jc 85ca43e97c Merge pull request #1 from wolfbeast/patch-1
Fix order of OwnProperty check for rest parameters.
2019-07-19 18:20:54 -04:00
wolfbeast 186e9d08d3 Truncate Buffer/Texture on GL_OOM. 2019-07-19 19:08:25 +02:00
Honza Bambas 6fa6e3304e Bug 1550498. 2019-07-19 17:28:56 +02:00
wolfbeast e1bdda3d80 Get RefPtr for IDBOpenDBRequest before using it. (DiD) 2019-07-19 16:25:01 +02:00
Moonchild 4ce01d0190 Fix order of OwnProperty check for rest parameters.
This was a small mistake when converting from the `hasOwn()` function format (swapped parameters). Fixing this properly makes rest parameters exclude the parameters that are defined (which is the whole point of `...rest`
2019-07-19 15:48:48 +02:00
Gaming4JC 7b85ef7f04 1353691 - Report SyntaxError when arrow function has await-identifier in async function context. 2019-07-18 22:38:49 -04:00
Gaming4JC 05d75c5b7d 1344334 - Make DoTypeUpdateFallback infallible. 2019-07-18 22:38:48 -04:00
Gaming4JC 96c796a656 1339395 - Part 8: Add separate variables for wasm debugger test. 2019-07-18 22:38:48 -04:00
Gaming4JC 53d98b9874 1339395 - Part 7: Remove no longer needed check for jsid strings which are indices from frontend. 2019-07-18 22:38:48 -04:00
Gaming4JC 033ffbdae3 1339395 - Part 6: Update jit-tests now that object rest/spread properties are a thing. 2019-07-18 22:38:48 -04:00
Gaming4JC eba0aaf959 1339395 - Part 5: Add Reflect.parse tests for object rest and spread properties. 2019-07-18 22:38:47 -04:00
Gaming4JC 2d6d1e7a59 1339395 - Part 3: Add BytecodeEmitter support for object rest and spread properties. 2019-07-18 22:38:47 -04:00
Gaming4JC 1985198b9e 1339395 - Part 2: Add parser support for rest and spread object properties. 2019-07-18 22:38:47 -04:00
Gaming4JC 25a84a0883 Refactor Token& nextToken 2019-07-18 22:38:46 -04:00
Gaming4JC 0ac1d5293e 1339395 - Part 1: Align parse method for object literals to match array literals. 2019-07-18 22:38:46 -04:00
Gaming4JC a83b6946d9 1344477 - Part 2: Optimize Array.prototype.splice with JSOP_NORVCALL. 2019-07-18 22:38:46 -04:00
Gaming4JC 6b39e4dcb3 1344477 - Part 1: Add JSOP_CALL_IGNORES_RV for function call that ignores return value. 2019-07-18 22:38:45 -04:00
Gaming4JC 48f3b1035a Refactor abortIfSyntaxParser after destructring 2019-07-18 22:38:45 -04:00
Gaming4JC af6b4ab1a2 1303703 - Part 3: Syntax parse destructuring assignment patterns. 2019-07-18 22:38:45 -04:00
Gaming4JC 9529bf4ae1 1303703 - Part 2: Clean-up bits of destructuring parsing which are no longer needed. 2019-07-18 22:38:45 -04:00
Gaming4JC 66e2e1275a 1303703 - Part 1: Separate binding pattern parsing from object/array literal parsing. 2019-07-18 22:38:44 -04:00
Gaming4JC 127f5558ab 420857 - Part 4: Report the position of opening bracket for missing bracket error in array literal. 2019-07-18 22:38:44 -04:00
Gaming4JC 821a3bd82f 420857 - Part 3: Report the position of opening brace for missing brace error in object literal. 2019-07-18 22:38:44 -04:00
Gaming4JC dcfe35e7d5 420857 - Part 2: Report the position of opening brace for missing brace error in block. 2019-07-18 22:38:43 -04:00
Gaming4JC 8a0b85c041 420857 - Part 1: Report the position of opening brace for missing brace error in function body. 2019-07-18 22:38:43 -04:00
Gaming4JC 9a500e6298 1367204 - Generate "[sourceless code]" for class constructors when sourceIsLazy and no source hook is set. 2019-07-18 22:38:43 -04:00
Gaming4JC b23271d447 1357506 - Remove assert that constructorBox can only be set once when parsing classes.
Both asm.js and syntax parsing can abort and rewind parsing of an inner function.
The bookkeeping to make sure that a class's constructor FunctionBox is only set once is not worth it -- duplicate constructor definitions already throw an early error.
2019-07-18 22:38:43 -04:00
Gaming4JC 1c28c2f9bd 1359622 - Fix assert for calling Function.toString on class constructors when the compartment has had source discarded. 2019-07-18 22:38:42 -04:00
Gaming4JC 1e700e18f0 Bug 1364573 - Don't relazify class default constructors.
Because of the wacko way we handle toString offsets for class default constructors, those offsets cannot be recovered if we relazify the functions.
Luckily there's no reason to relazify them, their JSScripts are very small: either a single 'retrval' for non-derived, and still fairly small for derived.
2019-07-18 22:38:42 -04:00
Gaming4JC dc42f5e41e 1357483 - Stop changing the end position of parenthesized expression ParseNodes. 2019-07-18 22:38:42 -04:00
Gaming4JC 894d7c63d6 1216630 - Rename preludeStart and postludeEnd to toStringStart and toStringEnd and misc fixes. 2019-07-18 22:38:41 -04:00
Gaming4JC aaa94f3a87 1216630 - Print class source when calling toString on the constructor.
This is accomplished in the following ways.
LazyScripts and JSScripts now have 4 offsets:
- Source begin and end for the actual source. This is used for lazy parsing.

- toString begin and end for toString. Some kinds of functions, like async, only have a different begin offset. Class constructors have different offsets for both begin and end.

For syntactically present (i.e. non-default) constructors, the class source span is remembered directly on the LazyScript or JSScript. The toString implementation then splices out the substring directly. For default constructors, a new SRC_CLASS SrcNote type is added. It's binary and has as its arguments the begin and end offsets of the class expression or statement. MakeDefaultConstructor reads the note and overrides the cloned self-hosted function's source object. This is probably the least intrusive way to accomplish this.
2019-07-18 22:38:41 -04:00
Gaming4JC cb93666340 1340148 - Disallow function redeclarations at module top level. 2019-07-18 22:38:41 -04:00
Gaming4JC 9c5cb0a48f 104442 - Part 5: Add another testcase for devtools and note. 2019-07-18 22:38:40 -04:00
Gaming4JC 39d61508b5 104442 - Part 4: Update stub. 2019-07-18 22:38:40 -04:00
Gaming4JC 53458a11fe 104442 - Part 3: Add test input for mocha test. 2019-07-18 22:38:40 -04:00
Gaming4JC 0b694e4541 104442 - Part 2: Add a testcase for devtools and note. 2019-07-18 22:38:39 -04:00
Gaming4JC 1ef19abfde 104442 - Part 1: Report the position and the kind of previous declaration for redeclaration error. 2019-07-18 22:38:39 -04:00
Gaming4JC 5adb1b9fba 1342273 - Improve frontend tracelogging. [PARTIAL] Only implemented const to rvalue changes, no tracelogging 2019-07-18 22:38:39 -04:00
Gaming4JC acdb69a5bd 1339963 - Part 3: Check IdentifierName in ExportClause without from. 2019-07-18 22:38:38 -04:00
Gaming4JC 0f03be9a83 1339963 - Part 2: Use MUST_MATCH_TOKEN for contextual keyword where it can be used. 2019-07-18 22:38:38 -04:00
Gaming4JC 0c8be40701 1339963 - Part 1: Split Parser::exportDeclaration. 2019-07-18 22:38:38 -04:00
Gaming4JC d2dc5285a1 Fix a thread assertion in NewCopiedArrayTryUseGroup 2019-07-18 22:38:38 -04:00
Gaming4JC d790e1a147 1332245 - [Basilisk] Move nsScriptError from js/xpconnect to dom/bindings. 2019-07-18 22:38:37 -04:00
Gaming4JC b7c92b84bd 1317387: The intrinsic %ThrowTypeError% function should be frozen. 2019-07-18 22:38:37 -04:00
Gaming4JC 56108964ea 1340089 - Check the binding name in comprehensionFor. 2019-07-18 22:38:37 -04:00
Gaming4JC 9fb05a4d65 1336783 - followup: Fix rooting. 2019-07-18 22:38:36 -04:00
Gaming4JC b5d640b4b9 1336783 - Part 3 - Use simpler macro to avoid internal compiler error on SM-tc(H). 2019-07-18 22:38:36 -04:00
Gaming4JC 7d14825788 1336783 - Part 2: Remove Parser::checkStrictBinding. 2019-07-18 22:38:36 -04:00
Gaming4JC 09efd3b4db 1336783 - Part 1: Rework on reserved word and remove TokenStream::KeywordIsName. 2019-07-18 22:38:35 -04:00
Gaming4JC efecd2f835 1283712 - Part 11.4: Fix assignment 2019-07-18 22:38:35 -04:00
Gaming4JC 1d19803916 1283712 - Part 11.3: Add mocha test. 2019-07-18 22:38:35 -04:00
Gaming4JC 3636540e47 1283712 - Part 11.2: Update stub. 2019-07-18 22:38:34 -04:00
Gaming4JC 81973f4ca2 1283712 - Part 11.1: Show notes in devtools console. 2019-07-18 22:38:34 -04:00
Gaming4JC 9303bc41f5 1283712 - Part 10: Support notes in getLastWarning shell-only testing function. 2019-07-18 22:38:34 -04:00
Gaming4JC bfe8001138 1283712 - Part 9: Add getErrorNotes testing function to extract error notes from exception. 2019-07-18 22:38:33 -04:00
Gaming4JC c070ef7d38 1283712 - Part 8: Add WorkerErrorBase, WorkerErrorNote, and WorkerErrorReport. 2019-07-18 22:38:33 -04:00
Gaming4JC 1a3d4d3988 1283712 - Part 7: Add nsIScriptErrorNote and nsIScriptError.notes. 2019-07-18 22:38:33 -04:00
Gaming4JC f4908dd916 1332245 - Move nsScriptError from js/xpconnect to dom/bindings. 2019-07-18 22:38:33 -04:00
Gaming4JC 9d72efd30c 1283712 - Part 6: Add xpc::ErrorBase, xpc::ErrorNote, and xpc::ErrorReport.mNotes. 2019-07-18 22:38:32 -04:00
Gaming4JC bff01de9d1 1283712 - Part 5: Support notes in Debugger. 2019-07-18 22:38:32 -04:00
Gaming4JC 389d0efc05 1283712 - Part 4: Print error note in js::PrintError. 2019-07-18 22:38:32 -04:00
Gaming4JC faacb184c0 1283712 - Part 3: Add Parser::errorWithNotes and Parser::errorWithNotesAt. 2019-07-18 22:38:31 -04:00
Gaming4JC 67f9d0c1c9 1283712 - Part 2: Add JSEXN_NOTE. 2019-07-18 22:38:31 -04:00
Gaming4JC 60b93b15bc Make JSErrorNotes Single Threaded 2019-07-18 22:38:31 -04:00
Gaming4JC 34c6038731 1283712 - Part 1: Add JSErrorBase, JSErrorNotes, JSErrorNotes::Note, and JSErrorReport.{notes,freeNotes}. 2019-07-18 22:38:30 -04:00
Gaming4JC ae46a5d862 1339137 - Don't do Annex B lexical function behavior when redeclaring a parameter name in a function with parameter expressions. 2019-07-18 22:38:30 -04:00
Gaming4JC 80cbe432c4 1337143 - Tweak ExportClause parsing to eliminate a peekToken where a simpler consuming getToken could be performed. 2019-07-18 22:38:30 -04:00
Gaming4JC b1df0caab8 1337143 - Tweak NamedImports parsing to eliminate a complexifying peekToken where getToken could be used. 2019-07-18 22:38:29 -04:00
Gaming4JC 9de83ff611 1320408 - Part 26: Remove Shape::set declaration. 2019-07-18 22:38:29 -04:00
Gaming4JC c03ea8da72 1320408 - Part 25: Change NativeObject::toDictionaryMode to static method. 2019-07-18 22:38:29 -04:00
Gaming4JC 6acb6ac6cc 1320408 - Part 24: Change NativeObject::{fillInAfterSwap,replaceWithNewEquivalentShape,generateOwnShape,shadowingShapeChange} to static method. 2019-07-18 22:38:29 -04:00
Gaming4JC 2234a71ab4 1320408 - Part 23: Change RegExpObject::{getShared,createShared,dumpBytecode} to static method. 2019-07-18 22:38:28 -04:00
Gaming4JC ad67f097bd 1320408 - Part 22: Remove JSContext* parameter from ProxyObject::renew and Wrapper::Renew. 2019-07-18 22:38:28 -04:00
Gaming4JC 05e16f5411 1320408 - Part 21: Change PromiseObject::onSettled to static method. 2019-07-18 22:38:28 -04:00
Gaming4JC 80b99cde69 1320408 - Part 20: Change PromiseObject::resolve and PromiseObject::reject to static method. 2019-07-18 22:38:27 -04:00
Gaming4JC 6a6d5a0bf1 1320408 - Part 19: Remove JSContext* parameter from ModuleObject::fixEnvironmentsAfterCompartmentMerge. 2019-07-18 22:38:27 -04:00
Gaming4JC f1444fd2a5 1320408 - Part 18: Change StringObject::init to static method. 2019-07-18 22:38:27 -04:00
Gaming4JC 8946c04bfd 1320408 - Part 17: Change NativeObject::clearFlag to static method. 2019-07-18 22:38:26 -04:00
Gaming4JC b2c3459dfc 1320408 - Part 16: Change NativeObject::removeProperty to static method. 2019-07-18 22:38:26 -04:00
Gaming4JC 2bdf5ac4d5 1320408 - Part 15: Change NativeObject::addDataProperty to static method. 2019-07-18 22:38:26 -04:00
Gaming4JC 8d64bb2cc1 1320408 - Part 14: Change some GlobalObject methods to static method. 2019-07-18 22:38:25 -04:00
Gaming4JC b29cd15db5 1320408 - Part 13: Change DebugEnvironmentProxy::getMaybeSentinelValue to static method. 2019-07-18 22:38:25 -04:00
Gaming4JC 48f3e84a20 1320408 - Change JSScript::sourceDataWithPrelude to static method
UXP Interdiff
2019-07-18 22:38:25 -04:00
Gaming4JC ae744027c4 1320408 - Part 12: Change JSScript::sourceData to static method. 2019-07-18 22:38:24 -04:00
Gaming4JC a2aa520039 1320408 - Part 10: Change LazyScript::functionDelazifying to static method. 2019-07-18 22:38:24 -04:00
Gaming4JC 026f7e0b14 1320408 - Part 9: Change JSObject::setFlags and depending methods to static method. 2019-07-18 22:38:24 -04:00
Gaming4JC 58d7d7afa3 1320408 - Part 8: Change JSObject::reportNotConfigurable and JSObject::reportNotExtensible to static method. 2019-07-18 22:38:24 -04:00
Gaming4JC 90c615b485 1320408 - Part 7: Remove JSContext* parameter from JSObject::shouldSplicePrototype. 2019-07-18 22:38:23 -04:00
Gaming4JC 535728b0cb 1320408 - Part 6: Change JSObject::splicePrototype to static method. 2019-07-18 22:38:23 -04:00
Gaming4JC 084d8e954b 1320408 - Part 5: Change JSObject::constructorDisplayAtom to static method. 2019-07-18 22:38:23 -04:00
Gaming4JC 9fab735105 1320408 - Part 4: Change JSObject::getGroup to static method. 2019-07-18 22:38:22 -04:00
Gaming4JC 28ca38d299 1320408 - Part 3: Remove JSContext* parameter from JSFunction::getBoundFunctionArgument. 2019-07-18 22:38:22 -04:00
Gaming4JC 1f7a7a5a7c 1320408 - Part 2: Change JSFunction::getOrCreateScript to static method. 2019-07-18 22:38:22 -04:00
Gaming4JC 758749b0a7 1320408 - Part 1: Change JSFunction::getLength and JSFunction::getUnresolvedLength to static method. 2019-07-18 22:38:21 -04:00
Gaming4JC 418b587b46 1175823 - Import test262 mapped arguments tests. 2019-07-18 22:38:21 -04:00
Gaming4JC dcc284643d 1175823 - Implement [[DefineOwnProperty]] for mapped arguments object. 2019-07-18 22:38:21 -04:00
Gaming4JC ecb055a434 1333045 - Update Location object properties to current spec.
Specifically, three changes:
1) valueOf should be non-enumerable.
2) valueOf should be === to Object.prototype.valueOf.
3) There should be no toJSON.
2019-07-18 22:38:20 -04:00
Gaming4JC abc4ec171e 1333143 - Self-host Object.prototype.valueOf. 2019-07-18 22:38:20 -04:00
Gaming4JC 59d206c9f2 903389 - Make Make NativeGet[Getter]PureInline handle dense/typed array shapes. 2019-07-18 22:38:20 -04:00
Gaming4JC 421ac9e83e 903389 - Fix uses of ClassMethodIsNative. 2019-07-18 22:38:19 -04:00
Gaming4JC 6ef6a0ba2c 1317375 - Implement "Template Literals Revision / Lifting Template Literal Restriction" ECMAScript proposal 2019-07-18 22:38:19 -04:00
Gaming4JC 330f9f8a35 1317374 - Don't do Annex B lexical function behavior when redeclaring a parameter name. 2019-07-18 22:38:19 -04:00
Gaming4JC c8820c1948 1323324 - Part 1: Make Promise::unforgeable{Resolve,Reject} spec-compliant. 2019-07-18 22:38:18 -04:00
Gaming4JC 2e70315f4b 1325606 - Return wrapped async function from caller property. 2019-07-18 22:38:18 -04:00
Gaming4JC 500c73f11d 1326454 - Don't report an error when SourceCoords::add fails, because it fails only when an underlying Vector::append fails, and that vector handles OOM reporting itself. 2019-07-18 22:38:18 -04:00
Gaming4JC 68f3166f33 1326454 - Add assertions to TokenStream::skipChars{,IgnoreEOL} verifying EOF isn't yet hit and that newlines aren't skipped, if appropriate. 2019-07-18 22:38:18 -04:00
Gaming4JC e1bd5cdd86 1326454 - Make TokenStream::skipChars{,IgnoreEOL} accept an unsigned integral number of chars to skip. 2019-07-18 22:38:17 -04:00
Gaming4JC 2821f9d15d 1326454 - Make TokenStream::peekChar's signature fallible. 2019-07-18 22:38:17 -04:00
Gaming4JC 28e58b163a 1326454 - Rename TokenStream::getBracedUnicode to TokenStream::matchBracedUnicode and make its signature fallible. 2019-07-18 22:38:17 -04:00
Gaming4JC 63e937f312 1326454 - Introduce TokenStream::warning that warns at the current offset. 2019-07-18 22:38:16 -04:00
Gaming4JC 853500a8b1 1326454 - Introduce TokenStream::error that reports an error at the current offset. 2019-07-18 22:38:16 -04:00
Gaming4JC 07a63cadb3 1325157 - Implement a ParserBase class that holds functionality that's identical between syntax parsing and full parsing. 2019-07-18 22:38:16 -04:00
Gaming4JC 9e81bfc82a 1325473 - A TypeError should be thrown when accessing 'arguments' or 'caller' on any of the new function types. 2019-07-18 22:38:15 -04:00
Gaming4JC 77e0cfa799 1320403 - Move JSFunction::EXPR_BODY to JSScript, LazyScript, and FunctionBox. 2019-07-18 22:38:15 -04:00
Gaming4JC 30f6299c5a 636635 - Do not create named lambda binding for a function created by Function constructor. 2019-07-18 22:38:15 -04:00
Gaming4JC d5833cd1bf 1317379 - Disallow generator functions and async functions as direct children of if/else. 2019-07-18 22:38:14 -04:00
Gaming4JC 00926004dd 1296814 - Move FunctionDeclaration-as-consequent/alternative handling out of Parser::functionStmt into Parser::consequentOrAlternative. 2019-07-18 22:38:14 -04:00
Gaming4JC bf46e9c7ba 1317153 - Provide better error message when errornous syntax possibly match "await SOMETHING" outside async function. 2019-07-18 22:38:14 -04:00
Gaming4JC 3fb9563883 1317090: Remove js::FindBody; 2019-07-18 22:38:13 -04:00
Gaming4JC 3d3afd57b4 1315815 - Don't treat async or await as a keyword when they contain escapes. 2019-07-18 22:38:09 -04:00
Moonchild bf4e5c2663 Merge pull request #1189 from JeroenVreeken/master
Add support for AAC audio in matroska/webm files
2019-07-18 17:34:26 +00:00
wolfbeast 7ae3ec2d4f Revert "Capture delayed events and cancel as necessary."
Tag mcp-graveyard/UXP#1052 (backout).
Backed out for creating issues like #1191 and other issue-less problems
with e.g. losing the caret from text boxes. Of note: this was also
backed out from m-c for similar reasons in Bug 1332433.
This fixes #1191.
This reverts commit 3424afccae.
2019-07-18 19:21:07 +02:00
wolfbeast 9e761c02f3 Consider domain when deciding on inner window reuse. 2019-07-18 18:39:06 +02:00
Bryce Van Dyk b8c3eb85e6 Use a RefPtr to hold owner element ref when moving media resource load
to background.
2019-07-18 18:10:14 +02:00
wolfbeast 3f9262dba4 Implement a threadsafe & revised version of http2PushedStream. 2019-07-18 17:52:46 +02:00
adeshkp f4c1ae89c4 Issue mcp-graveyard/UXP#701 - Support spaces in Mac app name 2019-07-18 11:21:40 -04:00
wolfbeast 803332e073 Merge branch 'nss-work' 2019-07-18 15:58:00 +02:00
Jeroen Vreeken 6225cce9fe Merge branch 'master' of github.com:JeroenVreeken/UXP 2019-07-18 11:02:12 +02:00
Jeroen Vreeken 00bdc7ba53 Alow AAC audio codec data in matroska/webm streams.
Allow CRC32 elements in matroska cluster elements.
2019-07-18 11:00:46 +02:00
wolfbeast 79f59ffe5c Update NSS version. 2019-07-17 01:55:51 +02:00
wolfbeast 657fd5c164 Prohibit the use of RSASSA-PKCS1-v1_5 algorithms in TLS 1.3
This is a spec compliance issue.
2019-07-17 01:44:56 +02:00
wolfbeast 326e25af99 Don't unnecessarily strip leading 0's from key material during PKCS11 import. 2019-07-17 01:31:34 +02:00
wolfbeast f636a43a87 Apply better input checking discipline. 2019-07-17 01:15:00 +02:00
wolfbeast 68edb45277 Don't access gNeckoChild if not on main thread. (DiD)
This patch also makes UDPSocketChild::Bind return NS_ERROR_NOT_AVAILABLE
when mBackgroundManager is null.
2019-07-16 18:59:14 +02:00
Moonchild e1b502ccf4 Merge pull request #1181 from win7-7/FrameProperties-fix-comments
Fix comments for FrameProperties (no code changes)
2019-07-15 13:53:44 +00:00
Moonchild 91316b7d59 Merge pull request #1182 from win7-7/fix-one-hang
Dispatch a PluginRemoved event for actual plugins, not images/unknown/iframe-type <objects>
2019-07-15 13:52:52 +00:00
Moonchild 033d8943b2 Merge pull request #1185 from FranklinDM/bk_newaddon-missing
[BASILISK] A prompt should be shown for new foreign add-ons on startup
2019-07-15 13:50:36 +00:00
Moonchild 7977725692 Merge pull request #1184 from FranklinDM/am-discoverpane-fix
Show built-in Get Add-ons error page if there is no network connection.
2019-07-15 13:48:21 +00:00
wolfbeast e0ce4504e3 Block http auth prompt for cross-origin image subresources by default.
Still allow this to be bypassed with a pref for those really rare corner
cases where images are loaded cross-origin by design and the session
hasn't been/can't be authenticated ahead of time.
2019-07-15 14:13:14 +02:00
wolfbeast bd7808c8b6 Selectively allow ftp subresources in the blocked mode.
- Allow "Save As..." downloads
- Allow subresource use if the top-level document is also on FTP
2019-07-15 13:20:53 +02:00
FranklinDM 88da524c40 [BASILISK] A prompt should be shown for new foreign add-ons on start up
- Follow up to: 2cbbc5de45 and #937
- Should be `RecentWindow.getMostRecentBrowserWindow()` instead of `this.getMostRecentBrowserWindow()`.
2019-07-15 14:43:13 +08:00
FranklinDM 9b1a5984a8 Issue mcp-graveyard/UXP#1183 - Fix incorrect conditional preventing Discover Error Page from showing up 2019-07-15 13:51:33 +08:00
wolfbeast dac0804c78 Add preference to allow the loading of FTP subresources for corner cases 2019-07-14 22:41:01 +02:00
win7-7 1b0a8ebe0b Dispatch a PluginRemoved event for actual plugins, not images/unknown/iframe-type <objects>
If a page uses or removes many <object> elements which are not actually plugins, loading the page goes to a crawl because UXP recalculates the plugin UI every time.

Only dispatch a PluginRemoved event for actual plugins.
2019-07-14 23:08:23 +03:00
Matt A. Tobin 0f40d85fd4 Follow up to #1177 - Clean up package-manifest.in 2019-07-14 09:56:09 -04:00
New Tobin Paradigm ad9fc2d975 Merge pull request #1177 from MoonchildProductions/remove_webide
Remove WebIDE devtools component.
2019-07-14 09:12:34 -04:00
Moonchild f6c7232869 Merge pull request #1175 from MoonchildProductions/deunify_caps
Stop building /caps unified and fix deprot.
2019-07-13 18:56:33 +00:00
Moonchild 7d276694fe Merge pull request #1176 from MoonchildProductions/deunify_chrome
Stop building /chrome unified and fix deprot.
2019-07-13 14:33:56 +00:00
wolfbeast 02a8f3d5a0 Remove WebIDE devtools component.
This resolves #1123
2019-07-13 02:41:46 +02:00
wolfbeast fda95887fa Stop building /chrome unified and fix deprot.
Tag mcp-graveyard/UXP#80
2019-07-12 23:30:59 +02:00
wolfbeast 52f2c1d612 Stop building /caps unified and fix deprot.
Tag mcp-graveyard/UXP#80
2019-07-12 16:37:23 +02:00
win7-7 44139ce642 Fix comments for Frameproperties
https://bugzilla.mozilla.org/show_bug.cgi?id=1373884

Fixes comments for Frameproperties.

These comments went unnoticed earlier.

No code changes.
2019-07-12 00:30:22 +03:00
Moonchild ddfc7646e3 Merge pull request #1171 from win7-7/FrameProperties-iterate-once-pr
Iterate the frame property list once to collect which child list properties we have
2019-07-11 14:57:46 +00:00
Moonchild 342cb4fe49 Merge pull request #1174 from JeroenVreeken/master
Report matroska containers as supported and also support h.264 content in a matroska container file
2019-07-11 14:56:41 +00:00
Jeroen Vreeken e9092cc474 Make matroska mime type checking more consistent. 2019-07-11 16:36:22 +02:00
Jeroen Vreeken f814675a89 Allow matroska mime types for video element and MSE
Allow avc (h.264) content in matroska/webm containers
2019-07-10 11:08:09 +02:00
wolfbeast e281b8b60f Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2019-07-08 21:47:28 +02:00
wolfbeast 18e1ce93e8 Remove e10s info from about:support
tag #953
2019-07-08 21:46:44 +02:00
win7-7 e41a604751 Iterate the frame property list once to collect which child list properties we have
Look into optimizing out the hashtable lookups from nsContainerFrame
2019-07-08 19:19:56 +03:00
New Tobin Paradigm 10c58f914a Merge pull request #1164 from g4jc/hotfix-removal
Issue mcp-graveyard/UXP#1160 - Remove unused HotFix preferences
2019-07-08 00:24:11 -04:00
wolfbeast d5bc4fd94c Avoid type confusion in ArrayJoinDenseKernel 2019-07-08 02:17:07 +02:00
Moonchild 7ecc01792d Merge pull request #1168 from win7-7/DisplayItemData-destructor
Avoid multiple hashtable lookups in DisplayItemData destructor
2019-07-07 18:34:17 +00:00
win7-7 5620aa7cb0 Avoid multiple hashtable lookups in DisplayItemData destructor
UXP has:

MOZ_RELEASE_ASSERT(sAliveDisplayItemDatas && sAliveDisplayItemDatas >Contains(this));
  sAliveDisplayItemDatas->RemoveEntry(this);

and this gets hit during frame destruction.

Combine these checks.
2019-07-07 20:02:35 +03:00
Moonchild 516e476e5b Merge pull request #1163 from win7-7/nsHtml5HtmlAttributes-clear
Introduce a new non-heap-allocated type for holding nsStringBuffer* in the HTML parser
2019-07-07 10:31:28 +00:00
Gaming4JC 7525c297c5 Issue mcp-graveyard/UXP#1160 - Remove HotFix Preferences from Telemetry 2019-07-05 21:18:04 -04:00
Gaming4JC 7dc858fa5f Issue mcp-graveyard/UXP#1160 - Remove HotFix preferences from testing 2019-07-05 21:17:46 -04:00
Gaming4JC a4b2d154ec Issue mcp-graveyard/UXP#1160 - [Basilisk] Remove unused HotFix preferences 2019-07-05 20:59:31 -04:00
win7-7 efe62d1d7e Introduce a new non-heap-allocated type for holding nsStringBuffer* in the HTML parser.
An innerHTML setter profile shows about 10% of the time being spent under nsHtml5HtmlAttributes::clear, mostly deleting nsStrings.
2019-07-05 21:58:21 +03:00
Moonchild 2475287e10 Merge pull request #1159 from FranklinDM/bk_alltabslist-fix
Fix broken all tabs menu listing in Basilisk
2019-07-05 14:48:54 +00:00
FranklinDM 37b7dc7d22 Issue mcp-graveyard/UXP#1158 - Reinstate tabcontainer variable
- This was erroneously removed in commit 1f5194b5f1 because it is still being used by surrounding code.
2019-07-05 17:50:00 +08:00
FranklinDM 427ec7266f Issue mcp-graveyard/UXP#1158 - Remove extraneous closing brace
- This also adjusts code indentation
2019-07-05 17:32:17 +08:00
Moonchild a1feab0bf4 Merge pull request #1149 from kbhasi/master
Fix duplicate icons and incorrect capitalisations in GNOME, and disabled startup feedback
2019-07-05 00:58:01 +00:00
wolfbeast 16aee75e88 Give Mac an Linux (small sizes) the same treatment 2019-07-04 19:39:13 +02:00
wolfbeast dab870090a Add adjusted icon for 2k/XP classic grey toolbar backgrounds.
(because otherwise we won't hear the end of it)
2019-07-04 18:50:29 +02:00
wolfbeast f833f40656 Remove FT's polyfill.io SSUAO now they have fixed their detection.
See also: https://github.com/Financial-Times/polyfill-useragent-normaliser/pull/12
2019-07-04 13:47:47 +02:00
Moonchild 18fdb6141c Merge pull request #1151 from win7-7/FrameProperties
Attach FrameProperties to each frame instead of using a shared hashtable
2019-07-03 15:17:08 +00:00
wolfbeast 5c9bde344d Change softoken password rounds to a more conservative number still
within industry standard security, considering our db hashing is more
CPU intensive than anticipated.
2019-07-03 16:22:13 +02:00
wolfbeast 2c693974bc Update 16x16 branding images/icons for improved contrast on grey
backgrounds.
2019-07-03 12:01:25 +02:00
wolfbeast af00d5662d Update SSUAO for web.whatsapp.com.
This resolves #1152
2019-07-03 00:05:41 +02:00
wolfbeast be2fa343de New cycle version bump. 2019-07-02 16:07:31 +02:00
Kevin Bhasi c24e58b838 Issue mcp-graveyard/UXP#1148 - Part 2: Add StartupWMClass to .desktop for official 2019-07-01 13:24:01 +08:00
Kevin Bhasi 0eebba0089 Issue mcp-graveyard/UXP#1148 - Part 1: Add StartupWMClass to .desktop for unofficial 2019-07-01 13:14:14 +08:00
win7-7 1d812d0f7d Merge branch 'master' into FrameProperties 2019-06-30 12:38:18 +03:00
Matt A. Tobin 55216bd1ed Merge branch 'pmpersona-work' 2019-06-29 11:26:40 -04:00
Matt A. Tobin 9f954f73fe [Pale Moon] Add a configure flag to functionally disable personas at build time 2019-06-29 11:26:21 -04:00
Moonchild aaa28a45e5 Merge pull request #1146 from g4jc/unboxed_debug_bustage
Issue mcp-graveyard/UXP#1142 - Cleanup unused debug code for unboxed objects
2019-06-29 13:38:05 +00:00
Gaming4JC 1be4814b60 Issue mcp-graveyard/UXP#1142 - Cleanup unused debug code for unboxed objects
Also fixes an assertion during compile if debug is enabled since unboxed objects have been removed.
2019-06-28 23:02:15 -04:00
g4jc 4ee57fbd59 Issue mcp-graveyard/UXP#1142 - Remove uneeded assertion (#1145)
Since unboxed objects were removed, isUnboxed is undefined. This causes a build failure when debuging is enabled. This patch fixes the issue by removing the uneeeded assertion.
2019-06-28 21:35:05 -04:00
wolfbeast a2ab8c2cb5 [Pale Moon] Remove *.pdf file association in the installer. 2019-06-29 01:37:06 +02:00
wolfbeast 1add64b790 Revert "Treat *.jnlp as an executable class file, like *.jar"
Rationale: This was a Mozilla oversight and/or error.
This change has caused harm and is causing users to switch back to
Chrome, Safari or Edge for their WebStart needs.

JNLP is not an executable and should not be treated as such. JNLP should
be treated the same as any (e.g. Word) document and allowed to be opened
with the designated program.
A JNLP file will not cause execution on a system unless it has a valid
signature, and the user explicitly authorizes the launching based on
information provided by the signature. Moreover, there will even be a
check by the Java environment to see if the Java runtime (if there is
one) is current, and prompt the user to update if required.

This reverts commit 21495c5897 and
modifies ApplicationReputation.cpp to keep the list in sync (was a
discrepancy before).
2019-06-28 19:57:38 +02:00
wolfbeast b85c023f2c Re-save wordmark SVG as plain SVG.
Tag mcp-graveyard/UXP#1010
2019-06-28 14:25:04 +02:00
wolfbeast 4a241ecb42 Update branding. 2019-06-28 13:58:07 +02:00
Moonchild b92d90b300 Merge pull request #1142 from MoonchildProductions/remove-unboxed
Remove unboxed objects
2019-06-28 11:25:09 +00:00
Travis W 7f757095a4 Add StoreBuffer-inl.h header to jsobj.cpp
This should fix deprot on the Linux and Macintosh
2019-06-27 18:57:07 -04:00
wolfbeast 3eb1ef996d Installer: Stop trying to read stub installer data from ini file 2019-06-27 13:06:55 +00:00
New Tobin Paradigm b9f4a477e9 Update CLOBBER 2019-06-26 22:02:15 -04:00
New Tobin Paradigm 6f819583cd Merge pull request #1143 from trav90/master
Update HSTS preload list
2019-06-26 21:59:52 -04:00
wolfbeast 705e1a82e1 Merge branch 'nss-sftkpwd-update' 2019-06-27 03:37:29 +02:00
wolfbeast 4ef12c36b0 Platform version update for large internal changes:
- Removal of a lot of redundant JS code (part pending)
- Addition of more ES standards code
- Change of master password / NSS db password storage (pending)
2019-06-27 03:36:56 +02:00
trav90 37d9213c60 Update HSTS preload list
Tag mcp-graveyard/UXP#447
2019-06-26 19:31:51 -05:00
wolfbeast b26e9093f2 Update NSS to 3.41.1 (custom)
This resolves #82
2019-06-27 00:45:42 +02:00
wolfbeast 7935f4429c Revert "Update NSS to 3.41.1 (custom)"
This reverts commit fbc2eaacd6.
2019-06-26 23:32:13 +02:00
wolfbeast 24816a80f9 Update NSS to 3.41.1 (custom)
This resolves #82
2019-06-26 15:13:18 +02:00
wolfbeast e170462c7e Remove anyNewScript() 2019-06-26 12:00:26 +00:00
wolfbeast 392305c7aa Clean up MObjectState 2019-06-26 11:44:03 +00:00
wolfbeast 4de07bec3f Remove now-unused parameter (prev. used for unboxed objects). 2019-06-26 09:20:03 +00:00
win7-7 a642e7a3e2 Attach FrameProperties to each frame instead of using a shared hashtable
Dispense the shared hashtable and instead attach the frame property list directly to nsIFrame.
2019-06-26 01:51:45 +03:00
wolfbeast eddc61b448 Remove UnboxedObjects ObjectGroup addendum 2019-06-25 20:24:34 +00:00
wolfbeast 37c4384806 Remove unboxed object tests. 2019-06-25 20:18:14 +00:00
wolfbeast 73259f3fd4 Remove Unboxed Objects Option Code 2019-06-25 20:17:39 +00:00
wolfbeast 31647d7feb Remove Unboxed Object code from /vm, Part 3. 2019-06-25 11:15:11 +00:00
wolfbeast 71da202acf Remove Unboxed Object code from jit, Part 4. 2019-06-25 11:12:26 +00:00
wolfbeast 8522a6ff8a Remove Unboxed Object code from jit, Part 3. 2019-06-23 21:30:34 +00:00
wolfbeast ac5233dd01 Fix unified deprot 2019-06-23 19:41:44 +00:00
wolfbeast 65cc3a7c98 Remove Unboxed Object code from jit, Part 2. 2019-06-23 19:41:16 +00:00
wolfbeast c87db7846c Merge branch 'master' into remove-unboxed 2019-06-23 15:21:36 +00:00
wolfbeast ac649cff49 Merge branch 'master' into remove-unboxed
# Conflicts:
#	js/src/jit/BaselineIC.cpp
#	js/src/jsarray.cpp
2019-06-23 15:20:34 +00:00
wolfbeast 4be699a136 Clean up the nsis installer script a litte.
- remove stub installer leftovers
- remove maintenance service leftovers
- remove unused macros
2019-06-21 15:47:12 +02:00
wolfbeast a0d94babb3 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2019-06-20 14:41:46 +02:00
wolfbeast b1cdabbf8c Call a more generic function when inlining array natives.
This simplifies the code a bit because
ElementAccessHasExtraIndexedProperty checks for length-overflow
(directly) and sparse-indexes (through TypeCanHaveExtraIndexedProperties)
so the callers don't have to do that anymore.
2019-06-20 12:56:32 +02:00
New Tobin Paradigm beb4f00dde Merge pull request #1139 from g4jc/disable_sync
[Basilisk] Fix packaging when sync is not built
2019-06-19 22:54:24 -04:00
Gaming4JC 042a197692 [Basilisk] Fix packaging when sync is not built
Packaging will fail due to missing ifdefs when --disable-sync is passed in .mozconfig. This fixes that issue by including the missing ifdefs.
2019-06-19 22:52:25 -04:00
New Tobin Paradigm c85a958945 Merge pull request #1133 from Ascrod/master
Add application executable location to the about:support page
2019-06-19 21:04:45 -04:00
Moonchild aa909de5a4 Merge pull request #1137 from MoonchildProductions/remove-unboxed-checked
Remove unboxed (checked branch)
2019-06-19 10:56:35 +00:00
wolfbeast 6d53ced201 Revert "Add Yandex (ru) search plugin"
Since Yandex is greedy and only accepts a partnership if they are the
browser default. They don't deserve the traffic.

This reverts commit c9edf588ed.
2019-06-18 20:07:02 +02:00
wolfbeast 6a4416fb1d Tabs -> Spaces (no code change) 2019-06-18 12:59:22 +00:00
wolfbeast 7039491bc7 Remove/inline CanonicalizeArrayLengthValue. 2019-06-18 10:30:16 +00:00
wolfbeast 96e144ec29 Remove JSOP_SPREADCALLARRAY and just use JSOP_NEWARRAY again. 2019-06-18 10:30:04 +00:00
wolfbeast 293a71021d Update comment 2019-06-18 10:29:54 +00:00
wolfbeast c63171cdfc Remove and clean up more code. 2019-06-18 10:29:34 +00:00
wolfbeast 1a10c4e6b3 Replace SetOrExtendBoxedOrUnboxedDenseElements with direct calls. 2019-06-18 10:26:28 +00:00
wolfbeast 013b44ccf4 Clean up and rename MoveBoxedOrUnboxedDenseElements. 2019-06-18 10:26:06 +00:00
wolfbeast b66da129cf Convert CopyBoxedOrUnboxedDenseElements to something that doesn't crash. 2019-06-17 18:37:23 +00:00
wolfbeast dff5cfcb91 Fix typo in ArrayShiftMoveElements 2019-06-17 15:09:05 +00:00
wolfbeast 72d09a571e Revert "Remove JSOP_SPREADCALLARRAY and just use JSOP_NEWARRAY again."
This reverts commit 912c3f5cbc.
2019-06-17 13:51:02 +00:00
wolfbeast 6919ad5473 Fix a typo in ArraySliceOrdinary 2019-06-17 12:47:15 +00:00
wolfbeast f8e6e94d06 Fix typo in ArrayShiftMoveElements 2019-06-17 00:38:02 +00:00
wolfbeast 5cff803d66 Remove/inline CanonicalizeArrayLengthValue. 2019-06-16 23:17:34 +00:00
wolfbeast 5f222ecdeb Remove JSOP_SPREADCALLARRAY and just use JSOP_NEWARRAY again. 2019-06-16 23:13:47 +00:00
wolfbeast f62fb5e499 Update comment 2019-06-16 20:06:39 +00:00
wolfbeast 878917fb91 Remove and clean up more code. 2019-06-16 19:55:05 +00:00
wolfbeast 9fd9d0572e Force clobber for ICU update 2019-06-16 21:51:56 +02:00
Moonchild 0a6ad100eb Merge pull request #1136 from MoonchildProductions/Update_ICU
Update ICU
2019-06-15 21:21:52 +00:00
wolfbeast 08ec5c8f21 Update tzdata SpiderMonkey files 2019-06-15 23:03:07 +02:00
wolfbeast 0d554ceec8 Update tzdata resource files 2019-06-15 23:02:32 +02:00
wolfbeast c8190ac452 Update update-tzdata.sh to use git instead of svn, and not try to
auto-commit with hg.
2019-06-15 22:59:50 +02:00
wolfbeast a25c31c1f3 Update ICU to 58.3
- This adds the new Japanese ascension era (Reiwa)
- This updates timezone data to 2019a
- Updated script for git instead of SVN
- Regenerated locale data
2019-06-15 20:39:39 +02:00
wolfbeast b30021e6e5 Replace SetOrExtendBoxedOrUnboxedDenseElements with direct calls. 2019-06-14 11:33:28 +00:00
wolfbeast 9f8dcd6b6c Clean up and rename MoveBoxedOrUnboxedDenseElements. 2019-06-13 11:42:21 +00:00
wolfbeast e5e0dafbd0 Convert CopyBoxedOrUnboxedDenseElements to calls to initDenseElement 2019-06-13 10:54:46 +00:00
wolfbeast 29a1a0fab8 Remove functors for array natives. 2019-06-12 11:03:35 +00:00
wolfbeast 099371fca3 Remove unboxed array context option and shell flag. 2019-06-12 09:56:41 +00:00
wolfbeast b699848e30 Remove unused LIR temp register for unboxed arrays. 2019-06-12 09:09:53 +00:00
wolfbeast ed227c628b Make use of ArrayObjects in favor of generic JS objects.
ArrayObjects has been a thing for years but been under-used. About time
they are used where prudent.
2019-06-12 03:19:09 +00:00
wolfbeast 3afd023e9c Add Yandex (ru) search plugin 2019-06-12 03:39:43 +02:00
wolfbeast 945e65d0d6 Add Atomics.notify instead of Atomics.wake according to revised spec.
- Keep .wake as an alias until we're certain it can be removed.
- Enable SAB memory
2019-06-12 03:38:40 +02:00
Ascrod e8ff4e1f52 Issue mcp-graveyard/UXP#1132 - Add application executable location to the about:support page. 2019-06-10 16:34:50 -04:00
wolfbeast f9dff37d4e Inline combined methods for NativeObject and UnboxedArrayObject accesses. 2019-06-10 16:49:47 +00:00
wolfbeast 7ee2766cec Merge branch 'master' into remove-unboxed 2019-06-08 07:48:28 +00:00
wolfbeast 3040c1143b Remove e10s force-enable/-disable prefs and a11y considerations for
starting in e10s mode.

This resolves #1130
2019-06-07 12:40:36 +02:00
wolfbeast 3ab26c778d Improve origin-clean algorithm based on our previous changes.
- Instead of trying the failing refactored Mozilla way, simply add a
check where needed building on what was put in place previously.
2019-06-05 22:11:53 +02:00
wolfbeast debf738d22 Revert "Improve origin-clean algorithm"
This reverts commit e69b3f567c.
2019-06-04 23:58:47 +02:00
Matt A. Tobin 56377f8f26 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2019-05-29 16:01:50 -04:00
Matt A. Tobin 82641b0f6e [Pale Moon] Update the check for updates menu item logic for already staged automatic updates 2019-05-29 16:01:18 -04:00
Matt A. Tobin 117b714443 Show the update UI instantly instead of after 10 minutes of inactivity 2019-05-29 15:59:36 -04:00
wolfbeast 87254c5db1 [WebGL] Enable size limit on Linux.
Some drivers on Linux are not supportive of very large allocation sizes
(esp. applicable to Linux x86 builds of UXP applications) and could
cause issues. Treat this the same way we already do on Mac/Darwin.
2019-05-29 12:08:40 +02:00
wolfbeast ae0a5284cb Treat *.jnlp as an executable class file, like *.jar 2019-05-29 11:53:04 +02:00
wolfbeast 71a8127c01 Make nsFind::Find actually use a string type as input.
Futureproofing follow-up to b89570e31c
2019-05-29 11:25:58 +02:00
wolfbeast cbe69ba212 Fix #1091 deprot 2019-05-29 11:08:31 +02:00
wolfbeast 8b70344a4a Perform a size check when dealing with clipboard data to be sure.
Follow-up to 0b6d9a4705
2019-05-29 11:05:41 +02:00
wolfbeast 999003536d Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2019-05-28 18:14:18 +02:00
wolfbeast 3ad94d857e Improve efficiency of (C++) heap allocations related to
BytecodeEmitter::code.

While there, also add some sanity checks and clean up code.
2019-05-28 18:03:08 +02:00
Jed Davis 13877d0839 Tweak some NSPR variables for Darwin. 2019-05-28 15:18:54 +02:00
wolfbeast 451934576f Make extra sure Compositables don't refer back to layers after reassignment. 2019-05-28 15:18:04 +02:00
wolfbeast 9e9ded48e1 Disallow res external protocol handler. 2019-05-28 14:44:57 +02:00
wolfbeast 59997019ae Ensure we AddRef prior to early return in MediaType::Assign. 2019-05-28 14:41:20 +02:00
wolfbeast c00a741b03 Update HSTS preload list
Tag mcp-graveyard/UXP#447
2019-05-28 08:32:43 +00:00
wolfbeast 0fe80479b8 Improve origin-clean algorithm 2019-05-27 19:19:27 +02:00
wolfbeast 68e0089981 Port an upstream Skia fix. 2019-05-27 17:59:55 +02:00
wolfbeast 6f4533e0f6 [places] Prevent some abuse of smart queries. 2019-05-26 17:55:44 +02:00
Matt A. Tobin c4dbbd129b [Pale Moon] Fix event.stopPropagation is not defined when clicking the show/hide tiles on about:newtab 2019-05-25 18:36:25 -04:00
New Tobin Paradigm 2e9ef8282f Merge pull request #1122 from adeshkp/remove-newtab-basilisk
Remove code for sponsored "enhanced" tiles in NewTab page
2019-05-25 18:31:02 -04:00
wolfbeast 01f7d5998e Bump platform version for primarily #1112 and #1061 2019-05-25 22:21:26 +02:00
adeshkp 1f851079ca Issue mcp-graveyard/UXP#246 - Remove "enhanced" newtab code from Pale Moon 2019-05-25 15:59:28 -04:00
adeshkp 54e82f9adb Issue mcp-graveyard/UXP#246 - Remove "enhanced" newtab code from toolkit 2019-05-25 15:59:01 -04:00
New Tobin Paradigm 65e4a05974 Add commit message style guidelines (#1117)
* Add commit message style guidelines
* Revise commit message style perposal
* Grammar
* Last bit
* Use a space
2019-05-25 16:15:05 +00:00
Moonchild e521c0a735 Merge pull request #1119 from win7-7/NodeInfoManager-local-cache
NodeInfoManager should use a local cache
2019-05-25 15:57:54 +00:00
Moonchild e34ef24eda Merge pull request #1121 from win7-7/nsHtml5PortabilitylocalEqualsBuffer-pr
Use memcmp in nsHtml5Portability::localEqualsBuffer
2019-05-25 15:53:41 +00:00
wolfbeast d2d204293e [media] Rewrite AudioConverter::DownmixAudio
- Structure the code better
- Directly downmix to mono from multichannel
2019-05-25 17:45:05 +02:00
adeshkp f2bb9ce5c7 Issue mcp-graveyard/UXP#246 - Remove more of compact mode and newtab junk from Basilisk 2019-05-25 11:21:55 -04:00
adeshkp 3cfea7528b Issue mcp-graveyard/UXP#246 - Revert "Revert "Remove unwanted newtab page code""
Page thumbnails hiccups seem to have resolved, so it can be landed again.

This reverts commit 51792b31a3.

Conflicts:

	application/basilisk/modules/DirectoryLinksProvider.jsm
2019-05-25 11:19:38 -04:00
win7-7 e58edf6c67 use memcmp for nsIAtom Equals to improve performance parser/html
issue MoonchildProductions#1113 Use memcmp and not slower string Equals in nsHtml5Portability::localEqualsBuffer
2019-05-25 18:04:02 +03:00
win7-7 f386480f05 use memcmp for nsIAtom Equals to improve performance xpcom/ds
issue #1113 Use memcmp and not slower string Equals in nsHtml5Portability::localEqualsBuffer
2019-05-25 18:02:40 +03:00
wolfbeast 3b9764da22 [Basilisk/Pale Moon] Update region.properties.
- Fix incorrect goanna prefix
- Remove dead/insecure 30boxes service for webcal
- Add preset order for Ecosia
2019-05-25 16:56:51 +02:00
wolfbeast 8840b0640a Avoid some useless ForgetSkippable handling while we're already dealing
with snow-white objects.
2019-05-25 16:08:16 +02:00
wolfbeast f11914b701 [IndexedDB] Call SendFailureResult if the actor has been destroyed.
Normally we wouldn't need to send any notifications if the actor was
already destroyed, but it can be a VersionChangeOp which needs to
notify its parent operation (OpenDatabaseOp) about the failure.
So SendFailureResult needs to be called even when the actor was
destroyed.  Normal operations redundantly check if the actor was
destroyed in SendSuccessResult and SendFailureResult, therefore it's
ok to call it in all cases here.
2019-05-25 16:01:39 +02:00
Lars T Hansen d9311006bd [js, ARM] Always check error return from BufferOffset::diffB.
We were missing error checks at two points. In one case an error return
is meaningful; in another case it is not, as the problem should have
been guarded against at a higher level by emitting far jump islands soon
enough during pasteup of compiled code.
2019-05-25 15:41:06 +02:00
win7-7 3eae129b2e NodeInfoManager should use a local cache
issue #1111
2019-05-25 16:22:19 +03:00
wolfbeast 6caab376ba [libpng] Backport an upstream libpng patch. 2019-05-25 15:12:24 +02:00
wolfbeast abfd317ed2 Make nsFind::Find handle empty string searches. 2019-05-25 15:07:51 +02:00
Moonchild fd2c7cad5f Merge pull request #1115 from win7-7/NS_Atomize-cache
Add NS_Atomize cache for main thread use
2019-05-25 12:32:37 +00:00
Moonchild 2fc8a4e29d Merge pull request #1114 from g4jc/disable-meta-cookie
Disable <meta http-equiv=set-cookie>
2019-05-25 12:29:51 +00:00
win7-7 faf5121bca change for nsNodeInfoManager.cpp
based to patch for https://bugzilla.mozilla.org/show_bug.cgi?id=1352235 v1 add main thread only cache.
2019-05-25 12:46:50 +03:00
Gaming4JC f14644a7b4 Issue mcp-graveyard/UXP#1102 - Disable <meta http-equiv=set-cookie>
Create a new pref 'dom.meta-set-cookie.enabled' which is set to 'false', disabling http-equiv meta cookies.
2019-05-24 20:14:44 -04:00
wolfbeast ba1bde883e Fix architecture flag for PPC64
Fixes #1092
2019-05-25 00:31:24 +02:00
win7-7 18c233fe09 Add missing NS_AtomizeMainThread(nameToUse);
nsCOMPtr<nsIAtom> nameAtom = NS_AtomizeMainThread(nameToUse);
2019-05-24 22:55:23 +03:00
win7-7 5d55d9e91e Lots of time spent maintaining nsDisplayLayerEventRegions (#1116)
* Simplify the dispatch-to-content region

Simplify the dispatch-to-content region in nsDisplayLayerEventRegions::AddFrame() and AddInactiveScrollPort() if it starts to get large.

* tabs to spaces
2019-05-24 17:00:07 +00:00
win7-7 4bdc447eae make HTML parser to use faster atomization in main thread 2019-05-24 14:05:09 +03:00
win7-7 0d700b4187 remove unnecessary spaces 2019-05-24 14:02:32 +03:00
win7-7 ff276c84a6 add main thread only cache for nsIAtoms to speed up atomization xpcom/ds
add main thread only cache for nsIAtoms to speed up atomization
2019-05-24 13:58:13 +03:00
win7-7 096f6991d4 add main thread only cache for nsIAtoms to speed up atomization dom/base
add main thread only cache for nsIAtoms to speed up atomization
2019-05-24 13:56:08 +03:00
Moonchild 4cb57b622a Merge pull request #1099 from adeshkp/remove-telemetry-func
Remove a stubbed telemetry function from app AUS.
2019-05-24 10:38:51 +00:00
Moonchild 567bf3e719 Merge pull request #1105 from FranklinDM/pm_uri_tabbrowser-work
Clicking a link with a target should open only 1 tab
2019-05-24 10:38:19 +00:00
Moonchild 7b97a5ea13 Merge pull request #1108 from g4jc/svg_opentype
Support gzip-compressed SVGs in OpenType+SVG fonts
2019-05-24 10:37:40 +00:00
Gaming4JC b97df91fa5 Issue mcp-graveyard/UXP#1101 - Support gzip-compressed SVGs in OpenType+SVG fonts 2019-05-23 19:47:59 -04:00
wolfbeast 923d74d739 Remove UnboxedArray code part 2 2019-05-23 10:51:09 +00:00
FranklinDM f099de3d62 Issue mcp-graveyard/UXP#1104 - Pass an opener to loadOneTab in the openURI function 2019-05-23 13:39:01 +08:00
FranklinDM f5fd93950a Issue mcp-graveyard/UXP#1104 - Set the browser's opener when adding a new tab
- This modifies `loadOneTab` and `addTab` to accept an opener
- This code was adapted from Basilisk's copy of tabbrowser.xml without the refactored code changes (which is a lot more involved as it divides addTab's functions into multiple functions)
2019-05-23 13:29:20 +08:00
wolfbeast 603f2cf608 Remove UnboxedArray code part 1 2019-05-23 02:48:13 +00:00
Moonchild dcf45e82fb Merge pull request #1100 from Ionic/bugfix/xrender-flicker
Enable double buffering when using XRENDER.
2019-05-22 21:58:01 +00:00
Mihai Moldovan 332ef649d7 Enable double buffering when using XRENDER.
This fixes flickering/bars/stripes showing up during quickly-updating
operations on Intel hardware when using XRENDER.

For more information, refer to the code comment.

See #1061
2019-05-22 21:18:15 +02:00
adeshkp 19c4c8139d Remove a stubbed telemetry function from app AUS. 2019-05-22 13:34:36 -04:00
Moonchild 73afcb0445 Merge pull request #1091 from MoonchildProductions/remove-unboxed
Remove unboxed objects phase 1
2019-05-22 14:14:18 +00:00
Moonchild bd1692f360 Merge pull request #1097 from FranklinDM/pm_external_sametab-work
Issue mcp-graveyard/UXP#971 - Fix browser.link.open_newwindow functionality in Pale Moon
2019-05-22 14:13:04 +00:00
FranklinDM 2878cf325e Issue mcp-graveyard/UXP#971 - Fix browser.link.open_newwindow functionality in Pale Moon 2019-05-22 19:24:30 +08:00
wolfbeast 081fd7ca8f Implement Symbol​.prototype​.description
Resolves #1096
2019-05-20 02:50:01 +02:00
wolfbeast a5b308da13 Implement array.flat and array.flatMap
Self-hosted implementation that adds both functions and adds them to
@@unscopables as specced in ES2019.
Resolves #1095
2019-05-19 23:11:17 +02:00
wolfbeast 9ca07f93b5 Add nullcheck.
This resolves #1088
2019-05-17 01:57:45 +00:00
wolfbeast 8396039256 Implement String.prototype.trimStart and trimEnd.
This renames our internal function names because *Left and *Right might
be deprecated and have to be removed later, making that trivial.
Resolves #1089
2019-05-17 01:04:30 +00:00
wolfbeast 533508fdac Remove Unboxed Objects from vm/ - Part 2 2019-05-16 21:34:42 +00:00
wolfbeast 81165fc941 Remove unboxed object code from jit, Part 1 2019-05-16 19:54:19 +00:00
wolfbeast 3fd990243c Remove Unboxed Objects from vm/ Part 1 + fix deprot 2019-05-16 13:13:36 +00:00
wolfbeast e16326645a Remove array header 2019-05-16 00:50:49 +00:00
wolfbeast 7e6260e96c Remove unboxed object code from iteration. 2019-05-15 20:56:36 +00:00
wolfbeast a801fbfaac Remove unboxed objects from GC 2019-05-15 20:37:51 +00:00
wolfbeast dc2a526cb4 Remove Unboxed Objects in ScalarReplacement
A note about the Scalar Replacement Changes: The M{Load,Store}Unboxed*
instructions in theory could be used to manipulate and analyze typed
arrays. However, TypedArrays should already be excluded from eligibility
because of the potential for cross-thread sharing in a SharedArrayBuffer
world, and so the only support in Scalar Replacement here is for Unboxed
Objects, meaning it can all be removed.
2019-05-15 13:18:33 +00:00
wolfbeast e05f7f6a57 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2019-05-15 12:45:38 +02:00
wolfbeast 16dcb521b3 Map IntersectionObserver rect to the correct viewport.
targetFrame is modified during the intersection computation loop, so
it's not the viewport you want if there are scrollframes around.
This bug triggers when IntersectionObservers are used on frames that
wrap.

Follow-up for #249.
2019-05-15 12:45:10 +02:00
wicknix 9da29a720b Fix scroll bar orientation on MacOS 2019-05-15 01:37:09 -04:00
wolfbeast 489232401f Remove initial chunk of Unboxed Objects machinery part 2 2019-05-15 02:06:04 +00:00
wolfbeast bef61a8f06 remove unboxed code chunk (wip1) 2019-05-14 11:44:11 +00:00
wolfbeast a7079d15b1 Rip broken telemetry out of the app AUS.
Tag mcp-graveyard/UXP#21
2019-05-14 12:16:07 +02:00
wolfbeast a0683580fc Unhook Unboxed Objects option 2019-05-13 15:45:32 +00:00
Moonchild cce720cd26 Merge pull request #1060 from Ionic/bugfix/scrolling-regression
When using XRENDER, create Xlib-based offscreen image surfaces.
2019-05-13 10:49:35 +00:00
Matt A. Tobin 7938bfdf9a Remove deprecated appending of #-moz-resolution from Pale Moon and left over from nsMediaFragmentURIParser.h
This also magically makes Aero Peek work properly with Pale Moon thus:

Resolves #809
2019-05-12 21:00:32 -04:00
New Tobin Paradigm db1fa9b107 Merge pull request #1086 from zootboy/master
Update sync clear history function to use new clear() API call.
2019-05-12 15:43:09 -04:00
Sean Greenslade fec1aca693 Update sync clear history function to use new clear() API call. 2019-05-11 18:12:11 -07:00
Matt A. Tobin 049ac54468 [PALEMOON] buildHelpMenu() is executed by the shared help menu but not all windows have the AppMenu 2019-05-11 12:08:21 -04:00
Franklin DM 7a904ca6f4 Issue mcp-graveyard/UXP#1084 - Add null check for URL Bar in the writePlaceholder() method 2019-05-11 11:52:49 -04:00
Matt A. Tobin aac95233e3 Issue mcp-graveyard/UXP#968 - Preload the permissions manager with permissions file 2019-05-09 16:57:05 -04:00
Matt A. Tobin 066bd1dc0d Issue mcp-graveyard/UXP#1081 - Restore "release notes" item in the help menu 2019-05-09 15:54:49 -04:00
Matt A. Tobin 9c59665476 Issue mcp-graveyard/UXP#1083 - Deprecate FUEL extension helper javascript library 2019-05-09 14:21:18 -04:00
Matt A. Tobin a50028279b Issue mcp-graveyard/UXP#1082 - Restore a getBoolPref global shim in utilityOverlay.js for Extension compatibility 2019-05-09 13:26:23 -04:00
Moonchild 32e7b3c280 Merge pull request #1080 from Ascrod/readerview
Reader Updates
2019-05-06 14:17:55 +00:00
Moonchild fae03668b4 Merge pull request #1078 from Lootyhoof/issue-1072
Don't shrink the tab bar in customize mode
2019-05-05 13:34:04 +00:00
Moonchild 66da0e06be Merge pull request #1077 from g4jc/cve_2018_18500
Fix Use-After-Free in the HTML5 Parser (DiD)
2019-05-05 13:33:32 +00:00
Gaming4JC 3c70e0c6bd backport m-c 1510114: Fix Use-After-Free in the HTML5 Parser
Fixes #1076
2019-05-04 18:42:29 -04:00
Ryan C f62c02e719 Don't shrink the tab bar in customize mode 2019-05-04 20:02:38 +01:00
wolfbeast a445fbcb31 Update icon to the new and improved branding.
Many thanks to "browser tech" and "CharmCityCrab" on the forum
for suggesting the elements that make up this much improved design!
2019-05-04 18:37:35 +02:00
Moonchild 77066f194b Merge pull request #1075 from adeshkp/deunify-accessible-build-2
De-unify accessibility build on Mac.
2019-05-04 14:26:14 +00:00
adeshkp cd8b148c53 De-unify accessibility build on Mac.
Also fixes Linux build bustage with accessibility enabled.
2019-05-04 09:52:08 -04:00
Matt A. Tobin ce47a10fef Only change the default and hover text color on buttons for Windows 8+ HC Themes (aero-lite) 2019-05-03 14:30:01 -04:00
Moonchild c9c64909cf Merge pull request #1071 from win7-7/nsDisplayListBuilder
nsFrameList::GetLength() calls in nsDisplayListBuilder::MarkFramesForDisplayList() are slow
2019-05-03 00:44:28 +00:00
Moonchild 706c40311e Merge pull request #1070 from win7-7/PresShellPaint-performance-patch
PresShell paint performance patch
2019-05-03 00:43:39 +00:00
win7-7 ac25e16110 unnecessary space at the end removed 2019-05-02 16:53:08 +03:00
win7-7 8411176e92 patch to Bug 1377329 2019-05-02 16:51:25 +03:00
win7-7 f188379684 patch to Bug 1363423 2019-05-02 16:47:23 +03:00
wolfbeast 9c81f1dcc2 Restore BROWSER_NEW_TAB_URL check in Basilisk.
This resolves #1066
2019-05-02 02:55:53 +02:00
Moonchild ed6dca5c38 Merge pull request #1065 from win7-7/Improve-dead-compartment-collection
Improve dead compartment collection
2019-04-30 14:11:17 +00:00
win7-7 136be8456f Braces and one more typo fix for comment 2019-04-30 15:07:04 +03:00
win7-7 973dd49378 Whitespaces, typo, tabs to space
Remove whitespaces, correct comment typo, one more tab to space
2019-04-30 13:22:57 +03:00
win7-7 cda2a2b32e Remove rest of empty lines. 2019-04-30 12:37:16 +03:00
win7-7 63462383fe Remove some empty lines 2019-04-30 12:22:51 +03:00
win7-7 cf42709343 Remaining tabs to spaces JavaScriptShared.cpp 2019-04-30 11:06:55 +03:00
win7-7 4910058c80 remaining tabs to space js/src/jsgc.cpp 2019-04-30 02:43:47 +03:00
win7-7 8df8f78436 tab to spaces js/ipc 2019-04-30 02:40:55 +03:00
win7-7 2661b502d0 tab to spaces js/src/builtin 2019-04-30 02:39:24 +03:00
win7-7 6ab4a0194b tab to spaces js/src/gc 2019-04-30 02:20:36 +03:00
win7-7 88c5bd4adb tab to spaces js/src 2019-04-30 02:16:38 +03:00
win7-7 bb2653fad1 Add newline at end of files 2019-04-29 15:37:46 +03:00
win7-7 bf70696901 Add newline at end of file js/src/builtin 2019-04-29 15:36:04 +03:00
win7-7 09fa8059f6 add newline at end of files js/src/gc 2019-04-29 15:33:52 +03:00
win7-7 d33550abb1 Add newline at end of files js/src 2019-04-29 15:31:58 +03:00
win7-7 57a7e6e7ef Space to comment. 2019-04-29 12:32:23 +03:00
win7-7 8c28b3f62e Improve dead compartment collection js/ipc 2019-04-29 12:08:50 +03:00
win7-7 51577c572c Improve dead compartment collection js/src/builtin 2019-04-29 12:05:03 +03:00
win7-7 3e4987b587 Improve dead compartment collection js/src/gc 2019-04-29 12:02:24 +03:00
win7-7 be1cae6dc8 Improve dead compartment collection js/src 2019-04-29 11:59:46 +03:00
wolfbeast 5e40726bdd [PALEMOON] Prevent overlapping modal prompts and preserve prompt order. 2019-04-29 08:13:02 +02:00
wolfbeast 103cb217ad Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2019-04-27 16:25:30 +02:00
wolfbeast 25e192d5b5 New cycle version bump. 2019-04-27 16:25:02 +02:00
Moonchild 77754b2589 Merge pull request #1059 from g4jc/print_preview_fix
Fix #1058 -  Failure to print when pages contain zero-sized <canvas> element.
2019-04-27 14:15:05 +00:00
monikamaheshwari 4edce42ada Bug 1429442 - Buttons in "type control" popup in reader mode should have tooltips r=Gijs,MarcoZ 2019-04-27 09:35:59 -04:00
Sonali9 702a90742b Bug 1151735 - Hide font panel when text is being selected r=Gijs 2019-04-27 09:18:44 -04:00
monikamaheshwari 5966270274 Bug 1422680 - simplify aboutReader.css font-size classes using CSS variables r=Gijs 2019-04-27 09:15:22 -04:00
Ascrod f36c13ea27 Bug 1399616 - add WP emoji styling to reader mode. 2019-04-27 08:49:17 -04:00
Ascrod 18ab715002 Fix parse node limit preference. Tag mcp-graveyard/UXP#361. 2019-04-27 07:43:14 -04:00
Ascrod bc51aa95db Replace explicit pref observer with lazy preference getters. Tag mcp-graveyard/UXP#361. 2019-04-27 07:43:13 -04:00
Ascrod b87516b65c Update surrounding code for new Readerable module. Tag mcp-graveyard/UXP#361. 2019-04-27 07:43:12 -04:00
Ascrod 14b61eaab0 Update Readability from mozilla-central release branch (FF 66.0.3). Tag mcp-graveyard/UXP#361. 2019-04-27 07:43:11 -04:00
Mihai Moldovan 4cb6d651b9 When using XRENDER, create Xlib-based offscreen image surfaces.
Mozilla tried to enable XRENDER support with backends other than Cairo
in 286348:e13aaaaf1962 /
https://hg.mozilla.org/mozilla-central/rev/e13aaaaf1962 - at least until
they decided to completely remove XRENDER support.

The change looked innocent enough, but actually turned out to do exactly
the opposite: it forcefully enabled image offscreen surfaces with GTK2
when it was previously disabled (since
gfxPrefs::UseImageOffscreenSurfaces() will always return true) and, by
extension, disabled the XRENDER-based functionality by creating a
non-Xlib surface.

Interestingly, a previously enabled double buffering check was also
disabled by this, but since the comment for this was diverging with the
code, that behavior just sounds like yet another bug.

Instead of disabling image offscreen surfaces (at least when using the
GTK2 backend), let's force the creation of Xlib-based image surfaces
when XRENDER support is enabled. This will let UXP use the more
common/modern code paths, but also make scrolling much faster again. Too
fast scrolling may induce tearing (if not smoothed), but on the other
hand performs much better in remote computing contexts.

As an added benefit, GTK3-based builds should roughly behave the same
way. Further tests with the GTK3-backend enabled will be required in the
future.
2019-04-27 08:41:50 +02:00
Gaming4JC a6a9d463b3 Fix failure to print when pages contain zero-sized <canvas> element.
Fixes #1058
2019-04-26 19:46:37 -04:00
wolfbeast 818a3abca5 Capture delayed events and cancel as necessary.
Tag mcp-graveyard/UXP#1052
2019-04-26 14:13:32 +02:00
Moonchild 5c1f92eb94 Merge pull request #1054 from adeshkp/patch-11
[minor] Fix a variable name in Basilisk error page
2019-04-25 15:08:18 +00:00
wolfbeast 737a258c8a Remove useless assert.
Resolves #1055.
2019-04-25 16:48:02 +02:00
Matt A. Tobin 45471ae2cb [PALEMOON] Remove errent extensions.blocklist.* from shared branding prefs 2019-04-25 08:40:10 -04:00
Matt A. Tobin e1e4d33074 Remove UpdateChannel.jsm 2019-04-25 07:50:52 -04:00
Matt A. Tobin 57f469024d Use UpdateUtils in GMPInstallManager.jsm 2019-04-25 07:48:05 -04:00
Matt A. Tobin e5938f7d4c Don't use UpdateChannel.jsm in nsBlocklistService.js 2019-04-25 06:34:26 -04:00
Matt A. Tobin eaf10cc876 Add application ID and widget toolkit placeholders to UpdateUtils.jsm 2019-04-25 06:02:08 -04:00
adeshkp b3032a8a56 [minor] Fix a variable name in Basilisk error page
Related commit: https://github.com/MoonchildProductions/UXP/commit/e313e5e2ec19355988c3d59745c202f4604670d3#diff-115f6bd87bbdaa1f6445547dac684c9c
2019-04-24 23:11:24 +05:30
Matt A. Tobin d5e2aa99c2 Issue mcp-graveyard/UXP#1053 - Drop support Android and remove Fennec - Part 1b: Remove MOZ_FENNEC 2019-04-23 15:56:35 -04:00
Matt A. Tobin e07a2eba07 Issue mcp-graveyard/UXP#1053 - Drop support Android and remove Fennec - Part 1a: Remove mobile/android 2019-04-23 15:32:23 -04:00
Matt A. Tobin 7cf21397c1 Sort out search service
The ESR52 implementation is now Basilisk specific and the older implementation is the shared toolkit one
2019-04-23 14:44:40 -04:00
Matt A. Tobin deaf1c8fe0 Remove tests from search service 2019-04-23 13:38:38 -04:00
New Tobin Paradigm ab4318602c Merge pull request #1048 from Ascrod/geodefaults
Remove geo-specific selection of default search engines.
2019-04-23 13:15:22 -04:00
New Tobin Paradigm a565dc4aa2 Merge pull request #1051 from adeshkp/remove-telemetry-security_ui
Remove SecurityUI telemetry.
2019-04-23 12:17:09 -04:00
wolfbeast 81d06834c4 Update Twemoji Mozilla COLR font to 0.4.0 (TweMoji v11.4.0) 2019-04-23 00:43:37 +02:00
wolfbeast e514d9b063 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2019-04-22 01:21:47 +02:00
wolfbeast 5d02c36e18 Update platform version to reflect major changes in platform.
Slightly belated but there it is.
2019-04-22 01:21:01 +02:00
New Tobin Paradigm e542551b56 Merge pull request #1045 from ThosRTanner/patch-1
Remove unused parameter from call
2019-04-21 18:02:50 -04:00
Matt A. Tobin 72b421e58c Issue mcp-graveyard/UXP#1049 - Show sync status via label of sync-button 2019-04-21 13:10:31 -04:00
adeshkp a41967ff9a Remove SecurityUI telemetry. 2019-04-21 13:02:52 -04:00
Matt A. Tobin 3a18943171 [PHOENIX] Fix missing default from lastSync in browser-syncui.js in Pale Moon and replace the tryblock in Basilisk 2019-04-21 12:59:20 -04:00
Matt A. Tobin e1c2df996e Fix variable used before being declared in UpdateUtils.jsm
Fall out from #991
2019-04-21 11:28:27 -04:00
wolfbeast bc963b7fca Version bump 2019-04-20 21:15:45 +00:00
Moonchild aec832846f Merge pull request #1047 from JustOff/PR_css3_url_token
Handle URL token in a closer way to the CSS3 spec
2019-04-20 17:17:11 +02:00
Ascrod e97258fe2c Remove browser.search.region usage. Tag mcp-graveyard/UXP#245. 2019-04-20 07:35:31 -04:00
Ascrod 4018532e43 Remove geoip lookup for search engine defaults. Tag mcp-graveyard/UXP#245. 2019-04-20 07:31:51 -04:00
Ascrod 69b1f583ac Remove geo-specific search engine default preferences. Tag mcp-graveyard/UXP#245. 2019-04-20 07:29:59 -04:00
JustOff d870fb6375 Handle URL token in a closer way to the CSS3 spec 2019-04-20 13:53:46 +03:00
Moonchild 4c63641401 Merge pull request #1041 from Ascrod/default-pref
Clean up try/catch blocks for preferences
2019-04-20 11:17:30 +02:00
wolfbeast a85bcbb896 Stop building /accessible unified and fix deprot.
Tag mcp-graveyard/UXP#80

Note: excludes changes to Mac-specific code because I can't build
for OS X to check and fix deprot there.
2019-04-20 11:12:56 +02:00
ThosRTanner 8f78fa6085 Remove unused parameter from call
Fixes #1043
2019-04-20 09:14:36 +01:00
Ascrod f5e1e59c2b Remove unused try/catch block. Tag mcp-graveyard/UXP#991. 2019-04-18 20:37:23 -04:00
Ascrod c83ac08d24 Merge branch 'master' into default-pref 2019-04-18 20:35:10 -04:00
wolfbeast 9a429b8197 Merge branch 'Sync-weave' 2019-04-19 02:25:38 +02:00
wolfbeast 292fae9008 Remove Firefox Accounts service and tie-ins.
See previous commit for removal of browser identity module.
2019-04-19 02:02:56 +02:00
Moonchild 9c791d921a Remove various FxA tests 2019-04-18 15:49:19 +00:00
Moonchild 684303238f Remove FxAccounts front-end module references 2019-04-18 15:47:35 +00:00
wolfbeast 74ba866110 Merge branch 'Sync-weave' 2019-04-17 20:22:59 +02:00
Matt A. Tobin 56f7174500 [BASILISK] Port PM Sync Client - Part 6b: Don't build the sync client ui when it is disabled, duh. 2019-04-17 04:58:14 -04:00
Matt A. Tobin 835d74463b [BASILISK] Port PM Sync Client - Part 6a: Obvious ifdef'ing and clean up 2019-04-17 04:52:39 -04:00
Matt A. Tobin 5130f68038 Merge branch 'master' into Sync-weave 2019-04-16 21:00:55 -04:00
Matt A. Tobin 670fb1725a [BASILISK] Port PM Sync Client - Part 5: Port the original sync toolbar button and create a synced tabs toolbar button 2019-04-16 14:51:15 -04:00
Moonchild ce160c1760 Merge pull request #1042 from wicknix/master
Bug 1408701: Ensure that we continue to show dark scrollbar thumbs on…
2019-04-16 14:17:09 +02:00
Matt A. Tobin 12ac9eda62 [BASILISK] Port PM Sync Client - Part 4: Tools menu items (Set Up Sync/Sync Now) 2019-04-16 08:11:41 -04:00
Matt A. Tobin d6aaf5f0f8 Merge branch 'master' into Sync-weave 2019-04-16 06:59:00 -04:00
wicknix 623db197be Bug1408701: Ensure that we continue to show dark scrollbar thumbs on..
..macOS 10.13+ when scrollbars are always displayed. r=mstange
2019-04-15 19:04:39 -05:00
wicknix c4384517c7 Merge pull request #1 from MoonchildProductions/master
keep up with mc
2019-04-15 18:58:07 -05:00
wolfbeast fc3c188165 Remove some BEOS 1st party code leftovers. 2019-04-14 15:47:58 +02:00
Ascrod 540fab7e77 Pref try/catch block fixup. Tag mcp-graveyard/UXP#991. 2019-04-13 17:27:59 -04:00
Ascrod d89554d760 Issue mcp-graveyard/UXP#991 Part 8: Toolkit everything else 2019-04-13 11:37:45 -04:00
Ascrod e1bdf2d7ac Issue mcp-graveyard/UXP#991 Part 7: Toolkit Components 2019-04-13 11:37:45 -04:00
Ascrod 341fb8f54e Issue mcp-graveyard/UXP#991 Part 6: Services 2019-04-13 11:37:45 -04:00
Ascrod 76a5666e2a Issue mcp-graveyard/UXP#991 Part 5: DOM and layout 2019-04-13 11:37:45 -04:00
Ascrod ed88ad1a6d Issue mcp-graveyard/UXP#991 Part 4: Network and URILoader 2019-04-13 11:37:45 -04:00
Ascrod 5807636d4f Issue mcp-graveyard/UXP#991 Part 3: Devtools 2019-04-13 11:37:45 -04:00
Ascrod d3b4e3d8b0 Issue mcp-graveyard/UXP#991 Part 2: Basilisk 2019-04-13 11:37:45 -04:00
Ascrod 33126e0521 Issue mcp-graveyard/UXP#991 Part 1: Pale Moon 2019-04-13 11:37:45 -04:00
Matt A. Tobin 1458c2acbd [BASILISK] Restore Tabs from Other Devices history menu item and Add First Sync Progress 2019-04-13 06:52:08 -04:00
Matt A. Tobin e020241411 Merge branch 'master' into Sync-weave 2019-04-13 05:41:07 -04:00
wolfbeast d9a987c111 Update code of conduct to be community-encompassing. 2019-04-11 14:50:00 +02:00
wolfbeast cb057e7adb Add IDCAC 2.9.9 to blocklist for causing severe issues. 2019-04-11 14:47:51 +02:00
Matt A. Tobin 5642fd8c10 [BASILISK] Fix merge induced error in base jar.mn 2019-04-08 20:00:45 -04:00
Matt A. Tobin 4aa0f81f21 Merge branch 'master' into Sync-weave 2019-04-08 18:56:39 -04:00
wolfbeast dea0b1646d Add nullcheck in nsSVGUtils::PaintFrameWithEffects
Some SVGs define a mask but an invalid mask frame. Check to make sure
we have a `maskFrame` that isn't null before trying to use it.
This resolves #1034
2019-04-06 22:12:00 +02:00
wolfbeast 08132aa055 Revert "add a nullptr check in nsSVGUtils::PaintFrameWithEffects"
This reverts commit 00baf28362.
2019-04-06 20:35:14 +02:00
wolfbeast 5f538e6a18 Merge branch '816'
This merges both the JS Front-end parser changes to better structure
the parser code, and the TC39 `toString()` revision proposal with
the exception of ES6 classes.
2019-04-06 12:14:14 +02:00
wolfbeast 362e2c0f85 Rename TokenStream::reportStrictWarningErrorNumberVA to
TokenStream::reportExtraWarningErrorNumberVA for clarity.

Emit Extra Warnings instead of Strict Warnings from the BCE where
it makes sense.
2019-04-06 11:26:49 +02:00
wolfbeast 8494f07ad5 Remove Parser::reportHelper since it's no longer used. 2019-04-06 11:22:00 +02:00
wolfbeast c41f6013e3 Inline Parser::reportHelper into its callers. 2019-04-06 11:20:43 +02:00
wolfbeast 4fbf698b57 Remove Parser::reportWithNode and its remaining callers.
All of the callsites have a full ParseNode* at hand, of which the offset
can be directly accessed.
2019-04-06 11:18:36 +02:00
wolfbeast 388ec650c7 Report errors for bad increment/decrement operands using
explicitly-specified offsets.
2019-04-06 11:11:04 +02:00
wolfbeast 914982909d Simplify checking of targets within destructuring patterns. 2019-04-06 11:05:22 +02:00
wolfbeast 57de4bfce5 Simplify increment/decrement operand checking. 2019-04-06 10:56:39 +02:00
wolfbeast 4098c1a97a Inline Parser::checkAssignmentToCall into its sole caller. 2019-04-06 10:55:02 +02:00
wolfbeast bb7e40dd6c Specify an explicit offset when reporting an error for a for-of loop
whose target is an expression that begins with 'let'.
2019-04-06 10:47:27 +02:00
wolfbeast cd312e8e59 Simplify checking of the left-hand side of assignment and compound
assignment expressions.
2019-04-06 10:46:15 +02:00
wolfbeast acffce312c Remove for-in/of loop parsing code that redundantly marks the loop
target as assigned -- Parser::forHeadStart already does this.
2019-04-06 10:44:48 +02:00
wolfbeast f9c03fcd8a Report some errors about invalid left-hand-sides in for-in/of loop heads
using code with an explicitly computed offset.
2019-04-06 10:41:42 +02:00
wolfbeast 787b63e452 Report the error for uninitialized const-declaration in for(;;) loop
head using an explicit offset.
2019-04-06 10:37:12 +02:00
wolfbeast a8ff83ac77 Remove Parser::reportWithOffset since it's no longer used. 2019-04-06 10:34:17 +02:00
wolfbeast 25169119a1 Introduce Parser::warningAt
This reduces reporting an warning at a particular offset to its bare
essentials, simplifying calls.
2019-04-06 10:33:24 +02:00
wolfbeast bf0d74e71d Report for-loop-decl-with-initializer errors using a specified offset
instead of a node's offset.
2019-04-06 10:31:01 +02:00
wolfbeast 237e4a6fa7 Report bad-class-member errors using a specified offset instead of a node's offset. 2019-04-06 07:30:00 +02:00
wolfbeast be5e3a48e5 Remove Parser::reportBadReturn
Report simpler errors that don't use the offset of a node as location.
2019-04-06 06:54:09 +02:00
wolfbeast 8da2a3a6c1 Introduce Parser::errorAt
This reduces reporting an error at a particular offset to its bare
essentials, simplifying calls.
2019-04-06 06:39:27 +02:00
wolfbeast f923d0949e Inline Parser::checkFunctionDefinition into its sole caller. 2019-04-06 06:36:09 +02:00
wolfbeast 261769e491 Inline GeneratorKindFromPropertyType and AsyncKindFromPropertyType.
Trivially inlines these into their sole caller.
2019-04-06 06:26:49 +02:00
wolfbeast fedfc09938 Move the Parser::checkFunctionDefinition call into its callers. 2019-04-06 06:22:55 +02:00
wolfbeast c68a2114e4 Move part of Parser::functionDefinition into callers. 2019-04-06 04:22:27 +02:00
wolfbeast 36be8f8da4 Track strict mode errors in for...in and for...of correctly when
syntax-parsing.
2019-04-05 21:38:21 +02:00
wolfbeast d2683a789d Track strict mode errors in unary deletions correctly when
syntax-parsing.
2019-04-05 21:32:55 +02:00
wolfbeast 530ead5d8f Specify an explicit offset when warning about "use asm" found in the
directive prologue of a script (rather than a function body).
2019-04-05 21:30:52 +02:00
wolfbeast 0484f8cccc Change report at current offset to warning(), extraWarning() and error() 2019-04-05 21:25:28 +02:00
wolfbeast 41b85aa8dc Remove the |bool strict| argument from the report-at-current-offset
Parser function (zeport).
zeport => qeport
2019-04-05 21:01:54 +02:00
wolfbeast f57822e10b Split Parser::report into Parser::zeport (a temporary name) that uses
the current offset, and Parser::reportWithNode that derives it from a
Node.
2019-04-05 20:54:29 +02:00
wolfbeast 0f0a0c1743 Merge branch 'master' into 816 2019-04-05 20:01:10 +02:00
wolfbeast e6c8ac4c25 CotPM update 2019-04-05 15:13:28 +02:00
wolfbeast 5489cc8489 Zap the robots.
Resolves #1036
2019-04-05 15:12:51 +02:00
Matt A. Tobin 85f8e43777 Merge branch 'master' into Sync-weave 2019-04-03 17:33:37 -04:00
Moonchild fee43e3714 Merge pull request #1035 from kn-yami/bug1360343
Fix SVG mask crashes
2019-04-03 19:51:52 +02:00
yami 82c6946c27 add a nullptr check in nsSVGUtils::PaintFrameWithEffects 2019-04-03 19:10:37 +02:00
Moonchild b5706c6f48 Merge pull request #1033 from Lootyhoof/issue-1025
Only draw a border on the tab bar when on bottom
2019-04-03 17:30:27 +02:00
cku 765ab73009 Bug 1360343 - ensure maskSurface is not null before dereference, since it can be null because of OOM or gfx device reset. r=dvander
MozReview-Commit-ID: HX2qsWLZpMg

--HG--
extra : rebase_source : 046befc11151461a682842c31e2ce39247a5e1d8
2019-04-03 14:55:35 +02:00
Lootyhoof 306ed30fd5 Only draw a border on the tab bar when on bottom 2019-04-01 21:29:49 +01:00
Matt A. Tobin 5d01fa1c79 Merge branch 'master' into Sync-weave 2019-04-01 13:55:00 -04:00
wolfbeast 1179d56493 Remove crashreporter toolkit files.
Resolves #20
2019-04-01 13:05:24 +02:00
wolfbeast c71331a94d Unhook CR exception handler.
Tag mcp-graveyard/UXP#20
2019-04-01 13:04:33 +02:00
Matt A. Tobin 76da039513 [BASILISK] Port PM Sync Client - Part 2: Basic Integration with glue and preferences 2019-03-31 18:49:29 -04:00
Matt A. Tobin 2f2de4e6ed [BASILISK] Port PM Sync Client - Part 1: Initial transfer 2019-03-31 18:48:11 -04:00
Matt A. Tobin b45b7001b6 [BASILISK] Port PM Sync Client - Part 0: Add PanelUI sync button static images 2019-03-31 18:47:27 -04:00
wolfbeast 4b48745aae Remove AIX 1st party code OS checks, part 2
Issue mcp-graveyard/UXP#186
2019-04-01 00:11:06 +02:00
wolfbeast 693da2ce2f Remove some HPUX leftovers.
Resolves #185
2019-04-01 00:09:12 +02:00
wolfbeast fc6372da71 Remove AIX 1st party code OS checks, part 1
Issue mcp-graveyard/UXP#186
2019-03-31 18:43:10 +02:00
wolfbeast 9edcd7deb9 Remove AIX VisualAge C++ compiler bug workaround.
Tag mcp-graveyard/UXP#186
2019-03-31 18:20:08 +02:00
wolfbeast 3d026e1fb2 Remove 18 yo OS/2 and AIX bustage workaround.
Tag mcp-graveyard/UXP#186
2019-03-31 15:27:49 +02:00
Matt A. Tobin 225e2800f5 [BASILISK] Remove FxA infected Sync - Part 3b: nsModule 2019-03-30 20:23:06 -04:00
Matt A. Tobin ab6ef9ca4b [BASILISK] Remove FxA infected Sync - Part 3: Remove about:accounts 2019-03-30 20:21:40 -04:00
Matt A. Tobin 6e48c3a3ef [BASILISK] Remove FxA infected Sync - Part 2: Sync Client 2019-03-30 20:12:25 -04:00
Matt A. Tobin bba8f923fb [BASILISK] Remove FxA infected Sync - Part 1: Remove or condition CUI and Integration Points 2019-03-30 20:11:32 -04:00
wolfbeast 5c127ffe05 Issue mcp-graveyard/UXP#187: Remove solaris 1st party code OS checks. 2019-03-30 20:03:33 +01:00
wolfbeast e0fe19433a Issue mcp-graveyard/UXP#187: Remove solaris conditional code. 2019-03-30 19:10:17 +01:00
Matt A. Tobin aecb3f7069 [BASILISK] Remove FxA Synced Tabs Sidebar 2019-03-30 13:28:49 -04:00
Matt A. Tobin 67dd1ae8eb [BASILISK] Add configure option to disable sync 2019-03-30 12:22:28 -04:00
Matt A. Tobin 05c1d34c63 Merge branch 'master' into Sync-weave 2019-03-30 12:12:01 -04:00
wolfbeast ee91847c03 Update SQLite to 3.27.2 2019-03-30 02:35:47 +01:00
wolfbeast 9a4f9a126d Merge branch 'master' into Sync-weave 2019-03-29 16:04:01 +01:00
wolfbeast ba4aaad02e Replace unsupported null default values with an empty string.
Fixes #1028
2019-03-28 02:44:38 +01:00
wolfbeast 3cbcc5dbd4 Simplify some alias sets in IonMonkey. 2019-03-26 18:30:57 +01:00
wolfbeast 26bcd8cdff Clean up installer scripts a little. 2019-03-26 14:38:16 +01:00
wolfbeast 174f3e7e7b Installer: Update 7zstub binaries, add license and readme. 2019-03-26 12:06:15 +01:00
Moonchild edf6a10e63 Merge pull request #1027 from JustOff/PR_newtab_choice
Prevent mistaken overwriting of browser.newtab.url when using the browser preferences dialog
2019-03-26 11:01:15 +01:00
JustOff 98f7d23d7a Revert "Only write the newtab URL if the machinery for it had previously been"
This reverts commit eb77e289bb.
2019-03-26 01:28:36 +02:00
JustOff 3324f02032 Prevent mistaken overwriting of browser.newtab.url when using the browser preferences dialog 2019-03-26 01:27:46 +02:00
Moonchild 84e2058522 Merge pull request #834 from g4jc/remove_contextid
Issue mcp-graveyard/UXP#756 - Remove Contextual Identity
2019-03-25 18:03:03 +01:00
wolfbeast e622d10e46 Add the customization .diff to the 7z stub.
Tag mcp-graveyard/UXP#1022
2019-03-25 17:54:35 +01:00
wolfbeast 355245caf4 Update the 7z installer stub source to 18.05.
Tag mcp-graveyard/UXP#1022
2019-03-25 17:53:14 +01:00
wolfbeast 2332eebf1c Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2019-03-25 17:47:59 +01:00
wolfbeast cb6b859a8b Only write the newtab URL if the machinery for it had previously been
initialized.

This prevents the URL being overwritten with e.g. about:logopage.
2019-03-25 17:47:16 +01:00
Moonchild ca3d29b835 Merge pull request #1023 from Ascrod/default-pref
Remove obsolete getPref helpers.
2019-03-25 09:33:03 +01:00
Ascrod b3c07058b4 Remove obsolete getPref helpers. 2019-03-24 20:22:03 -04:00
Moonchild 4bab56ed47 Merge pull request #1021 from Ascrod/default-pref
Bug 1338306 - nsIPrefBranch.get*Pref should support providing a default value
2019-03-24 11:54:50 +01:00
Florian Quèze 58dafac66a Bug 1338306 - nsIPrefBranch.get*Pref should support providing a default value, r=bsmedberg. 2019-03-23 19:35:32 -04:00
wolfbeast dd6a5ee3f9 WebRTC: Add explicit mutex on callback receiver for cases it's not
already locked.
2019-03-23 13:26:20 +01:00
wolfbeast 47db11dda5 Revert "Unregister ProcessHangMonitor as a hang annotator on shutdown."
This reverts commit 68acc67ddb.
2019-03-23 13:10:32 +01:00
sotaro aafa95b816 Check if CopyData succeeded. 2019-03-23 13:01:13 +01:00
Nika Layzell a15ce95455 Unregister ProcessHangMonitor as a hang annotator on shutdown. 2019-03-23 12:56:19 +01:00
wolfbeast 041f3316de Disallow getUserMedia on null principals. 2019-03-23 12:52:39 +01:00
wolfbeast 2992473f99 Check for osint argument when checking for greomni and appomni arguments.
Specifying both is invalid and unsupported.
2019-03-23 11:10:28 +01:00
Brian Grinstead 8de4e047d8 Escape '!' to '\041' in posix strings ($'...') 2019-03-23 10:56:30 +01:00
wolfbeast a363bd3d79 Convert UI-dictating FTP errors to console errors. 2019-03-23 10:46:00 +01:00
wolfbeast 969d50e373 Bump Goanna version for layout handling changes. 2019-03-23 10:27:16 +01:00
wolfbeast 133005f0d0 Grab caching capturing content with local variable. 2019-03-23 10:20:01 +01:00
wolfbeast 4f4d950786 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2019-03-23 09:59:24 +01:00
Nicolas B. Pierron bb5c7173a2 Restrict ExtractLinearSum to monotonous operation in infinite math space.
Thanks to Bruno Keith & Niklas Baumstark from the phoenhex team for
finding this issue and reporting it with a proper analysis.
2019-03-23 09:58:57 +01:00
Nicolas B. Pierron 4dd3aa17bc Restrict ExtractLinearSum to monotonous operation in infinite math space.
Thanks to Bruno Keith & Niklas Baumstark from the phoenhex team for
finding this issue and reporting it with a proper analysis.
2019-03-23 09:36:15 +01:00
Moonchild e4c975a07f Merge pull request #1019 from JustOff/PR_nsLayoutUtils_AddPercents
The result of adding any percentage factor to a size that is zero should also be zero
2019-03-23 08:15:18 +01:00
wolfbeast b680bf3e60 Remove leftover updater lines in about box
Resolves #1020.
2019-03-23 07:57:33 +01:00
wolfbeast 61403dbc70 Use ptrdiff_t in RangedPtr. 2019-03-22 21:16:09 +01:00
wolfbeast 408d681652 Return proper error if the nss layer encounters an error on the http
tunnel.
2019-03-22 20:11:09 +01:00
wolfbeast cbfcdcfa45 Add SSUAO for polyfill.io
Financial Times' polyfill.io service horribly breaks when it finds
anything but a short list of predefined UA strings. We have to send
them a strict Firefox UA or other sites relying on it will break too
(including PayPal!).

An issue has been raised on their repo.
2019-03-22 19:21:52 +01:00
wolfbeast 4caab2077c Close the transaction if PR_Read/PR_Write failed.
When PR_Read/PR_White returns -1, we have to use ErrorAccordingToNSPR
to get the error code.
We need to close the transaction if a real error happens.
2019-03-22 18:41:22 +01:00
wolfbeast 8e278f8103 Revert "Guard against re-entrancy in nsStringStream."
This reverts commit 411919cca7.
2019-03-22 14:06:07 +01:00
wolfbeast 420642cd21 Guard against re-entrancy in nsStringStream. 2019-03-22 13:28:32 +01:00
Jon Coppeard fd08671f5b Reset nursery position when it's disabled. 2019-03-22 13:17:31 +01:00
wolfbeast 20e3d29367 Extend origin-clean algorithm (DiD). 2019-03-22 13:11:18 +01:00
wolfbeast 245565e220 Clean up nsOSHelperAppService.
About time we stopped looking at Netscape 4.x entries in the registry ;)
Also, assume the application association API is present in Windows
and use that instead of reading from the registry directly.
2019-03-22 12:44:26 +01:00
Brian Birtles 2a2025b1cf Check child container count in NotifyRefreshDriverCreated. 2019-03-22 12:10:37 +01:00
wolfbeast 33cb38760f Check for dead wrappers in CallerGetterImpl/CallerSetterImpl.
This also removes code duplication by making CallerSetterImpl call
CallerGetterImpl.
2019-03-22 12:06:40 +01:00
Nicolas B. Pierron f2a101238d Force expected crashes on unexpected magic values. 2019-03-21 21:28:10 +01:00
JustOff b82df494c1 The result of adding any percentage factor to a size that is zero should also be zero 2019-03-21 21:45:08 +02:00
wolfbeast 1e2b5315c5 Pref the use of unboxed plain objects in JS and disable by default.
This should be all that's needed for #1017, but verification of
impact is definitely desired.
2019-03-21 09:53:24 +01:00
Olli Pettay ffe9ba83d1 Remove harmless assertions by using IgnoredErrorResult. 2019-03-21 09:02:04 +01:00
Gaming4JC 28a75e1571 Issue mcp-graveyard/UXP#756 - Remove Contextual Identity from DevTools 2019-03-18 20:53:54 -04:00
Gaming4JC 71d9610bd9 Issue mcp-graveyard/UXP#756 - Remove Contextual Identity from UnifiedComplete
reverts m-c 1287866
2019-03-18 20:53:41 -04:00
Gaming4JC 7e533e98d3 Issue mcp-graveyard/UXP#756 - Remove Contextual Identity from Basilisk 2019-03-18 20:51:28 -04:00
Gaming4JC 43c82c077c Issue mcp-graveyard/UXP#756 - Remove contextual identity from BackgroundPageThumbs.jsm
reverts m-c 1279568, 1309699, 1310112
2019-03-18 19:28:33 -04:00
Gaming4JC c2579c732a Issue mcp-graveyard/UXP#756 - Remove Contextual Identity References from Pale Moon 2019-03-18 19:28:33 -04:00
wolfbeast 837ff21799 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2019-03-18 08:14:23 +01:00
wolfbeast 5bbc4c2f52 Merge branch 'cdm-work' 2019-03-18 08:12:19 +01:00
Moonchild 336e1993de Merge pull request #1011 from Lootyhoof/issue-725
Draw a border when hiding the tab bar
2019-03-18 01:59:24 +01:00
wolfbeast 25ec0e592a Fix build bustage. 2019-03-16 13:54:20 +01:00
Lootyhoof 1dbe6e1e9d Don't modify toolbox-after-color in lwthemes 2019-03-15 23:10:59 +00:00
Lootyhoof 3393aa10c2 Draw a border when hiding the tab bar 2019-03-15 22:53:09 +00:00
Moonchild 60a7a5aa5d Merge pull request #1008 from JustOff/PR_flex_align_blocks
Handle the special case of a flex frame being the absolute containing block correctly from the CSS align code
2019-03-15 10:31:51 +01:00
JustOff 15001512f3 Handle the special case of a flex frame being the absolute containing block correctly from the CSS align code 2019-03-14 19:40:42 +02:00
Moonchild 9272e908ab Merge pull request #1006 from JustOff/PR_SSUAO_firefox.com
[PALEMOON] Add SSUAO override for firefox.com (native mode)
2019-03-14 17:50:02 +01:00
JustOff 3909fd564f [PALEMOON] Add SSUAO override for firefox.com (native mode) 2019-03-14 17:42:08 +02:00
Moonchild 970a155fda Merge pull request #1005 from adeshkp/compiler-warnings
Fix some compiler warnings
2019-03-14 15:23:17 +01:00
Moonchild 6c93471b00 Merge pull request #1002 from JustOff/PR_URLSearchParams
Align URLSearchParams with the spec
2019-03-14 15:21:42 +01:00
adeshkp 6f4f9bfe0d Fix warnings about unreachable code in cubeb 2019-03-14 09:54:30 -04:00
adeshkp e84b11711e Remove a couple of unused variables 2019-03-14 09:53:02 -04:00
adeshkp d3fdcff65e Fix order of member variables in a couple of initializer lists 2019-03-14 09:52:03 -04:00
adeshkp 822d934eff Fix a warning about method override 2019-03-14 09:49:51 -04:00
JustOff 02d303125a Use meaningful error message in URLSearchParams::Constructor 2019-03-14 14:14:45 +02:00
wolfbeast 1a81e4933f Remove unused SSL errorReporting prefs
Resolves #1003.
2019-03-14 13:07:00 +01:00
wolfbeast ca2019d4d9 [Palemoon] Disable Microsoft Family Safety support (Windows 8.1).
This is basically a https MitM setup that is unwanted for Pale Moon.
Resolves #1000.
2019-03-14 09:04:52 +01:00
JustOff 5980a6c775 Align IDL record to C++ conversion with the spec when Symbol-named properties are involved 2019-03-13 21:44:49 +02:00
JustOff 706810babd Construct URLSearchParams from record<> 2019-03-13 21:22:29 +02:00
JustOff 4a1e73c388 Construct URLSearchParams from sequence or from string 2019-03-13 21:20:12 +02:00
JustOff 4f741727e6 Implement the spec provision for handling repeated keys in records by updating the existing value 2019-03-13 20:19:53 +02:00
JustOff cb95f9b851 Actually change the key type of a record, and its corresponding conversion behavior, depending on what the IDL says 2019-03-13 20:17:36 +02:00
JustOff 0b73523353 Rename MozMap.h to Record.h 2019-03-13 20:13:17 +02:00
JustOff a3ceb66e1d Add ConvertJSValueTo*String functions that just take a value and hand out a string, without extra complications 2019-03-13 20:07:10 +02:00
JustOff 7e854d037c Rename the MozMap C++ type to "record" and give it a template parameter for the key type 2019-03-13 20:04:13 +02:00
JustOff 97ad6df411 Rename "MozMap" to "record" in our IDL parser and IDL files 2019-03-13 19:37:03 +02:00
JustOff 9b07db0545 Split up PrimitiveOrStringType into PrimitiveType and StringType in the Web IDL parser 2019-03-13 19:05:08 +02:00
JustOff f302ce087c Change JS to MozMap conversion to more closely follow the record<> spec 2019-03-13 19:03:07 +02:00
JustOff 035809afc1 Add some tests for distinguishability of unions 2019-03-13 19:01:09 +02:00
JustOff c68989864c Disallow mozmap-typed constants 2019-03-13 18:52:13 +02:00
JustOff 0e5c89517a Fix up some minor issues with default value handling in codegen 2019-03-13 18:49:40 +02:00
JustOff 406bf19a60 Change the MozMap API and data storage to more what we want record<> to look like 2019-03-13 18:46:01 +02:00
JustOff 9f96bfd016 Add a ClearElementAt API to nsTArray 2019-03-13 18:25:55 +02:00
JustOff af74b330be Support string default values for unions containing USVString 2019-03-13 18:15:07 +02:00
wolfbeast 22e3763f82 Remove fxAccountsEnabled checks.
Tag mcp-graveyard/UXP#812
2019-03-13 16:36:55 +01:00
wolfbeast 51cf57fa7d Remove some fxa tests.
Tag mcp-graveyard/UXP#812
2019-03-13 16:36:05 +01:00
wolfbeast cd6becfe82 Remove CloudSync
Tag mcp-graveyard/UXP#812
2019-03-13 09:50:54 +01:00
Moonchild 9beb4d9cc5 Merge pull request #998 from MoonchildProductions/master
Merge master into Sync-weave
2019-03-13 07:49:07 +01:00
Moonchild a25e5f0819 Merge pull request #995 from MoonchildProductions/httpaccept-work
Change the way http Accept: headers are used.
2019-03-12 18:29:14 +01:00
wolfbeast 94bb8e10c7 Prevent loading of document subresources over FTP. 2019-03-09 08:15:36 +01:00
wolfbeast 96d09fb128 [Basilisk] Add SSUAO for WhatsApp Web.
See https://forum.palemoon.org/viewtopic.php?f=61&t=21457
2019-03-09 08:13:30 +01:00
wolfbeast adf9102c01 Part 2: Add tests
Tag mcp-graveyard/UXP#993.
2019-03-07 14:32:42 +01:00
wolfbeast 15f703d443 Remove various hard-coded Accept: headers
Since we're now handling this in the network back-end, there's no
need for this anymore.

Tag mcp-graveyard/UXP#993.
2019-03-07 13:05:13 +01:00
wolfbeast 982e255dba Part 1: network component changes. 2019-03-07 12:45:54 +01:00
Matt A. Tobin 2b4c63441a Don't include nsDownloadManagerUI if the Communicator version is used
Maintain backwards compatibility with MOZ_SUITE
2019-03-06 12:02:27 -05:00
Matt A. Tobin fdc1a5dd0d Revert "Don't include nsDownloadManagerUI if the Communicator version is used"
This reverts commit 853fe00ba0.
2019-03-06 12:01:25 -05:00
Matt A. Tobin 7ef8e6f48a [PALEMOON] Fix updatesSeparator id mismatch 2019-03-06 11:42:52 -05:00
Matt A. Tobin 3521f09519 Don't include nsDownloadManagerUI if the Communicator version is used
Maintain backwards compatibility with MOZ_SUITE
2019-03-06 11:37:20 -05:00
wolfbeast 87cf507e8c Remove e10s code from browser widget.
In case there are still callers to it (likely from the FE),
`isRemoteBrowser` is stubbed to always return false for now.

Tag mcp-graveyard/UXP#953.
2019-03-06 13:47:30 +01:00
Moonchild 93e216b867 Merge pull request #985 from MoonchildProductions/aboutbox-redesign
Aboutbox redesign
2019-03-06 04:50:53 +01:00
wolfbeast 1424e490c4 Adjust Pale Moon™ wordmark for better contrast 2019-03-06 03:39:44 +01:00
wolfbeast b010bd547b Tweak the about box styling some more and clean up styles. 2019-03-06 00:51:39 +01:00
wolfbeast ba5b9a0f35 Tweak the about box layout a bit.
- Put the Licensing link in the center
- Strengthen the "fog" background for the credits text for readability
- Add CSS animation to fade it in.
2019-03-05 14:41:20 +01:00
wolfbeast 4f78d290ad Remove texture layout endian-ness check for Moz2D.
This resolves #986.

This removes endian-based inversion of texture layout aliases when
represented as uint32. This inversion was incorrect and would cause
unknown texture formats as a result on big-endian machines (PPC64).
2019-03-05 01:46:22 +01:00
wolfbeast 098c2a2b26 [Basilisk] Add Netflix SSUAO to work around blocking behavior for
EME DRM-enforcement for later Firefox versions.
2019-03-04 14:05:18 +01:00
wolfbeast 634e16736a Fix dynamic addition of build date. 2019-03-04 13:32:11 +01:00
wolfbeast 48310ef0b0 Update about box design.
Tag mcp-graveyard/UXP#963.
2019-03-04 13:05:45 +01:00
wolfbeast f354a2d918 Replace about box backdrop. 2019-03-04 13:01:54 +01:00
wolfbeast c54014e060 Remove updater gunk from the about box. 2019-03-04 13:00:44 +01:00
wolfbeast 8eb08a2964 Add hover state arrow images.
This fixes #981
2019-03-03 13:41:37 +01:00
wolfbeast cc506e4b92 Improve the http basic auth DOS protection heuristics.
-> Merge branch 'authprompt-work'
2019-03-01 14:12:02 +01:00
wolfbeast ffb928738c Make the Auth prompt DOS protection a browser-element opt-in feature. 2019-03-01 14:01:09 +01:00
wolfbeast be7b861a61 Update Basilisk FE code with HTTP Auth DoS protection. 2019-02-28 14:16:09 +01:00
wolfbeast fa01e913d3 Move default-enable pref to application. 2019-02-28 13:58:23 +01:00
wolfbeast 2732943d84 WIP fix 1 2019-02-28 10:02:19 +01:00
wolfbeast 7b92d541eb Stop building /docshell unified and fix deprot.
Tag mcp-graveyard/UXP#80
2019-02-21 20:01:53 +01:00
wolfbeast 540ec0acee Remove error table with unspecified errors.
Tag mcp-graveyard/UXP#145
2019-02-21 15:46:51 +01:00
wolfbeast c617b9d222 Restore building of common-standalone lib for updater.
Tag mcp-graveyard/UXP#145
2019-02-20 19:10:31 +01:00
wolfbeast d169c98b7d Remove reference to standalone component.
Tag mcp-graveyard/UXP#145
2019-02-20 15:00:58 +01:00
wolfbeast e111e1b1f1 Clobber for maintenance service removal
Tag mcp-graveyard/UXP#145
2019-02-20 13:33:12 +01:00
wolfbeast 9e3090e36a Remove maintenance service bits from nsUpdateDriver
Tag mcp-graveyard/UXP#145
2019-02-20 12:47:09 +01:00
wolfbeast 9789cc2821 Remove toolkit/components/maintenanceservice/
Tag mcp-graveyard/UXP#145
2019-02-20 12:40:02 +01:00
wolfbeast adb6c2252c Remove Non ifdef'd service code from toolkit/mozapps/updater/updater.cpp
Tag mcp-graveyard/UXP#145
2019-02-20 11:46:32 +01:00
wolfbeast 01c4c80e22 Remove maintenance service code from nsUpdateService and related.
Tag mcp-graveyard/UXP#145
2019-02-20 11:16:33 +01:00
wolfbeast db84523c73 Remove conditional MOZ_MAINTENANCE_SERVICE code
Tag mcp-graveyard/UXP#145
2019-02-20 10:54:51 +01:00
wolfbeast 46594d183b Update webplatform tests for multiline placeholder.
Note: MANIFEST updated per the normal procedure using
`mach wpt-manifest-update`

lint.whitelist updated to reflect intentional use of CR in these tests.

Resolves #977
2019-02-20 00:19:09 +01:00
Moonchild 868f33a156 Merge pull request #979 from JustOff/PR_textarea_placeholders
Preserve newlines in textarea placeholders
2019-02-19 21:20:29 +01:00
JustOff 6af3362d3c Preserve newlines in textarea placeholders 2019-02-19 21:15:35 +02:00
wolfbeast abef25819e Add nullcheck for frames in FindNearestCommonAncestorFrame
This resolves #978.
2019-02-18 22:24:29 +01:00
wolfbeast b35b8c3ade Don't trust convexity when applying transforms.
In theory, a convex shape transformed by an affine matrix should still
be convex. However, due to numerical imprecision of floats, when we try
to determine if something is convex, we can get different answers pre
and post a transformation (think of two line segments nearly co-linear).

Convex paths take a faster scan converter, but it is only well behaved
if the path is, in fact, convex. Thus we have to be conservative about
which paths we mark as convex, and cant's trust transformed paths to
retain their convexity. We re-calculate when a transform is applied.
2019-02-18 11:49:00 +01:00
wolfbeast afa8a3e169 Skia: Validate allocation size in GrBufferAllocPool using SkSafeMath.
Upstream port of commit 7469a9341afab19271b8ef07af5c16a0f2c4ccc1
2019-02-17 22:11:40 +01:00
wolfbeast 440e841a1d Skia: Be consistent about int for incReserve.
Upstream port.
2019-02-17 21:31:54 +01:00
wolfbeast 02df594ed2 Revert "Port several Skia upstream fixes."
This reverts commit 260b06c1c9.

This fixes #976
2019-02-17 14:58:18 +01:00
Andrew Osmond 02a0786bc6 BMPs from the clipboard may include extra padding.
In the original Windows clipboard BMP decoder implementation in
nsImageFromClipboard::ConvertColorBitMap, if the bitmap used bitfields
compression, it always adjusted the offset to the RGB data by 12 bytes.
It did this even for newer BMP header formats which explicitly include
space for the bitfields in their header sizes. This patch updates our
BMP decoder to do the same for clipboard BMPs, since we have observed
pasted BMPs using bitfield compression appearing incorrectly. To the
user this appears as if we read a color mask; completely red, blue,
green pixels at the start of the last row, causing all of the other rows
to start with the last three pixels of the previous row.
2019-02-16 20:21:13 +01:00
wolfbeast 358a61ecec [Basilisk] Add get more devtools URL pref. 2019-02-16 12:52:12 +01:00
wolfbeast bc4cbad8d2 Stop using hard-coded URL for "get more devtools" 2019-02-16 12:46:20 +01:00
wolfbeast e465f4f267 New cycle version bump. 2019-02-16 10:30:08 +01:00
Matt A. Tobin 4ebb296b07 Conform Pale Moon AM preferences to actual locations
Uplift is NOT required
2019-02-15 20:35:58 -05:00
Matt A. Tobin eff30299cf Update Basilisk Search Engines URL preference 2019-02-15 20:02:23 -05:00
Moonchild be60d6159d Merge pull request #967 from Ascrod/master
Pale Moon: Add loop context menu to HTML5 media elements.
2019-02-15 14:06:27 +01:00
Moonchild 2037a8ea26 Merge pull request #972 from MoonchildProductions/issue-971
Treat aContext as a bitfield in openURI.
2019-02-15 14:03:59 +01:00
Moonchild b2693f9929 Merge pull request #975 from JustOff/PR_dictionaries_url
[PALEMOON] Link dictionaries to addons.palemoon.org
2019-02-15 13:58:42 +01:00
JustOff f74213cb10 [PALEMOON] Link dictionaries to addons.palemoon.org 2019-02-15 00:15:06 +02:00
wolfbeast 6a86dc68f5 Preserve transparency when copying a DIB to/from the clipboard.
In order to get the alpha channel when encoding BMP images from a
surface, we need to supply bmp=32 in the encoder options.
2019-02-14 22:42:55 +01:00
wolfbeast f6b9f8dc58 Port several Skia upstream fixes. 2019-02-14 16:59:52 +01:00
wolfbeast cdadbac25e Update browse URL for AM search to Phoebus 2.0 2019-02-14 12:17:53 +01:00
wolfbeast e1c70afc86 Use C++11 thread-safe statics with MSVC. (js) 2019-02-14 12:00:47 +01:00
wolfbeast 2bb034848b Bump goanna version for updated canvas handling. 2019-02-14 11:52:50 +01:00
wolfbeast df94cb048d Disable "helpful" MSVC warning about AVX instructions.
Tag mcp-graveyard/UXP#457.
2019-02-14 11:49:11 +01:00
wolfbeast 89ceedb102 Use C++11 thread-safe statics with MSVC. 2019-02-14 11:47:40 +01:00
wolfbeast 03e917b80d Implement origin-clean algorithm for ImageBitmap.
This resolves #973.
2019-02-14 11:46:21 +01:00
wolfbeast 6d5a180619 Fix line endings
Follow-up to dd418226c6
2019-02-14 02:02:00 +01:00
wolfbeast d7f29e9e61 Move "No proxy for" control down to clarify it is a global effect.
Follow-up to the behavior change in commit
6567bb631a
2019-02-14 01:54:58 +01:00
wolfbeast dca26b01dd Remove the WebExtension Add-on Manager from our tree.
Tag mcp-graveyard/UXP#936
2019-02-13 19:25:03 +01:00
wolfbeast 0334677476 Remove WebExtension support from the platform.
- Conditional code
- WE APIs
- WE toolkit theming
2019-02-13 19:11:37 +01:00
wolfbeast c78343ffb8 Remove webextensions conditional code from Basilisk.
Tag issue #936
2019-02-13 11:50:04 +01:00
wolfbeast e16b0e9466 Treat aContext as a bitfield in openURI.
Potential fix for #971
2019-02-13 09:23:25 +01:00
wolfbeast 8cb6e55c1a Restore app.update.url.override preference. 2019-02-12 16:33:11 +01:00
wolfbeast 21f3e92376 Add "check for updates" to main menu and AppMenu v2
Tag mcp-graveyard/UXP#963.
2019-02-12 16:13:57 +01:00
wolfbeast 495701a9ff Allow empty string on location.search setter.
Fixes #970.
2019-02-12 11:05:16 +01:00
Ascrod 8200b5540b Rename mediaPlaybackRate to mediaPlaybackRate2. 2019-02-10 11:24:27 -05:00
wolfbeast 78ed161a7e Expose TLS 1.3 cipher suite prefs. 2019-02-10 08:51:40 +01:00
Ascrod 73b538b4fb Clean up localization. 2019-02-09 20:45:04 -05:00
Ascrod 9630e9c7d0 Pale Moon: Add loop context menu to HTML5 media elements. 2019-02-09 14:05:34 -05:00
trav90 98aed18a63 [EME] Remove WidevineDecryptor::OnLegacySessionError
Not needed for more recent CDM versions.
2019-02-09 07:50:35 -06:00
trav90 6381b50752 Build bustage fixes 2019-02-08 14:40:12 -06:00
trav90 cab8214dc7 Style fixes 2019-02-08 13:55:14 -06:00
trav90 565e3f646a [EME] Cherry-pick fix for content_decryption_module.h
Fixes build bustage with GCC/clang.
2019-02-08 13:50:27 -06:00
trav90 cc22997f0a [EME] Add content_decryption_module_ext.h 2019-02-08 13:48:02 -06:00
trav90 facc29bf42 [EME] Update content_decryption_module.h to more recent revision
Adds support for cdm::ContentDecryptionModule_9 and cdm::Host_9 definitions, HDCP definitions, and 10 and 12 bit image format definitions.
2019-02-08 13:47:17 -06:00
trav90 f3fc5ebf38 [EME} Hackily implement cdm::Host_9::RequestStorageId
TODO: Implement this properly in the future.
2019-02-08 10:41:49 -06:00
trav90 1aef601556 [EME] Make WidevineAdapter compatible with CDM version 9
NOTE: this breaks compatibility with CDM version 8.
2019-02-08 10:35:58 -06:00
Matt A. Tobin 93dd680b2f [BASILISK] Update AM preferences to point to the Basilisk Add-on Site - Part 2: Add domain to permissions file
Also, remove duplicate comment from app preferences
2019-02-08 07:17:32 -05:00
Matt A. Tobin 5f1e855652 [BASILISK] Update AM preferences to point to the Basilisk Add-on Site 2019-02-08 06:56:17 -05:00
wolfbeast d1919f1244 Revert "Increase purple limit triggers for CC."
This reverts commit babedf6c69.
2019-02-07 23:02:22 +01:00
wolfbeast 1ca5a5382d Use existing image decoders to handle clipboard BMP data.
This gets rid of the old nsImageClipboard widget code in favor of using
the nsBMPDecoder in imglib.
2019-02-07 22:06:24 +01:00
Alex Gaynor 1cf4ade0e5 Handle pasted data of certain types with an odd length. 2019-02-07 14:08:09 +01:00
wolfbeast 32e29d18a5 Never let "localhost" get sent to a proxy.
Also make "No proxy for" editable always when usable.
2019-02-07 12:58:13 +01:00
wolfbeast 79b3252767 Get RefPtr to transaction before using it. (DiD)
Avoid potential use-after-free by getting a RefPtr to a transaction
before calling content code that could cause its de-allocation.
2019-02-07 12:39:42 +01:00
wolfbeast f7d549c8d6 Fix possible data race while updating scope object during compacting GC. 2019-02-07 12:31:57 +01:00
wolfbeast 7c602cee85 Align instanceof with the final ES6 spec. 2019-02-07 10:39:40 +01:00
wolfbeast 46379eb2a8 Revert "Add "check for updates" to main menu and AppMenu"
This reverts commit d9a0549880.
2019-02-06 16:15:27 +01:00
wolfbeast 1f56b4b8aa Add "check for updates" to main menu and AppMenu
Tag mcp-graveyard/UXP#963.
2019-02-06 15:59:19 +01:00
wolfbeast 3d81ddb2ee Make sure Glass doesn't override LWT style for the title bar.
This resolves #965.
2019-02-05 14:09:00 +01:00
wolfbeast ed27f4c1d3 Include blankthumb in the correct file. 2019-02-05 11:00:30 +01:00
Moonchild a6259b4fd7 Merge pull request #959 from FranklinDM/fullscreenpatch-v2
Use 'mousemove' events for hiding the Navigation Toolbar in Full Screen
2019-02-04 14:04:03 +01:00
wolfbeast cff9300f2b Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2019-02-03 08:34:51 +01:00
Moonchild d55639c306 Merge pull request #961 from kn-yami/issue908
implement missing parts of CSS mask
2019-02-03 08:34:43 +01:00
wolfbeast a685a5b22f Merge branch 'cycle_collector-work' 2019-02-03 08:34:08 +01:00
wolfbeast e0c8eed7bf Stage 1: Fix #960. 2019-02-03 08:23:12 +01:00
Tooru Fujisawa a33490ec8e Stage 1-4: Update tests 2019-02-03 08:21:19 +01:00
yami 4eccbd7b84 issue #908 - implement missing parts of CSS mask 2019-02-02 18:06:10 +01:00
Moonchild 6ae58dc3a3 Merge pull request #958 from Ascrod/master
Pale Moon: Use file path for bookmarks import/export.
2019-02-02 17:47:52 +01:00
wolfbeast 21397fbcd6 Fix build error with JS_HAS_TOSOURCE undefined. 2019-02-02 16:43:45 +01:00
wolfbeast cf0b0dc842 Stage 1-3: Generate better source in Object.prototype.toSource.
Tag mcp-graveyard/UXP#960.
2019-02-02 14:29:54 +01:00
wolfbeast d7987986ba Stage 1-2: Remove a space after comma in parameter list for generated
function source.
2019-02-02 13:51:57 +01:00
wolfbeast dc8ef80e94 Stage 1-1: Implement Function.prototype.toString revision proposal.
Tag mcp-graveyard/UXP#960
2019-02-02 12:47:28 +01:00
FranklinDM 853a88cafd [Basilisk] Use mousemove events instead of MousePosTracker for hiding the navigation bar in fullscreen
* Tag mcp-graveyard/UXP#336
2019-02-02 14:39:23 +08:00
FranklinDM b476dac8a9 [Pale Moon] Use mousemove events instead of MousePosTracker for hiding the navigation bar in fullscreen
* Tag mcp-graveyard/UXP#336
2019-02-02 14:22:17 +08:00
Ascrod 28a2c705f5 Pale Moon: Use file path for bookmarks import/export. 2019-02-01 21:08:39 -05:00
trav90 3b44050ead Update HSTS preload list
Tag mcp-graveyard/UXP#447
2019-01-31 08:50:29 -06:00
wolfbeast ab23191d8d Set incremental GC slice to 20 ms duration 2019-01-31 14:55:30 +01:00
Moonchild b5bfc5b155 Merge pull request #954 from MoonchildProductions/TychoEME-work
[TychoAM] Fix GMP* so that EME works in Basilisk
2019-01-31 14:54:57 +01:00
Moonchild dd7903e23e Merge pull request #952 from adeshkp/remove-telemetry-js
Remove telemetry leftovers from JS engine.
2019-01-31 14:49:35 +01:00
Matt A. Tobin b7f36ae47e Only state the stop notification for JSDownloads in nsWebBrowserPersist::EndDownload 2019-01-31 07:35:32 -05:00
wolfbeast d419483ef9 Revert "Fix bookmarks backup logic."
This reverts commit 99f5afe64b.
2019-01-30 23:22:11 +01:00
adeshkp 0e5a008cc9 Remove telemetry leftovers from JS engine. 2019-01-30 13:56:07 -05:00
wolfbeast 69eac5d2dd [AM] Remove spurious warning for staged cleanup.
This fixes #773.
2019-01-30 13:42:47 +01:00
wolfbeast 1e9d36de80 [AM] Remove spurious warning for staged cleanup.
This fixes #773.
2019-01-30 13:42:09 +01:00
Matt A. Tobin 8ef130fdd7 [TychoAM] Fix GMP* so that EME works in Basilisk
Also, keep WebExAM working for the moment
2019-01-29 10:48:41 -05:00
Andrew McCreight 5112bb7177 Increase slice time for longer running CCs.
If a CC takes too long (around 50 slices) or gets interrupted by a GC,
we have to finish it synchronously, which can cause a big pause.
This patch tries to avoid that by eagerly increasing the slice budget
the longer a CC goes on. It linearly increases the slice time from 5ms
to 40ms as we approach the halfway point of a CC (1 second), matching
GC pauses, and then leaves it at 40ms.
2019-01-29 13:36:19 +01:00
wolfbeast 7bd778bd43 Increase purple limit triggers for CC.
Making these much larger to allow more purple buffer buildup
and prevent overzealous cycle collection on purple buffer pressure.
2019-01-29 12:19:14 +01:00
wolfbeast 61231526ba Merge branch 'master' into cycle_collector-work 2019-01-29 09:40:44 +01:00
Moonchild d1a55c78ef Merge pull request #948 from trav90/media-work
Always treat composition time offsets as signed
2019-01-29 03:26:02 +01:00
David Teller 262f348a8a Reduce number of allocations in AutoStopwatch
This patch fixes two related issues.
1. The AutoStopwatch uses a stack-allocated `mozilla::Vector` to
communicate with its callback during each compartment switch.
This vector was designed to allow its contents to be stack-allocated
but they turned out to be accidentally heap-allocated.

2. During each tick, the stopwatch fills a vector `recentGroups_`.
This vector always started with minimal capacity and had to grow
repeatedly as groups were added, causing repeated reallocations.
This patch preallocates `recentGroups_` to have the same capacity as the
previous tick. We expect that this should eventually reach a stable size
that closely matches the actual needs of the process.
2019-01-29 03:11:39 +01:00
wolfbeast d5203231bf Revert "Reduce number of allocations in AutoStopwatch"
This reverts commit 3476c1d60e.
2019-01-29 00:40:24 +01:00
David Teller 2db30b4cf7 Reduce number of allocations in AutoStopwatch
This patch fixes two related issues.
1. The AutoStopwatch uses a stack-allocated `mozilla::Vector` to
communicate with its callback during each compartment switch.
This vector was designed to allow its contents to be stack-allocated
but they turned out to be accidentally heap-allocated.

2. During each tick, the stopwatch fills a vector `recentGroups_`.
This vector always started with minimal capacity and had to grow
repeatedly as groups were added, causing repeated reallocations.
This patch preallocates `recentGroups_` to have the same capacity as the
previous tick. We expect that this should eventually reach a stable size
that closely matches the actual needs of the process.
2019-01-28 23:41:20 +01:00
wolfbeast 681cc2c5e5 [PALEMOON] Remove some dead code from browser glue
(plugin update service)
2019-01-28 15:58:01 +01:00
wolfbeast 9bfa50b3c4 [BASILISK] Align browser glue with TychoAM for enableable add-ons. 2019-01-28 15:56:37 +01:00
trav90 9ba21ab2f3 Always treat composition time offsets as signed
Even for version 0 ctts atoms that technically should contain only
unsigned values.
2019-01-28 08:52:36 -06:00
wolfbeast a0a873c8ef Remove remote add-on debugging control. 2019-01-28 15:36:46 +01:00
wolfbeast d4be370c86 Add nullcheck for addons (pre-installed webextensions return null)
Tag mcp-graveyard/UXP#937.
2019-01-28 15:33:57 +01:00
Moonchild e9872cf68b Merge pull request #945 from FranklinDM/audioindicator-lwtheme-fix
Only use white audio indicator when using a lightweight theme
2019-01-28 01:14:54 +01:00
FranklinDM 17ec8b3e0a Only use white audio indicator when using a lightweight theme [pinned tabs] 2019-01-27 17:02:57 +08:00
FranklinDM 726858289e Only use white audio indicator when using a lightweight theme 2019-01-26 11:47:53 +08:00
wolfbeast c3535d05bd Fix incorrect file reference in onDownloadDragStart
Follow-up to Janek's port in 462332eee0
where this variable was changed creating a mismatch with surrounding
code.

This fixes #943.
2019-01-25 12:13:24 +01:00
wolfbeast 0015998d63 Fix bookmarks backup logic.
This is a follow-up to an incomplete patch submitted to Tycho:
https://github.com/MoonchildProductions/Pale-Moon/pull/1082

Also reduces the idle time before attempting to backup in the background
to 10 minutes (was 15).
2019-01-24 17:36:43 +01:00
wolfbeast faf9247ead [BASILISK] Disable WebEx support. 2019-01-21 23:32:37 +01:00
wolfbeast 1ad96618a9 Check for contiguous buffer state.
When we are reading large image data (i.e.: people using webp to stream
video instead of the native webm format; I'm looking at you, Giphy!)
we can run into the situation where the available data is not in a
contiguous buffer, and we need to either buffer additional data or
re-buffer from the start. If we don't do this, we can run into issues
because of buffer over-reading (causing corrupted data if allocated or
more likely crashes if not allocated).
Re-buffering is expensive, but this should be rare and limited to
dealing with unintended use for animated image formats.

This resolves #940.
2019-01-21 15:56:16 +01:00
wolfbeast da14d828fc Make Sourcebuffer::AppendFromInputStream handle canceled image loads. 2019-01-21 14:02:56 +01:00
wolfbeast 78f8556ed3 Make resuming of decoding work for anonymous decoders. 2019-01-21 13:58:20 +01:00
wolfbeast 8763950d88 Update libwebp to version 1.0.2
This resolves #939.
2019-01-21 13:09:32 +01:00
wolfbeast 889d82129c Properly camelCase dom.intersectionObserver.enabled pref. 2019-01-19 22:06:35 +01:00
wolfbeast ee93e445e7 Revert "Disable IntersectionObserver API because of crashes."
This reverts commit ac1beef5c1.
2019-01-19 16:26:35 +01:00
wolfbeast 287b9798db Actually unlink targets from registered intersection observers.
When a node is released/removed, and it has an intersection observer
attached to it, that observer should be unlinked at the time of release.

This resolves #935.
2019-01-19 11:36:47 +01:00
wolfbeast ae9c5fb375 Disable IntersectionObserver API because of crashes.
See #934 and #935.
2019-01-19 11:18:41 +01:00
wolfbeast 9d8ddf10ef Remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS 2019-01-18 22:43:29 +01:00
wolfbeast 3b033493d3 Consolidate tracing and traversing. 2019-01-18 21:09:15 +01:00
wolfbeast e15f6aa0f9 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2019-01-18 19:10:12 +01:00
wolfbeast 8c4067c40a Rewrite IntersectionObserver list handling to be more robust.
Tag mcp-graveyard/UXP#935.
2019-01-18 19:09:30 +01:00
Moonchild cce542fca5 Merge pull request #931 from Ascrod/master
Fix option for disabling HSTS in Pale Moon
2019-01-18 05:28:19 +01:00
Ascrod 59de1c6006 Fix check for HSTS when service is disabled. 2019-01-17 18:18:49 -05:00
wolfbeast 246caca745 Add isIntersecting property to IntersectionObserverEntry.
Per updated spec.

This resolves the issue raised in #249.
2019-01-17 19:02:50 +01:00
wolfbeast bc1ff2e742 New cycle version bump 2019-01-17 12:41:36 +01:00
wolfbeast d7c4499e00 Improve toolbar icons for all DPIs
Tag mcp-graveyard/UXP#576.

- Redraw toolbar SVG images, pixel-aligning them as best as possible
  with manual node placement on the pixel grid.
- Reintroduce PNG versions for < 1.33 dppx (with added glow arrow)
- Make the css adaptive around the 1.33 dppx border, using PNG below
  that threshold and SVG above it.
2019-01-17 11:41:50 +01:00
Ascrod 2f204ee43e [PALEMOON] Fix the option to disable HSTS. 2019-01-16 19:34:23 -05:00
Ascrod dba953d561 Add preference for fully disabling HSTS. 2019-01-16 19:33:09 -05:00
wolfbeast c4b0affff1 [PALEMOON] Add captive portal preference to the UI.
Tag mcp-graveyard/UXP#860
2019-01-16 01:57:41 +01:00
wolfbeast 7de4f3943f Add matching browser.newtab.choice pref to prevent error. 2019-01-16 01:56:19 +01:00
wolfbeast c4345a2f2e [PALEMOON] Move Advanced prefs l10n strings to their proper place 2019-01-16 01:55:31 +01:00
wolfbeast b9a48a05c9 [PALEMOON] Clean up advanced prefs XUL
Remove commented out old Firefox prefs that haven't been used in a
loon while and aren't going to be reinstated.
2019-01-16 01:53:51 +01:00
wolfbeast 45827fd9cd [WebExAM] Use proper application name in WebExtension API error message. 2019-01-14 23:00:32 +01:00
Moonchild 7ce143f991 Merge pull request #929 from adeshkp/remove-telemetry-stubs
Telemetry: Remove stubs and related code
2019-01-14 20:21:16 +01:00
adeshkp e36cb43e9f Make AllowExperiments return false as it is not useful without telemetry 2019-01-14 09:37:50 -05:00
adeshkp 4788f76cb9 Remove a pointless switch after telemetry cleanup 2019-01-14 09:32:12 -05:00
adeshkp eb01bd5e36 Remove unused telemetry timer from HTMLMediaElement.h 2019-01-14 03:20:28 -05:00
adeshkp dc07724424 Telemetry: Remove stubs and related code 2019-01-12 06:20:31 -05:00
wolfbeast a3879a0a26 Update basilisk blocklist header. 2019-01-09 14:44:44 +01:00
wolfbeast 0cc8898220 Align Element.ScrollIntoView() with the spec.
This also removes the (unused) shadow alias from nsIDOMHTMLElement
which used the different calling convention.

This resolves #927
2019-01-08 17:35:24 +01:00
wolfbeast 748f0954c6 Fix library window reference to SVG toolbar image.
Tag mcp-graveyard/UXP#576.
This needs uplift to the relbranch.
2019-01-07 14:20:21 +01:00
Moonchild 653c4eb13a Merge pull request #926 from JustOff/PR_WebExAM_addon.name
[WebExAM] Properly handle the add-on name in case it's localized
2019-01-06 15:07:37 +01:00
JustOff d149d3d146 [WebExAM] Properly handle the add-on name in case it's localized 2019-01-06 13:38:08 +02:00
wolfbeast 55ca1c65ed Expose hidden preference to disable Page Thumbnail generation.
This resolves #906.
2019-01-06 03:27:44 +01:00
wolfbeast dd21f63b9b Remove proprietary constructor on AudioContext.
This is a B2G leftover, was proprietary, and is causing issues
because `AudioContext` can now have a parameter that is a property bag,
per spec (we do not do anything with the property bag now; the audio
back-end will use automatic values for everything).

This resolves #924.
2019-01-04 16:18:03 +01:00
wolfbeast 985fd361d6 Make MAX_CSS_VAR_LENGTH unsigned to avoid warnings.
Follow-up for #891. Tag mcp-graveyard/UXP#457.
2019-01-04 16:03:13 +01:00
trav90 ef6770aea6 Update HSTS preload list
Tag mcp-graveyard/UXP#447
2019-01-02 16:41:46 -06:00
wolfbeast d7d649994d Use getElementBoundingRect and element.ownerGlobal in FormSubmitObserver 2019-01-02 17:15:29 +01:00
wolfbeast 4b36e1244e Update UXP Coding Style guideline document (WIP) 2019-01-02 12:42:56 +01:00
wolfbeast aeb12e2dd5 Update UXP Coding Style guideline document (WIP) 2019-01-02 11:56:11 +01:00
wolfbeast d72a322d28 Update UXP Coding Style guideline document (WIP) 2019-01-02 11:05:16 +01:00
wolfbeast 5ae6dccf26 Add Comodo IS < 6.3 64-bit to the dll blocklist 2019-01-02 11:04:50 +01:00
wolfbeast 0adc08ea54 Dont rely on 'this' staying alive long enough for getting favicons.
This fixes #809.
2019-01-02 00:24:43 +01:00
Moonchild 4e4a43db04 Merge pull request #917 from janekptacijarabaci/_testBranch_pm_downloads_rewrite
Rewrite Pale Moon FE downloads handling
2018-12-31 22:58:47 +01:00
Moonchild d49f80b1e5 Merge pull request #920 from JustOff/PR_nsIBrowserSearchService_async_init_2
[PALEMOON] Initialize the search service asynchronously when calling 'BrowserSearch.addEngine()'
2018-12-31 22:57:13 +01:00
Moonchild e164387030 Merge pull request #922 from trav90/media-work
Avoid redefined macro warning in MediaFormatReader
2018-12-31 22:56:49 +01:00
trav90 8f1012cfbf Avoid redefined macro warning in MediaFormatReader 2018-12-31 09:16:10 -06:00
Moonchild 60c99a83a8 Merge pull request #921 from trav90/media-work
Use new decode API with recent FFmpeg version
2018-12-29 20:54:57 +01:00
trav90 96e8e1d340 [FFmpeg] Don't define AV_CODEC_ID_VPx with libavcodec 58 2018-12-28 19:49:47 -06:00
trav90 c89484159f [FFmpeg] Use new decode API with recent FFmpeg version.
In libavcodec 58 and later, the old avcodec_decode_video2 is broken and only return the first visible frame found after a VP9 super-frame.
2018-12-28 17:51:55 -06:00
wolfbeast 00f4a5401b Add UXP Coding Style guideline document (WIP) 2018-12-26 18:15:20 +01:00
JustOff 76df2dc7ed [PALEMOON] Initialize the search service asynchronously when calling 'BrowserSearch.addEngine()' 2018-12-26 13:48:49 +02:00
wolfbeast 92ae0b3a84 Add performance warnings to Deprecated module.
Adds a dedicated handler for performance warnings to be logged to
consoles if known performance-impacting methods are called.
Search service init is changed from a deprecation warning to a
performance warning for synchronous init.
This also re-enables the warning for the Basilisk & Co. search service
initialization which was previously removed in [a930a79]

See also the discussion on #916.
2018-12-24 05:06:54 +01:00
wolfbeast 8a20b536ae Fix crashiness of IntersectionObservers.
Mozilla hashtables -still- suck.
2018-12-24 01:58:16 +01:00
Moonchild b346c860f8 Merge pull request #919 from JustOff/nsIBrowserSearchService_async_init
[PALEMOON] Initialize the search service asynchronously from 'about:home' and 'about:newtab'
2018-12-23 22:06:41 +01:00
JustOff b90606f1f7 [PALEMOON] Initialize the search service asynchronously from 'about:home' and 'about:newtab' 2018-12-23 22:47:45 +02:00
wolfbeast 02b850afc0 Re-enable intersection observers with WD spec patches.
This resolves #249
2018-12-22 15:02:49 +01:00
wolfbeast f504ef8811 [intersection-observer] Calculate areas using int64_t.
Tag mcp-graveyard/UXP#249
2018-12-22 14:59:46 +01:00
wolfbeast ed13d89ea3 Fix singed/unsigned type confusion for intersection threshold.
Tag mcp-graveyard/UXP#249
2018-12-22 14:35:26 +01:00
wolfbeast aa49ae136e Use content area as the intersection rectangle ...
... for custom root with overflow clip.
Tag mcp-graveyard/UXP#249
2018-12-22 14:34:42 +01:00
wolfbeast 21b9b7401e Map intersectionRect to the coordinate space of the target document.
Spec says: "Map intersectionRect to the coordinate space of the
viewport of the Document containing the target."
Tag mcp-graveyard/UXP#249
2018-12-22 14:10:14 +01:00
wolfbeast 0367056dee Use targetFrame->GetRectRelativeToSelf() as the initial intersection rect.
Tag mcp-graveyard/UXP#249.
2018-12-22 07:33:31 +01:00
wolfbeast 8c7999d116 Intersection ratio should be 1.0 for zero-area intersections.
Tag mcp-graveyard/UXP#249
2018-12-22 06:30:39 +01:00
wolfbeast abb40de578 Revise lifetime management of IntersectionObservers.
Tag mcp-graveyard/UXP#249
2018-12-22 02:15:50 +01:00
wolfbeast 44a578afb1 Replace status bar download overlay glow arrow with SVG.
Also remove the now no longer used png.
Resolves #576.
2018-12-21 16:31:00 +01:00
wolfbeast c777f797cd Return an empty set if getting recipes for host fails.
This avoids errors when _recipeManager is not (yet) available.
This resolves #496.
2018-12-21 14:14:15 +01:00
Moonchild 790b1f8afa Merge pull request #914 from JustOff/PR_preprocessor_fix
Fix false positives in the preprocessor-checker
2018-12-18 23:44:57 +01:00
wolfbeast 82d86bf047 Update SQLite lib to 3.26.0 2018-12-18 19:00:58 +01:00
wolfbeast 1cb4f46a3b Make sure channel-prefs.js is packaged into MAR files. 2018-12-18 14:18:49 +01:00
JustOff 01352bfa6a Fix false positives in the preprocessor-checker 2018-12-18 14:08:08 +02:00
wolfbeast 981754ab53 Merge branch 'master' into Sync-weave 2018-12-17 14:12:04 +01:00
wolfbeast e61e627406 Stub out FxA context menu functions.
Tag mcp-graveyard/UXP#812
2018-12-17 14:11:44 +01:00
wolfbeast 35cf582a42 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-12-17 03:52:14 +01:00
wolfbeast d7a244f4eb Stub out FxA context menu functions.
Tag mcp-graveyard/UXP#812
2018-12-17 03:51:39 +01:00
Moonchild df9b099490 Merge pull request #911 from trav90/code-cleanup
Remove AndroidMediaDecoder
2018-12-16 19:29:23 +01:00
wolfbeast 3be84f04c8 Stop including a dummy dll on Windows for broken old versions of WebSense.
WebSense has moved to an extension solution instead of dll injection, so
this dummy dll (for blocking injection) is no longer necessary.
2018-12-16 16:03:31 +01:00
trav90 3a6a0311df Remove omx-plugin 3rd party libs 2018-12-16 08:06:38 -06:00
trav90 b546260ce8 Remove OMX related options from configure 2018-12-16 08:05:21 -06:00
wolfbeast 6c503b4a95 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-12-16 15:02:58 +01:00
trav90 93a3f97e3f Remove AndroidMediaDecoder and friends
They are no longer supported and don't work with newer Android versions anyway.
2018-12-16 08:02:30 -06:00
wolfbeast 26a0ca5051 Issue mcp-graveyard/UXP#910 part 3. Throw SyntaxError from Location::SetProtocol on URI parse failures. 2018-12-16 14:50:28 +01:00
wolfbeast 45e70aba07 Issue mcp-graveyard/UXP#910 part 2. Strip ':' and anything following it from the string passed to the location.protocol setter. 2018-12-16 14:37:40 +01:00
wolfbeast 676c7be61a Issue mcp-graveyard/UXP#910 part 1. Don't navigate when location.protocol is set to anything other than http or https. 2018-12-16 13:09:21 +01:00
trav90 69444bfb2a Update HSTS preload list
Tag mcp-graveyard/UXP#447
2018-12-15 17:51:30 -06:00
wolfbeast e1dc518313 Clobber for NSPR+NSS update 2018-12-15 01:43:17 +01:00
wolfbeast 3a51f81345 Update NSS to 3.41 2018-12-15 01:42:53 +01:00
wolfbeast 2aa6b4cfc9 Update NSPR to 4.20 2018-12-15 01:40:18 +01:00
wolfbeast f5c87ba937 Make HTMLOptionsCollection::mSelect into a strong reference.
The cycle collector makes weak references like this obsolete.
2018-12-14 15:08:52 +01:00
wolfbeast 1fdbb21bf1 Do not report resource-timing subdocument loads triggered by that subdocument. 2018-12-14 12:50:01 +01:00
wolfbeast 009f52b51f Prevent double free in mar_sign.c 2018-12-13 22:15:37 +01:00
wolfbeast 7c5750f0dd Avoid overflow in nsPNGEncoder::WriteCallback. 2018-12-13 19:48:31 +01:00
wolfbeast a81da9d820 Bump Goanna version for layout code changes. 2018-12-13 14:08:40 +01:00
wolfbeast 4e43aae743 Clear CanvasShutdownObserver::mCanvas when the canvas goes away.
This is fallout from Bug 1167235 - Use a fast method of double buffering for canvas.

It is possible for the CanvasRenderingContext2D to be destroyed while we're in the
middle of the call to nsObserverService::NotifyObservers() for shutdown.
This leaves the shutdown observer with a dangling pointer to the canvas, so this
patch explicitly clears the pointer when the context goes away.
2018-12-13 14:08:12 +01:00
wolfbeast f3b218f4a4 Avoid useless FrameNeedsReflow call. 2018-12-13 13:54:51 +01:00
wolfbeast 2d7c432a37 Restrict ExtractLinearSum to find non-wrapping results. 2018-12-13 12:24:17 +01:00
wolfbeast c2feca447d Root parameter dictionaries in AesTask::Init(). 2018-12-13 12:04:18 +01:00
wolfbeast 289b335d47 Use canonical function in TypeNewScript::rollbackPartiallyInitializedObjects. 2018-12-13 11:34:00 +01:00
Moonchild 28262ce6ce Merge pull request #898 from MoonchildProductions/Sync-weave
Remove FxA Phase 1
2018-12-12 11:01:48 +01:00
wolfbeast 6c758a09c7 Fix mistakingly flagged instructions.
This enables optimizations which were wrongly inhibited before by this typo.
2018-12-12 00:49:58 +01:00
wolfbeast 3e4aa32f19 Clear weak pointers in FT2 font list shutdown observers. 2018-12-12 00:18:43 +01:00
wolfbeast a49353b858 Clear weak pointers in VTT shutdown observers. 2018-12-11 23:17:50 +01:00
wolfbeast b6b3dbc979 Update Dropbox UAO 2018-12-11 21:54:57 +01:00
wolfbeast 78e59550a3 Merge branch 'master' into Sync-weave 2018-12-10 16:59:13 +01:00
wolfbeast b1feedf156 Remove non-functional removal summary from quota dialog. 2018-12-10 12:28:06 +01:00
wolfbeast 6d24d141c1 Restore quota view/warnings to Basilisk. 2018-12-10 12:27:23 +01:00
Moonchild 0466c3e527 Merge pull request #902 from trav90/media-work
Remove the old MP3Parser and reorganize remaining MP3 code
2018-12-09 17:28:47 +01:00
Moonchild 7c5920b461 Merge pull request #901 from trav90/code-cleanup
Remove unused files from media gtests
2018-12-09 17:27:56 +01:00
Moonchild fd307b8fc5 Merge pull request #903 from trav90/issue900
Only disallow lazy frame construction for direct children of display:…
2018-12-09 17:27:36 +01:00
trav90 aefc415a15 Only disallow lazy frame construction for direct children of display: contents elements 2018-12-09 09:45:24 -06:00
trav90 4065707dc4 Add missing #include 2018-12-08 23:13:55 -06:00
trav90 c261a42a65 Move the MP3 code to it's own directory 2018-12-08 16:30:00 -06:00
trav90 ea767202b5 Remove separate MP3 name space
It is no longer needed.
2018-12-08 16:29:04 -06:00
trav90 3720059f1c Remove the old MP3FrameParser
All former users of the old MP3 parsing code are gone, so we can now just remove the parser itself as well.
2018-12-08 16:28:34 -06:00
trav90 e4ccd9add9 Remove files and comments related to MP4Reader
The MP4Reader no longer exists in the tree.
2018-12-08 15:51:28 -06:00
trav90 7579c77547 Remove Rust files from media gtests 2018-12-08 15:43:58 -06:00
wolfbeast f8aa6a2726 Fix incorrect preference reference in feed reader. 2018-12-07 02:09:34 +01:00
wolfbeast ac5de442b6 Add an option to process favicons.
This optimizes the size for UI display and strips animations.
Default disabled. This resolves #899.
2018-12-06 22:23:58 +01:00
wolfbeast f716368cbb Stop feeding a Firefox compat mode to AMO.
Since AMO has removed all "legacy" extensions, they do not offer anything compatible with us any longer.
We send the native UA to them from now on to always have it respond with "Only with Firefox".
2018-12-06 11:52:41 +01:00
wolfbeast 24859f7c2b Juggle some strings. 2018-12-03 17:12:34 +01:00
wolfbeast 2709c00e64 Revert "Restore missing broadcaster strings"
This reverts commit 11d1af7af1.
2018-12-03 17:08:38 +01:00
Moonchild 7f5b859457 Merge pull request #897 from trav90/telemetry-cleanup
Remove MediaTelemetryConstants
2018-12-03 02:29:32 +01:00
Moonchild e8a01c9280 Merge pull request #896 from trav90/media-work
Clear HAVE_LINUX_PERF_EVENT_H defines in ffvpx config before setting …
2018-12-03 02:28:26 +01:00
Moonchild 2f6c1c9f82 Merge pull request #895 from trav90/code-cleanup
Remove DirectShowReader
2018-12-03 02:26:03 +01:00
wolfbeast c929de7f35 [BASILISK] Make CUI's PanelUI work with Weave. 2018-12-02 22:26:33 +01:00
trav90 c54fb149b4 Remove MediaTelemetryConstants 2018-12-02 09:47:20 -06:00
wolfbeast 1f1dec0040 [BASILISK] Make Basilisk front-end use Weave 2018-12-01 23:40:09 +01:00
Matt A. Tobin 9bbc3f096d [PALEMOON] Complete making Sync optional at build time - Part 2: Packaging 2018-12-01 16:39:51 -05:00
Matt A. Tobin 5604d5218f [PALEMOON] Complete making Sync optional at build time 2018-12-01 16:26:26 -05:00
trav90 a70e03efba Clear HAVE_LINUX_PERF_EVENT_H defines in ffvpx config before setting them for lib use 2018-12-01 13:42:38 -06:00
trav90 8e8bf6eb1a Remove DirectShowReader Part 4: Tests 2018-12-01 09:42:39 -06:00
trav90 3563721fa6 Remove DirectShowReader Part 3: Directories 2018-12-01 09:40:13 -06:00
trav90 9d4f388cf9 Remove DirectShowReader Part 2: Build system 2018-12-01 09:38:51 -06:00
trav90 fc759472cf Remove DirectShowReader Part 1: Conditional code 2018-12-01 09:35:02 -06:00
wolfbeast f4a58d6e8a Limit the CSS string length for resolved variables to sane values.
This resolves #891
2018-12-01 12:05:45 +01:00
wolfbeast c34a22d468 Restore missing broadcaster strings 2018-12-01 10:52:57 +01:00
Moonchild 02c1d6d1c0 Merge pull request #892 from binaryoutcast/pmTreeCleanup
PR to resolve #889 - Clean up the Pale Moon tree
2018-11-30 22:02:01 +01:00
Matt A. Tobin e172210ee7 Issue mcp-graveyard/UXP#889 - Clean up the Pale Moon tree - Part 2b: Make jar.mn consistent 2018-11-30 13:35:09 -05:00
Matt A. Tobin 7a01c63202 Issue mcp-graveyard/UXP#889 - Clean up the Pale Moon tree - Part 2a: Make moz.build consistent 2018-11-30 12:55:21 -05:00
wolfbeast 161d771a9e [BASILISK] Enable the "legacy" panels for the sync preferences. 2018-11-30 18:41:04 +01:00
Matt A. Tobin 9cc9c6f5f8 Issue mcp-graveyard/UXP#889 - Clean up the Pale Moon tree - Part 1d: Move sync to components 2018-11-30 12:06:57 -05:00
wolfbeast 2dc97dbe3c Fix status.js 2018-11-30 18:04:47 +01:00
Matt A. Tobin 4f58a7bed8 Issue mcp-graveyard/UXP#889 - Clean up the Pale Moon tree - Part 1c: Move pageinfo to components 2018-11-30 11:55:54 -05:00
Matt A. Tobin abd0007f63 Issue mcp-graveyard/UXP#889 - Clean up the Pale Moon tree - Part 1b: Move newtab to components 2018-11-30 11:16:26 -05:00
Matt A. Tobin c68a7e37df Issue mcp-graveyard/UXP#889 - Clean up the Pale Moon tree - Part 1a: Move abouthome to components 2018-11-30 11:02:36 -05:00
Matt A. Tobin 4a8e33fdb6 Issue mcp-graveyard/UXP#890 - Port cpp aboutRedirector to javascript 2018-11-30 10:33:08 -05:00
wolfbeast f244ce4eae Remove FxA BrowserIDManager auth 2018-11-30 14:01:51 +01:00
wolfbeast 1e6e41d138 TPS logging: use app name 2018-11-30 11:16:13 +01:00
wolfbeast 1d675cc28d Remove fxAccountsEnabled() 2018-11-30 11:15:22 +01:00
wolfbeast 2adec329b7 Remove get/setFxAMigrationSentinel 2018-11-30 11:01:29 +01:00
wolfbeast b8152646a6 Remove telemetry calls from sync 2018-11-30 11:00:54 +01:00
wolfbeast af32724643 Remove healthreport telemetry module from Sync + tests 2018-11-30 08:45:46 +01:00
wolfbeast e0ce7d4abc Remove FxaMigrator module 2018-11-30 08:36:28 +01:00
wolfbeast 194ef9901d Bump Weave client version 2018-11-30 06:42:50 +01:00
wolfbeast b423a2a79c Merge branch 'master' into Sync-weave 2018-11-30 06:40:10 +01:00
wolfbeast 44eb76304d Update GMP AUS URL 2018-11-30 06:39:36 +01:00
wolfbeast 3a07d60564 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-11-29 16:14:05 +01:00
wolfbeast 7d924283db Fix typo for Firefox compatmode prefs.
Fixes regression from ec2e3bc027
2018-11-29 16:13:32 +01:00
Moonchild 2fc38b98e7 Merge pull request #886 from JustOff/PR_sanitize_findbar
[PALEMOON] Make Clear Recent History work with restored global Findbar
2018-11-29 00:47:48 +01:00
wolfbeast aa10e7fc9c Merge branch 'master' into Sync-weave 2018-11-28 23:10:30 +01:00
JustOff 8d6da6e1ee Revert "[PALEMOON] Sanitize - "Form and search history" sanitize also the Findbar text and history (Ctrl-Z)"
This reverts commit a97887a677.
2018-11-28 17:45:20 +02:00
Matt A. Tobin b5d980515d [TychoAM] Give the second <hbox> an ID so it can be targeted in extensions.xul 2018-11-27 17:05:46 -05:00
trav90 b642bf1ed7 Update HSTS preload list
Tag mcp-graveyard/UXP#447
2018-11-27 07:32:12 -06:00
wolfbeast 95d4030eab Remove VR Hardware input support (gamepad type)
This resolves #881
2018-11-27 12:28:56 +01:00
wolfbeast 9df239efa9 Remove VR hardware support.
This resolves #881
2018-11-26 16:41:20 +01:00
Moonchild 18a95d673c Merge pull request #879 from trav90/code-cleanup
Remove leftover gonk bits in /dom/media
2018-11-24 15:24:12 +01:00
wolfbeast ea9e2787db Fix debug assertion.
See: https://github.com/MoonchildProductions/UXP/commit/622098073e132995994fac4d61e3629d08ee1801#commitcomment-31390051
2018-11-22 12:12:58 +01:00
wolfbeast 579313f474 Merge branch 'webp-update' 2018-11-21 16:28:53 +01:00
trav90 67afaf65b2 Remove OMX_PLATFORM_GONK 2018-11-21 08:51:13 -06:00
trav90 5ce47cb386 Remove remaining MOZ_GONK_MEDIACODEC code 2018-11-21 08:44:16 -06:00
wolfbeast 21154c59b6 Fix blank pixel color for truncated GIFs 2018-11-21 14:22:29 +01:00
wolfbeast 21c635ae42 Split out FrameTimeout into its own header file for re-use. 2018-11-21 14:08:47 +01:00
wolfbeast ca9828e127 Unrefactor mRawVeggies back to mVBuffMeat ;P
(mRawSurface -> mVBuf)
2018-11-21 14:08:00 +01:00
wolfbeast 6f62878be6 Fix pasta error 2018-11-21 14:03:16 +01:00
wolfbeast 1e6b6cdc88 Bug 1462355 - Part 1c. Make individual image decoders to use updated Decoder/SurfacePipe methods.
Extend this change to nsWebPDecoder.cpp
2018-11-21 13:34:01 +01:00
wolfbeast cc3decebee Bug 1462355 - Part 1b. Update Decoder and SurfacePipe plumbing to use updated imgFrame methods. 2018-11-21 12:57:17 +01:00
wolfbeast f01b8841a1 Bug 1462355 - Part 1a. Make imgFrame animation parameters threadsafe.
We currently choose to set the animation parameters (blend method, blend
rect, disposal method, timeout) in imgFrame::Finish instead of
imgFrame::InitForDecoder. The decoders themselves already have access to
the necessary information at the time InitForDecoder is called, so there
is no reason to do this. Moving the configuration to initialization will
allow us to relax the mutex protection on these parameters.

This part simply reorganizes imgFrame, and subsequent parts will
introduce the necessary changes to SurfacePipe and decoders.
2018-11-20 20:38:49 +01:00
wolfbeast eab6be92da Port WebP decoder changes.
This breaks animated WebP for the moment, but adds QCMS color management and lexer changes.
Tag mcp-graveyard/UXP#831
2018-11-20 19:59:25 +01:00
Moonchild b0db3e4215 Update package.json
Update request version dependency
2018-11-20 11:10:18 +01:00
wolfbeast 78d0a601dc Add a nullcheck on pipelined HTTP connections' pushback. 2018-11-20 09:17:31 +01:00
wolfbeast 4d75ec5f3a Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-11-19 21:03:33 +01:00
wolfbeast d80479ff0a Belated new cycle version bump 2018-11-19 21:03:10 +01:00
Moonchild 4ca24e07c1 Merge pull request #874 from FranklinDM/sound_indicator-work
Add mute/media playing indicator to tabs
2018-11-19 19:15:48 +01:00
wolfbeast bf0264ff2a Strip Inkscape data from toolbar SVGs and remove obsolete PNGs.
Tag mcp-graveyard/UXP#576
2018-11-19 13:20:07 +01:00
Moonchild 78c584df65 Merge pull request #873 from JustOff/PR_bm_folders_copy_paste
[PALEMOON] Align the places component with the updated PlacesUtils API
2018-11-19 11:49:06 +01:00
Moonchild c365225f8c Merge pull request #876 from trav90/add-av1-support
Add support for AV1 in MP4 container
2018-11-19 11:48:48 +01:00
Moonchild d6d1f02bcf Merge pull request #877 from trav90/code-cleanup
Cleanup some comments in our media code.
2018-11-19 11:48:28 +01:00
trav90 5dae20ae7b Cleanup some comments in our media code. 2018-11-18 21:59:15 -06:00
wolfbeast 754ac1e8a2 Replace toolbar PNG bitmaps with SVG vectors.
This makes the main toolbar icon set use SVG vector images, so they are prepared for HiDPI use.
The download indicator "attention" state (green arrow) has been folded into the main toolbar image.
This is a direct replacement of the previous images (and not separate icon files) to have a direct drop-in replacement for the previously used files.

Tag mcp-graveyard/UXP#576
2018-11-19 01:47:32 +01:00
trav90 5d0913c757 Add AV1 support to MP4Decoder. 2018-11-18 13:10:11 -06:00
trav90 40a89d0873 Add support to libstagefright for AV1 FourCCs (part 2) 2018-11-18 13:02:19 -06:00
FranklinDM f0f6017ddf Hide mute menu item and disable mute hotkey with existing pref 2018-11-18 15:38:15 +08:00
FranklinDM 3820669d70 Fix undefined isSameDocument 2018-11-17 21:49:36 +08:00
FranklinDM 532bc93129 Follow-up: Add missing getTabFromAudioEvent method 2018-11-17 19:17:20 +08:00
FranklinDM f26a67bd72 Issue mcp-graveyard/UXP#638 - Part 10: Rename all tabs sound icon to be consistent with others
- alltabs => allTabs
2018-11-17 12:11:34 +08:00
FranklinDM e7073d526f Issue mcp-graveyard/UXP#638 - Part 9: Add sound icon to all tabs menu 2018-11-17 12:09:14 +08:00
FranklinDM f092d22943 Issue mcp-graveyard/UXP#638 - Part 8: Add overlay sound icon for pinned tabs
- This also moves some styles to tabbrowser.css
2018-11-17 10:55:10 +08:00
FranklinDM b79bf653fa Issue mcp-graveyard/UXP#638 - Part 7: Remove hover and active states for sound indicator 2018-11-17 10:25:16 +08:00
JustOff f53f2ead89 [PALEMOON] Align the places component with the updated PlacesUtils API 2018-11-16 21:57:07 +02:00
FranklinDM e3b09b0148 Issue mcp-graveyard/UXP#638 - Part 6: Fix up remaining references
- Refactor _tabAttrModified to accept two parameters
- Modify consumers of _tabAttrModified to pass details
- Add missing _soundPlayingAttrRemovalTimer field
- Add missing checks for mute/unmute around the tab browser
- Tab sound icon should inherit 'selected' attribute instead of 'visuallyselected'
2018-11-16 23:22:42 +08:00
FranklinDM 87f01fa2aa Issue mcp-graveyard/UXP#638 - Part 5: Add mute/unmute option to tab context menu 2018-11-16 22:58:46 +08:00
FranklinDM e293bccd78 Issue mcp-graveyard/UXP#638 - Part 4: Add tab sound icon to tab drop-down list 2018-11-16 22:40:59 +08:00
FranklinDM f9849d5e75 Issue mcp-graveyard/UXP#638 - Part 3: Add a keyboard shortcut for toggling the tab mute state 2018-11-16 21:53:49 +08:00
FranklinDM 90d2547a61 Issue mcp-graveyard/UXP#638 - Part 2: Add tooltip to mute/unmute buttons 2018-11-16 21:40:17 +08:00
FranklinDM c1f73d4788 Issue mcp-graveyard/UXP#638 - Part 1: Provide a visual indicator for muting/unmuting tabs 2018-11-16 20:59:11 +08:00
trav90 1baf743989 Add support to libstagefright for AV1 FourCCs 2018-11-15 07:44:52 -06:00
wolfbeast fd71dac17a Tell the cycle collector about nsScriptLoadRequest::mElement.
Not doing this can cause a leak because there is a cycle between the load request and the script element.
2018-11-15 13:32:25 +01:00
wolfbeast 5f13c9d11f Fix build bustage.
Tag mcp-graveyard/UXP#871
2018-11-15 09:29:51 +01:00
wolfbeast 3b57b5abe9 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-11-14 16:13:45 +01:00
wolfbeast 1e822fceb1 Split the content viewer marking function in CCUncollectable out,
so a document-based marking function can be used separately.

Tag mcp-graveyard/UXP#871
2018-11-14 16:11:30 +01:00
Moonchild 137d94e7e7 Merge pull request #869 from FranklinDM/sync_notification-work
[Pale Moon] Fix missing icon for Sync notifications
2018-11-14 13:51:16 +01:00
janekptacijarabaci 4a0208a9d7 [PALEMOON] Re-apply removal of unnecessary code (Findbar is no longer in the gBrowser)
This resolves #793
2018-11-14 13:48:56 +01:00
FranklinDM c57ccd6156 [Pale Moon] Sync notification widget's messageImage should inherit the 'type' attribute 2018-11-14 19:07:42 +08:00
Matt A. Tobin 789a1d6ab7 Issue mcp-graveyard/UXP#861 - The bookmark properties window should focus on the Name Picker text box on init 2018-11-14 04:42:22 -05:00
wolfbeast c0dd047e87 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-11-14 09:52:37 +01:00
wolfbeast 1a13ba38cb Revert "[PALEMOON] Focus and select the first non-collapsed text element in the bookmark properties dialog"
This reverts commit e9a58eae57.

Tag mcp-graveyard/UXP#867
2018-11-14 09:51:45 +01:00
Matt A. Tobin 21f02a3262 [PALEMOON] Use generic application icon for external applications in about:feeds 2018-11-14 02:54:29 -05:00
Matt A. Tobin 98dd8a3651 Revert "[PALEMOON] Use generic application icon for external applications in about:feeds"
This reverts commit c8d90e332f.
2018-11-14 02:50:09 -05:00
Matt A. Tobin 0171a2269f [PALEMOON] Use generic application icon for external applications in about:feeds 2018-11-14 02:41:19 -05:00
wolfbeast 56d28ff138 Don't build internal updater by default and set default update channel to an inactive one. 2018-11-11 18:13:40 +01:00
wolfbeast 67454ab689 Enable gamepad support by default in Basilisk.
Necessary because of changed platform default. See #794
2018-11-08 15:50:40 +01:00
wolfbeast 02294f0ea0 Improve handling of MOZ_GAMEPAD and NECKO_WIFI
- Make gamepad support disabled by default
- Add switch for confvars use for NECKO_WIFI
- Ensure both can be set from confvars.sh

This resolves #794 (bis)
2018-11-08 15:44:08 +01:00
wolfbeast 299814c6a1 Revert "Move MOZ_GAMEPAD* and NECKO_WIFI up"
This reverts commit 13ee68cbc6.
2018-11-08 15:25:03 +01:00
wolfbeast 7d14405718 Move MOZ_GAMEPAD* and NECKO_WIFI up
This resolves #794
2018-11-08 11:52:41 +01:00
wolfbeast 85d8e36104 Remove AccumulateCipherSuite()
This resolves #858
2018-11-08 11:32:49 +01:00
wolfbeast 277604dd22 Update reported Firefox version in compatmode.
This resolves #864
2018-11-07 06:44:17 +01:00
wolfbeast 02c1852741 Back out problematic patch causing issue #865.
This reverts commit f62eee7c51.
Verified that a hardening patch landed after this already negates what this patch was a stopgap for, so we no longer need it at all.
2018-11-06 21:58:44 +01:00
wolfbeast c9c78610dd #863 Part 3: Add Pale Moon GUI options for Opportunistic Encryption. 2018-11-05 15:58:39 +01:00
wolfbeast 882ea6ad3a #863 part 2: Make opportunistic encryption opt-in for UXP
This exposes the new pref and also sets the Alt-Svc pref for OE to false.
Basilisk gets a default opt-in for both to stay close to Firefox.
2018-11-05 15:51:39 +01:00
wolfbeast 4d9c9f609a #863 Part 1: Make sending of http upgrade-insecure-requests optional
Defaults to false if not configured.
2018-11-05 15:48:49 +01:00
wolfbeast 94172cd8eb Backout opportunistic encryption changes.
Apparently there is some functional and naming confusion here.
Backing out to re-land after evaluation and possible changes.
Tag mcp-graveyard/UXP#863.
2018-11-04 23:39:37 +01:00
wolfbeast 8c6cf796ef Add GUI control to Pale Moon for opportunistic encryption.
Pale Moon part for #863.
2018-11-04 17:59:16 +01:00
wolfbeast fc911f36cb Swap default platform state for opportunistic encryption.
Tag mcp-graveyard/UXP#863
2018-11-04 17:50:52 +01:00
wolfbeast 5df3bda637 Change captive portal detection URL to our own. 2018-11-04 16:06:05 +01:00
wolfbeast 447811d102 Make opportunistic encryption configurable.
This adds a pref "network.http.opportunistic-encryption" that controls whether
we send an "Upgrade-Insecure-Requests : 1" header on document navigation or not.
This patch modifies the platform network parts. Default for the platform is "true".
Part 1 for #863
2018-11-04 16:05:27 +01:00
wolfbeast 540bfe4a1d Clear STDINT_H defines in libvpx config before setting them for lib use. 2018-11-04 15:58:52 +01:00
Moonchild cda72d3c6c Merge pull request #862 from JustOff/PR_editBookmarkOverlay_focus
[PALEMOON] Focus and select the first non-collapsed text element in the bookmark properties dialog
2018-11-03 20:06:59 +01:00
JustOff 1fcc190b70 [PALEMOON] Focus and select the first non-collapsed text element in the bookmark properties dialog 2018-11-03 18:18:25 +02:00
wolfbeast 14c226b0a4 Backport some upstream Skia patches.
Backport of:
https://skia.googlesource.com/skia/+/1e259cda4fb7f12e98dd611bd651f40ebef2d14a
https://skia.googlesource.com/skia/+/73be50da2a1fe8944f2623a511fda1957eed708a
2018-11-02 17:04:54 +01:00
wolfbeast 9a2c3da2ba Add overflow checks for extending nsTArrays.
Surprisingly, this was previously not done.
Also, some of this code seems to be incorrect or,
at the very least, wasn't clear what it was trying to do.
2018-11-02 16:05:57 +01:00
wolfbeast fa39e96b24 Ensure user input suppression works correctly even after document.open. 2018-11-02 12:14:40 +01:00
wolfbeast ab175a35af Backport some upstream Skia patches.
Backport of:
https://skia.googlesource.com/skia/+/c3d8a48f1b27370049aa512019cd726c59354743
https://skia.googlesource.com/skia/+/8051d38358293df1e5b8a1a513f8114147ec9fa3
2018-11-02 11:56:17 +01:00
wolfbeast 97e5c50922 Remove ancient workaround in client certificate code
Apparently a prehistoric server implementation would send a certificate_authorities field
that didn't include the outer DER SEQUENCE tag, so PSM attempted to detect this and
work around it.
This prehistoric server implementation isn't in use anywhere anymore, so this 18-yo
server bug workaround can be removed.
2018-11-02 11:39:21 +01:00
wolfbeast 8604fb26bb Apply CheckedInt to infoLength for preventing it from overflowing in the future.
CheckedInt propagates the mIsValid in each add operation so that it avoids needing a bunch of code
for the overflow check in each add operation. Additionally, it avoids mismatching parameters
between the computing result and the additional overflow check.

This patch uses CheckedInt to take advantage of those implicit features of it.
2018-11-02 11:15:40 +01:00
wolfbeast 5bf67e4b06 Make sure we remove our RefreshDriver observers in CompleteAsyncScroll.
Follow-up to fdbac09596
2018-11-02 10:47:05 +01:00
wolfbeast a5b5a761d8 Fix a longstanding IndexedDB correctness issue.
Standards Compliance fix, port of Bug 1492737
2018-11-02 10:32:53 +01:00
wolfbeast b8f1344e7f Don't allocate PendingAction twice. 2018-11-02 08:33:16 +01:00
wolfbeast d64f2afa74 WebRTC: Drop DataChannelListener on Destroy(). 2018-11-02 08:20:46 +01:00
wolfbeast b9557721cc Make sure nsNSSCertList handling checks for valid certs. 2018-11-02 02:08:44 +01:00
wolfbeast 1951270bf6 Remove Query/Ref from the directory listing URI.
Port of Bug 1488061.
2018-11-01 22:14:07 +01:00
wolfbeast 370ee3f6e1 Bug 1460538 2018-11-01 20:35:06 +01:00
wolfbeast 8aadde266a Reorder boolean expression to take advantage of short-circuiting. 2018-11-01 20:16:49 +01:00
wolfbeast 82d713eb56 Protect main thread in-process access to WinCompositorWidget transparent surface. 2018-11-01 20:16:11 +01:00
wolfbeast cac1a27a8f Simplify SIMD conversion from Uint64 to Double. 2018-11-01 10:33:07 +01:00
wolfbeast f47dcf8e4f Make HTTP/2 compressor more resilient to bad data. 2018-11-01 07:31:23 +01:00
wolfbeast 19193e944b Ensure that the scroll frame deregisters its refresh driver observers (mAsyncScroll & mAsyncSmoothMSDScroll) before it's destroyed.
Tag mcp-graveyard/UXP#345
2018-10-31 18:47:29 +01:00
wolfbeast 2da702cc56 Origin for about: URL should not contain query or ref parts. 2018-10-31 18:32:00 +01:00
wolfbeast d326bd71f8 Don't mark MGetFirstDollarIndex as movable. 2018-10-31 17:30:52 +01:00
wolfbeast 7f80cee525 Prevent form sync error when there's nothing to sync. 2018-10-30 08:34:47 +01:00
wolfbeast a750503112 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-10-29 22:41:56 +01:00
wolfbeast 2269daa8ff Set CSS error console reporting default to false for performance.
Dev note needed upon release. This resolves #444.
2018-10-29 22:41:12 +01:00
Moonchild 1c15a80469 Merge pull request #857 from JustOff/PR_BackgroundPageThumbs_remote
Use a separate process to generate thumbnails only when multi-process mode is enabled
2018-10-28 00:08:32 +02:00
JustOff 0d22480314 Use a separate process to generate thumbnails only when multi-process mode is enabled 2018-10-27 21:35:56 +03:00
trav90 906b9f8b92 Update HSTS preload list
Tag mcp-graveyard/UXP#447
2018-10-27 07:32:12 -05:00
Moonchild 07576bcc42 Merge pull request #854 from g4jc/nsuserinfo
Issue mcp-graveyard/UXP#795 - Make nsIUserInfo component optional
2018-10-26 09:04:16 +02:00
Gaming4JC cf32f202f5 Issue mcp-graveyard/UXP#795 - Make nsIUserInfo component optional
This allows the nsIUserinfo component to be disabled with --disable-userinfo in mozconfig
at build time, but leaves it on by default to avoid any compatibility issues in existing
applications.
2018-10-25 18:12:58 -04:00
wolfbeast df7bae4661 Update constants. 2018-10-24 16:00:04 +02:00
wolfbeast 92346c1edc Pass exceptions directly to logger. 2018-10-24 14:13:44 +02:00
wolfbeast f2e0466998 Merge branch 'master' into Sync-weave 2018-10-24 13:20:10 +02:00
wolfbeast de928c4f5a Merge branch 'master' into Sync-weave 2018-10-24 11:13:33 +02:00
Moonchild 5f1532bab5 Merge pull request #852 from wicknix/master
Bug 1489785: Remove a workaround for gcc
2018-10-24 08:58:28 +02:00
wicknix 318a4209fe Bug 1489785: Remove a workaround for gcc
Introduced in bug 678607, that is no longer needed that causes hangs in modal dialogs on macOS 10.14
https://hg.mozilla.org/mozilla-central/rev/3920c858319d
2018-10-24 01:16:11 -05:00
wicknix fad7655b31 Bug 1489785: Remove a workaround for gcc
Introduced in bug 678607, that is no longer needed and causes hangs in modal dialogs on macOS 10.14.
https://hg.mozilla.org/mozilla-central/rev/3920c858319d
2018-10-24 01:10:07 -05:00
Moonchild 66cce3061e Merge pull request #851 from MoonchildProductions/revert-796-nsuserinfo
Revert "Make nsIUserInfo component optional with --disable-userinfo at build time"
2018-10-24 06:41:20 +02:00
Moonchild faea14774e Revert "Make nsIUserInfo component optional with --disable-userinfo at build time" 2018-10-24 06:40:38 +02:00
Moonchild 15a0c65f44 Merge pull request #845 from JustOff/PR_notifications_open_settings
Open about:permissions when notification settings are requested in Pale Moon
2018-10-24 06:02:42 +02:00
Moonchild 894e59313e Merge pull request #796 from g4jc/nsuserinfo
Make nsIUserInfo component optional with --disable-userinfo at build time
2018-10-24 06:02:10 +02:00
Moonchild e0cbfce591 Merge pull request #850 from trav90/add-av1-support
Add initial support for AV1 video.
2018-10-24 05:58:24 +02:00
Moonchild 6168927414 Merge pull request #847 from g4jc/debugspam
Don't use NS_ENSURE_SUCCESS where it causes useless logspam.
2018-10-24 05:54:59 +02:00
Gaming4JC 25b14b8bfc backport m-c bug 1333172 - Avoid 1100 warnings by replacing NS_ENSURE_SUCCESS in nsNetUtilInlines.h:180 2018-10-23 20:28:01 -04:00
Moonchild 3d05cb56ce Merge pull request #848 from adeshkp/search-btn-border
Show hidden left border of search button on about:newtab page
2018-10-23 22:30:01 +02:00
Moonchild 0d1d95262b Merge pull request #849 from adeshkp/basilisk-mac-build
Basilisk: Trivial fixes for Mac build
2018-10-23 22:28:52 +02:00
adeshkp facd3f1966 Basilisk: Trivial fixes for Mac build 2018-10-23 16:00:35 -04:00
adeshkp cd4b88aaf4 Show hidden left border of search button on about:newtab page 2018-10-23 15:58:11 -04:00
trav90 b5d8ee92a2 Revert "Add support for AV1 in MP4"
This commit was incomplete. Will re-land AV1 in MP4 support properly at a future date.

This reverts commit 29f718ef78.
2018-10-23 05:47:41 -05:00
wolfbeast aede037ca1 Code style improvements (no bug). 2018-10-23 09:44:51 +02:00
wolfbeast 54212e8f4f Improve graph edge resolution code.
This is a follow-up to ca7ecd37c9 further improving the DiD resolution for CVE-2018-12386.
2018-10-23 09:44:24 +02:00
Moonchild b70e4ae991 Merge pull request #844 from kn-yami/issue768
align Basilisk sidebar context menu behaviour with Pale Moon
2018-10-23 07:40:09 +02:00
Gaming4JC 3d27fe4ee9 backport m-c bug 1333174 - Don't use NS_ENSURE_SUCCESS at nsIOService:793
Log spam fix. Suppresses 1,100 instances of NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80520012 emitted from netwerk/base/nsIOService.cpp during linux64 debug testing. Backports [m-c 1333174](https://bugzilla.mozilla.org/show_bug.cgi?id=1333174).
2018-10-22 21:32:16 -04:00
trav90 fb408ef526 Ensure we correctly parse the finalized codec string for av1 2018-10-21 10:14:54 -05:00
trav90 1bda27b3ab Add support for AV1 in MP4 2018-10-20 17:40:24 -05:00
wolfbeast 0035648205 Fix reference to undefined property warnings in toolkit's browser.xml. 2018-10-21 00:05:05 +02:00
trav90 78cf264aa1 Use larger stack for media decoder threads
This increases the thread size for the platform decoder threads (to prevent stack overflows, particularly when decoding av1), while leaving the others at their default values.
2018-10-20 14:53:15 -05:00
trav90 14deb847f6 Downsample av1 images unconditionally
Adding partial support for 10/12-bit video images seems to have broken the native pixel-stride support we were using to pass 8-bit AV1 frame data formatted in 16-bit pixel values, resulting in vertical green lines.

Revert to the earlier behavior of always downsampling to 8 bit data. This is slower, but at least displays correctly.
2018-10-20 14:50:33 -05:00
trav90 bd685cc7c2 Fix canPlayType/isTypeSupported for AV1 content 2018-10-20 14:49:17 -05:00
JustOff 463b006567 [PALEMOON] Open about:permissions when notification settings are requested 2018-10-20 21:41:07 +03:00
JustOff 6fe436885a [PALEMOON] Add filter query to about:permissions 2018-10-20 21:40:07 +03:00
yami 137095eabb align Basilisk sidebar context menu behaviour with Pale Moon 2018-10-20 19:37:35 +02:00
Moonchild 33480c2c99 Merge pull request #843 from kn-yami/issue516
fix naming of getStartupChanges function
2018-10-20 18:39:34 +02:00
yami 0c5305c1c1 fix naming of getStartupChanges function 2018-10-20 17:21:32 +02:00
Moonchild 60e8db2b7a Merge pull request #839 from kn-yami/issue516
remove named function syntax in several TychoAM components
2018-10-20 16:05:41 +02:00
Moonchild 5dc243e7b4 Merge pull request #841 from JustOff/PR_css_grid_shrink_wrap
[css-grid] Don't shrink-wrap the inline size when we have an available size when measuring block size
2018-10-20 16:03:35 +02:00
JustOff 555419eda4 [css-grid] Reftests for 88671bcc36 2018-10-20 16:27:57 +03:00
JustOff b547b3042b [css-grid] Don't shrink-wrap the inline size when we have an available size when measuring block size 2018-10-20 16:25:28 +03:00
trav90 87adca8199 Put AV1 codec behind a pref
Disabled by default.
2018-10-20 08:24:28 -05:00
Moonchild 857679af79 Merge pull request #838 from FranklinDM/notification-work
Pale Moon: Remove message manager property from tabbrowser.xml
2018-10-20 15:19:21 +02:00
Franklin DM ed705f3978 Remove superfluous message manager property 2018-10-20 14:44:45 +08:00
trav90 a94ca34235 Update libaom to commit ID 1e227d41f0616de9548a673a83a21ef990b62591 2018-10-19 23:05:03 -05:00
trav90 2ed91994af Update libaom vendor scripts to account for upstream changes 2018-10-19 23:03:09 -05:00
trav90 af073e6d87 [aom] Only build stats code if examples are enabled 2018-10-19 23:01:02 -05:00
trav90 976f46a7d6 Update libaom to rev b25610052a1398032320008d69b51d2da94f5928 2018-10-19 23:00:02 -05:00
trav90 79bbd8cb6a [aom] No longer necessary to run lint_config.sh anymore
Upstream can now code generate the rtcd interface files directly from the aom_config.h header, so we no longer have to generate an intermediate file by running lint_config.sh. This also means we can remove the code for creating a temporary directory.
2018-10-19 22:58:05 -05:00
trav90 2c3ac5299b Add missing : to libaom moz.build 2018-10-19 22:48:01 -05:00
trav90 8bc9c6122a Updates to AOMDecoder for aom v1.0.0
This reflects the API changes to the aom_codec_decode function and the removal of I440. It also sets allow_lowbitdepth to give proper support for 8 bit video, and removes the git version from the mime type.
2018-10-19 22:11:39 -05:00
trav90 5a0a1a2a61 [aom] Fixup moz.build 2018-10-19 22:09:20 -05:00
trav90 6269066f2b Do not build aomstats unless examples are enabled
The aomstats library is only used in the code examples, but we assume that all libraries should be linked into libxul, which leads to an unresolved external dependency on fatal at link time. This adds a guard to only build aomstats if we are building the examples.
2018-10-19 21:55:15 -05:00
trav90 6f18ba2bc6 Update aom to v1.0.0
Update aom to commit id d14c5bb4f336ef1842046089849dee4a301fbbf0.
2018-10-19 21:52:20 -05:00
trav90 089ae981c4 Add support for SSE 4.2 to libaom moz.build 2018-10-19 05:31:30 -05:00
trav90 4925dbc030 Add aom_version.h 2018-10-19 05:30:35 -05:00
trav90 606ace030e Update generate_sources_mozbuild.sh
This changes generate_sources_mozbuild.sh to call generate_sources_mozbuild.py to generate sources.mozbuild and config files and removes the parts of the script that are no longer necessary.
2018-10-19 05:29:27 -05:00
trav90 6f27c88a88 Add generate_sources_mozbuild.py
This uses the cmakeparser to generate sources.mozbuild and the config files for each platform.
2018-10-19 05:27:28 -05:00
trav90 8c8b3e8e9a Add Python cmake parser
Unfortunately, upstream has removed the configure+make build system our import script relies on to generate code and moz.build files.
2018-10-19 05:26:15 -05:00
wolfbeast 6a00a56b13 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-10-19 09:16:25 +02:00
wolfbeast 92b3eb9148 Fix a test (#670) 2018-10-19 09:15:54 +02:00
trav90 dd9dc6d2bb Fix aom compile errors with VS2015
Import BUG=aomedia:900
2018-10-18 21:56:49 -05:00
trav90 82eff52af4 [av1] Fix build issues
This revision of libaom has some conflicts with our vendor script
and build system. A number of new .asm files have the same basename
as .c files, which our build system cannot handle.

To work around this, I manually renamed the conflicting
files in the filesystem and sources.mozbuild.

Also add av1_convolve_scale_sse4.c to sources.mozbuild manually.
This is needed by the build but for some reason isn't picked up
by generate_sources_mozbuild.sh.
2018-10-18 21:55:31 -05:00
trav90 437b5deee1 Update aom to commit id e87fb2378f01103d5d6e477a4ef6892dc714e614 2018-10-18 21:53:44 -05:00
trav90 b346b32c36 [aom] Fix win32 debug build
Visual Studio 2015u3 fails to compile reconintra.c for win32
debug targets. It's confused by the #if conditional inside
the assert macro expansion.

The checks are obsolete upstream. Address the issue by
duplicating the assert calls for each branch of the
conditional.
2018-10-18 19:49:57 -05:00
trav90 06c68b2706 [aom] Don't resample 8-bit images
The libaom av1 decoder will return 16 bit per channel aom_image_t structures with only 8 significant bits.

Detect this case and use the mSkip fields of PlanarYCbCrImage to handle the extra data instead of allocating and performing an extra copy to obtain the necessary 8 bit representation.
2018-10-18 19:47:53 -05:00
trav90 334fa6605b [aom] Resample high bit depth frames
The libaom av1 decoder can return high bit depth frame data now. Handle those frames by downsampling them to 8 bits per channel so they can be passed to our normal playback pipeline.
2018-10-18 19:45:59 -05:00
trav90 190e41f61b [aom] Fix stream info peeking
Backport upstream patch by Sebastian Alaiwan fixing
aom_peek_stream_info after changes to the superblock
location.
2018-10-18 19:41:52 -05:00
trav90 055de5cb0e Export aom_config.h
Recent changes made this a public header, so it needs to be available to callers like AOMDecoder.
2018-10-18 19:39:57 -05:00
trav90 a3da530157 Update aom to commit id f5bdeac22930ff4c6b219be49c843db35970b918 2018-10-18 06:04:57 -05:00
trav90 1421ee494d [aom] Remove unused option 2018-10-17 23:00:43 -05:00
trav90 abe0ad4130 [aom] Filter out CONFIG_EXT_PARTITION_TYPES
aom_dsp_rtcd_defs.pl checks only whether this key is present in the config, not whether it is set to true or not. Our script sets CONFIG_FOO=no for disabled options, while the upstream build system omits them, resulting in extra symbol declarations the build will never define.

Work around this by stripping the offending disabled config key if it is disabled.
2018-10-17 22:59:33 -05:00
trav90 e869524058 Make aom_config.asm match upstream 2018-10-17 22:58:23 -05:00
trav90 01b3fd96b4 [aom] Add x86-win32-gcc config 2018-10-17 22:57:24 -05:00
trav90 ace9d4aa57 [av1] Clean up duplicate filenames check 2018-10-17 22:56:27 -05:00
trav90 61eb086151 Add missing includes to FFmpegLibWrapper 2018-10-17 22:49:24 -05:00
trav90 a2218fbd0b Fix typo (build bustage) 2018-10-17 22:40:32 -05:00
Moonchild 9bfa9ebd94 Merge pull request #837 from Ascrod/readerview
Reader Updates
2018-10-17 19:10:44 +02:00
Moonchild 20b2e793c3 Merge pull request #836 from Ascrod/translation
Basilisk: Remove in-browser translation
2018-10-17 19:10:02 +02:00
trav90 9fa6624569 Update aom to slightly newer commit ID 2018-10-17 05:59:08 -05:00
trav90 9f182a2351 Add av1 to MediaSource.isTypeSupported
When av1 video playback is enabled, declare it as supported in the webm container in MediaSource.IsTypeSupported.

Also support special mime types of the form video/webm; codecs=vp9.experimental.<git-commit-id> so test sites can verify playback support of particular encodings while the av1 bitstream is under development.
2018-10-17 05:54:22 -05:00
trav90 16ffe860d9 Remove aom_codec_stream_info_t sz field references
Upstream has removed the requirement to set this when initializing the stream_info struct.
2018-10-17 05:46:09 -05:00
trav90 2b6c3c68d0 Make AOMDecoder actually build 2018-10-15 22:47:27 -05:00
trav90 345eb1c999 [aom] Enable YASM 2018-10-15 22:12:59 -05:00
trav90 b80a406068 [aom] Remove 32-bit Mac OS build config 2018-10-15 22:12:36 -05:00
trav90 2468c53af9 Add aom to the list of thirdparty code 2018-10-15 22:12:11 -05:00
trav90 fb5ce1fa33 Add missing includes to WebMDemuxer 2018-10-15 22:11:48 -05:00
trav90 b3dfaf0ee1 Recognize AV1 in WebMDemuxer
Call AOMDecoder to handle AV1 video tracks from the WebM container. The new decoder is very similar to VPXDecoder so we can use parallel calls. This codec is still build-time conditional.
2018-10-15 22:11:24 -05:00
trav90 97cdbbc39a Add AOMDecoder to AgnosticDecoderModule 2018-10-15 22:10:46 -05:00
trav90 9445d5e394 Add AOMDecoder
Port the VPXDecoder interface to libaom which uses the same api with the names changed.
2018-10-15 22:09:04 -05:00
trav90 5d7d03f165 Add --enable-av1 configure switch 2018-10-15 21:48:14 -05:00
trav90 d570874c57 Generate build description for libaom 2018-10-15 21:46:29 -05:00
trav90 9f611df3f1 Import aom library
This is the reference implementation for the Alliance for Open Media's av1 video code.

The commit used was 4d668d7feb1f8abd809d1bca0418570a7f142a36.
2018-10-15 21:45:30 -05:00
trav90 349df80246 Port the libvpx mozbuild generator to aom
This is a port of the libvpx scripts, themselves a port of Chromium's scripts to generate an external build description using hooks in the upstream configure and make scripts. The libaom library is a fork of libvpx so we can use a similar approach.

The upstream source is located in $(topsrc_dir)/third_party/aom but the build description and any patches are under the media directory with the other codecs, similar to how zlib works. Config files and headers generated by the upstream build system are also under $(topsrc_dir)/media/libaom/.
2018-10-15 21:44:18 -05:00
Ascrod aff3d24cce Update Readability from mozilla-central release branch (FF 62.0.3). Tag mcp-graveyard/UXP#361. 2018-10-15 13:52:23 -04:00
Ascrod 972e57e4dd Remove unused import from AboutReader module. Tag mcp-graveyard/UXP#361. 2018-10-15 13:51:49 -04:00
Gaming4JC 624c8a0bdc Issue mcp-graveyard/UXP#795 - Make nsIUserInfo component optional
This allows the nsIUserinfo component to be disabled with --disable-userinfo in mozconfig
at build time, but leaves it on by default to avoid any compatibility issues in existing
applications.
2018-10-12 23:17:14 -04:00
trav90 9628e87efe Update HSTS preload list
Tag mcp-graveyard/UXP#447
2018-10-12 21:07:35 -05:00
Ascrod a4b2b23149 Issue mcp-graveyard/UXP#832 Part 3: Remove strings. 2018-10-11 23:35:58 -04:00
Ascrod b1d6973766 Issue mcp-graveyard/UXP#832 Part 2: Remove styling and images. 2018-10-11 23:35:46 -04:00
Ascrod a6f5c18ae6 Issue mcp-graveyard/UXP#832 Part 1: Remove modules, chrome, and preferences. 2018-10-11 23:34:52 -04:00
Moonchild 082ea26297 Merge pull request #830 from trav90/media-work
Several WebM/VPX fixes
2018-10-10 06:37:08 +02:00
Moonchild 5535381174 Merge pull request #828 from g4jc/outlook_cve
Fix unwanted navigation from D&D of an Outlook mail message.
2018-10-10 06:36:11 +02:00
Gaming4JC e5683f2aa6 backport m-c 1435319: CVE-2018-12381 - Dropping an Outlook email message into the browser window will trigger a page navigation when the message's mail columns are incorrectly interpreted as a URL. 2018-10-09 17:41:02 -04:00
Moonchild a1b79f6ab1 Merge pull request #826 from MaxKoll/MaxKoll-patch-1
Fix in-tab close button behavior
2018-10-09 11:46:57 +02:00
Moonchild c2fc50c18e Merge pull request #827 from trav90/code-cleanup
[ffvpx] Remove support for 32-bit Mac
2018-10-09 11:42:56 +02:00
trav90 b6885b39ae [webm] Don't reject seeks with EOS
The MediaDecoderStateMachine treat seek's EOS as fatal errors, so instead we always resolve the seek promise, and let the next GetSample return EOS.
2018-10-08 21:44:23 -05:00
trav90 03d616ac6f [webm] Treat demuxing errors differently than EOS
Otherwise the WebM demuxer makes no difference between a genuine EOS and encountering an error.
2018-10-08 21:43:06 -05:00
trav90 e3c39f4cee Call VPXDecoder libvpx wrappers for WebM
Use the new helper functions instead of calling libvpx directly. This simplifies adding other codecs in the future.
2018-10-08 21:16:39 -05:00
trav90 d774b629cf Implement keyframe and framesize VPXDecoder helpers
Encapsulate code from WebMDemuxer to query keyframe and frame resolution inside VPXDecoder, so we have a clean wrapper for all the libvpx functions we use.
2018-10-08 21:14:24 -05:00
trav90 4203e0ba56 Add Span support to MediaRawData 2018-10-08 21:11:58 -05:00
trav90 fc708d8114 [vpx] Store VPXDecoder codec as an enum
Use the enum we already have here instead of converting to an int when we pass it around, giving us better type checking.
2018-10-08 21:10:31 -05:00
trav90 d367642a82 [webm] Store LastSeenFrame dimensions as an nsIntSize
This simplifies the comparison and update logic.
2018-10-08 21:05:52 -05:00
trav90 17763e59b2 [ffvpx] Remove support for 32-bit Mac 2018-10-08 20:07:27 -05:00
MaxKoll 07da37f6d7 Fix in-tab close button behavior
Fixes #775 (non-responsiveness when closing multiple tabs by rapidly clicking in-tab close buttons).
2018-10-08 14:29:20 +02:00
Moonchild 0e58e28055 Merge pull request #825 from MaxKoll/revert-811-MaxKoll-patch-1
Revert "Fix in-tab close button behavior"
2018-10-08 14:23:04 +02:00
MaxKoll 24a777d339 Revert "Fix in-tab close button behavior" 2018-10-08 14:01:46 +02:00
Moonchild 205fa24cd9 Merge pull request #824 from MoonchildProductions/revert-822-code-cleanup
Revert "[ffvpx] Remove support for 32-bit Mac"
2018-10-08 13:40:07 +02:00
Moonchild 2905448765 Revert "[ffvpx] Remove support for 32-bit Mac" 2018-10-08 13:39:38 +02:00
wolfbeast f0471036a0 Expose browser.download.lastDir.savePerSite
Resolves #823 (alternative suggestion)
2018-10-08 08:47:45 +02:00
wolfbeast 7ae66d32bc Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-10-08 08:17:47 +02:00
wolfbeast 08535805df Bump Goanna/platform version for layout changes. 2018-10-08 08:17:28 +02:00
Moonchild b4cfeddce1 Merge pull request #814 from Ascrod/nsis-cleanup
Clean up NSIS installer code
2018-10-08 08:15:41 +02:00
Moonchild 38cc74be11 Merge pull request #818 from trav90/mfbt-work
Add mozilla::Span
2018-10-08 08:15:08 +02:00
Moonchild 42b6a83c1e Merge pull request #822 from trav90/code-cleanup
[ffvpx] Remove support for 32-bit Mac
2018-10-08 08:11:05 +02:00
trav90 436b5d61cf [ffvpx] Remove support for 32-bit Mac 2018-10-07 15:11:09 -05:00
wolfbeast e996c97c95 Use device pixels instead of CSS pixels for table borders.
This resolves #821 (regression).
2018-10-07 20:35:37 +02:00
wolfbeast a84e3f6f3d Make caret width normal/thick behind CJK char configurable.
Fixes #820 (regression).
2018-10-07 19:46:00 +02:00
trav90 f7807aad68 Fix Span.h constexprs for VS2017 2018-10-06 17:33:48 -05:00
trav90 2742ece65a Add mozilla::Span 2018-10-06 17:29:50 -05:00
Ascrod 780c113686 Basilisk Installer: Remove unused stub defines and strings. 2018-10-06 18:24:41 -04:00
Ascrod 7028e4fde0 Pale Moon Installer: Remove unused stub defines and strings. 2018-10-06 18:19:27 -04:00
Moonchild ffb7506d6d Merge pull request #813 from JustOff/PR_SessionStorage_principal_origin
[BASILISK] Protect against nsIPrincipal.origin throwing for about:blank iframes and custom protocol urls
2018-10-06 19:34:45 +02:00
Ascrod 9cfaa90011 Basilisk Installer: Update Windows ARP URLs. 2018-10-06 12:55:04 -04:00
Ascrod 1c47f27514 Pale Moon Installer: Update Windows ARP URLs. 2018-10-06 12:54:04 -04:00
wolfbeast c454fd2058 Set the default action to not lock content scrolling when a menu is open.
This resolves issues with the bookmarks and other menus with submenus if scrollable in case of many items displayed.
2018-10-06 17:46:21 +02:00
JustOff 417db22f3e [BASILISK] Protect against nsIPrincipal.origin throwing for about:blank iframes and custom protocols 2018-10-06 15:05:00 +03:00
wolfbeast 3ec94aa7ee Teach Sync history engine about TRANSITION_RELOAD visit type. 2018-10-06 12:38:04 +02:00
wolfbeast 307d432caf Fix error in locallyModified. 2018-10-06 12:37:06 +02:00
wolfbeast 66b0764235 Make Everything Work™ 2018-10-06 12:07:35 +02:00
wolfbeast ae5ebc86c9 Update constants.js for array assignment. 2018-10-06 11:24:36 +02:00
wolfbeast b5f6b027a2 Update sync client for JS changes. 2018-10-06 07:09:02 +02:00
wolfbeast 9c039dd449 Import Tycho weave client 2018-10-06 06:57:51 +02:00
Moonchild 39b8c639ba Merge pull request #811 from MaxKoll/MaxKoll-patch-1
Fix in-tab close button behavior
2018-10-04 22:52:31 +02:00
MaxKoll 0f1d98d4ec Fix in-tab close button behavior (#775)
- Fixes #775.
- Coincidentally also fixes a regression that prevented opening new tabs via double click on an empty space in the tab bar.
2018-10-04 22:36:30 +02:00
wolfbeast f774f4d4f8 Ensure we got an nsISSLStatus when deserializing in TransportSecurityInfo. 2018-10-04 22:24:52 +02:00
yami db82002893 make style of amInstallTrigger.js more consistent 2018-10-04 22:19:55 +02:00
yami 24001f04ad remove named function syntax in LightweightThemeManager.jsm 2018-10-04 22:13:50 +02:00
yami 40dfa4da47 remove named function syntax in amWebInstallListener.js 2018-10-04 22:09:09 +02:00
yami 7b0f4c6b61 remove named function syntax in AddonManager.jsm 2018-10-04 22:05:58 +02:00
wolfbeast 78511449da Bug 1493900.
DiD fix.
2018-10-04 22:04:26 +02:00
yami 6d9cb22903 remove named function syntax in addonManager.js 2018-10-04 21:34:23 +02:00
wolfbeast 0cd579d6a5 Make all arguments to init*Event() optional except the first
This resolves #810.
2018-10-04 21:07:48 +02:00
Moonchild 4e000faf24 Merge pull request #808 from trav90/media-work
[ffmpeg] Always allocate memory to pass extradata
2018-10-02 09:39:56 +02:00
trav90 7d05a6b88a [ffmpeg] Always allocate memory to pass extradata
Despite wording of the documentation to the contrary, we can't provide a static pointer to an immutable object.
2018-10-01 20:51:17 -05:00
Moonchild 1ed9dddfe5 Merge pull request #806 from trav90/ffvpx-resync
Update ffvpx code to 4.0.2 (take 2)
2018-10-02 00:21:32 +02:00
trav90 6bf4919b56 Clobber for ffvpx update 2018-10-01 10:29:37 -05:00
trav90 60984a100f [ffvpx] Remove unneeded libavcodec symbols and dummy functions
Fixes linkage errors on Windows.
2018-10-01 10:29:13 -05:00
trav90 2e7de1476e [ffvpx] Update ffvp9/ffvp8 to release 4.0.2 2018-10-01 10:27:24 -05:00
Moonchild a4e54616c3 Merge pull request #805 from MoonchildProductions/revert-801-update-from-upstream
Revert "Update ffvpx code to 4.0.2"
2018-10-01 15:25:44 +02:00
Moonchild 19877e6c9a Revert "Update ffvpx code to 4.0.2" 2018-10-01 15:25:04 +02:00
Moonchild 89e2e428ec Merge pull request #801 from trav90/update-from-upstream
Update ffvpx code to 4.0.2
2018-10-01 14:34:26 +02:00
Moonchild 48099390a2 Merge pull request #804 from JustOff/PR_s4e_FullScreenVideo
[PALEMOON] Use message manager to detect full-screen HTML5 video in S4E module
2018-10-01 14:34:08 +02:00
JustOff f6c6fea72b [PALEMOON] Use message manager to detect full-screen HTML5 video in S4E module 2018-10-01 15:02:11 +03:00
wolfbeast a937fb8e40 Remove telemetry reporting functions from CubebUtils
Tag mcp-graveyard/UXP#21.
2018-10-01 13:23:56 +02:00
wolfbeast 7719aa9a21 Remove telemetry from cache v1 service locking (part2).
- Fold Lock(TelemetryID) into Lock();
- Fold nsCacheServiceAutoLock(TelemetryID) into nsCacheServiceAutoLock();

Tag mcp-graveyard/UXP#21.
2018-10-01 11:31:29 +02:00
wolfbeast 079be00ba9 Remove telemetry from cache v1 service locking (part1).
Tag mcp-graveyard/UXP#21.
2018-10-01 11:01:01 +02:00
wolfbeast e233a0db10 Remove unused telemetry functions/variables.
Tag mcp-graveyard/UXP#21.
2018-10-01 11:00:05 +02:00
trav90 d8d03a47bb Clobber for ffvpx update 2018-09-30 11:44:46 -05:00
trav90 3d8a4f0709 [ffvpx] Update ffvp9/ffvp8 to release 4.0.2 2018-09-30 10:40:30 -05:00
wolfbeast 0aef9de3a2 Remove cache I/O telemetry.
Tag mcp-graveyard/UXP#21.
2018-09-30 06:56:29 +02:00
wolfbeast db840568bc Remove telemetry probes to get detailed disk cache hit rate.
Tag mcp-graveyard/UXP#21.
2018-09-30 04:39:37 +02:00
wolfbeast 2f5ebb2cde Remove telemetry probes for cache file system. 2018-09-29 23:55:49 +02:00
wolfbeast 99963339dc Clean up a number of unused variables.
Tag mcp-graveyard/UXP#21.
2018-09-29 23:20:36 +02:00
wolfbeast b39217df13 Update telemetry whitelists.
Tag mcp-graveyard/UXP#21.
2018-09-29 23:07:12 +02:00
wolfbeast de509cdff8 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-09-29 22:56:37 +02:00
wolfbeast 1af8847148 Remove telemetry to find optimal cache entry hash size
Tag mcp-graveyard/UXP#21.
2018-09-29 22:56:15 +02:00
Moonchild e74ff87b43 Merge pull request #800 from trav90/update-from-upstream
Update libnestegg from upstream
2018-09-29 21:44:57 +02:00
trav90 b73c515810 Update test files for libnestegg update 2018-09-29 10:06:58 -05:00
trav90 71ccf0b749 Update HSTS preload list
Tag mcp-graveyard/UXP#447
2018-09-29 08:37:22 -05:00
wolfbeast 8f81cc09c9 Get rid of the incorrect mechanism to remove insecure fallback hosts.
This fixes #797.
2018-09-29 10:09:13 +02:00
trav90 9b0180a1b0 Update libnestegg from upstream 2018-09-28 22:59:06 -05:00
trav90 5acc7b31ca Update upstream URL and update script for libnestegg 2018-09-28 22:55:06 -05:00
wolfbeast d580f90a33 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-09-29 00:50:24 +02:00
wolfbeast fb7ed95dc2 Rename address bar back to location bar
Tag Issue mcp-graveyard/UXP#765
2018-09-29 00:50:08 +02:00
Matt A. Tobin fdaa70453c Only opt-in to esr52 search service for select applications 2018-09-28 18:47:30 -04:00
wolfbeast 8705d90195 Remove IndexedDB for content pref.
Tag Issue mcp-graveyard/UXP#765
2018-09-29 00:16:29 +02:00
wolfbeast e32e48d669 Update permissions manager strings.
Tag Issue mcp-graveyard/UXP#765
2018-09-28 23:59:19 +02:00
wolfbeast d2fbad9beb Rename "Cookies" to "Cookies and Site Data" in preferences where applicable.
Tag Issue mcp-graveyard/UXP#765
2018-09-28 23:02:21 +02:00
Matt A. Tobin c6f1c1caee Add a conditional to not build the platform so the build system can be exploited for non-binary projects 2018-09-27 02:08:07 -04:00
Moonchild ffd1de2bbb Merge pull request #791 from g4jc/session_supercookie
Issue mcp-graveyard/UXP#792 - backport mozbug 1334776 - CVE-2017-7797 Header name interning leaks across origins
2018-09-27 00:59:51 +02:00
Moonchild d6cd23caeb Merge pull request #789 from g4jc/sha256_leakfix
backport mozbug 1444532 - fix a leak in SHA256 in nsHttpConnectionInfo.cpp r=mayhemer
2018-09-27 00:54:34 +02:00
Gaming4JC 2f0e137a0e backport mozbug 1444532 - fix a leak in SHA256 in nsHttpConnectionInfo.cpp r=mayhemer
The original code (from bug 1200802) declared an XPCOM object as a static bare pointer,
which for future reference is probably never the right thing to do. It might have worked if
it was cleared before shutdown but it never was.
2018-09-26 18:29:45 -04:00
Matt A. Tobin 75e20abc05 Build nsJSInspector regardless of devtools 2018-09-26 17:49:21 -04:00
Moonchild 61eecb09b3 Merge pull request #790 from g4jc/nsSOCKSIOLayer_nullptr
backport mozbug 1344613 - Avoid possibility of null pointer crash in nsSOCKSIOLayer.cpp r=mayhemer
2018-09-26 14:01:50 +02:00
Moonchild 9096ee2f41 Merge pull request #788 from alaviss/apz-experimental
gfx: add pref for enabling APZ without e10s
2018-09-26 13:55:38 +02:00
Gaming4JC 8a93466ffb backport mozbug 1334776 - CVE-2017-7797 Header name interning leaks across origins
Potential attack: session supercookie.

[Moz Notes](https://bugzilla.mozilla.org/show_bug.cgi?id=1334776#c5):
"The problem is that for unknown header names we store the first one we see and then later we case-insensitively match against that name *globally*. That means you can track if a user agent has already seen a certain header name used (by using a different casing and observing whether it gets normalized). This would allow you to see if a user has used a sensitive service that uses custom header names, or allows you to track a user across sites, by teaching the browser about a certain header case once and then observing if different casings get normalized to that.

What we should do instead is only store the casing for a header name for each header list and not globally. That way it only leaks where it's expected (and necessary) to leak."

[Moz fix note](https://bugzilla.mozilla.org/show_bug.cgi?id=1334776#c8):
"nsHttpAtom now holds the old nsHttpAtom and a string that is case sensitive (only for not standard headers).
So nsHttpAtom holds a pointer to a header name. (header names are store on a static structure). This is how it used to be. I left that part the same but added a nsCString which holds a string that was used to resoled the header name. So when we parse headers we call ResolveHeader with a char*. If it is a new header name the char* will be stored in a HttpHeapAtom, nsHttpAtom::_val will point to HttpHeapAtom::value and the same strings will be stored in mLocalCaseSensitiveHeader. For the first resolve request they will be the same but for the following maybe not. At the end this nsHttpAtom will be stored in nsHttpHeaderArray. For all operation we will used the old char* except when we are returning it to a script using VisitHeaders."
2018-09-25 23:03:28 -04:00
Gaming4JC 3a45a909b8 backport mozbug 1344613 - Avoid possibility of null pointer crash in nsSOCKSIOLayer.cpp r=mayhemer 2018-09-25 22:53:09 -04:00
wolfbeast 9958caa929 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-09-25 20:44:26 +02:00
wolfbeast 804ae28f75 Regression fix: enable ICC v4 profiles by default. 2018-09-25 20:44:04 +02:00
Leorize de3656daac gfx: add pref for enabling APZ without e10s 2018-09-25 14:55:50 +07:00
Moonchild a8f0f5cdc4 Merge pull request #786 from JustOff/PR_auth_dialog_overflow
Remove window.sizeToContent() from commonDialog.js, as it's useless and leads to overflow in the basic auth dialog
2018-09-24 09:29:11 +02:00
JustOff d057a27080 Remove window.sizeToContent() from commonDialog.js, as it's useless and leads to overflow in the basic auth dialog 2018-09-23 17:30:43 +03:00
Matt A. Tobin ec34aa5c46 Remove code that prevents binary extensions 2018-09-23 05:14:23 -04:00
Matt A. Tobin bada38b7d6 Update list of IDs to never send to AUS in AddonUpdateChecker.jsm 2018-09-23 04:33:22 -04:00
wolfbeast fea9434c8f Use SSM's createCodebasePrincipalFromOrigin() instead of the nonexistent BrowserUtils.principalFromOrigin()
This resolves #734.
2018-09-22 13:37:52 +02:00
Moonchild 00321330b2 Merge pull request #782 from trav90/class-memaccess-errors
Fix more -Wclass-memaccess warnings (part 3)
2018-09-21 10:33:54 +02:00
Moonchild 7a52455b3a Merge pull request #781 from JustOff/PR_fileExecutableSecurityWarning
[PALEMOON] Restore strings mistakenly removed from downloads.properties
2018-09-20 21:12:58 +02:00
JustOff faa84fd71d [PALEMOON] Restore strings mistakenly removed by [8be0c16be6] 2018-09-20 20:30:24 +03:00
trav90 137601d060 Rename TypeSet::clone to TypeSet::cloneIntoUninitialized to indicate that it freshly initializes the TemporaryTypeSet* provided to it.
Also removes existing code that, quite unnecessarily, partly initialized that argument.
2018-09-19 20:31:28 -05:00
trav90 1343697efe Don't use PodCopy/PodMove to implement typed-array element-to-element copying
Standard std::copy and std::copy_n are readily optimized to the same thing, and they don't have a non-obvious requirement that the type being copied be trivial.
2018-09-19 19:05:22 -05:00
trav90 adf7791360 Give uint8_clamped a defaulted (and also trivial) default constructor, copy constructor, and copy-assignment operator.
This also allows uint8_clamped to be permissibly memmove'd and memcpy'd.
2018-09-19 18:59:49 -05:00
Moonchild 0f0a607a0b Merge pull request #778 from MihailZenkov/master
Fix timer overflow on converting from sec to msec in idleService
2018-09-20 00:37:18 +02:00
Mihail Zenkov a773b4c817 Fix timer overflow on converting from sec to msec in idleService 2018-09-20 00:13:34 +03:00
wolfbeast 90bd9ef322 Add a null check in nsHttpTransaction::Close.
This resolves #776.
2018-09-19 15:45:27 +02:00
wolfbeast 7ef9032c07 Merge branch 'worker-fix' 2018-09-18 16:31:30 +02:00
wolfbeast 577a2c09ba Rewrite the Code of Conduct document.
This is a rewrite of the document by Moonchild. Although the rough layout of the previous document is maintained, it is a significantly expanded and rewritten version no longer related to the contributor-covenant version that was initially used.
2018-09-18 12:02:47 +02:00
JustOff 1aab3c9f10 Use SessionStore.promiseInitialized() to avoid race condition in "about:home" (#774)
* Use SessionStore.promiseInitialized() to avoid race condition in "about:home"

* Improve code style of [d6c3adb91c9f29786f8ed8d93baa14c076494017]
2018-09-17 23:13:21 +02:00
wolfbeast bfe4a1eb4a New cycle version bump. 2018-09-17 09:57:01 +02:00
Moonchild 3f34f11d16 Merge pull request #770 from JustOff/PR_bgtab_notify
Skip notifications for background tabs when restoring a session in Pale Moon and Basilisk
2018-09-17 01:22:55 +02:00
JustOff f391bf7d00 [BASILISK] Skip notifications for background tabs when restoring a session 2018-09-16 19:47:19 +03:00
JustOff fbe75f104c [PALEMOON] Skip notifications for background tabs when restoring a session 2018-09-16 19:46:33 +03:00
Moonchild 1b2f68ecbd Merge pull request #767 from trav90/class-memaccess-errors
Fix more -Wclass-memaccess warnings (part 2)
2018-09-16 12:01:55 +02:00
wolfbeast 8d8b1c89c8 Send worker-runnables destined for the main thread actually to the main thread.
A case of "one queue too many" here. Instead of worker runnables being sent to the main thread
where they are supposed to run, they are put in a task queue per-worker. This is devastating
for performance if many workers are running.
2018-09-16 11:43:06 +02:00
wolfbeast a897a0a8a1 Stop using the worker MainThreadTaskQueue from dom/fetch. 2018-09-16 10:32:01 +02:00
wolfbeast d98eabfaba Stop using the MainThreadTaskQueue from service workers. 2018-09-16 10:22:11 +02:00
wolfbeast 58a4efb166 Fix wrong SVG sizes with non-integer values for viewBox width/height.
Includes a standalone reftest.
2018-09-14 20:54:19 +02:00
trav90 460dcb56e1 Don't memset-zero the BacktrackingAllocator::vregs array of non-trivial VirtualRegister instances 2018-09-12 19:19:12 -05:00
trav90 ebe69fc963 Call memset on a void*, not a T*, in js_delete_poison to avoid memset-on-nontrivial warnings with gcc that don't matter for an object whose lifetime is about to end 2018-09-12 19:09:07 -05:00
trav90 194f887a45 Initialize some asm.js structures using in-class initializers instead of PodZero 2018-09-12 19:07:57 -05:00
trav90 1501238ec9 Stop using PodZero in several places to initialize values of non-trivial type 2018-09-12 05:41:41 -05:00
wolfbeast 88950565b6 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-09-12 07:42:48 +02:00
wolfbeast ef75f77d1e Fix clang build bustage.
Follow-up to 9830cd079d
2018-09-12 07:42:09 +02:00
wolfbeast 5cfc128461 Flush some more buildlog output to screen when prudent. 2018-09-12 07:35:53 +02:00
trav90 8e592934ee Update HSTS preload list
Tag mcp-graveyard/UXP#447
2018-09-11 17:30:37 -05:00
wolfbeast 4e834fe017 Merge branch 'fbgw' 2018-09-11 20:10:59 +02:00
wolfbeast eaf6d11e60 Merge branch 'ported-upstream' 2018-09-11 20:10:43 +02:00
wolfbeast 4373a1f38e Bug 1466991 - Part 2: Reparent nodes when they start being in the XBL scope. 2018-09-11 16:55:24 +02:00
wolfbeast ea38cef6c8 Bug 1466991 - Part 1: Factor out ShouldUseXBLScope. 2018-09-11 15:33:44 +02:00
wolfbeast 80143dc531 Bug 1472925 - Keep a strong reference to MediaStreamGraph from GraphDriver. 2018-09-11 14:48:21 +02:00
wolfbeast 2dd5387cc7 Bug 1469309 - Remove an unused sensor type. 2018-09-11 14:24:50 +02:00
wolfbeast 580de72a3f Fix build bustage in cbfef7fcdb
- imageDetails.format() needs a cast to SurfaceFormat
- style nit: wrap long lines.
2018-09-11 13:53:06 +02:00
wolfbeast 644a9d808e Release mapped surface memory on size check failure to plug a leak. 2018-09-11 12:48:40 +02:00
wolfbeast 988f834a3f Move surface data checking to a separate function to make it less "totally nuts" 2018-09-11 12:47:26 +02:00
wolfbeast e61389af9f Bug 1467363 - Protect access to mTransparentSurface with a lock. 2018-09-11 11:55:16 +02:00
wolfbeast f7ddf8d426 Bug 1478575 - Unify CamerasChild shutdown paths. 2018-09-11 10:24:52 +02:00
wolfbeast 3755f7f7f7 Remove some unnecessary dependencies from HAL. 2018-09-11 10:18:19 +02:00
wolfbeast a581a396c7 Replace the custom logic in ObserverList with an nsTObserverArray which has all the necessary logic for stable iteration over a potentially changing list of items. 2018-09-11 10:17:37 +02:00
wolfbeast 02d4d92d59 Bug 1473113 - Defer initializing the MAR index until it's needed. 2018-09-11 09:09:21 +02:00
wolfbeast 410828cca3 Cherry-pick libvpx upstream 52add5896661d186dec284ed646a4b33b607d2c7. 2018-09-11 09:02:18 +02:00
wolfbeast 273d80e1c3 Merge branch 'master' into ported-upstream 2018-09-10 23:43:57 +02:00
Moonchild 8c9d885f6e Merge pull request #754 from trav90/class-memaccess-errors
Fix more -Wclass-memaccess warnings (GCC8)
2018-09-10 23:42:44 +02:00
wolfbeast 98f7081a95 Bug 1470260 - Part 2: Make RefreshDriverTimer ref-counted and hold a strong ref on it on the stack when nsRefreshDriver::Tick can be reached. 2018-09-10 22:22:16 +02:00
wolfbeast c70fbd4e75 Bug 1470260 - Part 1: Ensure that 'this' stays alive for the duration of the TickRefreshDriver call. 2018-09-10 22:12:07 +02:00
Ketmar Dark ff53b03a71 fix mozilla regression in search service (saving user-defined search engines)
this restores some API that is used by search engine management extensions, and
  tells "browser-search-engine-modified"/"engine-changed" signal to save user-defined
  search engines to "%PROFILE%/searchplugins", as it did in Good Old Times.
2018-09-10 18:37:04 +02:00
wolfbeast 3498f263a8 Add findbar.termPerTab
Allow the pref to switch between global search term and per-tab search term
2018-09-09 15:41:15 +02:00
wolfbeast ae3f43f9df Ensure the findbar target content browser follows the active tab. 2018-09-09 10:26:49 +02:00
wolfbeast 0eaafc529c Revert "Minimal easy fix -- move findbar getters to tabbrowser."
This reverts commit fb291846a5.
2018-09-09 08:26:13 +02:00
wolfbeast 6085b84b77 Revert "Transfer findbar data to torn-off tabs."
This reverts commit 333142b5af.
2018-09-09 08:25:50 +02:00
wolfbeast 19d7b084bb Revert "[PALEMOON] Findbar - remove unnecessary code (Findbar is no longer in the gBrowser)"
This reverts commit 38f30cdf75.
2018-09-09 08:24:54 +02:00
wolfbeast 024e6529af Revert "[PALEMOON] Findbar - added the listener also to tabbrowser.xml, remove "_fastFind", a better focus() for the method "updateCurrentBrowser""
This reverts commit 63b10a9b4f.
2018-09-09 08:24:37 +02:00
wolfbeast 5e9a846a34 Revert "Add tabbrowser findbar styling"
This reverts commit c96d9e5bdd.
2018-09-09 08:23:45 +02:00
wolfbeast 6534202f7f Revert "Add tabbrowser findbar styling for Linux and OSX"
This reverts commit e4b01ba844.
2018-09-09 08:23:21 +02:00
Moonchild 3806dce4e7 Merge pull request #758 from trav90/buildsystem-work
Silence the -Wuninitialized warning in mozjemalloc
2018-09-08 18:12:00 +02:00
trav90 4cf0237ca7 Silence the -Wuninitialized warning in mozjemalloc
GCC 7+ warns about too many false positives.
2018-09-08 10:00:10 -05:00
Moonchild 8351caa2ad Merge pull request #755 from g4jc/debugspam
backport mozbug 1350090: Turn off the spammy warning that goes off every time we create an about:blank content viewer; r=mystor
2018-09-08 15:42:46 +02:00
Moonchild 47ea5ed5c6 Merge pull request #757 from trav90/buildsystem-work
RTCCertificate.cpp: output truncated before the last format character
2018-09-08 15:42:16 +02:00
trav90 a38ccc7b43 RTCCertificate.cpp: output truncated before the last format character
Fixes compiler warnings when building with GCC 7+
2018-09-07 22:48:31 -05:00
Gaming4JC 3078ba263c backport mozbug 1350090: Turn off the spammy warning that goes off every time we create an about:blank content viewer; r=mystor
During a debug session, log spam appears because we are trying to get the origin out of a principal for about:blank, which will throw, which is expected.
2018-09-07 20:31:48 -04:00
Moonchild a8a34ee748 Merge pull request #753 from trav90/buildsystem-work
[GCC] Add -Wno-noexcept-type to the js build flags
2018-09-07 14:39:36 +02:00
trav90 7266a0d588 [GCC] Add -Wno-noexcept-type to the js build flags 2018-09-06 22:28:08 -05:00
wolfbeast 5b5d55dbb4 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-09-07 02:41:04 +02:00
wolfbeast 51ed4a44dc Bump goanna version for SVG handling update 2018-09-07 02:40:30 +02:00
Moonchild c9f827d965 Merge pull request #747 from JustOff/PR_NewtabUrl
Update 'browser.newtab.url' when it's used for new tabs and 'browser.startup.homepage' changes
2018-09-05 19:27:56 +02:00
wolfbeast d8e15a94ee Merge branch 'Bug_1357432'
Empty code commit (meta only)
Code changes in ae432c6367
2018-09-05 11:23:01 +02:00
wolfbeast b419cea2a4 Write out serialized search engine files when rebuilding cache.
This makes sure that any in-browser edits of search engines (searchplugins) are made permanent on disk.
Ref: https://forum.palemoon.org/viewtopic.php?f=13&t=20296 (Ketmar)
2018-09-05 11:21:12 +02:00
Moonchild 49f2dc3d70 Bug 1357432 (#750)
* Part 1. Move IsLocalRefURL to nsContentUtils to reuse this function. (port-rewrite)

`IsLocalRefURL` is originally designed to be used by URLValue only.
Since we need this function in SVGUseElement::LookupHref too, move it to nsContentUtils as a util function.

* Revert "Part 1. Move IsLocalRefURL to nsContentUtils to reuse this function. (port-rewrite)"

This reverts commit 19f010c620.

* Part 1. Duplicate IsLocalRefURL to nsContentUtils to reuse this function.

`IsLocalRefURL` is originally designed to be used by URLValue only.
Since we need this function in SVGUseElement::LookupHref too, duplicate it to nsContentUtils as a util function.
This is a duplication because CSSValue uses stringbuffers and not nsStrings.
While Bug 1356060 - "Just use nsString in URLValueData" converts this use from stringbuffer to nsString, it builds on a bunch of vartype refactoring (nsString vs. nsAString, etc.) which is too much of a headache to deal with just to deduplicate this simple function.

* Part 2. Implement nsSVGEffects::GetBaseURLForLocalRef to export local-ref-url-resolving logic.

ResolveURLUsingLocalRef is designed to be internally used by nsSVGEffects::Get-{SVGEffect}-URI functions.
Since we also need it in SVGUseElement::LookupHref, make it public in nsSVGEffects.

* Part 3. Resolve local-ref in SVGUseElement::LookupHref by nsSVGEffects::GetBaseURLForLocalRef.

* Part 4. Reftest for using local-ref as xlink:href value.
2018-09-05 03:20:16 +02:00
wolfbeast 380c781124 Part 4. Reftest for using local-ref as xlink:href value. 2018-09-05 02:00:48 +02:00
wolfbeast d28a4cc457 Part 3. Resolve local-ref in SVGUseElement::LookupHref by nsSVGEffects::GetBaseURLForLocalRef. 2018-09-05 01:47:58 +02:00
wolfbeast 1f97dfb14d Part 2. Implement nsSVGEffects::GetBaseURLForLocalRef to export local-ref-url-resolving logic.
ResolveURLUsingLocalRef is designed to be internally used by nsSVGEffects::Get-{SVGEffect}-URI functions.
Since we also need it in SVGUseElement::LookupHref, make it public in nsSVGEffects.
2018-09-05 01:44:01 +02:00
wolfbeast 77f5ecc639 Part 1. Duplicate IsLocalRefURL to nsContentUtils to reuse this function.
`IsLocalRefURL` is originally designed to be used by URLValue only.
Since we need this function in SVGUseElement::LookupHref too, duplicate it to nsContentUtils as a util function.
This is a duplication because CSSValue uses stringbuffers and not nsStrings.
While Bug 1356060 - "Just use nsString in URLValueData" converts this use from stringbuffer to nsString, it builds on a bunch of vartype refactoring (nsString vs. nsAString, etc.) which is too much of a headache to deal with just to deduplicate this simple function.
2018-09-04 19:37:48 +02:00
wolfbeast 85a6446b8d Revert "Part 1. Move IsLocalRefURL to nsContentUtils to reuse this function. (port-rewrite)"
This reverts commit 19f010c620.
2018-09-04 17:59:40 +02:00
wolfbeast ca96c8601f Part 1. Move IsLocalRefURL to nsContentUtils to reuse this function. (port-rewrite)
`IsLocalRefURL` is originally designed to be used by URLValue only.
Since we need this function in SVGUseElement::LookupHref too, move it to nsContentUtils as a util function.
2018-09-04 17:55:18 +02:00
wolfbeast faa82c7d8b Remove all C++ telemetry autotimers
Tag mcp-graveyard/UXP#21
2018-09-04 10:07:40 +02:00
wolfbeast 807ea33ec3 Remove all C++ telemetry autotimers 2018-09-04 09:41:24 +02:00
wolfbeast 871df2bcb4 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-09-04 07:41:14 +02:00
wolfbeast 329c9fb677 Add extra check for assembler buffer space. 2018-09-04 07:40:42 +02:00
JustOff 6fa2b550b9 Use the default value from 'browser.startup.homepage' instead of the hardcoded 'http://start.palemoon.org/' 2018-09-03 23:27:30 +03:00
JustOff d313484f24 Update 'browser.newtab.url' when it's used for new tabs and 'browser.startup.homepage' changes 2018-09-03 21:15:53 +03:00
Moonchild 026d416f76 Merge pull request #745 from MoonchildProductions/Kill-Telemetry
Remove all C++ Telemetry Accumulation calls.
2018-09-03 18:26:19 +02:00
wolfbeast a9c6bc2467 Remove all C++ Telemetry Accumulation calls.
This creates a number of stubs and leaves some surrounding code that may be irrelevant (eg. recorded time stamps, status variables).
Stub resolution/removal should be a follow-up to this.
2018-09-03 10:11:38 +02:00
trav90 ce229842d4 Fix build bustage 2018-09-02 21:01:45 -05:00
trav90 8833ae39c8 Call the relevant scope-data constructor when allocating it, and poison/mark as undefined the memory for the trailing array of BindingNames, ratther than impermissibly PodZero-ing non-trivial classes. 2018-09-02 20:07:47 -05:00
trav90 cb7fa67357 Convert the trailing array of BindingNames at the end of the various kinds of scope data into raw unsigned chars into which those BindingNames are placement-new'd, rather than memcpy-ing non-trivial classes around and failing to comply with the C++ object model 2018-09-02 18:45:56 -05:00
trav90 198090457a Make nsScannerIterator a trivial type in order to use memset 2018-09-02 16:45:29 -05:00
trav90 d2cea9524f [ffvpx] Update readme
- Remove non-applicable comment about AVX2.
- Update config documentation for 32-bit darwin.
2018-09-02 10:10:29 -05:00
wolfbeast adab309559 Remove FxA migrator.
This resolves #637
2018-09-02 11:37:51 +02:00
wolfbeast d07fd2bdef [PALEMOON] Update the taskbar preview per tab module for UXP.
- Use placesutils for favicons
- Switch to the PageThumbs service for thumbnails (like QuickDial)
- Make thumb requests asynchronous
- Update canvas handling

This resolves #731
2018-09-02 09:09:45 +02:00
wolfbeast 9184c6d543 Remove support for TLS session caches in TLSServerSocket.
This resolves #738
2018-09-01 23:45:10 +02:00
wolfbeast 898fa4fd86 Revert "Switch to using a single memory allocation arena"
This reverts commit 4ceb21241e.
2018-09-01 19:06:20 +02:00
wolfbeast f898d5d3f3 Revert "Bug 1388020. r=nical, a=RyanVM"
This reverts commit e7189e33f5.
2018-08-30 12:36:40 +02:00
wolfbeast d3da611302 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-08-30 12:27:25 +02:00
wolfbeast 340e3ad940 Revert "Bug 1444668 - Avoid allocating large AssemblerBuffers. r=luke, r=bbouvier, a=RyanVM"
This reverts commit 9472136272.
2018-08-30 12:26:26 +02:00
Moonchild 4d8088c441 Merge pull request #741 from trav90/media-work
Don't build ffvpx on 32-bit platforms (except Windows)
2018-08-30 11:47:37 +02:00
wolfbeast 437303391f Fix incorrect code removal in ipc.
Follow-up to a930db1c9e
2018-08-29 20:35:26 +02:00
wolfbeast 3602d4aba5 Sync disabled state of number control regardless of appearance. 2018-08-29 11:54:27 +02:00
trav90 89d91565cf Update HSTS preload list
Tag mcp-graveyard/UXP#447
2018-08-27 05:43:33 -05:00
wolfbeast bf8a6f635f Update installer strings for Pale Moon to match toolkit nsis installer.
This resolves #735
2018-08-27 11:45:13 +02:00
trav90 aac4b94831 Don't build ffvpx on 32-bit platforms (except Windows)
Our in-tree FFmpeg doesn't support optimized assembly code very well on 32-bit *nix systems, which causes performance issues during video playback.

Essentially, this commit restores the behavior from Pale Moon 27 on 32-bit Linux builds (for video playback rely on the system-installed FFmpeg packages or libvpx if FFmpeg packages can't be found).
2018-08-26 10:56:24 -05:00
Moonchild ecd8a2212b Merge pull request #733 from JustOff/PR_locale_changed_refresh
Refresh nsStringBundleService and nsHttpHandler when the browser locale is changed
2018-08-26 07:45:17 +02:00
wolfbeast 0d4ee0960a Add missing } 2018-08-25 22:38:58 +02:00
wolfbeast b379b7dcbd Switch to using a single memory allocation arena 2018-08-25 22:32:22 +02:00
wolfbeast 9c7c9b86c3 Add a horizontal scroll action option for mouse wheel.
Resolves #732
2018-08-25 19:56:18 +02:00
JustOff 6c9bea2432 Refresh nsStringBundleService and nsHttpHandler when the browser locale is changed 2018-08-25 17:50:02 +03:00
wolfbeast 1f2d4cc6a1 Introduce ui.menu.allow_content_scroll
When true, overrides the OS convention to prevent scrolling of content when contextual menus are open.
This resolves #730.
2018-08-24 13:21:17 +02:00
Moonchild acc2b8ac90 Merge pull request #727 from JustOff/PR_VK_F6
[PALEMOON] Fix document navigation using F6
2018-08-23 22:46:54 +02:00
JustOff f529c7a93d [PALEMOON] Fix document navigation using F6 2018-08-23 23:29:38 +03:00
wolfbeast 97e2af995b Stop pointless recording of telemetry data
Also clear the telemetry URLs and metas "just in case" so nothing can go anywhere even in the case of PEBCAK.
2018-08-23 16:06:53 +02:00
wolfbeast 49a7e97f04 Fix code of conduct version ref link. 2018-08-22 18:33:58 +02:00
Moonchild 8820a294cf Merge pull request #720 from JustOff/PR_ShouldAddToSessionHistory
Update ShouldAddToSessionHistory() rules for "about:newtab" and "about:logopage"
2018-08-22 15:53:24 +02:00
JustOff 0ea5fdb86c Explicitly specify parentheses in a mixed boolean expression in ShouldAddToSessionHistory() 2018-08-22 14:08:55 +03:00
Moonchild 9422537425 Merge pull request #722 from g4jc/importfromunix
Basilisk: Fix locale error on migration.xul on Linux
2018-08-22 13:07:49 +02:00
JustOff f111f7ab9e Use "browser.newtabpage.add_to_session_history" to decide whether to store "about:newtab" in the session history 2018-08-22 13:40:19 +03:00
Gaming4JC d2de2de07f Basilisk: Fix locale error on migration.xul on Linux 2018-08-21 20:59:46 -04:00
JustOff 6195ab14a3 Update ShouldAddToSessionHistory() rules for "about:newtab" and "about:logopage" 2018-08-21 18:32:45 +03:00
wolfbeast ffe881b459 Pale Moon blocklist update 2018-08-21 10:30:35 +02:00
wolfbeast f057c7f7d7 Fix toolbar styling in non-Australis toolkit themes part 2
Fix jar manifests.

This resolves #713
2018-08-21 00:04:59 +02:00
wolfbeast b3769781ac Fix toolbar styling in non-Australis toolkit themes
This resolves #713
2018-08-21 00:03:07 +02:00
Moonchild 595c276423 Merge pull request #718 from trav90/code-cleanup
Remove unused variable
2018-08-20 13:51:00 +02:00
wolfbeast b6c153ab0f Re-implement custom background color of standalone images.
This resolves #717.

Note: this does not affect other applications because the platform
default is to use the "darknoise" background image for standalone
image, which effectively overrides a bg color.
2018-08-20 13:31:38 +02:00
wolfbeast 852373a60f Remove TelemetryStopwatch module.
Tag mcp-graveyard/UXP#21
2018-08-20 09:41:05 +02:00
wolfbeast 1ca26e03c5 Remove TelemetryStopwatch call sites from mobile components.
Tag mcp-graveyard/UXP#21
2018-08-20 09:38:08 +02:00
wolfbeast ea1e976633 Remove TelemetryStopwatch call sites from toolkit components.
Tag mcp-graveyard/UXP#21
2018-08-20 09:33:07 +02:00
Moonchild b37d28903c Merge pull request #714 from trav90/class-memaccess-errors
Fix more -Wclass-memaccess warnings:

- Avoid using memset on a not-trivial types
- Avoid doing memset on non-POD structures
- Be more restrictive with memset on Array containers
2018-08-20 08:25:06 +02:00
Moonchild eff4731fc4 Merge pull request #716 from g4jc/remove_telemetry_stopwatch
Basilisk: Remove TelemetryStopwatch
2018-08-20 08:18:55 +02:00
trav90 a4dd4fee05 Remove unused variable 2018-08-19 23:59:31 -05:00
Gaming4JC c4e43d69e3 Basilisk: Remove TelemetryStopwatch 2018-08-19 18:18:36 -04:00
trav90 b9a2645fa5 Avoid using memset on a not-trivial type like ServoSizes 2018-08-18 15:22:21 -05:00
trav90 0bd57efd12 Avoid using memset on a not-trivial type like TabSizes 2018-08-18 15:20:24 -05:00
trav90 0783f37f08 Avoid doing a memset on a non-POD structure
|entryCount| tracks -- in fast-to-check manner -- the number of entries in the hashtable.  But to actually enumerate entries, we have to loop through all of |table|, checking for entries that are actually live.  A live entry is indicated by a zero |hash| in the entry.  The |memset| would properly zero that; removing the memset will not.

It's not entirely clear whether a memset that overwrites a lot of stuff but is maybe simpler, is faster than compiler-generated likely-SIMD code that zeroes out *just* |hash| fields in all the entries.  But I am going to guess that SIMD is good enough.  For now, we should just do the simple and thing: don't distinguish POD and non-POD, and know that the compiler is going to recognize that |mem.addr()->~T()| is a no-op when T is trivial.  So with POD, the loop should degenerate to just zeroing |hash| at consistent offset, and SIMD will eat that up, and it can't be *that* different from the memset in performance (if it is at all).
2018-08-18 15:18:52 -05:00
trav90 af67b61666 memset only the underlying vector from the Array container 2018-08-18 15:12:00 -05:00
trav90 15eea35fd6 Avoid using memset on a not-trivial type like nsTabSizes
nsTabSizes is non-trivial only because of the user-defined constructor.  The idea desired here is certainly to zero all the members without listing them -- but the very act of doing so with a user-defined constructor, makes the idea impossible.

Arguably this is something that is permissible in the language, and that the warning should be tailored to permit.  I don't think this falls afoul of any of the issues flagged in https://gcc.gnu.org/ml/gcc-patches/2017-06/msg01527.html for example.  In the meantime, just explicitly zeroing the three member fields is easy and fixes the warnings.
2018-08-18 15:10:01 -05:00
Moonchild 5f35ad49b9 Merge pull request #712 from JustOff/PR_viewPartialSource
[PALEMOON] Align viewPartialSource with the UXP codebase
2018-08-17 22:30:46 +02:00
wolfbeast 4d93ddef88 Fix missed in32->int64 in df85212009
Tag mcp-graveyard/UXP#709.
2018-08-17 19:23:37 +02:00
JustOff cbef8336d1 [PALEMOON] Align viewPartialSource with the UXP codebase 2018-08-17 16:04:48 +03:00
wolfbeast 89e061014b Reinstate RC4 and mark 3DES weak.
Tag mcp-graveyard/UXP#709
2018-08-17 06:39:04 +02:00
wolfbeast 66cdd1d7c6 Extend {EnabledWeakCiphers} bit field to allow more cipher suites.
Tag mcp-graveyard/UXP#709.
2018-08-17 06:33:23 +02:00
Moonchild 9ced2425df Merge pull request #708 from wicknix/master
fix basilisk mac icons, executable name, and min os version
2018-08-16 07:41:14 +02:00
Moonchild 4727067872 Update CODE_OF_CONDUCT.md
Minor style improvement
2018-08-15 14:40:18 +02:00
wolfbeast 9a8286f692 Move Code of Conduct to where it belongs.
(Damn you, github on-line editor!)
2018-08-15 14:38:31 +02:00
Moonchild 304e219f8f Add Code of Conduct for contributors.
As a recommended document for governance of our project and community.
2018-08-15 14:36:28 +02:00
Matt A. Tobin 60a021f34c Do not try and include devtools shared l10n when devtools is not built 2018-08-15 03:19:07 -04:00
wicknix 6e1c4a8a33 Add files via upload
remove old mac firefox icns files and replace with basilisk icns files
2018-08-14 18:59:58 -05:00
wicknix a22c875c29 Update Info.plist.in
fix exe name and min osx version
2018-08-14 18:47:32 -05:00
wolfbeast bdefcf2f0d Enforce NSS 3.38 for people who still insist on using system NSS. 2018-08-14 19:37:44 +02:00
wolfbeast 16695590ed Update NSS to 3.38
- Added HACL*Poly1305 32-bit (INRIA/Microsoft)
- Updated to final TLS 1.3 draft version (28)
- Removed TLS 1.3 prerelease draft limit check
- Removed NPN code
- Enabled dev/urandom-only RNG on Linux with NSS_SEED_ONLY_DEV_URANDOM for non-standard environments
- Fixed several bugs with TLS 1.3 negotiation
- Updated internal certificate store
- Added support for the TLS Record Size Limit Extension.
- Fixed CVE-2018-0495
- Various security fixes in the ASN.1 code.
2018-08-14 16:42:52 +02:00
wolfbeast 61fbbabbd1 Set version for normal unstable channel use. 2018-08-13 19:00:08 +02:00
Moonchild 95440a9b2d Merge pull request #707 from trav90/class-memaccess-errors
Simplify HeapSlot to make it trivially copyable
2018-08-13 18:58:12 +02:00
Moonchild f1e695519c Merge pull request #706 from trav90/gcc8
Fix/silence some warnings with GCC 8
2018-08-13 18:52:43 +02:00
Moonchild 8bdf237f93 Merge pull request #704 from trav90/buildsystem-work
Shell quote environment variable values when dumping them in dump_env.py
2018-08-13 18:52:15 +02:00
trav90 a144eb503e Simplify HeapSlot to make it trivially copyable
This removes the constructors, which were never called since we allocate arrays of HeapSlot with pod_malloc. The destructor is only ever called explicitly since we free this memory with js_free so it has been renamed to destroy(). Also removed is an unused manual barrier.
2018-08-12 07:57:10 -05:00
trav90 f355640d15 Avoid using memcpy on HeapSlot that is not trivially copyable. 2018-08-12 07:51:14 -05:00
trav90 c3cab0a049 Shell quote environment variable values when dumping them in dump_env.py
The mozconfig output parsing code already (mostly) handles shell quoted strings, because that's what `set` outputs. By quoting environment variable values, we avoid a bunch of problems with "weird" values.
2018-08-11 16:24:30 -05:00
trav90 ad1f1bebd4 Remove the const to fix the -Wignored-qualifiers warning with GCC 8 (Part 2) 2018-08-10 15:21:45 -05:00
trav90 3eea26cd96 Fix a warning with GCC 8: unnecessary parentheses in declaration of 'type name' 2018-08-10 15:12:47 -05:00
trav90 e17ba20249 Disable -Werror on -Wmultistatement-macros
Silences compiler warning spam with GCC 8.
2018-08-10 15:08:10 -05:00
trav90 31b3a91ce6 Remove the const to fix the -Wignored-qualifiers warning with GCC 8 2018-08-10 15:04:21 -05:00
trav90 c508b6439c Initialize mVersion to silence a warning with GCC 8 2018-08-10 14:48:25 -05:00
trav90 2f37f1188e js::atomics_wait: Remove unnecessary parentheses in declaration of 'addr'
Silences a warning with GCC 8.
2018-08-10 14:44:03 -05:00
Matt A. Tobin aec4a395a9 Fix include path 2018-08-06 07:30:35 -04:00
Matt A. Tobin 30461c9aee Add a slightly modified version of the gecko/44 search service and use it when building Pale Moon 2018-08-06 07:30:09 -04:00
Matt A. Tobin e947236cb3 Move the "native" search service to a subdirectory 2018-08-06 06:11:17 -04:00
Moonchild 182777ac51 Merge pull request #698 from SpockFan02/master
Pale Moon: macOS: Fix icons in editBookmarkOverlay
2018-08-05 22:36:59 +02:00
Moonchild 88524e4a35 Merge pull request #697 from SpockFan02/undeprecate-appcache
Issue mcp-graveyard/UXP#686: Un-deprecate the Application Cache API
2018-08-05 17:50:00 +02:00
SpockMan02 add3ebe4d1 Restore some osx icons 2018-08-05 06:15:12 -07:00
SpockMan02 1e566fcf68 Revert osx editBookmarkOverlay.css to osx version 2018-08-05 05:32:46 -07:00
SpockMan02 4cbf618570 Issue mcp-graveyard/UXP#686: Un-deprecate the Application Cache API 2018-08-05 04:08:37 -07:00
wolfbeast 49dca52fd4 Merge branch 'master' into js-modules 2018-08-05 11:35:53 +02:00
Moonchild 12cc2f8b27 Merge pull request #694 from adeshkp/patch-10
Fix constructor in nsHtml5AtomTable.cpp
2018-08-04 13:43:05 +02:00
wolfbeast 31c94bfef3 re-apply "Improve nsHtml5AtomTable performance (#693)" (#695)"
This reverts commit ca87455cc5.
2018-08-04 13:40:55 +02:00
Moonchild 5dd75bbf4b Revert "Improve nsHtml5AtomTable performance (#693)" (#695)
This reverts commit 2bc00efe7b.
2018-08-04 13:32:09 +02:00
adeshkp a1f07930e7 Fix constructor in nsHtml5AtomTable.cpp
Follow up to 2bc00ef to fix build bustage
2018-08-04 11:17:54 +00:00
adeshkp 7b8d9df30d Improve nsHtml5AtomTable performance (#693)
* cpp change
* h change
2018-08-04 10:52:42 +02:00
wolfbeast f71f544fe8 Make AC option for devtools (client) an enable_bool to align with the default. 2018-08-04 08:03:36 +02:00
Moonchild 37af182f9d Merge pull request #691 from janekptacijarabaci/pm_preferences_applications_always-ask_1
[PALEMOON] Fix "Always ask" for Plugins (in Preferences - Applications)
2018-08-04 06:19:03 +02:00
Moonchild 365b9e76f3 Merge pull request #690 from janekptacijarabaci/netwerk_cors_multiple_1
Fixed misleading console error message for multiple CORS headers
2018-08-04 06:18:06 +02:00
Moonchild a3d3b3daee Merge pull request #692 from SpockFan02/master
Restore Mac bookmark doorhanger styling
2018-08-04 06:17:40 +02:00
SpockMan02 d129fb67ba Restore Mac bookmark doorhanger styling 2018-08-03 17:36:03 -07:00
wolfbeast a74d12cd74 Link to developer site from readme. 2018-08-03 13:59:37 +02:00
Matt A. Tobin 403a0c7506 Fix theme/os mismatch with full screen/private browsing caption buttons on Macintosh 2018-08-01 23:18:41 -04:00
Moonchild b81956c5ed Merge pull request #688 from janekptacijarabaci/about-support_WebGL-information_expand_1
Expand about:support WebGL information
2018-08-01 20:45:58 +02:00
trav90 bb73e32719 Update HSTS preload list
Tag mcp-graveyard/UXP#447
2018-08-01 05:42:29 -05:00
wolfbeast 122ff82ec3 Version bump 2018-08-01 09:50:04 +02:00
janekptacijarabaci ff664a769d Bug 1341957 - Add webgl.getSupportedExtensions() to about:support 2018-08-01 09:34:24 +02:00
janekptacijarabaci 0d315d5c02 Bug 1335296 - Expand about:support WebGL information 2018-08-01 08:58:59 +02:00
Moonchild afb56291d9 Merge pull request #685 from trav90/default-pref-updates
Disable battery API by default
2018-08-01 08:01:19 +02:00
wolfbeast 74d35985bf Tune the network stack
This resolves #684
2018-08-01 07:55:40 +02:00
trav90 145ec3e6d6 Disable battery API by default to reduce private data exposure to the web 2018-07-31 21:41:57 -05:00
Moonchild fa479b5740 Merge pull request #681 from JustOff/PR_remove_helpviewer_skin
Remove dead Help Viewer skin mapping from Toolkit
2018-07-31 07:27:11 +02:00
janekptacijarabaci 6b20ea6954 Fixed misleading console error message for multiple CORS headers 2018-07-31 07:02:39 +02:00
wolfbeast cbf6210eb9 Enable d3d9 accelerated layers as a fallback.
If d3d 11 can't be used for whatever reason (limited integrated/mobile chipset, etc.)
we should fall back to d3d9. Mozilla blocked this based on experiences with Intel
GPUs/drawing artefacts, but those drivers are blacklisted already. No reason to
disable this path for everyone.
2018-07-30 07:21:04 +02:00
janekptacijarabaci 3c8102f1b0 [PALEMOON] Bug 1135348 - Fix about:downloads by adding missing XPCOMUtils imports 2018-07-29 13:20:49 +02:00
janekptacijarabaci 077b85f547 [PALEMOON] Bug 1129896 - Part 2 of 2 - Convert the shared front-end code to a JavaScript code module 2018-07-29 13:12:21 +02:00
JustOff cfa397d1af Remove dead Help Viewer skin mapping from Toolkit 2018-07-29 14:02:20 +03:00
janekptacijarabaci 1e0dd1b85e [PALEMOON] Bug 1129896 - Part 1 of 2 - Keep cached metadata for history downloads indefinitely 2018-07-29 12:58:23 +02:00
janekptacijarabaci 2d8045ce5f [PALEMOON] Bug 1195279 - Fix typo in allDownloadsViewOverlay.js following landing of bug 1127867 2018-07-29 12:42:15 +02:00
janekptacijarabaci 957fa31b31 [PALEMOON] Bug 1127867 - Use the new back-end property to get the size of downloads asynchronously 2018-07-29 12:41:33 +02:00
janekptacijarabaci 721b82faae Fix typos 2018-07-29 12:29:40 +02:00
janekptacijarabaci 03f9863d2a [PALEMOON] Bug 1117141 - Part 2 of 2 - Refactor notifications and remove the DownloadsDataItem object 2018-07-29 11:41:22 +02:00
janekptacijarabaci fa7ceebcd4 [PALEMOON] Bug 1117141 - Part 1 of 2 - Bypass all the DownloadsDataItem properties 2018-07-29 11:13:36 +02:00
janekptacijarabaci 3a34c64b86 [PALEMOON] Bug 1117139 - Move code controlling the "download.xml" binding to a common place (downloadsViewCommon.js) 2018-07-29 11:02:21 +02:00
janekptacijarabaci e6cacea8d5 [PALEMOON] Bug 1117139 - Move code controlling the "download.xml" binding to a common place 2018-07-29 10:27:51 +02:00
janekptacijarabaci 7c9e34a505 [PALEMOON] Bug 1115379 - Streamline DownloadsViewItemController construction and remove now unneeded identifiers 2018-07-29 09:59:35 +02:00
janekptacijarabaci c037e3cb0a [PALEMOON] Bug 1116176 - Create DownloadsHistoryDataItem and HistoryDownload objects 2018-07-29 09:32:40 +02:00
janekptacijarabaci 3e9ef93ed7 [PALEMOON] Bug 1115983 - Keep only minimal state information in the DataItem 2018-07-29 08:40:06 +02:00
janekptacijarabaci cb2be769fc [PALEMOON] Bug 1115421 - Simplify download annotations handling in the Library 2018-07-29 07:49:10 +02:00
janekptacijarabaci 68023e3d90 [PALEMOON] Bug 1120429 - Remove unused code handling nodeAnnotationChanged 2018-07-29 07:40:06 +02:00
janekptacijarabaci 2319907288 [PALEMOON] Bug 1115972 - Don't fall back to the Places icon for downloads without the target file name annotation 2018-07-29 07:33:26 +02:00
janekptacijarabaci 79be2d958c [PALEMOON] Bug 1115971 - Don't fall back to the Places title for downloads without the target file name annotation 2018-07-29 07:31:34 +02:00
janekptacijarabaci 2a20800b32 [PALEMOON] Bug 1115369 - Use notifications instead of getViewItem for DownloadsView 2018-07-29 07:23:54 +02:00
wolfbeast 4546ece2c3 Remove dead WebApps code. 2018-07-28 16:14:58 +02:00
Moonchild 2ddfa1789b Merge pull request #680 from janekptacijarabaci/pm_principal_origin-triggering_1
Port across "originPrincipal" and "triggeringPrincipal"
2018-07-28 13:19:35 +02:00
janekptacijarabaci 1344224606 [PALEMOON] [frontend vs backend] Implemented "originPrincipal" and "triggeringPrincipal"
Issue mcp-graveyard/UXP#679
Follow up #311
2018-07-28 10:06:53 +02:00
Moonchild f4e69d3699 Merge pull request #678 from trav90/media-work
[EME] Add support for sbgp and sgpd boxes
2018-07-27 15:12:09 +02:00
wolfbeast 8c86ffd796 Merge branch 'thumbnailplaceholder' 2018-07-27 15:09:03 +02:00
wolfbeast 656650b7ef Convert trinary to more explicit statement. 2018-07-26 23:14:11 +02:00
wolfbeast 594a94afa7 Update zlib to 1.2.11
This resolves #676
2018-07-26 21:58:58 +02:00
wolfbeast 25d7e61a33 Fix #include and potentially undefined Capture.options object. 2018-07-26 21:45:34 +02:00
wolfbeast a567cd70bf Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-07-26 17:59:09 +02:00
wolfbeast 549c9ca64f Bypass transparency optimization with HC themes.
Don't use transparency optimization for theme items in Windows 8
or later with a high contrast theme in use.

See MoonchildProductions/Pale-Moon#1591
2018-07-26 17:58:48 +02:00
Moonchild 4b4af469ee Merge pull request #677 from kn-yami/issue667
remove "learnMoreContainer" leftovers
2018-07-26 17:51:08 +02:00
yami bdcd6e15cd remove "learnMoreContainer" leftovers (part 2) 2018-07-26 13:28:33 +02:00
trav90 1beeef7b54 [EME] Add error handling in MoofParser for sbgp and sgpd boxes 2018-07-25 22:56:45 -05:00
trav90 00703f6105 [EME] Add support for sbgp and sgpd boxes occuring in the sampletable 2018-07-25 22:39:12 -05:00
trav90 3a0520bb1c [EME] Add support for sbgp and sgpd boxes in the traf box 2018-07-25 22:37:39 -05:00
janekptacijarabaci 2e1a41b88f [PALEMOON] Bug 863773 - Changes the way plugin handlers are loaded at the preferences applications pane. Uses enabledPlugin attribute from each navigator.mimeTypes to find the actual plugin used to handle the mime type 2018-07-26 04:31:11 +02:00
wolfbeast 78a8bf79d8 Set up new blocklist infra URLs 2018-07-25 17:15:28 +02:00
wolfbeast 5619876cf9 Set up new blocklist infra URLs 2018-07-25 17:15:04 +02:00
janekptacijarabaci 67cda245f4 [PALEMOON] Bug 1034043 - Fix remaining use of "awlaysAsk" attribute in applications pref pane 2018-07-25 15:29:37 +02:00
janekptacijarabaci b625dc24f7 [PALEMOON] Bug 480242 - "Always ask" doesn't work for Plugins 2018-07-25 15:28:56 +02:00
janekptacijarabaci 61c27018be [PALEMOON] Bug 757726 - Populate Preferences' Applications list using PluginHost 2018-07-25 15:26:02 +02:00
wolfbeast 21152614fa Use a fixed thumbnail placeholder for blank thumbs (failed to capture). 2018-07-25 13:45:48 +02:00
wolfbeast c076955abd Use try/catch in PageThumbs writeData to deal with null data from caller.
Quick fix for #670
2018-07-25 12:34:50 +02:00
Moonchild 177f4bf786 Merge pull request #674 from janekptacijarabaci/toolkit_startup_instance-with-profile_1
about:profiles - fix "Launch profile in new browser" (added "-no-remote" for Windows)
2018-07-25 11:41:05 +02:00
Moonchild 0e9ea2d5fb Merge pull request #672 from alaviss/newmoon-desktop
palemoon/unofficial: provides .desktop file
2018-07-25 08:56:45 +02:00
janekptacijarabaci e8dd411eb6 about:profiles - fix "Launch profile in new browser" (added "-no-remote" for Windows) 2018-07-25 07:27:18 +02:00
Leorize dd79d9456a palemoon/unofficial: provides .desktop file 2018-07-25 09:14:49 +07:00
wolfbeast 0eefa384a4 ANGLE: Initialize uniform blocks before detaching shaders
This resolves #668
2018-07-24 19:48:25 +02:00
wolfbeast b67b052aa8 Cater Pale Moon's about box to unofficial branding. 2018-07-24 16:41:07 +02:00
wolfbeast 93faf4b2ce Update AUTHORS 2018-07-24 16:40:12 +02:00
Moonchild 6cd37e4a59 Merge pull request #666 from kn-yami/issue605
replace "certErrorCodePrefix2" with "certErrorCodePrefix"
2018-07-23 17:18:33 +02:00
yami 16c1782d7b remove "learnMoreContainer" leftovers 2018-07-22 22:07:40 +02:00
Moonchild 386646353e Merge pull request #665 from trav90/media-work
Add some error handling when parsing MP4 files
2018-07-22 17:49:14 +02:00
yami 3ca14509dd remove dead code 2018-07-22 15:46:32 +02:00
yami bbb732d00b replace "certErrorCodePrefix2" with "certErrorCodePrefix" 2018-07-22 15:29:06 +02:00
wolfbeast 9cf703acd8 Allow AsyncDrawing for plugins in all versions. 2018-07-22 10:53:21 +02:00
wolfbeast 671a69ddcf Remove incorrect debug assertion.
solves #631, solves #664
2018-07-22 08:24:16 +02:00
trav90 05ca98ed7c Rework MoofParser to return an error when the underlying BufferReader returns an error. 2018-07-21 19:57:42 -05:00
trav90 19f1121209 Copy ByteReader to BufferReader and add some error handling 2018-07-21 19:55:18 -05:00
wolfbeast 6e5ffbd6d9 Fix position and size of Permissions Manager main content area.
This resolves #660
2018-07-21 12:48:39 +02:00
Moonchild b36558abdb Merge pull request #662 from janekptacijarabaci/pm_places_controller_clean-up_2
[PALEMOON] Places - remove unnecessary line from controller.js
2018-07-21 12:47:56 +02:00
wolfbeast 62e9a7c0d2 Fix position and size of Permissions Manager main content area.
This resolves #660
2018-07-21 12:42:04 +02:00
janekptacijarabaci bd6def35a4 [PALEMOON] Places - remove unnecessary line from controller.js 2018-07-21 11:15:56 +02:00
janekptacijarabaci 91d9b7ecd3 [PALEMOON] Places - remove unused @param from controller.js 2018-07-21 11:13:30 +02:00
Moonchild a4568261f1 Merge pull request #656 from JustOff/PR_pdf.js_locale
[PALEMOON] Remove localization files for pdf.js
2018-07-21 08:56:29 +02:00
trav90 5ff9d0f459 Warn instead of assert if SPS value is incorrect 2018-07-20 22:41:34 -05:00
JustOff 627263e17f [PALEMOON] Remove localization files for pdf.js 2018-07-20 23:36:24 +03:00
Moonchild 1715886176 Merge pull request #653 from JustOff/PR_safebrowsing_leftovers
[PALEMOON] Remove misc leftovers of Google Safebrowsing
2018-07-20 20:00:12 +02:00
Moonchild 9689f6ca7e Merge pull request #655 from trav90/updater-enable
[PALEMOON] Enable update prefs in Official branding for Linux
2018-07-20 19:58:25 +02:00
trav90 2ea90b05b2 [PALEMOON] Enable update prefs in Official branding for Linux 2018-07-20 12:40:17 -05:00
JustOff 9883fea71b [PALEMOON] Remove misc leftovers of Google Safebrowsing 2018-07-20 17:49:48 +03:00
wolfbeast 291e5a2b74 Version bump 2018-07-20 15:37:22 +02:00
Moonchild a9edbad390 Merge pull request #652 from janekptacijarabaci/dom_document_domain_null_1
Make document.domain non-nullable
2018-07-20 11:13:54 +02:00
Moonchild 4655efedfa Merge pull request #651 from janekptacijarabaci/dom_DataTransfer_constructor_1
Dom data transfer constructor
2018-07-20 11:10:53 +02:00
Moonchild 622beeef55 Merge pull request #650 from janekptacijarabaci/css_layout_flex-grid_1
Align Css layout flex grid with latest spec
2018-07-20 11:06:08 +02:00
janekptacijarabaci 7114d1e81c Bug 958714 Remove obsolete assertion & comment
+ Used "mFrame->GetType()" instead of "mFrame->Type()"
2018-07-20 09:15:48 +02:00
janekptacijarabaci eaf529510b Bug 958714 Simplify percent-margin/padding resolution code to pass around a single length as the percent basis 2018-07-20 09:13:56 +02:00
janekptacijarabaci 098129c293 Bug 958714 Remove special case for flex & grid items' percent block-axis margin/padding resolution, to align with other browsers 2018-07-20 09:09:36 +02:00
janekptacijarabaci ff3c3121ed Bug 1434380: Rewrite parts of reftest reference case grid-auto-min-sizing-definite-001-ref.html to be easier to understand & adjust 2018-07-20 09:01:58 +02:00
janekptacijarabaci 8ac1e7b63a Bug 1351193 - Update tests 2018-07-20 07:48:10 +02:00
janekptacijarabaci 4cec813c16 Bug 1351193 - Added new DataTransfer constructor 2018-07-20 07:46:50 +02:00
janekptacijarabaci aa61ec2f7f Bug 819475 - Make document.domain non-nullable 2018-07-20 07:45:05 +02:00
Moonchild 48d5a165f4 Merge pull request #646 from JustOff/PR_locale_updates3
Misc en-US locale updates and fixes
2018-07-20 04:58:07 +02:00
JustOff b1e063cfd7 Fix a typo in aboutRights.dtd 2018-07-19 22:46:59 +03:00
JustOff ec1f12d6c1 Remove unused strings left from the migrator 2018-07-19 22:45:45 +03:00
Moonchild cfeda8cef0 Merge pull request #645 from trav90/media-work
Ignore user data track
2018-07-19 10:24:21 +02:00
trav90 e28716bba4 Ignore user data track
That's the 'udta' box. They serve no purpose as far as we're concerned and stagefright doesn't handle it very well (as in, prevents playback).

Resolves #616.
2018-07-18 17:55:38 -05:00
wolfbeast 2a5410ed76 Clean up app strings and legacy download manager after e92808f0eb 2018-07-18 07:14:08 +02:00
Moonchild f62d6768b6 Merge pull request #644 from trav90/HSTS-preload-list
Update HSTS preload list
2018-07-17 16:08:46 +02:00
trav90 a0e1376756 Update HSTS preload list
Tag mcp-graveyard/UXP#447
2018-07-17 05:53:04 -05:00
Moonchild 36bd3b7e3d Merge pull request #643 from janekptacijarabaci/pm_permissions_plugins_clickToPlay_vulnerable_1
Fix permissions plugins click to play UI
2018-07-17 12:18:37 +02:00
Moonchild b13e477dad Merge pull request #642 from janekptacijarabaci/dom_element_toggleAttribute_1
Add support for Element.toggleAttribute()
2018-07-17 12:14:56 +02:00
janekptacijarabaci 8058cc75f2 [PALEMOON] Fix Permissions Manager (plugins.click_to_play / vulnerable plugins) 2018-07-17 11:34:02 +02:00
janekptacijarabaci d45c6badaf [PALEMOON] Fix Page Info - permissions (plugins.click_to_play / vulnerable plugins) 2018-07-17 11:32:58 +02:00
wolfbeast f857a06ebe Don't disable lightweight themes in PB mode.
This resolves #640
2018-07-17 10:24:21 +02:00
wolfbeast 2649ae5b38 Use expected dialog button ordering in Launch Application dialog.
This resolves #639.
2018-07-16 08:16:07 +02:00
wolfbeast 9d2d5e2cd0 Don't try to fetch FxA migration sentinel from non-supporting server.
This resolves #522.
2018-07-15 07:05:26 +02:00
wolfbeast 24993412bc Update redundant comment 2018-07-14 07:47:31 +02:00
wolfbeast 725a268275 Add pref to control CanOptimizeToImageLayer for large downscale factors.
This resolves #626
2018-07-14 07:45:06 +02:00
wolfbeast dc85ca587a Switch to Lanczos scaling from Hamming to get acceptable fast downscaling.
In visual tests we see that Hamming-1 is not as good as
Lanczos-2, however it is about 40% faster, and Lanczos-2 itself is
about 30% faster than Lanczos-3. The use of Hamming-1 has been deemed
an unacceptable trade-off between quality and speed due to the limited
pixel space it operates in, so we pick Lanczos-2 here.
On modern hardware, Lanczos-2 doesn't have any noticeable impact
in normal use.
2018-07-14 07:43:25 +02:00
Matt A. Tobin 14df8dad0b Issue mcp-graveyard/UXP#634 - aAddon.markAsSeen is not a function newaddon.js 2018-07-13 14:03:34 -04:00
Moonchild 4467c03c5b Update requirements.txt 2018-07-13 18:46:32 +02:00
Moonchild 8c0dde716d Merge pull request #628 from janekptacijarabaci/build_bustage_debug_1
Fix Build Bustage - with "--enable-debug"
2018-07-13 15:17:10 +02:00
Moonchild eec6ddbdfe Merge pull request #633 from FranklinDM/issue-336-fix
Fix issue #336: Full-screen does not initialized properly when called from an empty new tab
2018-07-13 15:16:21 +02:00
wolfbeast 2a98aa722c Update mozharness reqs. 2018-07-13 09:06:01 +02:00
Franklin DM fb7412aff8 Issue mcp-graveyard/UXP#336: Mouse position tracker not set even if chrome is still visible on fullscreen 2018-07-13 14:21:38 +08:00
Franklin DM 0b8fe93045 Issue mcp-graveyard/UXP#336: Mouse position tracker not set even if chrome is still visible on fullscreen 2018-07-13 14:20:46 +08:00
Moonchild 0d5d62a1fe Merge pull request #632 from janekptacijarabaci/images_tab-closing_never-ending_1
Fix closing a tab when there are many images on the page
2018-07-13 06:25:14 +02:00
wolfbeast 05aebbd535 Remove recover instruction results after bailouts. 2018-07-13 06:11:55 +02:00
janekptacijarabaci fe8998035a Bug 1346501. Remove mFrameCreateCalled from nsImageLoadingContent, it is now unused 2018-07-12 18:57:25 +02:00
janekptacijarabaci 44db0bfcdc Bug 1346501. Don't mark every image as visible when a frame is created for it 2018-07-12 18:56:16 +02:00
janekptacijarabaci 4e71c09601 Fix Build Bustage - with "--enable-debug" 2018-07-12 12:34:59 +02:00
wolfbeast 73f21172e7 Merge branch 'ANGLE-rollback'
This resolves #624

Note: Cherry-picked some fixes on top of the ANGLE version that we want to keep.
2018-07-11 23:31:02 +02:00
wolfbeast 332d05a7c3 Ad workaround for broken B5G6R5 format in Intel driver. 2018-07-11 23:20:45 +02:00
wolfbeast ee9e92a969 Fix incorrect namespace use. 2018-07-11 23:03:23 +02:00
wolfbeast 716c2536ab Switch from ShCompileOptions to int. 2018-07-11 23:02:26 +02:00
wolfbeast d809860689 Restore emulated functions for OS X 10.8/10.7 2018-07-11 22:58:54 +02:00
wolfbeast f066f861e7 Re-apply genericDraw* fixes 2018-07-11 18:25:11 +02:00
wolfbeast 20b9bccd75 Roll back to ANGLE/2845 2018-07-11 18:11:13 +02:00
Moonchild f7ea59e3d6 Merge pull request #623 from janekptacijarabaci/dom_event_srcElement_1
Add event.srcElement (the alias for event.target)
2018-07-11 12:51:43 +02:00
Moonchild 2c90043efd Merge pull request #620 from SpockMan02/patch-5
Fix typo
2018-07-11 12:51:27 +02:00
Moonchild 3d3a5de71d Merge pull request #619 from SpockMan02/issue-586
Pale Moon: Fix positioning of caption buttons in application-drawn ti…
2018-07-11 12:50:36 +02:00
janekptacijarabaci cbd1d27319 Add event.srcElement (the alias for event.target)
Issue mcp-graveyard/UXP#622
2018-07-11 07:54:50 +02:00
wolfbeast 50b52be5ae Make nsAtomicFileOutputStream::DoOpen() fail if the file is read-only.
This means we don't leave behind prefs-<n>.js files when prefs.js is read-only.
2018-07-10 18:16:22 +02:00
wolfbeast 53aea942a5 Bug 1330900 - Implement <script nomodule>
This patch implements:
- noModule getter/setter for HTMLScriptElement
- the nomodule attribute for HTMLScriptElement
- the logic in nsScriptLoader that denies the loading of a nomodule script
- tests

Tag mcp-graveyard/UXP#618
2018-07-10 13:28:03 +02:00
wolfbeast 96ada838ac Bug 1340865 - New tests. (not hooked up) 2018-07-10 11:22:25 +02:00
wolfbeast fca1d20f88 Bug 1340865 - Handle non-parser-created module scripts. 2018-07-10 11:18:15 +02:00
SpockFan02 1222137095 Fix typo 2018-07-10 06:59:04 +00:00
janekptacijarabaci 586b8eb29d DOM - Element - add support for Element.toggleAttribute() 2018-07-10 07:19:28 +02:00
Moonchild 686cd8ac04 Merge pull request #613 from SpockMan02/mac-privatebrowsing-mask
Pale Moon: Restore osx private browsing indicator
2018-07-09 20:06:40 +02:00
Moonchild 36de152ac5 Merge pull request #615 from janekptacijarabaci/devtools_console_new-lines_1
DevTools - display newlines in some console messages
2018-07-09 20:06:22 +02:00
janekptacijarabaci c5d3d750a8 DevTools - display newlines in some console messages
Issue mcp-graveyard/UXP#614
2018-07-09 18:20:19 +02:00
wolfbeast e9b828114a Merge branch 'master' into js-modules 2018-07-09 08:00:49 +02:00
SpockMan02 4208dff19b Pale Moon: Fix positioning of caption buttons in application-drawn titlebar 2018-07-08 19:11:17 -07:00
SpockMan02 58a12a7802 Pale Moon: Restore osx private browsing indicator 2018-07-08 18:15:30 -07:00
Moonchild 31e1aa4fc7 Merge pull request #612 from janekptacijarabaci/firefox_name_1
Rename some remaining strings "firefox[-branding].js" to "basilisk[-branding].js" (or [application name].js)
2018-07-08 22:14:59 +02:00
Moonchild 4cb66d80c1 Merge pull request #611 from janekptacijarabaci/firefox_name_2
[BASILISK] "about:privatebrowsing" - use "Basilisk" instead of "Firefox"
2018-07-08 20:54:58 +02:00
wolfbeast 900bfd6e10 Restore pref -- enhanced tiles aren't dead yet.
(without this, the newtab page is broken)
2018-07-08 15:44:29 +02:00
janekptacijarabaci 19c44f7f71 [BASILISK] "about:privatebrowsing" - use "Basilisk" instead of "Firefox"
Issue mcp-graveyard/UXP#610
2018-07-08 09:54:50 +02:00
janekptacijarabaci cf7d6d5826 Rename some remaining strings "firefox[-branding].js" to "basilisk[-branding.js]" (or [application].js)
Ad:
https://github.com/MoonchildProductions/UXP/commit/30cc819b77891ec4c097156670ecb5ce10b5d9c7
2018-07-08 09:02:03 +02:00
wolfbeast 2ad260f4a6 Version bump to beta 3 2018-07-08 08:52:19 +02:00
wolfbeast 112cee74c4 Reconfigure Pale Moon
Also fold a number of prefs back into the app prefs from shared branding prefs.
This resolves #555.
2018-07-08 08:25:17 +02:00
Moonchild 98165d7638 Merge pull request #609 from janekptacijarabaci/devtools_locales_memory_typos-in-comments_1
Fix typos in comments - memory.properties
2018-07-07 19:54:35 +02:00
janekptacijarabaci 52270d21e2 Fix typos in comments - memory.properties 2018-07-07 19:22:57 +02:00
Moonchild 2d1d4e4b3c Merge pull request #606 from Ascrod/master
Updates to Reader and Narrator components.
2018-07-07 15:18:51 +02:00
Ascrod 86ec44e945 Revert "Bug 1456652 - SameSite cookie Reader view patch bypass"
This reverts commit 6f64e487f3.
2018-07-07 07:52:35 -04:00
Moonchild 5daa30cea4 Merge pull request #608 from janekptacijarabaci/_testBranch_js_modules_basic
Merge branch js modules basic
2018-07-07 11:55:43 +02:00
wolfbeast ce7098c8ef Make the page visibility API pref-controlled.
This resolves #607.
2018-07-07 11:53:04 +02:00
wolfbeast 631ee1e24d Make the page visibility API pref-controlled.
This resolves #607.
2018-07-07 11:24:38 +02:00
janekptacijarabaci 440b3fd90d Merge branch 'master' of https://github.com/MoonchildProductions/UXP into _testBranch_test_1 2018-07-06 15:53:52 +02:00
wolfbeast b2f0cb5ad9 Update about:rights links.
This resolves #603.
2018-07-06 10:31:26 +02:00
wolfbeast 93a008aeb4 Fix redirector paths
This resolves #602.
2018-07-06 10:22:24 +02:00
Ascrod 4722b4cb88 Bug 1456652 - SameSite cookie Reader view patch bypass 2018-07-05 21:00:31 -04:00
Moonchild f7ea0b7d60 Merge pull request #599 from janekptacijarabaci/dom_fetch_request_navigate_1
Added support for Request constructor with "mode: navigate"
2018-07-05 22:23:02 +02:00
Moonchild b1e3ae6238 Merge pull request #597 from janekptacijarabaci/dom_workers_terminate_1
Sync event loops in workers should be created only if compatible with the worker shutdown status
2018-07-05 22:22:47 +02:00
Moonchild 2f9df5f5a9 Merge pull request #601 from janekptacijarabaci/security_blocking_data_1_1
nsIContentPolicy::TYPE_DOCUMENT - Use "aLoadInfo->ContextForTopLevelLoad()" instead of "aLoadInfo->LoadingNode()"
2018-07-05 22:22:25 +02:00
Matt A. Tobin ae5bf99054 [AllAM] [STRING CHANGES] Appearance -> Themes 2018-07-05 14:45:17 -04:00
janekptacijarabaci 888beafec1 nsIContentPolicy::TYPE_DOCUMENT - Use "aLoadInfo->ContextForTopLevelLoad()" instead of "aLoadInfo->LoadingNode()"
Issue mcp-graveyard/UXP#600
2018-07-05 19:40:43 +02:00
janekptacijarabaci e87d54ad8a Bug 1331564 - XHR SyncTeardownRunnable must run also when the worker is in killing state 2018-07-05 13:09:18 +02:00
janekptacijarabaci 2156aedac8 Bug 1298823 - Fix Request constructor - with "mode: navigate" 2018-07-05 13:08:32 +02:00
janekptacijarabaci 7831532bfc Bug 604026 - Sync event loops in workers should be created only if compatible with the worker shutdown status 2018-07-05 13:04:44 +02:00
Ascrod 7094d9b284 Remove telemetry from NarrateControls.jsm. 2018-07-04 21:25:41 -04:00
Ascrod 466cfee959 Fix local link handling in Reader Mode. 2018-07-04 21:25:02 -04:00
Moonchild 5acf9e28bd Merge pull request #590 from janekptacijarabaci/pm_devtools_menu_unused-items_1
[PALEMOON] DevTools - remove unused items from browser.dtd
2018-07-05 00:14:45 +02:00
Moonchild 75b67ce6ff Merge pull request #594 from Lootyhoof/issue-593
[Pale Moon] Adjust popup ID for password manager
2018-07-05 00:14:28 +02:00
wolfbeast 5481d8258e On failure, save a dummy file from the background page thumb capture module.
If a background page thumbnail capture fails (e.g. due to too heavy scripting), we should
write -something- to the thumbnail cache, because otherwise it will try again and again,
which is problematic for bad trap pages, that even if the user has left the page never
to return again, the thumbnail service may still try to capture, and fail.

This resolves the only problem for us in #592.
2018-07-04 23:58:35 +02:00
Lootyhoof b4af0ca489 Adjust popup ID for password manager 2018-07-04 22:47:25 +01:00
janekptacijarabaci a350e77865 [PALEMOON] DevTools - remove unused items from browser.dtd 2018-07-04 06:58:03 +02:00
Moonchild 49b8bac467 Merge pull request #587 from janekptacijarabaci/aboutSessionRestore_error_3
[PALEMOON] about:sessionrestore - fix an error "treeView.treeBox is null" in aboutSessionRestore.js
2018-07-03 21:36:20 +02:00
Moonchild 0f93364610 Merge pull request #588 from SpockMan02/patch-4
Don't hide caption buttons with a lw theme, either
2018-07-03 21:35:45 +02:00
SpockFan02 ae1d5d5b57 Don't hide caption buttons with a lw theme, either
Follow-up to #585. I removed this from the PR, but it's actually needed, otherwise the caption buttons are hidden with a lightweight theme!
2018-07-03 18:20:07 +00:00
janekptacijarabaci 15e526781d [PALEMOON] about:sessionrestore - fix an error "treeView.treeBox is null" in aboutSessionRestore.js
Issue mcp-graveyard/UXP#350
2018-07-03 20:18:44 +02:00
Moonchild 6e4ed01fe1 Merge pull request #585 from SpockMan02/patch-4
Mac: Do not hide caption buttons or titlebar
2018-07-03 19:13:37 +02:00
SpockFan02 9701b26997 Mac: Do not hide caption buttons or titlebar
on private browsing windows or with a lightweight theme installed.

This resolves #491. This resolves #584.
Tag https://github.com/MoonchildProductions/Pale-Moon/issues/623
2018-07-03 17:06:41 +00:00
Moonchild 7b3d5c591c Merge pull request #583 from janekptacijarabaci/_testBranch_pageInfo_permissions_indexedDB
Remove the UI for indexedDB in Page Info and Permissions Manager
2018-07-03 18:34:45 +02:00
wolfbeast 169ab57310 [PALEMOON] On GTK, default to showing the menubar only when alt is pressed
This restores parity with v27
2018-07-03 11:57:05 +02:00
wolfbeast 59d4ba0275 [TychoAM] Make resilient to missing pref lightweightThemes.animation.enabled 2018-07-03 11:08:58 +02:00
wolfbeast 35aa5708d6 Remove pref confusion around cache v2
- Renames browser.cache.use_new_backend to browser.cache.backend
- Sets browser.cache.backend to 1 (use cache v2)
- Removes browser.cache.use_new_backend_temp
2018-07-03 04:40:24 +02:00
wolfbeast 6ea0c50f91 Fix cache v1 compression crash in nsCompressOutputStreamWrapper::Close() 2018-07-03 04:26:29 +02:00
wolfbeast 54e18f9827 Re-implement prompts.tab_modal.focusSwitch control in toolkit. 2018-07-03 04:16:11 +02:00
wolfbeast 2e8a3afcb8 Rename firefox(-branding).js to basilisk(*).js
Bonus: combats some fingerprinting.
2018-07-02 23:40:33 +02:00
janekptacijarabaci 75fec19ff9 Bug 1334411 - Remove the UI for indexedDB in Page Info and Permissions Manager 2018-07-02 21:20:26 +02:00
wolfbeast fed79b8fb5 Update troubleshooting pref whitelist following 593835e861 2018-07-02 19:08:34 +02:00
wolfbeast a3debe27c8 Prevent suppressing executable warnings using the "don't ask me this again" checkbox.
A hidden preference matching the behavior of "browser.download.manager.alertOnEXEOpen" is kept, but is renamed in order to recover cases where the checkbox was used accidentally.
While there, simplify the `confirmLaunchExecutable` function by converting from promises to async function.
Since Basilisk moved this prompting to toolkit, we also clean up some unused duplicate strings from application/basilisk while we're there.

This resolves #581
2018-07-02 19:05:56 +02:00
wolfbeast 7c92dc31f2 Merge branch 'ported-upstream' 2018-07-02 17:51:09 +02:00
wolfbeast 57c070bf4d [PALEMOON] Remove duplicate MOZ_PROFILE_MIGRATOR entry in confvars. 2018-07-02 10:40:35 +02:00
wolfbeast d3ba92aa30 Disable Intersection Observers by default.
This draft implementation does not play nice with several large sites (e.g. Facebook).
2018-07-02 10:31:11 +02:00
wolfbeast b94b0fe775 Issue mcp-graveyard/UXP#578: Applications cannot start without /proc (chroot).
UXP uses the current stack frame address and the stack size
as a sort of heuristic for various things in the JavaScript
engine.  The js::GetNativeStackBaseImpl() function is used to
get the base stack address (i.e. the address from which the stack
grows, so this can be either the first or last memory address of
the stack memory space depending on the CPU architecture).

On Linux, this function is implemented using the pthreads APIs.
For non-main threads, the queried thread info is stored in
memory.  The main thread does not have this information on hand,
so it gets the stack memory range via the /proc/self/maps file
(see glibc's pthread_get_attr_np.c).

Fortunately (per discussions with the firefox devs in #jsapi)
the base address only needs to be approximate.  In reality,
environment variables, args, and other things are stored in
stack space between the end/beginning of the mapped stack
memory and the 'top' of the stack space used by stack frames.

When using glibc, we can get the top of this usable stack from
__libc_stack_end, which is a void* set by glibc during program
initialization, avoiding the need to access /proc.
Non-main threads still get their stack-base through the usual
pthreads APIs.
Other libc implementations like musl will fall back to the
standard UNIX-like implementation which calls pthread's
pthread_attr_getstack() also from the main thread, which
may imply /proc access and not work in restricted
environments.
2018-07-02 09:46:06 +02:00
Moonchild 32d8fe077c Merge pull request #579 from JustOff/PR_pmkit_dyn_buttons
[PMkit] Keep the buttons position when they are placed right before space, flexible space or separator
2018-07-01 23:40:32 +02:00
Moonchild cddc7f9a6c Merge pull request #580 from janekptacijarabaci/devtools_locales_performance_typos-in-comments_1
Fix typo in a comment - performance.dtd
2018-07-01 23:39:33 +02:00
janekptacijarabaci 7d2b74fc2f Fix typo in a comment - performance.dtd 2018-07-01 20:13:38 +02:00
JustOff b007fdce35 [PMkit] Keep the buttons position when they are placed right before space, flexible space or separator 2018-07-01 18:33:47 +03:00
wolfbeast c87083af1c Don't leak newTemplate in pk11_copyAttributes()
Cherry-pick of NSS fix from 3.37
2018-07-01 16:31:31 +02:00
wolfbeast ad4ec76ae9 Remove errant paste 2018-07-01 16:16:55 +02:00
wolfbeast 41b6f59daf Clamp resolution in PerformanceNavigationTiming. 2018-07-01 16:16:26 +02:00
wolfbeast 27e0cf2a1a Rework gfxFontUtils::MapCharToGlyphFormat4 to be more robust. DiD 2018-07-01 14:33:10 +02:00
wolfbeast a94d6e39eb WebRTC: Add DeleteStreams to media conduits. 2018-07-01 12:57:51 +02:00
Pale Moon a24b722a53 Cherry-pick user sctp rev SVN8789a6da02e2c7c03522bc6f275b302f6ef977fe 2018-06-30 19:50:21 +02:00
wolfbeast 392db2aa7e Confirm launch of executables other than .exe on Windows. 2018-06-30 19:43:44 +02:00
Nicolas Silva bc0e646a8b Bug 1464039 - Only reject qcms transform with invalid grid size if the transform function uses the grid size. r=Bas a=jcristau 2018-06-30 19:04:10 +02:00
Kyle Machulis ecd120e2bd Bug 1436241 - Check redirect status code before forwarding to NPAPI. r=jimm, r=pauljt, a=jcristau
NPAPI may handle a 307 redirect across different origins, while they
should only happen on same origin requests. Have the browser check
this before forwarding to NPAPI.
2018-06-30 18:53:05 +02:00
Paolo Amadini 33ce3429e0 Bug 1468217 - Add "SettingContent-ms" to the list of executable file extensions. r=Gijs, a=RyanVM 2018-06-30 18:49:19 +02:00
Nicolas Silva a07b2ba0d3 Bug 1464039 - Reject some invalid transforms in qcms. r=mwoodrow, a=RyanVM 2018-06-30 18:47:03 +02:00
wolfbeast 3805a099e9 Bug 1413868. 2018-06-30 18:34:19 +02:00
Moonchild 0c134b4eec Merge pull request #572 from adeshkp/patch-8
Quick fix to binary file path for Mac packaging
2018-06-30 13:28:56 +02:00
adeshkp 748daa3591 Quick fix to binay file path for Mac packaging 2018-06-30 10:45:13 +00:00
Moonchild ebcda739c8 Merge pull request #567 from SpockMan02/moz-mac-lion-theme
Undo Mozilla Bug 1302937; Reinstate -moz-mac-lion-theme media query
2018-06-30 07:24:17 +02:00
Moonchild 98e5f69556 Merge pull request #570 from trav90/code-cleanup
Remove unnecessary GCC version checks
2018-06-30 07:23:50 +02:00
Moonchild 482fb45ec0 Merge pull request #569 from Lootyhoof/theme-text
[Pale Moon] Fix a few default theme issues
2018-06-30 07:23:35 +02:00
Moonchild 70ffe369a8 Merge pull request #566 from JustOff/PR_libwebp-1.0.0
Update libwebp to v1.0.0 + known security patches
2018-06-30 06:05:23 +02:00
Lootyhoof f911171d61 Add tabbrowser findbar styling for Linux and OSX 2018-06-30 01:54:26 +01:00
Lootyhoof 3487a997d8 Only invert dropmarker by default on glass 2018-06-30 01:04:49 +01:00
Lootyhoof 683d03dd36 Allow menubar items to inherit toolbar text styling 2018-06-30 01:03:38 +01:00
Lootyhoof d5e2f90d50 Add tabbrowser findbar styling 2018-06-30 00:56:32 +01:00
trav90 7944df70ec Remove unnecessary GCC version checks 2018-06-29 15:33:02 -05:00
JustOff bcc38da0d3 Rename libwebp/MOZCHANGES to libwebp/UXPCHANGES and update it 2018-06-29 21:04:17 +03:00
JustOff 674973d2f3 Apply known security patches (webp:381,383,384) to libwebp-1.0.0 2018-06-29 21:02:12 +03:00
JustOff 232b31568b Add new files to libwebp/dsp/moz.build 2018-06-29 20:59:57 +03:00
JustOff b2d288f1d7 Sync libwebp sources with https://chromium.googlesource.com/webm/libwebp/+/v1.0.0 2018-06-29 20:57:44 +03:00
JustOff 749ffb07e6 Update libwebp/update.sh script for libwebp-1.0.0 2018-06-29 20:55:26 +03:00
wolfbeast 40152bbf10 Bump Pale Moon to beta 2 2018-06-29 19:49:54 +02:00
wolfbeast 4914523114 Revert "Remove unwanted newtab page code"
This reverts commit 277fa0afdc.
2018-06-29 17:41:18 +02:00
wolfbeast 4de08b6842 Restore Pale Moon's standalone image viewing style. 2018-06-29 17:40:32 +02:00
wolfbeast d45f1c8ec6 Remove SSL Error Reporting telemetry 2018-06-29 17:40:01 +02:00
wolfbeast 689a260290 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-06-29 13:23:18 +02:00
wolfbeast 22be980bda Issue mcp-graveyard/UXP#562 Part 2: Remove unnecessary grid calculation code. 2018-06-29 13:22:46 +02:00
Moonchild d35ae29ab7 Merge pull request #564 from janekptacijarabaci/devtools_locales_animationinspector_typos-in-comments_1
Fix typos in comments - animationinspector.properties
2018-06-29 11:24:01 +02:00
janekptacijarabaci 20e151f107 Fix typos in comments - animationinspector.properties 2018-06-29 09:56:12 +02:00
Nils Ohlmeier [:drno] 8e806a5882 Bug 1464063 - Remove sdp_getchoosetok. r=bwc, a=RyanVM
WebRTC
2018-06-29 08:39:41 +02:00
Gabriele Svelto 6db714a56d Remove unused code for managing physical audio devices.
This was only used in B2G/Gonk and can go.
2018-06-29 08:23:41 +02:00
Byron Campen [:bwc] 21f8085331 Bug 1464079 - Bring ICE connection state change callback up to spec. r=jib, a=RyanVM 2018-06-29 08:13:40 +02:00
Byron Campen [:bwc] b8b1fc810b Bug 1464079 - Bring ICE connection state change callback up to spec. r=jib, a=RyanVM
WebRTC
2018-06-29 08:01:58 +02:00
Alex Gaynor 3fed120a93 Bug 1462912 - Fixed BufferList::Extract to handle the case where the call consumes the entirety of the BufferList. r=froydnj, a=RyanVM 2018-06-29 07:59:58 +02:00
Alex Gaynor a024312352 Bug 1456189 - Simplify BufferList::Extract to make the lifetimes clearer. r=froydnj, a=RyanVM 2018-06-29 07:58:16 +02:00
wolfbeast d6a7d1cff8 WebRTC: Nullcheck DataChannel SendPacket calls. 2018-06-29 07:43:21 +02:00
wolfbeast 0dd72cc0e0 Convert the button rect to device coordinates correctly instead of casting CSS coordinates.
This should the correct fix for #559
2018-06-28 23:12:08 +02:00
Matt A. Tobin a5e1d06bf2 Make sure application confvars.sh files are apart of CONFIG_STATUS_DEPS 2018-06-28 16:49:56 -04:00
Matt A. Tobin 5c80b4363c Merge branch 'define-work' 2018-06-28 16:19:27 -04:00
wolfbeast 0765b4a907 Add back the Quickdial show/hide control.
This also slightly tweaks the grid design styling.
Resolves #563
2018-06-28 22:04:10 +02:00
Matt A. Tobin aa55984ea5 Add HYPE_ICEWEASEL where appropriate 2018-06-28 15:50:23 -04:00
Matt A. Tobin b71378e48e Use MOZ_AUSTRALIS to define common shared Australis features 2018-06-28 13:20:53 -04:00
wolfbeast c76c613dc3 Add missing aCurrentBrowser definition in utilityOverlay.js
Follow-up to cadeea97bb
This obsoletes #561.
2018-06-28 17:24:46 +02:00
wolfbeast c94a721a98 Issue mcp-graveyard/UXP#562 Part 1: Transfix the grid 2018-06-28 15:47:44 +02:00
Moonchild 3cffa78231 Merge pull request #556 from JustOff/PR_sanitize_promises
[PALEMOON] Use Promises.jsm instead of promise.js from jetpack in sanitize.js
2018-06-28 15:01:10 +02:00
Moonchild 89ce2a65ea Merge pull request #557 from janekptacijarabaci/toolkit_about-support_error_1
Fix "about:support"s "graphics" section when "webgl.disable-extensions" is true
2018-06-28 15:00:52 +02:00
Moonchild 3a2335214c Merge pull request #558 from JustOff/PR_devtools_locales
[PALEMOON] Include devtools/client when building language packs
2018-06-28 15:00:25 +02:00
JustOff 77e4b51232 [PALEMOON] Include devtools/client/locales conditionally 2018-06-28 11:27:15 +03:00
JustOff 8e5ac102fe [PALEMOON] Include devtools/client when building language packs 2018-06-27 21:57:17 +03:00
janekptacijarabaci a0f46f57d8 Fix "about:support"s "graphics" section when "webgl.disable-extensions" is true 2018-06-27 19:32:26 +02:00
JustOff d6e25ea886 [PALEMOON] Remove no more required extra copy of promise.js 2018-06-27 19:29:23 +03:00
wolfbeast 059dd2baa8 Reorganize some internal pages. 2018-06-27 17:27:40 +02:00
JustOff 48cb6d9d96 [PALEMOON] Use Promises.jsm instead of promise.js from jetpack in sanitize.js 2018-06-27 17:29:02 +03:00
wolfbeast 55833bc767 Enable Intersection Observers in the platform.
This resolves #249.
2018-06-27 16:01:59 +02:00
wolfbeast f55edf5c74 Stabilize and align Intersection Observers
- Fixes several crashes
- Aligns the feature with the W3C WD spec

Tag mcp-graveyard/UXP#249
2018-06-27 16:00:53 +02:00
Moonchild e78fc4fa90 Merge pull request #554 from MoonchildProductions/issue12
Resolve potential null deref crashes in the editor
2018-06-27 14:10:49 +02:00
SpockMan02 b63a45ef64 Undo Mozilla Bug 1302937; Reinstate -moz-mac-lion-theme media query 2018-06-27 03:25:34 -07:00
Moonchild 3b1f6907bb Merge pull request #551 from janekptacijarabaci/toolkit_restart_normally_2
"about:support" - added support for "Restart normally"
2018-06-27 10:25:15 +02:00
Matt A. Tobin 394f9b8967 [WebExAM] Remove E10SAddonsRollout.jsm
The associated preferences will have to remain for the time being because of nsAppRunner.cpp reads them.
2018-06-26 17:34:01 -04:00
Matt A. Tobin bb84f0e8f8 [WebExAM] Remove unused AddonTestUtils.jsm 2018-06-26 17:06:36 -04:00
Matt A. Tobin f45476e907 [AllAM] Preprocess extensions.dtd to exclude WebExAM-only strings 2018-06-26 16:22:58 -04:00
Matt A. Tobin 8142f7030d Cleanup WebExAM test dependencies 2018-06-26 16:21:28 -04:00
Matt A. Tobin 2dd18c5e60 [AllAM] Remove Mozilla Tests 2018-06-26 16:09:08 -04:00
Matt A. Tobin e7c6a3d53f [AllAM] De-duplicate Locales 2018-06-26 15:35:33 -04:00
Matt A. Tobin 96d4828120 [AllAM] De-duplicate blocklist.js, list.js, newaddon.js, and xpinstallConfirm.js 2018-06-26 15:15:09 -04:00
Matt A. Tobin 335d0dff97 [AllAM] De-duplicate amContentHander.js 2018-06-26 15:13:40 -04:00
janekptacijarabaci 708dcc8381 Fix throws an error if "winUtils.supportsHardwareH264Decoding" not available
After "Restart normally" - throws an error:
Troubleshoot data provider failed: graphics
[Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIDOMWindowUtils.supportsHardwareH264Decoding]"  nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)"  location: "JS frame :: resource://gre/modules/Troubleshoot.jsm :: graphics :: line 348"  data: no]  Troubleshoot.jsm:155
TypeError: invalid 'in' operand data  aboutSupport.js:204:1
2018-06-26 21:10:31 +02:00
Matt A. Tobin a9afbe2208 [AllAM] De-duplicate ChromeManifestParser.jsm and DeferedSave.jsm 2018-06-26 14:43:25 -04:00
janekptacijarabaci 8db6546a1a "about:support" - added support for "Restart normally"
https://github.com/MoonchildProductions/Pale-Moon/pull/1093 (partially)
2018-06-26 20:20:43 +02:00
Matt A. Tobin e31bc1cdd5 [AllAM] De-duplicate Content.js 2018-06-26 14:17:23 -04:00
Matt A. Tobin a85b10cc7b Merge branch 'master' into am-work 2018-06-26 14:04:13 -04:00
Matt A. Tobin bf1c8d5ec5 Make the Error Console accessible from about:console and make it presentable in that context 2018-06-26 14:02:33 -04:00
Matt A. Tobin 8007e388cc Revert "Make the Error Console accessible from about:console"
This reverts commit bbbb74e5f0.
2018-06-26 13:56:27 -04:00
Matt A. Tobin 3ad8a8ea18 Revert "Move the Error Console search box to the eval toolbar"
This reverts commit 2cdd998f8d.
2018-06-26 13:55:58 -04:00
Matt A. Tobin d959f9335f [AllAM] De-duplicate AddonLogging.jsm 2018-06-26 13:54:36 -04:00
janekptacijarabaci 6aa81a8fab [BASILISK] Unify strings for "Restart in Safe Mode" (with toolkit - "about:profiles" and "about:support")
https://github.com/MoonchildProductions/Pale-Moon/issues/1563
2018-06-26 19:50:48 +02:00
Matt A. Tobin ca4d0651f4 Move the Error Console search box to the eval toolbar 2018-06-26 13:43:46 -04:00
janekptacijarabaci d2cf8999d2 "about:profiles" and "about:support" - use "Restart in Safe Mode" instead of "Restart with Add-ons Disabled"
https://github.com/MoonchildProductions/Pale-Moon/issues/1563
2018-06-26 19:43:21 +02:00
Matt A. Tobin dbd77fe982 Make the Error Console accessible from about:console 2018-06-26 13:23:24 -04:00
Matt A. Tobin e49f73b205 Merge branch 'am-work' 2018-06-26 12:30:32 -04:00
Matt A. Tobin d452eb4060 [WebExAM] Unify the AddonUpdateChecker 2018-06-26 12:27:43 -04:00
Matt A. Tobin 9ee2c844ef [TychoAM] Make sure console messages from AddonUpdateChecker indicate which parser they originate from 2018-06-26 12:15:55 -04:00
wolfbeast 5fef40d1e2 Issue mcp-graveyard/UXP#12 Part 5: WidgetEvent shouldn't mark event as consumed if it's not cancelable.
Currently, EventListenerManager calls WidgetEvent::PreventDefault() when the status is nsEventStatus_eConsumeNoDefault.
That causes an unexpected state of events.
To solve this, WidgetEvent should do nothing when it's not cancelable but PreventDefault() is called.
2018-06-26 14:07:51 +02:00
wolfbeast 4ab696bd40 Issue mcp-graveyard/UXP#12 Part 4: Don't access mEditorBase directly.
EditorEventListener should grab mEditorBase in a smaller scope wherever possible and shouldn't access it directly while handling an event.
Each event listener method shouldn't access mEditorBase directly when calling its method since it might be changed to another instance.
2018-06-26 14:05:33 +02:00
wolfbeast 1605c4c4d0 Issue mcp-graveyard/UXP#12 Part 3: EditorEventListener should check if it's removed during a call of editor's method.
EditorEventListener doesn't check if mEditorBase is available even after it's removed from the editor.
If it becomes nullptr, i.e., it's detached from editor, it shouldn't continue to handle event.

This patch changes some methods' nsIDOM*Event argument to WidgetEvent since it's simpler.
2018-06-26 13:55:33 +02:00
wolfbeast 603bc15545 Issue mcp-graveyard/UXP#12 Part 2: Stop using nsIDOMEvent in IsAcceptableInputEvent. 2018-06-26 13:53:12 +02:00
wolfbeast a0acef0753 Issue mcp-graveyard/UXP#12 Part 1: Stop using nsIDOMEvent in UpdateIMEComposition. 2018-06-26 13:26:07 +02:00
Matt A. Tobin 63e26833bc Merge branch 'am-work' 2018-06-25 18:41:07 -04:00
Matt A. Tobin 064a4e05cf [TychoAM] Issue #409 - Upgrade and enhance AddonUpdateChecker including support for update.json 2018-06-25 18:39:50 -04:00
Moonchild c2f0bf33b6 Merge pull request #547 from adeshkp/patch-7
Rewrite assert in alsa_refill_stream to pass back a cubeb error instead.
2018-06-25 21:39:21 +02:00
adeshkp 61d3776cea Rewrite assert in cubeb_alsa.c: alsa_refill_stream to pass back a cubeb error instead. 2018-06-25 17:36:08 +00:00
Matt A. Tobin 7b5606116c [AllAM] Update the target preference 2018-06-25 12:24:13 -04:00
Matt A. Tobin cfd33eca4f [AllAM] Effectively revert Bug 521905 - Make extensions.checkCompatibility be per-application-version 2018-06-25 11:10:36 -04:00
Matt A. Tobin 7310675725 [AllAM] Revert Bug 956990 - PREF_CHECKCOMAT_THEMEOVERRIDE 2018-06-25 11:01:43 -04:00
Moonchild 2b16e13f4e Merge pull request #545 from janekptacijarabaci/devtools_eyedropper_slow_1
DevTools - Eyedropper Tool - Used "createImageBitmap(canvas.toBlob())" instead of "createImageBitmap(ctx.getImageData())"
2018-06-25 16:26:13 +02:00
Moonchild b94a90dd7b Merge pull request #546 from JustOff/PR_locale_updates2
Misc en-US locale updates and fixes
2018-06-25 16:25:15 +02:00
JustOff 960b2c7a4f Replace Firefox with "the browser" in webide.properties. 2018-06-25 16:10:19 +03:00
JustOff d3b4e839be Remove unused strings after #525 2018-06-25 16:07:54 +03:00
wolfbeast d8052c8be9 Bump Pale Moon to beta. 2018-06-25 11:17:17 +02:00
wolfbeast 663517dbae Remove docshell contract for about:webrtc
Follow-up to 9755c93cff
Tag mcp-graveyard/UXP#536
2018-06-25 00:46:08 +02:00
wolfbeast 3e0e4fbc91 Make about:webrtc conditional.
This resolves #536
2018-06-24 23:57:19 +02:00
janekptacijarabaci 24bdf7781d DevTools - Eyedropper Tool - Used "createImageBitmap(canvas.toBlob())" instead of "createImageBitmap(ctx.getImageData())"
Issue mcp-graveyard/UXP#544
2018-06-24 20:33:07 +02:00
wolfbeast a563817c4c Remove unwanted newtab page code
- Get rid of "enhanced" suggested/sponsored tiles in about:newtab
- Remove "compact view"
2018-06-24 18:40:23 +02:00
Moonchild d958108dea Merge pull request #543 from janekptacijarabaci/cookies_logins_1
Preferences - Cookies / Saved Passwords - "Remove..." button should not be active if there are no items; "onselect" is not fired twice
2018-06-24 14:12:10 +02:00
Moonchild ebff620d90 Merge pull request #540 from janekptacijarabaci/security_csp_script_redirect_1
Fix CSP: Scripts with valid nonce should not be blocked if URL redirects
2018-06-24 14:11:54 +02:00
wolfbeast b39f52c4fe Prevent various location-based hazards. 2018-06-24 13:41:23 +02:00
janekptacijarabaci 8e82280602 Preferences - Show Cookies - <tree onselect>/"onCookieSelected" is not fired twice 2018-06-24 12:25:14 +02:00
janekptacijarabaci 013b9a54aa Preferences - Show Cookies - "Remove Selected" button should not be active if there are no items 2018-06-24 12:20:08 +02:00
janekptacijarabaci ad23e457b7 Preferences - Saved Passwords - "Remove" button should not be active if there are no items 2018-06-24 12:18:48 +02:00
wolfbeast 3f10db9367 Restrict web access to moz-icon:// scheme
This resolves #542
2018-06-24 11:12:28 +02:00
Moonchild f8cd46ae54 Merge pull request #538 from trav90/code-cleanup
Remove GCC 4.8 workaround in libopus
2018-06-24 03:01:49 +02:00
trav90 f95b2de624 Remove GCC 4.8 workaround in libopus
This patch removes a workaround when building for ARM platforms using GCC 4.8 (which we no longer support).
2018-06-23 19:50:16 -05:00
Moonchild e3a2b38870 Merge pull request #537 from janekptacijarabaci/build_error_1
Build - fix "ERROR: preprocessor was not applied to aboutRights.xhtml"
2018-06-24 02:31:52 +02:00
janekptacijarabaci fa7e52a2c7 Build - fix "ERROR: preprocessor was not applied to aboutRights.xhtml" 2018-06-23 23:04:10 +02:00
Moonchild 0b540812ec Merge pull request #532 from janekptacijarabaci/toolkit_create-new-profile_error_1
Toolkit - Fix throws an error from "Create a New Profile"
2018-06-23 22:52:34 +02:00
wolfbeast 447e32aca8 Fix about:rights dependencies for Safe Browsing.
This resolves #533.
2018-06-23 21:50:01 +02:00
Moonchild befd5ca2d4 Merge pull request #535 from janekptacijarabaci/about_telemetry_error_1
Fix throws an error on "about:telemetry"
2018-06-23 19:04:43 +02:00
janekptacijarabaci 2193d9e27a Fix throws an error on "about:telemetry" 2018-06-23 18:37:27 +02:00
janekptacijarabaci d6faf4d3b1 Toolkit - Fix throws an error from Create a New Profile
Issue mcp-graveyard/UXP#531
2018-06-23 15:03:07 +02:00
Moonchild 9f68b0252e Merge pull request #530 from Lootyhoof/close-icon
Add new close icons and make current icons Basilisk-specific
2018-06-23 14:26:57 +02:00
janekptacijarabaci 7920ace03e Bug 1469150 - CSP: Scripts with valid nonce get blocked if URL redirects is fixed (follow up) 2018-06-23 04:30:08 +02:00
janekptacijarabaci 0eea2f9017 Bug 1469150 - Tests added to check scripts with valid nonce is allowed if URL redirects (follow up) 2018-06-23 04:29:34 +02:00
Lootyhoof a3c4e3880a Add new close icons and make current icons Basilisk-specific 2018-06-22 22:30:54 +01:00
wolfbeast 375ccf63fb Improve newtab styling
- De-duplicate controls
- Improve title text position
- Improve pinned site indicator
2018-06-22 16:53:06 +02:00
Moonchild d2ddde65e4 Merge pull request #528 from g4jc/remove_browser_ui_telemetry
backport mozbug 1453667: Remove BrowserUITelemetry from Basilisk application
2018-06-22 13:03:45 +02:00
Moonchild 43e6e642ff Merge pull request #525 from MoonchildProductions/newtab-page-work
Newtab page work
2018-06-22 12:55:34 +02:00
wolfbeast 9eec4293e5 Reinstate erroneously removed line. 2018-06-22 12:44:10 +02:00
wolfbeast baef77daf3 Prevent the Quickdial page from stealing focus from the address bar. 2018-06-22 12:14:05 +02:00
wolfbeast 74c1c4dcd5 Be more explicit about which browser content object is focused and when. 2018-06-22 12:13:20 +02:00
wolfbeast 706c7922d2 Update jar manifest for removed files. 2018-06-22 11:44:31 +02:00
wolfbeast a4a835c58b Remove unused files. 2018-06-22 11:26:17 +02:00
Gaming4JC 2dece65cc9 Remove BrowserUITelemetry from Basilisk application 2018-06-21 20:09:48 -04:00
janekptacijarabaci c5369ffaf6 Bug 1469150 - CSP: Scripts with valid nonce get blocked if URL redirects
https://bugzilla.mozilla.org/show_bug.cgi?id=1469150
2018-06-21 20:57:09 +02:00
janekptacijarabaci 32c8a48d36 CSP: Support for "LoadInfo::GetLoadingContext" and "LoadInfo::GetLoadingContextXPCOM()"
https://bugzilla.mozilla.org/show_bug.cgi?id=1439713 (partially)
2018-06-21 20:56:16 +02:00
New Tobin Paradigm a90abf528c Merge pull request #526 from trav90/HSTS-preload-list
Update HSTS preload list
2018-06-21 07:05:15 -04:00
trav90 43392f07a6 Update HSTS preload list
Tag mcp-graveyard/UXP#447
2018-06-21 05:29:04 -05:00
wolfbeast 90e830afb9 Issue mcp-graveyard/UXP#517 Part 7: Remove enhanced/sponsored links styling and page code 2018-06-21 12:13:12 +02:00
wolfbeast 19806b77cd Issue mcp-graveyard/UXP#517 Part 6: Restyle for Pale Moon.
This splits out common rules for different OSes to themes/shared and
applies new styling to the newtab page.
2018-06-21 11:32:13 +02:00
wolfbeast 7ea616a7cb Fix typo. 2018-06-21 11:04:25 +02:00
wolfbeast 2a35ae9ce2 Issue mcp-graveyard/UXP#517 Part 5b: Remove configuration styles + leftovers. 2018-06-21 10:49:24 +02:00
wolfbeast 4c68528450 Issue mcp-graveyard/UXP#517 Part 5: Remove configuration menu 2018-06-21 00:54:09 +02:00
wolfbeast 1b2b72c532 Issue mcp-graveyard/UXP#517: Remove leftover contentSearch include. 2018-06-21 00:53:29 +02:00
wolfbeast a00a8b05f0 Fix SSL status ambiguity.
- Adds CipherSuite string with the full suite
- Changes CipherName to be the actual cipher name instead of the (erroneous) full suite like Firefox does.
2018-06-20 19:14:58 +02:00
wolfbeast 73738dc3c6 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-06-20 18:50:55 +02:00
wolfbeast 89e63eb56d The Tomato's #507. 2018-06-20 18:50:33 +02:00
Moonchild 799b1ef96c Merge pull request #523 from JustOff/PR_locale_regressions
Fix misc regressions in en-US locale
2018-06-20 18:46:09 +02:00
wolfbeast 7804cacfb5 Issue mcp-graveyard/UXP#517 Part 4: Fix tile pinning 2018-06-20 17:57:59 +02:00
wolfbeast 2fc9152865 Issue mcp-graveyard/UXP#517 Part 3b: Remove compact style pref 2018-06-20 17:46:33 +02:00
wolfbeast fc65555807 Issue mcp-graveyard/UXP#517 Part 3: Remove compact style 2018-06-20 17:44:20 +02:00
JustOff 437e7d704e Fix misc regressions in en-US locale 2018-06-20 18:36:56 +03:00
wolfbeast edaa849398 Remove Google logo from about:home search bar internals. 2018-06-20 16:28:55 +02:00
wolfbeast fbd63723ed Issue mcp-graveyard/UXP#517 Part 1: Fix newtab Search 2018-06-20 16:27:18 +02:00
wolfbeast 90ed41bc67 Issue mcp-graveyard/UXP#517 Part 1: Import newtab page from Basilisk (sans directory service provider module) 2018-06-19 19:44:40 +02:00
Moonchild 49b351ab8f Merge pull request #520 from janekptacijarabaci/pm_permissions_clean-up_name-functions_1
[PALEMOON] Remove named function syntax in aboutPermissions.js
2018-06-19 11:47:16 +02:00
Moonchild 65534aeb73 Merge pull request #519 from janekptacijarabaci/pm_permissions_2
[PALEMOON] Fix "Permissions Manager" and "Remove All Cookies"
2018-06-19 11:46:40 +02:00
Moonchild 64e11d00da Merge pull request #518 from janekptacijarabaci/pm_permissions_1
[PALEMOON] Fix "Permissions Manager" and get cookies
2018-06-19 11:46:15 +02:00
wolfbeast 92e9ed83f7 Fix typo in newtab transformations.js 2018-06-19 11:43:52 +02:00
wolfbeast 15fe83a78e Stop using old-style promises module in about:newtab.
- Rewrite to arrow functions.
- Stop using .defer and .promised

Tag mcp-graveyard/UXP#517.
2018-06-19 11:43:12 +02:00
janekptacijarabaci 2d4e7402a2 [PALEMOON] Remove named function syntax in aboutPermissions.js
Issue mcp-graveyard/UXP#516
2018-06-19 10:45:48 +02:00
janekptacijarabaci c9c7880df3 [PALEMOON] Fix "Permissions Manager" and "Remove All Cookies"
Follow up #273
2018-06-19 10:33:56 +02:00
janekptacijarabaci 4d3d81fbd4 [PALEMOON] Fix "Permissions Manager" and cookies
Follow up #273
2018-06-19 10:13:35 +02:00
Moonchild 65386809d7 Merge pull request #515 from JustOff/PR_devtools_strings
Correct the browser and platform names in DevTools
2018-06-19 02:48:56 +02:00
JustOff e84c51dcce Add extra Firefox -> browser changes in webide.properties 2018-06-18 19:18:52 +03:00
JustOff df35b26fb6 Correct the browser and platform names in devtools\client 2018-06-18 18:51:16 +03:00
Moonchild bef6f20403 Merge pull request #509 from janekptacijarabaci/context-menu_save-link-as_principal_1
Added "nsIContentPolicy::TYPE_SAVEAS_DOWNLOAD": The context menu - "Save Link As" feature should use the loading principal instead of the system principal
2018-06-18 13:22:25 +02:00
Moonchild 26d71c00f9 Merge pull request #514 from janekptacijarabaci/pm_findbar_4
[PALEMOON] Fix Findbar: The context menu - "View Page Source"
2018-06-18 13:18:16 +02:00
janekptacijarabaci 74268edb24 [PALEMOON] Findbar - added the listener also to tabbrowser.xml, remove "_fastFind", a better focus() for the method "updateCurrentBrowser"
Issue mcp-graveyard/UXP#513
2018-06-18 12:21:28 +02:00
janekptacijarabaci 376ab33376 [PALEMOON] Findbar - remove unnecessary code (Findbar is no longer in the gBrowser)
Issue mcp-graveyard/UXP#513
2018-06-18 12:21:11 +02:00
janekptacijarabaci ab3cf9c2d0 nsIContentPolicy: Numbers should not be omitted in nsIContentPolicyBase.idl, rewrite uuid 2018-06-18 00:52:04 +02:00
janekptacijarabaci 67ca9176d6 nsIContentPolicy: Their order (in nsIContentPolicyBase.idl) must be retained in nsContentBlocker.cpp 2018-06-18 00:49:45 +02:00
wolfbeast f22ca12885 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-06-17 23:55:19 +02:00
wolfbeast 5cea6fc02e [BASILISK] Align ChromeUI identity box label color with Basilisk branding.
This resolves #484
2018-06-17 23:54:52 +02:00
janekptacijarabaci 07b195ec4f Added Ci.nsIContentPolicy.TYPE_SAVEAS_DOWNLOAD to next files 2018-06-17 14:20:50 +02:00
janekptacijarabaci 0baa6826c9 Rewrite uuid for ContentPolicy 2018-06-17 14:15:53 +02:00
janekptacijarabaci dbbd62755f [PALEMOON] Fix "loadingPrincipal" in nsContextMenu.js 2018-06-17 13:14:07 +02:00
janekptacijarabaci 74b1786757 Remove a comment in nsContextMenu.js 2018-06-17 10:32:41 +02:00
janekptacijarabaci 900660cdfe Fix typo in nsContentPolicyUtils.h 2018-06-17 10:12:34 +02:00
janekptacijarabaci f9501de1ac Bug 1430758 - No CSP directive for nsIContentPolicy::TYPE_SAVEAS_DOWNLOAD 2018-06-17 09:43:40 +02:00
janekptacijarabaci a4815bafb6 Bug 1398229 - Save-link-as feature should use the loading principal - implementation of nsIContentPolicy.TYPE_SAVE_AS_DOWNLOAD 2018-06-17 09:35:48 +02:00
janekptacijarabaci 12bf1d2371 Bug 1398229 - Save-link-as feature should use the loading principal - context menu using nsIContentPolicy.TYPE_SAVE_AS_DOWNLOAD 2018-06-17 09:29:53 +02:00
Moonchild 7b85739895 Merge pull request #500 from trav90/uaoverrides-basilisk
[BASILISK] Add UA overrides for YouTube Live
2018-06-16 12:36:12 +02:00
Moonchild 9242fd5ce3 Merge pull request #501 from trav90/uaoverrides-palemoon
[PALEMOON] Remove UA override for Google Fonts
2018-06-16 11:45:41 +02:00
Moonchild c4f745ee60 Merge pull request #503 from janekptacijarabaci/pm_findbar_4_sanitize
[PALEMOON] Sanitize - "Form and search history" sanitize also the Findbar text and history (Ctrl-Z)
2018-06-16 11:45:02 +02:00
Moonchild 164ad75e9c Merge pull request #504 from janekptacijarabaci/devtools_locales_scratchpad_typos-in-comments_1
Fix typos in comments - scratchpad.properties
2018-06-16 11:44:45 +02:00
wolfbeast 41cd394aa7 Increase max size for GDI classic forced families.
Set the maximum size at which we will force GDI classic mode using
force_gdi_classic_for_families to 17 to prevent some known font
artifacts using d2d.
2018-06-16 01:35:13 +02:00
janekptacijarabaci 6b7a0b4886 Fix typos in comments - scratchpad.properties 2018-06-15 20:17:43 +02:00
janekptacijarabaci 0fb9644220 [PALEMOON] Sanitize - "Form and search history" sanitize also the Findbar text and history (Ctrl-Z)
Issue mcp-graveyard/UXP#502
2018-06-15 20:11:19 +02:00
trav90 9de2bcb5e4 [PALEMOON] Remove UA override for Google Fonts 2018-06-15 12:53:11 -05:00
trav90 cb6b3a8fb2 [BASILISK] Add UA overrides for YouTube Live 2018-06-15 12:44:48 -05:00
wolfbeast 6d7e90ab6f Move native UA compatmode out of branding into app prefs. 2018-06-15 18:36:26 +02:00
Moonchild 2a14afe19f Merge pull request #498 from adeshkp/patch-6
Add UA mode for unofficial branding
2018-06-15 18:22:11 +02:00
wolfbeast 09f4965382 Merge branch 'findbar-pertab' 2018-06-15 18:20:24 +02:00
wolfbeast 3fd789bf2d Transfer findbar data to torn-off tabs. 2018-06-15 17:52:59 +02:00
adeshkp e08ba51442 Add UA mode for unofficial branding 2018-06-15 15:12:32 +00:00
wolfbeast 6a9045cf20 Add a nullcheck in DOMProxyHandler::EnsureExpandoObject jic. 2018-06-15 14:03:56 +02:00
Matt A. Tobin 75f71b9c14 Clang needs a trailing new line in intl/hyphenation/glue/hnjstdio.cpp 2018-06-14 15:28:51 -04:00
Moonchild 7bc9ba2998 Merge pull request #497 from janekptacijarabaci/toolkit_troubleshot_pp_2
Remove appConstants usage from Troubleshoot.jsm (follow up)
2018-06-14 17:42:24 +02:00
janekptacijarabaci 12d2e07f68 Remove appConstants usage from Troubleshoot.jsm (follow up)
Tags:
#65
#494 (follow up)
2018-06-14 03:42:25 +02:00
janekptacijarabaci 5313b2857f Revert "Add a next preprocessing to Troubleshot.jsm"
This reverts commit 6ac05db3d6.
2018-06-14 03:37:43 +02:00
Moonchild 5e7043c60b Merge pull request #494 from janekptacijarabaci/toolkit_troubleshot_pp_1
Remove appConstants usage from Troubleshoot.jsm
2018-06-13 23:24:42 +02:00
Moonchild 9674f92f4b Merge pull request #493 from janekptacijarabaci/toolkit_version_architecture_1
Add architecture detection to "about:" and "about:support"
2018-06-13 23:23:55 +02:00
Moonchild 31c1116a99 Merge pull request #495 from JustOff/PR_jxr_clear_accept
[PALEMOON] Remove `image/jxr` from `image.http.accept` until JPEG-XR decoder is implemented
2018-06-13 23:23:40 +02:00
JustOff 14093dae6f [PALEMOON] Remove image/jxr from image.http.accept until JPEG-XR decoder is implemented 2018-06-13 23:45:44 +03:00
janekptacijarabaci d3baa6bf1d Add a next preprocessing to Troubleshot.jsm
Issue mcp-graveyard/UXP#65 (partially)
2018-06-13 17:40:52 +02:00
janekptacijarabaci 5e2dcda71d Add architecture detection to "about:" and "about:support"
Issue mcp-graveyard/UXP#492
2018-06-13 17:31:46 +02:00
wolfbeast 1ec1129f17 Revert "Disable WebP decoder until memory leak is resolved"
This reverts commit 7336eef241.
2018-06-13 14:42:55 +02:00
wolfbeast 2255f92522 Free the decoded image buffer before deleting the WebP decoder.
This should solve #483.
2018-06-13 13:45:56 +02:00
wolfbeast 1c18c45929 Stop making the version text selectable in the about box.
This resolves #478.
2018-06-13 13:27:40 +02:00
Moonchild 52b2b69a34 Merge pull request #471 from janekptacijarabaci/pm_move_permissions_1
[PALEMOON] Moving About permissions component files from components/preferences/ to components/permissions/
2018-06-12 22:38:42 +02:00
JustOff 495327df16 Fix incorrect preprocessor defines for safebrowsing 2018-06-12 22:31:41 +02:00
JustOff 46fafe6cbd Disable WebP decoder until memory leak is resolved 2018-06-12 22:31:20 +02:00
wolfbeast 0477a617bf Belated clobber for PR #477 2018-06-12 22:21:32 +02:00
wolfbeast 206702ec40 Minimal easy fix -- move findbar getters to tabbrowser.
Resolves #487
2018-06-12 22:05:07 +02:00
wolfbeast 0128e03dba Use newer asyncFetch() instead of asyncFetch2() in LWT image optimizer.
This resolves #485.
2018-06-12 14:57:51 +02:00
Moonchild 86f5f2d3cd Merge pull request #481 from janekptacijarabaci/pm_update-links_unstable_1
[suggestion] [PALEMOON] Unstable releases - fix some links on Linux
2018-06-12 00:59:06 +02:00
Moonchild 95aa516c29 Merge pull request #477 from JustOff/PR_nss-3.36
Update NSS/NSPR to 3.36.4/4.19
2018-06-12 00:58:35 +02:00
janekptacijarabaci 1aa398e65b [suggestion] [PALEMOON] Unstable releases - fix some links on Linux
Issue mcp-graveyard/UXP#480
2018-06-11 20:37:14 +02:00
JustOff ef6b1b6c28 Update build system files for NSRP and NSS 2018-06-11 16:43:35 +03:00
JustOff 72676b1d6e Update NSS to 3.36.4-RTM 2018-06-11 16:42:50 +03:00
JustOff 28840df995 Update NSPR to 4.19 2018-06-11 16:42:09 +03:00
Moonchild 525908e63a Merge pull request #474 from JustOff/PR_dnt_two_state
[PALEMOON] Change the three-state DoNotTrack controls to a simple on/off switch
2018-06-11 14:42:11 +02:00
Moonchild fa1b396e9a Merge pull request #475 from janekptacijarabaci/pm_package_bustage_devtools_disable_1
[PALEMOON] Fix package bustage if devtools is disabled
2018-06-11 14:41:17 +02:00
janekptacijarabaci 475c200a2c [PALEMOON] Fix package bustage if devtools is disabled
Issue mcp-graveyard/UXP#102
2018-06-11 13:06:23 +02:00
JustOff e317b98f49 [PALEMOON] Change the three-state DoNotTrack controls to a simple on/off switch 2018-06-11 13:46:22 +03:00
wolfbeast 457e6b9fc0 Stop also selecting trailing space when word-selecting.
This resolves #472.
2018-06-11 10:35:39 +02:00
janekptacijarabaci f50a619673 [PALEMOON] Moving About permissions component files from components/preferences/ to components/permissions/
Issue mcp-graveyard/UXP#191
2018-06-11 09:52:55 +02:00
Moonchild 4b7b397250 Merge pull request #469 from JustOff/PR_SB_DoNotTrack
[BASILISK] Remove tracking protection controls from the UI if safebrowsing isn't built
2018-06-10 20:46:30 +02:00
JustOff dd0e254b82 [BASILISK] Hide tracking protection title from aboutPrivateBrowsing if safebrowsing isn't built 2018-06-10 19:17:16 +03:00
JustOff 612cce21cc [BASILISK] Hide tracking protection description from aboutPrivateBrowsing if safebrowsing isn't built 2018-06-10 19:08:18 +03:00
JustOff f6a915820e [BASILISK] Remove tracking protection controls from aboutPrivateBrowsing if safebrowsing isn't built 2018-06-10 19:01:51 +03:00
JustOff b186dd73b9 [BASILISK] Remove tracking protection controls from the UI if safebrowsing isn't built 2018-06-10 15:56:51 +03:00
JustOff 4bc24259fe By default, disable tracking protection in Private Browsing mode if safebrowsing isn't built 2018-06-10 15:56:01 +03:00
wolfbeast 87d26f08b6 Bump version to Alpha 4. 2018-06-10 00:51:26 +02:00
wolfbeast b01ebe1245 Set Pale Moon Sync specific URLs in application shared prefs.
Tag mcp-graveyard/UXP#468.
2018-06-10 00:45:25 +02:00
Moonchild a190279b39 Merge pull request #465 from janekptacijarabaci/pm_sync_strings_1
[PALEMOON] [frontend vs backend] Sync - add missed strings in sync.properties
2018-06-09 12:50:36 +02:00
Moonchild 467ac8cc61 Merge pull request #466 from janekptacijarabaci/pm_sync_quota_1
[PALEMOON] Sync - fix quota.js (SyntaxError: missing ] after element list)
2018-06-09 12:50:18 +02:00
wolfbeast 8b5bc2ee84 Use a pref for supported Sync server API levels 2018-06-09 11:45:32 +02:00
janekptacijarabaci f995bfe747 [PALEMOON] [frontend vs backend] Sync - add missed strings in sync.properties
Issue mcp-graveyard/UXP#308
2018-06-09 07:57:56 +02:00
janekptacijarabaci 8495bb8691 [PALEMOON] Sync - fix quota.js (SyntaxError: missing ] after element list)
Issue mcp-graveyard/UXP#308
2018-06-09 07:55:51 +02:00
Moonchild c802a14f76 Merge pull request #463 from JustOff/PR_pippki_strings
[PALEMOON] Add missed strings required by page info
2018-06-08 22:31:04 +02:00
JustOff eb58583ad9 [PALEMOON] Add missed strings required by page info 2018-06-08 19:10:23 +03:00
wolfbeast 979df5bbe8 Partially disentangle FxA from Weave so Pale Moon Sync can work. 2018-06-08 17:12:45 +02:00
wolfbeast 2bf8133418 Make sure the waiting message is actually displayed. 2018-06-08 16:31:11 +02:00
wolfbeast f6d9c835d6 Media: harden TrackID handling. 2018-06-07 16:04:56 +02:00
Valentin Gosu 5b108e652d Sanity-check in nsStandardURL::Deserialize(). r=mayhemer, a=RyanVM
Also add test for faulty nsStandardURL deserialization.

See Bug 1392739.
2018-06-07 15:58:59 +02:00
Boris Zbarsky 3b5a482494 Bug 1464784 - Hold a strong ref to the document in callers of ConvertNodesOrStringsIntoNode. r=smaug, a=abillings 2018-06-07 15:55:55 +02:00
jgilbert@mozilla.com da6fb76d49 Bug 1458264 - Reset UNPACK_SKIP vars when uploading zeros. 2018-06-07 15:55:02 +02:00
wolfbeast 8e95a0f3a8 Improve the SSSE3 scaler. 2018-06-07 15:53:37 +02:00
Nicolas B. Pierron 7a03c9933a Bug 1464829 - Ensure the recover instruction vector has the expected size. 2018-06-07 15:50:32 +02:00
Olli Pettay 579dfc09eb Bug 1459693 - Ensure the right anonymous element is focused when calling input.focus(). 2018-06-07 15:48:33 +02:00
Jon Coppeard cea3faab03 Bug 1465108 - Use function pointers rather than virtual run method for GC parallel tasks r=sfink a=abillings a=RyanVM 2018-06-07 15:46:49 +02:00
wolfbeast 3499a615cc Fix count of compacting update tasks started. 2018-06-07 15:41:21 +02:00
Moonchild 213894d16a Merge pull request #461 from trav90/HSTS
Improve HSTS preload list generation
2018-06-07 15:03:27 +02:00
wolfbeast 997720d38d Update kiss-fft to 1.4.0 and disable OpenMP for it. 2018-06-07 14:54:20 +02:00
trav90 86d7f75376 [PALEMOON] Update the pref name for HSTS
This aligns the pref name for Pale Moon with what is used in the platform.
2018-06-07 07:45:16 -05:00
trav90 722d78ee99 Regenerate the HSTS preload list 2018-06-07 07:21:38 -05:00
wolfbeast b35c1a4376 Reinstate string.prototype.contains()
This adds a compatibility function aliased to string.prototype.includes().
2018-06-07 13:26:01 +02:00
Moonchild 428dea4513 Merge pull request #459 from janekptacijarabaci/pm_findbar_2
[PALEMOON] Fix the Findbar - open when you press "/" or "'" keys after start of browser
2018-06-07 12:37:43 +02:00
wolfbeast 5c385b4151 string.contains() => string.includes() 2018-06-07 08:52:45 +02:00
wolfbeast b3ab294201 Refactor structured clone JSAPI to prevent mismatched scopes.
Roll-up of bugs 1442722, 1455071, 1433642, 1456604 and 1458320.
2018-06-07 08:52:09 +02:00
Pale Moon 5736dbea02 Perform some sanity checks on nsMozIconURI. 2018-06-07 06:24:53 +02:00
Kris Maglione 40f38270cc Bug 1450688. r=bz, a=RyanVM
MozReview-Commit-ID: 4KHNpxiziWd

--HG--
extra : source : 008cc230b68fa2bf349923159b4a6e07768e56e5
extra : intermediate-source : 983ff6a90aae872383d52d5189396a47f3db7d17
2018-06-07 06:23:01 +02:00
wolfbeast 87ea81bb53 Account for offsets when creating buffers for image textures. 2018-06-07 06:21:57 +02:00
Lee Salzman 713f0d7e3b Bug 1462682 - Skia path bounds rounding fix. r=rhunt, a=RyanVM 2018-06-07 06:18:58 +02:00
wolfbeast c2958d4cd0 Fix build bustage.
Follow-up to f35bf8b65d
2018-06-07 06:14:18 +02:00
Jonathan Kew 038ba7bfd6 Update dimensions early in ClearTarget. 2018-06-07 06:12:01 +02:00
Andrea Marchesini 3267de900d Bug 1459206 - Use FileSystemSecurity in ContentParent::RecvGetFilesRequest. r=ehsan, a=jcristau
--HG--
extra : rebase_source : 542dca7fe46dd965ecde4c8387685beaf20ec3de
2018-06-07 06:10:12 +02:00
Andrea Marchesini 8f9e200fa4 Bug 1452576 - Improve StructuredCloneHolder for fuzzy tests, r=decoder a=jcristau
--HG--
extra : rebase_source : eb2bc60ffcac9afd44da7a2f5c99913829cd4753
2018-06-07 06:09:07 +02:00
David Major 114473c8ec Bug 1458270: Clean up in the shutdown observer. r=milan a=jcristau
--HG--
extra : amend_source : 7b1277a18a3ed4f441deef8b51cb4ec4dde614cc
2018-06-07 06:08:05 +02:00
janekptacijarabaci ffa16e5f6a Using "function()" in browser.js - consistency with the surrounding code
Issue mcp-graveyard/UXP#430
2018-06-07 05:32:41 +02:00
wolfbeast b0906c8f2f Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-06-07 04:02:34 +02:00
wolfbeast 29e2ee0c23 Change inlining of intrinsics. 2018-06-07 04:02:17 +02:00
Moonchild 56288b3d1c Merge pull request #460 from g4jc/gtk_null_fix
backport mozbug #546387: fix assert failure in gtk which prints to the console
2018-06-07 03:18:16 +02:00
André Bargull 81292ec6af Update tzdata in ICU data files to 2018e. 2018-06-07 03:02:59 +02:00
Gaming4JC 0d421d0270 backport mozbug #546387: fix assert failure in gtk which prints to the console. 2018-06-06 19:29:03 -04:00
wolfbeast fdf8fc3e17 Merge branch 'NSS-335' 2018-06-06 21:27:04 +02:00
janekptacijarabaci 8f0fe5b69a Fix a comment in browser.js (the FindBar - a tab vs the chrome window's context)
Issue mcp-graveyard/UXP#430
2018-06-06 18:58:12 +02:00
janekptacijarabaci 66cc8af84b [PALEMOON] Fix the Findbar - open when you press "/" or "'" keys after start of browser
Issue mcp-graveyard/UXP#430
2018-06-06 18:46:50 +02:00
wolfbeast 38095e7d07 Set sync prefs. 2018-06-06 17:21:47 +02:00
wolfbeast 3beb3fc25a Fix for loop in Sync quota dialog. 2018-06-06 17:00:21 +02:00
trav90 38e75e4539 Restore clearly-delimited format for the HSTS preload list 2018-06-06 08:30:34 -05:00
wolfbeast 1c5b389318 Revert "Disable TLS 1.3 by default for now until our NSS can be updated to the latest spec."
This reverts commit 6c3f95480a.
2018-06-06 15:24:57 +02:00
JustOff b71c7e07f1 Request NSS to use DBM as the storage file format 2018-06-06 15:24:07 +02:00
wolfbeast ddf2c9073c Revert "Restore NSS default storage file format to DBM when no prefix is given."
This reverts commit b2c78bbf83.
2018-06-06 15:23:14 +02:00
Moonchild 7be75a1836 Merge pull request #458 from SpockMan02/patch-3
Issue mcp-graveyard/UXP#448: Pale Moon: Include pinned tabs when warning about closing…
2018-06-06 14:54:19 +02:00
wolfbeast f49ddc4166 Add a helper function in PlacesUIUtils.jsm to cater to HiDPI favicon display with #-moz-resolution=w,h 2018-06-06 14:24:03 +02:00
SpockFan02 0e880fe878 Issue mcp-graveyard/UXP#448: Pale Moon: Include pinned tabs when warning about closing tabs with more than one window
This resolves #448.
2018-06-06 12:16:28 +00:00
trav90 bdac9b3a67 Increase concurrent lookups to 15 when generating HSTS preload list 2018-06-05 22:25:18 -05:00
trav90 9eba703220 Update HSTS preload list generation script
Previous behavior: if an entry was in the previously-used list, and there would be an error connecting to or processing the host, it would adopt it using the previous status, with a new minimum required max age TTL.
New behavior: if an entry is in the previously-used list, and there is an error connecting to or processing the host, it will be dropped from the preload list.

The old behavior would allow entries to persist on the HSTS preload list when they drop off the 'net. Considering domain churn, it would cause issues for new owners for having a persisted HSTS entry preloaded in the browser.
Bonus: it keeps our HSTS preload list lean.
2018-06-05 22:23:30 -05:00
wolfbeast 5fbfcb8849 Restore NSS default storage file format to DBM when no prefix is given. 2018-06-05 22:38:40 +02:00
wolfbeast 6faa03e95c Update build system files for NSS 3.35 2018-06-05 22:24:37 +02:00
wolfbeast c76ba84283 Update NSS to 3.35-RTM 2018-06-05 22:24:08 +02:00
wolfbeast 332f9641e7 Update NSPR to 4.18 2018-06-05 22:23:36 +02:00
wolfbeast 38ec0c1df5 Port our stricter cookie gating.
This addresses the critical section of #449.
2018-06-05 15:49:53 +02:00
Moonchild e3754283bb Merge pull request #440 from janekptacijarabaci/pm_url_2
[PALEMOON] Fix "Open Web Location" (Ctrl-L/Alt-D) when nav toolbar hidden
2018-06-05 03:25:51 +02:00
Moonchild e7afd54d04 Merge pull request #442 from SpockMan02/patch-2
Fix a file path for macOS
2018-06-05 03:02:06 +02:00
SpockFan02 ab85a30af0 Fix a file path for macOS
Tag mcp-graveyard/UXP#286
2018-06-05 00:59:02 +00:00
wolfbeast 7a95ec9df2 Fix Basilisk Mac window menu include path.
Tag mcp-graveyard/UXP#286
2018-06-05 02:54:55 +02:00
wolfbeast 158de44316 Fix incorrect Pale Moon installer locale paths. 2018-06-04 17:30:58 +02:00
wolfbeast 54a55933e1 Merge branch 'move-basilisk' 2018-06-04 15:50:03 +02:00
wolfbeast 0f2ffa4b33 [PALEMOON] Bump version to Alpha 3 2018-06-04 15:40:14 +02:00
wolfbeast dd85459ce9 Issue mcp-graveyard/UXP#303 Part 3: Update themes for the new Basilisk location.
This also addresses #286.
2018-06-04 13:52:09 +02:00
wolfbeast 012a38895a Issue mcp-graveyard/UXP#303 Part 2: Update build files for the new location 2018-06-04 13:50:39 +02:00
wolfbeast 2a70a0a7fd Issue mcp-graveyard/UXP#303 Part 1: Move basilisk files from /browser to /application/basilisk 2018-06-04 13:17:38 +02:00
janekptacijarabaci f95cc9db41 Remove an unnecessary comment when closing the dialog
Issue mcp-graveyard/UXP#434
2018-06-04 04:40:14 +02:00
janekptacijarabaci b0b0f89f0d Style clean up + fix typo
Issue mcp-graveyard/UXP#434
2018-06-04 04:31:15 +02:00
Moonchild 370c8a5ce7 Merge pull request #441 from janekptacijarabaci/pm_findbar_1
[PALEMOON] Fix the Findbar - open when you press "/" or "'" keys
2018-06-03 22:55:42 +02:00
janekptacijarabaci 5ab88d2877 [PALEMOON] Fix the Findbar - open when you press "/" or "'" keys
Issue mcp-graveyard/UXP#430
2018-06-03 20:11:54 +02:00
janekptacijarabaci 88fa8df66a [PALEMOON] Fix "Open Web Location" (Ctrl-L/Alt-D) when nav toolbar hidden
Issue mcp-graveyard/UXP#434
2018-06-03 20:08:31 +02:00
wolfbeast 43da5d7b24 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-06-03 14:18:49 +02:00
wolfbeast 6815abba46 Revert "Reinstate tabMinWidth and tabMaxWidth prefs."
This reverts commit 6e8846622a.
2018-06-03 14:17:46 +02:00
New Tobin Paradigm a654fc3589 Merge pull request #436 from Ascrod/readerview
Update Readability from mozilla-central release branch (FF 60.0).
2018-06-03 08:07:20 -04:00
wolfbeast 90cf833bb2 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-06-03 12:18:05 +02:00
trav90 372f778186 Always build with SSE2 support when using GCC 2018-06-03 12:17:30 +02:00
Moonchild c1a469ce03 Merge pull request #433 from Ascrod/UITour
Remove SelfSupportBackend module.
2018-06-03 11:33:33 +02:00
Moonchild 672365e5a0 Merge pull request #429 from JustOff/PR_unpreprocessed_files
Check if there are any unpreprocessed files in '@MOZ_OBJDIR@/dist/bin'
2018-06-03 11:32:37 +02:00
Matt A. Tobin e8f9489d1a [PALEMOON] Package helper.exe so Windows Shell Service actually works on a packaged product 2018-06-02 22:00:07 -04:00
Ascrod 53f099ac5f Update Readability from mozilla-central release branch (FF 60.0). 2018-06-02 15:49:59 -04:00
JustOff 47330734dc Don't search for directives that are never used alone 2018-06-02 21:05:05 +03:00
Matt A. Tobin 9358316f87 Add a check to prevent a crash when CSP directives are used with chrome content
Chrome content uses System Principle and this kind of speculative preloading of CSP just won't work.
2018-06-02 09:44:18 -04:00
Ascrod a3875c3712 Remove SelfSupportBackend module. 2018-06-01 20:28:01 -04:00
Moonchild 91ab16c904 Merge pull request #424 from Ascrod/UITour
Remove UITour
2018-06-02 01:34:01 +02:00
Moonchild 929a589635 Merge pull request #431 from trav90/updater-work
[PALEMOON] Enable update prefs in Unstable branding for Linux
2018-06-02 01:32:48 +02:00
wolfbeast eb9e143ac3 Move the MOZ_DISABLE_PRECOMPILED_STARTUPCACHE check. 2018-06-01 23:14:53 +02:00
Ascrod 5e61f40466 Remove unused code from SelfSupportBackend module. 2018-06-01 15:40:33 -04:00
trav90 1045d40c26 [PALEMOON] Enable update prefs in Unstable branding for Linux 2018-06-01 12:27:50 -05:00
wolfbeast a8cc502863 Partially revert safebrowsing commits to fix "tracking protection".
This resolves #425.
2018-06-01 16:52:16 +02:00
JustOff ac98f819f9 Refine the file extensions even more 2018-06-01 17:39:43 +03:00
wolfbeast ba163a458a Teach moz.configure about --enable-precompiled-startupcache 2018-06-01 15:39:51 +02:00
JustOff 31033a9c2e Update the list of directives and file extensions for check 2018-06-01 16:34:31 +03:00
Ascrod e5624f8737 Remove unneeded if condition from SelfSupportBackend module. 2018-06-01 08:21:25 -04:00
wolfbeast 1df0753239 Add build config option to disable startup cache precompilation.
This resolves #418.
2018-06-01 13:21:30 +02:00
Moonchild 2e20a40d37 Merge pull request #427 from Ascrod/master
Remove duplicate ifdefs in browser-safebrowsing.js
2018-06-01 13:04:10 +02:00
Ascrod cbe52a2d91 Remove duplicate ifdefs in browser-safebrowsing.js 2018-05-31 23:09:27 -04:00
Ascrod dfd642405d Remove unused customization tip prefs. 2018-05-31 18:58:55 -04:00
Moonchild 4486922d04 Merge pull request #423 from Ascrod/Social
Remove unused social icons.
2018-06-01 00:57:57 +02:00
Moonchild 55449103ed Merge pull request #421 from JustOff/PR_utilityOverlay_ShellService
[PALEMOON] Use ShellService.jsm to get the shell service in utilityOverlay.js
2018-06-01 00:56:58 +02:00
wolfbeast 2315be9a48 Pre-process blocklists.js 2018-06-01 00:46:07 +02:00
Ascrod cc7e7b7d6c Remove tracking protection tour. 2018-05-31 18:37:37 -04:00
JustOff 5ef52f7f02 Check if there are any unpreprocessed files 2018-06-01 00:54:53 +03:00
Ascrod 4a3be77e6a Remove UITour and customize tips. 2018-05-31 14:23:57 -04:00
Ascrod efabad1ab5 Remove unused social icons. 2018-05-31 14:19:31 -04:00
wolfbeast ac038bc7d2 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-05-31 18:03:33 +02:00
wolfbeast 39834fcaa2 Rewrite restoreDimensions to account for mismatched CSS/device pixel sizes.
This resolves the situation where the device pixels per css px does not match the screen DPI.
In that case, the restored width and height would be adjusted if the window width (css px)
would be larger than the screen width (dev pixels). This patch converts everything to css px
before checking if the dimensions fit the screen.

This resolves #411.
2018-05-31 18:03:14 +02:00
JustOff 5af109f83e [PALEMOON] Use ShellService.jsm to get the shell service in utilityOverlay.js 2018-05-31 17:09:01 +03:00
Moonchild 35e6202362 Merge pull request #419 from janekptacijarabaci/build_warnings_1
Build - Fix throws a warning: 'rv': unreferenced local variable
2018-05-31 13:45:03 +02:00
janekptacijarabaci 8366ce07c8 Build - throws a warning: 'rv': unreferenced local variable
PR #412
2018-05-31 13:15:08 +02:00
Moonchild 6ea7d12874 Merge pull request #415 from JustOff/PR_default_theme
Fix default theme issues from #414
2018-05-31 09:41:11 +02:00
Moonchild 81a8597506 Merge pull request #416 from Ascrod/Social
Remove the Social API
2018-05-31 07:53:04 +02:00
Ascrod 83d6f5ccc4 Remove Social API. 2018-05-30 17:45:05 -04:00
JustOff dc81615b3d [PALEMOON] Package chrome.manifest for default theme across all platforms 2018-05-30 15:05:03 +03:00
JustOff d90108a598 [PALEMOON] Fix missed notifyPluginCrashed.png on windows and linux 2018-05-30 15:02:53 +03:00
wolfbeast 7f777d5b9b Enable blocking of top-level data: navigation. 2018-05-30 12:55:30 +02:00
Moonchild 0bc4fff184 Merge pull request #412 from g4jc/hsts_priming_removal_backport
Remove support and tests for HSTS priming from the tree. Fixes #384
2018-05-30 12:47:56 +02:00
wolfbeast 4eb5b2baa6 Reinstate tabMinWidth and tabMaxWidth prefs.
This resolves #410.
2018-05-30 00:26:42 +02:00
Matt A. Tobin 0d2bf14e78 [WebExAM] Use extensions.minCompatibleAppVersion instead of extensions.minCompatiblePlatformVersion for update.json 2018-05-29 14:45:18 -04:00
wolfbeast f75e1a465d Fix sec pref locations and enable HPKP checking by default.
Some prefs were incorrectly in all.js (ocsp and hpkp)
2018-05-29 17:27:27 +02:00
wolfbeast cfc6dc3df1 Disable HPKP telemetry in Pale Moon. 2018-05-29 17:24:36 +02:00
Moonchild a3530441b7 Merge pull request #407 from JustOff/PR_webapps_cleanup
Remove unused webapps icons from Pale Moon
2018-05-29 16:17:40 +02:00
JustOff dac09edc8e Remove unused webapps icons files from Pale Moon 2018-05-29 14:54:20 +03:00
JustOff 255335f021 Remove unused webapps icons from Pale Moon 2018-05-29 14:45:55 +03:00
wolfbeast f9a072f88f Limit PNG image dimensions. 2018-05-29 13:11:09 +02:00
Moonchild 93a5e30d67 Merge pull request #405 from janekptacijarabaci/pm_themes_icons_1
Restore throbber images to global skin.
2018-05-29 12:48:26 +02:00
janekptacijarabaci a46d74f069 [PALEMOON] [frontend vs backend] Remove unused webapps-*.png (chrome://global/skin/icons/webapps-*.png)
Issue mcp-graveyard/UXP#121
2018-05-29 12:30:26 +02:00
janekptacijarabaci dae60bd583 [PALEMOON] [frontend vs backend] Added icons (fix typo in a path: osx/global/icons)
Issue mcp-graveyard/UXP#121
2018-05-29 12:27:33 +02:00
janekptacijarabaci 5a58f729b8 [PALEMOON] [frontend vs backend] Added icons (fix typo in a path: osx/global/icons)
Issue mcp-graveyard/UXP#121
2018-05-29 12:24:41 +02:00
janekptacijarabaci 04555602ae [PALEMOON] [frontend vs backend] Added icons
Issue mcp-graveyard/UXP#121
2018-05-29 07:33:30 +02:00
Moonchild e996c8d5a2 Merge pull request #404 from janekptacijarabaci/pm_global-scope_1
[PALEMOON] [frontend vs backend] Part 2: Mass-replace global-scope let/const with var in Pale Moon and TychoAM
2018-05-29 00:58:16 +02:00
janekptacijarabaci e4410e1ddc [PALEMOON] [frontend vs backend] Part 2: Mass-replace global-scope let/const with var in Pale Moon and TychoAM
Issue mcp-graveyard/UXP#155

Part 2 for:
https://github.com/MoonchildProductions/UXP/commit/931950a880b3550490422b1855c509be10586858
2018-05-28 21:17:50 +02:00
Matt A. Tobin be128eabe4 [WebExAM] Deduplicate toolkit/mozapps/webextensions 2018-05-28 13:27:14 -04:00
Matt A. Tobin fd460e7e1d [WebExAM] Follow up to 351cf2703 2018-05-28 11:46:54 -04:00
wolfbeast 7601b592d3 Fix typo in 8b9fe0e358 2018-05-28 17:42:13 +02:00
Matt A. Tobin 61d7fd15c4 Merge branch 'update.json' 2018-05-28 10:07:00 -04:00
Matt A. Tobin 407b61bb4a [WebExAM] Issue mcp-graveyard/UXP#402 - Make JSON update manifests assume Firefox instead of Toolkit 2018-05-28 10:05:20 -04:00
Pale Moon fb5251b798 Port libopus upstream patch.
Based on https://git.xiph.org/?p=opus.git;a=commitdiff;h=70a3d641b
2018-05-28 13:53:03 +02:00
Moonchild b1bf728b97 Merge pull request #399 from MoonchildProductions/revert-395-buildsystem-work
Revert "Always build with SSE2 support & display an error if not available"
2018-05-28 07:42:21 +02:00
Moonchild aac751064f Revert "Always build with SSE2 support & display an error if not available" 2018-05-28 05:42:07 +00:00
Moonchild dfdec4b4ce Merge pull request #398 from MoonchildProductions/revert-397-buildsystem-work
Revert "Only display SSE2 error dialog on 32-bit Linux"
2018-05-28 07:41:36 +02:00
Moonchild ace7dbdf81 Revert "Only display SSE2 error dialog on 32-bit Linux" 2018-05-28 05:41:23 +00:00
Moonchild 8d7f08a807 Merge pull request #397 from trav90/buildsystem-work
Only display SSE2 error dialog on 32-bit Linux
2018-05-28 03:36:50 +02:00
trav90 182c5ec537 Only display SSE2 error dialog on 32-bit Linux
All 64bit CPU's support SSE2 so there's no reason to have this code on 64-bit builds.
2018-05-27 17:23:09 -05:00
wolfbeast 0aa3c5e180 Make Pale Moon Windows8WindowFrameColor compatible with global scope.
This resolves #396.
2018-05-27 20:18:48 +02:00
Moonchild 8cb8c2f28a Merge pull request #395 from trav90/buildsystem-work
Always build with SSE2 support & display an error if not available
2018-05-27 17:54:50 +02:00
Moonchild 2f1d198b4b Merge pull request #394 from janekptacijarabaci/pm_popup_block_1
[PALEMOON] [frontend vs backend] Reduce size of PopupBlocking:UpdateBlockedPopups messages
2018-05-27 17:41:59 +02:00
trav90 1a01fc67a9 Remove extraneous SSE flag 2018-05-27 10:14:55 -05:00
trav90 9cdd91f6a4 Tweak SSE/SSE2 GCC flags 2018-05-27 09:36:16 -05:00
trav90 4fb37259e0 Always build with SSE2 support when using GCC 2018-05-27 08:56:34 -05:00
trav90 7f24f043d8 Display an error on Linux in the absence of SSE2 2018-05-27 08:55:43 -05:00
janekptacijarabaci 2d39c20f16 [PALEMOON] [frontend vs backend] Reduce size of PopupBlocking:UpdateBlockedPopups messages
Issue mcp-graveyard/UXP#392
2018-05-27 15:00:42 +02:00
Moonchild 3142a7b8c9 Merge pull request #390 from janekptacijarabaci/dom_fetch_credentials_1
Make fetch() use "same-origin" credentials by default
2018-05-27 10:11:50 +02:00
Gaming4JC a66e6d8749 Remove support and tests for HSTS priming from the tree. Fixes #384 2018-05-26 15:42:45 -04:00
janekptacijarabaci f506ce115c Bug 1394399 - Fix web-platform-tests to expect "same-origin" default Request.credentials
Issue mcp-graveyard/UXP#389
2018-05-26 17:33:27 +02:00
janekptacijarabaci b05168f309 Bug 1394399 - Fix mochitests to expect "same-origin" default Request.credentials
Issue mcp-graveyard/UXP#389
2018-05-26 17:33:01 +02:00
janekptacijarabaci fc427cc799 Bug 1394399 - Default Request.credentials to "same-origin" instead of "omit"
Issue mcp-graveyard/UXP#389
2018-05-26 17:32:31 +02:00
Moonchild 5c14f68c1e Merge pull request #388 from adeshkp/patch-5
[Pale Moon] Fix white tab text for active tab on Mac
2018-05-26 13:58:49 +02:00
adeshkp 1b71ca9eae Pale Moon - Fix white tab text for active tab on Mac 2018-05-26 10:55:52 +00:00
Moonchild aa861e459f Merge pull request #386 from MoonchildProductions/revert-381-master
Revert "Remove the Social API"
2018-05-25 22:46:40 +02:00
Moonchild 13b4694ccc Revert "Remove the Social API" 2018-05-25 20:45:48 +00:00
Moonchild 08d2d3e84a Merge pull request #381 from Ascrod/master
Remove the Social API
2018-05-25 22:00:26 +02:00
Moonchild be61293ae9 Merge pull request #385 from trav90/media-work
Fix null checks in dom/media
2018-05-25 21:53:19 +02:00
trav90 e836e23d10 Revoke MediaDataDecoder callback after RemoteVideoDecoder has been shut down 2018-05-25 10:35:10 -05:00
trav90 28b77dcbdc Null check the right pointer in RecvReadback 2018-05-25 10:34:21 -05:00
trav90 2b44f898f8 Perform null check earlier in OggCodecState.cpp 2018-05-25 10:33:40 -05:00
Moonchild 17dcb560c9 Merge pull request #383 from trav90/media-work
[MSE] Correct ADTS frame size calculation
2018-05-25 17:22:26 +02:00
trav90 2a3b547bed [MSE] Correct ADTS frame size calculation
This should be bitwise OR rather than logical OR, which just returns 1.
2018-05-25 08:28:17 -05:00
Ascrod e934f01db9 Remove MOZ_SOCIAL. 2018-05-24 19:42:03 -04:00
Ascrod 7d7227e52d Remove the Social API 2018-05-24 16:29:56 -04:00
wolfbeast 5ff8e8c3e8 Remove CrashReporterParent leftover.
Tag mcp-graveyard/UXP#20.
2018-05-24 19:53:20 +02:00
wolfbeast 5e974e3812 Remove IPC profile functions.
Resolves #378.
2018-05-24 16:18:59 +02:00
wolfbeast ea7dd0842d Remove SPS profiler.
- Conditionals and code blocks. (MOZ_ENABLE_PROFILER_SPS)
- Stub out several profiler-only functions.
2018-05-24 14:06:04 +02:00
wolfbeast 9baa00443d Remove CrashReporterParent leftover.
Tag mcp-graveyard/UXP#20.
2018-05-24 14:03:34 +02:00
wolfbeast 0940fecac7 Remove the jprof profiler.
This resolves #377.
2018-05-23 20:16:00 +02:00
Moonchild 5d9facbb3e Merge pull request #379 from janekptacijarabaci/pm_places_livemark_add_1
[PALEMOON] [frontend vs backend] Places - fix: adding a livemark doesn't work correctly
2018-05-23 18:31:43 +02:00
wolfbeast ba3fc1e09b Remove the Dark Matter Detector (DMD) Memeory debugger component.
This resolves #376.
2018-05-23 16:31:42 +02:00
janekptacijarabaci 051f405ca1 [PALEMOON] [frontend vs backend] Places - fix: adding a livemark doesn't work correctly
Issue mcp-graveyard/UXP#121
2018-05-23 13:32:52 +02:00
wolfbeast 16f2a044b1 Remove IPC CrashReporterClient/Host
Tag mcp-graveyard/UXP#20.
2018-05-22 19:19:56 +02:00
wolfbeast 494ae6432c Remove stubbed IPC CrashReporter(Parent/Child) 2018-05-21 16:27:43 +02:00
wolfbeast af80d669dd Remove GMP, Plugin and IPC crash reporter hooks.
Stubs will be removed in follow-up

Tag mcp-graveyard/UXP#20.
2018-05-21 13:56:28 +02:00
wolfbeast 1103cc3bf5 Remove gfxCrashReporterUtils leftover.
Tag mcp-graveyard/UXP#20.
2018-05-20 12:14:47 +02:00
wolfbeast 8f99bb1e6e Remove gfxCrashReporterUtils.
Tag mcp-graveyard/UXP#20.
2018-05-20 12:10:50 +02:00
Moonchild e2a0b6f4df Merge pull request #375 from trav90/media-work
[MSE] Add a missing comma in validBoxes
2018-05-20 02:44:05 +02:00
wolfbeast 282936b398 Update libhyphen's glue code to include overloads for fgetc() and feof().
Follow-up to 41cbe2d931 to fix a crash regression.
This resolves #374.
2018-05-19 21:30:57 +02:00
trav90 79e142b916 [MSE] Add a missing comma in validBoxes 2018-05-18 10:02:46 -05:00
wolfbeast b031aa4f01 Fix missing include in Skia SafeMath 2018-05-17 13:28:50 +02:00
Moonchild bbb13a8811 Merge pull request #370 from alaviss/system-nss
palemoon/installer: Fix packaging when built --with-system-(nss|nspr)
2018-05-17 12:45:25 +02:00
Leorize 982c666dce palemoon/installer: Fix packaging when built --with-system-nss/nspr
The variables set by 'configure' for --with-system-(nss|nspr) is named
differently in UXP. This breaks packaging for palemoon when system
nss/nspr is used.

This commit corrects the name of said variables.
2018-05-17 15:06:08 +07:00
Moonchild b68715cd33 Merge pull request #369 from alaviss/crmf
external/nss: Don't link with libcrmf on --with-system-nss builds
2018-05-17 03:02:45 +02:00
Leorize bce2483b2c external/nss: Don't link with libcrmf on --with-system-nss builds
Since Bug 1030963, functions that make use of libcrmf has been removed
from the codebase. Therefore, it's no longer necessary to link with
libcrmf.

This commit completely removes the '-lcrmf' for --with-system-nss
builds, as libcrmf is not available on all systems (eg. Arch Linux)

This commit is a follow up to #364
2018-05-17 06:51:28 +07:00
Matt A. Tobin 3997e73def Add blocklist.manifest to Basilisk's package-manifest.in 2018-05-16 17:02:33 -04:00
Moonchild 4b1c895844 Merge pull request #360 from janekptacijarabaci/readview_pageshow_persisted_1
Fix: Reader Mode icon in urlbar is not displayed when close the Reader Mode view
2018-05-16 17:18:04 +02:00
Moonchild 365f22fc29 Merge pull request #358 from janekptacijarabaci/notifications_settings_3
[PALEMOON] Fix: The settings icon in the notification is missing (copy some files from webextensions)
2018-05-16 17:17:49 +02:00
Moonchild b92a63d0a4 Merge pull request #365 from alaviss/wifi
Explicitly specify the AccessPoint interface name
2018-05-16 17:17:29 +02:00
Moonchild fbe76a5d43 Merge pull request #364 from alaviss/crmf
Don't link against crmf while building --with-system-nss
2018-05-16 17:16:59 +02:00
Moonchild 67100d97ee Merge pull request #366 from alaviss/bug1384062
Make SystemResourceMonitor.stop more resilient to errors
2018-05-16 17:15:47 +02:00
Moonchild 08fec7af90 Merge pull request #368 from trav90/safebrowsing-work
Make safebrowsing optional at build time
2018-05-16 17:11:17 +02:00
Moonchild 77afef9a17 Merge pull request #367 from Ascrod/readerview
Reader and Narrator Updates
2018-05-16 17:10:38 +02:00
wolfbeast 368d3e4ea3 Clarify Basilisk branding/licensing (official/unofficial) 2018-05-16 16:35:05 +02:00
Mike Hommey ab38ccf4f5 Bug 1384062 - Make SystemResourceMonitor.stop more resilient to errors. r=ahal,gps
The poll() call in SystemResourceMonitor.stop might fail even though
there is something to read from the pipe, in some corner cases, and
python won't let us know about it. In that case, an exception is thrown,
leaving the SystemResourceMonitor (and its callers) in a weird state. In
practice, this leads BuildMonitor.__exit__ to recall stop, which then
fails.

So when poll() throws an exception, we pretend there's still something
to read, and we try to read anyways. If there is something to read,
recv() will return it, otherwise, it will throw an exception of its own,
which we catch, pretending we're done.

Furthermore, when there is nothing to read from the pipe, poll() simply
returns False, and our loop never sets `done` to True, and we then hit
an assert, which doesn't have its place here, so we remove it.

Finally, the other end of the pipe might have died at any time, making
sending over the pipe fail, so we also protect against that.

With all these changes, it feels like the reason to backout bug 1239939
in bug 1272782 should have been dealt with, and we can drop the timeout
again.

--HG--
extra : rebase_source : ac72dd5b2602cf3ffddfb429f95e02380f939893
2018-05-16 17:04:09 +07:00
Jan Steffens 37d2c3dc08 Bug 1314968 - Explicitly specify the AccessPoint interface name. r=kanru
The DBus specification allows passing an empty string as the interface to the
org.freedesktop.DBus.Properties.GetAll call to get all properties, throwing away the namespace
(interface) information.

However, GDBus does not allow this. When NetworkManager moved to using GDBus, Firefox lost the
ability to retrieve access points from NetworkManager.

Since we're only interested in properties from the org.freedesktop.NetworkManager.AccessPoint
interface, name it explicitly. This works with both the old and the new NetworkManager.

MozReview-Commit-ID: Kc5HaYvwfRZ

--HG--
extra : rebase_source : e1550d327e5a4ea05b8d35d98ef7b27c0add709b
2018-05-16 16:53:12 +07:00
Franziskus Kiefer 901c83ea86 Bug 1371991 - don't link against crmf when building with --with-system-nss, r=ted
Differential Revision: https://phabricator.services.mozilla.com/D836

--HG--
extra : rebase_source : 04127ba88296e8bd6849d227641bb0eebae2c23b
extra : amend_source : dde2e35e2d12316950113e5f320d47a914783623
2018-05-16 16:49:11 +07:00
Ascrod c2e70fd592 Change Reader API to use events, remove messaging. 2018-05-15 21:06:41 -05:00
Ascrod 147c15c220 Initial updates for Reader View. 2018-05-15 21:06:41 -05:00
New Tobin Paradigm 040f946bd1 Merge pull request #359 from JustOff/PR_about_newtab_fix
Revive the quickdial page (about:newtab)
2018-05-15 20:05:44 -04:00
JustOff 07b252f6ef Revive the quickdial page (about:newtab) 2018-05-16 00:28:28 +03:00
janekptacijarabaci 96df5e2425 Bug 1379762 part 2. Use a more reliable test to figure out when we can skip firing onload in nsDocumentViewer::LoadComplete
Issue mcp-graveyard/UXP#357
2018-05-15 22:45:40 +02:00
wolfbeast 056e9ccb82 Don't linkify data: or javascript: URLs in the web console. 2018-05-15 21:52:48 +02:00
wolfbeast 4a7a68eca6 Merge libhyphen fix from upstream. 2018-05-15 21:37:22 +02:00
wolfbeast 086068d2c8 Consistently use PR memory functions. 2018-05-15 21:22:26 +02:00
janekptacijarabaci 8e6b6c7406 Bug 1379762 part 1. Don't call MediaFeaturesChanged if our override device pixel ratio is set to its current value
Issue mcp-graveyard/UXP#357
2018-05-15 21:14:18 +02:00
janekptacijarabaci 78a085ece0 [PALEMOON] Fix: The settings icon in the notification is missing (copy some files from webextensions)
Issue mcp-graveyard/UXP#121
Pull #273
2018-05-15 21:04:46 +02:00
wolfbeast cb4a20b0d8 Update in-tree freetype2 lib (unused) to 2.9.1 2018-05-15 20:21:34 +02:00
wolfbeast 87d29f6d90 Add omitted Skia "Safe Math" includes. 2018-05-15 17:48:16 +02:00
wolfbeast 03a26d2cc0 Check for infinite value in txFormatNumberFunctionCall. 2018-05-15 14:23:06 +02:00
wolfbeast a44c11577a Use a temporary in Animation::Tick() 2018-05-15 14:06:42 +02:00
wolfbeast 20324ef5ae Drop invisible characters from downloads filename. 2018-05-15 14:00:38 +02:00
Matt A. Tobin c53ba5ab6c Pale Moon version bump 2018-05-15 05:33:56 -04:00
Matt A. Tobin 2f678e840d Issue mcp-graveyard/UXP#347 - TychoAM nsBlocklistService does not support gfxBlacklist 2018-05-15 05:06:42 -04:00
New Tobin Paradigm 818a0004bb Merge pull request #356 from JustOff/PR_ssuao_revert_1148544
Revert incorrect UAO optimization that broke SSUAO
2018-05-14 18:29:41 -04:00
JustOff 2ff9374853 Revert incorrect UAO optimization that broke SSUAO 2018-05-15 00:32:07 +03:00
Matt A. Tobin 531325786f [PALEMOON] Override Windows Installer usage of MOZ_APP_DISPLAYNAME when appropriate 2018-05-14 16:12:00 -04:00
Matt A. Tobin af8d13ee58 [*AM] Make soft-blocked phrasing more generic so people will cry less when we do our job 2018-05-14 14:32:47 -04:00
trav90 1050dea2df Include in-content preferences file security.js in pre-processing 2018-05-14 08:22:11 -05:00
wolfbeast 9e328b59ea Remove moz_widget_toolkit_gonk
Tag mcp-graveyard/UXP#288
2018-05-14 13:28:04 +02:00
Moonchild 073b1c3545 Merge pull request #351 from janekptacijarabaci/aboutSessionRestore_error_2
about:welcomeback - fix an error "invalid 'in' operand gTreeData[idx]" in aboutSessionRestore.js
2018-05-14 12:21:17 +02:00
Moonchild 9197991e37 Merge pull request #350 from janekptacijarabaci/aboutSessionRestore_error_1
about:sessionrestore - fix an error "treeView.treeBox is null" in aboutSessionRestore.js
2018-05-14 12:20:40 +02:00
wolfbeast f8b1b05a03 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-05-14 10:48:32 +02:00
wolfbeast 012c8fc818 Add AMO override. 2018-05-14 10:48:07 +02:00
Matt A. Tobin a338909c18 [PALEMOON] Remove non-applicable lines from package-manifest.in that block basic macintosh packaging 2018-05-14 00:38:43 -04:00
wolfbeast 755bf1f43e Remove other gonk widget conditionals and unused files.
Tag mcp-graveyard/UXP#288.
2018-05-13 22:46:04 +02:00
wolfbeast 8577a75ab4 Remove missed MOZ_WIDGET_GONK ifdef
Tag mcp-graveyard/UXP#288
2018-05-13 21:48:05 +02:00
wolfbeast d024f239f4 Fix incorrectly removed #includes
Tag mcp-graveyard/UXP#288.
2018-05-13 16:27:15 +02:00
janekptacijarabaci a62f93dad5 about:welcomeback - fix an error "invalid 'in' operand gTreeData[idx]" in aboutSessionRestore.js 2018-05-13 08:29:42 +02:00
janekptacijarabaci 7149c6bb8d about:sessionrestore - fix an error "treeView.treeBox is null" in aboutSessionRestore.js 2018-05-13 08:28:44 +02:00
wolfbeast e429467972 Remove MOZ_WIDGET_GONK [2/2]
Tag mcp-graveyard/UXP#288
2018-05-13 00:08:52 +02:00
trav90 aa64d3288d Make safebrowsing optional at build time - Part 5: preferences 2018-05-12 13:07:29 -05:00
wolfbeast 6971bbb227 Remove MOZ_WIDGET_GONK [1/2]
Tag mcp-graveyard/UXP#288
2018-05-12 16:19:58 +02:00
trav90 ea6d0e52a3 Make safebrowsing optional at build time - Part 4: configure 2018-05-12 08:21:53 -05:00
trav90 32cbbe8780 Fix build bustage 2018-05-12 08:20:17 -05:00
trav90 a11bb93c59 Make safebrowsing optional at build time - Part 3: toolkit/ 2018-05-12 08:19:07 -05:00
trav90 d042f73ef4 Make safebrowsing optional at build time - Part 2: mobile/ 2018-05-12 08:18:44 -05:00
trav90 f6500343a8 Make safebrowsing optional at build time - Part 1: browser/ 2018-05-12 08:17:44 -05:00
wolfbeast f8b5e24d17 Convert uses of KEY_MAP_ANDROID_EXCEPT_B2G to KEY_MAP_ANDROID 2018-05-12 15:03:33 +02:00
wolfbeast 37488f6290 Remove MOZ_B2G leftovers and some dead B2G-only components. 2018-05-12 14:32:03 +02:00
wolfbeast 27d78c2707 Remove gonk IDL reference in /hal.
Solves build bustage. Follow-up to cfe5ef4ac7
2018-05-12 14:31:10 +02:00
wolfbeast e747f89cef Merge branch 'ported-upstream' 2018-05-12 11:12:17 +02:00
wolfbeast 8ad2f3a3f5 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-05-12 11:10:15 +02:00
wolfbeast c78d840699 Remove Gonk build directories 2018-05-12 11:09:44 +02:00
Moonchild 279403a095 Merge pull request #342 from JustOff/PR_mse_ui
Remove the obsolete `media.mediasource.format-reader` control from the preferences UI
2018-05-11 22:31:20 +02:00
JustOff be8e387e20 Remove the obsolete media.mediasource.format-reader control from the preferences UI 2018-05-11 20:27:36 +03:00
wolfbeast ac038e759f Enable xrender by default.
Resolves perf regressions over remote X, and makes sense for our content back-ends.
Resolves #341.
2018-05-10 22:21:47 +02:00
wolfbeast 34bfdf38d9 Bug 1449548. 2018-05-10 12:31:01 +02:00
wolfbeast e5dcd09012 Merge branch 'ported-upstream' 2018-05-10 11:50:47 +02:00
Lee Salzman 23357d1809 Bug 1454692 - Backport some upstream Skia fixes to ESR52. r=rhunt, a=abillings
--HG--
extra : histedit_source : 0fcd64cabe6f54a2286083d6518e4e6451183a19%2C37f5e7f9dbbfc01102631c33b23329d2af5aa71b
2018-05-10 11:47:03 +02:00
Paul Adenot d9943ac0df Bug 1426129 - Hold CamerasChild via promoting "this" to a RefPtr. r=pehrsons, a=RyanVM 2018-05-10 11:45:57 +02:00
Jim Mathies dbf6bbc879 Bug 1447080 - Remove SEE_MASK_FLAG_NO_UI for better Windows 10 compatibility. r=dparks, a=lizzard
MozReview-Commit-ID: FbaKIfQdV8K

--HG--
extra : source : 56bfd2178dcad46a5b611b14e31938f1d96124a0
extra : intermediate-source : ed7be30d31414eedb16d557c0a2e7a9aeb5ec36d
2018-05-10 11:45:09 +02:00
wolfbeast 6dc81156fd Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-05-09 19:46:00 +02:00
Moonchild 8c9d71138c Merge pull request #340 from janekptacijarabaci/preferences_fonts_fallback-character-encoding_1
Add UTF-8 as a default fallback encoding for unknown encodings
2018-05-09 19:46:05 +02:00
wolfbeast b11f8c9f16 Merge branch 'intl-ICU-emoji-work' 2018-05-09 19:41:33 +02:00
wolfbeast 474136b049 Font fallback should detect emoji range for color emoji font. 2018-05-09 17:52:17 +02:00
wolfbeast ba41c29077 Fix build bustage
Fix nsAtom->nsIAtom and FindAndAddFamilies()
2018-05-09 17:17:40 +02:00
wolfbeast 9c2614d015 Set font.name-list.emoji for some platforms.
- Twemoji Mozilla for Windows. Can be prefixed with Segoe UI emoji for native Win8+ emoji, but reduces uniformity.
- Apple Color Emoji for OSX
- Twemoji Mozilla for GTK (Linux). fontconfig doesn't support emoji as family name.
- Noto Color Emoji for Android
2018-05-09 15:43:04 +02:00
wolfbeast 775a28e738 Use font.name-list.emoji preference for emoji presenration. 2018-05-09 15:30:43 +02:00
janekptacijarabaci f2ed67638b Add UTF-8 as a default fallback encoding for unknown encodings
Issue mcp-graveyard/UXP#315
2018-05-09 15:28:44 +02:00
wolfbeast 4bfcaa4cac Add emoji presentation API 2018-05-09 15:18:14 +02:00
Moonchild 866414e1c1 Merge pull request #339 from janekptacijarabaci/devtools_browserconsole_bodies_1
DevTools - fix a comment in webConsole.dtd (Web Console and Browser Console)
2018-05-08 15:51:04 +02:00
janekptacijarabaci baa5d18a7c [follow up] DevTools - fix a comment in webConsole.dtd (Web Console and Browser Console - not in the context menu)
Issue mcp-graveyard/UXP#102 and #337
2018-05-08 06:41:28 +02:00
janekptacijarabaci c9454fb9cc DevTools - fix a comment in webConsole.dtd (Web Console and Browser Console)
Issue mcp-graveyard/UXP#102
2018-05-07 11:40:08 +02:00
Moonchild 8b691c7402 Merge pull request #337 from janekptacijarabaci/devtools_browserconsole_bodies_1
[regression] DevTools - Web and Browser console - Added "Log request and response bodies" preference
2018-05-07 11:39:29 +02:00
janekptacijarabaci f26d4a0eb3 [regression] DevTools - Web and Browser console - Added "Log request and response bodies" preference
Issue mcp-graveyard/UXP#102
2018-05-07 07:23:21 +02:00
Moonchild 7f62782869 Merge pull request #335 from janekptacijarabaci/security_blocking_data_3
moebius#231: Consider blocking top level window data: URIs (tests)
2018-05-06 20:45:22 +02:00
Moonchild ea212a0e0b Merge pull request #334 from JustOff/PR_fullscreen_warning
[PALEMOON] Replace the fullscreen permission dialog with a warning and update the permission management
2018-05-06 20:44:37 +02:00
janekptacijarabaci 83483ca8b0 moebius#231: Consider blocking top level window data: URIs (tests) - bug 264588
https://github.com/MoonchildProductions/moebius/pull/231/files
https://bugzilla.mozilla.org/show_bug.cgi?id=1264588
2018-05-06 14:32:07 +02:00
janekptacijarabaci bd3a9c4e5e moebius#231: Consider blocking top level window data: URIs (tests)
https://github.com/MoonchildProductions/moebius/pull/231
2018-05-06 14:31:20 +02:00
JustOff 637b7d0401 [PALEMOON] Remove fullscreen and pointer-lock from permission managing 2018-05-06 14:48:52 +03:00
JustOff 53fe7f08b4 [PALEMOON] Replace fullscreen permission dialog with a warning 2018-05-06 14:47:23 +03:00
JustOff 80a3ad6ac2 [PALEMOON] Update fullscreen activation event to match UXP 2018-05-06 14:42:18 +03:00
Matt A. Tobin 5536284fad Use application specific application.ini 2018-05-05 15:09:57 -04:00
Matt A. Tobin 15f19c1108 Rename VisualElementsManifest for Basilisk unofficial branding 2018-05-05 14:56:09 -04:00
Moonchild d7d69d57ff Merge pull request #333 from janekptacijarabaci/notifications_settings_2
[follow up] moebius#154: Notifications - user settings - the immediate duration of the alert (fix for "New layout of XUL Notifications")
2018-05-05 15:44:25 +02:00
janekptacijarabaci c543565bc0 [follow up] moebius#154: Notifications - user settings - the immediate duration of the alert
https://github.com/MoonchildProductions/moebius/pull/154
https://github.com/MoonchildProductions/UXP/pull/132
2018-05-05 10:46:33 +02:00
Moonchild 6bbd2aa139 Merge pull request #332 from trav90/master
Remove nameprep.c from moz.build
2018-05-05 10:05:52 +02:00
trav90 21fb038b94 Remove nameprep.c from moz.build
Follow up to e6d4a8daf3
2018-05-04 21:18:32 -05:00
Moonchild d61c72ae8b Merge pull request #330 from JustOff/PR_PMkit_empty_getElementById
[PMkit] Fix Empty string passed to getElementById() warning in buttons.js
2018-05-04 22:48:10 +02:00
wolfbeast e9f24495bc Merge branch 'intl-ICU-emoji-work' 2018-05-04 22:42:31 +02:00
wolfbeast 9848a2ade7 Issue mcp-graveyard/UXP#325 Part 15: Remove ENABLE_INTL_API and EXPOSE_INTL_API flags. 2018-05-04 22:13:41 +02:00
wolfbeast df75025fd3 Make InitRuntimeNumberState's return type reflect its infallible nature. 2018-05-04 22:02:48 +02:00
wolfbeast 9107b1ef20 Issue mcp-graveyard/UXP#325 Part 14: Remove EXPOSE_INTL_API conditionals. 2018-05-04 21:47:32 +02:00
wolfbeast 2a9e08a1e5 Issue mcp-graveyard/UXP#325 Part 13: Remove Mozilla implementation of the bidi engine completely and use ICU. 2018-05-04 20:36:02 +02:00
wolfbeast 9301a21cac Issue mcp-graveyard/UXP#325 Part 12: Manually edit Unicode property tables.
Although this is generated code, the #ifdefs in it are blockers.
!! Do not regenerate these files until the script has been updated !!
See #326.
2018-05-04 17:57:48 +02:00
Moonchild 4389fd82a9 Merge pull request #327 from JustOff/PR_grep_invalid_option
Fix regex escaping in old-configure and js/src/old-configure
2018-05-04 17:55:14 +02:00
JustOff 466c4542b8 [PMkit] Fix Empty string passed to getElementById() warning in buttons.js 2018-05-04 18:24:47 +03:00
wolfbeast 592e247e27 Issue mcp-graveyard/UXP#325 Part 11: Fix up build files. 2018-05-04 17:22:03 +02:00
New Tobin Paradigm 742515c80e Merge pull request #329 from JustOff/PR_fullscreen_animation
Delay and shorten animation of transition to the full-screen
2018-05-04 11:17:50 -04:00
JustOff 85b7c2b49d Delay and shorten animation of transition to the full-screen 2018-05-04 18:05:37 +03:00
wolfbeast 79837ca4c7 Issue mcp-graveyard/UXP#325 Part 10: Remove non-Intl conditionals from installer files. 2018-05-04 16:48:08 +02:00
wolfbeast 5ecc513d82 Issue mcp-graveyard/UXP#325 Part 9: Remove non-Intl legacy code paths from nsNumberControlFrame. 2018-05-04 16:42:31 +02:00
JustOff 69a857e796 Fix regex escaping in old-configure and js/src/old-configure 2018-05-04 17:28:00 +03:00
wolfbeast 82265792fd Issue mcp-graveyard/UXP#325 Part 8: Remove non-Intl legacy code paths from nsChromeRegistry. 2018-05-04 16:20:00 +02:00
wolfbeast 0cd2744cc7 Issue mcp-graveyard/UXP#325 Part 7: Remove non-Intl legacy code paths from IndexedDB. 2018-05-04 16:15:59 +02:00
wolfbeast 193ddf88a9 Issue mcp-graveyard/UXP#325 Part 6: Remove non-Intl legacy code paths from line-breaker code. 2018-05-04 15:56:17 +02:00
wolfbeast 1ba29b619c Issue mcp-graveyard/UXP#325 Part 5: Remove non-Intl legacy code paths from js. 2018-05-04 15:50:01 +02:00
wolfbeast 1aa5736d7d Issue mcp-graveyard/UXP#325 Part 4: Remove obsolete and archaic Unicode normalization implementation. 2018-05-04 11:52:49 +02:00
wolfbeast cd96a3d778 Issue mcp-graveyard/UXP#325 Part 3: Remove support for using legacy Gecko normalization in gfxHarfBuzzShaper. 2018-05-04 10:38:17 +02:00
wolfbeast bc64aee14b Issue mcp-graveyard/UXP#325 Part 2: Build ICUUtils unconditionally. 2018-05-04 10:27:50 +02:00
wolfbeast c1e3cd2dbc Issue mcp-graveyard/UXP#325 Part 1: Remove the legacy non-IDNA2008 code path from nsIDNService. 2018-05-04 10:20:16 +02:00
wolfbeast fedb65b2c5 Remove the option to build without INTL/ICU
This resolves #324.
2018-05-04 10:08:02 +02:00
Moonchild 52ca144ff3 Merge pull request #323 from MoonchildProductions/nuke-sandbox
Nuke sandbox
2018-05-04 09:09:10 +02:00
wolfbeast 819529c6f3 Adjust tests for android-enabled Intl. 2018-05-03 21:45:55 +02:00
wolfbeast 14b122f0f6 Unconditionally switch on the INTL API on all platforms. 2018-05-03 21:40:14 +02:00
Moonchild 693bd69e49 Merge pull request #322 from trav90/ffmpeg-work
Add support for FFmpeg 4.0/libavcodec 58
2018-05-03 07:10:28 +02:00
wolfbeast 42fdbd2587 Remove unused sanbox l10n strings (about:support) 2018-05-03 06:37:05 +02:00
wolfbeast fa27fc550e Remove nsPluginTag::InitSandboxLevel 2018-05-03 06:28:57 +02:00
wolfbeast 6944711340 Remove unused XREShellData 2018-05-03 06:28:20 +02:00
wolfbeast ef997952e7 Nuke the sandbox 2018-05-03 05:55:15 +02:00
wolfbeast df9035ffca Remove sandbox ductwork conditional code. 2018-05-03 01:24:31 +02:00
Moonchild 26ed11ea6f Merge pull request #318 from janekptacijarabaci/pm_places_keyword_1
[PALEMOON] [frontend vs backend] Places - Fix: "Keyword" reset (to an empty value) does not work
2018-05-02 23:43:12 +02:00
Moonchild d3a362ec91 Merge pull request #319 from janekptacijarabaci/debug_warning_1
moebius#146: Building with "--enable-debug" - fix some warnings
2018-05-02 23:42:32 +02:00
wolfbeast 10cb379345 Remove GMP sandbox code. 2018-05-02 23:30:36 +02:00
wolfbeast 535b704dc6 Remove content process sandbox code. 2018-05-02 21:58:04 +02:00
Moonchild f4dbdfc9f1 Merge pull request #320 from janekptacijarabaci/instanceof_negations_1
palemoon#1173: Fix unsafe "instanceof" negations
2018-05-02 16:23:14 +02:00
janekptacijarabaci 470f0b3fc7 [PALEMOON] [frontend vs backend] Places - use "let" instead of "var" for the entire function "onKeywordFieldBlur"
Issue mcp-graveyard/UXP#121
2018-05-02 14:09:55 +02:00
janekptacijarabaci 3a8979182c [PALEMOON] [frontend vs backend] Places - Fix: "Keyword" reset (to an empty value) does not work
Issue mcp-graveyard/UXP#121
2018-05-02 13:46:17 +02:00
janekptacijarabaci 33f5671d44 Building with "--enable-debug" - fix some warnings
https://github.com/MoonchildProductions/moebius/pull/146
https://github.com/MoonchildProductions/Pale-Moon/pull/1400
2018-05-02 07:08:14 +02:00
janekptacijarabaci c22297a858 Fix unsafe "instanceof" negations
https://github.com/MoonchildProductions/Pale-Moon/pull/1173
2018-05-02 06:57:57 +02:00
Matt A. Tobin 347fc9f46a [TychoAM] Do not allow Jetpack extensions to install if Jetpack isn't actually built
This does not cover the previous case of an application dropping jetpack support.. This follows the WebExtension route. A new case will have to be redeveloped if an existing application drops jetpack support.
2018-05-01 23:37:13 -04:00
Matt A. Tobin 6ad53c9709 Un-depercate synchronous search initialization 2018-05-01 18:08:22 -04:00
Matt A. Tobin c46bba5505 [TychoAM] Make the Add-ons Manager conditionally devtools free 2018-05-01 16:14:17 -04:00
Matt A. Tobin 1680379af5 Issue mcp-graveyard/UXP#316 - Always build heapsnapshot regardless of the rest of the devtools for now 2018-05-01 15:53:52 -04:00
Matt A. Tobin d8d8616c32 Only set and show the dual-guid indicators when dual-guid has been built 2018-05-01 12:26:01 -04:00
Matt A. Tobin dd49c66a76 [PALEMOON] Update error number for webextensions to match the platform 2018-05-01 10:09:10 -04:00
Moonchild 702099eb95 Merge pull request #313 from JustOff/PR_fullscreen_fix_basic
Align Pale Moon codebase with the updated fullscreen API
2018-05-01 15:56:01 +02:00
JustOff e29935c207 [PALEMOON] Align the application with the updated fullscreen API 2018-05-01 14:30:38 +03:00
JustOff 5733e9665e [PALEMOON] Use CSS transition instead of JS animation for hiding toolbox in fullscreen mode and simplify related code 2018-05-01 14:26:54 +03:00
JustOff a2132ffb3a [PALEMOON] Added padding to toolbar autohide 2018-05-01 14:14:41 +03:00
JustOff 1c68d73d29 [PALEMOON] fullscr-toggler element needs to be hidden in DOM fullscreen 2018-05-01 14:08:41 +03:00
Moonchild e8167218cc Merge pull request #309 from janekptacijarabaci/build_warnings_4
Build - throws a warning "interface 'nsISelectionPrivate' is scriptable but derives from non-scriptable 'nsISelection'"
2018-05-01 09:55:55 +02:00
Moonchild bd7085e3f4 Merge pull request #307 from janekptacijarabaci/pm_nsBrowserGlue_1
[PALEMOON] Added gBrandBundle lazy getter and use gBrowserBundle in nsBrowserGlue.js
2018-05-01 09:55:37 +02:00
Moonchild 4b94eb43b2 Merge pull request #306 from JustOff/PR_owner_triggeringPrincipal
[PALEMOON] Replace `owner` with `triggeringPrincipal` to match the updated API
2018-05-01 09:55:22 +02:00
Moonchild 4f9908f44c Merge pull request #312 from janekptacijarabaci/pm_feeds_1
[PALEMOON] Fix feeds - "Subscribe to this page..."
2018-05-01 09:54:46 +02:00
Moonchild 070bae7256 Merge pull request #311 from janekptacijarabaci/security_blocking_data_2
Use asyncOpen2() for docshell loads
2018-05-01 09:53:46 +02:00
janekptacijarabaci fd11a42369 [PALEMOON] Fix feeds - "Subscribe to this page..."
Issue mcp-graveyard/UXP#121
2018-05-01 08:02:38 +02:00
janekptacijarabaci 35ada9f0ea Bug 1344706 - Do not reuse originPrincipal as triggeringPrincipal within utilityOverlay.js 2018-05-01 00:22:01 +02:00
janekptacijarabaci 3ea8f8554b Bug 1333726 - use serializeToString instead of non-existant serializePrincipal 2018-05-01 00:16:47 +02:00
janekptacijarabaci de9717f30c Bug 1331686 - Pass correct triggeringPrincipal for tabs openen through ctrl-click and open link in new tab 2018-05-01 00:15:28 +02:00
janekptacijarabaci 86b189c23f Bug 1332595 - remove useless click handling 2018-05-01 00:01:56 +02:00
janekptacijarabaci 626630139c Bug 1348801: Teach TriggeringPrincipal about OA when opening link in private window 2018-04-30 23:58:51 +02:00
janekptacijarabaci 3d2a7b5b2a Bug 1359204 - Test view-source can open link is not blocked by security policies 2018-04-30 23:56:11 +02:00
janekptacijarabaci ba49a98980 Bug 1359204 - Use SystemPrincipal as TriggeringPrincipal when loading page as view-source 2018-04-30 23:54:01 +02:00
janekptacijarabaci 23b91510e1 Bug 1359204 - Do not query nested URI within CheckChannel in ContentSecurityManager 2018-04-30 23:53:22 +02:00
janekptacijarabaci d09f68fdef Bug 1343279 - Use SystemPrincipal when loading canvasToBlobURL 2018-04-30 23:52:21 +02:00
janekptacijarabaci 6f75c4c222 Bug 1333147 - Do not use owner as triggeringPrincipal when creating session history entry 2018-04-30 23:49:41 +02:00
janekptacijarabaci 9c400765f1 Bug 1232432 - Convert feeds/feedConverter to use asyncOpen2() 2018-04-30 23:48:34 +02:00
janekptacijarabaci dddbaf0755 Bug 1334875 - Temporarily remove assertion that history loads pass a valid triggeringprincipal 2018-04-30 23:48:06 +02:00
janekptacijarabaci 720b3a92a0 Bug 1341754: Test SetURI in Location passes triggeringPrincipal 2018-04-30 23:13:51 +02:00
janekptacijarabaci 140519625e Bug 1341754: Provide a valid triggeringPrincipal when calling SetURI in Location 2018-04-30 23:11:43 +02:00
janekptacijarabaci 56bbff80c2 Bug 1341589 - Test TriggeringPrincipal on history entry for view-source loads 2018-04-30 23:10:01 +02:00
janekptacijarabaci c55afb5c30 Bug 1341589 - Set triggeringPrincipal on history entry for view-source loads 2018-04-30 23:08:16 +02:00
janekptacijarabaci 0b8174b2e3 Bug 1337622 - Temporarily fall back to SystemPrincipal if History entry does not have a valid triggeringPrincipal 2018-04-30 23:06:51 +02:00
janekptacijarabaci d2029af2f9 Bug 1307736 - Store triggeringPrincipal with all history entries 2018-04-30 23:05:55 +02:00
janekptacijarabaci b6684362f2 Bug 1307736 - Ensure History loads pass valid triggeringPrincipal 2018-04-30 23:02:01 +02:00
janekptacijarabaci fb219e20a9 Bug 1332310 - Update AddState and CreateContentViewer to provide an accurate triggeringPrincipal for creating a history entry 2018-04-30 23:00:04 +02:00
janekptacijarabaci 0e5676bcb5 Bug 1329032 - Extend loadURIWithOptions by a triggeringPrincipal (without an hard e10s) 2018-04-30 22:57:23 +02:00
janekptacijarabaci 4fba669710 Bug 1182569: Add credentials mode for fetch-frame-resource.https.html wpt test 2018-04-30 22:21:34 +02:00
janekptacijarabaci 606fbd8047 Bug 1182569: Disable hsts priming for loads of type subdocument for wpt tests 2018-04-30 22:20:14 +02:00
janekptacijarabaci bfe14369c4 Bug 1182569: Update tests when converting docshell loads to use AynscOpen2 2018-04-30 22:12:53 +02:00
janekptacijarabaci 26a4e1ad38 Bug 1182569 - Skip security check for plugins using newstream attribute 2018-04-30 22:09:55 +02:00
janekptacijarabaci f5fd7588ff Bug 1182569: Update ContentSecurityManager to handle docshell loads 2018-04-30 21:04:56 +02:00
janekptacijarabaci e67ceb18e0 Bug 1182569: Use AsyncOpen2 for docshell loads 2018-04-30 21:00:21 +02:00
janekptacijarabaci e20dc1dd88 [PALEMOON] Added gBrandBundle lazy getter and use gBrowserBundle in nsBrowserGlue.js
Tag mcp-graveyard/UXP#273
2018-04-30 16:56:27 +02:00
JustOff 64363538d8 [PALEMOON] Replace serializing nsISHEntry.owner with nsISHEntry.triggeringPrincipal 2018-04-30 17:26:04 +03:00
JustOff 84dea53335 [PALEMOON] Replace owner with triggeringPrincipal to match the updated UXP docshell 2018-04-30 17:24:47 +03:00
janekptacijarabaci 9676421e78 Bug 338865 - Scriptable XPIDL iface inheriting from noscript iface should throw error 2018-04-30 15:02:56 +02:00
janekptacijarabaci 2527a3cb45 Bug 1216885 - Make nsISelectionPrivate not inherit from nsISelection 2018-04-30 15:00:01 +02:00
New Tobin Paradigm c0db572d1a Merge pull request #299 from janekptacijarabaci/pm_permissions_2_style-clean-up
[PALEMOON] [frontend vs backend] Remove unused styles for Push Notifications
2018-04-30 07:22:38 -04:00
Matt A. Tobin 33c665c292 [PALEMOON] Add required gBrowserBundle lazy getter in nsBrowserGlue.js 2018-04-30 07:19:29 -04:00
New Tobin Paradigm 8bce870f59 Merge pull request #300 from janekptacijarabaci/build_warnings_3
[PALEMOON] Fix a build warning for autocomplete.css
2018-04-30 03:48:27 -04:00
Moonchild 1b5d3219bb Merge pull request #301 from janekptacijarabaci/html_input_datetime_4
[regression] [follow up] Error: No such property on self-hosted object: "Intl_getDisplayNames"
2018-04-30 09:40:22 +02:00
janekptacijarabaci 843bd5871d The preprocessor will be used for content/browser/autocomplete.xml
https://github.com/MoonchildProductions/UXP/pull/300#issuecomment-385325335
2018-04-30 09:11:14 +02:00
janekptacijarabaci e36835428d Fix typo in variables in datetimepopup.xml
Issue mcp-graveyard/UXP#162
2018-04-30 09:02:11 +02:00
janekptacijarabaci 3a5f04afc2 [regression] [follow up] Error: No such property on self-hosted object: "Intl_getDisplayNames"
Issue mcp-graveyard/UXP#162 and #264
2018-04-30 09:00:49 +02:00
janekptacijarabaci 08331ab8df Fix a build warning for autocomplete.css a autocomplete.xml 2018-04-30 08:56:00 +02:00
Matt A. Tobin f5085e2f09 [PALEMOON] Issue mcp-graveyard/UXP#283 - Pale Moon Shell Service is not invoking defalt client check on start 2018-04-30 02:50:07 -04:00
janekptacijarabaci 330ce44ca4 [PALEMOON] [frontend vs backend] Remove unused styles for Push Notifications
https://github.com/MoonchildProductions/UXP/pull/273#issuecomment-385267814
2018-04-30 07:15:39 +02:00
Matt A. Tobin 538b90fb3c [*AM] Expand the list for excluding internally used IDs from being sent to AUS 2018-04-29 22:35:29 -04:00
wolfbeast ed41782429 Reconfigure Pale Moon to short-circuit some undesired services/features. 2018-04-30 02:51:19 +02:00
Moonchild eea5a8ff69 Merge pull request #297 from janekptacijarabaci/css_text-justify_1
CSS - implement text-justify property
2018-04-29 18:52:17 +02:00
Moonchild b036a613d8 Merge pull request #296 from janekptacijarabaci/js_dom_animationcancel_1
DOM - implement animationcancel event
2018-04-29 18:48:43 +02:00
Moonchild f8686da310 Merge pull request #287 from SpockMan02/patch-1
Issue mcp-graveyard/UXP#286 - Incorrect filepath
2018-04-29 18:25:59 +02:00
Moonchild f72bdf900c Merge pull request #295 from janekptacijarabaci/_native_52ESR_events_auxclick_1
UI Events - implement auxclick
2018-04-29 17:02:53 +02:00
wolfbeast a330782da4 Create a 1px overlap between tab center and start/end backgrounds.
This visual overlap prevents gaps due to rounding of pixel borders when rounded tab "borders" are exactly flush.
This resolves #268.
2018-04-29 15:45:50 +02:00
Moonchild 93ecdac4f8 Merge pull request #294 from janekptacijarabaci/js_dom_performance-resource-timing_2
moebius#161: The Performance Resource Timing (make timestamps be relative to startTime)
2018-04-29 14:44:39 +02:00
Moonchild f0f7161bc0 Merge pull request #293 from janekptacijarabaci/js_dom_performance-resource-timing_1
moebius#158: The Performance Resource Timing (added support for "workerStart")
2018-04-29 14:44:20 +02:00
Moonchild a6124e2043 Merge pull request #292 from janekptacijarabaci/js_dom_performance-observer_1
moebius#157: The Performance Observer (improvements)
2018-04-29 14:44:02 +02:00
janekptacijarabaci 68691179f2 moebius#161: The Performance Resource Timing (make timestamps be relative to startTime)
https://github.com/MoonchildProductions/moebius/pull/161
2018-04-29 14:15:18 +02:00
Bryce Van Dyk 322c36002f Bug 1453127 - Do not use iterators in MediaStreamTrack when removing listeners. r=pehrsons a=lizzard
--HG--
extra : source : 6b3aaee40f7507e240da08d6e073cff3c53971f4
extra : intermediate-source : 59e50af7afe19f827dd687ea097d5ba551ab0b1d
2018-04-29 13:41:40 +02:00
Jeff Walden 1a96f087d4 Bug 1452619 - Implement mozilla::IsAsciiAlpha. r=froydnj, a=lizzard 2018-04-29 13:39:27 +02:00
wolfbeast 619a88109e Bug 1411415. 2018-04-29 13:39:11 +02:00
wolfbeast 72f876a8b0 Move --enable-tests out of Python configure and flip the default. 2018-04-29 13:27:12 +02:00
wolfbeast 6fdb7c67c8 Create /docs and move contributing guideline to it. 2018-04-29 13:12:21 +02:00
Moonchild 9ffda7a13d Merge pull request #291 from adeshkp/buildid-mac
[Pale Moon] Fix buildid on Mac
2018-04-29 13:09:36 +02:00
Moonchild c923112cb2 Merge pull request #289 from janekptacijarabaci/pm_referrerPolicy_1
[PALEMOON] [frontend vs backend] Added support for "referrerPolicy"
2018-04-29 13:09:20 +02:00
Moonchild ddf50f0a02 Merge pull request #284 from JustOff/PR_gInitialPages
Fix lexical scope of `gBrowser.gInitialPages`
2018-04-29 13:08:06 +02:00
Moonchild ea26fa2c7e Merge pull request #281 from janekptacijarabaci/pm_devtools_storage_mapURIToAddonId_1
[PALEMOON] [DevTools] Storage inspector throws "AddonPathService.mapURIToAddonId is not a function" when url changes
2018-04-29 13:07:33 +02:00
janekptacijarabaci e6d730a045 Bug 1321261 - partially - "using namespace mozilla"
https://hg.mozilla.org/mozilla-central/diff/9ad9c6b4c8d6/dom/base/nsDOMNavigationTiming.cpp
2018-04-29 12:39:51 +02:00
janekptacijarabaci be62a9ef96 Bug 1322292 - Some fixes for the Performance API in workers - part 3 - TimeStampToDOMHighRes() in workerPrivate
https://hg.mozilla.org/mozilla-central/rev/b827e4d0dc73
2018-04-29 12:35:55 +02:00
janekptacijarabaci bbfc913b88 Bug 1322292 - Some fixes for the Performance API in workers - part 2 - Get rid of NowBaseTimeStamp()
https://hg.mozilla.org/mozilla-central/rev/301231f4165a
2018-04-29 12:32:19 +02:00
janekptacijarabaci 4cc7ba03de Bug 1322292 - Some fixes for the Performance API in workers - part 1 - Centralized Performance.now()
https://hg.mozilla.org/mozilla-central/rev/291a68ca4825
2018-04-29 12:26:49 +02:00
janekptacijarabaci 4f230aa917 Bug 1313420 - Implement Performance.timeOrigin - part 4 - tests
https://hg.mozilla.org/mozilla-central/rev/49305a317143
2018-04-29 12:20:22 +02:00
janekptacijarabaci 6427a39853 Bug 1313420 - Implement Performance.timeOrigin - part 3 - tests
https://hg.mozilla.org/mozilla-central/rev/0f869d4c93ef
2018-04-29 12:19:25 +02:00
janekptacijarabaci 36eb628b29 Bug 1313420 - Implement Performance.timeOrigin - part 2 - tests
https://hg.mozilla.org/mozilla-central/rev/c22f17e0db9d
2018-04-29 12:18:35 +02:00
janekptacijarabaci 8622189629 Bug 1313420 - Implement Performance.timeOrigin - part 1
https://hg.mozilla.org/mozilla-central/rev/cf0f72f0b0be
2018-04-29 12:15:36 +02:00
janekptacijarabaci b07b31a3cf Bug 1323941 - navigationStart should not be exposed to workers as timing attribute
https://hg.mozilla.org/mozilla-central/rev/6be7eb833b11
2018-04-29 12:11:55 +02:00
janekptacijarabaci f4ab027e40 Bug 1322966 - Cleanup performance.cpp
https://hg.mozilla.org/mozilla-central/rev/0ad76084c4c3
2018-04-29 12:07:20 +02:00
janekptacijarabaci 689b4d1985 Bug 1317297 - nextHopProtocol is an empty string for local fetch
https://hg.mozilla.org/mozilla-central/rev/9e5cd2bf4d66
2018-04-29 11:59:22 +02:00
janekptacijarabaci 57b83d2f06 moebius#158: The Performance Resource Timing (added support for "workerStart")
https://github.com/MoonchildProductions/moebius/pull/158
2018-04-29 11:49:50 +02:00
adeshkp 52c8bfa512 [Pale Moon] Fix buildid on Mac 2018-04-29 04:06:08 -04:00
janekptacijarabaci a78976f0ab Merge branch 'master' of https://github.com/MoonchildProductions/UXP into js_dom_performance-resource-timing_1 2018-04-29 09:07:42 +02:00
janekptacijarabaci ed65cfd829 [PALEMOON] [frontend and backend] Added support for "referrerPolicy"
Issue mcp-graveyard/UXP#121
https://bugzilla.mozilla.org/show_bug.cgi?id=1113431
2018-04-29 08:37:49 +02:00
Matt A. Tobin 80a1c2cdd3 [TychoAM] Fix gCertBlocklistService.addRevokedCert is not a function
Mozilla renamed it to revokeCertByIssuerAndSerial
2018-04-28 18:19:42 -04:00
trav90 9b016fe930 Add support for libavcodec 58/FFmpeg 4.0 2018-04-28 14:20:52 -05:00
trav90 58564dd0b4 Import FFmpeg 4.0 header files 2018-04-28 13:52:30 -05:00
SpockMan02 7aa612be69 Issue mcp-graveyard/UXP#286 - Incorrect filepath 2018-04-28 18:41:30 +00:00
JustOff 16dbf43f19 Fix the lexical scope of gBrowser.gInitialPages 2018-04-28 19:05:11 +03:00
wolfbeast b2e6bac63e Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-04-28 17:57:18 +02:00
wolfbeast f702576619 Merge branch 'malloc-rewrite'
This resolves #263.
2018-04-28 17:57:05 +02:00
wolfbeast f194a15a91 Use SRWlocks for mutexes in cairo on Windows. 2018-04-28 17:55:10 +02:00
Moonchild f8d787e26a Merge pull request #282 from JustOff/PR_urlbarChangeTracker
[PALEMOON] Use `urlbarChangeTracker` instead of `userTypedClear` to track address bar changes
2018-04-28 16:23:20 +02:00
Moonchild 064aafa652 Merge pull request #280 from janekptacijarabaci/devtools_storage_style-clean-up_1
[DevTools] Storage - style clean up - a check of the variable to see if it exists
2018-04-28 16:19:14 +02:00
Moonchild 7e4df220c9 Merge pull request #279 from janekptacijarabaci/pm_devtools_storage_style-clean_up_1
[PALEMOON] [DevTools] Storage inspector throws an error when url changes
2018-04-28 16:18:55 +02:00
Moonchild d295225c19 Merge pull request #278 from janekptacijarabaci/devtools_storage_arrow-keys_1
[DevTools] Storage inspector throws an error when use arrow keys
2018-04-28 16:18:19 +02:00
Moonchild f090351e69 Merge pull request #276 from janekptacijarabaci/pm_url_1
[PALEMOON] [frontend vs backend] Change a function "getShortcutOrURI" to "getShortcutOrURIAndPostData", fix Drag & Drop and a function "Copy Download Link"
2018-04-28 16:17:54 +02:00
wolfbeast b2fd0dfa55 Use SRWlocks for js mutexes on Windows. 2018-04-28 15:45:56 +02:00
wolfbeast 0acbd6a2b8 Use slim reader/writer locks instead of critical sections. 2018-04-28 14:21:19 +02:00
JustOff f7946b27c3 Use urlbarChangeTracker instead of userTypedClear to track address bar changes 2018-04-28 14:41:28 +03:00
wolfbeast ec31625a15 Remove the unused and rudimentary arena load balancer.
Lock contention is not something we'd easily have to deal with in our application.
This simplifies our code.
2018-04-28 13:17:57 +02:00
janekptacijarabaci 9bfc4f358c [DevTools] Storage - style clean up - a check of the variable to see if it exists (an empty line)
Issue mcp-graveyard/UXP#102
2018-04-28 12:53:10 +02:00
janekptacijarabaci 5b407ce02a Bug 1263935 - Forward AddonManager.mapURIToAddonId to AddonPathService.mapURIToAddonId
Issue mcp-graveyard/UXP#102
2018-04-28 12:47:07 +02:00
janekptacijarabaci 9cf46ee91f Bug 1263935 - Expose native version of mapURIToAddonId via amIAddonPathService
Issue mcp-graveyard/UXP#102
2018-04-28 12:46:29 +02:00
janekptacijarabaci 3f6cb54b54 [PALEMOON] [DevTools] Storage inspector throws an error when url changes
Issue mcp-graveyard/UXP#102
2018-04-28 12:29:07 +02:00
janekptacijarabaci e322ad4e08 [DevTools] Storage - style clean up - a check of the variable to see if it exists
Issue mcp-graveyard/UXP#102
2018-04-28 12:27:35 +02:00
janekptacijarabaci 5adb87d597 [DevTools] Storage inspector throws an error when use arrow keys
Issue mcp-graveyard/UXP#102
2018-04-28 12:23:00 +02:00
janekptacijarabaci 3164ff38f3 [PALEMOON] Fix a function "middleMousePaste" ("Save") in browser.js 2018-04-28 11:12:58 +02:00
janekptacijarabaci 9f2fe08337 [PALEMOON] Fix typo in tabbrowser.xml 2018-04-28 10:28:44 +02:00
janekptacijarabaci 9147c49674 [PALEMOON] Style clean up in browser.js 2018-04-28 10:06:44 +02:00
wolfbeast 7dbc1a55e5 Make our allocator use multiple arenas based on number of CPU cores. 2018-04-28 08:59:44 +02:00
Moonchild 76b5178199 Merge pull request #274 from JustOff/PR_AboutRedirector_NewChannel_LoadInfo
Provide LoadInfo for NewChannel() call in 'about' protocol handler
2018-04-28 08:23:08 +02:00
janekptacijarabaci 02f3035d9c Merge branch 'master' of https://github.com/MoonchildProductions/UXP into pm_url_1 2018-04-28 07:38:20 +02:00
wolfbeast 842dc51e05 Remove jemalloc 4 leftover conditional. 2018-04-27 23:34:26 +02:00
wolfbeast 0228539188 Remove single-threaded considerations.
We assume our applications are always going to have multithreaded access to the malloc.
2018-04-27 22:56:03 +02:00
wolfbeast 655d4538ef Update credits in BSD-licensed files. 2018-04-27 22:49:31 +02:00
wolfbeast 56b2c051da Remove jemalloc 4 leftover conditional. 2018-04-27 22:48:34 +02:00
wolfbeast b20ad4cd21 Remove MOZ_REPLACE_JEMALLOC
This was only defined when building jemalloc4 as a replace-malloc library.
2018-04-27 20:23:28 +02:00
wolfbeast f065bc977c Remove jemalloc 4 from our tree. 2018-04-27 19:16:45 +02:00
Moonchild 1ec4aa3985 Merge pull request #275 from trav90/ffvpx-resync
Resync ffvpx code with 3.4.2-release from upstream
2018-04-27 19:15:26 +02:00
trav90 e6f4482dfc Update CLOBBER after ffvpx update 2018-04-27 08:23:18 -05:00
JustOff 314a76e67f Provide LoadInfo for NewChannel() call in 'about' protocol handler 2018-04-27 15:58:24 +03:00
wolfbeast 01bbd6e586 Remove support for making jemalloc4 the default memory allocator. 2018-04-27 13:56:47 +02:00
Moonchild f9693a1bcb Merge pull request #273 from janekptacijarabaci/pm_permissions_1
[PALEMOON] [frontend vs backend] Fix "Permissions Manager" and permissions
2018-04-27 13:03:12 +02:00
janekptacijarabaci 07728e16b5 [PALEMOON] Remove "dom.push.enabled" from aboutPermissions.js (consolidated to "dom.webnotifications.enabled") 2018-04-27 11:13:16 +02:00
janekptacijarabaci b809b84693 [PALEMOON] Remove double rows from aboutPermissions.js 2018-04-27 10:24:32 +02:00
janekptacijarabaci c7de56487a Merge branch 'master' of https://github.com/MoonchildProductions/UXP into pm_permissions_1 2018-04-27 10:11:35 +02:00
Moonchild fc408bc214 Merge pull request #272 from janekptacijarabaci/pm_css_inContentUI_1
[PALEMOON] [frontend vs backend] Fix of non-existent CSS files
2018-04-27 08:58:30 +02:00
Moonchild db0a3dda03 Merge pull request #271 from janekptacijarabaci/pm_tab_move_1
[PALEMOON] [frontend vs backend] Move tab to a new window does not work properly
2018-04-27 08:58:12 +02:00
janekptacijarabaci 7752e99017 [PALEMOON] [frontend vs backend] Fix of non-existent CSS files (follow up - use preprocessing for OSX and windows)
Issue mcp-graveyard/UXP#121
2018-04-27 05:42:32 +02:00
Matt A. Tobin bb56e1023d Partially revert 1ef526f0f - sftkpwd.c
#82 #265
2018-04-26 19:23:01 -04:00
trav90 2a020e3bcb Bump VP9 benchmark version ID 2018-04-26 16:56:57 -05:00
trav90 de3a47e6af [ffvpx] Update resync documentation 2018-04-26 16:56:17 -05:00
trav90 ff0cb0f984 [ffvpx] Re-generate config_*.{h,asm} files 2018-04-26 16:55:30 -05:00
trav90 610ec3b91c [ffvpx] Re-enable assembly optimized code
It was inadvertently disabled in 8b37a1bc30.
2018-04-26 16:54:31 -05:00
trav90 ac0b5252b4 [ffvpx] Compile ffvpx lib with -ffreestanding to avoid triggering a clang bug 2018-04-26 16:53:28 -05:00
trav90 11dfa400c4 [FFmpeg] Add a preemptive stdlib.h include in our libavutil_visibility.h hackaround file 2018-04-26 16:52:38 -05:00
trav90 64821068ea [FFmpeg] Work around a bug with corrupted data
According to FFmpeg documentation, the out parameter is "set to size of parsed buffer or zero if not yet finished." however this is only the case if no error occurred; otherwise it is left untouched. We want the invalid content to generate a decoding error, so we set size to inputSize to ensure decoding failed later.
2018-04-26 16:51:50 -05:00
trav90 1e50396c1b [ffvpx] Remove some files we don't need 2018-04-26 16:50:57 -05:00
trav90 c6fdb4d54c [ffvpx] Update ffvp9/ffvp8 to 3.4.2-release
Structure of code was slightly modified so that it should be no longer necessary to re-generate the config_*.h files, greatly simplifying the resync process in the future.
2018-04-26 16:49:15 -05:00
trav90 f596cb9f1d [ffvpx] Restore AVOptions and dictionary features
FFmpeg requires specific default values in AVCodecContext to be set. Instead of manually setting these each time we resync with upstream, let's use FFmpeg's own AVOptions which automatically sets all the values to their default.
2018-04-26 16:46:31 -05:00
trav90 a7417bdb29 [ffvpx] Revert Mozilla hack in FFmpeg code
This hack was added by Mozilla to work around a potential data race, however the root cause was fixed by upstream in release 3.4 so this hack is no longer needed.
2018-04-26 16:45:18 -05:00
janekptacijarabaci 713b0dfec0 [PALEMOON] [frontend vs backend] Fix of non-existent CSS files
Issue mcp-graveyard/UXP#121
2018-04-26 23:30:48 +02:00
janekptacijarabaci 4f91f400e1 [PALEMOON] Bug 723951 - Popup notification does not continue when the tab move to other window
Issue mcp-graveyard/UXP#121
2018-04-26 23:12:13 +02:00
janekptacijarabaci 7e0b8f308a Bug 1288557 - Part 1: Replace custom exceptions dialog with usage of permissions 2018-04-26 22:45:38 +02:00
janekptacijarabaci 3d2808bcea Bug 1288557 - Part 0: Fix permissions dialog while receiving deleted event 2018-04-26 22:45:12 +02:00
janekptacijarabaci 2270470c61 Merge branch 'master' of https://github.com/MoonchildProductions/UXP into pm_permissions_1 2018-04-26 21:47:05 +02:00
wolfbeast b824b12ccf Remove support for system jemalloc. 2018-04-26 17:59:36 +02:00
janekptacijarabaci 9e8aa3fded [follow up] Bug 1216684 - Notification permissions ... in private windows - implemented "_getBrowserForRequest" function (e10 off only) 2018-04-26 17:12:33 +02:00
Moonchild 0f4c8c3586 Merge pull request #269 from adeshkp/button_messages
Improve some button labels in preferences
2018-04-26 16:46:59 +02:00
janekptacijarabaci 0def2518b2 [PALEMOON] Preferences: Fix permissions.xul (an introductory comment) 2018-04-26 16:33:40 +02:00
janekptacijarabaci 6cd5fe4c8a [follow up] Bug 1192458, Part 1 - Consolidate push and desktop notification permissions 2018-04-26 16:06:38 +02:00
janekptacijarabaci 26b478e433 [follow up] Bug 1216271 - Display a notification upon upgrade for users who currently allow notifications for at least one site 2018-04-26 16:06:24 +02:00
wolfbeast 2e6374669b Make github file all caps 2018-04-26 14:37:47 +02:00
wolfbeast 21cf6f44d4 Add github contributing guidelines 2018-04-26 14:26:35 +02:00
janekptacijarabaci 59724a7347 [PALEMOON] Permisions Manager: Added a comment 2018-04-26 12:52:13 +02:00
janekptacijarabaci f828830e2e Bug 1280775 - null check in removePermission to prevent crash: permission manager change 2018-04-26 12:40:03 +02:00
janekptacijarabaci 2f446b6553 Bug 1212610 - Fix sorting permissions by site due a legacy property name being referenced 2018-04-26 12:38:26 +02:00
janekptacijarabaci 4f0eed413b Bug 1190175 - Update offlineapp listbox to display origin property 2018-04-26 12:37:44 +02:00
janekptacijarabaci 4e9de136b1 Bug 1189073 - Handle entering 'localhost:12345' into the cookie exceptions dialog correctly 2018-04-26 12:36:58 +02:00
janekptacijarabaci 751647f59a Bug 1185365 - Correctly deal with full URLs in the cookie exceptions dialog 2018-04-26 12:35:55 +02:00
janekptacijarabaci f5431481b8 Bug 1173523 - Part 9: Update pageinfo to use the new API for nsIPermission 2018-04-26 12:30:42 +02:00
janekptacijarabaci e2e33764e1 Bug 1173523 - Part 7: Update advanced.js to use new API for nsIPermission 2018-04-26 12:29:03 +02:00
janekptacijarabaci 2790988990 Bug 1173523 - Part 5: Update the preferences permissions UI to use new API for nsIPermission (+ fix typos) 2018-04-26 12:26:15 +02:00
janekptacijarabaci 76f834df64 Bug 1173523 - Part 4: Update about:permissions to use new API for nsIPermission 2018-04-26 12:17:41 +02:00
janekptacijarabaci b92b86bc28 Bug 1173523 - Part 3: Update PluginContent to use new API for nsIPermission 2018-04-26 10:38:41 +02:00
janekptacijarabaci d35d24d691 Bug 1221330 - Show the app icon in the XUL upgraded notifications alert 2018-04-26 10:23:42 +02:00
janekptacijarabaci 6cb2a40dd1 Bug 1220884 - Friendlier string for the notification upgrade UI 2018-04-26 10:22:48 +02:00
janekptacijarabaci 3fab1df3de Bug 1216271 - Follow-up to add L10N notes and fix style to use an early return 2018-04-26 10:21:56 +02:00
janekptacijarabaci 768e145555 Bug 1216271 - Display a notification upon upgrade for users who currently allow notifications for at least one site 2018-04-26 10:21:03 +02:00
janekptacijarabaci 5881c978f1 Bug 1216684 - Notification permissions cannot be global granted/denied in private windows 2018-04-26 10:11:19 +02:00
janekptacijarabaci 6c2b0bc1c8 Bug 1192458, Part 2 - New icon for consolidated notification permission 2018-04-26 10:07:36 +02:00
janekptacijarabaci 18baf94eb6 Bug 1192458, Part 1 - Consolidate push and desktop notification permissions 2018-04-26 09:54:20 +02:00
adeshkp 2f90080f43 [Toolkit] Change button labels in password manager 2018-04-26 01:53:49 -04:00
adeshkp 315f5bc0e0 [Basilisk] Change button labels in cookies dialog 2018-04-26 01:49:13 -04:00
adeshkp 003dd19756 [Pale Moon] Change button labels in cookies dialog 2018-04-26 01:48:38 -04:00
janekptacijarabaci 696b256d5f Bug 661831 - In about:permissions, make Ctrl+f focus the filter box instead of invoking the find bar 2018-04-26 07:25:09 +02:00
janekptacijarabaci 74b3caf563 Bug 1170200 - Part 2: Update JavaScript consumers of nsIPermissionManager::Remove 2018-04-26 07:16:10 +02:00
janekptacijarabaci ac73593792 Bug 1039540 - Disable the sorting of rows of sub-dialogs when right clicking (+ style clean up) 2018-04-26 07:12:25 +02:00
janekptacijarabaci 597a985305 Bug 1137870 - Fix mismatching argument counts in permissions.js (partially) 2018-04-26 07:08:26 +02:00
janekptacijarabaci 40823abb1e Bug 340432 - Add the ability to cancel site permission changes 2018-04-26 07:06:14 +02:00
janekptacijarabaci 6f76c5bb3a Bug 574460 - Fix handling of permission deletion notifications in preference dialogs 2018-04-26 06:42:11 +02:00
janekptacijarabaci b9b485f6c0 Bug 431901 - Update preference dialogs to treat backspace and delete equivalently on Mac OS X 2018-04-26 06:35:21 +02:00
janekptacijarabaci 8fb5f434d4 Bug 1006461 - Fix handling of permission notifications in preference dialogs 2018-04-26 06:33:40 +02:00
janekptacijarabaci ec33ee7ff9 Bug 956151 - Remove the perm attribute in permissions.js 2018-04-26 06:32:22 +02:00
janekptacijarabaci 59dced479e Bug 1038811 - Push Notifications (observer) 2018-04-26 06:19:39 +02:00
janekptacijarabaci 94f79e11ed Bug 1038811 - Push Notifications - Firefox front end changes for preferences, and permission notification 2018-04-26 06:17:52 +02:00
janekptacijarabaci ab3a55ec44 Bug 1115293 - Use "use strict" 2018-04-26 05:40:26 +02:00
janekptacijarabaci 79391d312d Bug 996448 - Lazify the loading of PluralForm.jsm everywhere 2018-04-26 05:39:27 +02:00
janekptacijarabaci 8c22512037 [PALEMOON] [frontend vs backend] Downloads: Fix - the context menu - "Copy Download Link"
Issue mcp-graveyard/UXP#121
2018-04-26 00:19:51 +02:00
wolfbeast 9322f33dc6 Disable TLS 1.3 by default for now until our NSS can be updated to the latest spec. 2018-04-25 21:36:59 +02:00
wolfbeast 4e468b2d8d Revert "Update NSPR to 4.18"
This reverts commit 8781f74555.
2018-04-25 21:33:57 +02:00
wolfbeast c2e9c1f794 Revert "Update NSS to 3.35-RTM"
This reverts commit f1a0f0a56f.
2018-04-25 21:33:33 +02:00
wolfbeast 0365228bfa Revert "Update build system files for NSS 3.35"
This reverts commit a910f57af6.
2018-04-25 21:33:09 +02:00
janekptacijarabaci efcc6f3662 Bug 1243445 - Pasting an invalid URL breaks the Downloads View in the Library
Issue mcp-graveyard/UXP#121
2018-04-25 20:27:42 +02:00
janekptacijarabaci 9636ca9029 Bug 945707 - Pausing a download fails when done after a retry + follow up (see the description)
Issue mcp-graveyard/UXP#121
[follow up] Bug 92737 - Part 9: Download multiple files when multiple
items are dropped on Downloads view in Library Window
2018-04-25 16:05:19 +02:00
janekptacijarabaci 459363730a Merge branch 'master' of https://github.com/MoonchildProductions/UXP into pm_url_1 2018-04-25 15:48:44 +02:00
wolfbeast 63229b2e3f Avoid calling slice in self-hosted code. DiD
This time without unrelated/incomplete pluralforms junk.
2018-04-25 11:16:14 +02:00
wolfbeast 5e74887778 Revert "Add pluralrules to JS Intl"
This reverts commit 7686bceecf.
2018-04-25 08:26:25 +02:00
wolfbeast 802289a015 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-04-25 01:44:14 +02:00
wolfbeast f5371b5f80 Honor browser.safebrowsing.UI.enabled
This resolves #266
2018-04-25 01:41:05 +02:00
Moonchild fbc16f23c0 Merge pull request #262 from janekptacijarabaci/js_dom_overflow_1
moebius#138: Optimize operations on root of deeply-nested frame tree
2018-04-25 01:01:08 +02:00
wolfbeast e236b43641 Tweak fullscreen API 2018-04-24 23:12:55 +02:00
janekptacijarabaci 09e7d2d509 moebius#138: Optimize operations on root of deeply-nested frame tree
https://github.com/MoonchildProductions/moebius/pull/138
2018-04-24 21:39:13 +02:00
wolfbeast 681ada2fa1 Remove build support for HP-UX
Note: 3rd party lib support (NSS, etc.) has not been touched.
2018-04-24 20:27:06 +02:00
janekptacijarabaci f46defbdf0 Bug 1338053: Make nsFlexContainerFrame::MarkIntrinsicISizesDirty() also call its parent class's method 2018-04-24 20:25:23 +02:00
janekptacijarabaci 10833f1df5 Bug 1336708: Reftest 2018-04-24 20:23:20 +02:00
janekptacijarabaci fe78f56ae9 Bug 1336708: Don't reuse cached flex-item reflow measurements if the item's computed height has changed 2018-04-24 20:21:41 +02:00
janekptacijarabaci 7ceff47cd2 Bug 1209697: Cache flex measuring reflows to avoid exponential behavior 2018-04-24 20:18:05 +02:00
janekptacijarabaci a167cdd3fd Bug 1209697: Clear ancestor intrinsic sizes when our block size changes 2018-04-24 20:17:56 +02:00
Moonchild 6d93730d0a Merge pull request #259 from janekptacijarabaci/error_CloudSync_2
moebius#209: Throws an error - "CloudSync is not defined"
2018-04-24 19:38:33 +02:00
Moonchild 09fd9855ce Merge pull request #260 from janekptacijarabaci/plugins_placeholder_css_1
palemoon#583 and #1071: Fix: Plugin placeholder image/text (ask to activate) missing + overlay
2018-04-24 19:36:41 +02:00
Moonchild 75e0a50526 Merge pull request #258 from janekptacijarabaci/forgetAboutSite_1
moebius#30 and #37: ForgetAboutSite.jsm - promise - serialize vs. parallel + a comment
2018-04-24 19:34:58 +02:00
Moonchild 52a3e1d756 Merge pull request #243 from janekptacijarabaci/fetch_response_body_null_1
moebius#312: DOM - Fix incorrect TypeError: Response body is given with a null body status
2018-04-24 19:34:41 +02:00
janekptacijarabaci ce63d365f3 palemoon#583 and #1071: Fix: Plugin placeholder image/text (ask to activate) missing + overlay
https://github.com/MoonchildProductions/Pale-Moon/pull/583
https://github.com/MoonchildProductions/Pale-Moon/pull/1071
2018-04-24 19:31:32 +02:00
janekptacijarabaci 8ce512a127 moebius#209: Throws an error - "CloudSync is not defined"
https://github.com/MoonchildProductions/moebius/pull/209
2018-04-24 19:26:11 +02:00
janekptacijarabaci dcb64aea9c moebius#30 and #37: ForgetAboutSite.jsm - promise - serialize vs. parallel + a comment
https://github.com/MoonchildProductions/moebius/pull/30
https://github.com/MoonchildProductions/moebius/pull/37
2018-04-24 19:23:04 +02:00
New Tobin Paradigm 98c75b0307 Merge pull request #255 from janekptacijarabaci/pm_preferences_cookies_1
[PALEMOON] [frontend vs backend] Fix cookies in Preferences
2018-04-24 11:03:07 -04:00
New Tobin Paradigm ab68f12be5 Merge pull request #254 from janekptacijarabaci/pm_sanitize_1
[PALEMOON] [frontend vs backend] Fix sanitize ("History" - "Clear Recent History...")
2018-04-24 11:00:56 -04:00
New Tobin Paradigm 96555a6b09 Merge pull request #244 from janekptacijarabaci/pm_toolbars_custom_persist_2
[fix typo] palemoon#903 and #975: Customizable toolbars - persist the attribute "collapsed" (backward compatible)
2018-04-24 11:00:43 -04:00
wolfbeast 32eaf814d7 Re-introduce some required overrides (why were ALL of them cleared?!) 2018-04-24 16:52:13 +02:00
janekptacijarabaci 9624c18806 [PALEMOON] [frontend vs backend] Fix cookies in Preferences
Issue mcp-graveyard/UXP#121
2018-04-24 15:37:56 +02:00
janekptacijarabaci b96ccae61e [PALEMOON] [frontend vs backend] Fix sanitize ("History" - "Clear Recent History..."):
Issue mcp-graveyard/UXP#121
2018-04-24 15:36:35 +02:00
janekptacijarabaci 90820370a8 [fix typo] palemoon#903 and #975: Customizable toolbars - persist the attribute "collapsed" (backward compatible)
https://github.com/MoonchildProductions/Pale-Moon/pull/903
https://github.com/MoonchildProductions/Pale-Moon/pull/975
https://github.com/MoonchildProductions/UXP/issues/242
2018-04-24 11:57:59 +02:00
janekptacijarabaci 77e95190d9 moebius#312: DOM - Fix incorrect TypeError: Response body is given with a null body status
https://github.com/MoonchildProductions/moebius/issues/312
2018-04-24 11:47:08 +02:00
wolfbeast ac612e6e29 Hard-code the version number for Mozilla's version checker for add-ons. 2018-04-23 22:46:01 +02:00
Moonchild d4bc0a8a15 Merge pull request #240 from JustOff/PR_bootstrap_scope
Fix accessing the bootstrap methods when they are declared in the new lexical scope
2018-04-23 16:37:25 +02:00
JustOff b2b1e92166 Fix accessing the bootstrap methods when they are declared in the new lexical scope 2018-04-23 14:52:50 +03:00
Moonchild 6804c95e3e Merge pull request #238 from janekptacijarabaci/js_dom_pointer_events_2
moebius#195: DOM - PointerEvents - improvements (implement pointerup and pointerdown)
2018-04-23 12:17:34 +02:00
janekptacijarabaci 16ddc95fd7 moebius#195: DOM - PointerEvent - improvements
https://github.com/MoonchildProductions/moebius/pull/195
2018-04-23 11:54:06 +02:00
Moonchild 4509038bfc Merge pull request #233 from janekptacijarabaci/webextensions_sandbox_sandboxName_1
moebius#328: Set a sandboxName on the WebExtensions Content Script sandboxes
2018-04-23 11:46:38 +02:00
Moonchild 60cca9a294 Merge pull request #231 from janekptacijarabaci/security_blocking_data_1
moebius#223, #224, #226, #230: DOM - consider blocking top level window data: URIs
2018-04-23 11:46:21 +02:00
Moonchild cdf4187b4f Merge pull request #232 from janekptacijarabaci/webextensions_shortcut_space_1
moebius#221: WebExtensions - commands API does not support shortcuts with space or numbers
2018-04-23 11:45:34 +02:00
Moonchild f1a288af4f Merge pull request #235 from janekptacijarabaci/security_windows_certificate-stores_1
moebius#119: (Windows) Security - Certificate Stores - NSSCertDBTrustDomain allows end-entities to be their own trust anchors
2018-04-23 11:45:20 +02:00
Moonchild 0dde7a1e70 Merge pull request #237 from janekptacijarabaci/js_dom_getSelection_document_1
moebius#121: DOM - Selection API - getSelection() should exist on XMLDocument / Selection.type
2018-04-23 11:45:04 +02:00
Moonchild babe395d31 Merge pull request #236 from janekptacijarabaci/js_dom_createEvent_FocusEvent_1
moebius#123: DOM - Events - support createEvent("FocusEvent")
2018-04-23 11:44:47 +02:00
Moonchild 9c2f6f87f5 Merge pull request #234 from janekptacijarabaci/about_errors_1
moebius#65: Fix: various "about:..." system pages errors
2018-04-23 11:44:12 +02:00
janekptacijarabaci e3bd0b7ea0 moebius#121: DOM - Selection API - getSelection() should exist on XMLDocument / Selection.type
https://github.com/MoonchildProductions/moebius/pull/121
2018-04-23 09:16:50 +02:00
janekptacijarabaci 8740e1d17d moebius#123: DOM - Events - support createEvent("FocusEvent")
https://github.com/MoonchildProductions/moebius/pull/123
2018-04-23 09:13:00 +02:00
janekptacijarabaci 21989c8134 moebius#119: (Windows) Security - Certificate Stores - NSSCertDBTrustDomain allows end-entities to be their own trust anchors
https://github.com/MoonchildProductions/moebius/pull/119
2018-04-23 09:10:12 +02:00
janekptacijarabaci 94f200e29d moebius#65: Fix: "about:..." - throws an errors
https://github.com/MoonchildProductions/moebius/pull/65
2018-04-23 09:02:57 +02:00
janekptacijarabaci a7caa11765 moebius#328: Set a sandboxName on the WebExtensions Content Script sandboxes
https://github.com/MoonchildProductions/moebius/pull/328
2018-04-23 08:52:58 +02:00
janekptacijarabaci 6015973ea5 moebius#221: WebExtensions - commands API does not support shortcuts with space or numbers
https://github.com/MoonchildProductions/moebius/pull/221
2018-04-23 08:51:40 +02:00
Matt A. Tobin 9fafcf7244 Fix preprocessor conditional precedence in application.ini 2018-04-22 19:15:20 -04:00
Matt A. Tobin 3b089d8f1b Resolve issues with application.ini not allowing non-mcp applications to be official and have their own vendor
Also add BinOC cause two words breaks the build system
2018-04-22 18:36:16 -04:00
janekptacijarabaci 521e60885c moebius#187: DOM - nsIContentPolicy - context (document)
https://github.com/MoonchildProductions/moebius/pull/187
2018-04-23 00:13:56 +02:00
janekptacijarabaci 6664ed46b0 Revert "Bug 1182569: Use AsyncOpen2 for docshell loads"
This reverts commit 29bd11c3cd.
2018-04-22 22:17:18 +02:00
janekptacijarabaci c3865a729d Revert "Bug 1182569: Update ContentSecurityManager to handle docshell loads"
This reverts commit 2e33335820.
2018-04-22 22:17:09 +02:00
janekptacijarabaci 34fa0eb091 Revert "Bug 1182569 - Skip security check for plugins using newstream attribute"
This reverts commit 5b0f4649b3.
2018-04-22 22:16:58 +02:00
janekptacijarabaci 3a4978b880 Revert "Bug 1182569: Update tests when converting docshell loads to use AynscOpen2"
This reverts commit b73225e886.
2018-04-22 22:16:35 +02:00
janekptacijarabaci 0851d05d7a Revert "Bug 1182569: Disable hsts priming for loads of type subdocument for wpt tests"
This reverts commit 5d9ae788d5.
2018-04-22 22:16:22 +02:00
janekptacijarabaci f5671205c4 Revert "Bug 1182569: Add credentials mode for fetch-frame-resource.https.html wpt test"
This reverts commit d3575bfb5b.
2018-04-22 22:16:11 +02:00
janekptacijarabaci 903e0143ec Bug 1182569: Add credentials mode for fetch-frame-resource.https.html wpt test
native in moebius
2018-04-22 22:11:33 +02:00
janekptacijarabaci 49551cfa04 Bug 1182569: Disable hsts priming for loads of type subdocument for wpt tests
native in moebius
2018-04-22 22:09:32 +02:00
janekptacijarabaci 1476f9c910 Bug 1182569: Update tests when converting docshell loads to use AynscOpen2
native in moebius
2018-04-22 22:02:20 +02:00
janekptacijarabaci 5adbc5053e Bug 1182569 - Skip security check for plugins using newstream attribute
native in moebius
2018-04-22 21:59:46 +02:00
janekptacijarabaci 34f552b42a Bug 1182569: Update ContentSecurityManager to handle docshell loads
native in moebius
2018-04-22 21:51:49 +02:00
janekptacijarabaci 08579c9b79 Bug 1182569: Use AsyncOpen2 for docshell loads
native in moebius
2018-04-22 21:47:27 +02:00
janekptacijarabaci f2218b6aaa Bug 1323683 - Fold nsIURIWithQuery into nsIURI
native in moebius
2018-04-22 21:20:53 +02:00
janekptacijarabaci 14c7b0bfa8 Bug 1329570 - Restore missing error check in mozilla::dom::Location::GetPathname
native in moebius
2018-04-22 21:00:39 +02:00
janekptacijarabaci d102fd89f2 Bug 1329288: Allow content policy consumers to identify contentPolicy checks from docshell 2018-04-22 20:38:02 +02:00
janekptacijarabaci 93e7685e6a Bug 1329288 - Test ContentPolicy blocks opening a new window 2018-04-22 20:37:09 +02:00
janekptacijarabaci edd6c63a43 moebius#230: Consider blocking top level window data: URIs (part 3/3 without tests)
https://github.com/MoonchildProductions/moebius/pull/230
2018-04-22 20:28:18 +02:00
wolfbeast 9be6c3104e Make sure to keep the safebrowsing entities valid. 2018-04-22 19:48:42 +02:00
wolfbeast 7c53ac5f94 Update about:rights legal text. 2018-04-22 19:48:26 +02:00
wolfbeast b832e78184 Remove undesired system add-ons (all except PDFjs) 2018-04-22 19:48:09 +02:00
wolfbeast d9466f8215 Disable Mozilla health report service. 2018-04-22 19:47:53 +02:00
wolfbeast 90f51d4f43 Remove NPAPI deprecation statement from about:plugins. 2018-04-22 19:47:37 +02:00
janekptacijarabaci 6789a4bb58 moebius#226: Consider blocking top level window data: URIs (part 2/2 without tests)
https://github.com/MoonchildProductions/moebius/pull/226
2018-04-22 19:03:22 +02:00
janekptacijarabaci 96d5f0c67b moebius#223: Consider blocking top level window data: URIs (part 1/3 without tests)
https://github.com/MoonchildProductions/moebius/pull/223
2018-04-22 18:51:38 +02:00
Matt A. Tobin 6fe71b364d Fix for loops in AddonRepository_SQLiteMigrator.jsm (SyntaxError: missing ] after element list) 2018-04-22 11:16:08 -04:00
Moonchild 47c3934d17 Merge pull request #225 from janekptacijarabaci/data-transfer_1
moebius#56: DataTransfer - Pasting image from clipboard fails in some cases
2018-04-22 10:13:13 +02:00
Moonchild 2300e2babd Merge pull request #227 from janekptacijarabaci/devtools_preprocessor_1
Use preprocessor for "chrome://devtools/skin/devtools-browser.css" in browser.xul
2018-04-22 10:13:00 +02:00
Moonchild c883142081 Merge pull request #228 from janekptacijarabaci/pm_devtools_4_path
[PALEMOON] [frontend vs backend] Use "devtools-browser.css" instead of "global/skin/devtools/common.css" (does not exist) in browser.xul
2018-04-22 10:12:40 +02:00
Moonchild fb94079429 Merge pull request #229 from janekptacijarabaci/devtools_css_warnings_variable_1
[DevTools] Fix warnings: "Property contained reference to invalid variable"
2018-04-22 10:11:15 +02:00
janekptacijarabaci 733f8f1eb9 moebius#157: The Performance Observer (improvements)
https://github.com/MoonchildProductions/moebius/pull/157
2018-04-22 04:25:34 +02:00
janekptacijarabaci c65b235b14 [DevTools] Fix warnings: "Property contained reference to invalid variable"
Issue mcp-graveyard/UXP#121
2018-04-22 02:34:33 +02:00
janekptacijarabaci a6e82707ad Use preprocessor for "chrome://devtools/skin/devtools-browser.css" in browser.xul 2018-04-22 02:31:00 +02:00
janekptacijarabaci 7f5bb92061 [PALEMOON] [frontend vs backend] Use "devtools-browser.css" instead of "global/skin/devtools/common.css" (does not exist) in browser.xul
Issue mcp-graveyard/UXP#121
2018-04-22 02:28:42 +02:00
New Tobin Paradigm 7d2178e5c6 Merge pull request #226 from JustOff/PR_PMkit_part3
Make Add-on SDK (Jetpack) work on Pale Moon || Part 3
2018-04-21 20:02:56 -04:00
JustOff 40d73d63cf [PMkit] Fix the shim for 'sdk/ui/button' 2018-04-22 00:44:42 +03:00
JustOff b33cd4b7a4 [PMkit] Mark 'sdk/panel' as compatible with Pale Moon 2018-04-22 00:43:24 +03:00
janekptacijarabaci f95d16378b Merge branch 'master' of https://github.com/MoonchildProductions/UXP into data-transfer_1 2018-04-21 18:53:06 +02:00
wolfbeast fbb41fce6a Remove unused header file for MeeGo Touch 2018-04-21 17:33:10 +02:00
wolfbeast 553031907c Disallow E10S to run. 2018-04-21 15:05:05 +02:00
Moonchild cf40489b14 Merge pull request #221 from janekptacijarabaci/js_dom_pointer_events_1
moebius#71: Pointer Events - improvements
2018-04-21 14:53:24 +02:00
wolfbeast 47a7e412c6 Disable grabbing geo-specific search engines from Mozilla servers. 2018-04-21 02:58:41 +02:00
wolfbeast 98e611f055 Remove region-specific overrides for search engines. 2018-04-21 02:40:43 +02:00
wolfbeast 5f82bdccb6 Define vendorFullName in Official Branding 2018-04-21 02:33:37 +02:00
Matt A. Tobin 18bf5769fa Merge branch 'master' into xulrunner 2018-04-20 20:16:18 -04:00
Matt A. Tobin 73cf45fb64 Import XULRunner and make it produce the generic stub 2018-04-20 20:11:26 -04:00
New Tobin Paradigm dc86942f24 Merge pull request #223 from trav90/glxtest_pipe
Use -1 instead of 0 to indicate absent glxtest_pipe fd
2018-04-20 19:42:04 -04:00
trav90 9e692bcb8f Use -1 instead of 0 to indicate absent glxtest_pipe fd 2018-04-20 17:44:53 -05:00
New Tobin Paradigm 1fcc95a051 Merge pull request #222 from trav90/buildsystem-work
Force use of level 1 Liftetime DSE optimization with modern GCC
2018-04-20 18:20:46 -04:00
New Tobin Paradigm f273356651 Merge pull request #217 from janekptacijarabaci/webextensions_runtime_onMessageExternal-onConnectExternal_1
moebius#217: WebExtensions - Implemented "runtime.onMessageExternal"/"onConnectExternal"
2018-04-20 17:51:57 -04:00
New Tobin Paradigm b1773017d1 Merge pull request #218 from janekptacijarabaci/webextensions_commands_1
moebius#219: WebExtensions - add-on throws error on load when suggested_key is null / missing
2018-04-20 17:51:40 -04:00
New Tobin Paradigm ed82b2b4eb Merge pull request #220 from JustOff/PR_PMkit_part2
Make Add-on SDK (Jetpack) work on Pale Moon || Part 2
2018-04-20 17:49:47 -04:00
janekptacijarabaci 05e196f143 moebius#56: Fix: DataTransfer - Pasting image from clipboard fails in some cases
https://github.com/MoonchildProductions/moebius/pull/56
2018-04-20 22:54:26 +02:00
janekptacijarabaci accc3b904d moebius#71: DOM - Pointer Events - improvements
https://github.com/MoonchildProductions/moebius/pull/71
2018-04-20 22:18:52 +02:00
Matt A. Tobin 118fc4da3a [PALEMOON] Replace tabs with 2 spaces in statusbar component 2018-04-20 16:10:23 -04:00
JustOff 3a7b60b3f4 [PMkit] Rely on MOZ_WEBEXTENSIONS to include 'sdk/webextension' 2018-04-20 22:45:23 +03:00
Matt A. Tobin 698c61cf23 Un-deprecate nsNavHistory::GetPageTitle and nsNavBookmarks::GetURIForKeyword 2018-04-20 15:30:42 -04:00
janekptacijarabaci 60799ebd1a Bug 1302297 - Part 4: Remove every button and buttons used in testcases (partially)
native in moebius
2018-04-20 20:41:48 +02:00
janekptacijarabaci cbe149270c Bug 1299197 Part2: Serialize WidgetPointerHelper in IPC message
native in moebius
2018-04-20 20:30:07 +02:00
janekptacijarabaci 7c42fa3016 Bug 1299197 Part1: Refine WidgetPointerHelper
native in moebius
2018-04-20 20:28:00 +02:00
JustOff 0fe0baf2cc [PMkit] Remove embedded WebExtensions support 2018-04-20 21:11:18 +03:00
JustOff 6ea51b0a0d [PMkit] Provide gContextMenuContentData for 'sdk/context-menu' 2018-04-20 21:10:10 +03:00
janekptacijarabaci 33fd44852c Bug 1322994 - Update pointerevent web-platform-tests (partially - depends on)
https://github.com/MoonchildProductions/moebius/pull/71
2018-04-20 19:44:42 +02:00
janekptacijarabaci e82a7e0c51 Bug 1317030 - Removing/reattaching an element from the DOM triggers spurious mouseenter events
native in moebius
2018-04-20 19:16:00 +02:00
janekptacijarabaci 3a89a23c42 moebius#219: WebExtensions - add-on throws error on load when suggested_key is null / missing
https://github.com/MoonchildProductions/moebius/pull/219
2018-04-20 18:08:43 +02:00
janekptacijarabaci a617bc74f9 moebius#217: WebExtensions - Implemented "runtime.onMessageExternal"/"onConnectExternal"
https://github.com/MoonchildProductions/moebius/pull/217
2018-04-20 17:39:09 +02:00
wolfbeast bad9214b6f Move the Mark of the Web pref to GRE pref file. 2018-04-20 16:13:21 +02:00
wolfbeast d091e5233b Make the Mark of the Web preference applicable to all applications.
Follow-up to #215.
2018-04-20 16:09:04 +02:00
wolfbeast 879c5525d8 Re-implement pref-able file zone information ("Mark of the Web")
See also:
https://github.com/MoonchildProductions/Pale-Moon/issues/593
https://github.com/MoonchildProductions/Pale-Moon/pull/599
2018-04-20 15:59:23 +02:00
Moonchild 47baf0a649 Merge pull request #216 from MoonchildProductions/revert-215-pm_zone-information_1
Revert "[PALEMOON] Reimplemented "Time Zone Information""
2018-04-20 15:52:48 +02:00
Moonchild 9c21baf271 Revert "[PALEMOON] Reimplemented selection internet zone information on downloaded files" 2018-04-20 13:51:38 +00:00
New Tobin Paradigm afd3284e3b Merge pull request #215 from janekptacijarabaci/pm_zone-information_1
[PALEMOON] Reimplemented "Time Zone Information"
2018-04-20 09:41:21 -04:00
New Tobin Paradigm 7755d6a337 Merge pull request #214 from janekptacijarabaci/pm_cmdline_columns-alignment_1
[PALEMOON] moebius#58: Pale Moon - the cmd line - help (the columns alignment)
2018-04-20 09:41:04 -04:00
New Tobin Paradigm 19730b493a Merge pull request #213 from janekptacijarabaci/cmd_migration_1
moebius#144: Launch command: basilisk "-migration -p" (throws an error)
2018-04-20 09:40:46 -04:00
New Tobin Paradigm a137076855 Merge pull request #211 from JustOff/PR_PMkit_part1
Make Add-on SDK (Jetpack) work on Pale Moon || Part 1
2018-04-20 09:40:31 -04:00
trav90 210cb62238 Style fix 2018-04-20 08:27:35 -05:00
janekptacijarabaci bd351034ff [PALEMOON] Reimplemented "Time Zone Information"
https://github.com/MoonchildProductions/Pale-Moon/issues/593
Issue mcp-graveyard/UXP#121
2018-04-20 14:52:33 +02:00
New Tobin Paradigm 46fc4ac009 Merge pull request #212 from janekptacijarabaci/profile_resseting_1
moebius#84, #205: Fix: The profile - resetting (partially)
2018-04-20 07:32:32 -04:00
janekptacijarabaci 416fac4d5d [PALEMOON] moebius#58: Pale Moon - the cmd line - help (the columns alignment)
https://github.com/MoonchildProductions/UXP/commit/259e214960c23346628311d88427c7ca13bdb335
https://github.com/MoonchildProductions/moebius/pull/58
2018-04-20 13:28:38 +02:00
janekptacijarabaci 1b796fcc97 Revert partially (application/palemoon) "moebius#205: Fix: The profile - resetting (the custom profile name)" 2018-04-20 13:09:10 +02:00
janekptacijarabaci 2b6c6691cb Revert "[PALEMOON] Fix: The profile resseting - partially"
This reverts commit 4e7e4c2cbe.
2018-04-20 12:08:50 +02:00
janekptacijarabaci 10ad43c854 moebius#144: Launch command: basilisk "-migration -p" (throws an error)
https://github.com/MoonchildProductions/moebius/pull/144
2018-04-20 08:56:09 +02:00
janekptacijarabaci cb0e4ac964 [PALEMOON] Fix: The profile resseting - partially (no the cmd "-migration")
https://github.com/MoonchildProductions/UXP/commit/aaf3409c46a5e472bc539a6ad5902f886c980e1f
2018-04-20 08:30:19 +02:00
janekptacijarabaci 31dead55e5 [PALEMOON] Fix: The profile resseting - partially
https://github.com/MoonchildProductions/UXP/commit/aaf3409c46a5e472bc539a6ad5902f886c980e1f

- Revert migration
- Partially
- no manual migration from Places
- no migration from other browsers
- no the cmd `-migration`
- Fix migration files (`// Tycho:`)
- Something in the last commit (a typo)
2018-04-20 08:28:12 +02:00
JustOff 948fa07643 [PMkit] Allow access to 'sdk/ui/buttons' via require('sdk/ui') 2018-04-19 23:45:44 +03:00
JustOff dd2c5b4ff4 [PMkit] Add the shim for 'sdk/ui/button' 2018-04-19 23:44:30 +03:00
JustOff 4b811f74d1 [PMkit] Update 'module.metadata' with the Pale Moon engine where appropriate in 'sdk/*' 2018-04-19 23:42:13 +03:00
JustOff 2a86e53d7b [PMkit] Add Pale Moon to 'modules/system/Startup.js' 2018-04-19 23:37:24 +03:00
JustOff 498ce3448f [PMkit] Add Pale Moon as a target engine to 'sdk/system/xul-app.jsm' 2018-04-19 23:36:08 +03:00
janekptacijarabaci 62631cb3d7 moebius#205: Fix: The profile - resetting (the custom profile name)
https://github.com/MoonchildProductions/moebius/pull/205
2018-04-19 19:49:01 +02:00
trav90 735ee84d08 Force use of level 1 Liftetime DSE optimization on modern GCC
Instead of completely disabling it.
2018-04-19 11:39:02 -05:00
janekptacijarabaci b02682b2b7 moebius#84: Fix: The profile - resetting (follow up)
https://github.com/MoonchildProductions/moebius/pull/84
2018-04-19 17:26:39 +02:00
New Tobin Paradigm 7fe224b80f Merge pull request #210 from janekptacijarabaci/pm_installer_1
[PALEMOON] Installer - fix some comments (firefox.exe => palemoon.exe)
2018-04-19 09:01:22 -04:00
janekptacijarabaci 8a19ff0f31 moebius#84: Fix: The profile - resetting
https://github.com/MoonchildProductions/moebius/pull/184
2018-04-19 14:29:05 +02:00
janekptacijarabaci 4aecc9af67 Bug 1122124: Fix default profile setting after reset, keep profile name
Native in moebius
https://github.com/MoonchildProductions/moebius/pull/184
2018-04-19 14:21:10 +02:00
janekptacijarabaci e33e1d4659 [PALEMOON] Installer - fix some comments (firefox.exe => palemoon.exe) 2018-04-19 14:01:28 +02:00
wolfbeast d45b44bc8d Enable requestIdleCallback API
This resolves #209.
2018-04-19 13:37:51 +02:00
Moonchild ca6c8fb931 Merge pull request #207 from janekptacijarabaci/js_dom_window_requestIdleCallback_1
moebius#73: DOM - window.requestIdleCallback - improvements
2018-04-19 13:35:14 +02:00
wolfbeast 8ce07160ba Merge branch 'ported-upstream' 2018-04-19 12:08:25 +02:00
Eric Rahm a3ebdd29ce Bug 1452202 - Clean up PLDHashTable move operator. r=froydnj, a=RyanVM
--HG--
extra : source : 9036c64b7a66ffe93e717ca97642a4400e396d9c
extra : intermediate-source : 041d1c561feb5f4d9bcd492f31f7203ca477f938
2018-04-19 12:06:04 +02:00
Boris Zbarsky 394f3b8942 Bug 1453339 - Make it harder to mess up Promise::All. r=peterv, a=RyanVM
MozReview-Commit-ID: UO4wssYHj7
2018-04-19 12:05:25 +02:00
Miko Mynttinen 41744461a6 Bug 1393367 - Change MOZ_ASSERT to MOZ_RELEASE_ASSERT. r=mstange, r=fbraun, a=RyanVM
--HG--
extra : source : 1908cd8ed88dd4f77a99dff39c193d7d3f435195
extra : intermediate-source : 9718d92fab4d9a39acdc2afb0302b6fcd7997f6c
2018-04-19 12:04:38 +02:00
Ryan VanderMeulen 84f51e4784 Bug 1452075 - Backport some upstream pdf.js fixes. 2018-04-19 12:03:19 +02:00
Jan de Mooij 945b44c72a Bug 1444668 - Avoid allocating large AssemblerBuffers. r=luke, r=bbouvier, a=RyanVM 2018-04-19 12:01:40 +02:00
Bob Owen 2bc9127d72 Bug 1451376 - Properly enforce single PrintingParent per content process. r=jld, a=RyanVM
--HG--
extra : source : 6e0fe40d8a55a986a26844393853722824918ffe
extra : intermediate-source : 8364f4c4f877f5edfb03ddf1304840b9f2cf7b11
2018-04-19 12:00:54 +02:00
Randell Jesup 8e16c2e353 Bug 1452416 - Release GraphDrivers outside of StableState runnable to avoid spinning the event queue. r=smaug, r=padenot, a=RyanVM
--HG--
extra : source : c90ec782d481f05f5848f171a945cfc5bcf5b0ca
2018-04-19 11:59:36 +02:00
Andrew Osmond cf233e9d5b Bug 1388020. r=nical, a=RyanVM 2018-04-19 11:58:39 +02:00
Randell Jesup 06eeeec760 Bug 1448705 - Use input latency for draining. r=jya, a=RyanVM
--HG--
extra : source : b2904f128f854a71216f299b835da5a422ceb3cd
extra : intermediate-source : eae4410ea11d83feed90ca9d3b6bd5a9c67c17a7
2018-04-19 11:57:36 +02:00
André Bargull f6a5ff88b4 Bug 1449574 - Update tzdata in ICU data files to 2018d. r=Waldo, a=RyanVM 2018-04-19 11:53:08 +02:00
wolfbeast db1b4646e4 Error out on missing or searchplugin or empty list. 2018-04-19 11:51:49 +02:00
Robert Longson 27d502fa7c Bug 1448774. r=dholbert, a=RyanVM
--HG--
extra : source : edfd9ffbd7208ef0a59f40a0d77d8dd53c905cb9
extra : intermediate-source : 3784b22ec536b08ce95201d73ae8806340c18b8c
2018-04-19 11:39:36 +02:00
Botond Ballo 85d6e8c1b4 Bug 1443092 - Avoid calling SVGAnimatedEnumeration::AnimVal() from nsSVGUtils::GetBBox(). r=jwatt, a=RyanVM
AnimVal() is a DOM getter, and it flushes animations, which we don't want
in GetBBox() which is called from display list building cide and
FrameLayerBuilder.

MozReview-Commit-ID: DWgm7wAV7C0
2018-04-19 11:38:48 +02:00
Lee Salzman 098fb55f09 Bug 1441941 - Limit allocations in SkTDArray. r=jrmuizel, a=RyanVM 2018-04-19 11:37:58 +02:00
Andrew Osmond 7dcb5b7cd5 Bug 1409440. r=tnikkel, a=RyanVM 2018-04-19 11:37:13 +02:00
Boris Zbarsky 84839cdaed Bug 1444231 - Fix QI implementation for FragmentOrElement. r=mccr8, a=RyanVM
MozReview-Commit-ID: 9mPO2ezk2Y7

--HG--
extra : source : 060024fa93121d878d27f329c959757e6f71017a
extra : intermediate-source : 925d5693c5a1a73806062947b18c98ed13efc6c3
2018-04-19 11:35:08 +02:00
Valentin Gosu 848532ccfb Bug 1433609 - Ensure that deserialized URL is correct. r=mayhemer, a=RyanVM
MozReview-Commit-ID: BMQfPzPhDhc
2018-04-19 11:34:13 +02:00
Thomas Nguyen 823ab285b6 Bug 1361699 - Add buffer when writing hashstore to file. r=gcp, r=mcmanus, a=RyanVM
We write a lot of 4-bytes prefixes to file which call many system calls.
We should use a buffer and only write to file if the buffer is full or
finish writing. nsIBufferedOutputStream is a good candidate to do that

MozReview-Commit-ID: CzGOd7iXVTv

--HG--
extra : source : 8f2b4efc5f0d3191a7e80d9324933621e111b44a
2018-04-19 11:33:20 +02:00
Henri Sivonen 2e66d7415f Bug 1443891. r=emk, a=RyanVM
MozReview-Commit-ID: AkUTNnVslMf
2018-04-19 11:32:08 +02:00
Nicolas Silva 9bb019b8b7 Bug 1440717 - Use RefPtr for CompositingRenderTargetOGL::mGL. r=Bas, a=ritu
--HG--
extra : source : b6d2d55223d2aa5cb85bbdf33075d1d38f2a9a30
extra : intermediate-source : 0ec90964e0bc479412a4da8a61d48b665211736e
2018-04-19 11:24:32 +02:00
Thomas Daede 4e1f8f4abd Bug 1446062: libtremor Vorbis fix. r=jmspeex a=dveditz
--HG--
extra : transplant_source : %D3%CE8%8D%D3%C0%D3%C7%BE%7D%F2m%5DM%E3%A0%E4%0CW%F3
2018-04-19 11:22:17 +02:00
Monty Montgomery 20cba62dea Bug 1446062 - Vorbis fix. r=jmspeex, a=lizzard
--HG--
extra : source : 6b4e98424f0dcc024fcad48608ada351e4075e59
extra : intermediate-source : 3db9e3d52b17563efca181ccbb50deb8660c59ae
2018-04-19 11:21:28 +02:00
Moonchild f564dee111 Merge pull request #206 from janekptacijarabaci/pm_PopupNotifications.jsm_1
[PALEMOON] [frontend vs backend] Fix: PopupNotifications.jsm (some extra checkbox) + catch exceptions from callbacks
2018-04-19 09:53:32 +02:00
Moonchild f8d152c82d Merge pull request #205 from janekptacijarabaci/pm_engine-manager_keyword_1
[PALEMOON] Engine Manager throws a warning (deprecated)
2018-04-19 09:53:12 +02:00
Moonchild a0246466a3 Merge pull request #204 from janekptacijarabaci/pm_toolbarbutton_badge_1
[PALEMOON] Fix badged button renders
2018-04-19 09:50:58 +02:00
janekptacijarabaci 2a2f4c121c [PALEMOON] [frontend vs backend] Follow up - ".toolbarbutton-badge-container" was renamed to ".toolbarbutton-badge-stack"
Issue mcp-graveyard/UXP#202
2018-04-19 09:14:44 +02:00
janekptacijarabaci 72aef874e7 [PALEMOON] Fix: PopupNotifications.jsm (some extra checkbox) + catch exceptions from callbacks
Issue mcp-graveyard/UXP#121
2018-04-19 08:01:45 +02:00
janekptacijarabaci 38d14ffeb3 [PALEMOON] Engine manager - fix typo (added a name function for debugging)
Issue mcp-graveyard/UXP#121
2018-04-19 06:36:40 +02:00
janekptacijarabaci 3b1fba66b7 [PALEMOON] Engine Manager throws a warning (deprecated)
Issue mcp-graveyard/UXP#121
2018-04-19 06:10:46 +02:00
janekptacijarabaci 3b0972fafb [PALEMOON] Fix badged button renders
Issue mcp-graveyard/UXP#202
2018-04-19 06:06:42 +02:00
New Tobin Paradigm b4ad2fd810 Merge pull request #203 from janekptacijarabaci/pm_urlbar_dropmarker_1
[PALEMOON] URL/Address/Location bar - suggestions in location bar cannot be hidden by clicking dropmarker again
2018-04-18 22:48:51 -04:00
janekptacijarabaci 3ee6f55dc6 [PALEMOON] URL/Address/Location bar - suggestions in location bar cannot be hidden by clicking dropmarker again
https://github.com/MoonchildProductions/Pale-Moon/pull/1382
2018-04-19 00:19:39 +02:00
wolfbeast 3cc715734d Use tried-and-proven backends for content rendering and reserve the use of Skia for canvas only.
This should prevent anemic, poorly-spaced and/or cut glyphs in content text.
2018-04-18 21:00:09 +02:00
Moonchild 88c4165975 Merge pull request #201 from janekptacijarabaci/pm_places_error_1
[PALEMOON] Places - fix: throws an error: 0x80004005 (NS_ERROR_FAILURE) [nsIEditor.transactionManager]
2018-04-18 20:24:38 +02:00
wolfbeast 101c42443e Use natural border width rounding.
Round subpixel border widths to nearest integer instead of nearest-below integer.
Split caret widths off from border widths and continue to use rounding to nearest-below integer for that.

Bump Goanna version for visual rendering change.
2018-04-18 20:15:33 +02:00
janekptacijarabaci 6f9c1b96a5 [PALEMOON] Places - fix: throws an error: 0x80004005 (NS_ERROR_FAILURE) [nsIEditor.transactionManager]
Issue mcp-graveyard/UXP#133
Tag https://github.com/MoonchildProductions/UXP/pull/134
2018-04-18 18:59:02 +02:00
janekptacijarabaci db28af5383 moebius#73: DOM - window.requestIdleCallback - improvements (basic) - follow up
https://github.com/MoonchildProductions/moebius/pull/73
2018-04-18 18:19:42 +02:00
janekptacijarabaci 0dc48edb51 Merge branch 'master' of https://github.com/MoonchildProductions/UXP into js_dom_window_requestIdleCallback_1 2018-04-18 15:50:29 +02:00
janekptacijarabaci 79d30a5168 Bug 1337814 - Remove rIC callback from pending callbacks before running it 2018-04-18 15:21:00 +02:00
janekptacijarabaci f9407d26ed Bug 1337814 - Add test for cancelling currently executing rIC callback 2018-04-18 15:19:52 +02:00
janekptacijarabaci ba7201d27e Bug 1334904 - Add test for when rIC timeouts doesn't need timeout 2018-04-18 15:18:48 +02:00
janekptacijarabaci 449757cd2c Bug 1336229 - Don't dispatch canceled IdleRequestExecutors 2018-04-18 15:17:55 +02:00
janekptacijarabaci dd7eebbf87 moebius#73: DOM - window.requestIdleCallback - improvements (basic)
https://github.com/MoonchildProductions/moebius/pull/73
2018-04-18 15:15:49 +02:00
New Tobin Paradigm c2bedab572 Merge pull request #199 from trav90/buildsystem-work
Set default MOZ_OPTIMIZE_FLAGS to -O2 when using GCC
2018-04-18 08:22:09 -04:00
wolfbeast 38d5066a9c Strengthen the use of the Master Password.
- Use 30k iterations instead of 1.
- Enforce minimum password length of 8 characters.
- Adjust strength meter accordingly.

This resolves #82.
2018-04-18 14:05:21 +02:00
Matt A. Tobin 8e13ab8962 [PALEMOON] Only use the private autocomplete binding on the URL bar 2018-04-18 07:22:38 -04:00
wolfbeast bef9d68cf1 Add extra JS scope for DownloadUtils in urlbarBinding.xml to cater to global lexical scope. 2018-04-18 10:57:23 +02:00
New Tobin Paradigm 245f22a53d Merge pull request #198 from JustOff/PR_asyncOpen2
Use asyncOpen2 instead of asyncOpen everywhere in Pale Moon
2018-04-18 04:02:02 -04:00
trav90 fba9a35a8e Set default MOZ_OPTIMIZE_FLAGS to -O2 when using GCC 2018-04-17 22:54:30 -05:00
JustOff 2651e762f7 Use asyncOpen2 instead of asyncOpen everywhere in Pale Moon 2018-04-17 23:16:20 +03:00
New Tobin Paradigm 44f1e9c2c2 Merge pull request #168 from janekptacijarabaci/xpcom_exportFunction_length_1
moebius#242: XPCOM: exportFunction() - fix wrong .length attribute
2018-04-17 14:58:10 -04:00
Matt A. Tobin 6e56e3696e [PALEMOON] Localize a private copy of the pre-richlistbox autocomplete ksmodule 2018-04-17 13:15:24 -04:00
Matt A. Tobin 66252f6c7a [PALEMOON] Localize a private copy of the pre-newawesomebar autocomplete bindings and styling 2018-04-17 09:45:29 -04:00
Matt A. Tobin 079fbf4326 Restore nsPlacesAutoComplete 2018-04-17 07:32:19 -04:00
Matt A. Tobin 082c07815b Restore typeAheadResult support in autocomplete 2018-04-17 07:31:18 -04:00
janekptacijarabaci b894089c49 Merge branch 'master' of https://github.com/MoonchildProductions/UXP into pm_url_1 2018-04-17 08:26:02 +02:00
janekptacijarabaci ed34f21cd8 [PALEMOON] Remove unused Task.jsm in openLocation.js 2018-04-17 08:25:01 +02:00
janekptacijarabaci a5f214383d [PALEMOON] Fix conflict in openLocation.js
https://github.com/MoonchildProductions/UXP/commit/931950a880b3550490422b1855c509be10586858#diff-2f4cb31954d5857012f1452698b9bfce
2018-04-17 08:19:14 +02:00
Matt A. Tobin dc5012e8d5 Revert "[PALEMOON] Source nsPlacesAutoComplete from the suite"
This reverts commit 532de8c09d.
2018-04-16 16:53:03 -04:00
Matt A. Tobin b163630249 Revert "[PALEMOON] Use unified complete in autocompletesearch attribute for urlbar"
This reverts commit 2ccac3373f.
2018-04-16 16:52:31 -04:00
Matt A. Tobin 63a8586b2c [PALEMOON] Use unified complete in autocompletesearch attribute for urlbar 2018-04-16 16:44:55 -04:00
Matt A. Tobin 33d3090a0f [PALEMOON] Source nsPlacesAutoComplete from the suite 2018-04-16 16:26:11 -04:00
New Tobin Paradigm 6fad66983a Merge pull request #195 from janekptacijarabaci/pm_toolbars_custom_persist_1
palemoon#903 a #975: Customizable toolbars - persist the attribute "collapsed" (backward compatible)
2018-04-16 13:40:11 -04:00
New Tobin Paradigm 7ecb40d271 Merge pull request #196 from JustOff/PR_remove_sync_promo_icon
Remove unused Sync promotion notification icon
2018-04-16 13:37:44 -04:00
JustOff 47daa7d91e Remove unused Sync promotion notification icon 2018-04-16 20:06:31 +03:00
New Tobin Paradigm 00b506d686 Merge pull request #194 from JustOff/PR_remove_sync_promobox
Remove the Sync promotion in the add-on install doorhanger
2018-04-16 12:27:33 -04:00
JustOff c4384452e7 Remove Sync promobox from popup-notifications.inc as well 2018-04-16 19:24:21 +03:00
JustOff e2bc94d9ef Remove the Sync promotion in the add-on install doorhanger 2018-04-16 19:09:53 +03:00
New Tobin Paradigm ac32d1e6d5 Merge pull request #192 from JustOff/PR_netError.dtd_malformedURI.title_dupe
[PALEMOON] Remove accidentally duplicated 'malformedURI.title' from netError.dtd
2018-04-16 11:25:19 -04:00
New Tobin Paradigm b130046770 Merge pull request #193 from MoonchildProductions/revert-176-pm_unreachable-code-after-return-statement_1
Revert "[PALEMOON] Fix a warning: "unreachable code after return statement" in urlbarBindings.xml"
2018-04-16 11:25:04 -04:00
New Tobin Paradigm 40dce42c77 Revert "[PALEMOON] Fix a warning: "unreachable code after return statement" in urlbarBindings.xml" 2018-04-16 15:24:14 +00:00
New Tobin Paradigm 46fb3707ee Merge pull request #176 from janekptacijarabaci/pm_unreachable-code-after-return-statement_1
[PALEMOON] Fix a warning: "unreachable code after return statement" in urlbarBindings.xml
2018-04-16 11:24:08 -04:00
Matt A. Tobin a690068fc6 [PALEMOON] Update UA Compatibility modes in a backwards compatible way 2018-04-16 11:20:39 -04:00
JustOff d37f248b20 [PALEMOON] Remove accidentally duplicated 'malformedURI.title' from netError.dtd 2018-04-16 16:21:19 +03:00
wolfbeast 70198e6cd0 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-04-16 14:48:38 +02:00
wolfbeast 25f89542e1 Mass-replace global-scope let with var in Pale Moon and TychoAM
tag #155
2018-04-16 14:48:23 +02:00
New Tobin Paradigm 5975262529 Merge pull request #175 from janekptacijarabaci/url_parser_2
moebius#131: URL parser - stop preserving empty passwords
2018-04-16 08:31:05 -04:00
New Tobin Paradigm 18df5ba282 Merge pull request #180 from janekptacijarabaci/html_input_datetime_2
HTML - input - datetime - support for "dom.forms.datetime.others"
2018-04-16 08:30:27 -04:00
New Tobin Paradigm 0f2f5eaba9 Merge pull request #178 from janekptacijarabaci/html_input_datetime_3
[PALEMOON] [Frontend vs Backend] HTML - input - datetime
2018-04-16 08:30:04 -04:00
New Tobin Paradigm 287c8f0f36 Merge pull request #174 from janekptacijarabaci/url_parser_1
moebius#130: URL parser - fix: don't allow empty host name
2018-04-16 08:25:45 -04:00
New Tobin Paradigm 7ccf6aa9fd Merge pull request #173 from janekptacijarabaci/html_table_editor_contenteditable_1
moebius#190: HTML - table - editor (contenteditable) - post process node array to remove all descendants of replacement node
2018-04-16 08:24:14 -04:00
New Tobin Paradigm 64d56a6753 Merge pull request #172 from janekptacijarabaci/svg_canvasImageSource_1
moebius#106: SVG - CanvasImageSource - allow using an SVGImageElement as a CanvasImageSource
2018-04-16 08:23:26 -04:00
janekptacijarabaci 32b443c73c [PALEMOON] Customizable toolbars - added a comment 2018-04-16 04:11:45 +02:00
New Tobin Paradigm d399c5fd7a Merge pull request #181 from trav90/buildsystem-work
Fix GCC -Wreorder warnings.
2018-04-15 19:54:23 -04:00
New Tobin Paradigm e6a0924aee Merge pull request #182 from adeshkp/patch-3
[Tycho AM] Remove test for experiments framework
2018-04-15 19:53:24 -04:00
New Tobin Paradigm 8c9802a93a Merge pull request #183 from adeshkp/patch-4
[WebEx AM] Remove test for experiments framework
2018-04-15 19:53:11 -04:00
New Tobin Paradigm dbc064932f Merge pull request #171 from janekptacijarabaci/js_location_hash_1
Fix: no escape single quote in location.hash
2018-04-15 19:52:56 -04:00
Matt A. Tobin 8aed671605 [PALEMOON] Fix packaging define for ICU 2018-04-15 18:21:23 -04:00
janekptacijarabaci 495bfb844b palemoon#975: Customizable toolbars - backward compatible (but unidirectional) 2018-04-15 22:31:31 +02:00
janekptacijarabaci 4b27653da1 palemoon#903: Customizable toolbars - persist the attribute "collapsed"
https://github.com/MoonchildProductions/Pale-Moon/pull/903
2018-04-15 22:23:57 +02:00
Matt A. Tobin f32f3bafd8 [PALEMOON] Fix packaging define 2018-04-15 16:21:35 -04:00
adeshkp 8d662f459d [WebEx AM] Remove test for experiments framework 2018-04-15 19:33:04 +00:00
adeshkp 00ce32f557 [Tycho AM] Remove test for experiments framework 2018-04-15 19:28:43 +00:00
trav90 9ce6a8a35c Fix GCC -Wreorder warnings. 2018-04-15 14:16:41 -05:00
janekptacijarabaci c3f23b1e3f [PALEMOON] [Frontend vs Backend] HTML - input - datetime
Issue mcp-graveyard/UXP#162
2018-04-15 17:55:14 +02:00
janekptacijarabaci 581b1af601 Bug 1344642 - Part 2: Add a new pref for input type=week, month and datetime-local 2018-04-15 14:52:09 +02:00
janekptacijarabaci a797324176 Bug 1344642 - Part 1: Cleanup dom.forms.datepicker related code 2018-04-15 14:39:19 +02:00
janekptacijarabaci 7a4d8a191b Fix flags for "loadURIWithFlags" in openLocation.js
Issue mcp-graveyard/UXP#121
2018-04-15 12:51:04 +02:00
New Tobin Paradigm e1e097f689 Merge pull request #159 from JustOff/PR_remove_places_protocol
Remove dead Places protocol handler in Pale Moon
2018-04-15 06:09:05 -04:00
janekptacijarabaci ea2f88b936 Maybe fix openLocation.js (to Promise)
Issue mcp-graveyard/UXP#121
2018-04-15 12:07:57 +02:00
janekptacijarabaci 94730c6508 Bug 92737 - Part 10: Use browserDragAndDrop.dropLinks in urlbarBindings.xml
Issue mcp-graveyard/UXP#121
2018-04-15 11:53:33 +02:00
janekptacijarabaci a26557d9bd Bug 92737 - Part 9: Download multiple files when multiple items are dropped on Downloads view in Library Window
Issue mcp-graveyard/UXP#121
2018-04-15 11:52:31 +02:00
wolfbeast 9081b1e9d7 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-04-15 11:51:43 +02:00
wolfbeast eeb353ce36 Merge branch 'html_input_datetime_1'
This is almost everything needed for #162.
2018-04-15 11:51:11 +02:00
janekptacijarabaci 4cf61f46df Bug 92737 - Part 8: Download multiple files when multiple items are dropped on Downloads button
Issue mcp-graveyard/UXP#121
2018-04-15 11:49:38 +02:00
janekptacijarabaci e2e83f899b Bug 92737 - Part 7: Open multiple windows when multiple items are dropped on New Window button
Issue mcp-graveyard/UXP#121
2018-04-15 11:48:06 +02:00
janekptacijarabaci f8d2aaee80 Bug 92737 - Part 6: Open multiple tabs when multiple items are dropped on New Tab button
Issue mcp-graveyard/UXP#121
2018-04-15 11:47:06 +02:00
janekptacijarabaci 5e4b138e14 Bug 92737 - Part 5: Set multiple homepage when multiple items are dropped on Home button
Issue mcp-graveyard/UXP#121
2018-04-15 11:46:16 +02:00
janekptacijarabaci d55a496b7b Bug 92737 - Part 4: Open multiple tabs when multiple items are dropped on tab
+ Follow up:
Bug 92737 - Part 3: Open multiple tabs when multiple items are dropped
on remote content area
- browser.js: "usercontextid" (default: 0)
2018-04-15 11:43:52 +02:00
janekptacijarabaci 5ada82ab81 Bug 92737 - Part 2: Open multiple tabs when multiple items are dropped on non-remote content area
browser.js:

// handleDroppedLink has the following 2 overloads:
//   handleDroppedLink(event, url, name)
//   handleDroppedLink(event, links)
function handleDroppedLink(event, urlOrLinks, name)
{
let links;
if (Array.isArray(urlOrLinks)) {
links = urlOrLinks;
} else {
links = [{ url: urlOrLinks, name, type: "" }];
}

...it is in the previous commit.
2018-04-15 11:29:52 +02:00
janekptacijarabaci caa10bc0a7 Bug 1100294 - Turn getShortcutOrURIAndPostData() into a task that uses the new keywords API
Issue mcp-graveyard/UXP#121
2018-04-15 11:14:20 +02:00
janekptacijarabaci 692b9900d1 Bug 1100291 - Make getShortcutOrURIAndPostData() async by calling the passed callback off a zero timeout
Issue mcp-graveyard/UXP#112
2018-04-15 09:48:39 +02:00
janekptacijarabaci 3b5775d8dc Bug 989984 - getShortcutOrURIAndPostData should have a synchronous callback behavior
Issue mcp-graveyard/UXP#112
2018-04-15 09:46:17 +02:00
janekptacijarabaci 77e8c1e135 Bug 846635 - Use asynchronous getCharsetForURI in getShortcutOrURI
Issue mcp-graveyard/UXP#121
2018-04-15 09:31:07 +02:00
janekptacijarabaci 6e05c7dc3c [PALEMOON] Fix a warning: "unreachable code after return statement" in urlbarBindings.xml
Issue mcp-graveyard/UXP#121
2018-04-15 08:13:22 +02:00
janekptacijarabaci a54132e028 moebius#131: URL parser - stop preserving empty passwords
https://github.com/MoonchildProductions/moebius/issues/131
2018-04-15 08:09:17 +02:00
janekptacijarabaci 5ce88ec8ad moebius#130: URL parser - fix: don't allow empty host name
https://github.com/MoonchildProductions/moebius/issues/130
2018-04-15 07:29:18 +02:00
janekptacijarabaci f9d7c8d828 moebius#190: HTML - table - editor (contenteditable) - post process node array to remove all descendants of replacement node
https://github.com/MoonchildProductions/moebius/issues/190
2018-04-15 06:55:40 +02:00
janekptacijarabaci 77c4f8b248 moebius#106: SVG - CanvasImageSource - allow using an SVGImageElement as a CanvasImageSource 2018-04-15 06:51:24 +02:00
New Tobin Paradigm 585d2853d0 Merge pull request #169 from janekptacijarabaci/csp_frame-ancestors_1
moebius#159: CSP - support for "frame-ancestors" in "Content-Security-Policy-Report-Only"
2018-04-14 18:14:10 -04:00
New Tobin Paradigm dc12f77cc8 Merge pull request #167 from janekptacijarabaci/fetch_headers_1
moebius#140: Fix: Fetch - headers should sort and combine
2018-04-14 18:11:24 -04:00
New Tobin Paradigm d93e8c7e24 Merge pull request #166 from janekptacijarabaci/html_input_maxlength_1
moebius#53: HTML - input - support for dynamic maxlength
2018-04-14 18:10:57 -04:00
Matt A. Tobin 22d4d002fc [PALEMOON] Fix gtk conditional in shared branding 2018-04-14 17:59:41 -04:00
New Tobin Paradigm 6717f8fe45 Merge pull request #165 from JustOff/PR_SessionStore_nsICookieManager2_add
Align SessionStore.jsm with the updated nsICookieManager2.add() API
2018-04-14 16:23:42 -04:00
janekptacijarabaci 57c0649d12 moebius#159: CSP - support for "frame-ancestors" in "Content-Security-Policy-Report-Only"
https://github.com/MoonchildProductions/moebius/pull/159
2018-04-14 22:22:59 +02:00
janekptacijarabaci e2ca6d1a70 moebius#242: XPCOM: exportFunction() - fix wrong .length attribute
https://github.com/MoonchildProductions/moebius/pull/243
2018-04-14 22:20:43 +02:00
janekptacijarabaci 7ab2b95f32 moebius#140: Fix: Fetch - headers should sort and combine
https://github.com/MoonchildProductions/moebius/pull/140
2018-04-14 22:18:47 +02:00
janekptacijarabaci 32202956a5 moebius#53: HTML - input - support for dynamic maxlength
https://github.com/MoonchildProductions/moebius/pull/53
2018-04-14 21:28:42 +02:00
JustOff c23968c56e Align SessionStore.jsm with the updated nsICookieManager2.add() API 2018-04-14 22:24:54 +03:00
Matt A. Tobin ed492a1cb6 [PALEMOON] Move linux icons to moz.build 2018-04-14 14:26:29 -04:00
Matt A. Tobin b1c3823b0a [PALEMOON] Linux gets emojis too 2018-04-14 14:16:24 -04:00
Matt A. Tobin 859ec8029f [PALEMOON] Theme chrome.manifest only needs to be packaged on Windows as far as anyone can tell 2018-04-14 14:12:36 -04:00
Moonchild 15ef5c41de Merge pull request #164 from JustOff/PR_nsContextMenu_unreachable_code
Suppress false-positive warning about unreachable code after return in nsContextMenu.js
2018-04-14 19:47:10 +02:00
Matt A. Tobin f4ce8dd718 [PALEMOON] Fix depth 2018-04-14 13:07:56 -04:00
JustOff 8ef7384c45 Suppress false-positive warning about unreachable code after return in nsContextMenu.js 2018-04-14 19:53:25 +03:00
JustOff 80c2cccdf6 Merge branch 'master' of https://github.com/MoonchildProductions/UXP and resolve conflicts 2018-04-14 19:18:40 +03:00
Matt A. Tobin a0d147d457 Bump Phoenix extensions to allow installing up to Firefox 56.9 2018-04-14 11:29:12 -04:00
Matt A. Tobin 3c3a150b56 [PALEMOON] Add MOZ_PHOENIX_EXTENSIONS to application specific configure 2018-04-14 11:28:02 -04:00
New Tobin Paradigm 6fa7b8f379 Merge pull request #163 from JustOff/PR_SessionStore_getCookiesFromHost
Align SessionStore.jsm with the updated getCookiesFromHost() API
2018-04-14 10:12:52 -04:00
Matt A. Tobin 31c7e6bc02 Add a hack to deal with defs.mk not always being picked up in Pale Moon's case 2018-04-14 10:03:04 -04:00
Matt A. Tobin e4851811cd [PALEMOON] Revise packaging 2018-04-14 10:02:15 -04:00
Matt A. Tobin 96d4572e51 Do not make duplicates fatal while packaging 2018-04-14 10:01:26 -04:00
JustOff e58ced378d Align SessionStore.jsm with the updated getCookiesFromHost() API 2018-04-14 14:44:55 +03:00
New Tobin Paradigm 9e8e586372 Merge pull request #160 from janekptacijarabaci/build_warnings_1
Fix a build warning for BrowserComponents.manifest
2018-04-14 07:25:20 -04:00
janekptacijarabaci f3de6eb2f0 Fix a build warning for BrowserComponents.manifest
[drive]:/[path]/browser/components/BrowserComponents.manifest: WARNING:
no useful preprocessor directives found
2018-04-14 12:18:01 +02:00
JustOff a02b756a2f Remove dead Places protocol handler in Pale Moon 2018-04-14 13:00:36 +03:00
New Tobin Paradigm ef67db54cb Merge pull request #131 from janekptacijarabaci/js_dom_xmlhttprequest_abort_1
Aligned XMLHttpRequest abort() with the spec
2018-04-14 03:19:49 -04:00
New Tobin Paradigm eaecd46ab4 Merge pull request #156 from janekptacijarabaci/pm_places_downloads_1
[PALEMOON] Downloads - throws an error
2018-04-14 03:11:32 -04:00
janekptacijarabaci dc77baa9ed Bug 1341298 - Relax expected module state when resolving modules and circular module dependencies are present 2018-04-14 09:02:03 +02:00
janekptacijarabaci 70ba9fc9f6 Bug 1341411 - Support circular module dependencies through export* per ES2017 2018-04-14 09:00:53 +02:00
janekptacijarabaci 6e58ed8637 Bug 1339986 - Handle export* when checking for duplicate export 2018-04-14 08:59:22 +02:00
janekptacijarabaci 2f8b824a4f Bug 1341256 - Fix module namespace object get handler 2018-04-14 08:57:05 +02:00
janekptacijarabaci 883c6ef3c9 Bug 1340268 - [[HasProperty]] on module namespace object should work even when binding is uninitialized 2018-04-14 08:56:17 +02:00
janekptacijarabaci 27ea934717 Bug 1326453 - Part 5: Remove no longer used ListIterator implementation 2018-04-14 08:55:29 +02:00
janekptacijarabaci ce3171482f Bug 1326453 - Part 4: Return @@toStringTag in [[OwnPropertyKeys]] trap for module namespace objects 2018-04-14 08:52:37 +02:00
janekptacijarabaci 4a494d39d8 Bug 1326453 - Part 3: Don't throw a TypeError when SetPrototypeOf for module namespace objects is called with null 2018-04-14 08:51:05 +02:00
janekptacijarabaci 441e25a2be Bug 1326453 - Part 2: Change @@toStringTag for module namespace objects to non-configurable 2018-04-14 08:50:17 +02:00
janekptacijarabaci 6917b5d7a3 Bug 1326453 - Part 1: Remove @@iterator method from module namespace objects per ES2017 2018-04-14 08:49:15 +02:00
janekptacijarabaci a9430de972 Bug 1330682 - Use CORS when loading modules as per current spec 2018-04-14 08:46:05 +02:00
janekptacijarabaci 2a993396f0 Bug 1330657 - Enable <script type="module"> behind a pref 2018-04-14 08:45:16 +02:00
janekptacijarabaci b0a98ebd55 Bug 1320993 - Fix exporting default class expression 2018-04-14 08:40:37 +02:00
janekptacijarabaci 7500d0b77b [PALEMOON] Downloads - throws an error
Issue mcp-graveyard/UXP#121
2018-04-14 04:53:35 +02:00
New Tobin Paradigm 8d30a712ea Merge pull request #154 from janekptacijarabaci/pm_places_downloads_1
Fix: TypeError: "this._richlistbox.selectedItems.slice is not a function" in allDownloadsViewOverlay.js
2018-04-13 21:54:07 -04:00
janekptacijarabaci a5338d9e3b Fix: TypeError: "this._richlistbox.selectedItems.slice is not a function" in allDownloadsViewOverlay.js
Issue mcp-graveyard/UXP#121
2018-04-14 03:15:56 +02:00
New Tobin Paradigm 3f4d0f2b27 Merge pull request #153 from JustOff/PR_SessionFile_NetUtil.newChannel
Use modern syntax to call NetUtil.newChannel() in _SessionFile.jsm
2018-04-13 21:13:29 -04:00
JustOff f444769ae3 Use modern syntax to call NetUtil.newChannel() in _SessionFile.jsm 2018-04-14 03:08:55 +03:00
New Tobin Paradigm f65ba49a06 Merge pull request #152 from JustOff/PR_Favicons_principal
Use document's principal for favicons in browser
2018-04-13 19:05:06 -04:00
JustOff ca791de39d Use document's principal for favicons in browser 2018-04-14 00:32:14 +03:00
wolfbeast 1e0af16f71 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-04-13 22:06:46 +02:00
wolfbeast b56247c8fe Convert MOZILLA_OFFICIAL conditionals to MC_OFFICIAL where needed.
- `--enable-official-branding` implies `MC_OFFICIAL` (no need to specifically set it)
- `--enable-official-vendor` can be used to set `MC_OFFICIAL` on builds without `--enable-official-branding` that should still be considered official release versions.
- `MC_OFFICIAL` implies `--enable-release`, meaning `DEVELOPER_OPTIONS` isn't set
- `MC_OFFICIAL` makes `nsXULAppInfo.getIsOfficial` return `true`
- `MC_OFFICIAL` makes `AppConstants.MOZILLA_OFFICIAL` (for compatibility in extensions) and `AppConstants.MC_OFFICIAL` return `true`
- Optional, for the time being: `MOZILLA_OFFICIAL` is still present in some places in case someone wants to build a Mozilla-alike official application and has the rights and necessary keys to use Mozilla-official third-party services. This must always be combined with `MC_OFFICIAL` to have a sane combination of defines. This may be removed in the future.
2018-04-13 22:06:20 +02:00
New Tobin Paradigm bf253a9354 Merge pull request #150 from janekptacijarabaci/about_1
moebius#173: Fix up "about:" page
2018-04-13 16:04:37 -04:00
New Tobin Paradigm 69cd64d519 Merge pull request #151 from janekptacijarabaci/js_dom_selection_crash_1
moebius#76: JS - DOM - Selection API - crashes
2018-04-13 15:43:09 -04:00
New Tobin Paradigm f8d9b3ddfb Merge pull request #149 from janekptacijarabaci/minorFix_styleCleanUp_2
moebius#126: [very minor fix] Fix: Gecko vs Goanna in a comment in NSSCertDBTrustDomain.cpp
2018-04-13 15:42:10 -04:00
New Tobin Paradigm 99b80e2df7 Merge pull request #148 from janekptacijarabaci/minorFix_styleCleanUp_1
moebius#255: [minor fix] toolkit/themes/linux/global/jar.mn - style clean up (the columns alignment)
2018-04-13 15:41:42 -04:00
New Tobin Paradigm df88649ccf Merge pull request #147 from janekptacijarabaci/html_labels_2_test
HTML - implement the labels attribute (added a test)
2018-04-13 15:41:26 -04:00
New Tobin Paradigm 5d14bf406a Merge pull request #143 from JustOff/PR_browser_newChannel2
Make JS callers of ios.newChannel call ios.newChannel2 in browser/
2018-04-13 15:41:06 -04:00
janekptacijarabaci 2f10f7f725 Style clean up in about.dtd
https://github.com/MoonchildProductions/moebius/issues/173
2018-04-13 21:24:38 +02:00
janekptacijarabaci cb75118a0b moebius#76: JS - DOM - Selection API - crashes
https://github.com/MoonchildProductions/moebius/pull/76
2018-04-13 20:57:00 +02:00
janekptacijarabaci 4ea741d40c moebius#173: Fix up "about:" page
https://github.com/MoonchildProductions/moebius/issues/173
2018-04-13 20:55:39 +02:00
janekptacijarabaci a7a13bba52 moebius#126: [very minor fix] Fix typo in a comment in NSSCertDBTrustDomain.cpp
https://github.com/MoonchildProductions/moebius/pull/126
2018-04-13 20:53:27 +02:00
janekptacijarabaci 2384fe79a8 moebius#255: [minor fix] toolkit/themes/linux/global/jar.mn - style clean up (the columns alignment)
https://github.com/MoonchildProductions/moebius/pull/255
2018-04-13 20:52:01 +02:00
janekptacijarabaci 351e4bdc43 HTML - implement the labels attribute (added a test)
https://github.com/MoonchildProductions/UXP/commit/6be9e507077bfdd2b8c82c203cf70f010ecce086#commitcomment-28047433
2018-04-13 20:50:50 +02:00
JustOff ec72b7bfc5 Make JS callers of ios.newChannel call ios.newChannel2 in browser/ 2018-04-13 21:31:38 +03:00
New Tobin Paradigm 090631418c Merge pull request #142 from janekptacijarabaci/pm_devtools_3_developer-toolbar
Fix: Developer Toolbar (the command: "cookie"; themes)
2018-04-13 13:21:09 -04:00
janekptacijarabaci b279b86f1c Fix a comment: "DevEdition theme" vs "DevTools theme"
Issue mcp-graveyard/UXP#102
2018-04-13 19:13:12 +02:00
janekptacijarabaci 39a8dcbff9 Fix: Developer Toolbar (the command: cookie; themes)
Issue mcp-graveyard/UXP#102
2018-04-13 19:07:44 +02:00
Matt A. Tobin 2ac742e445 Restyle the findbar 2018-04-13 12:49:13 -04:00
New Tobin Paradigm 34e865c504 Merge pull request #129 from janekptacijarabaci/_native_52ESR_xulWidgets_menulist_editable_1
Editable menulist loosing editable attribute gets focus stuck (menulist.xml)
2018-04-13 11:22:17 -04:00
New Tobin Paradigm f661fcd0eb Merge pull request #141 from janekptacijarabaci/pm_findbar_1
Fix: Findbar broken
2018-04-13 11:15:36 -04:00
janekptacijarabaci 417c5d0672 Fix typo in a property in tabbrowser.xml
Issue mcp-graveyard/UXP#138
2018-04-13 17:03:44 +02:00
janekptacijarabaci e918bbd92b Fix (to TODO): Findbar throws an error - "nsIPrefBranch.getBoolPref" is not exist in browser.js
Issue mcp-graveyard/UXP#138
2018-04-13 16:40:28 +02:00
New Tobin Paradigm 2c238f6e7d Merge pull request #140 from janekptacijarabaci/pm_contentMenu_saveImageURL_2_cleanUp
Style clean up: saveImageURL() in nsContextMenu.js
2018-04-13 08:18:36 -04:00
janekptacijarabaci f5de5533b0 Fix: Findbar broken (basic)
Issue mcp-graveyard/UXP#138
2018-04-13 10:55:02 +02:00
janekptacijarabaci 7cb1de06d9 Style clean up: saveImageURL() in nsContextMenu.js
Tag mcp-graveyard/UXP#139
2018-04-13 08:57:25 +02:00
New Tobin Paradigm 384c6a8f3a Merge pull request #139 from janekptacijarabaci/pm_contentMenu_saveImageURL_1
Fix: "DEPRECATION WARNING: saveImageURL should be passed the private state of the containing window" in nsContextMenu.js
2018-04-13 02:33:59 -04:00
janekptacijarabaci b833561bad Fix: DEPRECATION WARNING: saveImageURL should be passed the private state of the in nsContextMenu.js
Issue mcp-graveyard/UXP#121
2018-04-13 08:15:49 +02:00
New Tobin Paradigm 7c0c7ec789 Merge pull request #135 from janekptacijarabaci/aboutSupport_improvements_1
moebius#57: about:support - "Copy text to clipboard": "Places Database" - "Verify" (results)
2018-04-13 00:46:41 -04:00
New Tobin Paradigm db8d8c090c Merge pull request #136 from trav90/gtk-work
Improve GTK3 support
2018-04-13 00:46:18 -04:00
New Tobin Paradigm a779e5e660 Merge pull request #137 from janekptacijarabaci/pm_viewSource_1
Fix: Using "View Source" from Browser Console; Added support for "view_source.editor.external"
2018-04-13 00:45:26 -04:00
janekptacijarabaci dd2110ebc4 Fix: Using "View Source" from Browser Console
Issue mcp-graveyard/UXP#121
2018-04-13 06:17:25 +02:00
janekptacijarabaci 17fd88cddb moebius#57: about:support - improvements (Copy text to clipboard)
https://github.com/MoonchildProductions/moebius/pull/57
2018-04-12 23:45:12 +02:00
New Tobin Paradigm 54f7219605 Merge pull request #134 from janekptacijarabaci/places_error_1
Places - fix: throws an error: 0x80004005 (NS_ERROR_FAILURE) [nsIEditor.transactionManager]
2018-04-12 17:40:27 -04:00
New Tobin Paradigm cb1eb814ff Merge pull request #132 from janekptacijarabaci/notifications_settings_1
moebius#154: Notifications - user settings - the immediate duration of the alert
2018-04-12 17:13:48 -04:00
Matt A. Tobin cd37b5c5d0 [PALEMOON] Update handle-xul-text-link to deal with json source data 2018-04-12 16:18:04 -04:00
janekptacijarabaci ee0519d04b moebius#154: Notifications - user settings - the immediate duration of the alert
https://github.com/MoonchildProductions/moebius/pull/154
2018-04-12 20:23:00 +02:00
New Tobin Paradigm 2dd1d1cacf Merge pull request #128 from janekptacijarabaci/pm_icons_2_followUp_basilisk
Remove an unused (web)extensions icon in jar.mn
2018-04-12 14:13:01 -04:00
Matt A. Tobin ea5aaf99df [PALEMOON] Remove the migrator 2018-04-12 14:10:27 -04:00
Matt A. Tobin b3cb2ab211 Password Mananger has migration capabilities for only Basilisk 2018-04-12 13:39:45 -04:00
Matt A. Tobin 3d0bcb0858 Revert "Restore Dict.jsm" 2018-04-12 13:35:04 -04:00
janekptacijarabaci ec5c0bec68 Remove an unused (web)extensions icon
Follow up: #122
2018-04-12 19:20:29 +02:00
Matt A. Tobin 0711514432 Fix loops in Dict.jsm
SyntaxError: missing ] after element list
2018-04-12 12:47:02 -04:00
Matt A. Tobin a98b04e6e8 Restore Dict.jsm 2018-04-12 12:09:20 -04:00
Matt A. Tobin 22e0abbc86 Add missing l10n string 2018-04-12 11:49:34 -04:00
Matt A. Tobin f6cd1d1e5d Maybe fix SyntaxError: non-generator method definitions may not contain yield in MigrationUtils.jsm 2018-04-12 11:29:15 -04:00
New Tobin Paradigm c2373c4efd Merge pull request #126 from janekptacijarabaci/js_X-Content-Type-Options_nosniff_json_1
Align XCTO: nosniff allowed script MIME types with the spec
2018-04-12 10:49:23 -04:00
New Tobin Paradigm 47587fe9e2 Merge pull request #127 from janekptacijarabaci/devtools_appmenu_3
[PALEMOON] [DevTools] Added support of the appmenu for DevTools menuitems (follow up)
2018-04-12 10:49:08 -04:00
janekptacijarabaci a2855f8e3e [PALEMOON] [DevTools] Added support of the appmenu for DevTools menuitems (follow up)
Issue mcp-graveyard/UXP#96
Issue mcp-graveyard/UXP#102
2018-04-12 15:49:28 +02:00
New Tobin Paradigm 31a9e5de9d Merge pull request #124 from janekptacijarabaci/pm_about-plugins_1
about:plugins - fix "addMessageListener is not a function" (e10s off - revert bug 1068087 - partially)
2018-04-12 08:04:39 -04:00
New Tobin Paradigm 92d056078d Merge pull request #125 from janekptacijarabaci/pm_loginManager_1
[PALEMOON] Fix Login Manager (Prompter) - basic
2018-04-12 07:33:58 -04:00
New Tobin Paradigm 9ec540d429 Merge pull request #123 from janekptacijarabaci/pm_devtools_2
[PALEMOON] [DevTools] Fix preferences in preferences.inc
2018-04-12 07:32:50 -04:00
New Tobin Paradigm 6bff946598 Merge pull request #122 from janekptacijarabaci/pm_icons_1
[PALEMOON] Update: extension/plugin icons (Windows), passwordmgr icons
2018-04-12 07:31:54 -04:00
Matt A. Tobin 458716dcdc [PALEMOON] Resolve issues with redeclaration according to ES6 2018-04-12 07:28:41 -04:00
Matt A. Tobin fa2c269a1f Revert "[PALEMOON] Fix redeclarations of shorthand Cc, Ci, Cu"
This reverts commit 6fde853fa8.
2018-04-12 06:16:44 -04:00
Matt A. Tobin e76ed1a691 Revert "[PALEMOON] Use Components.interfaces directly in controller.js, history-panel.js, and treeView.js"
This reverts commit 8e9e05da3d.
2018-04-12 06:15:25 -04:00
janekptacijarabaci d52833f2d9 [PALEMOON] about:plugins - fix "addMessageListener is not a function" (e10s off - revert bug 1068087 - partially) 2018-04-12 10:18:25 +02:00
janekptacijarabaci 632d7fad8e [PALEMOON] [DevTools] Fix preferences in preferences.inc
See:
http://xref.palemoon.org/uxp-trunk/source/devtools/client/webconsole/utils.js#269
2018-04-12 10:13:54 +02:00
janekptacijarabaci 20abb87d21 [PALEMOON] Update: extension/plugin icons (Windows), passwordmgr icons
https://github.com/MoonchildProductions/Pale-Moon/commit/050f33015bb234c42c88c282dc75dc2133727094
2018-04-12 10:11:05 +02:00
janekptacijarabaci 1b00528ae3 moebius#117: Login Manager Prompter - auth: Throws an errors
https://github.com/MoonchildProductions/moebius/pull/117
2018-04-12 09:27:21 +02:00
janekptacijarabaci fc3d44f2a0 [PALEMOON] [Frontend vs Backend] Password Manager: InsecurePasswordUtils.checkForInsecurePasswords is not a function 2018-04-12 09:24:59 +02:00
janekptacijarabaci 22033f0f2b Revert "[PALEMOON] Login Manager Prompter: win.gBrowser is undefined"
This reverts commit 263927c717.
2018-04-12 07:06:16 +02:00
Moonchild f99cfeaadb Merge pull request #119 from adeshkp/patch-2
[PALEMOON] Fix depth for toolkit osx/shared.inc
2018-04-11 18:27:54 +02:00
trav90 78efea17b3 [GTK3] Set alpha component appropriately in operator over for -moz-field 2018-04-11 11:14:15 -05:00
adeshkp 8ad5409cba [PALEMOON] Fix depth for toolkit osx/shared.inc 2018-04-11 15:59:14 +00:00
wolfbeast c467927042 Remove crash reporter part 1.
Merged branch 'remove-crashreporter'
2018-04-11 17:47:35 +02:00
wolfbeast c2a7164c52 Rebase on master 2018-04-11 17:45:54 +02:00
wolfbeast 7004dcab62 Fix aboutSupport.js
Addresses comments:
https://github.com/MoonchildProductions/UXP/commit/bf6bb142fc5bcb49b053788e06160af304f639e5#commitcomment-28527974
https://github.com/MoonchildProductions/UXP/commit/0f99df52d5309158c7b916581c5a79496b1844db#commitcomment-28527792
2018-04-11 17:30:34 +02:00
janekptacijarabaci 4a640c8878 [PALEMOON] [Frontend vs Backend] Password Manager - Implemented Popup Notifications (it is not complete) 2018-04-11 13:05:43 +02:00
janekptacijarabaci ce90242d6c [PALEMOON] Preferences - Security - Password Manager: Use LoginHelper.isMasterPasswordSet instead of _masterPasswordSet 2018-04-11 13:01:25 +02:00
janekptacijarabaci bcf797bc91 [PALEMOON] [Frontend vs Backend] Login Manager: Bug 1045987 - Implemented "getBrowserForContentWindow" method in tabbrowser.xml 2018-04-11 12:17:17 +02:00
janekptacijarabaci 689df053fc [PALEMOON] Login Manager Prompter: win.gBrowser is undefined 2018-04-11 12:12:49 +02:00
Matt A. Tobin b2ab002b5c [PALEMOON] Fix depth in baseMenuOverlay.xul 2018-04-11 03:03:43 -04:00
New Tobin Paradigm 2e064cadb8 Merge pull request #118 from janekptacijarabaci/pm_sanitize_offlineApps_1
[PALEMOON] Fix Sanitize - Offline Apps (e.g. "Offline" - "Clear Recent History" - "Offline Website Data"): Quota Manager => Quota Manager Service
2018-04-11 02:31:08 -04:00
New Tobin Paradigm 664722354a Merge pull request #117 from janekptacijarabaci/pm_sanitize_path_console_1
[PALEMOON] [DevTools] Fix a path with Console.jsm (deprecated) - in sanitize.js
2018-04-11 02:29:53 -04:00
New Tobin Paradigm 6ecf34414f Merge pull request #116 from janekptacijarabaci/pm_pageinfo_permissions_error_uri_1
[PALEMOON] "Page Info" - "Permissions" - use uri.spec instead of uri in a new Error
2018-04-11 02:29:33 -04:00
Matt A. Tobin ed6b0f10a6 [PALEMOON] Fix depth for toolkit osx shared.inc 2018-04-11 02:27:12 -04:00
janekptacijarabaci 8bc7569b64 [PALEMOON] Fix Sanitize (e.g. "Offline" - "Clear Recent History" - "Offline Website Data"): Quota Manager => Quota Manager Service
Issue mcp-graveyard/UXP#57
2018-04-11 07:28:32 +02:00
janekptacijarabaci 960784e360 [PALEMOON] [DevTools] Fix a path with Console.jsm (deprecated) - in sanitize.js
Issue mcp-graveyard/UXP#57
2018-04-11 07:24:12 +02:00
janekptacijarabaci e6c27a503b [PALEMOON] "Page Info" - "Permissions" - use uri.spec instead of uri in a new Error
Issue mcp-graveyard/UXP#112
Issue mcp-graveyard/UXP#57
2018-04-11 07:18:32 +02:00
Matt A. Tobin c9d24ed75f Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-04-11 00:53:50 -04:00
Matt A. Tobin 4730d28ff7 Only enable general.useragent.appVersionIsBuildID for Basilisk by default 2018-04-11 00:51:08 -04:00
New Tobin Paradigm 630c169962 Merge pull request #115 from janekptacijarabaci/pm_pageinfo_permissions_plugins_1
[PALEMOON] "Page Info" - "Permissions": Fix - List of plugins
2018-04-10 17:46:00 -04:00
janekptacijarabaci 7dd92ddb8f [PALEMOON] "Page Info" - "Permissions": Fix - List of plugins
Issue mcp-graveyard/UXP#112
2018-04-10 20:28:53 +02:00
janekptacijarabaci cbf0fd216c [PALEMOON] "Page Info" - "Permissions": Quota Manager => Quota Manager Service
Issue mcp-graveyard/UXP#112
2018-04-10 20:28:06 +02:00
janekptacijarabaci c550f1df17 [PALEMOON] "Page Info" - "Permissions": Permission Manager - use URI instead of URI.host
Issue mcp-graveyard/UXP#112
2018-04-10 20:26:59 +02:00
New Tobin Paradigm d46770ac70 Merge pull request #111 from janekptacijarabaci/pm_devtools_2_paths
[PALEMOON] [DevTools] Fix some paths with ToolboxProcess.jsm and Console.jsm (deprecated)
2018-04-09 21:06:20 -04:00
janekptacijarabaci e36550bff7 [PALEMOON] Fix some paths (deprecated) with Console.jsm (sessionstore, extensions) 2018-04-09 21:15:24 +02:00
janekptacijarabaci 39f5ae1a20 [PALEMOON] [DevTools] Fix some paths with ToolboxProcess.jsm (extensions)
Issue mcp-graveyard/UXP#102
2018-04-09 19:25:12 +02:00
Matt A. Tobin 2e844c319d [PALEMOON] Enable Devtools by default 2018-04-09 10:19:13 -04:00
Matt A. Tobin f212298c46 [PALEMOON] Preprocess organizer.css on Windows 2018-04-09 08:34:12 -04:00
Matt A. Tobin 6708bdab5a [PALEMOON] Fix for loops in MigrationUtils.jsm
(SyntaxError: missing ] after element list)
2018-04-09 08:33:14 -04:00
Matt A. Tobin 9ded610740 [PALEMOON] Fix for loops in allDownloadsViewOverlay.js
(SyntaxError: missing ] after element list)
2018-04-09 08:32:30 -04:00
Matt A. Tobin 80de88f5ca [PALEMOON] Use Components.interfaces directly in controller.js, history-panel.js, and treeView.js 2018-04-09 08:09:28 -04:00
Matt A. Tobin ace1f7e4fc [PALEMOON] Fix for loops in grid.js (included into newTab.js)
(SyntaxError: missing ] after element list)
2018-04-09 07:28:09 -04:00
Matt A. Tobin 2e761680f8 [PALEMOON] Add an expected pref browser.newtabpage.enhanced 2018-04-09 06:59:18 -04:00
Matt A. Tobin bfe2f5f018 [PALEMOON] Use non-prefixed cancelAnimationFrame in browser-fullscreen.js 2018-04-09 05:51:26 -04:00
New Tobin Paradigm b1cd6c09a6 Merge pull request #108 from janekptacijarabaci/devtools_browser_cleanUp_followUp_3
[DevTools] Use preprocessing for: a global variable "gDevTools" and the context menu - a function "Inspect Element"
2018-04-08 19:49:12 -04:00
New Tobin Paradigm 69022fb13d Merge pull request #109 from janekptacijarabaci/devtools_appmenu_2
[PALEMOON] [DevTools] Added support of the appmenu for DevTools menuitems (follow up)
2018-04-08 19:48:59 -04:00
Matt A. Tobin c6a83dddae [DEVTOOLS] Resolve issues with dynamically created devtools menu items vs hardcoded vs overlay
Follow up to 1a36001
2018-04-08 19:48:21 -04:00
New Tobin Paradigm 8ee4d16c37 Merge pull request #107 from trav90/buildsystem-work
Fix packaging after bf6bb14
2018-04-08 19:13:13 -04:00
janekptacijarabaci ad4f8365a2 [PALEMOON] [DevTools] Added support of the appmenu for DevTools menuitems (follow up)
Issue mcp-graveyard/UXP#96
Issue mcp-graveyard/UXP#102
2018-04-08 21:55:44 +02:00
janekptacijarabaci e1387f387c [DevTools] Use preprocessing for: a global variable "gDevTools" and the context menu - a function "Inspect Element"
Follow up: #106
2018-04-08 21:50:16 +02:00
New Tobin Paradigm 5cbbd28bad Merge pull request #101 from janekptacijarabaci/devtools_CustomizableUI_2
CustomizableUI.jsm can't be used for Pale Moon - setting conditions
2018-04-08 14:06:12 -04:00
trav90 36af3d05b0 Fix packaging after bf6bb14 2018-04-08 13:04:38 -05:00
New Tobin Paradigm a7ea26b87b Merge pull request #106 from janekptacijarabaci/devtools_browser_cleanUp_followUp_2
[DevTools] Follow up: A function "Inspect Element" (nsContextMenu.js)
2018-04-08 13:58:21 -04:00
New Tobin Paradigm cb6fd0b84c Merge pull request #105 from janekptacijarabaci/pm_devtools_1
[PALEMOON] [DevTools] Added support for a new DevTools (basic settings)
2018-04-08 13:47:00 -04:00
janekptacijarabaci 7a9a2dda8a [PALEMOON] [DevTools] Follow up: A function "Inspect Element" (nsContextMenu.js)
Issue mcp-graveyard/UXP#102
2018-04-08 18:28:56 +02:00
Moonchild 5ff20954ad Merge pull request #94 from trav90/js-work
Fix Value::isGCThing footgun, stop returning true for NullValue
2018-04-08 18:16:01 +02:00
janekptacijarabaci 97b0a462f9 [DevTools] Follow up: A function "Inspect Element" (nsContextMenu.js)
Issue mcp-graveyard/UXP#95
Follow up: #99
2018-04-08 17:58:39 +02:00
janekptacijarabaci 639786ba50 [PALEMOON] [DevTools] Fix + Add some paths to DevTools (installer - package-manifest.in)
Issue mcp-graveyard/UXP#102
2018-04-08 15:09:24 +02:00
janekptacijarabaci 0cb0ed0719 [PALEMOON] [DevTools] Fix some paths to DevTools (themes)
Issue mcp-graveyard/UXP#102
2018-04-08 15:08:02 +02:00
janekptacijarabaci a25969fce6 [PALEMOON] [DevTools] Fix some paths to DevTools (sessionstore)
Issue mcp-graveyard/UXP#102
2018-04-08 15:07:17 +02:00
janekptacijarabaci b974e69408 [PALEMOON] [DevTools] Fix a function "Inspect Element" (nsContextMenu.js)
Issue mcp-graveyard/UXP#102
2018-04-08 15:06:43 +02:00
janekptacijarabaci e876fae3ee [PALEMOON] [DevTools] Support for adding menuitems dynamically
Issue mcp-graveyard/UXP#102
2018-04-08 15:04:49 +02:00
wolfbeast d2091b32b6 Remove telemetry experiments framework 2018-04-08 12:24:27 +02:00
janekptacijarabaci db02b3ebe3 Style clean up 2018-04-08 08:23:40 +02:00
janekptacijarabaci 25811f8767 Use preprocessing instead of AppConstants.jsm 2018-04-08 08:21:28 +02:00
New Tobin Paradigm b25e3dd758 Merge pull request #100 from janekptacijarabaci/devtools_appmenu_1
Added support of the appmenu for DevTools menuitems (optional)
2018-04-08 01:10:26 -04:00
New Tobin Paradigm b403ded1f2 Merge pull request #99 from janekptacijarabaci/devtools_browser_cleanUp_1
Remove unused variables (DevTools) in browser.js
2018-04-07 22:33:44 -04:00
New Tobin Paradigm 46834baaaa Merge pull request #98 from janekptacijarabaci/devtools_CustomizableUI_1
Fix some comment in devtools-browser.js
2018-04-07 22:33:05 -04:00
janekptacijarabaci 685d2c0cfa Added support of the appmenu for DevTools menuitems (optional)
Issue mcp-graveyard/UXP#96
2018-04-08 00:15:48 +02:00
janekptacijarabaci 51cd8503b3 CustomizableUI.jsm can't be used for Pale Moon - setting conditions
Issue mcp-graveyard/UXP#97
2018-04-08 00:14:08 +02:00
janekptacijarabaci 8b66627817 Fix some comment in devtools-browser.js 2018-04-08 00:11:24 +02:00
janekptacijarabaci 4ceaa83488 Remove unused variables (DevTools) in browser.js
Issue mcp-graveyard/UXP#95
2018-04-08 00:07:46 +02:00
Matt A. Tobin f421fd2a59 [PALEMOON] Fix dragging when tabs are on top and menubar is disabled 2018-04-07 14:32:34 -04:00
trav90 edee6fab0d Fix Value::isGCThing footgun, stop returning true for NullValue 2018-04-07 13:11:38 -05:00
Matt A. Tobin ed07717516 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-04-07 12:36:22 -04:00
Matt A. Tobin 67573b97a8 [PALEMOON] Fix some errors in tabbrowser.xml by adding usercontextid where needed 2018-04-07 12:35:03 -04:00
Matt A. Tobin 90e4cc6c2d [PALEMOON] Remove instanceof SVGDocument from browser-thumbnails.js 2018-04-07 12:34:18 -04:00
Matt A. Tobin dee6496cc7 [PALEMOON] Fix for loops in DownloadsCommon.jsm and WindowsPreviewPerTab.jsm
(SyntaxError: missing ] after element list)
2018-04-07 12:33:16 -04:00
Moonchild 3d9cf5879d Merge pull request #93 from trav90/buildsystem-work
Fix a few GCC build warnings
2018-04-07 18:16:54 +02:00
Matt A. Tobin 1dd553825e [PALEMOON] Finish incomplete ifdef'ing of MOZ_WEBRTC 2018-04-07 10:48:22 -04:00
Matt A. Tobin b20945f3d0 Update configure variable verification 2018-04-07 09:36:48 -04:00
Matt A. Tobin 6eb46cc2c1 [PALEMOON] Use an array for Lazy Module Getters 2018-04-07 09:21:20 -04:00
Matt A. Tobin 2484425e51 Make code style consistent across all AboutRedirector's 2018-04-07 08:22:56 -04:00
Matt A. Tobin ebea4bc5ad Make about:logopage available to any browser that opts into MOZ_PHOENIX
Follow up to 5e8e0689c
2018-04-07 06:10:48 -04:00
Matt A. Tobin d207751435 [PALEMOON] Fix typo in browser-thumbnails.js
Follow up to a0bfb651b
2018-04-07 03:40:36 -04:00
Matt A. Tobin e12baf63a8 [WebExAM] Use a special "platform" ID and version number for WebExtensions in XPIProvider.jsm 2018-04-07 03:29:35 -04:00
trav90 5e3ff1d29d Fix GTK3 build bustage 2018-04-06 17:38:44 -05:00
wolfbeast 4f0a309064 Instate unofficial branding (Serpent) 2018-04-06 21:40:39 +02:00
trav90 f25c02e014 Only add -Wno-null-conversion when building with clang
Fixes some GCC warning spam.
2018-04-06 14:37:18 -05:00
trav90 20728f433f Fix incorrect assertions in js/src/builtin/
Prevents GCC 7 build warning spam.
2018-04-06 13:29:27 -05:00
trav90 a6a34a9269 [GTK3] Ignore double-click on WM without _NET_WM_MOVERESIZE support
This fixes a crash with GTK3 builds used with a window manager that does not support _NET_WM_MOVERESIZE.
2018-04-06 11:25:22 -05:00
trav90 f1e320c1ee [GTK3] Get styles for menu label, button text and combobox text colors from WidgetCache 2018-04-06 11:14:42 -05:00
trav90 355aff3c04 [GTK3] Don't invalidate style content for missing widgets 2018-04-06 11:03:35 -05:00
trav90 ddfa59a81a [GTK3] Invalidate widget style contexts after their ancestors are set
Although this is only known to affect buttons with builtin child widgets, it is difficult to audit all GTK widgets for similar situations, and so the same defense is applied to all widgets.
2018-04-06 11:02:43 -05:00
trav90 5cda24f542 [GTK3] Force a style resolution on context creation to set GTK 3.4 theming_engine
This works around a GTK bug that led to the default engine being used instead for the first draw.
2018-04-06 10:58:03 -05:00
trav90 e118ded918 [GTK3] For Gtk > 3.20 determine scale trough size from trough CSS node and also add border/padding/margin 2018-04-06 10:37:03 -05:00
trav90 fdce2bdf00 [GTK3] Consider also margin when determine range widget slider size 2018-04-06 10:34:41 -05:00
trav90 c17f16c0dd [GTK3] With GTK versions < 3.8 draw menuitem background and frame only when in hover and not a separator 2018-04-06 10:30:12 -05:00
trav90 4b613ca671 [GTK3] Implement pre-3.20 MOZ_GTK_PROGRESS_CHUNK in WidgetStyleCache 2018-04-06 10:25:03 -05:00
trav90 0d35094e1c [GTK3] Adjust textarea style contexts for GTK 3.20 theming ABI changes 2018-04-06 09:18:33 -05:00
trav90 0108829811 [GTK3] Consider textview root node background in addition to text node for -moz-appearance:textfield-multiline
This is necessary for GTK versions > 3.18 because windows no longer clear their backgrounds since https://git.gnome.org/browse/gtk+/commit/?id=580ea227a6bb19ad6c6d4766b3a36dbad24583f3 and Ambiance for 3.20 has a transparent background for the "text" window.
2018-04-06 09:16:44 -05:00
trav90 b0a0731623 [GTK3] Consider textview root node background in addition to text node for -moz-field
This is necessary for GTK versions > 3.18 because windows no longer clear their backgrounds since https://git.gnome.org/browse/gtk+/commit/?id=580ea227a6bb19ad6c6d4766b3a36dbad24583f3 and Ambiance for 3.20 has a transparent background for the "text" window.
2018-04-06 09:10:47 -05:00
trav90 cd2862b19d [GTK3] Introduce MOZ_GTK_TEXT_VIEW_TEXT and move MOZ_GTK_RESIZER to WidgetStyleCache
The style context for MOZ_GTK_TEXT_VIEW is now created by copying from the widget instead of caching a widget and using its context.
No rendering changes are expected, unless themes are animating GtkTextView backgrounds.
2018-04-06 09:06:33 -05:00
trav90 fd226c64d1 [GTK3] Use WidgetCache to get colors at nsLookAndFeelfor menuitems, text and tree view 2018-04-06 09:04:54 -05:00
trav90 50d7b2dcc0 [GTK3] Use WidgetCache to get colors at nsLookAndFeel for GtkButton, GtkWindow, GtkScrollBar 2018-04-06 07:53:35 -05:00
trav90 69c075efdb [GTK3] Use WidgetCache to get colors at nsLookAndFeel 2018-04-06 07:52:43 -05:00
wolfbeast 202591901d Remove about:home snippets. 2018-04-06 14:07:27 +02:00
trav90 4f27c93bd2 [GTK3] Adjust menuitem padding and check/radio indicator position for changes in GTK 3.20 2018-04-05 15:51:07 -05:00
trav90 8808cc0471 [GTK3] Rename subtract_margin and rectangle_inset to Inset* and swap InsetByMargin parameters for consistency. 2018-04-05 15:50:31 -05:00
trav90 d6d44193c0 [GTK] Rename radio/check menuitem and indicator as used with ClaimStyleContext.
The same name is retained for moz_gtk_widget_paint(), which is now more consistent.
2018-04-05 15:49:41 -05:00
trav90 d5de7223d7 [GTK3] Use menuitem padding between menuitem and check indicator. 2018-04-05 15:48:29 -05:00
trav90 c49487cddd [GTK3] Draw only background and frame of separator menuitems in GTK versions > 3.20
In GTK 3.20, gtk_menu_item_draw() just draws the root widget gadget, depending on the theme to style menu items with CSS name "separator" appropriately.
2018-04-05 15:47:48 -05:00
trav90 ffa9276e42 [GTK3] Draw separator menuitem background and frame behind separator in menu 2018-04-05 15:47:12 -05:00
trav90 c00baa15f1 [GTK3] Draw menuitem background even when not in hover 2018-04-05 15:46:38 -05:00
wolfbeast c2cb5e2195 Silence for-each-in warnings 2018-04-05 16:04:21 +02:00
Matt A. Tobin bee531a2e6 Port over logopage 2018-04-05 09:31:09 -04:00
Matt A. Tobin 79e53cb0ff [PALEMOON] Use unprefixed requestAnimationFrame in tabbrowser.xml 2018-04-05 09:05:44 -04:00
Matt A. Tobin 0cac6e923e [PALEMOON] Swipe Basilisk's browser-fullZoom.js 2018-04-05 08:43:32 -04:00
Matt A. Tobin 22da9ee239 [PALEMOON] Add missing strings to override netError.dtd 2018-04-05 08:42:39 -04:00
Matt A. Tobin 9b60467b11 [PALEMOON] Fix redeclarations of shorthand Cc, Ci, Cu 2018-04-05 08:10:46 -04:00
Matt A. Tobin 4ea802c4c4 [PALEMOON] Switch call to autocomplete from history to unifiedcomplete in tabbrowser.xml 2018-04-05 08:05:31 -04:00
Matt A. Tobin 0c5c7471a8 [PALEMOON] Fix preprocessing on preferences 2018-04-05 07:38:30 -04:00
Matt A. Tobin fb932cbaf3 [PALEMOON] Fix for loops in browser-thumbnails.js (SyntaxError: missing ] after element list) 2018-04-05 07:26:47 -04:00
Matt A. Tobin d65185da74 [PALEMOON] Fix for loops in treeView.js (SyntaxError: missing ] after element list) 2018-04-05 07:26:12 -04:00
Matt A. Tobin c6671cbf8f [PALEMOON] Remove check for MSE mixed prefs in nsBrowserGlue.js 2018-04-05 07:03:38 -04:00
Matt A. Tobin 5407a0f9b8 Take the following project_flags out of moz.configure: and put them back into old-configure
MOZ_PLACES
MOZ_SOCIAL
MOZ_SERVICES_HEALTHREPORT
MOZ_SERVICES_SYNC
MOZ_SERVICES_CLOUDSYNC
2018-04-05 06:02:02 -04:00
wolfbeast 8a65789b65 Remove unused XRE_DONT_SUPPORT_XPSP2 2018-04-05 10:11:55 +02:00
wolfbeast 3cd72d8a44 Make vector image surface caching smarter.
This resolves #91.
2018-04-05 09:58:06 +02:00
Moonchild 3ae92b3420 Merge pull request #90 from trav90/fix-build-bustage
Fix Linux build bustage
2018-04-05 07:51:33 +02:00
trav90 906e01cc6f Fix Twemoji GTK build bustage
Followup to b4e843a.
2018-04-04 16:19:55 -05:00
trav90 ca2c72ef02 Remove extra "+" signs from jar.nm for Linux theme 2018-04-04 16:09:02 -05:00
janekptacijarabaci 6d1a75e0d6 Bug 1288768 - Better error reporting for network errors in workers 2018-04-04 21:36:41 +02:00
janekptacijarabaci d8d5c06b9e Bug 1288768 - Better error reporting for network errors in workers 2018-04-04 21:36:19 +02:00
Matt A. Tobin 503356cac7 Ensure WebRTC is off by default in old-configure 2018-04-04 10:59:13 -04:00
Moonchild 7547067af0 Merge pull request #88 from janekptacijarabaci/devtools_network_openInNewTab_unused_1
[minor fix] Removing an unused variable
2018-04-04 16:33:29 +02:00
Matt A. Tobin 7d5aea00c3 [PALEMOON] Fix preprocessor call for default bookmarks.html 2018-04-04 10:21:46 -04:00
Matt A. Tobin 71952d67a4 [PALEMOON] Update the Windows Installer 2018-04-04 09:49:48 -04:00
Matt A. Tobin e1a509185c [PALEMOON] Fix fuelApplication.js include depth 2018-04-04 09:26:25 -04:00
Matt A. Tobin 067f5a01bd [PALEMOON] Steal Basilisk's nsBrowserApp 2018-04-04 09:22:41 -04:00
Matt A. Tobin db08d034ba [PALEMOON] Resolve externals is browsercomps 2018-04-04 09:21:53 -04:00
Matt A. Tobin 2b505f6df4 [PALEMOON] Wholesale steal Basilisk's shell component 2018-04-04 08:44:14 -04:00
Matt A. Tobin 93d9aa1db9 [PALEMOON] Swipe nsIEHistoryEnumerator from Basilisk 2018-04-04 08:07:51 -04:00
Matt A. Tobin e579168c6d [PALEMOON] use nsresult instead of NS_METHOD in nsFeedSniffer 2018-04-04 07:49:29 -04:00
Matt A. Tobin e0bcf33245 [PALEMOON] Remove the NS_APP_BOOKMARKS_50_FILE directory service key 2018-04-04 07:22:37 -04:00
Matt A. Tobin ce9b3ae09f [PALEMOON] Remove nsIAboutModule::GetIndexedDBOriginPostfix(); 2018-04-04 07:18:48 -04:00
Matt A. Tobin adc1e8f475 [PALEMOON] Add defines and subst to application specific configure 2018-04-04 06:28:50 -04:00
Matt A. Tobin 7a94137066 [PALEMOON] Build the devtools server 2018-04-04 06:15:01 -04:00
Matt A. Tobin 1351ed6702 [PALEMOON] First pass fix of obvious moz.build issues 2018-04-04 06:05:30 -04:00
Matt A. Tobin 284b7b58b2 [PALEMOON] Add moz.configure 2018-04-04 05:55:46 -04:00
Matt A. Tobin 9ac3bf8e36 [PALEMOON] Fix Branding Build Files 2018-04-04 05:54:48 -04:00
Matt A. Tobin 0352a92789 [PALEMOON] Rewrite confvars.sh 2018-04-04 05:10:13 -04:00
Matt A. Tobin 69e0fd43af [PALEMOON] Version bunp 2018-04-04 05:09:43 -04:00
wolfbeast a04417ed79 Change embedded emoji font from EmojiOne to Twemoji. 2018-04-04 10:35:19 +02:00
Matt A. Tobin 0939cf964e Sync Pale Moon code 2018-04-04 03:17:39 -04:00
janekptacijarabaci 8d9ddd5f5b Bug 1431095 - Change Content-Type-Options: nosniff allowed script MIME types to match the spec 2018-04-03 19:50:55 +02:00
janekptacijarabaci 144e1ddf5c Removing the unused variable 2018-04-02 18:19:17 +02:00
janekptacijarabaci 1ff8ad0ef2 moebius#90: CSS - implement text-justify property 2018-04-01 19:32:49 +02:00
janekptacijarabaci 36bb3cf296 moebius#110: HTML - input - datetime - Datepicker shows incorrect month for the first day of the month 2018-03-31 11:33:23 +02:00
janekptacijarabaci e96d1547e3 moebius#72: Fix Marionette's DateTimeValue when dom.forms.datetime is enabled 2018-03-31 11:12:17 +02:00
janekptacijarabaci 3a542b98dc Bug 1446342 - Input type="date" not working if the other form elements has name="document" (any alternative solution) 2018-03-31 11:05:38 +02:00
janekptacijarabaci b0dc1f0b91 A nicer button for class="month-year::after"
A small replacement for:
Bug 1282768: https://bugzilla.mozilla.org/show_bug.cgi?id=1282768
2018-03-31 07:14:59 +02:00
janekptacijarabaci 8b56f41d3c Bug 1406859 - [DateTimePicker] Let the first picker close gracefully before opening a second picker 2018-03-31 07:07:45 +02:00
janekptacijarabaci 2adeaeb910 Bug 1397114 - Disable smooth scrolling when value changes come from input box 2018-03-31 07:05:58 +02:00
janekptacijarabaci 028968e034 Bug 1401876 - (Part 2) Add browser-chrome test for reopening picker 2018-03-31 07:02:03 +02:00
janekptacijarabaci a63f7ac9d5 Bug 1401876 - (Part 1) Close datetime picker on popuphidden 2018-03-31 06:58:52 +02:00
janekptacijarabaci 727467daae Bug 1390794 - Use 'norolluponanchor' to avoid closing the picker when the anchored input box is clicked 2018-03-31 06:58:05 +02:00
janekptacijarabaci c0172d61a9 Bug 1371111 - Open picker when input element's padding area is clicked
+ Bug 1341029: https://bugzilla.mozilla.org/show_bug.cgi?id=1341029
(partially - partially - fix typo in removeEventListener):

https://hg.mozilla.org/mozilla-central/diff/6055065a2ed5/toolkit/content/widgets/datetimebox.xml
+ Bug 1410292: https://bugzilla.mozilla.org/show_bug.cgi?id=1410292
2018-03-30 23:54:41 +02:00
janekptacijarabaci f77e37aca7 Bug 1381421 - (Part 2) Add browser chrome tests for the minimum and maximum dates 2018-03-30 23:50:46 +02:00
janekptacijarabaci 19ff34a7af Bug 1381421 - (Part 1) Handle dates earlier than 0001-01-01 and later than 275760-09-13 correctly 2018-03-30 23:50:34 +02:00
janekptacijarabaci 9a43d7e111 Bug 1363672 - Add step support to date picker (follow up)
Bug 1374967: https://bugzilla.mozilla.org/show_bug.cgi?id=1374967
(partially - implement getStep/getStepBase)
2018-03-30 23:25:42 +02:00
janekptacijarabaci f67ecc5ba3 Bug 1382175 - Fix time picker step and min/max regressions 2018-03-30 22:46:03 +02:00
janekptacijarabaci 8de03ead69 Bug 1364026 - (Part 2) Check if min and max attributes on input type date are valid date strings 2018-03-30 21:14:18 +02:00
janekptacijarabaci 9471ca0249 Bug 1364026 - (Part 1) Expose HTMLInputElement.getMinimum/getMaximum methods via webidl 2018-03-30 21:13:59 +02:00
janekptacijarabaci e05de2bdf2 Bug 1363672 - Add step support to date picker 2018-03-30 20:56:33 +02:00
wolfbeast 66b05e93d3 Stop trying to configure nonexistent crashreporter services. 2018-03-30 20:53:10 +02:00
janekptacijarabaci f23ccf739c Bug 1310080 - Implement the step attribute for <input type=datetime-local> 2018-03-30 20:33:02 +02:00
janekptacijarabaci ae68b5edbc Bug 1310078 - Implement valueAsNumber and valueAsDate for <input type=datetime-local> (follow up) 2018-03-30 20:29:17 +02:00
janekptacijarabaci 3939b84f6a Bug 1310079 - Implement the min and max attribute for <input type=datetime-local> 2018-03-30 19:56:09 +02:00
janekptacijarabaci f16410f3c0 Bug 1310078 - Implement valueAsNumber and valueAsDate for <input type=datetime-local> 2018-03-30 19:11:11 +02:00
janekptacijarabaci 07eec3529d Bug 1287677 - Add mozIntl.getDisplayNames API 2018-03-30 18:58:51 +02:00
wolfbeast 1829ab4c20 Remove unused LSPAnnotator 2018-03-30 12:38:37 +02:00
janekptacijarabaci 70824e4346 moebius#92: HTML - input - datetime
+ native in moebius:

Bug 1317600: https://bugzilla.mozilla.org/show_bug.cgi?id=1317600
A note - not implemented: Bug 1282768:
https://bugzilla.mozilla.org/show_bug.cgi?id=1282768
*.css: filter: url("chrome://global/skin/filters.svg#fill");, fill:

Bug 1283385: https://bugzilla.mozilla.org/show_bug.cgi?id=1283385
Bug 1323109: https://bugzilla.mozilla.org/show_bug.cgi?id=1323109
Bug 1314544: https://bugzilla.mozilla.org/show_bug.cgi?id=1314544
Bug 1286182: https://bugzilla.mozilla.org/show_bug.cgi?id=1286182

Bug 1325922: https://bugzilla.mozilla.org/show_bug.cgi?id=1325922
A note - not implemented: Bug 1282768:
https://bugzilla.mozilla.org/show_bug.cgi?id=1282768
*.css: filter: url("chrome://global/skin/filters.svg#fill");, fill:

Bug 1320225: https://bugzilla.mozilla.org/show_bug.cgi?id=1320225
Bug 1341190: https://bugzilla.mozilla.org/show_bug.cgi?id=1341190
2018-03-30 12:17:17 +02:00
wolfbeast 743052388b Remove MOZ_CRASHREPORTER_NO_REPORT except in /testing 2018-03-30 12:07:42 +02:00
janekptacijarabaci d94680030d Merge branch 'master' of https://github.com/MoonchildProductions/UXP into html_input_datetime_1 2018-03-30 09:44:21 +02:00
wolfbeast a60cbea805 Remove base conditional code for crash reporter and injector. 2018-03-30 08:50:58 +02:00
wolfbeast a1ae0a5baa Update SQLite lib to 3.21.0. 2018-03-29 20:24:18 +02:00
wolfbeast a33b9adbb9 Get rid of link to irrelevant information after build. 2018-03-29 20:19:27 +02:00
wolfbeast 626b9cb6c8 Merge remote-tracking branch 'janek/_testBranch_js_array_values' 2018-03-28 11:33:19 +02:00
wolfbeast 60fbdfea47 Revert "Enable Array.prototype.values"
This reverts commit 424ed1b165.
2018-03-28 11:32:03 +02:00
wolfbeast 8f11f41009 Fix line heights to properly scale to requested size for color-bitmapped SFNTs. 2018-03-27 21:26:25 +02:00
wolfbeast 07aed4f203 Allow bitmap fonts to force scaling and bypass tolerance check in gfxFcPlatformFontList. 2018-03-27 21:20:57 +02:00
wolfbeast b71e084625 Use FC_OUTLINE instead of FC_SCALABLE with Fontconfig to check if a font is scalable. 2018-03-27 21:14:03 +02:00
wolfbeast c144a49e55 Enable Array.prototype.values
This resolves #85
2018-03-27 17:05:14 +02:00
janekptacijarabaci b2294011f8 Merge branch 'master' of https://github.com/MoonchildProductions/UXP into js_array_values_1 2018-03-27 15:57:18 +02:00
wolfbeast 4d3de12fa8 Merge remote-tracking branch 'janek/js_regexp_lastindex_1' 2018-03-27 13:22:30 +02:00
wolfbeast 7ad8ab8c89 Merge remote-tracking branch 'janek/js_IteratorClose_1' 2018-03-27 13:21:40 +02:00
wolfbeast bd033f5324 Merge remote-tracking branch 'janek/js_lhs-before-rhs_1' 2018-03-27 13:21:13 +02:00
janekptacijarabaci fcd118b79a Bug 1360839 - Call IteratorClose due to abrupt completion from yield
Issue mcp-graveyard/UXP#74
2018-03-25 19:06:08 +02:00
janekptacijarabaci 6606526f82 Bug 1357075 - Pad a nop to unwind to the scope just before a destructuring iterator close trynote
Issue mcp-graveyard/UXP#74
2018-03-25 18:24:06 +02:00
janekptacijarabaci b4b11c9a3d Bug 1346862 - Fix IteratorClose due to non-local jumps being catchable by try statements inside for-of
Issue mcp-graveyard/UXP#74
2018-03-25 18:21:15 +02:00
janekptacijarabaci f5273cf72f Bug 1342553 - Part 0.2: Support JSOP_CHECKISCALLABLE in JIT
Issue mcp-graveyard/UXP#74
2018-03-25 17:00:47 +02:00
janekptacijarabaci 7d5a3b8254 Bug 1342553, Bug 1343072, Bug 1344753 (details in the description)
Bug 1342553 - Part 0.1: Use try-catch for IteratorClose in for-of
Bug 1343072 - Update HasLiveStackValueAtDepth to follow the change in
JSTRY_FOR_OF
Bug 1344753 - Update for-of stack depth in
ControlFlowGenerator::processWhileOrForInLoop

Issue mcp-graveyard/UXP#74
2018-03-25 16:22:38 +02:00
janekptacijarabaci 662e60d77c Bug 1334314 - Fix debug mode OSR exception handling for IteratorClose trynotes
Issue mcp-graveyard/UXP#74
2018-03-25 14:49:32 +02:00
janekptacijarabaci 8c7748c60d Bug 1331585 - Allow falsy "done" values for IteratorClose due to exception during array destructuring
Issue mcp-graveyard/UXP#74
2018-03-25 14:48:34 +02:00
janekptacijarabaci 6a5cd960ac Bug 1341339 - Check for duplicates in processIterators
Issue mcp-graveyard/UXP#74
2018-03-25 14:47:39 +02:00
janekptacijarabaci 1854cc94e4 Bug 1338796 - Do not call iterator.return if iterator.throw is present in yield*
Issue mcp-graveyard/UXP#74
2018-03-25 14:20:11 +02:00
janekptacijarabaci e6ad1cd6a5 Bug 1335996 - Make test for bug 1333946 more reliable
Issue mcp-graveyard/UXP#74
2018-03-25 13:35:18 +02:00
janekptacijarabaci ae88affbf7 Bug 1333946 - Make IonBuilder::processIterators transitive
Issue mcp-graveyard/UXP#74
2018-03-25 13:34:31 +02:00
janekptacijarabaci 231ab90006 Bug 1322069 - Add TryEmitter
Issue mcp-graveyard/UXP#74
2018-03-25 13:32:14 +02:00
janekptacijarabaci e67b419eed Bug 1334799 - Handle stack value in correct order when leaving for-of loop from finally block
Issue mcp-graveyard/UXP#74
2018-03-25 12:56:18 +02:00
janekptacijarabaci d6eb5c1959 Bug 1332881 - Handle stack value in correct order when leaving loop and try-finally
Issue mcp-graveyard/UXP#74
2018-03-25 12:38:28 +02:00
janekptacijarabaci 6b62ffb294 Bug 1332155 - Skip non-try-related trynotes when asserting jump targets
Issue mcp-graveyard/UXP#74
2018-03-25 12:37:44 +02:00
janekptacijarabaci f0883feb51 Bug 1331444 - Keep iterators alive in Ion in for-of loops for IteratorClose due to exceptions
Issue mcp-graveyard/UXP#74
2018-03-25 12:37:06 +02:00
janekptacijarabaci 84626e8e73 Bug 1317397: Only set lastIndex for global or sticky RegExps in RegExpBuiltinExec per ES2017 2018-03-24 16:01:06 +01:00
janekptacijarabaci 6178a8136b Bug 1343375: Update RegExp.prototype.replace and .match to call ToLength(lastIndex) for non-global RegExp and handle recompilations
[Depends on] Bug 1317397: Implement RegExp.lastIndex changes from ES2017
2018-03-24 15:54:49 +01:00
janekptacijarabaci 981816155f Bug 1147371: Always decompile argument names in self-hosted code in the caller frame
Issue mcp-graveyard/UXP#74
2018-03-24 12:29:12 +01:00
janekptacijarabaci 76aa8d5652 Bug 1147371: Implement JSOP_PICK and JSOP_UNPICK in the expression decompiler
Issue mcp-graveyard/UXP#74
2018-03-24 12:28:12 +01:00
janekptacijarabaci 37f0a017e4 Bug 1147371: Implement calling IteratorClose and "return" on iterators in yield*
Issue mcp-graveyard/UXP#74
2018-03-24 12:27:00 +01:00
janekptacijarabaci 6c2e8311a1 Bug 1147371: Implement IteratorClose for array destructuring
Issue mcp-graveyard/UXP#74
2018-03-24 12:23:14 +01:00
janekptacijarabaci b2a92cce75 Bug 1147371: Convert self-hosted code that need to call IteratorClose to use for-of
Issue mcp-graveyard/UXP#74
2018-03-24 12:15:02 +01:00
janekptacijarabaci 7d119cca77 Bug 1147371: Rename allowContentSpread to allowContentIter
Issue mcp-graveyard/UXP#74
2018-03-24 12:11:23 +01:00
janekptacijarabaci 09863e9656 Bug 1147371: Implement IteratorClose for for-of
Issue mcp-graveyard/UXP#74
2018-03-24 12:09:30 +01:00
wolfbeast 83b8e433e4 Silence some ICU warning spew 2018-03-21 11:26:25 +01:00
janekptacijarabaci cfd9e0d2be Bug 1204028: Evaluate LHS reference before RHS in destructuring
Issue mcp-graveyard/UXP#73
[Depends on] Bug 1147371: Implement IteratorClose
2018-03-20 12:40:00 +01:00
janekptacijarabaci 9b488c7cff Bug 1322314 - Do not emit ParseNode twice in BytecodeEmitter::emitDestructuringOpsArray
Issue mcp-graveyard/UXP#73
[Depends on] Bug 1147371: Implement IteratorClose
2018-03-20 10:46:22 +01:00
janekptacijarabaci 1664c8df00 Bug 1322314 - Disallow emitting ParseNode twice
Issue mcp-graveyard/UXP#73
[Depends on] Bug 1147371: Implement IteratorClose
2018-03-20 10:27:23 +01:00
wolfbeast a30795e043 Add support for the function name property.
This resolves #78.

Merged remote-tracking branch 'janek/js_function_name_1'
2018-03-20 10:10:12 +01:00
wolfbeast f4ab3b0e01 Make RegExp.prototype return a regular object instead of an instance.
This resolves #77.

Merged remote-tracking branch 'janek/js_regexp_ordinary-object_1'
2018-03-20 10:07:06 +01:00
janekptacijarabaci 3369685755 Follow up: A opening bracket { was added; Added "function()->explicitName()" instead of "function()->name()"
Issue mcp-graveyard/UXP#78
2018-03-19 18:11:08 +01:00
janekptacijarabaci c4612c4e59 Part 6: Update browser and dom tests to follow displayName change
Issue mcp-graveyard/UXP#78
2018-03-19 16:17:28 +01:00
janekptacijarabaci 9345520b5b Part 5: Update devtools to follow displayName change
Issue mcp-graveyard/UXP#87
2018-03-19 16:15:11 +01:00
janekptacijarabaci 00dc93e1d1 Part 4: Fix existing tests
Issue mcp-graveyard/UXP#87
2018-03-19 16:08:36 +01:00
janekptacijarabaci 74c522ca2d Part 3: Support JSOP_SETFUNNAME in Baseline and Ion
Issue mcp-graveyard/UXP#87
2018-03-19 15:59:22 +01:00
janekptacijarabaci 261580632b Part 2: Call NameFunctions after emitting
Issue mcp-graveyard/UXP#78
2018-03-19 15:51:02 +01:00
janekptacijarabaci ec0e91c50b Part 1: Implement ES6 function name property semantics
Issue mcp-graveyard/UXP#78
2018-03-19 15:47:10 +01:00
janekptacijarabaci 23f5317d1c Bug 1317309: Throw a TypeError when passing a Symbol value to ToAtom
Issue mcp-graveyard/UXP#78
[Depends on] Bug 883377: Implement ES6 function "name" property
semantics
2018-03-19 15:18:37 +01:00
janekptacijarabaci 390ab5cff6 Bug 1320042: Rename BytecodeEmitter::emitConditionallyExecuted{SOMETHING} to BytecodeEmitter::emit{SOMETHING}InBranch
Issue mcp-graveyard/UXP#78
[Depends on] Bug 883377: Implement ES6 function "name" property
semantics
2018-03-19 14:55:56 +01:00
janekptacijarabaci ff9a6baee0 Bug 1320388: Move JSFunction::HAS_REST to JSScript and LazyScript
Issue mcp-graveyard/UXP#78
[Depends on] Bug 883377: Implement ES6 function "name" property
semantics
2018-03-19 14:48:24 +01:00
janekptacijarabaci 4cf55447dc Update RegExp Xray code
Issue mcp-graveyard/UXP#77
2018-03-19 12:47:01 +01:00
Moonchild ce28a7ed75 Merge pull request #81 from janekptacijarabaci/blocklist_update_1
Blocklist update (follow up for "AntiVirus for Firefox")
2018-03-19 10:56:59 +01:00
janekptacijarabaci 5654a0448b Handle RegExp correctly in devtools
Issue mcp-graveyard/UXP#77
2018-03-19 10:47:16 +01:00
janekptacijarabaci baa1682c84 Tests
Issue mcp-graveyard/UXP#77
2018-03-19 10:46:14 +01:00
janekptacijarabaci 613accc61a Use ordinary object for RegExp prototype
Issue mcp-graveyard/UXP#77
2018-03-19 10:42:58 +01:00
janekptacijarabaci 351cdd85ee Bug 1323868: Report object allocation failure when running off-main-thread
Issue mcp-graveyard/UXP#77
[Depends on] Bug 1192038: RegExp.prototype should be an ordinary object
2018-03-19 10:25:44 +01:00
janekptacijarabaci ee6614f322 Blocklist update (follow up for "AntiVirus for Firefox")
Issue https://github.com/MoonchildProductions/Pale-Moon/issues/1644
2018-03-19 10:19:02 +01:00
wolfbeast 6c956e8e53 Prototypes should be regular objects.
This resolves #76

Merged remote-tracking branch 'janek/js_error_ordinary-object_1'
2018-03-19 09:23:23 +01:00
Moonchild a06d05884c Merge pull request #70 from janekptacijarabaci/js_dom_performancetiming_2
Set "secureConnectionStart" to 0 for pages with HTTP scheme
2018-03-18 20:05:22 +01:00
wolfbeast aaa674d3f9 Remove strict arguments poison pill for "caller" property per ES2017
This resolves #79.

Merged remote-tracking branch 'janek/js_strict_arguments_caller_removed_1'
2018-03-18 20:00:50 +01:00
wolfbeast 5fd8a47119 Correctly tokenize valid JS names when using code points outside of BMP range.
This resolves #72.

Merged remote-tracking branch 'janek/js_variable_unicode_1'
2018-03-18 17:58:37 +01:00
wolfbeast ee9ad1a841 Support ES6's "new function" construct
This resolves #75.

Merged remote-tracking branch 'janek/js_function_new_1'
2018-03-18 17:56:16 +01:00
janekptacijarabaci 4abcac7256 Correctly tokenize valid JS names when using Unicode mathematical alphanumeric symbols as variable name
Issue https://github.com/MoonchildProductions/Pale-Moon/issues/1647
2018-03-18 14:55:49 +01:00
Pale Moon d4f9cd9f48 Add extra check for path traversal sanity v2. 2018-03-18 10:56:47 +01:00
wolfbeast c717bc479f Merge branch 'ported-upstream' 2018-03-18 10:56:28 +01:00
janekptacijarabaci 8e68974fa9 Remove strict arguments poison pill for "caller" property per ES2017 2018-03-18 09:53:57 +01:00
wolfbeast e47887b38f Revert "Add extra check for path traversal sanity."
This reverts commit 41bd3e2599.
2018-03-18 02:32:48 +01:00
janekptacijarabaci 60a4b3cf71 Add TI for error properties assigned by the initial shape (follow up) 2018-03-17 18:07:21 +01:00
janekptacijarabaci e993f5d5b1 Bug 1320198: Land additional Error prototype test 2018-03-17 17:24:28 +01:00
janekptacijarabaci 07d7d37cf2 Bug 1319952: Assertion failure: isNurseryAllocAllowed(), at js/src/gc/Allocator.cpp:79 2018-03-17 17:03:00 +01:00
janekptacijarabaci ab30f8b1b8 Tests 2018-03-17 17:01:42 +01:00
janekptacijarabaci 0e86da4ea1 Add TI for error properties assigned by the initial shape 2018-03-17 17:00:25 +01:00
janekptacijarabaci 6a881b1deb Simplify Error Xray code 2018-03-17 16:59:17 +01:00
janekptacijarabaci db340ce167 Handle the now ordinary error prototype object in stack 2018-03-17 16:58:26 +01:00
janekptacijarabaci 917b5c6a22 Use ordinary objects for Error prototypes 2018-03-17 16:56:31 +01:00
wolfbeast 818d7501ef Bug 1426002. Bail out of document.open if beforeunload tears things down. r=mystor 2018-03-17 14:30:49 +01:00
wolfbeast 71becfaffb Be more explicit with a lock. 2018-03-17 14:30:28 +01:00
janekptacijarabaci fad33990f3 Set "secureConnectionStart" to 0 for pages with HTTP scheme
Issue mcp-graveyard/UXP#67
2018-03-17 13:35:25 +01:00
Moonchild 61f2a90347 Merge pull request #68 from janekptacijarabaci/js_dom_performancetiming_1
Round down to the nearest 2ms (instead of 1ms) by using timerclamping function
2018-03-17 13:26:47 +01:00
wolfbeast 749e5d52c7 Add extra check for path traversal sanity. 2018-03-17 13:22:41 +01:00
wolfbeast 9b6c24207d Use origin instead of documentURI for WebRTC permission requests, when available. 2018-03-17 13:09:02 +01:00
janekptacijarabaci 41a0119cff Deleting "secureConnectionStart" from a test file
Issue mcp-graveyard/UXP#69
2018-03-17 12:38:43 +01:00
janekptacijarabaci 451e71c40e Round down to the nearest 2ms (instead of 1ms)
Issue mcp-graveyard/UXP#67

https://github.com/MoonchildProductions/UXP/pull/34/commits/c8355b22c047c9737e32f096b816edbb8b0fa181

https://github.com/MoonchildProductions/UXP/commit/a32b7f7c4e4e31669e0787e6321d74e4db71e514

https://github.com/MoonchildProductions/UXP/commit/f0b727eac28244e0fa24a6107dee44e83ad0f561
2018-03-17 11:09:13 +01:00
wolfbeast 25dc9ab958 Handle same-compartment wrappers in TypedArray methods.
CallTypedArrayMethodIfWrapped (and the CallNonGeneric machinery throughout the
engine) unwraps the `this` argument, but the other arguments are only rewrapped
for the target compartment.

The pattern being used before this patch to get the length of a TypedArray or
possible TypedArray wrapper is:
`callFunction(CallTypedArrayMethodIfWrapped, O, O, "TypedArrayLength")`
The first `O` is the `this` value and the second is an argument. If `O` is a
cross-compartment wrapper, this works fine. The first `O` is unwrapped, revealing
the actual TypedArray object; the second `O` is rewrapped for that TypedArray's
compartment, producing the same TypedArray.
However, if `O` is a same-compartment wrapper, this doesn't work. The first `O` is
unwrapped, revealing the actual TypedArray object in the same compartment;
rewrapping the other `O` does nothing to it, since it is already an object in the
target compartment. Thus TypedArrayLength receives a `this` value that's an
unwrapped TypedArray, but an argument that is still a wrapper.

The fix is to have CallTypedArrayMethodIfWrapped targets only expect `this`
to be an unwrapped TypedArray.
2018-03-17 10:47:56 +01:00
wolfbeast 49d6a115b3 Set up the "DRM not available" messages in a saner way. 2018-03-17 10:12:55 +01:00
wolfbeast 4ec6fdf485 Bug 1416940; r=snorp 2018-03-16 22:28:13 +01:00
janekptacijarabaci f90043ee2f Bug 755821: Function() should use the parser's argument parsing code 2018-03-16 11:35:57 +01:00
Karl Tomlinson a25ea27fad Bug 1426603 - Fallback from audio callback to system clock driver on error only once. r=padenot, a=RyanVM
Usually, mShouldFallbackIfError has been reset to false in DataCallback()
before Stop() is called.  However, if fallback to a system clock driver due to
cubeb error had already occurred, then mShouldFallbackIfError would not have
been reset, and Stop() is still called.  With mShouldFallbackIfError still
true, a cubeb error in stop would have created another fallback thread.

I expect that resetting mShouldFallbackIfError in Stop() would also be an
effective alternative solution, but resetting on StateCallback() happens
earlier, which would be an advantage if any additional errors could possibly
be reported to StateCallback().

MozReview-Commit-ID: E9j7PQmS3O4
2018-03-16 10:28:56 +01:00
janekptacijarabaci 6fe7cdd1cd Bug 1318017: Call GetPrototypeFromConstructor for generator/async function and Intl constructors
[Depends on] Bug 755821: Function() should use the parser's argument
parsing code
2018-03-16 09:04:55 +01:00
Moonchild 4ab764f1d4 Merge pull request #66 from janekptacijarabaci/js_iterable_closures_1
Close iterator after error in: Map, Set, WeakMap, WeakSet, Array.from, Promise.{all,race}
2018-03-16 08:36:30 +01:00
janekptacijarabaci 2d68533c89 Close iterator after error in Promise.{all,race}
Issue mcp-graveyard/UXP#17
2018-03-15 21:12:39 +01:00
janekptacijarabaci 330aa8ca10 Close iterator after error in Array.from
Issue mcp-graveyard/UXP#17
2018-03-15 21:12:03 +01:00
janekptacijarabaci 317491a13e Close iterator after error in {Map,Set,WeakMap,WeakSet} constructors
Issue mcp-graveyard/UXP#17
2018-03-15 21:11:35 +01:00
janekptacijarabaci b068a982ce Bug 1311798: Align XMLHttpRequest abort() with the spec 2018-03-15 19:18:30 +01:00
wolfbeast b9352a1beb Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-03-15 09:11:46 +01:00
wolfbeast 83ed6d0bd0 Merge branch 'ported-upstream' 2018-03-15 09:11:31 +01:00
Matt A. Tobin fa2e5aeb64 Fix mozbuild looking for .cargo 2018-03-14 16:58:35 -04:00
wolfbeast ad3c05a076 Remove .cargo directory
Tag mcp-graveyard/UXP#58
2018-03-14 20:52:40 +01:00
Ralph Giles f85a411dd4 Bug 1443865 - Use 16-bit eobs count. r=kinetik, a=RyanVM
MozReview-Commit-ID: 4lfBbvSTNPO

--HG--
extra : source : a628b2125a1b860c6d8124387040ec9589c219ab
extra : intermediate-source : e9128973a480c8aedf3a2e1c67d3e168613fa17c
2018-03-14 13:18:27 +01:00
Tom Ritter d42c02f309 Bug 1437105 - Remove flaky timing tests from ESR branch that sometimes fail with time clamping. r=baku, a=test-only
Because we hardcode time clamping in ESR (as opposed to having a pref) I
don't see a way to guarentee that this test won't fail when we lose the
race and clamp downwards.

MozReview-Commit-ID: IMwejbOBmDu
2018-03-14 13:17:37 +01:00
Jeff Muizelaar 8fa083ee50 Bug 1438425 - Delete DocumentRenderer. r=jesup, r=jgilbert, a=RyanVM
It is unused.
2018-03-14 12:42:38 +01:00
Jeff Gilbert 2c02704b08 Bug 1442504 - Disable disjoint timer queries. r=milan, a=RyanVM
MozReview-Commit-ID: IurPcGHzAoQ

--HG--
extra : source : bef3db82d7ca31a188f902e317713c88001938ed
extra : intermediate-source : aeb9e1be02d26d4e21717368755b63821dc2d222
2018-03-14 12:41:05 +01:00
Steve Fink 75f0aa1214 Bug 1434384 - Mark v1 structured clone data as cross-process. r=jorendorff, a=RyanVM
--HG--
extra : source : d85679eb427513cb18650f3d4e7d37a6ccbefbab
extra : intermediate-source : 5c286cc709dfcaca7269b88516e6f71626c98496
2018-03-14 12:40:19 +01:00
wolfbeast d4d824ad7d Revert "Bug 1438425 - Delete DocumentRenderer. r=jesup, a=RyanVM"
This reverts commit 5b69e05939.
2018-03-14 12:38:55 +01:00
Tom Ritter 9b3cfb1894 Bug 1442127 - Allow timestamps to be equal in video delay. r=baku, a=test-only
MozReview-Commit-ID: LsNy7E3bFv6

--HG--
extra : transplant_source : %B4t%00u%DB%EE%86%BD2%81%AA%CD%88X%BF%BC%AE%E8%3D%B7
extra : histedit_source : a16c98faab76929e32d9153b288f4ec5c92a0ba6
2018-03-14 12:37:53 +01:00
Tom Ritter d466f88ae0 Bug 1442127 - Allow function call times to occur at the same time in browser_profiling-canvas.js for ESR branch. r=baku, a=test-only
MozReview-Commit-ID: Fev1JqBwJYO

--HG--
extra : transplant_source : %ADG%83%28%3B%94f%98%EAO%80%08%8A%DFs%D4%24C9%A8
extra : histedit_source : 4859a7fdd7b324e0c0231feb4e13437f836bdb9c
2018-03-14 12:37:03 +01:00
Jan de Mooij 1ec0425842 Bug 1437450 - Disable Ion no-clone optimization for regexps if the graph contains try blocks. r=nbp, a=RyanVM
--HG--
extra : source : 61b461277369e0cec89c79d8526a82c575818e94
extra : intermediate-source : 806696d494300c8c09ad2c0c3141194b5418a706
extra : histedit_source : e38bbe5c22bace744f6da0b8ff39462b64fe5a95
2018-03-14 12:36:13 +01:00
Henri Sivonen 18c75ee5ee Bug 1425520. r=smaug, a=abillings
MozReview-Commit-ID: IoZeR5BGjmQ

--HG--
extra : source : e20052aa341d6da4505eb84be6e061bb7f37de51
extra : intermediate-source : a330f1d4d12a7c144797f3686f35a99c37b0755e
extra : histedit_source : 6d3684d36b39fd065f742ceb577d8b6db4735bcf
2018-03-14 12:35:34 +01:00
Jeff Muizelaar d0890ce862 Bug 1438425 - Delete DocumentRenderer. r=jesup, a=RyanVM
It is unused.

--HG--
extra : histedit_source : b7af9f250f0330f90547114184873ae9971f20fc
2018-03-14 12:34:36 +01:00
Ben Kelly b9abf16485 Bug 1440775 - Make fetch API force-cache and only-if-cached use VALIDATE_NEVER instead of LOAD_FROM_CACHE. r=mayhemer, a=RyanVM
--HG--
extra : source : 60fb09de57ec145923da102f856399d3323f632b
extra : amend_source : b42db87defcc5615773cfa4659af9ff5b9cd4b72
extra : intermediate-source : 599641c7992def734cb352d9413aa51bf0e9793f
extra : histedit_source : 1d42c837225bdf000d3a68bef46a862be87d4044
2018-03-14 12:33:47 +01:00
janekptacijarabaci 95698a6f84 Bug 1264125: Fire transitioncancel event when a transition is canceled (added tests + style clean up)
Issue mcp-graveyard/UXP#55
2018-03-14 12:13:01 +01:00
janekptacijarabaci 46de13610e Bug 1202333: AnimationEvent elapsedTime should reflect playbackRate (added tests)
Issue mcp-graveyard/UXP#55
2018-03-14 11:55:23 +01:00
janekptacijarabaci 48508555bc moebius#89: DOM - implement animationcancel event
Issue mcp-graveyard/UXP#55
2018-03-14 11:45:38 +01:00
Tom Ritter b9df3c8095 Bug 1430173 - Add qualifiers to BorrowedAttrInfo. r=baku, a=RyanVM
Because we added a new file, we rearranged the Unified Build order and now
need to fully qualify BorrowedAttrInfo which previously inherited a using statement.

MozReview-Commit-ID: BD45k5t9dQU

--HG--
extra : transplant_source : o%E5%3B%E2dr%DF%A1cP%5E%17%19%19%FF%E1%27%A3%9F%99
2018-03-14 11:32:49 +01:00
Tom Ritter 4a2c5832e1 Bug 1430173 - Update tests for 2ms timers. r=baku, a=RyanVM
MozReview-Commit-ID: 6xhQ71a5rDU

--HG--
extra : transplant_source : %C2%D3%A7It%0Cg%92h%BB%3A%95%A2%0D.%86%B9C%9B%2B
2018-03-14 11:32:10 +01:00
Tom Ritter b80bda2773 Bug 1430173 - Add Timer Rounding tests backported from -central to -esr. r=baku, a=RyanVM
MozReview-Commit-ID: Jl4WZAamgrI

--HG--
extra : transplant_source : E%DC%91lU%1C%A4l%2C%C8%23PCz%EB%F2%81%25%1F%90
2018-03-14 11:31:24 +01:00
Tom Ritter 50207bc805 Bug 1430173 - Reduce the precision of all explicit clocks to 2ms. r=baku, a=RyanVM
Backport to ESR where we don't have the ResistFingerprinting component.

MozReview-Commit-ID: 9bjycHjR3SF

--HG--
extra : transplant_source : %EA%03%21%0A%E9%3F%8E%CD%7C%D79f%96%85%96%00%5D%7F%95X
2018-03-14 11:27:26 +01:00
Henri Sivonen d4b4d3a29d Bug 1440926 - Use overflow-checking math when computing Big5 max length. r=emk, a=RyanVM
MozReview-Commit-ID: 1Gney5cYyhu
2018-03-14 11:21:36 +01:00
wolfbeast b4cf8ad163 Blocklist update 2018-03-14 11:21:21 +01:00
Brian Hackett f3b5a24268 Bug 1437507 - Fix JSObject::setFlags to call ensureShape before checking for dictionary mode. r=jandem, a=RyanVM
--HG--
extra : source : ca6b74831ec3db204e024b07f200b0d1ce93557e
extra : intermediate-source : 9d7c295d9570e294851908465f56ec0779547d2a
2018-03-14 11:08:45 +01:00
Makoto Kato 936eef4ada Bug 1437087 - Call Disconnect on Unlink of cycle collector. r=masayuki, a=RyanVM 2018-03-14 11:07:35 +01:00
Andrew Osmond 626068240d Bug 1388020. r=nical, a=RyanVM 2018-03-14 11:06:35 +01:00
Ryan VanderMeulen 868fed5835 Bug 1398021 - Update lz4 to version 1.8.0. r=froydnj, a=RyanVM
--HG--
extra : source : 9a4077eda5d80e2f7c7fe271035bee2e2d034cec
extra : histedit_source : 64eb1f6e9b2b08981644d7edccd22997d6463b4b%2C5619daf512a89b3a6bf84eca781190b56e8dea31
2018-03-14 11:05:16 +01:00
Valentin Gosu a58f6b01b5 Bug 1334465 - Set mIPCClosed to true before calling SendDeleteSelf in order to avoid race. r=bagder, a=ritu
In the previous code, a race condition could cause us to call SendSetPriority() after calling SendDeleteSelf.

For example:
T1: SendDeleteSelf()
T2: if (!mIPCClosed) SendSetPriority()
T1: mIPCClosed = true

MozReview-Commit-ID: 3XOwCaphb2o

--HG--
extra : rebase_source : d6e6886402d1e0b0afed23c25a9fb18d8ca29ad6
extra : intermediate-source : cfc9afe916091e6449f7d748991e2a19187dc817
extra : source : 4ebdab0e332892378558817e30d0138c95199ce5
2018-03-14 11:03:59 +01:00
Valentin Gosu d05e4a760f Bug 1334465 - Make HttpChannelParent::mIPCClosed atomic. r=bagder, a=ritu
MozReview-Commit-ID: 6irCJMAjzjW

--HG--
extra : rebase_source : 2357ab0b9d1d693dac9e5f4f16f34f370c6591b5
extra : intermediate-source : 48b9f6671588c3c2b8d3b4ea6ba1267f5e297f83
extra : source : bd315ae86709c3459a3dbf0778022ff3b1908723
2018-03-14 11:03:06 +01:00
Dan Glastonbury 7cdae0bc63 Bug 1428947 - Check plane width & stride constraints. r=mattwoodrow, a=ritu
MozReview-Commit-ID: 328ETwMdVnq

--HG--
extra : rebase_source : e16b28d137de080f9d8495c6937e24ac16b16ab1
2018-03-14 11:02:02 +01:00
Daniel Holbert d9a4dce362 Bug 1324042 - Fix trimmedOffsets arithmetic in GetRenderedText(). r=mats, a=RyanVM
MozReview-Commit-ID: H4ngU8Juyln

--HG--
extra : rebase_source : f4d6ab58ae70e485dfe72d5290cf6fae2c8397dd
extra : intermediate-source : bec50ba1fb12aebde4e4065b2799bc730bc30010
extra : source : fbf54020043bd09c162530907b2a1091a10f4f92
2018-03-14 11:00:47 +01:00
Nicholas Hurley 9dd775fb8d Bug 1416529. r=mcmanus, a=ritu
MozReview-Commit-ID: CD1l5vLB4yy

--HG--
extra : rebase_source : d74f8ca96dab4e0d25d79948fcddbf8dab98bb36
2018-03-14 10:59:09 +01:00
Jonathan Watt 89db9abe48 Bug 1430557. r=longsonr, a=lizzard
--HG--
extra : rebase_source : 5109c816d9ad1ce1881e3670b8d74ae0dc475223
2018-03-14 10:58:19 +01:00
Samael Wang c8167d7c73 Bug 1416307 - Set triggeringPrincipal to current document's principal, if aPrincipal is not given. r=bz, a=ritu
MozReview-Commit-ID: 8lxKFeUlyzq

--HG--
extra : rebase_source : 5f364f5cf84c12717bee021d752aa0f9ba4619dd
extra : intermediate-source : 9df27a7142ffb065fb56c3fc873298988deacb98
extra : source : 9fcf48189000ab8ee16f236be57c9659c7243b42
2018-03-14 10:57:15 +01:00
Mike Hommey fc5290b2dd Bug 1424709 - Force disable the OSX system "nano allocator". r=spohl, a=RyanVM
We're not actually using it, and it messes up with the zone allocator in
mozjemalloc after fork(). See the lengthy analysis in
https://bugzilla.mozilla.org/show_bug.cgi?id=1424709#c34 and following.

--HG--
extra : rebase_source : b191048290a907cc7668ad7ab6369ef8661f31dc
extra : intermediate-source : 45c5d467a46077dcc3ccd59feafd0c2784432fef
extra : source : bf1efa161edb20a83fe8db2f96c51f4e66880153
2018-03-14 10:56:20 +01:00
André Bargull 71a0a76c45 Bug 1430761 - Update tzdata in ICU data files to 2018c. r=Waldo, a=lizzard
--HG--
extra : rebase_source : cb9ac8a678b6f565091f6d7733b6cd86afde0da7
2018-03-14 10:55:09 +01:00
Bob Owen 5cf0bb206c Bug 1426087 - Decrement nsDocumentViewer::mDestroyRefCount in a separate function. r=jwatt, a=RyanVM
--HG--
extra : source : 86d41b5efe074f6988085082df9ef537eee0813a
extra : intermediate-source : ea406489f93a0a8fa05ff568acdff07ce6b118c4
2018-03-14 10:54:03 +01:00
Olli Pettay 519da8a0d3 Bug 1434580 - Ensure proper mouseover handling. r=masayuki, a=RyanVM
--HG--
extra : source : bfd4bdfd40b43d0491c66af5b599659427e4e795
extra : intermediate-source : 8660689b18cd25f0110276bfc5bb8e8dd9c325f9
2018-03-14 10:53:02 +01:00
Dan Minor 4834250622 Bug 1433005 - Simplify codec pruning in NegotiateCodecs. r=bwc, a=lizzard
--HG--
extra : source : 90ae99509f1e9cb5bdf19350a5fbb1a02d34ff0a
2018-03-14 10:51:46 +01:00
Nils Ohlmeier [:drno] df1fdc68bc Bug 1426988 - Properly exit encoder init in error cases. r=rillian, a=RyanVM 2018-03-14 10:47:26 +01:00
janekptacijarabaci 1de19fc0ef Bug 1264125: Queue CSS related event when setting null target effect
Issue mcp-graveyard/UXP#55
2018-03-14 09:18:49 +01:00
janekptacijarabaci 56e88a24f4 Bug 1264125: Call the queueing events when canceling transition via Style or Script
Issue mcp-graveyard/UXP#55
2018-03-14 09:16:03 +01:00
janekptacijarabaci c3fd71404e Bug 1264125: Queue transitioncancel when animation status is idle
Issue mcp-graveyard/UXP#55
2018-03-14 09:10:08 +01:00
janekptacijarabaci 44c76e644f Revert - Bug 1324985: Disable firing the transitionrun and transitionstart on Aurora 52
Issue mcp-graveyard/UXP#55
2018-03-14 09:04:22 +01:00
janekptacijarabaci 26b8649e9b Bug 1264125: Fire transitioncancel event when a transition is canceled - part 1 (in the description)
Issue mcp-graveyard/UXP#55
part 1 - Add transitioncancel event handler
part 2 - Add ontransitioncancel EventHandler to WebIDL
part 3 - Add member of active time to ComputedTiming
2018-03-14 08:52:52 +01:00
janekptacijarabaci b80c15d684 Bug 1202333: AnimationEvent elapsedTime should reflect playbackRate (without tests)
Issue mcp-graveyard/UXP#55
2018-03-14 08:26:26 +01:00
wolfbeast ec50ecbd77 Hard-disable the use of sponsored tiles. 2018-03-13 17:12:06 +01:00
wolfbeast 81de6dd3d9 Bump max icon size for search engine icons to 32 KB to cater to more common use of HiDPI icons. 2018-03-13 16:39:42 +01:00
Moonchild 04899ffedf Merge pull request #59 from MoonchildProductions/Evapo-Rust
Remove all rust components and libs.
2018-03-13 14:55:45 +01:00
wolfbeast 2316ac936a Remove Rust from the tree.
Part 4 for #58
2018-03-13 13:38:57 +01:00
wolfbeast 749b374898 Remove cargo nsstring component
Part 3 for #58
2018-03-13 12:15:45 +01:00
wolfbeast 25f9d7361d Remove Rust URL parser CAPI
Part 2 for #58
2018-03-13 11:55:28 +01:00
wolfbeast 6238890cdf Remove Rust MP4 parser
Part 1 for #58
2018-03-13 10:14:21 +01:00
Matt A. Tobin a57067e0b2 Fix for loops in selectAddons.js (SyntaxError: missing ] after element list) 2018-03-12 16:49:50 -04:00
Matt A. Tobin d7deb25c9f Remove the hard blocker on unmodified jetpack extensions from TychoAM
Be sure to remove the now unused string from Pale Moon
2018-03-12 16:22:40 -04:00
Matt A. Tobin 10359ea303 Adjust error number for WebExtensions on TychoAM and add the string to Basilisk
Pale Moon l10n will need an adjustment as well from -5 to -9
2018-03-12 16:20:49 -04:00
Matt A. Tobin 29b4f6a83c Fix for loops in update.js (SyntaxError: missing ] after element list) 2018-03-12 15:08:29 -04:00
janekptacijarabaci 627332ca94 JS - RegExp - match updated spec for /\b/iu and /\B/iu 2018-03-12 14:59:13 +01:00
wolfbeast b160724b20 Generate irregexp character tables with make_unicode.py. 2018-03-12 14:15:56 +01:00
wolfbeast df2e4f2682 Merge branch 'ported-moebius' 2018-03-12 11:18:06 +01:00
wolfbeast 6f119368d4 Revert "JS - RegExp - match updated spec for /\b/iu and /\B/iu"
This reverts commit 93f8e06bb8.
2018-03-12 11:09:28 +01:00
wolfbeast 7efa6a99fc Bustage fix: remove duplicate function def 2018-03-12 11:09:02 +01:00
janekptacijarabaci 2d36f80a65 JS - Object - "TypeError: setting a property that has only a getter" without mentioning file and property name 2018-03-12 10:12:53 +01:00
janekptacijarabaci ead3ee8d25 HTML - implement the labels attribute (follow up) 2018-03-12 10:01:04 +01:00
janekptacijarabaci e0fcc4be4f HTML - implement the labels attribute 2018-03-12 09:59:19 +01:00
janekptacijarabaci f633b8a33a JS - RegExp - match updated spec for /\b/iu and /\B/iu 2018-03-12 09:52:39 +01:00
wolfbeast 046d00fe86 Bump Goanna version for CSS improvements. 2018-03-12 09:52:05 +01:00
janekptacijarabaci 3e900b62c3 CSS: inline-block with a display:block <input> child element has a wrong baseline (HTML forms) 2018-03-12 09:50:12 +01:00
janekptacijarabaci e6f9300592 CSS - Grid - transferred min-size contribution of percentage size grid item with an intrinsic ratio 2018-03-12 09:46:33 +01:00
janekptacijarabaci 1dee460abe CSS - Grid - intristic content with overflow:auto overlaps in grid 2018-03-12 09:46:03 +01:00
janekptacijarabaci 199fe7032f [draft] CSS - linear-gradient - zero (0) angle value without degree unit is not correctly interpreted 2018-03-12 08:40:14 +01:00
janekptacijarabaci c366b6a6cc CSS - Grid - fit-content unexpectedly reserves space for full clamp size in repeat() 2018-03-12 08:39:41 +01:00
janekptacijarabaci c803c6466d SVG - support radialGradient fr attribute 2018-03-12 08:39:15 +01:00
janekptacijarabaci b81825a395 Implement DOM page onvisibilitychange. 2018-03-12 08:38:36 +01:00
janekptacijarabaci 4cf1065e9c [minor fix] Places - deleting folder of livemarks - nsLivemarkService.js - 0x80070057 (NS_ERROR_ILLEGAL_VALUE) 2018-03-11 16:15:52 +01:00
janekptacijarabaci 1337cbb5b2 [minor fix] Places - bookmarks - treeView.js - 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsINavHistoryContainerResultNode.getChildIndex] 2018-03-11 16:14:57 +01:00
janekptacijarabaci ec6d995a9e Bookmarks - HTML export - Write CRLF on Windows systems and LF on others. 2018-03-11 16:10:04 +01:00
Moonchild bd0bb4b081 Merge pull request #53 from janekptacijarabaci/devtools_network_markers_1
DOMContentLoaded and load does not work properly; follow up if "devtools.webconsole.persistlog == true"
2018-03-10 11:11:35 +01:00
Moonchild c0c607c9a6 Merge pull request #51 from trav90/buildsystem-work
Improve support for GCC 7.x
2018-03-10 11:10:35 +01:00
Matt A. Tobin c0a495e5e7 Port Pale Moon commit a3044d3 - Exclude default theme from update checks.
Do this both for TychoAM and WebExAM
2018-03-08 12:20:38 -05:00
janekptacijarabaci 3be2d1cb25 DOMContentLoaded and load does not work properly if "devtools.webconsole.persistlog == true" - is getting higher
Issue mcp-graveyard/UXP#52
2018-03-05 20:30:12 +01:00
Moonchild e059ff9bea Merge pull request #50 from adeshkp/patch-1
Fix configure on Mac OS X
2018-03-05 12:04:48 +01:00
adeshkp 2609ca9adc Fix configure on Mac OS X 2018-03-05 09:14:22 +00:00
Moonchild 4142088feb Merge pull request #47 from janekptacijarabaci/devtools_storage_refresh_1
Added a button to refresh the Storage Inspector display
2018-03-05 00:35:56 +01:00
Moonchild 413e556c7a Merge pull request #46 from janekptacijarabaci/devtools_network_curl_1
Copy as cURL (PATCH)
2018-03-05 00:34:20 +01:00
Moonchild 8f253d803c Merge pull request #48 from janekptacijarabaci/devtools_inspector_typo_1
Fix typo in a comment
2018-03-05 00:33:45 +01:00
janekptacijarabaci 021d317429 Added a button to refresh the Storage Inspector display
Issue mcp-graveyard/UXP#45
2018-03-04 23:39:03 +01:00
janekptacijarabaci bbe57b734f Copy as cURL (PATCH)
Issue mcp-graveyard/UXP#44
2018-03-04 23:36:49 +01:00
trav90 985616c24d Fix some WebRTC tests to build with GCC 7.0. 2018-03-04 15:34:58 -06:00
trav90 f12227fb39 Fix a truncation leading to an error with GCC 7 2018-03-04 15:31:36 -06:00
trav90 03ebb2401b Disable strict-aliasing for GCC in js/src/jsapi-tests
Compiling our tree with strict-aliasing is not supported.
2018-03-04 15:30:09 -06:00
trav90 051c9b03e0 Disable -Wimplicit-fallthrough in parser/html
GCC 7 supports the clang option -Wimplicit-fallthrough.
2018-03-04 15:27:53 -06:00
trav90 fdc4641a62 Disable -Wimplicit-fallthrough for a chromium file
GCC 7 supports the clang option -Wimplicit-fallthrough.
2018-03-04 15:26:51 -06:00
trav90 c92b8f32d5 Disable -Wimplicit-fallthrough in jsoncpp
GCC 7 supports the clang option -Wimplicit-fallthrough.
2018-03-04 15:24:28 -06:00
trav90 9d71d801f6 Disable -Wimplicit-fallthrough in dom/canvas
GCC 7 supports the clang option -Wimplicit-fallthrough.
2018-03-04 15:19:38 -06:00
trav90 ea6fc45f67 Add MOZ_FALLTHROUGH macro definition for gcc 7 to suppress -Wimplicit-fallthrough warnings
The generic fallback MOZ_FALLTHROUGH definition is insufficient for GCC 7 and above, resulting in build warning spam and --enable-warnings-as-errors builds failing. The check for clang support is changed to use the __has_cpp_attribute macro, which is more robust than checking the __cplusplus version. Also, MOZ_FALLTHROUGH is now only defined in C++ code, since GCC errors out if it encounters a scoped attribute being used with __has_cpp_attribute in C code. No C code uses MOZ_FALLTHROUGH or derivatives at the moment.
2018-03-04 15:17:01 -06:00
trav90 a8de37c95a Use |noexcept| instead of an exception-specification in mozalloc.h
We are using |throw(std::bad_alloc)|, but dynamic exception specifications have been deprecated in C++11. The C++11 equivalent is |noexcept(false)|. This causes build warning spam when using newer compilers such as GCC 7.x.
2018-03-04 15:12:03 -06:00
trav90 e62df0830d Disable -Wimplicit-fallthrough when building jsdtoa.cpp
GCC 7 supports the clang option -Wimplicit-fallthrough.
2018-03-04 15:09:21 -06:00
trav90 f274c031d7 Disable strict-aliasing for GCC in js/src/gdb
Compiling our tree with strict-aliasing is not supported.
2018-03-04 15:07:25 -06:00
trav90 0bad902033 Disable strict-aliasing for GCC in js/src
Compiling our tree with strict-aliasing is not supported.
2018-03-04 15:05:47 -06:00
Moonchild e3bfe2292f Merge pull request #40 from janekptacijarabaci/devtools_import-from-moebius_3
Port across devtools enhancements - 3
2018-03-04 10:28:35 +01:00
Moonchild fadc96bf34 Merge pull request #42 from trav90/fixbustage
Import lss code from esr52
2018-03-04 10:26:37 +01:00
Moonchild d5c6312281 Merge pull request #41 from trav90/master
Fix line endings on old-configure
2018-03-04 10:25:09 +01:00
wolfbeast f04a0f42f9 Fix build system translation errors.
Follow-up to 11a8a39f6d
2018-03-04 10:13:33 +01:00
trav90 46a6b6e0f5 Import lss code from esr52
Fixes build bustage on Linux (even with crashreporter disabled).
2018-03-03 19:26:32 -06:00
trav90 cd9dbf7832 Fix line endings on old-configure
Fixes Linux build bustage.
2018-03-03 19:14:27 -06:00
janekptacijarabaci 02d582bc8e moebius#346: Storage Inspector should trim port from hosts for cookies
Issue mcp-graveyard/UXP#31
https://github.com/MoonchildProductions/moebius/pull/346
2018-03-04 01:58:43 +01:00
janekptacijarabaci 69b2be0a1e Bug 1302989: Make storage inspector work with file:// when # is in the URL
Issue mcp-graveyard/UXP#31
2018-03-04 01:35:21 +01:00
wolfbeast 6abf2995ff Merge branch '_native_52ESR_dom_url_origin_ref_1'
This resolves #38
2018-03-03 22:39:11 +01:00
janekptacijarabaci 51bd6de612 [minor fix] DevTools - inspector.properties (fix typo) 2018-03-03 22:10:49 +01:00
wolfbeast af4b731046 Remove testing-only UI components for e10s
This removes front-end tools only applicable for testing e10s (open non-e10s window, etc.)
This resolves #37
2018-03-03 21:26:56 +01:00
janekptacijarabaci 85a77e7cb7 The origin should not contain the ref part of the URL 2018-03-03 21:23:39 +01:00
Moonchild dfa5d2c460 Merge pull request #36 from janekptacijarabaci/devtools_import-from-moebius_2
Port across devtools enhancements - 2
2018-03-03 19:42:25 +01:00
janekptacijarabaci 53ffbef600 moebius#93: DevTools: Network - DOMContentLoaded and load
Issue mcp-graveyard/UXP#31
Improvements: #34
https://github.com/MoonchildProductions/moebius/pull/93
2018-03-03 17:44:55 +01:00
wolfbeast 5ada36a694 Add support for CSP v3 "worker-src" directive 2018-03-03 11:22:15 +01:00
wolfbeast ce4ee0f7da Don't enforce arbitrary TLS profile.
This prevents people from being unable to visit websites based on "best practice" assumptions.
2018-03-03 11:21:17 +01:00
Matt A. Tobin 6f15b2e8d1 Correct toolkit search component moz.build 2018-03-02 20:07:40 -05:00
janekptacijarabaci f6f8077a0a moebius#350: Don't display storage-sidebar after deleting all cookies
Issue mcp-graveyard/UXP#31
https://github.com/MoonchildProductions/moebius/pull/350
2018-03-02 18:46:58 +01:00
janekptacijarabaci 066bd7d783 moebius#342: Columns are not sorted correctly (Natural Sort algorithm)
Issue mcp-graveyard/UXP#31
https://github.com/MoonchildProductions/moebius/pull/342
2018-03-02 18:22:50 +01:00
janekptacijarabaci d7b0c75241 moebius#339: Make it possible to add cookies, local and session storage entries
Issue mcp-graveyard/UXP#31
https://github.com/MoonchildProductions/moebius/pull/339
2018-03-02 17:52:34 +01:00
janekptacijarabaci 3ad7b36ddf moebius#337: Added option to remove all session cookies for a specific domain
Issue mcp-graveyard/UXP#31
https://github.com/MoonchildProductions/moebius/pull/337
2018-03-02 16:38:25 +01:00
janekptacijarabaci 85d260cd7f Bug 1321820: Storage Inspector fails with dom.caches.enabled=false
Issue mcp-graveyard/UXP#31
2018-03-02 15:26:16 +01:00
janekptacijarabaci b99f3bf4a1 Bug 1334252: Find IDB storage for host more directly
Issue mcp-graveyard/UXP#31
2018-03-02 15:06:49 +01:00
janekptacijarabaci dc4cbe601a Bug 1320362: Move indexedDb storage type in the storage inspector into a new column
Issue mcp-graveyard/UXP#31
2018-03-02 14:59:24 +01:00
janekptacijarabaci 8991815ae1 Bug 1276339: Storage inspector doesn't work on chrome:// pages and web extensions
Issue mcp-graveyard/UXP#31
2018-03-02 14:33:20 +01:00
janekptacijarabaci 030fe7a1c8 Bug 1146194: Multiple cookies with the same name not shown
Issue mcp-graveyard/UXP#31
2018-03-02 13:36:16 +01:00
Moonchild 1012987fee Merge pull request #34 from janekptacijarabaci/devtools_import-from-moebius_1
Port across devtools enhancements
2018-03-02 10:32:45 +01:00
janekptacijarabaci d952789e8c Rewrite the comment, use maxResolutionMs 2018-03-02 07:27:21 +01:00
janekptacijarabaci 2294adc5a6 Rounding to 1ms 2018-03-01 21:17:42 +01:00
janekptacijarabaci 8094892305 Fix nit 2018-03-01 20:38:25 +01:00
Matt A. Tobin 5f23e24cab Remove MOZ_MULET 2018-03-01 14:35:14 -05:00
Matt A. Tobin de21a0d1d4 Use MOZ_FENNEC and MOZ_XULRUNNER instead of checking MOZ_BUILD_APP in most places 2018-03-01 14:26:41 -05:00
Matt A. Tobin 6619d21235 Sync Pale Moon code 2018-03-01 12:21:40 -05:00
Matt A. Tobin 83c6672793 Update 7zSFX 2018-03-01 12:18:10 -05:00
janekptacijarabaci 7a17ad45fa Show the Status Line (e.g. "HTTP/2.0 200 OK") in raw headers (response)
https://github.com/MoonchildProductions/moebius/pull/323
2018-03-01 17:52:39 +01:00
janekptacijarabaci 39de4d76d4 Properly pass postData into new tab
https://github.com/MoonchildProductions/moebius/pull/352
2018-03-01 17:29:55 +01:00
janekptacijarabaci df7906e659 [minor fix] DevTools - Throws an error ("String contains an invalid character")
https://github.com/MoonchildProductions/moebius/pull/162
2018-03-01 15:02:59 +01:00
janekptacijarabaci b3adb3c447 Fix "help cmd" and "cmd refresh" in the Developer Toolbar
https://github.com/MoonchildProductions/moebius/pull/348
2018-03-01 13:57:10 +01:00
janekptacijarabaci d892b6875b Checking NS_BINDING_ABORTED to avoid dispatching navigate event
https://github.com/MoonchildProductions/moebius/pull/302
2018-03-01 13:50:06 +01:00
janekptacijarabaci 8a457f8330 Restore source-editor commands controller for scratchpad & styleeditor menus
https://github.com/MoonchildProductions/moebius/pull/290
2018-03-01 13:45:40 +01:00
janekptacijarabaci b4c8005731 Add support for -browserconsole (the command line)
https://github.com/MoonchildProductions/moebius/pull/257
2018-03-01 13:40:50 +01:00
janekptacijarabaci a2f48bc59e DevTools - network - Copy as cURL (POST)
https://github.com/MoonchildProductions/moebius/pull/167
2018-03-01 13:35:53 +01:00
janekptacijarabaci 0c1ca6d951 DevTools - gcli - screenshot - the vertical mode
https://github.com/MoonchildProductions/moebius/pull/166
2018-03-01 13:30:24 +01:00
janekptacijarabaci c99b781de5 DevTools - style editor - StyleSheetsActor should use the parent tabActor to retrieve the list of windows and react to new/removed windows
https://github.com/MoonchildProductions/moebius/pull/124
2018-03-01 13:13:33 +01:00
janekptacijarabaci 131fc59861 DevTools - network - implement the secureConnectionStart property for the PerformanceTiming
https://github.com/MoonchildProductions/moebius/pull/116
("/testing" and "/toolkit" in in the previous commit)
2018-03-01 11:52:50 +01:00
janekptacijarabaci ff6d01171f DevTools - network - security (improvements)
https://github.com/MoonchildProductions/moebius/pull/113
https://github.com/MoonchildProductions/moebius/pull/118
https://github.com/MoonchildProductions/moebius/pull/127
2018-03-01 09:02:37 +01:00
janekptacijarabaci ba6781d426 DevTools - Browser Console - restore sessions (follow up)
https://github.com/MoonchildProductions/moebius/pull/112
2018-03-01 08:36:32 +01:00
janekptacijarabaci d6bbd7e159 DevTools - Browser Console - restore sessions
https://github.com/MoonchildProductions/moebius/pull/112
2018-03-01 07:17:50 +01:00
Matt A. Tobin c0cf996cfd Update configure variable verification 2018-02-28 13:00:52 -05:00
janekptacijarabaci 26836a52d5 Bug 1168376: Show transferred size in request summary instead of decompressed size
https://github.com/MoonchildProductions/moebius/pull/93
- without: DOMContentLoaded and load
2018-02-28 16:02:31 +01:00
janekptacijarabaci f62da3db13 basilisk -jsdebugger - Import Console.jsm before calling console.[something]
https://github.com/MoonchildProductions/moebius/pull/250
2018-02-28 15:12:38 +01:00
janekptacijarabaci 2f2e34575c Basilisk - the cmd line - help (the columns alignment, error improvements) - follow up
https://github.com/MoonchildProductions/moebius/pull/58
2018-02-28 12:30:08 +01:00
janekptacijarabaci 2516940bc5 DevTools - Scratchpad - fix an old bug (Shift+Alt+R / Reload and Run) - follow up (Ctrl+Alt+R does not work)
https://github.com/MoonchildProductions/moebius/pull/50
2018-02-28 12:18:11 +01:00
janekptacijarabaci 2f324c53ac Bug 1309194: Implement summary info in Net Panel Toolbar; Bug 1317205: CSS improvement for summary button
Required for: https://github.com/MoonchildProductions/moebius/pull/93
2018-02-28 12:17:13 +01:00
janekptacijarabaci aeeef4ca87 DevTools - inspector - data URL source links and their tooltips are unreadable
https://github.com/MoonchildProductions/moebius/pull/95
2018-02-28 08:57:48 +01:00
janekptacijarabaci 35e6b80752 [partial fix] DevTools - network - proxy - throws an errors (remoteAddress)
https://github.com/MoonchildProductions/moebius/pull/63
2018-02-28 08:51:01 +01:00
janekptacijarabaci 9ae9116051 Basilisk - the cmd line - help (the columns alignment, error improvements)
https://github.com/MoonchildProductions/moebius/pull/58
2018-02-28 08:49:42 +01:00
janekptacijarabaci 1b7b60aa12 DevTools - gcli commands - cookie
https://github.com/MoonchildProductions/moebius/pull/55
2018-02-28 08:41:33 +01:00
janekptacijarabaci e2dc717f66 DevTools - Inspector - tooltip get element width/height wrong when browser zoomed
https://github.com/MoonchildProductions/moebius/pull/54
2018-02-28 08:41:01 +01:00
Matt A. Tobin de1985cbd8 Remove non-functional nsDragAndDrop due to refactoring 2018-02-27 10:41:24 -05:00
wolfbeast 5bcf3bae97 Merge branch 'EME-work' 2018-02-24 22:12:27 +01:00
Matt A. Tobin 71c43323a6 Merge branch 'master' into EME-work 2018-02-24 11:57:59 -05:00
Matt A. Tobin 1e90d9cff5 WebRTC should be an enable bool in ac configure but enabled in Basilisk 2018-02-24 09:56:36 -05:00
Matt A. Tobin c77404ed79 Developer Tools client should be a disable bool in ac configure 2018-02-24 09:49:34 -05:00
wolfbeast c4c17d20de Fix up leftover merge conflicts.
Tag mcp-graveyard/UXP#26
2018-02-24 11:37:35 +01:00
wolfbeast d5939407b5 Remove unnecessary front-end features and pres when not building EME.
Tag mcp-graveyard/UXP#26.
2018-02-24 10:30:41 +01:00
wolfbeast e20f8d64fa Don't build EME-specific subroutines without EME.
- Checks for restricted or encrypted content
- Dispatching 'encrypted' events
- Dispatching 'key needed' events
- HTML Media Element media keys system
- EME telemetry
- HTML Media Element EME API

This is the main bulk for #26, isolating EME-specific code.
2018-02-24 10:20:45 +01:00
wolfbeast b7e6edbd21 Don't include MediaKeySystemAccess without EME.
This also removes checks for EME content in documents.
This removes practical use of EME by no longer having a keying system. (no-op)
tag #26
2018-02-24 10:13:29 +01:00
wolfbeast f1e352e083 Don't build GMP-clearkey when not building EME. 2018-02-24 10:06:22 +01:00
wolfbeast 5c1945764c Move --enable-eme out of mozconfigure 2018-02-24 10:02:00 +01:00
wolfbeast 13f5d5ce3b Merge branch 'TLS-1.3' 2018-02-24 00:43:43 +01:00
wolfbeast f677f4068f Activate TLS 1.3 by default.
This resolves #15.
2018-02-24 00:42:45 +01:00
Matt A. Tobin 584543ab8a Restore toolkit/obsolete files and reinstate them to toolkit/content 2018-02-23 14:04:34 -05:00
Matt A. Tobin ec435eefbb Revert "Restore toolkit/obsolete"
This reverts commit b61927d4cd.
2018-02-23 13:41:53 -05:00
wolfbeast 20fb4c1aad Merge branch 'security_tls_1-3_1' into TLS-1.3 2018-02-23 12:44:25 +01:00
wolfbeast 7805e5b5ad Merge branch '_native_52ESR_http_events_1' into TLS-1.3 2018-02-23 12:41:54 +01:00
wolfbeast ba686259a8 Update build system files for NSS 3.35 2018-02-23 11:05:20 +01:00
wolfbeast f202bd9792 Update NSS to 3.35-RTM 2018-02-23 11:04:39 +01:00
wolfbeast c765922ddf Update NSPR to 4.18 2018-02-23 11:03:38 +01:00
wolfbeast b1ba8a6d8e Fix typo in f3f9b7b06e (caps) 2018-02-23 09:39:10 +01:00
wolfbeast b1aa8a1f27 Prevent issues and possible leaks with the bookmarks menu bar as a result of XBL re-binding. 2018-02-22 11:57:51 +01:00
wolfbeast 32d4c2ff4e Merge branch 'ported-moebius' 2018-02-22 11:47:32 +01:00
janekptacijarabaci 4707d97e1b Bug 1217907: [RTL] Wrong direction in about:preferences#general homepage 2018-02-22 11:43:18 +01:00
janekptacijarabaci 143331f2a4 Propagate plugin permissions from top-level to XO iframes. 2018-02-22 11:37:32 +01:00
janekptacijarabaci fecca76b83 CSP: connect-src 'self' should always include https: and wss: schemes 2018-02-22 11:30:29 +01:00
janekptacijarabaci 9b9b4b72f3 CSP: Support IDNs in connect-src 2018-02-22 11:23:16 +01:00
janekptacijarabaci 3e0377a693 CSP: Ignore nonces on <img> per spec 2018-02-22 11:20:38 +01:00
janekptacijarabaci 018a6599a1 CSP: Upgrade SO navigational requests per spec. 2018-02-22 11:18:23 +01:00
janekptacijarabaci 4ee10e06a2 CSP 2 - ignore (x-)frame-options if CSP with frame-ancestors directive exists 2018-02-22 11:15:23 +01:00
wolfbeast fb2aaf236e Enable ALSA support by default on Linux.
This will enable PulseAudio by default with a run-time fallback to ALSA (like Firefox <52).
This resolves #115.
PulseAudio will remain enabled by default -- if at runtime it's not available, it will fall back to ALSA.
Building the tree will still require libpulse to be installed, unless using --disable-pulseaudio.
2018-02-22 11:12:45 +01:00
wolfbeast 538693abd5 Merge branch 'ported-moebius' 2018-02-22 08:59:14 +01:00
wolfbeast f06939eb2e Set BASILISK_VERSION override major.minor to 52.9 2018-02-22 08:13:47 +01:00
wolfbeast 0065b79f72 Add site-specific overrides and remove the overruling global. 2018-02-22 07:49:13 +01:00
wolfbeast 5900f254a1 Restore the dynamic release notes URL from pref 2018-02-22 00:04:26 +01:00
wolfbeast 25af84867f Strip HHMM from the about dialog displayed version. 2018-02-21 23:50:25 +01:00
wolfbeast 0c5bdb31be Update various texts and references. 2018-02-21 23:31:24 +01:00
wolfbeast 87ff6b9019 Link about dialog version to general.useragent.appVersionIsBuildID.
true: YYYY.MM.DD.HHMM
false: v{internal version number} (YYYY-MM-DD)
2018-02-21 23:15:23 +01:00
wolfbeast b39e93512b Provide UA Gecko and Firefox slices by default for web compatibility. 2018-02-21 22:31:23 +01:00
wolfbeast 581cc9d46d Identify as Goanna + set Goanna platform version. 2018-02-21 21:42:05 +01:00
wolfbeast 6124962157 Pick up major+minor milestone version from GRE milestone file. 2018-02-21 21:41:23 +01:00
wolfbeast 0727c8ae30 Read Firefox UA compatmode from a pref instead of hard-coded.
In case of a missing pref, a hard-coded value is still used from the ctor.
2018-02-21 20:14:43 +01:00
wolfbeast 3fc7fa6c63 Replace display version in about box with build ID. 2018-02-21 20:10:22 +01:00
wolfbeast 611d95e764 Update UA construction. 2018-02-21 20:09:30 +01:00
janekptacijarabaci 88b5da7dd8 JS - make window.pageYOffset/pageXOffset/scrollX/scrollY double 2018-02-21 19:52:35 +01:00
janekptacijarabaci 33ebe8d4ce DevTools - Scratchpad - fix an old bug (Ctrl+Shift+R / Reload and Run) 2018-02-21 19:51:52 +01:00
janekptacijarabaci db70380a04 JS - URL - add toJSON support 2018-02-21 19:51:21 +01:00
janekptacijarabaci 7444eddc0a Crypto Services (utils) - Support for SHA224-512 2018-02-21 19:50:16 +01:00
janekptacijarabaci e6e0d3db70 Notifications - Run (Desktop) Notifications twice (and more) in a row does not work 2018-02-21 19:49:55 +01:00
janekptacijarabaci 108789e994 JS - support for Array.prototype.values() 2018-02-20 21:21:56 +01:00
Moonchild 3cef690cbd Merge pull request #27 from MoonchildProductions/theme-work
Remove Windows XP and Windows Vista theme components and resources.
2018-02-20 18:57:53 +01:00
wolfbeast 03b404e129 Remove windows-xp and windows-vista from @media(-moz-os-version) 2018-02-20 14:01:05 +01:00
wolfbeast 2ff1b3de41 Remove Windows XP and Windows Vista theme components and resources. 2018-02-20 12:49:23 +01:00
wolfbeast 44a94dee6b Fix build bustage: keep MF_WIN7_VERSION name 2018-02-20 12:23:48 +01:00
wolfbeast 437a613e6e Clean up Firefox specific considerations from WindowsVersion.h
Tag mcp-graveyard/UXP#22.
2018-02-20 10:25:50 +01:00
wolfbeast 8823696927 Remove more obsolete checks in dom/media and ipc. 2018-02-20 10:19:17 +01:00
wolfbeast 39e7e7ee7a Remove more Vista checks in ipc code 2018-02-20 10:11:31 +01:00
wolfbeast 47e244d8a8 Remove more Vista checks in dom/media 2018-02-20 10:06:50 +01:00
wolfbeast 0308f0b7b7 Remove DLL blocklist checks for Windows XP. 2018-02-19 20:54:12 +01:00
wolfbeast f3dee1034a Remove obsolete WinXPWifiScanner class.
Tag mcp-graveyard/UXP#22
2018-02-19 20:29:13 +01:00
wolfbeast 7fbbb1ff8f Remove Windows XP specific code in netwerk. 2018-02-19 20:27:33 +01:00
wolfbeast f7c87179af Remove some obsolete front-end code in Basilisk. 2018-02-19 20:04:11 +01:00
wolfbeast c8202f5168 Remove gfx/thebes checks for Windows 7+. 2018-02-19 19:22:37 +01:00
wolfbeast 6cc0306d86 Remove some gfx/thebes checks for Windows Vista+. 2018-02-19 19:20:15 +01:00
wolfbeast 7ac7441911 Remove XPCOM checks for Windows Vista and clean up unused header files.
Tag mcp-graveyard/UXP#22
2018-02-19 16:41:18 +01:00
wolfbeast e0f6d6f152 Remove Windows shell integration checks for Windows Vista.
Tag mcp-graveyard/UXP#22.
2018-02-19 16:28:18 +01:00
wolfbeast ff3ab18626 Remove StartupSpecialSystemDirectory() workaround.
The SHGetKnownFolderPath function declaration is exposed since [85edb1c711] so we no longer need to GetProcAddress("SHGetKnownFolderPath") and we can call it directly.
Also remove a redundant #include <shlobj.h>.
2018-02-19 16:11:56 +01:00
wolfbeast 07654fff1c Use thread_local calls on Win and Mac.
This resolves #24.
2018-02-19 15:37:37 +01:00
wolfbeast 81b4333020 Remove SEH try blocks from a11y code. 2018-02-19 13:46:04 +01:00
wolfbeast 7164f2bcf7 Use GetTickCount64 without a GetProcAddress check in Timestamp_windows.cpp.
Tag mcp-graveyard/UXP#22.
2018-02-19 12:50:59 +01:00
wolfbeast c6cfaea79e Remove always-false #if WINVER < 0x0601 (Windows 7) checks in nsWinGesture.h. 2018-02-19 12:33:04 +01:00
wolfbeast e2e4e7e998 Remove always-false #if WINVER < 0x0601 (Windows 7) checks in nsLookAndFeel.h. 2018-02-19 12:31:28 +01:00
wolfbeast 49a2378bb6 Remove always-false #if WINVER < 0x0600 (Windows Vista) check in toolkit/win. 2018-02-19 12:28:55 +01:00
wolfbeast b462314823 Remove always-false #if WINVER < 0x0600 (Windows Vista) checks in widget/windows. 2018-02-19 12:27:14 +01:00
wolfbeast 2be4c782a7 Remove always-false block from WMF. 2018-02-19 12:26:37 +01:00
wolfbeast 071573b373 Remove useless version check from PDMFactory. 2018-02-19 12:22:29 +01:00
wolfbeast 21b17fb22c Remove redundant Vista checks in dom/ipc 2018-02-19 12:22:05 +01:00
wolfbeast e02362ae3d Remove redundant Vista checks in toolkit/xre 2018-02-19 12:15:47 +01:00
wolfbeast 3f0e8e37ae Remove dead code in the Windows battery module. 2018-02-19 11:17:11 +01:00
wolfbeast 9afc4c21ac Remove the use of GetProcAddress() for shell32
This avoids manually hooking into shell32.dll and using the native shell API instead.
Tag mcp-graveyard/UXP#22.
2018-02-19 10:00:25 +01:00
wolfbeast a27e54a5aa Make the proper Windows APIs natively available to our tree.
Tag mcp-graveyard/UXP#22.
This bypasses custom definitions of some functions for things natively available in Windows 7.
2018-02-19 09:58:44 +01:00
wolfbeast 59ed5bbf39 Remove no longer relevant ClearType prefs.
Tag mcp-graveyard/UXP#22
2018-02-18 21:07:51 +01:00
wolfbeast 6f6c71a76c Remove unnecessary code in /widget.
- Remove numerous blocklist entries that no longer apply.
- Remove CanComputeVirtualKeyCodeFromScanCode(), because it's always true.
- Remove ShowXP{Folder,File}Picker(), since we have native pickers on supported Windows versions.
- Remove the config.trim_on_minimize preference, which is pointless on NT6+ and will just cause problems if used.

Tag mcp-graveyard/UXP#22.
2018-02-18 14:56:31 +01:00
wolfbeast 13ed1bdfbc Update executable manifests. 2018-02-18 13:27:04 +01:00
wolfbeast 9b694933e1 Prevent installing stand-alone installers on unsupported environments.
- Prevent installers from installing on XP/Vista.
- Prevent x64 installers from installing on x86.
2018-02-18 13:12:13 +01:00
wolfbeast dfd99075e3 Stop shipping d3dcompiler_43.dll 2018-02-18 12:43:22 +01:00
wolfbeast 5c5915fc9f Merge branch 'ported-moebius' 2018-02-18 12:21:38 +01:00
wolfbeast e5c8c7fabc Merge branch 'master' into ported-moebius 2018-02-18 11:35:06 +01:00
Matt A. Tobin 4208ad1e38 Part 2 2018-02-18 05:31:26 -05:00
wolfbeast 6b7f25e78d Merge branch 'master' into ported-moebius
# Conflicts:
#	browser/installer/windows/nsis/stub.nsi
2018-02-18 10:38:55 +01:00
janekptacijarabaci 712d1c84ef Two (and more) extensions together - http resume - basilisk crashes 2018-02-18 10:30:15 +01:00
wolfbeast 1429e6d489 Remove arbitrary NPAPI plugin whitelist for 64-bit.
This resolves #204.
2018-02-18 10:29:44 +01:00
wolfbeast e9f9bee2d6 Update names in installer defines.
Having the proper `WindowClass` should resolve #170.
2018-02-18 10:28:36 +01:00
wolfbeast 0fd7cf2e9d Fix installer build bustage.
Follow-up to cdef1d75eabfe6927aa0f4e0c18869653c9f1955
2018-02-18 10:25:59 +01:00
wolfbeast b0c872de4d Add an option to control automatic filling in of login credentials and switch this off by default.
This resolves #272.
2018-02-18 10:24:25 +01:00
wolfbeast c74fbc69ad Chase the fox out of the shell service.
"Welcome to branding hell, boys!"
Part 2 for #271.
2018-02-18 10:24:02 +01:00
wolfbeast 18abaa54d4 Rename Options to Preferences and unify location.
This also removes OS-specific naming/handling for separate locations.
Fixes #270.
2018-02-18 10:23:42 +01:00
wolfbeast 787ac28380 Change format handlers to Basilisk. 2018-02-18 10:22:51 +01:00
Matt A. Tobin faeed7e204 Adjust requirements 2018-02-17 14:50:05 -05:00
Matt A. Tobin e8aeceb8f7 Make MOZ_SANBOX an enable bool in configure 2018-02-17 14:28:22 -05:00
Matt A. Tobin b0c05e768e Basilisk requires devtools client for now so enable it by default but add a temporary exportable variable to bypass that 2018-02-17 14:10:47 -05:00
Matt A. Tobin a28cfab301 Split MOZ_DEVTOOLS into MOZ_DEVTOOLS (client) and MOZ_DEVTOOLS_SERVER (backend) and make both optional 2018-02-17 14:09:31 -05:00
Matt A. Tobin 394dba1a53 Add a configure option to disable including jetpack 2018-02-17 14:06:01 -05:00
Matt A. Tobin 76fdd452c8 Merge branch 'stub-branding-cc' 2018-02-17 11:37:33 -05:00
wolfbeast 88a5acf3d8 Merge branch 'ported-moebius' 2018-02-17 17:12:28 +01:00
Matt A. Tobin d1e405c0e9 Reduce redundencies in Basilisk branding 2018-02-17 10:56:35 -05:00
wolfbeast 7ec54a15ff Align ToolbarIconColor luminance computation with UWP guideline as well to make it consistent with the rest of the browser. 2018-02-17 16:32:49 +01:00
wolfbeast 1b4cda5d8c Add a signal preference for dynamic color changes to adjust "brighttext" in the front-end.
This makes all relevant toolbars pick up the fact that the Windows accent color has changed and should check and if necessary update the "brighttext" property on them for styling of controls.
This is a bit of a hack-around to the fact that there is no real easy way otherwise to notify the front-end of color changes without needing a change in focus of the window.
There is a deliberate 300ms delay built in, because otherwise the styles might not have propagated yet, resulting in brighttext not being updated properly.
2018-02-17 16:31:25 +01:00
Lootyhoof 6259cbc515 Don't force colors in tabbar and menubar 2018-02-17 16:30:56 +01:00
wolfbeast 6f1e039e35 Use windows 10 Accent colors. 2018-02-17 16:28:03 +01:00
Matt A. Tobin b9d8ba03e9 Don't generate redundant packaging artifacts 2018-02-17 07:58:10 -05:00
Matt A. Tobin 285f83b9da Add mach installer and mach mar for Windows Installer and MAR file generation 2018-02-17 07:38:02 -05:00
Matt A. Tobin e941f972b3 Put generated installers and mar files in dist root 2018-02-17 07:14:10 -05:00
Matt A. Tobin 5fc4027345 Use BUILDID for package name for Basilisk and ONLY Basilisk 2018-02-17 07:13:21 -05:00
Matt A. Tobin 93b797014a Remove stub installer - Part 2: Basilisk 2018-02-17 06:36:04 -05:00
Matt A. Tobin d39e0be87c Remove stub installer - Part 1: Toolkit 2018-02-17 05:29:44 -05:00
janekptacijarabaci 28db547977 [follow up] Bug 1325922 - Add arrows svg file and style month-year button for date picker 2018-02-14 16:10:55 +01:00
janekptacijarabaci d5dc0dce12 Bug 1341190: Date picker panel and email input validation popup close immediately after opening 2018-02-14 14:47:09 +01:00
janekptacijarabaci c9f903129d Bug 1320225: [DateTimeInput] Integration of input type=date input box with picker (part 2) 2018-02-14 14:45:58 +01:00
janekptacijarabaci 1e82c3cfa1 Bug 1286182: Implement the layout for <input type=date> 2018-02-14 14:41:19 +01:00
janekptacijarabaci 8ae1dd4604 Bug 1314544: [DateTimeInput] browser keyboard shortcut does not work when focus is on input box 2018-02-14 14:10:13 +01:00
janekptacijarabaci f8f8ba94ea Bug 1320225: [DateTimeInput] Integration of input type=date input box with picker (part 1) 2018-02-14 14:03:55 +01:00
janekptacijarabaci b0654e27f4 Bug 1325922: [DateTimePicker] Add arrows svg file and style month-year button for date picker 2018-02-14 13:38:47 +01:00
janekptacijarabaci 26992c331d Bug 1323109: [DateTimePicker] Date time picker popup does not open near input box 2018-02-14 13:24:40 +01:00
janekptacijarabaci de0a1d8694 Bug 1283385: Implement UI for <input type="date"> 2018-02-14 12:32:46 +01:00
janekptacijarabaci 1db12001f2 Bug 1317600: [DateTimePicker] Spinner arrow buttons shouldn't depend on find bar resources 2018-02-14 08:26:47 +01:00
wolfbeast 12c23d6ecd Never shrink line heights as a result of minimumFontSize.
See: MoonchildProductions/Pale-Moon#1614.
2018-02-13 19:26:43 +01:00
janekptacijarabaci e8e1f5eba1 Places - throws an error: 0x80004005 (NS_ERROR_FAILURE) [nsIEditor.transactionManager]
Steps to reproduce:

1) The main menu:
"Tools" - "Options" - "Privacy" - "History":
[x] "Remember my browsing and download history"

2) The main menu:
"History" - "Clear Recent History...":
"Today"/"Everything" - "Browsing & Download History" - "OK"

3) Go to: "https://www.palemoon.org/"

4) The main menu:
"History" - "Show All History"

5) Clicking right mouse button on an item "https://www.palemoon.org" in
"History",
clicking on "Delete This Page".

6) Clicking on "History":

Throws an error in Browser Console:
NS_ERROR_FAILURE: Component returned failure code:
0x80004005 (NS_ERROR_FAILURE) [nsIEditor.transactionManager]
editBookmarkOverlay.js:341
2018-02-13 16:57:41 +01:00
janekptacijarabaci a8d9b4d194 JS - location.hash - no escape single quote 2018-02-12 19:40:38 +01:00
wolfbeast e290b35ef4 Pre-process extensions.js 2018-02-12 18:07:59 +01:00
wolfbeast f8616c3cad Revert "Fix unofficial branding package bustage."
This reverts commit 5b30f18421.
2018-02-12 17:45:51 +01:00
wolfbeast 876d58d5b5 Revert "Fix package bustage: build files."
This reverts commit 3adc70dadd.
2018-02-12 17:45:37 +01:00
wolfbeast 2ea5018fc4 Never show plugin deprecation notice.
To-Do: remove this notice.
2018-02-12 16:39:03 +01:00
wolfbeast 4ddf501423 Remove leftover flashOnly checks in the plugin registry. 2018-02-12 16:34:33 +01:00
wolfbeast 71fd33c56b Hic sunt dracones. 2018-02-12 15:57:07 +01:00
wolfbeast e3b229c769 Use more logical pref names for mouse button 4&5
Also improves comment wording.
2018-02-12 15:56:16 +01:00
wolfbeast 1d6bf538a2 Be less up-tight about script timeouts.
Especially some chrome scripts need ample time, which is causing issues with background scripts firing when the browser is idle.
2018-02-12 15:55:24 +01:00
wolfbeast 234b38faf2 Silence macro redefinition warnings in ICU 2018-02-12 15:54:03 +01:00
wolfbeast 690c9045d7 Direct feedback links to the forum (Basilisk) 2018-02-12 15:53:30 +01:00
wolfbeast 61e503cfc0 Update application license override.
This resolves #222.
2018-02-12 15:51:11 +01:00
wolfbeast 32c52b1c60 Remove flash-only plugin pref.
Tag issue #38.
2018-02-12 15:38:00 +01:00
janekptacijarabaci 5383bdf0cf [regression] DevTools - network - Copy as cURL (http versions) 2018-02-12 15:30:02 +01:00
janekptacijarabaci ac998d7106 [regression] about:license - the link to about:buildconfig 2018-02-12 15:29:36 +01:00
janekptacijarabaci dc08d92439 [regression] Places - proper import bookmarks from HTML containing <HR> separators 2018-02-12 15:29:15 +01:00
janekptacijarabaci 99d14a261e Exclude Update stuff from about:support if the updater isn't built. 2018-02-12 15:28:44 +01:00
wolfbeast 8b3a91debb Fix package bustage: build files. 2018-02-12 14:43:50 +01:00
wolfbeast dc29d7db36 Fix unofficial branding package bustage. 2018-02-12 12:58:39 +01:00
wolfbeast 95c68e753c Add a README 2018-02-12 11:59:50 +01:00
wolfbeast bbc28ade89 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-02-11 19:16:22 +01:00
wolfbeast 335be554d0 Update NSS symbol file.
This resolves #18.
2018-02-11 19:15:52 +01:00
Matt A. Tobin abfae6e00b Fix test paths for WebExAM 2018-02-11 10:47:51 -05:00
Matt A. Tobin b6390b1fde Fix Basilisk packaging when not using WebExtensions enabled Add-on Manager 2018-02-11 09:41:53 -05:00
Matt A. Tobin f161c76dad Fix moz.build 2018-02-11 09:31:31 -05:00
Matt A. Tobin b2c697e385 Add UpdateChannel.jsm 2018-02-11 09:25:10 -05:00
janekptacijarabaci 65368be895 Style clean up 2018-02-11 14:15:29 +01:00
Matt A. Tobin f54bd56539 Merge branch 'ext-work' 2018-02-11 07:03:16 -05:00
wolfbeast 9c630e8262 Un-fold browsercomps.* from libxul
This resolves #16.
2018-02-11 13:01:08 +01:00
Matt A. Tobin f516ac3b84 Make Devtools function without WebExtensions 2018-02-11 06:57:08 -05:00
Matt A. Tobin 1a842f28db Make Basilisk function without WebExtensions 2018-02-11 06:56:30 -05:00
wolfbeast 189479be6e Don't bust when addon-sdk dir exists but is empty (e.g. after pull) 2018-02-11 12:10:26 +01:00
Matt A. Tobin 285f9f1194 Make NPAPI Plugins work 2018-02-11 05:11:14 -05:00
Matt A. Tobin e3e470ca44 Just about almost totally fix GMP 2018-02-11 04:56:28 -05:00
Matt A. Tobin 2aa63afc59 Hard-code the version number for Mozilla's GMP service. 2018-02-11 04:42:01 -05:00
janekptacijarabaci 77ee1636e6 Bug 1344340 - "An unknown error has occurred (804b000c)" appears in the statusbar when loading some sites 2018-02-11 08:03:04 +01:00
janekptacijarabaci b54122e3f8 Bug 1328955 - When a client tries TLS1.3 with EarlyData and a server falls back to tls1.2,we should reconnect using tls1.3 without EarlyData 2018-02-11 08:01:59 +01:00
janekptacijarabaci b7b09e86c0 Bug 1350388 - Drag&drop some HTTPS links in the download icon displays wrongly download as failed 2018-02-11 07:59:36 +01:00
janekptacijarabaci 7e0503ea80 Bug 1351392 - Fix transport status events for http2 and ftp 2018-02-11 07:53:16 +01:00
janekptacijarabaci ba84f2b4cb Bug 1344890 - h2 tls 1.3 early data problem with https://echo.filippo.io/foo 2018-02-11 07:51:19 +01:00
janekptacijarabaci 5a44be5375 Bug 1322373 - TLS 1.3 early-data for http/2 2018-02-11 07:48:28 +01:00
janekptacijarabaci 5de7d84b73 Bug 1345240 - h2 stalls on failed early data hard reload 2018-02-11 07:15:08 +01:00
janekptacijarabaci 02a62aeabb Bug 1343600 - Add TLS handshake Start/Stop events 2018-02-11 07:13:53 +01:00
janekptacijarabaci 7659d3a747 Bug 1340164 - Fix socket transport status events 2018-02-11 07:09:55 +01:00
Matt A. Tobin a770832ace Fix for loops in LightweightThemeManager.jsm (SyntaxError: missing ] after element list) 2018-02-10 16:16:33 -05:00
Matt A. Tobin fdda41dd09 Fix for loops in AddonRepository.jsm (SyntaxError: missing ] after element list) 2018-02-10 16:12:30 -05:00
Matt A. Tobin 5c70a1e208 Fix for loops in XPIProvider.jsm (SyntaxError: missing ] after element list) 2018-02-10 16:11:32 -05:00
Matt A. Tobin 933dac4818 Use the uuid-generator service instead of mangling a random number generator result to generate a syncGUID 2018-02-10 11:14:55 -05:00
Matt A. Tobin 071e8b4d47 Bug 1245141 - Use new Proxy for AddonManager.addonTypes (TychoAM) 2018-02-10 10:56:39 -05:00
Matt A. Tobin cb10562bd0 Add newChannel2 back to NetUtil.jsm 2018-02-10 10:48:27 -05:00
Matt A. Tobin 81d1b13588 Make the Add-on Manager's binary components build 2018-02-10 10:46:49 -05:00
Matt A. Tobin 15ba85911e Hook up the Tycho Add-on Manager to the build system 2018-02-10 10:45:11 -05:00
Matt A. Tobin b7c868021c Import Tycho's Add-on Manager 2018-02-10 04:00:58 -05:00
Matt A. Tobin 7fd5cd95e4 Merge branch 'ext-work' 2018-02-10 02:51:36 -05:00
Matt A. Tobin 2705b67bfe Move WebExtensions enabled Add-ons Manager 2018-02-10 02:49:12 -05:00
wolfbeast e7b0bf948a Workaround for cloned videos not retaining their muted state. 2018-02-10 07:30:57 +01:00
Matt A. Tobin b4bfb1a359 Rename Toolkit's webextensions component directory to better reflect what it is. 2018-02-09 11:10:00 -05:00
Matt A. Tobin 35fbfb2189 Rename Basilisk's webextensions component directory to better reflect what it is. Also, add an Application level configure option to disable webextensions 2018-02-09 10:39:41 -05:00
Matt A. Tobin 52a9d51154 Move Add-on SDK source to toolkit/jetpack 2018-02-09 06:46:43 -05:00
wolfbeast 456c7907fb Merge branch 'ported-upstream' 2018-02-09 08:53:46 +01:00
wolfbeast 43831d5d27 Fix a rare crash with asm.js caching. 2018-02-09 08:51:28 +01:00
wolfbeast cb780dfec1 Re-enable asm.js caching 2018-02-09 08:09:52 +01:00
wolfbeast 4ebe6ad5a6 Limit the number of SharedArrayBuffers in normal JS code (not just asm.js). 2018-02-09 08:04:59 +01:00
wolfbeast 5bf388fb99 Bug 1420507 2018-02-09 07:32:01 +01:00
Matt A. Tobin 4b659f3cd6 Restore toolkit/obsolete 2018-02-08 23:31:09 -05:00
Matt A. Tobin 8b46f24031 Fix wrong keyword in toolkit/components/jsdownloads/DownloadIntegration.jsm 2018-02-08 21:32:29 -05:00
wolfbeast f11b04dd3e Make XDR decoding more robust. 2018-02-08 23:32:18 +01:00
wolfbeast fa5cb881de WASM: Separate out ToTableIndex() 2018-02-08 23:21:45 +01:00
wolfbeast 816300f606 Use a static mutex for getting deviceId keys in MediaParent. 2018-02-08 23:15:39 +01:00
wolfbeast e9068bbccc Add more NS_BUILD_REFCNT_LOGGING in AtomicRefCountedWithFinalize. 2018-02-08 21:22:59 +01:00
wolfbeast 652022515b Remove unnecessary InvalidateCompilerOutputsForScript call. 2018-02-08 21:21:27 +01:00
wolfbeast d2e4510998 Remove referrers when opening a link in a new private window. 2018-02-08 21:19:50 +01:00
wolfbeast 0e202e0855 Update blocklist and remove CRL entries. 2018-02-08 21:17:54 +01:00
wolfbeast edebf46c3d Use our provisioned blocklist server. 2018-02-08 21:15:23 +01:00
wolfbeast f926ea2b69 Add missing sanitization for HTML exporting of bookmarks. 2018-02-08 21:14:22 +01:00
wolfbeast 0624c5764a Make the url bar strip javascript even when preceded by control characters 2018-02-08 21:12:36 +01:00
wolfbeast c7339a095c Implement "cookie-averse document objects".
See: https://html.spec.whatwg.org/multipage/dom.html#cookie-averse-document-object
This resolves #196.
2018-02-08 21:02:09 +01:00
wolfbeast cab1c12106 Explicitly cancel channel after mixed content redirect. 2018-02-08 19:55:11 +01:00
wolfbeast d465d77b8d Check ScriptExtensions property of combining marks when available. 2018-02-08 19:47:21 +01:00
wolfbeast a58d1701b2 Force punycode display for IDNs with a <dotless-i/j, combining mark above> sequence. 2018-02-08 19:29:05 +01:00
wolfbeast a4a316fbc0 Don't allow proxies in the proto chain. 2018-02-08 19:22:33 +01:00
wolfbeast 416fb1673c Merge branch 'ported-upstream' 2018-02-08 14:04:54 +01:00
wolfbeast 789a5ea943 Fix ReadCompressedIndexDataValuesFromBlob(). 2018-02-08 13:36:42 +01:00
wolfbeast 934220f376 Avoid potentially unsafe snprintf usage in FPSCounter.
snprintf returns the number of bytes it would have written when it runs out of space.
This patch makes sure we properly handle this unlikely event in FPSCounter.
This patch also makes sure we don't print out the contents of an uninitialized buffer.
2018-02-08 13:19:30 +01:00
wolfbeast 096dd9cc22 Stop bypassing the Xray layer when walking the prototype chain. 2018-02-08 13:10:17 +01:00
wolfbeast d224d027c3 Check for integer overflow in AesTask::DoCrypto() (DiD)
After calling mResult.SetLength(mData.Length() + 16) we should check
that the integer addition didn't overflow. It seems at the moment
impossible to create ArrayBuffers of size >= 0x0xfffffff0, however
adding a check here doesn't hurt.

mResult.Length() is passed to the PK11 API functions as a
maxOut parameter and should be checked by the
softoken crypto algorithm implementations.
AES-ECB and AES-GCM seem to do that correctly.
2018-02-08 12:53:40 +01:00
wolfbeast 134a9cf65e Merge branch 'ported-upstream' 2018-02-08 12:06:30 +01:00
wolfbeast c77fcdc146 Confirm launch of executables other than .exe on Windows 2018-02-08 11:58:23 +01:00
wolfbeast c874984b3b Cleanup async mozStorage callback management.
Also avoid raw pointers in mozStorageAsyncStatementExecution.cpp.
2018-02-08 11:43:07 +01:00
wolfbeast ef2f263995 Perform LoadURL checks for WebExtensions. 2018-02-08 11:37:12 +01:00
wolfbeast fe0febddfa Add rematerialized frames to the table on JitActivation after rematerialization succeeds. 2018-02-08 10:14:22 +01:00
wolfbeast 2a7f7f1c65 Edit transactions should store their editor instance with strong reference
Edit transactions should store their editor instance with a strong reference, and they should be released when the editor is destroyed.
2018-02-07 21:36:37 +01:00
wolfbeast 4fd4e3ade9 Bug 1261175. 2018-02-07 21:18:43 +01:00
wolfbeast 1c42487c2d WASM: Set OOM failure flag on alloc failure when context is available. 2018-02-07 14:39:35 +01:00
wolfbeast 2e329f53d3 Merge branch 'ported-upstream' 2018-02-07 12:03:46 +01:00
wolfbeast 1d42047303 Fix errant comma in 4470f78754 2018-02-07 11:48:23 +01:00
wolfbeast 2313297b11 Avoid unnecessary string creation. 2018-02-07 11:13:44 +01:00
Matt A. Tobin 4b387c74d3 Add configure variable verification 2018-02-07 04:35:16 -05:00
wolfbeast 1baeccdf50 Add pluralrules to JS Intl 2018-02-07 10:33:18 +01:00
wolfbeast c9f61fbd24 Limit displayed user/host strings to sane lengths. 2018-02-07 09:41:01 +01:00
wolfbeast 7265aea287 Fix eslint warnings in about:webrtc. 2018-02-07 09:35:54 +01:00
Matt A. Tobin db7497c173 Use $(DEPTH) instead of hard coding relative depth in locales makefile.in 2018-02-06 20:33:36 -05:00
Matt A. Tobin f9904e0fe5 Issue mcp-graveyard/UXP#11 - Catch package-manifest.in up 2018-02-06 20:31:43 -05:00
Moonchild 4efbfa9851 Merge pull request #10 from trav90/media-work
Update FFmpeg code to n3.2-65-gee56777
2018-02-06 12:03:37 +01:00
Moonchild 0f100a7e20 Merge pull request #13 from MoonchildProductions/ported-upstream
Ported upstream
2018-02-06 12:02:47 +01:00
wolfbeast 0d5461ff40 Update NSS to 3.32.1-RTM 2018-02-06 11:46:26 +01:00
wolfbeast ef71c3358c Update NSPR to 4.16 2018-02-06 11:40:35 +01:00
wolfbeast 03d395372b CSP should only check host (not including path) when performing frame ancestors checks.
This has been explicitly stated in the CSP-3 spec.
2018-02-06 09:03:16 +01:00
wolfbeast f04a06762d Merge branch 'ported-upstream' 2018-02-06 00:48:16 +01:00
wolfbeast fe4e32e393 Always initialize nursery data structures even if size is smaller than one chunk. 2018-02-05 20:37:26 +01:00
wolfbeast a6582b53ee Move FUZZING definition from toolkit to js. 2018-02-05 19:48:17 +01:00
wolfbeast 7cd298612d Fix off-by-one in Vector::insert. 2018-02-05 19:17:30 +01:00
wolfbeast 3fbeb66280 Reject opening intents with file data schemes. 2018-02-05 19:11:11 +01:00
wolfbeast 1bf3b35632 Split double MoveOperands that conflict with floats. 2018-02-05 16:36:15 +01:00
wolfbeast b1b55a9829 Check for too large allocation size in BasicPlanarYCbCrImage::CopyData (DiD) 2018-02-05 15:52:58 +01:00
wolfbeast 94979aa8c2 Avoid drag-and-drop of javascript: URIs 2018-02-05 13:07:58 +01:00
wolfbeast 60c0c2492e Merge branch 'master' into ported-upstream 2018-02-05 12:41:16 +01:00
wolfbeast 5ad144d35a Take forms out of the RSS reader feed. 2018-02-05 12:32:05 +01:00
Matt A. Tobin 4fa46a5f45 Don't use AppConstants in Services.jsm 2018-02-05 06:28:51 -05:00
Matt A. Tobin 1d1375c8e7 Merge branch 'branding-work' 2018-02-05 06:27:57 -05:00
Matt A. Tobin afc4682669 Part 2 2018-02-05 06:26:20 -05:00
Matt A. Tobin aa391de07c De-firefox many things 2018-02-05 06:25:10 -05:00
Matt A. Tobin 6248a3557c Official Vendor and Pale Moon special case 2018-02-05 05:48:29 -05:00
wolfbeast 384c68f401 Add correct licensing statement in the source root. 2018-02-05 10:16:23 +01:00
Matt A. Tobin 943fdb1572 Update branding 2018-02-05 02:23:23 -05:00
Matt A. Tobin e1bb4c35cb Use app.releaseNotesURL preference instead of a hardcoded URL in the Basilisk about box 2018-02-05 02:13:44 -05:00
Matt A. Tobin 1623699dc9 Remove extra branding 2018-02-05 00:08:42 -05:00
wolfbeast 449699023c Merge branch 'ported-moebius' 2018-02-04 23:58:08 +01:00
janekptacijarabaci a19635c8a5 Editable menulist loosing editable attribute gets focus stuck
Bug(s):
https://bugzilla.mozilla.org/show_bug.cgi?id=1142224
(native in moebius)
2018-02-04 23:17:10 +01:00
janekptacijarabaci 17fce8d102 Implement auxclick
Bug(s):
https://bugzilla.mozilla.org/show_bug.cgi?id=1304044
(native in moebius)
2018-02-04 23:15:50 +01:00
janekptacijarabaci 7dc613da38 Fix socket transport status events
Bug(s):
https://bugzilla.mozilla.org/show_bug.cgi?id=1340164
(native in moebius)
2018-02-04 23:09:17 +01:00
wolfbeast 1305ad4057 Change "darkwindowframe" calculation on Win 8 to UWP formula.
#31 point 6
2018-02-04 20:42:25 +01:00
wolfbeast 310a976f19 Add -moz-windows-accent-color-is-dark
#31 point 4
2018-02-04 20:41:16 +01:00
wolfbeast a3b6a7b302 Split out the check for accent color luminance. 2018-02-04 20:40:20 +01:00
wolfbeast fe312b28d8 Make the '-moz-windows-accent-color-applies' media query live to Windows 10 settings changes. 2018-02-04 20:39:23 +01:00
wolfbeast 88f51fef36 Add -moz-win-accentcolor(text)
#31 points 1 and 2
2018-02-04 20:37:56 +01:00
wolfbeast 341707daf5 Add @media(-moz-windows-accent-color-applies)
#31 point 3
2018-02-04 20:36:05 +01:00
Matt A. Tobin 56be4a37f5 Merge branch 'master' into configurebuild-work 2018-02-04 14:35:31 -05:00
trav90 405dfd4a77 Update FFmpeg code to n3.2-65-gee56777 2018-02-04 13:19:22 -06:00
Moonchild df0fb34dff Merge pull request #7 from janekptacijarabaci/devtools_inspector_cssColor4_1
Support for css-color-4 (finish)
2018-02-04 19:51:18 +01:00
Moonchild 2a26ef6dc4 Merge pull request #6 from janekptacijarabaci/devtools_inspector_copyFullCSSPath_1
Add a "copy full CSS path" option to the inspector's menu
2018-02-04 19:51:02 +01:00
Moonchild 604bfb33c6 Merge pull request #5 from janekptacijarabaci/devtools_inspector_markupView_1
Markup View: show an ellipsis character in collapsed nodes
2018-02-04 19:50:46 +01:00
Moonchild 6d7980b875 Merge pull request #9 from trav90/buildsystem-work
Require at least GCC 4.9
2018-02-04 19:48:51 +01:00
trav90 ad2b9349ab Remove checks for GCC < 4.9 2018-02-04 12:31:30 -06:00
trav90 5c516e0cb3 Require at least GCC 4.9 to build 2018-02-04 12:12:38 -06:00
wolfbeast 885f8dacfd Merge branch 'ported-moebius' 2018-02-04 15:23:27 +01:00
wolfbeast 4ab75d04ac Use int instead of uint for vector dimension cap. 2018-02-04 12:35:44 +01:00
wolfbeast 92b0c63f75 Disable built-in extensions. 2018-02-04 12:34:42 +01:00
wolfbeast 3797764b3c Update SQLite to 3.19.3. 2018-02-04 12:04:24 +01:00
wolfbeast ef91c4eb51 Devtools gcli commands - fix the help. 2018-02-04 12:02:19 +01:00
wolfbeast 0a3d2b51c4 Update graphite2 lib to 1.3.10
(from 1.3.8)
2018-02-04 11:49:12 +01:00
wolfbeast 1cd6efc620 Remove undesired pre-set bookmarks. 2018-02-04 11:43:22 +01:00
wolfbeast 6e680ca40a Remove Mozilla partner-affiliate searchplugins 2018-02-04 10:36:04 +01:00
wolfbeast 92ee3276f6 Update exe manifest (drop Vista support) 2018-02-04 08:54:16 +01:00
wolfbeast 5731676ec7 Don't cache vector images in the surface cache if they are too large.
A dimension of 3000 largest size x or y should cover all common caching cases for SVG icons and web app elements, but not caching large vector rasters that would exhaust the cache.
This limit is a royal 36MB/element (3000x3000x4) as cap (if the SVG is square). This avoids performance regressions when repeatedly scaling large vector images, but also allows for large SVG backgrounds to be cached.
It allows for the bad practice of slapping a large SVG on a site as html background, considering they are likely, even when using large sizes for "responsive" layout, not going to exceed 3000 px in the largest dimension (and if they do, the web designer needs to be slapped with a big trout).
2018-02-04 00:07:05 +01:00
wolfbeast 238aaded51 Only create a single display transform for SVG frames with single child transforms.
This improves performance on repeated scaling of vectors.
2018-02-03 23:56:01 +01:00
Matt A. Tobin d632ae27bd Merge branch 'master' into configurebuild-work 2018-02-03 15:50:22 -05:00
wolfbeast 6323cedede Merge branch 'ported-moebius'
Remove GCZeal code from Spidermonkey.
This resolves #8
2018-02-03 19:03:05 +01:00
wolfbeast 2e0d7411d3 Remove unused compileBarriers() 2018-02-03 17:55:13 +01:00
wolfbeast 3d5eed7b34 Remove SetGCZeal() stub and its callers. 2018-02-03 17:54:08 +01:00
wolfbeast e3d560a041 Remove runDebugGC() stub 2018-02-03 17:51:53 +01:00
wolfbeast c7d2c11051 Remove pushZealSelectedObjects() and caller 2018-02-03 17:50:59 +01:00
wolfbeast f5bab22699 Remove finishMarkingValidation and caller 2018-02-03 17:50:00 +01:00
wolfbeast 0789b99d87 Remove validateIncrementalMarking() and caller 2018-02-03 17:47:35 +01:00
wolfbeast 4ec2eec70a Remove computeNonIncrementalMarkingForValidation(lock) and caller 2018-02-03 17:46:39 +01:00
wolfbeast 49296aa8c6 Remove VerifyBarriers() and MaybeVerifyBarriers() stubs and callers. 2018-02-03 17:45:38 +01:00
wolfbeast b32e5c0e56 Remove AutoStopVerifyingBarriers RAII stub struct no longer in use. 2018-02-03 17:44:36 +01:00
wolfbeast 0a6f73b648 Remove needZealousGC() 2018-02-03 17:43:40 +01:00
wolfbeast a8cd7911eb Remove upcomingZealousGC() and caller 2018-02-03 17:42:45 +01:00
wolfbeast ab742dce17 Remove clearZealMode(mode) 2018-02-03 17:41:54 +01:00
wolfbeast a74bfaf3bd Remove hasZealMode(mode) and callers 2018-02-03 17:41:03 +01:00
wolfbeast 8569232496 Remove isVerifyPreBarriersEnabled() stub and callers 2018-02-03 17:40:07 +01:00
wolfbeast 28422611d7 Remove "has-gczeal" property. 2018-02-03 17:36:38 +01:00
wolfbeast 231612009b Remove remaining conditional GCZeal code.
Creates stubs:
jsgc.h/cpp
VerifyBarriers() stub
MaybeVerifyBarriers() stub
GCRuntime::computeNonIncrementalMarkingForValidation() stub
GCRuntime::validateIncrementalMarking() stub
GCRuntime::finishMarkingValidation() stub
GCRuntime::pushZealSelectedObjects() stub
bool useZeal?
GCRuntime::runDebugGC() stub
XPConnect:
nsXPCComponents_Utils::SetGCZeal() stub (always NS_OK)
2018-02-03 17:35:44 +01:00
wolfbeast 7a8eafc827 Remove GCZeal: Base cleanup
UXP repo issue #8
2018-02-03 15:06:40 +01:00
wolfbeast b55469f6f2 Trivial update: use .includes() in ForGetAboutSite.jsm 2018-02-03 15:02:47 +01:00
Matt A. Tobin 97cdea2337 Merge branch 'master' into configurebuild-work 2018-02-03 08:48:48 -05:00
Matt A. Tobin 9c2d2883cb Allow moz.configure to build projects at / or application/ without having to fully qualify the path in --enable-application 2018-02-03 08:23:51 -05:00
Matt A. Tobin 029fda4c2c Use MOZ_PHOENIX instead of checking for 'browser' in MOZ_BUILD_APP 2018-02-03 08:22:52 -05:00
wolfbeast 12d04d00ac Merge branch 'goanna-gfx' 2018-02-03 14:02:24 +01:00
wolfbeast 8593baeeb5 Disable application update to prevent Mozilla interference while working on the tree. 2018-02-03 14:01:56 +01:00
Matt A. Tobin c22879f6bd Move MOZ_PHOENIX to application configure and set MC_BASILISK 2018-02-03 06:42:10 -05:00
Matt A. Tobin 4dd87563f5 Purge b2g/ 2018-02-03 06:25:10 -05:00
Matt A. Tobin d6bb40b8ce Remove browser tests - Part 2: Build System 2018-02-03 06:01:32 -05:00
Matt A. Tobin d6b7f515ce Remove browser tests - Part 1: The Tests (except for experiments) 2018-02-03 06:00:38 -05:00
wolfbeast fec770afd6 Use proper image http accept header for content negotiation. 2018-02-03 10:07:20 +01:00
wolfbeast 4bbe82566c Add WebP content sniffing code. 2018-02-03 10:05:56 +01:00
wolfbeast 001fa09964 Implement WebP image decoder. 2018-02-03 10:03:50 +01:00
wolfbeast 3ed6e5d113 Add build files to support libwebp decoding. 2018-02-03 09:58:46 +01:00
wolfbeast fb63f77016 Add libwebp 0.6.0 to the tree 2018-02-03 09:57:42 +01:00
janekptacijarabaci 3e9520a543 Support for css-color-4 (finish)
Issue mcp-graveyard/UXP#4
2018-02-02 20:51:18 +01:00
wolfbeast bf9df85bcb Merge branch 'goanna-gfx' 2018-02-02 20:45:11 +01:00
wolfbeast 4585fd3500 Merge branch 'ported-moebius' 2018-02-02 20:44:40 +01:00
janekptacijarabaci 5c7c36457e Add a "copy full CSS path" option to the inspector's menu
Issue mcp-graveyard/UXP#3
2018-02-02 20:42:28 +01:00
janekptacijarabaci e19a1da1b4 Markup View: show an ellipsis character in collapsed nodes
Issue mcp-graveyard/UXP#2
2018-02-02 20:32:00 +01:00
wolfbeast c1fcd03c35 CSS gradients: add a special case for transparent stops.
This causes transparent stops to behave like "true transparent" instead
of "transparent black", even in RGBA space.
i.e.: the gradient will transition to a transparent version of the color
adjacent to the transparent color stop (on either side if not on the edge).
2018-02-02 20:16:50 +01:00
wolfbeast 0dce1fa11a CSS: Stop using premultiplied color space for gradients. 2018-02-02 20:06:07 +01:00
wolfbeast 3470106a72 Disable window.showModalDialog.
This is no longer in the spec.
2018-02-02 19:44:07 +01:00
wolfbeast dc1de3c520 Disable the add-ons "cache" for privacy reasons. 2018-02-02 19:41:26 +01:00
wolfbeast 67264a0e94 Add canvas data poisoning option.
Tag mcp-graveyard/UXP#61.
2018-02-02 19:38:38 +01:00
wolfbeast 89cffff98e Switch GeoLocation to IP-API.com with minimal requests. 2018-02-02 19:35:20 +01:00
wolfbeast df75df2408 Fix spellchecker dictionary logic.
This fixes #6.
2018-02-02 19:23:51 +01:00
wolfbeast 242b5e0d74 That's quite enough of /this/ nonsense. 2018-02-02 19:12:00 +01:00
wolfbeast 7f51cefbb2 Disable static DHE + AES suites by default (common combination for weak DH keys)
Issue mcp-graveyard/UXP#4 point 5
2018-02-02 19:07:53 +01:00
wolfbeast 34e23129f4 Disable 3DES cipher by default + re-order a few things.
Issue mcp-graveyard/UXP#4 point 4
2018-02-02 19:06:52 +01:00
wolfbeast c0ffa0fe98 Add RSA-AES + SHA256/384 suites for web compatibility.
Sites with these ciphers (commonly IIS) would otherwise fall back to weak 3DES that will be disabled by default.

Issue mcp-graveyard/UXP#4 points 2 and 3
2018-02-02 19:05:37 +01:00
wolfbeast 108b388a68 Add Camellia to the active cipher suites.
Issue mcp-graveyard/UXP#4 point 1.

Camellia is a strong, modern, safe cipher with no known weaknesses or reduced strength attacks.
The cipher has been approved for use by the ISO/IEC, the European Union's NESSIE project and the Japanese CRYPTREC project.
2018-02-02 19:04:33 +01:00
wolfbeast 1852c4834b Implement configuration pref for Generational Garbage Collection.
Pref: javascript.options.mem.gc_generational
This resolves #20
2018-02-02 19:03:24 +01:00
wolfbeast c88530e150 Fix toolkit update logic to prevent update loops.
Only consider equal appversion to be "update available" if BuildID is present AND greater than current.

This resolves #13.
2018-02-02 18:58:47 +01:00
wolfbeast cf75d85039 Support "SourceMap" header along with "X-SourceMap" 2018-02-02 18:57:14 +01:00
wolfbeast 109fb616f0 Restrict XML file recursion depth to 200.
This resolves #2.
2018-02-02 18:55:59 +01:00
Matt A. Tobin a164a1ab76 Use UTC where appropriate in python files 2018-02-02 12:00:37 -05:00
Matt A. Tobin d532d899a2 Fix certerror.wrongSystemTime in netError.dtd 2018-02-02 11:11:41 -05:00
Matt A. Tobin 3e7538b1a9 End FIREFOX_VERSION and use preprocessed values in bundled install.rdf files 2018-02-02 11:02:50 -05:00
Matt A. Tobin 3bb3d224c5 Preprocessor warnings should not be fatal errors 2018-02-02 09:30:18 -05:00
Matt A. Tobin 02a742bd76 Remove kinto client, Firefox kinto storage adapter, blocklist update client and integration with sync, OneCRL and the custom time check for derives system time. 2018-02-02 09:21:33 -05:00
Matt A. Tobin fe03274628 Issue N/A - Undeprecate viewSource.xul's original API 2018-02-02 07:52:31 -05:00
Matt A. Tobin 50bf8b9b83 Issue N/A - Restore the Toolkit Error Console - Part 2: Browser 2018-02-02 07:28:34 -05:00
Matt A. Tobin a6df6b5de5 Issue N/A - Restore the Toolkit Error Console - Part 1: Toolkit 2018-02-02 07:11:37 -05:00
Matt A. Tobin da300f6a26 Revert "Add Basilisk"
This reverts commit e72ef92b5b.
2018-02-02 05:06:10 -05:00
Matt A. Tobin ec535fc04b Empty commit 2018-02-02 05:04:01 -05:00
Matt A. Tobin ad18d877dd Add m-esr52 at 52.6.0 2018-02-02 04:16:08 -05:00
Matt A. Tobin 15477ed9af Add Pale Moon 2018-02-02 03:35:06 -05:00
Matt A. Tobin 5776b0d1be Add Basilisk 2018-02-02 03:32:58 -05:00
Matt A. Tobin 99bb67c852 Git stuff 2018-02-02 03:23:50 -05:00
Moonchild 054ab4f703 Initial commit 2018-02-01 09:25:01 +00:00
40351 changed files with 870893 additions and 2704644 deletions

No files matched your search

-22
View File
@@ -187,28 +187,6 @@ devtools/client/framework/test/code_ugly*
devtools/server/tests/unit/babel_and_browserify_script_with_source_map.js
devtools/server/tests/unit/setBreakpoint*
# mobile/android/ exclusions
mobile/android/tests/
# Uses `#filter substitution`
mobile/android/b2gdroid/app/b2gdroid.js
mobile/android/app/mobile.js
mobile/android/chrome/content/healthreport-prefs.js
# Uses `#expand`
mobile/android/chrome/content/about.js
# Not much JS to lint and non-standard at that
mobile/android/installer/
mobile/android/locales/
# Non-standard `(catch ex if ...)`
mobile/android/chrome/content/browser.js
mobile/android/components/Snippets.js
# Bug 1178739: Ignore this file as a quick fix for "Illegal yield expression"
mobile/android/modules/HomeProvider.jsm
# services/ exclusions
# Uses `#filter substitution`
+5 -6
View File
@@ -49,9 +49,11 @@ js/src/autom4te.cache
js/src/tests/results-*.html
js/src/tests/results-*.txt
# Java HTML5 parser classes
parser/html/java/htmlparser/
parser/html/java/javaparser/
# Java HTML5 parser codegen artifacts
parser/html/java/htmlparser/bin/
parser/html/java/javaparser/bin/
parser/html/java/*.jar
parser/html/javasrc/
# Ignore the files and directory that Eclipse IDE creates
.project
@@ -89,9 +91,6 @@ GPATH
# Git clone directory for updating web-platform-tests
testing/web-platform/sync/
# Android Gradle artifacts.
mobile/android/gradle/.gradle
# XCode project cruft
embedding/ios/GoannaEmbed/GoannaEmbed.xcodeproj/project.xcworkspace/xcuserdata
embedding/ios/GoannaEmbed/GoannaEmbed.xcodeproj/xcuserdata
+1 -2
View File
@@ -22,5 +22,4 @@
# changes to stick? As of bug 928195, this shouldn't be necessary! Please
# don't change CLOBBER for WebIDL changes any more.
Clobber for NSS Update
Clobber for NSS update
+6
View File
@@ -47,6 +47,12 @@ ifndef MOZ_PROFILE_USE
# We need to explicitly put BUILD_BACKEND_FILES here otherwise the rule in
# rules.mk doesn't run early enough.
$(TIERS) binaries:: CLOBBER $(configure_dir)/configure config.status $(BUILD_BACKEND_FILES)
# While our mozbuild backend has some kind of crazy install_manfests junk to
# try and make this not have to happen, we actually want dist/bin to be
# completely removed regardless.
default alldep all::
@$(RM) -r $(DIST)/bin
ifndef JS_STANDALONE
ifdef COMPILE_ENVIRONMENT
$(TIERS) binaries:: $(topsrcdir)/js/src/configure js/src/config.status
+4 -1
View File
@@ -18,7 +18,7 @@ directory. This will contain relevant documentation regarding contributing,
using and distributing this code and its binaries.
If you are interested in the development and building side of things, some
information will be available on the [Pale Moon developer wiki](http://developer.palemoon.org).
information will be available on the [Pale Moon developer site](http://developer.palemoon.org).
You are also always welcome to get in touch with our community on the [Pale Moon forum](https://forum.palemoon.org/).
### A note about trademarks and branding
@@ -34,3 +34,6 @@ and other community members.
If you fork this repository to perform your own work on it, please consider offering
improvement patches upstream to its origin to mutually improve the platform and build
a future for XUL.
## Looking for Pale Moon and Basilisk?
As of [`Issue #969`](https://repo.palemoon.org/MoonchildProductions/UXP/issues/969), release versions `28.9.0` and `2020.03.04` respectively, they have been split off into their own dedicated repositories located at [`MoonchildProductions/Pale-Moon`](https://repo.palemoon.org/MoonchildProductions/Pale-Moon) and [`MoonchildProductions/Basilisk`](https://repo.palemoon.org/MoonchildProductions/Basilisk).
+36
View File
@@ -0,0 +1,36 @@
# Security Policy
## What is or is not a vulnerability?
In general, vulnerabilities are those bugs that can actually be exploited to perform malicious tasks.
Most _crashes_ are not security vulnerabilities. Although important to fix, they don't inherently cause a problem for the
browser's security.
What should be considered vulnerabilities or security hazards by default:
- Use-after-free crashes, since those can potentially be used for remote code execution;
- Spoofing issues in the UI;
- File security issues, like out-of-bounds access to arbitrary files or locations;
- Type confusion issues;
- Bypass of security measures like CSP or the various mechanisms around HTTPS.
Generally not security vulnerabilities:
- Null dereferencing crashes;
- Malware extensions (but please do report those on the forum in the extensions board!);
- Denial-of-service (AKA "evil trap sites")
- Browser hangs
- Issues with non-standard manual configuration (either at build time or by manipulating about:config directly)
## Reporting a Vulnerability
If you find an issue in UXP or the applications it builds on that could impact the security or safety of users please **do not**
make an issue on Gitea about it. Gitea does not support restricted viewability for security sensitive bugs.
If you want to report a security-sensitive issue then please go to the [forum](https://forum.palemoon.org) and report the issue
via a **private message** to **Moonchild** (the founder and prime responsible for security issues).
The forum's private message system is fully secure since your visits are encrypted and private messages are not available to anyone
except the recipient (not even moderators!).
You will be informed via private message if the vulnerability report is accepted or declined, with reasoning.
Security updates occur regularly and are given priority over most other development tasks. In general, they can be solved
relatively quickly and will be included in the next point release (third digit if not rolled into a more major one).
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 40 -*- */
/* vim: set ts=2 et sw=2 tw=40: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* * License, v. 2.0. If a copy of the MPL was not distributed with this file,
* * You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-10
View File
@@ -347,16 +347,6 @@ static const nsRoleMapEntry sWAIRoleMaps[] =
eLandmark,
kNoReqStates
},
{ // marquee
&nsGkAtoms::marquee,
roles::ANIMATION,
kUseMapRole,
eNoValue,
eNoAction,
eOffLiveAttr,
kGenericAccType,
kNoReqStates
},
{ // math
&nsGkAtoms::math,
roles::FLAT_EQUATION,
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
+2 -3
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@@ -36,10 +35,10 @@ EPlatformDisabledState PlatformDisabledState();
void PreInit();
#endif
#if defined(MOZ_ACCESSIBILITY_ATK) || defined(XP_MACOSX)
#if defined(MOZ_ACCESSIBILITY_ATK)
/**
* Is platform accessibility enabled.
* Only used on linux with atk and MacOS for now.
* Only used on linux with atk.
*/
bool ShouldA11yBeEnabled();
#endif
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set expandtab shiftwidth=2 tabstop=2: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set expandtab shiftwidth=2 tabstop=2: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set expandtab shiftwidth=2 tabstop=2: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-5
View File
@@ -1,5 +1,4 @@
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
@@ -97,10 +96,6 @@ elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
'/accessible/windows/ia2',
'/accessible/windows/msaa',
]
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
LOCAL_INCLUDES += [
'/accessible/mac',
]
else:
LOCAL_INCLUDES += [
'/accessible/other',
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 sw=2 et tw=78: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
-5
View File
@@ -1,5 +1,4 @@
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
@@ -53,10 +52,6 @@ elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
'/accessible/windows/ia2',
'/accessible/windows/msaa',
]
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
LOCAL_INCLUDES += [
'/accessible/mac',
]
else:
LOCAL_INCLUDES += [
'/accessible/other',
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
+21 -27
View File
@@ -175,23 +175,17 @@ HTMLTableCellAccessible::Table() const
uint32_t
HTMLTableCellAccessible::ColIdx() const
{
nsITableCellLayout* cellLayout = GetCellLayout();
NS_ENSURE_TRUE(cellLayout, 0);
int32_t colIdx = 0;
cellLayout->GetColIndex(colIdx);
return colIdx > 0 ? static_cast<uint32_t>(colIdx) : 0;
nsTableCellFrame* cellFrame = GetCellFrame();
NS_ENSURE_TRUE(cellFrame, 0);
return cellFrame->ColIndex();
}
uint32_t
HTMLTableCellAccessible::RowIdx() const
{
nsITableCellLayout* cellLayout = GetCellLayout();
NS_ENSURE_TRUE(cellLayout, 0);
int32_t rowIdx = 0;
cellLayout->GetRowIndex(rowIdx);
return rowIdx > 0 ? static_cast<uint32_t>(rowIdx) : 0;
nsTableCellFrame* cellFrame = GetCellFrame();
NS_ENSURE_TRUE(cellFrame, 0);
return cellFrame->RowIndex();
}
uint32_t
@@ -285,6 +279,12 @@ HTMLTableCellAccessible::GetCellLayout() const
return do_QueryFrame(mContent->GetPrimaryFrame());
}
nsTableCellFrame*
HTMLTableCellAccessible::GetCellFrame() const
{
return do_QueryFrame(mContent->GetPrimaryFrame());
}
nsresult
HTMLTableCellAccessible::GetCellIndexes(int32_t& aRowIdx, int32_t& aColIdx) const
{
@@ -520,11 +520,9 @@ HTMLTableAccessible::SelectedCellCount()
if (!cellFrame || !cellFrame->IsSelected())
continue;
int32_t startRow = -1, startCol = -1;
cellFrame->GetRowIndex(startRow);
cellFrame->GetColIndex(startCol);
if (startRow >= 0 && (uint32_t)startRow == rowIdx &&
startCol >= 0 && (uint32_t)startCol == colIdx)
uint32_t startRow = cellFrame->RowIndex();
uint32_t startCol = cellFrame->ColIndex();
if (startRow == rowIdx && startCol == colIdx)
count++;
}
}
@@ -570,11 +568,9 @@ HTMLTableAccessible::SelectedCells(nsTArray<Accessible*>* aCells)
if (!cellFrame || !cellFrame->IsSelected())
continue;
int32_t startCol = -1, startRow = -1;
cellFrame->GetRowIndex(startRow);
cellFrame->GetColIndex(startCol);
if ((startRow >= 0 && (uint32_t)startRow != rowIdx) ||
(startCol >= 0 && (uint32_t)startCol != colIdx))
uint32_t startRow = cellFrame->RowIndex();
uint32_t startCol = cellFrame->ColIndex();
if (startRow != rowIdx || startCol != colIdx)
continue;
Accessible* cell = mDoc->GetAccessible(cellFrame->GetContent());
@@ -597,11 +593,9 @@ HTMLTableAccessible::SelectedCellIndices(nsTArray<uint32_t>* aCells)
if (!cellFrame || !cellFrame->IsSelected())
continue;
int32_t startRow = -1, startCol = -1;
cellFrame->GetColIndex(startCol);
cellFrame->GetRowIndex(startRow);
if (startRow >= 0 && (uint32_t)startRow == rowIdx &&
startCol >= 0 && (uint32_t)startCol == colIdx)
uint32_t startCol = cellFrame->ColIndex();
uint32_t startRow = cellFrame->RowIndex();
if (startRow == rowIdx && startCol == colIdx)
aCells->AppendElement(CellIndexAt(rowIdx, colIdx));
}
}
+6
View File
@@ -11,6 +11,7 @@
#include "TableCellAccessible.h"
class nsITableCellLayout;
class nsTableCellFrame;
namespace mozilla {
namespace a11y {
@@ -53,6 +54,11 @@ protected:
*/
nsITableCellLayout* GetCellLayout() const;
/**
* Return the table cell frame.
*/
nsTableCellFrame* GetCellFrame() const;
/**
* Return row and column indices of the cell.
*/
-5
View File
@@ -1,5 +1,4 @@
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
@@ -33,10 +32,6 @@ elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
'/accessible/windows/ia2',
'/accessible/windows/msaa',
]
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
LOCAL_INCLUDES += [
'/accessible/mac',
]
else:
LOCAL_INCLUDES += [
'/accessible/other',
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-1
View File
@@ -1,5 +1,4 @@
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-1
View File
@@ -1,5 +1,4 @@
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
Loaded 100 of 40351 files, more files were not shown because too many files have changed in this diff. Show more