Commit Graph

17872 Commits

Author SHA1 Message Date
Luke Wagner
16e645bed7 Bug 723791 - remove now-unnecessary noteArgumentsPropertyAccess (r=jorendorff)
--HG--
extra : rebase_source : 66c7930d21f380a1ad885550239f20b890d24e78
2012-02-03 00:11:31 -08:00
Luke Wagner
a1ea9106b7 Bug 723791 - fun_getProperty needs a method barrier (r=jorendorff)
--HG--
extra : rebase_source : 3fea7a8d9f965e921bb2744b8588f241e2e7c843
2012-02-03 00:11:31 -08:00
Bobby Holley
29328b7b57 Bug 622301 - Remove now-obsolete 'callee' parameter. r=mrbkap 2012-02-07 18:06:41 -08:00
Bobby Holley
09d06adbcf Bug 622301 - Don't use XPCWrappedNative::GetWrappedNativeOfJSObject in quickstub unwrapping. r=mrbkap 2012-02-07 18:06:34 -08:00
Igor Bukanov
672b98ffbe bug 660441 - removal of cx parameter from IsAboutToBeFinalized. r=anygregor 2012-02-08 01:51:32 +01:00
Andrew McCreight
ed6da3301f Bug 696174 - Log JS heap at the same time as CC heap. r=bholley,smaug 2012-02-02 16:32:30 -08:00
Steve Fink
2fccb0fa71 Bug 712289 - Test alignment of jsval across C and C++. r=bz 2012-01-18 14:56:49 -08:00
Terrence Cole
a849842f9a Bug 724586 - Use modern tools to clean up obj_ToSource; r=Waldo
This patch replaces the fiddly strcat logic with StringBuilder usage and cleans
up the error handling control flow using RAII.

--HG--
extra : rebase_source : d42753a880a8d242627534cd5827075ea4a8966d
2012-02-07 10:39:58 -08:00
Igor Bukanov
249bae9bfd bug 724810 - storing finalizer in external strings directly. r=luke
--HG--
extra : rebase_source : d3222c685190bbdbe9446628f2f73f2a6f81eb11
2012-02-07 19:44:54 +01:00
Jason Orendorff
6ee843ce24 Bug 699565 - Part 6 - for-of loops on typed arrays. r=bhackett. 2012-02-07 12:57:17 -06:00
Jason Orendorff
c60fdff3f8 Bug 699565 - Part 5 - for-of loops on arguments objects. r=bhackett. 2012-02-07 12:57:17 -06:00
Jason Orendorff
4e6e2ddc69 Bug 699565 - Part 4 - for-of loops on array-like DOM object. r=bz. 2012-02-07 12:57:17 -06:00
Jason Orendorff
e1d9162904 Bug 699565 - Part 3 - for-of loops on wrappers. r=bhackett. 2012-02-07 12:57:16 -06:00
Jason Orendorff
16b68a169d Bug 699565 - Part 2 - for-of loops on arrays. r=bhackett. 2012-02-07 12:57:16 -06:00
Jason Orendorff
a466009da6 Bug 699565 - Part 1 - for-of loop basics. r=Waldo. 2012-02-07 12:57:16 -06:00
Marco Bonardo
3cb51695d8 Bug 722254 - Add an XPCOMUtils method to generate a singleton factory.
Use the new factory in Places js services, to ensure they can't be instanced multiple times.
r=bsmedberg
2012-02-07 10:17:42 +01:00
Marco Bonardo
e838bd311b Backout c0077ffef801 (bug 723806) for failures in xpcshell and m-oth tests 2012-02-07 10:16:58 +01:00
Makoto Kato
2e5b046a0f Bug 715849 - yasm and GNU as should add debug flag if MOZ_DEBUG_SYMBOLS=1. r=khuey 2012-02-07 15:06:28 +09:00
Jim Blandy
22c0fcc712 Bug 723806: Make JavaScript CTypes print function types correctly. r=bholley
This adds new tests, and also fixes existing CTypes tests that relied on
the bug's presence.
2012-02-06 21:18:42 -08:00
Nicholas Nethercote
ddd936d488 Bug 689583 - Add names for memory multi-reporters. r=jlebar.
--HG--
extra : rebase_source : adb3fb2cbbb8a07b60edd48c7dc9a3a4a4763b79
2012-02-06 17:02:59 -08:00
Brian Hackett
fa9f5b52f5 Tweak logic when analyzing properties of new scripts, bug 720380. r=dvander 2012-02-06 11:18:33 -08:00
Brian Hackett
ed7b0a906f Don't invoke __noSuchMethod__ on primitive lvalues in ICs, bug 721939. r=dvander 2012-02-06 10:49:31 -08:00
Andrew McCreight
e74e061086 Bug 724398 - specialize GCThingIsMarked to GRAY. r=billm 2012-02-05 19:43:35 -08:00
Nicholas Nethercote
aada2ed431 Bug 722609 - Rename the js-total memory reports. r=luke. 2012-01-30 20:03:29 -08:00
Nicholas Nethercote
a1ab9492f5 Bug 722595 - Add memory reporters for misc things hanging off JS objects. r=bhackett.
--HG--
extra : rebase_source : 211b35134923f4cb99625bb240b96e81f0f28b4b
2012-01-30 18:12:03 -08:00
Masatoshi Kimura
885fc84d72 Bug 723894 - Crash when Web IDL dictionary object is null; r=mrbkap 2012-02-05 18:57:46 +00:00
Tom Schuster
cb4581c9dd Bug 720675 - OOM Crash [@ JSString::isFlat] because of NULL deref for ensureFlat. r=bhackett 2012-02-05 11:32:12 +01:00
Panagiotis Koutsourakis
791aa57b19 Bug 702388 - Convert Makefiles to use |TEST_DIRS += foo| r=khuey
Files named Makefile.in containing the expression

