Jason Orendorff
d516b40847
Add resolver built-in function to the JS shell. This is for testing. r=brendan in bug 458271, a=npotb.
...
--HG--
extra : rebase_source : 585c1fd53672763341a3f476c46c0704c3e1bf12
2011-02-18 10:57:33 -06:00
Jeff Walden
02e7d876a5
Bug 636079 - Refactor JSON.stringify code to more closely conform to the specification, fixing a bunch of known problems in the process. r=pbiggar
...
Bugs fixed:
* toJSON is now invoked with an argument list consisting of the property name.
* In rare circumstances toJSON was invoked twice for a single object-valued
property. This error has now been corrected.
* Stringification no longer throws if the toJSON property of an object being
stringified is an object but is not callable.
* The replacer function is invoked exactly once for properties of objects
when those properties are stringified.
* If a replacer function is to be called, it will receive array indexes as
strings instead of numbers, per ES5.
Other improvements include:
* Speedier internal methods are used, rather than slow external APIs.
* Argument types are more specific (e.g. the "holder" argument is an object).
* Logic to determine when to call the replacer function is unnecessary and has
been removed.
--HG--
extra : rebase_source : 1f2ee9ff4c14edebda3e48d33d6df32fc44b701d
2011-02-18 03:34:34 -08:00
Phil Ringnalda
1b448b21c6
Bug 646702 - Add an --enable-sm-fail-on-warnings configure option to make it easier to do Tinderbox SpiderMonkey shell builds that fail on warnings, r=pbiggar
2011-04-06 03:52:28 -07:00
Jeff Walden
7ce51759aa
Backed out changeset 4d86e63ff60d, diagnostic patch; back out 3da12edf735e, followup fix; back out bug 631135 completely, unexplained intermittent orange.
...
--HG--
extra : rebase_source : e2e56a78bc0eea0d6e005bc976c74b33d8c22281
2011-02-19 19:50:19 -08:00
Andreas Gal
532405b940
Remove ObjectOps trace hook (bug 639227, r=dvander).
2011-03-06 22:31:43 -08:00
Andreas Gal
831efbf9e8
Backout bug 639227 due to orange.
2011-03-06 21:37:13 -08:00
Andreas Gal
52c4d6513a
Remove ObjectOps trace hook (bug 639227, r=dvander).
2011-03-06 20:49:54 -08:00
Andreas Gal
f5b9aeb7d0
Remove obsolete JSMarkOp API (bug 638291, r=jorendorff).
2011-03-05 14:50:11 -08:00
Nicholas Nethercote
ce865cc77b
Bug 600734 - TM: some jstracer.h clean-ups. r=dmandelin.
2011-03-03 19:59:00 -08:00
Jeff Walden
e604ceddc7
Bug 631135 - Objects created by or on behalf of fast natives and property ops (getters or setters) are parented to the wrong proto and global. r=lw,jst,mrbkap,bz, a=jst
2011-02-08 17:20:06 -08:00
Steve Fink
a83777b0e8
Bug 632343 - Run debug tests under -d since debug mode is now asynchronous (r=luke)
2011-02-15 13:39:45 -08:00
Andreas Gal
37635547a6
Bug 633879 - Stop wrappers from holding old scopes alive. r=mrbkap@gmail.com,jst@mozilla.com, a=blocker
2011-02-14 14:19:36 -08:00
Bill McCloskey
42e73fa7bc
Bug 631951 - Shrink methodjit memory usage by interpreting a few times before compiling (r=dvander)
2011-02-11 16:31:32 -08:00
Jim Blandy
de75b9fa19
Bug 537873: Add a 'strict' argument to C++ property setter functions. r=brendan
...
This changes the type of setters to JSStrictPropertyOp, which is just like
JSPropertyOp except that it takes a 'JSBool strict' argument. Most of the
patch is introducing distinct types and using the appropriate stubs.
The following are left for subsequent patches:
x Similar fixes to the browser outside SpiderMonkey.
x Actually *using* the newly available strictness information. This patch
should have no user-visible effect. I didn't want the interesting stuff
to get lost in this noise.
2011-02-09 11:31:40 -08:00
Igor Bukanov
f4c246e790
bug 627016 - remove JSProperty out param from DefineNativeProperty. r=jorendorff
...
--HG--
extra : rebase_source : 673c7471fc963cb59d11ab667bd9e8523297617a
2011-01-21 14:10:16 +01:00
Paul Biggar
be81e401da
Bug 642327 - Add OOM regression checking to the shell via |make check|. (r=nnethercote)
...
In a known test file, there are 129 OOM errors. This adds a script which checks
the number of unhandled OOMs, and fails if it is not exactly 129. If we
accidentally increase the number of unhandled OOMs, this should catch it. If we
reduce the number of unhandled OOMs (which is the plan), then adjust this
number in Makefile.in.
2011-01-17 15:15:00 -08:00
Brian Hackett
ab466f6704
[INFER] Fix bogus assert and build break, bug 621487.
2010-12-29 12:06:16 -05:00
Brian Hackett
b5bb63ceba
[INFER] Decouple type sets computed by inference from analysis information, store in new TypeScript struct, bug 621301.
2010-12-28 14:53:50 -05:00
Brian Hackett
cde265e645
[INFER] Fixes for jstests, bug 620599, part 2.
2010-12-21 18:26:09 -08:00
Brian Hackett
89bb1d08e8
Merge TM -> JM
2010-12-20 09:06:43 -08:00
Brian Hackett
baf09eaede
[INFER] Objects with same shape have same type, objects with same type have same prototype, bug 619271.
2010-12-18 20:44:51 -08:00
Jeff Walden
1ae34fd49a
Bug 676738 - Change the index argument to JS_SetElement from jsint to uint32. r=dmandelin
2011-08-04 19:39:13 -07:00
Jeff Walden
8f924181c5
Bug 676738 - Change the index argument to JS_GetElement from jsint to uint32. r=dmandelin
2011-08-04 19:39:13 -07:00
Jeff Walden
7302de681d
Bug 676708 - Remove split global stuff from the shell. r=mrbkap
2011-08-04 19:39:12 -07:00
Jeff Walden
062e461a6e
Windows warning patrol. rs=luke
...
--HG--
extra : rebase_source : 1b6800ae7a7d56c1d8f056d6d06d0c9d45815e42
2011-08-04 14:28:41 -07:00
Nikhil Marathe
e5119454f0
Bug 664249 - Inline TypedArray properties into slots. r=mrbkap
...
--HG--
extra : rebase_source : 5dfb31e3659a8f4365c9c03e4297a120221bb1de
2011-08-01 15:49:51 -07:00
Jim Blandy
32f475624f
Bug 672736: Implement the 'findReferences' shell function. r=jorendorff
...
findReferences(thing)
Walk the entire heap, looking for references to |thing|, and return a
"references object" describing what we found.
Each property of the references object describes one kind of reference. The
property's name is the label supplied to MarkObject, JS_CALL_TRACER, or what
have you, prefixed with "edge: " to avoid collisions with system properties
(like "toString" and "__proto__"). The property's value is an array of things
that refer to |thing| via that kind of reference. Ordinary references from
one object to another are named after the property name (with the "edge: "
prefix).
Garbage collection roots appear as references from 'null'. We use the name
given to the root (with the "edge: " prefix) as the name of the reference.
Note that the references object does record references from objects that are
only reachable via |thing| itself, not just the references reachable
themselves from roots that keep |thing| from being collected. (We could make
this distinction if it is useful.)
If any references are found by the conservative scanner, the references
object will have a property named "edge: machine stack"; the referrers will
be 'null', because they are roots.
js> var o = { x: { y: { z: {} } }}
js> findReferences(o.x.y.z)
({'edge: z':[{z:{}}], 'edge: machine stack':[null, null, null, null, null]})
js> o = { get x() { return 42 } }
({get x () {return 42;}})
js> findReferences(Object.getOwnPropertyDescriptor(o, 'x').get)
({'edge: shape; x getter':[{get x () {return 42;}}],
'edge: constructor':[{}],
'edge: machine stack':[null, null, null, null, null],
'edge: get':[{configurable:true,
enumerable:true,
get:#1=(function () {return 42;}),
set:(void 0)}]})
js> findReferences(Math.atan2)
({'edge: atan2':[Math], 'edge: machine stack':[null, null, null, null, null]})
js> findReferences(o)
({'edge: o':[{o:{get x () {return 42;}}}], 'edge: machine stack':[null, null, null, null, null]})
js>
2011-08-03 20:19:38 -07:00
Brian Hackett
accdca294b
Merge TM -> JM
2010-12-07 17:11:37 -08:00
Nicholas Nethercote
fecf9a1832
Bug 588648 - Don't copy chars when scanning. r=brendan.
2010-12-07 15:22:52 -08:00
timeless@mozdev.org
39ad4aa3e4
Bug 587670 Process leaks file if it is a tty and it hits a line error or a buffer error. r=jorendorff.
2010-12-07 12:53:43 -06:00
Andreas Gal
dfd0e233fe
Bug 599188 - potential overflow in shell ShapeOf. r=jorendorff.
...
--HG--
extra : rebase_source : 95e1dadc0c57d77bec1e86a392d4db9aeadebf8c
2010-12-07 11:17:18 -06:00
Luke Wagner
d8719356c0
Bug 609440, part 4 - make JSString::chars() fallible (r=waldo,dvander,igor,dwitte,njn)
2010-12-06 10:26:58 -08:00
Luke Wagner
2fc61cf52e
Bug 609440, part 3 - remove fallible public APIs, update mozilla (r=bent,jst,mrbkap,waldo,sdwilsh)
2010-12-03 00:24:17 -08:00
Brian Hackett
002fd1a589
Merge TM -> JM
2010-11-30 09:04:25 -08:00
Jason Orendorff
2fb9143ed1
In js shell, make dis() with no arguments disassemble the current script. No bug, rs=Waldo.
...
--HG--
extra : rebase_source : 9775e4b9da3ee38a346174c3987bd3f897798ff1
2010-12-03 16:39:58 -06:00
Brian Hackett
36efb56b2b
Analysis and recompilation tuning for SS, bug 608746.
2010-11-20 15:45:52 -08:00
Jason Orendorff
b4b193de22
Bug 613068 - Add version argument to JS_ReadStructuredClone. r=bent.
2010-11-24 14:14:02 -06:00
Brian Hackett
ee3f068ff9
Merge TM -> JM
2010-11-18 21:09:24 -08:00
Brian Hackett
bcd78eb5d4
[INFER] Recompilation on dynamic type changes, bug 608746.
2010-11-18 08:28:05 -08:00
David Mandelin
36d91c0a4f
Fix MSVC warnings in js.cpp
2010-11-23 14:41:35 -08:00
Luke Wagner
91eabb4690
Bug 561954 - Abort recording earlier to avoid expensive later bails (r=jorendorff)
...
--HG--
extra : rebase_source : d2a54d2513fe8f69dcdaa5bad8dc0ce8c8ee634e
2010-11-18 10:49:45 -08:00
Brian Hackett
e225da4233
Merge TM -> JM.
2010-11-12 09:02:43 -08:00
Brian Hackett
4fa8fa4840
[INFER] Type inference fixes for generators, typed arrays, monitoring, ... bug 557407.
2010-11-09 14:40:10 -08:00
David Anderson
7487c14d37
Backed out changeset 8e119f847f97 (build busted)
2010-11-11 11:19:42 -08:00
Igor Bukanov
e32ba97023
bug 610198 - Replacing JS_GetStringBytes usage with JS_EncodeString. r=gal
2010-11-02 15:36:25 +01:00
Brian Hackett
d0775091ec
Merge TM -> JM
2010-11-01 15:37:33 -07:00
Brian Hackett
706b1eac51
[INFER] Tweak kludge so sunspider harness works, bug 608746.
2010-11-01 15:31:26 -07:00
Brian Hackett
1569a0a9c4
Fixup kludge, don't clone global object, bug 608746.
2010-11-01 10:09:04 -07:00
Brian Hackett
3ef71abbf0
Kludge allowing JM to use type inference without needing recompilation, bug 608746.
2010-11-01 09:43:25 -07:00
Brian Hackett
696cff5132
[INFER] Javascript type inference, bug 557407.
2010-10-29 08:05:55 -07:00
David Mandelin
61c89f1888
Backout merge, a=backing out changeset tried for b7 blocker
2010-10-26 18:20:20 -07:00
David Mandelin
5aa436fc27
Backed out changeset 8dd996c91f40 -- it doesn't fix the problem, but does make it harder to analyze.
2010-10-26 18:14:25 -07:00
Bill McCloskey
efc89ce679
Bug 563126 - Rename JS instruction tracing -> logging, and ensure it doesn't convert call objs (r=brendan)
2010-10-26 12:07:26 -07:00
Robert Sayre
7ce5faeded
Merge mozilla-central to tracemonkey.
2010-10-26 14:16:43 -04:00
David Mandelin
a4768a8a4b
Bug 604756 first try: restrict ropes optimization to main-thread content JS, r=lw, a=b7-blocker
2010-10-25 17:28:18 -07:00
Steve Fink
bb0c45a894
Bug 606629 - Record op execution counts for mjitted code (r=dmandelin)
...
I hope to obsolete this soon with bug 637393.
2010-10-22 17:18:47 -07:00
Steve Fink
1c4e7a1190
Back out b6c3be49412b
2011-05-12 11:14:37 -07:00
Steve Fink
0f26c5dbb3
Bug 606629 - Record op execution counts for mjitted code (r=dmandelin)
...
I hope to obsolete this soon with bug 637393.
--HG--
extra : rebase_source : 3dd6d0bffac066e67785d730b9d59460db87326e
2010-10-22 17:18:47 -07:00
Jason Orendorff
596862d852
Remove JSObject::title. Bug 606029, r=igor.
2010-10-22 19:04:22 -05:00
Blake Kaplan
f92bd7856e
Bug 612836 - Second verse, same as the first (see also bug 602223): Use the global object instead of the parent so we're sure to have a non-null parent. r=gal, a=blocker
2010-11-29 13:37:01 -08:00
Bill McCloskey
58582215b9
Bug 580468 - Use loop profiling to decide whether to use TM or JM (second try) (r=dmandelin)
2010-10-21 09:36:39 -07:00
Dave Herman
0ca2b83af2
bug 604829, r=jorendorff: more helpful usage info for js -h
2010-10-20 22:22:38 -07:00
Jason Orendorff
77cb665f63
Fix crash near NULL in jsworkers.cpp. No bug, rs=bz.
2010-10-20 23:05:38 -05:00
Bill McCloskey
507ea140a2
Backed out changeset 55597c32701d
2010-10-19 17:40:53 -07:00
Bill McCloskey
7583dc9166
Bug 580468 - Use loop profiling to decide whether to use TM or JM (r=dmandelin)
2010-10-19 16:23:05 -07:00
Bill McCloskey
b675508c7a
Bug 596676 - Print script execution time in shell (r=dmandelin)
2010-10-18 14:08:56 -07:00
Paul Biggar
464c5195d7
Bug 590486: Remove snarl now that eval is fast again.
...
In bug 578158, we needed to run entire benchmarks through eval(), but some
benchmark features erroneously prevented the tracer from running. Snarl() was
added to be an eval() without that limitation. Once that limitation was fixed, in
bug 580529, eval() could be used again and so Snarl() wasn't needed.
--HG--
extra : rebase_source : 0f77190acb0756d067ac9f998c5187c931483e1f
2010-10-14 17:49:49 -07:00
Dave Herman
d78d204bb8
bug 602940, r=brendan: remove narcissus from hg tree
2010-10-14 14:36:17 -07:00
Brian Hackett
f9cf7a5b7d
Flexible length JSObject, bug 584917. r=brendan,igor
2010-10-13 11:49:22 -07:00
Jeff Walden
fcbd8eb10b
Bug 514570 - 1 - Convert primitive-this-of-type function flags into a single primitive-this flag, to pave way for strict mode unadulterated-this passing. r=jorendorff
2010-10-12 11:50:02 -07:00
Brendan Eich
eb3502680f
JSOPTION_ANONFUNFIX should be set in js shell (5595555, r=cdleary).
2010-10-06 14:58:28 -07:00
Paul Biggar
e13e24e1ac
Bug 612312 - Replace DEBUG_ARRAYS with plain DEBUG (r=cdleary)
2010-12-13 16:22:57 -08:00
Jeff Walden
c39f97db70
Convert JSScript::*Offset into offsets from the end of JSScript, not from its start, to escape an offset <= 0xFF requirement failing due to an impending increase in the size of JSScripts for bug 614493. r=brendan
...
--HG--
extra : rebase_source : 8c4046bdc99b8280d414cba864b7d5e1b1f25331
2010-12-02 14:23:51 -08:00
Jeff Walden
f432da735d
Bug 614333 - Remove the empty-script singleton optimization: it is effectively disabled with the methodjit, and its use of a single const JSScript for everything (including across compartments) interferes with recording name bindings in scripts, in order to correctly implement strict mode eval. r=brendan
...
--HG--
extra : rebase_source : 38a7faedb4b090e844cc342c82b273c75ef763bb
2010-11-16 15:30:56 -08:00
Igor Bukanov
a18b8a8142
bug 617215 - eliminating JS_NewString usage in FF while fixing a leak there. r=bz
2010-12-09 11:22:15 +01:00
Jason Orendorff
2885319d0b
Bug 580128 - Some more compartment fixes. r=gal
2010-10-10 15:35:46 -07:00
Steve Fink
69b9757bfb
Bug 588537 - Implement ETW (Event Tracing for Windows) probes (r=gal)
...
This also adds Probes::pauseProfilers and Probes::resumeProfilers to pause/resume whatever profilers happen to be compiled in. (They all still have their own idiosyncratic ways to start and stop; this is only for suspending and resuming.)
2010-09-20 12:43:53 -07:00
Leon Sha
2a012f6591
Bug 610309 - Increase DEFAULT_MAX_STACK_SIZE to make 'make check' happy on sparc. r=gal
2010-11-08 15:01:12 +08:00
Igor Bukanov
92b67c9caf
bug 607695 - Avoid unnecessary JS_GetStringBytes. r=gal
2010-10-28 17:15:53 +02:00
Luke Wagner
9db98566fb
Backed out changeset 31e0cd11f015
2010-11-18 16:58:16 -08:00
Luke Wagner
319ccaa65d
Bug 561954 - Avoid costly deep bail by aborting earlier on bad global prop access (r=jorendorff)
2010-11-18 10:49:45 -08:00
Paul Biggar
28fb431a8e
Bug 611060 - Allow -r and -l to be passed to disfile (r=igor)
2010-11-18 11:22:24 -08:00
Igor Bukanov
52ea348c4c
bug 610198 - Replacing JS_GetStringBytes usage with JS_EncodeString. r=gal
2010-11-11 21:40:29 +01:00
Dave Herman
85db64ec81
bug 584787, r=pcwalton: Node shouldn't subclass Array
2010-10-07 10:59:45 -07:00
David Anderson
552330f091
ICs for scripted new (bug 589398, r=luke,dmandelin).
...
--HG--
extra : rebase_source : d7311ce916e8d6c876d1851090806bc7d073bd63
2010-10-04 14:13:33 -07:00
David Anderson
6dbf424efd
Backed out changeset de5d1b528b9a
2010-10-04 15:12:00 -07:00
David Anderson
6ddd3429fc
ICs for scripted new (bug 589398, r=luke,dmandelin).
2010-10-04 14:13:33 -07:00
David Mandelin
d93f709073
Bug 600639 followup: unbreak non-threadsafe shell builds, r=cjones
2010-10-01 15:34:32 -07:00
Chris Jones
33f54f09ae
Bug 600639, part 1: Allow overriding gOutFile and gErrFile in js shell, and add a -g option to sleep on startup so that a debugger can be attached. r=dmandelin
2010-10-01 16:09:21 -05:00
Jason Orendorff
00704fa52d
Bug 595297 - Portable serialize/deserialize implementation of the HTML5 structured cloning algorithm (jsclone.cpp). r=gal.
2010-09-30 19:47:10 -05:00
Andreas Gal
1649ef6d21
Always create a dummy stack frame when crossing compartment boundaries (bug 600015, r=mrbkap).
2010-09-27 15:55:15 -07:00
Igor Bukanov
b8792e95c1
bug 597736 - fixing TreeFragment leak. r=gal
2010-09-21 14:58:19 +02:00
Andreas Gal
bbf6e6f58d
Backed out changeset 52c66b17843e (bug 592907).
2010-09-23 16:21:37 -07:00
Gregor Wagner
f52995be1c
Bug 592907 - TM: set JSGC_MAX_BYTES to a sane value (r=igor)
2010-09-23 15:31:32 -07:00
David Anderson
9177721d82
Fix method-JIT debug mode bugs and add more testing capability (bug 598444, r=sstangl).
2010-09-22 14:29:48 -07:00
Jim Blandy
96d7c2007b
Bug 492849 - Implement Object.preventExtensions, Object.isExtensible. a=waldo,jimb, r=brendan
...
--HG--
rename : js/src/jsapi-tests/testSeal.cpp => js/src/jsapi-tests/testDeepFreeze.cpp
2010-09-21 11:35:29 -07:00
Igor Bukanov
dfd669fcf1
bug 597906 - js shell: functions to observe object finalization. r=jorendorff
2010-09-20 15:55:58 +02:00
Jim Blandy
2a3cf83056
Bug 537873, Bug 514574: Have strict mode code report TypeErrors for assignments, deletions. r=brendan
...
TODO: Fix error messages.
2010-09-15 13:43:55 -07:00
Chris Leary
2fa4fedbc1
Bug 540675: eviscerate JSStackFrame::callerVersion. (r=lw)
2010-09-13 09:38:22 -07:00
Luke Wagner
562fc49870
Bug 539144 - Make formal args a jit-time const offset from fp; rm argv/argc/thisv/script/callobj (r=brendan,dvander)
2010-08-09 22:43:33 -07:00
Luke Wagner
af40c91154
Set rval in DisassFile (no bug, rs=brendan)
2010-09-10 17:06:40 -07:00
Bill McCloskey
3645509f88
Bug 594969 - Fix DisassFile (r=lw)
2010-09-10 11:39:59 -07:00
Chris Leary
7c740a8dc0
Back out due to mochiserver breakage. (no_r=me)
2010-09-09 16:52:31 -07:00
Chris Leary
7c2ac56dff
Bug 540675: remove callerVersion from stack frame. (r=lw)
2010-09-09 14:25:30 -07:00
Luke Wagner
5e9978f911
Bug 581263 - remove slow natives (r=waldo,mrbkap)
2010-08-16 12:35:04 -07:00
David Mandelin
5eba7a1580
[JAEGER] Merge from Tracemonkey.
2010-08-31 10:36:08 -07:00
Dave Herman
108f80e7a2
bug 591572, r=shu: builder configuration parameter (CLOSED TREE)
2010-08-30 16:23:11 -07:00
David Mandelin
3dc48e12b2
[JAEGER] Merge from Tracemonkey.
2010-08-30 15:13:32 -07:00
Brendan Eich
790ddc9e99
Merge JSScope into JSObject and JSScopeProperty (now js::Shape; bug 558451, r=jorendorff).
2010-08-29 11:57:08 -07:00
David Mandelin
ab97c995fd
[JAEGER] Merge from tracemonkey.
2010-08-26 10:35:24 -07:00
David Mandelin
ef7de3688d
[JAEGER] Merge from Tracemonkey.
...
--HG--
extra : rebase_source : 3a8dcc0855999572e7d32ee1d6468e6729938d65
2010-08-23 14:13:53 -07:00
Brian Hackett
a4a17593d6
Move cx->fp to cx->regs->fp, bug 588978. r=lw
...
--HG--
extra : rebase_source : 14a90a53ceeb1f65d0ab70eafb5371095535e66f
2010-08-22 16:00:20 -07:00
David Mandelin
a21c621577
Merge from Tracemonkey.
2010-08-19 11:11:36 -07:00
David Mandelin
f32df484f3
[JAEGER] Finish merge from Tracemonkey.
2010-08-16 15:57:19 -07:00
David Mandelin
6f19cd8199
[JAEGER] Merge from Tracemonkey part 1: don't change visibility of JSStackFrame members yet
2010-08-16 15:37:15 -07:00
Brian Hackett
ed4defc8b5
Add interface for JSStackFrame.fun/script/thisv/rval, bug 586533. r=lw
2010-08-15 08:44:51 -04:00
Jeff Walden
765b61e1cb
Bug 429507 - ES5: Function.prototype.bind. r=brendan
2010-08-13 10:42:33 -07:00
Brian Hackett
53791f1d70
Move cx->fp to cx->regs->fp, bug 588978. r=lw
2010-08-22 16:00:20 -07:00
Andrew Drake
b4d2bc35d6
[JAEGER] Add support for throw hook. r=dvander, b=586107
2010-08-12 18:57:06 -07:00
Andrew Drake
16edddbf68
[JAEGER] Add support for debugger keyword. r=dvander, b=586105
2010-08-12 02:01:45 -07:00
Blake Kaplan
bbbfee476a
Fix bustage from bug 577750
2010-08-10 18:46:42 -07:00
Andrew Drake
bc97d0240e
[JAEGER] Add debug mode, and with it EvaluateInFrame. r=dvander, b=578154
2010-08-05 17:15:49 -07:00
David Mandelin
a5e8e278f4
[JAEGER] Merge from tracemonkey.
2010-08-11 11:36:32 -07:00
David Mandelin
acfc0bc281
[JAEGER] Merge from tracemonkey.
2010-08-11 11:30:10 -07:00
David Mandelin
4b7d4e43d2
[JAEGER] Merge from tracemonkey.
2010-08-11 11:05:24 -07:00
Andrew Drake
ebfb6d0eca
Backed out changeset a8aeff259925 and fix due to random crashes.
2010-08-11 02:35:10 -07:00
Dave Herman
c5d0735e45
bug584124, r=shu: njs terminal annoyances
2010-08-09 14:39:01 -07:00
Tom Austin
5075855584
Bug 584625. Renamed Narcissus modules and removed JSON style labels. r=dherman
2010-08-09 12:37:38 -07:00
Paul Biggar
6634b70997
Split object/function allocation paths to avoid branch (578158, r=brendan).
2010-08-09 09:11:22 -07:00
Dave Herman
b097f3a7a8
bug 584103, r=taustin: Narcissus Harmony mode
2010-08-06 16:26:59 -07:00
Dave Herman
a9b8553184
bug 583001, r=pwalton: narcissus REPL
2010-08-06 16:16:39 -07:00
Paul Biggar
8bee826b83
Bug 584993 - Expose js_DumpObject as a shell function. r=jorendorff.
2010-08-06 15:45:14 -05:00
Chris Leary
d254245df1
Submillisecond now() shell function for benchmark stability. (r=jorendorff)
2010-08-06 10:18:44 -07:00
Andrew Drake
e4ec6d69ff
[JAEGER] Add debug mode, and with it EvaluateInFrame. r=dvander, b=578154
2010-08-05 17:15:49 -07:00
David Mandelin
df3e6a9e74
[JAEGER] Merge from tracemonkey.
2010-08-09 11:36:39 -07:00
David Mandelin
b3eb68b6e5
[JAEGER] Merge from tracemonkey.
2010-08-06 15:39:15 -07:00
David Mandelin
ddcca372a7
Backed out changeset a661b26a83a1 due to tinderbox failures.
2010-08-06 11:41:28 -07:00
Andrew Drake
469286fcd4
[JAEGER] Add debug mode, and with it EvaluateInFrame. r=dvander, b=578154
2010-08-05 17:15:49 -07:00
David Mandelin
d0199725aa
Merge from tracemonkey.
2010-08-05 15:57:34 -07:00
David Mandelin
48342132f5
Merge from Tracemonkey.
2010-08-04 11:30:05 -07:00
David Mandelin
d7f6c4209b
Merge from Tracemonkey.
2010-08-02 15:55:29 -07:00
Dave Herman
f5415ad358
bug 582999, r=gal: putstr function for JS shell
2010-08-02 15:02:15 -07:00
Dave Herman
21f32eaeb6
bug 583281, r=khuey: njs should get symlinked into objdir
...
--HG--
rename : js/src/njs => js/src/shell/njs
2010-08-01 22:42:41 -07: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
Robert Sayre
90cb325bbf
Backed out changeset af011e92ad0b. (Dave Herman – bug 583281, r=jimb: njs should get symlinked into objdir). This doesn't build on windows.
2010-07-31 11:16:38 -07:00
Dave Herman
1cd082cba6
bug 583281, r=jimb: njs should get symlinked into objdir
...
--HG--
rename : js/src/njs => js/src/shell/njs
2010-07-30 15:17:14 -07:00
Zack Weinberg
788b4d617f
Bug 568863: Add a scriptable interface to operating-system performance measurement APIs (Linux only for now). r=cjones,waldo,mitch a2.0=bz
...
--HG--
rename : toolkit/components/ctypes/Module.cpp => toolkit/components/ctypes/ctypes.cpp
rename : toolkit/components/ctypes/Module.h => toolkit/components/ctypes/ctypes.h
2010-07-30 12:17:56 -07:00
David Mandelin
4c5a188923
[JAEGER] Merge from Tracemonkey.
2010-07-29 13:23:33 -07:00
David Mandelin
a73ecdeee1
Merge from Tracemonkey.
2010-07-28 11:16:36 -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
Tom Austin
e4536e1112
Refactored Narcissus to use the module pattern (bug 583913, r=pwalton)
2010-08-03 17:15:02 -07:00
David Mandelin
8702c2649d
Merge from Tracemonkey.
2010-07-26 11:52:26 -07:00
Chris Leary
4c5fd024ab
Bug 578272: Remove Algol-like display optimization. (r=brendan)
2010-07-26 06:35:38 -07:00
David Mandelin
cf0c3c24a7
Merge from tracemonkey.
2010-07-22 18:31:01 -07:00
David Mandelin
c53f67c93c
[JAEGER] Now using an environment variable to turn off crash dialog
2010-07-20 16:04:13 -07:00
David Anderson
cf5a8cf505
[JAEGER] Merge from tracemonkey.
2010-07-19 20:49:26 -07:00
Blake Kaplan
443e8e48fa
Bug 577750 - Make computing global this a little simpler. r=jorendorff
2010-07-15 23:49:13 -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
Andrew Drake
4e3da79fdc
[JAEGER] Add assertion that function JITs. r=dvander, r=jorendorff, b=579145
2010-07-15 14:48:35 -07: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
Mitchell Field
b6976ca587
Merge mozilla-central to build-system.
2011-03-02 20:38:54 +11:00
Luke Wagner
56cb551f05
Bug 637397 - Set runtime debug mode in js shell with -d (r=sfink,a=npotb)
...
--HG--
extra : rebase_source : fd6868299f8998769eaaa5a7a985296099c8961d
2011-02-28 13:05:29 -08:00
Kyle Huey
7d56189a13
Merge m-c to bs.
2011-02-25 15:23:05 -05:00
Brendan Eich
bb7ac49211
Followup fixes and tests in wake of global |this| binding change (636364, r=luke/gal/dvander, thanks to Waldo for the newGlobal shell function).
2011-02-23 19:38:27 -08:00
Mitchell Field
2e8a7d546f
Bug 627277 - Remove (broken) BeOS support. r=biesi,dwitte,gavin,joe,jorendorff,josh,khuey,mfinkle,neil,Pike,roc,shaver,smontagu,taras
2011-02-20 06:10:24 +11:00
David Anderson
64fd3377e9
[JAEGER] Merge from fatval & TM.
2010-07-05 18:07:39 -07:00
Luke Wagner
97d36215fd
Change asX to toX, asXRef to getXRef, XTag to XValue
2010-07-05 13:44:59 -07:00
Luke Wagner
d119486317
Merge from TM
...
--HG--
rename : js/src/xpconnect/src/wrappers/AccessCheck.cpp => js/src/xpconnect/wrappers/AccessCheck.cpp
2010-07-04 14:49:39 -07:00
Luke Wagner
d52a11e637
Get merge building js shell and passing trace/ref tests. Still need to fix up browser
2010-07-04 00:12:06 -07:00
Sean Stangl
bcde0f1fc6
[JAEGER] Merge with fatval.
2010-07-02 21:52:25 -07:00
Andreas Gal
38966949eb
Implement remaining cross compartment wrappers (574924, r=mrbkap).
2010-07-02 13:54:53 -07:00
Chris Leary
aa4f41d836
Bug 576148: Factor out js::UpvarCookie. (r=mrbkap, dvander)
2010-07-02 13:37:39 -07:00
Luke Wagner
15a253d499
Merge
2010-07-01 23:10:37 -07:00
Luke Wagner
42890c79a8
Double browser max heap size. Change shell heap size so it matches.
2010-06-30 20:02:00 -07:00
David Anderson
9d91d7d5a9
[JAEGER] Merge from fatval.
2010-06-29 11:54:42 -07:00
Luke Wagner
6986d7f53e
Change runtime size to 128MB from 64MB. It seems like we are running up to this limit with v8-splay and so we spend a lot more time GC'ing. Need to see if we should do this for the browser as well.
2010-06-29 02:35:39 -07:00
David Anderson
b8b42cf3b3
[JAEGER] Merge from fatval.
2010-06-28 15:53:37 -07:00
David Anderson
da423a57a7
Fixed Linux 64-bit opt build.
2010-06-28 15:51:50 -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
99411cc93d
Bug 549143 - fatvals
2010-07-14 23:19:36 -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
David Anderson
a3709f170d
[JAEGER] Merge from fatval branch.
2010-06-24 11:18:01 -07:00
Andrew Drake
30a3cc58b6
[JAEGER] Fix build on pedantic compilers, fix win32 shell. r=dvander
2010-06-22 19:11:50 -07:00
Luke Wagner
ab09c2952d
Switch jsids back to pointer-sized and fix a bunch of broken assumptions
2010-06-16 18:21:34 -07:00
Dave Herman
484e1a2751
bug 533874, r=jimb: expose the parser as a JS API
2010-06-15 13:32:32 -07:00
Chris Leary
0094115549
Update |dis| docs in the shell. (r=me)
2010-06-30 00:18:38 -07:00
Chris Leary
908f8ec587
Back out f8c6a272f2dc. It was working on Try a few minutes ago, I swear! (r=red)
2010-06-26 18:09:07 -07:00
Chris Leary
52608d352b
Bug 559408: Turn arena pool macros into methods. (r=gal)
2010-06-26 17:55:00 -07: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
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
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
Igor Bukanov
2019c722fb
bug 571789 - merging JSObjectOps and JSExtendedClass into JSClass. r=jorendorff
2010-06-12 18:29:04 +02:00
Igor Bukanov
a69fd0a49f
bug 571789 - merging JSObjectOps and JSExtendedClass into JSClass. r=jorendorff
2010-06-12 18:29:04 +02: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
Jason Orendorff
c1a1fb9be1
Bug 563099 - Compartments and wrappers API. r=gal.
...
--HG--
extra : rebase_source : cb34d0d0fc689fc6401d67e7f719344cd8e27655
2010-06-23 16:35:10 -05:00
David Anderson
858278d975
[JAEGER] Merge from fatval branch.
2010-06-10 14:01:11 -07:00
Luke Wagner
1bb5128ab0
Merge with TraceMonkey
2010-06-09 21:59:18 -07:00
Luke Wagner
f032df96b4
Bug 565157 - typed JS_AddRoot (r=igor)
2010-06-07 17:05:02 -07:00