hns
b5bce7b51d
The previous version was checked in by mistake. Going back to what we had before.
2002-10-30 16:38:46 +00:00
hns
efa4512055
Tentative fix for bug 113: numbers as names of named properties do not
...
work in embedded db
When a property is encountered that *might* not be suitable as XML element name,
we use "property" as element name and add the real property name as attribute to
that element.
2002-10-30 16:35:48 +00:00
hns
6b7682b5a3
Encode quotation mark and apostrophe characters in encodeXml().
2002-10-30 14:13:34 +00:00
hns
20402accfa
Fixed bug where a node deleted by replication was left in the cache via secondary
...
key without being marked as invalid. (bug 147)
2002-10-30 11:56:59 +00:00
hns
6266b3b5b7
Always rotate tables if new table exceeds threshold.
2002-10-30 11:46:51 +00:00
hns
dba715b2db
Fixed parentheses
2002-10-29 17:39:21 +00:00
hns
54c3f80b60
Set application checksum in ResponseTrans.
2002-10-29 17:34:10 +00:00
hns
35d0389d8e
Added support for an application checksum which is automatically included in
...
dependency checksums/fingerprints/ETags generated via res.dependsOn() and
res.digest().
2002-10-29 17:33:35 +00:00
hns
78309c02aa
Renamed digestDependencies() to just digest(), which is more finger-friendly.
2002-10-29 17:32:32 +00:00
hns
c31552f60f
Added utility method to convert a long number to a byte array.
2002-10-29 17:30:49 +00:00
hns
d5e6cfe623
Implemented methods to obtain a checksum that signals changes in the object.
...
These checksums are included in Message Digests so that they change when
something in the Application changes.
2002-10-29 17:30:14 +00:00
hns
f4002ac605
The list of files belonging to a prototype is now managed by the prototype itself.
...
The prototype also keeps a checksum over its files which allows it to recognize
changes in any of the files quickly and easily.
2002-10-29 17:27:19 +00:00
hns
24dece80bb
implemented dependsOn() and digestDependencies() methods
2002-10-28 21:34:49 +00:00
hns
fed6c39ef3
Added support for ETag conditional GETs.
2002-10-28 16:50:55 +00:00
hns
cf7e65c704
res.data and req.data do not exist anymore.
2002-10-28 16:50:28 +00:00
hns
10848be629
Improved error output in scripting engine initialization,
...
create a ResponseTrans that knows about the RequestTrans if possible.
2002-10-28 16:49:29 +00:00
hns
5003588bb7
Added support for ETag conditional GETs, streamlined support for
...
Last-Modified and If-Modified-Since
2002-10-28 16:48:28 +00:00
hns
1690b6bf58
Fixed a bug that dropped some zeros in the message digest.
...
Added a method that directly takes a byte array as input.
2002-10-28 16:46:10 +00:00
hns
01254c1a88
Use buffered input stream in getURL
2002-10-27 18:54:26 +00:00
hns
2922208ccc
Added support for ETag and If-Modified-Since conditional GET
2002-10-27 18:44:20 +00:00
hns
138eb38903
Added ETag and lastModified fields
2002-10-27 18:43:30 +00:00
hns
4ab51d544a
Completely changed how XML-RPC invocation is performed. XML-RPC requests are
...
now handled by helma.main.ApplicationManager, which dispatches requests to the
right application. Also cleaned up XML-RPC access control a big deal, including it
in the generic application properties handling.
Fixes bug 135 http://helma.org/bugs/show_bug.cgi?id=135
2002-10-25 17:08:45 +00:00
hns
6cb41d18fd
Cut whitespace at end of file
2002-10-25 17:05:02 +00:00
hns
cffd1ec20d
implement FilenameFilter so there is no need for creating an anonymous inner class.
2002-10-25 15:23:54 +00:00
hns
aa1b666fbd
Updated antclick version to 1.0pre2
2002-10-25 13:51:16 +00:00
hns
743b7e7bc7
Included section about Antville and Antclick provided by kris (thanks!),
...
updated some bits and pieces about Helma like the system requirements and
the documentation URL.
2002-10-25 13:45:21 +00:00
hns
443a7ecab7
Added/Updated Files to Mckoi version 0.94g.
2002-10-25 13:29:32 +00:00
hns
444f2aa6bc
Remove Mckoi 0.93 database files.
2002-10-25 13:27:02 +00:00
hns
c96fea4874
set cache size to zero (we don't need a cache when running in embedded mode).
2002-10-25 13:18:25 +00:00
hns
81a3591d0b
A normal user can't start a server on port 80, switch back to 8080.
2002-10-25 12:40:12 +00:00
hns
e2f460ce40
Updated to Mckoi 0.94g.
2002-10-25 12:32:59 +00:00
hns
186459918a
Initialize lastmod.
2002-10-24 15:37:56 +00:00
hns
8573a0ce89
Updated version string
2002-10-24 15:37:29 +00:00
hns
1a785e4031
Implemented res.debug() method that appends debug messages to the response body.
2002-10-24 12:37:07 +00:00
hns
afbdf485ba
initScriptingEngine is now capable of creating different scripting engines based on
...
the scripting.engine.factory property.
2002-10-24 12:20:53 +00:00
hns
28b4d43653
Install Jetty ContentEncodingHandler that does gzip and deflate compression on responses.
2002-10-23 18:32:54 +00:00
hns
38eb79123d
Check if onRequest is defined for the current object before calling it.
2002-10-23 15:41:15 +00:00
hns
18926fb8e0
When a node accessed by secondary keys (accessname) is fetched but then found
...
by primary key in the cache, reset its create time to its lastmod time. Otherwise,
Relation.checkConstraints will (rightly) reject it if a filter is defined for it, since it
can't be sure that the filter constraint is still valid for the modified node.
2002-10-23 15:40:20 +00:00
hns
4b945e9d72
Made created and lastmodified protected to allow direct access from NodeManager.
2002-10-23 15:38:01 +00:00
hns
8ae95ff5bb
Change transaction name for error handler so people get less confusing commit/
...
abort messages (see bug 107, http://helma.org/bugs/show_bug.cgi?id=107 ).
2002-10-23 13:05:44 +00:00
hns
8d85952f24
Always abort transaction when catching an error in HTTP request loop. This is because
...
a new transaction is started for the error handling also, so if something goes wrong
in error handling, we need to abort the transaction.
2002-10-23 12:46:21 +00:00
hns
2c9e42bcb3
Fixed stupid bug in SkinFile constructor.
2002-10-23 12:00:46 +00:00
hns
7463553a95
Pretty much reworked all the Helma type management code.
2002-10-22 16:33:03 +00:00
hns
ea5edf51c9
don't forget to reset buffer stack in reset()
2002-10-22 16:32:00 +00:00
hns
003173f895
Use index of last dot in filename to find out the type of a file
2002-10-21 12:17:51 +00:00
hns
a5b2945065
Only decode path element if it actually is encoded.
2002-10-17 18:46:40 +00:00
hns
318964b518
Use a proxy to java.net.URLEncoder which only encodes when
...
there is actual work to do. This is necessary because
URLEncoder is quite inefficient (e.g. it preallocates
buffers and stuff), and we call it often with
short string that don't need encoding.
2002-10-17 18:43:24 +00:00
hns
933a0ef7a3
Implemented our own getPathInfo to use the decoding from java.net.URLDecoder.
...
Removed old slack since we now have some guarantees about req.path.
2002-10-17 16:00:58 +00:00
hns
9e0dae779c
Do not reset servlet response in sendRedirect() otherwise cookies are lost
2002-10-17 09:34:14 +00:00
hns
bb3a080164
Renamed variable in writeResponse()
2002-10-16 16:21:27 +00:00