Commit Graph

2512 Commits

Author SHA1 Message Date
Pale Moon 4e4dc6042e Remove preprocessing of safemode.js again.
With the correct header, the preprocessor is no longer needed to strip the license block.
2018-07-25 09:27:13 +08:00
Pale Moon c6a2173509 Convert C-style license blocks to native XML/JS style. 2018-07-25 09:27:06 +08:00
janekptacijarabaci e0bb0e8e22 Broken selection system inside of a nested contenteditable element 2018-07-25 09:26:59 +08:00
Pale Moon 60236e137e Rewrite the safe mode dialog script and preprocess it. 2018-07-25 09:26:52 +08:00
Pale Moon e5d660c9c9 Fix incorrect MPL 1.1 header in safemode dialog. 2018-07-25 09:26:45 +08:00
Pale Moon 7f53aebc16 Align for(let x=n ; ; ) loops with the finalized ES6 spec.
This resolves #1432.
2018-07-25 09:26:37 +08:00
trav90 9b6bcfe340 Don't immediately fire canplaythrough for streams without duration
Such as live streams, etc.
2018-07-25 09:26:30 +08:00
trav90 d3c9c8ad5c Add mochitest that ensures the canplay/canplaythrough and readyState is properly updated according to buffering condition 2018-07-25 09:26:23 +08:00
trav90 a4f973e65f [MSE] Determine when canplaythrough can be fired
It's assumed that if we have 30 seconds of data buffered ahead of the current position or up to the element's duration that we can play ahead without interruption.
2018-07-25 09:26:16 +08:00
trav90 3d4e289c51 [MSE] Enable NextFrameBufferedStatus() for MediaSourceDecoder
We require a slightly variation on the default implementation as MSE allows for gaps of up to 125ms between samples but often videos do not start with a time of 0.
2018-07-25 09:26:08 +08:00
trav90 8f959bc28d [MSE] Move the definition of EOS_FUZZ to be public 2018-07-25 09:26:01 +08:00
trav90 c4287814d1 Use buffered range to determine next frame availability 2018-07-25 09:25:54 +08:00
Pale Moon 273920b61c Make sure channel-prefs.js is packaged into MAR files. 2018-07-25 09:25:46 +08:00
Pale Moon 3777031c1e Make sure the AUS %PRODUCT% var is an acceptable version of the application name.
It should be lower case.
It should be whitespace-stripped.
2018-07-25 09:25:39 +08:00
trav90 e98562dc6d Rework MediaDecoder::AddOutputStream and move related code to the MDSM 2018-07-25 09:25:32 +08:00
trav90 73a091c648 Move MediaDecoder::UpdateStreamBlockingForPlayState to the MDSM 2018-07-25 09:25:25 +08:00
trav90 72bcf79f70 Move MediaDecoder::UpdateStreamBlockingForStateMachinePlaying to the MDSM 2018-07-25 09:25:18 +08:00
trav90 eebc110658 Move AddOutputStream code below MediaDecoder::Load() 2018-07-25 09:25:10 +08:00
trav90 d9c8eb26f8 Rename MediaDecoder::UpdateDecodedStream to MediaDecoder::UpdateStreamBlockingForPlayState 2018-07-25 09:25:03 +08:00
trav90 af45b45505 Rework DecodedStream::RecreateData() 2018-07-25 09:24:56 +08:00
Pale Moon f5a6ce19bc Don't use OpenMP on KISS-FFT
Apparently the lib has a bug with its parallelization code that causes CPU deadlock when OpenMP is used.
This resolves #1425
2018-07-25 09:24:49 +08:00
Pale Moon ddfb42b239 Don't set a fallback detailsURL since we supply this in the update XML. 2018-07-25 09:24:42 +08:00
Pale Moon 3499a45863 Update preferences to use the new AUS infra. 2018-07-25 09:24:35 +08:00
janekptacijarabaci b6b5fd1c3e CSS - Block elements next to floats aren't wrapped to the next line with insufficient clearance 2018-07-25 09:24:27 +08:00
Pale Moon a426da4a89 Fall back to UTF-8 instead of Windows-1252 as last-effort.
If the following applies, fall back to UTF-8:
- No content encoding is known
- No encoding override is set
- There is no specific fallback for the browser locale
2018-07-25 09:24:20 +08:00
Pale Moon a1e5e5cf65 Add UTF-8 as a default fallback encoding for unknown encodings. 2018-07-25 09:24:13 +08:00
Pale Moon ad306ebe8f Make SystemResourceMonitor.stop more resilient to errors.
- Deal with the fact that on Linux, pipe isn't actually a pipe, meaning ends can die independently.
- Establish a timeout so we don't hang forever if the child process has crashed.
- Reduce the poll timeout to 0.1 since we don't have to wait that long anymore now the underlying issue has been fixed.
2018-07-25 09:24:06 +08:00
trav90 f1d6c1042b Remove now unused functions 2018-07-25 09:23:59 +08:00
trav90 8bb3c20713 Move output stream code from MediaDecoder to DecodedStream 2018-07-25 09:23:52 +08:00
trav90 816e29330b Move stream connection code from MediaDecoder to DecodedStream 2018-07-25 09:23:45 +08:00
trav90 f4d4ddb7be Remove MediaDecoder::DestroyDecodedStream() 2018-07-25 09:23:37 +08:00
trav90 7d6aaf9edf Remove MediaDecoder::ConnectDecodedStreamToOutputStream() 2018-07-25 09:23:30 +08:00
trav90 39a05b5952 Remove dependency on MediaDecoder from DecodedStream 2018-07-25 09:23:23 +08:00
trav90 09e4b31038 Move MediaDecoder::mOutputStreams to DecodedStream 2018-07-25 09:23:16 +08:00
trav90 fd15083a8c Create a wrapper class where MediaDecoder::mOutputStreams can move 2018-07-25 09:23:08 +08:00
trav90 39b1ff0f06 Guard against early states in UpdateNextFrameStatus 2018-07-25 09:23:01 +08:00
Pale Moon fe3f00c88d Remove telemetry gathering from XPIProvider.
Tag #1396
2018-07-25 09:22:54 +08:00
Pale Moon 7aaf07658d Improve logic of loadManifestFromZipReader.
- Explicitly throw.
- Pass back the correct error message for install.rdf, not the webextension manifest.

