Emanuel Hoogeveen
|
c1374919d0
|
Bug 886128 - Fix various clang warnings and some potential bugs in nonstandard configurations. r=nnethercote,terrence.
--HG--
extra : rebase_source : 0d833ecc9879f5d9fd0a28f9b4eca7793d01aa40
|
2013-06-24 21:32:05 -07:00 |
Catalin Iacob
|
0990f16fa9
|
Bug 798914 (part 1) - Introduce mozilla::MallocSizeOf in mfbt. r=Waldo.
--HG--
extra : rebase_source : 45cb28264b1aa3fe9adc9bdc9ed73bead4332af6
|
2013-06-23 12:57:47 +02:00 |
Brian O'Keefe
|
11bcc1cd9e
|
Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1); r=mshal
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
|
2013-06-17 15:21:01 -04:00 |
Jeff Gilbert
|
3049ca7c76
|
Bug 881980 - Allow casting CheckedInts to other CheckedInt types. - r=bjacob,waldo
|
2013-06-14 15:19:40 -07:00 |
Jeff Gilbert
|
75ab2ff473
|
Bug 874764 - Add CheckedInt support for operator%. - r=bjacob,waldo
|
2013-06-14 15:19:30 -07:00 |
Justin Lebar
|
532a674922
|
No bug - Fix typo in comment in mfbt/HashFunctions.h. DONTBUILD
|
2013-06-14 11:17:01 -07:00 |
Jeff Walden
|
3e42b95bec
|
Bug 798179 - Rewrite ToIntWidth to more simply act upon the actual bits of the IEEE-754 representation. r=froydnj
--HG--
extra : rebase_source : fb2da4e55b258b6b62c1c9449447fccff8c2012d
|
2013-06-07 13:22:45 -07:00 |
Jeff Walden
|
d4e61d152b
|
Rename a method from 'check' to 'checkBounds' to avoid colliding with a 'check' macro in an OS X system header. (No, really.) Noticed while tryservering patches for bug 798179, r=rage
--HG--
extra : rebase_source : 3f9323afa6e80962ede30d1b953b95f3d363ccd0
|
2013-06-10 15:31:37 -07:00 |
Jeff Walden
|
6249325181
|
Bug 798179 - Implement mozilla::MakeUnsigned. r=froydnj
--HG--
extra : rebase_source : fdd1fe8841d1bc42c1758cd4d477969b3f382b30
|
2013-03-05 15:44:02 -08:00 |
Jeff Walden
|
ccd085af07
|
Bug 798179 - Implement mozilla::MakeSigned. r=froydnj
--HG--
extra : rebase_source : 357bf046219e37959d66fde6b2ad2b7f5746960f
|
2013-03-05 15:44:02 -08:00 |
Jeff Walden
|
38cfd84ad8
|
Bug 798179 - Implement To BitwiseCast<To>(From), abstracting the treatment of a value's bits as being of another type. r=froydnj
--HG--
extra : rebase_source : e6c57c10f7035b2654eafdd5fa2b3c5d8882f282
|
2013-06-06 18:47:51 -07:00 |
Timothy B. Terriberry
|
a5f847a092
|
Bug 881163 - Require gcc 4.5.2 for C++11 atomics, r=froydnj
|
2013-06-10 09:17:00 -07:00 |
Karl Tomlinson
|
16178a830e
|
b=880492 use GCC's typeof when decltype is not available r=Waldo
--HG--
extra : transplant_source : %F89%13%B2%E9%C7%99C%82%0D%E2C%2C%5E%A8%06Uo%B6%9A
|
2013-06-10 12:37:16 +12:00 |
Landry Breuil
|
fae08ebf77
|
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
|
443c507139
|
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
|
1fdaad701e
|
Bug 678037 - Add (disabled) ability to parse script bytecode lazily, r=luke.
|
2013-05-30 06:29:56 -06:00 |
Joshua Cranmer
|
b88d6bba0e
|
Bug 876701 - Static analysis failure in nsMathMLsemanticsFrame.h, r=karlt
|
2013-05-28 22:20:44 -05:00 |
Justin Lebar
|
7729e7ff63
|
Bug 876691 - Unbreak mfbt/Atomics.h for Windows x64. r=me
|
2013-05-28 15:26:25 -04:00 |
Joshua Cranmer
|
f9295075bf
|
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
|
6a948c71c1
|
Bug 868285 - Fix static checking builds, part 1: infer MOZ_STACK_CLASS. r=bsmedberg
|
2013-05-27 16:04:18 -05:00 |
Justin Lebar
|
c002d5a3a3
|
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
|
d0980f2231
|
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
|
102c0879dc
|
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
|
32f20f1c9f
|
Bug 864035 - Add an atomic RefCounted and WeakPtr implementation. r=Waldo
|
2013-05-18 09:52:53 +02:00 |
Nathan Froyd
|
a183814740
|
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
|
58d13e374c
|
Bug 732043 - part 1 - add mfbt/Atomics.h; r=Waldo; original-author=jcranmer
|
2013-04-22 14:12:03 -04:00 |
Mats Palmgren
|
f39bc082e5
|
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
|
7ceff1cbc9
|
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
|
3701ad32bf
|
Bug 869194 - CheckedInt should consistently reject unsupported types - r=Waldo
|
2013-05-08 17:25:15 -04:00 |
Benoit Jacob
|
b6ecd61d8f
|
Bug 869685 - Reintroduce long long support in CheckedInt - r=Waldo
|
2013-05-08 17:25:03 -04:00 |
Jeff Walden
|
681ef17caa
|
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
|
cd828216f9
|
Back out cff7378485bc (bug 869238), Windows bustage (at least). r=redness
|
2013-05-07 13:45:43 -07:00 |
Jeff Walden
|
e416b6c6dc
|
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
|
a72cd1a4d3
|
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
|
222fa50b5a
|
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
|
32b7fd0adb
|
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
|
50d06d14f4
|
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
|
72b8b5ccf3
|
Bug 853525, part 8 - Enable building of mfbt/decimal. r=Waldo
|
2013-05-06 00:23:17 +01:00 |
Jonathan Watt
|
ac4a69d01d
|
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
|
fc95412fe0
|
Bug 854531, part 6 - Add MFBT_API markers to Decimal methods. r=Waldo
|
2013-05-06 00:23:17 +01:00 |
Jonathan Watt
|
75bf9552df
|
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
|
e786fa472d
|
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
|
9c225c67e3
|
Bug 854531, part 3 - Fix bugs in Decimal::floor() and Decimal::ceiling(). r=Waldo
|
2013-05-06 00:23:16 +01:00 |
Jonathan Watt
|
947c39fa22
|
Bug 854531, part 2 - Add update.sh script to mfbt/decimal/. r=Waldo
|
2013-05-06 00:23:15 +01:00 |
Jonathan Watt
|
d429bd165f
|
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
|
90ce4b84a3
|
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
|
f6494f1354
|
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
|
9a504ab17c
|
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
|
96f6c6e769
|
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
|
4cef91ed01
|
Bug 822431 - Use MOZ_UNLIKELY in MOZ_ASSERT. r=waldo
|
2013-04-19 16:20:35 -07:00 |
Ehsan Akhgari
|
16e22cc0af
|
Bug 863884 - Prepare WeakPtr to support a thread-safe variant; r=Waldo
|
2013-04-19 17:59:01 -04:00 |
Bill McCloskey
|
52b75b6ca8
|
Bug 863116 - MOZ_ALWAYS_INLINE should not inline in debug builds (r=Waldo)
|
2013-04-19 10:55:34 -07:00 |
Joshua Cranmer
|
be07522e81
|
Bug 856108 - Port static analyses to clang, part 1: stack-class. r=ehsan
|
2013-04-11 22:20:02 -05:00 |
Chris Peterson
|
36cca5d02e
|
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
|
e15f39cb8c
|
Bug 798172 - part 3 - convert SHA1.cpp to use Endian.h; r=Waldo
|
2013-01-30 16:47:00 -05:00 |
Nathan Froyd
|
7ef4ee80d8
|
Bug 798172 - part 2 - add tests for mfbt/Endian.h; r=Waldo
|
2013-01-30 16:46:45 -05:00 |
Nathan Froyd
|
bcb463b2ef
|
Bug 798172 - part 1 - add mfbt/Endian.h; r=Waldo
|
2013-01-30 16:45:39 -05:00 |
Nathan Froyd
|
94ac509a99
|
Bug 853646 - part 1 - add mozilla::IsIntegral to TypeTraits.h; r=Waldo
|
2013-04-02 11:49:58 -04:00 |
Nathan Froyd
|
6713a93963
|
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
|
35de15c4b7
|
Follow-up to bug 857790 - Undo the unintentional change to PodOperations.h
|
2013-04-03 18:59:24 -04:00 |
Ehsan Akhgari
|
d7c5934da8
|
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
|
cbb9822c34
|
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
|
72a717a860
|
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
|
2013-04-01 11:36:59 -07:00 |
Kyle Machulis
|
43628a7867
|
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
|
334c0800cf
|
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 |
Jeff Walden
|
06030702e3
|
Add [specref] references to all the section-comments in TypeTraits.h, to further ease reading/searching. Followup to bug 853988, suggested by froydnj
--HG--
extra : rebase_source : 896b6abb3430b890a8de699fc044d0cd0624936a
|
2013-03-25 12:05:19 -07:00 |
Jeff Walden
|
c7a586f0b2
|
Bug 853988 - Replace uses of Conditional<..., TrueType, FalseType>::Type with IntegralConstant<bool, ...>. r=froydnj
--HG--
extra : rebase_source : 1c2deaac32b2ddefa67bb935f961a182aad31ad2
|
2013-03-25 11:11:55 -07:00 |
Jeff Walden
|
9aa7c64cc8
|
Bug 853988 - Move IsPod to the right place. r=froydnj
--HG--
extra : rebase_source : 6ea8970965e953b5f372385f933bbc796bfc2015
|
2013-03-22 00:22:05 -07:00 |
Jeff Walden
|
82558a689d
|
Bug 853988 - Move Conditional to the right place. r=froydnj
--HG--
extra : rebase_source : e0d78a6fe6a07f07dfa054dda2fc74edffe0374b
|
2013-03-22 00:20:41 -07:00 |
Jeff Walden
|
1293137251
|
Bug 853988 - Move IsConvertible to the right place. r=froydnj
--HG--
extra : rebase_source : dc7d5a6e21e098a7826230a28f70d6305fa2103f
|
2013-03-22 00:18:58 -07:00 |
Jeff Walden
|
bdeb756e72
|
Bug 853988 - Move IsPointer and IsSame to the right locations. r=froydnj
--HG--
extra : rebase_source : d945be1ef45f3f6d6a1bed67d4e2c240c882d1ef
|
2013-03-22 00:17:59 -07:00 |
Jeff Walden
|
62bb869e9a
|
Bug 853988 - Add C++11 section references to TypeTraits.h. r=froydnj
--HG--
extra : rebase_source : bd98561dd154b19460efaca16debcfc8082804ec
|
2013-03-22 00:14:38 -07:00 |
Joshua Cranmer
|
5765d5aec4
|
Bug 767563 - Add a clang static checker, part 3: Move the MOZ_MUST_OVERRIDE macro to MFBT. r=Waldo
|
2013-03-23 21:14:43 -05:00 |
Jeff Walden
|
f2bef86c4d
|
Bug 851237 - Mark the static-assert typedef with an unused attribute so it doesn't trigger compiler warnings. r=dholbert
--HG--
extra : rebase_source : 20ad6cd988f2cf5ddedfbb7dd99e368b96c2242a
|
2013-03-21 18:26:06 -07:00 |
Mike Shal
|
7ecea60097
|
Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps
|
2013-03-19 11:47:00 -07:00 |
Jeff Walden
|
c639434e0d
|
Bug 847480 - Remove unused (verified by manual inspection and try) DeprecatedAbs overloads so it's harder for new uses to pop up. r=Ms2ger
--HG--
extra : rebase_source : dff4d6d2c7006fbc296c9ae0b08d3e66219f7846
|
2013-03-09 14:20:14 -08:00 |
Oleg Romashin
|
b5b1556951
|
Bug 848611 - MathAlgorithms.h:116: error: 'fabsl' was not declared in this scope. r=Waldo
|
2013-03-14 00:16:55 -07:00 |
Jeff Walden
|
f915a6ceec
|
Bug 847480 - Convert DeprecatedAbs overloads taking floating point (except for nscoord uses, when nscoord is optionally a floating point type) to Abs. r=Ms2ger
|
2013-03-05 15:43:44 -08:00 |
Jeff Walden
|
c3efd262c7
|
Bug 847480 - Make mozilla::Abs return the unsigned type, for the integral types. r=bjacob
|
2013-03-05 15:43:38 -08:00 |
Jeff Walden
|
cb19ca39bd
|
Bug 847480 - Copy the existing mozilla::Abs as mozilla::DeprecatedAbs, to allow mozilla::Abs to return an unsigned type when possible. r=Ms2ger
|
2013-03-05 15:43:23 -08:00 |
Benoit Jacob
|
cbd3607515
|
Bug 849667 - Fix/simplify CheckedInt's use-outside-of-MFBT setup - r=Waldo
|
2013-03-12 15:40:29 -04:00 |
Jeff Walden
|
36bb5830c0
|
Bug 849666 - Make CheckedInt<T>::operator-() not depend on undefined behavior when negating minimum signed values, and add a test for this. Patch is something of a tag-team effort by bjacob and me. r=bjacob
|
2013-03-11 18:45:22 -07:00 |
Jeff Walden
|
f22ad604ac
|
Bug 847521 - Allow CheckedInt<signed char> in addition to char/unsigned char. char != signed char (but is guaranteed to have the same representation as either signed char or unsigned char, for backwards-compatibility reasons), so we have to handle signed char as a third character type. r=bjacob
--HG--
rename : content/html/content/src/HTMLObjectElement.h => content/html/content/src/HTMLObjectElement.cpp
extra : rebase_source : d07d72b78fcbae31483d726703b3605561295684
|
2013-03-01 21:49:25 -08:00 |
Jeff Walden
|
1871e9f3f8
|
Bug 835542 - Implement mozilla::Abs. r=Ms2ger
--HG--
extra : rebase_source : a3e62ff76365d27cc4cb10e4fee942ddb8b10b79
|
2013-02-15 19:55:36 -08:00 |
Jeff Walden
|
793d063229
|
Bug 835542 - Add an IntegralConstant helper to TypeTraits.h, and use it where the spec says we should be using it. r=bjacob
--HG--
extra : rebase_source : a1272a85489771ce1cbe5c3aaa678b5b04b49226
|
2012-12-16 18:20:17 -05:00 |
Gregory Szorc
|
282edab58a
|
Bug 784841 - Part 18c: Convert /memory, /mfbt, /mozglue; r=ted f=Ms2ger
|
2013-02-25 12:47:17 -08:00 |
Nicholas Nethercote
|
d4951cc6b8
|
Bug 563195: Avoid triggering -Wshadow warnings in mfbt/. r=Waldo
|
2013-02-17 22:56:32 -08:00 |
Christian Holler
|
8080e238c0
|
Bug 838557 - Create a common interface for ASan/Valgrind functions. r=mats,bhackett
|
2013-02-15 00:50:11 +01:00 |
Rafael Ávila de Espíndola
|
a8f5bd4bfb
|
Bug 839338 - ASan alloc/dealloc mismatch in _M_create_nodes/_M_destroy_nodes. r=waldo.
|
2013-02-12 08:30:16 -05:00 |
Christian Holler
|
3e91e9050d
|
No bug - Include missing header in mfbt/ASan.h. r=me
|
2013-02-10 13:11:04 +01:00 |
Jeff Walden
|
39b56d89e1
|
Rename the |static const bool result| member of IsSame, IsPod, and IsPointer to |value| to be consistent with every other type trait. I have no idea how I managed to consistently not notice this during review. Followup to bug 723228, r=typo
|
2013-02-08 22:59:54 -08:00 |
Razvan Cojocaru
|
c8372e3fae
|
Bug 723228 - nsTArray::AssignRange should use memcpy when possible. r=jlebar for the XPCOM changes, r=jwalden for js/mfbt changes
--HG--
extra : rebase_source : 2442a0d29ae0fa7edd0312d980cbc270a4f33134
|
2013-02-08 13:18:49 -08:00 |
Christian Holler
|
27cd3a543c
|
Bug 838150 - Add ASan and Valgrind annotations to JS LifoAlloc. r=bhackett
|
2013-02-06 14:30:01 +01:00 |
Nicholas Cameron
|
c08ac751c5
|
Bug 837297; change RefCounted::dead to a define; r=waldo
|
2013-02-05 16:53:57 +13:00 |
Chris Peterson
|
e171e76319
|
Bug 833254 - Fix MFBT's gcc version checks. r=waldo
|
2013-01-21 19:42:15 -08:00 |
Jeff Walden
|
d6e63dc265
|
Bug 836438 - Always implement nsresult using an unsigned 32-bit integer type. r=ehsan
--HG--
extra : rebase_source : f9d9d7772decee36a27ef09eb018b9912bf7bf6b
|
2013-01-30 15:32:44 -08:00 |
Mike Hommey
|
66cbfc73f8
|
Bug 834769 - Change the "destroyed" state value for RefCounted. r=Waldo
|
2013-01-29 09:35:16 +01:00 |
Jeff Walden
|
be633156a5
|
Bug 835648 - Move typed enum support to a new header. r=Ms2ger
|
2013-01-28 16:33:17 -08:00 |
Ryan VanderMeulen
|
11e2a8437f
|
Backed out changeset 3eb633a97c1f (bug 835648) for suspected Windows orange on a CLOSED TREE.
|
2013-01-29 19:01:45 -05:00 |
Jeff Walden
|
88df194b4b
|
Bug 835648 - Move typed enum support to a new header. r=Ms2ger
--HG--
extra : rebase_source : 8c912fba889c1c5435e3619714071502fbfb30a3
|
2013-01-28 16:33:17 -08:00 |