Commit Graph

145 Commits

Author SHA1 Message Date
Phil Ringnalda
978110175c Back out 5bf9771e1a28 (bug 860029) for bustage
CLOSED TREE
2013-04-11 19:55:37 -07:00
Sean Stangl
999eb7bab9 Bug 860029 - Standardize Modelines in the JS Module. DONTBUILD. r=njn 2013-04-11 18:48:59 -07:00
Benjamin Smedberg
47bf6b1691 Bug 858900 - Poison JSContext. r=luke 2013-04-11 07:48:09 -04:00
Jon Coppeard
22aae16f6f Bug 849273 - Investigate splitting the js and JS namespaces r=terrence 2013-03-19 10:35:41 +00:00
Luke Wagner
df1c6eeff2 Bug 840282 - OdinMonkey (sr=dmandelin) 2013-03-15 02:29:02 -07:00
Steve Fink
c5b5c2550e Bug 668583 - Detect rope corruption earlier in opt builds. r=billm 2013-02-12 11:07:26 -08:00
Luke Wagner
1877752dfd Bug 832071 - Replace custom AutoDestroyAllocator with ScopedJSDeletePtr (and rename ScopedDeletePtr to ScopedJSDeletePtr) (r=dvander) 2012-11-01 21:35:21 -07:00
Justin Lebar
64ccc57d29 Bug 827234 - Move Swap to js/public/Utility from js/src/jsutil.h. r=terrence 2013-01-08 11:04:19 +01:00
Jeff Walden
64a19f2abb Bug 752578 - Remove the JS guard object implementation. r=Ms2ger 2012-12-27 11:20:22 -06:00
Jeff Walden
8a6657de57 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
Terrence Cole
f81b1d5878 Bug 807151 - Unexport |mozilla| from the |js| namespace; r=Waldo
Clang does not want to allow js::ion::Range and mozilla::Range simultaneously
when we have a |namespace js { using namespace mozilla; }| declaration.
2012-11-06 17:35:18 -08:00
Bill McCloskey
24af583cdd Bug 807161 - Remove extern C and #ifdef __cplusplus from JSAPI (r=luke) 2012-10-30 18:28:34 -07:00
Terrence Cole
44b3dfe6c3 Bug 793577 - Implement Return<T> for direct returns of unrooted GC pointers; r=billm r=njn
Return<T> wraps GC things that are returned from accessor methods.  The wrapper
helps to ensure correct rooting of the returned pointer and safe access while
unrooted.
2012-09-26 11:13:20 -07:00
Luke Wagner
df652165a4 Bug 787291 - add pod_malloc<T> et al (r=billm) 2012-08-31 15:10:10 -07:00
Luke Wagner
bd2a0bf71a Bug 787246 - rm OffTheBooks/Foreground/UnwantedForeground gunk (r=billm) 2012-08-31 15:01:33 -07:00
Rafael Ávila de Espíndola
912bc88c8f Bug 778301 - Remove old change for llvm.org/pr11003. 2012-07-28 08:04:45 -04:00
Terrence Cole
d8dbc62232 Bug 776159 - Thread more Handles through jsarray; r=sfink 2012-07-20 16:22:00 -07:00
Jason Orendorff
8f06103062 Bug 775896 - OrderedHashTable should have a hashShift field like HashTable. r=luke. 2012-07-25 12:43:29 -05:00
Jason Orendorff
a9dbd10951 Bug 743107 - Add OrderedHashTable. Change implementation of Map and Set to retain insertion order. r=luke. 2012-07-03 16:33:38 -05:00
Nicholas Nethercote
2752ba8694 Bug 771378 (part 0) - Add ScopedFreePtr to Utility.h. r=jwalden. 2012-07-05 17:29:56 -07:00
Jeff Walden
7f5e65450b Bug 763000 - Remove MOZ_Assert. r=Ms2ger, r=terrence, r=ted 2012-06-07 14:41:11 -07:00
Luke Wagner
0b2f700ce7 Bug 763384 - Don't treat regexp syntax errors as OOM errors (r=njn) 2012-06-11 17:08:34 -07:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Boris Zbarsky
9f0d716a30 Bug 748237. Only do the c++11 stuff for clang here, since otherwise we get scary warnings with gcc on android. r=luke 2012-04-26 00:43:00 -04:00
Christian Holler
4531af0441 Bug 734976 - Call js_ReportOutOfMemory in jsgcinlines when simulating OOM. Original patch by Brian Hackett. r=luke,bhackett,jdemooij 2012-04-14 11:37:32 -07:00
Jeff Walden
85520244a8 Fix clang JS shell build bustage. No bug, r=billm over irl 2012-04-12 18:15:26 -07:00
Matt Brubeck
c5e4bddc54 Back out e4c82a6b298c, 036194408a50, 39acc9f51df8 (bug 714647 and followups) because of test_finalizer.js crashes in Linux64 PGO builds 2012-04-12 22:07:43 -07:00
Jeff Walden
d8b64eb459 Fix clang JS shell build bustage. No bug, r=billm over irl 2012-04-12 18:15:26 -07:00
Bas Schouten
6243aeb46b Bug 719776 - Part 2: Make MOZ_CRASH and MOZ_ASSERT expand inline. r=waldo 2012-04-12 02:03:07 +02:00
Phil Ringnalda
7be06c16da Back out 4b82f26f8593:2fcf9cbedd48 (bug 743393, bug 719776) for bustage 2012-04-11 09:06:40 -07:00
Bas Schouten
70f656bcab Bug 719776 - Part 2: Inline MOZ_Assert and MOZ_Crash. r=waldo 2012-04-11 16:55:31 +02:00
Christian Holler
27a282b6c1 Bug 733493 - Improve JS shell OOM testing code, now with 100% less bustage. r=jorendorff 2012-03-10 15:53:03 -05:00
Gary Kwong
2476611b60 Backed out changeset 6169d8aa7a9d, a=tbplFire 2012-03-10 12:12:54 -08:00
Christian Holler
a65b10fed7 Bug 733493 - Improve JS shell OOM testing code, r=jorendorff 2012-03-10 11:50:26 -08:00
Jason Orendorff
a43d6ab635 Fix hilarious bug in js_malloc: it fails once every 2^32 allocations in DEBUG builds. Bug 730270, r=luke. 2012-03-01 09:01:45 -06:00
Nicholas Nethercote
c1dd090b4c Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett. 2012-01-25 00:52:51 -08:00
Ms2ger
4e2f772fcd Bug 714580 - Remove extra parens from JS_ASSERT_IF; r=Waldo 2012-01-02 21:55:34 +01:00
Jeff Walden
e6c7fadf0c Bug 712129 - Implement MOZ_STATIC_ASSERT and MOZ_STATIC_ASSERT_IF. r=luke 2011-12-19 16:58:30 -05:00
Jeff Walden
b945e965cc Bug 712129 - Add more assertion macro flavors to mfbt, and make the JS engine use mfbt's implementations where appropriate. r=cjones 2011-12-19 15:54:12 -05:00
Jeff Walden
937f1b2b48 Bug 711672 - Break mfbt's dependency on jstypes.h by moving various API macros out of JS and into mfbt. r=luke, r=cjones 2011-12-13 14:26:58 -05:00
Jeff Walden
12e010ddeb 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
Nicholas Nethercote
c0681f567c Bug 698968 - Add mallocSizeOf functions and start using them. r=jlebar,bhackett,jfkthame, sr=bz. 2011-11-27 19:03:14 -08:00
Ginn Chen
313a8c7b72 Bug 702523 Use JS_PUBLIC_API instead of extern for js_FloorLog2wImpl r=luke 2011-11-21 11:09:35 +08:00
Leon Sha
d7e29ec4fc Bug 694256 - Build error: JS_FloorLog2 is missing. r=luke. 2011-10-14 13:12:46 +08:00
Luke Wagner
f6e92fa08c Bug 689362 - Create js/public (with the intention that its contents will eventually be the only INSTALLED_HEADERS), move Vector and HashTable to js/public and some dependencies (r=billm,sr=dmandelin) 2011-10-04 15:33:00 -07:00