DIRS += <foo>
or
DIRS = <foo>

inside the conditional expression

ifdef ENABLE_TESTS
...
endif

are changed to

TEST_DIRS += tests

outside any conditional expression.

The files

./layout/Makefile.in
./layout/Makefile.in
./layout/style/Makefile.in
./rdf/Makefile.in
./security/manager/Makefile.in
./content/Makefile.in
./content/smil/Makefile.in
./content/xul/templates/Makefile.in
./content/xul/content/Makefile.in
./content/base/Makefile.in
./content/media/Makefile.in
./parser/htmlparser/Makefile.in
./dom/sms/Makefile.in
./js/jsd/Makefile.in
./js/xpconnect/Makefile.in
./widget/Makefile.in
./widget/windows/Makefile.in
./Makefile.in
./startupcache/Makefile.in
./storage/Makefile.in
./gfx/Makefile.in
./intl/strres/Makefile.in
./intl/uconv/Makefile.in
./intl/unicharutil/Makefile.in
./intl/lwbrk/Makefile.in
./embedding/Makefile.in
./modules/libjar/Makefile.in
./modules/libpref/Makefile.in
./build/Makefile.in
./build/win32/Makefile.in
./xpcom/Makefile.in
./extensions/spellcheck/hunspell/Makefile.in
./extensions/cookie/Makefile.in
./netwerk/Makefile.in
./netwerk/streamconv/Makefile.in
./editor/txmgr/Makefile.in
./toolkit/mozapps/shared/Makefile.in
./toolkit/mozapps/update/Makefile.in
./toolkit/library/Makefile.in
./toolkit/library/Makefile.in
./toolkit/crashreporter/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/feeds/Makefile.in
./toolkit/components/url-classifier/Makefile.in

contain the string

ifdef ENABLE_TESTS

