Commit graph

3129 commits

Author SHA1 Message Date
hns
3526050006 * Throw explicit exceptions when a derived property is set to the id of a
transient object. Fixed bug 607.  <http://helma.org/bugs/show_bug.cgi?id=607>
2008-04-01 13:03:46 +00:00
hns
b0723569b2 * Do not cache nodes unless there is a request evaluator associated with
the current thread and we can invoke onInit() on it. This prevents  nodes 
  fetched from other applications to be cached and fixes bug 598 
  <http://helma.org/bugs/show_bug.cgi?id=598>
2008-04-01 11:53:46 +00:00
hns
ce30c5aac4 * Implement Application.getParentElement(). 2008-04-01 09:51:07 +00:00
hns
17e8ea6d82 * Close sql statement after the logging. Fixes bug 605.
<http://helma.org/bugs/show_bug.cgi?id=605>
2008-03-26 18:53:31 +00:00
hns
4f30dc3c0e * Update javac source and target version to 1.5.
Fixes bug 609 <http://helma.org/bugs/show_bug.cgi?id=609>
2008-03-26 18:14:28 +00:00
zumbrunn
ce879b2541 fixed see tags for getMultipartType, setMultipartType and addPart that were pointing to wrong places 2008-03-26 18:11:22 +00:00
hns
6bd3e78dfb * Make Property.getBooleanValue() try to convert strings to integers.
Fixes bug 606 http://helma.org/bugs/show_bug.cgi?id=606
2008-03-26 11:30:31 +00:00
hns
24fbb853f4 * Do not define global functions and OrderedView methods as READONLY,
mirroring the behaviour of HopObject methods.
  http://helma.org/bugs/show_bug.cgi?id=602
2008-02-19 12:22:18 +00:00
hns
f6d21299a0 * Make sure prototype and parent scope are set correctly for HopObject.getById().
Fixes bug 601 http://helma.org/bugs/show_bug.cgi?id=601
* Do not define HopObject.getById() as READONLY. Fixes bug 602
  http://helma.org/bugs/show_bug.cgi?id=602
2008-02-19 11:52:15 +00:00
hns
ad613b629a * Rename req.actionProcessor to req.actionHandler as suggested by Juerg Lehni on helma-dev. 2008-02-18 15:09:11 +00:00
hns
58b7de53c4 * Merge -r 8778:8790 from branches/refactor_transactor. 2008-02-08 15:58:14 +00:00
hns
a44af35c59 * Rename Transaction class to XmlTransaction. 2008-02-06 14:50:59 +00:00
hns
821f69150f * Update to Rhino HEAD snapshot from 2008-02-05 with token patch
from http://dev.helma.org/wiki/Rhino+Bugs+%26+Patches/
2008-02-05 15:51:34 +00:00
hns
add89add1a * Implement req.actionProcessor to allow onRequest() to set/override the function
called to handle the request. Required for continuation and callback support.
2008-02-05 14:45:37 +00:00
hns
6063259455 * Implement support for req.uri. This property contains the full request URI for
HTTP requests, and is null for internal requests. While req.path only contains 
  the request's path info within the helma application, req.uri contains the 
  request's full URI starting at the web server root.
2008-02-05 10:56:50 +00:00
hns
b49ad9d2f1 * Implement HopObject.getAllIds() in order to display HopObject properties in debugger. 2008-02-01 10:31:38 +00:00
hns
3fbb4419c6 * Set default Javascript language version to 1.7 (rhino.languageVersion = 170) 2008-01-29 16:06:11 +00:00
hns
8897b240c8 * Update to Rhino HEAD snapshot from 2008-01-28 with token patch
from http://dev.helma.org/wiki/Rhino+Bugs+%26+Patches/
2008-01-29 12:36:57 +00:00
hns
b29bf58253 * Make error handling more flexible, adding res.exception, res.scriptStack, res.javaStack
to get further information on unhandled exceptions during page execution.
* Make default error page include script and java stack traces when debug is set to true.
2008-01-29 12:16:06 +00:00
hns
b5f7f14b2f * Add serialization proxy support for host objects (app, path, req, res). 2008-01-29 10:54:46 +00:00
hns
b66a0eb8be * Fix getDefaultValue() for JSAdapter to be called on adapter, not adaptee. 2008-01-29 10:13:27 +00:00
hns
08145e3965 * Check for action names that don't end with '_action' in setAction(). 2008-01-29 10:03:00 +00:00
hns
1ccb272c82 * Rewrite getPrototypeName() to check interfaces on all superclasses,
because classes do not report interfaces inherited from a superclass.
2008-01-29 09:35:37 +00:00
hns
e6fad59612 * Overhaul getParent(), only return non-containing parent as fallback.
Fixes bug 593 - http://helma.org/bugs/show_bug.cgi?id=593 
* Don't go into parent check for root node.
* Do not trim name in setName(). Fixes bug 594 - 
  http://helma.org/bugs/show_bug.cgi?id=594
