Commit graph

1335 commits

Author SHA1 Message Date
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
hns
8c25c9f30b Do not use ResultSet.isLast() since Oracle JDBC driver does not implement it. 2002-11-18 14:11:05 +00:00
hns
0f84163d78 Render format date more often 2002-11-14 17:35:16 +00:00
hns
0030004f37 Use getTableName() in getSelect(). Fixes bug 161. 2002-11-14 17:09:45 +00:00
hns
5123d254d4 Update to Servlet 2.3 API 2002-11-14 16:48:21 +00:00
hns
6945dc3774 Updated to org.mortbay.jetty-jdk1.2.jar from the Jetty 4.1.3 distribution. 2002-11-14 16:43:13 +00:00
hns
09d0bf57b9 Reworked class to actually use itself as propertie container instead of a delegate
properties object.
2002-11-13 16:35:13 +00:00
hns
a41483168a Column names are stored as upper case in the column-to-relation map. 2002-11-11 19:31:46 +00:00
hns
e37d26f94d Do not append "WHERE" when calling Relation.buildQuery() because the relation
may not need a where clause. Also returned to the way things were before when
getting a node using a hand-set subnodeRelation.
2002-11-11 19:20:26 +00:00
hns
667dfb8544 Load additional properties through an instance of SystemProperties so the keys
are transformed to lowercase. Otherwise lookup will not work for keys that contain
upper case characters.
2002-11-11 18:59:57 +00:00
hns
62d38fcef6 Added missing 'order by' to getNodes() 2002-11-09 22:29:21 +00:00
hns
18fc2e8cd2 Check if scriptingEngine is not null in abort(). 2002-11-08 14:19:57 +00:00
hns
59330c9a01 use logEvent() instead of System.err.println() 2002-11-08 14:19:15 +00:00
hns
b90ef71017 Do some real cleanup work at shutdown. Apps are now stopped and Loggers
are flushed and closed. Still to do: Close server ports.
2002-11-06 12:08:49 +00:00
hns
fd74552857 Added a wakeup() method that allows us to ping the Logger thread to resume
running immediately. Also decreased the sleep interval to 250 millis, so logging
output should be more fluent now.
Reformatted innger GZipper class.
2002-11-06 12:07:53 +00:00
hns
a080342079 Made response compression switchable via appname.responseEncoding = true
Added stopAll() method which cleans up at system shutdown.
2002-11-06 12:05:52 +00:00
hns
3472ea06c1 Only rotate log files if the existing file is not empty. 2002-11-06 11:13:18 +00:00
hns
2b5057e136 Created initial shutdown hook that does nothing 2002-11-06 11:00:48 +00:00
hns
dfc2431343 Use JDBC API directly for all queries. The only place where Village is still used is for inserts and updates. 2002-11-06 10:49:41 +00:00
hns
4529071cf4 *** empty log message *** 2002-11-06 10:06:05 +00:00
p3k
37d645663d updated to versions as is build/main 2002-11-06 09:29:49 +00:00
hns
5d021c5e0f Handle quotation mark escapes. 2002-11-05 19:12:47 +00:00
hns
7f9c5d65c0 Reworked encode() method: The hierarchy of HTML tags, macro tags and HTML
comments is now right. Also made the method perform a bit faster by not creating
in intermediate char array. Fixes bug 152.
2002-11-05 18:52:30 +00:00
hns
1daa648bea Remove title, head and body fields 2002-11-01 22:48:02 +00:00
hns
ac5d1a6cc4 Render message and error from response object 2002-11-01 22:47:17 +00:00