hns
f9a327a9e8
* Made most fields in RequestEvaluator private and use a synchronized getter to access them
...
* Minor change in ScriptingEngine interface
2005-09-13 13:40:31 +00:00
hns
e05d4eabc8
* Be more precise when throwing exception in popStringBuffer().
2005-09-13 10:22:53 +00:00
hns
c57877dfb8
* Add dontEnum() function to JavaScript Object prototype. Takes a variable list
...
of String arguments of propertiy names to set to DONTENUM.
* Add some missing Javadocs.
2005-09-08 19:39:33 +00:00
hns
58a109b727
* Do not log concurrency conflicts. This is often misinterpreted as error which it is not.
2005-09-07 08:42:20 +00:00
hns
84751f86a6
* Move sql logging to finally clause so statements are logged even if an exception is thrown
...
* Unified String/StringBuffer variable naming a bit
2005-09-07 08:41:16 +00:00
hns
58b09f4436
* Pass prefix, suffix, default parameters to macro functions and allow them to change them.
...
Implemented by putting these values into a helper class RenderParameters which can
easily overridden.
2005-09-01 22:01:17 +00:00
hns
1a3434837d
* Put copy-on-write WrappedMap into separate class in order to be able to synchronize
...
all of its methods, which is necessary to catch the switch between original and copied map,
and which isn't necessary for ordinary and read-only WrappedMaps.
2005-09-01 21:57:56 +00:00
michi
d728d7fe21
compiler warned about 'unmappable' character in juerg lehnis name; changed umlauts to ascii
2005-09-01 19:38:58 +00:00
zumbrunn
88b3579908
Updated old 2002 license version that was still used by the build script with the current license and changed the year to 2005
2005-09-01 13:01:29 +00:00
zumbrunn
a156431e69
Removed old static files of himp demo app
2005-09-01 12:56:16 +00:00
zumbrunn
8783b0e01c
Removed gong, bloggerapi and lillebror from list of default apps and updated version number in build script from the bogus 1.4.2 to 1.5.0
2005-09-01 12:41:18 +00:00
hns
3aa000e95b
* Only show last two elements of script path in debugger.
...
(Assume common case it is the prototype and the script.)
2005-08-31 20:35:06 +00:00
hns
24e878c176
* Refactored helma.doc package to make it work with repositories.
2005-08-31 12:20:42 +00:00
hns
b5b60e3d92
* add getResources().
2005-08-31 12:18:13 +00:00
hns
02ce5cc92e
* Add getTypeProperties() and getSkinResources(), removed unused isJavaPrototype field.
2005-08-31 12:17:54 +00:00
hns
5c804670cb
* Add new global function defineLibraryScope(string, boolean). This creates a new global
...
property object with the name in argument 1 only if it doesn't exist yet, and optionally
populates it with the standard JavaScript object (String, Date, isNaN, ...)
2005-08-30 16:52:30 +00:00
hns
05bce5953e
* Make helmadoc work with multiple application repositories.
2005-08-30 11:01:27 +00:00
hns
3a55bd1b5e
* Simplify some boolean statements.
2005-08-30 11:00:50 +00:00
hns
9f8774adc7
* Simplify checks for ignoreCase.
2005-08-29 16:13:13 +00:00
hns
d76533a0c9
* Make main db.properties case sensitive.
2005-08-29 16:12:30 +00:00
hns
1a62a3db34
* Fix Bug 439: req.action returns wrong result on GET/POST/...
2005-08-29 15:56:20 +00:00
hns
8044f33450
* Only prepend table name to query if access name doesn't contain "(" or "."
...
This makes it possible to use an SQL function as group criterium
2005-08-29 15:25:30 +00:00
hns
5efab894ef
* Only prepend table name to query if access name doesn't contain "(" or "."
2005-08-29 14:11:38 +00:00
hns
8b446fea01
* Minor changes: remove unused code, switch error message to lower/mixed case.
2005-08-29 14:10:24 +00:00
hns
0f3d15cee5
* Patch from Juerg Lehni: try to autodetect Joins in additionalTables option.
...
* Some code cleanup:
- Don't do string concatenation in arguments to StringBuffer.append()
- Remove redundant if clause
- Remove throws statement for unthrown exceptions
- Remove unneeded variable initialzation
2005-08-29 13:49:31 +00:00
hns
961f755c4f
* Only interpret last path element as action if it is not terminated by a "/".
...
This helps us to disambiguify URLs: /foo/ will never be interpreted as action,
while /foo will be.
2005-08-29 12:06:24 +00:00
hns
37574fbdfd
* Provide a getter for the repository's directory.
2005-08-25 10:13:22 +00:00
hns
af84ec19c9
* Remaining public fields in RequestTrans converted to private, final where possible
...
* Added setters/getters
* Improved hashCode() implementation for RequestTrans
2005-08-18 22:55:30 +00:00
hns
3d6da7803d
* Synchronize get() and set() to hopefully get rid of weird property read errors.
...
* Do not access static fields through instance variable
2005-08-18 22:41:00 +00:00
hns
04d8589d29
Make public fields in RequestTrans private, remove transient modifier, add getters and setters as needed,
...
synchronize getter and setter for action to fix inconsistent behaviour.
2005-08-18 21:46:52 +00:00
hns
97c5399c9b
Implement getPrototypeProperties(String) to get a SystemMap containing the
...
scripted properties of a prototype.
2005-08-12 13:27:26 +00:00
hns
3b2a106503
Handle case where global variable is null.
2005-08-12 13:18:38 +00:00
hns
ac0fc677a5
* Set connection readonly flag to true in executeRetrieval() and false in executeUpdate().
...
* Remove a few unneeded local variables.
2005-08-12 13:18:11 +00:00
lehni
a878d5919a
Added more possible parameters for the Image() constructor: BufferedImage, Image
2005-08-12 11:32:03 +00:00
lehni
5050abc53d
Various changes to the imaging code:
...
- added Image.trim(), that trims an image based on a specified pixel, just like in Photoshop.
- saveAs exists in two versions now, one that takes a filename, the other an OutputStream + Mime type (first step toward an Java activation framework based approach)
2005-08-12 11:30:04 +00:00
lehni
29f4faa3a1
Various changes to the imaging code:
...
- added Image.trim(), that trims an image based on a specified pixel, just like in Photoshop.
- saveAs exists in two versions now, one that takes a filename, the other an OutputStream + Mime type (first step toward an Java activation framework based approach)
2005-08-12 11:28:55 +00:00
hns
e78b126148
Convert rootPrototype and userPrototype fields to local variables.
2005-08-09 23:50:21 +00:00
hns
b316462c69
* Extract session cleanup and cron job invoker code from run()
...
into separate cleanupSessions() and executeCronJobs() methods
* Add some missing JavaDoc tags
2005-08-09 17:44:55 +00:00
hns
42a088ef58
Do not insist on helma.jar to be in classpath. This is useful for running Helma
...
in alternative environments such as GCJ.
2005-08-09 17:32:39 +00:00
hns
7e44b71d6d
Normalize upload file names by cutting off any path info before the actual file name.
2005-08-09 13:37:19 +00:00
kmfdm
9b97203b3a
added try-catch-blocks around CronJob parsing and CronJob handling
2005-08-09 12:55:23 +00:00
hns
5982de3b48
Add uploadSoftfail servlet init parameter
2005-08-01 10:03:16 +00:00
hns
24fb08d1fc
Improve cron thread log output
2005-08-01 10:02:44 +00:00
hns
7218ddd4da
Simplify getCronJobs() implementation
2005-08-01 10:01:58 +00:00
hns
f369c4ca1b
Minor plastic surgery: move item.delete() up a few lines.
2005-07-29 13:41:15 +00:00
hns
1682808eca
Delete upload file item after usage.
2005-07-29 13:37:24 +00:00
hns
3c29cd2e32
* Use Hashtable instead of WeakHashMap for activeCronJobs - we're using function names as keys, so
...
it's actually bogus to use WeakHashMap, plus WeakHashMap is not synchronized.
* Add event log statements each time cron jobs are executed: List of cron jobs we're going to execute,
and the map of cron jobs still active from last time.
* Add log statement if CronRunner catches an exception, just so it behaves like the same-thread cron
execution code.
2005-07-29 13:30:45 +00:00
hns
42989de65e
Add app.getCronJobs() function that allows to retrieve the currently registered custom cron jobs.
...
This returns a JavaScript object with the function name as property names and the helma.util.CronJob
instance as property values.
2005-07-29 13:24:31 +00:00
hns
878b7ee06d
* Switch to Jakarta Commons FileUpload for handling file uploads.
...
* Introduce uploadSoftfail setting in apps.properties that allows
file upload errors to be cought by checking req.data.helma_upload_error
2005-07-29 11:45:42 +00:00
hns
56c1973ca5
Adding commons-fileupload.jar to classpath
2005-07-29 11:31:55 +00:00