Commit graph

2360 commits

Author SHA1 Message Date
hns
326f30a88b Change appDir handling:
* If appDir is not defined in apps.properties, use the last file repository as appdir
   (used to be the first one)
* If appDir is defined, add it to the end of the repository list if it isn't explicitly
   listed as repository.
* If appDir is defined in apps.properties, use it for the app.dir JS variable.
* Never automatically create an app's file repositories.
2005-12-12 17:54:26 +00:00
hns
fa3ddd8a68 * Remove unused import statements. 2005-12-12 17:48:44 +00:00
hns
103f0f446f * Make checkForUpdates() synchronized, as concurrent threads can cause a
ConcurrentModificationException in the iterator.
2005-12-12 15:54:07 +00:00
zumbrunn
bc44143b14 Updated the URL provided for additional mod_jk information, since JK2 development has been shut down. 2005-12-12 14:49:41 +00:00
hns
06c8b33950 * Make start.sh executable in binary Unix build. 2005-12-12 14:25:20 +00:00
zumbrunn
0854a71ca0 Updated readme file for version 1.5 2005-12-12 12:02:09 +00:00
zumbrunn
6e4bf10db0 Small changes to new core build target and lgpl-license which both slipped in with the last commit. 2005-12-12 10:57:27 +00:00
zumbrunn
8b05e95712 Removed duplicate license, start, properties and static files 2005-12-12 10:48:06 +00:00
zumbrunn
dbfcfdcd27 Attempting to change execution bit on compile.sh 2005-12-09 12:07:42 +00:00
zumbrunn
e7c799a813 Attempting to change execution bit on compile.sh 2005-12-09 12:04:42 +00:00
zumbrunn
45cc20d002 Attempting to change execution bit on compile.sh 2005-12-09 11:59:47 +00:00
zumbrunn
c3edc5407d Renamed hop.sh/hop.bat to start.sh/start.bat 2005-12-09 11:50:18 +00:00
michi
11dc7d3651 fix bug #442: correct erroneous line separators, that occur when windows-encoded files are commited from unix 2005-12-01 08:41:40 +00:00
michi
f2f23f82e8 fix bug #442: correct erroneous line separators, that occur when windows-encoded files are commited from unix 2005-11-29 11:22:26 +00:00
hns
1ec82737bf * Implement zero argument writeln() method to write a newline sequence. 2005-11-25 13:41:05 +00:00
hns
ad8b7e11ec * Make ResponseTrans extend java.io.Writer in order to simplify using it with
3rd party templating engines.
2005-11-25 13:40:24 +00:00
hns
86e880c713 * Make getResources() public. 2005-11-25 13:37:07 +00:00
hns
3e98b1f4bf * Make HopObject.get() behaviour more consistent and predictable: Return null for
non-existing properties that were previously set or are defined in the type mapping,
  and undefined for non-existing properties that are not defined in the type mapping.
2005-11-25 12:41:13 +00:00
hns
f84ab79675 * Check for null format argument in Date.format() 2005-11-22 16:57:12 +00:00
hns
b64c845258 * Adapt to strange behaviour of Apache XML-RPC 2.0 to return
exceptions instead of throwing them. Fixes bug 446.
2005-11-17 16:47:15 +00:00
hns
dd8ac80a09 * Make getConnection() and init() synchronized.
* Fix JavaDoc comments.
2005-11-17 16:23:51 +00:00
hns
b51be97d41 * Switch back to event log as default log for app-based logging. 2005-11-17 16:20:18 +00:00
hns
527a1bc846 * Simplify static HopObject constructor getter code.
* Set node reference to an empty transient node in checkNode()
   for deleted/invalid HopObjects.
2005-11-17 14:22:11 +00:00
hns
ed6712719c Application.java:
* Check logdir app property in updateProperties() rather than in getLogger().
* Only set helma.logdir system property if it isn't already set to prevent conflicts
   between applications.
* Insert new repositories at the beginning of the list in addRepository().
* Some cleanup.

ApplicationBean.java:
* Use "helma.[appname].app" as default log name for messages logged through
   app.log(), app.debug().
* Introduce app.getLogger() and app.getLogger(name) that return a Jakarta
   commons Log instance. The zero argument method uses "helma.[appname].app"
   as category name.
