Commit Graph

16741 Commits

Author SHA1 Message Date
Jeff Walden
3cd5da43d5 Bug 691992 - Split getAttributes and setAttributes into property and generic forms, and use them throughout the engine. r=bhackett
--HG--
extra : rebase_source : ab383bf621c212424db6c0f358b6dd2c31443b68
2011-10-04 17:21:06 -07:00
Brian Hackett
0612add764 Fix bogus assert, bug 685472. r=dvander 2011-10-19 08:25:50 -07:00
Brian Hackett
82f85ed701 Fix --disable-tracejit build. 2011-10-18 14:50:35 -07:00
Bill McCloskey
52c3cb2132 Bug 695213 - Add total time to MOZ_GCTIMER output. 2011-10-18 14:03:51 -07:00
Bill McCloskey
e9e02c73ec Bug 695493 - Fix JM opcode spew. 2011-10-18 14:03:40 -07:00
Jason Orendorff
0f76e5ab72 Bug 695450 - Rename js/src/frontend/CodeGenerator.h to BytecodeGenerator.h to avoid conflict with IonMonkey. r=dvander.
--HG--
rename : js/src/frontend/CodeGenerator.cpp => js/src/frontend/BytecodeGenerator.cpp
rename : js/src/frontend/CodeGenerator.h => js/src/frontend/BytecodeGenerator.h
2011-10-18 14:45:33 -05:00
Brian Hackett
b001b60a02 Add Array.concat stub for concatenating known dense arrays, bug 692960. r=dvander 2011-10-18 11:24:28 -07:00
Brian Hackett
9c5cfe112f Speed up Array.shift, and Array.{pop,shift} on empty arrays, bug 692847. r=dvander 2011-10-18 11:08:52 -07:00
Brian Hackett
a8989c224b Always initialize 'this' value of constructor frames when going through InvokeConstructorKernel, bug 688974. r=luke 2011-10-18 11:00:54 -07:00
Dave Herman
3fd52e982f Bug 695238 - Reflect.parse should throw when an object literal is missing a property RHS. r=jorendorff 2011-10-17 21:09:56 -07:00
Blake Kaplan
fcc6580746 Bug 665279 - Resolve interface constants properly through Xray wrappers. r=peterv 2011-09-21 19:16:50 -07:00
Jason Orendorff
22883838ca Fix breakage from rev 31b5cad155fb (bug 695097). r=red. 2011-10-17 17:47:37 -05:00
Jason Orendorff
9faab81d05 Bug 695097 - Split up frontend/Parser.{h,cpp}. r=luke.
--HG--
rename : js/src/frontend/Parser.cpp => js/src/frontend/BytecodeCompiler.cpp
rename : js/src/frontend/Parser.h => js/src/frontend/BytecodeCompiler.h
rename : js/src/frontend/Parser.cpp => js/src/frontend/FoldConstants.cpp
rename : js/src/frontend/Parser.cpp => js/src/frontend/ParseNode.cpp
rename : js/src/frontend/Parser.h => js/src/frontend/ParseNode.h
2011-10-17 16:54:30 -05:00
Jason Orendorff
1102691b89 Bug 695094 - Move js{scan,parse,emit}.{h,cpp} into js/src/frontend/. r=luke.
--HG--
rename : js/src/jsemit.cpp => js/src/frontend/CodeGenerator.cpp
rename : js/src/jsemit.h => js/src/frontend/CodeGenerator.h
rename : js/src/jsparse.cpp => js/src/frontend/Parser.cpp
rename : js/src/jsparse.h => js/src/frontend/Parser.h
rename : js/src/jsscan.cpp => js/src/frontend/TokenStream.cpp
rename : js/src/jsscan.h => js/src/frontend/TokenStream.h
2011-10-17 16:54:28 -05:00
Jeff Walden
b0a6a72b75 Bug 693100 - Fix "warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]" with gcc 4.6.1 in SpiderMonkey. r=dvander
--HG--
extra : rebase_source : 92f3e6f79a27b3a83dec63d5c745c97453937889
2011-10-17 14:33:32 -07:00
Nathan Froyd
ab4cf36056 Bug 695025 - don't use false when we really mean NULL; r=luke
--HG--
extra : rebase_source : 6ea45cafa2dda181e1d8c43321a727a2b0bfd550
2011-10-17 12:38:08 -04:00
Brian Hackett
2db12b04ff Don't disable ICs on error paths, bug 694200. r=dvander 2011-10-17 14:23:40 -07:00
Brian Hackett
84f4720fa0 Bail out from compilation if an OOM was triggered during type inference, bug 693961. r=dvander 2011-10-17 14:18:23 -07:00
Chris Leary
0f159aabc9 Bug 694752: Test JSOP_REGEXP inline path on recompilation. (test only)
--HG--
extra : rebase_source : 16c8cbb20b028af184114c2dcdf288209f94755d
2011-10-15 20:57:08 -07:00
Andrew McCreight
b15127b229 Bug 680482, part 2 - change debug string for grey globals to help analysis scripts. r=mrbkap 2011-10-20 09:26:49 -07:00
Andrew McCreight
ec7a7e0cdd Bug 680482, part 1 - add new js::DumpHeapComplete to dump the entire heap. r=billm 2011-10-20 09:25:31 -07:00
Peter Van der Beken
34fc1ec4a5 Fix for bug 693258 (Fixes for test failures when turning off new list DOM bindings). r=bz/Waldo.
--HG--
extra : rebase_source : f0b6f8443cc29098ce75c114ff5a343597d9f38c
2011-10-13 15:36:09 +02:00
Matheus Kerschbaum
c5e0ed5349 Bug 694722 - Remove support code for obsolete platforms from js/src/Makefile.in r=ted 2011-10-20 09:57:36 +02:00
jhorak@redhat.com
f0c25c3b32 Bug 694261 - link xpcshell against jemalloc on ia64. r=bz 2011-10-20 09:55:18 +02:00
Tom Schuster
4de4e82e9f Bug 694360 - Don't allow keywords with unicode escapes. r=jorendorff 2011-10-17 19:09:54 +02:00
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
8a2b96580e Bug 693469 - Use mozilla::ArrayLength and mozilla::ArrayEnd in preference to JS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : d89352e4f8c0e40853673d980d16d12dab04b44f
2011-10-10 23:00:28 -07:00
Jeff Walden
b7753477cf Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Jeff Walden
723247dcd8 Bug 679509 - Make sure convert hooks in plugin code always return a primitive value. r=mrbkap, r=luke, r=jst
--HG--
extra : rebase_source : adf240c22329d3461a2c939d11798247a98b867f
2011-10-14 16:27:50 -07:00
Ed Morley
091dcad0ea Merge last green changeset of mozilla-inbound to mozilla-central 2011-10-15 12:19:29 +01:00
Yazen Ghannam
03ce28c74a Bug 677085 - Merge "nsIDOMNSHTMLFrameElement" into "nsIDOMHTMLFrameElement"; r=bz 2011-10-15 09:34:31 +02:00
Jeff Walden
68b5ece4a0 Fix Windows warnings-as-errors build by using |struct Token|, not |class Token|. r=windows-sm-red, obvious fix so DONTBUILD 2011-10-14 13:07:23 -07:00
Bobby Holley
32e79ed0fa Merge mozilla-central to mozilla-inbound 2011-10-14 12:12:53 -07:00
Bobby Holley
0f39cdae6c Bug 688012 - Re-case dependency on dom_quickstubs.h to fix build-time race condition / bustage. r=lumpy 2011-10-14 12:10:50 -07:00
Bobby Holley
fe5eea5a3e Bug 688012 - Manual fixup of overzealous brace hoisting. r=mrbkap 2011-10-14 10:52:49 -07:00
Bobby Holley
f253d4d21f Bug 688012 - Manual fixup of multi-line c++ cast alignment. r=mrbkap 2011-10-14 10:52:49 -07:00
Bobby Holley
c761202fa0 Bug 688012 - Hoist 'else' clauses to the line of the previous close-curly-brace. r=mrbkap
xpcfix -epc `find | grep -P "cpp$|h$" | perl -pe 's/\n/ /'`

This is a conservative pass, which doesn't catch absolutely all cases. But it should be good enough.
2011-10-14 10:52:48 -07:00
Bobby Holley
dfadea33ce Bug 688012 - Move the open-brace for if, else, for, while, and switch to the same line as the keyword or condition. r=mrbkap
xpcfix -bpc `find | grep -P "cpp$|h$" | perl -pe 's/\n/ /'`

