hns
d0aa1a72b5
Lots of code cleanup and little fixes.
...
redirect() now sends a 303 status code instead of 302 for HTTP/1.1.
2002-10-16 15:29:54 +00:00
hns
0db8fd2bbd
Fixed bugs 131: "No retry code in ServletClient and MultiServletClient"
...
and 132: "helma.serlvet.ServletClient stops working after *some* time"
And also did some cleanup work.
2002-10-16 15:28:12 +00:00
hns
558c5a5660
Print/rethrow full exception string when an exception is caught from
...
NodeWrapper, since the exception message without the exception class is often
not very telling (e.g. "128" in ArrayIndexOutOfBoundsExceptions).
2002-10-16 13:25:36 +00:00
hns
e91d06e88e
removed final keyword which caused compile to fail on OS X (Java 1.3.1)
2002-10-15 22:07:24 +00:00
hns
ff82c38ff6
Fixed ApplicationBean.getSkinfiles: Skin files in app.skinfiles are now loaded only
...
when accessed. This is implemented using an inner class Prototype.SkinMap.
2002-10-15 17:56:10 +00:00
hns
efa13b4a00
Cleaned up SkinManager, added method to collect skins in other directories than
...
the prototype directory.
2002-10-15 17:54:04 +00:00
hns
6f982f6951
Changed skinDepth from public to protected.
2002-10-15 17:52:36 +00:00
hns
063b42744c
Various minor optimizations.
2002-10-15 17:52:00 +00:00
hns
c796392946
added setBufferLength() method to truncate the response buffer.
2002-10-15 17:48:24 +00:00
hns
30dd6b206e
Rewrote XML encoding of properties not to stumble over null values (hopefully).
...
Also did some minor code cleanup.
Support for stopTypes has been added but is commented out.
2002-10-14 17:05:06 +00:00
hns
00ae368a85
Cleaned the way boolean properties are transformed into as string
2002-10-14 16:40:18 +00:00
hns
825415f526
* Check for null and empty string in all encoder methods.
...
* Encode macro tags and HTML comments inside <code> tag.
* Added simple main() method for command line tests.
2002-10-14 16:39:18 +00:00
hns
6a7e0ec908
Fixed bug 128 (Logger NullPointerException), moved some code.
2002-10-14 15:39:45 +00:00
hns
d1fe0ad7c8
Fixed formatting.
2002-10-14 15:24:18 +00:00
hns
43b9e08027
ScriptingEngine.invoke() is now called with the wrapping Beans as arguments, so
...
ScriptingEngine implementations do not have to create the beans themselves anymore.
2002-10-14 15:13:02 +00:00
hns
1fbe23bc03
Fixed formatting, removed checkWriteLock() in invalidateNode().
2002-10-14 15:09:45 +00:00
hns
cfa6ddc3e0
Mark local info for prototype as initialized by setting info.lastUpdate to 1, even if the prototype's lastUpdate is 0
2002-10-07 11:57:48 +00:00
bc8893123b
set HTTP_PORT to 80 and enabeld XML_PORT by default
2002-10-04 14:40:21 +00:00
fec67f3fe3
updated analogous to main version
2002-10-04 14:39:22 +00:00
68afc702b8
corrected search&destroy typo ("OPTIONSS")
2002-10-04 12:17:26 +00:00
53cb41dffe
renamed SWITCHES to OPTIONS
...
set HOP_HOME to SCRIPT_DIR if undefined
2002-10-04 12:11:46 +00:00
43c809ff0a
added absolute paths for libraries so that the script can be started from within any other directory; re-arranged code
2002-10-04 11:53:43 +00:00
hns
96f48b1fc8
The script can now be started from any directory. It should now be flexible enough
...
for most real world applications.
2002-10-03 21:24:58 +00:00
6cb52547dd
inspired by hannes' suggestion i tried to improve the start script:
...
it's now enough to comment/uncomment the port variables to de/activate the corresponding server.
both, setting of the switches and console messages, will be processed only if the corresponding port variable is set.
this is an experimental set-up, will inform mailiing-list for discussion and feedback.
2002-10-03 16:31:29 +00:00
7472f1ed0c
inspired by hannes' suggestion i tried to improve the start script:
...
it's now enough to comment/uncomment the port variables to de/activate the corresponding server.
both, setting of the switches and console messages, will be processed only if the corresponding port variable is set.
this is an experimental set-up, will inform mailiing-list for discussion and feedback.
2002-10-03 16:09:24 +00:00
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