Commit Graph

9960 Commits

Author SHA1 Message Date
Bob Clary
117454e744 bug 584868 - do not use fake document object in test js1_5/extensions/regress-361964.js as it can interfere with test reporting object detection, r=sparky. 2010-08-06 03:42:54 -07:00
Andreas Gal
ed7dc4ad2d Inline unit string comparison (577883, r=njn). 2010-08-06 03:29:14 -07:00
Andreas Gal
db59ff9fcf Fix int -> int32, msvc is being picky about it (follow-up for 584499, r=me). 2010-08-05 23:16:23 -07:00
Andreas Gal
9bfcb05899 Optimize string[idx] on trace (584499, r=lw). 2010-08-05 22:54:34 -07:00
Nicholas Nethercote
b92ac5d6d0 Bug 584275 - nanojit: preparation for adding many more access regions (TM-specific part). r=gal. 2010-08-05 22:17:22 -07:00
Nicholas Nethercote
4d7ec36521 Update nanojit-import-rev stamp. 2010-08-05 22:10:48 -07:00
Nicholas Nethercote
d92d97864a Fix more Windows bustage for bug 584275. r=me.
--HG--
extra : convert_revision : 982cd218ddb049bdbbcdda4fa3a9d7e40e45e0be
2010-08-05 21:38:39 -07:00
Nicholas Nethercote
771a1472de Fix Windows bustage for bug 584275. r=me.
--HG--
extra : convert_revision : 50ab6cea085bd699f13ebac102756531e8c0640f
2010-08-05 18:09:23 -07:00
Nicholas Nethercote
3b63712fcf Bug 584275 - nanojit: preparation for adding many more access regions. r=edwsmith.
--HG--
extra : convert_revision : 64ae262a02031c276f58c3a4c71cfd92828f883f
2010-08-05 17:37:42 -07:00
Dan Witte
37e120853b Bug 573087 - Automangle ctypes stdcall symbols. r=bsmedberg, a=blocker 2010-08-05 16:49:52 -07:00
Dan Witte
348d0617cf Update libffi.patch. 2010-08-05 16:49:52 -07:00
Dan Witte
9f61d27e6a Apply libffi.patch. 2010-08-05 16:49:52 -07:00
Dan Witte
883d6ca049 Mark script files as executable. 2010-08-05 16:49:52 -07:00
Dan Witte
fbed7fb6e0 Pull libffi git revision 3aeecc9eb1a6feba6549849cdd335c926415a4fc to fix bug 528129, bug 556902, bug 538002, bug 581909, bug 573066, bug 564966, and bug 556521. r+a=bsmedberg 2010-08-05 16:49:52 -07:00
Gregor Wagner
e265b8c778 Bug 581589 - TM: add defaultCompartment to compartments array (r=gal) 2010-08-05 15:48:34 -07:00
Luke Wagner
8bb1230898 Bug 584252 - disallow non-standard extensions to float syntax (r=jorendorff) 2010-08-05 13:40:21 -07:00
Blake Kaplan
1cdd12f48b Bug 584551 - Do things that require entering a request on the old compartment before entering a request on the new one. r=igor 2010-08-05 12:38:07 -07:00
Kyle Huey
634b63f3af Turn off error-on-double-including-config.mk for the moment on this CLOSED TREE 2010-08-06 09:21:41 -07:00
Kyle Huey
d7397260c9 Fix build dependencies in content/html/content/src and make double-including config.mk fatal. irc-r=ted
--HG--
extra : rebase_source : 3362befa95b5ab3aff581b49f58652d653d1a8ac
2010-08-06 08:26:20 -07:00
Wan-Teh Chang
c415ddd0a4 Bug 561510: fix unrecognized option /L... linker warning on
Windows.  Define MOZALLOC_LIB using EXPAND_LIBNAME_PATH instead
of EXPAND_MOZLIBNAME.  r=bsmedberg,ginn.chen.  approval2.0+ by
bsmedberg.
2010-08-06 06:51:38 -07:00
Jacek Caban
c279f260e5 Backed out changeset f10fc9e3be99 (orange test_request_line_split_in_two_packets.js tests). 2010-08-07 22:13:06 +02:00
Jacek Caban
bae482540c Bug 508905 - /Zc:wchar_t- is no longer required r=ted a=dbaron 2010-08-07 17:41:41 +02:00
Robert Sayre
f4f6b295e7 Merge tracemonkey to mozilla-central. 2010-08-06 22:46:37 -07:00
Robert Sayre
aa1e8901ac Merge tracemonkey to mozilla-central. 2010-08-06 19:01:14 -07:00
Boris Zbarsky
32175657dc Bug 584298. Do a bit less work in ReadableToJSVal on the fast path. r=jst 2010-08-06 20:46:52 -04:00
Blake Kaplan
45243e880e Bug 546573 - EnsureInnerWindow from wrappers. r=jst sr=bzbarsky 2010-07-20 21:05:11 -07:00
Bob Clary
7faee100e4 bug 583155 - reduce log noise from jsreftest in the browser, r=mrbkap,jorendorff. 2010-08-05 07:14:34 -07:00
Igor Bukanov
e48bf454d2 bug 583763 - conservative GC cleanup and better reporting of missing conservative roots. r=anygregor 2010-08-05 14:16:56 +02:00
Chris Leary
c4e96f6d5e Bug 583868: increase heap size to avoid V8 OOM in shell. (r=anygregor) 2010-08-04 16:23:49 -07:00
Shu-yu Guo
d7c1565c57 Bug 584264 - Whitespace cleanup for narcissus and small fix for parser. r=pwalton 2010-08-04 12:07:41 -07:00
Ginn Chen
41d11b7d84 Bug 584219 Sun Studio doesn't support __attribute__ packed for enum r=lw 2010-08-04 19:40:39 +08:00
Luke Wagner
c650a3d7e3 Bug 584168 - consider canonicalizing nans passed to the JSAPI (r=brendan) 2010-08-04 04:13:19 -07:00
Luke Wagner
70799ce02c Bug 584158 - ensure that typed arrays cannot produce non-canonical nans (r=gal) 2010-08-03 22:06:44 -07:00
Tom Austin
7aea5118ff Bug 584265 - Fix Narcissus error message format. r=gal. 2010-08-03 21:14:49 -07:00
Nicholas Nethercote
787502bbde Update nanojit-import-rev stamp. 2010-08-03 20:48:34 -07:00
Andreas Gal
00c966f8e3 Bug 580534 - implement LIR_cmovd. r=nnethercote.
--HG--
extra : convert_revision : 186f3f376d662375ff9182cf0b470468335ef442
2010-08-03 20:39:21 -07:00
William Maddox
356836d1b5 Bug 570276 - Fix code generation for address load on SPARC (r=leon.sha+)
Special case code for LEA formerly fell through to the general case,
resulting in generation of redundant "junk" code.

