Commit Graph

7955 Commits

Author SHA1 Message Date
bclary%bclary.com
2a90e56d39 JavaScript Test Library - regression test for bug 325269, by Igor Bukanov, a=bsmedberg for checkin to closed tree 2006-06-15 00:17:03 +00:00
bclary%bclary.com
29ca1cef11 JavaScript Test Library - regression test for bug 319980, by diablohn, WADA 2006-06-15 00:14:16 +00:00
bclary%bclary.com
5f0b183588 JavaScript Test Library - regression test for bug 313938, by Igor Bukanov, a=bsmedberg for checkin to closed tree 2006-06-15 00:11:28 +00:00
bclary%bclary.com
83c798dd5e JavaScript Test Library - regression test for bug 313763, by Igor Bukanov, a=bsmedberg for checkin to closed tree 2006-06-15 00:08:42 +00:00
bclary%bclary.com
3307ff6c97 JavaScript Test Library - regression test for bug 313630, by Igor Bukanov, a=bsmedberg for checkin to closed tree 2006-06-15 00:05:51 +00:00
bclary%bclary.com
24c39aecd7 JavaScript Test Library - regression test for bug 313479, by Igor Bukanov, a=bsmedberg for checkin to closed tree 2006-06-15 00:00:19 +00:00
bclary%bclary.com
7b841d2b8c JavaScript Test Library - regression test for bug 313276, by Igor Bukanov, a=bsmedberg for checking to closed tree 2006-06-14 23:57:40 +00:00
bclary%bclary.com
afdc0d5304 JavaScript Test Library - regression test for bug 312278, by Igor Bukanov, a=bsmedberg for checkin to closed tree 2006-06-14 23:54:13 +00:00
bclary%bclary.com
d234f753ef JavaScript Test Library - regression test for bug 311792, by Igor Bukanov, a=bsmedberg for checkin to closed tree 2006-06-14 23:51:15 +00:00
bclary%bclary.com
037ccbc99e JavaScript Test Library - regression test for bug 311497, by Igor Bukanov, a=bsmedberg for checkin to closed tree 2006-06-14 23:48:08 +00:00
bclary%bclary.com
eef471d7ec JavaScript Test Library - browser automation infrastructure, no bug, not part of the build, a=bsmedberg for checkin to closed tree 2006-06-14 23:45:22 +00:00
bclary%bclary.com
026937fdca JavaScript Test Library - regression test for bug 313952, by Igor Bukanov, a=bsmedberg for checkin to closed tree 2006-06-14 23:40:50 +00:00
bclary%bclary.com
0fe3d7aa45 JavaScript Test Library - regression test for bug 327170, by Jonas Jonsson 2006-06-14 23:34:14 +00:00
bclary%bclary.com
db60b1550d JavaScript Test Library - regression test for bug 327691, by Jesse Ruderman, a=bsmedberg for checkin to closed tree 2006-06-14 23:23:36 +00:00
bclary%bclary.com
596fd7f505 JavaScript Test Library - regression test for bug 305335, by shutdown 2006-06-14 23:17:21 +00:00
bclary%bclary.com
fc0292aa49 JavaScript Test Library - miscellaneous fixes for test automation, no bug, not part of the build, a=bsmedberg for checkin to closed tree 2006-06-14 23:14:14 +00:00
bclary%bclary.com
d5eefe02f5 JavaScript Test Library - add JavaScript 1.7 version and fix JavaScript 1.6 to browser menu, no bug, not part of the build, a=bsmedberg for checkin to closed tree 2006-06-14 23:10:47 +00:00
bclary%bclary.com
dd9101e033 JavaScript Test Library - exclude sub-categories from browser menu if all tests are excluded, no bug, not part of the build, a=bsmedberg for checkin to closed tree 2006-06-14 23:09:11 +00:00
bclary%bclary.com
4690063a69 JavaScript Test Library - fix MakeDate, bug 341554, a=bsmedberg for checkin to a closed tree 2006-06-14 19:35:19 +00:00
bclary%bclary.com
ff0e8dc4a3 JavaScript Test Library - add support for browser tests which complete after page load, bug 341550, a=bsmedberg for checkin to closed tree 2006-06-14 18:52:00 +00:00
bclary%bclary.com
6ffc7a26f1 JavaScript Test Library - add JS 1.7 tests by Jeff Walden, bug 341300, not part of the build, a=bsmedberg for checkin during tree closure 2006-06-14 18:16:46 +00:00
bclary%bclary.com
09d48daf4d JavaScript Test Library - add JS 1.7 infrastructure, bug 341300, not part of the build, a=bsmedberg for checkin during tree closure 2006-06-14 18:03:48 +00:00
mrbkap%gmail.com
6cebff1c46 Distinguish between void (VTYPE_VOID) and null (VTYPE_EMPTY). bug 341364, r=bzbarsky sr=shaver 2006-06-14 16:41:29 +00:00
igor.bukanov%gmail.com
99ed8ebc2a Bug 340129: Reverting all the commits as the tree IS CLOSED. 2006-06-13 23:06:17 +00:00
igor.bukanov%gmail.com
0a42ade42c Bug 340129: Bulletproof rooting of objects during sharp graph construction/usage. r=mrbkap 2006-06-13 22:29:31 +00:00
igor.bukanov%gmail.com
719b0db492 Bug 340129: Reverting the commit, it was the wrong patch! 2006-06-13 22:21:56 +00:00
igor.bukanov%gmail.com
59017eb846 Bug 340129: Bulletproof rooting of objects during sharp graph construction/usage. r=mrbkap 2006-06-13 22:19:55 +00:00
mrbkap%gmail.com
98997f8669 Checking in Ben Turner <bent.mozilla@gmail.com> and timeless's patch to make Gecko use the JS engine's request model to help multithreaded embedders avoid GC races and crashes. bug 176182, r=mrbkap assumed-rs=brendan 2006-06-12 22:39:55 +00:00
bzbarsky%mit.edu
024441ca86 Use a non-bogus error reporter for the subscript loader. Bug 340019, r=mrbkap,
sr=brendan
2006-06-10 00:47:40 +00:00
mrbkap%gmail.com
0e79e0fd16 Use a less complicated function to create the parent object. bug 340727, r=igor 2006-06-09 18:40:56 +00:00
mrbkap%gmail.com
fd559e119f Protect against leaked objects that have close hooks by not attempting another GC if we didn't actually call any close hooks. bug 340889, r=igor 2006-06-09 00:00:19 +00:00
igor.bukanov%gmail.com
bb6fe16e07 Bug 324533: Added missed checks for bad string buffer. 2006-06-08 18:16:10 +00:00
szegedia%freemail.hu
1f39071795 Fix for #340682 2006-06-08 07:19:24 +00:00
bclary%bclary.com
a9a87b2943 JavaScript Test Library - Add empty files required for browser based tests, bug 339835 2006-06-07 22:54:34 +00:00
mrbkap%gmail.com
26f873f113 Add some additional evalInSandbox functionality for PAC and use it there. bug 337389, r=shaver sr=darin 2006-06-07 20:21:40 +00:00
mrbkap%gmail.com
1c8b596b49 Use a shiny new API for propagating uncaught exceptions. bug 328161, r=brendan sr=shaver 2006-06-07 00:19:29 +00:00
mrbkap%gmail.com
aedf133593 Protect more properties on catch variables. bug 338709, r=brendan 2006-06-05 21:07:22 +00:00
brendan%mozilla.org
8c19983a2d DEBUG_NOT_THROWING addition for new auto-rethrow-if-exception-pending code. 2006-06-05 20:54:24 +00:00
brendan%mozilla.org
fa309dd75b Eliminate warnings, clean up assertion translation. 2006-06-05 20:35:07 +00:00
brendan%mozilla.org
7380498eab Missing error check/early return for TOK_RETURN refactoring (340369, r=mrbkap). 2006-06-05 18:38:14 +00:00
brendan%mozilla.org
928b5dc750 Fix orange balsa by landing mrbkap's patch for 326497, plus other fixes (340340, r=mrbkap). 2006-06-05 07:18:02 +00:00
brendan%mozilla.org
ba5b32f242 Coroutine generators, a la Python 2.5 (326466, r=igor). 2006-06-04 02:19:09 +00:00
dbaron%dbaron.org
5d00219a4f Add a comment, rs=brendan. 2006-06-03 02:40:02 +00:00
brendan%mozilla.org
9f083bbd2b Better failover to js_DefaultIterator if __iterator__ comes back primitive (340199, r=mrkbap). 2006-06-03 02:30:39 +00:00
brendan%mozilla.org
ff7cbca64a Get value from original object when enumerating prototype objects via for-each-in (339169, r=mrbkap). 2006-06-02 06:30:05 +00:00
mrbkap%gmail.com
8bbb081e9b Fixing some failures that were not being properly propagated. no bug, r=brendan 2006-06-02 00:51:56 +00:00
igor.bukanov%gmail.com
22783e41c9 Bug 338653: Check for JSRuntime.gcMaxMallocLimit on each allocation in js_NewGCThing to trigger GC sooner to prevent accumulation of garbage with large allocations. r=brendan 2006-06-01 22:13:56 +00:00
bryner%brianryner.com
996fc94731 Write out an inline version of isdigit() for ASCII characters - it seems to be a performance win for MSVC, and gcc is already inlining it (bug 339868) r+a=brendan 2006-06-01 20:04:29 +00:00
pedemont%us.ibm.com
3565ee7081 Bug 339871 - Scriptable nsIXPCFunctionThisTranslator uses non-scriptable nsIInterfaceInfo. r/sr=jst. 2006-06-01 19:31:39 +00:00
bclary%bclary.com
827be92fd4 JavaScript Test Library - segregate GC tests, bug 339835 2006-06-01 17:55:36 +00:00
szegedia%freemail.hu
a7a165baa1 Bugfix for #321938: Credited patch author 2006-06-01 14:30:19 +00:00
szegedia%freemail.hu
04ddc56768 Bugfix for #321938: XML and XMLList literals don't decompile correctly. Thanks to Yuh-Ruey Chen 2006-06-01 14:29:15 +00:00
brendan%mozilla.org
b390867301 Fix to cope with null __proto__ (339685, r=mrbkap). 2006-05-31 21:41:54 +00:00
igor.bukanov%gmail.com
997bc7e12b Bug 339785: When reporting errors about unknown entities in XML literals, do not include append an extra ';' to token buffer as it would not be included in the error message in any case. 2006-05-31 19:11:52 +00:00
szegedia%freemail.hu
1a1043b609 Bugfix for #324006: According to ECMA-262 15.10.6.1: RegExp.prototype.constructor == RegExp 2006-05-29 10:28:09 +00:00
szegedia%freemail.hu
d8506c6fdf Bugfix for #293958 2006-05-28 20:09:29 +00:00
szegedia%freemail.hu
7c79811986 Bugfix for #335992 2006-05-28 17:19:33 +00:00
szegedia%freemail.hu
3c3a905fdc Bugfix for #322265: clarified that you mustn't call an InterpretedFunction with null. 2006-05-28 17:15:24 +00:00
szegedia%freemail.hu
ac42960789 Fix for bug #309957 2006-05-28 16:08:05 +00:00
brendan%mozilla.org
7aab66ac5a Oops, s/NULL/JS_FALSE/. 2006-05-26 18:01:41 +00:00
brendan%mozilla.org
39933ad5a8 Avoid bad old valueOf call attempt for object-to-object conversion (339256, r=mrbkap). 2006-05-26 17:34:08 +00:00
brendan%mozilla.org
337e318004 Fix off-by-one and logic bugs conspiring against catch blocks (339262, r=mrbkap). 2006-05-25 22:23:37 +00:00
gavin%gavinsharp.com
b581167b49 Bug 265871: rename JavaScript console to Error console, patch by Kurt <supernova_00@yahoo.com>, r=mconnor, ui-r=beltzner, sr=neil/bzbarsky 2006-05-25 21:22:32 +00:00
mrbkap%gmail.com
19bfba4f52 Fix MSVC warnings about assigning a wider variable into a narrower one resulting from the checkin for bug 338678. r=brendan 2006-05-24 21:07:55 +00:00
mrbkap%gmail.com
a42278ba05 Use the correct scope chains when creating iterator objects and StopIteration exceptions to prevent weird object from breaking iteration. bug 338307, r=brendan 2006-05-24 20:26:54 +00:00
benjamin%smedbergs.us
4b0b5e50d7 Bug 339008 - Static string in xpconnect makes libxul builds crash, r=mrbkap with a nit by timeless 2006-05-24 13:35:37 +00:00
bclary%bclary.com
2fa6242e31 JavaScript Test Library - Regression test for bug 304376. Remove incorrect check for constructor name 2006-05-24 06:24:40 +00:00
bclary%bclary.com
e6c2bf9b97 Bug 336686 - js shell - add pdb files for debugging on windows, r=mrbkap 2006-05-24 05:51:22 +00:00
igor%mir2.org
3df7a16da3 Bug 338804: Making rooting bulletproof. r=mrbkap,sr=brendan 2006-05-23 07:54:17 +00:00
bclary%bclary.com
4fe17a2aa1 JavaScript Test Library - Regression test for bug 336100, fix shell test 2006-05-23 02:43:32 +00:00
brendan%mozilla.org
267d7d8156 Make anonymous classes really anonymous given self-identified global objects (326466, r=mrbkap). 2006-05-22 23:36:32 +00:00
mrbkap%gmail.com
44ffcbf617 Instead of having a source note per variable type, use a single source note with an immediate operand. bug 336378, r=brendan 2006-05-22 23:33:57 +00:00
igor%mir2.org
65028a8035 Bug 338678: For source compatibility fields "uint16 extra,spare" in JSFunctionSpec are replaced by singe "uint32 extra". In this way we do need to update the current sources that list just 5 fields to include the additional ",0" corresponding to "spare" field. To quell GCC warnings all sources that list less then 5 fields of JSFunctionSpec are updated to explicitly list all 5 fields. r=mrbkap, s=brendan 2006-05-22 22:58:31 +00:00
mrbkap%gmail.com
5b7def9e09 fp->thisp can point to a primitive tagged jsval now, so test that before treating it as a GC thing. bug 336804, r=brendan 2006-05-22 22:46:07 +00:00
mrbkap%gmail.com
9de0c9222c Look before we leap: check to make sure that we don't overwrite readonly properties on catch variables. bug 338709, r=brendan 2006-05-22 21:54:54 +00:00
bclary%bclary.com
6f8d81f8e9 Regression test for bug 333728, by Andreas 2006-05-22 01:06:34 +00:00
brendan%mozilla.org
bcf6aea253 First big wave of js1.7 changes (326466, 336376, r=mrbkap). 2006-05-20 22:27:28 +00:00
igor%mir2.org
3d11ecfc91 Bug 312238: using thread-local pool to speedup the allocation of GC things. This is a version of the original patch from Feng Qian <feng.qian.moz@gmail.com> with changes by Brendan and my tunings. r=feng.qian.moz,sr=brendan 2006-05-19 10:25:36 +00:00
igor%mir2.org
c5ae726feb Bug 312238: reverting untill build problems will be sort out. 2006-05-19 09:35:11 +00:00
igor%mir2.org
7a46b5ba6f Bug 312238: using thread-local pool to speedup the allocation of GC things. This is a version of the original patch from Feng Qian <feng.qian.moz@gmail.com> with changes by Brendan and my tunings. r=feng.qian.moz,sr=brendan 2006-05-19 09:31:32 +00:00
brendan%mozilla.org
24ab9e005f Beef up sanity checking (338121, r=mrbkap). 2006-05-18 17:12:14 +00:00
szegedia%freemail.hu
293bce7b4b Implementing Serializable so that continuations captured within a "with" block can be serialized. 2006-05-17 08:23:14 +00:00
mrbkap%gmail.com
0fa46c65df Avoid going through js_LookupProperty for well-known access checks (in particular, __parent__ and __proto__) both for perf wins and to make sure that we check the value that we're asking for. bug 336875, r=brendan 2006-05-16 14:47:28 +00:00
brendan%mozilla.org
70f1347e9f Add integer overflow checking (338001, r=mrbkap). 2006-05-16 09:22:55 +00:00
szegedia%freemail.hu
71505e0715 Fix for #326563: documentation clarification 2006-05-13 11:23:00 +00:00
szegedia%freemail.hu
2a4ca757b6 Fix for 318305: ScriptOrFnNode class reports bad end line number 2006-05-12 12:43:46 +00:00
igor%mir2.org
278c093be5 Bug 312238: Move GC arena initialization/cleanup code to NewGCArena/ DestroyGCArena to simplify js_NewGCThing/js_GC. r=brendan r=feng.qian.moz 2006-05-12 08:21:44 +00:00
igor%mir2.org
9c172158d2 Bug 337407: Make sure that js_NewGCThing initializes the flag byte even after js_PushLocalRoot failure. r=brendan 2006-05-11 22:48:51 +00:00
timeless%mozdev.org
c8f43f6564 Bug 335315 Null pointer dereference in [@ _newJSDContext]
patch by rflint@dslr.net r=rginda sr=brendan
2006-05-11 13:19:45 +00:00
mrbkap%gmail.com
e7695293dd Temporarily backing this change out to fix bug 336100, r=brendan approval for the closed-tree checkin from bz 2006-05-11 02:43:38 +00:00
darin%meer.net
0318b8c707 landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb 2006-05-10 17:30:15 +00:00
brendan%mozilla.org
ccc85b3ed6 iteration protocol + simple generators (after PEP-255), v6 (326466). 2006-05-10 01:50:12 +00:00
mrbkap%gmail.com
f50ceb399b Use __applyConstructor__ to allow for an arbitrary number of parameters to be passed to native constructors. bug 331429, r=brendan 2006-05-09 19:23:39 +00:00
bclary%bclary.com
c8ed6c412d JavaScript Test Library - regression test for bug 336100, by Jim Grandy, not part of the build. 2006-05-09 18:58:52 +00:00
igor%mir2.org
dc82ea8c0e Bug 336376: I reverted the commit as the tree is closed! 2006-05-09 03:01:30 +00:00
igor%mir2.org
544353a33f Bug 336376: Keywords are treated as identifiers in object literals or after '::', '.', '..' unless they are part of namespace prefix. I.e. now {try: 1}, obj.delete(), xml..in, ns::new are valid while xml.try::elem is not allowed and xml.function::child continues to refer to the method named child. r=brendan 2006-05-09 02:26:27 +00:00
szegedia%freemail.hu
a59ec892da Adding XML to the optional excluded name 2006-05-07 12:51:44 +00:00
timeless%mozdev.org
7c907ec27a Bug 331023 Cleanup of IDL files; fixing type inconsistencies
r=rginda sr=bz
2006-05-07 01:31:33 +00:00
timeless%mozdev.org
36a8d6a84e Bug 334196 nsXPCWrappedJSClass::GetNamedPropertyAsVariant returns an unitialized value when JS_ValueToId fails
r=jst sr=jst
2006-05-06 22:37:05 +00:00
timeless%mozdev.org
3d2bf4ae10 Bug 334194 XPC_WN_Helper_Mark returns unitialized value
r=jst sr=jst
2006-05-06 22:34:46 +00:00
timeless%mozdev.org
ce1d6f5c30 Bug 334204 XPCConvert::JSValToXPCException is too cautious
r=mrbkap sr=jst
2006-05-06 22:26:39 +00:00
cbiesinger%web.de
51a89a8b1e bug 335180 Remove win32.order, mozilla-bin.order, --enable-reorder, and
associated code. These options do not really work anymore.

