Commit Graph

48 Commits

Author SHA1 Message Date
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
Chris Pearce
8d2e1be533 Bug 1049273 - Expose GMP voucher to GMP at runtime if its present. r=jesup 2014-11-14 21:39:39 +13:00
Chris Peterson
a05d3eba03 Back out changeset c98cb03a8475 (Bug 1098134) for Windows build bustage. 2014-11-14 00:09:58 -08:00
Chris Peterson
afa32e1976 Bug 1098134 - Fix or suppress warnings in gmp-api, gmp-clearkey, and gmp-plugin and mark as FAIL_ON_WARNINGS. r=cpearce 2014-10-22 00:40:18 -07:00
Jacek Caban
b163c632f5 Bug 1088130 - Fixed mingw cross compilation. 2014-11-05 11:29:47 +01:00
Chris Pearce
b8014abf5b Bug 1088130 - Change for loop in GMP OP gtest so that it builds with VisualStudio 2010. r=bobowen 2014-11-03 22:40:00 +00:00
Bob Owen
de12f8c051 Bug 1088130: Add to TestGMPCrossOrigin.cpp gtest to test that the APIs required for Output Protection on Windows work within the sandbox. r=cpearce 2014-11-03 10:02:30 +00:00
Ehsan Akhgari
f453170f6b Bug 1090242 - Fix some more bad implicit constructors in DOM; r=baku
--HG--
extra : rebase_source : 22f80376a2ce9415dc9d7fdd2444405d3cd7e011
2014-10-10 17:28:35 -04:00
Gabriel Ivanica
5a40b96b5b Bug 1089705 - Replace "assert" with "MOZ_ASSERT" in some media code. r=dholbert 2014-10-29 00:43:18 +02:00
Chris Pearce
e396733de9 Bug 1055395 - gTests for GMPAsyncShutdown. r=edwin 2014-10-23 20:37:55 +13:00
Chris Pearce
f595c52e4f Bug 1055393 - gtests for GMPStorage and PB mode storage. r=edwin 2014-10-21 19:16:19 +13:00
Mike Hommey
4b99580194 Bug 1059113 - Use templates for shared libraries and frameworks. r=gps
Also force to use the existing template for XPCOM components.
2014-09-04 09:04:45 +09:00
Mike Hommey
ed70c5f377 Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps 2014-09-03 14:10:54 +09:00
Ehsan Akhgari
f76451d2e9 Bug 1060980 - Fix more bad implicit constructors in the media code; r=roc
--HG--
extra : rebase_source : 14da50f7d2e37e04452445dea575ea4d582e8efd
2014-08-31 23:50:23 -04:00
EKR
c20d95b943 Bug 1054704. Generate an IDR NAL for fake H.264 r=jesup 2014-08-21 10:09:38 -07:00
Qeole
158c324a97 Bug 1045209 - Updating tests for new OpenH264 plugin path handling. r=unfocused,ted,jmaher 2014-08-25 17:23:34 +02:00
Chris Pearce
7b82110ed9 Bug 1038615 - Report GMP decoding/encoding errors asynchronously. r=jesup 2014-07-24 09:35:01 +12:00
Randell Jesup
b68cb4d134 Bug 1037125: Make fake GMP plugin accessible in mochitests r=khuey 2014-07-20 17:39:19 -04:00
EKR
78ab6a9b66 Bug 1037125: Fake GMP plugin that claims to be H.264 r=jesup 2014-07-13 14:52:44 -07:00