This is a huge, repetitive patch, and I confess having only skimmed a lot of it. I'm reasonably confident in the tool here though.

Updated to fix 'else' as well.
2011-10-14 10:52:48 -07:00
Bobby Holley
efc8a150ec Bug 688012 - Add space between keyword and paren for: if, for, while, and switch. r=mrbkap
xpcfix -spuc `find | grep -P "cpp$|h$" | perl -pe 's/\n/ /'`

git diff -w is empty here as well.
2011-10-14 10:52:48 -07:00
Bobby Holley
f38648edc0 Bug 688012 - Fix alignment of arguments and tests relative to parens. r=mrbkap
xpcfix -puc `find | grep -P "cpp$|h$" | perl -pe 's/\n/ /'`

Some of these changes aren't quite ideal, but it's the best my tooling can do and I think it's very much a step in the right direction. This is necessary to do first, because doing if(foo) -> if (foo) changes the location of parentheses, which affects how other things should be aligned. So this has to be built into the tooling, and we might as well take care of the pre-existing issues first.
2011-10-14 10:52:48 -07:00
Bobby Holley
ee9929fffc Bug 688012 - Move all multi-line continuation backslashes to column 79 (where possible). r=mrbkap
xpcfix -c `find | grep -P "cpp$|h$" | perl -pe 's/\n/ /'`

This isn't a huge deal, but it's necessary for the other style changes we want to make. Specifically, when adding and removing things from lines within macros, xpcfix corrects continuation backslashes by putting them at column 79. If we make sure that this is also the default everywhere, then everything will match up.

git diff -w shows no changes here as well.
2011-10-14 10:52:48 -07:00
Bobby Holley
0cdbeb251f Bug 688012 - Remove trailing whitespace within XPConnect. r=mrbkap
xpcfix -w `find | grep -P "cpp$|h$" | perl -pe 's/\n/ /'`

