Commit graph

1578 commits

Author SHA1 Message Date
hns
47f548afa4 Fix indentation 2003-07-31 14:28:27 +00:00
hns
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
2003-07-31 12:33:54 +00:00
hns
84e4c9361d Use initial capacity of 4 for empty macro parameter maps to allow some room
for macro-added parameters.
2003-07-30 17:16:04 +00:00
hns
08b50f7c59 Use WrappedMap copyOnWrite feature to do lazy copying of parameter map only
when it is actually modified by the macro.
2003-07-30 17:06:04 +00:00
hns
4a72e955ac Implement copy-on-write of the wrapped map. 2003-07-30 17:00:52 +00:00
hns
fad3f06b5c Introduce helma.util.WrappedMap, fixing bug 258.
http://helma.org/bugs/show_bug.cgi?id=258
2003-07-29 16:13:09 +00:00
hns
a85de95c0b Fix bug 262
http://helma.org/bugs/show_bug.cgi?id=262
2003-07-29 14:03:26 +00:00
hns
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.
2003-07-29 12:39:01 +00:00
hns
4485040fb3 Add strangely missing semicolon. 2003-07-28 15:56:33 +00:00
hns
1e16d82ba9 Build prototype-name to path objects mapping in path object from res.handlers rather than
finding out ourselves.
2003-07-28 15:18:51 +00:00
hns
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.
2003-07-28 15:16:38 +00:00
hns
5045727f11 Checking in patch from Stefan Matthias Aust for including getName() function in File object 2003-07-28 09:56:39 +00:00
hns
e55c0e05c2 Checking in patch from Stefan Matthias Aust for default value support in getProperty(). 2003-07-28 09:56:10 +00:00
hns
5e8b1aebad Add null check when creating Hashtable for XML-RPC struct. 2003-07-23 13:11:19 +00:00
hns
83378773e9 Patch from Andreas Bolka to use appHome and dbHome properties 2003-07-23 09:19:58 +00:00
hns
260cca8971 Implemented removing of compiled functions that no longer exist as
proposed by Stefan Matthias Aust. General refactoring of the class.
2003-07-16 13:25:43 +00:00
hns
28c6810fb0 Fix delete() to call super.delete() and handling of subnodeRelation property
to call the subnodeRelation methods on the wrapped node.
2003-07-15 16:17:10 +00:00
hns
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.
2003-07-14 14:38:16 +00:00
hns
4cc4742d6c Implement basic tracer support. App properties to activate:
rhino.optlevel = -1
rhino.trace = true
2003-07-11 12:55:52 +00:00
hns
ebcdef2622 Implement toString() to display the wrapped Map. 2003-07-11 12:52:08 +00:00
hns
e9954c5898 Use proper subnode relation in getPropertyNames(). 2003-07-11 09:46:27 +00:00
hns
2790dde1b4 Improved code that gets the Helma home directory from the launcher.jar URL. 2003-07-09 15:23:30 +00:00
hns
b8dea83bce Patch by Stefan Matthias Aust:
Handle case where Helma classes are not packed in jar file.
2003-07-09 15:15:28 +00:00
hns
672153dbfe Include node state in serialization and refuse to read earlier serialization versions. 2003-07-08 16:15:02 +00:00
hns
4c94cba091 Fix bug 256: Replicated Mountpoint has null NodeManager. 2003-07-08 15:47:12 +00:00
hns
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
2003-07-08 13:52:36 +00:00
hns
cc29ebbaf4 Changed argument order in constructor. 2003-07-07 15:19:31 +00:00
hns
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.
2003-07-07 15:18:31 +00:00
hns
663dae7289 Serialize ID and name as Object rather than UTF to avoid NullPointerException
on mountpoints.
2003-07-07 12:45:11 +00:00
hns
8f53076707 Do not frivolously use Exceptions in place of basic null checks
as proposed by Stefan Matthias Aust on the mailing list.
2003-07-04 13:43:18 +00:00
hns
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
2003-07-04 11:37:51 +00:00
hns
1f860b5fbf Fixed stupid bug in typename variable assignment in constructor. 2003-07-04 11:33:08 +00:00
hns
6236eba83e Implement readObject() and writeObject() on some key classes to
make sure storageNames are properly internalized.
2003-07-03 13:42:41 +00:00
hns
c08395ae39 Fixed multiple bugs related to the embedded database:
* Do not test ElementName for objects from embedded db
* Do set DbMapping for embedded db collection nodes
* Do not fetch embedded db objects onDemand by NodeManager

http://helma.org/bugs/show_bug.cgi?id=251
2003-07-03 11:12:57 +00:00
hns
c48346b4bb XML-encode HopObject name to prevent illegal XML to be produced. 2003-07-03 09:19:00 +00:00
hns
19d1f286e9 Properly wrap internal __node__ property. 2003-07-02 16:18:13 +00:00
hns
6dcb82dc2f Updated to Rhino CVS snapshot from July 1, plus Igor's patch from
http://bugzilla.mozilla.org/show_bug.cgi?id=210605
2003-07-02 14:54:52 +00:00
hns
69971e8756 Filter out Undefined.instance from skin parameters. 2003-07-02 10:32:31 +00:00
hns
7476233449 Added test if final java command exists and is executable and print
a decent error message if not.
2003-07-01 16:13:41 +00:00
hns
3d3b839395 Solve the problem that integers are printed as floats as far as skin parameters and
macro return values are concerned.
2003-07-01 15:10:04 +00:00
hns
bc1b067cf0 Make RedirectException subclass java.lang.Error so app code knows it shouldn't catch it. 2003-07-01 14:47:56 +00:00
hns
9ff623ac77 Do not include system class loader to avoid conflicts with jars in classpath. 2003-06-27 10:31:42 +00:00
hns
e2f6ff11a1 remove whitespace from version 2003-06-26 17:01:04 +00:00
hns
84d5d76fb8 Updated version to 1.3.0 alpha 2003-06-26 16:54:21 +00:00
hns
9c2b288330 Update version string to 1.3.0 alpha 2003-06-26 16:53:11 +00:00
hns
942bbfa1fe Do not print stack trace on print errors. 2003-06-26 16:52:26 +00:00
hns
084b0e8e6c Implement phantom engine classloader trick for rhino 2003-06-26 16:52:05 +00:00
hns
a70ace86bd Implement global write() and writeln() 2003-06-26 16:51:18 +00:00
hns
fd2882e21d Merged changes from helma_1_2 (between helma_1_2_5 and helma_1_2_5_merge_1) 2003-06-26 14:10:04 +00:00
hns
61b8a4a35a Adapt to new signature of Application.getSkin(). 2003-06-25 15:50:00 +00:00