Benoit Jacob
|
5de1e98c61
|
Bug 984783 - Remove all invalidation tracking from the WebGL element array cache - r=jgilbert
|
2014-05-09 13:49:27 -04:00 |
|
Nathan Froyd
|
1ce96e6da7
|
Backout d2242d05c93c (bug 984783) for Cpp bustage
|
2014-05-10 14:36:55 -04:00 |
|
Benoit Jacob
|
f47d69e654
|
Bug 984783 - Remove all invalidation tracking from the WebGL element array cache - r=jgilbert
|
2014-05-09 13:49:27 -04:00 |
|
Ms2ger
|
84b1d4041e
|
Bug 931404 - Move LOCAL_INCLUDES to moz.build in content/; r=gps
|
2013-11-11 09:04:06 +01:00 |
|
Mike Hommey
|
05b3f24e0e
|
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
|
2013-09-05 09:01:46 +09:00 |
|
Ms2ger
|
66214743ad
|
Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps
|
2013-08-22 08:55:59 +02:00 |
|
Ehsan Akhgari
|
085494b95d
|
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 |
|
Ms2ger
|
7d7359c752
|
Bug 888643 - Part b: Move CPP_UNIT_TESTS definitions into moz.build files; r=gps
|
2013-07-24 09:23:06 +02:00 |
|
Jon Buckley
|
3ce29ac29f
|
Bug 738867 - Implement WebGL OES_element_index_uint extension. r=bjacob
|
2013-05-13 09:22:30 -04:00 |
|
Jon Buckley
|
6b44ce69cc
|
Bug 738867 - Separate sanity and uint overflow tests. r=bjacob
|
2013-05-13 09:22:30 -04:00 |
|
Kyle Machulis
|
f5e3aadf0b
|
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
|
2013-04-01 11:36:59 -07:00 |
|
Kyle Machulis
|
d2b6e6e01a
|
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
|
5663b98bc5
|
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 |
|
Gregory Szorc
|
fee2be3026
|
Bug 784841 - Part 18g: Convert /content; r=glandium
|
2013-02-25 12:47:19 -08:00 |
|
Benoit Jacob
|
a526f17fb6
|
Bug 825205 - WebGL drawElements: add unit test for the case where the max allowable index wrap to 0 in the index type - r=vladv
|
2013-01-05 21:05:08 -05:00 |
|
Benoit Jacob
|
83fc141837
|
Bug 800612 - actually increase WebGL element array test repetitions, patch didnt apply cleanly - r=jgilbert
|
2012-11-09 20:49:15 -05:00 |
|
Benoit Jacob
|
fcaf065e92
|
Bug 800612 - 2/2 - Enable compiled code tests in content/canvas - r=ted
--HG--
rename : content/canvas/test/compiled/Makefile.in => content/canvas/compiledtest/Makefile.in
rename : content/canvas/test/compiled/TestWebGLElementArrayCache.cpp => content/canvas/compiledtest/TestWebGLElementArrayCache.cpp
|
2012-11-09 16:42:23 -05:00 |
|