* Implement skin parameter handling via res.handlers.param
* Implement onResponse() callback
* Slim down renderSkin method implementation
* Implement res.buffer to access current page output
* Implement res.stop() to stop request execution
* Do not reuse per thread scope, create a new one for each request
seriously BROKEN for nested functions.
The only workaround needed is a little fix in HopObject.put() to set the
parent scope on functions because of the funky way we compile prototypes.
* Use one ContextFactory instance per RhinoCore to initialize, enter and exit
contexts, and use various call() methods to actually use it in RhinoCore.evaluate()
and RhinoEngine.invoke().
* Set parent scope in HopObject constructor.
* Use java.lang.ThreadLocal to implement engine/thread registration.
* Implement RhinoCore.getRhinoCore() and RhinoEngine.getRhinoEngine().
* Implement rhino.strictvars to throw errors on undeclared vars.
* Do not declare throws Exception in RhinoCore.processXmlRpc* methods.
* Clean up error logging.
* Delay onInit() invocation until after the node has been registered with the cache.
Two advantages: first, we won't call onInit() on nodes that are bound to be
thrown away because a clone already exists in the cache, and second no need
to cache nodes in the transactor clean node map, which was troublesome in
exactly the same case.
* Remove some old code that has been commented out for ages.
- TokenStream is no longer public, implement Parser.parseTokens()
- Parse public nested methods in JS constructors
- adapt to slightly changed sequence of returned tokens.
* Do not implement IPathElement in Server, Application and HelmaDoc classes.
Implement the necessary methods in the manage application instead.
* Add DocResourceElement.getStartLine() method to get element's position
within the containing resource
* Rename ScriptingEngine.getIntrospector() to getDoc() and declare DocApplication
as return value.
* Make DocFunction not a RuntimeException, and throw it only where needed.
* Add TokenStreamInjector class to rhino to make TokenStream publicly available
* Add StringUtils.splitLines()
from http://dev.helma.org/Wiki/Rhino+Bugs+%26+Patches/:
- Rethrown exceptions rendered as [object Error]
- Provide protected callback methods in Rhino debugger SwingGui
- Bug in tail call optimization that cripples Rhino debugger