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
hns
74a3137577
Implement getDefaultValue(String.class) for MapWrapper.
2003-06-18 14:59:34 +00:00
hns
aff761a1ec
do a Context.toObject() on the result of getURL().
2003-06-18 14:59:07 +00:00
hns
6939b8cb26
Updated version string to 1.3-alpha-0
2003-06-17 14:47:03 +00:00
hns
2558a118a9
Invoke scripted constructor function.
2003-06-17 14:44:59 +00:00
hns
85a6afe857
* We now have our own version of FunctionObject.addAsConstructor() to install
...
HopObject constructors, because we do not want the prototype.constructor property
to be set. Otherwise, scripted constructor functions are shadowed.
* Fix typo in getElementWrapper().
2003-06-17 14:44:39 +00:00
hns
9581df2ac4
Checking in the MailExtension.
2003-06-17 13:15:30 +00:00
hns
2be8b10e8c
Change argument type for write/writeln/debug methods from Object to String
...
so that toString() is performed by the script runtime. (FESI wasn't able to do this,
but Rhino is.)
2003-06-17 12:23:48 +00:00
hns
5431daadcf
Changed default scripting engine to helma.scripting.rhino.RhinoEngine.
2003-06-16 19:48:35 +00:00
hns
5f46bdf3a2
* replaced helma.util.CacheMap with java.util.WeakHashMap for wrapper caching
...
* do wrapper caching for IPathElement (java object) wrappers
* only wrap instances of helma.util.SystemMap with MapWrappers
* do not wrap Strings.
2003-06-16 18:56:53 +00:00
hns
3691b6d977
Return string values unwrapped.
2003-06-16 18:54:49 +00:00
hns
dd59d7e911
* Added implementation for Node.clearCache().
...
* fixed setting of HopObject properties.
2003-06-16 18:54:31 +00:00
hns
44a1235803
Added helma.util.SystemMap class as a HashMap that is used
...
internally by Helma and is wrapped as a native JavaScript object.
2003-06-16 18:53:33 +00:00
hns
8aa7c6bf33
Renamed getSkinfiles(path) to getSkinfilesInPath(path) because Rhino's
...
Java Bean setter/getter mechanism got confused for app.skinfiles.
2003-06-13 15:46:41 +00:00
hns
2a5c4a7c8f
Implement index based put, get, has and delete that always handle the index to a string.
2003-06-13 15:43:15 +00:00
hns
84eac337cf
Do not needlessly convert scriptable to string in put().
2003-06-13 15:42:10 +00:00
hns
4d419c3a46
Implemented global getURL() function
2003-06-13 15:41:26 +00:00
hns
02f8ad1e3e
Switch from WrapHandler to WrapFactory.
2003-06-13 15:40:52 +00:00
hns
6157bb0943
Checking in Image extension.
2003-06-13 10:02:04 +00:00
hns
a31f2cee77
Checking in FTP client extension.
2003-06-13 09:06:04 +00:00
hns
760e361b3f
add getDBConnection().
2003-06-12 16:09:27 +00:00
hns
1515cc96af
Add definition of File object (FESI compatible).
...
Minor fix for line numbers in debug output.
2003-06-12 16:09:11 +00:00
hns
0c2ac1d781
Checking in first implementations of Database and File objects.
2003-06-12 16:08:01 +00:00
hns
67f38dceb8
Unwrap native java objects gotten as properties.
2003-06-10 15:41:57 +00:00
hns
534bba3d69
Various fixes and advancements in JavaObject and GlobalObject.
2003-06-10 15:36:01 +00:00
hns
1ea945f82a
Added code for Rhino scripting engine.
2003-06-10 13:41:11 +00:00
hns
78411bea50
Added Rhino jar from 21.05.2003 snapshot (rhino1_5R5pre)
2003-06-10 13:39:41 +00:00
hns
575f00ac83
* Include all jar files from the main lib/ext directory
...
* Update Helma build version to 1.3-alpha-0
2003-06-10 13:37:51 +00:00
hns
676b70519d
Merging changes from 1.2.4 to 1.2.5
2003-06-10 13:20:45 +00:00
hns
65e4db3d8a
Merge from helma_1_2, updating to Mckoi 1.0.1
2003-06-10 13:19:12 +00:00
hns
350ce98d93
Merge changes between 1.2.4 and 1.2.4b
2003-04-17 10:34:15 +00:00
hns
66663c8b20
Merge from helma_1_2_4
2003-04-16 16:28:04 +00:00
hns
df40e73b63
Test merge from helma_1_2_4 to check for keyword expansion problems
2003-04-16 16:21:18 +00:00
e646f24715
removed all database files to start from scratch
2003-04-10 09:41:16 +00:00
09b98dabec
test
2003-04-10 09:39:05 +00:00
8287705a2c
replaced 1.3 version committed to HEAD by accident with previous version 1.2
2003-04-09 07:08:51 +00:00