hns
e72037c35f
Implement getScriptingEngine(): gets the evaluator's scripting engine,
...
creating and initializing it if necessary.
2005-03-18 01:59:43 +00:00
hns
b21a0d8ddb
Added Javadocs, minor code reformatting, removed unused method.
2005-03-18 01:42:19 +00:00
hns
732fab12b8
Overworked and cleaned up session code a bit:
...
* Made all fields in Session and SessionManager protected to allow
subclassing outside the package
* Renamed SessionManager.setApplication() to init() and introduce
SessionManager.shutdown()
* Introduce Session.commit(RequestEvaluator) which is called after a HTTP
request has finished executing
2005-03-17 08:32:47 +00:00
hns
b953e6e3b2
Use logError() rather than logEvent() for logging HTTP request errors
2005-03-16 20:20:54 +00:00
hns
aaeba92e4b
Swap out session handling into separate SessionManager class.
2005-03-16 17:32:32 +00:00
hns
6ad5e1ae28
Implement Session.login(userName, password)
2005-03-16 17:29:16 +00:00
hns
e51725aba0
Add serilaize()/deserialize() support to ScriptingEngine to allow engines
...
to take care of serialization of scriptable objects.
2005-03-16 17:28:27 +00:00
hns
301d589fae
Fix bug that always caused resource- and app-less properties to be cleared in update().
2005-03-16 16:48:01 +00:00
hns
2127a6738f
Fix ClassCastException in SkinMap.load()
2005-03-16 16:27:41 +00:00
hns
628cadcf49
Implement global serialize() and deserialize() functions
2005-03-16 11:48:42 +00:00
hns
4527bda2b5
* Re-implemented support for .hsp files in HEAD.
...
* Cleaned up .hac and .hsp processing code
* Renamed RhinoActionAdapter to HacHspConverter
2005-03-16 11:05:43 +00:00
hns
dc394199be
Register thread local variables before calling updatePrototypes() in order
...
to allow various things to happen during code compilation.
2005-03-15 18:05:33 +00:00
hns
6a29c2b465
Avoid using enum as variable name in order to compile on Java 1.5
2005-03-15 17:35:39 +00:00
hns
71c4482c76
Fix .hac action file support
2005-03-15 14:42:21 +00:00
hns
856133d12a
Handle internal calls for non-existing functions. Fixes bug 417.
...
http://helma.org/bugs/show_bug.cgi?id=417
2005-03-15 12:38:55 +00:00
hns
25fc5f7126
Log error and rethrow exception in initScriptingEngine()
2005-03-15 12:15:22 +00:00
hns
d4c3769bf5
Fix case where repository name contains a dot, but filename doesn't.
2005-03-15 11:55:26 +00:00
hns
0c4bb5b7d4
Fix NullPointerException for prototype folders with non-valid type names
2005-03-15 10:43:15 +00:00
hns
f7e929441c
Implement our own RhinoDebugger subclass to display scripts in a nice table.
...
The current implementation is merged from helma_1_4 branch and a bit quirky
in regard to repository script source names
2005-03-14 16:30:32 +00:00
hns
fb04c05289
Hack: Move over Rhino debugger to helma.scripting.rhino.debug because most of the internals
...
are defined as package-private so there's no way to subclass unless we're in the same package.
2005-03-14 16:28:53 +00:00
hns
2373d63719
Add support for rhino debugger (merge from helma_1_4)
2005-03-11 15:41:35 +00:00
hns
1f84ed41ac
Gracefully handle the case where getConnection() is called by a non-transactor thread
...
(merge from helma_1_4)
2005-03-11 15:37:32 +00:00
hns
344c0da36e
Make session cookie name configurable via sessionCookieName in apps.properties
...
(merge from helma_1_4)
2005-03-11 15:36:42 +00:00
hns
bcf5542565
Unset transaction name in commit() and abort() - merge from helma_1_4 branch
2005-03-11 13:32:44 +00:00
hns
a77a6cf602
Make reqtype field volatile (merge from branch helma_1_4)
2005-03-11 13:27:15 +00:00
hns
9f842e8c5d
Merged in repository_patch branch. Plus these changes:
...
* Renamed helma.util.SourceProperties to helma.util.ResourceProperties
* Removed timing from helma.framework.core.RequestEvaluator
2005-03-10 16:54:04 +00:00
hns
343fad7638
Improve JS Image constructor:
...
* Implement Image constructor from helma.util.MimePart
* Improve error reporting: Include original exception message for IOExceptions,
include argument info to detect wrong arguments
2005-03-09 16:43:33 +00:00
hns
9bcdfd7cd0
Check if Server.getServer() is not null before trying to get property from it.
2005-03-09 15:49:00 +00:00
hns
0b2b5718aa
Switch version to 1.4.2
2005-03-09 14:01:07 +00:00
hns
4220bf13f1
Use JDK 1.2 compatible version of Jetty 4.2.22 (extra/lib/org.mortbay.jetty-jdk1.2.jar)
2005-03-09 13:53:40 +00:00
hns
78d647f521
Implement HopObject.persist() to store HopObjects to db without adding them to any collections.
2005-03-08 11:46:15 +00:00
hns
bee76afeb7
Fix bug where collections are reloaded on change of private properties.
2005-03-08 11:33:09 +00:00
hns
46fc141e97
Fix bug in getZipEntryContent() where entries aren't fully read if not immediately available.
2005-03-07 17:15:20 +00:00
hns
d66c3965d4
Use helma.[appname].sql.log as SQL log file by default,
...
configurable by sqlLog entry in app.properties.
2005-03-07 15:10:44 +00:00
hns
156ad8f721
Michael Platzer's SQL Logging patch, with millisecond timeing and a few stylistic changes.
2005-03-07 13:42:57 +00:00
hns
183e222f67
Reset some fields that were previously left out in reset().
2005-03-01 12:50:30 +00:00
hns
21d0cffb54
Check for empty tag stack, fixing bug 414
...
http://helma.org/bugs/show_bug.cgi?id=414
2005-03-01 12:15:51 +00:00
hns
05753dc7e5
Implement per-HTTP method action names, e.g. main_action_post.
...
The methods that were handled by Helma traditionally (GET, POST, HEAD) are still
mapped to actions without method name in case no per-method action is defined.
2005-03-01 11:43:14 +00:00
hns
4d0d1b33bb
* Fix bug where 0 is assumed as id of the root object in getParent()
...
* Fix bug where child node is set to anonymous after calling addNode()
2005-02-26 08:57:43 +00:00
hns
700f2b41ea
Remove global getById() in favor of Constructor.getById() which now takes
...
an optional second prototype argument.
2005-02-15 14:27:54 +00:00
hns
91136fed4c
Implement static HopObject.getById() function as described in this thread:
...
http://grazia.helma.org/pipermail/helma-user/2005-February/002777.html
2005-02-11 16:58:24 +00:00
hns
0c3997ccc3
Use package name as log name in getInstance(Class)
2005-02-10 22:59:38 +00:00
hns
7aa8a8ac87
Added global getById() function which allows to retrieve any persistent HopObject
...
by type name and id.
2005-02-10 16:07:17 +00:00
hns
c93316078c
* Make sure we use the absolute path in getInstallDir()
...
* Fixing indentation in getInstallDir()
* Print stack trace on bootstrap error
2005-02-03 17:56:58 +00:00
hns
3933fbf91b
Don't write out response body for HEAD requests.
2005-01-31 17:05:14 +00:00
hns
44dedeb839
Fixed date format in getStringValue()
2005-01-31 15:45:00 +00:00
hns
4f7de157b1
Catch AbortException to abort the transaction but not generate an
...
error message, leaving the response untouched.
2005-01-31 15:34:21 +00:00
hns
8014a390cb
Committing Robert's patch for bug 394.
...
http://helma.org/bugs/show_bug.cgi?id=394
2005-01-28 15:07:00 +00:00
hns
4f074f329a
Skip response closing and writing if the response was already written
...
and committed by the application.
2005-01-28 13:52:44 +00:00
hns
0143f7a9dc
Add support for res.getServletResponse() and res.servletResponse
2005-01-28 13:16:56 +00:00