* Added and fixed some JavaDocs.
2005-11-16 11:44:22 +00:00
hns
4bb6f72baa * add global variable "global" as a reference to the global object 2005-11-16 10:17:09 +00:00
zumbrunn
d5d5fb49ba Updated build script and apps.properties to include the welcome app 2005-11-16 08:27:56 +00:00
hns
350ffd0d73 * Implement getTargetType() and getRefType() to enable high level type.properties introspection 2005-11-10 17:04:53 +00:00
hns
da0502ecfe * Implement getPropertyNames() to enable high level type.properties introspection 2005-11-10 17:04:12 +00:00
hns
d18ae12d12 * Use logError() for exceptions caught from onStart() so that a stack trace is generated. 2005-11-09 15:35:30 +00:00
hns
613344a006 * Implement app.getPrototypes() and app.getPrototype(name) to allow app introspection. 2005-11-09 15:32:10 +00:00
zumbrunn
ef0176fec0 Changed cvs tag used when building the helmaLib target back to the default, since the release_1_5 branch was merged back to the trunk. 2005-11-08 10:15:28 +00:00
hns
d8a508c55e * Implement getDbProperties() for db.properties introspection.
* Implement getDbSource().
2005-11-07 14:42:46 +00:00
hns
61f9b6476e * Implement getDbProperties() for db.properties introspection. 2005-11-07 14:42:24 +00:00
zumbrunn
9593e25aed Updated readme to reflect current build targets 2005-11-07 11:24:27 +00:00
zumbrunn
b1680f8ad0 Changed cvs tag used when building the helmaLib target to release_1_5. 2005-11-07 11:23:06 +00:00
zumbrunn
cd7497c7bc Updated default configuration files to include more current example properties and references to the relevant documentation. 2005-11-07 11:21:47 +00:00
hns
3b4e89441c * Set version info to 1.5.x. 2005-11-04 15:54:54 +00:00
hns
ddf4b1f8e7 * Fix bug 443: http://helma.org/bugs/show_bug.cgi?id=443
check cookie domains for proxied request using the x-forwarded-for header.
2005-11-03 14:03:07 +00:00
hns
96605d1c69 * Adopt suggestions from bug 441: http://helma.org/bugs/show_bug.cgi?id=441
- Catch FileNotFoundException in loadSessions() and suppress error message
  - Catch NotSerializableException in storeSessions() in order to continue serializing.
* Use logError() for error logging.
* Minor code improvements.
2005-11-03 13:41:30 +00:00
hns
b7f0aa4ee2 * Fix NullPointerException in getAction() for 404 requests.
* Move XML-RPC response and error encoding to ResponseTrans class.
* Implement error response generation for new type XML-RPC requests.
* Set req.method to "XMLRPC" for new type XML-RPC requests.
2005-10-25 14:36:19 +00:00
hns
8a30ebf693 * Add start and shutdown calls for embedded XML-RPC web server. 2005-10-21 21:46:11 +00:00
lehni
25fd8cb805 made ImageIOGenerator the default ImageGenerator, JimiGenerator the fallback scenario 2005-10-20 11:05:11 +00:00
lehni
67d7e915ee Cleaned up parameter handling differences between imageCtor and GetInfo.call, added MimeTipe to imageCtor, etc. 2005-10-20 09:14:00 +00:00
hns
34eaf86d50 * Make isXmlRpc() synchronized. 2005-10-18 15:39:07 +00:00
hns
d2b9023500 * Add experimental capability to directly handle XML-RPC HTTP requests. 2005-10-18 15:38:48 +00:00
hns
623c639154 * Add isXmlRpc() and setXmlRpc() to tell the request evaluator if it makes sense
to try to handle this request as XML-RPC request.
2005-10-18 15:36:02 +00:00
hns
9fd550a27e * Add commons-codec.jar to classpath (required for Apache XML-RPC 2.0) 2005-10-18 15:34:55 +00:00
hns
e758330257 * Upgrading to Apache XML-RPC 2.0, with minor patch to throw
an exception when encountering an unknown element name.
2005-10-18 15:34:17 +00:00
hns
d0762a608c * Adding jakarta commons-codec 1.3 (from xml-rpc 2.0) 2005-10-18 15:33:18 +00:00
hns
1ccd0fb75c * Use Property.getStringValue() to resolve property references in query filters,
otherwise Node references will be rendered as NodeHandle[...].
2005-10-18 13:37:48 +00:00