hns
15cae3e3e7
Change ö to oe to prevent errors caused by wrong encodings
2004-06-08 16:09:01 +00:00
hns
3b93e81170
Change 4th argument to ScriptingEngine.invoke from boolean to int to be able
...
to pass more explicite argument processing flags. Next to default and XML-RPC
processing there is now an option not to process arguments.
2004-06-08 16:05:55 +00:00
hns
6f8907c6bd
Use RequestEvaluator.invokeDirectFunction() rather than ScriptingEngine.invoke()
2004-06-08 15:42:51 +00:00
hns
38ef27fbce
remove redundant check in Macro constructor
2004-06-08 14:42:11 +00:00
hns
477094bde7
Update version to 1.4.1-rc1
2004-06-07 12:00:13 +00:00
hns
75f6e3515b
Properly wrap skin return value in createSkin().
2004-06-06 20:14:37 +00:00
hns
1e63855c80
Unwrap first argument to renderSkin() calls in case
...
it is a Wrapper instance.
2004-06-06 20:07:12 +00:00
hns
11d95ce2f1
Move call to typemgr.checkPrototypes() from RequestEvaluator to RhinoCore.
...
The TypeManager and Prototype classes will move to the helma.scripting package
in the near future.
2004-06-04 16:06:33 +00:00
hns
a3697b8d82
newPrototypes hashset is never used. Print stack trace if debug is enabled.
2004-06-04 16:03:36 +00:00
hns
da7ba1dc51
make checkFiles() private
2004-06-04 16:02:52 +00:00
hns
33b48ff93a
Expose message field in Session object through bean accessors
...
Change getters and setters for other properties from getxxx() to getXxx()
2004-05-27 14:29:09 +00:00
hns
bc85445744
Do not catch Exceptions when wrapping globals in enterContext() - this makes
...
us ignore syntax errors in scripts, prevents useful error messages to be displayed
and causes functions to be called in illegal state.
2004-05-25 13:29:54 +00:00
hns
c3af34272f
Try to create DbSource even if neither url nor driver are defined, because
...
all we're preventing otherwise is a helpful error message.
2004-05-19 13:58:09 +00:00
hns
c908d1d097
use Properties.getProperty() to get driver, url, username and password
...
because Properties.keys() does not include the default Properties' keys.
Improved error messages for missing driver and url properties.
2004-05-19 13:57:22 +00:00
hns
0a030f932a
Use lazy loading constructors where possible for extension constructors
2004-05-19 13:55:51 +00:00
hns
ae38654a7a
No need to lower-case dbsource name in app.getDbSource()
2004-05-19 13:55:17 +00:00
kmfdm
9934a5af4c
deffensively check properties ignoring case
2004-05-06 17:00:26 +00:00
kmfdm
7ad0968ea4
removed changes to systemproperties
...
(not neccessary to use case-sensitive db.properties...)
2004-05-06 15:37:25 +00:00
hns
adbd17d6aa
Added exportNode() method that takes a DbMapping as second argument.
2004-05-05 14:31:17 +00:00
hns
ff6b590148
Set http_language in request data object to Accept-Language header.
2004-05-03 14:39:04 +00:00
hns
57091f8943
Patch from Manfred: Separate CLOB from LONGVARCHAR in setStatementValues()
2004-04-30 16:09:52 +00:00
hns
1a5c665579
Patch from Manfred: Allow arbitrary properties to be passed to the JDBC driver.
2004-04-30 16:08:13 +00:00
hns
2a7fe39e24
Patch from Manfred: Make dbProps properties case sensitive
2004-04-30 16:04:07 +00:00
hns
06ded876ca
Patch from Manfred: Add constructor that takes ignoreCase argument
2004-04-30 16:03:34 +00:00
hns
833ca87ae4
Avoid multiple unnecessary calls to numberOfNodes() when adding child nodes
...
and synchronize adding, removing to make sure we never use an out-of-bound index.
2004-04-28 18:10:41 +00:00
hns
a410c358e5
Added JavaDoc comments
2004-04-28 18:03:33 +00:00
hns
2b58650ee2
Check parent mapping in isOracle()
2004-04-28 15:59:01 +00:00
hns
7ab7cff668
Group DATE, TIME and TIMESTAMP in createNode() switch statement and
...
always user ResultSet.getTimestamp().
2004-04-28 15:58:30 +00:00
kmfdm
05c39cbd92
added CLOB-support
...
combined switch-statement of updateNode and insertNode into one method
2004-04-27 09:28:17 +00:00
hns
fbe488ec6e
Make ConcurrencyException extend Error so it isn't cought by JavaScript try/catch.
2004-04-26 09:08:45 +00:00
hns
f02fb895cd
Use lower-case prototype name for external skin files if directory for
...
actual name doesn't exist.
2004-04-22 10:38:33 +00:00
stefanp
54f60eecef
rewrote the method for parsing function files so that it handles
...
the various ways of declaring functions in rhino
2004-04-13 08:33:40 +00:00
hns
eee11438d7
Removed/unified semi-redundant else-if branch
2004-04-02 12:17:33 +00:00
hns
750f209035
Try ScriptRuntime.toString() in get() to work around unimplemented toString()
...
in some Rhino native types.
2004-04-01 15:39:06 +00:00
hns
fbf6dfe693
Update version to 1.4.0
2004-04-01 15:05:01 +00:00
hns
cf1b70d48a
Update to Rhino 1.5R5 final
2004-04-01 15:02:35 +00:00
hns
1e80a31348
Update to Jetty 4.2.19 (fixes DOS attack problem)
2004-04-01 15:02:15 +00:00
hns
e7e5467d8f
Handle case gracefully where a node has a prototype set that does not exist anymore.
...
When reading from relational table, set _prototype to the name of the prototype we
actually use. When JS-wrapping the object, also check its DbMapping to find out the
prototype.
2004-03-30 15:13:04 +00:00
hns
06685adbec
Re-add a simple getDefaultValue implementation to prevent runtime errors.
2004-03-29 14:53:23 +00:00
hns
4239bb201b
Do not call markAs(CLEAN) in Node.init() because we don't know for sure if we
...
are going to use it. If the node is loaded already and is infact dirty, calling
markAs(CLEAN) will drop it from the transactor's dirty list. So what we do instead is
to directly set the status flag to CLEAN. Fixes bug 352.
2004-03-29 13:04:04 +00:00
hns
7991f133d5
Make createNode smarter about the prototype for the new child node it is
...
about to create. Otherwise, if called on a persistent node, the new child node
will be persisted with a possibly bogus id.
2004-03-23 14:32:28 +00:00
hns
1271379eda
Use Node constructor rather than createNode() in registerUser(). createNode()
...
is currently not prototype-aware, so if it is called on a persistent Node, the new
child node may be persisted with a bogus id (!).
2004-03-23 14:11:06 +00:00
hns
68c69d7ba1
* Use getChildElement rather than getSubnode to look up a potential group node
...
in getParent()
* Register newly created group nodes as clean nodes with the transactor thread,
in addition to throwing them into the cache. This seems to be necessary somehow,
although I don't understand why.
2004-03-19 17:04:10 +00:00
hns
3670bafb9f
Fixes in Relation.java:
...
* Make renderConstraints() do the right thing in regard to logicalOperator, extracting
the code from buildQuery()
* Make checkConstraints() do the right thing in regard to logicalOperator.
* Make setConstraints() do the right thin in regard to logicalOperator, i.e. don't touch
if logicalOperator is OR or XOR.
2004-03-19 17:02:18 +00:00
hns
dd4be4b6b6
Make form parsing aware of multiple values per key for file upload forms (enctype="multipart/form-data")
2004-03-15 12:10:26 +00:00
hns
b31871fdfb
Do a isStrorageCompatible() rather than isRelational() to handle checks for
...
non-relational child nodes in isParentOf().
http://helma.org/bugs/show_bug.cgi?id=339#c17
2004-03-12 13:20:59 +00:00
hns
5e13b2c99e
Make prototype and name handling case insensitive in insertRelationalNode()
2004-03-12 13:13:03 +00:00
hns
4d5e555051
Upgrade to official Rhino 1.5R5 release candidate 1.
2004-03-11 11:36:15 +00:00
hns
5f327ae473
Upgrade to servlet jar from Jetty 4.2.18
2004-03-11 11:33:26 +00:00
hns
fd7b12c906
Upgrade to Jetty 4.2.18 (JDK 1.2 compatible).
...
Fixes bug with Java 1.3 java.util.Calendar in Jetty 4.2.17
2004-03-11 11:33:04 +00:00