Commit graph

2831 commits

Author SHA1 Message Date
hns
3250ba7c00 Undo commit 9990 - not calling loadNodes() in addNode() breaks two unit tests involving grouped collections. 2009-11-24 10:25:31 +00:00
hns
9323574f0f Do not load subnodes in addNode(). The subnode list is created a few lines later anyway, and using a faux list shouldn't affect relational collections. 2009-11-18 14:21:00 +00:00
lehni
17047f9cfc Fix IllegalStateException when saving as GIF, see bug 683. 2009-11-16 13:47:46 +00:00
hns
807cd5c80d Patch from Jürg Lehni to add timeout argument to global getURL() function.
Fixes bug #692 - http://dev.helma.org/bugs/show_bug.cgi?id=692
2009-11-10 08:47:01 +00:00
hns
784e374f78 Better fix for bug #684: Retrieve ScriptingEngine if necessary in Application.getDataRoot(), and make sure root objects set via Application.setDataRoot() are actually used. 2009-11-05 10:15:53 +00:00
hns
989ce36da0 Another NPE fix for bug #689
http://dev.helma.org/bugs/show_bug.cgi?id=689
2009-11-05 08:11:53 +00:00
hns
9b7af555df Readd zero argument Application.getDataRoot() 2009-11-05 08:03:29 +00:00
hns
0a9d8ff99b Add skin introspection patch from Tobi Schäfer for bug #688
http://dev.helma.org/bugs/show_bug.cgi?id=688
2009-11-04 11:31:10 +00:00
hns
8c219d75a3 Don't try to prefetch childnodes on transient nodes. Fixes bug #689
http://dev.helma.org/bugs/show_bug.cgi?id=689
2009-11-04 11:01:58 +00:00
hns
daf3b0b292 Create subnode list if it doesn't exist in Node.getLastSubnodeChange(). Fixes bug #679
http://dev.helma.org/bugs/show_bug.cgi?id=679
2009-11-04 10:56:15 +00:00
hns
f2904d1f29 Replace ' with ' in encodeXml(), and remove some empty lines. 2009-10-05 16:38:51 +00:00
hns
5d130c9ecb Minor profiler and logging tweaks 2009-09-29 13:51:26 +00:00
hns
bd1e9dcc25 Add rhino.profile.session property to limit profiling to certain user sessions. If set, the indexOf method of the current session id is called with the property as argument, and the profiler is disabled unless the result is 0.
To only profile sessions from localhost (but beware of local proxies!):

    rhino.profile = true
    rhino.profile.session = 127.0.0.1

To only profile a particular user session:

    rhino.profile = true
    rhino.profile.session = 127.0.0.1n5guagu2sdl2jslf

