Commit graph

32 commits

Author SHA1 Message Date
hns
7f7d663c7d * Made also private instance methods unsynchronized, since the only drawback
are concurrent method lookups, which usually happen only at the beginning when
the server is started. Later, cached lookups don't have the synchronization penalty.
* Commented out all debug code.
2003-01-31 15:53:04 +00:00
hns
d93efaa377 Do not allow Strings parameters of length 1 to be casted into a number. 2003-01-29 16:02:19 +00:00
hns
a2c4745d8e Make public static methods unsynchronized but synchronize private instance methods.
This will allow some concurrent duplicate work being done, but it will remove the
bottleneck on the static methods. See bug 186:
http://helma.org/bugs/show_bug.cgi?id=186
2003-01-29 16:00:48 +00:00
hns
7e04b199e7 Explicitly make bean access methods public to prevent reflection bug. 2002-12-03 15:10:39 +00:00
hns
719959353e Merged in changes from FESI 1.1.5 2002-11-29 17:56:44 +00:00
hns
19fd7b0f7d Use the application's classloader for the Packages object if available.
Merged in changes from FESI 1.1.5
2002-11-29 17:56:20 +00:00
hns
148cd5de94 Use generic ClassLoader so we can use our own HelmaClassLoader. 2002-11-29 17:54:20 +00:00
hns
0aa65b8683 Add additional newline character at the end of every EcmaScript reader.
Otherwise, a // comment in the last line throws a parsing error (bug 169)
2002-11-29 17:01:02 +00:00
hns
3e5a3516d8 Merged in changes from FESI 1.1.5 2002-11-29 14:46:07 +00:00
stefanp
d79cb11bda j2sdk1.4.1 strangely complained about a comment in the last line of the file 2002-11-28 11:02:08 +00:00
hns
d9c4b3d6f3 Tentative fix for Java reflection bug where we're unable to call public methods
declared in non-public classes.
2002-11-27 17:22:53 +00:00
hns
c1338c3d67 Avoid printing out exception twice in printStackTrace(). 2002-11-22 14:21:43 +00:00
hns
8edec30f84 Fixed type (contructor -> constructor) 2002-11-22 14:01:15 +00:00
hns
16bc1ab07b Do not prepend "Runtime error" in EcmaScriptExceptions. 2002-11-22 14:00:12 +00:00
hns
ffbed8751e ScriptingEngine interface got an additonal init() method.
FesiEvaluator was renamed to FesiEngine.
Some naming cleanups.
2002-11-21 15:57:35 +00:00
hns
c6d7496f4b Made noPropertyMarker non-static. This held a reference to the
evaluator and the application, preventing garbage collection.
2002-05-28 18:24:56 +00:00
hns
5a015fbbc5 switched reval field from RequestEvaluator to FesiEvaluator. 2002-05-13 17:19:33 +00:00
hns
e42ce0ae46 Allow access to static fields from javascript. 2001-11-27 15:49:33 +00:00
hns
3adf646e35 call new getObjectWrapper method in RequestEvaluator which
may or may not return a scriptable object, depending on whether
the object's class name is defined in scriptable.properties.
2001-09-09 18:09:55 +00:00
hns
e037fa0d19 Always create a sepcial Helma GenericObject EcmaScript wrapper
for Java Objects, allowing all Java objects to be scripted.
2001-09-08 17:45:10 +00:00
hns
244e7ba779 Repaired brain-dead bug where ESValue was checked for
instance of IPathElement instead of ESNode
2001-08-30 20:09:20 +00:00
hns
9734e347a9 changed check for equals() from ESNode to IPathElement 2001-08-29 18:17:44 +00:00
hns
7ce2f6f34f registered changes to Evaluator and ESLoader classes 2001-08-13 13:48:44 +00:00
hns
c5b1f9bee3 Create a special ESWrapper for instances of
IPathElement.
2001-08-13 13:45:11 +00:00
hns
f9bfe75219 Added helma.framework.core.RequestEvaluator field so that
ESLoader can construct a wrapper with the right prototype
for path elements.
2001-08-13 13:36:07 +00:00
hns
27bca8cec1 Changed FESI.Interpreter.EcmaScriptEvaluateVisitor to use .equals instead of
== in equal method for helma.framework.core.ESNode objects, since different  
  wrappers may wrap the same object.
2001-04-19 12:12:28 +00:00
hns
b37cba7fe3 implemented setPrototype() to make prototype changeable. 2001-04-06 17:45:00 +00:00
hns
7ac5ae3331 Removed Interpret.java 2001-02-09 18:49:44 +00:00
hns
098baf9c49 removed dependency on FESI.gui 2001-02-09 18:46:44 +00:00
hns
55b399987c removed swing stuff 2001-02-09 18:31:59 +00:00
hns
da462d53c0 removed swing and AWT stuff from FESI 2001-02-09 18:31:35 +00:00
hns
ee13186158 This commit was generated by cvs2svn to compensate for changes in r4,
which included commits to RCS files with non-trunk default branches.
2000-12-29 17:58:10 +00:00