hns
2ec32f146a
* Null out scriptingEngine if initScriptingEngine() fails.
...
* Make sure we cause no uncaught exceptions in request evaluator loop,
will cause helma to hang.
* Make initScriptingEngine() synchronized.
2006-12-15 15:10:34 +00:00
grob
748779d346
added localisation support to format() and toPercent(). both now accept an optional java.util.Locale instance as last argument
2006-12-14 17:28:43 +00:00
hns
4f7765259a
* Update with patches from http://dev.helma.org/wiki/Rhino+Bugs+%26+Patches/
...
including new patch https://bugzilla.mozilla.org/show_bug.cgi?id=360964#c7
2006-12-14 14:20:46 +00:00
hns
6139814575
* Do not create new collections in recycle() - seems to have negative performance impact.
2006-12-12 15:31:30 +00:00
hns
414b22836b
* Extract cache insertion code into new private registerNewNode() method.
...
* 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.
2006-12-12 14:54:52 +00:00
hns
d843138386
* Extract collection clearing in commit() and abort() into new recycle() method,
...
and throw away collections in order to avoid retaining too much memory.
2006-12-12 13:15:59 +00:00
hns
7e00def51c
* No more need for per-thread-scope workaround, works out of the box with Rhino 1.6.
2006-12-11 09:55:23 +00:00
hns
b210d5cd11
* Previous solution didn't work with Rhino running in interpreter mode. Provide a
...
hook in RhinoException to make JS stack traces work with any optimization mode.
See https://bugzilla.mozilla.org/show_bug.cgi?id=363058
2006-12-07 12:12:14 +00:00
hns
f3ce79f6c4
* Update with patches from http://dev.helma.org/wiki/Rhino+Bugs+%26+Patches/
...
including https://bugzilla.mozilla.org/show_bug.cgi?id=363058
2006-12-07 12:10:14 +00:00
hns
00c9d56922
* Use helma.scripting.ScriptingException to produce script-only stack traces.
...
* Therefore, do not unwrap ScriptingExceptions because they're actually useful.
* Remove helma.util.StackUtils again.
2006-12-07 09:40:26 +00:00
hns
572194d2bc
* Simplify exception handling in invoke(), bugs in Rhino have been fixed.
2006-12-07 09:27:39 +00:00
hns
54ab7ca121
* Backport StackUtils class from Helma 2.
...
* Implement jsStackTrace option to generate pure JS stack traces in error dumps.
2006-12-06 16:28:12 +00:00
hns
bfdd643a99
* Make Property.compareTo() immune against float/integer confusion, which is quite common in rhino.
2006-12-01 13:21:23 +00:00
hns
aaa15f5670
* Register node with current transactor before calling onInit(), otherwise we
...
really prepare the ground for infinite recursion problems.
2006-11-30 21:50:46 +00:00
hns
8e71110ad4
* Avoid setting parent in setNode() if the property name isn't persistable.
2006-11-30 21:04:44 +00:00
hns
5d5315f623
* Commit CVS snapshot from 2006-11-29 with added patch for chaining in
...
ScriptableObject slot hashtable.
http://dev.helma.org/Wiki/Rhino+Bugs+%26+Patches/
2006-11-29 09:32:51 +00:00
hns
fb77729856
* Allow to directly pass a javax.mail.BodyPart to addPart().
2006-11-27 12:47:04 +00:00
hns
9a98f81710
* Wrap example code in Html [pre] tag.
2006-11-27 12:32:36 +00:00
hns
a38f504db3
* Make RowSet a public static class to allow its methods to be called by Rhino.
2006-11-24 10:28:15 +00:00
hns
a40d1191ab
Bogus edit, testing new commit mailer script.
2006-11-24 01:23:30 +00:00
hns
15871d0155
Bogus edit, testing new commit mailer script.
2006-11-24 01:09:33 +00:00
hns
2d69a460aa
Bogus edit, testing new commit mailer script.
2006-11-24 01:08:38 +00:00
hns
a06c6dd30b
Removing test file
2006-11-24 00:58:12 +00:00
hns
aabef79846
Bogus edit, testing new commit mailer script.
2006-11-24 00:56:26 +00:00
hns
bc3336f29b
Bogus edit, testing new commit mailer script.
2006-11-24 00:54:29 +00:00
hns
847d6096d7
Bogus edit, testing new commit mailer script.
2006-11-24 00:46:59 +00:00
hns
bb664d0864
Bogus edit, testing new commit mailer script.
2006-11-24 00:42:50 +00:00
hns
078b0bc0a7
Bogus edit, testing new commit mailer script.
2006-11-24 00:33:00 +00:00
hns
67142a197d
Bogus edit, testing new commit mailer script.
2006-11-24 00:31:17 +00:00
hns
d02fc19ac9
Bogus edit, testing new commit mailer script.
2006-11-24 00:28:55 +00:00
hns
2199839a16
Bogus edit, testing new commit mailer script.
2006-11-24 00:18:12 +00:00
hns
0ca4922081
* Only reuse Java wrapper if it actually wraps the same object.
...
* Rename local variable in getNodeWrapper().
2006-11-23 14:51:25 +00:00
hns
f249f893c5
Merge from helma_1_5 branch:
...
* Do parent lookup for transient nodes in Node.getParent(), but omit warning message if it fails.
2006-11-23 13:49:41 +00:00
hns
f1bb105b54
* Remove unused import statement.
2006-11-22 16:13:28 +00:00
hns
b2bf03b033
* Fix bug where waiting thread isn't notified when requestengine is shut down.
2006-11-22 16:11:41 +00:00
hns
84e6a5f2f8
* Add ".prototype" to name of nexted functions.
2006-11-22 15:08:34 +00:00
hns
602f420f18
* Implement get/setBinaryMode(boolean) to allow delivery of the
...
response body as byte array instead of as string.
* Use OutputStreamWriter instead of DataOutputStream for writing
the request body.
2006-11-21 10:42:25 +00:00
hns
32f5f25b9e
* Always immediately convert to absolute paths in ApplicationManager.
2006-11-20 23:06:44 +00:00
hns
db03770c72
* Minor reformat of Jsdoc comment.
2006-11-20 14:05:28 +00:00
hns
68db756b0e
* Do not rely on Java classes to implement IPathElement.
...
Implement all necessary features such as href() and getChildElement()
ourselves instead.
2006-11-20 13:34:15 +00:00
hns
0eae6629ee
* Allow native host methods in scripted JavaObjects to be overridden in JavaScript, but
...
make sure we don't use any of the HopObject host methods.
2006-11-20 12:51:26 +00:00
hns
694139d897
* Do not rely on Java classes to implement IPathElement.
...
Implement all necessary features such as href() and getChildElement()
ourselves instead.
* Add missing classes to class.properties.
* Display actual line numbers in function source macro.
2006-11-20 11:05:24 +00:00
hns
21117936ad
* Make overloaded methods (href, renderskin, ...) overridable in JavaScript.
2006-11-20 10:58:34 +00:00
hns
d818de0d0a
* Rewrite DocFunction to work with current Rhino 1.6 snapshot.
...
- 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.
2006-11-20 10:54:02 +00:00
hns
4e4cae0534
* Commit CVS snapshot from 2006-11-20 with added patch for Parser.parseTokens():
...
http://dev.helma.org/Wiki/Rhino+Bugs+%26+Patches/
2006-11-20 10:45:48 +00:00
hns
192f0b1df6
Checked apache-dom back in as it obviously is still needed.
...
Original log message was:
Apache DOM classes necessary for using and building
getHtmlDocument() functionality. Extracted from Xerces-J 2.0.1
2006-11-20 09:17:39 +00:00
hns
5ec24e7ba8
* Not needed anymore, replaced by TokenStreamInjector in rhino.jar
2006-11-15 15:49:24 +00:00
hns
bc8653a873
* Work on DocFunction to make it work with Rhino 1.6.
...
* Make DocFunction not a RuntimeException, and throw it only where needed.
* Add TokenStreamInjector class to rhino to make TokenStream publicly available
* Add StringUtils.splitLines()
2006-11-15 15:48:46 +00:00
hns
578ecb148b
* Removing Apache DOM implementation, not needed anymore with modern JDKs.
2006-11-15 15:41:25 +00:00
grob
e36bbce6d3
changed Html.dropDown(): allow property "class" for specifying css class names if the option parameters are specified as object (using "value" and "display" properties)
2006-11-13 16:59:44 +00:00