Commit Graph

64 Commits

Author SHA1 Message Date
Edwin Flores
d52d526557 Bug 1147689 - Increment eme-decrypt API version to v7 - r=cpearce 2015-03-26 22:58:43 +13:00
Edwin Flores
38b1730747 Bug 1145405 - Add shutdown checks to main thread dispatches in ClearKey CDM - r=cpearce 2015-03-23 07:59:42 +13:00
Ehsan Akhgari
33bb32f549 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
Phil Ringnalda
6799917ec4 Back out 7f1f85ee4ba6 (bug 1143278) for Win7 near-permaorange in test_eme_canvas_blocked.html 2015-03-15 18:30:53 -07:00
Chris Pearce
764285660f Bug 1143278 - Make gmp-clearkey not require a Win8 only DLL to decode audio on Win7. r=edwin 2015-03-15 11:30:24 +13:00
Chris Pearce
2e2aeb3b93 Bug 1141386 - Test case for gmp-clearkey's base64 key/keyId decoding. r=edwin 2015-03-10 19:46:20 +13:00
Chris Pearce
0db770ae66 Bug 1141386 - Don't always assume base64 encoded EME key/Ids have padding stripped. r=edwin 2015-03-10 19:46:09 +13:00
Chris Pearce
8818b934a0 Bug 1141386 - Backout c2de53dd52d4 and 6fdc1033f217 for breaking the build. r=bustage. 2015-03-10 17:04:33 +13:00
Chris Pearce
b7c07f711c Bug 1141386 - Test case for gmp-clearkey's base64 key/keyId decoding. r=edwin 2015-03-10 16:49:15 +13:00
Chris Pearce
a40332c31f Bug 1141386 - Don't always assume base64 encoded EME key/Ids have padding stripped. r=edwin 2015-03-10 16:49:03 +13:00
Chris Pearce
fecff1aecf Bug 1140797 - Prevent fatal assert when doing base64 decode in gmp-clearkey. r=edwin 2015-03-09 08:27:18 +13:00
Chris Pearce
512ef32e2f Bug 1140797 - Make gmp-clearkey buildable outside of mozilla-central. r=edwin 2015-03-09 08:27:05 +13:00
Chris Pearce
68714a61eb Bug 1138777 - Don't do sync dispatch in gmp-clearkey AudioDecoder. r=edwin 2015-03-04 23:20:29 +13:00
Chris Pearce
b916b705c7 Bug 1137489 - Fix unified build failure in gmp-clearkey. r=edwin 2015-02-28 16:15:18 +13:00
Chris Pearce
5a274caae7 Bug 1136986 - Fix unthreadsafe uses of GMPVideoHost in gmp-clearkey. r=edwin 2015-02-28 10:23:33 +13:00
Chris Pearce
d8e338b4ef Bug 1124031 part 4 - Enforce min CDM version from keySystem string. r=bz 2015-02-20 14:38:08 +13:00
Jacek Caban
34f55685ee Bug 1133479 - Fixed media/gmp-clearkey build on mingw. r=cpearce 2015-02-17 11:18:04 +01:00
Chris Peterson
6873756e64 Bug 1133291 - Remove unused code from Clear Key's openaes. r=cpearce 2015-02-15 22:07:10 -08:00
JW Wang
d849892fc5 Bug 1130917 - Part 2 - improve error handling of StoreData() and ReadData(). r=edwin. 2015-02-10 18:18:00 +01:00
Edwin Flores
71474735c1 Bug 1075199 - Output a different clearkey.info depending on platform - r=cpearce,gps
--HG--
rename : media/gmp-clearkey/0.1/clearkey.info => media/gmp-clearkey/0.1/clearkey.info.in
2015-02-03 16:59:39 +13:00
Edwin Flores
e6979544a2 Bug 1075199 - More logging in ClearKey CDM - r=cpearce 2015-01-27 18:35:36 +13:00
Edwin Flores
8aa8ebd09e Bug 1075199 - WMF decoding in ClearKey CDM - r=cpearce 2015-01-16 10:37:54 +13:00
Edwin Flores
c4b974a36f Bug 1075199 - Import WMF decoding code from cpearce's gmp-clearkey implementation - r=cpearce 2015-01-16 10:37:54 +13:00
JW Wang
85bd4cbdce Bug 1083658 - add "output-downscaled" to GMP. r=cpearce. 2015-02-01 09:18:39 +08:00
JW Wang
5fdc2d3679 Bug 1121332. Part 1 - add media key status to gmp-api. r=cpearce. 2015-01-31 13:22:12 +13:00
JW Wang
f1a11bd3a0 Bug 1124939 - Add "individualization-request" to MediaKeyMessageType. r=bz 2015-01-26 20:08:00 +01:00
Edwin Flores
87534954ee Bug 1118383 - Plug memory leak in openaes - r=cpearce 2015-01-27 19:10:11 +13:00
JW Wang
b771065286 Bug 1102852 - add MediaKeyMessageType to and remove destinationURL from MediaKeyMessageEvent. r=cpearce,bz 2015-01-15 11:25:47 +13:00
Edwin Flores
44388987cf Bug 1075199 - Separate session management from ClearKeyDecryptionManager - r=cpearce
--HG--
rename : media/gmp-clearkey/0.1/ClearKeyDecryptionManager.cpp => media/gmp-clearkey/0.1/ClearKeySessionManager.cpp
2015-01-12 20:15:55 +13:00
Masatoshi Kimura
f70d08c5aa Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
Chris Pearce
60494c8665 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
742c8038c0 Bug 1109457 - Prevent potential for Join()ing a pointer held in free'd memory in gmp-clearkey. r=edwin 2014-12-19 09:55:05 +13:00
Chris Pearce
5f044d0e1c Bug 1109457 - Use Contains instead of std.find to detect whether we have keys in gmp-clearkey, and don't overwrite old decryptors when we get a new key. r=edwin. 2014-12-19 09:55:00 +13:00
Chris Pearce
2022b73e04 Bug 1109457 - Add persistent session to our ClearKey CDM. r=edwin 2014-12-19 09:54:34 +13:00
Ryan VanderMeulen
648c380f2c Backed out changesets 70428bb355a4 and a0ba2f134695 (bug 1109457) for EME failures and crashes on OSX 10.6. 2014-12-18 00:22:19 -05:00
Chris Pearce
0462623669 Bug 1109457 - Use Contains instead of std.find to detect whether we have keys in gmp-clearkey, and don't overwrite old decryptors when we get a new key. r=edwin. 2014-12-18 16:16:20 +13:00
Chris Pearce
b4a7a4b6fc Bug 1109457 - Add persistent session to our ClearKey CDM. r=edwin 2014-12-18 16:16:13 +13:00
Ryan VanderMeulen
c721b2d151 Backed out changeset dc6994acf4e3 (bug 1109457) for EME test failures and crashes.
CLOSED TREE
2014-12-17 20:57:12 -05:00
Chris Pearce
566b7d3597 Bug 1109457 - Add persistent session to our ClearKey CDM. r=edwin 2014-12-18 13:23:27 +13:00
Chris Pearce
67918ed194 Bug 1110497 - Reject promises for clearkey updates with invalid license data. r=edwin 2014-12-15 14:24:30 +13:00
Chris Pearce
5bb9ff5881 Bug 1077159 - Use macros for GMP API names, to make them implicitly versionable. r=jesup 2014-12-10 09:35:26 +13:00
Landry Breuil
632030712d Bug 1092023: comment out oaes_get_seed() definition r=edwin
It's unused (the sole caller is already commented out),
and uses deprecated ftime() & sys/timeb.h which are not
available on OpenBSD and Android NDK r10c.
Dont build openaes/rand.c, OAES_HAVE_ISAAC is not defined.
Remove now unused rand.c & rand.h.
2014-11-24 23:46:08 +01:00
Chris Peterson
cb49d7fc61 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 Peterson
42efaac822 Back out changeset c98cb03a8475 (Bug 1098134) for Windows build bustage. 2014-11-14 00:09:58 -08:00
Chris Peterson
b71e7588c7 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
Mike Shal
8621c50d13 Bug 1087088 - Don't install libclearkey to dist/bin; r=ted 2014-10-30 11:07:18 -04:00
Mike Hommey
d667f4bb59 Bug 1077148 part 4 - Add and use new moz.build templates for Gecko programs and libraries. r=gps
There are, sadly, many combinations of linkage in use throughout the tree.
The main differentiator, though, is between program/libraries related to
Gecko or not. Kind of. Some need mozglue, some don't. Some need dependent
linkage, some standalone.

Anyways, these new templates remove the need to manually define the
right dependencies against xpcomglue, nspr, mozalloc and mozglue
in most cases.

Places that build programs and were resetting MOZ_GLUE_PROGRAM_LDFLAGS
or that build libraries and were resetting MOZ_GLUE_LDFLAGS can now
just not use those Gecko-specific templates.
2014-10-30 13:06:12 +09:00
Gabriel Ivanica
28bc1f81d2 Bug 1089705 - Replace "assert" with "MOZ_ASSERT" in some media code. r=dholbert 2014-10-29 00:43:18 +02:00
Daniel Holbert
7c0f94eb40 Bug 1083373 part 2: Assert that array index is in-bounds, and cast it from char to size_t to fix clang warning. r=edwin 2014-10-27 23:17:54 -07:00
Daniel Holbert
e2bee59970 backout c7e523e3d339 (bug 1083373 part 2) for Android debug build warning, treated as error 2014-10-27 19:15:15 -07:00