Commit Graph

173 Commits

Author SHA1 Message Date
Igor Bukanov
a8094a7903 bug 437325 - JSThread is no longer shared between JSRuntime instances. r=brendan 2009-03-24 13:07:35 +01:00
Blake Kaplan
a5b61f895b Bug 483751 - Switch to use the new JSPropertyDescriptor API. Also fix it to return values on the prototype chain (which was sort of the point of its existance...). r+sr=jst 2009-03-20 14:24:24 -07:00
Jim Blandy
875aee5e88 Bug 479258: Include "jsstdint.h" for <stdint.h> type use within SpiderMonkey. r=brendan 2009-03-18 11:38:16 -07:00
Igor Bukanov
20e6be9c80 bug 362910 - js_GetMethod cleanup. r=brendan 2009-03-14 17:41:47 +01:00
Igor Bukanov
4b95050fe2 Backed out changeset 57de81309176 - bug 437325 - due to mochitest leaks on tinderbox 2009-03-13 18:36:46 +01:00
Igor Bukanov
3de011b9cd bug 437325 - JSThread is no longer shared between runtimes. r=brendan 2009-03-13 12:36:21 +01:00
Igor Bukanov
75640ecce1 Backed out changeset 4159ebdfe31e to fix some typos in the patch 2009-03-13 12:21:04 +01:00
Igor Bukanov
8eeedd9647 bug 437325 - JSThread is not shared between runtimes. r=brendan 2009-03-13 12:10:34 +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
Blake Kaplan
2c8b7a955f Bug 480096 - Don't leave the last argument lying around in case someone accidentally uses it. r=brendan 2009-03-02 15:05:32 -08:00
Jeff Walden
dec5c0deac Kick tinderboxen as I still think this orange is bogus, because all the oranges seem to be happening in different locations across runs 2009-02-26 21:00:15 -08:00
Jason Orendorff
243d477a55 Bug 479887 - Remove vestigial #ifdef MOZILLA_1_8_BRANCH. r=Waldo.
--HG--
extra : rebase_source : e5ea3d25ae24e6e9900819656f18e1e3830c5bdd
2009-02-23 17:37:36 -06:00
Robert Sayre
12943580cf Merge m-c to tracemonkey. 2009-02-23 12:44:23 -05:00
Igor Bukanov
fe9a728583 bug 479252 - avoiding watchdog ticks when idle in jsshell. r=gal 2009-02-20 13:47:46 +01:00
Igor Bukanov
7ac32de806 bug 478543 - fixing warnings about casts between function and data pointers. r=brendan 2009-02-19 09:33:37 +01:00
David Mandelin
11b3722269 Bug 468840 refix: count JS_realloc memory more accurately, r=mrbkap 2009-02-12 16:18:04 -08:00
Robert Sayre
695b4646c3 Merge tm to mc 2009-02-19 11:48:08 -05:00
Jim Blandy
ede7e6d142 Bug 391488: Eliminate PTRDIFF macro; delete jssttddef.h. r=jimb
Delete jsstddef.h, since its only remaining purpose is to make certain
Win16-specific definitions; we don't support Win16 any more.  In
particular, we can just subtract pointers now, so the PTRDIFF macro is
unnecessary noise.

