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
Luke Wagner
b4626a511d
Bug 581574 - Remove JSVAL_IS_UNDERLYING_TYPE_OF_PRIVATE (r=mrbkap)
2010-07-23 17:20:12 -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
Blake Kaplan
de74d9d8f4
Bug 563106 - Tie XPConnect to compartments. r=jorendorff/gal/jst
2010-07-19 13:36:49 -07:00
Alan Pierce
52ba5c3616
Bug 571579 - Implement ropes (r=gal)
2010-07-16 17:41:22 -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
Wes Garland
18d86f784e
Bug 574398 - New macro for JS_EnterLocalRootScope is not C
2010-06-28 17:14:31 -04: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
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
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
Gregor Wagner
80ca0e83eb
Bug 519949 - TM: remove LocalRootScopes r=igor
2010-06-23 11:37:35 -05:00
Brendan Eich
734c3a1ba9
Back out a81f2aed9c9b due to orange.
2010-06-18 17:39:22 -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
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
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
Luke Wagner
f032df96b4
Bug 565157 - typed JS_AddRoot (r=igor)
2010-06-07 17:05:02 -07:00
Jason Orendorff
5f5deee89d
Bug 556277 - Compute this eagerly in more cases. r=brendan. Second landing.
2010-06-04 00:34:57 -07: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
Jason Orendorff
2ab131a259
Bug 556277 - Compute this eagerly in more cases. r=brendan.
...
--HG--
extra : rebase_source : b295b576f019a95b55d12b86077aaef295e3eec8
2010-06-04 00:34:57 -07:00
Andreas Gal
70617110b8
Add an API for compartments (570040, r=jorendorff).
2010-06-04 16:32:10 -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
David Anderson
e1e1715771
Reserve standard class properties in global objects (bug 561923 part 1, r=brendan).
2010-05-23 17:12:08 -07:00
Jason Orendorff
40d0fb0842
Bug 513065 - Part 3, Stay on trace when calculating scope in thisObject hook. r=mrbkap.
2010-05-21 07:27:00 -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
Andreas Gal
2004c301c3
fast object iteration (558754, r=brendan, CLOSED TREE).
2010-05-07 17:52:52 -07:00
Jason Orendorff
c11e7e9863
Silence a compiler warning (in MSVC) about implicitly narrowing jsval to JSBool in JSVAL_IS_INT. Noticed by MikeM. No bug#, rs=Waldo via IRC.
...
--HG--
extra : rebase_source : 8060def41cdbed1c7b80b01da58b00e1967fb3fe
2010-04-28 16:12:15 -05:00
timeless@mozdev.org
ca917d7197
Bug 560815 - PRIVATE_TO_JSVAL(NULL) yields warning: NULL used in arithmetic with gcc 4.2.1. r=jorendorff.
...
--HG--
extra : rebase_source : bbbf5e801b7ae5bc0c7c30864e487a03ddcf72fc
2010-04-23 20:17:36 -05:00
Jason Orendorff
f0cedb7287
Bug 527805 - Placeholder comment as requested in review. r=brendan, see comment 6 of the bug.
2010-04-16 15:38:57 -05:00
Jason Orendorff
4f17207cd6
Bug 527805 - Remove JSCLASS_SHARE_ALL_PROPERTIES. r=brendan.
2010-04-16 15:33:19 -05:00
Dan Witte
79b69ab8d7
Bug 538324 - Move ctypes into js/src. Part 6: Add ctypes to JSAPI. r=sayrer
2010-04-02 13:07:41 -07:00
Luke Wagner
13df6efbae
Bug 555104 - remove JS_ExecuteScriptPart (r=brendan)
2010-03-26 19:37:45 -07:00
Andreas Gal
06be8164da
Public JS API for new ES5 Object functions (551595, r=jwalden).
2010-03-24 12:36:42 -07:00
Jason Orendorff
a9e5d5980e
Bug 480850 - Add JSAPI function JS_New. r=mrbkap.
...
--HG--
extra : rebase_source : bb808cedea84d20dfa6e2b3ab6d11b5491aa9058
2010-03-17 10:22:13 -05:00
Igor Bukanov
6231f35ccd
bug 551680 - replacing JS_(Suspend|Resume)Request with JSAutoSuspendRequest. r=mrbkap
2010-03-17 10:29:37 +03:00
Robert Sayre
84b14d6f30
Merge mozilla-central to tracemonkey.
2010-03-13 11:51:12 -05:00
Andreas Gal
9d5b1c0316
Disallow embeddings reaching into our guts (part 1: jsnum.h, bug 548205, r=brendan).
2010-03-01 13:30:23 -08:00
Luke Wagner
9dabae3069
Bug 542091 - remove JS_PushArguments[VA] (r=mrbkap,dveditz)
2010-02-06 12:26:24 -08:00
Luke Wagner
4f05b945eb
Bug 458421 - dead stuff in spidermonkey (r=jorendorff)
2010-01-22 11:52:17 -08:00
Sid Stamm
47a3291b46
bug 515443 CSP no-eval support. r=mrbkap,brendan
2010-03-08 00:24:50 -08:00
Andreas Gal
2943a7a949
Bug 474500 - TM: Need an API to flush and (optionally?) deallocate the code cache per thread.
2009-12-28 09:46:50 -08:00
Benjamin Smedberg
f92278ab68
Backed out changeset 94561cb0f0bd, bug 474500 because of static-analysis bustage.
2009-12-21 09:55:45 -05:00
gal@uci.edu
d8d110c024
Bug 474500 - TM: Need an API to flush and (optionally?) deallocate the code cache per thread. r=dvander
2009-12-18 21:34:20 -05:00
Jim Blandy
76386acacd
Bug 514585: Machinery for reporting ES5 strict mode errors. r=igor
...
2009-11-19: checkReportFlags adjusted to use js_GetTopStackFrame, to
satisfy static analysis checks. No effect on Sunspider.
At compile-time, we must consult the current JSTreeContext to decide
whether to issue an strict mode error; at run-time, we need to
check the strictness of the currently executing script. Both cases
also check the context options. The design is supposed to make it
easy to follow the principle that conditions treated as errors in
strict mode are a subset of those warned about by JSOPTION_STRICT.
This patch removes report flag handling from js_ExpandErrorArguments,
which is used for both compile-time and run-time errors. At run-time,
the new checkReportFlags handles the checks. At compile-time, we need
different checks depending on the situation, so the checks are done in
js_ReportStrictModeError, js_ReportCompileErrorNumber, and the new
ReportCompileErrorNumberVA.
2009-11-19 09:23:20 -08:00
Jim Blandy
534bfe84e0
Back out ad37dab7ea17: code to check the current frame's script's strictness flag fails the static checks. Using js_GetTopStackFrame introduces a perf regression.
2009-11-18 14:36:55 -08:00