Commit graph

1459 commits

Author SHA1 Message Date
hns
c44446023d Put pushStringBuffer() and popStringBuffer() back in because they are needed
by the template_as_string() functions.
2002-11-28 12:55:21 +00:00
stefanp
d79cb11bda j2sdk1.4.1 strangely complained about a comment in the last line of the file 2002-11-28 11:02:08 +00:00
hns
d9c4b3d6f3 Tentative fix for Java reflection bug where we're unable to call public methods
declared in non-public classes.
2002-11-27 17:22:53 +00:00
hns
63f7a2e4df ImageGenerator does no longer extend java.awt.Window.
Should work in headless mode now.
2002-11-27 15:52:33 +00:00
hns
c07fc06de4 Add public getters for application and server directory 2002-11-26 17:43:24 +00:00
hns
050438c80a Add jars to classpath without checking if they exist. 2002-11-26 17:42:30 +00:00
hns
8cbcbd82ca use launcher.jar 2002-11-26 17:41:28 +00:00
hns
269aeda187 use launcher.jar,
changed newline encoding back to windows mode (hopefully)
minor fixes.
2002-11-26 17:41:14 +00:00
hns
2a9515663a Update version, copy launcher.jar 2002-11-26 17:35:17 +00:00
hns
c0b8abaa0b Since an app's documentation/introspection depends on its scripting language ,
the task of getting the documentation/introspection object used by the
management app is now delegated to the app's scripting engine.
2002-11-26 15:05:25 +00:00
hns
d864dc37fe Added getInspector() method that returns a inspector/documentation class for
the engine's application. For helma.scripting.fesi.FesiEngine this method returns
an instance of helma.doc.DocApplication.
2002-11-26 15:02:34 +00:00
hns
30d593119b Filter helma.doc package from main classloader. This is because helma.doc actually
depends on FESI, i.e. if it is loaded via the main classloader, so will some classes
in FESI, and we want to prevent that.
2002-11-26 14:59:56 +00:00
hns
94e9a8efab Removed boolean inherit argument from INode.get*() methods because it
was never used.
2002-11-26 14:00:04 +00:00
hns
ab349a1c3c Always set evaluator.thread field in invoke(). Otherwise a TimeoutException will
be thrown if invoke() is called before the execution context is entered, which
is the case when resolving request paths via scripted getChildElement() functions.
2002-11-26 13:24:17 +00:00
hns
a6516af320 Rewrote cookie setting to be more flexible and allow setting of path and domain. 2002-11-26 13:22:27 +00:00
hns
c8690f49d3 Renamed evaluator field to eval to avoid abiguities 2002-11-25 13:18:23 +00:00
hns
b57b024082 Re-added getRootHref() method, which was removed because it's not used by
Helma code. Turns out the manage application needs it.
2002-11-25 10:33:07 +00:00
hns
e81bb842c7 Updated version string 2002-11-22 19:33:02 +00:00
hns
452cf28676 Some minor changes in getNodeHref() and getDataRoot() 2002-11-22 19:31:30 +00:00
hns
4757fa93a8 Changed the name of the scripting engine property to scriptingEngine.
Do not print stack trace when an exception is thrown since this is already done
in the scripting engine.
2002-11-22 19:28:35 +00:00
hns
83d997477c Major cleanup all over the helma.objectmodel.db package.
Fixes bug 151.
Some optimization in getElementName().
Removed cases where user prototype was treated as a special case.
2002-11-22 19:26:39 +00:00
hns
b052ee89a7 Removed one unused line 2002-11-22 19:05:29 +00:00
hns
78875ea8e1 Scripting exception can now wrap the original exception. 2002-11-22 19:04:44 +00:00
hns
0ce0f3f0eb Call getChildElement() instead of getSubnode() as fallback in getProperty().
Fixed bug 155.
2002-11-22 14:41:39 +00:00
hns
4babc5c850 * Do not print out exception messages multiple times.
* Create a scripting exception wrapping the original exception.
2002-11-22 14:40:51 +00:00
hns
c1338c3d67 Avoid printing out exception twice in printStackTrace(). 2002-11-22 14:21:43 +00:00
hns
8edec30f84 Fixed type (contructor -> constructor) 2002-11-22 14:01:15 +00:00
hns
16bc1ab07b Do not prepend "Runtime error" in EcmaScriptExceptions. 2002-11-22 14:00:12 +00:00
stefanp
ac03362a52 re-added for use in DocApplication.listFunctions () 2002-11-22 11:37:51 +00:00
stefanp
99b0d50d71 don't add hopobject as a parent prototype to global 2002-11-22 11:37:29 +00:00
stefanp
5bd8b44ee7 added listFunctions() 2002-11-22 11:37:07 +00:00
stefanp
63f3faf811 use app.getCacheUsage() instead of accessing NodeManager 2002-11-22 09:56:40 +00:00
stefanp
1d8329cfde parse DocApplication when it's first accessed.
added getCacheUsage()
2002-11-22 09:55:55 +00:00
stefanp
520a32fe80 some tiny fixes 2002-11-21 18:32:47 +00:00
hns
4372b62ad2 Minor change in log message 2002-11-21 16:03:51 +00:00
hns
a5ed324daf FesiEvaluator was renamed to FesiEngine. 2002-11-21 16:00:31 +00:00
hns
ffbed8751e ScriptingEngine interface got an additonal init() method.
FesiEvaluator was renamed to FesiEngine.
Some naming cleanups.
2002-11-21 15:57:35 +00:00
hns
039ab180be merge in classloader branch 2002-11-21 15:55:32 +00:00
hns
75afb61744 Added getContentType() and getContentLength() methods 2002-11-21 15:47:44 +00:00
hns
c1c7f6af38 Moved auto-ETag generation out of String encoding block so that ETags are
generated for binary responses. Some minor fixes in auto-ETag gen.
2002-11-21 15:46:58 +00:00
hns
8de915b1bb Remove dead code, fix indentation 2002-11-21 15:38:44 +00:00
stefanp
424b2f8021 several bugfixes
added tags deprecated, overrides
DocSkin now only looks for handlers response, request, param, session
2002-11-21 14:27:36 +00:00
hns
b8cf9b2e4c Fetch database records in natural order 2002-11-20 19:31:31 +00:00
hns
79255d217e Call ResultSet.next() when creating an ID from a sequence. 2002-11-20 18:15:23 +00:00
stefanp
9bd47012c5 restructured the whole helma.doc-package.
- implemented latest helma features (function_action for actions etc)
- removed double code, nicer hierarchy, all elements can be used alone
- removed possibility to run from command line, rendering is now only done through
manage application
- streamlined supported tags
2002-11-20 16:00:41 +00:00
hns
b9b7e9988d Encode IP address in session cookie and check if it matches. 2002-11-19 17:12:35 +00:00
hns
1e7dee5c80 Generate launcher.jar. 2002-11-18 16:09:04 +00:00
hns
a077975a28 Initial check in for launcher class/jar 2002-11-18 16:08:04 +00:00
hns
396a2ce634 Backpedal on previous changes. Instead, check if value returned by
ResultSet.getBigDecimal() is null.
2002-11-18 14:58:30 +00:00
hns
b2159e9aef Work around missing functionality in ResultSet implementations. 2002-11-18 14:16:40 +00:00