* Implemented rootId property to set the id of the app's root object
* Do not call invokeFunction with a null argument array
* Implement toString() method
* Plus some more minor stuff
* Implemented feature to evict certain prototypes from cache when they are received via replication.
To activate this, add the line
_evictOnReplication = true
to the type.property file
getProperty(). This may return old cached properties from the propmap when it
shouldn't, but it fixes the much worse bug where embedded-db-collections are
created from scratch again and again.
will be evaluated at least once. This fixes a bug with empty prototypes not having their
prototype set (i.e. get(), list(), href() etc were unavailable).
we can be sure to use the proper DbMapping for column-to-property mappings (which may change
according to the object's prototype column)
This should fix bug 310. http://helma.org/bugs/show_bug.cgi?id=310
* Do not set smtp host unless it is explicitely set in the properties
* Set message encoding as defined in mail.charset property, defaults to ISO8859-15
* Cache Mail session in Mail object prototype
* Store app properties as Java fields in prototype rather than as JS property in constructor
<app>.staticIndex = true
<app>.staticHome = index.html, default.htm
Default values are (false) for directory listings and "index.html, index.htm" for index pages.
Fix bug in getById() reported by Juerg Lehni
Throw EvaluatorException instead of JavaScript exception
Remove catched exception not anymore thrown by new rhino snapshot
DbMapping: Change getPropertyRelation visibility to private, always use
getSubnodeRelation from outside instead.
Node: Rewrote getProperty(String) to be simpler and easier to understand.
furthermore, getProperty(String) now also returns child objects (subnodes)
making it unnecessary for calling code to also use getChildElement()
or getSubnode()
Node: Fixed NullPointerException in getElementName() for transient nodes
Node: Use DbMapping.getSubnodeRelation() instead of DbMapping.getPropertyRelation()
NodeManager: Fixes in getNode() methods, which now invoke each other depending on
key/query type
Relation: Removed unused arguments from constructor
Relation: Fixed NullPointerException in createOnDemand()
HopObject: Do not use getChildElement() in jsFunction_get() (see change in
Node.getProperty())
HopObject: Handle case where jsFunction_get() and jsFunction_set() are called with
non-strings that should be handled as string, e.g.
org.mozilla.javascript.NativeString
cosmetic cleanup everywhere (imports, unneeded casts, unused fields etc.)