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
stefanp
eb397b6def
fixed bug that caused default xml-conversion not to work properly.
...
removed commented out code.
2002-08-11 17:26:04 +00:00
hns
a0ce604062
Do not locally define pwfile field, which is meant to be an instance variable.
2002-08-07 12:44:42 +00:00
hns
51a564cd60
Updated version string.
2002-08-06 14:50:27 +00:00
hns
65bef92295
Perform getCanonicalFile() immediately when creating hopHome in main method
...
of Server instead of only doing it when needed.
2002-08-06 14:47:30 +00:00
hns
1f6e49e791
Fixed bug where serving of static files didn't work on Windows with hopHome
...
property set by using File.getCanonicalFile().
2002-08-06 12:57:24 +00:00
hns
a097a07937
Re-enable server-wide passwd file for the authenticate() function.
2002-08-05 16:39:18 +00:00
hns
1b29302939
* Updated version string
...
* Improved startup message which now includes info about Java version
* Default Helma log is now log file, not console
* added getDbProperties() method to retrieve server-wide db sources.
2002-08-02 18:33:12 +00:00
hns
096541e347
Fixed bug where prototype was marked as checked too early, resulting in
...
other evaluators to use the prototype is if the code was fully parsed/compiled.
2002-08-02 18:19:04 +00:00
hns
a1080de978
Get prototype resources through synchronized methods instead of directly
...
accessing them. This fixes a bug where prototypes that were in the process of
being compiled were accessed by evaluators.
Pass through RedirectException if notModified() has been called on the response
object.
2002-08-02 13:32:56 +00:00
hns
6182b9313a
Return true on needsUpdate if zip file has been removed.
2002-08-02 13:25:22 +00:00
hns
b2862b95bb
Added lastModified property that contains a date either of when the session
...
was created or when the session was last logged in or out. The property can also
be set from script code.
2002-08-02 10:50:48 +00:00
hns
113ea0aecc
Added support for HTTP Last-Modified and If-Modified-Since headers and
...
304 Not Modified response.
2002-08-02 10:49:40 +00:00