Commit graph

3200 commits

Author SHA1 Message Date
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
hns
d23d0af914 * Removed old and obsolete ant infrastructure. Developers are now required to
have their own ant installed.
* Rename README to README.txt and bring it up to date.
2007-02-08 09:26:42 +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
hns
b1a958a394 * Upgrade to Jetty 4.2.27. 2007-02-07 11:04:16 +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
hns
2041c54dfe * Remove crimson.jar at last, it isn't needed for JDK 1.4 and later. 2007-02-07 09:46:33 +00:00
hns
b80b83ffb3 * Rename "constructor" property in defineProperty() rathern than in put(),
since this is what Rhino uses to set the property at compile time.
2007-01-31 16:59:08 +00:00
hns
740091f4d8 * Compute isRelational() at runtime, since in some border cases
it must be available before we used to compute it  in update().
2007-01-31 14:43:15 +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
hns
a874998ffb * Increase default maxThreads value to 50 (evauators aren't that expensive anymore)
* Some minor code cleanup
2007-01-30 14:58:30 +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
hns
21838fe606 * Remove synchronization problems in request timeout handling
* Implement skin parameter handling via res.handlers.param
* Implement onResponse() callback
* Slim down renderSkin method implementation
* Implement res.buffer to access current page output
* Implement res.stop() to stop request execution
* Do not reuse per thread scope, create a new one for each request
2007-01-29 16:00:44 +00:00
hns
e6c287b35f * Use ThreadLocal.set(null) instead of ThreadLocal.remove(),
which wasn't available pre Java 5.
2006-12-20 23:00:28 +00:00
hns
20354228a2 * Do not use Context.setCompileFunctionsWithDynamicScope() as it is
seriously BROKEN for nested functions.
  The only workaround needed is a little fix in HopObject.put() to set the
  parent scope on functions because of the funky way we compile prototypes.
* Use one ContextFactory instance per RhinoCore to initialize, enter and exit
  contexts, and use various call() methods to actually use it in RhinoCore.evaluate()
  and RhinoEngine.invoke().
* Set parent scope in HopObject constructor.
* Use java.lang.ThreadLocal to implement engine/thread registration.
* Implement RhinoCore.getRhinoCore() and RhinoEngine.getRhinoEngine().
* Implement rhino.strictvars to throw errors on undeclared vars.
* Do not declare throws Exception in RhinoCore.processXmlRpc* methods.
* Clean up error logging.
2006-12-20 21:52:22 +00:00