--HG--
extra : convert_revision : 639cf2aa65734e43194b8b62f4c95f462c918cf0
2010-07-29 19:10:27 -07:00
Nicholas Nethercote
bdd9c63662 Bug 582191 - nanojit: fix formatImm[IQ] bogons. r=edwsmith.
--HG--
extra : convert_revision : ce704edcab9d092627ad29e60efc0991ee2682e0
2010-07-28 17:06:14 -07:00
Edwin Smith
06143a5acb Fixed initialization of Assembler::nHints (bug 581702, r=nnethercote+)
--HG--
extra : convert_revision : d8dccd548db136e88ea1a8be0627088b6a78cc78
2010-07-28 11:24:25 -04:00
Jacek Caban
f504194cd6 Bug 569819 - Fix nanojit compilation failure on mingw-w64. r=edwsmith
--HG--
extra : convert_revision : 85b2cf98c09be7ba490c85f2ffcf8dd38cfa4929
2010-07-28 13:44:01 +02:00
Jacek Caban
ea42f28b0d Bug 573341 - Wrong AVMPLUS_ALIGN16 declaration on mingw r=dvander
--HG--
extra : convert_revision : bb90a35c6382aeb519a789e1f018d52000a4d6fe
2010-07-28 13:40:37 +02:00
Tom Austin
e4536e1112 Refactored Narcissus to use the module pattern (bug 583913, r=pwalton) 2010-08-03 17:15:02 -07:00
Neil
5846822884 Bug 581909 - Don't pass -safeseh to ml64 because the behaviour is buggy. r=dwitte 2010-08-03 14:05:54 -07:00
Eli Friedman
dc13880547 Bug 579686 - StringToInteger not declared before first use in CTypes.cpp. r=dwitte, a=blocking 2010-08-03 14:01:47 -07:00
Jeff Walden
7b1b9cb9db Fix trace-test bustage from bug 583925. r=smokeythebear 2010-08-03 08:26:20 -07:00
Jim Blandy
0201054fcc Bug 583925: parseInt should not depend on its caller's strictness. r=waldo 2010-08-02 18:04:29 -07:00
Dave Herman
f5415ad358 bug 582999, r=gal: putstr function for JS shell 2010-08-02 15:02:15 -07:00
Jeff Walden
b22a1c4599 Bug 571062 - Add slow-test annotation functionality to reftest and the JS test harness. r=dbaron, r=dmandelin 2010-07-13 18:04:29 -05:00
Jeff Walden
a38463c8a4 Bug 577536 - parseInt() uses radix 8 if the string starts with '0' but not 0x or 0X, and the digit string should be stringified before the radix is integerized. r=jorendorff 2010-07-23 02:29:44 -05:00
Jason Orendorff
7947f2514c Make CheckScopeChainValidity local to jsobj.cpp. No bug#, rs=gal on IRC. 2010-07-29 16:25:06 -05:00
Jason Orendorff
90eb236531 jsapi-tests: Remove unnecessary #include that causes warnings on MSVC. no_r=me.
--HG--
extra : rebase_source : 687fcbb5901d4484750665189afeec284db759f0
2010-07-29 15:55:22 -05:00
Chris Leary
de4f1f12a2 Fix trace-test.py to work on symlinks. (r=self). 2010-07-29 11:02:54 -07:00
David Zbarsky
f1c4604ccc Remove unneeded nsIDOMNSHTMLSelectElement interface by merging it into nsIDOMHTMLSelectElement. (Bug 582303) r=jst 2010-07-28 16:43:52 -07:00
David Zbarsky
91c644282f Remove unneeded nsIDOMNSHTMLOptionElement interface by merging it into nsIDOMHTMLOptionElement. (Bug 582303) r=jst 2010-07-28 16:43:52 -07:00
Benjamin Smedberg
ced3d9c3f2 Revert bug 578478 because of issues in parallel builds (generating the yacc/lex tables), and because of a conflict with fatvals 2010-08-09 15:22:40 -04:00
Benjamin Smedberg
ad169ffd0f Bug 578478 part B - Create and use dependencies from the python IDL parser, r=khuey 2010-08-09 14:38:44 -04:00
Benjamin Smedberg
afbda24a70 Bug 578478 - Make header.py process the following new attributes: deprecated, optional_argc, implicit_jscontext, r=jorendorff 2010-08-09 14:38:44 -04:00
Mark Banner
acb2967879 Bug 585628 Shared builds broken building xpcshell by bug 579178 - manifest enumeration changes - link xpcshell against libxul as well. r+a=bsmedberg 2010-08-09 19:34:41 +01:00
Benjamin Smedberg
ccb16680db Merge bug 579178 to mozilla-central. reviews by Mossop/khuey/jwalden/ted 2010-08-09 10:04:10 -04:00
Benjamin Smedberg
c622433f07 Merge mozilla-central into single-chrome-manifest. 2010-08-04 14:23:04 -04:00
Robert Sayre
dec08d2ceb Merge tracemonkey to mozilla-central. (CLOSED TREE) 2010-08-04 00:47:26 -07:00
Alan Pierce
0c38ca9fee Fix alignment issue causing Bug 583779 - 8/2 Android Nightly Build does not open on start-up. r=vlad (CLOSED TREE) 2010-08-03 20:31:48 -07:00
Benjamin Smedberg
df60ea581b Bug 579178 part C - Allow xpcshell to register additional manifests from the command line, and use this to load httpd.manifest in the xpcshell test harness, r=jwalden 2010-07-22 10:42:43 -04:00
Benjamin Smedberg
1815abc007 Bug 579718 part B - packaging and build changes to ship a single chrome.manifest from which other manifests are read. r=khuey See long-form commit details below:
In a nonpackaged build, we have the following manifests:
* chrome.manifest is just a series of manifest directives for all the other manifests, generated in rules.mk using buildlist.py
** components/interfaces.manifest is also generated in rules.mk using buildlist.py
** components/components.manifest contains only the *binary* components. JS components each have their own manifest which is installed to dist/bin/components
** Each chrome/jarfile.jar has a matching chrome/jarfile.manifest, and JarMaker.py inserts this filename into the root chrome.manifest by importing buildlist.py

