Commit graph

3148 commits

Author SHA1 Message Date
zumbrunn
460ace26be minor tweaking for docs generation 2007-07-01 15:50:28 +00:00
hns
8579a68675 * Implement thread local connection caching for non-transactor threads.
Fixes problem with connection proliferation with helmaswarm id generator
  (see http://helma.org/bugs/show_bug.cgi?id=527)
2007-06-28 15:42:17 +00:00
hns
701a2671e9 * Use zero length byte array for class comparison, tweak comments. 2007-06-28 13:34:57 +00:00
hns
d7618448fb * Update to todays CVS snapshot branch Rhino1_6R6_BRANCH with
token patch from http://dev.helma.org/wiki/Rhino+Bugs+%26+Patches/
2007-06-28 13:02:54 +00:00
hns
25bfad73c5 * Remove unused obsolete fields.
* Fix cookie domain check against null host string.
2007-06-26 09:11:34 +00:00
michi
917f48ccac bug fix for helma.Html.isSelected; see http://www.nabble.com/helma.Html-bug-tf3842136s2589.html#a10879801 2007-06-22 08:13:23 +00:00
hns
62e678468c * Update to todays CVS snapshot branch Rhino1_6R6_BRANCH with
token patch from http://dev.helma.org/wiki/Rhino+Bugs+%26+Patches/
2007-06-21 09:17:48 +00:00
hns
dd4beb2490 * Reintroduce defineLibraryScope() because it is still used in various places,
but deprecate and drop second argument (boolean initStandardObjects).
2007-06-20 09:13:52 +00:00
hns
7c8404d57d * normalize filename in FileItem constructor. 2007-06-20 08:22:02 +00:00
hns
43ee46e653 * Do not use enum as parameter name as it's a keyword in java 1.5. 2007-06-15 17:57:49 +00:00
hns
524028da3a * Major reshuffling of servlet/request code.
* Implement req.cookies, req.params, req.postParams and req.queryParams collections
* Improve access to parameter values as array: param_array is always available even with just one value
* Implement req.getHeader(name), req.getHeaders(name), req.getIntHeader(name), req.getDateHeader(name)
* Implement res.setHeader(name), res.setDateHeader(name), res.addHeader(name), res.addDateHeader(name)
2007-06-15 10:58:25 +00:00
hns
acb9676f0c * Implement StringUtlils.collect() that converts an Enumeration to a String array. 2007-06-15 10:49:07 +00:00
hns
882dfacb2e * Implement toString() that displays arrays. 2007-06-15 10:46:02 +00:00
hns
82b35af983 * Avoid infinite recursion in makeChildrenPersistable() 2007-06-15 09:54:54 +00:00
hns
c52a29741e * Add new getParentSetting() method that allows to retrieve the
unparsed, verbatim _parent option from the type.properties file.
2007-06-13 12:54:34 +00:00
hns
1f362c1803 * Don't synchronize isRunning() as that can cause deadlocks during shotdown. 2007-06-13 12:45:24 +00:00
hns
bf95a9c036 * Always use stream interface for retrieving BLOB and LONGVARBINARY columns.
* Check for null reader in streamy LONGVARCHAR code.
2007-06-05 18:28:39 +00:00
hns
b783016a6b * Don't make session.getUpload() create a new UploadStatus instance. 2007-06-05 18:27:21 +00:00
michi
2c36528d98 switched from getColumnName to getColumnLabel; as suggested here: http://www.nabble.com/helma.Database---suggested-improvement-t3841979s2589.html 2007-06-05 13:20:28 +00:00
hns
5abdda6177 * add totalUploadLimit apps.properties setting to limit combined file upload size
(as opposed to individual upload size)
2007-06-04 12:02:27 +00:00
hns
380ff54187 * Do not pass file uploads in memory as byte arrays.
* Implement file upload monitoring support.
* Do not swallow exceptions in GET/POST parameter parsing
* Store any bytes remaining after GET/POST parameter parsing
  into req.data.http_get_remainder and http_post_remainder, respectively.
2007-06-04 11:02:40 +00:00
hns
8e82dfe5d9 * Fix license header from Apache 2 to Helma 2 license. 2007-06-04 08:06:30 +00:00
hns
0068de78ec * Add new MimePart.getInputStream() method.
* Add MimePart constructor that takes a jakarta commons-fileupload FileItem
  as argument.
* Make all fields private, add getters and setters for lastModified and eTag.
* Add some javadoc.
2007-06-04 08:06:00 +00:00
hns
19c2858b32 Fix RequestTrans.set() for multiple file upload items with the same name. 2007-06-04 08:03:36 +00:00
hns
22ec17d968 * Update to jakarta commons-logging 1.1 2007-06-04 07:57:15 +00:00
hns
1205242715 * Update to jakarta commons-fileupload 1.2 2007-06-04 07:54:32 +00:00
hns
ba15a17834 * Update to jakarta commons-io 1.3.1 2007-06-04 07:53:54 +00:00
hns
b659294a89 * Add new Image constructor that takes a java.io.InputStream as argument.
* Always use javax.imageio.* to create new images instead of java.awt.Toolkit.
2007-06-01 09:04:17 +00:00
p3k
6f508612c8 Add param object as argument when calling renderSkin in skin_macro 2007-05-31 13:26:15 +00:00
p3k
e15b2bb521 Added positional parameters to some macros 2007-05-30 12:33:51 +00:00
hns
40d0f45ba2 * Fix regression for bug 484 introduced in revision 1.177:
use extension id instead of prototype name for _prototype property in constructor.
2007-05-25 09:46:02 +00:00
hns
297b45439f * Update to new Rhino CVS snapshot from 2007-05-24 with the
patches from http://dev.helma.org/wiki/Rhino+Bugs+%26+Patches/
2007-05-24 14:40:33 +00:00
hns
2ae82c3baf * Unwrap argument in isTypedObject(). Fixes bug 523.
http://helma.org/bugs/show_bug.cgi?id=523
2007-05-24 14:27:17 +00:00
hns
a20913ab7f * Use incremental serial numbers for DbMapping.lastDataChange and
Node.lastSubnode* fields instead of timestamps, because the latter
  may not work consitently. Fixes bug 518
  http://helma.org/bugs/show_bug.cgi?id=518
* Do not fetch named subnodes from relational database. Fixes regression
  described in comment #4 of bug 516
  http://helma.org/bugs/show_bug.cgi?id=516#c4
2007-05-24 14:10:53 +00:00
p3k
b5275719bb Added helma.Ftp.putBytes method for transfer of byte arrays, e.g. an image retrieved from a database. Btw: code is still formatted with indentation of 3 spaces (should be 4 afaik) 2007-05-23 14:34:48 +00:00
hns
13365e16df * Remove obsolete circumvention of TransientNode.getID(). 2007-05-11 13:26:50 +00:00
hns
43f0ea2da1 * Comment out unsetConstraints() invocation in removeNode() to be consistent. 2007-05-11 13:24:03 +00:00
hns
1091d34c77 * Implement bug #516
* Fix bug #515
* Some refactoring in helma.objectmodel.db
2007-05-10 15:13:44 +00:00
hns
c38a093d5c * Add itemPrefix and itemSuffix parameters as suggested by Maksim Lin on helma-user 2007-05-10 13:45:34 +00:00
hns
d8f5446d01 * sourceCharset property patch contributed by kunitoki at gmail on helma-user 2007-05-10 09:31:19 +00:00
grob
cd05f1679b * fixed a bug in Index.create() to correctly work for both disk- and ram-indexes
* added missing argument documentation
* fixed typo in Index.addDocuments()
2007-05-07 14:58:52 +00:00
grob
84e03145e5 fixed a problem in smtp port assignment as reported by stefan rinner (http://grazia.helma.at/pipermail/helma-dev/2007-May/003580.html) 2007-05-04 06:57:59 +00:00
hns
972bb8f232 * Fix indentation in Transactor.kill() 2007-05-03 14:52:14 +00:00
hns
657b86dee5 * Catch Linkage- and VirtualMachineErrors in scheduler loops in order to
keep on trucking in the face of OutOfMemoryErrors and the like.
* Sleep first, then do the work in scheduler loop.
2007-05-03 14:51:37 +00:00
hns
72db2bf08e * Use Application.logError() instead of System.err.println(). 2007-05-03 14:21:16 +00:00
p3k
39837792c3 Added String.EMPTY and String.SPACE constants 2007-05-03 14:13:29 +00:00
michi
0aa1a868d1 fixed bug 510:
helma.Http did not handle character encoding correctly
2007-05-03 11:09:05 +00:00
hns
083422891f * Remove macro processing stuff. 2007-05-02 13:48:23 +00:00
hns
b097d65d52 * Mark path.contains() and HopObject.contains() as deprecated,
and replace them with indexOf() methods.
2007-05-02 13:44:44 +00:00
hns
1dcdb8e452 * Remove processed parameter feature ($(...), $[...]), as it is largely redundant.
* Fix bug reported by Tobi on helma-user where nested macros in default, prefix or suffix
  returned something else than a string.
2007-04-26 09:26:30 +00:00