Commit graph

90 commits

Author SHA1 Message Date
grob
797a719f15 * fixed bug 539
* added private getter for internal buffer and mime multipart object to ease testing
2007-09-20 11:14:10 +00:00
grob
a15d836297 test-commit, please ignore 2007-09-17 10:41:06 +00:00
grob
880a312656 test-commit, please ignore 2007-09-17 10:40:12 +00:00
grob
a5b8ce588e test commit, pls. ignore 2007-09-11 10:22:11 +00:00
grob
bc3130dd64 test commit, pls. ignore 2007-09-11 10:21:26 +00:00
grob
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)
2007-09-06 11:46:48 +00:00
p3k
c6d5098e8c Fixed bug that prevented correct error handling 2007-08-30 12:40:25 +00:00
p3k
2af69af96f Added support for content length and HTTP error messages 2007-08-30 12:38:33 +00:00
zumbrunn
437d603faf changed docs for file.list methods, attempting to work around a JSDoc rendering problem 2007-07-31 21:24:08 +00:00
zumbrunn
54d348d904 fixed docs for File.prototype.renameTo and helma.File.renameTo to show that the expected argument is of type FileObject, not String 2007-07-31 19:50:05 +00:00
zumbrunn
62e88d817a added reference to docs for supported date format pattern 2007-07-30 20:03:58 +00:00
hns
00fa917e42 * Patch for bug 521 submitted by Andreas Unterluggauer.
http://helma.org/bugs/show_bug.cgi?id=521
2007-07-18 12:05:12 +00:00
michi
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

additionallz the returned result-object now contains a map with all header-fields.
2007-07-17 16:12:09 +00:00
hns
f3ddd892de * Handle java.sql.Types.BOOLEAN. Fixes bug 529, 2007-07-16 08:13:30 +00:00
zumbrunn
460ace26be minor tweaking for docs generation 2007-07-01 15:50:28 +00:00
hns
701a2671e9 * Use zero length byte array for class comparison, tweak comments. 2007-06-28 13:34:57 +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
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
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
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
c38a093d5c * Add itemPrefix and itemSuffix parameters as suggested by Maksim Lin on helma-user 2007-05-10 13:45:34 +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
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
p3k
3548d309c1 Oops, if the name endsWith("s") we add an "e", not the other way around... 2007-04-23 15:03:47 +00:00
p3k
dd72bd4804 Great, we already have helma.String included so let's use them methods! 2007-04-23 15:00:56 +00:00
p3k
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
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
p3k
ab188b2a70 Renamed helma.Group.Wrapper to helma.Group.GroupObject 2007-04-05 15:53:09 +00:00
p3k
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
p3k
4b3b53775d * Applied Robert's and my own patch according to http://grazia.helma.at/pipermail/helma-user/2007-February/006851.html and http://grazia.helma.at/pipermail/helma-dev/2007-March/003333.html
* Added support for setting smtp.dir to desired message directory (as fallback if sending should fail) in app.properties
2007-03-15 09:54:56 +00:00
zumbrunn
6ec1380e56 changed docs for readAll in File and helma.File to reflect that it seems to be intended to return a String, not an Array 2007-03-14 10:11:24 +00:00
hns
3016b4e32e * Add summary.txt for use with jsdoc --project-summary option. 2007-03-07 15:16:48 +00:00
zumbrunn
3b4a8e8a45 added @type tag for renderAsString method 2007-02-24 13:27:15 +00:00
zumbrunn
5b2d866d6b added minimum docs just so jsdoc at least includes the references to helma.Url 2007-02-24 08:31:36 +00:00
grob
0c3af1fc19 reverted change in 1.5: the param object passed might not be a javascript object, but a wrapped map, therefor can't use clone(). instead call Object.prototype.reduce to convert the object into a js object. 2007-02-22 18:08:41 +00:00
grob
afec346b39 fixed a bug in various methods: clone is a method of the Object prototype, not a static one. 2007-02-22 14:48:34 +00:00
zumbrunn
c33c43f93c added constructor tag in order to please jsdoc 2007-02-19 10:54:27 +00:00
hns
486e9a5836 * Add @fileoverview JSDoc comment
* Move static methods down to the bottom of the file to circumvent
  a strange bug that prevents documentation from being generated.
2007-02-09 11:00:07 +00:00
hns
da7bdcfba0 * Add @fileoverview JSDoc comment
* Move static methods down to the bottom of the file to circumvent
  a strange bug that prevents documentation from being generated.
* Some JSDoc comment fixes
2007-02-09 10:04:48 +00:00
hns
fc7f7bab1a Oops, gotta love these late binding languages 2007-02-08 21:01:56 +00:00
hns
d718e290ac * Add Jsdoc comments.
* Major overhaul of helma.Database.
2007-02-08 15:33:08 +00:00
grob
1cd44d18a3 * added jsdoc compatible inline documentation
* fixed constructor of helma.Color to behave as expected when passing a color name or decimal value
2007-02-08 13:14:32 +00:00
hns
2e2603c4e0 * Support helma.File and use it by default. Should fix bug #493
http://helma.org/bugs/show_bug.cgi?id=493
2007-02-08 09:12:21 +00:00
zumbrunn
29961b8006 Added jsdoc comment based documentation 2007-02-08 00:41:30 +00:00
zumbrunn
134d1483da Added jsdoc comment based documentation 2007-02-07 23:37:23 +00:00
grob
ab280132bd re-added method length and marked it as deprecated (this method disappeared during documentation work) 2007-02-07 18:11:01 +00:00