Commit graph

1686 commits

Author SHA1 Message Date
hns
a2dfb6a9b9 Only check for executable bin/java if JAVA_HOME is set, and if it isn't found,
don't exit but just issue a warning and let the script go on.
2003-09-16 15:30:53 +00:00
hns
e6959610db Fix for http://helma.org/bugs/show_bug.cgi?id=273
Be more precise about encoding newlines: Do not add any new linebreaks,
plus use the system specific line separator.
2003-09-16 13:11:59 +00:00
hns
4466c58864 Constraints-linkmode patch from Daniel Ruthardt
<http://grazia.helma.at/pipermail/helma-dev/2003-August/000272.html>
Changes to patch:
* Changed type.properties option name from "linkmode" to "logic"
* Added support for XOR
* Some internal code reorganization
2003-09-15 16:26:42 +00:00
hns
a73d52d184 Remove support for [named] but still consider it when parsing. 2003-09-15 16:20:56 +00:00
hns
71fae17bf4 Do not try to resort to child object when getting a property (experimental) 2003-09-15 14:42:23 +00:00
hns
512cea20ac Call hasFunction() on the prototype rather than on HopObjects themselves to avoid fetching
references or child objects from database.
2003-09-15 14:41:08 +00:00
hns
fad97efc60 * Always throw exception when there's an error in global code
* Reimplement hasFunction() on prototypes for HopObjects.
* rename putPrototype() to registerPrototype()
2003-09-15 14:40:07 +00:00
grob
7bdbcf1de8 updated to antville 1.1 database schema 2003-09-12 16:15:02 +00:00
hns
976db3a463 Added HopObject.getById() as proposed by Juerg Lehni
http://helma.org/bugs/show_bug.cgi?id=269
Added JavaDoc comments
2003-09-10 10:59:24 +00:00
hns
2b9cee82da Print out exception's toString() rather then just its class. 2003-09-09 11:23:15 +00:00
hns
5577263f66 * When there is a syntax error in any file associated with a prototype, always
throw an error and display a proper error message when on object of that type is
accessed.
*  RhinoEngine.hasFunction() now checks on the actual object (wrapper) and
thus is always right.
*  Unwrap WrappedException when caught in RhinoEngine.invoke()
*  Use helma.util.CacheMap instead of java.util.WeakHashMap for wrapper caching,
possibly fixing a GC problem
2003-09-05 19:53:07 +00:00
hns
6eb8cf9442 Try to use proper character encoding in multipart/form-data (file upload) requests. 2003-09-05 19:32:34 +00:00
hns
fb3196cfd5 Unwrap JS-native number and boolean objects in put() and return them as
they are in get().
2003-09-05 15:44:24 +00:00
hns
6d7a8eba66 Make sure the array returned by HopObject.list() has its prototype set properly. 2003-09-04 20:03:41 +00:00
hns
76a07955d3 Allow unprototyped JavaScript objects as macro handlers. 2003-09-03 10:05:21 +00:00
hns
e3dfc52191 Return a native JavaScript array in HopObject.list() rather than a wrapped Java array. 2003-09-02 16:55:24 +00:00
hns
75c7dff23b Fix bug in HopObject.remove() where we prematurely call unset().
The right thing *seems* to be to actually always call removeNode on the node's parent.
2003-09-02 16:08:05 +00:00
hns
262ba9d5e3 Remove debug message when removing function 2003-08-29 15:49:58 +00:00
hns
1857ff79c5 Increased version to 1.3.1 2003-08-28 12:17:53 +00:00
hns
8e4c36d83e Token definitions moved from org.mozilla.javascript.TokenStream to
org.mozilla.javascript.Token in the new Rhino CVS snapshot.
2003-08-27 15:55:36 +00:00
hns
31987ea058 Removing rhino.jar from lib/ext (it's in lib now). 2003-08-27 15:54:03 +00:00
hns
f9afc55c26 Adding rhino.jar to list of system classes, removing jdom.jar. 2003-08-27 15:53:15 +00:00
hns
e787d2f209 Removing jdom.jar. 2003-08-27 15:52:05 +00:00
hns
18684f94ec Adding Rhino CVS snapshot from 2003/08/27. 2003-08-27 15:50:03 +00:00
hns
2e315e21d9 Make HTTP response status default to 200. 2003-08-25 14:40:33 +00:00
hns
7436ee2237 * Changed Helma version to 1.3.1
* Made CVS tag of apps configurable with cvs.apps.tag option
2003-08-20 12:08:10 +00:00
hns
f5089a8c01 return wrapped.toString() in toString(). 2003-08-19 14:11:46 +00:00
hns
5c9df59014 Check if Server singleton exists before trying to get the list of extensions from it. 2003-08-18 14:50:18 +00:00
hns
c583133234 Catch all exceptions in stopAll() application loop to make sure all apps are stopped. 2003-08-18 12:24:56 +00:00
hns
a5feff74f6 Added "..." to shutdown stderr message. 2003-08-18 12:24:16 +00:00
hns
ebdf361ce5 Upgrade from Mckoi release 1.0.1 to 1.0.2 2003-08-18 11:55:34 +00:00
hns
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.
2003-08-18 11:54:24 +00:00
hns
1a45d7e049 Changed getxxx() to getXxx() in bean getters and setters as rhino is able to
deal with this and create obj.xxx properties.
2003-08-18 11:53:01 +00:00
hns
303e0f4c55 Print out message in shutdown hook so people know everything's ok. 2003-08-18 11:51:10 +00:00
hns
3be7e4db54 Fix NullPointerException in writeln() introduced in previous commit. 2003-08-18 11:13:39 +00:00
hns
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
2003-08-18 10:29:34 +00:00
hns
7dc1bb8a2f setJavaPrimitiveWrap(false) in wrap factory and remove special handling for strings. 2003-08-18 10:28:45 +00:00
hns
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
2003-08-18 10:27:55 +00:00
hns
331dc61787 Committed code improvements proposed by Jürg Lehni
http://grazia.helma.at/pipermail/helma-dev/2003-August/000330.html
2003-08-18 09:58:26 +00:00
hns
99a0c1ea84 Fixed a few bugs caused by bad argument checking, mostly
null that should have been Undefined.instance.
2003-08-08 14:23:12 +00:00
hns
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.
2003-08-08 14:03:53 +00:00
hns
d8236fb3b5 Do not override wrapAsJavaObject() in WrapFactory since it is only called
after we already did our checks in wrap() or wrapNewObject().
2003-08-08 12:19:00 +00:00
hns
b25185451f Catch all Throwables when initializing extensions, improved logging output. 2003-08-07 16:32:08 +00:00
hns
bec04779ed ported from fesi to rhino. 2003-08-07 16:22:26 +00:00
hns
bfc1b8914d Remove Fesi scripting engine from Trunk 2003-08-07 16:11:31 +00:00
hns
d4b8b3c2af Removing FESI from Trunk 2003-08-07 16:05:11 +00:00
hns
817262b331 Removed regexp jars, not needed by Rhino. 2003-08-07 15:38:26 +00:00
hns
dbdf74b27b Set lastError instead of throwing Exceptions. 2003-08-07 15:00:48 +00:00
hns
dbd5d63853 Use TYPE_INT_ARGB instead of TYPE_INT_RGB when creating new BufferedImage
instances to allow for transparency (proposed by Jürg Lehni)
2003-08-07 13:05:03 +00:00
hns
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.
2003-08-07 13:04:05 +00:00