Commit Graph

9684 Commits

Author SHA1 Message Date
Andreas Gal
38fdbd4e85 Implement new chrome wrappers (574539, r=mrbkap). 2010-06-25 17:58:09 -05:00
Andreas Gal
7c91c2898c Fix warnings (no bug, r=mrbkap). 2010-06-25 17:57:53 -05:00
Jason Orendorff
9ee0592d4e Fix horrible bug in EvalInContext when the result is an object. rs=mrbkap. 2010-06-25 15:49:17 -05:00
Jason Orendorff
0f2e011c39 Fix significant difference between the new caching code in bug 570622 and CallThisObjectHook. r=orange. 2010-06-25 15:06:49 -05:00
Jason Orendorff
88abf40622 Bug 570622 - TM: eagerly call thisObject hook and cache result in global objects. r=mrbkap. 2010-06-25 13:48:35 -05:00
Andreas Gal
b74167790a Resort to default compartment when global object is set to NULL (r=crash on startup). 2010-06-24 20:13:22 -05:00
Andreas Gal
b35f3418d2 Implement new content wrappers (574502, r=mrbkap). 2010-06-24 19:09:46 -05:00
Jason Orendorff
5eed79e767 Bug 574320 - Tweaks to compartments API. r=gal. 2010-06-24 16:44:18 -05:00
Andreas Gal
1efe5e2ec6 Implement runtime-wide wrap hook (574299, r=mrbkap). 2010-06-24 16:45:32 -05:00
Robert Sayre
1d56325898 Merge mozilla-central to tracemonkey. 2010-06-24 13:47:08 -07:00
Saint Wesonga
15c5e882f9 Bug 512447 - JSON.stringify does not correct handle replacer functions. r=sayrer 2010-06-24 13:32:07 -07:00
Andreas Gal
47613b6fab Function.prototype.toString shouldn't crash on function proxies (574294, r=brendan). 2010-06-24 13:25:09 -05:00
Brendan Eich
fc2a83c5ee Assertion failure: scope->canProvideEmptyScope(&js_ObjectOps, clasp) (574280, r=gal). 2010-06-24 10:10:04 -07:00
Igor Bukanov
60e3fb5cff bug 572678 - valgrind integration with conservative GC. r=nnethercote 2010-06-21 14:22:32 +02:00
Igor Bukanov
3ca4aa4529 bug 572428 - followup to fix a bad typo. 2010-06-24 10:55:18 +02:00
Igor Bukanov
6f0b0ed4fa bug 573709 - do not use history for conservative GC. r=gal 2010-06-24 10:30:56 +02:00
Eric Hennigan
a8d4b520e3 Bug 573646: add memory limit for Unix test harness in order to handle OOM crashes more gracefully 2010-06-23 19:05:33 -07:00
Robert Sayre
0a9fd0ff39 Merge mozilla-central to tracemonkey. 2010-06-23 17:04:20 -07:00
Jeff Walden
a255bae3b1 Add cycle-detection assertions to prototype/parent-setting methods, tighten some nearby code stylistically. (let r () (r)) 2010-06-23 16:57:52 -07:00
Jason Orendorff
b891ed049a Fix really dumb C++ error in shell/js.cpp. no bug, r=red.
--HG--
extra : rebase_source : 0e22db3a690a24820c8d02087cb12fde16e6db76
2010-06-23 17:45:36 -05:00
Blake Kaplan
8ad3135e90 Fix bug 572130. r=jst 2010-06-23 17:09:00 -05:00
Blake Kaplan
78d9a8bac6 Bug 572233 - Don't accidentally wrap an object on the prototype chain. r=jst
--HG--
extra : rebase_source : ff4c32ed65dde104f2630d9d435888b12298a29f
2010-06-23 16:56:28 -05:00
Ben Turner
a283994c5f Bug 553413 - 'Implement Asynchronous parts of the Indexed Database API.' p=sdwilsh+bent, r=jst. 2010-06-23 12:46:08 -07:00
Luke Wagner
e01cff89da Change NPAPI not to cast to from NPIdentifier and jsval. Fix silly JSObject::resizeDenseArrayElements bug introduced by earlier commit 2010-06-11 18:09:58 -07:00
Luke Wagner
2a2b97cc3f Merge 2010-06-11 14:19:15 -07:00
Luke Wagner
db5e1acb26 Avoid unnecessary initialization of js::Vector 2010-06-11 14:18:45 -07:00
David Mandelin
eec97abca4 Make sure dense_grow gets inlined into the tracer functions that call it 2010-06-11 11:29:04 -07:00
mozilla@buildmonkey-right.mv.mozilla.com
1da69179fa Write simpler code in JSObject::resizeDenseArrayElements so GCC does not do really really bad register allocation 2010-06-11 10:34:47 -07:00
David Mandelin
f242431382 Bug 569766: Make tracing work with fat values 2010-06-10 17:20:26 -07:00
Blake Kaplan
68ab0034ba Bug 569022 - XPCNativeWrapper is a proper MakeSOW candidate. r=jst
--HG--
extra : rebase_source : a4de66029f47e1f400eed3822132fd45ff98558a
2010-06-10 15:49:22 -07:00
Jason Orendorff
c1a1fb9be1 Bug 563099 - Compartments and wrappers API. r=gal.
--HG--
extra : rebase_source : cb34d0d0fc689fc6401d67e7f719344cd8e27655
2010-06-23 16:35:10 -05:00
Brendan Eich
e672f52623 Eliminate JSClass::reserveSlots and streamline new-object paths (535416, r=gal). 2010-06-18 17:43:02 -07:00
Jason Orendorff
c7000f4f86 Bug 574013 - Change JSObjectOps::call to compute this even later in certain cases. (This will also facilitate implementint ES5 primitive this.) r=gal.
--HG--
extra : rebase_source : 2f588a571cc7970ae2119338e4abfc34bdd6fdc8
2010-06-23 12:08:34 -05:00
Gregor Wagner
80ca0e83eb Bug 519949 - TM: remove LocalRootScopes r=igor 2010-06-23 11:37:35 -05:00
Nicholas Nethercote
1acb98c5ab Bug 551885 - TM: avoid stupid stack loads/stores at the end of fragments. r=dvander. 2010-06-22 20:09:11 -07:00
Brendan Eich
bacdc9d75e Assertion failure: slot < (uint32)dslots[-1] (571744, r=dvander). 2010-06-22 14:31:17 -07:00
Igor Bukanov
0b52b79b4d bug 572428 - fixing detection of live things in GC arena for conservative GC. r=wagnerg 2010-06-22 11:19:04 +02:00
Nicholas Nethercote
6f97ec3b23 Bug 572945 - TM: dense arrays specify the wrong number of reserved slots (2
vs 3).  r=gal.
2010-06-22 00:18:51 -07:00
Robert Sayre
690a859635 Merge mozilla-central to tracemonkey. 2010-06-21 18:01:14 -07:00
Blake Kaplan
c1498e0eab Add test. 2010-06-21 16:51:55 -07:00
Luke Wagner
e6f9490099 Simplify code now that Value is copyable 2010-06-10 10:09:05 -07:00
Luke Wagner
e9442c8c26 Doubles are no longer gc-things, fix testGCChunkAlloc 2010-06-10 09:40:11 -07:00
Luke Wagner
a83311a7c5 Fix build bustage in FF 2010-06-10 00:05:41 -07:00
Luke Wagner
dde2523f3a Remove assumption that getter objects are functions (can be any callable), fix jsproxy aliasing bug 2010-06-09 23:20:37 -07:00
Luke Wagner
1bb5128ab0 Merge with TraceMonkey 2010-06-09 21:59:18 -07:00
Luke Wagner
27e99d6856 Remove OS X rules.mk hacks and out-of-date assert in JS_GetObjectID 2010-06-08 17:32:51 -07:00
Luke Wagner
706cc2c0e9 Firefox starts up and browses the web 2010-06-08 15:12:18 -07:00
Luke Wagner
6d5a111999 Don't re-define js_ObjectOps in xpconnect. Remove assumptions that private jsvals are ints 2010-06-08 00:01:45 -07:00
Jason Orendorff
6e7f075424 Merge backout. 2010-06-07 20:39:48 -05:00
Jason Orendorff
03f2a11f1a Merge backout. 2010-06-07 20:39:05 -05:00
Jason Orendorff
120196fad2 Back out changeset 46fed5bdcf44 for now. 2010-06-07 20:38:51 -05:00
Jason Orendorff
987881e65c Merge backout. 2010-06-07 20:38:30 -05:00
Jason Orendorff
5874315d91 Back out changeset 5f425aecd7ab again. Still has performance issues; 14% in ThisObject hook. 2010-06-07 20:36:57 -05:00
Andreas Gal
be035f8008 Allow reading reserved slots without locking if we know its safe to do so (570404, r=brendan). 2010-06-07 21:35:58 -04:00
Luke Wagner
0d5dd30ea8 Firefox builds 2010-06-07 18:21:51 -07:00
Luke Wagner
f032df96b4 Bug 565157 - typed JS_AddRoot (r=igor) 2010-06-07 17:05:02 -07:00
Luke Wagner
a8883b8520 Merge 2010-06-07 13:58:13 -07:00
Luke Wagner
9814243213 xpconnect builds 2010-06-07 13:57:40 -07:00
David Anderson
5ccdb8922d Bug 556569 - Trace shallow recursion more robustly. r=jorendorff. 2010-06-07 12:47:24 -05:00
Igor Bukanov
24dee0ab53 bug 557538 - custom GC chunk allocation. r=gal,jorendorff 2010-06-07 11:17:15 +02:00
Nicholas Nethercote
3744861727 Update nanojit-import-rev stamp. 2010-06-06 20:27:01 -07:00
Nicholas Nethercote
e2a11770ff Fix typo in patch for bug 527512, and add a missing case. r=gal.
--HG--
extra : convert_revision : eb43593410b935717be223a37dec993a30472073
2010-06-06 20:22:48 -07:00
David Anderson
24b06aa25a Unbroke opt build. 2010-06-05 03:34:53 -07:00
David Anderson
1ee067adac Fixed js_Disassemble1 decoding JOF_ATOM+JSOP_DOUBLE as astom (bug 570285). 2010-06-04 22:19:53 -07:00
Luke Wagner
7b81a5dc24 Make JSHasInstanceOp and JSEqualityOp take jsval. Get a lot of xpconnect compiling 2010-06-04 16:55:08 -07:00
William Maddox
06858e0f9c Bug 555345 - Histogram profiling macros for JIT-generated code (r=rreitmai+)
This patch adds wrapper macros _jhprof_init, _jhnprof_init, and _jhprof to
facilitate histogram profiling from JIT-generated code.