but have some other statement inside (e.g. TOOL_DIRS += <foo> etc) and
they remain unchanged by this patch.
2012-02-04 17:32:24 +00:00
Igor Bukanov
afb57a37a5 bug 723517 - Drop cx argumrent from JS_GetClass(cx, obj). r=luke 2012-02-04 01:54:57 +01:00
David Mandelin
c3adffee41 Bug 723728: use calloc again in allocateArrayBufferSlots because it's faster, r=jwalden 2012-02-03 15:02:39 -08:00
David Mandelin
02ff01199a Bug 714616 followup: add assertions to moveDenseArrayElements unbarriered, r=billm 2012-02-03 13:47:39 -08:00
Terrence Cole
ade66a269c Bug 716069 - Add missing post barriers to newObjectFromHit; r=billm
When we copy in the new object, we need to trigger barriers on the shape and
type pointers.  Note: all value immediates in the object are guaranteed to be
uninitialized.
2012-01-12 19:03:25 -08:00
Jonathan Kew
d5eafc2a16 backout c18523b51058 (bug 716014) on suspicion of causing Win Debug reftest timeouts. 2012-02-03 14:01:35 +00:00
Luke Wagner
864734648c Bug 688069 - fix String.prototype.{replace,match,search,split} for transparently wrapped RegExp arguments (r=cdleary)
--HG--
extra : rebase_source : 52e43bfbd134f8afcff15b354fcb777d9b0e71ba
2012-02-01 13:36:48 -08:00
Luke Wagner
bd5e43de5a Bug 688069 - Use CallArgs typey-ness throughout jsstr (r=waldo)
--HG--
extra : rebase_source : e07b03a817dff4193762ae7d134765e05065fc31
2012-01-27 15:32:53 -08:00
Luke Wagner
1f69b3025f Bug 688069 - remove spurious call to zeroLastIndex, bringing us to parity with jsc/v8. This allows removing RegExpPair and several other cleanups (r=cdleary)
--HG--
extra : rebase_source : ae6497b500e93019ecc06ba2668fbdbe70b15417
2012-01-27 15:32:53 -08:00
Luke Wagner
b78ff5f631 Bug 722594 - Remove xpc_CreateMTGlobalObject and mMTCompartmentMap (r=mrbkap)
--HG--
extra : rebase_source : 6dd76009eb8029499efcbe6bbb0b74d58000612c
2012-02-01 13:36:51 -08:00
Luke Wagner
492489ef53 Bug 692269 - Remove jsstr.h, vm/String.h, jsautokw.h, jsclone.h, jsopcode.tbl, jsopcode.h, jsstdint.h from INSTALLED_HEADERS (r=billm)
--HG--
extra : rebase_source : f9e20f1d52987251ad3d58c76531dcd5135076ad
2012-01-30 09:17:38 -08:00
Matt Brubeck
41d849e98d Merge mozilla-central to inbound 2012-02-02 20:49:06 -08:00
Olli Pettay
9aeadab10e Bug 716014 - Use CompartmentGC more often, r=billm,mccr8 2012-02-02 22:34:53 +02:00
Terrence Cole
712ce49b25 Bug 716136 - Add a configure flag to enable Generational GC; r=billm
These are already in the tree in several places to protect (empty) post write
barriers.  This will make it easier to test this functionality on more
platforms going forward.

--HG--
extra : rebase_source : d9c7f4f46392abbd608da94d02a7bc45f9fe8613
2012-01-06 17:05:33 -08:00
Matthew Gregan
99c543fe5d Bug 623444 - Import Windows libcubeb implementation. r=doublec, r=khuey 2012-01-13 14:38:39 +13:00
Andrew McCreight
e182241389 Bug 721933 - add way to do compartment GC with a reason. r=billm 2012-02-01 17:55:09 -08:00
Jeff Walden
24da30a0ce Bug 723249 - Implement a dump() function on JSString, JSAtom, and JSObject, for easier typing than js_Dump*. Also implement JSString::equals. r=luke
--HG--
extra : rebase_source : 0bb078d0ded8aa52753261605bc72a5eef45e65e
2012-01-31 18:03:41 -08:00
Igor Bukanov
08ee5eda35 bug 723021 - moving native stack limits into runtime. r=luke 2012-01-31 23:28:22 +01:00
Jeff Walden
ff29c96ecd Bug 722260 - Properly handle NaN values as keys in Map objects. r=luke 2012-01-31 16:49:27 -08:00
Jeff Walden
1a25de04fc Bug 720316 - Convert the various object and function indexes into uint32_t. r=jorendorff 2012-01-19 17:15:33 -08:00
Steve Fink
5ca9ce3486 Bug 717104 - test that an unreachable global does not keep its Debuggers alive. r=woof!
--HG--
extra : rebase_source : 6249095c7501ba1e1647ea01998de685fe0a278e
2012-01-26 11:55:39 -08:00
Steve Fink
8a99995255 Bug 717104 - unreachable debuggee globals should not keep their debuggers alive. r=jorendorff
--HG--
extra : rebase_source : e1b4bc44adea1fa0bb94188ccaccc156c194dfbb
2012-01-16 17:02:15 -08:00
Phil Ringnalda
23ca89ddfb Back out 9aac714775b9 (bug 723111) for make check orange 2012-02-01 10:25:04 -08:00