Commit graph

1902 commits

Author SHA1 Message Date
hns
70b3069cb9 Always clean up old properties in prototypes regardless if they are functions or not. 2004-12-07 12:52:21 +00:00
hns
d1b5b820ad Add parent nodes with updated child collections to NodeChangeListener protocol.
Make Node.setLastSubnodeChange() public.
2004-11-25 14:17:01 +00:00
hns
f042bbd36a Register child object with synthetic key in node manager when adding to a collection with
accessname set.
2004-11-09 22:30:26 +00:00
hns
ba42d67be6 Set DbMapping in deserialized Nodes along with prototype name. 2004-11-08 21:59:40 +00:00
hns
1b27fedb9f Immediately copy new jar file to lib/helma.jar in jar task. 2004-11-05 15:19:36 +00:00
hns
e4343eb563 Fix bug where collection in embedded db is erraneously set to anonymous. 2004-11-05 15:02:13 +00:00
hns
01edf54603 Catch up on the promise of separating child nodes from properties: do not
set node properties for child nodes with groupby or accessname set. This
means that lookups for groupby/accessname nodes becomes pretty expensive
for the embedded database because we have to loop through child nodes, but
the overhead seems acceptable, and the embedded db is not for high performance
deployment anyhow. (Eventually we can implement some kind of caching mechanism
here if necessary.)
2004-11-05 08:04:11 +00:00
hns
418976539e Make SyntheticKey case insensitive without compromising name capitalization. 2004-11-05 06:41:41 +00:00
hns
0ce19fb080 Initialize lastPropertyRead to -1 because otherwise if the app.properties file
does not exist, properties are never initialized.
2004-10-28 19:17:50 +00:00
hns
4e073785ab * Added NodeManager.init() to separate initialization from the constructor.
* Added ObjectCache.shutdown() to allow object caches to be closed.
* Catch exceptions and errors thrown by NodeChangeListeners.
2004-10-25 18:27:42 +00:00
hns
9d53d33ef9 Introduce NodeChangeListener interface that can be used to get notifications
about node changes (inserts, updates, deletes) from the NodeManager.
Change Transactor to implement NodeChangeListener.
2004-10-22 12:57:15 +00:00
hns
a95dcd16a4 Some fixes to allow garbage collection of helma classes/class loaders:
* Run and null out shutdown hook when stopping.
* Make Jetty log sink a static inner class.
2004-10-20 15:47:43 +00:00
hns
65115dfa9a Null out static runner field when shutting down. 2004-10-20 15:37:39 +00:00
hns
2a7fa165ec Use weak references to store RhinoCore instances in coreMap to allow them
to be garbage collected.
2004-10-20 14:39:15 +00:00
hns
79f1134805 null out consoleLog field in closeAll() 2004-10-20 14:37:21 +00:00
hns
5646c3881a Rewrite Server.stop() to actually try to stop the server.
Rewrite HelmaShutdownHook to use Server.stop().
2004-10-19 12:45:30 +00:00
hns
59bec76b45 Introduce helma.objectmodel.ObjectCache interface for switchable cache implementations. 2004-09-17 15:53:35 +00:00
hns
f2180bfa81 Improved toString() method 2004-09-17 15:40:48 +00:00
hns
2664d31a7d Remove debug print message. 2004-09-15 13:37:30 +00:00
hns
e0592e5319 No more need to set the application's charset in the servlet config. 2004-09-15 13:30:58 +00:00
hns
c7257e22d0 Return the charset instance variable in getCharset() rather than asking the
application properties directly.
2004-09-15 13:30:14 +00:00
hns
6f3f82f40a Remove abstract execute() method and add abstract getApplication().
Remove encoding instance variable and get it from application when needed.
2004-09-15 13:28:58 +00:00
hns
381e235e19 Removing RMI based servlet clients. 2004-09-15 12:22:37 +00:00
hns
ac9e98e7cd Remove last traces of Commons Codec URLCodec. 2004-09-15 12:19:44 +00:00
hns
8459618f36 Remove commons-codec.jar since we're back to the JDK URL encoding/decoding. 2004-09-15 12:15:28 +00:00
hns
1967c7d76b Remove lines that were unintentionally doubled with a previous patch.
Remove unused import statement.
2004-09-15 12:13:12 +00:00
hns
71aeea336e UrlEncoded fix from Jürg Lehni to use JDK 1.4 methods if available and
switch back to JDK 1.3 methods otherwise. Methods renamed to encode()
and decode(), respectively.
2004-09-15 11:15:44 +00:00
hns
fad94431e0 Make id in SyntheticKey case insensitive by always transforming
to lower case in constructor.
2004-09-14 14:16:17 +00:00
hns
426a0d0c9d Patch to close InputStreams contributed by Jürg Lehni. 2004-09-14 13:29:08 +00:00
lehni
f90f174719 Bufix for a problem in the inital quantize code from Adam Doppelt, where unique pixels where calculated wrongly. 2004-09-11 10:13:02 +00:00
hns
c16fc50354 Some code cleanups as suggested by Jürg Lehni. 2004-09-10 09:28:04 +00:00
hns
33808d06b3 Add commons-codec.jar to classpath 2004-09-06 17:51:07 +00:00
lehni
08b2a25561 Removed the OutputStream / mimeType versions of saveAs that broke compiling 2004-09-06 16:25:39 +00:00
hns
392265358a Recognize <!doctype > tags in HTML formatter 2004-09-06 14:43:00 +00:00
lehni
1138a509ec Bugfix to avoid an invalid Graphics2D object after changes to the internal image (crop, scale, reduceColors, ...). 2004-09-06 14:31:35 +00:00
hns
c444ada032 Set the servlet's defaultEncoding to the app's charset
as soon as we get the Application reference.
2004-09-06 13:50:08 +00:00
hns
b8dd92a125 Switch to Jakarta Commons Codec for URL en/decoding to provide
encoding-sensitivity on JDK 1.3.
Use application charset for URL encoding and decoding.
UnsupportedEncodingException is propagated.
2004-09-06 13:48:30 +00:00
hns
e3eed21f50 Adding Jakarta Commons Codec 1.3 jar 2004-09-06 13:24:56 +00:00
hns
2b48e43964 Implement decent string representation for path object. 2004-09-03 10:34:45 +00:00
hns
6bd558bcb0 Minor fixes from Juerg Lehni: Add trailing "/" in path info, plus code improvements 2004-09-01 15:27:13 +00:00
hns
0dd94cd340 Reverse order of global.init() and global.initStandardObjects() invocations. This is
required by Rhino 1.6R1pre and doesn't hurt with Rhino 1.5.
2004-08-30 13:24:43 +00:00
hns
4df534a590 Patch from Paul Alexandrow to query for groupby field rather than accessname
in getPropertyNames() if we have a grouped relation.
2004-08-30 13:18:35 +00:00
lehni
ed407c3188 Fixed a bug that affected transparent parts of images. 2004-08-30 10:35:18 +00:00
lehni
e2c62701d8 replaced the weird-bug-fix-line by this one, which should even be faster as no function calls are involved:
String fix = "" + alpha;
2004-08-06 17:17:25 +00:00
lehni
a730e1b1c0 correct comments. 2004-08-06 13:10:22 +00:00
lehni
18d1d5ed60 added a bugfix line for a very weird bug that only occurs from time to time, on some systems:
for more information, read the comments before the following line:
if (i == 0) Integer.toString(alpha);
2004-08-06 13:09:03 +00:00
lehni
23451becef a few bug fixes so that dithering now actually works. 2004-08-06 11:38:17 +00:00
lehni
6398e21b3b added drawImage for other ImageWrapper objects 2004-07-30 13:23:33 +00:00
hns
c491999cf5 Update version to "1.4.1" 2004-07-29 13:00:38 +00:00
hns
112bc0f6c1 Fix some more JavaDoc comments to stop javadoc from complaining. 2004-07-29 12:47:55 +00:00