3548d309c1
Oops, if the name endsWith("s") we add an "e", not the other way around...
2007-04-23 15:03:47 +00:00
dd72bd4804
Great, we already have helma.String included so let's use them methods!
2007-04-23 15:00:56 +00:00
82df79e01d
Added forEach() and size_macro() methods
2007-04-23 14:59:34 +00:00
grob
52b3dca226
changed helma.Http to correctly handle multiple cookies received from the remote server (fixes http://helma.org/bugs/show_bug.cgi?id=509 ).
2007-04-23 12:10:07 +00:00
hns
79970a0b77
* Check if prototype column is mapped to a HopObject property in
...
constructor. If so, set the property to the prototype name.
2007-04-20 13:44:39 +00:00
hns
cb03565e33
* Set parent scope to shared global for static HopObject functions.
...
Fixes http://helma.org/bugs/show_bug.cgi?id=507
2007-04-17 21:38:20 +00:00
hns
fdce5dc09e
* Be case insensitive when comparing database columns.
2007-04-17 21:37:06 +00:00
hns
6a19c73e27
* Support standard parameters such as prefix, suffix, default for nested parameters
...
(but only convert result to string if actually required)
2007-04-17 14:45:25 +00:00
hns
72feb3356a
* Add new Filters.js module contributed by Michael Platzer
...
* Add Filters.js and JSON.js to all.js
2007-04-17 13:43:59 +00:00
hns
e18c085317
* Remove global defineLibraryScope() function.
2007-04-17 12:35:30 +00:00
hns
401d14d9eb
* Make sure macro output is converted to return value for nested macros.
2007-04-06 19:13:45 +00:00
ab188b2a70
Renamed helma.Group.Wrapper to helma.Group.GroupObject
2007-04-05 15:53:09 +00:00
2d278e8272
Initial commit of helma.Group to where it belongs IMHO (helma.Group is the JavaScript wrapper for the HelmaGroup extension which currently still resides in helmagroups/apps/groupdemo/Global/GroupExtension.js)
...
Although the global variable "groups" still contains the manager object to handle all group objects, the inner structure was streamlined to conform with Helma's library structure (helma namespace) and to generally prevent namespace cluttering.
2007-04-05 15:33:58 +00:00
hns
6deb0a2a9a
* Fix little bug in resolvePath().
2007-04-05 07:21:57 +00:00
hns
f0bb5c322d
* use new helma.gif as jsdoc logo, helma2.gif does not work because of some jsdoc bug.
2007-04-04 23:56:48 +00:00
hns
49ba6fb0bb
* Update helma logo.
2007-04-04 23:55:45 +00:00
hns
0d0171f07d
* Add clean target and remove double invocation of package-modules target
2007-04-04 23:39:39 +00:00
hns
e2dad09d4c
* Update to today's CVS snapshot, including support for const keyword
...
and get/set in object initializers.
2007-04-04 22:55:25 +00:00
hns
b401e17301
* Implement more lenient macro tag sniffing.
...
* Change accessibility of Macro methods to default.
* Change unhandled macro handler name to onUnhandledMacro()
as suggested by Tobi on helma-dev
2007-04-04 21:55:33 +00:00
hns
170af5b845
* Implement lenient macro parse mode if something smells fishy.
...
* Allow empty skin to override.
2007-04-04 20:49:54 +00:00
hns
7161df38b2
* Check out helma_1_6 branch for helmaTools (contains fixes and enhancements)
2007-04-04 15:14:31 +00:00
hns
4b79e98a8b
* Implement HopObject.onPersist() callback contributed by
...
Kris Leite on helma-user.
2007-04-04 12:50:01 +00:00
hns
7ef2a3fcd0
* Remove obsolete code.
2007-04-04 12:47:38 +00:00
hns
0559d2d53e
Implement new skin features:
...
* Set namespace for global macros using app.globalMacroPath
* Implement macro parameter processing using
app.processMacroParameter() callback and $(...) parameter syntax
* Implement unhandled macro handling using unhandledMacro() callback
* Implement deep macro lookup using getMacroHandler() callback, and
drop allowDeepMacros app property
* Allow access to HopObject properties that aren't defined in type.properties
2007-04-04 12:46:14 +00:00
hns
7f58c102bf
* Implement app.invokeAsync() using public FutureResult interface.
2007-04-02 15:51:02 +00:00
hns
a0ea3b31de
* Switch back to old semantics of res.abort() to abort the transaction and stop execution.
...
* Introduce new res.rollback() method that just aborts the db transaction, but keeps executing.
* Add zero argument res.pushBuffer() for convenience.
2007-04-02 15:45:31 +00:00
hns
a88aebf2fb
* Simplify argument passing in Skin by introducing RenderContext class
...
which is basically an argument holder.
2007-04-02 15:41:20 +00:00
hns
ab4ea1e144
* Simplify function handling a bit, plus minor cleanup
2007-04-02 15:29:19 +00:00
hns
aa648dd876
* Add some sanity checks to improve error messages.
2007-03-30 15:28:38 +00:00
hns
4781c7a8ff
* Avoid double stack trace printing in execute()
2007-03-30 10:54:34 +00:00
hns
2b5d5c089b
* Rename asJavaObject() to toJava().
2007-03-30 09:30:59 +00:00
hns
dbcb600857
* Make sure Request and Session are created with a funciton name placeholder
...
even if invokeInternal() is called with a function object. Some cleaning up,
do not declare recycle() as public.
2007-03-29 15:39:26 +00:00
hns
72487ca844
* Add argument checking to RhinoEngine.invoke().
2007-03-29 15:35:16 +00:00
hns
804b6b0075
* Enhance app.invokeAsync(): return handle provides methods
...
waitForResult() and waitForResult(millis) that block until the
function terminates.
2007-03-29 09:31:24 +00:00
hns
83add89edb
* Update with patches from http://dev.helma.org/wiki/Rhino+Bugs+%26+Patches/
...
including patch to allow access to public java methods in non-public classes.
2007-03-29 09:26:23 +00:00
hns
c836b73bf2
* Handle max-thread-count exception in invokeAsynx().
2007-03-28 21:07:55 +00:00
hns
ecfa47bdc7
* invokeAsync(): put running->true in original thread to avoid trap.
2007-03-28 20:54:43 +00:00
hns
80740b46a4
* Don't forget to release the RequestEvaluator after all is done.
2007-03-28 20:51:22 +00:00
hns
86aedcff1e
* Implement app.invoke() and app.invokeAsync().
2007-03-28 20:18:01 +00:00
hns
ad2b66c246
* Do not enable usage of Thread.stop() for request timeouts by default.
2007-03-28 20:06:04 +00:00
hns
6514226078
* Improve error message on invalid _prototype value as suggested
...
by Juerg Lehni on helma-user
2007-03-28 18:53:14 +00:00
hns
b67a171983
* Implementing global asJavaObject() function.
2007-03-28 14:44:55 +00:00
hns
05a978e901
* Extend ScriptingEngine.invoke() to directly accept JavaScript function objects.
...
* Make RequestEvaluator.invokeInternal() and RequestEvaluator.invokeDirectFunction()
accept Javascript function objects as arguments.
2007-03-28 14:32:46 +00:00
hns
900d16654a
* Fix bug where post parameters weren't parsed with prototype.js Ajax requests
...
because of charset subheader appended to ContentType
* Use Servlet.log() instead of System.err.println() and pass exception as second argument.
2007-03-28 14:21:17 +00:00
hns
21dfa78b0b
* Stop server when shutting down.
2007-03-28 13:49:43 +00:00
hns
b4276f683b
* Log Jetty messages to Helma logger.
2007-03-28 13:40:09 +00:00
hns
b2a6acdf97
* Minor formatting bug: missing dot in onStop() error output.
2007-03-28 13:10:04 +00:00
hns
4575142c60
* Update to new Rhino CVS snapshot with the patches from
...
http://dev.helma.org/wiki/Rhino+Bugs+%26+Patches/
including fixes for rhino bugs 359358 and 359359
2007-03-28 11:48:03 +00:00
hns
bb03265ec0
* Compiled Jetty 4.2.27 with the following patch for AJP13 request paths:
...
diff -Nur jetty-4.2.27/src/org/mortbay/http/ajp/AJP13Connection.java jetty-4.2.27-patched/src/org/mortbay/http/ajp/AJP13Connection.java
--- jetty-4.2.27/src/org/mortbay/http/ajp/AJP13Connection.java 2006-11-23 11:44:50.000000000 +0100
+++ jetty-4.2.27-patched/src/org/mortbay/http/ajp/AJP13Connection.java 2007-03-28 13:34:52.000000000 +0200
@@ -194,12 +194,9 @@
Code.warning(packet.toString());
}
- String path=packet.getString();
- int sc=path.lastIndexOf(";");
- if (sc<0)
- request.setPath(URI.encodePath(path));
- else
- request.setPath(URI.encodePath(path.substring(0,sc))+path.substring(sc));
+ // fix request path encoding issue, see
+ // http://grazia.helma.at/pipermail/helma-user/2007-March/006911.html
+ request.setPath(packet.getString());
_remoteAddr=packet.getString();
_remoteHost=packet.getString();
2007-03-28 11:45:41 +00:00
hns
11022c42b6
* Forward put()s from the thread scope to the shared scope during
...
repository injection. Fixes bug 504.
2007-03-27 19:51:43 +00:00