Граф коммитов

2450 Коммитов

Автор SHA1 Сообщение Дата
Martijn Wargers d3812c1e93 Bug 898696 - Fix some content/media test files by adding preload=metadata to media element. r=cpearce 2013-07-31 09:35:44 +02:00
Shelly Lin 546e3d0f33 Bug 895730 - AudioTrackEncoder should handle the case where audio chunk is null. r=roc 2013-07-31 12:21:29 +08:00
Shelly Lin 32d3b06b96 Bug 894341 - Stop encoding data when the eos flag has written to ContainerWriter. r=roc 2013-07-29 14:29:08 +08:00
Ehsan Akhgari 2824b29025 Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:

# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.cc" \
         -o -iname "*.mm" \) | \
    xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
                   media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
                   modules/libmar/src/mar_private.h \
                   modules/libmar/src/mar.h


# assert_replacer.py
#!/usr/bin/python

import sys
import re

pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")

def replaceInPlace(fname):
  print fname
  f = open(fname, "rw+")
  lines = f.readlines()
  for i in range(0, len(lines)):
    while True:
      index = re.search(pattern, lines[i])
      if index != None:
        index = index.start()
        lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
        for j in range(i + 1, len(lines)):
          if lines[j].find("                 ", index) == index:
            lines[j] = lines[j][0:index] + lines[j][index+4:]
          else:
            break
      else:
        break
  f.seek(0, 0)
  f.truncate()
  f.write("".join(lines))
  f.close()

argc = len(sys.argv)
for i in range(1, argc):
  replaceInPlace(sys.argv[i])