git diff -w verifies that this patch contains no non-whitespace changes.
2011-10-14 10:52:47 -07:00
Bobby Holley
31a5711dcb Bug 691411 - Move js/src/xpconnect to js/xpconnect and rename source files while we're at it. r=khuey, sr=mrbkap
--HG--
rename : js/src/xpconnect/Makefile.in => js/xpconnect/Makefile.in
rename : js/src/xpconnect/crashtests/117307-1.html => js/xpconnect/crashtests/117307-1.html
rename : js/src/xpconnect/crashtests/193710.html => js/xpconnect/crashtests/193710.html
rename : js/src/xpconnect/crashtests/290162-1.html => js/xpconnect/crashtests/290162-1.html
rename : js/src/xpconnect/crashtests/326615-1.html => js/xpconnect/crashtests/326615-1.html
rename : js/src/xpconnect/crashtests/328553-1.html => js/xpconnect/crashtests/328553-1.html
rename : js/src/xpconnect/crashtests/346258-1.html => js/xpconnect/crashtests/346258-1.html
rename : js/src/xpconnect/crashtests/346512-1-frame1.xhtml => js/xpconnect/crashtests/346512-1-frame1.xhtml
rename : js/src/xpconnect/crashtests/346512-1-frame2.xhtml => js/xpconnect/crashtests/346512-1-frame2.xhtml
rename : js/src/xpconnect/crashtests/346512-1.xhtml => js/xpconnect/crashtests/346512-1.xhtml
rename : js/src/xpconnect/crashtests/382133-1.html => js/xpconnect/crashtests/382133-1.html
rename : js/src/xpconnect/crashtests/386680-1.html => js/xpconnect/crashtests/386680-1.html
rename : js/src/xpconnect/crashtests/394810-1.html => js/xpconnect/crashtests/394810-1.html
rename : js/src/xpconnect/crashtests/400349-1.html => js/xpconnect/crashtests/400349-1.html
rename : js/src/xpconnect/crashtests/403356-1.html => js/xpconnect/crashtests/403356-1.html
rename : js/src/xpconnect/crashtests/418139-1.svg => js/xpconnect/crashtests/418139-1.svg
rename : js/src/xpconnect/crashtests/420513-1.html => js/xpconnect/crashtests/420513-1.html
rename : js/src/xpconnect/crashtests/453935-1.html => js/xpconnect/crashtests/453935-1.html
rename : js/src/xpconnect/crashtests/462926.html => js/xpconnect/crashtests/462926.html
rename : js/src/xpconnect/crashtests/467693-1.html => js/xpconnect/crashtests/467693-1.html
rename : js/src/xpconnect/crashtests/468552-1.html => js/xpconnect/crashtests/468552-1.html
rename : js/src/xpconnect/crashtests/471366-1.html => js/xpconnect/crashtests/471366-1.html
rename : js/src/xpconnect/crashtests/475185-1.html => js/xpconnect/crashtests/475185-1.html
rename : js/src/xpconnect/crashtests/475291-1.html => js/xpconnect/crashtests/475291-1.html
rename : js/src/xpconnect/crashtests/503286-1.html => js/xpconnect/crashtests/503286-1.html
rename : js/src/xpconnect/crashtests/504000-1.html => js/xpconnect/crashtests/504000-1.html
rename : js/src/xpconnect/crashtests/509075-1.html => js/xpconnect/crashtests/509075-1.html
rename : js/src/xpconnect/crashtests/512815-1.html => js/xpconnect/crashtests/512815-1.html
rename : js/src/xpconnect/crashtests/515726-1.html => js/xpconnect/crashtests/515726-1.html
rename : js/src/xpconnect/crashtests/545291-1.html => js/xpconnect/crashtests/545291-1.html
rename : js/src/xpconnect/crashtests/558979.html => js/xpconnect/crashtests/558979.html
rename : js/src/xpconnect/crashtests/582649.html => js/xpconnect/crashtests/582649.html
rename : js/src/xpconnect/crashtests/601284-1.html => js/xpconnect/crashtests/601284-1.html
rename : js/src/xpconnect/crashtests/603146-1.html => js/xpconnect/crashtests/603146-1.html
rename : js/src/xpconnect/crashtests/603858-1.html => js/xpconnect/crashtests/603858-1.html
rename : js/src/xpconnect/crashtests/608963.html => js/xpconnect/crashtests/608963.html
rename : js/src/xpconnect/crashtests/616930-1.html => js/xpconnect/crashtests/616930-1.html
rename : js/src/xpconnect/crashtests/639737-1.html => js/xpconnect/crashtests/639737-1.html
rename : js/src/xpconnect/crashtests/648206-1.html => js/xpconnect/crashtests/648206-1.html
rename : js/src/xpconnect/crashtests/crashtests.list => js/xpconnect/crashtests/crashtests.list
rename : js/src/xpconnect/idl/Makefile.in => js/xpconnect/idl/Makefile.in
rename : js/src/xpconnect/idl/mozIJSSubScriptLoader.idl => js/xpconnect/idl/mozIJSSubScriptLoader.idl
rename : js/src/xpconnect/idl/nsIJSContextStack.idl => js/xpconnect/idl/nsIJSContextStack.idl
rename : js/src/xpconnect/idl/nsIJSEngineTelemetryStats.idl => js/xpconnect/idl/nsIJSEngineTelemetryStats.idl
rename : js/src/xpconnect/idl/nsIJSRuntimeService.idl => js/xpconnect/idl/nsIJSRuntimeService.idl
rename : js/src/xpconnect/idl/nsIScriptError.idl => js/xpconnect/idl/nsIScriptError.idl
rename : js/src/xpconnect/idl/nsIXPCScriptNotify.idl => js/xpconnect/idl/nsIXPCScriptNotify.idl
rename : js/src/xpconnect/idl/nsIXPCScriptable.idl => js/xpconnect/idl/nsIXPCScriptable.idl
rename : js/src/xpconnect/idl/nsIXPCSecurityManager.idl => js/xpconnect/idl/nsIXPCSecurityManager.idl
rename : js/src/xpconnect/idl/nsIXPConnect.idl => js/xpconnect/idl/nsIXPConnect.idl
rename : js/src/xpconnect/idl/xpcIJSGetFactory.idl => js/xpconnect/idl/xpcIJSGetFactory.idl
rename : js/src/xpconnect/idl/xpcIJSModuleLoader.idl => js/xpconnect/idl/xpcIJSModuleLoader.idl
rename : js/src/xpconnect/idl/xpcIJSWeakReference.idl => js/xpconnect/idl/xpcIJSWeakReference.idl
rename : js/src/xpconnect/idl/xpccomponents.idl => js/xpconnect/idl/xpccomponents.idl
rename : js/src/xpconnect/idl/xpcexception.idl => js/xpconnect/idl/xpcexception.idl
rename : js/src/xpconnect/idl/xpcjsid.idl => js/xpconnect/idl/xpcjsid.idl
rename : js/src/xpconnect/loader/Makefile.in => js/xpconnect/loader/Makefile.in
rename : js/src/xpconnect/loader/XPCOMUtils.jsm => js/xpconnect/loader/XPCOMUtils.jsm
rename : js/src/xpconnect/loader/mozJSComponentLoader.cpp => js/xpconnect/loader/mozJSComponentLoader.cpp
rename : js/src/xpconnect/loader/mozJSComponentLoader.h => js/xpconnect/loader/mozJSComponentLoader.h
rename : js/src/xpconnect/loader/mozJSLoaderUtils.cpp => js/xpconnect/loader/mozJSLoaderUtils.cpp
rename : js/src/xpconnect/loader/mozJSLoaderUtils.h => js/xpconnect/loader/mozJSLoaderUtils.h
rename : js/src/xpconnect/loader/mozJSSubScriptLoader.cpp => js/xpconnect/loader/mozJSSubScriptLoader.cpp
rename : js/src/xpconnect/loader/mozJSSubScriptLoader.h => js/xpconnect/loader/mozJSSubScriptLoader.h
rename : js/src/xpconnect/public/Makefile.in => js/xpconnect/public/Makefile.in
rename : js/src/xpconnect/public/nsAXPCNativeCallContext.h => js/xpconnect/public/nsAXPCNativeCallContext.h
rename : js/src/xpconnect/public/nsAutoJSValHolder.h => js/xpconnect/public/nsAutoJSValHolder.h
rename : js/src/xpconnect/public/xpc_map_end.h => js/xpconnect/public/xpc_map_end.h
rename : js/src/xpconnect/shell/Makefile.in => js/xpconnect/shell/Makefile.in
rename : js/src/xpconnect/shell/jsshell.msg => js/xpconnect/shell/jsshell.msg
rename : js/src/xpconnect/shell/xpcshell.cpp => js/xpconnect/shell/xpcshell.cpp
rename : js/src/xpconnect/shell/xpcshellMacUtils.h => js/xpconnect/shell/xpcshellMacUtils.h
rename : js/src/xpconnect/shell/xpcshellMacUtils.mm => js/xpconnect/shell/xpcshellMacUtils.mm
rename : js/src/xpconnect/src/Makefile.in => js/xpconnect/src/Makefile.in
rename : js/src/xpconnect/src/README => js/xpconnect/src/README
rename : js/src/xpconnect/src/xpccallcontext.cpp => js/xpconnect/src/XPCCallContext.cpp
rename : js/src/xpconnect/src/xpccomponents.cpp => js/xpconnect/src/XPCComponents.cpp
rename : js/src/xpconnect/src/xpccontext.cpp => js/xpconnect/src/XPCContext.cpp
rename : js/src/xpconnect/src/xpcconvert.cpp => js/xpconnect/src/XPCConvert.cpp
rename : js/src/xpconnect/src/xpcdebug.cpp => js/xpconnect/src/XPCDebug.cpp
rename : js/src/xpconnect/src/xpcexception.cpp => js/xpconnect/src/XPCException.cpp
rename : js/src/xpconnect/src/xpcforwards.h => js/xpconnect/src/XPCForwards.h
rename : js/src/xpconnect/src/xpcinlines.h => js/xpconnect/src/XPCInlines.h
rename : js/src/xpconnect/src/xpcjsid.cpp => js/xpconnect/src/XPCJSID.cpp
rename : js/src/xpconnect/src/xpcjsruntime.cpp => js/xpconnect/src/XPCJSRuntime.cpp
rename : js/src/xpconnect/src/xpcJSWeakReference.cpp => js/xpconnect/src/XPCJSWeakReference.cpp
rename : js/src/xpconnect/src/xpcJSWeakReference.h => js/xpconnect/src/XPCJSWeakReference.h
rename : js/src/xpconnect/src/xpclocale.cpp => js/xpconnect/src/XPCLocale.cpp
rename : js/src/xpconnect/src/xpclog.cpp => js/xpconnect/src/XPCLog.cpp
rename : js/src/xpconnect/src/xpclog.h => js/xpconnect/src/XPCLog.h
rename : js/src/xpconnect/src/xpcmaps.cpp => js/xpconnect/src/XPCMaps.cpp
rename : js/src/xpconnect/src/xpcmaps.h => js/xpconnect/src/XPCMaps.h
rename : js/src/xpconnect/src/xpcmodule.cpp => js/xpconnect/src/XPCModule.cpp
rename : js/src/xpconnect/src/xpcmodule.h => js/xpconnect/src/XPCModule.h
rename : js/src/xpconnect/src/xpcquickstubs.cpp => js/xpconnect/src/XPCQuickStubs.cpp
rename : js/src/xpconnect/src/xpcquickstubs.h => js/xpconnect/src/XPCQuickStubs.h
rename : js/src/xpconnect/src/xpcruntimesvc.cpp => js/xpconnect/src/XPCRuntimeService.cpp
rename : js/src/xpconnect/src/xpcstack.cpp => js/xpconnect/src/XPCStack.cpp
rename : js/src/xpconnect/src/xpcstring.cpp => js/xpconnect/src/XPCString.cpp
rename : js/src/xpconnect/src/xpcthreadcontext.cpp => js/xpconnect/src/XPCThreadContext.cpp
rename : js/src/xpconnect/src/xpcthrower.cpp => js/xpconnect/src/XPCThrower.cpp
rename : js/src/xpconnect/src/xpcvariant.cpp => js/xpconnect/src/XPCVariant.cpp
rename : js/src/xpconnect/src/xpcwrappedjs.cpp => js/xpconnect/src/XPCWrappedJS.cpp
rename : js/src/xpconnect/src/xpcwrappedjsclass.cpp => js/xpconnect/src/XPCWrappedJSClass.cpp
rename : js/src/xpconnect/src/xpcwrappednative.cpp => js/xpconnect/src/XPCWrappedNative.cpp
rename : js/src/xpconnect/src/xpcwrappednativeinfo.cpp => js/xpconnect/src/XPCWrappedNativeInfo.cpp
rename : js/src/xpconnect/src/xpcwrappednativejsops.cpp => js/xpconnect/src/XPCWrappedNativeJSOps.cpp
rename : js/src/xpconnect/src/xpcwrappednativeproto.cpp => js/xpconnect/src/XPCWrappedNativeProto.cpp
rename : js/src/xpconnect/src/xpcwrappednativescope.cpp => js/xpconnect/src/XPCWrappedNativeScope.cpp
rename : js/src/xpconnect/src/XPCWrapper.cpp => js/xpconnect/src/XPCWrapper.cpp
rename : js/src/xpconnect/src/XPCWrapper.h => js/xpconnect/src/XPCWrapper.h
rename : js/src/xpconnect/src/codegen.py => js/xpconnect/src/codegen.py
rename : js/src/xpconnect/src/dom_quickstubs.qsconf => js/xpconnect/src/dom_quickstubs.qsconf
rename : js/src/xpconnect/src/dombindings.conf => js/xpconnect/src/dombindings.conf
rename : js/src/xpconnect/src/dombindings.cpp => js/xpconnect/src/dombindings.cpp
rename : js/src/xpconnect/src/dombindings.h => js/xpconnect/src/dombindings.h
rename : js/src/xpconnect/src/dombindingsgen.py => js/xpconnect/src/dombindingsgen.py
rename : js/src/xpconnect/src/nsCSSPropertiesQS.h => js/xpconnect/src/nsCSSPropertiesQS.h
rename : js/src/xpconnect/src/nsDOMQS.h => js/xpconnect/src/nsDOMQS.h
rename : js/src/xpconnect/src/nsScriptError.cpp => js/xpconnect/src/nsScriptError.cpp
rename : js/src/xpconnect/src/nsXPConnect.cpp => js/xpconnect/src/nsXPConnect.cpp
rename : js/src/xpconnect/src/qsWinUndefs.h => js/xpconnect/src/qsWinUndefs.h
rename : js/src/xpconnect/src/qsgen.py => js/xpconnect/src/qsgen.py
rename : js/src/xpconnect/src/xpc.msg => js/xpconnect/src/xpc.msg
rename : js/src/xpconnect/src/xpcprivate.h => js/xpconnect/src/xpcprivate.h
rename : js/src/xpconnect/src/xpcpublic.h => js/xpconnect/src/xpcpublic.h
rename : js/src/xpconnect/tests/Makefile.in => js/xpconnect/tests/Makefile.in
rename : js/src/xpconnect/tests/chrome/Makefile.in => js/xpconnect/tests/chrome/Makefile.in
rename : js/src/xpconnect/tests/chrome/bug503926.xul => js/xpconnect/tests/chrome/bug503926.xul
rename : js/src/xpconnect/tests/chrome/file_bug618176.xul => js/xpconnect/tests/chrome/file_bug618176.xul
rename : js/src/xpconnect/tests/chrome/file_evalInSandbox.html => js/xpconnect/tests/chrome/file_evalInSandbox.html
rename : js/src/xpconnect/tests/chrome/test_APIExposer.xul => js/xpconnect/tests/chrome/test_APIExposer.xul
rename : js/src/xpconnect/tests/chrome/test_bug448587.xul => js/xpconnect/tests/chrome/test_bug448587.xul
rename : js/src/xpconnect/tests/chrome/test_bug484459.xul => js/xpconnect/tests/chrome/test_bug484459.xul
rename : js/src/xpconnect/tests/chrome/test_bug500931.xul => js/xpconnect/tests/chrome/test_bug500931.xul
rename : js/src/xpconnect/tests/chrome/test_bug503926.xul => js/xpconnect/tests/chrome/test_bug503926.xul
rename : js/src/xpconnect/tests/chrome/test_bug517163.xul => js/xpconnect/tests/chrome/test_bug517163.xul
rename : js/src/xpconnect/tests/chrome/test_bug533596.xul => js/xpconnect/tests/chrome/test_bug533596.xul
rename : js/src/xpconnect/tests/chrome/test_bug571849.xul => js/xpconnect/tests/chrome/test_bug571849.xul
rename : js/src/xpconnect/tests/chrome/test_bug596580.xul => js/xpconnect/tests/chrome/test_bug596580.xul
rename : js/src/xpconnect/tests/chrome/test_bug601803.xul => js/xpconnect/tests/chrome/test_bug601803.xul
rename : js/src/xpconnect/tests/chrome/test_bug610390.xul => js/xpconnect/tests/chrome/test_bug610390.xul
rename : js/src/xpconnect/tests/chrome/test_bug614757.xul => js/xpconnect/tests/chrome/test_bug614757.xul
rename : js/src/xpconnect/tests/chrome/test_bug616992.xul => js/xpconnect/tests/chrome/test_bug616992.xul
rename : js/src/xpconnect/tests/chrome/test_bug618176.xul => js/xpconnect/tests/chrome/test_bug618176.xul
rename : js/src/xpconnect/tests/chrome/test_bug654370.xul => js/xpconnect/tests/chrome/test_bug654370.xul
rename : js/src/xpconnect/tests/chrome/test_bug658560.xul => js/xpconnect/tests/chrome/test_bug658560.xul
rename : js/src/xpconnect/tests/chrome/test_bug664689.xul => js/xpconnect/tests/chrome/test_bug664689.xul
rename : js/src/xpconnect/tests/chrome/test_bug679861.xul => js/xpconnect/tests/chrome/test_bug679861.xul
rename : js/src/xpconnect/tests/chrome/test_cows.xul => js/xpconnect/tests/chrome/test_cows.xul
rename : js/src/xpconnect/tests/chrome/test_doublewrappedcompartments.xul => js/xpconnect/tests/chrome/test_doublewrappedcompartments.xul
rename : js/src/xpconnect/tests/chrome/test_evalInSandbox.xul => js/xpconnect/tests/chrome/test_evalInSandbox.xul
rename : js/src/xpconnect/tests/chrome/test_getweakmapkeys.xul => js/xpconnect/tests/chrome/test_getweakmapkeys.xul
rename : js/src/xpconnect/tests/chrome/test_nodelists.xul => js/xpconnect/tests/chrome/test_nodelists.xul
rename : js/src/xpconnect/tests/chrome/test_precisegc.xul => js/xpconnect/tests/chrome/test_precisegc.xul
rename : js/src/xpconnect/tests/chrome/test_sandboxImport.xul => js/xpconnect/tests/chrome/test_sandboxImport.xul
rename : js/src/xpconnect/tests/chrome/test_wrappers-2.xul => js/xpconnect/tests/chrome/test_wrappers-2.xul
rename : js/src/xpconnect/tests/chrome/test_wrappers.xul => js/xpconnect/tests/chrome/test_wrappers.xul
rename : js/src/xpconnect/tests/components/js/Makefile.in => js/xpconnect/tests/components/js/Makefile.in
rename : js/src/xpconnect/tests/components/js/xpctest.manifest => js/xpconnect/tests/components/js/xpctest.manifest
rename : js/src/xpconnect/tests/components/js/xpctest_attributes.js => js/xpconnect/tests/components/js/xpctest_attributes.js
rename : js/src/xpconnect/tests/components/js/xpctest_params.js => js/xpconnect/tests/components/js/xpctest_params.js
rename : js/src/xpconnect/tests/components/native/Makefile.in => js/xpconnect/tests/components/native/Makefile.in
rename : js/src/xpconnect/tests/components/native/xpctest.manifest => js/xpconnect/tests/components/native/xpctest.manifest
rename : js/src/xpconnect/tests/components/native/xpctest_attributes.cpp => js/xpconnect/tests/components/native/xpctest_attributes.cpp
rename : js/src/xpconnect/tests/components/native/xpctest_module.cpp => js/xpconnect/tests/components/native/xpctest_module.cpp
rename : js/src/xpconnect/tests/components/native/xpctest_params.cpp => js/xpconnect/tests/components/native/xpctest_params.cpp
rename : js/src/xpconnect/tests/components/native/xpctest_private.h => js/xpconnect/tests/components/native/xpctest_private.h
rename : js/src/xpconnect/tests/idl/Makefile.in => js/xpconnect/tests/idl/Makefile.in
rename : js/src/xpconnect/tests/idl/xpctest_attributes.idl => js/xpconnect/tests/idl/xpctest_attributes.idl
rename : js/src/xpconnect/tests/idl/xpctest_params.idl => js/xpconnect/tests/idl/xpctest_params.idl
rename : js/src/xpconnect/tests/mochitest/Makefile.in => js/xpconnect/tests/mochitest/Makefile.in
rename : js/src/xpconnect/tests/mochitest/bug500931_helper.html => js/xpconnect/tests/mochitest/bug500931_helper.html
rename : js/src/xpconnect/tests/mochitest/bug504877_helper.html => js/xpconnect/tests/mochitest/bug504877_helper.html
rename : js/src/xpconnect/tests/mochitest/bug571849_helper.html => js/xpconnect/tests/mochitest/bug571849_helper.html
rename : js/src/xpconnect/tests/mochitest/bug589028_helper.html => js/xpconnect/tests/mochitest/bug589028_helper.html
rename : js/src/xpconnect/tests/mochitest/bug657267.jar => js/xpconnect/tests/mochitest/bug657267.jar
rename : js/src/xpconnect/tests/mochitest/bug92773_helper.html => js/xpconnect/tests/mochitest/bug92773_helper.html
rename : js/src/xpconnect/tests/mochitest/chrome_wrappers_helper.html => js/xpconnect/tests/mochitest/chrome_wrappers_helper.html
rename : js/src/xpconnect/tests/mochitest/file1_bug629227.html => js/xpconnect/tests/mochitest/file1_bug629227.html
rename : js/src/xpconnect/tests/mochitest/file2_bug629227.html => js/xpconnect/tests/mochitest/file2_bug629227.html
rename : js/src/xpconnect/tests/mochitest/file_bug505915.html => js/xpconnect/tests/mochitest/file_bug505915.html
rename : js/src/xpconnect/tests/mochitest/file_bug650273.html => js/xpconnect/tests/mochitest/file_bug650273.html
rename : js/src/xpconnect/tests/mochitest/file_bug658560.html => js/xpconnect/tests/mochitest/file_bug658560.html
rename : js/src/xpconnect/tests/mochitest/file_doublewrappedcompartments.html => js/xpconnect/tests/mochitest/file_doublewrappedcompartments.html
rename : js/src/xpconnect/tests/mochitest/file_evalInSandbox.html => js/xpconnect/tests/mochitest/file_evalInSandbox.html
rename : js/src/xpconnect/tests/mochitest/file_nodelists.html => js/xpconnect/tests/mochitest/file_nodelists.html
rename : js/src/xpconnect/tests/mochitest/file_wrappers-2.html => js/xpconnect/tests/mochitest/file_wrappers-2.html
rename : js/src/xpconnect/tests/mochitest/inner.html => js/xpconnect/tests/mochitest/inner.html
rename : js/src/xpconnect/tests/mochitest/test1_bug629331.html => js/xpconnect/tests/mochitest/test1_bug629331.html
rename : js/src/xpconnect/tests/mochitest/test2_bug629331.html => js/xpconnect/tests/mochitest/test2_bug629331.html
rename : js/src/xpconnect/tests/mochitest/test_bug361111.xul => js/xpconnect/tests/mochitest/test_bug361111.xul
rename : js/src/xpconnect/tests/mochitest/test_bug384632.html => js/xpconnect/tests/mochitest/test_bug384632.html
rename : js/src/xpconnect/tests/mochitest/test_bug390488.html => js/xpconnect/tests/mochitest/test_bug390488.html
rename : js/src/xpconnect/tests/mochitest/test_bug393269.html => js/xpconnect/tests/mochitest/test_bug393269.html
rename : js/src/xpconnect/tests/mochitest/test_bug396851.html => js/xpconnect/tests/mochitest/test_bug396851.html
rename : js/src/xpconnect/tests/mochitest/test_bug428021.html => js/xpconnect/tests/mochitest/test_bug428021.html
rename : js/src/xpconnect/tests/mochitest/test_bug446584.html => js/xpconnect/tests/mochitest/test_bug446584.html
rename : js/src/xpconnect/tests/mochitest/test_bug462428.html => js/xpconnect/tests/mochitest/test_bug462428.html
rename : js/src/xpconnect/tests/mochitest/test_bug478438.html => js/xpconnect/tests/mochitest/test_bug478438.html
rename : js/src/xpconnect/tests/mochitest/test_bug484107.html => js/xpconnect/tests/mochitest/test_bug484107.html
rename : js/src/xpconnect/tests/mochitest/test_bug500691.html => js/xpconnect/tests/mochitest/test_bug500691.html
rename : js/src/xpconnect/tests/mochitest/test_bug502959.html => js/xpconnect/tests/mochitest/test_bug502959.html
rename : js/src/xpconnect/tests/mochitest/test_bug503926.html => js/xpconnect/tests/mochitest/test_bug503926.html
rename : js/src/xpconnect/tests/mochitest/test_bug504877.html => js/xpconnect/tests/mochitest/test_bug504877.html
rename : js/src/xpconnect/tests/mochitest/test_bug505915.html => js/xpconnect/tests/mochitest/test_bug505915.html
rename : js/src/xpconnect/tests/mochitest/test_bug553407.html => js/xpconnect/tests/mochitest/test_bug553407.html
rename : js/src/xpconnect/tests/mochitest/test_bug560351.html => js/xpconnect/tests/mochitest/test_bug560351.html
rename : js/src/xpconnect/tests/mochitest/test_bug564330.html => js/xpconnect/tests/mochitest/test_bug564330.html
rename : js/src/xpconnect/tests/mochitest/test_bug585745.html => js/xpconnect/tests/mochitest/test_bug585745.html
rename : js/src/xpconnect/tests/mochitest/test_bug589028.html => js/xpconnect/tests/mochitest/test_bug589028.html
rename : js/src/xpconnect/tests/mochitest/test_bug601299.html => js/xpconnect/tests/mochitest/test_bug601299.html
rename : js/src/xpconnect/tests/mochitest/test_bug605167.html => js/xpconnect/tests/mochitest/test_bug605167.html
rename : js/src/xpconnect/tests/mochitest/test_bug618017.html => js/xpconnect/tests/mochitest/test_bug618017.html
rename : js/src/xpconnect/tests/mochitest/test_bug623437.html => js/xpconnect/tests/mochitest/test_bug623437.html
rename : js/src/xpconnect/tests/mochitest/test_bug628410.html => js/xpconnect/tests/mochitest/test_bug628410.html
rename : js/src/xpconnect/tests/mochitest/test_bug628794.html => js/xpconnect/tests/mochitest/test_bug628794.html
rename : js/src/xpconnect/tests/mochitest/test_bug629227.html => js/xpconnect/tests/mochitest/test_bug629227.html
rename : js/src/xpconnect/tests/mochitest/test_bug629331.html => js/xpconnect/tests/mochitest/test_bug629331.html
rename : js/src/xpconnect/tests/mochitest/test_bug636097.html => js/xpconnect/tests/mochitest/test_bug636097.html
rename : js/src/xpconnect/tests/mochitest/test_bug650273.html => js/xpconnect/tests/mochitest/test_bug650273.html
rename : js/src/xpconnect/tests/mochitest/test_bug655297.html => js/xpconnect/tests/mochitest/test_bug655297.html
rename : js/src/xpconnect/tests/mochitest/test_bug657267.html => js/xpconnect/tests/mochitest/test_bug657267.html
rename : js/src/xpconnect/tests/mochitest/test_bug661980.html => js/xpconnect/tests/mochitest/test_bug661980.html
rename : js/src/xpconnect/tests/mochitest/test_bug691059.html => js/xpconnect/tests/mochitest/test_bug691059.html
rename : js/src/xpconnect/tests/mochitest/test_bug92773.html => js/xpconnect/tests/mochitest/test_bug92773.html
rename : js/src/xpconnect/tests/mochitest/test_frameWrapping.html => js/xpconnect/tests/mochitest/test_frameWrapping.html
rename : js/src/xpconnect/tests/unit/CatRegistrationComponents.manifest => js/xpconnect/tests/unit/CatRegistrationComponents.manifest
rename : js/src/xpconnect/tests/unit/bogus_element_type.jsm => js/xpconnect/tests/unit/bogus_element_type.jsm
rename : js/src/xpconnect/tests/unit/bogus_exports_type.jsm => js/xpconnect/tests/unit/bogus_exports_type.jsm
rename : js/src/xpconnect/tests/unit/bug451678_subscript.js => js/xpconnect/tests/unit/bug451678_subscript.js
rename : js/src/xpconnect/tests/unit/bug596580_versioned.js => js/xpconnect/tests/unit/bug596580_versioned.js
rename : js/src/xpconnect/tests/unit/component-file.js => js/xpconnect/tests/unit/component-file.js
rename : js/src/xpconnect/tests/unit/component-file.manifest => js/xpconnect/tests/unit/component-file.manifest
rename : js/src/xpconnect/tests/unit/component_import.js => js/xpconnect/tests/unit/component_import.js
rename : js/src/xpconnect/tests/unit/component_import.manifest => js/xpconnect/tests/unit/component_import.manifest
rename : js/src/xpconnect/tests/unit/recursive_importA.jsm => js/xpconnect/tests/unit/recursive_importA.jsm
rename : js/src/xpconnect/tests/unit/recursive_importB.jsm => js/xpconnect/tests/unit/recursive_importB.jsm
rename : js/src/xpconnect/tests/unit/syntax_error.jsm => js/xpconnect/tests/unit/syntax_error.jsm
rename : js/src/xpconnect/tests/unit/test_attributes.js => js/xpconnect/tests/unit/test_attributes.js
rename : js/src/xpconnect/tests/unit/test_bogus_files.js => js/xpconnect/tests/unit/test_bogus_files.js
rename : js/src/xpconnect/tests/unit/test_bug408412.js => js/xpconnect/tests/unit/test_bug408412.js
rename : js/src/xpconnect/tests/unit/test_bug451678.js => js/xpconnect/tests/unit/test_bug451678.js
rename : js/src/xpconnect/tests/unit/test_bug596580.js => js/xpconnect/tests/unit/test_bug596580.js
rename : js/src/xpconnect/tests/unit/test_bug604362.js => js/xpconnect/tests/unit/test_bug604362.js
rename : js/src/xpconnect/tests/unit/test_bug608142.js => js/xpconnect/tests/unit/test_bug608142.js
rename : js/src/xpconnect/tests/unit/test_bug641378.js => js/xpconnect/tests/unit/test_bug641378.js
rename : js/src/xpconnect/tests/unit/test_bug677864.js => js/xpconnect/tests/unit/test_bug677864.js
rename : js/src/xpconnect/tests/unit/test_bug_442086.js => js/xpconnect/tests/unit/test_bug_442086.js
rename : js/src/xpconnect/tests/unit/test_file.js => js/xpconnect/tests/unit/test_file.js
rename : js/src/xpconnect/tests/unit/test_import.js => js/xpconnect/tests/unit/test_import.js
rename : js/src/xpconnect/tests/unit/test_js_weak_references.js => js/xpconnect/tests/unit/test_js_weak_references.js
rename : js/src/xpconnect/tests/unit/test_localeCompare.js => js/xpconnect/tests/unit/test_localeCompare.js
rename : js/src/xpconnect/tests/unit/test_params.js => js/xpconnect/tests/unit/test_params.js
rename : js/src/xpconnect/tests/unit/test_recursive_import.js => js/xpconnect/tests/unit/test_recursive_import.js
rename : js/src/xpconnect/tests/unit/test_reflect_parse.js => js/xpconnect/tests/unit/test_reflect_parse.js
rename : js/src/xpconnect/tests/unit/test_unload.js => js/xpconnect/tests/unit/test_unload.js
rename : js/src/xpconnect/tests/unit/test_xpcomutils.js => js/xpconnect/tests/unit/test_xpcomutils.js
rename : js/src/xpconnect/tests/unit/xpcshell.ini => js/xpconnect/tests/unit/xpcshell.ini
rename : js/src/xpconnect/wrappers/AccessCheck.cpp => js/xpconnect/wrappers/AccessCheck.cpp
rename : js/src/xpconnect/wrappers/AccessCheck.h => js/xpconnect/wrappers/AccessCheck.h
rename : js/src/xpconnect/wrappers/CrossOriginWrapper.cpp => js/xpconnect/wrappers/CrossOriginWrapper.cpp
rename : js/src/xpconnect/wrappers/CrossOriginWrapper.h => js/xpconnect/wrappers/CrossOriginWrapper.h
rename : js/src/xpconnect/wrappers/FilteringWrapper.cpp => js/xpconnect/wrappers/FilteringWrapper.cpp
rename : js/src/xpconnect/wrappers/FilteringWrapper.h => js/xpconnect/wrappers/FilteringWrapper.h
rename : js/src/xpconnect/wrappers/Makefile.in => js/xpconnect/wrappers/Makefile.in
rename : js/src/xpconnect/wrappers/WrapperFactory.cpp => js/xpconnect/wrappers/WrapperFactory.cpp
rename : js/src/xpconnect/wrappers/WrapperFactory.h => js/xpconnect/wrappers/WrapperFactory.h
rename : js/src/xpconnect/wrappers/XrayWrapper.cpp => js/xpconnect/wrappers/XrayWrapper.cpp
rename : js/src/xpconnect/wrappers/XrayWrapper.h => js/xpconnect/wrappers/XrayWrapper.h
2011-10-14 10:52:47 -07:00
Bobby Holley
1d942faa86 Bug 691411 - Remove various dead directories in XPConnect. r=khuey 2011-10-14 10:52:46 -07:00
Chris Leary
420d2cbf78 Bug 673188 style followup. 2011-10-14 03:19:52 -07:00
Jeff Walden
064476f76f Bug 692983 - Refactor Token and JSParseNode storage to distinguish atoms which are PropertyNames from atoms which might or might not be. r=cdleary
--HG--
extra : rebase_source : 27c93935e0904eb1f9337699f0edb80e71a22f76
2011-10-08 15:45:29 -07:00
Jeff Walden
f016f7b748 Bug 692978 - Split lookupProperty into property and generic forms, and use them throughout the engine. r=bhackett
--HG--
extra : rebase_source : 0d5cf535e64c862334ce5cae3d09caf565775366
2011-10-08 15:45:04 -07:00
Jeff Walden
623030fbb0 Bug 694454 - Make Function.caller skip over eval frames rather than cause stack-walking code to snarl into a loop on them. r=luke, r=bhackett
--HG--
extra : rebase_source : b77eaacf72248a9ea47bca27d523e16a8f84d466
2011-10-13 17:21:56 -07:00
Ehsan Akhgari
bfd6017056 Merge mozilla-central into mozilla-inbound: 2011-10-14 13:58:40 -04:00
Chris Leary
a25f4d682b Bug 694527: Force RegExpPrivate creation for clone source. (r=bhackett)
--HG--
extra : rebase_source : b052ceb7f9ec13d9ebbbaa1b90021fb98e0868a5
2011-10-14 10:44:13 -07:00
Brian Hackett
ef4ed0952c Don't overflow pending array on OOM, bug 691873. r=jimb 2011-10-14 09:49:29 -07:00
Jim Blandy
8b33210d53 Bug 693692: Add DWARF Call Frame Information annotations to JaegerInterpoline for x86 and x86_64. r=sfink
This allows backtraces through frames executing in JaegerInterpoline and
JaegerInterpolineScripted on x86 and x86_64.

