Граф коммитов

6420 Коммитов

Автор SHA1 Сообщение Дата
bob%bclary.com 66c489af81 Initial add. Regression test for bug 252892, by archer@meta-comm.com, brendan@mozilla.org 2005-02-24 05:06:49 +00:00
bob%bclary.com 77265a8b06 Initial add. Regression test for bug 248444, by timeless@mozdev.org 2005-02-24 05:04:36 +00:00
bob%bclary.com 9d3b2d753a Initial add. Regression test for bug 247179, by jim@jibbering.com, malcolm-bmo@farside.org.uk 2005-02-24 05:02:35 +00:00
bob%bclary.com 6b66535c94 Initial add. Regression test for bug 246964, by brendan@mozilla.org, bzbarsky@mit.edu, steven.chapel@sbcglobal.net 2005-02-24 04:58:33 +00:00
bob%bclary.com 68901aedf2 Initial add. Regression test for bug 246911, by thingol@mail.ru 2005-02-24 04:55:50 +00:00
bob%bclary.com 4f86eeb06f Initial add. Regression test for bug 245795, by timeless@mozdev.org 2005-02-24 04:54:04 +00:00
bob%bclary.com 5a75bf0901 Initial add. Regression test for bug 245308, by silver@warwickcompsoc.co.uk 2005-02-24 04:52:14 +00:00
bob%bclary.com 7ee48e192c Initial add. Regression test for bug 245113, by jerfa@yahoo.com 2005-02-24 04:49:50 +00:00
bob%bclary.com 9d4bc03944 Initial add. Regression test for bug 244619, by hassman@czilla.cz 2005-02-24 04:45:09 +00:00
bob%bclary.com 58fa55dcf0 Initial add. Regression test for bug 244470, by jerfa@yahoo.com 2005-02-24 04:42:41 +00:00
bob%bclary.com 46c992afa8 Initial add. Regression test for bug 243869, by ajvincent@gmail.com 2005-02-24 04:40:21 +00:00
bob%bclary.com b8fdd52164 Initial add. Regression test for bug 243389, by bugzilla@gemal.dk 2005-02-24 04:38:29 +00:00
bob%bclary.com f2f7f0314f Initial add. Regression test for bug 243174, by brendan@mozilla.org 2005-02-24 04:36:11 +00:00
bob%bclary.com 46de67889e Initial add. Regression test for bug 240317 2005-02-24 04:33:59 +00:00
bob%bclary.com 564a6f7814 Initial add. Regression test for bug 238881, by brendan@mozilla.org 2005-02-24 04:31:56 +00:00
brendan%mozilla.org 0cbc6f1d33 Fix instanceof to throw a TypeError if the RHS doesn't have a [[HasInstance]] internal method, per ECMA-262 Ed. 3 (r=shaver). 2005-02-24 00:06:43 +00:00
bob%bclary.com 852e442fdb Initial add. Regression test for bug 237461, by archer@meta-comm.com 2005-02-23 22:51:45 +00:00
bob%bclary.com 5fe13223b2 Initial add. Regression test for bug 233483, by m-wada@japan.com 2005-02-23 22:48:26 +00:00
bob%bclary.com 29416c0de6 Initial add. Regression test for bug 231518, by dragosan@dragosan.net, martin.honnen@arcor.de 2005-02-23 22:44:38 +00:00
bob%bclary.com d60d7d6f75 Initial add. Regression test for bug 230216, by brendan@mozilla.org 2005-02-23 22:41:54 +00:00
bob%bclary.com 30c598528e Initial add. Regression test for bug 230216, by igor@mir2.org 2005-02-23 22:40:21 +00:00
bob%bclary.com 4336d30b8e Initial add. Regression test for bug 229006, by dbaron@mozilla.org 2005-02-23 22:34:39 +00:00
bob%bclary.com 551f4e2c27 Initial add. Regression test for bug 203278, by igor@mir2.org 2005-02-23 22:32:31 +00:00
bob%bclary.com 7754c46559 Initial add. Regression test for bug 203278, by ash@huntwork.com 2005-02-23 22:30:40 +00:00
bob%bclary.com 719e38587d Initial add. Regression test for bug 174709, by Q42.nl, martijn.martijn@gmail.com 2005-02-23 22:27:37 +00:00
bob%bclary.com c4df7d638f Initial add. Regression test for bug 162392. 2005-02-23 22:23:02 +00:00
brendan%mozilla.org e2c403d6f4 Fix from Juergen Kreileder <jk@blackdown.de> for 32-bit processes on 64-bit OSes that map the heap up against the 0x100000000 wall (279273, r=shaver). 2005-02-23 21:36:10 +00:00
brendan%mozilla.org 99917980ea Avoid recycling an overlarge arena from the evil arena_freelist, in case the new consumer is itself oversized and therefore owns the entire allocation (283234, r=shaver). 2005-02-23 21:31:58 +00:00
bob%bclary.com 8422dd5fb6 Initial add. Regression test for bug 10278. 2005-02-23 21:27:57 +00:00
brendan%mozilla.org 32a06e8050 Specialize for QARG and QVAR types within JOF_NAME format in js_DecompileValueGenerator (281487, r=shaver). 2005-02-23 02:40:40 +00:00
brendan%mozilla.org 5b39984627 Null |obj| VM register for correct |this| binding (281930, r=shaver). 2005-02-22 23:25:49 +00:00
igor%mir2.org d6d018f0b6 Resolving bug 282595: patch from Juerg lehni <juerg@scratchdisk.com> to allow
for several setters for bean properties.
2005-02-18 23:06:39 +00:00
shaver%mozilla.org 0667b9db73 Bug 273931: pop With objects from scope chain as appropriate, when resetting
stack depth due to exception-handling flow control jumps. r=brendan.
2005-02-18 16:06:49 +00:00
timeless%mozdev.org 712a1eccb6 Bug 273953 Crash during GC after leaving page in URL
patch by dbradley@gmail.com r=jst sr=brendan
2005-02-18 06:39:11 +00:00
brendan%mozilla.org dff15a4252 Fix off-by-one-slot bug in logic guarding mark on obj->slots - 1 (279858, r=shaver, a=dbaron). 2005-02-17 19:07:59 +00:00
igor%mir2.org c57a9a3c25 Implementing bug 274467: Add JavaScript stack trace to exceptions
The changes are based on that patch from Attila Szegedi, szegedia@freemail.hu.
2005-02-16 19:57:03 +00:00
igor%mir2.org 4130b9bffa Fixing bug 282447: patch from Attila Szegedi <szegedia@freemail.hu> to fix NullPointerException. 2005-02-16 12:11:42 +00:00
brendan%mozilla.org 2af476b070 Fix Detecting to cope with no active frames on cx (281984, r=jst). 2005-02-15 19:20:00 +00:00
gerv%gerv.net 368104ffe6 Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-02-13 00:07:56 +00:00
gerv%gerv.net 8c57572d65 Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-02-12 20:11:18 +00:00
igor%mir2.org 7bdfe51648 Fixing bug 281537, a regression introduced due to work on bug 280047. It was reported by Attila Szegedi, szegedia@freemail.hu, who also provided the initial patch. 2005-02-09 15:46:50 +00:00
igor%mir2.org bb1ee0458d Implementing bug 281247: JDK compatibility is implemented through VMBridge class and its subclasses to avoid excessive reflection usage. 2005-02-07 07:34:32 +00:00
igor%mir2.org 7ef36e99a0 I removed unused Context argument from various SomeObject.init methods to decrease code bloat. 2005-02-06 01:56:46 +00:00
igor%mir2.org 26f82f20b1 I chaged JavaAdapter to store ContextFactory in the proxy object directly instead of extracting it from scope. It ensures that the proper factory is used to reenter Context objects even if scope stored in the adapter is manipulated and no longer contains the reference to factory. 2005-02-06 01:14:24 +00:00
igor%mir2.org 73ddc72a0e Fixing bug 281067: patch from Attila Szegedi, szegedia@freemail.hu, to allow to garbage collect unused Rhino classes. 2005-02-04 15:53:05 +00:00
bryner%brianryner.com f5257db823 Clean up unneeded REQUIRES (bug 73353). r+sr=dbaron. 2005-02-03 23:01:54 +00:00
brendan%mozilla.org b9fc239625 Update JSNewResolveOp's comment to talk about the new JSRESOLVE_ flags. 2005-02-03 22:25:10 +00:00
gerv%gerv.net dabddf2034 Bug 236613: change to MPL/LGPL/GPL tri-license. This checkin does not actually change any licenses, but makes indentation and comment-formatting fixes so that the relicensing script is able to parse all the license blocks in the js/ directory. Once the smoke has cleared, I'll do the second step. 2005-02-02 23:52:03 +00:00
darin%meer.net ec8b7d8f85 applying shaver's review nit for bug 235499 2005-02-02 22:22:45 +00:00
darin%meer.net c9632fecf5 landing xpconnect patch for bug 235499 "re-enable string buffer sharing between C++ and JS in xpconnect" r=shaver sr=jst 2005-02-02 22:20:28 +00:00
igor%mir2.org 90f67281a3 Fixing bug 280629: Compatibility patch to add Main.dispose() 2005-02-01 20:41:21 +00:00
nboyd%atg.com d8a2fd79c1 Update link to ECMA standard 2005-02-01 18:49:56 +00:00
brendan%mozilla.org bfd333af3f Fix GC_MARK_DEBUG-#ifdef'd code for E4X (timeless private bug). 2005-02-01 02:35:31 +00:00
brendan%mozilla.org 6cf3e9a4ec Improve GC_MARK_DEBUG strings a bit, tweak a comment. 2005-02-01 00:54:34 +00:00
brendan%mozilla.org c7eaba5a0a Pass origobj, not obj, to OBJ_GET_PROPERTY for for-each-in on non-XML objects (bug reported by Martin Honnen, diagnosis by jband). 2005-01-31 07:19:07 +00:00
brendan%mozilla.org 9ae86dc9bc Fix js_LineNumberToPC to cope with code reordering, especially in JSOP_CONDSWITCH (1113352, r=shaver). 2005-01-29 18:31:46 +00:00
dbaron%dbaron.org 13ad340e6a Convert CR-LF and CR linebreaks to LF. 2005-01-28 20:01:46 +00:00
brendan%mozilla.org 72fd33f7f7 Toggle JSOPTION_COMPILE_N_GO around compilation in JS_EvaluateUCInStackFrame (280086, r=shaver). 2005-01-28 18:14:05 +00:00
igor%mir2.org 356370801a Implementing bug 280047: Undefined no longer implements Scriptable 2005-01-27 16:35:39 +00:00
igor%mir2.org 21add3734f Always use Undefined.instance and not Context.getUndefinedValue() for consistency. 2005-01-27 00:59:59 +00:00
igor%mir2.org 0791ba8d5b Changing deprecated EcmaError.getErrorObject to return null for smaller footprint 2005-01-27 00:57:38 +00:00
igor%mir2.org bacb410d10 Fixing JavaDoc formating 2005-01-27 00:55:08 +00:00
brendan%mozilla.org e8a73cb887 s/DEBUG_brendan/DEBUG_notme/g 2005-01-25 19:39:45 +00:00
brendan%mozilla.org b0ace36743 Fix old bug in JSOP_CONDSWITCH codegen (278873, r=shaver). 2005-01-25 19:34:37 +00:00
brendan%mozilla.org fe6b4edf3e Followup to fix for 123668, to handle newborns and mark small object slots before checking for stack-quota-exceeded (Deutsch-Schorr-Waite). 2005-01-25 09:02:22 +00:00
brendan%mozilla.org e6e76123d4 Fix js_GetArgsObject to skip debugger/eval frames (162392, r=shaver). 2005-01-25 05:56:37 +00:00
brendan%mozilla.org 485450f512 Add getpda shell function for debugging. 2005-01-25 03:22:16 +00:00
brendan%mozilla.org fad77d58a6 Fix GC hole in JSOP_NAMEDFUNOBJ found by tellme.com folks (279636, r=jband). 2005-01-25 02:22:25 +00:00
nboyd%atg.com fef9cb9470 Seppia 2005-01-24 15:46:44 +00:00
brendan%mozilla.org c15a134cdd Back up one token after skipping a now-tokenized (now as of E4X) comment (279483, r=shaver). 2005-01-24 00:02:59 +00:00
igor%mir2.org 6d48a85ee1 Reverting Ref to the original implementation which did not pass an additional
"Scriptable target" argument to Ref.(get|set|has|delete) methods. The idea was
to optimize away in many cases creation of Ref instances, but given that modern
JVM can GC short-lived objects efficiently it does not sound right to have code
complexity now in the hope of slightly more efficient implementation later.
2005-01-22 20:26:08 +00:00
igor%mir2.org f73e4917d6 Removal of GETVAR SETVAR -> NAME SETNAME transformations during code generation
for functions with activation records  as NodeTransformer never introduce VAR
node if activation would be created.
2005-01-22 00:06:00 +00:00
igor%mir2.org 0bb1b838fc 1. Removal of passing of unused scope argument to ScriptRuntime.in|instanceOf
2. Compacting interpreter loop via reusing common parts for binary operations.
2005-01-21 18:03:41 +00:00
igor%mir2.org 22e3a1efca Removal of passing unused scope argument to ScriptRuntime.in|instanceOf 2005-01-21 18:02:11 +00:00
igor%mir2.org 1cd55fde7f Removal of invoker optimization as under JDK >= 1.4 it does not make things
visibly faster and under GCJ it makes thinks worse.
2005-01-20 19:45:27 +00:00
nboyd%atg.com df0b403f21 adding xmoon 2005-01-20 18:30:29 +00:00
brendan%mozilla.org 598a3544b0 Fix XMLToXMLString to cope with a tag name in a default namespace that is not the declared default namespace for the tag (277779, r=shaver). 2005-01-20 01:02:49 +00:00
brendan%mozilla.org 22297bb5b0 Disallow PIs with target name 'xml' (277683, r=shaver). 2005-01-20 00:56:34 +00:00
brendan%mozilla.org 8e5f3c26bb Enforce Unique Att Spec for XML in JS (277664, r=shaver). 2005-01-20 00:50:59 +00:00
brendan%mozilla.org 7579b86c27 Allow xml:lang and other xml namespace ids (277650, r=shaver). 2005-01-20 00:46:17 +00:00
brendan%mozilla.org 4134210595 Remove bogus assert in MarkGCThing, fix order of operation in js_NewObject to avoid losing the newborn root (278725, r=shaver). 2005-01-19 02:25:40 +00:00
igor%mir2.org 22cf07ef28 Work on bug 264637: BaseFunction.functionName is removed as was suggested by Attila Szegedi <szegedia@freemail.hu> :
I assume "functionName" in BaseFunction could also undergo a similar treatment
of being replaced with an abstract getFunctionName() method, couldn't it? The
function name is either calculable from other data (FieldAndMethods, overloaded
case of NativeJavaMethod*, NativeJavaConstructor, InterpetedFunction) or fixed
(NativeRegExpCtor) in lots of subclasses.
2005-01-17 13:06:34 +00:00
brendan%mozilla.org 496ad03465 Patch from Erik Fabert <jerfa@yahoo.com> to fix splice/concat/slice number-of-formals 'length' property values (274035, r=me). 2005-01-15 04:34:39 +00:00
igor%mir2.org 45600b4578 Fixing bug 277537: implementing isXMLName() 2005-01-14 14:13:56 +00:00
nboyd%atg.com 7aaca38a0f Add Lombardi 2005-01-14 13:34:29 +00:00
igor%mir2.org 585ec6072c Test case for isXMLName(s) 2005-01-13 19:42:38 +00:00
jst%mozilla.jstenback.com 1dac01dd1c s/JS_FALSE/NULL/ in return value in JSParseNode* method. sr=me 2005-01-12 19:59:54 +00:00
jst%mozilla.jstenback.com 24525db32d Fixing bug 265174. Quiet down compiler warnings on Linux x86_64. r+sr=brendan@mozilla.org 2005-01-12 19:56:32 +00:00
timeless%mozdev.org 53083ce68a Bug 277887 r:\mozilla\js\src\liveconnect\jsj_JavaClass.c(549) : warning C4113: 'JSBool (__cdecl *)(JSContext *,JSObject *,jsid,JSObject ** ,JSProperty ** ,const char *,uintN)' differs in parameter lists from 'JSLookupPropOp'
fallout from bug 246441
r=brendan
2005-01-12 19:21:11 +00:00
timeless%mozdev.org 34eceab05c Bug 277741 bad copy/paste of NS_ASSERT_OWNINGTHREAD(_class)
r=dbradley sr=dbaron
2005-01-12 19:20:01 +00:00
igor%mir2.org 7f1b90a034 *** empty log message *** 2005-01-12 17:44:22 +00:00
igor%mir2.org 65bd8f3f3c Fixing bug 277935: now parser throws syntax error on assignments to descendants like x..y = 1 2005-01-12 14:21:06 +00:00
brendan%mozilla.org 7f453727e7 Make reserved identifiers a strict warning, not an error (240317, r=shaver). 2005-01-12 05:18:17 +00:00
igor%mir2.org 1aed76340a Added check for a..b += xxx as well 2005-01-11 15:46:51 +00:00
igor%mir2.org e02144e350 Test case for Rhino bug 277935 2005-01-11 15:39:51 +00:00
igor%mir2.org 571c08aac0 JavaDoc fix: refer to WrapFactory, not already removed WrapHandler 2005-01-11 10:50:36 +00:00
igor%mir2.org d4f9f16668 Less bloated implementation of Kit.semicolonSplit 2005-01-10 01:26:36 +00:00
igor%mir2.org 8f38ec0317 Fix from Dave Russo <d-russo@ti.com>:
While investigating how Rhino loads Java packages I came across what
appears to be a "typo" bug in NativeJavaTopPackage.java; a missing
semicolon in a string results in minor performance degradation for
script accessing the java.lang.reflect and java.lang.io packages.
2005-01-10 01:25:26 +00:00
brendan%mozilla.org 8fa7ab7b9a Unregress default exception reporting (276061, r=shaver, a=asa). 2005-01-07 03:35:36 +00:00
brendan%mozilla.org c64caec7ca Revamp the GC to fix E4X private data dueling GC bugs, to reduce malloc costs for small-ish objects and functions, and to pave the way for further GC wins (123668, r=shaver, TAKE 2). 2005-01-05 06:15:03 +00:00