--HG--
extra : convert_revision : 939ade8f3ee9716faaedc2b2a0cf986b5010003f
2010-06-04 14:31:25 -07:00
Dão Gottwald
b314909c2e Backed out changeset db6f8068e9a5 2010-06-29 17:49:21 +02:00
Saint Wesonga
c3669d7e9c Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedgerg 2010-06-29 17:14:36 +02:00
Jason Orendorff
5f5deee89d Bug 556277 - Compute this eagerly in more cases. r=brendan. Second landing. 2010-06-04 00:34:57 -07:00
Luke Wagner
8846bb56a4 Fix failing reftests. Align consts stored in scripts 2010-06-03 18:22:37 -07:00
William Maddox
a577524f6a Bug 555345 - Add profiling capability for JIT-generated code (vprof changes only) (r=rreitmai+)
An earlier patch to tamarin-redux included vprof patches as well as a coordinated set of changes
to other files in TR.  The vprof directory is imported from nanojit-central, and the vprof changes
were overwritten.  This patch separates the initialization of new profile records from the logging
of data therein, which facilitates the use of the profiling infrastructure from JIT-generated code.

--HG--
extra : convert_revision : 10b865fa5d413277c2e11c211302f75d87029f06
2010-06-03 16:02:28 -07:00
Steven Johnson
38b8e72eb0 Bug 527512 - ExprFilter missing trivial optimizations for ugt, ult (r=edwsmith,nnethercote)
--HG--
extra : convert_revision : 9bdc25ecdb1b5b3b6a81705df3ae573b812bc990
2010-06-03 10:35:26 -07:00
Luke Wagner
8f6c06b148 Remove jsboxedword, change jsid to be a jsval 2010-06-02 19:09:04 -07:00
Leon Sha
4e076c0bf0 http://www.dancertheband.com/ does not work correct with flash player 10.1 beta for solaris sparc. r=edwsmith
--HG--
extra : convert_revision : ccfc1e56c6f7dcf68719329cf1615aa5bfc4e3a5
2010-06-02 13:13:24 +08:00
David Mandelin
7dddedeff0 Makefile changes to force pointers to 32 bits on OSX--this is just a stopgap for testing and shell development 2010-06-01 19:06:54 -07:00
Blake Kaplan
c0c914d70f Bug 561279 - Don't assume there is only one stack frame in global code. r=jorendorff 2010-05-28 16:01:04 -07:00
Wesley W. Garland
620032b563 Bug 573510 - jsapi-test harness could use a print() function. r=jorendorff. 2010-06-21 15:27:48 -05:00
Jason Orendorff
46fecd5674 Bug 570169 - Part 2, add assertions that gcthings do not leak across compartments. r=gal.
--HG--
extra : rebase_source : eaa2aee559527dbca94c3279d256833d2293ca67
2010-06-16 16:13:28 -05:00
Andreas Gal
56f83ce367 Slow arrays don't need custom objectops (571810, r=mrbkap). 2010-06-21 12:19:36 -07:00
Blake Kaplan
4d411a583b Merge backout of 5e948055cc43. 2010-06-21 11:40:48 -07:00
Blake Kaplan
7ee058443a Backed out changeset 5e948055cc43 2010-06-21 11:40:35 -07:00
David Mandelin
63421f8622 Bug 571595: make sure dense_grow always gets inlined, r=nnethercote
--HG--
extra : rebase_source : 14d00cd5356a3dc1fbc88fd305a2244584ac6889
2010-06-21 11:23:39 -07:00
Jason Orendorff
9988b38a60 Bug 570169 - Part 3, cope with E4X and compiler-internal objects. r=gal. (Part 2 is to follow; my apologies for crummy numbering.) 2010-06-16 16:13:50 -05:00
Nicholas Nethercote
3dd0b2f480 Bug 564117 - TM: negative index check for GETELEM on 64-bit platforms is bogus. r=gal. 2010-06-20 18:46:43 -07:00
Igor Bukanov
9960173867 bug 572991 - replacing JSXMLArray locals with autoclasses. r=gal
--HG--
extra : rebase_source : b0f13006282537b671d4b410fd9849215154ae18
2010-06-19 20:58:00 +02:00
Blake Kaplan
731acc336b Bug 565230 - Don't try to resolve standard classes if an XPCNativeWrapper is resolving through us. r=gal 2010-06-10 14:48:19 -07:00
Blake Kaplan
a2ac6b938e Remove incorrect return. rs=lumpy 2010-06-18 17:45:33 -07:00
Brendan Eich
734c3a1ba9 Back out a81f2aed9c9b due to orange. 2010-06-18 17:39:22 -07:00
Jeff Walden
06de83b720 Bug 572577 - Generate only a proxy's enumerable properties by filtering a vector of all its properties in-place, without copying properties to a second vector. r=gal 2010-06-17 14:37:33 -07:00
Brendan Eich
157c408713 Eliminate JSClass::reserveSlots and reserve fixed-per-class slots lazily (535416, r=gal). 2010-06-15 10:06:40 -07:00
Brendan Eich
95bae4afbc Skip tests that fail always on 64-bit targets. 2010-06-18 16:39:22 -07:00
Jason Orendorff
a77184c334 Bug 560643 - Part 3, add support for jsval XPIDL type. r=jst, sr=jst.
--HG--
extra : rebase_source : dc17a29e8f4e8d174064df5ead078bce2970ff95
2010-06-18 15:29:21 -05:00
Ginn Chen
4fae667754 Bug 562281 - libffi configure failed if env var CFLAGS is set in ksh93 on OpenSolaris. r=ted 2010-06-18 10:30:44 -07:00
Luke Wagner
d984311efe Bug 572625 - create call object only after new frame is pushed (r=dvander) 2010-06-16 23:14:02 -07:00
Brendan Eich
9469e07029 Cherry-pick patch from bug 561674 to not define DEBUG_USERNAME. 2010-06-17 19:48:25 -07:00
Brendan Eich
4b502c156f Fix warnings due to constant JS_MAX size params in MAX_DSLOTS_LENGTH (r=gal).
--HG--
extra : rebase_source : eb93aa51f3ee12ff4711170093434910ff19a125
2010-06-13 06:08:50 +01:00
Andreas Gal
a92e115145 Move proto out of fslots and make it JSObject* (572820, r=jorendorff). 2010-06-17 15:23:17 -07:00
Jeff Walden
ff125e1ca1 Hm, didn't realize JS_LIKELY required a numeric (not nearly bool-ish) argument. r=red 2010-06-17 15:02:38 -07:00
Jeff Walden
e3d1dba2a3 Followup fix for iteration over null, misread a caller and thus missed that we could be asked to snapshot properties of null. r=orange 2010-06-17 14:45:55 -07:00
Wesley W. Garland
55cf36b68a Bug 572600 - Skip jstests which scatter. r=jorendorff.
--HG--
extra : rebase_source : cef99af144d165f54c2216641670832b61f5e1fd
2010-06-17 15:56:36 -05:00
Jeff Walden
5fbb5b9367 Bug 572577 - Change NativeIterator::allocate to accept a vector of ids rather than separate pointer/length. r=gal
--HG--
extra : rebase_source : a7b3993ec46a83e3f70bb1c2975028e1273bb044
2010-06-16 16:17:45 -07:00
Jeff Walden
e993047657 Bug 572577 - Convert proxy name-enumerating APIs to fill in vectors of names, rather than return JSIdArrays. r=gal
--HG--
extra : rebase_source : 5df8f88b785d5c2974bcc89cf285f9791dfbb0c9
2010-06-16 16:11:13 -07:00
Jeff Walden
054bf6ca45 Bug 572577 - Make property enumeration mechanisms fill in a provided vector of names, rather than return a JSIdArray. r=gal
--HG--
extra : rebase_source : 20994eb4c76aad9fe570b8dcfce1f5b6ceeef0fc
2010-06-16 14:12:21 -07:00
Blake Kaplan
eeece03cc6 Bug 572149 - Deal with an abort when about to *start* executing an imacro. r=gal
--HG--
extra : rebase_source : 916ec03b814d9e31134546a910eb329639c0b389
2010-06-16 20:29:52 -07:00
Andreas Gal
d79abfd782 Bug 572774 - NULL deref due to bug in js_Call, regression from bug 572495. r=jorendorff. 2010-06-17 13:15:18 -05:00
Igor Bukanov
5b76e21662 bug 516832 follow up - better assert coverage with conservative gc 2010-06-17 15:35:52 +02:00
Igor Bukanov
a3a94a3484 bug 572411 - removal of JSObjectOps::checkAccess. r=mrbkap 2010-06-17 14:32:26 +02:00
Chris Leary
1d03ae0f11 Fix jstests.py --valgrind-args flag. (r=jorendorff) 2010-06-16 18:34:57 -07:00
Jason Orendorff
c80c81124a Merge backout. 2010-06-16 20:03:30 -05:00
Jason Orendorff
c1e349137a Back out changeset 4c1fbfcf1d0d due to orange. 2010-06-16 20:03:11 -05:00
Jason Orendorff
07430a1bcd Back out changeset fdaff211cb8f due to orange. 2010-06-16 20:02:53 -05:00
Jason Orendorff
e4eacf8d04 Bug 570169 - Part 3, cope with E4X and compiler-internal objects. r=gal.
--HG--
extra : rebase_source : cfe0da3aa979b24ba331fbc2622970767b06ad58
2010-06-16 16:13:50 -05:00
Andreas Gal
02be8d79fb Compute 'this' in call ObjectOp so it can be overriden (572495, r=jorendorff). 2010-06-16 16:36:40 -07:00
Jason Orendorff
2d3b5bbe7a Bug 570169 - Part 2, add assertions that gcthings do not leak across compartments. r=gal. 2010-06-16 16:13:28 -05:00
Jason Orendorff
6472e34dba Bug 570169 - Part 1, preparation. Rearrange some code. r=gal. 2010-06-16 16:13:01 -05:00
Jason Orendorff
651a2b804e Delete testContexts_bug570746, which is failing only on tinderbox, inexplicably. No test is worth this much trouble. r=orange. 2010-06-16 15:19:53 -05:00
Chris Leary
c55687cccc Back out changeset fecc8ed9e813. 2010-06-16 01:17:34 -07:00
Jason Orendorff
5550380090 Note that js1_8_5/regress/regress-555246-1.js fails in the shell. 2010-06-15 19:07:50 -05:00
Dave Herman
ddf90cda8e bug 533874, r=cdleary: expose the parser as a JS API 2010-06-15 13:32:32 -07:00
Jason Orendorff
604cfc9c6f Fix testContexts_bug570746 for the third time. The scope of the jsvalRoot fundamentally cannot be correct here, so explicit JS_{Add,Remove}ObjectRoot calls are needed. r=orange.
--HG--
extra : rebase_source : e6a4ace8f159dfdb939495cecb5a9c3110242620
2010-06-14 18:50:07 -05:00
Igor Bukanov
287bafafff bug 516832 followup - fixing jsapi-tests compiler warnings 2010-06-15 09:57:24 +02:00
Jason Orendorff
6435203fb2 Remove #include cycle between jsscopeinlines.h and jsobjinlines.h. rs=Waldo. 2010-06-14 15:00:02 -05:00
Igor Bukanov
7cf58c5d22 bug 516832 - conservative stack scanning. This is based on the initial work by Anreas Gal and Gregor Wagner. r=brendan,gal 2010-06-04 16:22:28 +02:00
Igor Bukanov
5a45e44fd0 bug 571661 - removal of unused xpconnect-specific auto request classes. r=mrbkap 2010-06-12 18:28:19 +02:00
Jeff Walden
036e2b3101 Bug 570551 - Don't use shared-permanent properties to implement RegExp instance properties. r=jorendorff 2010-06-05 18:16:03 -07:00
Jim Blandy
4b1fae7897 Bug 568375: Delete the JSOP_XMLOBJECT bytecode. r=waldo 2010-06-11 10:48:08 -07:00
Nicholas Nethercote
dd1f103ade Update nanojit-import-rev stamp. 2010-06-10 18:05:05 -07:00
Nicholas Nethercote
a35fc574ae Bug 569753 - nanojit: clean up ExprFilter::ins2(). r=edwsmith.
--HG--
extra : convert_revision : 27e933f40d36603509b75ca2e7361616781528fe
2010-06-10 17:12:53 -07:00
Edwin Smith
b919fbbe12 Bug 562152 - Remove typedef LInsp (r=nnethercote+)
--HG--
extra : convert_revision : 63a0a36e4637218160b42646feb9a18b408d8671
2010-06-10 11:22:18 -04:00
Jim Blandy
5f169e84e2 Bug 563109: Retire jsDriver.pl and friends, in favor of jstests.py. r=bclary 2010-06-10 14:43:54 -07:00
Nicholas Nethercote
13d03be824 merge 2010-06-09 19:41:59 -07:00
Nicholas Nethercote
991efe1344 Bug 568466 - TM: avoid premature NULL check in NewXMLQName(). r=gal. 2010-06-09 19:40:12 -07:00
Vladimir Vukicevic
601bca059e b=571014; assertion when accessing ArrayBuffer props; r=brendan 2010-06-09 19:05:00 -07:00
Vladimir Vukicevic
050bac772e b=560818; use jemalloc chunk allocation in GC, also add GC chunk memory report; r=shaver 2010-06-09 14:56:53 -07:00
Jason Orendorff
9f4dfaa18c Get rid of tabs in jsapi-tests and apply modelines everywhere. Whitespace only change. no_r=me. 2010-06-09 14:34:18 -05:00
Jason Orendorff
6c7518750c Missing "return true;" in jsapi-test is what was really causing it to fail on tinderboxes. Sorry for the mess. r=orange, shame=me. 2010-06-09 14:18:34 -05:00
Jacob Bramley
8dc56be0dd Update nanojit-import-rev stamp. 2010-06-09 09:46:51 +01:00
Jacob Bramley
07c75d07c8 Include signal.h to fix breakage in 49982fe529dd. [Bug 570895] [r=me]
--HG--
extra : convert_revision : 0a8efeddb4d97553a877a1cfd11b3e4b9fb54098
2010-06-09 09:30:23 +01:00
Jacob Bramley
310af12a78 Extend the inappropriately-limited FSTD and FSTS range. [Bug 570694] [r=nnethercote]
--HG--
extra : convert_revision : 3c64a9386e7f8784d25b4eb13243f621b0fcded8
2010-06-09 09:10:19 +01:00
Gary Kwong
552a27cb06 Bug 570895 - Consider replacing abort() in AvmAssertFail. r=gal.
--HG--
extra : convert_revision : 49982fe529ddf0ff473495547e2df3024e35ee76
2010-06-09 00:20:03 -07:00
Gary Kwong
a24cddb1b8 Assertion failure message tweak, from bug 570895. r=gal.
--HG--
extra : convert_revision : c7e84fb8ce712a6ea79fce04cd8cb5d8fcf2f647
2010-06-09 00:13:54 -07:00
Jacob Bramley
ad5b2f77aa Fix ARM's asm_str implementation for large, negative offsets. [Bug 561977] [r=me]
--HG--
extra : convert_revision : 8dc1d2f7c39783cb1683dee2b3caac28d7121ff7
2010-06-07 11:58:07 +01:00
Gary Kwong
2c2bdd0503 Bug 570895: Replace abort() in AvmAssertFail. r=gal 2010-06-09 14:38:37 +08:00
Andreas Gal
ffe7358fca Eagerly calculate 'this' for 'with' objects (570655, r=brendan/mrbkap). 2010-06-08 17:09:40 -04:00
Jim Blandy
1a07fb174f Bug 569751: Don't ignore arguments indicating which tests to run in nonterminal property presence tests. r=waldo 2010-06-08 13:35:19 -07:00
Jason Orendorff
d9841f2f2c In a jsapi-test, fix scope of js root, to avoid removing the root after the runtime is destroyed. r=orange. 2010-06-08 14:42:27 -05:00
Jason Orendorff
674ba25c89 Bug 570746 - Assertion failure: rt->emptyArgumentsScope->shape == JSScope::EMPTY_ARGUMENTS_SHAPE, at js/src/jsscope.cpp:289. r=brendan. 2010-06-08 12:31:34 -05:00
Blake Kaplan
8a79fe9040 Bug 553597 - Add a mochitest. r=bzbarsky 2010-06-08 09:13:11 -07:00
Blake Kaplan
62c84f09e1 Bug 567451 - Inline some functions that have no business appearing in profiles. r=jst 2010-06-08 09:13:08 -07:00
Blake Kaplan
f1be43a299 Bug 566651 - Actually store the result in vp. r=jorendorff 2010-06-08 09:12:52 -07:00
Blake Kaplan
0130483c24 Bug 567048 - Cache same-origin XOWs in the wrapped native's object. r=jst 2010-05-28 16:01:08 -07:00
David Mandelin
9d3b145d90 Move the unit string tables to 32-bit address space for x64. This works on Windows but may need different X64 macrology elsewhere 2010-05-28 15:28:48 -07:00
David Mandelin
0c6dd6c6e2 Set up alloc of 32-bit-addressed gcchunks for win 64 2010-05-28 14:41:42 -07:00
David Mandelin
0c48e65da3 Build error fixes for win64 2010-05-28 14:04:29 -07:00
Nick Thomas
59d3d880aa Bug 570022, bump Firefox/Gecko version to 4.0b2pre/2.0b2pre after 4.0b1 tagging, r=jhford, a=beltzner, CLOSED TREE 2010-06-29 15:09:55 +12:00
Ben Turner
1d8ac7be25 Bug 575399 - 'IndexedDB: Remove XPConnect slow paths from some IndexedDB methods'. r=sdwilsh 2010-06-28 15:22:41 -07:00
Ben Turner
8c6da83b49 Bug 574872 - 'Allow XPConnect to pass the JSContext through XPIDL when requested'. r=jst 2010-06-28 15:22:39 -07:00
Shawn Wilsher
57685bdd35 Bug 574811 - Rename IDBCursorRequest to IDBCursor
Updating interface names per recent specification changes.
r=bent

