Commit graph

2378 commits

Author SHA1 Message Date
hns
1f3a94c7be Removed dependency on helma.scripting.fesi package. 2001-09-11 19:06:12 +00:00
hns
fca259a498 added comments, introduced HTTP-METHOD field,
use HashMap instead of Hashtable.
2001-09-11 19:05:37 +00:00
hns
b73450de2a check whether thisObject is null in renderSkin (which is the case
for global skins).
2001-09-10 14:29:39 +00:00
hns
130d88ef63 back-pedalled on one of the previous changes
in getNodeHref().
2001-09-10 14:23:45 +00:00
hns
0472058607 back-pedalled on some of the previous changes
because it also affects helma.framework.core.Prototype.
2001-09-10 14:15:29 +00:00
hns
a0bfef94eb Some adjustments in Exception handling.
No solution yet to the problem that Syntax errors in function files
make applications ignore the changes in the file rather than report
an error when a funciton from the file is called.
2001-09-10 14:10:06 +00:00
hns
7e1108e7c3 Implemented a scheme to mark applications as scripting the Server
object itself. This is done by writing appname=self in the apps.properties,
which is probably a temporary solution, maybe it'll keep that way.
added getApplications() method to get an array of all applications.
2001-09-10 14:08:49 +00:00
hns
58e0306fb8 Implemented defaultServlet which lives outside of the
WildcardDictionary that matches URL patterns to servlets.
2001-09-10 14:06:46 +00:00
hns
619dafac6d Fixed global skin rendering in res.skin. 2001-09-10 14:05:18 +00:00
hns
453e319496 renamed scriptables to classMapping, slightly cleaned up
getNodeHref() and created getRootHref() method.
2001-09-10 14:04:42 +00:00
hns
3adf646e35 call new getObjectWrapper method in RequestEvaluator which
may or may not return a scriptable object, depending on whether
the object's class name is defined in scriptable.properties.
2001-09-09 18:09:55 +00:00
hns
33c7eda08c Further improvments regarding the "everything is scriptable"
philosophy. Scriptable Java classes are now defined in a
file called scriptable.properties.
2001-09-09 18:08:24 +00:00
hns
18f20ac807 rendering skins and getting hrefs no longer requires an object
that implements  IPathElement.
2001-09-09 18:06:52 +00:00
hns
83d696e98b Removed all dependencies of FESI. Yay! 2001-09-09 18:05:52 +00:00
hns
7d4cbdeb48 implemented direct callback into evaluator by its own thread. 2001-09-08 17:48:39 +00:00
hns
fe7380600b Implemented possibility to call back into an already running
Evaluator. Implemented JavaScript replacement evaluation for
mimicking IPathElement interface.
2001-09-08 17:47:08 +00:00
hns
6ff8401512 Only create standard prototype directories if the application directory
is freshly created, i.e. empty.
2001-09-08 17:45:53 +00:00
hns
e037fa0d19 Always create a sepcial Helma GenericObject EcmaScript wrapper
for Java Objects, allowing all Java objects to be scripted.
2001-09-08 17:45:10 +00:00
hns
a7d1e5d368 putting a macro into the sandbox with allowMacro() did the opposite of what it should 2001-09-08 15:22:15 +00:00
hns
50d49d0484 GenericObject can now (true to its name) wrap any Java object,
not just the ones implementing IPathElement.
2001-09-07 16:35:32 +00:00
hns
fda2b76a49 Added lots of comments.
Implemented clearCache method to purge the object cache.
2001-09-07 16:34:26 +00:00
hns
0715a041a7 new argument order in Application constructor 2001-09-07 16:33:19 +00:00
hns
20955225d0 Allow any java object to be used as Helma object. 2001-09-07 16:32:19 +00:00
hns
f0932b9e5a removed newlines at end of file.
(somehow my suspicion is that kdevelop is adding these)
2001-09-07 16:20:42 +00:00
hns
7922cad8e4 property lookups are not switched to lower case anymore. 2001-09-06 16:41:46 +00:00
hns
57b09f6228 removed getString method with default value argument. 2001-09-06 16:40:39 +00:00
hns
d8bf2153ee removed bug in getLogger() that caused a NullPointerException 2001-09-06 16:40:02 +00:00
hns
254a9d50f5 removed FESI dependencies from Application. 2001-09-06 16:39:12 +00:00
hns
c564b4e55b use getLogger() method instead of Logger constructor,
which is now private.
2001-09-03 13:08:09 +00:00
hns
43416e122c added getLogger() method and made constructor private to ensure
there is only one logger per symbolic file name.
2001-09-03 13:03:58 +00:00
hns
be7fe1780a Removed support for Activated JIMI package 2001-09-03 13:02:43 +00:00
hns
c207f380d9 removed support for activated JIMI package 2001-09-03 13:01:17 +00:00
hns
b027c74509 use the getLogger() method instead of the
Logger constructor, which is now private
2001-09-03 13:00:49 +00:00
hns
6cdad2233f moved to helma.scripting.fesi.extensions package 2001-08-31 16:02:48 +00:00
hns
b00f663f47 use application's event logger for error messages
instead of the one from helma.main.Server.
2001-08-31 15:54:53 +00:00
hns
29943bd3e9 initialize useTransactions to true.
getLogger is now proteced and should only be used by classes in
the helma.main package.
2001-08-31 15:47:40 +00:00
hns
4738cc516e Make getGroupbyMapping synchronized to prevent
race conditions.
2001-08-31 15:46:19 +00:00
hns
9646764d5f set logger in LRU cache to applications event logger. 2001-08-31 15:45:45 +00:00
hns
0b35d05b2b Logger now uses only one Thread for all instances.
Instead of a Vector, a Linked List is used as log buffer,
which is much better for removing items at the top
of the list.
2001-08-31 15:44:50 +00:00
hns
a3074265e4 CacheMap now has an optional Logger instance to which
cache rotation messages are logged.
2001-08-31 15:43:31 +00:00
hns
858f5abdbe simplified log file management, close log files when application is
shut down.
2001-08-31 15:42:33 +00:00
hns
bbc2a61160 Just replaced HOP by Helma 2001-08-31 15:42:03 +00:00
hns
bb3ab86969 moved initRequestEvaluator beneath the
type manager check.
2001-08-31 15:41:45 +00:00
hns
4ae884c47e initRequestEvaluator is not synchronized anymore.
This *may* lead to race conditions with the
updates of the Prototypes functions, actions etc.
Gotta investigate more into this.
2001-08-31 15:40:46 +00:00
hns
4da2834955 moved from helma.mime to helma.util.mime package
to reduce number of top level packages.
2001-08-31 12:06:15 +00:00
hns
24e8ef6b1e adapted import statement from helma.mime to helma.util.mime. 2001-08-31 11:53:47 +00:00
hns
00fe000d78 Never set a string array instead of a string HTTP parameter, but
if more than one value is present, additionally set an array parameter
with the name paramname_array (i.e. _array appended to the parameter
name)..
2001-08-30 22:28:46 +00:00
hns
4cd1f12700 removed old obsolete check for "prototype" in some user method 2001-08-30 22:26:54 +00:00
hns
cb388203d2 Added method that checks for storage compatibility
between DbMappings.
2001-08-30 22:25:10 +00:00
hns
b931f57e42 fix bug where node was registered with wrong key.
check for storage compatibility instead of equality in
setNode().
2001-08-30 22:24:38 +00:00