hns
5818dd8d52
Fixes in servlet registry methods
2002-05-28 20:17:19 +00:00
hns
c6d7496f4b
Made noPropertyMarker non-static. This held a reference to the
...
evaluator and the application, preventing garbage collection.
2002-05-28 18:24:56 +00:00
hns
c424e54261
Helma encode() functions now do entity encoding
...
again, but the right way. It transforms special Windows characters (such as smart quotes)
top valid Unicode, uses symbolic entities for ISO-8859-1 characters and numeric entities
fpr everything above.
2002-05-27 16:52:34 +00:00
hns
5a589d4bd6
If macro returned something write it to the response object regardless if
...
the macro wrote to the response itself or not.
2002-05-24 22:51:19 +00:00
hns
5b862803c6
Pass a clone of the parameter map to macros, so if the macro
...
modifyes the object we still have the original version.
2002-05-24 14:30:04 +00:00
hns
eb2f292877
minor addition to comment
2002-05-24 14:04:40 +00:00
hns
67a5f5f412
don't decode query string, we do that afterwards in servlet
...
where we know which encoding to use.
2002-05-23 20:37:40 +00:00
hns
459bf13822
Merged Stefan Pollach's XML Database branch.
2002-05-23 19:50:40 +00:00
hns
4fdf0b97d9
Declared as class as final, getEvaluator() as private.
2002-05-23 19:35:52 +00:00
hns
6576b9fc0f
Templates work again (also with _as_string).
2002-05-23 19:35:18 +00:00
hns
0a3a514ddc
Added DomExtension as standard extension.
...
Templates work again (also with _as_string).
Do not remove internal functions when cleaning up global object.
2002-05-23 19:34:59 +00:00
hns
2f3dd29223
Made getPathInfo() and getCharacterEncoding return useful values.
2002-05-23 19:32:34 +00:00
hns
202575d801
Reworked much of the helma servlet code.
...
Parameter parsing is now done by the servlet itself since we know
best about the encoding used by an application.
AcmeServletClient is gone, the new EmbeddedServletClient
is a subclass of AbstractServletClient, so no more duplicate code here.
2002-05-23 19:31:40 +00:00
hns
14a6f0840e
Merged Stefan Pollach's XML Database branch.
2002-05-23 19:27:54 +00:00
hns
ca2a42e204
implemented support for "prefix" and "suffix" for macros that
...
directly write out to response buffer.
2002-05-23 14:11:08 +00:00
hns
00173af1b6
only print stack trace if app.debug(),
...
removed dead code.
2002-05-16 17:12:04 +00:00
a03ba78b03
changed linebreak output of function res.writeln from <br> to <br /> (for xhtml compatibility)
2002-05-16 16:54:49 +00:00
35aa84d81d
changed linebreak output of function res.writeln from <br> to <br /> (for xhtml compatibility)
2002-05-16 15:37:37 +00:00
hns
5d3214979b
avoid output to stderr when opening new connection
2002-05-15 18:03:38 +00:00
hns
23c965c85d
updated version date.
2002-05-15 17:21:18 +00:00
hns
db69f15dc1
Implemented skin caching.
2002-05-15 17:20:44 +00:00
hns
36eee9e151
pass number of read characters to Skin constructor.
2002-05-15 17:19:05 +00:00
hns
1085f83d02
Pretty much streamlined Skin parsing and rendering,
...
trying to reduce the number of objects created.
2002-05-15 17:18:32 +00:00
hns
e618c5c8a2
updated comment which was from 1998 or something like that
2002-05-15 17:17:04 +00:00
hns
b457ca8a88
implemented writeCharArray() method
2002-05-15 17:16:38 +00:00
hns
d0899da45b
backpedalling on dumb previous modification...
...
never change something you don't understand.
2002-05-14 17:09:57 +00:00
hns
707e9e9171
updated version string to current date.
2002-05-14 16:44:04 +00:00
hns
45b172f21b
Only set path-lookup-by-prototype if the object in the path actually does have a prototype.
...
Previously this threw a NullPointerException for untyped path elements.
Enabled printing of stack trace for errors within invoke().
2002-05-14 16:43:03 +00:00
hns
a19a01d19b
Call getNodeProperty() instead of getProperty() in NodeGet to avoid retrieving
...
prototype functions.
Fixed skinpath conversion to Java array.
2002-05-14 16:41:35 +00:00
hns
9dcf718733
Changed remove() method to remove node itself if no arguments are supplied.
...
Added getNodeProperty() method which will only return properties of the node but not the
underlying prototype, thus avoiding to return functions declared for the prototype. This is used
for the HopObjects get() function.
Added getDefaultValue() to return a string representation for HopObjects. Previously, concatenating
HopObjects to Strings threw an error.
2002-05-14 16:40:28 +00:00
hns
1cd27f8c1d
Did some fixes in setConstraint() which now checks if the backward
...
mapping is a primitive mapping or an object reference.
Also allow the method to be called for group-by collections, which
is why the new code should be regarded as experimental.
Removed some dead code.
2002-05-14 16:37:14 +00:00
hns
d269727524
Nodes are now inserted/updated in the database in the same order
...
they were marked as dirty in the transactor. This is to avoid
exceptions when databases check for relational constraints in
inserted objects.
2002-05-14 16:35:18 +00:00
hns
3863edd22f
Fixed remove() method.
2002-05-14 16:34:03 +00:00
hns
86cbedc1d6
added methods to get and set skinpath and translated skinpath.
2002-05-14 16:33:24 +00:00
hns
72308434eb
removed silly comment
2002-05-14 16:32:33 +00:00
hns
1bd0fe6c05
merged changes from refactor_scripting_05_02 branch
2002-05-13 17:38:00 +00:00
hns
5a015fbbc5
switched reval field from RequestEvaluator to FesiEvaluator.
2002-05-13 17:19:33 +00:00
hns
fd82482a03
Take id field from parent prototype if it isn't defined in this one.
2002-04-26 15:30:54 +00:00
hns
653de0713c
Removed try/catch clause from getLogger() method.
...
Increased version string to "pre3 2002/04/26".
2002-04-26 14:47:10 +00:00
hns
b49b50449e
Formatting fixes
2002-04-26 14:05:47 +00:00
stefanp
8c4e0ed609
added a trim() method to fesi string objects
2002-04-26 13:44:52 +00:00
hns
4e3cc523e4
Logger.getLogger(...) doesn't throw an IOException anymore if
...
it can't open the requested log file. Instead it displays an error message
and sees if the file becomes writable. So there's no use in catching the
Exception and getting a Logger to std out/err anymore.
2002-04-26 12:48:51 +00:00
hns
86eb2c075a
Do not throw IOException on getLogger(...) anymore. Instead,
...
display an error message on standard out, try again and again
to open and write to the log file, and discard queued
log messages and display a warning message every now and then.
2002-04-26 12:47:04 +00:00
hns
3a0a234d50
Pretty much rewrote the Logger class.
...
- Applied patch From Stefan Pollach that results in better log file rotation
and gzips old log files
- Added sanity checks that re-creates a log file if it has been moved or
deleted
- Added sanity check that closes a logger that can't write to its file.
- Added some method for real time introspection of logging system
Todo: Decide what should happen when a Logger can't write to its file.
2002-04-25 16:39:37 +00:00
hns
c7071ce55d
Changed order of reading request properties. Previously, HTTP parameters
...
where set after HTTP variables/headers, which caused a security problem
with HTTP variables being overridable by parameters. (bug #77 )
2002-04-23 16:07:51 +00:00
stefanp
8ddc2b2e4f
bugfix http://www.helma.org/bugs/show_bug.cgi?id=55
...
login() now returns false if authenication fails, not only
if heavier exceptions appear.
2002-04-23 14:36:03 +00:00
stefanp
2363def4f7
use _attribute instead of attributes
2002-04-19 17:16:50 +00:00
stefanp
0fbaf447e8
use _prototype instead of prototype
2002-04-19 16:45:30 +00:00
stefanp
ddf1a9a88e
initial checkin xml/dom-extension
2002-04-19 15:54:14 +00:00
stefanp
8e96f6fee8
added wrapper for Hashtable.size()-method
2002-04-18 09:35:54 +00:00