Commit graph

3175 commits

Author SHA1 Message Date
hns
4494d0bff5 * Implement negative result caching in getPrototypeName(Object). 2007-03-15 16:21:00 +00:00
hns
2b7e92d9f6 * Change res.abort() semantics:
Just abort transaction and do not stop request execution,
  since we now have res.stop() to do the latter.
2007-03-15 16:19:28 +00:00
hns
c070627d99 * Set prototype and parent scope, although we'd have to return NOT_FOUND
in get() in order to get the prototype chain working.
2007-03-15 16:16:16 +00:00
hns
504e5dba18 * Fix string splitting regexp in splitLines(). 2007-03-15 16:08:59 +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
zumbrunn
c8ae4f4286 updated jsdoc related build scripts 2007-03-12 16:39:17 +00:00
hns
814f1307db * Add check and debug message for invalid line index. 2007-03-09 11:32:41 +00:00
hns
6aba4c136f * Minor formatting fix. 2007-03-09 10:15:41 +00:00
hns
156e65909e * Implement switchProperties() to allow to switch db connections at runtime.
* Minor cleanup/simplification in getConnection().
2007-03-08 15:40:09 +00:00
zumbrunn
eb692b71ec always create the docs/modules directory as part of the package-modules-jsdoc target, so that the build will succeed even if perl fails to build the jsdocs for whatever reasons 2007-03-08 13:05:08 +00:00
hns
3016b4e32e * Add summary.txt for use with jsdoc --project-summary option. 2007-03-07 15:16:48 +00:00
hns
6894e5446a * Include project summary. 2007-03-07 15:15:37 +00:00
hns
9675c87a3e * Make sure docs are included in the proper distribution files:
modules jsdocs in binary package, java docs in source package.
2007-03-07 14:53:31 +00:00
hns
492be3029f * Add ant task for helmaLib modules JSDocs. 2007-03-07 14:14:50 +00:00
hns
60c118cae9 * Pedal back from previous commit.
Fixes http://helma.org/bugs/show_bug.cgi?id=501
2007-02-25 15:44:33 +00:00
zumbrunn
c3499a347b added missing license.txt to package target 2007-02-25 10:12:04 +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
hns
6db9463c24 * Include tagsoup.jar in Helma classpath.
* Exclude apache-dom.jar and jimi.jar, the latter must be placed in
  lib/ext, the first is useless for using getHtmlDocument(), use xercesImpl.jar
  and xml-apis.jar from the Xerces2-java distribution instead.
2007-02-21 14:37:59 +00:00
hns
0b6d78a5ce * Update Java class file version to 1.4 in javac task.
* Exclude ant classpath in javac task.
* Exclude apache-dom.jar in binary build, include it in source build.
* Change tarfilesets and zipfilesets to use include and exclude elements
  instead of attributes.
2007-02-21 14:35:46 +00:00
hns
4eb70e7b2e * Scale back to minimal apache-dom.jar that only contains org.apache.html.dom.HTMLBuilder class,
allowing Helma to compile, but throwing an exception when getHtmlDocument is invoked. This is
  the only way we can avoid potential conflicts with different Xerces versions in the classpath.
2007-02-21 14:32:34 +00:00
hns
7fd724eca3 * Make sure RuntimeException can pass through in getHtmlDocument() so users
become aware of setup problems (missing xercesImpl.jar, xml-apis.jar).
2007-02-21 14:28:12 +00:00
hns
8a85d6d5cf * Drop hacked-together HtmlParser class, move to Tagsoup for HTML parsing.
* Move remaining HTML parsing code into XmlUtils.
* Clean up XmlUtils code.
2007-02-21 14:26:36 +00:00
hns
0667f13290 * Adding tagsoup.jar version 1.0.4 for use with getHtmlDocument(). 2007-02-21 13:47:38 +00:00
hns
f4b281a639 * Add RhinoCore.isInitialized() to check whether we are up and running yet.
* Initialize prototypes on static constructor access also when prototype property
  is accessed, using RhinoCore.isInitialized() to check against premature compilation.
2007-02-21 13:00:07 +00:00
hns
cecd2af590 * Use sub-properties for getting DbSource settings and comparing DbSource instances.
Fixes http://helma.org/bugs/show_bug.cgi?id=500 and improves the code.
2007-02-21 10:45:24 +00:00
hns
43165e0bab * Backpedal on previous commit: Even fetch columns if the table is inherited, because the
column-property mapping may still be different. Fixes http://helma.org/bugs/show_bug.cgi?id=499
2007-02-21 09:34:22 +00:00
zumbrunn
c33c43f93c added constructor tag in order to please jsdoc 2007-02-19 10:54:27 +00:00
zumbrunn
650d7c4810 Changed Rhino license from NPL to MPL. The Mozilla Foundation was finally able to relicensed Rhino at the beginning of November 2006 under a MPL/GPL dual license, dropping the NPL. 2007-02-16 13:58:45 +00:00
hns
8c6c3f56e6 * Update version from 1.6.y to 1.6.0. 2007-02-16 09:48:25 +00:00
hns
350043980e * Update version from 1.6.x to 1.6.0. 2007-02-16 09:47:38 +00:00
hns
04a9ce2d3a * Support binary database column mapping, fix http://helma.org/bugs/show_bug.cgi?id=498
* Some code cleanup and minor rewrites.
2007-02-15 15:08:43 +00:00
hns
c0118398bb * Add cause exceptions to rethrown exceptions where they were missing.
* Remove stack dumps, this should be done by catching code.
2007-02-15 15:05:56 +00:00
hns
514ad900c5 * Optimize getDbColumns() for inheriting relational dbmappings.
* Avoid useless double assignment to column field
2007-02-15 14:13:53 +00:00
hns
3a263d9243 * Add getter for SessionManager, required by helmaswarm. 2007-02-14 14:55:26 +00:00
hns
083035d3c8 * Removed old and obsolete ant infrastructure. Developers are now required to
have their own ant installed.
2007-02-14 14:19:50 +00:00
hns
2d25df3cbb * Always use shared scope for creating streams in serialize() and deserialize().
Fixes http://helma.org/bugs/show_bug.cgi?id=496
2007-02-12 13:15:09 +00:00
hns
fa5430a1d3 * Trim href after rendering it from skin in postProcessHref() to cut of space/newline chars. 2007-02-10 10:09:08 +00:00
hns
0f7cd80500 * Update to new Rhino snapshot with patches from
http://dev.helma.org/wiki/Rhino+Bugs+%26+Patches/
2007-02-09 16:02:19 +00:00
hns
235d29fe26 * Use logger to log error instead of writing to System.out. 2007-02-09 13:45:29 +00:00
hns
7f6226ac17 * Implement Mail.get/setMultipartType() as proposed by Maksim Lin on helma-dev. 2007-02-09 13:42:53 +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
d19b83008b * Implement equals() and hashCode() in order not to create new
database connections for each DbSource instance when a connection
  to the database is already registered.
2007-02-08 12:53:07 +00:00