Commit Graph

23928 Commits

Author SHA1 Message Date
Bobby Holley
502e54ed33 Bug 683802 - Separate reindentation from previous patch for easier review. No other changes. r=mrbkap 2011-09-23 14:50:27 -07:00
Bobby Holley
9f07de02e3 Bug 683802 - Move the loop contents of ConvertIndependentParams into a separate method (without re-indentation). r=mrbkap 2011-09-23 14:50:27 -07:00
Bobby Holley
f00f82d520 Bug 683802 - Remove mAutoString micro-optimization. r=mrbkap 2011-09-23 14:50:27 -07:00
Bobby Holley
efe76e80af Bug 684327 - Package the typelib along with the components so that it's accessible from the test harness. r=khuey 2011-09-23 14:50:27 -07:00
Bobby Holley
a4de97d913 Bug 684327 - Test parameter passing. r=khuey 2011-09-23 14:50:27 -07:00
Bobby Holley
c0215448fe Bug 684327 - Generalize test_readwriteattributes.js into test_attributes.js. r=khuey 2011-09-23 14:50:27 -07:00
Bobby Holley
fd1856b35d Bug 684327 - Add an xpcshell test that exercises both the native and js components. r=khuey 2011-09-23 14:50:27 -07:00
Bobby Holley
e9ae239ae5 Bug 684327 - Introduce js-implemented test component. r=khuey 2011-09-23 14:50:27 -07:00
Bobby Holley
785b1391a5 Bug 684327 - Move the C++ implementation of the test component into its own subdirectory. r=khuey 2011-09-23 14:50:27 -07:00
Bobby Holley
68f416f1e7 Bug 684327 - Misc fixes to xpctest_attributes. r=khuey
This patch is best reviewed while listening to http://www.youtube.com/watch?v=MK6TXMsvgQg

