Commit graph

1,971 commits

Author SHA1 Message Date
trav90
ea4e32bd8a Add support to libstagefright for AV1 FourCCs (part 2) 2019-02-16 00:19:37 +08:00
trav90
06fc050848 Add support to libstagefright for AV1 FourCCs 2019-02-16 00:19:36 +08:00
trav90
ae5c83e90d Cleanup some comments in our media code. 2019-02-16 00:19:34 +08:00
wolfbeast
3c9d8715a7 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 #576
2019-02-16 00:19:32 +08:00
wolfbeast
b32338ed19 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.
2019-02-16 00:19:31 +08:00
wolfbeast
6e25ae612a Fix build bustage.
Tag #871
2019-02-16 00:19:29 +08:00
FranklinDM
ac30af20f6 [Pale Moon] Sync notification widget's messageImage should inherit the 'type' attribute 2019-02-16 00:19:28 +08:00
wolfbeast
a30b6ee962 Split the content viewer marking function in CCUncollectable out,
so a document-based marking function can be used separately.

Tag #871
2019-02-16 00:19:25 +08:00
janekptacijarabaci
9c00e9e300 [PALEMOON] Re-apply removal of unnecessary code (Findbar is no longer in the gBrowser)
This resolves #793
2019-02-16 00:19:24 +08:00
NTD
4b184ba757 Issue #861 - The bookmark properties window should focus on the Name Picker text box on init 2019-02-16 00:19:22 +08:00
NTD
79acd8acd5 [PALEMOON] Use generic application icon for external applications in about:feeds 2019-02-16 00:19:21 +08:00
NTD
dfcf00a75f Revert "[PALEMOON] Use generic application icon for external applications in about:feeds"
This reverts commit c8d90e332f4da50fdaa77eb733481d8be547391c.
2019-02-16 00:19:19 +08:00
wolfbeast
ab837222b1 Revert "[PALEMOON] Focus and select the first non-collapsed text element in the bookmark properties dialog"
This reverts commit e9a58eae57e65b082b461ec17aaf4bef9bb582f9.

