Commit graph

1376 commits

Author SHA1 Message Date
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
676b70519d Merging changes from 1.2.4 to 1.2.5 2003-06-10 13:20:45 +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
hns
c25ffcf69d Merging changes from helma_1_2_3 2003-03-07 16:49:18 +00:00
hns
ed15173b8c Merged in changes from helma_1_2 branch 2003-02-26 12:41:54 +00:00
stefanp
9fdcecd9ff user.onLogout() is passed the id of the session that is actually logged out
as a parameter.
2003-01-22 09:23:17 +00:00
hns
f5f4db52ca go more than 3 steps down the parent chain in getNonVirtualParent() 2002-12-06 18:17:31 +00:00
hns
6b6f86117e Updated version string to 1.2 RC2 2002-12-05 16:52:15 +00:00
hns
f2bfe5b9cf Added new DbColumn class that encapsulates column name, SQL type and the
relation associated with the column. This helps us fix a bug where no column info
is available because a column has no relation associated with it. It also helps us
streamline the Relation lookup when creating a Node from a ResultSet.

Use StringBuffers instead of + for query string composition where possible.
2002-12-05 16:51:17 +00:00
hns
7e04b199e7 Explicitly make bean access methods public to prevent reflection bug. 2002-12-03 15:10:39 +00:00
hns
2e9f98039d Updated version string to 1.2 RC1 2002-12-03 12:58:15 +00:00
hns
b929268fb6 Implement a better way to get the URL of the helma.jar file. To be more precise,
do not rely on HOP_HOME to contain the file.
2002-12-02 16:10:31 +00:00
hns
d9a462f1ec Do not mess with HOP_HOME in launcher/Main 2002-12-02 13:26:01 +00:00
stefanp
9fa5abf0ac added method to filter type.properties for mappings to other prototypes 2002-12-02 12:17:45 +00:00
stefanp
f29baf6c5d fixed parse error in @param tags 2002-12-02 11:24:07 +00:00
stefanp
9f0699ace7 fixed bug that would parse only every 2nd function in functionfiles 2002-12-02 10:56:26 +00:00
hns
788c987a2d Updated version string 2002-11-29 17:59:26 +00:00