Commit Graph

3466 Commits

Author SHA1 Message Date
Mike Hommey
9768be95eb Bug 1216444 - Remove GKMEDIAS_SHARED_LIBRARY. r=mshal
In bug 922912, we folded back gkmedias.dll info xul.dll, so in practice, there
is no default configuration left that exercises GKMEDIAS_SHARED_LIBRARY. And
sure enough, it's been broken for months in many different ways.

The gkmedias intermediate library is however kept for webrtc signaling tests.
2015-10-21 14:47:22 +09:00
Eric Rahm
ff3274d8fc Bug 1174785 - Part 0: Use mozilla/StaticPtr.h in signaling. r=jesup
Moving xpcom/glue/Logging.h to xpcom/base/Logging.h causes build failures in
signaling due to include conflicts. Rather than having signaling include
'xpcom/base' directly we can switch it over to using the installed headers
under 'mozilla'.
2015-10-15 12:02:28 -07:00
Nicholas Nethercote
4b27ee8c29 Bug 1216020 - Comment all ALLOW_COMPILER_WARNINGS lines. r=glandium.
DONTBUILD because it only changes comments.

This will hopefully prevent confusion like that in bug 1215903.
2015-10-19 18:05:20 -07:00
Ralph Giles
8368369fe8 Bug 1215696 - Update tests for mp4parse v0.1.1. r=kinetik
Now that this is returning the correct number of tracks for
the test file we can un-XFAIL.
2015-10-19 16:30:52 -07:00
Ralph Giles
880d0638f6 Bug 1215696 - Update mp4parse-rust to v0.1.1. r=kinetik
Change is just to loop over the input buffer in read_box_from_buffer()
so we parse the entire contents instead of just the first box.

'extern crate byteorder' converted to 'mod byteorder'.
2015-10-19 16:30:43 -07:00
Wes Kocher
07faa372d1 Backed out 2 changesets (bug 1215696) for build bustage causing a CLOSED TREE
Backed out changeset c1c69af32aa7 (bug 1215696)
Backed out changeset a186c0afb34f (bug 1215696)
2015-10-19 15:02:56 -07:00
Ralph Giles
6e9feee194 Bug 1215696 - Update tests for mp4parse v0.1.1. r=kinetik
Now that this is returning the correct number of tracks for
the test file we can un-XFAIL.
2015-10-19 14:15:37 -07:00
Ralph Giles
e8609957d7 Bug 1215696 - Update mp4parse-rust to v0.1.1. r=kinetik
Change is just to loop over the input buffer in read_box_from_buffer()
so we parse the entire contents instead of just the first box.

'extern crate byteorder' converted to 'mod byteorder'.
2015-10-19 14:15:37 -07:00
Ehsan Akhgari
ed8fa68777 Bug 1216177 - Remove the remaining nsRefPtr forward declarations; r=froydnj 2015-10-19 12:02:14 -04:00
Byron Campen [:bwc]
cfffe4bddb Bug 1212907 - a=rid support. r=mt 2015-10-08 16:55:39 -05:00
Nathan Froyd
9c5965b035 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
2015-10-18 01:24:48 -04:00
Nathan Froyd
e504437747 Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
This commit was generated using the following script, executed at the
top level of a typical source code checkout.

 # Don't modify select files in mfbt/ because it's not worth trying to
 # tease out the dependencies currently.
 #
 # Don't modify anything in media/gmp-clearkey/0.1/ because those files
 # use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    grep -v 'mfbt/RefPtr.h' | \
    grep -v 'mfbt/nsRefPtr.h' | \
    grep -v 'mfbt/RefCounted.h' | \
    grep -v 'media/gmp-clearkey/0.1/' | \
    xargs perl -p -i -e '
 s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
 s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
 s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
 s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#;       # handle strange #includes
'

 # |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'

 # RefPtr.h used |byRef| for dealing with COM-style outparams.
 # nsRefPtr.h uses |getter_AddRefs|.
 # Fixup that mismatch.
find . -name '*.cpp' -o -name '*.h'| \
    xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -04:00
