Commit graph

2351 commits

Author SHA1 Message Date
hns
455caba145 robert: set svn:mime-type property on all html files 2007-09-28 13:29:58 +00:00
hns
8fc2269faa robert: removed svn:mime-type and set svn:keywords property of all text files 2007-09-28 13:16:38 +00:00
hns
d5392b3600 This commit was manufactured by cvs2svn to create tag 'helma_1_5_3'. 2006-11-08 13:37:17 +00:00
hns
6af4923d92 * Call onStart() directly in calling thread rather than in scheduler
to make sure it completed before the application gets mounted.
2006-11-08 13:37:16 +00:00
hns
618d64b6d9 * Update version to 1.5.3 2006-10-31 15:04:46 +00:00
hns
dee9082f1c * Add log level info such as [INFO], [ERROR], [WARN] to log output.
* Add Logger.Entry class to avoid unnecessary String concatenation.
* Unify Logger classes code a little bit, making better use of inheritance.
* Run logger thread 3 times per second instead of 4 times.
* Add Javadoc comments and tags.
2006-10-31 14:57:55 +00:00
hns
be47e80327 * Convert file name to absolute path in constructor to work around java.io.File glitches.
Fixes bug 488 <http://helma.org/bugs/show_bug.cgi?id=488> (merge to helma_1_5
  from HEAD)
2006-10-23 18:36:48 +00:00
hns
c0cc7a633d * Use extensionId/prototype name instead of just the prototype name if a filter
refers to the prototype column. Fixes bug 484 <http://helma.org/bugs/show_bug.cgi?id=484>
  (merging to helma_1_5 from HEAD)
2006-10-23 18:34:23 +00:00
hns
1b32fa7cee * Set/Get current RequestEvaluator explicitly via ThreadLocal
* Prevent NullpointerException when scripting engine is initialized
  from non-request-evaluator thread
2006-10-17 09:28:18 +00:00
hns
0470c24db3 * Simplified addRepository() a bit, no need to track updated resources here. 2006-10-16 13:56:58 +00:00
hns
bfc5b513b6 * Implement code injection feature to RhinoEngine/Core to allow
app.addRepository() to immediately compile new resources.
2006-10-16 12:44:43 +00:00
hns
acc5471ca9 * Copy over updated keyMap in update(). 2006-08-25 18:44:43 +00:00
hns
bc8b4ce0b0 This commit was manufactured by cvs2svn to create branch 'helma_1_5'. 2006-08-18 14:59:40 +00:00
hns
fc37ba8cb3 * Try to delete work/src before copying over files. 2006-08-18 14:59:38 +00:00
hns
89dfbbdaa1 * Update version info to 1.5.2 2006-08-18 14:41:20 +00:00
hns
9def07d6e9 * Omit parent lookup in getParent() for transient nodes. 2006-08-16 11:41:08 +00:00
hns
f779decdfc * Minor code improvement in write() method. 2006-08-16 11:05:26 +00:00
hns
736769cc80 * Fix terrible guaranteed nullpointer exception bug. 2006-08-11 18:00:38 +00:00
hns
47b101827a * Clean up and unify DbMapping constructors a bit.
* Make typename, app, and props fields final.
* Issue prominent warnings if parent proto can't be resolved or
  relational extended type doesn't have a _prototype mapping.
* Determine in update() if this is a relational mapping or not.
2006-08-10 21:28:58 +00:00
hns
5924f93f81 * Issue a prominent warning if parent can't be resolved using a prototype's _parent setting 2006-08-10 21:23:49 +00:00
hns
c32fec5dde * Make root _parent info in type.properties case insensitive. 2006-08-10 21:19:20 +00:00
hns
6022d616b5 * Add better error logging to getParent()
* Add checks for underscore property name before persisting/marking dirty in setNode()
* Extract underscore property name check into isPersitableProperty() method
2006-08-10 20:01:09 +00:00
hns
8c4273631d * Do not register newly created root nodes with the node cache as this may cover
actual root nodes stored in a relational database.
2006-08-10 15:16:01 +00:00
hns
33d59c0c59 * Check if _prototype is set in type.properties before appending proto clauses to queries. 2006-08-09 19:36:51 +00:00
hns
9a6757f75b * Two fixes for case insensitive maps in containsKey() and get(). 2006-08-09 11:04:29 +00:00
hns
16eca87022 * Implement both ETag and Last-Modified based conditional requests as some browsers
(e.g. Safari) don't seem to support ETags for embedded images and stuff.
2006-08-09 10:24:31 +00:00
hns
9491159dbb * Add comment to Properties keyMap field 2006-08-09 09:57:05 +00:00
hns
d47a2de6ff * Implement new case insensitive mapping that uses an in-between key lookup
table and preserves capitalization of property keys.
2006-08-09 09:55:24 +00:00
hns
4ee8b35d80 * Store property to relation mapping with lower case property name as
ResourceProperties will preserve key capitalization from now on.
2006-08-09 09:52:10 +00:00
hns
56f83cb75b * From Manfred's last patch for bug 468:
- Factor out repetitive SQL query building tasks into DbMapping.appendCondition()
  - Implement automatic extended prototype filter for collections
  - add prototype ids, but with simplified implementation (be agnostic
    about numeric ids vs. prototype names)
