Commit graph

  • 146d9d9285 Changed skin cache methods to take any object as key. hns 2003-06-25 15:12:20 +00:00
  • 89e9e1d32f Changed signature of getSkin to take a prototype name instead of a path element parameter. hns 2003-06-25 15:11:02 +00:00
  • ffc8956b8a Added setText() method and lots of JavaDoc comments. hns 2003-06-25 12:14:36 +00:00
  • 7f213bf43a Make res.skinpath work. hns 2003-06-25 11:56:11 +00:00
  • 9e5ab59493 Do not create a constructor for HopObject - this is done by defineClass(). hns 2003-06-25 10:46:37 +00:00
  • 352f9c7fec Follow Rhino conventions for JavaScript constructor naming. hns 2003-06-25 10:46:14 +00:00
  • d42fa49170 modified to work with type-definition by strings and not by constants stefanp 2003-06-24 14:43:40 +00:00
  • 203e409bc6 fixed chopDelimiters() again stefanp 2003-06-24 14:42:59 +00:00
  • 84ae9050f7 chopDelimiters() fixed to chop beginning as well as ending from the same line stefanp 2003-06-24 14:31:38 +00:00
  • 1d5e54c134 Remove unused prototypeField variable. hns 2003-06-24 14:11:05 +00:00
  • 284121edeb Removed reference to FESI package. hns 2003-06-24 14:07:33 +00:00
  • 7db0c07fe2 Make classMapping case sensitive, add method for prototype to java class name lookup. Add simple constructor taking just a name argument. hns 2003-06-24 14:06:53 +00:00
  • 51ef5f0ff3 Added feature to switch case sensitivity on and off. hns 2003-06-24 14:05:12 +00:00
  • 33ea2b629a Removed import for helma.scripting.fesi package hns 2003-06-24 14:03:21 +00:00
  • 052b847c7a Lots of fixes and cleanup. hns 2003-06-24 14:02:35 +00:00
  • 4236304e84 Moved extensions to separate directory. hns 2003-06-24 14:00:55 +00:00
  • fcbfb8ace9 listTags() filters with string and no longer with int stefanp 2003-06-24 11:20:40 +00:00
  • 4651579309 rewrote class to make custom tag types possible kind is now type and is no longer int but a string. features whatever comes after the @-sign in the tag stefanp 2003-06-24 11:20:18 +00:00
  • f99141a97b use Util.chopComment() instead of doing it here. solved constructor problem for TokenStream - we need jra from rhinoLatest or from cvs stefanp 2003-06-24 11:18:54 +00:00
  • 0af3973929 added static chopComment() which chops everything after a closing comment tag stefanp 2003-06-24 11:17:57 +00:00
  • b40e39c98c Use constructor for TokenStream (adding additional null argument). hns 2003-06-24 08:31:14 +00:00
  • ec1aed6650 Override wrapAsJavaObject in wrapper factory to check for IPathElement objects. hns 2003-06-23 15:58:25 +00:00
  • 3c1c5b47b8 Implemented stopping of running threads. kicked out some dead code. hns 2003-06-23 15:54:34 +00:00
  • 71ac4541ae make the introspector work with rhino stefanp 2003-06-23 15:39:18 +00:00
  • b67b75c3b4 handle org.mozilla.rhino.NativeString as string in HopObject.put(). hns 2003-06-23 15:21:39 +00:00
  • 710631429e replaced tryEval with try/catch stefanp 2003-06-23 15:03:34 +00:00
  • 6109f475f0 kicked out FESI parser and implemented parsing with rhino dependency. all token-handling/file-parsing moved to DocFunction.java, all raw file handling to Util stefanp 2003-06-23 14:49:49 +00:00
  • 0667d9d091 Check for null when converting arguments in invoke(). hns 2003-06-23 14:17:38 +00:00
  • 6ecee221e7 Be more careful about entering and exiting contexts. hns 2003-06-23 14:12:42 +00:00
  • 3443179755 Use native JavaScript array when converting a XML-RPC Array. hns 2003-06-23 14:12:05 +00:00
  • 358d59fc40 Use a helma.util.SystemMap for app.modules so it is wrapped by the scripting engine as native object. hns 2003-06-20 14:42:49 +00:00
  • 6f2647712d Do not throw exceptions, instead return an object with either a result or an error property. hns 2003-06-20 14:42:08 +00:00
  • 189b79b840 initial check-in p3k 2003-06-19 14:47:02 +00:00
  • 2f5c368124 Added Remote (XML-RPC client) object. Fixes in XML-RPC argument encoding. hns 2003-06-18 16:11:02 +00:00
  • a758a479d7 Return string representation if hint is null in getDefaultValue. hns 2003-06-18 16:09:37 +00:00
  • 5a519db3c6 Implement basic encoding/decoding of incoming XML-RPC calls. hns 2003-06-18 15:00:11 +00:00
  • 74a3137577 Implement getDefaultValue(String.class) for MapWrapper. hns 2003-06-18 14:59:34 +00:00
  • aff761a1ec do a Context.toObject() on the result of getURL(). hns 2003-06-18 14:59:07 +00:00
  • 6939b8cb26 Updated version string to 1.3-alpha-0 hns 2003-06-17 14:47:03 +00:00
  • 2558a118a9 Invoke scripted constructor function. hns 2003-06-17 14:44:59 +00:00
  • 85a6afe857 * We now have our own version of FunctionObject.addAsConstructor() to install HopObject constructors, because we do not want the prototype.constructor property to be set. Otherwise, scripted constructor functions are shadowed. * Fix typo in getElementWrapper(). hns 2003-06-17 14:44:39 +00:00
  • 9581df2ac4 Checking in the MailExtension. hns 2003-06-17 13:15:30 +00:00
  • 2be8b10e8c Change argument type for write/writeln/debug methods from Object to String so that toString() is performed by the script runtime. (FESI wasn't able to do this, but Rhino is.) hns 2003-06-17 12:23:48 +00:00
  • 5431daadcf Changed default scripting engine to helma.scripting.rhino.RhinoEngine. hns 2003-06-16 19:48:35 +00:00
  • 5f46bdf3a2 * replaced helma.util.CacheMap with java.util.WeakHashMap for wrapper caching * do wrapper caching for IPathElement (java object) wrappers * only wrap instances of helma.util.SystemMap with MapWrappers * do not wrap Strings. hns 2003-06-16 18:56:53 +00:00
  • 3691b6d977 Return string values unwrapped. hns 2003-06-16 18:54:49 +00:00
  • dd59d7e911 * Added implementation for Node.clearCache(). * fixed setting of HopObject properties. hns 2003-06-16 18:54:31 +00:00
  • 44a1235803 Added helma.util.SystemMap class as a HashMap that is used internally by Helma and is wrapped as a native JavaScript object. hns 2003-06-16 18:53:33 +00:00
  • 8aa7c6bf33 Renamed getSkinfiles(path) to getSkinfilesInPath(path) because Rhino's Java Bean setter/getter mechanism got confused for app.skinfiles. hns 2003-06-13 15:46:41 +00:00
  • 2a5c4a7c8f Implement index based put, get, has and delete that always handle the index to a string. hns 2003-06-13 15:43:15 +00:00
  • 84eac337cf Do not needlessly convert scriptable to string in put(). hns 2003-06-13 15:42:10 +00:00
  • 4d419c3a46 Implemented global getURL() function hns 2003-06-13 15:41:26 +00:00
  • 02f8ad1e3e Switch from WrapHandler to WrapFactory. hns 2003-06-13 15:40:52 +00:00
  • 6157bb0943 Checking in Image extension. hns 2003-06-13 10:02:04 +00:00
  • a31f2cee77 Checking in FTP client extension. hns 2003-06-13 09:06:04 +00:00
  • 760e361b3f add getDBConnection(). hns 2003-06-12 16:09:27 +00:00
  • 1515cc96af Add definition of File object (FESI compatible). Minor fix for line numbers in debug output. hns 2003-06-12 16:09:11 +00:00
  • 0c2ac1d781 Checking in first implementations of Database and File objects. hns 2003-06-12 16:08:01 +00:00
  • 2b9b2d10c9 Exclude least significant octet of the remote IP address from the session cookie id, but include the original client address if it is available in a proxy request. hns 2003-06-11 16:08:01 +00:00
  • 43f9cac739 Explicitely call props.update() in updateProperties(). Fix cron job reparsing bug caused by reliance on lastPropertiesRead instance variable Set scheduler thread prioroty to NORM_PRIORITY+1 hns 2003-06-11 13:49:32 +00:00
  • 855a461648 Changed signature of parse method. Increased default timeout to 10 minutes. hns 2003-06-11 13:47:45 +00:00
  • 96f551142c Added public update() method that checks the file and re-reads properties if necessary. hns 2003-06-11 13:32:09 +00:00
  • abbb48be8d Fix bug 241 introduced in fix of bug 230. collections/mountpoints on transient nodes are now created as normal node properties. The check whether they need to be persistified is only done in makePersistentCapable(), i.e. when the node is actually stored. hns 2003-06-11 08:24:40 +00:00
  • 67f38dceb8 Unwrap native java objects gotten as properties. hns 2003-06-10 15:41:57 +00:00
  • 534bba3d69 Various fixes and advancements in JavaObject and GlobalObject. hns 2003-06-10 15:36:01 +00:00
  • 1ea945f82a Added code for Rhino scripting engine. hns 2003-06-10 13:41:11 +00:00
  • 78411bea50 Added Rhino jar from 21.05.2003 snapshot (rhino1_5R5pre) hns 2003-06-10 13:39:41 +00:00
  • 575f00ac83 * Include all jar files from the main lib/ext directory * Update Helma build version to 1.3-alpha-0 hns 2003-06-10 13:37:51 +00:00
  • 676b70519d Merging changes from 1.2.4 to 1.2.5 hns 2003-06-10 13:20:45 +00:00
  • 65e4db3d8a Merge from helma_1_2, updating to Mckoi 1.0.1 hns 2003-06-10 13:19:12 +00:00
  • eb29964104 This commit was manufactured by cvs2svn to create tag 'helma_1_2_5'. hns 2003-06-06 14:39:26 +00:00
  • d19d094409 Fixed getChildElement("api") and corrected the output of various thread/evaluator counter methods. hns 2003-06-06 14:39:25 +00:00
  • 41c9ff1670 Updated version info. hns 2003-06-06 13:52:50 +00:00
  • a380be0ab0 Removed obsolete HopObject.link() function. hns 2003-06-06 13:48:22 +00:00
  • 98839ca296 Fixed typo, removed obsolete HopObject.link() function. hns 2003-06-06 13:48:08 +00:00
  • 6b92af2ae0 * Added list of empty HTML tags which are never closed in tag balancing code. * Added <br> to the list of pseudo-block elements to prevent further <br> tags to be generated if there already are any in the text. hns 2003-06-06 13:41:17 +00:00
  • f2c51c8e32 set parent when creating a virtual/mountpoint/collection node for transient objects. hns 2003-06-05 17:19:03 +00:00
  • dc0c961001 added 1 comment hns 2003-06-05 17:18:25 +00:00
  • bfeec55499 Allow zipped files to add to app.properties and db.properties. hns 2003-06-05 17:12:53 +00:00
  • e35a53f5e8 Print stack trace if it hasn't been thrown by the ScriptingEngine hns 2003-06-05 17:12:15 +00:00
  • 9808820d92 Check if a virtual/collection/mountpoint object needs persistence when it is created on a transient object. hns 2003-06-05 16:50:13 +00:00
  • ff563e677c Allow insertion of nodes with empty property map. hns 2003-06-05 16:49:25 +00:00
  • b8dbca8ce2 updated version info to 1.2.5-pre1 hns 2003-06-04 15:30:51 +00:00
  • c6a371a609 Updated Helma version to 1.2.5-pre1, Antclick to 1.0.1-pre1 Removed apps.properties generation element, the file from CVS is used instead. hns 2003-06-04 13:40:25 +00:00
  • 60cae807de Added static and staticMountpoint options. hns 2003-06-04 13:37:49 +00:00
  • a9f1797258 Fetch joined nodes in dedicated method, fixing a number of bugs related to reading to the resultset after ResultSet.next() has been called. hns 2003-05-28 18:01:23 +00:00
  • 8fcdf88bcf Support '*' as xmlrpcHandlerName. This will handle any XML-RPC request that isn't handled explicitly by another application. The full XML-RPC method name will be passed through to the application, i.e. the handler name is not cut off. hns 2003-05-28 17:33:47 +00:00
  • 284850f973 Fetch joined objects wherever possible/necessary. This should probably be factored out into a separate method. hns 2003-05-28 16:49:01 +00:00
  • 469399e972 Implement aggressive loading of object references via left joins hns 2003-05-28 13:33:23 +00:00
  • 8b1fed03d3 Some cleanup work, plus made session sleep interval settable so that there is a simple way to run schedulers more frequently than once per minute. hns 2003-05-27 14:52:40 +00:00
  • 4596141f73 Converted the parse* methods from static to instance methods. hns 2003-05-27 14:51:32 +00:00
  • 7a7b8158a3 Replaced Hashtables with HashSets, some indentation fixes. hns 2003-05-27 11:18:31 +00:00
  • 5c192c437a * Use explicit list of columns in select statement. * Only care and know about columns that are mapped or used internally. * Fixed bug in size() for grouped collections with loadmode=aggressive. hns 2003-05-22 11:08:04 +00:00
  • 1f38513443 No more reserved dedicated RequestEvaluator for internal function calls. A few other minor cleanups. hns 2003-05-22 10:48:21 +00:00
  • 49e4cacf04 Init servlet to the application's actual charset. hns 2003-05-21 13:14:11 +00:00
  • 7c7e53bc0a Fixed gzip content encoding options, which was broken. hns 2003-05-21 13:02:57 +00:00
  • f90d33adda Check if a zip file exists before adding ot to list. hns 2003-05-21 13:02:19 +00:00
  • cb8b8462d6 Update to version 1.0.1 hns 2003-05-21 10:28:06 +00:00
  • e2bff453f6 * Mount static directory at /app/static by default. * Start applications in start() rather than in register()/bind() so we can rebind applications without restarting them. hns 2003-05-20 16:18:57 +00:00
  • 143abce688 Do not set anonymous flag in getParent() hns 2003-05-20 10:41:44 +00:00