7691 Commits

Author SHA1 Message Date
mrbkap%gmail.com
88979897f4 Use a shiny new API for propagating uncaught exceptions. bug 328161, r=brendan sr=shaver
git-svn-id: svn://10.0.0.236/trunk@199173 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-07 00:19:29 +00:00
mrbkap%gmail.com
eed105f2b9 Protect more properties on catch variables. bug 338709, r=brendan
git-svn-id: svn://10.0.0.236/trunk@199061 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-05 21:07:22 +00:00
brendan%mozilla.org
04057483ef DEBUG_NOT_THROWING addition for new auto-rethrow-if-exception-pending code.
git-svn-id: svn://10.0.0.236/trunk@199059 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-05 20:54:24 +00:00
brendan%mozilla.org
6395532ef8 Eliminate warnings, clean up assertion translation.
git-svn-id: svn://10.0.0.236/trunk@199058 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-05 20:35:07 +00:00
brendan%mozilla.org
8f22b7fbd0 Missing error check/early return for TOK_RETURN refactoring (340369, r=mrbkap).
git-svn-id: svn://10.0.0.236/trunk@199041 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-05 18:38:14 +00:00
brendan%mozilla.org
a85698177b Fix orange balsa by landing mrbkap's patch for 326497, plus other fixes (340340, r=mrbkap).
git-svn-id: svn://10.0.0.236/trunk@199021 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-05 07:18:02 +00:00
brendan%mozilla.org
6274493000 Coroutine generators, a la Python 2.5 (326466, r=igor).
git-svn-id: svn://10.0.0.236/trunk@198979 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-04 02:19:09 +00:00
dbaron%dbaron.org
7c3f0a1ba9 Add a comment, rs=brendan.
git-svn-id: svn://10.0.0.236/trunk@198930 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-03 02:40:02 +00:00
brendan%mozilla.org
e79d4e8eda Better failover to js_DefaultIterator if __iterator__ comes back primitive (340199, r=mrkbap).
git-svn-id: svn://10.0.0.236/trunk@198929 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-03 02:30:39 +00:00
brendan%mozilla.org
9e1e825de7 Get value from original object when enumerating prototype objects via for-each-in (339169, r=mrbkap).
git-svn-id: svn://10.0.0.236/trunk@198860 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-02 06:30:05 +00:00
mrbkap%gmail.com
d6cfd4756a Fixing some failures that were not being properly propagated. no bug, r=brendan
git-svn-id: svn://10.0.0.236/trunk@198843 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-02 00:51:56 +00:00
igor.bukanov%gmail.com
deb08eaa35 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
git-svn-id: svn://10.0.0.236/trunk@198837 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-01 22:13:56 +00:00
bryner%brianryner.com
60b358c36a 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
git-svn-id: svn://10.0.0.236/trunk@198821 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-01 20:04:29 +00:00
pedemont%us.ibm.com
92e1d3560e Bug 339871 - Scriptable nsIXPCFunctionThisTranslator uses non-scriptable nsIInterfaceInfo. r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@198818 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-01 19:31:39 +00:00
bclary%bclary.com
2d906c0af4 JavaScript Test Library - segregate GC tests, bug 339835
git-svn-id: svn://10.0.0.236/trunk@198811 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-01 17:55:36 +00:00
szegedia%freemail.hu
35776d0b3b Bugfix for #321938: Credited patch author
git-svn-id: svn://10.0.0.236/trunk@198799 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-01 14:30:19 +00:00
szegedia%freemail.hu
cc52594002 Bugfix for #321938: XML and XMLList literals don't decompile correctly. Thanks to Yuh-Ruey Chen
git-svn-id: svn://10.0.0.236/trunk@198798 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-01 14:29:15 +00:00
brendan%mozilla.org
522643291d Fix to cope with null __proto__ (339685, r=mrbkap).
git-svn-id: svn://10.0.0.236/trunk@198766 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-31 21:41:54 +00:00
igor.bukanov%gmail.com
2f1b0e5e50 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.
git-svn-id: svn://10.0.0.236/trunk@198755 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-31 19:11:52 +00:00
szegedia%freemail.hu
f82b3d860b Bugfix for #324006: According to ECMA-262 15.10.6.1: RegExp.prototype.constructor == RegExp
git-svn-id: svn://10.0.0.236/trunk@198559 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-29 10:28:09 +00:00
szegedia%freemail.hu
07b1a76564 Bugfix for #293958
git-svn-id: svn://10.0.0.236/trunk@198541 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-28 20:09:29 +00:00
szegedia%freemail.hu
a99833c0a1 Bugfix for #335992
git-svn-id: svn://10.0.0.236/trunk@198535 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-28 17:19:33 +00:00
szegedia%freemail.hu
f31dd06753 Bugfix for #322265: clarified that you mustn't call an InterpretedFunction with null.
git-svn-id: svn://10.0.0.236/trunk@198534 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-28 17:15:24 +00:00
szegedia%freemail.hu
9cd0123ba6 Fix for bug #309957
git-svn-id: svn://10.0.0.236/trunk@198533 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-28 16:08:05 +00:00
brendan%mozilla.org
0ded5ffe84 Oops, s/NULL/JS_FALSE/.
git-svn-id: svn://10.0.0.236/trunk@198466 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-26 18:01:41 +00:00
brendan%mozilla.org
bc4a36e182 Avoid bad old valueOf call attempt for object-to-object conversion (339256, r=mrbkap).
git-svn-id: svn://10.0.0.236/trunk@198464 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-26 17:34:08 +00:00
brendan%mozilla.org
365e4ad053 Fix off-by-one and logic bugs conspiring against catch blocks (339262, r=mrbkap).
git-svn-id: svn://10.0.0.236/trunk@198428 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-25 22:23:37 +00:00
gavin%gavinsharp.com
fa5240b78f Bug 265871: rename JavaScript console to Error console, patch by Kurt <supernova_00@yahoo.com>, r=mconnor, ui-r=beltzner, sr=neil/bzbarsky
git-svn-id: svn://10.0.0.236/trunk@198424 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-25 21:22:32 +00:00
mrbkap%gmail.com
fad5e9fc7d Fix MSVC warnings about assigning a wider variable into a narrower one resulting from the checkin for bug 338678. r=brendan
git-svn-id: svn://10.0.0.236/trunk@198349 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-24 21:07:55 +00:00
mrbkap%gmail.com
8c235a70e2 Use the correct scope chains when creating iterator objects and StopIteration exceptions to prevent weird object from breaking iteration. bug 338307, r=brendan
git-svn-id: svn://10.0.0.236/trunk@198345 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-24 20:26:54 +00:00
benjamin%smedbergs.us
80709e28a5 Bug 339008 - Static string in xpconnect makes libxul builds crash, r=mrbkap with a nit by timeless
git-svn-id: svn://10.0.0.236/trunk@198324 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-24 13:35:37 +00:00
bclary%bclary.com
3e7ef27095 JavaScript Test Library - Regression test for bug 304376. Remove incorrect check for constructor name
git-svn-id: svn://10.0.0.236/trunk@198312 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-24 06:24:40 +00:00
bclary%bclary.com
6a87224490 Bug 336686 - js shell - add pdb files for debugging on windows, r=mrbkap
git-svn-id: svn://10.0.0.236/trunk@198311 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-24 05:51:22 +00:00
igor%mir2.org
acf645718d Bug 338804: Making rooting bulletproof. r=mrbkap,sr=brendan
git-svn-id: svn://10.0.0.236/trunk@198250 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-23 07:54:17 +00:00
bclary%bclary.com
b129267abf JavaScript Test Library - Regression test for bug 336100, fix shell test
git-svn-id: svn://10.0.0.236/trunk@198248 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-23 02:43:32 +00:00
brendan%mozilla.org
eb456efdfb Make anonymous classes really anonymous given self-identified global objects (326466, r=mrbkap).
git-svn-id: svn://10.0.0.236/trunk@198231 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-22 23:36:32 +00:00
mrbkap%gmail.com
5fda27c80f Instead of having a source note per variable type, use a single source note with an immediate operand. bug 336378, r=brendan
git-svn-id: svn://10.0.0.236/trunk@198230 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-22 23:33:57 +00:00
igor%mir2.org
642c0ea402 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
git-svn-id: svn://10.0.0.236/trunk@198222 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-22 22:58:31 +00:00
mrbkap%gmail.com
01a66fb119 fp->thisp can point to a primitive tagged jsval now, so test that before treating it as a GC thing. bug 336804, r=brendan
git-svn-id: svn://10.0.0.236/trunk@198219 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-22 22:46:07 +00:00
mrbkap%gmail.com
96f572626e Look before we leap: check to make sure that we don't overwrite readonly properties on catch variables. bug 338709, r=brendan
git-svn-id: svn://10.0.0.236/trunk@198208 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-22 21:54:54 +00:00
bclary%bclary.com
027fe89c14 Regression test for bug 333728, by Andreas
git-svn-id: svn://10.0.0.236/trunk@198133 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-22 01:06:34 +00:00
brendan%mozilla.org
2fb9f8c051 First big wave of js1.7 changes (326466, 336376, r=mrbkap).
git-svn-id: svn://10.0.0.236/trunk@198099 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-20 22:27:28 +00:00
igor%mir2.org
d34771b2e5 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
git-svn-id: svn://10.0.0.236/trunk@197989 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-19 10:25:36 +00:00
igor%mir2.org
a4a6d0ff40 Bug 312238: reverting untill build problems will be sort out.
git-svn-id: svn://10.0.0.236/trunk@197984 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-19 09:35:11 +00:00
igor%mir2.org
d456690b29 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
git-svn-id: svn://10.0.0.236/trunk@197982 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-19 09:31:32 +00:00
brendan%mozilla.org
b594f7801e Beef up sanity checking (338121, r=mrbkap).
git-svn-id: svn://10.0.0.236/trunk@197923 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-18 17:12:14 +00:00
szegedia%freemail.hu
4ea0d44d71 Implementing Serializable so that continuations captured within a "with" block can be serialized.
git-svn-id: svn://10.0.0.236/trunk@197842 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-17 08:23:14 +00:00
mrbkap%gmail.com
3ca8a435e7 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
git-svn-id: svn://10.0.0.236/trunk@196672 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-16 14:47:28 +00:00
brendan%mozilla.org
78cc4a35c6 Add integer overflow checking (338001, r=mrbkap).
git-svn-id: svn://10.0.0.236/trunk@196660 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-16 09:22:55 +00:00
szegedia%freemail.hu
9c5d1bd42f Fix for #326563: documentation clarification
git-svn-id: svn://10.0.0.236/trunk@196459 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-13 11:23:00 +00:00