Jason Orendorff
b4b193de22
Bug 613068 - Add version argument to JS_ReadStructuredClone. r=bent.
2010-11-24 14:14:02 -06:00
David Mandelin
36d91c0a4f
Fix MSVC warnings in js.cpp
2010-11-23 14:41:35 -08: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
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
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
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
Jason Orendorff
596862d852
Remove JSObject::title. Bug 606029, r=igor.
2010-10-22 19:04:22 -05: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
Jason Orendorff
2885319d0b
Bug 580128 - Some more compartment fixes. r=gal
2010-10-10 15:35:46 -07: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
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
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