Commit graph

1,742 commits

Author SHA1 Message Date
wolfbeast
34f16bf61c Bug 1466991 - Part 1: Factor out ShouldUseXBLScope. 2019-02-16 00:13:22 +08:00
wolfbeast
44998d1f5b Bug 1472925 - Keep a strong reference to MediaStreamGraph from GraphDriver. 2019-02-16 00:13:21 +08:00
wolfbeast
d3a845d2fc Bug 1469309 - Remove an unused sensor type. 2019-02-16 00:13:19 +08:00
wolfbeast
c858b4cc75 Fix build bustage in cbfef7fcdb853916ff04015f6ee2d4b86f424a08
- imageDetails.format() needs a cast to SurfaceFormat
- style nit: wrap long lines.
2019-02-16 00:13:18 +08:00
wolfbeast
f3a19b8e9b Release mapped surface memory on size check failure to plug a leak. 2019-02-16 00:13:16 +08:00
wolfbeast
918ef0183a Move surface data checking to a separate function to make it less "totally nuts" 2019-02-16 00:13:15 +08:00
wolfbeast
80e25ee7e5 Bug 1467363 - Protect access to mTransparentSurface with a lock. 2019-02-16 00:13:13 +08:00
wolfbeast
6d43998298 Bug 1478575 - Unify CamerasChild shutdown paths. 2019-02-16 00:13:12 +08:00
wolfbeast
a924e0f4e1 Bug 1473113 - Defer initializing the MAR index until it's needed. 2019-02-16 00:13:10 +08:00
wolfbeast
56e32f933a Cherry-pick libvpx upstream 52add5896661d186dec284ed646a4b33b607d2c7. 2019-02-16 00:13:09 +08:00
wolfbeast
f2dad4be1f Bug 1470260 - Part 2: Make RefreshDriverTimer ref-counted and hold a strong ref on it on the stack when nsRefreshDriver::Tick can be reached. 2019-02-16 00:13:07 +08:00
wolfbeast
6f120a942c Bug 1470260 - Part 1: Ensure that 'this' stays alive for the duration of the TickRefreshDriver call. 2019-02-16 00:13:06 +08:00
wolfbeast
38a520c28a Remove some unnecessary dependencies from HAL. 2019-02-16 00:13:04 +08:00
wolfbeast
69c4dd8992 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. 2019-02-16 00:13:02 +08:00
trav90
fc1e50d7e9 Fix build bustage 2019-02-16 00:13:01 +08:00
trav90
78d0ec7fc9 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. 2019-02-16 00:12:59 +08:00
trav90
4cbf54089a 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 2019-02-16 00:12:57 +08:00
trav90
36607675b2 Make nsScannerIterator a trivial type in order to use memset 2019-02-16 00:12:55 +08:00
Ketmar Dark
59440a335d 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.
2019-02-16 00:12:54 +08:00
trav90
cab0faa710 Silence the -Wuninitialized warning in mozjemalloc
GCC 7+ warns about too many false positives.
2019-02-16 00:12:52 +08:00
Gaming4JC
fdec621f51 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.
2019-02-16 00:12:51 +08:00
trav90
fb3d16e2db RTCCertificate.cpp: output truncated before the last format character
Fixes compiler warnings when building with GCC 7+
2019-02-16 00:12:49 +08:00
trav90
eb98eba938 [GCC] Add -Wno-noexcept-type to the js build flags 2019-02-16 00:12:48 +08:00
JustOff
758922c244 Use the default value from 'browser.startup.homepage' instead of the hardcoded 'http://start.palemoon.org/' 2019-02-16 00:12:46 +08:00
JustOff
84ae67b1bc Update 'browser.newtab.url' when it's used for new tabs and 'browser.startup.homepage' changes 2019-02-16 00:12:44 +08:00
wolfbeast
0c59e08e58 Bump goanna version for SVG handling update 2019-02-16 00:12:43 +08:00
wolfbeast
b51651f769 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.
2019-02-16 00:12:41 +08:00
wolfbeast
5cc1408b3d Revert "Part 1. Move IsLocalRefURL to nsContentUtils to reuse this function. (port-rewrite)"
This reverts commit 19f010c62022e269f99066a8d90e3522fe31adaf.
2019-02-16 00:12:40 +08:00
wolfbeast
325afc0ab8 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.
2019-02-16 00:12:38 +08:00
wolfbeast
f99050d1d8 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)
2019-02-16 00:12:37 +08:00
Moonchild
49fc92f4a1 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 19f010c62022e269f99066a8d90e3522fe31adaf.

* 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.
2019-02-16 00:12:35 +08:00
wolfbeast
ad782894c8 Remove all C++ telemetry autotimers 2019-02-16 00:12:34 +08:00
wolfbeast
8c8145e620 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.
2019-02-16 00:12:32 +08:00
wolfbeast
ac3468d5cc Add extra check for assembler buffer space. 2019-02-16 00:12:29 +08:00
trav90
0a3b3b6264 [ffvpx] Update readme
- Remove non-applicable comment about AVX2.
- Update config documentation for 32-bit darwin.
2019-02-16 00:12:27 +08:00
wolfbeast
fe9637c0f8 Remove FxA migrator.
This resolves #637
2019-02-16 00:12:25 +08:00
wolfbeast
51025a5a81 [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
2019-02-16 00:12:24 +08:00
wolfbeast
e2e197cada Remove support for TLS session caches in TLSServerSocket.
This resolves #738
2019-02-16 00:12:22 +08:00
wolfbeast
1bb41a8652 Revert "Switch to using a single memory allocation arena"
This reverts commit 4ceb21241eacac2911f2fed846359215870f121f.
2019-02-16 00:12:21 +08:00
wolfbeast
1524999194 Revert "Bug 1388020. r=nical, a=RyanVM"
This reverts commit e7189e33f533f9b974b22c2110b522a13bc4c7f6.
2019-02-16 00:12:19 +08:00
trav90
772715c4f4 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).
2019-02-16 00:12:18 +08:00
wolfbeast
36a9805617 Revert "Bug 1444668 - Avoid allocating large AssemblerBuffers. r=luke, r=bbouvier, a=RyanVM"
This reverts commit 9472136272f01b858412f2d9d7854d2daa82496f.
2019-02-16 00:12:16 +08:00
wolfbeast
1d958d0390 Fix incorrect code removal in ipc.
Follow-up to a930db1c9e8444ed89754c5a79085d59c7295952
2019-02-16 00:12:15 +08:00
wolfbeast
7438687cda Sync disabled state of number control regardless of appearance. 2019-02-16 00:12:13 +08:00
trav90
450c242d9f Update HSTS preload list
Tag #447
2019-02-16 00:12:12 +08:00
wolfbeast
30c9cb19c4 Update installer strings for Pale Moon to match toolkit nsis installer.
This resolves #735
2019-02-16 00:12:10 +08:00
JustOff
16820f40ac Refresh nsStringBundleService and nsHttpHandler when the browser locale is changed 2019-02-16 00:12:09 +08:00
wolfbeast
a7ef78cf06 Add missing } 2019-02-16 00:12:06 +08:00
wolfbeast
91c79f2202 Switch to using a single memory allocation arena 2019-02-16 00:12:05 +08:00
wolfbeast
4932cf3ea0 Add a horizontal scroll action option for mouse wheel.
Resolves #732
2019-02-16 00:12:03 +08:00