r=bsmedberg
2006-05-06 17:53:51 +00:00
bclary%bclary.com
58b2813057 JavaScript Test Library - fix UTF8 detection by Michael Daumling, bug 232182 2006-05-06 04:15:06 +00:00
mrbkap%gmail.com
e8c803bd1e Expand the checks to more cases. bug 336601, r+a181=brendan a=dveditz 2006-05-05 23:29:37 +00:00
mrbkap%gmail.com
9fa33e3770 Expand the checks to more cases. bug 336601, r+a181=brendan a=dveditz 2006-05-05 23:17:22 +00:00
mrbkap%gmail.com
00f677e640 OBJ_CHECK_ACCESS on call objects will return v = JSVAL_VOID since call objects don't have Object.prototype in their prototype. bug 336560, r=brendan 2006-05-05 08:08:56 +00:00
mrbkap%gmail.com
d807f17350 Create a safe version of js_ComputeThis that does access checks up the scope chain and bails if there's a failure. Use js_SafeComputeThis in places where its needed. bug 319263, r+a181=brendan 2006-05-04 06:46:27 +00:00
brendan%mozilla.org
a0b076d854 Keep cached class objects coherent with global properties mapping same (336054, r=shaver). 2006-05-02 05:50:28 +00:00
mrbkap%gmail.com
27b5f3a944 Tab patrol 2006-05-02 00:20:31 +00:00
brendan%mozilla.org
538e9fb7b0 Tab and style policing. 2006-05-01 22:25:19 +00:00
mrbkap%gmail.com
fc083d22f5 Don't assume that mWrapper is non-null, since it can be null when we're dealing with a wrapped prototype. bug 335731, r+sr=jst 2006-04-29 01:02:37 +00:00
dbaron%dbaron.org
3df5f58ee9 Fix recently introduced reference leak. b=335785 r=mrbkap sr=jst 2006-04-29 00:23:45 +00:00
brendan%mozilla.org
07e73ba791 Avoid strict warning set-up costs if strict option is off (335700, r=mrbkap). 2006-04-28 18:50:40 +00:00
brendan%mozilla.org
ec58ef8486 Fixed another JSVERSION_1_2 removal botch that broke splice (325951 regression, but see 326466 for the report). 2006-04-28 00:20:44 +00:00
mrbkap%gmail.com
1e7cde7835 Make typeof (0, undef) throw a reference error. bug 333728, r=brendan 2006-04-27 23:49:51 +00:00
mrbkap%gmail.com
f952f6ded0 Finish checking in bug bug 331429 (r=brendan). I forgot to check this in. 2006-04-27 20:50:28 +00:00
brendan%mozilla.org
2e05c97889 Awesome patch from Andreas <mqmq87@web.de> to avoid creating unnecessary objects for primitives being operated on via methods (334261, r=me). 2006-04-27 17:58:55 +00:00
igor%mir2.org
3f2ce53374 Bug 325951: All keywords are JSVERSION_DEFAULT as we no longer support JS < 1.5. r=mrbkap 2006-04-27 08:04:40 +00:00
bclary%bclary.com
bb57d1b736 JavaScript Test Library - obsolete version dependent tests, bug 325951 2006-04-27 07:29:36 +00:00
mrbkap%gmail.com
07ab557f71 More nukage of private API usage. 2006-04-27 01:33:45 +00:00
brendan%mozilla.org
4e8f899939 Don't use private APIs, please. 2006-04-27 01:22:24 +00:00
brendan%mozilla.org
c0cd5cc0b5 js_MarkStackFrame prototype, for bug 326466 pre-patch that already landed. 2006-04-27 00:46:30 +00:00
brendan%mozilla.org
0667cc1d4c Prep patch for iterators and generators (326466, r=mrbkap). 2006-04-27 00:39:43 +00:00
brendan%mozilla.org
3595b88dc7 Foopy 2006-04-26 23:31:54 +00:00
brendan%mozilla.org
45adb0b200 Oops. 2006-04-26 22:34:00 +00:00
mrbkap%gmail.com
0cf9f4ba99 Protect against an overly-large length. Patch from brendan, bug 335535, r=mrbkap 2006-04-26 21:46:53 +00:00
mrbkap%gmail.com
05a259f259 Comments should match reality. 2006-04-26 21:44:27 +00:00
brendan%mozilla.org
916f80bcda Major simplification to jsconfig.h, dropping support for all ancient bug config and almost all pre-ECMA-Edition-3 feature config (325951, r=mrbkap). 2006-04-26 21:33:01 +00:00
bclary%bclary.com
1dc3e25c92 JavaScript Test Library - add support for selecting product during tests, no bug, not part of the build 2006-04-26 20:00:13 +00:00
mrbkap%gmail.com
fcb69da993 When a document's scope object changes (e.g., for a call to document.open), actually change the scope object and move all of the wrappers in the old scope into the new one. bug 333697, r+sr=jst 2006-04-26 19:53:27 +00:00
bclary%bclary.com
75f2a4882b JavaScript Test Library - apply with null this parameter passes the global object as this, bug 306591 2006-04-26 06:33:40 +00:00
bclary%bclary.com
1f1d7e8dfa JavaScript Test Library - remove push, pop, shift, splice tests, bug 312385 2006-04-26 06:15:13 +00:00
brendan%mozilla.org
c0afb8d783 Fix eager standard class init to control recursion through lazy paths, and re-enable the dreaded XXXMLM assertion in JS_InitClass (334834, r=mrbkap). 2006-04-25 21:00:36 +00:00
bclary%bclary.com
302fd19827 JavaScript Test Library - improve jsDriver.pl timeout handling (bug 335397, r=mrbkap) 2006-04-25 18:10:33 +00:00
mrbkap%gmail.com
d5be5a4723 Backing out bug 326497 again to see if it fixes the problems that we're seeing with us not recognizing functions set on [classname].prototype. 2006-04-24 19:27:25 +00:00
bclary%bclary.com
64667d0f59 Regression test for bug 328012, by Jesse Ruderman 2006-04-24 01:02:43 +00:00
bclary%bclary.com
73ac16348c Regression test for bug 334807, by Andreas 2006-04-24 00:47:59 +00:00
igor%mir2.org
5759cafb55 Bug 324278: Set by default the stack limit quota to 500000 for js shell. r=brendan 2006-04-23 19:23:53 +00:00
igor%mir2.org
c96d4c8210 Bug 334929: tuning JS_MaybeGC so it would trigger GC less often on the browser start-up to match the behaviors before I committed patched from bug 312238 to change nature of rt->gc(Private)?Bytes. r=brendan 2006-04-23 14:45:10 +00:00
bclary%bclary.com
14c95ee840 Regression test for bug 333541, by Biju 2006-04-23 13:00:58 +00:00
bclary%bclary.com
d7b08ce806 Regression test for bug 334158, by Andreas 2006-04-23 12:20:05 +00:00
bclary%bclary.com
918ad25b23 Regression test for bug 331558, by Erik Fabert 2006-04-23 11:45:17 +00:00
bclary%bclary.com
de0f332433 Regression test for bug 324278, by Igor Bukanov 2006-04-23 11:09:58 +00:00
bzbarsky%mit.edu
c5f4268fcb Fix leak. Bug 334898, patch by Ryan Flint <rflint@dslr.net>, r=mrbkap, sr=bzbarsky 2006-04-21 21:23:46 +00:00
brendan%mozilla.org
b9727d2b3d Fix 334807 (r=mrbkap). 2006-04-21 11:08:18 +00:00
neil%parkwaycc.co.uk
13b0235496 --disable-xpcom-fastload breaks JS component loader b=334849 r=shaver sr=brendan 2006-04-21 09:46:00 +00:00
brendan%mozilla.org
3e30b0dbae Revert to comment out the XXXMLM mystery assert. 2006-04-21 07:47:06 +00:00
brendan%mozilla.org
8259bdb3cd Remove non-standard and not-for-public-use With (304376 followup). 2006-04-21 07:14:29 +00:00
igor%mir2.org
f63b1ca6f0 Bug 312238: gcBytes and gcPrivateBytes from JSRuntime now means the total
amount of memory allocated by GC arenas, not the size of allocated things
which does not include the memory taken by free GC cells. This simplified
accounting and allows to implement lock-less allocation of GC things.
2006-04-20 15:33:35 +00:00
brendan%mozilla.org
3164d9ab80 Final (I hope) followup patch (304376, r=mrbkap). 2006-04-20 05:18:09 +00:00
brendan%mozilla.org
da86244695 Fix brain-damaged code from last checkin (r=mrbkap). 2006-04-20 01:17:06 +00:00
brendan%mozilla.org
1734f2c734 Second half of fix for 304376 (r=mrbkap). 2006-04-19 23:36:16 +00:00
dbaron%dbaron.org
4fd4c8fc7c Call SetName so we don't have an XPCCallContext in a bad state. b=334104 r=dbradley sr=jst 2006-04-19 22:00:31 +00:00
gavin%gavinsharp.com
c8c5efd97f Bug 334180: backport pldhash -> jsdhash of win32 fastcall support, rev. 1, patch by bsmedberg, r=brendan 2006-04-19 20:34:56 +00:00
bclary%bclary.com
5da9633f8e JavaScript Test Library - Regression test for bug 234389, add expected exit code 3 for 'too much recursion' error, remove old -n version of test. 2006-04-19 03:12:26 +00:00
bclary%bclary.com
4e9ba2ba66 JavaScript Test Library - tweak reporting to improve automated test comparisons, no bug 2006-04-19 03:03:12 +00:00
bclary%bclary.com
76b89d9191 JavaScript Test Library - Regression test for bug 330352 2006-04-19 02:58:42 +00:00
bclary%bclary.com
c29f6adc76 JavaScript Test Library - Regression test for bug 319872, by Georgi Guninski 2006-04-19 02:56:29 +00:00
bclary%bclary.com
945d6e3a37 JavaScript Test Library - Regression test for bug 316885, by Igor Bukanov 2006-04-19 02:53:38 +00:00
bclary%bclary.com
a79f219015 JavaScript Test Library - Regression test for bug 315974, by Michael Daumling 2006-04-19 02:49:49 +00:00
bclary%bclary.com
d05efd6f2b JavaScript Test Library - Regression test for bug 312385 2006-04-19 02:35:10 +00:00
brendan%mozilla.org
dcf53bc38a Oops. 2006-04-19 00:57:03 +00:00
brendan%mozilla.org
705725e02f Memoize standard class.prototype bindings, per ECMA-262 (304376, r=mrbkap). 2006-04-19 00:22:43 +00:00
dbaron%dbaron.org
c6e5aec25e Make JSDHashTable/PLDHashTable assert when ops or enumeration callbacks mutate the table. b=334180 r=brendan 2006-04-18 18:30:50 +00:00
mrbkap%gmail.com
a9e8f95b55 Use the right object constructors. bug 334024, r=brendan 2006-04-18 18:12:53 +00:00
igor%mir2.org
624cae247a Bug 331598: The tail recursion elimination in MarkGCThingChildren is simplified.r=brendan 2006-04-18 07:25:37 +00:00
bclary%bclary.com
a3d034cd75 Remove regression test for bug 322177 since it is WONTFIX 2006-04-18 06:38:55 +00:00
brendan%mozilla.org
f423f359b1 Random trailing space search. 2006-04-18 04:41:24 +00:00
brendan%mozilla.org
10cbbda3cf Patch from Feng Qian <feng.qian.moz@gmail.com> with assist from Igor, based on ancient patch from me, to factor per-thread state from JSContext into JSThread to support per-thread lock-free GC allocation (312238, r=me). 2006-04-18 01:41:54 +00:00
mrbkap%gmail.com
2d7096065f Fix use of uninitialized fp. 2006-04-18 01:34:38 +00:00
mrbkap%gmail.com
e343a97818 Fix off-by-one error while parsing control escape sequences. bug 334158, patch by Andreas <mqmq87@web.de>, r=mrbkap 2006-04-18 00:10:27 +00:00
mrbkap%gmail.com
45f0829287 Split out construction code from the interpreter proper and share it between the js_Interpret and a new Narcissus-only function on Function.prototype (__applyConstructor__). This allows Narcissus to call a native constructor with an array of arguments, like Function.prototype.apply. bug 331429, r=brendan 2006-04-17 23:36:31 +00:00
dbaron%dbaron.org
849f97dd03 Fix mismatched allocators. b=334162 r+sr=jst 2006-04-17 23:03:51 +00:00
brendan%mozilla.org
66aaeb15a5 Fix int constant precedent (333541, r=mrbkap). 2006-04-16 05:10:10 +00:00
brendan%mozilla.org
33af4e7a97 Add exec-time ecmaStrictMode flag and use it to allow 'for (i in null)' and the like. 2006-04-15 05:02:08 +00:00
mrbkap%gmail.com
3fda3a292b -- Allow the DOM script object factory to turn XPConnect return values into proper nsIException objects.
-- Make nsDOMClassInfo::ThrowJSException never throw null as an exception.
-- Make XPCException::ToString grab the description of the result as well as the name.

