Commit graph

1344 commits

Author SHA1 Message Date
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
hns
9f76a1c03b Fixed bug: character variable is called 'c', not 'ch'. 2002-09-13 16:26:13 +00:00
hns
b6f8c5edb3 Added JavaScript function stub to Node.prefetchChildren(). 2002-09-13 16:15:40 +00:00
hns
abd0b867b3 Filter out invalid XML characters below 0x20 in encodeXml(). 2002-09-13 15:47:27 +00:00
hns
3d6da645c5 Extended prefetchChildren to push secondary keys into the cache. 2002-09-13 15:45:11 +00:00
hns
be1dd61a19 Do not set write locks when adding a node or setting a node to a
transient parent.
2002-09-13 13:28:00 +00:00
hns
7a95ff731b Fixed bug in updatePrototypes where new Prototypes (that didn't exist when
the evaluator was initialized) weren't created.
Correctly rethrow Timeout, Redirection and Concurrency Exceptions in
invoke().
2002-09-13 13:26:05 +00:00
hns
fa53c338ac Fixed bug where type.properties of newly created prototypes were potentially
not updated correctly because another freshly created DbMapping was still
missing.
2002-09-13 13:24:28 +00:00
stefanp
6b06734adc made application directory available as app.dir-property 2002-09-12 18:25:06 +00:00
hns
9da41c78e6 Implemented utility method containsKeys(Object[]) to let us check which of an array of
keys are present in the CacheMap. This is used by Node.prefetchChildren() to get only
those child nodes which aren't in the cache already.
2002-09-12 17:20:52 +00:00
hns
2a4d03ac13 Implemented experimental prefetchChildren method on nodes. Try calling
prefetchChildren(start, length) on internal node objects. Works also on nodes
with groupby-collections.

Null columns from the DB are now set to Properties, which required some fixes
when converting a string (or other) property to a node reference.
2002-09-12 17:18:45 +00:00
hns
7c759d694f Added support for encoding and decoding XML-RPC parameters. 2002-09-12 17:09:50 +00:00
hns
3c561e4003 Catch all exceptions in Xml.read().
Nicer error messages.
2002-09-11 15:59:37 +00:00
hns
5c0ec5544a Fixed an error reported by Roland Kofler where in the case of wrong
command line options the Logger was used before being initialized,
causing a NullPointerException.  Now the message is written to System.err instead.

Updated version string.
2002-09-11 14:48:19 +00:00
hns
f0d7311b33 XmlReader now uses the SAX API to read XML files into HopObjects. SAX is
generally faster than DOM because it doesn't report an intermediary DOM tree, but
reports parsing events directly to the application.

XmlDatabase now uses a separate, special purpose XmlReader called XmlDatabaseReader
which parses only one-level HopObjects and generates NodeHandle objects
for all references.
2002-09-11 14:44:57 +00:00
hns
006aebe292 delete newlines at end of file. 2002-09-11 14:41:44 +00:00
hns
b6a8d2a41e Added <s> (old strikethrough) to list of recognized HTML tags. 2002-09-07 02:06:35 +00:00
hns
d573bd1479 Updated version string. 2002-09-06 20:04:43 +00:00
hns
38a4e6e765 Append charset to contentType when externalizing (serializing) ResponseTrans objects.
Without this, responses don't contain info about their encoding.
2002-09-06 20:03:00 +00:00
hns
df0639c02f Big patch to clean up checking type.properties files. Changes in type.properties are
now reflected on existing collection objects (aka virtual subnodes).

DbMappings are no longer managed by the application. Instead they're now held by
the prototype they belong to.
2002-09-06 19:42:32 +00:00
hns
64b766ea35 Cut off newlines at end of file. 2002-09-06 19:08:08 +00:00
hns
8d35255716 Renamed DbMapping.isStringColumn() method to DbMapping.needsQuotes and
included DATE, TIME and TIMESTAMP in the list of types that need to be quoted.
2002-09-06 14:09:11 +00:00
hns
2f74c6cc03 Rewrote equals() to do without a try/catch statement. 2002-09-05 13:38:15 +00:00
hns
d1e173039b use internalized string for typename field to allow comparison using ==. 2002-09-05 13:37:55 +00:00
hns
78cc65f88b req may have been unset in recycle() by the time we reach the catch clause,
so use the current thread for debugging output.
2002-09-04 16:38:28 +00:00
hns
9c8c460355 Recognize Timeouts without explicit timeout flag, just comparing
if we still "own" the evaluator thread.
2002-09-04 16:32:26 +00:00
hns
3713d73580 Marked timeout field as volatile. 2002-09-04 15:47:10 +00:00
hns
003caed8d7 Implement timeout field to know when to rethrow exceptions in
script execution as TimeoutExceptions. The field is set to true in abort()
and set to false in enterContext().
2002-09-04 15:24:55 +00:00