David Mandelin
3e23b61592
Refix alignment. For now, don't try to align on MSVC, because parameters cannot be aligned, which forces us to take either build errors or alignment-checking assertions if we do try to align.
2010-05-24 15:31:08 -07:00
David Mandelin
8aa596de26
Fix most MSVC warnings.
2010-05-24 13:26:38 -07:00
David Mandelin
fd80dfdf22
Build fixes for MSVC. It should now build on Windows, albeit with warnings.
2010-05-24 12:55:11 -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
David Anderson
9f1aa534da
Import method JIT 'outer' framework.
2010-05-22 17:09:52 -07:00
David Anderson
ee93bf7232
Initialize classes in reserved slots (bug 561923, r=brendan).
2010-05-22 14:46:18 -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
mozilla@buildmonkey-left.mv.mozilla.com
88fadd2d53
Fix some things so this builds on 64-bit and OS X
2010-05-19 09:55:27 -07:00
Luke Wagner
aac51d75b6
Turns out implicit conversion from JSString to Value is also dangerous (NULL).
2010-05-18 19:05:30 -07:00
Luke Wagner
3d3937c581
Quiet warnings, fix strict-aliasing bug
2010-05-18 18:29:26 -07:00
Luke Wagner
d3a3926b34
Fix bugs
2010-05-18 17:25:12 -07: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
Luke Wagner
19c9bbad15
Turns out function objects can be on parent chains
2010-05-18 14:23:23 -07:00
Luke Wagner
e374a37e1c
Remove explicit copy, ObjPtr
2010-05-17 22:15:51 -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
Luke Wagner
98a19c517d
finish jsxml
2010-05-17 16:52:38 -07:00
Luke Wagner
9b7f2175aa
up to jsxml now
2010-05-14 19:57:00 -07:00
Luke Wagner
0a7c4f2ffb
convert up to jsstr
2010-05-13 14:49:26 -07:00
Luke Wagner
db5b99989b
convert jsnum, touch up jsobj
2010-05-13 02:03:08 -07:00
Luke Wagner
36fb0452a3
fix jsiter, convert jsmath
2010-05-12 22:58:11 -07:00
Luke Wagner
588e08228c
jsiter
2010-05-12 19:05:43 -07:00
Luke Wagner
4e6c52c52b
New Tag scheme, no SetObject silliness
2010-05-12 16:36:10 -07:00
Luke Wagner
bd3571c1b5
Still recovering from rebase
2010-05-11 19:00:59 -07:00
Luke Wagner
6c0883c94f
Merge from tracemonkey
2010-05-11 00:41:08 -07:00
Luke Wagner
4e71f5312b
(unrebased) fat value patch
2010-05-10 22:01:31 -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
Mounir Lamouri
335de1dc4f
Bug 345512 - Implement pattern attribute for input elements. f=ajvincent r=sicking,jorendorff sr=smaug a2.0=blocking
2010-08-18 21:26:22 +02: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
Jim Blandy
bd0b14cc7e
Bug 514585: Machinery for reporting ES5 strict mode errors. r=igor
...
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-18 13:33:53 -08:00
Jason Orendorff
54ae492912
Bug 498134 - ABI depends on #define DEBUG. r=Waldo.
...
--HG--
extra : rebase_source : 7add900da11663e2f98c1f8e0ef70387301ad115
2009-10-29 06:39:18 -05:00
Robert Sayre
e08b99cf18
bustage fix
2009-10-29 11:48:18 -07:00
Jason Orendorff
8e3f26b19f
Bug 518463 - Alternative APIs to JS_GetStringBytes/Chars with saner out-of-memory handling. Any code using the old APIs that attempts to handle OOM at all should switch to these. r=brendan.
2009-10-02 12:42:02 -05:00
L. David Baron
7e046dd800
Add assertions that fire when a JSAutoRequest, JSAutoSuspendRequest, JSAutoLocalRootScope, JSAutoTempValueRooter, JSAutoTempIdRooter, JSAutoIdArray, JSAutoEnumStateRooter, or JSAutoResolveFlags is used as a temporary. (Bug 518633) r=igor
2009-09-27 23:17:47 -07:00
Jeff Walden
9d39c0d549
Bug 515285 - Implement JS_SameValue, and make assertEq use it rather than JS_StrictlyEqual. r=jorendorff
2009-09-09 11:51:52 -07:00
David Anderson
a17ec3c834
Follow-up nits (spacing, comment typo) to bug 513844.
2009-09-10 17:24:28 -07:00
David Anderson
fdcaf63219
Greatly improved tracer x64 compliance and compatibility (bug 513844, r=gal).
2009-09-10 15:38:18 -07:00
Andreas Gal
030a8114b2
Backed out changeset 9b6b17a275ec (bug 506125).
2009-08-25 14:42:42 -07:00
Andreas Gal
f808b9ca98
Memory-pressure based GC scheduler (506125, r=igor,jwalden).
2009-08-24 18:24:52 -07:00
Andreas Gal
c438241025
Backout bug 506125.
2009-08-18 17:30:05 -07:00
Andreas Gal
57285268f7
Schedule GC based on process memory pressure (506125, r=igor,waldo).
2009-08-18 16:38:02 -07:00
Andreas Gal
ebc6f01967
Add an API to notify the JS engine that we are about to destroy the runtime (511252, r=brendan).
2009-08-18 16:31:20 -07:00
Jason Orendorff
8384b1e239
Bug 509098 - Remove JS_HAS_LVALUE_RETURN support. r=brendan.
2009-08-13 16:18:33 -05:00
Luke Wagner
fa2f83712c
Bug 507458 - clear the waters a bit regarding JSVAL_BOOLEAN
2009-08-12 16:39:23 -07:00
Jason Orendorff
08c6a1c780
Bug 506721 - Convert JSVAL_TO_INT and INT_TO_JSVAL to functions. r=Waldo.
2009-08-09 07:25:53 -05:00
Andreas Gal
9c938dd547
Backout bug 506125 due to talos failures.
2009-08-04 18:42:53 -07:00
Andreas Gal
06ad033ff2
Memory-pressure based GC scheduler (506125, r=igor).
2009-08-04 14:58:21 -07:00
David Mandelin
cfb0d1fd1b
Bug 506821: clean up trailing whitespace, r=brendan
2009-07-27 18:40:12 -07:00
Boris Zbarsky
887c21b643
Bug 496908. Make JSVAL_IS_* functions, not macros. r=brendan,jwalden
2009-07-27 16:14:12 -04:00
David Mandelin
fd4086beac
Bug 502058: blacklist regexps for native compilation more efficiently and reliably, r=gal
2009-07-06 13:21:32 -07:00
Jason Orendorff
5504115d71
Bug 491646 - Expose js_StrictlyEqual() to consumers. r=mrbkap.
...
--HG--
extra : rebase_source : 620a67bca11c2e04692d3f72df8739028d0dbd21
2009-05-15 14:51:02 -05:00
Robert Sayre
8b3982769a
Bug 442059 - [native JSON] allow to blacklist keys by name when encoding to JSON. r=brendan
2009-05-07 13:28:21 -07:00
Andreas Gal
a51f22dbdf
Need an API exposed to control code cache size (474497, r=bent,brendan, sr=mrbkap).
2009-04-22 16:52:59 -07:00
Brendan Eich
962b187fe5
upvar2, aka the big one take 2 (452598, r=mrbkap).
2009-04-05 21:17:22 -07:00
Andreas Gal
706120c0fb
Backed out changeset 972c44aa9d1f (bug 452598).
2009-04-04 10:14:52 -07:00
Brendan Eich
5f4d9ff474
upvar2, aka the big one (452598, r=mrbkap).
2009-04-04 10:05:49 +01:00
Jason Orendorff
22f1bdf5d6
Bug 483473 - Make JSObjectOps private. r=brendan.
...
--HG--
extra : rebase_source : 3240cb1f5c047dc92f8d1b525963bcb27e0a3521
2009-03-31 09:02:20 -05:00
Robert Sayre
53e582b692
Merge tracemonkey to mozilla-central. a=blockers
2010-09-14 18:18:32 -07:00
Dan Witte
fbc0be1b6e
Bug 589413 - Failure to open libnss3.so when Firefox path contains UTF-8 characters. Part 1: ctypes implementation. r=Waldo, a=final+
2010-09-13 10:54:02 -07:00
Andreas Gal
43feef625d
Support calling arbitrary JSFastNatives from trace (463238, r=brendan).
2009-03-20 18:52:11 -07:00
Igor Bukanov
20e6be9c80
bug 362910 - js_GetMethod cleanup. r=brendan
2009-03-14 17:41:47 +01:00
Jason Orendorff
dbb0b6a149
Bug 481218 - js_IsCallable returns false for functions. r=brendan.
...
--HG--
extra : rebase_source : 52d3cba36f3fa1301223cb579bd75ec7bbd5d130
2009-03-11 10:46:45 -05:00
Blake Kaplan
1703c72fbc
Bug 482381 followup -- use a better name for the "value" field. r=brendan
...
--HG--
extra : rebase_source : b819d281fdeaab16d562d9ded6841da5f5ea3cd3
2009-03-10 16:00:27 -07:00
Blake Kaplan
df0c6f4108
Bug 482381 - Add JS_GetPropertyDescriptorById to quickly get all information about a given property, possibly off of the prototype chain. r=brendan/jorendorff
...
--HG--
extra : rebase_source : 2384be436993600204d457861231a3b180bc5147
2009-03-10 15:21:25 -07:00
Igor Bukanov
4ccdead266
bug 480700 - no more static asserts in headers. r=brendan
2009-03-05 12:12:50 +01:00
Brendan Eich
53c9096f08
Bug 480759 - TM: trace RegExp constructors (r=gal).
2009-03-04 19:26:16 -08:00
Brendan Eich
f32c3d8613
Bug 480657 - TM: Add an API to define traceable constructors (r=gal, jorendorff).
2009-03-03 22:53:27 -08:00
Robert Sayre
100a8e68be
Bug 476374 - JSON.parse does not support reviver argument as defined in spec. r=jorendorff
2009-03-03 12:55:11 -05:00
Igor Bukanov
fe9a728583
bug 479252 - avoiding watchdog ticks when idle in jsshell. r=gal
2009-02-20 13:47:46 +01:00
Jeff Walden
1fd43d31f4
Followup nitfixes to bug 463243 not noted in final reviews. Egads, how'd I miss some of these?
2009-02-17 10:27:24 -08:00
Andreas Gal
f796bcd60a
Substitute operation counting with a watchdog thread (477187, 2nd attempt, r=brendan/mrbkap/jst, sr=brendan/jst).
2009-02-10 03:45:36 -08:00
Andreas Gal
2a20c2a6de
Backing out bug 477187. Breaks xpcshell.
2009-02-09 22:54:05 -08:00
Andreas Gal
cbfbbd3cac
Substitute operation counting with a watchdog thread (477187, r=brendan/mrbkap/jst, sr=brendan/jst).
2009-02-09 18:20:50 -08:00
Jeff Walden
3c038a63cb
Bug 463243 - Assert correct type in JSVAL_TO_* (and vice versa) macros to fail fast when type errors happen. r=brendan
2009-02-03 13:56:25 -08:00
Brendan Eich
3fcd3cab28
Bug 454184 - Implement eval caching (r=mrbkap).
2009-01-27 19:56:55 -08:00
Andrei Saprykin
7b91b30052
bug 474801 - Checking for MaybeGC conditions when allocating GC things in JS shell. r=igor
2009-01-27 18:21:51 +01:00
Blake Kaplan
2ddd004009
Bug 462428 - Make __lookup[GS]etter__ work on quickstubbed properties by faking it for XPConnect prototype objects only. r=jorendorff sr=brendan
2009-01-23 15:44:01 -08:00
Igor Bukanov
c032867e33
bug 472702 - using watchdog thread in js shell to trigger operation callback
2009-01-14 18:23:51 +01:00
Andreas Gal
135f143d10
Backed out changeset adbe8e4b21dc due to tinderbox failures/timeouts (453157).
2009-01-05 16:22:42 -08:00
Andrei Saprykin
9f7c96f36f
bug 453157 - watchdog thread as an alternative to operation count. r=myself,mrbkap
2009-01-05 22:09:23 +01:00
David Mandelin
4202e18d74
Bug 463997: JS regression test bug with 'with (window) ...', r=mrbkap
2009-01-02 13:11:46 -08:00
Igor Bukanov
81c3a2b632
Backed out changeset 2d5e6b1c7254 - busted the WINNT 5.1 talos tracemonkey.
2008-12-23 19:24:09 +01:00
Andrei Saprykin
11dac3f234
bug 453157 - watchdog thread as an alternative to operation count. r=igor,mrbkap
2008-12-23 16:12:11 +01:00
Igor Bukanov
136838d60b
Backed out changeset 7184e014cd05 - the patch for bug 453157 bursted tgfx test on Windows.
2008-12-21 21:49:06 +01:00
Andrei Saprykin
c68c632137
bug 453157 - watchdog thread as an alternative to operation count
2008-12-21 17:16:09 +01:00
Igor Bukanov
6df56327b7
bug 458099 - DOMOperationCallback can get a JSContext with no global object. r=peterv sr=mrbkap
2008-12-14 22:40:10 -08:00
David Mandelin
0952a00f72
Bug 463535: compile regexps to native lazily, r=gal
2008-11-21 17:54:53 -08:00
Robert Sayre
03d49a666b
Merge mozilla-central to tracemonkey.
2008-11-04 02:05:05 -05:00
Blake Kaplan
dab238daea
Bug 462910 - Add a JS_ValueToSource API. r=brendan
2008-11-03 14:28:36 -08:00
Jim Blandy
216f4ef465
Bug 97954: Record configuration details in an installable header. r=bsmedberg
...
Have js/src/configure create a header file, js-config.h, that records
configure-controlled options that affect the SpiderMonkey API, like
'--enable-threadsafe'. js-config.h is namespace-clean, so it can be
installed with jsapi.h.
This means that clients can configure SpiderMonkey however they like,
and then simply #include "jsapi.h" and have everything work; they
don't have to remember to match their own compiler -D flags with those
SpiderMonkey's configure script chose. For example, mozilla-config.h
needn't concern itself with JS_THREADSAFE.
It seems to me this could also be done by having js-config --cflags
print -D options. The approach taken here seems a bit more robust: if
you can find jsapi.h at all, then you know you're getting the right
settings.
2008-10-29 08:29:37 -07:00
Aristid Breitkreuz
661d3c51b2
Bug 461163 - No public API for OBJ_GET_PROPERTY or the JavaScript [] operator (and similar functions). r=brendan.
2008-10-24 12:09:09 -05:00
Blake Kaplan
54cdbe81ec
Merge mozilla-central -> tracemonkey
2008-10-13 11:05:05 -07:00
Jason Orendorff
a27d101dab
Bug 458735 - Improve internal API for traceable natives (r=brendan, nanojit r=edwsmith)
2008-10-08 17:08:33 -05:00
Robert Sayre
9f7138d61c
Bug 459065. JSON space patrol. r=gal
2008-10-08 13:31:07 -04:00
Robert Sayre
690f7346b8
Bug 408838. Native JSON. r/sr=shaver
2008-10-06 16:54:12 -04:00
Robert Sayre
c59514f66e
Bug 408838 - DOM binding for native JSON. r+sr=shaver
2008-10-01 02:13:58 -04:00
Reed Loden
a4f6f0e831
Back out Robert Sayre's patch from bug 408838 due to test failures (changeset 2fe3cb0c9f7c).
2008-10-01 03:22:30 -05:00
Jason Orendorff
c35bfc3682
Bug 389034 - JS_SetProperty() ends up resolving w/o JSRESOLVE_ASSIGNING (r=brendan, sr=bzbarsky)
2008-09-25 11:13:31 -05:00
Ben Turner
c6eb5d4c06
Properly initialized mSaveDepth in JSAutoSuspendRequest, r=sayrer.
2008-09-08 15:09:41 -07:00
Arpad Borsos
9b6f558fee
Bug 398946 - Remove JS_STATIC_DLL_CALLBACK and JS_DLL_CALLBACK from the tree; r=(benjamin + bent.mozilla)
2008-09-07 00:21:43 +02:00
Ben Turner
1e5c70827f
Bug 451729 - " Allow runtime's security callbacks to be overridden by a context". r=brendan.
2008-09-05 16:24:53 -07:00
Brendan Eich
eaf4254c15
Merge from mozilla-central.
2008-08-08 18:58:04 -07:00
Igor Bukanov
b16852c1cd
bug 412296 - removal of minarg support for fast native
2008-08-08 18:02:50 +02:00
Graydon Hoare
aaf41f8ee5
Bug 447713, remove the import/export functionality from spidermonkey, r=brendan
2008-08-06 17:34:58 -07:00
Brendan Eich
a8c6046d8c
Avoid JSOP_POPV in global scripts from load(), etc.
2008-07-26 01:23:12 +02:00
shaver@mozilla.org
8a97552a28
merge (mostly, doesn't build)
2008-07-22 23:58:43 -04:00
Ben Turner
b9aab16257
Bug 443870 - Add JSAutoSuspendRequest to match JSAutoRequest
...
r=brendan
2008-07-17 12:37:32 -04:00
Mike Hommey
35ed02d3ae
Bug 398810 - "Remove MOZILLA_1_8_BRANCH ifdefs from core on trunk" [r=sicking r=brendan r=bsmedberg]
2008-07-12 17:26:52 -05:00
Andreas Gal
ea9279b6d0
Sync with mozilla-central.
2008-07-03 21:45:09 -07:00
Andreas Gal
0c5757a21f
Add a new option -j to enable the JIT. The default is off so we can easily benchmark the overhead without the tracer.
2008-06-27 00:22:53 -08:00
Brendan Eich
2f95757906
Igor's fix for bug 432881, r=me.
2008-05-23 19:14:05 -07:00
Igor Bukanov
f1d02b2322
[Bug 442242] SM: fixing INT_FITS_IN_JSVAL on 64 bit platforms
2008-06-30 18:36:59 +02:00
Igor Bukanov
d24b2f9846
[Bug 432881] SM: JSVAL_VOID as a pseudo-boolean. r=brendan
2008-06-25 11:43:02 +02:00
Jason Orendorff
0a6388d819
Backed out changeset 79c0748ff2ac.
...
Assertion failure: !JSDOUBLE_IS_INT(d, i) || !INT_FITS_IN_JSVAL(i), at /builds/moz2_slave/mozilla-central-macosx-debug/build/js/src/jsapi.cpp:1839
2008-06-24 15:55:15 -05:00
Jason Orendorff
4f34d4b1bb
Bug 435288 - Deprecate JS_NewDouble and JS_NewDoubleValue, add correctness assertions (r=brendan)
2008-06-24 14:42:42 -05:00
jwalden@mit.edu
04e96f253b
Bug 416636 - Remove JSCLASS_FIXED_BINDING; the code that was to use it was removed, and it just clutters the API. r=brendan, a=schrep
2008-03-18 19:47:40 -07:00
igor@mir2.org
bf88fe6798
bug=422348 r,a1.9=shaver proper overflow error reporting
2008-03-12 16:07:47 -07:00
brendan@mozilla.org
4f4cb9e28b
Unregress perf in wake of 418069 (420426, r=mrbkap, a=mconnor).
2008-03-01 14:15:21 -08:00
reed@reedloden.com
9f08bac7ce
Bug 412985 - "Provide stubs for JS_THREADSAFE APIs in non-JS_THREADSAFE builds" [p=jorendorff@mozilla.com (Jason Orendorff) r+a1.9=brendan]
2008-02-20 03:22:06 -08:00
brendan@mozilla.org
080383a8f8
Lazy ComputeGlobalThis required now in fast native implementations (417893, r=mrbkap).
2008-02-17 16:12:33 -08:00
brendan@mozilla.org
dfd7f0a7b4
Optimize wrapper creation via JS_NewObjectWithGivenProto, and avoid cycle-check overhead in JS_Set{Prototype,Parent} (408871, r=mrbkap).
2008-02-13 21:10:42 -08:00
brendan@mozilla.org
23c36b84f4
Return of the property cache (365851, r=shaver).
2008-02-07 15:18:45 -08:00
reed@reedloden.com
ffc995d036
Bug 412985 - "Provide stubs for JS_THREADSAFE APIs in non-JS_THREADSAFE builds" [p=jorendorff@mozilla.com (Jason Orendorff) r+a1.9=brendan]
2008-02-06 13:33:44 -08:00
crowder@fiverocks.com
52337e9048
Bug 408113: allocate stackPools less often, r=brendan, a=blocking1.9 (schrep)
2008-01-29 18:11:30 -08:00
igor@mir2.org
7bc03fee82
Bug 409109: using the new operation counting JS API for monitoring long-running scripts. r=brendan,jst
2008-01-10 07:39:02 -08:00
igor@mir2.org
1a974d67e5
Bug 409109: backing the checking as the tree was closed.
2008-01-09 07:31:13 -08:00
igor@mir2.org
f8145c5e61
Bug 409109: using the new operation counting JS API for monitoring long-running scripts. r=brendan,jst
2008-01-09 07:20:39 -08:00
igor@mir2.org
7cb5b01011
Bug 409109: Backing out once again to figure out the reason for talos regressions.
2008-01-05 17:20:16 -08:00
igor@mir2.org
9bb5aae331
Bug 409109: using the new operation counting JS API for monitoring long-running scripts. a,r=brendan
2008-01-05 03:25:49 -08:00
igor@mir2.org
a9fa67b981
Bug 364776: New operation counter API to replace branch callback. r,a=brendan
2008-01-03 01:28:40 -08:00
brendan@mozilla.org
c02dbef876
XML/XMLList need toSource love (410192, r=mrbkap).
2008-01-02 12:25:59 -08:00
jruderman@hmc.edu
91424bc51f
Backing out igor's fixes for bug 409109 and bug 364776 in an attempt to fix Tinderbox tgfx failures that are keeping talos red
2007-12-26 11:19:17 -08:00
igor@mir2.org
aa66348a18
Bug 364776: new operation callback API to replace branch callback. a,r=brendan
2007-12-25 02:12:26 -08:00
mrbkap@gmail.com
7c7e1261bf
Give the JS engine some knowledge of wrappers so that they can compare equal and be noticed when they take part in __proto__ cycles; this was supposed to land before. bug 397855, r=brendan sr=dveditz
2007-12-21 01:10:59 -08:00
brendan@mozilla.org
873105df41
Don't fix typename bindings without JS2 opt-in (409252, r=mrbkap).
2007-12-20 15:29:31 -08:00
mrbkap@gmail.com
ace379fdfe
Give the JS engine some knowledge of wrappers so that they can compare equal and be noticed when they take part in __proto__ cycles. bug 397855, r=brendan sr=dveditz
2007-12-20 14:59:44 -08:00
igor@mir2.org
93e67f0a7c
Bug 397215: Runtime option to switch to UTF-8 encoding in byte <-> jschar conversiions. Patch from Sam Ruby with some changes by me. r,a=brendan
2007-12-11 02:09:58 -08:00
jwalden@mit.edu
d3b11a2cbf
Bug 376957 - Prevent data leaks from cross-site JSON loads (JavaScript literals), by making the global name bindings ReadOnly/DontDelete and making [] and {} use the global bindings. Still more that can be done here, but this covers a lot of the fix. r+a=brendan
2007-12-03 19:05:24 -08:00
igor@mir2.org
1831710dfa
Bug 403678: GC thing callback is removed. r,a=brendan
2007-11-19 02:57:04 -08:00
reed@reedloden.com
0352b51ca8
Bug 400793 - "Need JS_AlreadyHasOwnProperty (UCProperty, Element)" [p=crowder r+a1.9=brendan]
2007-11-13 00:28:47 -08:00
reed@reedloden.com
e356453930
Bug 401298 - "Including jsapi.h generates many warnings with certain compiler configurations (e.g. gcc 3.4 -Wstrict-prototypes)" [p=wes@page.ca (Wesley W. Garland) r=mrbkap a1.9=brendan]
2007-11-07 01:17:35 -08:00
timeless@mozdev.org
d12c3005eb
Bug 397239 ActionMonkey: Remove "extra" parameter to JS_FN patch by Jason Orendorff <jorendorff@mozilla.com> r=igor a=brendan
2007-10-13 13:09:48 -07:00
mrbkap@gmail.com
3b183e4e87
Implement an iterator hook for cross origin wrappers to avoid wrongly walking up the prototype chain during enumeration. bug 390947, r+a=brendan sr=jst
2007-09-30 17:31:22 -07:00
mrbkap@gmail.com
6426c64ef1
Create a JSClass hook to allow object classes to easily support custom iteration without having to override __iterator__ in a resolve hook. bug 393306, r+a=brendan
2007-09-15 09:58:45 -07:00
igor@mir2.org
8f31883e5a
Bug 393368: new API to limit heap consumption by stack-like data structures used by compiler, decompiler and interpreter.
2007-08-27 15:21:55 -07:00
jst@mozilla.org
64193de21c
Fixing bug 390275. Make setTimeout() always register the timeout on the right inner window, and add a new JS_GetGlobalForObject() JS API to eliminate some code duplication. r=mrbkap@gmail.com/brendan@mozilla.org, sr=bzbarsky@mit.edu
2007-08-09 15:19:59 -07:00
brendan@mozilla.org
ba3ad2ce7a
Fast (frame-less) native call optimizations (385393, r=igor).
2007-08-01 21:33:52 -07:00
brendan@mozilla.org
18e7692117
Backing out, see bug 389122 and orange or red tinderboxes.
2007-07-21 16:21:20 -07:00
brendan@mozilla.org
5f038f69ae
Fast natives and related optimizations (385393, r=igor).
2007-07-21 14:39:42 -07:00
crowder@fiverocks.com
1bd6dc84a7
Bug 357016: changing this back to (void *) for now to fix burning tree
2007-07-05 13:54:44 -07:00
crowder@fiverocks.com
daa4556abc
Bug 357016: spidermonkey should be buildable by a C++ compiler, patch by
...
crowder/Jason Orendorff, r=brendan
2007-07-05 13:37:47 -07:00
jwalden@mit.edu
f51d74d1a6
Typo fixes
2007-06-10 15:08:17 -07:00
igor@mir2.org
39051a9389
Bug 379885: JS_GetGCMarkingTracer is removed. r=brendan
2007-05-15 18:13:28 -07:00
crowder@fiverocks.com
c66619c8af
Bug 308429: make tooMuchGC dynamic (runtime gczeal option), r=brendan
2007-05-15 16:27:20 -07:00
brendan@mozilla.org
8a85c90946
Fix some assertions to avoid re-evaluating macro args; tweak comments.
2007-05-04 11:34:56 -07:00
igor@mir2.org
7f6e92e7d2
Bug 379146: New API to register application-specific GC roots. r=brendan
2007-05-01 03:09:46 -07:00
igor@mir2.org
d69de1f698
Bug 379165: Simplifing JS_DimpHeap while fixing BeOS build problems. r=brendan
2007-04-29 14:49:00 -07:00
igor@mir2.org
68d7b74a96
Bug 378261: Replacing GC_MARK_DEBUG by DumpHeap. r=brendan
2007-04-25 06:43:18 -07:00
igor@mir2.org
937c74018d
Bug 377831: patch from Martijn Wargers <martijn.martijn@gmail.com> to fix JS_TraceChildren declarataion. r=myself
2007-04-17 22:59:10 -07:00
igor@mir2.org
aaf374c87c
Bug 377754: fixing JS_CLASS_TRACE macro and misspellings. r=brendan
2007-04-17 14:14:18 -07:00
igor@mir2.org
904650319a
Bug 375270: API to trace GC things graph without running the GC. r=brendan
2007-04-16 23:53:37 -07:00
mrbkap@gmail.com
59a7b76f52
Add an API to set aside and restore cx->fp. bug 377090, r=brendan
2007-04-13 12:20:22 -07:00
brendan@mozilla.org
2b9e57f541
Add -o <option> to shell; add JSOPTION_ANONFUNFIX and test it for ECMA conformance (376052, r=igor).
2007-04-06 18:20:28 -07:00
hg@mozilla.com
465265d0d4
Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT,
2007-03-22 10:30:00 -07:00