Commit graph

3423 commits

Author SHA1 Message Date
zumbrunn
29961b8006 Added jsdoc comment based documentation 2007-02-08 00:41:30 +00:00
zumbrunn
134d1483da Added jsdoc comment based documentation 2007-02-07 23:37:23 +00:00
grob
ab280132bd re-added method length and marked it as deprecated (this method disappeared during documentation work) 2007-02-07 18:11:01 +00:00
grob
449a1a727a removed stale doc header 2007-02-07 17:04:51 +00:00
hns
b0bbada2a5 * Fix handling of helma.util.MimePart (NOT javax.mail.MimePart)
* Use and support helma.File as Mime part input source
* Remove code examples to make jsdoc actually render the comments
* Implement get/setMimepartType() methods
2007-02-07 14:55:03 +00:00
zumbrunn
3f7126bfa2 Added jsdoc comment based documentation 2007-02-07 11:51:47 +00:00
hns
b1a958a394 * Upgrade to Jetty 4.2.27. 2007-02-07 11:04:16 +00:00
zumbrunn
00ea378a37 Added jsdoc comment based documentation 2007-02-07 10:29:20 +00:00
zumbrunn
a7cac41923 Added jsdoc comment based documentation 2007-02-07 10:27:37 +00:00
hns
2041c54dfe * Remove crimson.jar at last, it isn't needed for JDK 1.4 and later. 2007-02-07 09:46:33 +00:00
hns
b80b83ffb3 * Rename "constructor" property in defineProperty() rathern than in put(),
since this is what Rhino uses to set the property at compile time.
2007-01-31 16:59:08 +00:00
hns
740091f4d8 * Compute isRelational() at runtime, since in some border cases
it must be available before we used to compute it  in update().
2007-01-31 14:43:15 +00:00
grob
383c7b0e9c * added JsDoc compatible inline documentation
* removed helma.Skin.BASE64 constant as this doesn't seem to be used anywhere (at least not in helma.Skin)
2007-01-30 17:53:00 +00:00
grob
6315f6c10f added author tag to class header 2007-01-30 17:32:17 +00:00
grob
9a4401d6c4 * added JsDoc compatible inline documentation 2007-01-30 17:31:52 +00:00
grob
14ee73a230 * added JsDoc compatible inline documentation
* added missing toString methods
* minor code beautification
2007-01-30 17:31:13 +00:00
hns
a874998ffb * Increase default maxThreads value to 50 (evauators aren't that expensive anymore)
* Some minor code cleanup
2007-01-30 14:58:30 +00:00
grob
dcc0accdb3 changed inline documentation for JsDoc compatibility 2007-01-30 14:56:51 +00:00
grob
b11fce933f * added basic cookie support:
- any cookie received from the remote server will now be part of the result object returned by getUrl()
- added methods setCookie(), getCookie() and getCookies() for adding and retrieving cookies
* added JsDoc compatible inline documentation (due to a bug in JsDoc the static methods setProxy and getProxy don't show up in the generated docs)
* switched to using app.logger for log output
2007-01-30 14:55:39 +00:00
grob
585666e577 * restructured library mainly because JsDoc couldn't handle it, but also for better readability
* renderMarkupPart and isSelected are no longer private methods, but static ones, so that the methods calling them can be defined as prototype properties
* adapted helma.Html.TableWriter to the new structure (had to use method.call() since there is no default instance of helma.Html
* added JsDoc compatible inline documentation
2007-01-30 14:49:57 +00:00
hns
21838fe606 * Remove synchronization problems in request timeout handling
* 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
2007-01-29 16:00:44 +00:00
hns
e6c287b35f * Use ThreadLocal.set(null) instead of ThreadLocal.remove(),
which wasn't available pre Java 5.
2006-12-20 23:00:28 +00:00
hns
20354228a2 * Do not use Context.setCompileFunctionsWithDynamicScope() as it is
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.
2006-12-20 21:52:22 +00:00
hns
68756f4b3e * Clean up formatting. 2006-12-15 15:13:00 +00:00
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