Commit graph

  • a5b8ce588e test commit, pls. ignore grob 2007-09-11 10:22:11 +00:00
  • bc3130dd64 test commit, pls. ignore grob 2007-09-11 10:21:26 +00:00
  • fca989d668 * updated lucene jar files to version 2.2.0 * changed Document.addField(): instead of defining field options as booleans (still supported for backwards compatibility), they can now contain a string defining the storage, indexing and term vector options for this field. this way all options supported by lucene can be used. see apidoc for accepted values. in addition addField() now accepts an instance of helma.Search.Document.Field as single argument too. * added Document.Field() constructor wrapping a lucene document field instance. The constructor can be called with the same options as Document.addField() * Document.getField() now returns an instance of helma.Search.Document.Field instead of a plain JS object. For backwards compatibility name and value can still be accessed as properties, but to get detailed information about the field the appropriate methods needs to be called (eg. isTokenized(), isStored()) * removed Index.getModifier() as all but one method of IndexModifier is now available in IndexWriter too * removed private getWriterModifier() method as waiting for index unlock is now done by Lucene itself (defaults to 1 second) * getWriter() now supports a second argument enabling or disabling auto commit (defaults to false) * changed default boolean clause in BooleanQuery.addTerm() and BooleanQuery.addQuery() from "and" (MUST) to SHOULD * removed Document.getDateField(): the value of a field converted into a date is now accessible via the "dateValue" property of the field * added Document.removeField(name) grob 2007-09-06 11:46:48 +00:00
  • c6d5098e8c Fixed bug that prevented correct error handling p3k 2007-08-30 12:40:25 +00:00
  • 2af69af96f Added support for content length and HTTP error messages p3k 2007-08-30 12:38:33 +00:00
  • c6aa2b46b7 * Update to Rhino 1.6R7 with Token patch from http://dev.helma.org/wiki/Rhino+Bugs+%26+Patches/ hns 2007-08-30 10:06:28 +00:00
  • 437d603faf changed docs for file.list methods, attempting to work around a JSDoc rendering problem zumbrunn 2007-07-31 21:24:08 +00:00
  • 54d348d904 fixed docs for File.prototype.renameTo and helma.File.renameTo to show that the expected argument is of type FileObject, not String zumbrunn 2007-07-31 19:50:05 +00:00
  • 62e88d817a added reference to docs for supported date format pattern zumbrunn 2007-07-30 20:03:58 +00:00
  • fb20983640 * Make sure jsdocs target is executed before package-raw. helma_1_6_0 hns 2007-07-18 23:12:40 +00:00
  • de0c08ce5a * Be more careful about setting parent scope on functions (which may be nested). Fixes bug 531 reported by juerg lehni on helma-dev. http://helma.org/bugs/show_bug.cgi?id=531 hns 2007-07-18 22:54:36 +00:00
  • 00fa917e42 * Patch for bug 521 submitted by Andreas Unterluggauer. http://helma.org/bugs/show_bug.cgi?id=521 hns 2007-07-18 12:05:12 +00:00
  • 95530f2f0f fixed bug 525: it is now possible.. * to specify a maximum response size * to define a custom response handler (e.g. for directly writing the response to the disk) * to specify credentials directly in the URL michi 2007-07-17 16:12:09 +00:00
  • f3ddd892de * Handle java.sql.Types.BOOLEAN. Fixes bug 529, hns 2007-07-16 08:13:30 +00:00
  • fb3029ed25 * Handle java.sql.Types.BOOLEAN. Fixes bug 529, patch submitted by Maksim Lin hns 2007-07-16 08:07:28 +00:00
  • a5e5a0915e * Allow float to boolean conversion. hns 2007-07-16 08:03:03 +00:00
  • 4bf021d45b * Be more careful about throwing exception in RequestTrans.set(). * Remove spurious System.err.println(). hns 2007-07-05 16:32:06 +00:00
  • 460ace26be minor tweaking for docs generation zumbrunn 2007-07-01 15:50:28 +00:00
  • 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) hns 2007-06-28 15:42:17 +00:00
  • 701a2671e9 * Use zero length byte array for class comparison, tweak comments. hns 2007-06-28 13:34:57 +00:00
  • d7618448fb * Update to todays CVS snapshot branch Rhino1_6R6_BRANCH with token patch from http://dev.helma.org/wiki/Rhino+Bugs+%26+Patches/ hns 2007-06-28 13:02:54 +00:00
  • 25bfad73c5 * Remove unused obsolete fields. * Fix cookie domain check against null host string. hns 2007-06-26 09:11:34 +00:00
  • 917f48ccac bug fix for helma.Html.isSelected; see http://www.nabble.com/helma.Html-bug-tf3842136s2589.html#a10879801 michi 2007-06-22 08:13:23 +00:00
  • 62e678468c * Update to todays CVS snapshot branch Rhino1_6R6_BRANCH with token patch from http://dev.helma.org/wiki/Rhino+Bugs+%26+Patches/ hns 2007-06-21 09:17:48 +00:00
  • dd4beb2490 * Reintroduce defineLibraryScope() because it is still used in various places, but deprecate and drop second argument (boolean initStandardObjects). hns 2007-06-20 09:13:52 +00:00
  • 7c8404d57d * normalize filename in FileItem constructor. hns 2007-06-20 08:22:02 +00:00
  • 43ee46e653 * Do not use enum as parameter name as it's a keyword in java 1.5. hns 2007-06-15 17:57:49 +00:00
  • 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) hns 2007-06-15 10:58:25 +00:00
  • acb9676f0c * Implement StringUtlils.collect() that converts an Enumeration to a String array. hns 2007-06-15 10:49:07 +00:00
  • 882dfacb2e * Implement toString() that displays arrays. hns 2007-06-15 10:46:02 +00:00
  • 82b35af983 * Avoid infinite recursion in makeChildrenPersistable() hns 2007-06-15 09:54:54 +00:00
  • c52a29741e * Add new getParentSetting() method that allows to retrieve the unparsed, verbatim _parent option from the type.properties file. hns 2007-06-13 12:54:34 +00:00
  • 1f362c1803 * Don't synchronize isRunning() as that can cause deadlocks during shotdown. hns 2007-06-13 12:45:24 +00:00
  • bf95a9c036 * Always use stream interface for retrieving BLOB and LONGVARBINARY columns. * Check for null reader in streamy LONGVARCHAR code. hns 2007-06-05 18:28:39 +00:00
  • b783016a6b * Don't make session.getUpload() create a new UploadStatus instance. hns 2007-06-05 18:27:21 +00:00
  • 2c36528d98 switched from getColumnName to getColumnLabel; as suggested here: http://www.nabble.com/helma.Database---suggested-improvement-t3841979s2589.html michi 2007-06-05 13:20:28 +00:00
  • 5abdda6177 * add totalUploadLimit apps.properties setting to limit combined file upload size (as opposed to individual upload size) hns 2007-06-04 12:02:27 +00:00
  • 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. hns 2007-06-04 11:02:40 +00:00
  • 8e82dfe5d9 * Fix license header from Apache 2 to Helma 2 license. hns 2007-06-04 08:06:30 +00:00
  • 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. hns 2007-06-04 08:06:00 +00:00
  • 19c2858b32 Fix RequestTrans.set() for multiple file upload items with the same name. hns 2007-06-04 08:03:36 +00:00
  • 22ec17d968 * Update to jakarta commons-logging 1.1 hns 2007-06-04 07:57:15 +00:00
  • 1205242715 * Update to jakarta commons-fileupload 1.2 hns 2007-06-04 07:54:32 +00:00
  • ba15a17834 * Update to jakarta commons-io 1.3.1 hns 2007-06-04 07:53:54 +00:00
  • 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. hns 2007-06-01 09:04:17 +00:00
  • 6f508612c8 Add param object as argument when calling renderSkin in skin_macro p3k 2007-05-31 13:26:15 +00:00
  • e15b2bb521 Added positional parameters to some macros p3k 2007-05-30 12:33:51 +00:00
  • 40d0f45ba2 * Fix regression for bug 484 introduced in revision 1.177: use extension id instead of prototype name for _prototype property in constructor. hns 2007-05-25 09:46:02 +00:00
  • 297b45439f * Update to new Rhino CVS snapshot from 2007-05-24 with the patches from http://dev.helma.org/wiki/Rhino+Bugs+%26+Patches/ hns 2007-05-24 14:40:33 +00:00
  • 2ae82c3baf * Unwrap argument in isTypedObject(). Fixes bug 523. http://helma.org/bugs/show_bug.cgi?id=523 hns 2007-05-24 14:27:17 +00:00
  • 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 hns 2007-05-24 14:10:53 +00:00
  • 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) p3k 2007-05-23 14:34:48 +00:00
  • 13365e16df * Remove obsolete circumvention of TransientNode.getID(). hns 2007-05-11 13:26:50 +00:00
  • 43f0ea2da1 * Comment out unsetConstraints() invocation in removeNode() to be consistent. hns 2007-05-11 13:24:03 +00:00
  • 1091d34c77 * Implement bug #516 * Fix bug #515 * Some refactoring in helma.objectmodel.db hns 2007-05-10 15:13:44 +00:00
  • c38a093d5c * Add itemPrefix and itemSuffix parameters as suggested by Maksim Lin on helma-user hns 2007-05-10 13:45:34 +00:00
  • d8f5446d01 * sourceCharset property patch contributed by kunitoki at gmail on helma-user hns 2007-05-10 09:31:19 +00:00
  • 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() grob 2007-05-07 14:58:52 +00:00
  • 84e03145e5 fixed a problem in smtp port assignment as reported by stefan rinner (http://grazia.helma.at/pipermail/helma-dev/2007-May/003580.html) grob 2007-05-04 06:57:59 +00:00
  • 972bb8f232 * Fix indentation in Transactor.kill() hns 2007-05-03 14:52:14 +00:00
  • 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. hns 2007-05-03 14:51:37 +00:00
  • 72db2bf08e * Use Application.logError() instead of System.err.println(). hns 2007-05-03 14:21:16 +00:00
  • 39837792c3 Added String.EMPTY and String.SPACE constants p3k 2007-05-03 14:13:29 +00:00
  • 0aa1a868d1 fixed bug 510: helma.Http did not handle character encoding correctly michi 2007-05-03 11:09:05 +00:00
  • 083422891f * Remove macro processing stuff. hns 2007-05-02 13:48:23 +00:00
  • b097d65d52 * Mark path.contains() and HopObject.contains() as deprecated, and replace them with indexOf() methods. hns 2007-05-02 13:44:44 +00:00
  • 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. hns 2007-04-26 09:26:30 +00:00
  • 20ff053619 * Implement automatic parsing of foo[bar][baz] parameter names to objects. hns 2007-04-24 14:38:11 +00:00
  • 3548d309c1 Oops, if the name endsWith("s") we add an "e", not the other way around... p3k 2007-04-23 15:03:47 +00:00
  • dd72bd4804 Great, we already have helma.String included so let's use them methods! p3k 2007-04-23 15:00:56 +00:00
  • 82df79e01d Added forEach() and size_macro() methods p3k 2007-04-23 14:59:34 +00:00
  • 52b3dca226 changed helma.Http to correctly handle multiple cookies received from the remote server (fixes http://helma.org/bugs/show_bug.cgi?id=509). grob 2007-04-23 12:10:07 +00:00
  • 79970a0b77 * Check if prototype column is mapped to a HopObject property in constructor. If so, set the property to the prototype name. hns 2007-04-20 13:44:39 +00:00
  • cb03565e33 * Set parent scope to shared global for static HopObject functions. Fixes http://helma.org/bugs/show_bug.cgi?id=507 hns 2007-04-17 21:38:20 +00:00
  • fdce5dc09e * Be case insensitive when comparing database columns. hns 2007-04-17 21:37:06 +00:00
  • 6a19c73e27 * Support standard parameters such as prefix, suffix, default for nested parameters (but only convert result to string if actually required) hns 2007-04-17 14:45:25 +00:00
  • 72feb3356a * Add new Filters.js module contributed by Michael Platzer * Add Filters.js and JSON.js to all.js hns 2007-04-17 13:43:59 +00:00
  • e18c085317 * Remove global defineLibraryScope() function. hns 2007-04-17 12:35:30 +00:00
  • 401d14d9eb * Make sure macro output is converted to return value for nested macros. hns 2007-04-06 19:13:45 +00:00
  • ab188b2a70 Renamed helma.Group.Wrapper to helma.Group.GroupObject p3k 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) p3k 2007-04-05 15:33:58 +00:00
  • 6deb0a2a9a * Fix little bug in resolvePath(). hns 2007-04-05 07:21:57 +00:00
  • f0bb5c322d * use new helma.gif as jsdoc logo, helma2.gif does not work because of some jsdoc bug. hns 2007-04-04 23:56:48 +00:00
  • 49ba6fb0bb * Update helma logo. hns 2007-04-04 23:55:45 +00:00
  • 0d0171f07d * Add clean target and remove double invocation of package-modules target hns 2007-04-04 23:39:39 +00:00
  • e2dad09d4c * Update to today's CVS snapshot, including support for const keyword and get/set in object initializers. hns 2007-04-04 22:55:25 +00:00
  • 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 hns 2007-04-04 21:55:33 +00:00
  • 170af5b845 * Implement lenient macro parse mode if something smells fishy. * Allow empty skin to override. hns 2007-04-04 20:49:54 +00:00
  • 7161df38b2 * Check out helma_1_6 branch for helmaTools (contains fixes and enhancements) hns 2007-04-04 15:14:31 +00:00
  • 4b79e98a8b * Implement HopObject.onPersist() callback contributed by Kris Leite on helma-user. hns 2007-04-04 12:50:01 +00:00
  • 7ef2a3fcd0 * Remove obsolete code. hns 2007-04-04 12:47:38 +00:00
  • 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 hns 2007-04-04 12:46:14 +00:00
  • 7f58c102bf * Implement app.invokeAsync() using public FutureResult interface. hns 2007-04-02 15:51:02 +00:00
  • 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. hns 2007-04-02 15:45:31 +00:00
  • a88aebf2fb * Simplify argument passing in Skin by introducing RenderContext class which is basically an argument holder. hns 2007-04-02 15:41:20 +00:00
  • ab4ea1e144 * Simplify function handling a bit, plus minor cleanup hns 2007-04-02 15:29:19 +00:00
  • aa648dd876 * Add some sanity checks to improve error messages. hns 2007-03-30 15:28:38 +00:00
  • 4781c7a8ff * Avoid double stack trace printing in execute() hns 2007-03-30 10:54:34 +00:00
  • 2b5d5c089b * Rename asJavaObject() to toJava(). hns 2007-03-30 09:30:59 +00:00
  • 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. hns 2007-03-29 15:39:26 +00:00