Most places get stddef.h via jstypes.h or some other header, so we can
just delete #inclusions of jstddef.h.  The exception is jskwgen.h, so
there we explicitly include <stddef.h> instead.
2009-02-18 09:14:51 -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
7ea402f38c Merge. 2009-02-09 22:54:41 -08:00
Andreas Gal
2a20c2a6de Backing out bug 477187. Breaks xpcshell. 2009-02-09 22:54:05 -08:00
Andreas Gal
2e46d80547 Merge. 2009-02-09 18:21:15 -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
31fdce5e81 Bug 467747 - JS version/option unsyncing results in JS modules not being loaded with the very latest JS version, resulting in syntax errors when loading modules that use new JS syntax. r=brendan 2009-02-07 23:23:01 -08:00
Igor Bukanov
61cd533870 bug 476934 - JS_(Set|Clear)ContextThread() must wait bfor the GC. r=brendan 2009-02-07 05:05:32 +01: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
Jason Orendorff
37f2985bdf Bug 476177 - TM: cx->stackPool must not be accessed on trace. r=brendan.
--HG--
extra : rebase_source : 746d61b54aa38cbe18fe31bce4efcbbad4629678
2009-01-30 17:40:05 -06:00
Brendan Eich
60770fa5b5 Bug 454184 - Implement eval caching (r=mrbkap). 2009-01-27 16:40:40 -08:00
Brendan Eich
914f4ef313 Back out due to Mac Tp orange (454184). 2009-01-27 15:52:10 -08:00
Brendan Eich
335791e844 Bug 454184 - Implement eval caching (r=mrbkap). 2009-01-27 13:53:31 -08:00
Robert Sayre
7dfa709a7f Merge m-c to tm. 2009-01-27 11:08:09 -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
b4c4aae1e9 Bug 475291 - Avoid roundtripping arbitrary jsids through JSAtom *s. r=brendan 2009-01-26 16:55:43 -08:00
Jeff Walden
4230c8101b Bug 465980 - Some array methods don't work right on ginormous arrays. r=brendan 2009-01-12 13:07:48 -08:00
Igor Bukanov
f28d80b499 Backed out changeset e117c22cc1d1 - the landed patch for bug 437325 has a shutdown leak. 2009-03-22 10:15:27 +01:00
Igor Bukanov
a61176553e bug 437325 - JSThread is no longer shared between JSRuntime instances. r=brendan 2009-03-22 10:07:14 +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
7997a602cd backout merge 2009-01-15 22:28:58 +01:00
Igor Bukanov
67cfa559e2 Backed out changeset 562d8990f33a - with the fix for bug 473721 this workaround is no longer necessary. 2009-01-15 22:27:36 +01:00
Igor Bukanov
53891469d3 bug 473721 - fixing JS_GetOperationLimit to return the proper limit. r=mrbkap 2009-01-15 22:22:46 +01:00
Robert Sayre
5c5f08101f wallpaper for bug 473721 2009-01-15 03:38:09 -05: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
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
Benjamin Smedberg
e8ea9cf02d Merge mozilla-central into tracemonkey, specifically to pick up bug 467579. 2008-12-09 21:37:35 -05:00
Brendan Eich
1c1214a195 Bug 449657 - JS_SealObject fails on Array objects (r=mrbkap, a=sayrer). 2008-12-07 00:03:12 -08:00
Boris Zbarsky
55472dc351 Backed out changeset 7bc1ba9f91fe to fix test orange 2008-11-26 17:54:40 -05:00
Andrei Saprykin
651c16ba12 Bug 453432 - Checking for MaybeGC conditions when allocating GC things.
r=igor,mrbkap a191=blocker
2008-11-26 18:09:24 +01:00
Igor Bukanov
1c6685433f Backed out changeset 700ae4e59496 - bug 453157 caused talos oranges. CLOSED TREE 2008-11-24 11:36:44 +01:00
Andrei Saprykin
3cfcbdb3c5 bug 453157 - watchdog thread as an alternative to operation counting, r=igor,mrbkap a19b2=beltzner (CLOSED TREE) 2008-11-24 00:15:46 +01:00
Igor Bukanov
957d522969 Backed out changeset 04cecb0ec24c to see if it fixes tinderbox oranges. CLOSED TREE 2008-11-22 16:33:09 +01:00
Andrey Saprykin
b6507b326f bug 453157 - using watchdog thread as an alternative to the operation count. r=igor,mrbkap a19b2=beltzner (CLOSED TREE) 2008-11-22 01:53:37 +01:00
Igor Bukanov
b7df88f931 Backed out changeset c54f1957d564 - bug 453157 - build system changes caused mouchi test failures. CLOSED TREE 2008-11-22 00:13:42 +01:00
Andrey Saprykin
c87e2d80c8 bug 453157 - using watchdog thread as an alternative to the operation count. r=igor,mrbkap a1.9.0b2=beltzner (CLOSED TREE) 2008-11-21 22:58:16 +01:00
Igor Bukanov
b13ff5429c Backed out changeset 8329a91db67d - bug 453157, CLOSED TREE 2008-11-21 00:18:43 +01:00
Andrei Saprykin
9fea491071 bug 453157 - watchdog thread as an alternative to operation count. r=igor,mrbkap a1.9.0b2=beltzner 2008-11-20 22:25:34 +01:00
timeless@mozdev.org
dd62a51a03 Backed out changeset 1d817f9d842f per beltzner
the windows leak tests were red and osx talos tests were orange
2008-11-20 16:23:57 +01:00
Andrei Saprykin
aed08c8c99 bug 453157 - watchdog thread as an alternative to operation count. r=igor,mrbkap a1.9.0b2=blocker 2008-11-20 10:43:06 +01:00
Blake Kaplan
dab238daea Bug 462910 - Add a JS_ValueToSource API. r=brendan 2008-11-03 14:28:36 -08:00
Andreas Gal
2e3beeb970 Resolve atom/str naming conflicts in the source for narcissus, make narcissus extensions compile again (462436, r=brendan). 2008-10-30 15:38:10 -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
Jason Orendorff
b7fb9bc849 Bug 460865 - Read barrier for cx->fp. r=mrbkap, r=dmandelin.
--HG--
extra : rebase_source : 19963188b2f9f96336ce6ca28dbaefccf3a639b7
2008-12-09 10:38:32 -06:00
David Mandelin
37e098bf53 Bug 464828 fixed: make sure js_ThreadDestructorCB is called on main thread 2008-12-02 13:12:43 -08: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
Igor Bukanov
82f9c64e29 bug 378918 - scalable thread-local GC free lists 2008-09-25 15:27:59 +02:00
Doug Turner
368e1aa2d8 Bug 455374 - WinCE JS DLL does not need DllMain() function. patch by wolfe, r=crowder 2008-09-23 11:01:31 -07:00
Andreas Gal
368f7d5382 Merge with mozilla-central. 2008-09-21 12:44:24 -07:00
Robin Bate Boerop
2082181641 Bug 412866 - Reuse regexp arena, original patch by Robin Bate Boerop <moz@shorestreet.com>, refreshed by Ryan VanderMuelen <ryanvm@gmail.com>, r=crowder 2008-09-12 15:11:48 -07:00
Benjamin Smedberg
b7c5804c10 Merge backout of the old patch for bug 453388 - we can statically allocate Oracle again, now that we're linking using the C++ linker magic, r=crowder 2008-09-10 15:38:28 -04:00
Benjamin Smedberg
e780e5e3ea Backed out changeset e2614011f194 - Bug 453388 - the better solution is to allow static objects and link libjs.so with g++ so that _init and _fini run static constructors/destructors correctly backout r=crowder 2008-09-10 15:20:01 -04:00
Taras Glek
dbf23956a4 bug 432917: Replace "must flow through label" comments with statically-checkable macro. r=igor 2008-09-08 10:51:10 -07:00
Igor Bukanov
23c5063560 bug 446386 - eliminating compiler pseudo-frames. r=brendan 2008-09-08 11:47:12 +02: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
Jim Blandy
90bf6a2d1e Bug 97954: Give jsconfig.h a better name, and make room for the new js-config.h. r=bsmedberg
We'd like the SpiderMonkey configure script to generate a header file
named js-config.h to hold #definitions chosen at configure time that
affect the SpiderMonkey API, like JS_THREADSAFE.  However, that name
is very similar to that of an existing header file, jsconfig.h.  This
patch renames the existing header file, and updates all references to
it.