2008-01-28 13:54:57 +00:00
hns
e75851c2a2 * Replace netcomponents.jar with jakarta commons-net.jar 1.4.1.
Change of java package name _should_ be all that is required.
2008-01-25 11:11:33 +00:00
hns
2f7407a8c7 * Replace netcomponents.jar with jakarta commons-net.jar 1.4.1. 2008-01-25 11:09:59 +00:00
hns
6ef2eabdd9 * Add JSAdapter support from Phobos project <https://phobos.dev.java.net/>.
See <http://blogs.sun.com/sundararajan/entry/self_javascript_and_jsadapter>
  for more information on JSAdapter.
2008-01-10 13:07:53 +00:00
hns
41334905c0 * Patch for rhino.languageVersion setting from Chris Langreiter:
http://www.langreiter.com/space/2007-12-26-r17
2008-01-02 17:13:18 +00:00
hns
d8149e0bee * Implement new HOpObject isPersistent() and isTransient() methods. 2007-12-21 16:37:25 +00:00
hns
25bf45477d * Make members in SubnodeList transient to avoid serialization fuck-up. 2007-12-21 09:13:52 +00:00
hns
6995b9b6a1 * Make helma.Http always set result.content, regardless of response status code.
* Always call responseHandler, regardless of response status code.
* Fix setFollowRedirects() bug.
Fix for bug 583 http://helma.org/bugs/show_bug.cgi?id=583
2007-12-19 10:13:54 +00:00
zumbrunn
f3bfee3a16 turned documentation for JSON methods back on 2007-12-13 19:03:38 +00:00
zumbrunn
add43975fc made some minor @see tag changes to please the new jsdoc-toolkit based docs 2007-12-13 18:30:16 +00:00
zumbrunn
1d9d306bca made some minor @see tag changes to please the new jsdoc-toolkit based docs 2007-12-13 18:25:41 +00:00
zumbrunn
e4d04f1db0 added explanations regarding the usage of these optional repositories and added docs for helma.Image 2007-12-13 12:21:48 +00:00
hns
48bd6d055b * use String.replaceAll() rather than String.replaceFirst() to sanitize log names. 2007-12-12 15:32:10 +00:00
hns
29cebb79a9 * Perform some sanity checks on log file name,
as Jetty sometimes uses http context paths in log names.
2007-12-12 13:01:54 +00:00
hns
cb0d4e830d * Don't add ResourceHandler for protectedStatic directory, as it doesn't
really seem to be needed.
2007-12-12 12:45:31 +00:00
hns
077e7b540b * Make sure resource paths passed to res.forward() start with a slash,
as Jetty 5.1 wants it that way.
* Add curly braces to statements.
2007-12-12 12:44:21 +00:00
hns
cdb9a335e4 * Implement res.resetBuffer() as proposed by Michael Platzer on helma-user.
Fixes bug 585: http://helma.org/bugs/show_bug.cgi?id=585
2007-12-11 16:32:22 +00:00
hns
389ab31d9e * Include filter in MultiKey parts for complex references. Fixes bug #584
originally reported by Franz Philipp Moser on helma-user.
  http://helma.org/bugs/show_bug.cgi?id=584
2007-12-11 16:16:28 +00:00
hns
21c44962f1 * Update version string to 1.6.1 2007-12-11 11:17:37 +00:00
hns
911e8c3fbc * Set HTTP status code to 500 by default when error action is invoked. 2007-12-11 10:03:48 +00:00
hns
891d0f74e1 * Fix bug 582, which is a regression caused by the fix for bug 551.
http://helma.org/bugs/show_bug.cgi?id=582
  http://helma.org/bugs/show_bug.cgi?id=551
2007-12-10 10:47:41 +00:00
hns
3fcdfd72ce * Invoke User.onLogout() if and only if a request evaluator is associated
with the current thread (which means it is called from an application script).
  Otherwise, we can assume to be called by the session timeout thread, which 
  takes care of calling User.onLogout().
2007-12-06 20:18:59 +00:00
hns
4afd475510 * deprecated SessionManager.loginSession() and logoutSession() as they have
a twin in the Application class. Change implementations to proxy to 
  the Application methods.
2007-12-06 20:13:59 +00:00
hns
ec1b8b71d9 * Use setBoolean to set BIT and BOOLEAN type columns in prepared statements.
This should make it work with Postgresql.
2007-12-06 13:56:09 +00:00
zumbrunn
3f1069db50 moved externals from the work directory to a subdirectory in build and changed build.xml to create packages free of spurious temp files and to make sure the build process cleans up after itself 2007-12-03 18:47:50 +00:00
hns
9bf899098f * Setting svn:externals definitions to mount apps 2007-11-30 15:44:58 +00:00
hns
29ec0ea10d * Adding work directory in order to mount dependencies via svn:externals.
This is not the most beautiful solution, but it works for now.
2007-11-30 15:39:37 +00:00