Tag #1396.
2018-07-25 09:22:47 +08:00
janekptacijarabaci 0f58441c1b Notifications - user settings - the immediate duration of the alert (improvements) 2018-07-25 09:22:40 +08:00
janekptacijarabaci 8eb00e1966 Notifications - user settings - the immediate duration of the alert 2018-07-25 09:22:33 +08:00
trav90 ce59f3b191 Move MediaDecoder::DecodedStreamData and related code to its own file 2018-07-25 09:22:25 +08:00
Lootyhoof cbfcf72ff3 Confine Glass download icons to Windows Compositor mode 2018-07-25 09:22:17 +08:00
Pale Moon a9cea2fd46 Blocklist update 2018-07-25 09:22:10 +08:00
Pale Moon 5e49f8d7a5 Import zlib update from UXP.
This updates our zlib to 1.2.11.
This resolves #1377.
2018-07-25 09:22:03 +08:00
Lootyhoof e1007cdb9d Use brighttext instead of lwtheme for download indicator on Windows 2018-07-25 09:21:55 +08:00
Lootyhoof f7342da508 Fade text on inactive windows on Win8/10 2018-07-25 09:21:49 +08:00
Lootyhoof 4f4fab6339 Improve appearance of downloads indicators on dark backgrounds on Windows 2018-07-25 09:21:42 +08:00
Lootyhoof 022a81af4b Convert organizer.css toolbar styles to variables on Windows 2018-07-25 09:21:35 +08:00
Lootyhoof ca8022c92a Convert toolbar images to variables on Windows theme 2018-07-25 09:21:27 +08:00
trav90 d9c1a85b16 Explicitly typecast GetAsNode() in nsINode.cpp
Resolves #1410.
2018-07-25 09:21:20 +08:00