Commit Graph

9976 Commits

Author SHA1 Message Date
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
Luke Wagner
de91418c20 Mark some inline JSString members as JS_ALWAYS_INLINE 2010-07-20 19:31:55 -07:00
Robert Sayre
ec27ccd212 Merge. 2010-07-20 15:49:14 -07:00
Robert Sayre
1b744a7685 Merge mozilla-central to tracemonkey. 2010-07-20 15:07:03 -07:00
Jason Orendorff
02f46a123c Bug 580084 - JS_InitClass with no methods or properties breaks JSScope::emptyScope invariant. r=brendan. 2010-07-20 16:57:12 -05:00
Dan Witte
19ef0aac72 Fix warning. 2010-07-20 10:13:54 -07:00
Jason Orendorff
a1ade780e3 Merge backout. 2010-07-20 11:57:51 -05:00
Jason Orendorff
7282960790 Backed out changeset a8d0c83fe7c7 due to debug-mode assertions in mochitests. 2010-07-20 11:57:29 -05:00
Gregor Wagner
8bd7a472cd Bug 579586 - TM: remove doubles from GCTIMER (r=jorendorff) 2010-07-20 09:52:02 -07:00
Jason Orendorff
62b592404f Bug 580033 - JS_Save/RestoreFrameChain should update cx->compartment. r=gal.
--HG--
extra : rebase_source : e063e91c61f159c98ac4f8f0e3bb74eceee069e6
2010-07-19 18:04:50 -05:00
Andreas Gal
c8091508b9 Support independent cycle collection and garbage collection (573175, r=jst). 2010-07-19 23:31:01 -07:00
Dimitrios Vardoulakis
0a1b9ea452 Incorporating patch recommendations for changeset 669386771b5e (bug 579564, r=gal) 2010-07-19 18:41:36 -07:00
Dimitrios Vardoulakis
b5325aea84 Allow more LHS values in for/in loops and fixed yield to take 0 or 1 args. (bug 579564, r=gal) 2010-07-19 17:07:29 -07:00
Tom Austin
31a5964734 Updated and sorted narcissus failures list (bug 579564, r=gal) 2010-07-19 17:02:47 -07:00
Blake Kaplan
de74d9d8f4 Bug 563106 - Tie XPConnect to compartments. r=jorendorff/gal/jst 2010-07-19 13:36:49 -07:00
Luke Wagner
9870b95ead Fix testBug579646.js in opt trace-tests 2010-07-19 16:06:42 -07:00
Luke Wagner
6f0a0727b9 Bug 579646 - Avoid recording when negating double(0) (r=gal) 2010-07-19 14:24:09 -07:00
Andreas Gal
4b4fb2fced Move the cycle collector out of the GC callback (573060, r=peterv). 2010-07-15 18:08:47 -07:00
Jeff Walden
8b99528a95 Bug 568786 - Fix a bad assertion defining an accessor property over a method-valued property. r=brendan
--HG--
extra : rebase_source : 88fc1934f4be3516ace8b006c4296931dfef7a5f
2010-07-19 12:39:57 -05:00
Luke Wagner
015cd3448d Bug 579647 - use canonical nan in js_dmod (r=dvander) 2010-07-19 11:28:13 -07:00
Dan Witte
8c1b9cb83f Remove redundant checks in CClosure::Trace. No bug, r=luke 2010-07-19 11:23:24 -07:00
Tom Austin
2ad03dfa62 Remove special constructs no longer needed for Narcissus (bug 579137, r=gal) 2010-07-16 18:16:07 -07:00
Luke Wagner
a0bece7dbb Forgot to add test case for 26c99d5891c1 2010-07-17 02:10:40 -07:00
Luke Wagner
ea9b4a6d39 Bug 579602 - desc.getter/setter can be null; finish what 8956606e0b49 started 2010-07-17 01:51:07 -07:00
Andreas Gal
852209f576 Bug 579524 - DEBUG_CC broken by fatval. r=sayrer 2010-07-16 20:41:28 -07:00
Alan Pierce
52ba5c3616 Bug 571579 - Implement ropes (r=gal) 2010-07-16 17:41:22 -07:00
Luke Wagner
0af67efcd9 Bug 579140 - address various minor change requests for fatvals
--HG--
extra : rebase_source : 02091a75071469c9f6148a5221be9333655bb832
2010-07-16 15:34:00 -07:00
Jeff Walden
688bdd2c80 Followup fix for cyclic-proto exception change, r=orange
--HG--
extra : rebase_source : eb71da4a4b83bfd35d94f51618b68272985e32eb
2010-07-16 16:53:15 -05:00
Luke Wagner
9d7fef353a Bug 579279 - GCC sometimes chooses to use signed < on enumerations whose underlying type is uint32 (r=dmandelin) 2010-07-16 14:00:41 -07:00
Jeff Walden
151b088ab6 Bug 578273 - ES5: Properly detect cycles in JSON.stringify (throw TypeError, check for cycles rather than imprecisely rely on recursion limits). r=sayrer
--HG--
extra : rebase_source : ce0005b1b7a69b12f89ad33420ac543c4d09777b
2010-07-13 23:32:28 -05:00
Jeff Walden
e26b5f2fa5 Bug 562446 - ES5: Array.prototype.toString and Array.prototype.toLocaleString should be generic. r=igor
--HG--
extra : rebase_source : 003f392af828817cba1d1153c2ed5d4e5402f5c3
2010-07-15 12:33:33 -05:00
Jeff Walden
31e6cfd5e7 Er, really fix DEBUG_jwalden code. r=tpyo
--HG--
extra : rebase_source : 957de112c57250d4244883eada9561cc76b49006
2010-07-16 14:10:47 -05:00
Luke Wagner
cb2a8dd8dc Bug 579273 - Remove JSObject*-to-jsval union-cast in jswrapper.cpp; use CastAsObjectJsval (r=dmandelin) 2010-07-16 11:47:29 -07:00
Luke Wagner
165d33e232 Bug 578015 - desc.getter/setter can be null (r=dmandelin) 2010-07-16 11:14:05 -07:00
Blake Kaplan
6987d9bc17 Bug 579275 - Don't treat null as a primitive this value. r=luke 2010-07-16 00:44:26 -07:00
Igor Bukanov
d7aedab4b6 bug 552266 - Allow for only one JSContext to be in a request on a given thread. r=mrbkap 2010-06-26 22:31:54 +02:00
Luke Wagner
fdd5b33385 Bug 579140 - Address review comments in xdr and xpconnect (r=igor,mrbkap) 2010-07-15 18:19:50 -07:00
Andreas Gal
4e11d941dd Disentangle cycle collector and JS GC (549806, r=peterv/igor). 2010-07-15 17:58:36 -07:00
Andreas Gal
f8afdf22b4 Backed out bug 549806. Very frustrating. 2010-07-15 15:39:06 -07:00
Dimitris Vardoulakis
e246dfb71d Extension to the narcissus parser to handle Mozilla-specific extensions to JS (572014, r=pwalton). 2010-07-02 10:29:24 -07:00
Andreas Gal
483a33d003 Backed out bug 573060. 2010-07-15 14:14:26 -07:00
Luke Wagner
549bdba685 fatval tweaks: bump XDR version, remove spurious comment and #defines, realign JSStackFrame 2010-07-15 13:18:12 -07:00
Jeff Walden
eb0c1f7fb0 Fix DEBUG_jwalden code for fatvals. r+sr+ui-r+a=mconnor per firebot2 (an evil doppelgänger?) 2010-07-15 14:28:56 -05:00
Andreas Gal
124d968d35 Move the cycle collector our of the GC callback (573060, r=peterv). 2010-07-15 10:30:37 -07:00
Andreas Gal
a148529929 Disentangle cycle collector and JS GC (549806, r=peterv, igor). 2010-07-15 10:21:34 -07:00
Luke Wagner
99411cc93d Bug 549143 - fatvals 2010-07-14 23:19:36 -07:00
Tom Austin
977f814b83 Enable __call__ to work without special extensions (bug=578518, r=gal) 2010-07-14 19:06:09 -07:00
Tom Austin
79dbdce42d Eliminate use of __applyConstructor__ (bug=573792, r=gal) 2010-07-14 18:24:42 -07:00
Andreas Gal<gal@uci.edu>
2da4da2ed6 Make narcissus use ES5 defineProperty (bug 546532, r=dherman) 2010-07-14 16:23:21 -07:00
Tom Austin
92fae79774 Merge 2010-07-14 15:17:34 -07:00
Tom Austin
1dda2b0b6a Create shell for Narcissus JS (bug 572879, r=gal) 2010-07-14 15:02:51 -07:00
Jeff Walden
cc3ad09ad3 Fix orange from bug 509733 changes. r=lumpy 2010-07-14 15:04:02 -05:00
Dave Herman
45865473ec dherman bug 578590, r=brendan : extraneous dereference in JSAtomList::rawLookup 2010-07-14 10:37:42 -07:00
Nicholas Nethercote
931c4fdc17 Update nanojit-import-rev stamp. 2010-07-13 18:20:11 -07:00
Nicholas Nethercote
d49c159b29 Bug 578290 - nanojit: fold constant 64-bit integer expressions. r=stejohns.
--HG--
extra : convert_revision : 94aa179ec87c6a6c0949f1a6b2b6134074eef29b
2010-07-13 18:10:42 -07:00
Nicholas Nethercote
67fb75fb9e Bug 578292 - TM: remove constant equality comparisons occurring for JSOP_ARGUMENTS on 64-bit. r=gal. 2010-07-13 18:03:59 -07:00
Andreas Gal
885c8c4cd0 Compartments can get GCed while we allocate the first object inside of them (576722, r=mrbkap). 2010-07-13 16:22:45 -07:00
Andreas Gal
56feb20e14 Merge for backout. 2010-07-12 23:18:54 -07:00
Andreas Gal
7e4c61ce49 Backed out changeset 864b37b4c91c. Missing bug# and review. 2010-07-12 23:18:18 -07:00
taustin@Thomas-Austins-Computer.local
1669cc32d4 merging changes 2010-07-12 22:44:32 -07:00
Robert Sayre
38029f43fa Merge mozilla-central to tracemonkey. 2010-07-12 20:42:21 -07:00
taustin@host-6-61.mv.mozilla.com
2f0222e5ec Remove Narcissus's dependencies on features available only in special builds 2010-07-12 16:58:38 -07:00
Chris Jones
7204a29e23 Compile with -D__STDC_LIMIT_MACROS to avoid having to fight with system headers over which includes stdint.h first. irc-r=jimb,Waldo 2010-07-12 18:06:23 -05:00
Blake Kaplan
585582ee3a Bug 576351 - Make this assertion not fire if the caller has UniversalXPConnect. r=jorendorff 2010-07-12 14:11:14 -07:00
Ben Turner
46309e70df Bug 575517 - 'Optional jsvals that are not specified should be JSVAL_VOID, not JSVAL_NULL'. r=jst 2010-07-12 10:04:59 -04:00
Nicholas Nethercote
e8ffc335c1 Bug 577764 - TM: avoid a dead guard at the end of loop fragments. r=dvander. 2010-07-12 11:01:58 +10:00
Robert Sayre
951426beed Merge mozilla-central to tracemonkey. 2010-07-11 16:23:48 -07:00
Chris Leary
94f23c0a06 Arena pool macros don't want to die. 2010-07-11 00:09:34 -07:00
Chris Leary
48398c7423 Bug 559408: Arena macros to methods. (r=galish) 2010-07-10 23:19:14 -07:00
Eli Friedman
13ea715e27 Bug 576359 - Remove unused function from jstracer.cpp (which breaks building with clang) r=brendan 2010-07-12 11:57:11 +02:00
Raul Porcel
be36109c38 Bug 577319 - Fixed OS_TEST case for ARM r=khuey 2010-07-12 11:56:09 +02:00
Igor Bukanov
fe84ed0d56 bug 572494 - removal of JSObjectOps::defaultValue, r=jorendorff 2010-07-07 09:53:47 +02:00
Robert Sayre
2a902f1084 Merge. 2010-07-08 18:18:36 -07:00
Robert Sayre
34b4182b78 Merge mozilla-central to tracemonkey. 2010-07-08 18:15:52 -07:00
Andreas Gal
9f011207b0 re-seed PRNG when clearing the scope (577512, r=bz). 2010-07-08 16:00:54 -07:00
Jeff Walden
1cb8edcb96 Bug 577375 - Make CPOWs handle all-properties enumeration correctly. r=gal 2010-07-07 15:11:17 -07:00
Andreas Gal
b890c190fb Make sure proxy objects always have a parent (576714, r=jorendorff). 2010-07-07 12:32:36 -07:00
Robert Sayre
1ae649adc3 Merge mozilla-central to tracemonkey. 2010-07-06 11:05:39 -07:00
Jason Orendorff
52ec4ddc8d Bug 576755 - JS_Assert on Windows produces a stack MSVS 2010 debugger can't decipher. r=dmandelin. 2010-07-06 04:29:45 -05:00
Wes Garland
c0cab6c84e Bug 575379 jsapi-test for JSClass::getProperty. r=jorendorff 2010-07-05 12:27:04 -04:00
Saint Wesonga
e7a357dcaf Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-05 11:42:18 +02:00
Mark Banner
f83652490d Bustage fix follow up to changeset d92fd4a1ddf5 (part of bug 568691) - remove unnecessary semi-colons that are causing bustage on non-libxul Linux builds 2010-07-05 08:36:36 +01:00
Nicholas Nethercote
ecd4996a85 Bug 553962 - nanojit: finish adding get/set methods for CallInfo::_typesig (TM-specific part). r=gal. 2010-07-04 20:00:33 -07:00
Nicholas Nethercote
a267ea146c Update nanojit-import-rev stamp. 2010-07-04 19:52:07 -07:00
Nicholas Nethercote
588cb18fca Fix ARM bustage for bug 553962. r=me.
--HG--
extra : convert_revision : bb74ad1990fc0299c107c6d44a04c3682e8cb9fe
2010-07-04 19:45:53 -07:00