Commit graph

676 commits

Author SHA1 Message Date
hns
0dd58e56b0 added isPrimitive() utility method to find out if this property
can possibly be used as skin macro.
2001-11-27 14:12:00 +00:00
hns
f017f35e78 Increased version number.
Version info is now written to the logger instead of stdout.
2001-11-26 18:02:39 +00:00
hns
e32c31e1b1 Cache nodes are checked each time they are retrieved
because the clearCache() function may have been called on
the object since last accessing the cache node.

implemented clearCache() method to reset the cache in the
wrapped object.
2001-11-26 17:58:00 +00:00
hns
c4fb354f92 Implemented clearCacheNode() method to recreate/reset
a node's cache node.
2001-11-26 17:55:57 +00:00
hns
35c78734e8 added a clearCache() function to the HopObject prototype that
lets one clear (recreate) the HopObject's cache node.

createSkin now uses the application's skin cache. This is not
really much faster because caching and skin creation are
very similar in speed, but it should help reduce garbage collection.
2001-11-26 17:33:02 +00:00
hns
ffd9564328 added clearCache function to reset the application cache. 2001-11-26 17:30:50 +00:00
hns
49474a3317 rewrote the mechanism to write out to the response object.
encoding, prefix and suffix attributes can now be set for any
and all macros (not sure if this will create problems)