--HG--
rename : dom/indexedDB/IDBCursorRequest.cpp => dom/indexedDB/IDBCursor.cpp
rename : dom/indexedDB/IDBCursorRequest.h => dom/indexedDB/IDBCursor.h
2010-06-28 11:51:06 -07:00
Shawn Wilsher
aff7e85a3b Bug 574811 - Rename IDBIndexRequest to IDBIndex
Updating interface names per recent specification changes.
r=bent

--HG--
rename : dom/indexedDB/IDBIndexRequest.cpp => dom/indexedDB/IDBIndex.cpp
rename : dom/indexedDB/IDBIndexRequest.h => dom/indexedDB/IDBIndex.h
2010-06-28 11:51:06 -07:00
Shawn Wilsher
ad8dc5eaf7 Bug 574811 - Rename IDBObjectStoreRequest to IDBObjectStore
Updating interface names per recent specification changes.
r=bent

--HG--
rename : dom/indexedDB/IDBObjectStoreRequest.cpp => dom/indexedDB/IDBObjectStore.cpp
rename : dom/indexedDB/IDBObjectStoreRequest.h => dom/indexedDB/IDBObjectStore.h
2010-06-28 11:51:06 -07:00
Zack Weinberg
cdb43c9602 Bug 571989 part 1: Move the contents of gfx/src/psshared into widget/src/gtk2, which is the sole user.
--HG--
rename : gfx/src/psshared/nsCUPSShim.cpp => widget/src/gtk2/nsCUPSShim.cpp
rename : gfx/src/psshared/nsCUPSShim.h => widget/src/gtk2/nsCUPSShim.h
rename : gfx/src/psshared/nsPSPrinters.cpp => widget/src/gtk2/nsPSPrinters.cpp
rename : gfx/src/psshared/nsPSPrinters.h => widget/src/gtk2/nsPSPrinters.h
rename : gfx/src/psshared/nsPaperPS.cpp => widget/src/gtk2/nsPaperPS.cpp
rename : gfx/src/psshared/nsPaperPS.h => widget/src/gtk2/nsPaperPS.h
2010-06-28 10:36:17 -07:00
Shawn Wilsher
1dd26b5f02 Bug 574811 - Rename IDBDatabaseRequest to IDBDatabase
Updating interface names per recent specification changes.
r=bent

