Birunthan Mohanathas
|
56b3169a4d
|
Bug 1001987 - Make MOZ_STATIC_ASSERT_VALID_ARG_COUNT compatible with ICC. r=Waldo
|
2014-04-28 07:48:00 +02:00 |
|
Benoit Jacob
|
fa47581249
|
Bug 987290 - Work around a GCC 4.6.3 ICE - no review, bustage fix
|
2014-04-28 12:27:13 -04:00 |
|
Benoit Jacob
|
a24a270b5d
|
Bug 987290 - Follow-up: fix TestTypedEnum to avoid requiring behavior that relies on explicit conversions, when they are not available. Fixes the build on MSVC 2012 - no review, bustage fix
|
2014-04-27 22:46:40 -04:00 |
|
Benoit Jacob
|
e84e3cadeb
|
Bug 987290 - Allow using MFBT Typed Enums as bitwise flags - r=Waldo
|
2014-04-25 22:34:04 -04:00 |
|
Blair McBride
|
64d3a32d11
|
Backed out 2 changesets (bug 987290). r=sheriff
Backed out changeset 4ad1f662f521 (bug 987290)
Backed out changeset 080ff1f86465 (bug 987290)
|
2014-04-27 20:41:58 +12:00 |
|
Benoit Jacob
|
ba5063d03b
|
Bug 987290 - Allow using MFBT Typed Enums as bitwise flags - r=Waldo
|
2014-04-25 22:34:04 -04:00 |
|
Birunthan Mohanathas
|
fc4e4ef699
|
Bug 989460 - Part 2: Add MOZ_FOR_EACH macro. r=Waldo
|
2014-04-24 10:49:00 +02:00 |
|
Birunthan Mohanathas
|
98106963b6
|
Bug 989460 - Part 1: Add MacroArgs.h for macros related to implementing variadic macros. r=Waldo
This also converts MOZ_RELEASE_ASSERT and MOZ_BEGIN_NESTED_ENUM_CLASS to use the new helper macros.
|
2014-04-24 10:48:00 +02:00 |
|
Benoit Jacob
|
686371f851
|
Bug 807607 - Make MFBT tests use MOZ_RELEASE_ASSERT instead of MOZ_ASSERT to ensure test coverage in non-DEBUG - r=Waldo
find mfbt/tests/ -type f | xargs sed -i 's/MOZ_ASSERT/MOZ_RELEASE_ASSERT/g'
|
2014-04-24 17:06:50 -04:00 |
|
Luke Wagner
|
8e9b9c4fe6
|
Bug 998507 - add BinarySearch (r=sunfish)
--HG--
extra : rebase_source : 6ba04575a5dd8a886235e6799bc790c7a3afc64f
|
2014-04-15 21:30:26 -05:00 |
|
Benoit Jacob
|
e195e8f5d3
|
Bug 987274 - Add IntegerTypeTraits.h to MFBT for additional integer traits and helpers that don't have type_traits equivalents - r=Waldo
|
2014-04-01 09:38:42 -04:00 |
|
Dan Gohman
|
a964ad52f6
|
Bug 978397 - Fix the implementation of CountPopulation_32 on Windows. r=nbp
|
2014-03-11 08:09:55 -04:00 |
|
Ehsan Akhgari
|
444a26ed8e
|
Bug 976896 - Port STL_FLAGS to moz.build; r=mshal
|
2014-03-04 19:39:06 -05:00 |
|
Benjamin Bouvier
|
edaecec986
|
Bug 939843: Tests for mfbt::Floats; r=waldo
--HG--
extra : rebase_source : a6515f7d4e82e020fd7686f14932855873078813
|
2014-02-27 16:23:08 +01:00 |
|
Benjamin Bouvier
|
8436415dfa
|
Bug 939843: Unify FloatingPoint's code for Double and Float; r=waldo
--HG--
extra : rebase_source : 2f7956d497d534af8931939a38a29ad27695a3fc
|
2014-01-30 15:54:46 +01:00 |
|
Ehsan Akhgari
|
f017b10fc4
|
Bug 935778 - Part 0.5: Add two more MOZ_DECLARE_REFCOUNTED_TYPENAME to TestWeakPtr.cpp
|
2014-02-21 09:45:05 -05:00 |
|
Ehsan Akhgari
|
82ebdc883f
|
Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg
|
2014-02-10 17:57:01 -05:00 |
|
Viktor Stanchev
|
055b6ccc3a
|
Bug 965837 - Add bool support to mozilla::Atomic. r=froydnj
|
2014-02-06 14:57:30 -05:00 |
|
Kartikaya Gupta
|
84032c6cea
|
Bug 948984 - Add functions to fuzzily compare float numbers. r=bjacob, r=Waldo
|
2014-02-05 17:04:42 -05:00 |
|
Marcin Juszkiewicz
|
bf9f69f8d5
|
Bug 963029 - AArch64 support for MFBT. r=froydnj
|
2014-01-23 16:34:31 -05:00 |
|
Jeff Walden
|
063b338ace
|
Bug 953296 - Implement mozilla::IsArray. r=froydnj
--HG--
extra : rebase_source : 3eb6fff774f28c39374f1e7c148f472d95e538c0
|
2013-12-30 01:07:32 -06:00 |
|
Jeff Walden
|
25357293e7
|
Bug 953296 - Implement mozilla::IsRvalueReference and mozilla::IsReference. r=froydnj
--HG--
extra : rebase_source : 39cf8fa339f1ea640681fda0d0cda536e5228709
|
2013-12-30 01:07:25 -06:00 |
|
Jeff Walden
|
5ee5d4c63b
|
Bug 953296 - Implement mozilla::IsClass and mozilla::IsEmpty. r=jcranmer
|
2013-12-30 01:07:39 -06:00 |
|
Daniel Holbert
|
b14ef78544
|
Bug 945121: Use DebugOnly to fix opt-only 'unused variable' build warning in TestCeilingFloor.cpp. r=Waldo
|
2013-12-20 13:41:48 -08:00 |
|
Mike Hommey
|
fdd3247a81
|
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
|
2013-11-27 22:55:07 +09:00 |
|
Mike Hommey
|
2f727b6d62
|
Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
|
2013-11-28 14:24:05 +09:00 |
|
Mike Hommey
|
b038245b8d
|
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
|
2013-11-28 13:08:16 +09:00 |
|
Anthony Jones
|
bb4129b621
|
Bug 888084 - Rolling mean for MFBT; r=waldo
|
2013-09-24 15:56:55 +12:00 |
|
Dan Gohman
|
82cabc0e08
|
Bug 930708 - IonMonkey: Factor out a DoubleEqualsInt32 from DoubleIsInt32 and use it when negative zero is to be treated as zero. r=nbp
|
2013-11-02 14:29:44 -07:00 |
|
Mike Hommey
|
80c623bb6a
|
Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps
|
2013-10-24 08:05:43 +09:00 |
|
Dan Gohman
|
77a1580baf
|
Bug 924637 - Document a somewhat counterintuitive case in ExponentComponent, and add test coverage for it. r=waldo
|
2013-10-09 06:41:42 -07:00 |
|
Birunthan Mohanathas
|
1682814b3e
|
Bug 918436 - Make the type argument of MOZ_BEGIN(_NESTED)_ENUM_CLASS optional and add tests. r=Waldo
|
2013-10-04 13:17:13 -04:00 |
|
Dan Gohman
|
d78b997a49
|
Bug 918350 - SpiderMonkey: Remove js_NaN in favor of a new mozilla::GenericNaN() function. r=waldo
|
2013-09-19 18:42:56 -07:00 |
|
Mike Hommey
|
05b3f24e0e
|
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
|
2013-09-05 09:01:46 +09:00 |
|
Jeff Walden
|
c5dd957eae
|
Bug 730805 - Provide mozilla/IntegerPrintfMacros.h to implement the PRI* macros portion of the <inttypes.h> interface. r=espindola
--HG--
extra : rebase_source : be80333003c6fec659e736a77463568c836d8348
|
2011-12-15 00:27:42 -05:00 |
|
Dan Gohman
|
6942bbee1d
|
Bug 910814 - IonMonkey: Add testcases for several FloatingPoint.h predicates. r=waldo
|
2013-09-02 13:53:35 -07:00 |
|
Dan Gohman
|
6fbf2016aa
|
Bug 906368 - IonMonkey: Define a proper CountPopulation32 function, and use it in place of manual code in RegisterSets.h. r=nbp
|
2013-08-19 12:32:22 -07:00 |
|
Birunthan Mohanathas
|
74d86ab8ae
|
Bug 888548 - Part 3: Add enum support to mozilla::Atomic<T>. r=froydnj
Due to a bug in GCC, the compareExchange function is not available with enum types.
|
2013-08-01 21:21:32 -04:00 |
|
Daniel Holbert
|
3d1a17c2ef
|
backout fc98067f0aa4 (Bug 888548 part 3) for B2G build bustage
|
2013-07-31 19:04:25 -07:00 |
|
Birunthan Mohanathas
|
99ffeabe6b
|
Bug 888548 - Part 3: Add enum support to mozilla::Atomic<T>. r=froydnj
Due to a bug in GCC, the compareExchange function is not available with enum types.
|
2013-07-31 21:15:25 -04: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 |
|
Ehsan Akhgari
|
3717325909
|
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
|
2013-07-30 10:25:31 -04:00 |
|
Jeff Walden
|
c184cc6855
|
Bug 895792 - Fix RoundUpPow2's required precondition to not be wrong. r=terrence
--HG--
extra : rebase_source : e42420628dad8b8e9fe37287fa8e08eb262fe615
|
2013-07-25 20:01:45 -07:00 |
|
Birunthan Mohanathas
|
afc4f3df3f
|
Bug 784739 - Switch from NULL to nullptr in mfbt/. r=jwalden
--HG--
extra : rebase_source : 090706fa9d97854fe3071adf037a09d914a0854f
|
2013-07-25 16:31:48 -07:00 |
|
Ryan VanderMeulen
|
d6be8d390f
|
Backed out 3 changesets (bug 896124, bug 784739, bug 894026) for Windows checktest orange on a CLOSED TREE.
Backed out changeset 631b3d5d54f4 (bug 896124)
Backed out changeset 5e1dd28ede5d (bug 894026)
Backed out changeset c10c0a6270ec (bug 784739)
|
2013-07-26 00:08:51 -04:00 |
|
Birunthan Mohanathas
|
746bdecb9c
|
Bug 784739 - Switch from NULL to nullptr in mfbt/. r=jwalden
|
2013-07-25 16:31:48 -07: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 |
|
Jeff Walden
|
ce23667c3b
|
Bug 896842 - Implement mozilla::DoublesAreIdentical. r=luke
|
2013-06-18 15:35:03 -07:00 |
|
Jeff Walden
|
f52f37cddc
|
Bug 891177 - Move leading/trailing-zero-bit counting functions, ceiling/floor log2 functions, and round-up-pow2 functions into MathAlgorithms.h. r=terrence
--HG--
extra : rebase_source : 8cfbd68b8cd4a0e21185dd864c7e827ccfa6b751
|
2013-07-03 15:46:51 -07:00 |
|
Jeff Walden
|
feb2f8ac64
|
Style fixes and proper-numeric-type usage in mfbt/tests/TestEndian.cpp. No bug, r=trivial
--HG--
extra : rebase_source : 54a658a6baf78852a3f8839b2cbb98700a7c91e7
|
2013-06-13 19:27:11 -07:00 |
|