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

6301 Коммитов

Автор SHA1 Сообщение Дата
brendan%mozilla.org 7933c6fbca 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 31d9030dd0 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 e8ace4f904 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 735bd73b49 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 21a82d04e9 Removal of passing unused scope argument to ScriptRuntime.in|instanceOf 2005-01-21 18:02:11 +00:00
igor%mir2.org 077cf2b7b6 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 f5fec7715b adding xmoon 2005-01-20 18:30:29 +00:00
brendan%mozilla.org af45dbe52f 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 d3f3eb9e90 Disallow PIs with target name 'xml' (277683, r=shaver). 2005-01-20 00:56:34 +00:00
brendan%mozilla.org 1df62774bd Enforce Unique Att Spec for XML in JS (277664, r=shaver). 2005-01-20 00:50:59 +00:00
brendan%mozilla.org 052d017c52 Allow xml:lang and other xml namespace ids (277650, r=shaver). 2005-01-20 00:46:17 +00:00
brendan%mozilla.org c4f9945247 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 bcf9f00787 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 70ff275ddd 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 b5245d48f0 Fixing bug 277537: implementing isXMLName() 2005-01-14 14:13:56 +00:00
nboyd%atg.com 549953071c Add Lombardi 2005-01-14 13:34:29 +00:00
igor%mir2.org 118352e5d7 Test case for isXMLName(s) 2005-01-13 19:42:38 +00:00
jst%mozilla.jstenback.com d813e46363 s/JS_FALSE/NULL/ in return value in JSParseNode* method. sr=me 2005-01-12 19:59:54 +00:00
jst%mozilla.jstenback.com 0472c0073e 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 38a2c35650 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 6b1df2ec98 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 c09d14b3ba *** empty log message *** 2005-01-12 17:44:22 +00:00
igor%mir2.org f4c72a6056 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 33a75c4caa Make reserved identifiers a strict warning, not an error (240317, r=shaver). 2005-01-12 05:18:17 +00:00
igor%mir2.org d807c55305 Added check for a..b += xxx as well 2005-01-11 15:46:51 +00:00
igor%mir2.org e114a0bed4 Test case for Rhino bug 277935 2005-01-11 15:39:51 +00:00
igor%mir2.org 535ee87833 JavaDoc fix: refer to WrapFactory, not already removed WrapHandler 2005-01-11 10:50:36 +00:00
igor%mir2.org 8c1a6b5877 Less bloated implementation of Kit.semicolonSplit 2005-01-10 01:26:36 +00:00
igor%mir2.org 1b2509d0f0 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 3b52333710 Unregress default exception reporting (276061, r=shaver, a=asa). 2005-01-07 03:35:36 +00:00
brendan%mozilla.org 92552356eb 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
brendan%mozilla.org 136eda6655 Always call the standard input 'typein', as xpcshell does, in error reports. 2005-01-05 04:29:35 +00:00
brendan%mozilla.org 412eb31b82 Back out, broke liveconnect at least. 2005-01-05 03:58:19 +00:00
brendan%mozilla.org 90eaa50664 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). 2005-01-05 02:56:36 +00:00
brendan%mozilla.org 98f555be58 Fix old GC hazards that bite venkman (277069, r=self). 2005-01-05 00:45:21 +00:00
brendan%mozilla.org 5d3435f4a6 Checking in shaver's patch for bug 275742: E4X for JS components, r=me. 2005-01-04 23:56:56 +00:00
cbiesinger%web.de b233fca20b Bug 276807 add DumpJSValue helper function for debugging
r=dbradley sr=brendan
2005-01-04 22:15:09 +00:00
brendan%mozilla.org b7db19beeb Fix a bogus assertion and related bogus code that bit dmose (246441). 2005-01-03 23:57:56 +00:00
brendan%mozilla.org 4a11eed32a - Fix GetNamespace to conform to the NOTE in ECMA-357 13.3.5.4 Step 4(a).
- Fix XMLToXMLString bug where ancdecls was not updated with a weak ref append
  when a namespace strong ref was appended to decls.  In ECMA-357, ancdecls is
  written out as (AncestorNamespaces U namespaceDeclarations), but here where
  ancestorNSes and decls are unioned early into ancdecls, we need to update
  the unioned set whenever decls is updated.

- Fix ECMA-357 glitch (suboptimal, arguably not an erratum) in ToXMLString
  where XML that uses the default namespace only is converted via toXMLString
  into a string serialization that redeclares that namespace using generated
  prefixes, for every node in the tree.  This is verbose, inefficient, and
  unnecessary.  A trivial tweak to 10.2.1 Step 12(a), to let namespace.prefix
  be the empty string if x.[[Name]].[[Prefix]] is undefined, fixes the bug.

- Const-ipate JSXMLArray * parameters starting with XMLToXMLString's, to be
  sure no one appends a strong ref to a weak-ref-holding |in| parameter.
2005-01-01 17:27:41 +00:00
gerv%gerv.net 709d4de4d5 Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-01-01 16:48:30 +00:00
brendan%mozilla.org 601f8d102a Fix bogus assertion. 2005-01-01 05:45:55 +00:00
brendan%mozilla.org 73314eaa9f Preserve TCF_HAS_DEFXMLNS out of FunctionBody; don't turn comments and cdata into text when folding; disable JSOP_XMLOBJECT optimization for now (246441). 2004-12-31 09:00:41 +00:00
brendan%mozilla.org 3b9a4510d8 Cope with > 65535 local root stack items (246441 fallout). 2004-12-31 08:39:04 +00:00
brendan%mozilla.org 6200e200bf Refine last checkin's change to GetNamespace in light of Erratum (246441). 2004-12-31 08:30:01 +00:00
brendan%mozilla.org d04b609ab4 Default namespace and off-by-1 GeneratePrefix fixes (246441). 2004-12-31 05:27:50 +00:00
igor%mir2.org 4e4d678dc2 Removal of deprecated features including WrapHandler 2004-12-31 01:27:00 +00:00
igor%mir2.org 9ddca6ca8b Deprecated classes that are kept only for compatiblity is moved to a separated source tree to simplify their removal if necessary from compilation scope 2004-12-31 00:02:46 +00:00
igor%mir2.org 98401f483b Fixing JavaDoc for @deprecated methods to make documentation to look less ugly 2004-12-31 00:00:44 +00:00
brendan%mozilla.org 1b567da4f7 Propagate TCF_HAS_DEFXMLNS from parser to constant folder; call js_Mark from xml_mark (246441, r=shaver). 2004-12-30 17:44:41 +00:00
igor%mir2.org 3f3f612462 Context.toType is deprecated in favor of Context.jsToJava which throws EvaluatorException, not IllegalArgumentException.
In this way when native code implementing host objects calls Context.jsToJava the exception can be caught in JS and processed in in the same way as exceptions resulting from bad calls to LiveConnect Java objects.
2004-12-30 15:28:29 +00:00