Commit graph

1098 commits

Author SHA1 Message Date
hns
956ec3d3a8 cut off trailing whitespace on property values 2002-10-03 11:40:58 +00:00
hns
2e46e4c121 Issue a warning to the event log if _table is not specified for a relational mapping 2002-10-03 11:25:38 +00:00
hns
d3d95a8288 Acme GIF encoder is slower for small files but faster for large ones, so we stick with it 2002-10-02 15:05:12 +00:00
hns
5c46921eac xmlrpc.jar comes with its own copy of MinML 2002-10-02 14:57:13 +00:00
hns
c8a85d5a04 removed unused classes 2002-10-02 14:46:17 +00:00
hns
8731eaffc7 Switching to Apache XML-RPC. 2002-10-02 14:38:47 +00:00
hns
bb99727791 Base64 decoder has moved to helma.util package. 2002-10-02 14:36:26 +00:00
hns
ba3e20917b Moved here from helma.xmlrpc, which has gone. Needed by helma.framework.RequestTrans. 2002-10-02 14:35:24 +00:00
hns
e59c848a11 Moved here from helma.xmlrpc package which has been replaced by org.apache.xmlrpc 2002-10-02 14:32:56 +00:00
hns
016ed7a0f5 made XML-RPC encoding/decoding methods static and public 2002-10-02 14:31:42 +00:00
hns
dc399d0953 added Apache XML-RPC 1.1 2002-10-02 14:28:09 +00:00
hns
71ddfdebde checked in as non-binary 2002-10-02 14:27:26 +00:00
hns
4bd807fbe5 Added Apache XML-RPC 1.1 2002-10-02 14:23:56 +00:00
stefanp
6b8d8b426c extended invalidate() method:
object.invalidate (key) searches for a child object with the given primary
key or accessname and evicts this object from the cache. if the object
isn't loaded nothing is done.
2002-10-02 10:10:29 +00:00
hns
8f519432b8 Use new color quantizer for reduceColors() which requires a bit more code Ë"
but should be faster. Add code to use new GIFEncoder class to make some performance comparisons.
2002-10-02 09:41:40 +00:00
hns
90efca76fa Use Image.getScaledInstance() in resize method and immediately set new width and height. Some reformatting. 2002-10-02 09:32:09 +00:00
hns
bd1d880506 Added new color quantizer and GIF encoder classes from http://www.gurge.com/amd/java/quantize/ 2002-10-02 09:30:56 +00:00
hns
45974b6664 Make image generator window one pixel big, since some versions of Java would set their own size for a zero sized window 2002-10-02 09:28:33 +00:00
hns
09f046f87a Set baseURI in applications from ApplicationManager iff it isn't defined in the app properties. 2002-10-01 22:49:10 +00:00
hns
e3834af297 if charset is not set in server/app properties, use iso-8859-1 (western).otherwise, an uncaught NullPointerException was thrown by String.getBytes(enc). 2002-10-01 20:16:47 +00:00
hns
930d50d427 Updated to Jetty 4.1.1 2002-10-01 19:51:08 +00:00
hns
186f434418 Resolved two incompatibilities with JDK 1.3 2002-10-01 19:24:19 +00:00
hns
7bc5876c96 Only open those server ports that were explicitly set through command line options.
Updated version string.
2002-10-01 16:19:33 +00:00
hns
67c03ca7ae Further cleanup in TypeManager.
Zip files are now very close to work just like unzipped files: They can add to existing
type.properties, and the files they contain are removed from Prototypes when
the zip files are removed.
2002-10-01 15:56:28 +00:00
hns
2ce2f6fd0c Mark prototype as updated when functions, actions or templates are removed from it. 2002-10-01 15:54:31 +00:00
hns
7799423ae5 Added public remove() method, which is now required by Updatable interface. 2002-10-01 15:53:51 +00:00
hns
52739414bd Added public remove() method,. 2002-10-01 15:53:22 +00:00
hns
e01c244d40 Improved check if cached NullNode is still valid. 2002-10-01 15:52:22 +00:00
hns
e6de4746d9 Added mechanism to add properties from other sources than the primary
properties file, e.g. a Zip file.
2002-10-01 15:50:59 +00:00
hns
6f96481c2b Made remove() public since it is now part of the Updatable interface.
Removed old obsolete code.
2002-10-01 15:49:36 +00:00
hns
9a585f9b40 Made remove() public since it is now part of the Updatable interface. 2002-10-01 15:48:56 +00:00
stefanp
22ec65ab3b added property app.cacheusage that holds current number of elements
in the object cache.
2002-09-30 09:41:55 +00:00
stefanp
972507995c - append only to logfiles that were lastmodified today
- first name tried for archive doesn't have a counter anymore
2002-09-30 09:39:43 +00:00
stefanp
23cd196c72 - rotate the logfiles at midnight and not each 10MB.
- append to existing logs after a restart
2002-09-27 16:07:44 +00:00
hns
fb90032ffd Made scriptingEngine protected again, since it is used by Skin. 2002-09-27 07:19:07 +00:00
hns
36b7ce8221 Do lazy initialization of scripting engine. If immediate creation is desired, calling code can do this by invoking the iniitScriptingEngine() method. 2002-09-27 07:12:50 +00:00
hns
c591ab2e7d If no evaluator is available in getEvaluator() and a new one can't be allocated, try waiting a few seconds several times before throwing a max thread count exception. 2002-09-27 07:11:23 +00:00
hns
7cea5ece31 updated version string 2002-09-26 16:59:03 +00:00
hns
50853a16c6 The RMI interface to Application is now put into a separate RemoteApplication class. 2002-09-26 16:43:46 +00:00
hns
2be26331b6 Replaced by helma.objectmodel.db.IReplicationListener. 2002-09-26 16:43:10 +00:00
hns
50428e56ec minor change in comment 2002-09-26 16:40:07 +00:00
hns
5c7dbb717c It is now possible to bind to RMI and embedded Web/AJP1.3 server at the same time.
(this used to be mutually exclusive until now).
2002-09-26 16:39:08 +00:00
hns
ef18e63042 Replaces helma.framework.IReplicatedApp, since replication takes part mostly in
the helma.objectmodel.db package.
2002-09-26 16:37:21 +00:00
hns
be021b25ea Added logReplication option (works like logSql) to log events regarding cache
replication. Errors in replication are now logged to the application event log.
2002-09-26 16:36:29 +00:00
hns
dbd45f573c Rewrote servlet classes to be independent from IRemoteApp interface, i.e. the
AbstractServletClient now does not mind whether a remote application or a local
reference to an application are used.

If the upload limit is exceeded, a HTTP error is returned immediately instead of
going into the scripting environment.
2002-09-26 16:33:35 +00:00
hns
d09006f985 Greatly improved type checking performance for large application directories.
Fixed bug 117 (skins not inherited from hopobject proto).
Generally cleaned up things a lot.
2002-09-25 17:38:05 +00:00
hns
131ae0c6a9 Fixed handling of type.properties entries and creation of DbMappings.
Not fixed all the way, though - still needs some work.
2002-09-25 17:36:49 +00:00
hns
5a6f044c40 Added getProperties() method to let others access the properties
underlying this database mapping.
2002-09-25 17:32:27 +00:00
hns
93e6af7799 overrided load() function to load properties into a fresh map,
added add() function to load a file without discarding old entries.
2002-09-25 17:31:28 +00:00
hns
f3371c79f1 Check for null and unwrap EcmaScript object to Java object in putProperty().
Especially the toJavaObject() may break something somewhere, not 100% sure,
but we should do this to avoid references from map values to the wrong
EcmaScript evaluator.
2002-09-25 15:17:33 +00:00