Jeff Walden
9e195b787d
Bug 751377 - Add resolve-flags arguments to all the element-access APIs that might call a resolve hook, since resolve flags appear like they'll be with us for at least the near future. :-\ r=bhackett
...
--HG--
extra : rebase_source : 801af07a8562a9df62b8cc205593f76a957cd67e
2012-05-29 12:01:32 -07:00
Jeff Walden
1f0acff5ed
Bug 766347 - Adjust Handle<T> constructors to only accept Rooted<S> or Handle<S> where S is convertible to T. r=luke
...
--HG--
extra : rebase_source : 5cd1b32a977b4172fbad256a9bbd4a28e8314cdd
2012-06-19 15:01:58 -07:00
Luke Wagner
9352f97dd5
Bug 755186 - add JSCompartment::global (r=jorendorff)
...
--HG--
extra : rebase_source : 0a54699e01350611f1de69845cfe05b1506c40cb
2012-06-20 08:57:29 -07:00
Luke Wagner
fee7952e0d
Bug 755186 - s/JS_NewCompartmentAndGlobalObject/JS_NewGlobalObject/ (r=jorendorff)
...
--HG--
extra : rebase_source : f1ead9226915f72473a01db0a1019cdbe50c8e92
2012-06-20 08:57:29 -07:00
Luke Wagner
1b7d197c85
Bug 755186 - rm JS_NewGlobalObject (r=jorendorff)
...
--HG--
extra : rebase_source : d9ba442572836406e165cdff11a646e6fd498c03
2012-06-20 08:57:29 -07:00
Luke Wagner
b4132543ae
Bug 766064 - Remove overly-conservative assertion (r=jorendorff)
...
--HG--
extra : rebase_source : 3228f7ce771c7dda14571a16e998b4efd9b9bbd9
2012-06-20 08:57:29 -07:00
Terrence Cole
b7ad9a5fd2
Bug 504735 - Passing --disable-threadsafe to JS configure enables threadsafe; r=ted
...
Apparently, this has been true for at least 3 years. Fixed now.
2012-06-22 16:40:34 -07:00
Ehsan Akhgari
f18d090dd1
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (more jsd parts); r=Waldo
2012-06-19 23:43:15 -04:00
Steve Fink
3b6b189846
Bug 764184 - Fix GC_REASON telemetry bucket count (r=froydnj)
...
--HG--
extra : rebase_source : 790f6727878f44e7cf424d9e32a85347416df625
2012-06-15 15:21:56 -07:00
Gary Kwong
bfde7a2586
Bug 719750 - Remove extraneous print statement.
...
--HG--
extra : rebase_source : f0437db62e2184778bd4ef94f6284fddc8e27c02
2012-06-22 12:25:29 -07:00
Steve Fink
13b3ad567f
Backed out changeset c33a30aedb3b (bug 764184)
2012-06-22 12:22:00 -07:00
Bill McCloskey
4fa5794dad
Bug 715761 - Fix build error
2012-06-22 12:12:49 -07:00
Gary Kwong
30fca2f26c
Add a test for bug 719750.
2012-06-22 12:02:02 -07:00
Bill McCloskey
e352a152a3
Bug 715761 - Rename XPCWrappedNativeScope::TraceJS (r=bholley)
2012-06-22 11:37:22 -07:00
Bill McCloskey
ba55e063e1
Bug 715761 - De-insanify xpconnect wrapper tracing (r=bholley)
2012-06-22 11:34:51 -07:00
Bill McCloskey
974aaa5c58
Bug 764850 - Don't run write barrier verifier during shutdown (r=terrence)
2012-06-22 11:31:00 -07:00
Bill McCloskey
73c46100a8
Bug 765313 - script->types is getting thrown out too soon in JSScript::ensureRanAnalysis (r=bhackett)
2012-06-22 11:30:54 -07:00
Bill McCloskey
b19e04c822
Bug 766355 - Fix GC valgrind warnings (r=terrence)
2012-06-22 11:30:48 -07:00
Bill McCloskey
189a764ba9
Bug 766707 - Free dynamic slots if we OOM during object allocation (r=dvander)
2012-06-22 11:28:49 -07:00
Bill McCloskey
7d061f8687
Bug 767234 - Don't invoke write barrier on generator slots (r=luke)
2012-06-22 11:24:20 -07:00
Steve Fink
5cd675cf2b
Bug 764184 - Fix GC_REASON telemetry bucket count (r=froydnj)
...
--HG--
extra : rebase_source : b4b9015caab404d8a4b674349fc27ade09dd3ec5
2012-06-15 15:21:56 -07:00
Mike Hommey
fc130e8b4b
Bug 767024 - Allow dependentlibs.py to work when cross-compiling for Android on OSX. r=khuey
2012-06-22 18:33:17 +02:00
Mike Hommey
8c6644eac1
Bug 766975 - Rename OBJS-related dependency files. r=khuey
2012-06-22 18:29:03 +02:00
Jon Coppeard
19ae8c2cf4
Bug 763984: Simplify the code and use the same path for incremental/non-incremental GC r=billm
...
--HG--
extra : rebase_source : 1b9e2601fd97cd6fb6ff9f661ee394ac80339736
2012-06-22 11:26:08 +01:00
Jon Coppeard
08f94c004a
Bug 763984: Add new zeal modes to test incremental GC r=billm
...
--HG--
extra : rebase_source : 0392bc3985442eb3b378b1f5a47a757f55106fdc
2012-06-22 11:25:21 +01:00
Bobby Holley
1578d01098
Bug 767306 - Temporarily make assertion from bug 766641 non-fatal. r=me
2012-06-22 12:01:18 +02:00
Jeff Walden
0a58aaf803
Bug 758913 - Remove JSCLASS_NEW_RESOLVE_GETS_START. r=dmandelin
2012-06-05 17:39:30 -07:00
Cameron McCormack
2d4b020464
Bug 448573 - Match French localisations of MSVC version banners. r=ted,dmandelin
2012-06-22 11:55:04 +10:00
Gregor Wagner
0473bacc10
Bug 767230 - Don't trigger a GC in MaybeGC when we are still sweeping in the background. r=billm
2012-06-21 18:44:46 -07:00
Benjamin Peterson
909cd93291
Bug 765055: bind rest argument when defaults are present, r=jorendorff
2012-06-21 16:53:46 -07:00
Nicholas Nethercote
6a0391f8cb
Bug 764714 (part 3) - Remove BytecodeEmitter::GlobalScope. r=jorendorff.
2012-06-13 23:29:04 -07:00
Nicholas Nethercote
f1c4bdbab3
Bug 764714 (part 2) - Move Parser::callerFrame to BytecodeEmitter. r=jorendorff.
2012-06-13 23:28:04 -07:00
Nicholas Nethercote
1836a4cb76
Bug 764714 (part 1) - Only set JSScript::savedCallerFun when appropriate. r=jorendorff.
2012-06-13 17:26:31 -07:00
Nicholas Nethercote
c50911ba29
Bug 766821 - Clear dead wood from Bindings. r=luke.
...
--HG--
extra : rebase_source : 88a769b7cc17ba4c850208e5c59916c1f7b2bde8
2012-06-20 19:14:35 -07:00
Jeff Walden
9eb451a896
Bug 765990 - Never use Rooted<T> as a temporary, so that the Rooted->Handle conversion path occurs in only one manner, not two (ambiguous) manners. r=luke
...
--HG--
extra : rebase_source : d42f8bcf462de54ff6cc7d9054b2561bdd67686a
2012-06-14 19:13:27 -07:00
Bobby Holley
8ee3848379
Bug 755255 - Rename XPCThreadContext.cpp to XPCJSContextStack.cpp, since that's all that's left. r=mrbkap
...
--HG--
rename : js/xpconnect/src/XPCThreadContext.cpp => js/xpconnect/src/XPCJSContextStack.cpp
2012-06-21 16:14:49 +02:00
Bobby Holley
0f461c4697
Bug 755255 - Remove XPCPerThreadData. r=mrbkap
...
\o/
2012-06-21 16:14:49 +02:00
Bobby Holley
82d72b12d9
Bug 755255 - Remove thread iteration in XPCJSRuntime. r=mrbkap
2012-06-21 16:14:49 +02:00
Bobby Holley
99aab01474
Bug 755255 - Remove mThreadData from XPCCallContext. r=mrbkap
2012-06-21 16:14:49 +02:00
Bobby Holley
4ddbbdcde0
Bug 755255 - Remove threadsafety checking machinery. r=mrbkap
2012-06-21 16:14:49 +02:00
Bobby Holley
61770623c2
Bug 755255 - Hoist Resolving* machinery into XPCJSRuntime. r=mrbkap
2012-06-21 16:14:49 +02:00
Bobby Holley
b3446a7583
Bug 755255 - Remove Usage of XPCPerThreadData::IsMainThread. r=mrbkap
2012-06-21 16:14:49 +02:00
Bobby Holley
4f29db66bd
Bug 755255 - Hoist auto root list into XPCJSRuntime. r=mrbkap
2012-06-21 16:14:49 +02:00
Bobby Holley
5410f91c5b
Bug 755255 - Hoist pending exception junk into XPCJSRuntime. r=mrbkap
2012-06-21 16:14:49 +02:00
Bobby Holley
68ab2b73b5
Bug 755255 - Make consumers of mCallContext go through XPCJSRuntime. r=mrbkap
2012-06-21 16:14:49 +02:00
Bobby Holley
26cd32f3d4
Bug 755255 - Hoist mCallContext into XPCJSRuntime. r=mrbkap
2012-06-21 16:14:49 +02:00
Bobby Holley
428163fcd1
Bug 755255 - Make consumers of GetJSContextStack go through XPCJSRuntime. r=mrbkap
2012-06-21 16:14:48 +02:00
Bobby Holley
61da966ca9
Bug 755255 - Add a convenience function to grab the JS runtime. r=mrbkap
...
I started getting sick of typing nsXPConnect::GetXPConnect()->GetRuntime().
2012-06-21 16:14:48 +02:00
Bobby Holley
742b686e2e
Bug 755255 - Hoist mJSContextStack into XPCJSRuntime. r=mrbkap
2012-06-21 16:14:48 +02:00
Bobby Holley
172742cebc
Bug 766018 - Null out the XPCWrappedNativeScope slot when scopes are deleted on shutdown. r=peterv
2012-06-21 16:14:48 +02:00
Mike Hommey
827ca3e0cb
Fixup for pymake after bug 763987. r=ted
2012-06-21 14:50:42 +02:00
Randell Jesup
04cb98a9a8
Bug 757637: Rollup makesystem changes for webrtc r=khuey r=ted f=glandium
2012-06-20 07:27:43 -04:00
Ed Morley
712c4f68c8
Backout 1c5a8d617bff (bug 765990), 617cb36ead59, b3067d05a76a (bug 760995), 79f9a61a1e43 (bug 426163) for bustage
2012-06-21 10:00:36 +01:00
Jeff Walden
5202bce28f
Bug 765990 - Never use Rooted<T> as a temporary, so that the Rooted->Handle conversion path occurs in only one manner, not two (ambiguous) manners. r=luke
2012-06-14 19:13:27 -07:00
Bobby Holley
d63c96bde5
Bug 732870 - Have nsDOMStringMapSH::PreCreate use the element as its parent, rather than the window. r=peterv
2012-06-21 10:02:36 +02:00
Bobby Holley
d93e3043a0
Bug 753162 - Don't assume that we end up in the same compartment as we started in CrossCompartmentWrapper. r=mrbkap
2012-06-21 09:53:49 +02:00
Mike Hommey
58718e5c70
Bug 763987 - Normalize autoconf.mk.in. r=ted
2012-06-20 09:00:48 +02:00
Jim Blandy
efa8aabe8b
Bug 757400: When we change a compartment's debug mode, ensure we throw away all the outdated analyses. r=billm
...
Always do a cleansing GC when we turn debug mode off, as well as when we
turn it on. If we don't, it's possible to have stale analyses (generated in
the wrong debug mode state) stick around, and we'll assert in JM.
Have ShouldCleanUpEverything recognize gcreason::DEBUG_MODE_GC as a reason
to discard all jit code and analyses.
2012-06-20 19:14:44 -07:00
Benjamin Peterson
f0fccb97c0
Bug 764508 - Remove header if it is no longer needed, r=jorendorff
2012-06-20 16:33:19 -07:00
Jeff Walden
af77cfc42f
Back out 2fe1b4d570df for obvious browser-build bustage, less-obvious shell build bustage. r=ಠ_à²
2012-06-20 15:49:56 -07:00
Jeff Walden
24a6ba5264
Fix a NULL-to-bool conversion warning. No bug, trivial, r=themaid
2012-06-20 15:30:14 -07:00
Jeff Walden
4261b23151
Bug 765990 - Never use Rooted<T> as a temporary, so that the Rooted->Handle conversion path occurs in only one manner, not two (ambiguous) manners. r=luke
...
--HG--
extra : rebase_source : 5623e436f6cd03a90ba0a188ee5d2fa8f8577766
2012-06-14 19:13:27 -07:00
Aki Sasaki
dae7163e24
bug 765808 - fix bare 'dn' typo. r=glandium
2012-06-20 13:59:23 -07:00
Benjamin Peterson
4c0af0cfa1
Bug 765280 - Fake stack depth, so various opcodes that depend on absolute stack depth are not confused, r=jorendorff
2012-06-20 12:03:04 -07:00
Luke Wagner
bda575768c
Bug 764401 - Fix the debugger not to assume the arguments object has been created if needsArgsObj (r=jimb)
...
--HG--
extra : rebase_source : 7fec2830eb639c5a702685a023d1a6d20cfe2500
2012-06-20 08:56:12 -07:00
Ehsan Akhgari
50acc35391
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (more xpconnect parts); r=bholley
2012-06-19 23:33:46 -04:00
Ed Morley
5315ea2f39
Merge mozilla-central to mozilla-inbound
2012-06-20 11:03:50 +01:00
Mike Hommey
7a97c993d4
Backout changeset 6984dace6afb (bug 763987) because of OSX opt jsreftest bustage
2012-06-20 10:55:59 +02:00
Mike Hommey
90d687d851
Merge last PGO green changeset from mozilla-inbound to mozilla-central
2012-06-20 10:53:31 +02:00
Mike Hommey
52dc0077b1
Bug 734125 - Fail configure when acoutputfast.pl fails to find one of the input files. r=ted
2012-06-20 09:45:45 +02:00
Nicholas Nethercote
338d8ebabd
Bug 766004 - Remove LookupCompileTimeConstant(). r=bhackett.
...
--HG--
extra : rebase_source : 27e505a79158eb87fd38adf700bc21a666415733
2012-06-19 18:05:43 -07:00
Nicholas Nethercote
61aaa96874
Bug 765976 - Simplify CompileFunctionBody's control flow. r=sfink.
...
--HG--
extra : rebase_source : 4d5e88fdae064f5a68c0938ee5cbc6e619d02c85
2012-06-18 16:54:55 -07:00
Fabrice Desré
ac9134771d
Bug 766378 - adds a createArrayIn() call to create JS arrays in a given scope [r=mrbkap]
2012-06-19 16:54:46 -07:00
Masatoshi Kimura
98ef9db613
Bug 764916 - Replace nsDOMClassInfo::ThrowJSException with xpc::Throw. r=mrbkap
2012-06-19 19:01:10 -04:00
Andrew McCreight
6b4567cba2
Bug 763776 - refactor nsXPConnect::Traverse. r=billm
2012-06-19 11:33:00 -07:00
Andreas Gal
6ab97d439e
Bug 637014 - use the right global in MakeFinalizeObserver (r=luke)
2012-06-19 11:13:42 -07:00
Benjamin Smedberg
bba5e22057
Bug 755724 part A - add makefile variable DIST_SUBDIR to ship code to a subdirectory of dist/bin, r=ted
...
--HG--
extra : rebase_source : ef52dff3c4f42b99148e99335ee82d9a207faf46
2012-06-19 10:45:24 -04:00
Mike Hommey
f5e949bd00
Backout changeset efc2f07a829b (bug 734125) because of bustage
2012-06-20 09:23:41 +02:00
Mike Hommey
ad0c1db8bf
Re-sync config/config.mk after bug 763987. r=me
2012-06-20 09:14:05 +02:00
Mike Hommey
aa1d888d9f
Bug 764286 - Remove unused AC_SUBSTs. r=ted
2012-06-20 09:00:48 +02:00
Mike Hommey
3331a294da
Bug 763987 - Normalize autoconf.mk.in. r=ted
2012-06-20 09:00:48 +02:00
Mike Hommey
7e280b5f1a
Bug 734125 - Fail configure when acoutputfast.pl fails to find one of the input files. r=ted
2012-06-20 09:00:48 +02:00
Jeff Walden
dd65d473fe
Initialize an outparam (to a totally bogus value) so that gcc doesn't complain about may-be-used-uninitialized in a case that can't actually be reached. No bug, rs=jorendorff
...
--HG--
extra : rebase_source : c1aed684b0113e4cfcff55f43b5a6e6e460fafe6
2012-06-15 14:59:34 -07:00
Jeff Walden
f63db7ff7f
Bug 765341 - Change js_ValueToAtom to return a JSAtom* directly, and rename it to js::ToAtom. r=sfink
...
--HG--
extra : rebase_source : 44f039cd09ac2ab1825e7f9fd1e2a01f5907bb67
2012-06-12 16:03:10 -07:00
Jeff Walden
695d880981
Fix narrowing-initializer warnings with gcc 4.7. No bug, r=themaid
...
--HG--
extra : rebase_source : a5cf16fbc9eb408a9eb286a2f0bb6194835a4bc2
2012-06-12 15:03:12 -07:00
Jeff Walden
cb7d5576ed
Fix an obvious bool-to-pointer conversion warning, no bug, r=sparky
...
--HG--
extra : rebase_source : 19e61d09183c54e413ef1f76ae47a623edbed464
2012-06-18 13:48:58 -07:00
Tom Schuster
b8ba64338d
Bug 720396 - Fix Debugger.addDebuggee with Debuger.prototype. r=jorendorff
2012-06-19 17:24:57 +02:00
Mike Hommey
c533a83b6c
Bug 616262 - Avoid cycle collection participant global variables adding static initializers. r=smaug,r=mccr8,r=Waldo
2012-06-04 08:30:26 +02:00
Peter Van der Beken
6a7e8ec5a9
Fix for bug 762651 (Add wrappercache to CanvasRenderingContext2D). r=bz.
2012-06-04 21:41:51 +02:00
Terrence Cole
d7c945f469
Bug 765436 - Remove WrappedNative2WrapperMap; r=mrbkap
...
It is completely unused.
--HG--
extra : rebase_source : c267f58324d2b9ff8b7558253c23e2aa01c681ec
2012-06-18 18:47:55 -07:00
Terrence Cole
bba6bd66fe
Bug 765909 - Report slice when time as slice start, not end; r=billm
...
--HG--
extra : rebase_source : 8ccea5f0d1bb06f2bff26a96d9d0c43556757e42
2012-06-18 18:15:06 -07:00
Bill McCloskey
8d49199453
Bug 754725 - Fix type tags during VM stack scanning (r=bhackett)
2012-06-18 17:04:56 -07:00
Bill McCloskey
f3003f38e6
Bug 757431 - Fix stack scanning in Splat (r=bhackett)
2012-06-18 17:04:52 -07:00
Bill McCloskey
de82d27e9b
Bug 758846 - Disable cross-compartment wrapper checking during creation (r=luke)
2012-06-18 17:04:48 -07:00
Bill McCloskey
5758fa2d6e
Bug 762982 - Fix verifybarriers() shell call (r=luke)
2012-06-18 17:04:43 -07:00
Jeff Walden
09e6c025d8
Bug 763000 - Remove MOZ_Assert. r=Ms2ger, r=terrence, r=ted
2012-06-07 14:41:11 -07:00
Joey Armstrong
1427952567
bug 757855: move xpidl* logic into a named makefile - batch #1
2012-06-01 11:13:07 -04:00
Nils Maier
0c2db95ab0
Bug 759783: Add identifying origin information to Javascript sandboxes. r=jlebar
2012-06-18 13:09:17 -04:00
Luke Wagner
e693675ec9
Bug 765297 - free up bits in String::lengthAndFlags for new string subtypes (r=njn)
...
--HG--
extra : rebase_source : 798f9c1e1a1176ce218bb4d336f6403e1cbd55aa
2012-06-18 09:37:25 -07:00
Bobby Holley
d169ad7176
Bug 763433 - Clarify compartment situation in Xray wrapper. r=mrbkap
...
Adding to the mess of the NodePrincipal (et al) check isn't great, but I'm refactoring that in bug 761704.
2012-06-18 15:47:09 +02:00