Commit graph

1771 commits

Author SHA1 Message Date
hns
e01c244d40 Improved check if cached NullNode is still valid. 2002-10-01 15:52:22 +00:00
hns
e6de4746d9 Added mechanism to add properties from other sources than the primary
properties file, e.g. a Zip file.
2002-10-01 15:50:59 +00:00
hns
6f96481c2b Made remove() public since it is now part of the Updatable interface.
Removed old obsolete code.
2002-10-01 15:49:36 +00:00
hns
9a585f9b40 Made remove() public since it is now part of the Updatable interface. 2002-10-01 15:48:56 +00:00
stefanp
22ec65ab3b added property app.cacheusage that holds current number of elements
in the object cache.
2002-09-30 09:41:55 +00:00
stefanp
972507995c - append only to logfiles that were lastmodified today
- first name tried for archive doesn't have a counter anymore
2002-09-30 09:39:43 +00:00
stefanp
23cd196c72 - rotate the logfiles at midnight and not each 10MB.
- append to existing logs after a restart
2002-09-27 16:07:44 +00:00
hns
fb90032ffd Made scriptingEngine protected again, since it is used by Skin. 2002-09-27 07:19:07 +00:00
hns
36b7ce8221 Do lazy initialization of scripting engine. If immediate creation is desired, calling code can do this by invoking the iniitScriptingEngine() method. 2002-09-27 07:12:50 +00:00
hns
c591ab2e7d If no evaluator is available in getEvaluator() and a new one can't be allocated, try waiting a few seconds several times before throwing a max thread count exception. 2002-09-27 07:11:23 +00:00
hns
7cea5ece31 updated version string 2002-09-26 16:59:03 +00:00
hns
50853a16c6 The RMI interface to Application is now put into a separate RemoteApplication class. 2002-09-26 16:43:46 +00:00
hns
2be26331b6 Replaced by helma.objectmodel.db.IReplicationListener. 2002-09-26 16:43:10 +00:00
hns
50428e56ec minor change in comment 2002-09-26 16:40:07 +00:00
hns
5c7dbb717c It is now possible to bind to RMI and embedded Web/AJP1.3 server at the same time.
(this used to be mutually exclusive until now).
2002-09-26 16:39:08 +00:00
hns
ef18e63042 Replaces helma.framework.IReplicatedApp, since replication takes part mostly in
the helma.objectmodel.db package.
2002-09-26 16:37:21 +00:00
hns
be021b25ea Added logReplication option (works like logSql) to log events regarding cache
replication. Errors in replication are now logged to the application event log.
2002-09-26 16:36:29 +00:00
hns
dbd45f573c Rewrote servlet classes to be independent from IRemoteApp interface, i.e. the
AbstractServletClient now does not mind whether a remote application or a local
reference to an application are used.

