igor%mir2.org
b482de83cc
Implementing bug 280047: Undefined no longer implements Scriptable
2005-01-27 16:35:39 +00:00
igor%mir2.org
04510f108b
Always use Undefined.instance and not Context.getUndefinedValue() for consistency.
2005-01-27 00:59:59 +00:00
igor%mir2.org
138a27ece8
Changing deprecated EcmaError.getErrorObject to return null for smaller footprint
2005-01-27 00:57:38 +00:00
igor%mir2.org
176ab5ae57
Fixing JavaDoc formating
2005-01-27 00:55:08 +00:00
nboyd%atg.com
6af68b420b
Seppia
2005-01-24 15:46:44 +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
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
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
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
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
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
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
igor%mir2.org
31dea64eae
Added info on seal()
2004-12-14 14:52:40 +00:00
nboyd%atg.com
05a7072e79
Add HttpUnit and HtmlUnit
2004-12-10 01:52:18 +00:00
nboyd%atg.com
f670af373e
remove stale link
2004-12-10 01:35:05 +00:00
nboyd%atg.com
37492ff65e
Conform to style guide
2004-12-08 03:45:55 +00:00
igor%mir2.org
90e539e23a
Patch from Daniel Gredler <danigredler@charter.net> to address bug 271401 :
...
JS prototypes for superclasses with ScriptableObject.defineClass
2004-12-07 00:10:31 +00:00
igor%mir2.org
14f3e3ead3
Link to changes.html
2004-12-01 00:07:07 +00:00
igor%mir2.org
70ece8dc32
Added release date information
2004-11-30 23:23:17 +00:00
nboyd%atg.com
024770db18
Version is 1.6R1
2004-11-29 14:30:28 +00:00
igor%mir2.org
a0c9f8d9ae
*** empty log message ***
2004-11-29 13:07:27 +00:00
igor%mir2.org
a65d6fbe1c
Fixing bug 271545: XML() should bahave exactly as XML("")
2004-11-24 23:16:38 +00:00
igor%mir2.org
ae04809e92
I added DebuggableScript to javadoc list and fixed javadoc warnings about its documentation comments.
2004-11-24 10:38:40 +00:00
igor%mir2.org
14d93f1038
I added debug API to get names of parameters or variables from DebuggableScript.
2004-11-24 10:03:14 +00:00
igor%mir2.org
3f2ace010a
Removal of serialVersionUID which was not used correctly:
...
Rhino never claimed to support binary compatibility in the serialized objects and it is better to use the system generated ids always to catch errors about incompatible changes ASAP.
2004-11-22 13:23:03 +00:00
igor%mir2.org
417113cf5f
Preparations for Rhino 1.6R1 release
2004-11-19 13:27:45 +00:00
igor%mir2.org
9e7f27e3bf
*** empty log message ***
2004-11-19 13:01:16 +00:00
igor%mir2.org
e1e0639343
Renaming DebugGui into SwingGui to better reflect GUI nature
2004-11-19 10:13:04 +00:00
igor%mir2.org
60acf60bc5
Fixing nasty bug which prevented Open/Load to work in GUI among other things: the debugger should enter context using factory.call(...) and not Context.call(...) as the default factory is not the one that is used by GUI.
2004-11-19 10:12:21 +00:00
igor%mir2.org
4b3a0cd41a
For VARARG methods wrap the result in the same way as for other methods: in this way VARARG method returning non-JS-type will get its results properly wrapped as LiveConnect object
2004-11-17 16:48:57 +00:00
igor%mir2.org
5ae3dc38e0
XML no longer implements Wrapper interface. Instead getXmlObject method
...
is added to access the implementation. In this way all functionality
of Java API in XmlObject is available to scripts if they need it.
2004-11-10 23:13:04 +00:00
igor%mir2.org
58aceb81d9
Implement specially NativeJavaObject.getDefaultValue for java.lang.Boolean to match the behavior of JS Boolean object.
2004-10-31 00:15:57 +00:00
igor%mir2.org
5e4041c8e1
Disabling invoker optimization by default: under jdk >= 1.4 and especially with 1.5 it does not bring noticeable benefits with typical usage while increasing loading time and memory consumption and introducing class loading issues.
2004-10-31 00:12:25 +00:00
igor%mir2.org
20d9c33ab6
Work for bug 261278: splitting STRICT_MODE into STRICT_VARS and STRICT_EVAL to allow for better compatibility in future if strictness would be exetended to other areas.
2004-10-28 14:13:05 +00:00
igor%mir2.org
7dc40416b6
Fixing bug 266418: making RegExp serializable
2004-10-28 11:31:38 +00:00
igor%mir2.org
993454366a
Minimizing memory footprint by eliminating class fields:
...
1. IdScriptableObject.maxInstanceId is replaced by overridden getMaxInstanceId()
2. BaseFunction.argumentsProperty is replaced by storing when necessary explicit "arguments" property in ScriptableObject hashmap.
3. NativeFunction.(argNames|argCount|version) is replaced by code that reconstruct the necessary values from embedded in class file or InterpreterData (see bug 264637)
2004-10-25 15:44:24 +00:00
igor%mir2.org
5473ad4f8d
Preparations for Rhino 1.6R1 RC3
2004-10-22 13:34:44 +00:00
igor%mir2.org
02b11dd425
Directory with external jars is renamed from jarlib to lib for consistency with other projects.
2004-10-22 12:36:36 +00:00
igor%mir2.org
0b2d78ab46
Fixing smalljar target implementation to include all the necessary classes and updating documentation about its usage.
2004-10-22 07:49:15 +00:00
igor%mir2.org
f6bd49caa2
Compatibility with Rhino+Continuation fork: in ScriptableObject.callMethod always use object as scope source even if the scope from function does not belong to its prototype chain.
2004-10-21 17:55:14 +00:00