Commit graph

1489 commits

Author SHA1 Message Date
hns
3d3b839395 Solve the problem that integers are printed as floats as far as skin parameters and
macro return values are concerned.
2003-07-01 15:10:04 +00:00
hns
bc1b067cf0 Make RedirectException subclass java.lang.Error so app code knows it shouldn't catch it. 2003-07-01 14:47:56 +00:00
hns
9ff623ac77 Do not include system class loader to avoid conflicts with jars in classpath. 2003-06-27 10:31:42 +00:00
hns
e2f6ff11a1 remove whitespace from version 2003-06-26 17:01:04 +00:00
hns
84d5d76fb8 Updated version to 1.3.0 alpha 2003-06-26 16:54:21 +00:00
hns
9c2b288330 Update version string to 1.3.0 alpha 2003-06-26 16:53:11 +00:00
hns
942bbfa1fe Do not print stack trace on print errors. 2003-06-26 16:52:26 +00:00
hns
084b0e8e6c Implement phantom engine classloader trick for rhino 2003-06-26 16:52:05 +00:00
hns
a70ace86bd Implement global write() and writeln() 2003-06-26 16:51:18 +00:00
hns
fd2882e21d Merged changes from helma_1_2 (between helma_1_2_5 and helma_1_2_5_merge_1) 2003-06-26 14:10:04 +00:00
hns
61b8a4a35a Adapt to new signature of Application.getSkin(). 2003-06-25 15:50:00 +00:00
hns
30e218b99e Checking in SkinKey class for per-request skin caching. 2003-06-25 15:49:06 +00:00
hns
2623c03f62 Added native implementation for String.trim(), Date.format() and Number.format(). 2003-06-25 15:47:13 +00:00
hns
1a9f3a1e21 Changed dependsOn() argument to String to force coercion to string.
This will probably break FESI, but is required by Rhino (e.g. for NativeDate).
2003-06-25 15:19:52 +00:00
hns
9a05228c4c Refactored and simplified renderSkin* methods. 2003-06-25 15:15:02 +00:00
hns
5618ac1b4e Internally replace '.' with '_' in action names. 2003-06-25 15:14:24 +00:00
hns
b98f8b6751 Internally replace '.' with '_' in action names.
Implement proxy method for Application.getSkin() that takes care of per-request caching.
2003-06-25 15:13:46 +00:00
hns
146d9d9285 Changed skin cache methods to take any object as key. 2003-06-25 15:12:20 +00:00
hns
89e9e1d32f Changed signature of getSkin to take a prototype name instead of a path element parameter. 2003-06-25 15:11:02 +00:00
hns
ffc8956b8a Added setText() method and lots of JavaDoc comments. 2003-06-25 12:14:36 +00:00
hns
7f213bf43a Make res.skinpath work. 2003-06-25 11:56:11 +00:00
hns
9e5ab59493 Do not create a constructor for HopObject - this is done by defineClass(). 2003-06-25 10:46:37 +00:00
hns
352f9c7fec Follow Rhino conventions for JavaScript constructor naming. 2003-06-25 10:46:14 +00:00
stefanp
203e409bc6 fixed chopDelimiters() again 2003-06-24 14:42:59 +00:00
stefanp
84ae9050f7 chopDelimiters() fixed to chop beginning as well as ending from the same line 2003-06-24 14:31:38 +00:00
hns
1d5e54c134 Remove unused prototypeField variable. 2003-06-24 14:11:05 +00:00
hns
284121edeb Removed reference to FESI package. 2003-06-24 14:07:33 +00:00
hns
7db0c07fe2 Make classMapping case sensitive, add method for prototype to java class name lookup.
Add simple constructor taking just a name argument.
2003-06-24 14:06:53 +00:00
hns
51ef5f0ff3 Added feature to switch case sensitivity on and off. 2003-06-24 14:05:12 +00:00
hns
33ea2b629a Removed import for helma.scripting.fesi package 2003-06-24 14:03:21 +00:00
hns
052b847c7a Lots of fixes and cleanup. 2003-06-24 14:02:35 +00:00
hns
4236304e84 Moved extensions to separate directory. 2003-06-24 14:00:55 +00:00
stefanp
fcbfb8ace9 listTags() filters with string and no longer with int 2003-06-24 11:20:40 +00:00
stefanp
4651579309 rewrote class to make custom tag types possible
kind is now type and is no longer int but a string. features whatever comes
after the @-sign in the tag
2003-06-24 11:20:18 +00:00
stefanp
f99141a97b use Util.chopComment() instead of doing it here.
solved constructor problem for TokenStream - we need jra from
rhinoLatest or from cvs
2003-06-24 11:18:54 +00:00
stefanp
0af3973929 added static chopComment() which chops everything after a closing comment tag 2003-06-24 11:17:57 +00:00
hns
b40e39c98c Use constructor for TokenStream (adding additional null argument). 2003-06-24 08:31:14 +00:00
hns
ec1aed6650 Override wrapAsJavaObject in wrapper factory to check for IPathElement objects. 2003-06-23 15:58:25 +00:00
hns
3c1c5b47b8 Implemented stopping of running threads. kicked out some dead code. 2003-06-23 15:54:34 +00:00
stefanp
71ac4541ae make the introspector work with rhino 2003-06-23 15:39:18 +00:00
hns
b67b75c3b4 handle org.mozilla.rhino.NativeString as string in HopObject.put(). 2003-06-23 15:21:39 +00:00
stefanp
6109f475f0 kicked out FESI parser and implemented parsing with rhino dependency.
all token-handling/file-parsing moved to DocFunction.java, all raw file
handling to Util
2003-06-23 14:49:49 +00:00
hns
0667d9d091 Check for null when converting arguments in invoke(). 2003-06-23 14:17:38 +00:00
hns
6ecee221e7 Be more careful about entering and exiting contexts. 2003-06-23 14:12:42 +00:00
hns
3443179755 Use native JavaScript array when converting a XML-RPC Array. 2003-06-23 14:12:05 +00:00
hns
358d59fc40 Use a helma.util.SystemMap for app.modules so it is wrapped by the scripting engine
as native object.
2003-06-20 14:42:49 +00:00
hns
6f2647712d Do not throw exceptions, instead return an object with either a result or an error property. 2003-06-20 14:42:08 +00:00
hns
2f5c368124 Added Remote (XML-RPC client) object.
Fixes in XML-RPC argument encoding.
2003-06-18 16:11:02 +00:00
hns
a758a479d7 Return string representation if hint is null in getDefaultValue. 2003-06-18 16:09:37 +00:00
hns
5a519db3c6 Implement basic encoding/decoding of incoming XML-RPC calls. 2003-06-18 15:00:11 +00:00