r+sr=jst
2006-04-15 00:37:51 +00:00
mrbkap%gmail.com
ee5ae83517 Only avoid calling toObject when v is null. bug 333911, r=brendan 2006-04-14 18:14:43 +00:00
mrbkap%gmail.com
cde0d2439f Don't throw when given |for (i in null)| to match SpiderMonkey and to match users' expectations. bug 333911, r=brendan 2006-04-13 22:49:56 +00:00
bclary%bclary.com
15b95f62a1 JavaScript Test Library - Regression test for bug 327534, by Jesse Ruderman 2006-04-11 18:36:46 +00:00
bclary%bclary.com
4c6955719e JavaScript Test Library - Regression test for bug 331664, by Brendan Eich 2006-04-11 18:29:29 +00:00
bclary%bclary.com
b27ebeec48 JavaScript Test Library - Regression test for bug 332472, by Wladimir Palant 2006-04-11 18:18:11 +00:00
bclary%bclary.com
b185ee48c3 JavaScript Test Library - regression test for bug 328443, by Jesse Ruderman 2006-04-11 18:04:48 +00:00
bclary%bclary.com
49530f6507 JavaScript Test Library - Regression test for bug 330812, by Igor Bukanov 2006-04-11 17:53:02 +00:00
bclary%bclary.com
3eac92ea2b JavaScript Test Library - Regression test for bug 328664, by Hermecz Vajk 2006-04-11 17:42:02 +00:00
bclary%bclary.com
46def5be45 JavaScript Test Library - tweak section 6 to not depend on whitespace settings, no bug, not part of the build 2006-04-11 17:05:14 +00:00
jst%mozilla.jstenback.com
f4f7012c0b Fixing bug 321299. Make sure XPConnect wrappers get properly reparented when moving nodes from document to document. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu 2006-04-11 03:49:44 +00:00
mrbkap%gmail.com
7970a7888a Try fixing bug 326497 again, this time allowing DOM constructors to be wrapped in cross-domain settings, since some of them can be used (e.g., Location). r+sr=jst for the DOM bits, r=brendan sr=shaver for the XPConnect bits. 2006-04-10 21:40:28 +00:00
brendan%mozilla.org
2c653c4861 Duh... (333398, r=mrbkap). 2006-04-10 05:35:12 +00:00
silver%warwickcompsoc.co.uk
a7f77479db Bug 332514 - Don't allow null argument to Sandbox constructor. r=brendan sr=jst 2006-04-08 22:04:40 +00:00
bclary%bclary.com
95ccbc1e1d Update JS_GetImplementationVersion() date string (bug 67111, r=brendan) 2006-04-07 16:04:45 +00:00
bclary%bclary.com
dc0d9ca6bf jsDriver.pl - add new options (-K|--linefail)(-T|--timeout) seconds, (bug 331478, r=mrbkap) 2006-04-07 15:58:32 +00:00
brendan%mozilla.org
73ab09a55c Fix thread- and GC-safety bugs in js_GetAnyName and its evil twin (331782, 325526, r=mrbkap). 2006-04-06 20:24:24 +00:00
brendan%mozilla.org
d911007cfc Fix uneval on E4X objects (327534, r=mrbkap). 2006-04-06 20:15:24 +00:00
gavin%gavinsharp.com
c1c8fbfcac Bug 314529: E4X: delete operator misses some descendants - e4x/Types/9.1.1.3.js, patch by Erik Fabert <jerfa@email.it>, r=brendan 2006-04-06 13:04:54 +00:00
gavin%gavinsharp.com
d0dee808f7 Bug 330319: Remove duplicate string constants in jsnum.c, patch by Erik Fabert <jerfa@email.it>, r=brendan 2006-04-06 13:02:03 +00:00
gavin%gavinsharp.com
0ce6c36fee Bug 331203: Result of Math.pow(NaN, 0) should be 1, patch by Erik Fabert <jerfa@email.it>, r=brendan 2006-04-06 04:49:20 +00:00
dbaron%dbaron.org
e94b49b6af Root across calls to JS_SetElement and JS_SetProperty. b=331667 r=jst,dbradley sr=brendan 2006-04-05 21:34:16 +00:00
dbaron%dbaron.org
04b8c33eda Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky 2006-04-05 00:00:44 +00:00
timeless%mozdev.org
905303609b Bug 332689 js.mak clean targets fail to clean up pch's
also fixes up a few glitches in the jskwgen work and makes make clean zap its generated file
the clean target for js now cleans fdlibm+jskwgen too
the clean target for jsshell now cleans js too
2006-04-04 15:50:15 +00:00
timeless%mozdev.org
ef483b51d5 Bug 328479 Building the jsshell on VC++ 6 fails because jsautokw.h is missing
spidermonkey only fix for nmake. not part of any build that works since this hasn't worked in a long time.
2006-04-04 13:09:50 +00:00
mrbkap%gmail.com
c4f9fa3841 Backing out my changes from bug 326497 to fix tinderbox orange. 2006-04-03 21:18:41 +00:00
mrbkap%gmail.com
60b589ae77 Don't ignore any errors returned by PostCreate. Also, don't override an exception if one is already reported, as the further away from the original problem we get, the less precise the error message will be. bug 326497, r=brendan sr=shaver 2006-04-03 18:10:38 +00:00
bclary%bclary.com
b5406fa0be bug 332562 - Fix buggy loop in shell.js, patch by Seno Aiko 2006-04-03 13:33:33 +00:00
bzbarsky%mit.edu
25ab5fffef Create a powerless non-principal and start using it. Bug 326506, r=mrbkap,
sr=dveditz
2006-04-02 20:58:26 +00:00
brendan%mozilla.org
daee041a64 Undepend regexp source string so error message formatted arg refs into it work (332472, r=mrbkap). 2006-04-02 19:07:49 +00:00
brendan%mozilla.org
b7aec0251e Fix double-destroy on js_SetLastIndex failure in js_NewRegExpObject (332415, r=mrbkap). 2006-04-01 00:00:38 +00:00
brendan%mozilla.org
7f55e01fd4 Don't optimize special (eval and debugger) global frames (332199, r=mrbkap). 2006-03-31 01:32:19 +00:00
brendan%mozilla.org
439fdaacf8 Fix 331787 by atomizing declared function object early (r=mrbkap). 2006-03-31 01:27:23 +00:00
darin%meer.net
20837f71e1 fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron 2006-03-30 18:40:56 +00:00
bclary%bclary.com
39f8751079 Regression test for bug 329383. Fix bug number 2006-03-29 17:59:32 +00:00
bclary%bclary.com
99285342dc Regression test for bug 321547. Fix whitespace issue in expected toSource value 2006-03-29 17:45:25 +00:00
igor%mir2.org
a5fdadc191 Bug 331770: Extending JS_GCMETER to include average free list density and free list recycle/new allocation ratio. 2006-03-28 08:41:40 +00:00
dbaron%dbaron.org
90bc11aa89 Root the new string across the call to js_NewObject, etc. b=331793 r=brendan 2006-03-27 23:45:56 +00:00
dbaron%dbaron.org
c7844c2cd8 Root the result of js_NewXML across js_GetXMLObject. b=331786 r=brendan 2006-03-27 23:43:40 +00:00
brendan%mozilla.org
a69a747947 MIPS little-endian porting fix from Ian Jackson and Thiemo Seufer, via Mike Hommey <mh@glandium.org> (331820, r=me). 2006-03-27 05:54:51 +00:00
brendan%mozilla.org
2350ba344e Home sp (and pc) before allocating call-outs (331719, r=mrbkap). 2006-03-26 03:50:34 +00:00
igor%mir2.org
dc37a48f53 Bug 331456: Cache of deflated string bytes is per runtime now. To preserve
API compatibility JS_GetStringBytes(JSString *str) calls newly introduced
js_GetGCStringRuntime(JSString *str) to extract JSRuntime* instance based
on the layout of GC structures. r=brendan
2006-03-25 22:55:00 +00:00
brendan%mozilla.org
12081a43a3 Rooting fixes courtesy dbaron (331678, r=mrbkap). 2006-03-25 21:51:57 +00:00
igor%mir2.org
373a0e0bf8 Bug 331598: Cleanup/simplifications after landing of patch for recursion-free GC from bug 324278. 2006-03-25 20:21:31 +00:00
brendan%mozilla.org
c0c2ef84b1 Fix silly null ptr deref (331664, r=mrbkap). 2006-03-25 19:24:44 +00:00
mrbkap%gmail.com
bd2900305a Fix a silly typo decompiling the setting of the default xml namespace. bug 331558, patch by Erik Fabert <jerfa@email.it>, r=mrbkap 2006-03-24 18:32:11 +00:00
dbaron%dbaron.org
d8b42e96fc Fix C++ comments that I introduced. 2006-03-24 08:32:09 +00:00
dbaron%dbaron.org
ace148d610 Workaround brokenness of __builtin_frame_address(0) on gcc 4.1 (as shipped with FC5, at least). b=331436 r=brendan 2006-03-23 23:21:27 +00:00
brendan%mozilla.org
b22355da41 Missing OBJECT_TO_JSVAL to fix warning introduced by last checkin. 2006-03-23 21:02:43 +00:00
igor%mir2.org
dadb71b144 Bug 330692: GC_MARK_DEBUG-only arguments are removed when GC_MARK_DEBUG is not defined. r=brendan 2006-03-23 11:50:30 +00:00
mrbkap%gmail.com
7a4858081c Don't add unnecessary quotes to the rhs of the descendant operator. bug 321547, r=brendan 2006-03-23 05:36:20 +00:00
mrbkap%gmail.com
cb3b07a687 Continue to create an exception even when we're unable to convert a function passed as an argument to a string. This fixes some cases where an exception would become uncatchable. bug 328443, r=brendan 2006-03-23 05:16:39 +00:00
mrbkap%gmail.com
c29adb7907 Root the new function across XDR operations to make sure it doesn't get garbage collected. bug 327708, r=brendan 2006-03-23 05:12:27 +00:00
mrbkap%gmail.com
0f68c9e245 Protect against scripts setting __proto__ to null. bug 317250, hopeful-r=brendan 2006-03-23 02:24:45 +00:00
mrbkap%gmail.com
7685d1b7e0 Create the PropertyIterator object with a default parent so that when we attempt to find the PropertyIterator constructor, we look up the default scope chain and not one that we might not have access to. bug 328012, r=brendan 2006-03-23 01:25:21 +00:00
mrbkap%gmail.com
f9460f5c90 Always innerize the variables object to ensure that random properties don't get stuck on the outer object. bug 317250, r=brendan 2006-03-22 21:44:31 +00:00
igor%mir2.org
bd61ffbe63 Bug 324278: Implementation of GC marking algorithm that uses constant space for
any kind of GC things. r=brendan