Nils Ohlmeier [:drno]
f33c6a0f24 Bug 1215616: use base address for server rflx ICE candidates r=bwc 2015-10-17 11:34:01 -04:00
Ralph Giles
13a8d41976 Bug 1215234 - Update gtest for mp4parse-rust v0.1.0. r=kinetik
read_box_from_buffer now returns the (alleged) number of tracks,
or -1 on error instead of a bool. It currently returns 0 for
the test file instead of 2, so I marked that line with an XFAIL
comment for now.
2015-10-15 16:26:52 -07:00
Ralph Giles
3de68f827f Bug 1215234 - Update mp4parse-rust to v0.1.0. r=kinetik
'extern crate byteorder' converted to 'mod byteorder'.
2015-10-15 16:26:44 -07:00
Ralph Giles
c02ae39d47 Bug 1215234 - Update to byteorder v0.3.13. r=kinetik
This just adds inline directives. The 'use' directive in new.rs
is updated to work inside our crate as before.
2015-10-15 16:26:37 -07:00
Byron Campen [:bwc]
756efc3e75 Bug 1208176 - Part 3: Be forgiving when we see prflx instead of host candidates in ice_unittest. r=drno 2015-10-06 15:09:45 -05:00
Byron Campen [:bwc]
73dea1adfc Bug 1208176 - Part 2: Add a one-sided trickle test case to ice_unittest. r=drno 2015-10-06 15:07:19 -05:00
Byron Campen [:bwc]
7370be3015 Bug 1208176 - Part 1: Add a couple of interface names. r=drno 2015-10-06 15:06:36 -05:00
Chris Pearce
fff6c35860 Bug 1214469 - Ensure gmp-clearkey accounts for mNumInputTasks when flushing. r=gerald 2015-10-14 19:42:24 +13:00
Sebastian Hengst
35526b035e Bug 1113443 - reject each media type with approriate default. r=bwc 2015-10-11 18:13:09 +02:00
Byron Campen [:bwc]
d95b9088d9 Bug 1211389 - Make absolutely sure the relay->srflx pointer doesn't dangle. r=drno 2015-10-05 14:32:22 -05:00
Gerald Squelart
efd7ac301b Bug 1211741 - Remove libstagefright ID3 files. r=k17e 2015-10-06 14:24:00 +02:00
Ted Mielczarek
2764b0443c bug 1176196 - update libjpeg-turbo to 1.4.2. r=jrmuizel 2015-10-05 09:31:36 -04:00
Nils Ohlmeier [:drno]
4b80c70ece Bug 1211091 - use upper boundary for streams per data channel. r=bwc 2015-10-02 21:18:48 -07:00
Jan Henning
7db1515f35 Bug 1202286 - Part 0 - Add some explicit namespace references to keep the compiler and IntelliSense happy. r=esawin
DecoderTraits.cpp pulls in MP3Demuxer.h which in turn pulls in mp4_demuxer/ByteReader.h. In that context, for some reason the ByteReader can't find the definition for MediaByteBuffer unless it is prefixed with the proper namespace.

MP3Demuxer.cpp itself compiles fine, but for some reason in Visual Studio IntelliSense complains about TimeUnit and TimeIntervals being undefined unless the using statement uses the full namespace hierarchy.