* Rewrite relational node insertion code
* Make better use of DbColumn class wherever possible
* Minor code improvements throughout the place
2006-08-08 15:37:09 +00:00
zumbrunn
37f26241c4 increased version number to 1.5.1 2006-08-07 13:49:14 +00:00
hns
2c2e9fbbb5 * Remove READONLY attribute from native HopObject methods. 2006-08-04 08:31:41 +00:00
hns
f5b90c23f1 Cumulative patch:
* Factor out invokeOnInit() method from Node.init() in order to implement onInit() invocation
  for the embedded database.
* Make properties starting with an _underscore transient in the embedded database,
  mirroring the behaviour of the object relational storage.
* Keep filter.additionalTables from being included in prefetchNode() queries, fixing bug 472.
* Some minor code cleanup and simplification.
2006-07-29 12:01:52 +00:00
hns
21be4d8651 * Add -h $HELMA_HOME to helma command line arguments. 2006-07-24 18:08:13 +00:00
hns
69cad60e86 * Keep in mind that repository list may grow while we're looping over it in checkRepositories().
Use a hashmap instead of a long[] to track last scan times. (fixes bug 470)
2006-07-24 14:57:49 +00:00
hns
9405046ee5 * Consolidate location for launcher.jar to HELMA_INSTALL (bug 471) 2006-07-24 13:44:15 +00:00
hns
e85a87f8d2 * Update to jakarta commons-fileupload 1.1.1. 2006-06-21 08:55:03 +00:00
hns
ddb6119b4d * Update to jakarta commons-io 1.2. 2006-06-21 08:54:44 +00:00
hns
83dd1e7c1f * Make sure we do not remove HopObject constructors if they aren't referenced during
global code compilation anymore. Fixes bug 464 <http://helma.org/bugs/show_bug.cgi?id=464>
2006-06-19 18:58:38 +00:00
hns
6a96d0c7a0 * Implement getResource() and getResources() for scripted java objects. 2006-06-19 13:56:57 +00:00
hns
7c658fa9db * Add support for ID generation using PostgreSQL sequence syntax 2006-06-17 11:52:46 +00:00
hns
1213c464e3 * Add isPostgreSQL() method to DbSource and DbMapping. 2006-06-17 11:50:59 +00:00
hns
332f98cbd0 * Always use select max id generator for MySQL databases since they
don't support sequences.
2006-06-16 17:33:35 +00:00
hns
118c9d9f2b * Implement isMySQL() methods to query if the db behind the mapping/source is MySQL. 2006-06-16 17:31:29 +00:00
hns
46a14e1941 * Use logError() instead of logEvent() to log exceptions.
* Use Exception constructor that takes original exception as second argument
  to propagate errors. This is safe since we now require Java 1.4 anyways.
2006-06-16 17:18:51 +00:00
hns
0ccb0f1010 * Convert file names to absolute paths in serialize()/deserialize() to avoid
names being interpreted relative to root on Mac OS X.
2006-06-13 10:46:50 +00:00
hns
9eb4285880 * Update to Javamail 1.4. 2006-06-07 12:44:17 +00:00
hns
5910237039 * Update to Java Activation Framework 1.1. 2006-06-07 12:43:25 +00:00
hns
1c51121bdc * Implement ETag based conditional GET for forwarded resources.
(ETag is based on last modified date and file size)
2006-06-03 07:13:06 +00:00
hns
cab28b406a * Fold default properties checksum calculation into getChecksum() so changes in
default properties will get picked up even if they were already consumed by other
  child properties.
* Reimplement update algorithm using a temporary ResourceProperties object to
  avoid getting into unconsistent state by invoking clear().
* Use uppercase name for final CACHE_TIME field.
* Make update() synchronized as concurrent invocation could be absolutely harmful.
2006-05-26 14:41:50 +00:00