hns
1504777bcc
Import helma.objectmodel.db.Node instead of using the fully qualified classname all the time.
2008-10-17 16:06:43 +00:00
hns
99c9b3a867
Return a transient HopObject instead of a ListViewWrapper in HopObject.getOrderedView(). Do import helma.objectmodel.db.Node in HopObject.
2008-10-17 16:04:28 +00:00
hns
0e7c4354c9
Make HopObject properties case sensitive.
2008-10-17 14:18:24 +00:00
hns
bff550c6d9
Activate instruction count based thread termination. Replace deprecated context enter()/exit() calls.
2008-10-17 14:05:23 +00:00
hns
33fac6be68
Fix bug in request handling when incoming requests are attached to an existing response and the response is generated by directly accessing the res.servletResponse HttpServletResponse instance.
2008-10-17 12:02:24 +00:00
hns
a635964fc8
Go back to Java 1.4 compatibility. The few generics uses aren't worth it to require Java 1.5.
2008-10-17 09:14:36 +00:00
hns
e827d0beb4
Make sub-properties updateable, plus minor code cleanup.
2008-10-17 09:10:34 +00:00
hns
2c2f95253f
Set log level to "starting" message to DEBUG. Set log level for "inserted node" message and consorts to DEBUG. Fix and improve error log messages. Make Log accessors in Application public.
2008-10-17 08:53:30 +00:00
hns
f1dd9c6f37
Add log message when a request starts evaluating, and make commit log message look nicer and easier to parse.
2008-10-16 15:06:44 +00:00
hns
ee391ae6db
Improve thread naming and include thread ids in helma log message.
2008-10-16 14:30:47 +00:00
hns
3af404d39e
Unify macro error handling, and don't dump stack traces for macro errors.
2008-10-16 13:50:29 +00:00
hns
ffff56465f
Fix for bug 625: only don't encode within macro tag, but do encode in HTML tags.
2008-10-16 13:20:56 +00:00
hns
d3cb3afce8
Fix for bug 625: don't encode & as entity if encountered within a tag.
2008-10-16 13:17:22 +00:00
hns
4cdc177964
Add support for secure and HttpOnly session cookies, with HttpOnly being enabled by default. The features are controlled through the httpOnlySessionCookie and secureSessionCookie app properties. We now compose and set the session cookie ourselves as this is the only reliable way to do it in a cross-servlet-container compatible way and without adding dependencies to the servlet container.
2008-10-16 12:15:42 +00:00
hns
5217132767
Some code cleanup and make sure StandaloneServletClient actually works by avoiding NullPointerExceptions and calling Server.init().
2008-10-15 14:49:08 +00:00
hns
fc8ce41184
Do not use the currently evaluated code repository as parent/root repository for repositories added via app.addRepository(). I don't know why I did this in the first place, but it messes up code evaluation order because multiple repositories end up with the same root repository.
2008-10-15 10:29:18 +00:00
hns
c531985afe
Increase app.xmlrpcCount for "new style" XML-RPC requests served by Jetty.
...
Fixes bug 629 http://helma.org/bugs/show_bug.cgi?id=629
2008-09-20 20:45:46 +00:00
hns
fd80b451d9
Patch from Jürg Lehni to not track unset() on non-persitable properties.
...
Fixes bug 633 http://helma.org/bugs/show_bug.cgi?id=633
2008-09-20 20:22:37 +00:00
hns
761ab5560b
Fix serialization for transient HopObjects.
2008-09-09 13:53:51 +00:00
hns
d25b8298ee
Add debug output for prototype handling.
2008-08-06 13:12:38 +00:00
hns
60e56647eb
Undo previous commit.
2008-07-28 10:56:51 +00:00
hns
fb9f5cf8cd
Add more synchronization to avoid memory race conditions.
2008-07-28 10:23:03 +00:00
hns
f3c6c7a93f
Make app.addRepository() synchronized to avoid memory race conditions.
2008-07-28 08:24:42 +00:00
hns
01e8b5ccbd
Make sure _all_ access to TypeManager.prototype field is synchronized.
2008-07-21 23:05:28 +00:00
hns
51ba3dc963
Make sure _all_ access to TypeManager.prototype field is synchronized.
2008-07-21 23:02:22 +00:00
hns
41a422fd01
Synchronize more methods in TypeManager to prevent race conditions.
2008-07-17 12:08:10 +00:00
hns
d1600d4783
* Use LinkedHashMap for dirty node tracking to preserve insertion order.
...
see <http://helma.org/pipermail/helma-user/2008-May/007379.html >
2008-07-04 13:50:59 +00:00
hns
277737f940
* Fix checkXmlRpc to work with content-types containing a charset subheader.
...
Fixes bug #628 <http://helma.org/bugs/show_bug.cgi?id=628 >
2008-06-13 20:48:33 +00:00
hns
449cbd815e
* Continue parsing macro tags even if it is a comment. This is the only
...
way we can correctly catch embedded macros. Fixes bug 588.
http://helma.org/bugs/show_bug.cgi?id=588
2008-05-15 09:45:33 +00:00
hns
0aaa141a4b
* Fix bug 617: Only resolve direct prototype matches in parent chain.
2008-05-15 09:09:40 +00:00
hns
3104b4c48a
* Fix bug 625: Don't let format() encode characters inside executable macro tags.
2008-05-15 08:29:43 +00:00
hns
24cecbaead
* Increase version number to 1.7.0-pre.
2008-05-05 14:46:26 +00:00
hns
2734f70d6a
* Introduce hopdir servlet parameter to be able to set the helma directory.
2008-05-05 14:38:53 +00:00
hns
585725d9c6
* Try a little harder to find resources in app.addRepository:
...
If path names don't resolve by themself, try explicitly using hopHome as parent.
This is useful in cases where hopHome isn't the current or user directory, such as
when running helma within tomcat.
* Make app reference transient.
2008-05-05 14:37:58 +00:00
hns
0592e44ad1
* Add serialVersionUID (doh, should have done this before 1.6.2!)
2008-04-24 11:31:23 +00:00
hns
44c0745954
* Set parent on group nodes for transient parents. Fixes NullPointerException
...
in Relation.setConstraints().
2008-04-07 19:50:57 +00:00
hns
ae3c331c7d
* Fix several bugs in grouped collections:
...
<http://helma.org/bugs/show_bug.cgi?id=597 >
<http://helma.org/bugs/show_bug.cgi?id=614 >
<http://helma.org/bugs/show_bug.cgi?id=615 >
2008-04-07 15:24:11 +00:00
hns
7d80ab10e0
* Remove call to gui.dispose() as it causes helma shutdown hook to hang on windows
...
- see http://helma.org/bugs/show_bug.cgi?id=586#c2
2008-04-07 12:25:02 +00:00
hns
3bd9e813a9
* Bump version to 1.6.2
2008-04-07 08:49:13 +00:00
hns
a96a4444a6
* Make Server.getAppsProperties() return the whole properties if appName argument is null.
...
* Code cleanup: make ServerConfig fields private and add getters and setters.
2008-04-04 11:44:29 +00:00
hns
35ed7a58f8
* Minor code cleanup.
2008-04-04 11:40:25 +00:00
hns
02b00926ff
* Define cache node as INode rather than fixed TransientNode.
...
The idea is to eventually be able to use persistent HopObjects
as session stores.
2008-04-04 10:59:26 +00:00
hns
30eb6663bc
* Run Application.init() in a fresh thread to shield it against class loaders
...
and rhino contexts that may be associated with the calling thread.
Fixes bug 613 <http://helma.org/bugs/show_bug.cgi?id=613 >
2008-04-04 10:56:29 +00:00
hns
007f61b324
* implement toString() method in AppClassLoader.
2008-04-04 10:49:02 +00:00
hns
3e98b9e5c9
* Add shutdown hooks to ScriptingEngine, RhinoCore and HelmaDebugger.
...
Fixes bug 586 <http://helma.org/bugs/show_bug.cgi?id=586 >
2008-04-02 15:14:30 +00:00
hns
931117a6b6
* Minor formatting fix.
2008-04-02 13:45:27 +00:00
hns
03f6060525
* Commit patch to implement repository support for StandaloneServletClient
...
contributed by Franz Philipp Moser. Fixes bug 544
<http://helma.org/bugs/show_bug.cgi?id=544 >
2008-04-02 13:44:28 +00:00
hns
6c5e37fb76
* Fix bug 426 < http://helma.org/bugs/show_bug.cgi?id=426 >
2008-04-02 13:19:28 +00:00
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