Also fix a small typo.
2015-10-01 11:29:48 +02:00
Gerald Squelart
8a5b66af71 Bug 1156505 - p2: Null-check sampleTable before use. r=rillian 2015-10-02 16:13:00 +02:00
Gerald Squelart
20baf084c2 Bug 1156505 - p1: Added test case file from bug. r=rillian 2015-10-05 04:01:00 +02:00
Nigel Babu
ad451cafd4 Backed out changeset b05d8992f36c (bug 1156505) for build bustage on a CLOSED TREE 2015-10-05 12:40:46 +05:30
Nigel Babu
f079b2f387 Backed out changeset dd628d2021d5 (bug 1156505) 2015-10-05 12:40:44 +05:30
Gerald Squelart
6d2ce3cd01 Bug 1156505 - p2: Null-check sampleTable before use - r=rillian 2015-10-02 16:13:00 +02:00
Gerald Squelart
b06646f1ee Bug 1156505 - p1: Added test case file from bug - r=rillian 2015-10-01 00:59:00 +02:00
Carsten "Tomcat" Book
91e1ac6fd2 Merge m-c to mozilla-inbound 2015-10-02 13:37:27 +02:00
Carsten "Tomcat" Book
179a6e54ad merge mozilla-inbound to mozilla-central a=merge 2015-10-02 11:52:49 +02:00
Gerald Squelart
e0cec601a8 Bug 1204580 - p2: Check box ranges. r=rillian 2015-10-02 09:20:39 +02:00
Gerald Squelart
c783b3ab86 Bug 1204580 - p1: Added test case files. r=rillian 2015-10-02 09:20:13 +02:00
Byron Campen [:bwc]
f23eb5ac72 Bug 1208096 - Handle various failure cases for TURN gathering better. r=drno 2015-09-24 14:12:37 -05:00
Mike Taylor
38fe0767da Bug 1041882 - Remove Froyo-specific OMX plugin support. r=snorp 2015-09-26 09:06:00 +02:00
Mike Taylor
6e857acdd6 Bug 1041882 - Remove Froyo-specific support from libcubeb. r=snorp, r=padenot 2015-09-26 09:05:00 +02:00
Andreas Pehrson
25a62b5356 Bug 1170958 - Refactor DOMMediaStream to contain a 3-stage track chain. r=roc
This lets us separate tracks by ownership like so:
* Input    - Owned by the producer of the DOMMediaStream (gUM etc.)
* Owned    - Contains Input tracks (per above) or tracks cloned tracks
             if this DOMMediaStream is a clone.
* Playback - Contains Owned tracks plus tracks addTrack()ed to this
             DOMMediaStream minus tracks removeTrack()ed from this
             DOMMediaStream.
2015-09-30 09:31:54 +08:00
Andreas Pehrson
aa2fc05087 Bug 1170958 - Add input stream and track as args to NotifyQueuedTrackChanges. r=roc
This allows for tracking the input track of an added track (for
ProcessedMediaStream tracks; SourceMediaStream tracks don't have input
tracks) directly in the NotifyQueuedTrackChanges handler, which will be
necessary for locking MediaInputPorts to specific tracks.
2015-09-30 09:31:53 +08:00
Martin Thomson
8bcd9da010 Bug 1155923 - Removing moz prefix from RTC interfaces, r=jesup,smaug 2015-09-28 11:25:04 -07:00
Nils Ohlmeier [:drno]
6fab6921c5 Bug 1206465 - removed ice_ctx from TestStunTcpServer. r=bwc 2015-09-18 23:25:38 -07:00
Carsten "Tomcat" Book
525fa7a7b1 Backed out 3 changesets (bug 1155923) for causing test failures in promises-call.html
Backed out changeset 321a932e01a7 (bug 1155923)
Backed out changeset 6ac38acd6ab2 (bug 1155923)
Backed out changeset 2981db92416a (bug 1155923)
2015-09-28 14:02:41 +02:00
Gerald Squelart
e93a56ab2f Bug 1200326 - p4 - Added test case from bug 1200326, with more checks - r=rillian 2015-09-26 04:44:00 +02:00
Gerald Squelart
860fa0f83e Bug 1200326 - p3 - Test case filenames are now in a list, to allow adding more tests - r=rillian 2015-09-26 04:43:00 +02:00
Gerald Squelart
5ea6320cdf Bug 1200326 - part 2 - Parse subsets of the input stream - r=rillian
In addition to starting parsing at different points across the input stream,
different sizes are given, from the minimum step size up to the remainder of the stream.
2015-09-26 04:42:00 +02:00
Gerald Squelart
f9d1ffbe32 Bug 1200326 - P 1 - Moved test case contents from test source into separate file - r=rillian
This will make it easier to modify input files and add more of them.
2015-09-26 04:40:00 +02:00
Martin Thomson
c7b8f20c03 Bug 1155923 - Removing moz prefix from RTC interfaces. r=jesup r=smaug 2015-09-24 16:31:47 -07:00
Jean-Yves Avenard
0be7b77497 Bug 1207441: [mp4] Ignore invalid tracks. r=gerald
This is designed to minimize the chance of regressions.
2015-09-28 14:12:47 +10:00