Commit Graph

293 Commits

Author SHA1 Message Date
Landry Breuil
55a063c0aa Bug 876156: Don't try using <atomic> on OpenBSD which uses an old libstdc++ r=nfroyd 2013-06-01 00:23:01 +02:00
Nathan Froyd
c36091d5a4 Bug 873649 - don't assume <atomic> is usable with clang on a Linux system; r=Waldo 2013-05-17 17:04:30 -04:00
Brian Hackett
ddbb9d9519 Bug 678037 - Add (disabled) ability to parse script bytecode lazily, r=luke. 2013-05-30 06:29:56 -06:00
Joshua Cranmer
690a2de322 Bug 876701 - Static analysis failure in nsMathMLsemanticsFrame.h, r=karlt 2013-05-28 22:20:44 -05:00
Justin Lebar
7d53f5862c Bug 876691 - Unbreak mfbt/Atomics.h for Windows x64. r=me 2013-05-28 15:26:25 -04:00
Joshua Cranmer
c6a8662716 Bug 868285 - Fix static checking builds, part 2: Add MOZ_NONHEAP_CLASS. r=ehsan
--HG--
rename : build/clang-plugin/tests/TestStackClass.cpp => build/clang-plugin/tests/TestNonHeapClass.cpp
2013-05-27 16:05:02 -05:00
Joshua Cranmer
2cf82af930 Bug 868285 - Fix static checking builds, part 1: infer MOZ_STACK_CLASS. r=bsmedberg 2013-05-27 16:04:18 -05:00
Justin Lebar
c52e5d4a3e Bug 873800 - Add compare-and-exchange to mfbt/Atomics.h. r=froydnj
--HG--
extra : rebase_source : c9e455ed249e6b3cd0f532d240abfb602e2e88a8
2013-05-24 13:10:47 -04:00
Justin Lebar
499d8e2007 Bug 873799 - Add an explicit barrier before __sync_lock_test_and_set in mfbt/Atomics.h r=froydnj
--HG--
extra : rebase_source : 64d23f1df2fef8719413800ebb0afe6f51d1e3af
2013-05-24 13:10:47 -04:00
Jeff Walden
d8bfd62d2e Bug 873585 - Silence a vacuous-comparison-against-0 warning when compiling with gcc 4.5, at least. Also make IsSigned/IsUnsigned actually work on floating-point types. r=froydnj
--HG--
extra : rebase_source : 149695699ddb5cde3058a066785c2dc4c7c221e7
2013-05-17 11:07:02 -07:00
Mike Hommey
6334a79a0e Bug 864035 - Add an atomic RefCounted and WeakPtr implementation. r=Waldo 2013-05-18 09:52:53 +02:00
Nathan Froyd
803ce3d328 Bug 732043 - part 2 - add tests for mfbt/Atomics.h; r=Waldo; original-author=jcranmer 2013-04-25 15:10:38 -04:00
Nathan Froyd
a8d9cc8795 Bug 732043 - part 1 - add mfbt/Atomics.h; r=Waldo; original-author=jcranmer 2013-04-22 14:12:03 -04:00
Mats Palmgren
46d63936fa Bug 871032 - Move the MOZ_ASSERTs after the declarations to work around MSVC Opt build failure when this file is compiled as C. r=roc 2013-05-13 16:28:29 +02:00
Nathan Froyd
eba34f22d7 Bug 858131 - rewrite FloatingPoint.h to be C++-only instead of C-compatible C++; r+original-author=Waldo 2013-05-01 16:55:13 -04:00
Benoit Jacob
2123c47135 Bug 869194 - CheckedInt should consistently reject unsupported types - r=Waldo 2013-05-08 17:25:15 -04:00
Benoit Jacob
dd563aab02 Bug 869685 - Reintroduce long long support in CheckedInt - r=Waldo 2013-05-08 17:25:03 -04:00
Jeff Walden
9836ebf69c Bug 869238 - Silence various -Wtype-limits warnings in Casting.h when instantiated with types with various size relationships. r=froydnj 2013-05-06 16:38:42 -07:00
Jeff Walden
1781e6fbf9 Back out cff7378485bc (bug 869238), Windows bustage (at least). r=redness 2013-05-07 13:45:43 -07:00
Jeff Walden
7ac2f661b9 Bug 869238 - Silence various -Wtype-limit warnings in Casting.h when instantiated with types with various size relationships. r=froydnj 2013-05-06 16:38:42 -07:00
Mats Palmgren
401785134b Bug 867530 - Move PresArena poisoning code to MFBT. r=roc
--HG--
rename : layout/base/tests/cpp-tests/TestPoisonArea.cpp => mfbt/tests/TestPoisonArea.cpp
2013-05-07 20:48:59 +02:00
Jeff Walden
3dab75b670 Bug 862657 - Make PodCopy work even when copying to a volatile address, and add PodArrayCopy for copying one fixed-size array into another array of the same size. r=froydnj
--HG--
extra : rebase_source : 7bb59639b95ec7a05272ab0215bbc04a210c11d5
2013-05-06 11:05:52 -07:00
Jeff Walden
9ae592d022 Bug 862657 - Implement mozilla::IsConst and mozilla::IsVolatile. r=froydnj
--HG--
extra : rebase_source : acc955d825069fa1db7b4f86117d50dbbfc05826
2013-03-05 15:44:02 -08:00
Jonathan Watt
2e0e04481e Bug 853525, part 9 - Changes to Decimal code as a series of patches for update.sh. r=Waldo 2013-05-06 00:23:18 +01:00
Jonathan Watt
2321448ca0 Bug 853525, part 8 - Enable building of mfbt/decimal. r=Waldo 2013-05-06 00:23:17 +01:00
Jonathan Watt
1e5cfc09a2 Bug 853525, part 7 - Make mfbt/decimal/Decimal{.h/.cpp} use Mozilla/std dependencies instead of Blink core dependencies. r=Waldo 2013-05-06 00:23:17 +01:00
Jonathan Watt
3ea5a5f4ea Bug 854531, part 6 - Add MFBT_API markers to Decimal methods. r=Waldo 2013-05-06 00:23:17 +01:00
Jonathan Watt
3b06a88e9b Bug 854531, part 5 - Fix the handling of NaN in Decimal::operator== and Decimal::operator!=. r=Waldo 2013-05-06 00:23:17 +01:00
Jonathan Watt
cccfd99acd Bug 854531, part 4 - Fix bug in Decimal serialization so that it won't display zero as 0.00 etc. r=Waldo 2013-05-06 00:23:16 +01:00
Jonathan Watt
1875156601 Bug 854531, part 3 - Fix bugs in Decimal::floor() and Decimal::ceiling(). r=Waldo 2013-05-06 00:23:16 +01:00
Jonathan Watt
1ea84d3685 Bug 854531, part 2 - Add update.sh script to mfbt/decimal/. r=Waldo 2013-05-06 00:23:15 +01:00
Jonathan Watt
93c57b8860 Bug 854531, part 1 - Import a vanilla copy of r148833 of Blink core's Decimal class from http://src.chromium.org/viewvc/blink/trunk/Source/core/platform/. r=Waldo 2013-05-06 00:23:15 +01:00
Stephen Kraemer
7b93b707c5 Bug 836078 - Replace all gcc __GNUC__ version checks with MOZ_GCC_VERSION_AT_LEAST macro. r=dvander 2013-05-01 15:45:05 -04:00
Jeff Walden
f685a81f44 Bug 865036 - Add a Casting.h header to hold various casting methods, right now including a SafeCast method that asserts in-rangeness. r=froydnj
--HG--
extra : rebase_source : ef175e4c89d07cddbe866a40fc2ca521fa32c441
2013-04-23 14:36:51 -07:00
Jeff Walden
7c75754cf9 Bug 865036 - Implement mozilla::Is{S,Uns}igned. r=froydnj
--HG--
extra : rebase_source : 6df6f2810a71bc6331be54708516bbafb24ea5c0
2013-04-23 14:35:18 -07:00
Jeff Walden
0b73ef54e8 Bug 865036 - Implement mozilla::IsFloatingPoint and mozilla::IsArithmetic. r=froydnj
--HG--
extra : rebase_source : 6813cd2a4c0b3ef460d43a5dcc21c8220702cd08
2013-04-23 14:24:26 -07:00
Jeff Gilbert
5f91aeadc3 Bug 822431 - Use MOZ_UNLIKELY in MOZ_ASSERT. r=waldo 2013-04-19 16:20:35 -07:00
Ehsan Akhgari
8b9a514d5f Bug 863884 - Prepare WeakPtr to support a thread-safe variant; r=Waldo 2013-04-19 17:59:01 -04:00
Bill McCloskey
1c9af5c86d Bug 863116 - MOZ_ALWAYS_INLINE should not inline in debug builds (r=Waldo) 2013-04-19 10:55:34 -07:00
Joshua Cranmer
b721b5a37b Bug 856108 - Port static analyses to clang, part 1: stack-class. r=ehsan 2013-04-11 22:20:02 -05:00
Chris Peterson
992d78fc81 Bug 798172 - Apple's default clang 4.2 does not have __builtin_bswap16(). r=Waldo 2013-04-03 23:40:39 -07:00
Nathan Froyd
920087ef25 Bug 798172 - part 3 - convert SHA1.cpp to use Endian.h; r=Waldo 2013-01-30 16:47:00 -05:00
Nathan Froyd
7182225404 Bug 798172 - part 2 - add tests for mfbt/Endian.h; r=Waldo 2013-01-30 16:46:45 -05:00
Nathan Froyd
e168c4f292 Bug 798172 - part 1 - add mfbt/Endian.h; r=Waldo 2013-01-30 16:45:39 -05:00
Nathan Froyd
2b1852c15c Bug 853646 - part 1 - add mozilla::IsIntegral to TypeTraits.h; r=Waldo 2013-04-02 11:49:58 -04:00
Nathan Froyd
b93bdbae87 Bug 853646 - part 0 - add mozilla::Remove{Const,Volatile,CV} to TypeTraits.h; r=Waldo 2013-04-02 11:49:26 -04:00
Ehsan Akhgari
7eba4d3dbb Follow-up to bug 857790 - Undo the unintentional change to PodOperations.h 2013-04-03 18:59:24 -04:00
Ehsan Akhgari
425c80f927 Bug 857790 - Convert AudioParam time values to ticks relative to the source stream, not the destination stream; r=roc 2013-04-03 17:28:49 -04:00
Jeff Walden
6dc883dea3 Bug 856850 - Implement a PodOperations.h header that includes all the Pod* functions currently in jsutil.h. r=Ms2ger 2013-04-01 22:43:19 -07:00
Kyle Machulis
5aa83c3e11 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00