hns
7ed203c8f0
Init lastTypeChange to -1 so we know we have to run update() once
...
even if the underlying properties file does not exist.
2003-02-25 21:13:14 +00:00
hns
da936baf1e
* URL-decode installation directory since it may have been derived
...
from a jar-URL.
* Exit if installation directory could not be determined.
* Print a message to stderr for each extension jar that is added to the
classpath.
2003-02-25 16:23:29 +00:00
hns
31ccc12e5b
If the command line option parsing code chokes on something, write
...
a message to the console what the problematic token was.
2003-02-25 16:14:19 +00:00
hns
84c9892a6c
Fixed two bugs:
...
* Race condition when applications were initialized before the
Server constructor had returned and Server.server and thus
Server.getServer() was null
* Server choking on -i command line option telling the launcher class
the Helma install location.
2003-02-25 11:59:26 +00:00
hns
85401cd71f
Add checks for cookieDomain validity (bug 219)
...
http://helma.org/bugs/show_bug.cgi?id=219
2003-02-17 16:02:40 +00:00
stefanp
8a5e24a574
added two methods that allow serializing the sessions-table:
...
storeSessionData(File) and loadSessionData (File)
if no file is given the file "dbdir/sessions" is used
added new app.property: persistentSessions
with this all sessions are serialized at shutdown and re-read at startup
(sessions that expired in the meantime aren't loaded anymore)
2003-02-16 22:41:18 +00:00
stefanp
077f1dc516
made application object transient to be truly able to serialize session
...
and added setApp() method
2003-02-16 22:39:25 +00:00
stefanp
b77e5da24b
expanded extension-interface with applicationUpdated(app) to tell
...
extensions when app.properties have changed.
2003-02-14 16:07:52 +00:00
hns
ac0c47adc1
Updated version to 1.2.2
2003-02-04 15:39:59 +00:00
hns
44a6159db5
Replaced getBufferLength() and setBufferLength() with a new method called
...
getBuffer() which directly returns the response StringBuffer.
2003-02-04 14:18:10 +00:00
hns
d53076291d
Support encoding options for text written to the response buffer by macros.
...
Cleaned up handling of encoding options and other stuff.
2003-02-04 14:15:46 +00:00
hns
30098b723e
Added encodeFormValue() method that directly encodes to a StringBuffer.
...
Do not return a String when writing to StringBuffer in encodeAll().
2003-02-04 14:11:56 +00:00
hns
288d573e50
Made getNodeHref() approx 10% faster by replacing StringBuffer.insert(0)
...
with StringBuffer.append().
2003-02-04 12:39:22 +00:00
hns
e2c6d1903b
More tweaking of the image loading and generating process.
2003-02-03 16:59:24 +00:00
hns
2c1fdf3d0f
* Parse attributes of otherwise unmapped elements in sparse mode.
...
(fixes bug 216)
* Do not rely on helma.objectmodel.db.Node.getPrototype() to return null
to find out whether a node has been initialized. Even if the prototype is not set, the
Node will return "hopobject" as prototype.
2003-02-03 13:22:26 +00:00
hns
2e239f797e
Include CDATA sections in getTextContent().
...
Fixes bug 217
2003-02-03 13:14:58 +00:00
hns
f74c21d405
Implemented Xml.getFromString()
2003-01-31 21:08:14 +00:00
hns
d5ea622ad4
Removed functionality related to Village library.
2003-01-31 17:02:06 +00:00
hns
05020fa8a1
Removed village.jar from list of default jar files in classpath.
2003-01-31 16:38:50 +00:00
hns
5c1b2bc944
Helma no longer depends on Village for its database layer.
2003-01-31 16:35:19 +00:00
hns
19eadab615
Update version string to 1.2.2-RC1
2003-01-31 16:33:04 +00:00
hns
b20fb16930
Don't use StringBuffer.append(StringBuffer), which is new to Java 1.4.
...
Use StringBuffer.append(String) instead.
2003-01-31 16:26:45 +00:00
hns
40f012d16d
Fixed a bug in object serialization/deserialization: Date properties are stored as
...
date objects, not Long objects.
2003-01-31 15:55:02 +00:00
hns
7f7d663c7d
* Made also private instance methods unsynchronized, since the only drawback
...
are concurrent method lookups, which usually happen only at the beginning when
the server is started. Later, cached lookups don't have the synchronization penalty.
* Commented out all debug code.
2003-01-31 15:53:04 +00:00
hns
ab14bbb898
Fix bug that evaluator.thread was not set when parsing scripts.
2003-01-30 16:39:02 +00:00
hns
a4e36e6ae3
Don't call contains() on the parent node in getElementName() unless necessary,
...
i.e. unless we actually think we are accessed by access name.
Some minor formatting fixes.
2003-01-30 14:19:30 +00:00
hns
672ac0e7c1
Updated version string.
2003-01-29 16:36:52 +00:00
hns
0c62b57c26
Speed up image loading by splitting it up into getting the image's dimensions and
...
waiting for all bits to be loaded.
2003-01-29 16:31:33 +00:00
hns
af2a5e9793
Added additional resizeFast() method that works like resize() but uses a cheaper
...
resampling algoritm.
2003-01-29 16:16:21 +00:00
hns
d93efaa377
Do not allow Strings parameters of length 1 to be casted into a number.
2003-01-29 16:02:19 +00:00
hns
a2c4745d8e
Make public static methods unsynchronized but synchronize private instance methods.
...
This will allow some concurrent duplicate work being done, but it will remove the
bottleneck on the static methods. See bug 186:
http://helma.org/bugs/show_bug.cgi?id=186
2003-01-29 16:00:48 +00:00
hns
564dc9f585
Updated version string.
2003-01-28 14:58:09 +00:00
hns
fb2e0d6369
Write long columns in streaming mode if need be (if setString() throws an exception)
...
Log inserts, updates and deletes if logSql is set to true.
2003-01-28 14:56:00 +00:00
hns
d3eb3b8d5d
Read long columns in streaming mode if need be (if getString() throws an exception)
2003-01-28 14:54:26 +00:00
hns
965d758eae
Convert boolean to integer in getIntegerValue()
2003-01-28 14:53:22 +00:00
hns
0e03e7a542
If scripted constructor function causes an exception, let it pass through
...
(i.e. rethrow it).
2003-01-28 13:09:16 +00:00
hns
55dd6f9cd0
If onRequest() causes an exception, let it pass through.
2003-01-28 13:08:12 +00:00
hns
2d05ec273e
Invoke onLogout() function with the session id as parameter.
2003-01-28 12:48:58 +00:00
hns
585db17d22
Fixes bug 210, http://helma.org/bugs/show_bug.cgi?id=210
2003-01-28 12:38:29 +00:00
hns
712cba2d99
Output debug buffer even if main response buffer has not been created.
...
Fixes bug 212:
http://helma.org/bugs/show_bug.cgi?id=212
2003-01-28 12:22:46 +00:00
hns
df3b4de13f
Make persistence layer independent from Village API.
2003-01-27 18:20:32 +00:00
hns
e3061ffba2
Remove Exception that is never thrown/caught.
2003-01-27 18:14:12 +00:00
hns
829b8bccc3
Log to the event log when an internal scheduler or XML-RPC invoked function
...
throws an exception
Fixes bug 196, http://helma.org/bugs/show_bug.cgi?id=196
2003-01-13 12:40:44 +00:00
hns
f6b2909aad
Actually evict/invalidate nodes when invalidating child nodes via id/accessname,
...
if they are present in the cache.
Fixes bug 190, http://helma.org/bugs/show_bug.cgi?id=190
2003-01-13 11:59:57 +00:00
hns
63bcb750a3
Use quotes when looking up a relational node by ID and the ID column is a
...
type that requires values to be put in quotes.
Fixes bug 199 http://helma.org/bugs/show_bug.cgi?id=199
2003-01-13 11:32:22 +00:00
hns
26a6fb4682
Always do .toLowerCase() when looking up properties by property name.
...
This is because SystemProperties stores and delivers its keys in lower case.
Fixes/works around bug 189, http://helma.org/bugs/show_bug.cgi?id=189
2003-01-13 11:26:01 +00:00
hns
a0beacdf4c
Do not enter into Helma macro tags or HTML comment tags if we are within a
...
HTML <code> tag (bug 200, http://helma.org/bugs/show_bug.cgi?id=200 )
2003-01-13 11:09:38 +00:00
hns
19d4126b51
Wait for first frame of image in image loader.
2002-12-17 17:40:26 +00:00
hns
5025f5fb96
Updated version to 1.2.1
2002-12-17 16:49:29 +00:00
hns
1fec2b0be0
updated helma version to 1.2.1
2002-12-17 16:47:14 +00:00