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
hns
38c9d3cff5
rethrow TimeoutExceptions caught in Macro execution.
2002-09-04 14:30:57 +00:00
hns
67b6d434f3
Log abort messages to the access log instead of the event log to give a
...
better idea about request activity and the ratio between successful/aborted requests.
2002-09-04 14:03:48 +00:00
hns
5b0d8935e8
Call abort() on the scriptingEngine to let it know that the current
...
execution is being aborted.
2002-09-04 14:01:29 +00:00
hns
495495da18
Added abort() method to let the Engine/Evaluator know that the current
...
execution is being aborted (usually due to a request timeout).
2002-09-04 14:00:28 +00:00
hns
9eb0955806
Updated version string.
2002-09-04 13:37:03 +00:00
hns
06430a62e8
Do not call stop() method on threads when aborting a transaction.
...
The method is deprecated, and it seemed to leave db connections in an
unreclaimable state.
2002-09-04 13:35:50 +00:00
hns
921e4787cb
Do not try to perform path translation relative to the servlet mountpoint
...
since this is done already by the servlet container.
2002-08-30 15:26:57 +00:00
hns
251b9e0fa3
Added <hr> to list of recognized HTML tags.
2002-08-30 14:28:10 +00:00
stefanp
9b9e73f508
temporary fix: made Xml.write() use default UTF-8 encoding.
2002-08-21 17:11:58 +00:00
stefanp
e4979a7175
made XmlDatabase use the app's charset
...
(app.properties/charset=ISO...)
new method: Application.getCharset()
2002-08-16 18:22:47 +00:00