If the upload limit is exceeded, a HTTP error is returned immediately instead of
going into the scripting environment.
2002-09-26 16:33:35 +00:00
hns
d09006f985 Greatly improved type checking performance for large application directories.
Fixed bug 117 (skins not inherited from hopobject proto).
Generally cleaned up things a lot.
2002-09-25 17:38:05 +00:00
hns
131ae0c6a9 Fixed handling of type.properties entries and creation of DbMappings.
Not fixed all the way, though - still needs some work.
2002-09-25 17:36:49 +00:00
hns
5a6f044c40 Added getProperties() method to let others access the properties
underlying this database mapping.
2002-09-25 17:32:27 +00:00
hns
93e6af7799 overrided load() function to load properties into a fresh map,
added add() function to load a file without discarding old entries.
2002-09-25 17:31:28 +00:00
hns
f3371c79f1 Check for null and unwrap EcmaScript object to Java object in putProperty().
Especially the toJavaObject() may break something somewhere, not 100% sure,
but we should do this to avoid references from map values to the wrong
EcmaScript evaluator.
2002-09-25 15:17:33 +00:00
hns
8a598b3371 default parameter is now used for all macros, including those handled by
request, response and parameter objects.
Slightly optimized retrieval of prefix and suffix, which is now done only once instead
of each time the macro is rendered.
2002-09-25 14:22:18 +00:00
hns
7e7a335f14 set notModified flag to false in reset(). 2002-09-25 13:08:05 +00:00
hns
04bcc845ef Fixed emberassing bug in prefetchChildren() array index calculation.
(I knew I was too overworked when I wrote the code!)
2002-09-25 12:42:53 +00:00
hns
a358574fed Updated version string. 2002-09-23 15:24:22 +00:00
hns
f105b8a516 - Try to detect recursive skin invocation: When more than 50 skins are rendered
recursively, rendering is interrupted by throwing a RuntimeException.
- If a macro does not produce any output, the default macro attribute is written
out if it is specified.
2002-09-23 15:23:04 +00:00
hns
107dbbea7e Added skinDepth counter to allow skins to detect recursive skin invocation. 2002-09-23 15:21:36 +00:00
hns
4839b658b5 Fixed bug #106: emtpy hsp-files prevent prototypes from being evaluated 2002-09-23 14:39:10 +00:00
hns
d8190ed3b2 Fix: Don't set parent prototype in prototypes unless it is exlicitly defined in
type.properties file. If it isn't explicitly defined, the scripting engine will check the
right runtime parent prototype depending on whether the prototype is a HopObject
or Java object prototype.
2002-09-23 14:27:32 +00:00
hns
7938ab4e8d Fix bug where xxx.readonly and xxx.private where not read correctly.
Yep, that's right, these two did not work so far.
2002-09-20 17:06:44 +00:00
hns
ad6221e101 Try to workaround bug where getChildElement doesn't work for named
child objects in the embedded non-relational database.
2002-09-20 14:17:28 +00:00
hns
8080570bf7 Added support for AJP1.3 protocoll in Jetty.
Updated version string.
2002-09-20 14:12:26 +00:00
hns
93685a87af Updated to Jetty 4.1.0RC6, which adds support for AJP1.3 (mod_jk) 2002-09-20 14:11:09 +00:00
stefanp
2aa00ca219 now the commit-mails should work again 2002-09-18 16:46:51 +00:00
stefanp
f3084ba727 a testcommit 2002-09-18 16:44:19 +00:00
stefanp
2a5fc3b0c2 a testcommit 2002-09-18 16:38:03 +00:00
hns
4e6f33dd68 Do not append "null" to URLs generated by href() when baseURI is not specified
;-)=
2002-09-18 00:33:39 +00:00
hns
75f033f6a5 Fixed bug 105: entity was not passed through if it occurred at end of string. 2002-09-17 23:02:43 +00:00
hns
7dfdd39240 Slightly tweaked update check routines. 2002-09-17 22:44:51 +00:00
hns
369a36534a Most properties in app.properties are now updatable during runtime. 2002-09-17 22:44:03 +00:00
hns
2dda7607c5 Updated size of internal HashMap and rotation threshold to avoid
rehashing to take place in internal maps.

Provided setCapacity() method to change cache capacity during runtime.
2002-09-17 22:43:19 +00:00
hns
d4f379a54d Slightly tweaked initial string buffer size. 2002-09-17 22:39:26 +00:00
hns
0c4ae4da46 Make getChildElement smart enough to actually look at the DbMapping of the
Node when trying to fetch a child element. As a side effect, retrieving a child
object by ID when an accessname is defined for the child collection and no
object was found using the accessname column does not work anymore.
2002-09-17 17:02:17 +00:00
hns
9abb4cc1e4 Don't explicitly exclude null group columns when querying for group nodes. 2002-09-17 16:48:34 +00:00
hns
5372bd8fc8 Use order when prefetching grouped child objects. 2002-09-17 16:47:32 +00:00
hns
6e3c814e08 Set maxSize field to 0 if it is not specified in the type.properties file. 2002-09-16 15:55:26 +00:00
hns
b7fa063e4e Updated version string. 2002-09-13 16:32:07 +00:00
hns
299c732772 Transmit charset as separate object when serializing, instead of
pre-mangling it into the contentType.
2002-09-13 16:31:18 +00:00