Commit Graph

7714 Commits

Author SHA1 Message Date
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