--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04: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
Paul Adenot f558a92953 Bug 895720 - Actually use the fuzz value. 2013-07-30 11:10:33 +01:00
Paul Adenot 8e849d9058 Bug 895720 - On MacOS, increase the fuzz factor for test_audioBufferSourceNodeOffset.html. 2013-07-30 11:06:33 +01:00
Nicolas Silva 8592c4c12d Bug 858914 - New texture classes + OGL backend (preffed off). r=bas, nrc 2013-07-30 11:59:51 +02:00
Ed Morley 2a962e66cb Backed out changeset 0ad406a69f2c (bug 856361) for mochitest-1 failures in test_mediaElementAudioSourceNode.html on a CLOSED TREE 2013-07-29 09:56:06 +01:00
Ed Morley 9a4aecbbf8 Backed out changeset 3f2c0edda4c2 (bug 856361) 2013-07-29 09:55:15 +01:00
Ed Morley dfaafd12bd Backed out changeset f211d6754796 (bug 856361) 2013-07-29 09:55:12 +01:00
Ed Morley 606451d7b5 Backed out changeset 2af84c01ac0c (bug 856361) 2013-07-29 09:55:09 +01:00
Ed Morley db383fb0bf Backed out changeset 9e90a81b9e37 (bug 856361) 2013-07-29 09:55:06 +01:00
Ed Morley f2b94a0500 Backed out changeset 3d6f6f06da5e (bug 856361) 2013-07-29 09:55:03 +01:00
Ed Morley a194036339 Backed out changeset 911a11878522 (bug 855568) 2013-07-29 09:55:01 +01:00
Ed Morley 30bc98f237 Backed out changeset 3fbe86d67b6a (bug 856361) 2013-07-29 09:54:58 +01:00
Ed Morley 00f12e39a7 Backed out changeset f7496fddb076 (bug 856361) 2013-07-29 09:54:52 +01:00
Robert O'Callahan 965c4e2b47 Bug 856361. Fix test bustage. r=me
--HG--
extra : rebase_source : fe7a3854f521518f80c3ae8d70bae13eadfca3b7
2013-07-29 16:56:36 +12:00
Robert O'Callahan 4e7ae9cf8c Bug 856361. Part 7: Address review comment. r=ehsan 2013-07-29 15:09:48 +12:00
Ehsan Akhgari f8097b9c9b Bug 855568 - Implement MediaElementAudioSourceNode. r=roc
--HG--
extra : rebase_source : f6b44a0400aeaa6a2075d16a3196f3db13d0afb5
2013-07-25 15:01:49 +12:00
Robert O'Callahan dc85206827 Bug 856361. Part 6: Make MediaStreamAudioSourceNode keep its DOMMediaStream alive, and make the DOMMediaStream keep the MediaStreamAudioSourceNode alive. r=ehsan
--HG--
extra : rebase_source : b7172f79fbf0cacaaf10f812444444ba17ad00e9
2013-07-25 14:07:34 +12:00
secretrobotron 7d321db58e Bug 856361. Part 5: Implement MediaStreamAudioSourceNode. r=ehsan
--HG--
extra : rebase_source : ee1a8c2dc39574aeb6165a063553489f08d19380
2013-07-24 23:29:39 +12:00
Robert O'Callahan 46722b8523 Bug 856361. Part 4: Create AudioNodeExternalInputStream. r=ehsan
--HG--
extra : rebase_source : 6e172f800942b0f9f1aff047a142764da2dd57a3
2013-07-24 22:15:11 +12:00
Robert O'Callahan 0ec7510379 Bug 856361. Part 3: Refactor AudioNodeStream to create ComputeFinalOuputChannelCount, AccumulateInputChunk and AdvanceOutputSegment, and make AudioNodeStreams be treated as always consumed by the MediaStreamGraph. r=ehsan
--HG--
extra : rebase_source : 3c1fe8769dc616d0ea70f00e41d6952346ead491
2013-07-24 22:11:35 +12:00
Robert O'Callahan 2224bafd05 Bug 856361. Part 2: Block data from a non-same-origin media resource entering a MediaStream from a media element. r=cpearce
--HG--
extra : rebase_source : fd0ac711b6be627b87634b5a6c518c82ffd46448
2013-07-24 21:55:23 +12:00
Robert O'Callahan 2923cf289f Bug 856361. Part 1: Fix documentation of MediaInputPort flags. r=jesup
--HG--
extra : rebase_source : 509fc344912aa6da728ad8dd10398ae501921ebb
2013-07-17 15:16:09 +12:00
Chris Pearce 89d50a450b Bug 846769 - OggReader::SeekBisection() should use granule end times, not start times. r=rillian 2013-07-29 10:03:21 +12:00
Chris Pearce 3a531b30f9 Bug 846769 - Mark Ogg frames with MediaResource offset, instead of (incorrectly) trying to infer and then use the offset of pages. r=rillian 2013-07-29 10:03:06 +12:00
Ryan VanderMeulen 268ee517df Bug 894941 - Increase fuzz tolerance for the small-shot.ogg mediaDecoding test to resolve a CLOSED TREE. 2013-07-26 15:17:34 -04:00
Ryan VanderMeulen 999bcfda0a Merge m-c to inbound. 2013-07-26 14:20:01 -04:00
Ryan VanderMeulen 4bf6035d55 Backed out changesets f2862e93b710, 4fe81f58dbef, and f8f855f0b7dc (bug 896353) for mochitest-1 asserts. 2013-07-26 14:08:29 -04:00
Martijn Wargers d60bbc5058 Bug 896582 - Implement a workaround to bug 838726 to get a bunch of content/media mochitests running on B2G. r=jgriffin 2013-07-25 22:32:17 +02:00
Randy Lin 27d25f6c75 Bug 896353 - Media Recording - Test case for record the MediaStream from audioContext. r=jsmith 2013-07-26 10:47:56 +08:00
Randy Lin dfc33dc92b Bug 896353 - Media Recording - Can't record the mediaStream created by AudioContext. r=roc 2013-07-26 20:29:41 +08:00
JW Wang b64e29c81b Bug 896353 - Set principal for mDOMStream in MediaStreamAudioDestinationNode. r=roc. 2013-07-23 11:54:32 +08:00
Ed Morley 53342d7ae2 Merge mozilla-central and birch 2013-07-25 17:05:50 +01:00
Ryan VanderMeulen 1f44d7902b Backed out changesets 73188e11f7b1 and 7111c04c1158 (bug 896353) for mochitest-1 crashes. 2013-07-25 10:31:48 -04:00
Randy Lin ed5b4692e0 Bug 896353 - Media Recording - Can't record the mediaStream created by AudioContext. r=roc 2013-07-24 18:01:52 +08:00
JW Wang d193fbdd07 Bug 896353 - Set principal for mDOMStream in MediaStreamAudioDestinationNode. r=roc 2013-07-23 11:54:32 +08:00
Randy Lin 6df86e43b0 Bug 896303 - Media Recording - Calling start on a MediaRecorder object with no parameters results in ondataavailable events firing even though they shouldn't be. r=roc 2013-07-24 17:26:17 +08:00
Paul Adenot c4b7a6598a Bug 882543 - Use a linked list for ordering stream instead of an array. r=ehsan 2013-07-19 16:40:58 +02:00
Paul Adenot 857acbc9aa Bug 882543 - Register the MSG thread for in the profiler. r=benwa 2013-07-19 16:40:57 +02:00
Paul Adenot 2703867eb2 Bug 882543 - Don't spam the main thread when rendering an offline graph. r=ehsan,roc 2013-07-19 16:40:57 +02:00
Paul Adenot cf5a18b6c8 Bug 882543 - Actually run offline MSG offline. r=roc 2013-07-19 16:40:57 +02:00
Paul Adenot 53a2f501c5 Bug 882543 - Retain storage for media streams accross iterations instead of reallocating. r=jlebar,roc 2013-07-19 16:40:56 +02:00
Peter Chang a38cfef9d8 Bug 894262 - Merge GonkIOSurfaceImage to GrallocImage, r=nical, kanru 2013-07-25 10:13:35 +08:00
Ryan VanderMeulen 2cd9d5dae5 Merge m-c to inbound. 2013-07-24 18:27:51 -04:00
Sotaro Ikeda 6e47b2e86f Bug 896374 - Fix infinite loop in MediaResourceManagerService::cancelClientLocked(). r=doublec 2013-07-24 08:55:30 -04:00
Ms2ger 3c48262d76 Merge m-c to inbound. 2013-07-24 11:53:22 +02:00
Ms2ger 8609abdb1f Bug 885170 - Remove nsINode::GetClassInfo(); r=peterv 2013-07-24 09:31:06 +02:00