hns
f36e390caa
Make log level in helma.util.Logging configurable, and make it derault to INFO.
2004-01-23 16:33:45 +00:00
hns
d170d73565
Implement aggressive object reference loading for Oracle pre-9.
...
See http://helma.org/bugs/show_bug.cgi?id=300
2004-01-22 18:08:50 +00:00
hns
bb9152d2d1
Rhino CompilerEnvirons doesn't need the ErrorReporter anymore.
2004-01-22 16:02:50 +00:00
hns
529a6e7e8c
Updated to current CVS snapshot
2004-01-22 16:01:49 +00:00
hns
d88c8c50d6
Updated version date
2004-01-22 16:01:21 +00:00
hns
d62f95e941
* Implement ordered prototype updating in updatePrototypes():
...
global code is updated first, and parent prototypes are updated before
their descendants. The purpose is to respect inter-prototype dependencies,
i.e. HopObject code using global and parent prototype code.
* Marked some private methods as private.
* Use toString() rather than getMessage() on EcmaErrors, otherwise the
error file/line number is missing from the message.
2004-01-21 16:56:04 +00:00
hns
67e4f11fdb
Return an unmodifiable collection in getPrototypes() to prevent major damage
2004-01-21 16:53:06 +00:00
hns
609a8700c9
add two little comments.
2004-01-21 16:52:34 +00:00
hns
e596a60f64
Improved error reporting:
...
* Track and report errors in parent prototypes
* Fix bug where global error was wrongly reset
2004-01-20 18:48:59 +00:00
hns
908f8134cb
Added DynamicGlobalObject. Currently, this just falls back to the
...
per-thread scope when a get() returns NOT_FOUND on the shared
global scope, fixing http://helma.org/bugs/show_bug.cgi?id=322
(kind of hackish, but ok performance-wise).
Potentially this might also be the place to add compile-once script
modules to the global object using a mixin-style approach.
2004-01-20 17:57:35 +00:00
hns
8236ff3e18
Use core.getScope() rather than using core.global directly.
2004-01-20 17:52:20 +00:00
hns
df57e51235
Rhino doesn't like a null ErrorReporter so we implement a dummy one.
2004-01-16 17:40:11 +00:00
hns
1b08ced5c5
Adapt to new signature of TokenStream constructor again *sigh*
2004-01-16 15:50:39 +00:00
hns
ebb39d0d9e
Updating to Rhino snapshot from 2004/01/15.
2004-01-16 14:51:57 +00:00
hns
3e6f4392c7
Add a separate removeChild() function to remove a child object.
...
Add safety check to remove() to prevent accidental use of the old version.
2004-01-15 18:20:09 +00:00
hns
6f39e2109c
Use getChildElement() rather than getNode() to resolve Node based skins.
2004-01-14 16:59:33 +00:00
hns
6a1466b0bc
- Rewrote remove() and removeNode(): removeNode() just releases the
...
child node, but *never* deletes it from the database. remove()
actually deletes the node from the database and also releases it
from its parent.
This affects HopObject.remove() and HopObject.remove(HopObject),
which use these methods. From now on, the only way to delete a
HopObject from db is to use the remove() function without arguments.
HopObject.remove(HopObject) should be used to
- remove a child object from an embedded db collection without
deleting it
- removing a hopobject from a relational db collection with
cachemode = aggressive if the collection does not belong to the
child object's parent.
- Do not return on-demand nodes (groupby, accessname) in getProperty().
- Avoid creating loops in parent chain when creating cyclic references
on transient objects before committing them to db
- Removed unused links vector and code
- Rename Enumerations because enum is a reserved word in Java 1.5
2004-01-14 16:58:38 +00:00
hns
237b785fa9
Remove unregisterNode() because it is doing silly things, like deleting
...
nodes when it shouldn't.
2004-01-14 16:52:54 +00:00
hns
5b9fe8fbfc
Remove funny println()
2004-01-14 16:52:04 +00:00
hns
9e3d057aa8
Do not try to get JavaScript properties in jsFunction_get().
...
Renamed Enumeration because enum is a reserved word in Java 1.5
2004-01-14 16:35:27 +00:00
hns
a70cf2feaf
Reformatting.
2004-01-14 16:34:03 +00:00
hns
68891eeb95
Fix typo in Javadoc
2004-01-14 16:30:38 +00:00
hns
8d9c6504b8
Throw EvaluatorException in hasFunction() when a prototype
...
contains a syntax error.
2004-01-13 17:19:16 +00:00
fab69599fe
replaced tar.gz with tgz as suffix for tar'ed and gzipped files
2004-01-13 15:55:28 +00:00
142f2872ef
updated antclick version number and reflect antville's new global image location
2004-01-13 15:52:43 +00:00
7391f5e26b
sync'ed with current db schema
2004-01-06 17:39:48 +00:00
stefanp
a5170ccd5b
catch any exception from rhino parser
2004-01-06 16:28:01 +00:00
stefanp
e8e2c7098a
added function renderApi(appName) which can be used from commandline
2004-01-06 15:55:39 +00:00
stefanp
66e35b7704
supress security checks if accessed from commandline - setting via
...
res.data.noWeb
2004-01-06 15:51:12 +00:00
stefanp
98ad7be09b
added function renderApi() which renders the whole application docs into
...
files. used via webinterface or commandline.
changed RegExp: rhino needs global setting as second param in constructor
2004-01-06 15:50:29 +00:00
stefanp
08d3a94429
moved the actual rendering part in render_action into functions.js
2004-01-06 15:47:22 +00:00
stefanp
6a9b9acc86
always store server instance in static server field
2004-01-05 18:39:25 +00:00
stefanp
a2c2fea280
rewrote the main method: now we first create an instance of Server (but
...
don't start it) and run the application and through that class. config arguments
are exactly the same as in the main Server class.
commandline arguments after the [appname.functionname] part are now
passed to the function call as arguments.
scripting exceptions from the application are caught and printed correctly.
2004-01-05 17:34:46 +00:00
stefanp
f19623564c
print stacktrace when unable to load launcher.jar
2004-01-05 17:31:09 +00:00
stefanp
577938a1fa
further refined server startup.
...
added checkAppManager(int port) to be able to create an app manager
without actually starting the server.
2004-01-05 17:15:44 +00:00
stefanp
f9618455ac
removed test line, stupid me
2004-01-05 13:35:49 +00:00
stefanp
4e36815f61
fixed possible NullPointerException when called without homedir-setting
...
changed order in parseArgs()
2004-01-05 13:23:14 +00:00
stefanp
50be1bb115
added hasXX-methods
2004-01-05 13:20:11 +00:00
stefanp
c18761625b
Mail.setReplyTo() wasn't activated for rhino usage
2003-12-23 12:39:10 +00:00
stefanp
ed6e4d1125
Overhauled server startup checks + initialization
...
Config can be used from Commandline.java to construct a server
that doesn't open any ports.
2003-12-19 17:55:30 +00:00
hns
b7a1f113b5
Do not prefetch children in zero-argument HopObject.list(). We leave
...
it to the app writer to use loadmode=aggressive.
2003-12-19 16:30:59 +00:00
hns
e57a939fa0
Make type handling case-insensitive, change default prototypes to first-letter-upper-case,
...
do some heavily needed refactoring around helma.scripting.rhino.HopObject and
helma.framework.core.TypeManager.
2003-12-18 17:34:13 +00:00
hns
3f284fa899
Rephrase javadoc class summary comment
2003-12-18 16:42:55 +00:00
hns
19975df982
Avoid deprecated version of ScriptableObject.setAttributes()
2003-12-18 09:51:29 +00:00
hns
e1e09c943c
Remove unused field
2003-12-18 09:31:30 +00:00
hns
03dd0ca1dc
Fix imports, Javadocs
2003-12-18 09:31:12 +00:00
hns
7880764599
Fix Javadocs
2003-12-18 09:29:06 +00:00
hns
27ba52be0e
Fix URLs in Javadoc
2003-12-18 09:28:49 +00:00
hns
7cf471b69b
Change JavaScriptException to EvaluatorException, fix Javadoc.
2003-12-18 09:28:23 +00:00
hns
026d6e1429
Fix object precedence in parent prototype registration: If an object
...
is already registered with a parent prototype's name, leave it as it is
and don't overwrite it since it has higher precedence than we have.
2003-12-16 13:14:07 +00:00