Commit graph

65 commits

Author SHA1 Message Date
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
grob
449a1a727a removed stale doc header 2007-02-07 17:04:51 +00:00
hns
b0bbada2a5 * Fix handling of helma.util.MimePart (NOT javax.mail.MimePart)
* Use and support helma.File as Mime part input source
* Remove code examples to make jsdoc actually render the comments
* Implement get/setMimepartType() methods
2007-02-07 14:55:03 +00:00
zumbrunn
3f7126bfa2 Added jsdoc comment based documentation 2007-02-07 11:51:47 +00:00
zumbrunn
00ea378a37 Added jsdoc comment based documentation 2007-02-07 10:29:20 +00:00
zumbrunn
a7cac41923 Added jsdoc comment based documentation 2007-02-07 10:27:37 +00:00
grob
383c7b0e9c * added JsDoc compatible inline documentation
* removed helma.Skin.BASE64 constant as this doesn't seem to be used anywhere (at least not in helma.Skin)
2007-01-30 17:53:00 +00:00
grob
6315f6c10f added author tag to class header 2007-01-30 17:32:17 +00:00
grob
9a4401d6c4 * added JsDoc compatible inline documentation 2007-01-30 17:31:52 +00:00
grob
14ee73a230 * added JsDoc compatible inline documentation
* added missing toString methods
* minor code beautification
2007-01-30 17:31:13 +00:00
grob
dcc0accdb3 changed inline documentation for JsDoc compatibility 2007-01-30 14:56:51 +00:00
grob
b11fce933f * added basic cookie support:
- any cookie received from the remote server will now be part of the result object returned by getUrl()
- added methods setCookie(), getCookie() and getCookies() for adding and retrieving cookies
* added JsDoc compatible inline documentation (due to a bug in JsDoc the static methods setProxy and getProxy don't show up in the generated docs)
* switched to using app.logger for log output
2007-01-30 14:55:39 +00:00
grob
585666e577 * restructured library mainly because JsDoc couldn't handle it, but also for better readability
* renderMarkupPart and isSelected are no longer private methods, but static ones, so that the methods calling them can be defined as prototype properties
* adapted helma.Html.TableWriter to the new structure (had to use method.call() since there is no default instance of helma.Html
* added JsDoc compatible inline documentation
2007-01-30 14:49:57 +00:00
grob
748779d346 added localisation support to format() and toPercent(). both now accept an optional java.util.Locale instance as last argument 2006-12-14 17:28:43 +00:00
hns
fb77729856 * Allow to directly pass a javax.mail.BodyPart to addPart(). 2006-11-27 12:47:04 +00:00
hns
9a98f81710 * Wrap example code in Html [pre] tag. 2006-11-27 12:32:36 +00:00
hns
602f420f18 * Implement get/setBinaryMode(boolean) to allow delivery of the
response body as byte array instead of as string.
* Use OutputStreamWriter instead of DataOutputStream for writing
  the request body.
2006-11-21 10:42:25 +00:00
grob
e36bbce6d3 changed Html.dropDown(): allow property "class" for specifying css class names if the option parameters are specified as object (using "value" and "display" properties) 2006-11-13 16:59:44 +00:00
grob
fe74d6e0ad * changed signature of addDocuments() - it's now possible to specify an optional mergeFactor
* bugfix in getField(): don't try to convert the string value into a date, since this possibly does the conversion even if it's not intended (it can happen that an id is converted into a date). therefor re-introduced the method getDateField()
2006-11-13 16:56:45 +00:00
grob
78eabaa7cb fixed bug in addField() that made it impossible to disable store, index and tokenize options for a field. 2006-10-23 18:56:36 +00:00
grob
bb0aebb02f updated lucene from 1.4.3 to 1.9.1 2006-09-29 13:51:37 +00:00
grob
5496bcfb04 * this library now expects Lucene version 1.9.1 (due to API changes in Lucene it currently doesn't work with version 2.0)
* added (most of) missing analyzers in Search.getAnalyzer()
* createIndex doesn't support a third argument for force-create an index anymore. to clear an index use its create() method instead
* Index now uses an IndexModifier instead of an IndexWriter in most cases
* to create a new Searcher instance now call index.getSearcher() or pass the index to search in as argument to the Searcher constructor
* checkWriteLock() is gone, instead getWriter() and getModifier() try for 2 seconds to return a writer/modifier. this should avoid concurrency problems
* Index.addIndexes() now takes a number of index directory arguments
* Index.create() now deletes all files in the directory (before it didn't)
* added checks for existing writer/modifier/reader before calling close()
* Index.getFieldNames() now returns a javascript array instead of a java object one
* Index.isLocked() doesn't create a reader anymore (before it did, but didn't use it)
* removed Index.getTerms() - if someone is missing that, shout
* Index.addDocument() now expects a single Document instance, for batch adding use the new method addDocuments()
* same with Index.removeDocument()
* added new method Index.updateDocument() that does removal and adding in one step (so the index is locked just once instead of two times)
* the wrapped lucene Query instance is now a public field - this saves from duplicating the getter method in every extending prototype
* Document.addField() now uses new DateTools class instead of the deprecated DateField utility methods
* removed Document.getDateField() since Document.getField() now handles dates as well
* added JSDoc compatible documentation
2006-09-29 13:49:40 +00:00
stefanp
e6d7fe7520 workaround for http://helma.org/bugs/show_bug.cgi?id=474 went into the wrong repository: changed the way the number of days is calculated. 2006-08-21 15:57:05 +00:00
p3k
7860cbdde2 * added String.NULL as constant containing the empty string ""
* added global- and HopObject-related macros to core
2006-08-06 11:27:56 +00:00
hns
50d4eb0d93 * Immediately convert java.io.File instance to absolute path names to
avoid the many pitfalls and gotchas of relative file names.
2006-07-25 20:07:59 +00:00
hns
bd8b266fa9 * Pass on return values from FTPClient class. Fixes bug 469. 2006-07-25 13:01:02 +00:00