Commit graph

2,253 commits

Author SHA1 Message Date
wolfbeast
eff8a32348 Fix clang build bustage.
Follow-up to 9830cd079d8306abc223461190553af64b6fd0ca
2019-02-16 00:13:40 +08:00
wolfbeast
20acf1e808 Flush some more buildlog output to screen when prudent. 2019-02-16 00:13:39 +08:00
wolfbeast
58f6d1953c Add findbar.termPerTab
Allow the pref to switch between global search term and per-tab search term
2019-02-16 00:13:37 +08:00
wolfbeast
6663a8fe28 Ensure the findbar target content browser follows the active tab. 2019-02-16 00:13:36 +08:00
wolfbeast
2f16623ba1 Revert "Minimal easy fix -- move findbar getters to tabbrowser."
This reverts commit fb291846a59f9b8eaf8bba29e0d9794893e895bf.
2019-02-16 00:13:34 +08:00
wolfbeast
36bcd9863f Revert "Transfer findbar data to torn-off tabs."
This reverts commit 333142b5af61c3fd67ad4e79467c03efb3641b20.
2019-02-16 00:13:33 +08:00
wolfbeast
29aff48629 Revert "[PALEMOON] Findbar - remove unnecessary code (Findbar is no longer in the gBrowser)"
This reverts commit 38f30cdf759e4f6da96da777c3216b5047d672c1.
2019-02-16 00:13:31 +08:00
wolfbeast
79cddc2b9c Revert "[PALEMOON] Findbar - added the listener also to tabbrowser.xml, remove "_fastFind", a better focus() for the method "updateCurrentBrowser""
This reverts commit 63b10a9b4f8644550a89022b8d0d53ee26fc150b.
2019-02-16 00:13:29 +08:00
wolfbeast
e044dab0bb Revert "Add tabbrowser findbar styling"
This reverts commit c96d9e5bdd064252c2b6d303c1db9209bf4814c9.
2019-02-16 00:13:28 +08:00
wolfbeast
1edb6c3921 Revert "Add tabbrowser findbar styling for Linux and OSX"
This reverts commit e4b01ba84463fbaf5209ae8d2bb6a612f491bb5b.
2019-02-16 00:13:26 +08:00
wolfbeast
2f2751e46c Bug 1466991 - Part 2: Reparent nodes when they start being in the XBL scope. 2019-02-16 00:13:24 +08:00
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