The main idea is to put a GC thing to a special "unscanned bag" instead of recursively calling GC_MARK on thing's children when C stack is slow. Then later the code loops through the bag marking the children until the bag is empty.

The unscanned bag is implemented as a linked list of GC arenas where things that belongs to the bug marked with GCF_MARK|GCF_FINAL combination. To avoid long scanning of arenas on the list, the code uses a bitmask per arena to indicate which pages within the arena contains unscanned things and an extra bitmask per page to indicate offset range withing the page of the unscanned things.
2006-03-22 15:38:43 +00:00
mrbkap%gmail.com
309575af1a I didn't mean to check this in. 2006-03-22 07:29:49 +00:00
mrbkap%gmail.com
45b704978a Used standard IO functions in snarf so that things work equally well on Linux and Windows. No bug, patch by Brendan, r=mrbkap 2006-03-22 07:26:31 +00:00
mrbkap%gmail.com
dc0e278951 Fixing some silliness from my last checkin, tokenstr takes a tokentype, not the token itself. r=brendan 2006-03-22 06:23:59 +00:00
mrbkap%gmail.com
1d4b9a7b0a Handle assignment inside the then part of ternary expressions correctly according to the ECMAScript grammar. bug 330975, r=brendan 2006-03-22 03:00:03 +00:00
brendan%mozilla.org
1d810ceadf More Windows warning fixes. 2006-03-22 01:39:40 +00:00
brendan%mozilla.org
c37c9150ee Warning fix for MSVC. 2006-03-22 01:37:27 +00:00
cls%seawood.org
0828b79df3 Fix mingw cross-compile bustage.
Bug #322578 r=mark sr=bsmedberg
2006-03-21 03:04:54 +00:00
mrbkap%gmail.com
5c696de243 Don't forget to throw syntax errors for missing parentheses or brackets. bug 331127, r=brendan 2006-03-20 20:57:51 +00:00
mrbkap%gmail.com
f60971fc05 Don't pollute String.prototype. bug 330976, r=brendan 2006-03-20 20:15:15 +00:00
bclary%bclary.com
410c7162e5 Regression test for bug 329530, by Erik Fabert 2006-03-20 19:55:22 +00:00
bclary%bclary.com
0e5f054b05 Regression test for bug 330976, by Blake Kaplan 2006-03-20 19:05:49 +00:00
bclary%bclary.com
4b20c14c15 Regression test for bug 330951, by Pawel Chmielowski 2006-03-20 00:40:45 +00:00
dbaron%dbaron.org
4a829838f0 Use __builtin_frame_address instead of setjmp to get the frame pointer. b=323853 r=brendan 2006-03-19 01:27:17 +00:00
igor%mir2.org
cdc28d9089 Bug 330951: Patch from Pawel Chmielowski to fix a regression that I introduced in bug 311515. 2006-03-18 23:36:04 +00:00
igor%mir2.org
a254e22506 Bug 330951: Asserting that string arguments str1 and str2 arguments are not NULLs in js_CompareStrings and js_EqualStrings.
Previously passing str1 and str2 set to NULL did not crash as str1 and str2 compared equals as pointers and the functions returned true without accessing *str1 or *str2. In turn it allowed for the regression from bug 311515 causing this bug to survive much longer then it should. r=brendan.
2006-03-18 23:29:15 +00:00
igor%mir2.org
14a2473a5d Bug 330812: In array_sort clear only those elements of temporary vector that
would be included in the rooted set. It provides better performance for huge
mostly spare arrays. r=mrbkap
2006-03-17 22:09:46 +00:00
nboyd%atg.com
e61b68c185 Add another user. 2006-03-17 16:16:29 +00:00
igor%mir2.org
5f57130e34 Bug 311515: Fixing misspellings in comments from the previous commit. 2006-03-16 08:04:28 +00:00