Note that for the profiler to work you need to start helma with rhino.profile = true since Helma 1 doesn't support mixed compiled/interpreted mode like Helma NG.
2009-09-28 13:54:14 +00:00
hns
6af9357ba1 Improve formatting of compiler output 2009-09-28 13:07:59 +00:00
hns
3cef3759a8 Some obvious profiler fixes 2009-09-28 12:55:24 +00:00
hns
7483b7a8ad Fix some markdown bugs. 2009-09-28 12:21:16 +00:00
hns
0dc5aed374 Backport JS profiler from Helma NG. Use rhino.profile = true to activate. 2009-09-27 18:59:38 +00:00
lehni
410226aa36 Cleaned up imports and removed unused variables. 2009-09-25 10:57:50 +00:00
hns
dc902a967e Replace GPLed Diff with BSD licensed java-diff from incava.org. The class is patched to provide the same interface as the old class, both for backwards compatibility and because it is slightly easier to work with. 2009-09-22 17:23:16 +00:00
hns
fe93d71133 Changed apps.properties documentation link again 2009-09-21 21:24:35 +00:00
hns
e1b9630383 Update link to apps.properties documentation 2009-09-21 21:19:47 +00:00
hns
0f82126115 Patch for bug 677 – Dynamic relations broken after update to trunk 2009-09-21 21:03:27 +00:00
hns
dc4cc8f3e1 Minus debugging output 2009-09-21 12:49:14 +00:00
hns
219a5df9ff Sanitize emphasis 2009-09-21 12:47:51 +00:00
hns
fc689d9a12 Make sure Jetty contexts are properly mapped each time an application is bound or unbound. Remove code for dead responseEncoding property. 2009-09-20 19:43:05 +00:00
hns
b65a8d5c6d Add second optional queryParams argument to HopObject.href(). If this is a JavaScript object, its properties will be encoded to a query string and added to the generated URL. 2009-09-20 07:33:46 +00:00
hns
ec3f04cab3 Rename __fullname__ internal HopObject property to __path__, fill in/trim some comments. 2009-09-18 20:40:36 +00:00
hns
85586a0d0f Some cleanup in getGroupbySubnode() methods, mostly renaming local vars and some added comments 2009-09-18 19:58:10 +00:00
hns
19f8084873 Collateral code cleanup: add some comments, remove superfluous parentheses 2009-09-18 19:36:42 +00:00
hns
82eda00edd Remove some more unnecessary parentheses 2009-09-18 15:01:48 +00:00
hns
7f15b6ab24 Remove RMI socket factory which isn't used anymore 2009-09-18 07:58:27 +00:00
hns
602130c0f7 More link parsing fixes 2009-09-16 13:35:21 +00:00
hns
fee6e34d34 Flip version to 1.7.0 2009-09-16 10:03:51 +00:00
hns
37e375658e Implement single line break by ending a line with two or more spaces, remove unused field definitions. 2009-09-16 09:52:46 +00:00
hns
891308ffae Backport native markdown processor from Helma NG 2009-09-16 09:15:37 +00:00
hns
84d5f87eea Fix access by name for collections with offset 2009-09-15 15:25:08 +00:00
hns
ee203ea4ad Rewrite group-by select statements using select distinct 2009-09-15 11:00:30 +00:00
hns
b637cf7333 Detach counting of subnodes from the size() method to exactly mirror the behaviour of SubnodeList. 2009-09-14 20:04:31 +00:00
hns
ff35a07fa3 Make fields protected for easier subclassing. 2009-09-14 20:02:14 +00:00
hns
64b778f11a Catch exceptions thrown while detaching from parent in Node.remove() 2009-09-14 19:59:33 +00:00
hns
b89989fa20 Fix countNodes() for grouped collections. 2009-09-14 19:56:51 +00:00
hns
67b705117a Make sure group node mappings have their last type change field set. This could lead to content nodes not being fetched. 2009-09-14 19:56:01 +00:00
hns
545a46a0a1 Remove helma.jar in clean task, otherwise debian build script won't work, but remove nesting wildcards 2009-09-11 14:33:00 +00:00
hns
6049832b09 Fix bug with session.login(name, pw) always returning false 2009-09-11 13:14:06 +00:00
hns
473b05c77b Only delete timestamped helma.jar file in clean task 2009-09-11 11:07:24 +00:00
hns
d24fca3a89 Fix clean task to only clean helma*.jar in lib directory. 2009-09-11 10:34:17 +00:00
hns
db9227e95d Remove rmic task, increase version to 1.7.0-rc3 2009-09-10 14:24:58 +00:00
hns
51f31cac8a Fix bug where charset was always added to the Content-Type header even for binary responses. Now charset is only added if it was explicitly set via res.charset, or if the response was actually encoded using the given charset (i.e. writeBinary() wasn't used). Change default charset to UTF-8. 2009-09-10 13:23:38 +00:00
hns
900a251d25 Redesign session management to only register sessions with the session manager that have been changed. 2009-09-09 23:27:04 +00:00
hns
244a7529cb Remove empty javadoc comments and unused code. Decrease create/modifytime by one unit to notice immediate changes. 2009-09-09 23:25:22 +00:00