--HG--
rename : dom/indexedDB/IDBDatabaseRequest.cpp => dom/indexedDB/IDBDatabase.cpp
rename : dom/indexedDB/IDBDatabaseRequest.h => dom/indexedDB/IDBDatabase.h
2010-06-28 09:46:49 -07:00
Shawn Wilsher
7efa6fa6f7 Bug 574811 - Rename IDBTransactionRequest to IDBTransaction
Updating interface names per recent specification changes.
r=bent

--HG--
rename : dom/indexedDB/IDBTransactionRequest.cpp => dom/indexedDB/IDBTransaction.cpp
rename : dom/indexedDB/IDBTransactionRequest.h => dom/indexedDB/IDBTransaction.h
2010-06-28 09:46:21 -07:00
Shawn Wilsher
8f3f92a5f4 Bug 574740 - Rename nsIIndexedDatabaseRequest to nsIIDBFactory
Update interface names per specification.
r=bent

--HG--
rename : dom/indexedDB/IndexedDatabaseRequest.cpp => dom/indexedDB/IDBFactory.cpp
rename : dom/indexedDB/IndexedDatabaseRequest.h => dom/indexedDB/IDBFactory.h
rename : dom/indexedDB/nsIIndexedDatabaseRequest.idl => dom/indexedDB/nsIIDBFactory.idl
2010-06-28 09:44:30 -07:00
timeless
5a386eb050 Bug 568007 - js_GetReservedSlot is too friendly to api abusers r=jorendorff 2010-06-28 12:00:07 +02:00
Masatoshi Kimura
cb1273c655 Bug 570365 - Remove -MANIFESTUAC:NO linker flag from configure r=ted.mielczarek
--HG--
extra : rebase_source : 75eb9e70e04abac7e61e835f62f0aef82c085cec
2010-06-27 01:33:17 +02:00
Jacek Caban
07bde20ee7 Bug 573341 - Wrong AVMPLUS_ALIGN16 declaration on mingw r=dvander
--HG--
extra : rebase_source : 1ae22e8abd799137e661f34b0c8346006a511617
2010-06-27 01:28:10 +02:00
Jacek Caban
119d3d97b4 Bug 569821 - js compilation failure on mingw-w64 r=dvander
--HG--
extra : rebase_source : 849d0c26e909917d6bdf7643928978cf59ed61b5
2010-06-27 01:27:18 +02:00
Daniel Holbert
fd37dc44c5 Bug 557566 followup: disable FAIL_ON_WARNINGS on Android. r=mwu 2010-06-26 15:15:35 -07:00
Ginn Chen
38f134ccbc Bug 574639 fix a typo in last commit 2010-06-27 01:09:34 +08:00
Ginn Chen
313e182b81 Bug 574639 Several fixes for configure.in and rules.mk for Solaris r=bsmedberg 2010-06-27 00:56:07 +08:00
Ben Newman
91ca5c2718 Disable hanging jetpack XPCShell tests. r=sdwilsh 2010-06-25 11:42:34 -07:00
William Maddox
48541b0117 Support arithmetic with branch on overflow on MIPS -- bug 560926 (r=rreitmai+)
Adds support for MIPS target lacking in earlier patch.
Bug 560926 - Add support for arithmetic with branch on overflow
We simply extend the existing logic for exit-on-overflow in the
manner done for other targets.  There appear to other issues
with oveflow detection in general that are not dealt with here.

