Commit graph

  • 900d16654a * Fix bug where post parameters weren't parsed with prototype.js Ajax requests because of charset subheader appended to ContentType * Use Servlet.log() instead of System.err.println() and pass exception as second argument. hns 2007-03-28 14:21:17 +00:00
  • 21dfa78b0b * Stop server when shutting down. hns 2007-03-28 13:49:43 +00:00
  • b4276f683b * Log Jetty messages to Helma logger. hns 2007-03-28 13:40:09 +00:00
  • b2a6acdf97 * Minor formatting bug: missing dot in onStop() error output. hns 2007-03-28 13:10:04 +00:00
  • 4575142c60 * Update to new Rhino CVS snapshot with the patches from http://dev.helma.org/wiki/Rhino+Bugs+%26+Patches/ including fixes for rhino bugs 359358 and 359359 hns 2007-03-28 11:48:03 +00:00
  • bb03265ec0 * Compiled Jetty 4.2.27 with the following patch for AJP13 request paths: hns 2007-03-28 11:45:41 +00:00
  • 11022c42b6 * Forward put()s from the thread scope to the shared scope during repository injection. Fixes bug 504. hns 2007-03-27 19:51:43 +00:00
  • c04d2db80f * Implement res.pushBuffer(StringBuffer) and res.popBuffer() to get StringBuffers in and out of the res buffer stack. This is needed for efficiently implementing the method described in http://dev.helma.org/wiki/Handler+for+rendered+skins/ hns 2007-03-27 12:53:28 +00:00
  • ac0a5f1daa * Implement app.charset and app.getCharset() to get the app's default charset * Fill in missing JavaDoc comments hns 2007-03-27 12:46:35 +00:00
  • 39cdaf045f * Undo previous change. hns 2007-03-27 12:44:43 +00:00
  • 9fe75abfba * Make req.path start with "/" hns 2007-03-27 12:34:20 +00:00
  • 0dbf6751b7 * Complain about missing handler in default failmode. * Streamline a bit by passing ScriptingEngine instead of RequestEvaluator in some cases. hns 2007-03-23 19:43:57 +00:00
  • 731ec80ac1 * Refactor Macro.render() method into two distict methods in order to invoke invoke macros without rendering the result to the response (useful for nested macros). hns 2007-03-23 16:32:19 +00:00
  • dd899e67b9 * Go safe and use Rhino inspection for getProperty() on HopObjects. hns 2007-03-23 16:31:03 +00:00
  • b233ad0d4d * Updated snapshot with patch for rhino bug 375081 https://bugzilla.mozilla.org/show_bug.cgi?id=375081 hns 2007-03-23 14:05:45 +00:00
  • 3e20cadca1 * Allow subskins of the currently rendered skin to be rendered using relative skin names ("#subskinName") * Fix minor bug in subskin parsing. hns 2007-03-23 11:16:06 +00:00
  • 4531ef6e4b * Implement subskins * Fix skin failmode levels * Add Resource.getOverloadedResource() * Implement ScriptingEngine.isTypedObject(Object) * Fix skin length bug with non-ASCII characters hns 2007-03-22 15:34:10 +00:00
  • 0b363a4b96 * Mark all changing fields as volatile. * Issue a warning if a non-existing function was invoked. hns 2007-03-22 15:18:47 +00:00
  • b6d72d79af * Add allowDeepMacros property which must be set to "true" in order to allow macros with deep paths. * Issue an error message if a macro isn't terminated properly. hns 2007-03-20 11:02:23 +00:00
  • 984c6a62a4 * Implement positional macro parameters. * Resolve conflict between failmode and default attributes: failmode=silent now results in default value to be used if the macro fails to resolve or execute. * Extract and clean up argument preparation code. hns 2007-03-19 16:46:45 +00:00
  • ba09754f48 * Add missing closing quotes to this.methods suffix attribute. hns 2007-03-19 16:21:40 +00:00
  • 159251911d * Implement new toCharArray(String) method. hns 2007-03-16 23:18:06 +00:00
  • 3020e80650 * Fix bug that prevents non-global filters to work. hns 2007-03-16 06:11:17 +00:00
  • 18f79fd12a * Update to new Rhino CVS snapshot with the patches from http://dev.helma.org/wiki/Rhino+Bugs+%26+Patches/ including Rhino bug https://bugzilla.mozilla.org/show_bug.cgi?id=373897 hns 2007-03-15 17:22:59 +00:00
  • de09d0aac9 * Implement app.getAppsProperties() to return the subset of apps.properties relevant to the current application. hns 2007-03-15 17:16:32 +00:00
  • e4784f870d * Refactor and enhance Skin class: - implement macro/filter pipes <% foo | bar %> - implement deep macros <% foo.bar.foo %> - implement nested macros <% foo x=<% bar %> %> - implement failmode=silent|verbose attribute * Refactor ScriptingEngine interface and implementation to support new skinning features. hns 2007-03-15 17:15:25 +00:00
  • 1ef63471aa * Optimize WrapMaker methods a little bit. hns 2007-03-15 17:12:32 +00:00
  • dd20db9815 * Close quotes for suffix attribute. hns 2007-03-15 16:48:00 +00:00
  • e9cf02914c * Implement app.getAppsProperties() to return the subset of apps.properties relevant to the current application. hns 2007-03-15 16:23:22 +00:00
  • 4494d0bff5 * Implement negative result caching in getPrototypeName(Object). hns 2007-03-15 16:21:00 +00:00
  • 2b7e92d9f6 * Change res.abort() semantics: Just abort transaction and do not stop request execution, since we now have res.stop() to do the latter. hns 2007-03-15 16:19:28 +00:00
  • c070627d99 * Set prototype and parent scope, although we'd have to return NOT_FOUND in get() in order to get the prototype chain working. hns 2007-03-15 16:16:16 +00:00
  • 504e5dba18 * Fix string splitting regexp in splitLines(). hns 2007-03-15 16:08:59 +00:00
  • 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 p3k 2007-03-15 09:54:56 +00:00
  • 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 zumbrunn 2007-03-14 10:11:24 +00:00
  • c8ae4f4286 updated jsdoc related build scripts zumbrunn 2007-03-12 16:39:17 +00:00
  • 814f1307db * Add check and debug message for invalid line index. hns 2007-03-09 11:32:41 +00:00
  • 6aba4c136f * Minor formatting fix. hns 2007-03-09 10:15:41 +00:00
  • 156e65909e * Implement switchProperties() to allow to switch db connections at runtime. * Minor cleanup/simplification in getConnection(). hns 2007-03-08 15:40:09 +00:00
  • 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 zumbrunn 2007-03-08 13:05:08 +00:00
  • 3016b4e32e * Add summary.txt for use with jsdoc --project-summary option. hns 2007-03-07 15:16:48 +00:00
  • 6894e5446a * Include project summary. hns 2007-03-07 15:15:37 +00:00
  • 9675c87a3e * Make sure docs are included in the proper distribution files: modules jsdocs in binary package, java docs in source package. hns 2007-03-07 14:53:31 +00:00
  • 492be3029f * Add ant task for helmaLib modules JSDocs. hns 2007-03-07 14:14:50 +00:00
  • 60c118cae9 * Pedal back from previous commit. Fixes http://helma.org/bugs/show_bug.cgi?id=501 hns 2007-02-25 15:44:33 +00:00
  • c3499a347b added missing license.txt to package target zumbrunn 2007-02-25 10:12:04 +00:00
  • 3b4a8e8a45 added @type tag for renderAsString method zumbrunn 2007-02-24 13:27:15 +00:00
  • 5b2d866d6b added minimum docs just so jsdoc at least includes the references to helma.Url zumbrunn 2007-02-24 08:31:36 +00:00
  • 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. grob 2007-02-22 18:08:41 +00:00
  • afec346b39 fixed a bug in various methods: clone is a method of the Object prototype, not a static one. grob 2007-02-22 14:48:34 +00:00
  • 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. hns 2007-02-21 14:37:59 +00:00
  • 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. hns 2007-02-21 14:35:46 +00:00
  • 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. hns 2007-02-21 14:32:34 +00:00
  • 7fd724eca3 * Make sure RuntimeException can pass through in getHtmlDocument() so users become aware of setup problems (missing xercesImpl.jar, xml-apis.jar). hns 2007-02-21 14:28:12 +00:00
  • 8a85d6d5cf * Drop hacked-together HtmlParser class, move to Tagsoup for HTML parsing. * Move remaining HTML parsing code into XmlUtils. * Clean up XmlUtils code. hns 2007-02-21 14:26:36 +00:00
  • 0667f13290 * Adding tagsoup.jar version 1.0.4 for use with getHtmlDocument(). hns 2007-02-21 13:47:38 +00:00
  • 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. hns 2007-02-21 13:00:07 +00:00
  • 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. hns 2007-02-21 10:45:24 +00:00
  • 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 hns 2007-02-21 09:34:22 +00:00
  • c33c43f93c added constructor tag in order to please jsdoc zumbrunn 2007-02-19 10:54:27 +00:00
  • 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. zumbrunn 2007-02-16 13:58:45 +00:00
  • 8c6c3f56e6 * Update version from 1.6.y to 1.6.0. hns 2007-02-16 09:48:25 +00:00
  • 350043980e * Update version from 1.6.x to 1.6.0. hns 2007-02-16 09:47:38 +00:00
  • 04a9ce2d3a * Support binary database column mapping, fix http://helma.org/bugs/show_bug.cgi?id=498 * Some code cleanup and minor rewrites. hns 2007-02-15 15:08:43 +00:00
  • c0118398bb * Add cause exceptions to rethrown exceptions where they were missing. * Remove stack dumps, this should be done by catching code. hns 2007-02-15 15:05:56 +00:00
  • 514ad900c5 * Optimize getDbColumns() for inheriting relational dbmappings. * Avoid useless double assignment to column field hns 2007-02-15 14:13:53 +00:00
  • 3a263d9243 * Add getter for SessionManager, required by helmaswarm. hns 2007-02-14 14:55:26 +00:00
  • 083035d3c8 * Removed old and obsolete ant infrastructure. Developers are now required to have their own ant installed. hns 2007-02-14 14:19:50 +00:00
  • 2d25df3cbb * Always use shared scope for creating streams in serialize() and deserialize(). Fixes http://helma.org/bugs/show_bug.cgi?id=496 hns 2007-02-12 13:15:09 +00:00
  • fa5430a1d3 * Trim href after rendering it from skin in postProcessHref() to cut of space/newline chars. hns 2007-02-10 10:09:08 +00:00
  • 0f7cd80500 * Update to new Rhino snapshot with patches from http://dev.helma.org/wiki/Rhino+Bugs+%26+Patches/ hns 2007-02-09 16:02:19 +00:00
  • 235d29fe26 * Use logger to log error instead of writing to System.out. hns 2007-02-09 13:45:29 +00:00
  • 7f6226ac17 * Implement Mail.get/setMultipartType() as proposed by Maksim Lin on helma-dev. hns 2007-02-09 13:42:53 +00:00
  • 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. hns 2007-02-09 11:00:07 +00:00
  • 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 hns 2007-02-09 10:04:48 +00:00
  • fc7f7bab1a Oops, gotta love these late binding languages hns 2007-02-08 21:01:56 +00:00
  • d718e290ac * Add Jsdoc comments. * Major overhaul of helma.Database. hns 2007-02-08 15:33:08 +00:00
  • 1cd44d18a3 * added jsdoc compatible inline documentation * fixed constructor of helma.Color to behave as expected when passing a color name or decimal value grob 2007-02-08 13:14:32 +00:00
  • 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. hns 2007-02-08 12:53:07 +00:00
  • 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. hns 2007-02-08 09:26:42 +00:00
  • 2e2603c4e0 * Support helma.File and use it by default. Should fix bug #493 http://helma.org/bugs/show_bug.cgi?id=493 hns 2007-02-08 09:12:21 +00:00
  • 29961b8006 Added jsdoc comment based documentation zumbrunn 2007-02-08 00:41:30 +00:00
  • 134d1483da Added jsdoc comment based documentation zumbrunn 2007-02-07 23:37:23 +00:00
  • ab280132bd re-added method length and marked it as deprecated (this method disappeared during documentation work) grob 2007-02-07 18:11:01 +00:00
  • 449a1a727a removed stale doc header grob 2007-02-07 17:04:51 +00:00
  • 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 hns 2007-02-07 14:55:03 +00:00
  • 3f7126bfa2 Added jsdoc comment based documentation zumbrunn 2007-02-07 11:51:47 +00:00
  • b1a958a394 * Upgrade to Jetty 4.2.27. hns 2007-02-07 11:04:16 +00:00
  • 00ea378a37 Added jsdoc comment based documentation zumbrunn 2007-02-07 10:29:20 +00:00
  • a7cac41923 Added jsdoc comment based documentation zumbrunn 2007-02-07 10:27:37 +00:00
  • 2041c54dfe * Remove crimson.jar at last, it isn't needed for JDK 1.4 and later. hns 2007-02-07 09:46:33 +00:00
  • b80b83ffb3 * Rename "constructor" property in defineProperty() rathern than in put(), since this is what Rhino uses to set the property at compile time. hns 2007-01-31 16:59:08 +00:00
  • 740091f4d8 * Compute isRelational() at runtime, since in some border cases it must be available before we used to compute it in update(). hns 2007-01-31 14:43:15 +00:00
  • 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) grob 2007-01-30 17:53:00 +00:00
  • 6315f6c10f added author tag to class header grob 2007-01-30 17:32:17 +00:00
  • 9a4401d6c4 * added JsDoc compatible inline documentation grob 2007-01-30 17:31:52 +00:00
  • 14ee73a230 * added JsDoc compatible inline documentation * added missing toString methods * minor code beautification grob 2007-01-30 17:31:13 +00:00
  • a874998ffb * Increase default maxThreads value to 50 (evauators aren't that expensive anymore) * Some minor code cleanup hns 2007-01-30 14:58:30 +00:00
  • dcc0accdb3 changed inline documentation for JsDoc compatibility grob 2007-01-30 14:56:51 +00:00
  • 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 grob 2007-01-30 14:55:39 +00:00