Tag #867
2019-02-16 00:19:18 +08:00
NTD
8b86f995ad [PALEMOON] Use generic application icon for external applications in about:feeds 2019-02-16 00:19:16 +08:00
wolfbeast
1268dd6fe5 Don't build internal updater by default and set default update channel to an inactive one. 2019-02-16 00:19:15 +08:00
wolfbeast
6f97045d83 Enable gamepad support by default in Basilisk.
Necessary because of changed platform default. See #794
2019-02-16 00:19:13 +08:00
wolfbeast
26920bfcc6 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)
2019-02-16 00:19:12 +08:00
wolfbeast
a70fe213b2 Revert "Move MOZ_GAMEPAD* and NECKO_WIFI up"
This reverts commit 13ee68cbc657b6ca956717749c8afa647a8557b8.
2019-02-16 00:19:10 +08:00
wolfbeast
ef7c01cafe Move MOZ_GAMEPAD* and NECKO_WIFI up
This resolves #794
2019-02-16 00:19:09 +08:00
wolfbeast
d8ccdaa0d9 Remove AccumulateCipherSuite()
This resolves #858
2019-02-16 00:19:07 +08:00
wolfbeast
54b231bfb6 Update reported Firefox version in compatmode.
This resolves #864
2019-02-16 00:19:06 +08:00
wolfbeast
0745ec7c54 Back out problematic patch causing issue #865.
This reverts commit f62eee7c510238bf93b6ad43acd8b8a79a44417c.
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.
2019-02-16 00:19:04 +08:00
wolfbeast
cb8e2c2e59 #863 Part 3: Add Pale Moon GUI options for Opportunistic Encryption. 2019-02-16 00:19:02 +08:00
wolfbeast
0c4fe21435 #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.
2019-02-16 00:19:01 +08:00
wolfbeast
a56a6ca1d1 #863 Part 1: Make sending of http upgrade-insecure-requests optional
Defaults to false if not configured.
2019-02-16 00:19:00 +08:00
wolfbeast
e53942ffe8 Backout opportunistic encryption changes.
Apparently there is some functional and naming confusion here.
Backing out to re-land after evaluation and possible changes.
Tag #863.
2019-02-16 00:18:57 +08:00
wolfbeast
58b93e265b Add GUI control to Pale Moon for opportunistic encryption.
Pale Moon part for #863.
2019-02-16 00:18:56 +08:00
wolfbeast
8fb5b349d5 Swap default platform state for opportunistic encryption.
Tag #863
2019-02-16 00:18:54 +08:00
wolfbeast
d24ac0c406 Change captive portal detection URL to our own. 2019-02-16 00:18:53 +08:00
wolfbeast
363a47c4c1 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
2019-02-16 00:18:51 +08:00
wolfbeast
071df50781 Clear STDINT_H defines in libvpx config before setting them for lib use. 2019-02-16 00:18:50 +08:00
JustOff
7da6d82c53 [PALEMOON] Focus and select the first non-collapsed text element in the bookmark properties dialog 2019-02-16 00:18:48 +08:00
wolfbeast
031102b1ca Backport some upstream Skia patches.
Backport of:
https://skia.googlesource.com/skia/+/1e259cda4fb7f12e98dd611bd651f40ebef2d14a
https://skia.googlesource.com/skia/+/73be50da2a1fe8944f2623a511fda1957eed708a
2019-02-16 00:18:46 +08:00
wolfbeast
d4db378b5a 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.
2019-02-16 00:18:45 +08:00
wolfbeast
b7a342f120 Ensure user input suppression works correctly even after document.open. 2019-02-16 00:18:43 +08:00
wolfbeast
b52b4b9f63 Backport some upstream Skia patches.
Backport of:
https://skia.googlesource.com/skia/+/c3d8a48f1b27370049aa512019cd726c59354743
https://skia.googlesource.com/skia/+/8051d38358293df1e5b8a1a513f8114147ec9fa3
2019-02-16 00:18:42 +08:00
wolfbeast
64a8472788 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.
2019-02-16 00:18:40 +08:00
wolfbeast
429b2125de 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.
2019-02-16 00:18:39 +08:00
wolfbeast
bf30898e2c Make sure we remove our RefreshDriver observers in CompleteAsyncScroll.
Follow-up to fdbac095968bc952fec6a03765a7156940ae4733
2019-02-16 00:18:37 +08:00
wolfbeast
930cc1db3b Fix a longstanding IndexedDB correctness issue.
Standards Compliance fix, port of Bug 1492737
2019-02-16 00:18:35 +08:00
wolfbeast
107ddd1148 Don't allocate PendingAction twice. 2019-02-16 00:18:34 +08:00
wolfbeast
22772136d7 WebRTC: Drop DataChannelListener on Destroy(). 2019-02-16 00:18:32 +08:00
wolfbeast
6c4b9ec3ce Make sure nsNSSCertList handling checks for valid certs. 2019-02-16 00:18:31 +08:00
wolfbeast
a9b20e6dc7 Remove Query/Ref from the directory listing URI.
Port of Bug 1488061.
2019-02-16 00:18:28 +08:00
wolfbeast
b49317da4a Bug 1460538 2019-02-16 00:18:27 +08:00
wolfbeast
df1cfaae17 Reorder boolean expression to take advantage of short-circuiting. 2019-02-16 00:18:25 +08:00
wolfbeast
416ce4eb69 Protect main thread in-process access to WinCompositorWidget transparent surface. 2019-02-16 00:18:24 +08:00
wolfbeast
acb2819baa Simplify SIMD conversion from Uint64 to Double. 2019-02-16 00:18:22 +08:00
wolfbeast
a85f7277af Make HTTP/2 compressor more resilient to bad data. 2019-02-16 00:18:21 +08:00
wolfbeast
eb83cf3ac8 Ensure that the scroll frame deregisters its refresh driver observers (mAsyncScroll & mAsyncSmoothMSDScroll) before it's destroyed.
Tag #345
2019-02-16 00:18:19 +08:00