Ehsan Akhgari
|
5ee21d6d3f
|
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
|
9854ac6166
|
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
|
2013-07-30 10:25:31 -04:00 |
|
Paul Adenot
|
0bdeab0a15
|
Bug 895720 - Actually use the fuzz value.
|
2013-07-30 11:10:33 +01:00 |
|
Paul Adenot
|
0e9230a9f2
|
Bug 895720 - On MacOS, increase the fuzz factor for test_audioBufferSourceNodeOffset.html.
|
2013-07-30 11:06:33 +01:00 |
|
Nicolas Silva
|
5ec3fda767
|
Bug 858914 - New texture classes + OGL backend (preffed off). r=bas, nrc
|
2013-07-30 11:59:51 +02:00 |
|
Ed Morley
|
a2a2b91464
|
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
|
e886bc252b
|
Backed out changeset 3f2c0edda4c2 (bug 856361)
|
2013-07-29 09:55:15 +01:00 |
|
Ed Morley
|
18ea386674
|
Backed out changeset f211d6754796 (bug 856361)
|
2013-07-29 09:55:12 +01:00 |
|
Ed Morley
|
2441ed84a8
|
Backed out changeset 2af84c01ac0c (bug 856361)
|
2013-07-29 09:55:09 +01:00 |
|
Ed Morley
|
e27efacff7
|
Backed out changeset 9e90a81b9e37 (bug 856361)
|
2013-07-29 09:55:06 +01:00 |
|
Ed Morley
|
bf60ac5060
|
Backed out changeset 3d6f6f06da5e (bug 856361)
|
2013-07-29 09:55:03 +01:00 |
|
Ed Morley
|
9f3a9d092c
|
Backed out changeset 911a11878522 (bug 855568)
|
2013-07-29 09:55:01 +01:00 |
|
Ed Morley
|
a080e31b98
|
Backed out changeset 3fbe86d67b6a (bug 856361)
|
2013-07-29 09:54:58 +01:00 |
|
Ed Morley
|
52a98c1f7f
|
Backed out changeset f7496fddb076 (bug 856361)
|
2013-07-29 09:54:52 +01:00 |
|
Robert O'Callahan
|
e401605bce
|
Bug 856361. Fix test bustage. r=me
--HG--
extra : rebase_source : fe7a3854f521518f80c3ae8d70bae13eadfca3b7
|
2013-07-29 16:56:36 +12:00 |
|
Robert O'Callahan
|
d1fbe85906
|
Bug 856361. Part 7: Address review comment. r=ehsan
|
2013-07-29 15:09:48 +12:00 |
|
Ehsan Akhgari
|
834dcf608d
|
Bug 855568 - Implement MediaElementAudioSourceNode. r=roc
--HG--
extra : rebase_source : f6b44a0400aeaa6a2075d16a3196f3db13d0afb5
|
2013-07-25 15:01:49 +12:00 |
|
Robert O'Callahan
|
ec2d522eff
|
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
|
824c0706bb
|
Bug 856361. Part 5: Implement MediaStreamAudioSourceNode. r=ehsan
--HG--
extra : rebase_source : ee1a8c2dc39574aeb6165a063553489f08d19380
|
2013-07-24 23:29:39 +12:00 |
|
Robert O'Callahan
|
7215f3154f
|
Bug 856361. Part 4: Create AudioNodeExternalInputStream. r=ehsan
--HG--
extra : rebase_source : 6e172f800942b0f9f1aff047a142764da2dd57a3
|
2013-07-24 22:15:11 +12:00 |
|
Robert O'Callahan
|
410fc1c903
|
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
|
4eea200b92
|
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
|
ba4373aa8a
|
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
|
73ed969053
|
Bug 846769 - OggReader::SeekBisection() should use granule end times, not start times. r=rillian
|
2013-07-29 10:03:21 +12:00 |
|
Chris Pearce
|
1a27e3fdb9
|
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
|
f3f8beff11
|
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
|
cc5560c810
|
Merge m-c to inbound.
|
2013-07-26 14:20:01 -04:00 |
|
Ryan VanderMeulen
|
45725619fb
|
Backed out changesets f2862e93b710, 4fe81f58dbef, and f8f855f0b7dc (bug 896353) for mochitest-1 asserts.
|
2013-07-26 14:08:29 -04:00 |
|
Martijn Wargers
|
197d05aa66
|
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
|
6332de0fa1
|
Bug 896353 - Media Recording - Test case for record the MediaStream from audioContext. r=jsmith
|
2013-07-26 10:47:56 +08:00 |
|
Randy Lin
|
2bbe975e86
|
Bug 896353 - Media Recording - Can't record the mediaStream created by AudioContext. r=roc
|
2013-07-26 20:29:41 +08:00 |
|
JW Wang
|
204aa9965c
|
Bug 896353 - Set principal for mDOMStream in MediaStreamAudioDestinationNode. r=roc.
|
2013-07-23 11:54:32 +08:00 |
|
Ed Morley
|
817db8cfd2
|
Merge mozilla-central and birch
|
2013-07-25 17:05:50 +01:00 |
|
Ryan VanderMeulen
|
206ac36c27
|
Backed out changesets 73188e11f7b1 and 7111c04c1158 (bug 896353) for mochitest-1 crashes.
|
2013-07-25 10:31:48 -04:00 |
|
Randy Lin
|
9904918cc0
|
Bug 896353 - Media Recording - Can't record the mediaStream created by AudioContext. r=roc
|
2013-07-24 18:01:52 +08:00 |
|
JW Wang
|
f947c31e56
|
Bug 896353 - Set principal for mDOMStream in MediaStreamAudioDestinationNode. r=roc
|
2013-07-23 11:54:32 +08:00 |
|
Randy Lin
|
92bab7040b
|
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
|
c1209fd32c
|
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
|
8978ed9178
|
Bug 882543 - Register the MSG thread for in the profiler. r=benwa
|
2013-07-19 16:40:57 +02:00 |
|
Paul Adenot
|
3f5580c2da
|
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
|
3a1bbd5d18
|
Bug 882543 - Actually run offline MSG offline. r=roc
|
2013-07-19 16:40:57 +02:00 |
|
Paul Adenot
|
77d11314c9
|
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
|
416da61282
|
Bug 894262 - Merge GonkIOSurfaceImage to GrallocImage, r=nical, kanru
|
2013-07-25 10:13:35 +08:00 |
|
Ryan VanderMeulen
|
4089fb5f64
|
Merge m-c to inbound.
|
2013-07-24 18:27:51 -04:00 |
|
Sotaro Ikeda
|
78260530d7
|
Bug 896374 - Fix infinite loop in MediaResourceManagerService::cancelClientLocked(). r=doublec
|
2013-07-24 08:55:30 -04:00 |
|
Ms2ger
|
834f814430
|
Merge m-c to inbound.
|
2013-07-24 11:53:22 +02:00 |
|
Ms2ger
|
36f3f6ae03
|
Bug 885170 - Remove nsINode::GetClassInfo(); r=peterv
|
2013-07-24 09:31:06 +02:00 |
|
Ms2ger
|
fb6790e6d8
|
Bug 888643 - Part b: Move CPP_UNIT_TESTS definitions into moz.build files; r=gps
|
2013-07-24 09:23:06 +02:00 |
|
Nicolas Silva
|
5d2089d328
|
Bug 858914 - Mark some Image related classes deprecated. r=jrmuizel DONTBUILD
|
2013-07-24 18:08:35 +02:00 |
|
Nicolas Silva
|
7a55cdf819
|
Backed out changeset 9089fe288899
|
2013-07-24 18:01:39 +02:00 |
|