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