Marco Bonardo
b7c136e7dc
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
914ed1aeaf
Backout c0077ffef801 (bug 723806) for failures in xpcshell and m-oth tests
2012-02-07 10:16:58 +01:00
Makoto Kato
169c5d75e1
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
b376fcf426
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
610b65aebb
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
f2b7df1b8d
Tweak logic when analyzing properties of new scripts, bug 720380. r=dvander
2012-02-06 11:18:33 -08:00
Brian Hackett
43eff80b9d
Don't invoke __noSuchMethod__ on primitive lvalues in ICs, bug 721939. r=dvander
2012-02-06 10:49:31 -08:00
Andrew McCreight
3c119f3dbc
Bug 724398 - specialize GCThingIsMarked to GRAY. r=billm
2012-02-05 19:43:35 -08:00
Nicholas Nethercote
0a958739f2
Bug 722609 - Rename the js-total memory reports. r=luke.
2012-01-30 20:03:29 -08:00
Nicholas Nethercote
26f5d80631
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
28e1453f25
Bug 723894 - Crash when Web IDL dictionary object is null; r=mrbkap
2012-02-05 18:57:46 +00:00
Tom Schuster
265f99d7f7
Bug 720675 - OOM Crash [@ JSString::isFlat] because of NULL deref for ensureFlat. r=bhackett
2012-02-05 11:32:12 +01:00
Panagiotis Koutsourakis
583eb38038
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
3163d5e91e
bug 723517 - Drop cx argumrent from JS_GetClass(cx, obj). r=luke
2012-02-04 01:54:57 +01:00
David Mandelin
57906003b0
Bug 723728: use calloc again in allocateArrayBufferSlots because it's faster, r=jwalden
2012-02-03 15:02:39 -08:00
David Mandelin
c3ab5c0ed5
Bug 714616 followup: add assertions to moveDenseArrayElements unbarriered, r=billm
2012-02-03 13:47:39 -08:00
Terrence Cole
72eb4e83f8
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
bd99a4284f
backout c18523b51058 (bug 716014) on suspicion of causing Win Debug reftest timeouts.
2012-02-03 14:01:35 +00:00
Luke Wagner
9cc13cfe8f
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
61f07f2b85
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
d40b429431
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
5d8152652b
Bug 722594 - Remove xpc_CreateMTGlobalObject and mMTCompartmentMap (r=mrbkap)
...
--HG--
extra : rebase_source : 6dd76009eb8029499efcbe6bbb0b74d58000612c
2012-02-01 13:36:51 -08:00
Luke Wagner
f5e853cb76
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
15a57a260d
Merge mozilla-central to inbound
2012-02-02 20:49:06 -08:00
Olli Pettay
08dfac99be
Bug 716014 - Use CompartmentGC more often, r=billm,mccr8
2012-02-02 22:34:53 +02:00
Terrence Cole
a2169b9117
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
a7fb4781d7
Bug 623444 - Import Windows libcubeb implementation. r=doublec, r=khuey
2012-01-13 14:38:39 +13:00
Andrew McCreight
820e1f1806
Bug 721933 - add way to do compartment GC with a reason. r=billm
2012-02-01 17:55:09 -08:00
Jeff Walden
e1e013efb8
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
bd4db6e9ef
bug 723021 - moving native stack limits into runtime. r=luke
2012-01-31 23:28:22 +01:00
Jeff Walden
ed8310add7
Bug 722260 - Properly handle NaN values as keys in Map objects. r=luke
2012-01-31 16:49:27 -08:00
Jeff Walden
003f15369d
Bug 720316 - Convert the various object and function indexes into uint32_t. r=jorendorff
2012-01-19 17:15:33 -08:00
Steve Fink
9e7723251c
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
8144d41e36
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
ba92819c8c
Back out 9aac714775b9 (bug 723111) for make check orange
2012-02-01 10:25:04 -08:00
Blake Kaplan
214339dab1
Bug 723111 - Add an option to js::UnwrapObject so that it doesn't stop at outer windows when unwrapping. This is useful for cases where we are trying to find the wrapped native for a security wrapper. r=bzbarsky
...
--HG--
extra : rebase_source : 51216cf21b63554e50633c89f393c5888241dee2
2012-01-26 14:55:27 +01:00
Terrence Cole
ada97c5ed0
Bug 716042 - Add missing barriers to JSObject::TradeGuts; r=billm
...
Add a manual post barrier to match the existing pre-barrier.
2012-01-06 14:00:35 -08:00
Brian Hackett
fa94777aac
Catch some opcodes which return directly from a script, bug 723099. r=dvander
2012-02-02 16:09:47 -08:00
Brian Hackett
eb40383cdf
Remove bogus assert, bug 722021. r=jandem
2012-02-02 16:06:41 -08:00
Blake Kaplan
1343f4e23c
Bug 723111 - Add an option to js::UnwrapObject so that it doesn't stop at outer windows when unwrapping. This is useful for cases where we are trying to find the wrapped native for a security wrapper. r=bzbarsky
2012-01-26 14:55:27 +01:00
Bobby Holley ext:(%2C%20Jason%20Orendorff%20%3Cjorendorff%40mozilla.com%3E)
2e56dac55e
Do not innerize an object assigned to __proto__ or used as the target of a with statement. Bug 719841, r=mrbkap.
2012-01-27 14:16:27 -06:00
Jason Orendorff
bf70c01d6a
Make the JS debugger consistently ignore dummy frames, fixing an assertion failure. Bug 678086, r=jimb.
2012-01-27 14:16:22 -06:00
Jason Orendorff
68e5914814
Reinstate a few assertions in TokenPos constructors. Bug 695922, r=luke.
2012-01-27 14:14:01 -06:00
Peter Van der Beken
801dbb695f
Fix for bug 717009 (Inline ListBase<LC>::instanceIsListObject and ListBase<LC>::getListObject). r=bz.
...
--HG--
extra : rebase_source : 368514fa942cb31751e5c6b4ff9d206c1bb609bc
2011-11-09 11:37:47 +01:00
Landry Breuil
68710b975e
Bug 653551 - Jaegermonkey Sparc back-end broken on sparc64. r=leon.sha
2012-02-02 15:31:56 +09:00
Peter Van der Beken
85e454d39a
Fix for bug 716997 (Allow new DOM bindings with 0 methods or properties). r=jst.
...
--HG--
extra : rebase_source : 2b16fa38254362cdedc136a8a4b07261ab2f6a76
2011-10-14 23:21:39 +02:00
Peter Van der Beken
d72b55a274
Fix for bug 693811 ("Assertion failure: shouldCacheProtoShape(cx, proto, &shouldCache) && shouldCache" in ListBase::nativeGet). r=mrbkap.
...
--HG--
extra : rebase_source : 5baa4b1afeecf64e7f1945869e9cd2ae9045b44c
2011-10-14 23:29:36 +02:00
Boris Zbarsky
0c74b1ef90
Bug 722729. Expose a public API for LinkConstructorAndPrototype. r=bhackett
2012-01-31 22:40:49 -05:00
Nicholas Nethercote
4f29e66f41
Bug 671299 (part 3) - Add style sheet memory reporters. r=dbaron.
2012-01-02 18:19:14 -08:00
Matt Brubeck
2f76524e14
Back out 08f4fc94e27b f3ceed05f6b7 f87d25461d6c 317e842f6c65 57adfe804b56 (bug 720316, bug 722260)
2012-01-31 17:34:26 -08:00