Commit Graph

115 Commits

Author SHA1 Message Date
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