NB - The code here would make a great "find the bugs in this code" interview screen question.
2011-09-23 14:50:27 -07:00
Bobby Holley
e4135d10f4 Bug 684327 - Start building a small subset of the xpconnect test component again, kill the rest. r=khuey
Thanks to Mook for the initial patch!
2011-09-23 14:50:27 -07:00
Bobby Holley
7a61197b7a Bug 684327 - Remove TestXPC.cpp, which currently printfs that it's failing various things and then segfaults. r=khuey 2011-09-23 14:50:26 -07:00
Luke Wagner
9f4db09f27 Bug 688769 - rm resource.h and t/ from js/src (r=dmandelin) 2011-09-23 09:07:33 -07:00
Luke Wagner
41f57c8117 Bug 688769 - Remove dead args from StackFrame::functionEpilogue (r=bhackett) 2011-09-23 08:59:19 -07:00
Tom Schuster
75eb1fd1a3 Bug 685150 - Generate native code for Math.min/Math.max in the methodjit. r=bhackett 2011-09-09 14:53:28 +02:00
Brian Hackett
0f572e650f Fix bogus assert, bug 687399. r=dvander 2011-09-23 07:12:36 -07:00
Brian Hackett
ba5a0aabc3 Only inline scripts which have already been analyzed, bug 687125. r=dvander 2011-09-23 07:02:28 -07:00
Brian Hackett
e646dcf867 Don't drop contents of copied dead slots at branches, bug 687768. r=dvander 2011-09-23 06:33:20 -07:00
Mike Hommey
e0a78dc7e3 Bug 653056 - Use a bitwise version of JSDOUBLE_IS_NaN that Visual Studio PGO doesn't miscompile. r=jimb 2011-09-23 14:27:21 +02:00
Mike Hommey
2c19068302 Bug 671423 - Manually inline DOUBLE_TO_JSVAL to avoid Xcode 3.1.4 miscompilation. r=jimb 2011-09-23 14:25:16 +02:00
Boris Zbarsky
5d7f794cd2 Bug 684671. Allow the onreadystatechange getter/setter on Document.prototype to not throw even if its |this| is bogus. r=peterv,sicking 2011-09-23 01:03:50 -04:00
Andreas Gal
7e1c6b5132 Bug 660233 part 2. Move nodePrincipal, baseURIObject, and documentURIObject from classinfo to XrayWrapper and to DOM prototypes in chrome documents. r=mrbkap 2011-09-21 21:30:27 -04:00
Boris Zbarsky
302e7c2854 Bug 688685. Propcached property adds that just write to a slot are not sound when the class has an addProperty hook. r=bhackett 2011-09-23 01:03:49 -04:00
Jeff Walden
10e2a9cbb2 Bug 687621 - Convert getProperty to take a PropertyName*, and make getGeneric the only way to get a property for a jsid. r=luke 2011-09-15 11:44:10 -07:00
Jeff Walden
9304354106 Bug 687621 - Introduce js::SpecialId, encapsulating the non-index, non-string bizarro property names. r=luke 2011-09-20 14:34:11 -07:00
Jeff Walden
e347da12c4 Add PropertyName to the string-types tree in vm/String.h, and beef up the comment by PropertyName itself to better explain its utility. rs=luke 2011-09-21 15:37:43 -07:00
Jeff Walden
20cd82e08f Bug 687621 - Further split ObjectOps to add a third property type (and temporarily a fourth to use for a property of indeterminate type), to encapsulate object-valued jsids and properties that don't fit in the property name/element distinction. r=luke 2011-08-12 14:26:48 -04:00
Jeff Walden
66a9aeb96f Bug 687642 - Rename JSFlatString::isElement to JSFlatString::isIndex. This better comports with other terminology being thrown around, and it makes it simpler to distinguish between the value used as the property name (the index, potentially) and the value the property contains (the element). r=dvander 2011-09-19 13:57:33 -07:00
Paul Biggar
173f530b0f Change in-tree users of Array.prototype.splice to not rely on non-standard behavior of deleting all elements from |k| onward for |arr.splice(k)|. r=jwalden 2011-09-22 15:43:11 -07:00
Bill McCloskey
c7fc32650b Bug 677431 - Clean up MarkAndSweep code in GC (r=igor) 2011-08-05 10:25:51 -07:00
Igor Bukanov
6c9547121a bug 688551 - specialize ~Anchor for Value only outside GCC. r=luke 2011-09-22 21:01:49 +02:00
Bill McCloskey
752970cc96 Bug 674776 - Replace giganto test with code to generate it (rs=jorendorff) 2011-09-21 16:37:30 -07:00
Terrence Cole
a2012aad22 Bug 685315 - Remove the GETGLOBAL opcode; r=dvander
This was a nice and simple way to get a perf boost in the
interpreter and JM, but JSOP_GETGNAME has the same
information and more. TI doesn't need it, JM technically
doesn't, and IM won't either. We can just do a normal
property lookup during compilation.
2011-09-22 17:35:25 +01:00
Brian Hackett
f173640077 Try to release native call stubs on GC, bug 688292. r=dvander 2011-09-22 07:26:14 -07:00
Sean Stangl
da7bd0d89e Correct typo in NumberDiv. (Bug 686323, r=dvander) 2011-09-21 20:51:18 -07:00
Boris Zbarsky
dbb07bd7ae Merge backout of revision adceb7fb0fce (bug 660233) 2011-09-21 23:06:22 -04:00
Boris Zbarsky
be59997909 Backed out changeset adceb7fb0fce (bug 660233) due to test failures. 2011-09-21 23:05:42 -04:00
Andreas Gal
b7eb83d83c Bug 660233. Move nodePrincipal, baseURIObject, and documentURIObject from classinfo to XrayWrapper. r=mrbkap 2011-09-21 21:30:27 -04:00
Mark Hammond
55da41dceb Bug 683400 - SandboxDump should flush stderr after writing output. r=mrbkap 2011-09-21 20:56:20 +02:00
Ehsan Akhgari
8501d68732 Merge mozilla-central and mozilla-inbound 2011-09-21 13:13:10 -04:00
Mike Hommey
bf1843eb35 Bug 687805 - Allow DIST_FILES, DIST_CHROME_FILES and PREF_JS_EXPORTS to be in objdir. r=khuey 2011-09-21 18:06:14 +02:00
Landry Breuil
3b585faea5 Bug 684559 - Don't include now missing jswtfbridge.h on non-YARR JIT architectures (NPOTDB); r=dmandelin 2011-09-21 13:41:17 +01:00
Marco Bonardo
4b4e459a6c Merge last green changeset from mozilla-inbound to mozilla-central 2011-09-21 10:35:19 +02:00
Brian Hackett
63badab742 Verify range against previous stub when linking getter PIC stubs, bug 688090. r=dvander 2011-09-20 21:33:35 -07:00
Brian Hackett
00b4fc86fe Don't clobber callee-save register when testing pushed value after stub calls, bug 687856. r=dvander 2011-09-20 20:14:28 -07:00
Luke Wagner
765347e745 Bug 684526 - Remove Jsvalify/Valueify (r=waldo) 2011-09-20 11:40:24 -07:00
Ehsan Akhgari
48b4d40d83 Merge the last green changeset of mozilla-inbound to mozilla-central 2011-09-20 10:22:17 -04:00
Brian Hackett
5e39a3734c Merge MC -> JM 2011-09-19 15:29:22 -07:00
Luke Wagner
e2e7e3085f Bug 684526 - Unify jsval and js::Value (r=jorendorff) 2011-09-19 09:34:49 -07:00
Blake Kaplan
7b6deebded Bug 679861 - Normalize jsvals before handing them to APIs. r=gal 2011-09-21 19:22:34 -07:00