This patch should be applied on top of the patch for bug 645111.
2011-10-14 09:11:08 -07:00
Terrence Cole
47db6e82f5 Bug 693847 - Squelch unused name warnings in Nitro in release builds. r=luke 2011-10-11 16:01:12 -07:00
Mike Hommey
5bf916a565 Bug 694533 - LDRH/STRH/LDRSB/STRSB are supported on ARMv5-. r=jbramley 2011-10-14 15:20:54 +02:00
Jacek Caban
7c8bea8064 Bug 661663 - Have to #define XP_WIN when building app with embedded SpiderMonkey JS engine r=benjamin
--HG--
extra : rebase_source : e65fd73de4f6e1091c4c182da2406d54a35e7078
2011-10-14 13:13:35 +02:00
Chris Leary
f3b70ab7d0 Bug 673188: Compile regexps lazily. (r=mrbkap) 2011-10-07 03:04:00 -07:00
Leon Sha
b45b9f7165 Bug 694256 - Build error: JS_FloorLog2 is missing. r=luke. 2011-10-14 13:12:46 +08:00
Steve Fink
c8b7983171 Bug 689101 - make the jsval_layout field in JS::Value public in MSC compiles for binary compatibility across C and C++ (r=luke) 2011-10-11 15:46:29 -07:00
Andrew McCreight
90c7b18f56 Bug 688277, part 2 - Expose way to get weak map keys to JS for testing. r=mrbkap 2011-10-13 09:33:57 -07:00
Andrew McCreight
e07b95d185 Bug 688277, part 1 - add JS friend API to get keys of a weak map. r=jorendorff 2011-10-13 09:33:39 -07:00
Jacek Caban
258e313c8d Bug 694046 - Invalid MOZ_CAN_RUN_PROGRAMS declaration in autoconf.mk.in r=khuey 2011-10-13 16:05:47 +02:00
Luke Wagner
179eb73d2a Bug 689362 - Remove empty jsstaticcheck.h (r=billm) 2011-10-12 10:28:56 -07:00
Peter Van der Beken
cce545a1cb Fix for bug 693894 (NodeList crash [@ js::GetObjectShape]). r=jst.
--HG--
extra : rebase_source : fe485e60f87633861c3aadde95c29af6d81ddcc9
2011-10-13 14:40:20 +02:00
Peter Van der Beken
59068e688b Fix for bug 693563 (Generating dombindings_gen.cpp multiple times results in a different file) - sort properties in generated code. r=jst.
--HG--
extra : rebase_source : 40218fc5a1e60e24702d0646bbe3fafa0c268768
2011-10-13 14:40:20 +02:00
Peter Van der Beken
d638b73743 Fix for bug 693364 (Leak in CompartmentPrivate::RegisterDOMExpandoObject). r=Ms2ger.
--HG--
extra : rebase_source : 9728bcc317280079abd6bb5915d4d877beb9ab6f
2011-10-13 14:40:20 +02:00
Benoit Jacob
1dfa6af486 Bug 638328 - remove (most of) WebGL quickstubbing blacklist - r=peterv
Most functions can now be auto-quicktubbed. Only those returning a jsval can't.
2011-10-13 08:09:22 -04:00
Marco Bonardo
5de41a86a2 Backout 212d9fcab778, 67c738a47561, a5cdc792975d, 6538d5d3c8d4 since suspects for OSX64 m-oth permaorange 2011-10-13 12:44:31 +02:00
Justin Lebar
26e4ee32cd Back out rev 4c0e6b3f7791 (bug 689362) due to suspected mac x64 opt moth orange. 2011-10-12 23:07:04 -04:00
Luke Wagner
d3b7077c0c Bug 693895 - Remove call to js_ReconstructStackDepth in StackIter (r=dmandelin) 2011-10-12 10:30:15 -07:00
Josh Matthews
5be0daf82f Bug 675520 - Ensure iterator prototype has a native iterator. r=jwalden 2011-10-12 18:48:14 -04:00
Chris Leary
0d6adcf81f Bug 693928: Fix random orange from LifoAlloc debug memset. (r=luke)
--HG--
extra : rebase_source : 314ebeb6364ad0bb45baa6b7d7f09b9603e47b27
2011-10-12 15:32:40 -07:00
Marco Bonardo
e83b7f7f11 Backout 9572dd78af53 (Bug 693895) for make check failures 2011-10-13 00:20:32 +02:00
Luke Wagner
831a59a503 Bug 693895 - Remove call to js_ReconstructStackDepth in StackIter (r=dmandelin)
--HG--
extra : rebase_source : f2a43ee843f708b175e2a3671d2d63c6c4b9a4e3
2011-10-12 10:30:15 -07:00
Luke Wagner
8d6c125463 Bug 689362 - Remove empty jsstaticcheck.h (r=billm)
--HG--
extra : rebase_source : d37d29af2a4f6b8c4f9a18468e57285ea8098824
2011-10-12 10:28:56 -07:00
Steve Fink
86bff92d2d Bug 689101 - Test for firebug incompatibility due to jsval ABI mismatch (r=test)
--HG--
extra : rebase_source : b58acb6b58415e8f1954e46d094b9d6ad985efb1
2011-10-10 15:06:28 -07:00
Steve Fink
9d373e25a2 Bug 692722 - implement xpcshell -d for running in debug mode (r=mrbkap)
--HG--
extra : rebase_source : 7b664415f9490bb93adae6e6538d8d907b33c3d1
2011-10-06 23:34:21 -07:00
Steve Fink
51be211b08 Bug 689101 - make the jsval_layout field in JS::Value public in MSC compiles for binary compatibility across C and C++ (r=luke)
--HG--
extra : rebase_source : e0605a4fc1b242ba8006a9e6038b95c49965e5ce
2011-10-11 15:46:29 -07:00
Matheus Kerschbaum
b520783790 Bug 477358 - Kill NS_USE_NATIVE r=khuey 2011-10-12 20:32:07 +02:00
Jeff Walden
eb2cb918a4 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Matheus Kerschbaum
8368560bae Bug 477358 - Kill NS_USE_NATIVE r=khuey 2011-10-12 20:32:07 +02:00
Jeff Walden
61aacb842c Bug 692983 - Refactor Token and JSParseNode storage to distinguish atoms which are PropertyNames from atoms which might or might not be. r=cdleary 2011-10-08 15:45:29 -07:00
Jeff Walden
97fefeff6d Bug 692978 - Split lookupProperty into property and generic forms, and use them throughout the engine. r=bhackett 2011-10-08 15:45:04 -07:00
Jeff Walden
bd8d321b37 Bug 639469 - Use mozilla::ArrayLength and mozilla::ArrayEnd in preference to JS_ARRAY_LENGTH whenever possible. r=cjones 2011-10-10 23:00:28 -07:00
Jeff Walden
77ebbde4ab Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Brian Hackett
85685994c3 Faster handling when calling native methods on regexp literals, bug 692657. r=cdleary 2011-10-12 08:17:44 -07:00
Peter Van der Beken
ebc0b38209 Fix for bug 693301 (Remove ConstructProxyObject) - switch outer window creation to nsWrapperCache::WrapObject. r=mrbkap. 2011-08-20 15:53:34 +02:00
Steve Fink
5b5d96c02c Bug 693886 - non-threadsafe link error with JS_CallOnce (r=jwalden)
--HG--
extra : rebase_source : dcdabb93321a669066fa8b3afd7900b02ff09079
2011-10-11 21:51:37 -07:00
Steve Fink
88e262a803 Bug 693712 - Followup to fix further SM-specific build breakage (r=billm)
--HG--
extra : rebase_source : d9de95b4267d5aa0f6cdb53ce6bfbb0028fcdd3c
2011-10-11 12:38:36 -07:00
Phil Ringnalda
dadd332adf Bug 682754 - date_parseISOString should tolerate a missing colon in the timezone, arr=Waldo
--HG--
extra : rebase_source : 96fc6fd1c3b3a8db5d653f065da9b3c6a00f057c
2011-08-28 23:16:37 -07:00
Brian Hackett
f5bebab173 Don't load high bits when getting typed array lengths, bug 693144. r=dvander 2011-10-11 19:05:33 -07:00
Brian Hackett
21a1740a0b Disable jstracer by default, bug 693815. r=dmandelin 2011-10-11 18:41:45 -07:00
Jeff Walden
e927e083c3 Fix an order-of-initialization warning just recently added, to move the warnings-as-errors build closer to green again. r=trivial 2011-10-11 17:47:56 -07:00
Jeff Walden
9d9f203609 Followup fixes to misplaced test for bug 648471, seems I made them in the patch in a tree I didn't push. :-\ r=orange
--HG--
extra : rebase_source : cb9b119601b30fd3d66e0699f5c66bac850ec1c7
2011-10-11 17:43:25 -07:00
Ehsan Akhgari
5d9711e376 Bug 693323 - Explcitly instantiate the ListBase class with the template arguments that we use it with, since apparently clang doesn't see the need to instantiate it automatically; r=peterv 2011-10-11 19:09:56 -04:00
Jeff Walden
c5928ba9bb Add a misplaced test for bug 648471, found in an old .hg/patches directory while pruning my Mozilla tree count. r=itsatest
--HG--
extra : rebase_source : 7c46baa4297335c05e71ac2e0229c06b84848d99
2011-10-10 22:05:06 -07:00
Matt Brubeck
9a844008c2 Merge mozilla-central to mozilla-inbound 2011-10-11 14:11:09 -07:00
Kyle Huey
7acd90d977 Merge b-s to m-c. 2011-10-11 08:20:42 -04:00
Kyle Huey
7f5811a7a3 Bug 690961. r=mrbkap 2011-10-11 08:11:17 -04:00
Mike Hommey
19beef62f0 Bug 686283 - Properly handle EOF in TokenStream::getAtSourceMappingURL on platforms with unsigned chars. r=luke 2011-10-11 08:41:47 +02:00
Kyle Huey
209504202f Merge m-c to b-s. 2011-10-09 18:19:28 -04:00
Gregory Szorc
364d4fb86e Bug 687225 - Detect MSVC 2011 compiler. r=ted 2011-10-03 21:57:00 -04:00
Matt Brubeck
33a76a6eed Merge mozilla-central to mozilla-inbound 2011-10-10 16:19:01 -07:00
David Mandelin
49f04f6941 Bug 687398: fix debug printing of method GC edge, r=cdleary
--HG--
extra : rebase_source : 1478968f01bed92e64f809d6bbe37169065bf923
2011-10-10 13:08:35 -07:00
Jim Blandy
071d1f62d5 Bug 693406: Set the activeAnalysis flag in the proper compartment when printing TypeCompartments from js_DestroyContext with INFERFLAGS=full. r=bhackett
When ISpewResult is enabled, js_DestroyContext walks over all the
compartments and dumps their types. However, it doesn't switch the context
to each compartment as it does so, so the context passed in to all the
print calls may not be in the same compartment as the scripts whose type
inference results it's printing. This means that

    AutoEnterAnalysis enter(cx);

