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
David Anderson
abffff4766
[JAEGER] Merge from fatval.
2010-06-05 03:35:52 -07:00
David Anderson
24b06aa25a
Unbroke opt build.
2010-06-05 03:34:53 -07:00
David Anderson
8caee42f61
[JAEGER] Merge from fatval branch.
2010-06-04 22:21:00 -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
David Anderson
87d142550e
[JAEGER] Merge from fatval branch.
2010-06-04 22:11: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
David Anderson
8e4fe7b3e9
[JAEGER] Merge from fatval branch.
2010-06-03 23:04:57 -07:00
Luke Wagner
8f6c06b148
Remove jsboxedword, change jsid to be a jsval
2010-06-02 19:09:04 -07:00
Dave Herman
53bc78a8cf
Bug 630735 - NodeVector is not GC-safe (r=jorendorff)
2011-02-02 21:11:55 -08:00
Steve Fink
61565d4634
Bug 626743 - Set debug mode for all compartments in main thread (r=dmandelin, a=blocker)
...
--HG--
extra : rebase_source : ee656687d36620cad69d415baa9a71748154b563
2011-01-20 22:10:54 -08:00
Igor Bukanov
0a56a6876b
bug 619120 - patch from Wesley W. Garland to add run function to js shell + tiny fixes. r=jorendorff
2011-02-01 15:40:59 +01:00
async.processingjs@yahoo.com
648a3d0799
Bug 620869 - Unexpected failure in JavaScript shell if snarf() is used (r=jorendorff)
2010-12-21 21:03:00 -08:00
Chris Leary
074bd0c596
Bug 595691, take 2: fix versioning across VM instances, remove _options. (r=luke,brendan,igor)
2011-01-27 02:54:58 -08:00
Chris Leary
1771b7c232
Backed out changeset b88172246b66 due to Win32 debug failures.
2011-01-25 04:11:47 -08:00
Chris Leary
b462e1fb98
Bug 595691: fix versioning across VM instances, remove _options. (r=luke,brendan,igor)
2011-01-25 02:33:27 -08:00
Steve Fink
937c639424
Backed out changeset 47678330818a
2011-01-24 15:11:34 -08:00
Steve Fink
431720e0ac
Bug 626743 - Set debug mode for whole runtime, avoiding compartment-less contexts, r=dmandelin
...
--HG--
extra : rebase_source : 198e9c85fd8126ef0ec24eb390641ece2f2cd61e
2011-01-19 15:33:34 -08:00
Jeff Walden
40e165aec3
Bug 577325 - Implement function definition per ES5 plus errata (still with support for our extensions, of course). r=igor
...
--HG--
extra : rebase_source : d058ad2eefc16d4c7b35e74fd6b10e18bedc0ab0
2010-11-01 17:04:19 -07:00
Cameron Kaiser
f00ce6228a
Bug 623277 - Failed to build with --disable-methodjit r=dmandelin, a=NPOTB
2011-01-08 22:42:00 -08:00
Andreas Gal
6278051362
Make Shark work with 64-bit MacOSX builds and rename to start/stopProfiling() (bug 625962, r=sayrer).
2011-01-14 17:58:40 -08:00
Jason Orendorff
6acc6ad7bd
Bug 615859 - Deserialize with null argument crashes/asserts (shell-only). r=Waldo.
2011-01-10 17:46:20 -06:00
David Mandelin
8c3cb2bd6d
Bug 619004: fix JS shell split object mark function, r=jorendorff
2011-01-10 12:14:34 -08:00
David Anderson
9e176a411b
Abort recording on some more global operations (bug 597940, r=luke).
2011-01-05 19:53:08 -08:00
Mike Shaver
bb3528195e
Bug 623915: about:memory reporter for string char data, r=lw
2011-01-07 03:03:34 -08:00
Chris Leary
e2855fd450
Merge tracemonkey and mozilla-central.
2011-01-07 00:17:35 -08:00
Ben Turner
c926abf576
Bug 618484 - 'Allow ChromeWorkers access to XPCOM objects'. r=jst+jorendorff, a=blocking.
2011-01-06 22:21:30 -08:00
Mike Shaver
2efe7ec019
Bug 623281: about:memory reporting for method JIT space usage, r=dvander
...
--HG--
extra : rebase_source : 39276fb0279b528f5e17122a980e243ff92fde27
2011-01-04 22:48:46 -08:00
David Anderson
7d65052ce5
Backed out changeset 48a2416b7f41
2011-01-05 22:11:18 -08:00
David Anderson
283aa94f2a
Abort recording on some more global operations (bug 597940, r=luke).
2011-01-05 19:53:08 -08:00
Jeff Walden
f7bec8a9e8
Bug 614493 - Move top-level binding storage (and argument, variable, and upvar counts) out of JSFunction and into js::Bindings, itself stored in JSScript, anticipating the time when strict mode eval scripts will need it. r=brendan
2010-11-16 15:34:24 -08:00
Jeff Walden
59814e4551
Bug 620315 - "Assertion failure: unexpected constantly false guard detected" with "use strict", 4 > this. Fix a problem where we weren't marking functions created by |new Function| as accepting a primitive this value when their body was strict mode, by removing the duplicative bit that was being checked. r=dmandelin
2010-12-22 18:05:07 -05: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
David Anderson
dff194f865
[JAEGER] Merge from fatval.
2010-05-30 20:07:48 -07:00
Chris Leary
c55687cccc
Back out changeset fecc8ed9e813.
2010-06-16 01:17:34 -07:00
Dave Herman
ddf90cda8e
bug 533874, r=cdleary: expose the parser as a JS API
2010-06-15 13:32:32 -07:00
David Mandelin
d9d407e9e0
Fix build for js shell
2010-05-26 15:35:52 -07:00
Robert Sayre
d9e86770e3
Merge mozilla-central to tracemonkey.
2010-06-05 19:13:45 -04:00
Andreas Gal
70617110b8
Add an API for compartments (570040, r=jorendorff).
2010-06-04 16:32:10 -07:00
Phil Ringnalda
66b90212b5
Back out faba5ec16e4f (bug 617921) for failing to build on Windows
2010-12-24 18:01:15 -08:00
timeless@mozdev.org
854793c826
Bug 617921 Snarf should pass a positive value to fread, r=jorendorff
2010-12-09 12:42:00 -08:00
David Mandelin
2e409f25f8
Fix MSVC warnings
2010-12-21 12:58:02 -08:00
Andreas Gal
7c92be3535
Rename JSNoopProxyHandler to JSWrapper and move it into jswrapper.[h|cpp] (568731, r=cdleary).
2010-06-03 15:27:29 -07:00
Andreas Gal
c7677875dc
Rip out proto cache and store prototypes in the global object (569537, r=jorendorff).
2010-06-02 20:30:45 -07:00
Andreas Gal
567a99fb7e
Must resolve standard classes even when assigning (568826, r=jorendorff).
2010-05-29 18:59:50 -07:00
David Anderson
9f1aa534da
Import method JIT 'outer' framework.
2010-05-22 17:09:52 -07:00
Luke Wagner
b50352b41c
Tighten checking with JSID, fix bug
2010-05-21 14:11:15 -07:00
Luke Wagner
d21e5529df
Up js shell gc limit so that splay fits
2010-05-21 11:34:05 -07:00
Jason Orendorff
721947de5b
Bug 566549 - Crash [@ js_AllocSlot] or "Assertion failure: obj->map->ops->defineProperty == js_DefineProperty" with evalcx. r=brendan.
2010-05-19 13:23:53 -05:00
Igor Bukanov
442b99542f
bug 237006 - automatic detection of the native thread stack base. The patch is based on the initial patches for bug 516832 by gal and gregor. r=gregor
2010-05-19 10:29:05 +02:00
Andreas Gal
efd9bd790e
Implement ES Harmony Proxies (bug 546590, r=mrbkap).
2010-05-18 19:21:43 -07:00
Jeff Walden
0bd2ff1b53
Null-check the parent before attempting to outerize. rs=brendan
2010-05-18 14:13:22 -07:00
Luke Wagner
d1c3253e19
It compiles and links. Time to make it run
2010-05-17 21:21:44 -07:00
Luke Wagner
b3c6d771b1
Fixing shell/js
2010-05-17 18:49:58 -07:00
Paul Biggar
f7477c2d88
Bug 640085 - Fix segfault in shark builds (r=gal)
2011-03-09 15:52:21 -08:00
Jason Orendorff
8366fbaf5b
Fix GCC warning about space character in printf format. No bug, rs=sfink.
2011-03-03 14:14:26 -06:00
Steve Fink
f6ff2e9813
Bug 612368 - add headers, line numbers to source note dump (r=dmandelin)
...
--HG--
extra : rebase_source : 11e88670e6f207875be76e54d8eb5ac802d88c92
2010-11-15 12:35:03 -08:00
Igor Bukanov
b9b1577eec
bug 630209 - (Compile|Execute)Script that are GC-safe. r=jorendorff
2011-02-03 14:06:21 +01:00
Luke Wagner
fb7ceb4c78
Bug 547851 - remove JSStackFrame::regs, JSStackFrame::callerFrame.sp (r=dvander)
2010-03-03 18:10:13 -08:00
Luke Wagner
24a4486456
(fake) remove-regs patch
2010-03-03 18:10:13 -08:00
Luke Wagner
9b49d62378
Bug 540706 - use contiguous buffer for stack frames and slots (r=waldo)
2010-03-03 17:52:26 -08:00
Luke Wagner
6a6afd60ce
Backed out changeset 23efaeb8652b
2010-05-13 02:21:27 -07:00
Luke Wagner
0e23d73f7a
(fake) contiguous patch
2010-03-03 17:52:26 -08:00
Andreas Gal
2004c301c3
fast object iteration (558754, r=brendan, CLOSED TREE).
2010-05-07 17:52:52 -07:00
David Mandelin
ab14aefcb3
Bug 563842: Make PRMJ_Now always high-resolution in Windows shell builds, r=brendan
2010-05-04 18:06:30 -07:00
Jeff Walden
be6a021e8a
Slightly better single-thread fix to parent() in jsshell. r=foopy
2010-05-04 19:50:53 -07:00
Chris Leary
b3500c2d9e
Fix shell build break on non-threadsafe. (r=me)
2010-05-04 19:34:21 -07:00
Jeff Walden
2a594e3393
Fix bustage from not renaming a variable appropriately in a copy-paste. r=red
2010-05-04 18:27:50 -07:00
Jeff Walden
3fa134bbc4
Outerize the results of nsIDOMWindowUtils.getParent and the jsshell's parent() methods. r=orange
...
--HG--
extra : rebase_source : 848ad247e5094b6eb8edce6198bfb1d368c31bc3
2010-05-04 18:02:00 -07:00
Jeff Walden
00f6066393
Bug 552560 - Remove support for __parent__. r=mrbkap
2010-04-11 13:51:00 -07:00
Luke Wagner
501ef0e6be
Bug 563167 - propagate error out of Parse (r=cdleary)
2010-05-02 10:24:17 -07:00
Luke Wagner
d0cd28412f
Bug 562991 - Change JS_SetTrap closure argument type from void* to jsval (r=brendan)
2010-04-30 17:34:54 -07:00
David Mandelin
bd01579c00
No bug, fixing a new MSVC warnings, no_r=me
2010-04-29 16:31:45 -07:00
Chris Leary
3c67b0e19f
Bug 558846 - Update parsemark to use js::Parser directly. r=jorendorff.
2010-04-15 10:53:27 -05:00
Luke Wagner
98a7dc9ea6
Bug 540706 - use contiguous buffer for stack frames and slots (r=waldo)
2010-03-03 17:52:26 -08:00
Jason Orendorff
bdb491ed34
Backed out changeset 8cb8888c68d3 due to failing mochitests.
2010-05-12 09:34:03 -05:00
Jason Orendorff
2b3384521c
Bug 513065 - Part 3, compute scope in the engine before calling the thisObject hook. r=mrbkap.
2010-05-12 08:15:49 -05:00
Robert Sayre
a354ba1cfc
Backed out changeset 919950c7f0f0
2010-05-11 11:52:17 -04:00
Chris Leary
299dd52ca1
Bug 559408: Arena pool macros to methods. (r=gal)
2010-05-10 21:46:52 -07:00
Luke Wagner
777b935aea
Bug 558144 - un-macroize OBJ_SCOPE, OBJ_SHAPE, LOCKED_OBJ_SET_SLOT, LOCKED_OBJ_GET_SLOT (r=Waldo)
2010-04-08 11:22:04 -07:00
Luke Wagner
b9f8c249e6
Bug 552574 - de-mystify js_ValueToNumber API (r=igor)
2010-04-07 13:18:50 -07:00
Jason Orendorff
ed90af06f2
Fix Windows build failures (and a warning) due to rev 2d43edce33a2. No review.
2010-04-06 10:22:28 -05:00
Jason Orendorff
7ef276f207
Bug 545962 - Workers for the js shell. r=igor.
2010-04-06 08:15:15 -05:00
Dan Witte
a0f7102bf7
Bug 538324 - Move ctypes into js/src. Part 9: Add ctypes to jsshell. r=gal
2010-04-02 13:34:19 -07:00
Nicholas Nethercote
795d4b8ad2
Bug 556353 - Remove OBJ_IS_NATIVE, HAS_FUNCTION_CLASS. r=brendan.
2010-03-31 22:13:51 -07:00
Robert Sayre
baeb2d1edf
Merge mozilla-central to tracemonkey.
2010-03-30 21:13:01 -07:00
Blake Kaplan
95202e3175
Bug 542858 - Don't pretend that the complex global object is a function. r=jorendorff
2010-03-22 16:43:08 -07:00
Igor Bukanov
6231f35ccd
bug 551680 - replacing JS_(Suspend|Resume)Request with JSAutoSuspendRequest. r=mrbkap
2010-03-17 10:29:37 +03:00
Luke Wagner
81068bf894
Add argv bounds check in js shell's EvalInFrame (no bug, r=me)
2010-03-16 09:45:07 -07:00
Nicholas Nethercote
af2a645261
Fix GCC warning. Follow-up to bug 552248. r=me.
2010-03-16 15:06:04 +11:00
Luke Wagner
116a193009
Bug 552248 - fix crash when JS_EvaluateInStackFrame is called for frame in saved callstack (r=Waldo)
2010-03-15 19:24:08 -07:00
Chris Leary
431c00210e
Bug 549658: clean up JS scanner and inline more things, r=brendan,jimb
2010-03-15 16:42:06 -07:00
Nicholas Nethercote
93befc3c5e
Bug 551879 - TM: remove shell/js.cpp and editline.c warnings. r=gal.
2010-03-12 17:33:54 +11:00
Chris Leary
82a9895df9
Bug 549971 - Add compile() function to JS shell. r=jorendorff.
2010-03-05 16:42:06 -06:00
Brendan Eich
9c8234d49b
Bug 549617 - JS_EvaluateUCInStackFrame doesn't see variables in flat closure (r=mrbkap).
2010-03-02 17:30:54 -08:00
Ginn Chen
e152a98890
Bug 543709 trace-test/tests/basic/bug529130.js failed with debug version on Solaris r=jimb
2010-03-29 17:27:51 +08:00
Blake Kaplan
bd22a432d9
Bug 542864 - Convert the right variable to an id. r=jorendorff
2010-02-26 17:06:23 -08:00
Luke Wagner
87a5e61db3
Bug 546491 - fix tracevis (r=jorendorff)
2010-02-16 13:41:40 -08:00
Jason Orendorff
095bd890ef
Bug 539829 - Encapsulate JSScope::flags. r=Waldo.
...
--HG--
extra : rebase_source : ced4f057e715075d8e4eff343e824d8934152a7e
2010-02-05 18:11:13 -06:00
Jason Orendorff
ec026e759a
In the JS shell, evalcx() sandboxes should have JSCLASS_GLOBAL_FLAGS. This permits the JIT to run. No bug, r=mrbkap on IRC.
...
--HG--
extra : rebase_source : 87b5b6ee78edf9b5034d9fa079e7976ba3660c98
2010-02-05 17:10:41 -06:00
Robert Sayre
c7ce498f03
Merge mozilla-central to tracemonkey.
2010-01-29 09:51:21 -08:00