nboyd%atg.com
d6566fc090
Update for later release date, update release notes, remove "pre" from
...
version.
2005-08-30 13:51:34 +00:00
igor%mir2.org
fde1e4c79d
Reference to bug 306419
2005-08-30 10:51:08 +00:00
igor%mir2.org
5f0d4e4d05
Implementing bug 306419: I added missed serialVersionUID declarations for Serializable classes.
2005-08-30 10:45:45 +00:00
igor%mir2.org
a9e51cc6d5
Implementing bug 306419: I added missed serialVersionUID declarations for Serializable classes.
2005-08-30 10:27:42 +00:00
igor%mir2.org
d6e61cc76d
Implementing bug 306419: I added missed serialVersionUID declarations for Serializable classes.
2005-08-30 10:20:21 +00:00
igor%mir2.org
69072d60f2
Implementing bug 306419: I added missed serialVersionUID declarations for Serializable classes.
2005-08-30 10:05:47 +00:00
igor%mir2.org
5fa4884387
Cosmetics: tabs removal
2005-08-30 09:54:24 +00:00
igor%mir2.org
5cbdd9c628
Replacing R.getMessage by ToolErrorReporter.getMessage as the method is static.
2005-08-30 09:50:01 +00:00
igor%mir2.org
7f6f3aec0b
Replacing R.getMessage by ToolErrorReporter.getMessage as the method is static.
2005-08-30 09:42:05 +00:00
igor%mir2.org
25ef00d21e
1. Removal of unused import statements.
...
2. Replacing cx.(toNumber|toString|toObject) by Context.\1 as the
methods are static,
2005-08-30 09:41:02 +00:00
igor%mir2.org
fba63a50fd
Removal of unused import statements.
2005-08-30 09:39:01 +00:00
igor%mir2.org
6498bc1f4d
Replacing cx.VERSION_1_2 by Context.VERSION_1_2 as the field is static.
2005-08-30 08:31:48 +00:00
igor%mir2.org
384cd9c17f
1. Replacing cx.reportRuntimeError1 by Context.reportRuntimeError1
...
since the method is static.
2. Replacing cx.getSourcePositionFromStack by
Context.getSourcePositionFromStack since the method is static. That
allowed to remove Context.getCurrentContext() call before.
2005-08-30 08:26:54 +00:00
igor%mir2.org
c668b3c584
1. Replacing cx.getSourcePositionFromStack by Context.getSourcePositionFromStack since the method is static.
...
2. That allowed to remove Context.getCurrentContext() call before.
2005-08-30 07:58:33 +00:00
igor%mir2.org
ef2989bbd2
Yet another update of JS function as Java interface implementation to print explicit error messages when conversion is not possible.
2005-08-30 07:50:08 +00:00
igor%mir2.org
86a29d689a
Fixing copy-source target to generate proper distribution jars.
2005-08-29 23:24:05 +00:00
igor%mir2.org
3a40845319
Cleanup of JS function as Java interface implementation:
...
1. I removed caching of indicators of which types to convert: it just consumes extra memory without any noticeable benefits.
2. Better comments.
2005-08-29 19:27:17 +00:00
igor%mir2.org
44c06a2fa5
Yet another improvement in not-a-function reporting. Now for foo.bar() when bar does not exist Rhino prints "Can not find function bar"
2005-08-29 14:59:27 +00:00
igor%mir2.org
738a8a6d14
Removal of useless import statementes.
2005-08-29 13:25:32 +00:00
igor%mir2.org
cad58c28dd
Implementing bug 306308: now java.lang.reflect.Proxy is used for function->interface conversion
2005-08-29 10:57:30 +00:00
igor%mir2.org
2077eeee97
Added fixed bug 306268
2005-08-29 06:03:36 +00:00
igor%mir2.org
d30cd8e00d
Eliminating dead code in ScriptRuntime.evalSpecial: Context.compileString
...
never returns with null.
It was reported by Olinda Spider, pat@mcnerthney.com .
2005-08-28 23:44:41 +00:00
igor%mir2.org
568a9d911e
Fixing bug 306268: Patch from Olinda Spider, pat@mcnerthney.com, to fix dot
...
query decompilation.
2005-08-28 23:25:22 +00:00
igor%mir2.org
d50e01de2f
Added ref to bug 306258
2005-08-28 20:43:39 +00:00
igor%mir2.org
0a9495cbab
Fixing 306258: now Rhino can be compiled with Ant under JDK 1.5
2005-08-28 19:51:23 +00:00
igor%mir2.org
45ac052fd9
Changing the example to use the supported syntax, the older syntax did not
...
work since 1.5R1 release or so.
2005-08-28 19:49:21 +00:00
igor%mir2.org
65aa2efb15
Fixing 306258: Allow to compile under JDK 1.5
2005-08-28 19:15:21 +00:00
igor%mir2.org
49ea153d41
Updating with info about direct function->interface conversion
2005-08-28 18:46:13 +00:00
igor%mir2.org
0670d5111d
Ignoring exception during (Input|Output)Stream.close() from external
...
processes. On Windows it may throw IOException if process terminates too
fast.
2005-08-27 21:24:29 +00:00
igor%mir2.org
3b8b7c9e4d
Tools are listed on the main Rhino page
2005-08-27 21:17:57 +00:00
igor%mir2.org
866ed2a25e
Rhino tools are listed explicitly on the main documentation page.
2005-08-27 21:17:02 +00:00
igor%mir2.org
ef9789ff94
Added Windows-specific examples using runCommand
2005-08-27 21:16:14 +00:00
igor%mir2.org
1f522d6b88
Cosmetics: delete-trailing-blanks
2005-08-27 19:50:55 +00:00
nboyd%atg.com
064c8fbcd7
Modify command for building docs directory so that owner.js is included.
2005-08-26 13:55:53 +00:00
szegedia%freemail.hu
8eca3d00aa
Fix for 305753: "NativeJavaMethod objects have incorrect parent when using parent scopes"
2005-08-25 08:44:40 +00:00
szegedia%freemail.hu
d6f90ca3f3
Fix for 305323: Rhino fails to select the appropriate overloaded method
...
This was due to a bug where code deviated from the section 3.3.6.1 of the LC3 specification. This commit makes the code compliant with the referenced spec section.
2005-08-21 13:29:32 +00:00
nboyd%atg.com
3a2d85fe19
Doc changes for 1.6R2.
2005-08-15 02:43:50 +00:00
igor%mir2.org
12199852d5
Addressing bug 303460:
...
1. Now shell can take compile script. This based on the initial patch from
Patrick Beard <pcbeard@mac.com>.
2. Using common code to read source and compiled scripts and for script
execution.
2005-08-14 14:36:17 +00:00
igor%mir2.org
1263f7496d
Cosmetics: removal of end-of-line whitespace
2005-08-14 14:24:52 +00:00
igor%mir2.org
24fc203bfa
Fixing smalljar target:
...
1. It includes jdk13 package to make the jar usable.
2. It excludes e4x classes as they are useless without xbean.jar and xbean
is several times bigger then the whole js.jar.
2005-08-11 08:42:14 +00:00
szegedia%freemail.hu
4a717e7f5a
RFE 303572: access to underlying RhinoException in rethrown error objects
2005-08-08 08:49:09 +00:00
igor%mir2.org
dca0a2a07a
RefCallable is new member of public API
2005-08-07 10:05:47 +00:00
szegedia%freemail.hu
1ef1277ed4
A bit more descriptive error message -- states also what the object *is* instead of only telling it isn't a function.
2005-08-05 14:59:44 +00:00
nboyd%atg.com
a5ad20b1f7
Update some documentation references to versions to describe 1.6 and E4X.
2005-08-04 17:38:23 +00:00
igor%mir2.org
05eb249aed
Fixing bug 298786: bad type inference caused infinite loop in the compiler.
2005-08-01 14:02:27 +00:00
igor%mir2.org
63eb7d49ba
Bug 278701: patch based on code from James Eggleston <james.eggleston@vega.de> to deiconify debugger window on breakpoints.
2005-08-01 13:50:33 +00:00
igor%mir2.org
c5deb378f3
Fix to make things compilable: getElemFunctionAndThis returns Callable, not Function nowdays.
2005-08-01 13:48:32 +00:00
igor%mir2.org
90ebe1bf30
Resolving bug 299613
...
New interface RefCallable simplifies implementation of function-call-as-rvalue
in Java code. In addition native objects is required to implemet only Callable
interface, not Function, to serve as target of () operator.
2005-07-31 14:27:36 +00:00
igor%mir2.org
5839d1a3e2
Fixing bug 291591
...
\<LineTerminator> in string literals is removed from the resulting string to follow SpiderMonkey and C/C++
2005-07-31 13:48:46 +00:00
nboyd%atg.com
882189d2fd
Fix bug 302501. Constructor property shouldn't be readonly.
2005-07-28 14:12:03 +00:00
nboyd%atg.com
11ca08cc11
Add Celware
2005-07-05 19:25:13 +00:00
igor%mir2.org
253fd51d85
*** empty log message ***
2005-07-03 19:18:39 +00:00
igor%mir2.org
01a323d63b
1. Added ContextFactory.getApplicationClassLoader()/initApplicationClassLoader() for simpler class loader customization.
...
2. Context.getApplicationClassLoader() now uses ContextFactory.getApplicationClassLoader() and also tries ContextFactory subclass as the last resort of loader guessing.
2005-06-26 22:57:31 +00:00
igor%mir2.org
58ff31852c
Added XML and XMLList to the exclusion list
2005-06-26 22:51:49 +00:00
igor%mir2.org
05ee41a100
Fix for bug 290034: JavaScriptException should not be wrapped inside
...
Context.throwAsScriptRuntimeEx
2005-06-26 21:32:42 +00:00
igor%mir2.org
bdb00e047c
When printing parse tree for debugging, include node number with target printout
2005-06-24 10:43:44 +00:00
igor%mir2.org
13233ef373
Optimezer-only token are moved back to Token for simpler debugging.
2005-06-24 09:40:09 +00:00
igor%mir2.org
d073a92808
Patch from Attila Szegedi <szegedia@freemail.hu> based on the suggestion from Grzegorz Lukasik <hauserx@gmail.com> to fix bug 292324 "ArrayIndexOutOfBoundsException while compiling a script".
2005-06-24 09:10:52 +00:00
igor%mir2.org
64b4cfb128
Patch from Michael Scott <mscott@ti.com>, Texas Instruments:
...
> I work in a group that re-packages the Rhino Debugger as part of a set
> of "C"/JavaScript-based configuration tools for developing embedded
> software. We have had a long-standing problem with setting
> breakOnException, breakOnEnter, and breakOnReturn flags within the debug
> engine and not having them in sync with the gui debug menu checkboxes. I
> have fixed this for our use and have attached the updated Main.java
> file. The change simply sets the checkbox selected state along with the
> dim flags.
2005-06-24 08:57:38 +00:00
nboyd%atg.com
82274cd041
Add Magoo Software.
2005-06-15 16:12:35 +00:00
igor%mir2.org
0ce126ffab
Fixing String.replace(re, function) where function doing regexps on its own would alter regexp data used by the regexp itself.
2005-04-22 15:28:19 +00:00
igor%mir2.org
79c7f08bdb
*** empty log message ***
2005-03-31 13:16:07 +00:00
igor%mir2.org
2a34d78a3b
Fixing bug 286251: removal of double call to initFunction which was spotted by Gilles Barnier <gilles.barnier@veritas.com>.
2005-03-15 17:13:02 +00:00
igor%mir2.org
77f519f3bc
Patch from Attila Szegedi, szegedia@freemail.hu to address an issue with bug fix for bug 274467. From comment 24:
...
Patch for wrapping unchecked exceptions from Java method invocations
Recently we had a problem with a NPE occurring in a Java method - it wasn't
wrapped into WrappedException and subsequently we did not see the interpreter
script stack traces. This is because unchecked throwables aren't wrapped into
InvocationTargetException. I changed the relevant code in MemberBox.java to
wrap all exceptions (checked and unchecked) into WrappedException. BTW, this is
now consistent with how JavaMembers.get() and JavaMembers.put() work - they
also wrap all exceptions into WrappedException, not just
InvocationTargetException.
2005-02-28 12:39:04 +00:00
igor%mir2.org
b4fca87aba
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
igor%mir2.org
344cf0f06e
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
2a49a02214
Fixing bug 282447: patch from Attila Szegedi <szegedia@freemail.hu> to fix NullPointerException.
2005-02-16 12:11:42 +00:00
igor%mir2.org
6e090811b4
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
83dec59657
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
8e479120c0
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
aeddcbb266
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
e266fe4eb2
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
igor%mir2.org
ce11e379b0
Fixing bug 280629: Compatibility patch to add Main.dispose()
2005-02-01 20:41:21 +00:00
nboyd%atg.com
4a4f5f52f6
Update link to ECMA standard
2005-02-01 18:49:56 +00:00
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