Macros handled by objects now check if a function called
handler_macro is defined. If so, the function is called.
Otherwise, the macro evaluates to a property of the object
with the handler name.
2001-11-26 17:30:06 +00:00
hns
6ae2db92ff The user cache node isn't set to the user prototype and
dbmapping anymore (let's see if this has any unwanted effects).

Added clearCache() method to reset the cache of the user object.
2001-11-26 17:27:07 +00:00
hns
782bf86ba2 made the res.data get its HashMap from the ResponseTrans
object

added methods to check if a function is defined for an object
and to retrieve a property. This is used by Skins and should
work for any object, be it HopObjects or scripted Java objects.
2001-11-26 17:24:04 +00:00
hns
5ae3d18565 enlarged application skin cache, added getProperty method
without default parameter, removed stack dump when
user.onLogout() is not defined.
2001-11-26 17:21:48 +00:00
hns
93debe88a2 Rearranged field declarations, added serialVersionUID field 2001-11-26 17:20:10 +00:00
hns
b402e753b2 added serialVersionUID field 2001-11-26 17:19:51 +00:00
hns
2ca5232637 Increased serialization version to 7. String properties are now serialized
as objects, because there seems to be a limit around 60000 chars for UTF.
2001-11-20 17:01:55 +00:00
hns
56e5201f8e Set the data property in the response object (res) to a generic map
object.
2001-11-20 15:32:28 +00:00
hns
fbe9f40631 included data field that holds a generic object, much like the
request object already does.
2001-11-20 15:31:18 +00:00
hns
63d69b6d43 display version info on startup 2001-11-20 15:10:33 +00:00
hns
96393ea5eb Fixed bugs and performance problems in StandaloneServletClient.
The Hop embedded into the servlet container is now the
most performant way to run a Hop app.
2001-11-20 15:02:35 +00:00
p3k
af93d7b66a added application "himp" for check-out 2001-11-16 19:53:47 +00:00
p3k
1d04d1f888 initial check-in 2001-11-15 14:42:18 +00:00
p3k
ae67949fea added hopblog 2001-11-15 14:14:37 +00:00
p3k
7cd23be516 initial check-in 2001-11-15 14:13:46 +00:00
p3k
5da91cb1f1 base=self 2001-11-15 13:05:31 +00:00
p3k
697d974280 removed due to new base application 2001-11-15 12:19:46 +00:00
p3k
22c5a32feb replaced "process" with "target"; modified section about ant. 2001-11-14 16:22:43 +00:00
p3k
31d1c925c4 added part about cvs in pre-requisites 2001-11-12 12:01:47 +00:00
p3k
4c30757a7e added part about cvs in pre-requisites 2001-11-12 11:59:17 +00:00
p3k
b4cd0bf5d2 added instructional and descriptive text about the build files. 2001-11-08 16:22:36 +00:00
p3k
29a7f75ec2 added package inclusion of build and src files; removed package inclusion of helma-src.jar 2001-11-08 14:44:41 +00:00
p3k
a6a1abe945 changed main class to helma.main.Server 2001-10-30 10:13:04 +00:00
p3k
bc7b502ebf initial check-in 2001-10-29 20:04:41 +00:00
p3k
8cd9457e37 needs to be checked in as binary 2001-10-29 20:04:21 +00:00
michi
87d574a2ee minor fix: prevented classpath from "growing" 2001-10-23 18:08:21 +00:00
michi
a9046019e1 updated to crimson-1.1.3 2001-10-23 18:03:03 +00:00
hns
21c00908c1 Updated build scripts.
CVS checkout is now separated from builds. It's possible to
use the script both for building both the jar file and the whole
distribution either from checked-out code or the local copy.
2001-10-22 16:43:40 +00:00
hns
dc741f2231 Updated to Ant 1.4.1 2001-10-22 16:41:07 +00:00
hns
61926bd69a Remember xml-rpc handler name under which an application
has been registered so we can remove it once the application
is shut down.
2001-10-18 13:08:36 +00:00
hns
1334833b14 try more often after concurrency conflicts,
pause for longer between tries.
2001-10-11 11:42:38 +00:00
hns
3db1848822 * only use the parent-info from the type.properties file if there
is an explicit reference relation set for the property name.
* avoid database queries for nodes that are transient or in the
process of being persistified also when loadmode is set to
aggressive.
2001-10-02 20:54:35 +00:00
hns
ef756bdcc1 Hash codes of key classes are now cached lazily.
Slightly changed the algorithm according the recommendations
in "Effective Java" by Joshua Bloch.
2001-10-02 20:50:52 +00:00
hns
17b82f0d43 Standard prototypes are now correctly constructed even if
the directories don't exist.
2001-10-02 20:46:00 +00:00
hns
6c883367e7 check if the NodeHandle of a registered user is broken.
If so, reset the handle, logging the user out. This should
solve the "broken session" phenomenon.
Also added some comments.
2001-10-02 20:43:53 +00:00
hns
841f09b789 check if typename is null in isInstanceOf (which is the
case for virtual nodes).
2001-10-02 09:49:03 +00:00
hns
de5ab9a388 removed invocation of stop() method of the app's TypeManager. 2001-10-01 10:40:32 +00:00
hns
545aec7407 create base prototypes for which no directory exists
without creating an empty directory.
doesn't implement Runnable anymore.
2001-10-01 10:39:51 +00:00
hns
a99dc703a4 Check if the standard prototypes have been created
after the first call of check().
2001-10-01 10:27:22 +00:00
hns
35a20ffca4 the getNodeWrapper method will again return an instance of
ESUser instead of ESNode for all database nodes representing
a user object. This should fix all bugs where user specific
functions failed unless the user object represented a user that
was active at the time of calling.
2001-10-01 09:56:44 +00:00
hns
cdf170c568 implemented isInstanceOf to tell whether
a DbMapping represents itself or by inheritance
some prototype.
2001-10-01 09:54:49 +00:00
hns
ce781df919 Made this class work again when there is no
actual user session and it just represents
a database record that represents a user.
This should fix all bugs where the user specific
methods didn't work unless the user object
represented a user that was actually active at
the time of calling.
2001-10-01 09:53:29 +00:00
hns
4f28990143 Directly loop through characters from the source string instead of
using a StringReader.
Dropped character entity encoding, since this limits us to western
encoding and should not be necessary because browsers usually
default to western encoding.
2001-09-14 16:04:23 +00:00
hns
7a6b473e22 replaced HtmlEncoder.encodeSoft() with HtmlEncoder.encode(). The
former doesn't exist anymore.
2001-09-14 16:02:42 +00:00