Designed for use with Ant.
2005-01-14 13:10 tobi |
added clipping of urls longer than 50 characters in String.prototype.activateURLs method |
2005-01-14 12:27 tobi |
using "old" function definition syntax as a quick fix for some issue in kurt i still have to work out |
2005-01-14 12:25 tobi |
revamped HopObject's loop_macro using global Sorters object (should be backwards-compatible, though) |
2005-01-14 12:20 tobi |
added Array.union() and Array.intersection() methods |
2004-10-22 16:19 tobi |
* improved embody as well as group methods to really watch out for whitespace (not for blanks only) * added default values for limit and interval variables, resp. in embody and group methods |
2004-07-20 09:10 robert |
* extractData is now a static function of the Zip prototpye * the constructors for Content and Entry are now static prototype functions too * fixed comments |
2004-07-19 19:03 robert |
* moved ZipLib.extractAll to Zip constructor and renamed it to extractData * removed ZipLib Object, moved all of its remaining methods to Zip constructor * fixed a bug that prevented Library to create zip archives with compression level 0 (see http://grazia.helma.org/pipermail/antville-dev/2004-July/000608.html) * changed addEntry to use only forward slashes for paths in zip archive (see http://grazia.helma.org/pipermail/antville-dev/2004-July/000613.html) * adapted methods to accept instances of Helma.File too |
2004-07-18 16:25 tobi |
returned to previous casting in format method |
2004-07-18 14:21 tobi |
removed toString calls again introduced in last commit |
2004-07-16 17:38 tobi |
* fixed casting of argument types in java class calls * replaced string buffers with res.pop/write/push |
2004-07-16 17:34 tobi |
fixed casting of argument types in java class calls |
2004-07-16 17:31 tobi |
added missing semicolons |
2004-07-05 16:13 tobi |
* modified Html object to become an instance of HelmaLibrary prototype * turned some public methods into private ones * cleaned up code and comments |
2004-07-05 11:41 tobi |
initial check-in |
2004-06-21 17:37 robert |
modified Date.format(): removed all caching of SimpleDateFormat instances to avoid troubles when called from scheduler (see http://grazia.helma.org/pipermail/antville-dev/2004-June/000597.html and http://helma.org/bugs/show_bug.cgi?id=364) |
2004-06-21 16:15 robert |
fixed bugs various methods according to http://grazia.helma.org/pipermail/antville-dev/2004-June/000597.html |
2004-06-14 14:06 tobi |
* fixed blockquoted output in recursive dump method * fixed bug that caused error when obj[p] is null in dump method |
2004-06-01 08:30 tobi |
removed obsolete file |
2004-06-01 08:29 tobi |
removed comments and obsolete stuff |
2004-05-31 16:49 tobi |
moved to helmaLib module |
2004-05-30 21:02 tobi |
* fixed bug in ping method using "this" instead of Http object * updated javascript syntax to features of version 1.5 * removed adding of missing "http://" in evalUrl method * evalUrl method now returns either null or a java.net.URL object |
2004-05-11 14:03 tobi |
incremented version string |
2004-05-11 14:01 tobi |
fixed dir names; remove empty line |
2004-05-06 08:55 tobi |
added String.compose method |
2004-05-05 15:42 robert |
added methods: getTimespan() - returns the timespan to current Date or an optional different Date object getAge() - returns the past timespan getExpiry() - returns the future timespan |
2004-04-29 14:33 tobi |
added String.compose method for evaluation purposes |
2004-04-29 12:27 tobi |
added FIXME |
2004-04-29 12:27 tobi |
unlimit default pagesize in loop_macro |
2004-04-29 12:23 tobi |
unlimit default pagesize in loop_macro |
2004-03-21 12:13 tobi |
starting with version 1.4 the file library is obsolete |
2004-03-11 19:47 tobi |
obviously FESI does not like linebreaks in statements (and obviously, too, i forgot this) |
2004-03-09 18:57 robert |
- added objects nameToHex and hexToName to Color object (used to determine the hex value of a named color and vice versa) - modified valueOf(): actually arguments.length is not 1 even if no arguments were passed, so removed the fixme and cleaned up - throw an error if the internal value is null or NaN |
2004-03-09 14:22 tobi |
added recursive argument to prevent large hierarchies from being recursively reduced automatically |
2004-03-09 14:20 tobi |
fixed bug that caused exception because java.net.URL returns an object and a string is needed |
2004-03-08 13:25 tobi |
return null in both toString() and valueOf() methods if color value cannot be calculated |
2004-02-24 11:05 robert |
branches: 1.21.2; fixed toDate() to avoid problems with using the cached SimpleDateFormat (see Date.prototype.format) |
2004-02-23 14:25 tobi |
grant upwards compatibility for constants in Date object and announce DateLibrary constructor as deprecated |
2004-02-18 16:51 tobi |
added comment |
2004-02-18 16:51 tobi |
added comment |
2004-02-18 16:30 tobi |
fixed bug that caused wrong date strings when formatted from within the scheduler |
2004-02-18 16:29 tobi |
fixed bug that caused wrong date strings when formatted from within the scheduler |
2004-02-18 15:47 tobi |
fixed format method to always return a formatted string according to all arguments |
2004-02-18 15:47 tobi |
fixed format method to always return a formatted string according to all arguments |
2004-02-17 16:25 tobi |
added Object.clone method |
2004-02-14 23:08 tobi |
obviously we do not need the TYPE constant |
2004-02-13 17:40 tobi |
removed test file |
2004-02-13 17:31 tobi |
test pls. ignore |
2004-02-13 17:25 tobi |
test pls. ignore |
2004-02-13 17:24 tobi |
test pls. ignore |
2004-02-13 17:21 tobi |
test pls. ignore |
2004-02-13 17:21 tobi |
test pls. ignore |
2004-02-13 17:18 tobi |
test pls. ignore |
2004-02-13 17:12 tobi |
test pls. ignore |
2004-02-13 17:11 tobi |
test pls. ignore |
2004-02-13 17:10 tobi |
test pls. ignore |
2004-02-13 17:09 tobi |
test pls. ignore |
2004-02-13 17:08 tobi |
test pls. ignore |
2004-02-13 17:06 tobi |
test pls. ignore |
2004-02-13 17:03 tobi |
test pls. ignore |
2004-02-13 17:01 tobi |
test pls. ignore |
2004-02-13 16:41 tobi |
test pls. ignore |
2004-02-13 16:41 tobi |
branches: 1.1.2; file test.txt was initially added on branch helma_1_2. |
2004-02-13 13:56 tobi |
fixed zip command for unix conformance |
2004-02-13 13:54 tobi |
added some more compatibility with helma_1_3 branch |
2004-02-13 13:53 tobi |
modified HTML_renderColor/AsString for conformance with other methods |
2004-02-13 13:45 tobi |
fixed bugs introduced by too swift adaptation of helma_1_3 branch |
2004-02-13 13:44 tobi |
fixed bug in loop_macro |
2004-02-10 16:15 tobi |
display values inside <pre> tags |
2004-02-09 15:10 tobi |
added throw statement |
2004-02-09 15:06 tobi |
condensed code |
2004-02-09 14:49 tobi |
for the record: commit before condensing code |
2004-02-09 10:05 tobi |
* fixed bug in constructor * renamed methods to conform with naming conventions |
2004-02-09 09:55 tobi |
added missing comma |
2004-02-09 08:57 tobi |
initial check-in |
2004-02-08 20:26 tobi |
* added String.ISOFORMAT constant * removed obsolete code * modified order of methods |
2004-02-08 20:24 tobi |
* added second argument in Object.clone method * added Object.dump and Object.reduce methods |
2004-02-08 20:22 tobi |
initial check-in |
2004-02-08 20:22 tobi |
added property_macro |
2004-02-08 20:21 tobi |
added Html.element/AsString method |
2004-02-08 20:11 tobi |
initial check-in |
2004-02-08 20:09 tobi |
added File.separator property |
2004-02-04 16:40 hannes |
Checking in Html.TableWriter code http://grazia.helma.at/pipermail/antville-dev/2004-February/000459.html |
2004-01-27 13:24 stefanp |
added Date.diff(dateObj) which returns the difference between this and another date object in milliseconds (rhino doesn't calculate with date objects) |
2004-01-23 14:53 hannes |
Add optional separator argument to String.diff() to allow other diff comparison units than lines (e.g. words, characters). Default behaviour and invocation stay the same. |
2004-01-20 12:06 tobi |
fixed bug in Html.openLink / openLinkAsString having property url instead of href |
2004-01-20 11:59 tobi |
* fixed bug in Html.openLink calling removed method Html.renderMarkupElement * added code to (hopefully!) fix backwards-compatibility with applications already using the old signatures of Html.link, Html.openLink, Html.openLinkAsString and Html.renderDropDownBox methods |
2004-01-14 16:10 tobi |
removed deprecated code |
2004-01-13 15:37 tobi |
branches: 1.15.2; do not return macro results but instead directly write them to the buffer |
2004-01-09 19:58 tobi |
replaced res.push/popStringBuffer with res.push/pop only |
2004-01-09 19:57 tobi |
added switch_macro |
2004-01-03 14:57 robert |
- textArea now clones the passed parameter object (because it's modified for rendering) - removed the default values for cols and rows in textArea since these are not required attribute |
2004-01-02 23:05 tobi |
only check for unwrapping a skin if its source is requested |
2004-01-02 23:04 tobi |
removed deprecated block |
2004-01-02 09:53 tobi |
moved else condition to default settings to reduce code |
2004-01-02 09:49 tobi |
moved specific code below first generic conditional checks |
2003-12-30 12:41 robert |
removed version property and method getVersion() |
2003-12-30 09:57 robert |
- modified checkBox() and radioButton(): both now clone the passed parameter object (to allow eg. rendering multiple radio buttons in a loop using the same param object) - all methods now write a warning to response if the arguments passed are insufficient (and return immediately) instead of creating a param object themselves and continue rendering (which lead to eg. input tags without a name) - fixed indentation |
2003-12-19 17:48 tobi |
* removed set_macro * removed support for req.data._cache (defined by set_macro) in loop_macro * sync'd loop_macro with 1.3 branch |
2003-12-19 17:33 tobi |
fixed bug that prevented any display in loop_macro when no item limit is given |
2003-12-19 17:27 tobi |
implemented loop_macro with HopObject.list(x, y) functionality |
2003-12-17 21:53 robert |
- changed signatures of link and linkAsString: the text to be linked is no longer part of attr object but a second argument - simplyfied form method: the only argument is now an attr object since any application should take care of the appropriate form attributes. |
2003-12-17 21:13 robert |
fixed a bug in method diff: use maximum length (either the length of original text or modified), otherwise the diff might end before it should if the modified string is shorter than the original one |
2003-12-11 19:27 robert |
modified ZipLib.extractAll(): ignore entries that are directories |
2003-12-09 15:36 stefanp |
1_2-branch: * added asString-variants where missing * fixed comments |
2003-12-09 15:26 stefanp |
* added asString-variants where missing * fixed comments |
2003-12-09 15:11 stefanp |
* changed signatures of Html.link, linkAsString, openLink and openLinkAsString to use only attr object instead of href and text * changed signature of Html.dropDown to use attr object instead of name parameter * changed Html.checkBox to use attr.selectedValue determine checked-status (same as in Html.radioButton) |
2003-12-08 14:16 stefanp |
added Html.form() from 1.3 |
2003-12-08 14:03 stefanp |
* changed signatures of Html.link, linkAsString, openLink and openLinkAsString to use only attr object instead of href and text * added Html.submit, separate of Html.button as in 1.3 * changed signature of Html.dropDown to use attr object instead of name parameter * changed Html.dropDown to write to response and added Html.dropDownAsString |
2003-12-08 13:28 stefanp |
* changed all asString-variants to work with res.push/popStringBuffer * renamed "markupElement" to "tag" in function names (same as is 1.3 version) |
2003-12-04 17:13 tobi |
removed toggle_macro due to removal of corresponding toggle_action |
2003-12-04 17:06 hannes |
Deleting hopobject/actions.js (helma_1_2) |
2003-12-04 17:01 hannes |
Deleting hopobject/actions.js |
2003-12-04 17:01 hannes |
Add comma |
2003-12-04 15:19 hannes |
Add Html.table() and Html.tableAsString() |
2003-12-03 10:57 tobi |
moved to HEAD from helma_1_3 branch
|
2003-12-03 10:51 tobi |
added toPercent method as in HEAD |
2003-12-03 10:50 tobi |
branches: 1.5.2; added units as constants |
2003-12-02 16:34 tobi |
corrected name for html image tag |
2003-12-02 16:34 tobi |
corrected name for html image tag |
2003-12-01 14:34 tobi |
branches: 1.7.2; * added set_macro to store data in custom req.data._cache object for the time of the request cycle (still experimental) * implemented reflection on req.data._cache in loop_macro to avoid setting redundant parameters when loop and paging macros are used |
2003-11-27 18:32 tobi |
branches: 1.5.2; fixed strange bug that caused "Ambiguous method 'append' matching parameters" error in HTML_renderMarkupPartAsString |
2003-11-27 15:56 tobi |
modified argument name |
2003-11-27 15:55 tobi |
fixed typos and inconsitencies |
2003-11-25 16:21 tobi |
* sync with version in HEAD (some methods were missing / outdated) * removed double entries of some methods |
2003-11-25 15:31 tobi |
added wrapper methods for global string-related helma functions |
2003-11-25 14:44 tobi |
* moved FileLib methods to File object itself (FileLib still works but is marked deprecated) * added hardCopy and move methods to File.prototype (wrappers for corr. File methods) |
2003-11-25 13:05 tobi |
* added constants LEFT, BALANCE and RIGHT to String object * moved other constants from String prototype to the object itself |
2003-11-25 13:04 tobi |
branches: 1.1.2; file ImageLibrary.js was initially added on branch helma_1_3. |
2003-11-25 13:04 tobi |
moved binary data of infamous invisible pixel gif to global constant Image.PIXELGIF |
2003-11-25 12:45 tobi |
added write, now and spacer macros (as in HEAD) |
2003-11-24 18:24 robert |
comitted hannes' changes: now using res.pushStringBuffer() and res.popStringBuffer() since this is alot faster (see http://grazia.helma.at/pipermail/antville-dev/2003-November/000339.html) |
2003-11-23 19:27 robert |
- added constructor function for ZipResult objects (each result now contains both a "Table of contents" array and a JS object tree representing the structure of the zip archive) - added method addData(): with this one can add a ByteArray directly to the archive (with a given name) - modified ZipLib.extractAll() since the uncompressed size of an entry might not be determineable, so changed to a safer approach (that shouldn't be that much slower) |
2003-11-20 11:44 robert |
- modified FILE_hardCopy(): read the source file in chunks of 4096 bytes, making copying much faster - modified some comments |
2003-11-20 11:42 robert |
modified FILE_hardCopy(): read the source file in chunks of 4096 bytes, making copying much faster |
2003-11-19 16:02 tobi |
* implemented sorting feature in loop macro * added switch, contained and toggle macros * added corresponding toggle_action |
2003-11-19 16:02 tobi |
branches: 1.1.2; * implemented sorting feature in loop macro * added switch, contained and toggle macros * added corresponding toggle_action |
2003-11-19 15:36 tobi |
branches: 1.4.2; exclude some more files when packaging the library |
2003-11-19 15:35 tobi |
fixed name of pixel_gif action for compatibility with helma 1.2 |
2003-11-18 16:28 tobi |
sync with HEAD |
2003-11-18 14:30 tobi |
sync with HEAD |
2003-11-14 10:36 tobi |
added global skin_macro to allow embedding of global skins |
2003-11-13 17:20 hannes |
created hns_extended branch for HtmlLibrary: * add HtmlMacros object that implements html macro controls * implement table() and tableAsString() |
2003-11-10 22:44 robert |
initial check-in |
2003-11-10 22:44 robert |
branches: 1.1.2; file ZipLibrary.js was initially added on branch helma_1_3. |
2003-11-10 17:59 tobi |
implemented simple paging options in HopObject/loop_macro |
2003-11-10 10:48 tobi |
* extended skin_macro with asis and unwrap parameters * extended loop_macro with collection parameter |
2003-11-10 10:46 tobi |
* extended skin_macro with asis and unwrap parameters * extended loop_macro with collection parameter |
2003-10-29 16:02 tobi |
fixed a typo |
2003-10-29 16:01 tobi |
* moved constants and random method from String prototype to String object * added join method to String object * added dissect, head, tail, group, hardwrap, softwrap and unwrap methods to String prototype |
2003-10-29 15:52 tobi |
moved clone method to Object object itself |
2003-10-29 15:51 tobi |
added ISOFORMAT constant |
2003-10-29 14:02 tobi |
added time constants to date object (seconds, minutes, hours etc. in milliseconds) |
2003-10-06 17:11 tobi |
removed debugging code |
2003-09-19 14:53 tobi |
removed double entry of line defining Http.toString method |
2003-09-19 10:25 tobi |
branches: 1.2.2; the end of pixel gifs to be uploaded is nigh... |
2003-09-19 10:25 tobi |
branches: 1.1.2; the end of pixel gifs to be uploaded is nigh... |
2003-09-04 13:58 robert |
branches: 1.5.2; modified clone(): now accepts a second argument (optional) to use as clone object |
2003-09-04 13:34 hannes |
branches: 1.3.2.3.4; Fix bug: checked attribute is never set in checkbox() |
2003-09-03 08:54 robert |
fixed OBJECT_clone(): clone the object passed as argument instead of "this" |
2003-09-01 14:42 tobi |
branches: 1.14.2; fixed STRING_clipHelper() for full compatibility with recent clip() method |
2003-09-01 14:08 tobi |
fixed bug that erroneously caused empty head in STRING_clipHelper() |
2003-09-01 14:04 tobi |
refactored clip() and dissect() methods by introducing a clipHelper() function |
2003-09-01 12:59 tobi |
* rewrote String.dissect() method * added trim() at certain points of String.clip() method |
2003-09-01 09:25 tobi |
removed obsolete file |
2003-08-31 09:00 tobi |
had to insert empty line to prevent comment from being regarded as shebang |
2003-08-31 08:58 tobi |
increased version string to 1.3 |
2003-08-31 08:55 tobi |
branches: 1.1.2; file compat.js was initially added on branch helma_1_3. |
2003-08-31 08:55 tobi |
initial check-in |
2003-08-25 15:56 tobi |
modified join() method to work from within global String variable instead of prototype |
2003-08-25 13:51 tobi |
added join() method |
2003-08-25 13:31 tobi |
only add clipping when head *and* tail exist in method dissect() |
2003-08-25 13:05 tobi |
reintroduced clipping in head(); tail() and dissect() methods |
2003-08-25 12:41 tobi |
reintroduced wrap() method for backwards compatibility (although i am not sure if that's necessary at this point...) |
2003-08-25 12:39 tobi |
added dissect(), head() and tail() methods |
2003-08-22 08:18 tobi |
fixed bug that prevented some linebreaks from being replaced by STRING_unwrap() |
2003-08-21 15:40 tobi |
added asis (return unrendered skin) and unwrap (remove linebreaks) parameters to skin_macro() |
2003-08-21 15:38 tobi |
added hardwrap() and unwrap() methods as proposals |
2003-08-21 15:37 tobi |
renamed toString() method to format() |
2003-08-19 15:30 tobi |
added write_macro() and now_macro() as proposals |
2003-08-19 15:28 tobi |
added support for checked attribute in renderInputCheckBox() |
2003-08-19 15:27 tobi |
added parameter to allow loop_macro() looping over named collections |
2003-08-19 15:27 tobi |
added global clone() function |
2003-08-19 15:26 tobi |
added some more api doc stuff |
2003-08-19 15:23 tobi |
fixed a bug that caused confusion when Date.toString() was called from within the scheduler |
2003-08-02 09:43 robert |
initial check-in |
2003-08-02 09:43 robert |
branches: 1.1.2; file NumberLibrary.js was initially added on branch helma_1_3. |
2003-08-02 09:42 robert |
- removed "global" switch from regex patterns, this causes lastIndex to be set when used with test() - now use regex method test() instead of match() because test directly returns a boolean - modified toDate(): not catching Exceptions anymore, this should be done by calling function. also added second optional argument timezone. |
2003-08-02 09:38 robert |
exclude files for packaging from .zip archive |
2003-08-02 09:37 robert |
fixed method clone() |
2003-08-02 09:36 robert |
- fixed a stupid bug: renderMarkupElement() was renamed to tag() - modified checkBox(): do not automatically check the box if the value is 1, sometimes this is not desireable - added method submit() that renders an input type submit - button and submit no longer accept a parameter "content", use standard attribute "value" now - added method form() that renders a beginning <form> tag |
2003-07-13 12:07 robert |
refactored for helma1.3/rhino |
2003-06-27 15:14 stefanp |
branches: 1.3.2; added FileLib.hardCopy() |
2003-06-24 11:56 tobi |
branches: 1.3.2; fixed list of excluded files |
2003-06-23 12:40 robert |
branches: 1.3.2; - modified HTML_renderDropDownBox(): check if current option is of type object and has a length > 0. this was necessary because otherwise options that actually are an array but do not have a value (just a display name) would be interpreted as string. - removed leftover backwards compatibility code in HTML_renderInputPassword() |
2003-06-20 08:11 robert |
removed |
2003-06-19 10:04 tobi |
corrected mistake |
2003-06-19 09:39 tobi |
branches: 1.2.2; updated version strings of each library part |
2003-06-19 09:39 tobi |
updated version strings of each library part |
2003-06-19 09:33 tobi |
changed name of zipped library to AntvilleLib |
2003-06-19 09:33 tobi |
branches: 1.2.2; changed name of zipped library to AntvilleLib |
2003-06-19 09:25 tobi |
a handy ecmascript library developed for use in antville but useful in other applications as well. |
2003-06-19 09:25 tobi |
branches: 1.1.1.1.2; a handy ecmascript library developed for use in antville but useful in other applications as well. |
2003-06-19 09:25 tobi |
branches: 1.1.1; Initial revision |