Sylvestre Ledru
7c0ae251cd
Bug 1381253 - Remove redundant control flow declarations rs=ehsan
...
MozReview-Commit-ID: FFxP4aMCbOL
--HG--
extra : amend_source : 3aec108430b11048f47ffe19d5da7ac5034770a9
2017-07-15 19:03:04 +02:00
Jan Keromnes
5257fdad8c
Bug 1372977 - Use nullptr in /media and /dom/media (clang-tidy: modernize-use-nullptr). r=bwc
2017-06-28 15:38:00 -04:00
Chris Pearce
6425456721
Bug 1342822 - Backed out changeset 70bc7d4e8512 (bug 1338924). r=gerald
...
MozReview-Commit-ID: DXGgfMMghOD
--HG--
extra : rebase_source : e5d329122754dfab6750ff2aedadc1f65a52f0f8
2017-02-27 13:58:27 +13:00
Sylvestre Ledru
0866d209a2
Bug 1338086 - Remove useless else blocks in order to reduce complexity in dom/media/gmp* r=cpearce
...
MozReview-Commit-ID: FaKW6Sb721i
--HG--
extra : rebase_source : f05a20bceeca69cb129067037e67f7bb57f5f450
2017-02-09 10:31:55 +01:00
Chris Pearce
4c05a6c492
Bug 1338924 - Pass duration of sample being decrypted to CDM. r=gerald
...
MozReview-Commit-ID: 3UujuYPpfJi
2017-02-14 11:29:32 +13:00
Chris Pearce
302ca1dbee
Bug 1332530 - Remove GMP enum storage names. r=gerald
...
Note: Only the Adobe GMP used enum storage, so not that it's unused we may
as well remove this.
MozReview-Commit-ID: JtmQ69eJzaI
--HG--
extra : rebase_source : 29929e680dc1692b957b34ce274c4944743768e8
2017-01-20 15:06:00 +13:00
Chris Pearce
6b15c34475
Bug 1332530 - Remove librlz and EME/GMP device binding code. r=gerald
...
MozReview-Commit-ID: FzJ220XlrJi
--HG--
extra : rebase_source : 0945a3b46bcc90de9b48f56da46090cb2f777411
2017-01-20 13:47:48 +13:00
Chris Pearce
fe31d4bd44
Bug 1332149 - Don't expose plugin-container or sandbox vouchers to GMPs. r=gerald
...
MozReview-Commit-ID: JZBoEptskf0
--HG--
extra : rebase_source : c2de46c71eced8fc9ad00f9fbb95f9dc9f5ee6ba
2017-01-19 14:57:30 +13:00
Chris Pearce
abf5ab3771
Bug 1331829 - Remove async shutdown GMP API. r=gerald
...
Now that we're not supporting Adobe EME anymore, we don't need to
provide a mechanism for GMPs to block browser shutdown.
MozReview-Commit-ID: KUC94IBQiod
--HG--
extra : rebase_source : ed521f28e272de11b2d0c4546b98baf6bd7c6e72
2017-01-18 15:01:56 +13:00
Chris Pearce
22f4a343b5
Bug 1329543 - Remove obsolete GMPDecryptor7 interface that was only used by Primetime. r=gerald
...
This basically rolls back aec9905b06fe from bug 1278198.
MozReview-Commit-ID: Drho21X6npW
--HG--
extra : rebase_source : 372bc7f4771ec0268535e3df2a745bc9fae8bd3b
2017-01-16 15:12:15 +13:00
Andi-Bogdan Postelnicu
65ae72060c
Bug 1317241 - Use C++11's override and remove virtual where applicable in dom/ r=baku
...
MozReview-Commit-ID: 8jUAehd1odv
--HG--
extra : rebase_source : 13375a14447ce344214fa30babf540de0a394c6a
2016-11-15 13:09:07 +02:00
Andi-Bogdan Postelnicu
4df235170d
Bug 1317241 - Use auto type specifier where aplicable for variable declarations to improve code readability and maintainability in dom/. r=baku
...
MozReview-Commit-ID: CST7fV4h20h
--HG--
extra : rebase_source : 663d24e9c15d7b42023f1557b75fb8dabfc9b6a9
2016-11-14 11:35:58 +02:00
Chris Pearce
30716f1d57
Bug 1278198 - Adapt Adobe GMP's obsolete GMPDecryptor interface to new interface. r=gerald
...
The Adobe GMP only supports up to GMPDecryptor version 7. We're now up to
version 9. So we need to provide an adaptor to convert the old version to run
with the new interface.
MozReview-Commit-ID: 5dKreev7JMv
--HG--
extra : rebase_source : b9aa1b66ad23e9f7ddbe60b71c94c161ad974818
2016-07-14 13:33:48 +12:00
Chris Pearce
f49856bc79
Bug 1278198 - Pipe through distinctive identifier and persistent state allowed. r=gerald
...
MozReview-Commit-ID: A92e0XGp5s4
--HG--
extra : rebase_source : 09f7ba18c9b81263aa345cc7f34f0ef2a2548482
2016-07-07 17:26:15 +12:00
Iris Hsiao
b2381608d3
Backed out changeset af577b7547c4 (bug 1278198)
2016-07-22 12:06:00 +08:00
Chris Pearce
06a7c88a23
Bug 1278198 - Pipe through distinctive identifier and persistent state allowed. r=gerald
...
MozReview-Commit-ID: A92e0XGp5s4
--HG--
extra : rebase_source : 6bf51883e4236a0dff1485c4335578f38debdc09
2016-07-07 17:26:15 +12:00
Tom Tromey
5538d692d3
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Chris Pearce
375dc51df7
Bug 1271169 - Add gtest to ensure EME device binding works. r=gerald
...
Call the device binding code in gtests, and have a test GMP which returns the
device ID it was passed in a message, so that we can verify that the id the GMP
was passed is the same as the id generated in the parent.
MozReview-Commit-ID: Gjqvo6dRK1D
--HG--
extra : rebase_source : bea5acc878a639fb819051e19e23533c14c19927
2016-05-10 13:40:05 +12:00
Chris Peterson
8a9e2d2bd4
Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium
2016-05-14 00:54:55 -07:00
Mike Shal
f33175df08
Bug 1254950 - Remove several media Makefile.ins; r=ted
...
MozReview-Commit-ID: 4dvngHQnH0b
2016-03-14 18:02:02 -04:00
Jean-Yves Avenard
a9394d5946
Bug 1240411: P5. Clean up GMP headers. r=cpearce
...
Remove redundant virtual keywords
2016-01-19 19:47:32 +11:00
Chris Pearce
373cfa1365
Bug 1229508 - Support current and previous GMP_API_DECRYPTORs. r=gerald
...
To allow GMPs time to update to new GMPDecryptor versions, we support the
latest GMPDecryptor version, and the previous.
In order to support a consistent interface to Gecko, we adapt the previous
GMPDecryptor version to the latest in the GMP child process. So Gecko always
thinks it's talking to the latest version.
We also make gmp-fake deliberately support the previous GMPDecryptor version,
to ensure this code path remains tested.
2015-12-02 15:37:09 +13:00
Chris Peterson
71920a9550
Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium
2015-09-22 21:39:03 -07:00
Nicholas Nethercote
f44287005f
Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
...
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Chris Manchester
22743cd60e
Bug 1185171 - Modify gmp-test-output-protection.h to prevent failure on machines without a physical monitor attached. r=bobowen
...
--HG--
extra : commitid : EMyufwy3mk0
2015-08-08 22:08:09 -07:00
Bob Owen
f78a41b060
Bug 1185171: Add 0xc02625e5 as a valid failure code for GMPOutputProtection test. r=cpearce
2015-07-22 09:29:52 +01:00
Birunthan Mohanathas
a8939590de
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Chris Pearce
b65cba6328
Bug 1169129
- Test GMPVideoDecoderTrialCreator detects failure. r=edwin
...
--HG--
rename : dom/media/gmp-plugin/gmp-fake.cpp => dom/media/gmp-plugin-openh264/gmp-fake-openh264.cpp
2015-06-05 21:55:52 +12:00
Mike Hommey
fe90037862
Bug 1043692 - Add a DIST_INSTALL variable to moz.build, and replace NO_DIST_INSTALL with it. r=gps
2015-05-12 07:55:21 +09:00
Chris Pearce
5bf2541a0e
Bug 1159300 - Change GMP RemoveAndDeleteDeferredInUse test to ask for an EME plugin. r=edwin
2015-04-30 21:13:48 +12:00
Randell Jesup
49c3b667fa
Bug 1159300: Add a clone of gmp-fake that doesn't do decryption r=glandium,cpearce
...
--HG--
rename : dom/media/gmp-plugin/Makefile.in => dom/media/gmp-plugin-openh264/Makefile.in
rename : dom/media/gmp-plugin/fake.info => dom/media/gmp-plugin-openh264/fakeopenh264.info
rename : dom/media/gmp-plugin/fake.voucher => dom/media/gmp-plugin-openh264/fakeopenh264.voucher
rename : dom/media/gmp-plugin/moz.build => dom/media/gmp-plugin-openh264/moz.build
2015-04-30 00:52:26 -04:00
Edwin Flores
d888a5c88f
Bug 1147689 - Increment eme-decrypt API version to v7 - r=cpearce
2015-03-26 22:58:43 +13:00
Ehsan Akhgari
883849ee32
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
JW Wang
646de9880d
Bug 1130917 - Part 3 - fix EME gtests. r=edwin.
2015-02-10 18:19:00 +01:00
JW Wang
4d6309bd93
Bug 1083658
- add "output-downscaled" to GMP. r=cpearce.
2015-02-01 09:18:39 +08:00
JW Wang
c1dd9140a5
Bug 1121332. Part 1 - add media key status to gmp-api. r=cpearce.
2015-01-31 13:22:12 +13:00
Randell Jesup
436f5f0889
Bug 1109248: Make fake GMP codec test force fragmentation by returning large IDR frames r=ehugg
2015-01-29 18:33:36 -05:00
JW Wang
bfc4d164a1
Bug 1124939 - Add "individualization-request" to MediaKeyMessageType. r=bz
2015-01-26 20:08:00 +01:00
JW Wang
a9391d3408
Bug 1102852 - add MediaKeyMessageType to and remove destinationURL from MediaKeyMessageEvent. r=cpearce,bz
2015-01-15 11:25:47 +13:00
Masatoshi Kimura
bf312ad056
Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo
2015-01-11 11:34:52 +09:00
Chris Pearce
7ba4d8b1c1
Bug 1111391 - Enable keyMessages to be sent before create/load session promise is resolved. r=jwwang
2015-01-09 14:30:07 +13:00
Chris Pearce
387ccf2fbe
Bug 1114825 - Bustage fix. r=bustage.
2014-12-23 16:10:39 +13:00
Chris Pearce
8a385751f6
Bug 1114825 - Don't try to deref an empty std::vector in gmp-clearkey. r=edwin
2014-12-23 15:23:14 +13:00
Ehsan Akhgari
550e972d13
Bug 1109694 - Fix more bad implicit constructors in DOM; r=baku
2014-12-10 17:49:09 -05:00
Chris Pearce
b392b7de2a
Bug 1077159 - Use macros for GMP API names, to make them implicitly versionable. r=jesup
2014-12-10 09:35:26 +13:00
JW Wang
2846b24d9c
Bug 1107545 - add off-main-thread tests for GMPStorage APIs. r=cpearce.
2014-12-04 21:34:00 +01:00
JW Wang
06779af85b
Bug 1107545 - introduce a test manager to make storage tests scalable. r=cpearce.
2014-12-04 21:32:00 +01:00
Chris Pearce
b42661434f
Bug 1104970 - Handle GMPStorage write failure in gtest. r=edwin
2014-12-03 13:34:00 +01:00
Chris Pearce
fe82002fba
Bug 1100499 - Add GMP API to enumerate records stored on disk. r=jesup
2014-11-21 12:25:12 +13:00
Chris Peterson
433d74c532
Bug 1098134 - Fix or suppress warnings in gmp-api, gmp-clearkey, and gmp-plugin and mark as FAIL_ON_WARNINGS. r=cpearce
2014-11-14 00:36:20 -08:00