Commit graph

2583 commits

Author SHA1 Message Date
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
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
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
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
d8f5446d01 * sourceCharset property patch contributed by kunitoki at gmail on helma-user 2007-05-10 09:31:19 +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
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
hns
20ff053619 * Implement automatic parsing of foo[bar][baz] parameter names to objects. 2007-04-24 14:38:11 +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
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
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