--HG--
rename : js/src/jsconfig.h => js/src/jsversion.h
2008-09-05 10:19:17 -07:00
Brendan Eich
3cd36a3b5f Fix JS_THREADSAFE build, pick extern nit. 2008-09-02 23:00:23 -07:00
Andreas Gal
f91071f139 Allocate the oracle dynamically instead of making it a global object to avoid atexit C compatibility issues (453388, r=danderson). 2008-09-02 21:56:22 -07:00
Igor Bukanov
228d70e09b backing out bug 446386 due to unit test failures 2008-09-02 09:27:10 +02:00
Igor Bukanov
4509b7601e bug 446386 - removal of the compiler pseud-frames. r=brendan,mrbkap 2008-09-02 08:10:26 +02:00
Leon Sha
621a72d75c Bug 429105 [Solaris] Failed to build mozilla-central on solaris in js module. brendan: review+ 2008-09-02 10:03:18 +08:00
Igor Bukanov
bafd289e60 bug 445705 - eliminate Namespace and QName GC things. r=brendan 2008-08-29 10:10:34 +02:00
Ben Turner
e13eae15fb Bug 451732 - Always do LAST_FRAME_CHECKS, even if the compile failed (since that sets a pending exception). r=mrbkap 2008-08-27 15:45:13 -07:00
Igor Bukanov
5202ccb583 bug 450392 - fixing -Wstrict-aliasing=2 warnings 2008-08-26 10:46:34 +02:00
Brendan Eich
4a25cf5a32 Defer eval'ed script destruction to next GC; expose js_obj_eval for tracing. 2008-08-20 22:18:42 -07:00