sets the activeAnalysis flag in the wrong compartment, leading to assertion
failures in functions like js::analyze::ScriptAnalysis::slotEscapes.
2011-10-10 14:31:35 -07:00
Justin Lebar
33ec36f375 Bug 693393 - Make poor man's Maybe<AutoCompartment> in JSAutoEnterCompartment (slightly) less fragile. r=luke
--HG--
extra : rebase_source : 69d96dc62d674df1ba5121c6cbb31474208a6155
2011-10-10 15:51:59 -04:00
Bill McCloskey
075030270d Bug 692884 - Manage GC's black/gray color transitions from JS, not xpconnect (r=mccr8) 2011-10-10 10:25:46 -07:00
Olli Pettay
92f9d92d00 Bug 691059, don't throw when setting interface.prototype.onmouseenter/leave, r=bz
--HG--
extra : rebase_source : af4c6bb330ee92b9ca2d3d9258b3e41ea1fae746
2011-10-10 19:21:48 +03:00
Olli Pettay
ee754072c0 Bug 691059, don't throw when setting interface.prototype.onmouseenter/leave, r=bz
--HG--
extra : rebase_source : 617c1329d2f863e01f8654da96736095152b5734
2011-10-10 14:42:55 +03:00
Olli Pettay
820e58a527 Bug 691059, don't throw when setting interface.prototype.onmouseenter/leave, r=bz
--HG--
extra : rebase_source : 0bbc272f1389cda424334a9f5c804c9c70fe7815
2011-10-10 14:42:17 +03:00
Luke Wagner
a2c8ca61d4 Bug 692366 - Soften nativeCall assert to allow for generic non-generic methods (yeah, that's right) (r=waldo)
--HG--
extra : rebase_source : 3bca2d458118cce3959f978a36a5c5aa85a5ef9c
2011-10-07 11:58:47 -07:00
Luke Wagner
b8fcb43b2b Bug 692300 - date_valueOf should claim to be date_valueOf to NonGenericMethodGuard (r=waldo)
--HG--
extra : rebase_source : dfbe787ad430c8f173f1f8a22ffe66e2cd5cf352
2011-10-07 11:58:45 -07:00
Luke Wagner
3d72635b02 Bug 632064 - remove use of GetScopeChain in e4x (r=igor)
--HG--
extra : rebase_source : 656a975ea0ca945b9c55b26768545c6e06190754
2011-10-04 10:50:25 -07:00
Kyle Huey
b71da150fd Merge m-c to b-s. 2011-09-30 16:25:07 -04:00
Jason Orendorff
d8a251886e Fix GCC warnings about using CHECK_EQUAL macro to compare a pointer to NULL. no_r=red. 2011-09-29 15:52:05 -05:00
Jason Orendorff
7ebbbb1c1a Bug 688571 - JS_PropertyIterator is broken. r=Waldo.
--HG--
extra : rebase_source : bde827991fb39bfc1fbae9e39dac2923713cf13d
2011-09-29 15:05:07 -05:00
Chris Leary
924c144871 Fix license block errors. (DONTBUILD) 2011-09-29 11:54:51 -07:00
Rafael Ávila de Espíndola
b9c70d96b3 Bug 689066 - Fix c++11 incompatibility. r=luke. 2011-09-29 13:49:54 -04:00
Ehsan Akhgari
a8d2514455 Merge mozilla-central into mozila-inbound 2011-09-29 12:51:50 -04:00
Kyle Huey
0b7e698fb5 Bug 688417: Test for Bug 505915 expects setting xhr.onreadystatechange to unwrap the object passed in. r=mrbkap 2011-09-29 12:06:36 -04:00
Kyle Huey
84a3c222e7 Bug 688776: test_doublewrappedcompartments.xul relies on XHR event listener being a wrapped JSObject. r=mrbkap 2011-09-29 12:06:36 -04:00
Kyle Huey
0b5c883353 Bug 688416: Test for Bug 502959 relies on XHR event listener being an nsIDOMEventListener. r=mrbkap 2011-09-29 12:06:35 -04:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Makoto Kato
760958734d Bug 681202 - Add Android x86 target. r=glandium 2011-09-29 13:39:03 +09:00
Luke Wagner
ff185699a3 Bug 632064 - remove JS_GetScopeChain (r=mrbkap)
--HG--
extra : rebase_source : dcaab70f180d23ad3e9cd12c2d84d326b012fbb2
2011-09-28 17:57:27 -07:00
Jan de Mooij
c722e02756 Bug 693311 - Fix strict equality correctness bug. r=billm 2011-10-10 18:06:06 +02:00
Reuben Morais
b5b37104ac Bug 647390 - Remove the calloc+placement-new pattern (r=luke) 2011-09-28 09:17:51 -07:00
Felix Fung
047e9060cf Bug 674012 - Remove checks for HAVE_GCC3_ABI. r=glandium 2011-09-28 11:32:39 -07:00
Teemu Mannermaa
ab3d709d37 Bug 689157 - Fix CC variables used in "cl -showIncludes" detection logic. r=khuey 2011-09-29 15:20:51 +02:00
Makoto Kato
a1c2ba06b3 Bug 689288 - xpcshell\tests\js\src\xpconnect\tests\unit\test_attributes.js and test_params.js are perma-orange on Win64. r=bsmedberg 2011-09-29 18:43:50 +09:00
Gavin Barraclough
3495c54e82 Bug 683838: Fix return logic in backTrackParentheses, r=dmandelin 2011-10-07 17:52:50 -07:00
Bobby Holley
80ac237962 Bug 657260 - Handle NULL return from JS_NewExternalString in XPCStringConvert::ReadableToJSVal. r=mrbkap 2011-10-07 19:34:40 -04:00
Bobby Holley
0d2555f80b Bug 657260 - Check JS string length against maximum in more places. r=Waldo 2011-10-07 19:34:28 -04:00
Bobby Holley
94682a4756 Bug 657260 - Move CheckStringLength to JSString. r=Waldo 2011-10-07 19:34:28 -04:00
Chris Leary
61b25e1e61 Bug 692069 followup: Unburn no-methodjit. 2011-10-07 16:31:48 -07:00
Chris Leary
53d3ad0e0e Bug 692069: Regexp engine agnostic abstraction. (r=luke) 2011-10-05 11:12:59 -07:00
Jim Blandy
920b2f659b Bug 692903: Identify scripts more helpfully in InferSpew output. r=bhackett
This delays assigning id numbers to scripts until the first time the id is
actually retrieved, and at that point produces an InferSpew message
identifying the script by id, address, url and line number. This means that
we only identify scripts we actually mention in InferSpew output.

If JSScript::id had users other than jsinfer, this wouldn't be appropriate.

With this patch applied, we get output like this, the first time a given script is mentioned:

[infer] script #2: 0x7ffff5906660 /home/jimb/moz/dbg/js/src/jit-test/lib/prolog.js:1
[infer] typeSet: T0x9ff748 bytecode0 #2
...
2011-10-07 15:12:12 -07:00
Jim Blandy
852f844158 Bug 692911: Delete useless call to target->addType in js::types::TypeConstraintSubsetBarrier::newType. r=bhackett
js::types::TypeConstraintSubsetBarrier::newType calls 'target->hasType(type)',
and if that returns true, calls 'target->addType(cx, type)'. That second call
should have no effect: it just adds to target a type that it already has.

This patch deletes the call to target->addType.
2011-10-07 15:08:56 -07:00
Jim Blandy
cce84e1f96 Bug 692243: Change the InferSpew for TypeObject::setFlags to print flags in hex. r=bhackett 2011-10-07 13:07:05 -07:00
Jim Blandy
a8afe324d5 (no bug): Fix Emacs/vi mode line at top of js/src/methodjit/StubCalls.cpp. r=only comments changed 2011-10-07 11:46:17 -07:00
Bobby Holley
b44480348e Bug 690362 - Fix incorrect parenthetical grouping of nsXPTType::T_PWSTRING_SIZE_IS in xpcwrappednative.cpp. r=peterv 2011-10-07 13:51:29 -04:00
Bobby Holley
79d4e6337f Bug 599791 - part 6 - Return the sentinel when we fail in ClosureStub. r=jorendorff 2011-10-07 13:51:21 -04:00
Bobby Holley
d514198254 Bug 599791 - part 5 - Prepare the sentinel value and store it in ClosureInfo. r=jorendorff 2011-10-07 13:51:21 -04:00
Bobby Holley
ca7e3d0f4a Bug 599791 - part 4 - Do ClosureInfo cleanup with a destructor. r=jorendorff 2011-10-07 13:51:21 -04:00
Bobby Holley
a996610428 Bug 599791 - part 3 - Pass errVal down into the closure constructor. r=jorendorff 2011-10-07 13:51:21 -04:00
Bobby Holley
9d4e8fb4e0 Bug 599791 - part 2 - restructure argument handling in PointerType::ConstructData. r=jorendorff 2011-10-07 13:51:21 -04:00
Bobby Holley
9ff7fe1a8e Bug 599791 - part 1 - Remove unnecessary conditional logic. r=jorendorff 2011-10-07 13:51:21 -04:00
Bobby Holley
1aa700e13d Bug 682504 - Don't try to ImplicitConvert a void return value. r=jorendorff 2011-10-07 13:51:21 -04:00
Bobby Holley
1a6b6042ea Bug 682180 - Allocate executable trampoline buffers in darwin 10 and beyond. r=khuey
--HG--
rename : js/src/ctypes/libffi.patch => js/src/ctypes/patches-libffi/00-base.patch
2011-10-07 13:51:21 -04:00
Nathan Froyd
f11a038dca Bug 687121 - GCC 4.6 build warning: "js/src/xpconnect/shell/xpcshell.cpp:549: warning: variable 'preBytes' set but not used [-Wunused-but-set-variable]". r=jorendorff 2011-10-07 16:16:36 +01:00
Brian Hackett
e86568f602 Avoid reentrant constraint solving when breaking type barriers, bug 685186. r=dvander 2011-10-07 07:55:06 -07:00