--HG--
extra : convert_revision : 3a62ee8cc7d6caf63cbd594f71814c8e8f3d4f7a
2010-05-27 18:00:45 -07:00
William Maddox
7cfb42d6ca Fix missed renaming in NativeMIPS.cpp in patch for bug 560926 (r=rreitmai+)
Bug 560926 - Add support for arithmetic with branch on overflow

--HG--
extra : convert_revision : 8c6a61c935172f56eb7c660b476a5516cd3f04ab
2010-05-27 12:53:35 -07:00
Rick Reitmaier
ada62b6b46 Fix winmo macro madness breakage
Extra parenthesis needed in order to correctly resolve macros;
  NativeARM.cpp(2040) : error C2105: '--' needs l-value

--HG--
extra : convert_revision : 6f625518afb60a49717b27ba482ace08309cff12
2010-05-27 11:29:47 -07:00
lw@mozilla.com
7b52bb9eca Fixes/hacks to get working on Linux x64 2010-05-26 22:35:39 -07:00
Rick Reitmaier
4e416a5a6b Bug 568393 - msvc 2008 compiler generates bad code for CallInfo static initializer (r+wmaddox)
ugh

--HG--
extra : convert_revision : f7c07b8ca96fc2ef1179171f05e69b841ac2865f
2010-05-26 18:02:31 -07:00
William Maddox
f42400812e Bug 560639 - Reinstate CodeAlloc::size(const CodeList*) recently removed as "dead" (r=edwsmith+ nnethercote+)
--HG--
extra : convert_revision : aec5028a49e90c4be18de667a2807896e3b689ad
2010-05-26 17:29:16 -07:00
Luke Wagner
824169c8ae Merge 2010-05-26 16:39:20 -07:00
Luke Wagner
f7242c4d3f [mq]: Refactor value logic for better reuse 2010-05-26 16:36:47 -07:00
David Mandelin
d9d407e9e0 Fix build for js shell 2010-05-26 15:35:52 -07:00
David Mandelin
779cb751a0 Fix ctypes build 2010-05-26 15:29:48 -07:00
David Mandelin
dccd5ed786 Build fixes for MT builds 2010-05-26 14:49:23 -07:00
David Mandelin
2652c5d63e Reversing change to jstests.py that was accidentally checked in earlier 2010-05-26 14:13:08 -07:00
David Mandelin
2dbeb42aff Fix regression from 426b1244fbf6. rval needs to be set for the ending primtive conversion block to work correctly. 2010-05-26 13:50:01 -07:00
David Mandelin
efe77133ba Fix jsreftest regress-312588.js 2010-05-26 13:29:27 -07:00
David Mandelin
3b0ec348d0 Fix jsreftest regress-353116.js 2010-05-26 13:15:33 -07:00
Rick Reitmaier
8b54029d42 Bug 567900 - Enable JIT verbose output for release debugger builds (r+stejohns)
Somewhere along the line -Dverbose=jit was disabled for all non-debug builds.
This means that we can no longer see jit generated verbose output unless we
build a debug build, which is very inconvenient.

