Mike Hommey
e55ecf1802
Bug 830315 - Don't enable MOZ_FINAL and MOZ_DELETE on clang unless compiling as C++11. r=Waldo
2013-01-15 10:12:49 +01:00
Ehsan Akhgari
778065cc9c
Rewrite RangedPtr's constructor accepting a C-style array in C++, no bug, rs=Waldo
...
This will let the compiler correctly deduce N without making the
caller explicitly pass it in.
2013-01-14 19:48:42 -05:00
Terrence Cole
7845a8d5e0
Bug 811060 - Implement mozilla::Range; r=Waldo
...
--HG--
extra : rebase_source : a303294de705fca72eb31f7b5c7db787d0bc7260
2012-11-12 16:37:33 -08:00
Chris Peterson
d2b4e410e5
Bug 785918 - Part 1: Replace PR_ARRAY_SIZE() with mozilla::ArrayLength() and MOZ_ARRAY_LENGTH(). r=ehsan
2013-01-05 23:37:25 -08:00
Terrence Cole
f79ae9115b
Bug 799252 - Remove SkipRoots in jsstr.cpp; r=Waldo
2012-10-16 16:30:02 -07:00
Chris Peterson
118bd35c02
Bug 826144 - Add MOZ_UTF16_HELPER() intermediary macro to handle UTF-16 stringification and concatenation correctly. r=waldo
...
--HG--
extra : rebase_source : 4c68df10e6e59af34db1e325232d4671492cc72f
2013-01-02 14:49:09 -08:00
Masatoshi Kimura
96acfb4d7f
Bug 823917 - Use C++11 final on MSVC11. r=waldo
2013-01-03 04:47:26 +09:00
Chris Peterson
01106299bb
Bug 796948 - Create Char16.h header file for char16_t type. r=waldo
2012-12-12 00:34:20 -08:00
Trevor Saunders
6380733341
bug 822717 - remove checks for old gcc r=glandium
2012-12-18 13:22:28 -05:00
Jeff Walden
f5381179ab
Bug 756709 - Make ThreadLocal::set crash on failure (which really can only happen if per-thread memory for the TLS entry couldn't be allocated, which should be really rare). r=Ms2ger
...
--HG--
extra : rebase_source : ecda463195c9b67ef6b7d02ef32ed0aa56bc11bc
2012-12-17 15:40:50 -05:00
Jeff Muizelaar
e3574efbe9
Bug 821804 - Allow unitialized WeakPtrs to work properly. r=Waldo
...
This ensures that the WeakPtr always points at a valid object and avoids the
need to test for that during operations.
2012-12-18 11:37:14 -05:00
Jeff Walden
e0523203c9
Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger
2012-12-14 18:58:45 -05:00
Chris Peterson
3b3e24d4fd
Bug 818941 - Fix misspelling of __GXX_EXPERIMENTAL_CXX0X__ macro. r=ehsan
2012-12-06 00:05:26 -08:00
Brian Smith
a3848f342f
Bug 812531: Make MOZ_TYPE_SPECIFIC_SCOPED_POINTER_TEMPLATE comply with two-phase template name lookup rules, as clang requires, r=khuey
...
--HG--
extra : rebase_source : 5c4c8c0ff4f2dfcb4d83e63376036a5bf45ab0ab
2012-11-15 17:02:11 -08:00
Kyle Huey
2776d5fcb3
Bug 812824: Use a clean struct for inheritance on root nodes. r=dbaron,Waldo
2012-11-28 13:21:36 -08:00
Anthony Jones
c9c9d486fa
Bug 793013 - Add EnumSet to replace 1 << n bit type bitfields. r=Waldo
2012-11-06 18:23:13 -05:00
Ehsan Akhgari
68ab5dae8f
Bug 808876 - Part 0: Only allow the usage of enum classes in gcc 4.5 and newer; r=bzbarsky
...
Older gccs such as gcc 4.4 cannot handle comparison operators taking
arguments of the enum class type, which would cause valid C++ code
to not compile. So we should just use our fallback enum class
emulation on those platforms.
--HG--
extra : rebase_source : 3cd2fd2faabc36c767e76442efabf55f8a54c83f
2012-11-06 09:38:32 -05:00
Jeff Walden
de87897350
Add more thisDuringConstruction() use in LinkedList to silence warnings. No bug, r=lumpy
...
--HG--
extra : rebase_source : 7dfb17c38e4efd4ea4bdc48326e792814b990658
2012-11-05 13:36:50 -08:00
Jeff Walden
1677629f44
Bug 803439 - Add removeFrom() that takes a list and asserts the element is initially present in it. r=jlebar
...
--HG--
extra : rebase_source : c2aad35774a71167f97f940fb416735862b78950
2012-10-23 17:43:23 -07:00
Benoit Jacob
70bb650cf8
Bug 784309 - CheckedInt.h Intel C++ compilation issue - r=Ms2ger
2012-11-02 11:30:40 -04:00
Rafael Ávila de Espíndola
7a1ec44b6c
Bug 807112 - change MOZ_EXPORT_API and MOZ_IMPORT_API to not take the type. r=Waldo.
2012-10-31 18:18:12 -04:00
Justin Lebar
9d564a00be
Bug 803688 - Re-land backed out part of bug 803688 now that we have bug 805207 fixed.
...
This changeset reverts the partial-backout cset 5c82f5a5e90d, taking us back to the state we were in at bug 803688's initial landing, rev 592c3465a742.
2012-10-31 13:30:35 -04:00
Rafael Ávila de Espíndola
b32b2a9017
Bug 805416 - refactor macros to avoid the need for empty macro arguments. r=Waldo.
...
--HG--
extra : rebase_source : 86242ff253d464870cdcc321f9b1f6f08460b839
2012-10-30 16:12:22 -04:00
Rafael Ávila de Espíndola
9a009da19f
Bug 806538 - Update double-conversion and document the version we are at. r=Waldo.
...
--HG--
extra : rebase_source : 5394aab0cb622ad3723ca01a91712ce7cc9ae145
2012-10-30 15:30:08 -04:00
Ed Morley
83cd16dcd5
Backout fdb7c9649a07 (bug 805967), 72003517a631 (bug 806538), 354250ed1e72 (bug 770538), ea6edd3749ce (bug 770538) for bustage on a CLOSED TREE
2012-10-30 17:56:20 +00:00
Rafael Ávila de Espíndola
300fbd1e99
Bug 806538 - Update double-conversion and document the version we are at. r=Waldo.
...
--HG--
extra : rebase_source : 7e7ec80943329342c2305370dd0fe6bde46433a4
2012-10-30 11:48:56 -04:00
Jacek Caban
25b9cf9ef0
Bug 805773 - TestSHA1.exe fails to link on mingw r=espindola
2012-10-29 10:21:33 +01:00
Jeff Muizelaar
aab771fd1a
Bug 805951. Fix __GNU_MINOR__ typo in NullPtr.h
...
Pointed out by Chris Peterson.
2012-10-26 16:29:55 -04:00
Ehsan Akhgari
766618160a
Add a comment about MOZ_BEGIN_ENUM_CLASS/MOZ_END_ENUM_CLASS to say that they should not be used for nested enums, no bug
...
DONTBUILD
2012-10-26 13:56:54 -04:00
Ryan VanderMeulen
18ee50c014
Partial backout of bug 803688 to fix Win7 debug xpcshell perma-purple. r=jlebar
2012-10-24 22:46:14 -04:00
Rafael Ávila de Espíndola
7df8973d95
Bug 777122 - Add telemetry reporting of late writes. r=jlebar.
2012-10-24 15:42:54 -04:00
Rafael Ávila de Espíndola
151dedf22c
Bug 805096 - Better explain why we use __attribute__((weak)). r=glandium.
...
--HG--
extra : rebase_source : 8db4439601c47c3f969d11694e5859dc44ca68d0
2012-10-24 14:33:45 -04:00
Justin Lebar
90a15960ba
Bug 803688 - Remove LinkedListElements from their list when they're destructed, and assert that a LinkedList is empty when it's destructed. r=waldo
2012-10-24 12:40:35 -04:00
Ehsan Akhgari
e801a412d2
Bug 802806 followup - fix the comment
2012-10-22 17:05:07 -04:00
Justin Lebar
bff74aa53a
Bug 803692 - Make SHA1Sum::update() take a void* instead of a uint8_t*. r=waldo
2012-10-22 16:32:34 -04:00
Jeff Walden
114ec3ffa1
Give LinkedListElement a thisDuringConstruction() method, and use it in member initialization to silence an MSVC compiler warning. No bug, r=sparky
...
--HG--
extra : rebase_source : b0859f6d169255196cb59d40504ed08b1074e9a4
2012-10-18 18:39:54 -07:00
Ehsan Akhgari
0f4db0eb2e
Bug 802806 - Make mfbt's IsBaseOf work with multiple inheritance; r=Waldo
2012-10-17 17:37:53 -04:00
Joe Drew
c080785c79
Bug 801120 - Support T* WeakPtr<T>::get(). r=Ms2ger,ehsan
...
--HG--
extra : rebase_source : 662ef6f39966956be5588d9bd7508dbe59a2c537
2012-10-12 18:17:58 -04:00
Jeff Walden
5bd91d02a4
Minor style nits in WeakPtr code forgotten by me when reviewing. No bug, r=sparky
...
--HG--
extra : rebase_source : e8b8071218c9280e970ba4525a3e8ebab729d4eb
2012-10-08 16:03:52 -07:00
Jeff Walden
bb0c709053
Move TestBloomFilter out of XPCOM and into mfbt/tests, now that it exists. No bug, r=testingonlychange
...
--HG--
extra : rebase_source : 85a2a56bcc02bf122ee7fd21d16dffd534d1c98d
2012-10-03 17:09:59 -07:00
Jeff Walden
8d5bc7cf4b
Bug 798634 - Style patrol on mfbt/SHA1.*. r=espindola
...
--HG--
extra : rebase_source : 7282b80ebe5f23b669a5f3142f3a6e50b6776789
2012-08-28 17:27:05 -07:00
Terrence Cole
063f398bc1
Bug 798624 - Specialize low-level character access to JSStableString; r=luke, rs=Waldo
...
Implements JSStableString::chars() and pushes StableCharPtr into the interface
at several key choke-points. This will solidly enforce the requirement that we
have uninlined jschar*s in places that we may GC with a jschar* on the stack.
--HG--
extra : rebase_source : 122785b474af371ed22d43a6bfcb600c05440405
2012-10-08 15:04:36 -07:00
Terrence Cole
b0aff8fadb
Backout 754a1efb5b37 for bustage on a CLOSED TREE
2012-10-08 15:42:39 -07:00
Terrence Cole
2eb31b77bd
Bug 798624 - Specialize low-level character access to JSStableString; r=luke, rs=Waldo
...
Implements JSStableString::chars() and pushes StableCharPtr into the interface
at several key choke-points. This will solidly enforce the requirement that we
have uninlined jschar*s in places that we may GC with a jschar* on the stack.
--HG--
rename : content/html/content/test/test_bug797113.html => content/html/content/test/test_bug780993.html
extra : rebase_source : 19b24e3decfc37c7387ea941233aec8239550927
2012-10-08 15:04:36 -07:00
Jeff Muizelaar
1e809c4aa8
Bug 792954. Add a WeakPtr implementation to use instead of nsISupportsWeakReference. r=joe,ehsan,Waldo
...
This patch also replaces the usage of nsISupportsWeakReference in RasterImage as an example.
--HG--
extra : rebase_source : ac6a039dcc3227a04ac4c2221f38856bb308c695
2012-10-04 15:45:07 -04:00
Brian Smith
4d35e2a589
Bug 767240 - Make it easier to create type-specific scoped pointers (TYPE_SPECIFIC_SCOPED_POINTER_TEMPLATE), r=jwalden
...
--HG--
extra : rebase_source : 845b429d56ee1abb296925624928c355451edc3c
2012-07-24 15:36:06 -07:00
Ms2ger
8b00ef4f80
Bug 792689 - Add some double negations to the macros in Likely.h; r=Waldo
2012-09-20 13:17:05 +02:00
Kyle Huey
f4a7f15ceb
Try backing out bug 792689 because it's the only non-merge cset in the MaxHeap regression range for both m-i and m-c.
2012-09-20 12:42:13 -07:00
Ms2ger
280ff59cf2
Bug 792689 - Add some double negations to the macros in Likely.h; r=Waldo
2012-09-20 13:17:05 +02:00
Jeff Muizelaar
00587c07b1
Bug 782647. Move the nullptr workaround macros to MFBT so that it can be shared. r=waldo
...
This also changes the header to use compiler detection instead of a
configure test. This makes the header more portable because
it doesn't require the configure infrastructure.
2012-09-01 16:16:17 -04:00
Raphael Catolino
e0f22a3469
Bug 781313 - Move the euclidGcd and lcm algos form nsStyleAnimation.cpp to mfbt/MathAlgorithms.h r=dbaron,luke
2012-08-26 22:58:23 -03:00
Ehsan Akhgari
8c296bbcd4
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
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 "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Rafael Ávila de Espíndola
9eace88081
Bug 784381 - Build bustage for comm-central - SHA1.h - Cannot open include file: 'stdint.h. r=ms2ger.
2012-08-21 12:43:33 -04:00
Rafael Ávila de Espíndola
62a0f3d446
Bug 781627 - Copy security/nss/lib/freebl/sha_fast.c to mfbt. r=jlebar.
2012-08-20 15:01:55 -04:00
Aryeh Gregor
75a8b11012
Bug 782919 - Add zero-arg constructor to enum class workaround; r=ehsan
2012-08-16 14:58:12 +03:00
Ed Morley
7858e8e170
Backout 19ec214f806c (bug 782916), 88b802832f52 (bug 782919), f16429aa2210 (bug 780474) for Android build failures
2012-08-17 12:25:12 +01:00
Aryeh Gregor
5b014008d1
Bug 782919 - Add zero-arg constructor to enum class workaround; r=ehsan
2012-08-16 14:58:12 +03:00
Aryeh Gregor
51bc760936
Bug 751554 part 2 - Support strongly-typed enums in MFBT; r=ehsan
2012-08-01 15:19:00 +03:00
Aryeh Gregor
83129c8f26
Bug 751554 part 1 - Support explicit underlying enum types in MFBT; r=cjones
2012-08-05 12:11:24 +03:00
Nicholas Nethercote
015b5205c6
Bug 647367 - Sequester jshash.{h,cpp} in js/jsd/ (attempt 2). r=luke.
...
--HG--
rename : js/src/jshash.cpp => js/jsd/jshash.cpp
rename : js/src/jshash.h => js/jsd/jshash.h
2012-07-18 17:38:10 -07:00
Sergey Glushchenko
cc3eef8d15
Bug 776429: Unify scattered M_PI definitions into mfbt/Constants.h r=dRdR
2012-08-06 13:32:11 -07:00
Mike Hommey
c1b35e7b2a
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Benoit Jacob
15b31c23df
Bug 768538 - CheckedInt: HasSignBit should return bool - r=Ms2ger
2012-07-08 11:44:22 -04:00
Benoit Jacob
8c74d60e26
Bug 768538 - CheckedInt: code simplification; remove the separate operator/ implementation - r=Ms2ger
2012-07-08 11:25:24 -04:00
Benoit Jacob
48592034dc
Bug 768570 - Fix all the warnings in CheckedInt - r=jwalden
2012-07-05 10:13:31 -04:00
Benoit Jacob
184c216c48
Bug 768538 - 2/2 - Fix undefined behavior in the CheckedInt unit test - r=jwalden
2012-07-05 10:13:23 -04:00
Benoit Jacob
457f2bf3b9
Bug 768538 - 1/2 - Fix undefined behavior in CheckedInt - r=jwalden
2012-07-05 10:13:13 -04:00
Jeff Walden
1128bafac5
Bug 766347 - Implement mozilla::IsConvertible to detect when a value of one type will convert to a value of another type. r=luke
...
--HG--
extra : rebase_source : d25c1b84dfc928a0bc4dcfb43e31b6035882849e
2012-06-19 13:55:23 -07:00
Jeff Walden
d29b566ac3
Bug 766347 - Implement a mozilla::EnableIf template struct for SFINAE capabilities. r=luke
...
--HG--
extra : rebase_source : 06807195217a967142ab7d81ac8b120f2b0e02c7
2012-06-18 19:06:33 -07:00
Jeff Walden
f6138fbe65
Eliminate Assertions.h's dependency on Types.h, for a narrower interface and minimized dependencies. No bug, r=Ms2ger
...
--HG--
extra : rebase_source : b5c79dc444ef7277f2624ffe2407bca25a1054cd
2012-06-11 16:16:46 -07:00
Jeff Walden
0e736a941f
Bug 760995 - Move Scoped.h into the mozilla namespace. r=sparky
...
--HG--
extra : rebase_source : 534c787c834fc1d7174b51d8fb8f13ec339c0a58
2012-06-11 16:16:47 -07:00
Jeff Walden
602c48c764
Bug 426163 - Make MOZ_CRASH() use TerminateProcess on Windows rather than exit so that destructors and atexit handlers aren't called. r=ted
...
--HG--
extra : rebase_source : 0e340516158d36931fd00824a6ff9e665a9f9354
2012-06-11 16:16:46 -07:00
Ed Morley
976e703db3
Backout 1c5a8d617bff (bug 765990), 617cb36ead59, b3067d05a76a (bug 760995), 79f9a61a1e43 (bug 426163) for bustage
2012-06-21 10:00:36 +01:00
Jeff Walden
c37e657ef7
Eliminate Assertions.h's dependency on Types.h, for a narrower interface and minimized dependencies. No bug, r=Ms2ger
...
--HG--
extra : rebase_source : 0d68ef6274ad697bf4ff49038ef19368174dad54
2012-06-11 16:16:46 -07:00
Jeff Walden
f1408aaee2
Bug 760995 - Move Scoped.h into the mozilla namespace. r=sparky
...
--HG--
extra : rebase_source : ea32c4240ea552c72ed16074c803927e638474dc
2012-06-11 16:16:47 -07:00
Jeff Walden
9383c3b0c7
Bug 426163 - Make MOZ_CRASH() use TerminateProcess on Windows rather than exit so that destructors and atexit handlers aren't called. r=ted
...
--HG--
extra : rebase_source : 631b1707f06852f4c47acbfb9c7401b22507267b
2012-06-11 16:16:46 -07:00
Jeff Walden
452db7706c
Bug 761859 - Reinstate a __debugbreak() at the start of MOZ_CRASH() on Windows so that deliberate crashes on Windows appear as breakpoints, not invalid writes. r=bsmedberg
2012-06-18 12:01:57 -07:00
Jeff Walden
fb7e6c0e93
Bug 763000 - Remove MOZ_Assert. r=Ms2ger, r=terrence, r=ted
2012-06-07 14:41:11 -07:00
Jeff Walden
56d89732b5
Fix a couple style nits missed during review. Followup to bug 616262, r=sparky
2012-06-14 17:55:11 -07:00
Mike Hommey
7d23ff076d
Bug 616262 - Add mozilla/TypeTraits.h with mozilla::Conditional and mozilla::IsBaseOf traits, similar to resp. C++11 std::conditional and std::is_base_of. r=Waldo
2012-06-14 08:20:47 +02:00
Jeff Walden
4a95d2f73e
Bug 761857 - Make MOZ_CRASH on Linux crash in such a way that an attached debugger will park on the line containing the assertion. r=ted
...
--HG--
extra : rebase_source : 0628998cb0e2eec047426375c971aac1a84ebed1
2012-06-05 16:49:19 -07:00
Jeff Walden
43b2c7abdd
Style patrol to make everything conform to mfbt/STYLE. No bug, r=sparky
2012-06-03 20:36:43 -07:00
Jeff Walden
2997d7619b
Remove some extraneous includes and a function, all added in bug 714260. They were initially necessary when that patch was written, but they became vestigial during rebasing prior to landing, and this disuse wasn't noticed til now. r=lumpy
2012-04-19 16:36:31 -07:00
Justin Lebar
9a14f9092a
Bug 758337 - Fix mistake in comment in mfbt/LinkedList.h. DONTBUILD
2012-06-01 10:32:14 -04:00
Ginn Chen
7fda715d03
Bug 758494 Make double conversion built with Solaris Studio compiler r=jwalden
2012-06-01 17:49:33 +08:00
Benoit Jacob
f88c920c2c
Bug 758396 - Let MFBT LinkedList allow const - r=jlebar
2012-05-29 14:44:31 -04:00
Rafael Ávila de Espíndola
cf3f87b0ac
Bug 759208 - CheckedInt.h depends on undefined value of signed arithmetic. r=bjacob.
2012-05-29 12:48:26 -04:00
Mike Hommey
6dfe5aecce
Bug 756965 - Allow mozilla::ThreadLocal to store integer types smaller than, or as large as, a pointer. r=Waldo
2012-05-22 08:43:55 +02:00
Mike Hommey
b119d9f76e
Bug 750620 - Declare double conversion correctness for more architectures. r=nfroyd
2012-05-22 08:38:44 +02:00
Gervase Markham
87620f5676
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Ehsan Akhgari
21db48ba20
Bug 753119 - Add ThreadLocal to mfbt - r=jwalden
...
... because nobody likes to use the NSPR TLS support.
2012-05-09 16:54:33 -04:00
Benoit Jacob
0afae2df4f
Bug 732875 - Further CheckedInt tweaks - r=Ms2ger,jwalden
2012-05-17 10:07:24 -04:00
Dão Gottwald
0a2cf5a8ce
Backed out changeset 45ef0e7b2426
2012-05-17 16:48:06 +02:00
Benoit Jacob
b7699a5247
Bug 732875 - Further CheckedInt tweaks - r=Ms2ger,jwalden
2012-05-17 10:07:24 -04:00
Benoit Jacob
6598b33e08
Bug 732875 - 8/8 - move CheckedInt to MFBT, enable unit tests in mfbt/tests - r=jwalden
...
--HG--
rename : xpcom/ds/CheckedInt.h => mfbt/CheckedInt.h
2012-05-14 15:50:20 -04:00
Ed Morley
d38b916352
Backout 345ae68f15f4, b3b40121ac8d, 0d18b7a246d7, 9dbb6064ab58, dee9d7fa8eb6, 63eec6bfa948, 323c6be7cfe8 & f4aac7523a48 (bug 732875) for compilation failures
2012-05-14 21:05:24 +01:00
Benoit Jacob
43d4449b09
Bug 732875 - 8/8 - move CheckedInt to MFBT, enable unit tests in mfbt/tests - r=jwalden
...
--HG--
rename : xpcom/ds/CheckedInt.h => mfbt/CheckedInt.h
2012-05-14 15:50:20 -04:00
Christian Holler
83eee27c9f
Bug 751195 - Mark GC function unsafe for AddressSanitizer, r=billm
2012-05-05 02:08:32 -04:00
Chris Peterson
40d1143245
Bug 751766 - Remove unused function MOZ_Crash. r=glandium
...
--HG--
extra : rebase_source : 8bf953755dab1c5429cd6b7e2ca5452ebab8dd8f
2012-05-03 16:43:51 -07:00
Christian Holler
3442e45421
Bug 751412 - Add missing buffer null-termination in CreateDecimalRepresentation, r=njn
2012-05-04 10:40:54 -04:00
Luke Wagner
b1d0aeeace
Bug 650353 - Implement Compartment-Per-Global in XPConnect. r=mrbkap
2012-05-03 09:10:12 +02:00
Jacek Caban
b251931c2b
Bug 745762 - double-conversion.h fails to compile on mingw r=jwalden
2012-04-27 11:40:05 +02:00
Jeff Walden
827586c908
Bug 714260 - Implement FloatingPoint.h to consolidate all IEEE-754 floating point operations in a single location. r=dmandelin for the js bits, r=Ms2ger for mfbt and the core bits
2012-01-23 03:43:16 -08:00
Nathan Froyd
ed45231365
Bug 614188 - Part 3: build double-conversion as a part of MFBT; r=Waldo
2012-04-09 12:05:11 -04:00
Nathan Froyd
cce7b763d1
Bug 614188 - Part 2: import double-conversion sources; r=Waldo
2012-03-19 12:22:32 -04:00
Nathan Froyd
8ee6bf571d
Bug 614188 - Part 1: setup mfbt/double-conversion; r=Waldo
2012-03-19 12:21:05 -04:00
Bas Schouten
88b755bca9
Bug 719776 - Part 2: Make MOZ_CRASH and MOZ_ASSERT expand inline. r=waldo
2012-04-12 02:03:07 +02:00
Phil Ringnalda
dc765d4953
Back out 4b82f26f8593:2fcf9cbedd48 (bug 743393, bug 719776) for bustage
2012-04-11 09:06:40 -07:00
Bas Schouten
4458bdfe56
Bug 719776 - Part 2: Inline MOZ_Assert and MOZ_Crash. r=waldo
2012-04-11 16:55:31 +02:00
Chris Peterson
c6278ed85f
Bug 743306 - Part 2: On Android, segfault in MOZ_Crash because SIGABRT is handled asynchronously. r=glandium
...
--HG--
extra : rebase_source : 46233676f73a5b8040f92ec251fe0ae3ecca9934
2012-04-09 12:45:25 -07:00
Chris Peterson
baad964bb9
Bug 743306 - Part 1: On Android, log MOZ_Assert messages to logcat because stderr is directed to /dev/null. r=glandium
...
--HG--
extra : rebase_source : 1dda421f84116784539d6ca65fb1d9092506b0bd
2012-04-09 12:45:17 -07:00
David Rajchenbach-Teller
dd15a3d55c
Bug 718938 - Add RAII helper to mfbt. r=waldo,luke,cjones
2012-04-06 11:16:33 +02:00
Jeff Walden
a08ecc1df8
Document ternary expression style and the else-after-return prohibition. No bug, rs=luke over IRC, DONTBUILD because this is modifying docs but touching no code
...
--HG--
extra : rebase_source : 0c11adc6052878710300eea87520345ca7e9143f
2012-03-29 16:03:32 -07:00
Jeff Walden
de380507b0
Document macro naming style and struct naming style in C-compatible code, where C++ namespaces can't be used to avoid name collisions. No bug, r=luke over IRC, DONTBUILD because this is modifying docs but touching no code
2012-03-28 15:42:40 -07:00
Justin Lebar
e5a97f380f
Bug 732820 - Part 1: Add clear() to LinkedList. r=waldo
...
--HG--
rename : js/src/vm/ArgumentsObject.cpp => js/src/jsfun.cpp
extra : rebase_source : 1cf48cb8f9764d4299b6f3320fd65b9bc3407de6
2012-03-15 16:30:41 -04:00
Jacek Caban
b75fc88fd1
Bug 735704 - RotateLeft32 conflicts with winnt.h macro r=Waldo
2012-03-15 13:43:28 +01:00
Boris Zbarsky
34e1783712
Bug 705877 part 1. Rename mayContain on BloomFilter to mightContain. r=dbaron
2012-03-12 22:54:12 -05:00
Phil Ringnalda
47dd3c842e
Back out 83a33626d965:6e9330f5a9bd (bug 732667 and bug 705877) for Windows build bustage
2012-03-12 22:12:41 -07:00
Boris Zbarsky
e77fa3497f
Bug 705877 part 1. Rename mayContain on BloomFilter to mightContain. r=dbaron
2012-03-12 22:54:12 -05:00
Justin Lebar
0a2b5c939d
Bug 729940 - Part 1: Add hash function utilities to mfbt. r=waldo
...
--HG--
extra : rebase_source : 05f5c9f5c1e99e5bca012c57502a965423aeb10e
2012-03-12 18:53:18 -04:00
Justin Lebar
1ef50d4a60
Back out bug 731419 and bug 732820 due to orange.
...
Backs out changesets 55e63a03ccad 45d2f5e2fe31 f78900832562 6184b50776fc 35d8045aeadd 42e887fec034.
2012-03-09 18:32:42 -05:00
Jeff Walden
903a8a8d03
Line-wrap the mfbt style docs at 80 characters. The docs are more easily edited the other way, but MXR doesn't auto-wrap long lines, and readability trumps writability here. No bug, r=sparky, DONTBUILD
...
--HG--
extra : rebase_source : 5cae4c24e03546d1cf5f3e43457b44904ccf2b5f
2012-03-09 15:02:51 -08:00
Justin Lebar
c9f861826e
Bug 732820 - Part 1: Add clear() to LinkedList. r=waldo
2012-03-09 17:21:01 -05:00
Jeff Walden
6c2e5178d3
Bug 732321 - Document mfbt style, rather than relying on reviewers to consistently remember and enforce every little bit of it. r=cjones, DONTBUILD because this is adding docs but touching no code
2012-03-01 20:47:30 -08:00
Ed Morley
e63b667897
Backout afeafc02c1de, dfae37833c9b & f9f51c726fa7 (bug 729940 parts 1-3) for talos regressions
2012-03-05 15:22:28 +00:00
Justin Lebar
50fbf896bc
Bug 729940 - Part 1: Add hash function utilities to mfbt. r=waldo
2012-03-04 15:58:04 -05:00
Justin Lebar
2449f55f11
Back out bug 729940 (a108aee:d75775d) due to 32-bit red.
2012-03-04 14:20:34 -05:00
Justin Lebar
e930d0e571
Bug 729940 - Part 1: Add hash function utilities to mfbt. r=waldo
2012-03-04 13:49:41 -05:00
Justin Lebar
b236834711
Bug 729952 - Part 3: Add missing #include. r=me
2012-03-02 17:46:09 -05:00
Justin Lebar
0eff3f98db
Bug 729952 - Part 1: Add a better hash function to mfbt. r=waldo
2012-03-02 17:18:21 -05:00
Jacek Caban
f60cb2f0c4
Bug 728178 - js.exe fails to link on on mingw (missing MOZ_Crash) r=glandium
2012-03-02 11:27:29 +01:00
Boris Zbarsky
d491b35391
Bug 730100 followup. Add missing include guards. Assumed r=ms2ger
2012-03-02 00:20:32 -05:00
Justin Lebar
6f1a204560
Bug 731789 - Followup, s/StdInt/StandardInteger in BloomFilter.h. r=me
2012-02-29 23:40:16 -05:00
Justin Lebar
62dbeeb1ab
Bug 731789 - Rename mfbt/StdInt.h to mfbt/StandardInteger.h, so stdint types work from cpp files inside mfbt. r=waldo
2012-02-29 22:56:43 -05:00
Boris Zbarsky
2a3c77316e
Bug 730100. Add a Bloom filter implementation. r=waldo
2012-02-29 21:40:47 -05:00
Rafael Ávila de Espíndola
69ee70a91b
Bug 723114 - Need a macro that expands to __builtin_unreachable on release builds. r=jwalden.
2012-02-23 14:32:30 -05:00
Jeff Walden
bdb7386eef
Bug 728512 - Make MOZ_ASSERT(cond, reason) work correctly on MSVC by hacking around a compiler bug. r=glandium
...
--HG--
extra : rebase_source : f955359300e02b27f0efda63bbb1983d85a56a5a
2012-02-17 18:47:12 -08:00
David Rajchenbach-Teller
0882a01b1f
Bug 727435 - Implementing MOZ_GUARD_OBJECT_NOTIFIER_ONLY_PARAM_TO_PARENT. r=Waldo
...
--HG--
extra : rebase_source : 4fcf555106b06b0080d2986102f6d84d3ae8fd4d
2012-02-16 01:17:02 +01:00
Jeff Walden
56e4a4eea7
Bug 727141 - Uglify the include of <stdint.h> to support building on case-insensitive file systems. rs=khuey over IRC
...
--HG--
extra : rebase_source : 34ea2bea8ecb6bbaf039d50ec728233d524fc015
2012-02-14 12:18:21 -08:00
Robert O'Callahan
651523abab
Bug 726894. Add a copy constructor to DebugOnly so it can be used in more situations. r=cjones
2012-02-14 17:39:20 +13:00
Mike Hommey
3f5c329700
Bug 717540 - Remove MFBT dependency on JS_Assert, add MOZ_Assert, and use it for WTF assertions. r=waldo,r=khuey
2012-02-13 15:48:23 +01:00
Phil Ringnalda
4ef4e9a277
Back out 7f81109133b5 (bug 725221), 135721f3720b (bug 726891), aef4ead175b4 (bug 726894) for orange
2012-02-13 22:31:22 -08:00
Robert O'Callahan
3dd7bca14b
Bug 726894. Add a copy constructor to DebugOnly so it can be used in more situations. r=cjones
2012-02-14 17:39:20 +13:00
Mike Hommey
de636eb93e
Backout 8eef38643ceb (bug 717540) and 78941a969e20 (bug 725230) because of windows debug bustage
2012-02-13 16:35:13 +01:00
Mike Hommey
4262e5f87c
Bug 717540 - Remove MFBT dependency on JS_Assert, add MOZ_Assert, and use it for WTF assertions. r=waldo,r=khuey
2012-02-13 15:48:23 +01:00
Justin Lebar
e6d34778fa
Bug 722581 - Update comments in mfbt/LinkedList.h. r=waldo
2012-02-04 21:49:10 -05:00
Justin Lebar
7430db9ff0
Bug 715405 - Add a type-safe linked list class. r=waldo
...
--HG--
extra : rebase_source : c1a829b9c1264c6b07a10b1ff7a8d0a64e3125f7
2012-01-26 15:54:03 -05:00
Jeff Walden
d3e68a0462
Bug 720759 - Export mfbt's guard object classes to avoid warnings using them in exported APIs. r=Ms2ger
...
--HG--
extra : rebase_source : d1de7a9549e1fe0d047b3882ebca711fc0a47b94
2012-01-24 09:22:47 -08:00
Ed Morley
e0dd3d1f84
Backout 01a5ce645a8b, 6e849614a79f & bd75f26eee25 (bug 720759) for win debug build failures
2012-01-24 21:06:59 +00:00
Jeff Walden
c9140c221f
Bug 720759 - Export mfbt's guard object classes to avoid warnings using them in exported APIs. r=Ms2ger
2012-01-24 09:22:47 -08:00