Граф коммитов

86 Коммитов

Автор SHA1 Сообщение Дата
Justin Lebar d7ea97afba 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 d54cd7b4d7 Bug 735704 - RotateLeft32 conflicts with winnt.h macro r=Waldo 2012-03-15 13:43:28 +01:00
Boris Zbarsky 9801e6dd67 Bug 705877 part 1. Rename mayContain on BloomFilter to mightContain. r=dbaron 2012-03-12 22:54:12 -05:00
Phil Ringnalda ef5d0d917f Back out 83a33626d965:6e9330f5a9bd (bug 732667 and bug 705877) for Windows build bustage 2012-03-12 22:12:41 -07:00
Boris Zbarsky 2b9e15c16a Bug 705877 part 1. Rename mayContain on BloomFilter to mightContain. r=dbaron 2012-03-12 22:54:12 -05:00
Justin Lebar f584e08122 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 53959f7e57 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 44af116dcf 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 f4c6ba9e11 Bug 732820 - Part 1: Add clear() to LinkedList. r=waldo 2012-03-09 17:21:01 -05:00
Jeff Walden 6fc33afefe 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 3c657080b5 Backout afeafc02c1de, dfae37833c9b & f9f51c726fa7 (bug 729940 parts 1-3) for talos regressions 2012-03-05 15:22:28 +00:00
Justin Lebar ec47a60b90 Bug 729940 - Part 1: Add hash function utilities to mfbt. r=waldo 2012-03-04 15:58:04 -05:00
Justin Lebar e2b30b7a56 Back out bug 729940 (a108aee:d75775d) due to 32-bit red. 2012-03-04 14:20:34 -05:00
Justin Lebar 2dcd3b129c Bug 729940 - Part 1: Add hash function utilities to mfbt. r=waldo 2012-03-04 13:49:41 -05:00
Justin Lebar 0e41e0eb6e Bug 729952 - Part 3: Add missing #include. r=me 2012-03-02 17:46:09 -05:00
Justin Lebar 0d2f332e8c Bug 729952 - Part 1: Add a better hash function to mfbt. r=waldo 2012-03-02 17:18:21 -05:00
Jacek Caban 01ae5b4040 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 ee5c6221bc Bug 730100 followup. Add missing include guards. Assumed r=ms2ger 2012-03-02 00:20:32 -05:00
Justin Lebar 863d510656 Bug 731789 - Followup, s/StdInt/StandardInteger in BloomFilter.h. r=me 2012-02-29 23:40:16 -05:00
Justin Lebar 69fb6f1047 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 3c48581eda Bug 730100. Add a Bloom filter implementation. r=waldo 2012-02-29 21:40:47 -05:00
Rafael Ávila de Espíndola dbb5992e2a 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 87eee40a7e 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 3ddbeef61e 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 2d683f049c 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 b2ec9bd05d 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 229a4401e7 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 7b77666e87 Back out 7f81109133b5 (bug 725221), 135721f3720b (bug 726891), aef4ead175b4 (bug 726894) for orange 2012-02-13 22:31:22 -08:00
Robert O'Callahan 9813f15ee3 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 78f3656b4b Backout 8eef38643ceb (bug 717540) and 78941a969e20 (bug 725230) because of windows debug bustage 2012-02-13 16:35:13 +01:00
Mike Hommey b5d2448f11 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 14525ec49c Bug 722581 - Update comments in mfbt/LinkedList.h. r=waldo 2012-02-04 21:49:10 -05:00
Justin Lebar 1435835368 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 c908c1c048 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 3303de5d26 Backout 01a5ce645a8b, 6e849614a79f & bd75f26eee25 (bug 720759) for win debug build failures 2012-01-24 21:06:59 +00:00
Jeff Walden 1bdd6cfcbb 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
Ms2ger 4a62e49ffb Bug 716236 - Fix indentation in GuardObjects.h and allow its inclusion into C files; r=Waldo 2012-01-15 09:13:07 +01:00
Jeff Walden 1f1e0e3e33 Bug 716112 - Add an optional second argument to MOZ_ASSERT to allow explanations to accompany assertions, if desired. r=cjones
--HG--
extra : rebase_source : a6be7ef89c91a58df489057ca4ea67791b6881a0
2012-01-06 15:51:27 -06:00
Michael Kohler 8e7d457186 Bug 711818 - MOZILLA_GUARD_OBJECT_NOTIFIER* should use a MOZ_ prefix to follow MFBT style 2012-01-10 00:29:30 -05:00
Jeff Walden eaa4a32656 Add introductory comments to the files in mfbt/ that aren't copied from elsewhere, to facilitate easier MXR directory skimming. No bug, r=lumpy
--HG--
extra : rebase_source : dd834c64e625a0184b64d13e2a2e6fd8960ca832
2011-12-28 10:48:54 -06:00
Jeff Walden 150afa32c7 Bug 713560 - Make MOZ_STATIC_ASSERT, when it expands to C++11 static_cast(), pass its reason argument along to static_cast in more compilers. r=typo-fix 2011-12-27 12:09:41 -06:00
Jeff Walden a158abd5b6 Bug 712129 - Implement MOZ_STATIC_ASSERT and MOZ_STATIC_ASSERT_IF. r=luke 2011-12-19 16:58:30 -05:00
Jeff Walden 677b43a2b8 Bug 712129 - Add more assertion macro flavors to mfbt, and make the JS engine use mfbt's implementations where appropriate. r=cjones
--HG--
extra : rebase_source : 6b94db05e74b18a3938a28cbc0f520eb4e01fbb0
2011-12-19 15:54:12 -05:00
Jeff Walden b00479bc34 Bug 712129 - Move MOZ*INLINE macros from Util.h into Attributes.h, where they make more sense. r=luke
--HG--
extra : rebase_source : f62a21c8833c9d5eb7351b18ba14f14d4286b3c0
2011-12-19 14:45:52 -05:00
Jeff Walden 05dcc6d231 Bug 712129 - Move assertion code into a new mfbt/Assertions.h header. r=luke
--HG--
extra : rebase_source : 6587b6aa4180493c48b0663bc627543020a21deb
2011-12-19 14:28:35 -05:00
Jeff Walden 9098fa4182 Bug 711775 - Implement MOZ_NORETURN to encapsulate this-function-doesn't-return semantics. r=cjones
--HG--
extra : rebase_source : d56f3ef47e11c42b5fe6a442e13fd6202208914f
2011-12-17 16:45:29 -05:00
Jeff Walden f108ab9e90 Bug 711683 - Use Clang's feature-detection macros, not its version number, for feature testing. r=cjones
--HG--
extra : rebase_source : fdf8e0bff705410a85bd4560f08b226321632bb1
2011-12-17 16:45:29 -05:00
Jeff Walden bcd5afef4c Bug 711672 - Break mfbt's dependency on jstypes.h by moving various API macros out of JS and into mfbt. r=luke, r=cjones
--HG--
extra : rebase_source : f18993e1eec1a5e5bcdb9cd97fa7d7c6ad261e2c
2011-12-13 14:26:58 -05:00
Jeff Walden 735580ff0e Bug 708735 - Use <stdint.h> types in JSAPI and throughout SpiderMonkey. Continue to provide the {u,}int{8,16,32,64} and JS{Uint,Int}{8,16,32,64} integer types through a single header, however, for a simpler backout strategy -- and also to ease the transition for embedders. r=timeless on switching the jsd API to use the <stdint.h> types, r=luke, r=dmandelin 2011-12-08 22:54:10 -05:00
Jeff Walden f76f7d6da3 Bug 704313 - Implement mozilla/StdInt.h. r=cjones
--HG--
extra : rebase_source : b221134fdfbde13a37a6ef621bba3ca183a46101
2011-11-22 17:42:57 -08:00