Commit graph

2,222 commits

Author SHA1 Message Date
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
wolfbeast
f85bb5c221 Origin for about: URL should not contain query or ref parts. 2019-02-16 00:18:17 +08:00
wolfbeast
c554052ddd Don't mark MGetFirstDollarIndex as movable. 2019-02-16 00:18:16 +08:00
JustOff
5c9fd5c5c6 Use a separate process to generate thumbnails only when multi-process mode is enabled 2019-02-16 00:18:14 +08:00
trav90
37fe93abff Update HSTS preload list
Tag #447
2019-02-16 00:18:13 +08:00
Gaming4JC
3c4b6babee Issue #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.
2019-02-16 00:18:11 +08:00
wolfbeast
5baa10b59a Set CSS error console reporting default to false for performance.
Dev note needed upon release. This resolves #444.
2019-02-16 00:18:10 +08:00
wicknix
50f698eb3c 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
2019-02-16 00:18:08 +08:00
wicknix
6ae162ff84 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
2019-02-16 00:18:06 +08:00
Moonchild
d0e0acb1fa Revert "Make nsIUserInfo component optional with --disable-userinfo at build time" 2019-02-16 00:18:05 +08:00
JustOff
c672f9fc86 [PALEMOON] Open about:permissions when notification settings are requested 2019-02-16 00:18:03 +08:00
JustOff
480876a862 [PALEMOON] Add filter query to about:permissions 2019-02-16 00:18:01 +08:00
Gaming4JC
5d075cfe31 Issue #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.
2019-02-16 00:17:59 +08:00
trav90
1269f82d33 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 29f718ef78f1a25ca904c6438b59ffc8e365a750.
2019-02-16 00:17:57 +08:00
trav90
de6b3a930f Ensure we correctly parse the finalized codec string for av1 2019-02-16 00:17:56 +08:00
trav90
1b0277eca5 Add support for AV1 in MP4 2019-02-16 00:17:54 +08:00
trav90
8dd06e64c3 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.
2019-02-16 00:17:53 +08:00
trav90
ad02b504a6 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.
2019-02-16 00:17:51 +08:00
trav90
cbacc81f82 Fix canPlayType/isTypeSupported for AV1 content 2019-02-16 00:17:50 +08:00
trav90
6676331d30 Put AV1 codec behind a pref
Disabled by default.
2019-02-16 00:17:48 +08:00
trav90
368651059a Update libaom to commit ID 1e227d41f0616de9548a673a83a21ef990b62591 2019-02-16 00:17:46 +08:00
trav90
77c9089b7d Update libaom vendor scripts to account for upstream changes 2019-02-16 00:17:43 +08:00
trav90
656835e767 [aom] Only build stats code if examples are enabled 2019-02-16 00:17:42 +08:00
trav90
3d109dd4fc Update libaom to rev b25610052a1398032320008d69b51d2da94f5928 2019-02-16 00:17:40 +08:00
trav90
8493557d20 [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.
2019-02-16 00:17:38 +08:00
trav90
e731bff61e Add missing : to libaom moz.build 2019-02-16 00:17:37 +08:00
trav90
b66027c8c0 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.
2019-02-16 00:17:35 +08:00
trav90
524295194e [aom] Fixup moz.build 2019-02-16 00:17:33 +08:00
trav90
8490d860d9 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.
2019-02-16 00:17:32 +08:00
trav90
48f6d2e034 Update aom to v1.0.0
Update aom to commit id d14c5bb4f336ef1842046089849dee4a301fbbf0.
2019-02-16 00:17:30 +08:00
trav90
bb61121b44 Add support for SSE 4.2 to libaom moz.build 2019-02-16 00:17:27 +08:00
trav90
760b6c7d25 Add aom_version.h 2019-02-16 00:17:25 +08:00
trav90
5e1d42c618 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.
2019-02-16 00:17:24 +08:00
trav90
1077a5cfec Add generate_sources_mozbuild.py
This uses the cmakeparser to generate sources.mozbuild and the config files for each platform.
2019-02-16 00:17:22 +08:00
trav90
8411fe7c7d 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.
2019-02-16 00:17:21 +08:00
trav90
b9b9d8e4a1 Fix aom compile errors with VS2015
Import BUG=aomedia:900
2019-02-16 00:17:19 +08:00
trav90
49bf3b1211 [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.
2019-02-16 00:17:17 +08:00
trav90
992c6637e3 Update aom to commit id e87fb2378f01103d5d6e477a4ef6892dc714e614 2019-02-16 00:17:15 +08:00
trav90
debbee1e2a [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.
2019-02-16 00:17:13 +08:00
trav90
ff19a9f251 [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.
2019-02-16 00:17:11 +08:00
trav90
0b85248bea [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.
2019-02-16 00:17:10 +08:00
trav90
ceb35852fa [aom] Fix stream info peeking
Backport upstream patch by Sebastian Alaiwan fixing
aom_peek_stream_info after changes to the superblock
location.
2019-02-16 00:17:08 +08:00
trav90
de3974b3c4 Export aom_config.h
Recent changes made this a public header, so it needs to be available to callers like AOMDecoder.
2019-02-16 00:17:07 +08:00
trav90
2ab8fcbfd1 Update aom to commit id f5bdeac22930ff4c6b219be49c843db35970b918 2019-02-16 00:17:05 +08:00
trav90
e329bc4331 [aom] Remove unused option 2019-02-16 00:17:01 +08:00
trav90
6940d0df6c [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.
2019-02-16 00:17:00 +08:00
trav90
ba7eca76ea Make aom_config.asm match upstream 2019-02-16 00:16:58 +08:00
trav90
27b580fb16 [aom] Add x86-win32-gcc config 2019-02-16 00:16:57 +08:00
trav90
42b95d2649 [av1] Clean up duplicate filenames check 2019-02-16 00:16:55 +08:00
trav90
ecc55bc615 Add missing includes to FFmpegLibWrapper 2019-02-16 00:16:54 +08:00