Also, the define NJ_VERBOSE_DISABLED was introduced without a corresponding
ifdef around the JIT verbose flags of the shell which leads one to erroneously
assume that methods are not being JIT'd (no output visible).

As the verbose mechanism in the JIT adds less than 2% to overall size (measured
on xcode built x86-32 shell) , recommend adding it back.

--HG--
extra : convert_revision : 367041a278adc74f7db6c9a13166f1700b133ec7
2010-05-26 11:08:55 -07:00
Nicholas Nethercote
667b781c22 Update nanojit-import-rev stamp. 2010-06-06 17:58:25 -07:00
Edwin Smith
ab48828f96 Bug 560926 - Add support for arithmetic with branch on overflow (r= nnethercote+ edwsmith+ wmaddox+) 2010-06-06 17:57:30 -07:00
Nicholas Nethercote
50014db91e Update nanojit-import-rev stamp. 2010-06-06 16:45:13 -07:00
Edwin Smith
0674774a9a Constant folding for LIR_i2q and ui2uq (bug 560106 r=gal+). 2010-06-06 16:40:41 -07:00
Andreas Gal
0630d150f4 Detection mutations to the iteration state in js_SuppressDeletedProperty (570352, r=igor). 2010-06-06 16:23:48 -04:00
Robert Sayre
09e6a02419 Merge mozilla-central to tracemonkey. 2010-06-06 11:28:04 -04:00
Nicholas Nethercote
1a5f1be426 Update nanojit-import-rev stamp. 2010-06-05 20:15:51 -07:00
Jacob Bramley
bd578c73f1 Remove stack-size limitations in asm_spill for ARM. [Bug 561977] [r=rreitmai] 2010-06-05 20:12:54 -07:00
Robert Sayre
d9e86770e3 Merge mozilla-central to tracemonkey. 2010-06-05 19:13:45 -04:00
Igor Bukanov
02fc618d59 bug 566836 - eliminating JSObjectOps::dropProperty. r=gal
--HG--
extra : rebase_source : cdffca0a863d8a3dddbc77335fc3cdac2eff9f4b
2010-06-05 23:24:54 +02:00
Robert Sayre
37d6a810f7 Merge backout. 2010-06-05 11:43:27 -04:00
Robert Sayre
3a10b5449b Backed out changeset 52be13ea0488. Bug 556277 - Compute this eagerly in more cases. r=brendan. Suspected of performance regression on SunSpider unpack-code. 80ms -> 135ms. 2010-06-05 11:42:59 -04:00