Commit graph

  • 08c5e21aaa * Update version to 1.2.6 * Check out apps by date 2003-06-20 rather than HEAD hns 2003-08-20 12:01:39 +00:00
  • 90439a58d9 Check if Server singleton exists before trying to get the list of extensions from it. (backport from main trunk (helma 1.3)) hns 2003-08-19 14:19:36 +00:00
  • f5089a8c01 return wrapped.toString() in toString(). hns 2003-08-19 14:11:46 +00:00
  • 5c9df59014 Check if Server singleton exists before trying to get the list of extensions from it. hns 2003-08-18 14:50:18 +00:00
  • c583133234 Catch all exceptions in stopAll() application loop to make sure all apps are stopped. hns 2003-08-18 12:24:56 +00:00
  • a5feff74f6 Added "..." to shutdown stderr message. hns 2003-08-18 12:24:16 +00:00
  • 55009478a8 This commit was manufactured by cvs2svn to create tag 'antville_1_0'. hns 2003-08-18 11:55:35 +00:00
  • ebdf361ce5 Upgrade from Mckoi release 1.0.1 to 1.0.2 hns 2003-08-18 11:55:34 +00:00
  • a3995df1af Remove obsolete mysql driver. If people want to run Helma with MySQL, they should get an up-to-date version from www.mysql.com. hns 2003-08-18 11:54:24 +00:00
  • 1a45d7e049 Changed getxxx() to getXxx() in bean getters and setters as rhino is able to deal with this and create obj.xxx properties. hns 2003-08-18 11:53:01 +00:00
  • 303e0f4c55 Print out message in shutdown hook so people know everything's ok. hns 2003-08-18 11:51:10 +00:00
  • 3be7e4db54 Fix NullPointerException in writeln() introduced in previous commit. hns 2003-08-18 11:13:39 +00:00
  • 2014f13cfd Omit prefix and suffix when writing out default macro value as suggested in http://www.helma.org/bugs/show_bug.cgi?id=267#c1 hns 2003-08-18 10:29:34 +00:00
  • 7dc1bb8a2f setJavaPrimitiveWrap(false) in wrap factory and remove special handling for strings. hns 2003-08-18 10:28:45 +00:00
  • adba53e86a Handle Undefined.instance and ScriptableObject.NOT_FOUND in ScriptingEngine.get(). Fix for bug 267: http://www.helma.org/bugs/show_bug.cgi?id=267 hns 2003-08-18 10:27:55 +00:00
  • 331dc61787 Committed code improvements proposed by Jürg Lehni http://grazia.helma.at/pipermail/helma-dev/2003-August/000330.html hns 2003-08-18 09:58:26 +00:00
  • 99a0c1ea84 Fixed a few bugs caused by bad argument checking, mostly null that should have been Undefined.instance. hns 2003-08-08 14:23:12 +00:00
  • cd10424299 Accept INode instead of HopObject as argument since HopObject now implements org.mozilla.javascript.Wrapped and will be unwrapped when passed outside the scripting engine. hns 2003-08-08 14:03:53 +00:00
  • d8236fb3b5 Do not override wrapAsJavaObject() in WrapFactory since it is only called after we already did our checks in wrap() or wrapNewObject(). hns 2003-08-08 12:19:00 +00:00
  • b25185451f Catch all Throwables when initializing extensions, improved logging output. hns 2003-08-07 16:32:08 +00:00
  • bec04779ed ported from fesi to rhino. hns 2003-08-07 16:22:26 +00:00
  • bfc1b8914d Remove Fesi scripting engine from Trunk hns 2003-08-07 16:11:31 +00:00
  • d4b8b3c2af Removing FESI from Trunk hns 2003-08-07 16:05:11 +00:00
  • 817262b331 Removed regexp jars, not needed by Rhino. hns 2003-08-07 15:38:26 +00:00
  • dbdf74b27b Set lastError instead of throwing Exceptions. hns 2003-08-07 15:00:48 +00:00
  • dbd5d63853 Use TYPE_INT_ARGB instead of TYPE_INT_RGB when creating new BufferedImage instances to allow for transparency (proposed by Jürg Lehni) hns 2003-08-07 13:05:03 +00:00
  • be94b98311 New reduceColors(): try JIMI ColorReducer first, which preserves transparency, but throws an exception for some images. If that fails, use the alternative color reduction code from helma 1.2. hns 2003-08-07 13:04:05 +00:00
  • 17427e1e16 Implement getImage method to get to the java.awt.Image as suggested by Jürg Lehni. hns 2003-08-07 12:17:55 +00:00
  • 55b48fd484 Implemented session.login(HopObject) as proposed by Stefan Matthias Aust. http://grazia.helma.at/pipermail/helma-dev/2003-July/000191.html Added some JavaDoc comments. hns 2003-08-07 11:58:57 +00:00
  • bebce2ad3d Make HopObject implement the Rhino Wrapper interface. Replace NativeJavaObject with Wrapper when unwrapping wrapped Java objects. hns 2003-08-07 11:26:44 +00:00
  • 4b91011578 Implement invocation of scripted getChildElement(name) function when resolving a request path also when objects implement IRequestPath interface. The biggest change was induced by the need to have an object representing the request path that is able to grow while the path is being resolved. Previously, this was done by passing an ArrayList to the scripting engine that was then transformed into a JavaScript array. This is now done using a proprietary RequestPath object. hns 2003-08-06 16:36:49 +00:00
  • 8c080a5da3 Implement getXmlDocument() and getHtmlDocument() hns 2003-08-06 16:28:01 +00:00
  • 2e9be2b71e Unset propRelation if group/accessname isn't used anymore. hns 2003-08-05 18:43:10 +00:00
  • 092cb230c0 Allow upper case characters in app names by interpreting the property value as app name in apps.properties, if it is defined. hns 2003-08-05 15:54:29 +00:00
  • e8a45cb3b4 Added getGraphics method as proposed by Jürg Lehni. http://grazia.helma.at/pipermail/helma-dev/2003-July/000237.html Added basic JavaDoc comments. hns 2003-07-31 14:58:34 +00:00
  • 47f548afa4 Fix indentation hns 2003-07-31 14:28:27 +00:00
  • 4b594414ed Changed constructor/init method for GlobalObject Use a GlobalObject for the per-thread scope in RhinoEngine Modified getDBConnection() to wrap its return value Some minor changes Added JavaDoc comments to GlobalObject hns 2003-07-31 12:33:54 +00:00
  • 84e4c9361d Use initial capacity of 4 for empty macro parameter maps to allow some room for macro-added parameters. hns 2003-07-30 17:16:04 +00:00
  • 08b50f7c59 Use WrappedMap copyOnWrite feature to do lazy copying of parameter map only when it is actually modified by the macro. hns 2003-07-30 17:06:04 +00:00
  • 4a72e955ac Implement copy-on-write of the wrapped map. hns 2003-07-30 17:00:52 +00:00
  • fad3f06b5c Introduce helma.util.WrappedMap, fixing bug 258. http://helma.org/bugs/show_bug.cgi?id=258 hns 2003-07-29 16:13:09 +00:00
  • a85de95c0b Fix bug 262 http://helma.org/bugs/show_bug.cgi?id=262 hns 2003-07-29 14:03:26 +00:00
  • f0d4c51ef6 Patch from Stefan Matthias Aust: Change arguments to format() and friends from String to Object in order to be better able to handle null and undefined. hns 2003-07-29 12:39:01 +00:00
  • 4485040fb3 Add strangely missing semicolon. hns 2003-07-28 15:56:33 +00:00
  • 1e16d82ba9 Build prototype-name to path objects mapping in path object from res.handlers rather than finding out ourselves. hns 2003-07-28 15:18:51 +00:00
  • 294dc989dd Fix object by prototype-name mappings in res.handlers to have different priorities for direct and indirect prototypes. Direct prototypes always overrule indirect ones. hns 2003-07-28 15:16:38 +00:00
  • 5045727f11 Checking in patch from Stefan Matthias Aust for including getName() function in File object hns 2003-07-28 09:56:39 +00:00
  • e55c0e05c2 Checking in patch from Stefan Matthias Aust for default value support in getProperty(). hns 2003-07-28 09:56:10 +00:00
  • 5e8b1aebad Add null check when creating Hashtable for XML-RPC struct. hns 2003-07-23 13:11:19 +00:00
  • 83378773e9 Patch from Andreas Bolka to use appHome and dbHome properties hns 2003-07-23 09:19:58 +00:00
  • 260cca8971 Implemented removing of compiled functions that no longer exist as proposed by Stefan Matthias Aust. General refactoring of the class. hns 2003-07-16 13:25:43 +00:00
  • 28c6810fb0 Fix delete() to call super.delete() and handling of subnodeRelation property to call the subnodeRelation methods on the wrapped node. hns 2003-07-15 16:17:10 +00:00
  • b6fb19c935 The fix for http://helma.org/bugs/show_bug.cgi?id=251 in Rev. 1.104 was actually a bit too simplistic. We do have to check the element name for non-relational objects after all. But all that was needed was to do it right, i.e. to check if parent.contains(this) before setting this to anonymous. hns 2003-07-14 14:38:16 +00:00
  • 4cc4742d6c Implement basic tracer support. App properties to activate: hns 2003-07-11 12:55:52 +00:00
  • ebcdef2622 Implement toString() to display the wrapped Map. hns 2003-07-11 12:52:08 +00:00
  • 1e609f3ec6 Use proper subnode relation in getPropertyNames(). hns 2003-07-11 09:46:27 +00:00
  • e9954c5898 Use proper subnode relation in getPropertyNames(). hns 2003-07-11 09:46:27 +00:00
  • 6323a70cc8 Merged in changes between helma_1_3_0_M1 and helma_1_3_0_M2. hns 2003-07-09 16:37:58 +00:00
  • 3550be37af This commit was manufactured by cvs2svn to create tag 'helma_1_3_0_M2'. hns 2003-07-09 15:23:31 +00:00
  • 2790dde1b4 Improved code that gets the Helma home directory from the launcher.jar URL. hns 2003-07-09 15:23:30 +00:00
  • b8dea83bce Patch by Stefan Matthias Aust: Handle case where Helma classes are not packed in jar file. hns 2003-07-09 15:15:28 +00:00
  • 672153dbfe Include node state in serialization and refuse to read earlier serialization versions. hns 2003-07-08 16:15:02 +00:00
  • 4c94cba091 Fix bug 256: Replicated Mountpoint has null NodeManager. hns 2003-07-08 15:47:12 +00:00
  • 2f39d4f908 Checked in patch from Stefan Matthias Aust: * Don't call static methods as instance methods * Remove unused imports * Remove variables that are never read hns 2003-07-08 13:52:36 +00:00
  • 57db6bd838 Replace '.' in action names with '_' to get a valid function name. (Backport from helma.scripting.rhino in 1.3.0) hns 2003-07-07 17:04:33 +00:00
  • cc29ebbaf4 Changed argument order in constructor. hns 2003-07-07 15:19:31 +00:00
  • 0a0f32e4ee Use Jetty's InetAddrPort class to encapsulate a ip address and port number to allow Helma server ports to be opened on specific interfaces rather than all local addresses. hns 2003-07-07 15:18:31 +00:00
  • 663dae7289 Serialize ID and name as Object rather than UTF to avoid NullPointerException on mountpoints. hns 2003-07-07 12:45:11 +00:00
  • 8f53076707 Do not frivolously use Exceptions in place of basic null checks as proposed by Stefan Matthias Aust on the mailing list. hns 2003-07-04 13:43:18 +00:00
  • 44e24b29d7 Merged all changes and fixes in src/helma/objectmodel/* made between helma_1_3_0 and helma_1_3_0_M1 to the helma_1_2 branch. hns 2003-07-04 12:40:57 +00:00
  • 77f84e9162 http://helma.org/bugs/show_bug.cgi?id=254 - Check listener for null before trying to use it in order to get a better error message - Print out proper number of exchanged objects when logging replication - Print stack trace if debug is set to true helma_1_3_0_M1 hns 2003-07-04 11:37:51 +00:00
  • 1f860b5fbf Fixed stupid bug in typename variable assignment in constructor. hns 2003-07-04 11:33:08 +00:00
  • 6236eba83e Implement readObject() and writeObject() on some key classes to make sure storageNames are properly internalized. hns 2003-07-03 13:42:41 +00:00
  • c08395ae39 Fixed multiple bugs related to the embedded database: hns 2003-07-03 11:12:57 +00:00
  • c48346b4bb XML-encode HopObject name to prevent illegal XML to be produced. hns 2003-07-03 09:19:00 +00:00
  • 19d1f286e9 Properly wrap internal __node__ property. hns 2003-07-02 16:18:13 +00:00
  • 6dcb82dc2f Updated to Rhino CVS snapshot from July 1, plus Igor's patch from http://bugzilla.mozilla.org/show_bug.cgi?id=210605 hns 2003-07-02 14:54:52 +00:00
  • 69971e8756 Filter out Undefined.instance from skin parameters. hns 2003-07-02 10:32:31 +00:00
  • 7476233449 Added test if final java command exists and is executable and print a decent error message if not. hns 2003-07-01 16:13:41 +00:00
  • 3d3b839395 Solve the problem that integers are printed as floats as far as skin parameters and macro return values are concerned. hns 2003-07-01 15:10:04 +00:00
  • bc1b067cf0 Make RedirectException subclass java.lang.Error so app code knows it shouldn't catch it. hns 2003-07-01 14:47:56 +00:00
  • 9ff623ac77 Do not include system class loader to avoid conflicts with jars in classpath. hns 2003-06-27 10:31:42 +00:00
  • e2f6ff11a1 remove whitespace from version helma_1_3_0 hns 2003-06-26 17:01:04 +00:00
  • 84d5d76fb8 Updated version to 1.3.0 alpha hns 2003-06-26 16:54:21 +00:00
  • 9c2b288330 Update version string to 1.3.0 alpha hns 2003-06-26 16:53:11 +00:00
  • 942bbfa1fe Do not print stack trace on print errors. hns 2003-06-26 16:52:26 +00:00
  • 084b0e8e6c Implement phantom engine classloader trick for rhino hns 2003-06-26 16:52:05 +00:00
  • a70ace86bd Implement global write() and writeln() hns 2003-06-26 16:51:18 +00:00
  • fd2882e21d Merged changes from helma_1_2 (between helma_1_2_5 and helma_1_2_5_merge_1) hns 2003-06-26 14:10:04 +00:00
  • 69428676e5 Update to Mckoi 1.0.2 hns 2003-06-26 13:56:29 +00:00
  • a2c2a1e471 This commit was manufactured by cvs2svn to create tag 'helma_1_2_5_merge_1'. hns 2003-06-26 12:24:46 +00:00
  • df7d736c91 Implement basic HTML tag attribute recognition in order not to interpret <a href=http://foo/> as empty tag. hns 2003-06-26 12:24:45 +00:00
  • 1edfed4583 Ignore files starting with '.' hns 2003-06-26 11:08:35 +00:00
  • 61b8a4a35a Adapt to new signature of Application.getSkin(). hns 2003-06-25 15:50:00 +00:00
  • 30e218b99e Checking in SkinKey class for per-request skin caching. hns 2003-06-25 15:49:06 +00:00
  • 2623c03f62 Added native implementation for String.trim(), Date.format() and Number.format(). hns 2003-06-25 15:47:13 +00:00
  • 1a9f3a1e21 Changed dependsOn() argument to String to force coercion to string. This will probably break FESI, but is required by Rhino (e.g. for NativeDate). hns 2003-06-25 15:19:52 +00:00
  • 9a05228c4c Refactored and simplified renderSkin* methods. hns 2003-06-25 15:15:02 +00:00
  • 5618ac1b4e Internally replace '.' with '_' in action names. hns 2003-06-25 15:14:24 +00:00
  • b98f8b6751 Internally replace '.' with '_' in action names. Implement proxy method for Application.getSkin() that takes care of per-request caching. hns 2003-06-25 15:13:46 +00:00