Chris Peterson
74a96a4348
Bug 1095883 - Mark toolkit/components directories as FAIL_ON_WARNINGS. r=Mossop
2014-11-08 00:41:17 -08:00
Matthew Gregan
6bb28537a8
Bug 1079747
- Follow WhatWG's MIMESniff spec for MP4 more closely. r=cpearce
2014-10-15 13:57:38 +13:00
Andrew Halberstadt
d292ee73f1
Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester
2014-10-07 18:18:28 -04:00
Robert O'Callahan
43fa3946ce
Bug 1048579. Always sniff for media loads. r=bzbarsky
...
--HG--
extra : rebase_source : 39b6d37dbbf138095856954bee583e84cfd971b5
2014-08-23 00:08:14 +12:00
Ryan VanderMeulen
0b6826aac5
Backed out changeset ecf04c6eb4dd (bug 1048579) for xpcshell failures.
2014-08-22 10:08:10 -04:00
Robert O'Callahan
d82cede239
Bug 1048579. Always sniff for media loads. r=bzbarsky
...
--HG--
extra : rebase_source : 067e99eaad781dec78a772405870b02c195a42e2
2014-08-23 00:08:14 +12:00
Birunthan Mohanathas
5f1fde8824
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Gregory Szorc
afdb724edf
Bug 969021 - Part 1: Consolidate moz.build data into parent moz.build files; r=ted
...
Many moz.build files define things that could be defined in parent
moz.build files. Keeping the number of moz.build files low helps with
build times due to less I/O and fewer directories traversed.
This patch eliminates a lot of moz.build files by moving their content
into parent moz.build files.
--HG--
extra : rebase_source : 0cfdf2697d10532e5b03cd27fbaadb41f42b837c
extra : amend_source : 0119d4e4881217f105e0e4ba1dfa9c8f7295f3e9
extra : histedit_source : eb49e62c67af2005fdc08d9c9a07f56bee98d558%2C50951e960e450f9b0e48fc7e8ec369d8666a63b0
2014-02-06 13:00:20 -08:00
Paul Adenot
cfb33ac697
Bug 967007 - Bump the sniffing limit for mp3. r=rillian
2014-02-03 16:55:34 +01:00
Birunthan Mohanathas
02d0812720
Bug 828300 - Replace NS_ARRAY_LENGTH with mozilla::ArrayLength/MOZ_ARRAY_LENGTH. r=ehsan
2014-01-30 13:26:54 -05:00
Ehsan Akhgari
956b294e1c
Bug 943994 - Build toolkit/components/mediasniffer in unified mode; r=padenot
2013-11-28 08:36:28 -05:00
Matt Brubeck
ae9e2ec930
Back out d84bce4e8f2c (bug 943023) because of build errors on a CLOSED TREE
2013-11-25 15:59:01 -08:00
Trevor Saunders
87cdf162a3
bug 943023 - unify some of toolkit/components/ and rdf/ r=ehsan
2013-11-25 14:28:06 -05:00
Mike Hommey
2812d11fce
Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
...
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
e06d795c71
Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps
2013-11-19 11:48:10 +09:00
Mike Hommey
e80e877ab7
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Mike Hommey
ffe0380912
Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps
2013-11-19 11:47:14 +09:00
Mike Hommey
b000a846c2
Bug 929905 - Consolidate sources in moz.build. r=gps
2013-10-25 08:23:05 +09:00
Ms2ger
b7619cd23d
Bug 923395 - Part a: Remove completely empty makefiles; r=gps
2013-10-20 09:25:18 +02:00
Birunthan Mohanathas
72f11bcb4b
Bug 784739 - Switch from NULL to nullptr in toolkit/components/ (1/2); r=ehsan
2013-10-10 16:38:05 -04:00
Ms2ger
f4153f40d4
Bug 900980 - Part a: Move unconditional assignments to EXPORT_LIBRARY to moz.build; rs=gps
2013-10-03 09:11:13 +02:00
Gregory Szorc
7bd3c0ae36
Bug 901990 - Part 2: Upgrade xpcshell manifests; r=ted
...
--HG--
rename : toolkit/mozapps/extensions/test/xpcshell-unpack/head_unpack.js => toolkit/mozapps/extensions/test/xpcshell/head_unpack.js
2013-09-24 11:50:08 -07:00
Mike Hommey
f8bc7fa754
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Brian O'Keefe
d118b95a0d
Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal
2013-08-15 09:02:09 -04:00
Ms2ger
3a103a7e9f
Bug 883284 - Part f: Move LIBXUL_LIBRARY into moz.build (p-z); r=glandium
2013-08-22 08:56:01 +02:00
Trevor Saunders
e62a12b52f
bug 886526 - remove IS_COMPONENT and MODULE_NAME makefile vars for things in libxul r=bsmedberg r=glandium
2013-08-08 20:12:37 -04:00
Ralph Giles
fd5b621566
Bug 865553 - Handle MPEG version 2 packet lengths. r=padenot
...
Previous code didn't adjust bitrate and scale factors correctly
for computing frame sizes on mpeg 2 and 2.5 files. See
http://blog.coryhill.net/2009/06/calculating-mp3-frame-length.html
for the extra factor of two.
Removes a case for handling length calculation for layer-1 files,
which we don't support.
Adds a tagless mpeg-2 test case for the new sniffer code.
Previous code didn't adjust bitrate and scale factors correctly
for computing frame sizes on mpeg 2 and 2.5 files. See
http://blog.coryhill.net/2009/06/calculating-mp3-frame-length.html
for the extra factor of two.
Removes a case for handling length calculation for layer-1 files,
which we don't support.
Adds a tagless mpeg-2 test case for the new sniffer code.
2013-08-09 10:27:00 -07:00
Ms2ger
ee0442e9f6
Bug 899261 - Use @DEPTH@ more; r=bsmedberg
2013-08-02 09:04:38 +02:00
Ehsan Akhgari
ef4b479714
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
Trevor Saunders
108b7dd046
backout bug 886526 because it probably made us use a lot more memory to link on windows
2013-07-29 11:03:21 -04:00
Mike Hommey
b97d1767fc
Bug 892904 - Remove useless includes of config.mk. r=gps
2013-07-15 18:48:40 +09:00
Mihnea Dobrescu-Balaur
583bba9712
Bug 888545 - Use a dynamic port in mediasniffer/ xpcshell tests so they can be run in parallel. r=bz
2013-07-11 15:42:48 -07:00
Trevor Saunders
4fda35a773
bug 886526 - disallow MODULE_NAME and IS_COMPONENT for makefiles in libxul r=bsmedberg
2013-06-25 11:15:21 -04:00
Ralph Giles
f5e4f4e145
Bug 862088 - Add raw mp3 sniffing. r=padenot
...
Attempt to sniff raw mp3 with no id3 tag by looking for a header
followed by a second header at the expected offset from the packet
length.
Adds mp3 sniffing with and without id3 tags to the mediasniffer
xpcshell tests. These files are truncated to 512 bytes. Our method
can require up to 1.5k of data, but these have 208/209 byte packets
so sniffing still works.
notags-bad.mp3 has a corrupt header, and verifies sniffing fails.
notags-scan.mp3 has garbage before the header, and verifies sniffing fails.
he_free.mp is a vbr test vector which isn't sniffable with this method.
fl10.mp2 is an mp2 file, and verifies sniffing fails.
ff-inst.exe verifies bug 875769 doesn't regress.
2013-06-04 12:12:00 -07:00
Mike Shal
5169c0a913
Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
...
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Ryan VanderMeulen
74321b023c
Backed out changesets bde36c2eacc0 and 8dc40bbe844e (bug 862088) for causing bug 875769.
2013-05-25 09:21:29 -04:00
Ralph Giles
4b7c55dbb9
Bug 862088 - Fix build by removing obsolete call. r=bustage.
...
I swear this compiled locally.
2013-05-23 16:33:16 +08:00
Ralph Giles
4846d91dca
Bug 862088 - Add raw mp3 sniffing.
...
Attempt to sniff raw mp3 with no id3 tag by looking for a header
followed by a second header at the expected offset from the packet
length.
Adds mp3 sniffing with and without id3 tags to the mediasniffer
xpcshell tests. These files are copies of files in content/media/test
truncated to 512 bytes. Our method can require up to 1.5k of data,
but these have 208/209 byte packets so sniffing still works.
notags-bad.mp3 has a corrupt header, and verifies sniffing fails.
Attempt to sniff raw mp3 with no id3 tag by looking for a header
followed by a second header at the expected offset from the packet
length.
Adds mp3 sniffing with and without id3 tags to the mediasniffer
xpcshell tests. These files are copies of files in content/media/test
truncated to 512 bytes. Our method can require up to 1.5k of data,
but these have 208/209 byte packets so sniffing still works.
notags-bad.mp3 has a corrupt header, and verifies sniffing fails.
2013-05-23 01:07:00 +08:00
Gregory Szorc
1b12175ba0
Bug 873629 - Remove 129 empty Makefile.in files; r=ted
2013-05-17 16:20:11 -07:00
Joey Armstrong
26736a0ee2
bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal
2013-05-13 16:24:07 -04:00
Marco Chen
69906d5894
Bug 859711 - [A/V] Add mp4 sniffer to recognizing isom/iso2 comptiable_brand. r=padenot
2013-05-07 10:17:34 +08:00
Joey Armstrong
321d063783
bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS
2013-04-29 14:49:00 -04:00
Mike Shal
df7deac25b
Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey
2013-04-16 15:24:43 -04:00
Kyle Machulis
72a717a860
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Kyle Machulis
43628a7867
Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot
2013-03-29 15:12:58 -07:00
Kyle Machulis
334c0800cf
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
...
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Mike Shal
7ecea60097
Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps
2013-03-19 11:47:00 -07:00
Gregory Szorc
2f9c3f619e
Bug 784841 - Part 18θ: Convert /toolkit f=Mossop, Ms2ger; rs=ted
2013-02-25 13:19:09 -08:00
Honza Bambas
09a694848f
Bug 843376 - nsMediaSniffer.cpp(13) : fatal error C1083: Cannot open include file: 'nestegg/nestegg.h', r=padenot
2013-02-21 14:27:00 +01:00
Paul Adenot
685963d17c
Bug 835381 - Unit tests for the MediaSniffer to make sure Matroska files are not sniffed as WebM. r=kinetik
2013-02-13 19:04:00 +01:00
Paul Adenot
dfd0be7d58
Bug 835381 - Use the new libnestegg API to sniff for WebM. r=kinetik
2013-02-12 22:15:55 +01:00
Mats Palmgren
b7ae90666d
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01:00
Saurabh Anand
6de7befa37
Bug 818817 - Fix some compiler warnings, r=Ms2ger
2012-12-09 22:53:19 +05:30
Ehsan Akhgari
e55fd9da0a
Bug 813433 - Make nsMediaSniffer accept null request arguments; r=bzbarsky
...
This patch will make the content sniffer useful to sniff the mimetype of
in-memory media buffers.
2012-11-20 00:01:30 -05:00
Paul Adenot
413efab32e
Bug 790524 - Avoid overwriting the content-type by application/octet-stream in the sniffing logic. r=bz
2012-11-16 11:20:58 -08:00
Daniel Holbert
530b9fbdef
Bug 793498: Annotate nsMediaSniffer as MOZ_FINAL. r=padenot
2012-09-23 13:12:21 -07:00
Paul Adenot
8ac3fd19fd
Bug 790132 - Add a test to make sure media sniffing occurs only when we want. r=bz
2012-09-12 13:04:01 -07:00
Paul Adenot
7683743c75
Bug 789741 - Fix a crash in nsMediaSniffer::GetMIMETypeFromContent. r=bz
2012-09-10 09:57:17 -04:00
Paul Adenot
a84db6e368
Bug 789077 - Sniff for a media only if the Content-Type is unknown or octet-stream. r=bz
2012-09-07 16:18:59 -07:00
Paul Adenot
7ab1a757ed
Bug 789077 - Remove sniffing for mp3 without ID3 because of false positives. r=cpearce
2012-09-07 16:14:05 -07:00
Ehsan Akhgari
4a8bc9fd25
Bug 579517 follow-up: Remove NSPR types that crept in
...
--HG--
extra : rebase_source : 3fc28d51fcb5c63e417b0fe2b90fb6e1eb0cac63
2012-09-06 10:11:28 -04:00
Paul Adenot
28e7684705
Bug 567077 - Remove the classinfo stubs. r=peterv
2012-09-05 12:26:20 -07:00
Paul Adenot
5d61981f79
Bug 567077 - Sniff types of media files that are served with no Content-Type. r=cpearce
2012-09-04 16:22:34 -07:00
Ryan VanderMeulen
12c1c8ace2
Backout bug 567077 for bustage.
2012-09-05 18:36:38 -04:00
Paul Adenot
a14ca7cbb4
Bug 567077 - Remove the classinfo stubs. r=peterv
2012-09-05 12:26:20 -07:00
Paul Adenot
0836baba74
Bug 567077 - Sniff types of media files that are served with no Content-Type. r=cpearce
2012-09-04 16:22:34 -07:00
Ed Morley
2c3082317d
Backout ec46cfa51bf8, 4a54f06efee8, de811fbd27b0 & 67ea1314c777 (bug 567077) for causing bug 781141
2012-08-08 13:11:34 +01:00
Paul Adenot
a769fb1ee2
Bug 567077 - Sniff types of media files that are served with no Content-Type r=cpearce
2012-08-07 15:54:30 -07:00