In a packaged build, we end up with the following manifests:

* chrome.manifest lists the four manifests below
** components/interfaces.manifest
** components/components.manifest
** chrome/nonlocalized.manifest
** chrome/localized.manifest

In the future it should be possible to integrate the three non-localized manifests directly into the root chrome.manifest for increased performance, but this is slightly tricky because it involves rewriting some manifest instructions which may include relative JAR URIs. That is left for a future followup.

When we repackage a l10n build, we only have to replace chrome/localized.manifest.
2010-07-22 10:38:59 -04:00
Johnny Stenback
19253e0ece Disable tests on 64-bit systems where they don't behave. r=bclary@bclary.com 2010-07-21 01:34:14 -07:00
Bob Clary
d7a8bf3550 Fixing orange caused by fix for bug 572190. r=jst 2010-07-21 00:22:52 -07:00
Johnny Stenback
0615a5aa7c Fixing at least part of bug 572190. Make JS stack size a factor of size_t so that roughly as much fits on the stack whether we're on a 32 or 64 bit system. r=mrbkap@gmail.com 2010-06-29 18:25:56 -07:00
Rail Aliev
18907551f2 Bug 580010, bump versions to Fx4.0b3pre/Gecko 2.0b3pre, r=nthomas (CLOSED TREE) 2010-07-21 12:49:22 +12:00
Benjamin Smedberg
b16a03ab95 Back out bug 578751 to help solve bug 580360 (all dynamic components fail to load). The patch was not properly reviewed to begin with :-( 2010-07-20 17:52:27 -04:00
Benjamin Smedberg
736a902d51 Backed out changeset 0c116ba35956 2010-07-20 17:49:10 -04:00
Mitchell Field
fc426c6d37 Clean up configure.in a bit. r=khuey 2010-07-20 15:43:54 +10:00
Ted Mielczarek
337fe01582 Bug 578751: Use @loader_path instead of @executable_path on Mac OS X. Committing as a bustage fix, still needs review. 2010-07-20 01:41:22 -04:00
Blake Kaplan
2f0d8f1b3a Bug 582100 - Only enumerate exposed properties. r=gal
--HG--
extra : rebase_source : 462b9167d01a699ae67effae1c1a710a8f7bece1
2010-08-02 18:45:19 -07:00
Dan Witte
552a61eec8 Bug 583846 - ctypes assertion when using readString() on zero-length arrays. r=jorendorff, a=dolske 2010-08-02 13:48:24 -07:00
Kyle Huey
2dd5c7a553 Fix TestWindowsDND bustage (fallout from fakelibs)
--HG--
extra : rebase_source : e64dd9e1ad4e60ad2a1fe8968c309b13726760bd
2010-08-02 00:08:38 -07:00
Robert O'Callahan
b88214cae4 Backed out changeset edd01aafe372 2010-08-02 15:20:05 +12:00
David Zbarsky
ae961dd518 Bug 582303. Move nsIDOMNSHTMLImageElement into nsIDOMHTMLImageElement. r=jst 2010-08-02 15:07:06 +12:00
Ginn Chen
f57e198f42 Bug 580590 js/src/xpconnect/wrappers failed to compile with Sun Studio r=bsmedberg a=NPOTB 2010-08-06 15:04:09 +08:00
Craig Topper
8972b3e08e Bug 585616 - Merge nsIDOMNSCSS2Properties and nsIDOMSVGCSS2Properties into nsIDOMCSS2Properties. r=bz 2010-08-05 22:32:01 -07:00
L. David Baron
cdb8da9eca Make nsIDOMSVGCSS2Properties use the specialized shorter quickstubs. (Bug 584301) r=bzbarsky 2010-08-05 21:59:18 -07:00
Kyle Huey
4414156fcc Bustage fix on a CLOSED TREE. r=bz 2010-08-05 19:15:11 -07:00
Boris Zbarsky
ff911ada1d Bug 584293. Make .style faster. r=peterv 2010-08-05 17:59:36 -04:00
Boris Zbarsky
04e7ae7395 Bug 584287. Speed up unwrapping for nsIDOMHTMLElement quickstubs. r=peterv 2010-08-05 17:59:35 -04:00
Robert Sayre
d05da4930e Bug 584252 - disallow non-standard extensions to float syntax (r=jorendorff) (CLOSED TREE) 2010-08-05 14:33:34 -07:00
Blake Kaplan
a79111f6e6 Bug 584551 - Do things that require entering a request on the old compartment before entering a request on the new one. r=igor a=blocking-beta3
--HG--
extra : rebase_source : 6480bb872de3268230813d2bddda27a4d552daba
2010-08-05 12:38:07 -07:00
Boris Zbarsky
ce8e88bc2b Bug 583839. Also skip the string buffer refcounting for traceable native quickstubs, not just fastnative ones. r=jst 2010-08-04 22:40:18 -04:00
David Zbarsky
de6582a359 Remove unneeded nsIDOMNSHTMLInputElement interface by merging it into nsIDOMHTMLInputElement. (Bug 582303) r=jst 2010-08-04 22:40:18 -04:00
David Zbarsky
9f2162a376 Remove unneeded nsIDOMNSHTMLImageElement interface by merging it into nsIDOMHTMLImageElement. (Bug 582303) r=jst 2010-08-04 22:40:17 -04:00
David Zbarsky
ad200f8dad Remove unneeded nsIDOMNSHTMLAnchorElement interface by merging it into nsIDOMHTMLAnchorElement. (Bug 582303) r=jst 2010-08-04 22:40:17 -04:00
Zack Weinberg
4eb7f5f0e0 Bug 568863 follow-up: add reset() to the JavaScript API. r=waldo a2.0=sayrer 2010-08-04 17:22:26 -07:00
Kyle Huey
c5fc54ad89 Bug 518136: Use -showIncludes to generate dependencies for MSVC for a substantial build performance win. r=ted 2010-08-04 16:59:23 -07:00
Robert Sayre
377ebdefe1 Merge backout. 2010-08-04 13:45:02 -07:00
Robert Sayre
02b2a7ec6d Backed out changeset c6131ed87e9c. Jason Orendorff — Bug 583262 - Remove security checks on f.prototype.constructor property at last. r=mrbkap. Causing nightly topcrash. 2010-08-04 13:44:48 -07:00
Igor Bukanov
2019c722fb bug 571789 - merging JSObjectOps and JSExtendedClass into JSClass. r=jorendorff 2010-06-12 18:29:04 +02:00
Nicholas Nethercote
16044c576a Fix GCC warning. No bug, r=sayrer via IRC. 2010-07-28 17:48:52 -07:00
Dan Witte
593ae31d51 Bug 582521 - Fix xpconnect 'char' conversions in DEBUG builds. r=bz, a=sayrer 2010-07-28 12:10:27 -07:00
Andreas Gal
69df940a4e Back out bug 580803. 2010-07-28 11:20:19 -07:00
Gregor Wagner
c026160d8e Bug 582471 - TM: followup for Bug 579100 (r=igor) 2010-07-28 10:48:28 -07:00
Igor Bukanov
181c2cdf3a Backed out changeset 7b2b90efe57d -- the patch was landed against a tree with a lot of orange. This will hinder the orange resolution. 2010-07-28 14:36:06 +02:00
Igor Bukanov
a69fd0a49f bug 571789 - merging JSObjectOps and JSExtendedClass into JSClass. r=jorendorff 2010-06-12 18:29:04 +02:00
Brendan Eich
6ae55f3819 Bug 582479 - TM: "Assertion failure: (&cx->regs->sp[1 - (iargc + 2)].toObject())->isFunction()." 2010-07-28 01:41:50 -07:00
Andreas Gal
988aed587b Don't read past capacity in js_IsDensePrimitiveArray (582451, r=brendan). 2010-07-27 22:43:49 -07:00
Nicholas Nethercote
9dfbe8877d Bug 552812 - nanojit: factor out AccSet differences into TM and TR (take 3, TM-specific part). r=gal. 2010-07-27 22:33:42 -07:00
Nicholas Nethercote
fa8162041e Update nanojit-import-rev stamp. 2010-07-27 21:37:31 -07:00
Nicholas Nethercote
c591888546 Bug 552812 - nanojit: factor out AccSet differences into TM and TR (take 3). r=edwsmith.
--HG--
extra : convert_revision : 962916dc590fe3f55d15f00ac91b13e4ec4409a2
2010-07-27 21:28:02 -07:00
Alan Pierce
c34904d121 Bug 578171 - Keep a static table of all length-2 strings (r=lw) 2010-07-27 21:14:31 -07:00
Gregor Wagner
97974d7867 Bug 582424 - TM: JSRopeNodeIterator warning (r=apierce) 2010-07-27 18:39:47 -07:00
Jeff Walden
d81f0c30eb Back out b17c8b926585, seems to not work any more. :-\ 2010-07-27 18:23:30 -07:00
Jeff Walden
ffaaf06153 Followup patch for bug 581744 to remove uses of JSFUN_GETTER and JSFUN_SETTER from the tree, now that they've been removed. r=redness 2010-07-27 17:10:54 -07:00
Jeff Walden
561338434b Bug 571062 - Add slow-test annotation functionality to reftest and the JS test harness. r=dbaron, r=dmandelin 2010-07-13 18:04:29 -05:00
Jeff Walden
27898e866f Bug 581744 - Deprecate JSFUN_GETTER and JSFUN_SETTER; they never did much, and they're very nearly dead code already. r=brendan 2010-07-26 16:11:37 -07:00
Andreas Gal
d23600e449 Bug 582081 - Dense array patches regressed empty Array creation on Dromaeo. r=jwalden 2010-07-27 16:42:58 -07:00
Robert Sayre
3b1c4d70d7 Merge 2010-07-27 13:09:42 -07:00
Robert Sayre
55a8586519 Merge mozilla-central to tracemonkey. 2010-07-27 13:09:04 -07:00
Luke Wagner
4cb99f6493 Bug 582162 - assignment needs to ignore the setter's result (r=brendan) 2010-07-27 11:40:19 -07:00
Neil Rashbrook
ee7000c1b2 Bug 581903 Make --enable-xterm-updates work with PARALLEL_DIRS r=khuey 2010-07-27 12:44:21 +01:00
Takanori Matsuura
7d9279646c Bug 580175: Make --with-ccache more powerful. r=khuey 2010-07-26 12:31:52 -07:00
Ted Mielczarek
01a35302ce bug 542504 - SIMPLE_PROGRAMS (and CPP_UNIT_TESTS) don't get re-linked in a PGO build. r=mitch, a=mossop
--HG--
extra : rebase_source : b33997adcd4567057adf01d8d3e4ac857e4df502
2010-07-26 15:21:55 -04:00
Brendan Eich
794e678554 Arguments.callee.caller does not work in FF 4 under certain circumstances (577648, r=jwalden). 2010-07-23 14:41:56 -07:00
Neil Rashbrook
b573c81af3 Bug 581151 Make 'make chrome' work again (regression from bug 466492) r=khuey 2010-07-25 17:57:22 +01:00
Jacek Caban
ea46c1e1f9 Bug 573341 - Wrong AVMPLUS_ALIGN16 declaration on mingw r=dvander 2010-06-27 01:28:10 +02:00
Jacek Caban
f6ed6f676b Bug 569819 - Fix nanojit compilation failure on mingw-w64. r=edwsmith 2010-06-25 15:59:05 +02:00
Luke Wagner
d6d1d9681f Merge 2010-07-26 22:20:09 -07:00
Luke Wagner
4d78015a11 Backed out changeset 89dc3a238da0 2010-07-26 22:19:04 -07:00
Luke Wagner
05a3a958d0 Move jsprvtd.h above jshashtable.h include in jscntxt.h to hopefully fix msvc bustage 2010-07-26 21:52:00 -07:00
Luke Wagner
d5094d4883 Bug 581875 - use js::HashSet in JSAtomState (r=igor) 2010-07-26 21:09:23 -07:00
Luke Wagner
3d018beb23 Bug 581784 - Update this in the tracker (r=gal) 2010-07-26 20:55:15 -07:00
Luke Wagner
aa7965a17e Bug 581769 - fix JS_ValueToId on xml object. remove spurious iterator assert (r=waldo)
--HG--
extra : rebase_source : e3485c5d7b586303a35d169cd2e51413f85c33c5
2010-07-26 17:05:17 -07:00
Jeff Walden
8dd21fe50e Bug 562448 - Function.prototype.apply should accept any arraylike arguments. r=brendan
--HG--
extra : rebase_source : 1c6fc72b2b6a30d18e15c30ff84fa529e70709b0
2010-07-16 14:53:37 -05:00
Jeff Walden
173c4d1adf Bug 531675 - Ignore the second argument of eval, except to warn once per JSScript (per function, or per global script for uses not in functions) that it's not supported. (Again.) r=mrbkap
--HG--
extra : rebase_source : 2a0b9670e7c2c90ab0c41d37e3ab99c3bbc4c819
2010-07-23 11:27:07 -05:00
Jason Orendorff
b1284554d5 Bug 566637 - TM: "this.a" reads from stale global object slots after global variable "a" changes value. r=gal.
--HG--
extra : rebase_source : 7f6cce244ea8cdf429e9467eef4f3feb31978d27
2010-07-26 18:19:23 -05:00
Andreas Gal
56d9d112e9 Use LIR_qasd for 64-bit unbox code (582076, r=luke). 2010-07-26 14:41:44 -07:00
Jason Orendorff
66e365186f Bug 581356 - Silence another MSVC warning. (dmandelin just checked in half of the patch in the bug.) r=Waldo. 2010-07-26 13:46:13 -05:00
David Mandelin
3125a566c7 No bug, fix MSVC warnings, no_r=me 2010-07-26 12:04:53 -07:00
Igor Bukanov
5a2d54d6b1 bug 552266 - followup to fix jslock.cpp to use cx->thread->requestContext, not cx->requestDepth, when claiming titles. 2010-07-26 21:02:10 +02:00
Igor Bukanov
248a67333b bug 579100 - various GC cleanups. r=anygregor 2010-07-26 20:44:04 +02:00
Chris Leary
4c5fd024ab Bug 578272: Remove Algol-like display optimization. (r=brendan) 2010-07-26 06:35:38 -07:00
Nicholas Nethercote
be11c2f1c9 Backout TM-specific patches for bug 552812 due to assertion failures on Win2003. 2010-07-26 00:03:02 -07:00
Nicholas Nethercote
a5a53b1d2e Update nanojit-import-rev stamp. 2010-07-25 23:47:10 -07:00
Nicholas Nethercote
da850ce005 Backout the last four patches for bug 552812 due to downstream Windows assertion failures on TM. Argh.
--HG--
extra : convert_revision : eb7dfecbdf2fd32d78673e10eb2289129966f6ce
2010-07-25 23:42:51 -07:00
Nicholas Nethercote
13a120823a Fix Win2003 bustage for bug 552812. 2010-07-25 22:29:20 -07:00
Nicholas Nethercote
73f4f96e19 Bustage fix for bug 552812. 2010-07-25 22:02:18 -07:00
Nicholas Nethercote
03a540e016 Bug 552812 - nanojit: factor out AccSet differences into TM and TR (TM-specific part). r=gal. 2010-07-25 21:23:02 -07:00
Nicholas Nethercote
91f9fc9591 Update nanojit-import-rev stamp. 2010-07-25 21:17:28 -07:00
Nicholas Nethercote
dc9e1d9cf8 One more Windows fix, this time get it right, sigh.
--HG--
extra : convert_revision : a02f8611cec9efe5feb8d7ccb19f03b9b86e0b68
2010-07-25 19:58:45 -07:00
Nicholas Nethercote
ddd6c611f8 Fix more (unrelated) Windows breakage.
--HG--
extra : convert_revision : a9c4abf9041e1a0190c0f4788d0df7a242593601
2010-07-25 19:53:27 -07:00
Nicholas Nethercote
21a5ae4df8 Try to force MSVC to pack bit-fields properly, argh.
--HG--
extra : convert_revision : 09d69292e4ade9c77ce88f32e1840bd06071e2d6
2010-07-25 19:49:58 -07:00
Nicholas Nethercote
e82972a6ac Bug 552812 - nanojit: factor out AccSet differences into TM and TR (take 2). r=edwsmith.
--HG--
extra : convert_revision : 7e11df137a4d30bd8411cf3b35cb26a003188f86
2010-07-25 19:17:39 -07:00
Nicholas Nethercote
5272ac360b Backout last three patches for bug 552812 due to further Windows breakage, sigh.
--HG--
extra : convert_revision : 1909331461436f43dad16a22e502f332e7ad3488
2010-07-25 18:39:41 -07:00
Nicholas Nethercote
3013ab8162 Groan, fix syntax error.
--HG--
extra : convert_revision : 8dd52f216fd251c7ae0d250f64afdfade4892fbc
2010-07-25 18:32:15 -07:00
Nicholas Nethercote
c179be068c Fix Windows bustage from bug 552812.
--HG--
extra : convert_revision : bd1e180e8836da69c228bac3bb8e268020ccaba4
2010-07-25 18:27:49 -07:00
Nicholas Nethercote
208a727c1b Bug 552812 - nanojit: factor out AccSet differences into TM and TR. r=edwsmith.
--HG--
extra : convert_revision : 2d211c925ffabfc0a5dcc6ba9a6eaf02a32b47d4
2010-07-25 18:20:42 -07:00
Edwin Smith
0e52940a92 Fix Sparc bustage (just add unreachable return statement)
--HG--
extra : convert_revision : 27cc2c4bbcb9b103bed3c5803078f7d7ee58f599
2010-07-24 10:01:18 -04:00
Edwin Smith
e90975d4e7 Whitespace cleanup.
--HG--
extra : convert_revision : 1781d2187c43ed282a061efb7d945eafefed5ef9
2010-07-21 10:33:02 -04:00
Luke Wagner
618736ad26 Shark says some js::Vector ops were not being inlined. Fix. (no bug) 2010-07-25 17:17:44 -07:00
Alan Pierce
879d3e777d Bug 578205 - Keep string characters inline for small strings (r=gal) 2010-07-24 20:26:34 -07:00
Alan Pierce
e951ce56be Bug 578189 - Add the invariant that dependent strings must have a flat string as the base (r=gal) 2010-07-24 20:22:35 -07:00
Andreas Gal
3eefbea893 Move GC triggering into the runtime (580803 part 2, r=igor). 2010-07-24 15:30:33 -07:00
Makoto Kato
514a532f7b Bug 580904 - remove jsval_layout.debugView in msvc x64 (r=lw) 2010-07-24 09:10:31 -07:00
Luke Wagner
b4626a511d Bug 581574 - Remove JSVAL_IS_UNDERLYING_TYPE_OF_PRIVATE (r=mrbkap) 2010-07-23 17:20:12 -07:00
Luke Wagner
5f73207275 Remove js::Value default ctor (jsval doesn't have one) (no bug) 2010-07-23 17:16:00 -07:00
Andreas Gal
404cbee80f Don't lock the GC if its already locked (follow-up for 580803). 2010-07-23 20:02:13 -07:00
Paul Biggar
1504032238 Bug 578159: remove object allocation debug hook. (r=gal, sr=brendan) 2010-07-23 19:33:49 -07:00
Jeff Walden
aef4ed93a4 Followup to bug 465199: properly perform ToInteger rather than just ToNumber when determining lastIndex in RegExp.prototype.exec; could have sworn I did this already...
--HG--
extra : rebase_source : c63fa22c169751610bc09e7d2c91858ec9cd56b5
2010-07-23 18:30:34 -05:00
Andreas Gal
2588647cb3 Remove leftover use of js_NewArrayObjectWithCapacity (follow-up for bug 581264). 2010-07-23 16:05:36 -07:00
Andreas Gal
c9bde05bd6 Always allocate dslots for dense arrays (580877, r=njn). 2010-07-23 15:29:02 -07:00
Andreas Gal
a5591066f8 Don't use broken js_NewArrayObjectWithCapacity API (581264, r=bz,jst,dwitte). 2010-07-23 15:25:42 -07:00
Andreas Gal
d1c3d893c1 Trigger all operation callbacks from triggerGC (follow-up for 580803). 2010-07-23 15:21:13 -07:00
Andreas Gal
ff0430908b Consolidate GC heuristics (580803, r=igor). 2010-07-23 15:17:42 -07:00
Igor Bukanov
6b8de5f2a8 bug 576596 - follow up to rename js_HasInstance into HasInstance
--HG--
extra : rebase_source : 2f4d4db7a849d3683a85f971e88855b1e72d8398
2010-07-23 23:56:16 +02:00
Jeff Walden
bb1681a89f Bug 580200 - Assertion failure, or duplicated enumeration, enumerating own properties of proxy returning duplicated property names. r=jorendorff
--HG--
extra : rebase_source : 19d4bf112e0dfdb5ed619f9d6e1f72b72a3e0801
2010-07-20 12:46:58 -05:00
Jeff Walden
496e7515a9 Bug 581067 - U+FEFF should be a WhiteSpace character (change in ES5 from ES3). r=cdleary
--HG--
extra : rebase_source : 38947caa8d4f21d0867137d0933495061a88d052
2010-07-22 22:28:33 -05:00
Jeff Walden
e009ebc027 Bug 465199 - RegExp.lastIndex setting shouldn't coerce to integer (should happen during internal use of the property instead). r=cdleary
--HG--
extra : rebase_source : d2f32831a11a4e88dbed927a9a17e96f2a9561b3
2010-07-12 15:40:44 -05:00
Brendan Eich
1813531fe8 Back out patch for bug 577648, need to fix a leak. 2010-07-23 14:21:50 -07:00
Brendan Eich
72e638d9ef arguments.callee.caller does not work in FF 4 under certain circumstances (577648, r=jwalden). 2010-07-10 11:48:00 -07:00
Jason Orendorff
cdfa6b4210 Fix debug non-threadsafe builds. rs=brendan. 2010-07-23 11:32:50 -05:00
Jacek Caban
f55478a89b Bug 578340 - Sync jschar and PRUnichar on Windows r=jorendorff 2010-07-23 17:03:43 +02:00
Igor Bukanov
6eb0fa7807 bug 552266 - - asserting that autorooters are used only under a request. r=mrbkap 2010-07-23 13:33:15 +02:00
Igor Bukanov
8e449d33fb bug 580458 - trigger operation callback once per thread, not once per cx. r=gal,mrbkap 2010-07-22 22:59:59 +02:00
Andreas Gal
817e9fe04a Remove hole count from dense arrays (580846, r=njn). 2010-07-22 18:45:21 -07:00
Alan Pierce
76244684a9 Bug 579173 - Use ropes to avoid large copies in simple string replace cases (r=lw) 2010-07-22 17:54:39 -07:00
Luke Wagner
131d736cea Bug 578922 - remove wasteful store/load in box_value_for_native_call on x64 (r=njn) 2010-07-22 17:47:59 -07:00
Dan Witte
1d912899b3 Fix build. 2010-07-22 15:30:03 -07:00
Dan Witte
39e10d599b Bug 573841 - Assertion of non-null-terminated string on returning a ctypes array.readString(). r=mrbkap, a=sayrer 2010-07-22 15:01:17 -07:00
Dan Witte
3babb202bc Marshal small integer return values through ffi_arg to avoid invalid writes. b=564739, r=bsmedberg, a=blocking2.0 2010-07-22 14:55:49 -07:00
Luke Wagner
3a499b8646 Bug 579183 - CallStack was a confusing name, CallStackSegment is more accurate (r=dvander) 2010-07-22 13:46:43 -07:00
Jason Orendorff
6f5fe37ae7 Bug 580411 - AutoCompartment and JS_Enter/LeaveCrossCompartmentCall should support the trivial case of not changing compartments. r=mrbkap. 2010-07-20 18:59:29 -05:00
Igor Bukanov
246300e968 bug 576596 - removal of JSObjectOps::(call|construct|hasInstance). r=jorendorff
--HG--
extra : rebase_source : 8fd09ab6bfb4daece7a27b9a46097ae74bdc055c
2010-07-07 09:53:50 +02:00
Jacek Caban
2655d7d62e Bug 569819 - Fix nanojit compilation failure on mingw-w64. r=edwsmith 2010-06-25 15:59:05 +02:00
Jacek Caban
618928dd9b Bug 573341 - Wrong AVMPLUS_ALIGN16 declaration on mingw r=dvander 2010-06-27 01:28:10 +02:00
Ginn Chen
1e8dd96599 Bug 580549 NativeSparc.cpp failed to compile r=leon.sha 2010-07-22 15:07:07 +08:00
Luke Wagner
d232049628 Fix jshashtable.h bustage 2010-07-21 19:47:02 -07:00
Luke Wagner
3dfee16b90 Bug 580633 - Do less copying when adding elements to HashMap (r=bz) 2010-07-21 19:01:33 -07:00
Sean Stangl
71a64382fa Bug 580745 - Add JSValueShiftedTag (r=lw) 2010-07-21 18:57:01 -07:00
Nicholas Nethercote
efc24067fd Update nanojit-import-rev stamp. 2010-07-20 21:10:57 -07:00
Nicholas Nethercote
e56dfae6ff Bug 574969 - add LIR_qasd / LIR_dasq. r=edwsmith.
--HG--
extra : convert_revision : 06774ab0e7e002b4fe6f4091a5dd59904fb6b080
2010-07-20 21:04:21 -07:00
Luke Wagner
53a742ae98 Bug 579598 - Help GCC out in array_splice (r=waldo) 2010-07-20 20:27:15 -07:00
Luke Wagner
d4e0a53756 Bug 578044 - fix setterOrUndefined (r=waldo) 2010-07-20 19:33:51 -07:00
Luke Wagner
0fd878fe59 Bug 580051 - Catch ints-as-doubles in JSOP_TABLESWITCH (r=jorendorff) 2010-07-20 19:32:11 -07:00
Luke Wagner
890c4cda11 Bug 580187 - Pass vp to ComputeThisFromVp (r=dvander) 2010-07-20 19:32:04 -07:00