Commit graph

1412 commits

Author SHA1 Message Date
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
hns
30e218b99e Checking in SkinKey class for per-request skin caching. 2003-06-25 15:49:06 +00:00
hns
2623c03f62 Added native implementation for String.trim(), Date.format() and Number.format(). 2003-06-25 15:47:13 +00:00
hns
1a9f3a1e21 Changed dependsOn() argument to String to force coercion to string.
This will probably break FESI, but is required by Rhino (e.g. for NativeDate).
2003-06-25 15:19:52 +00:00
hns
9a05228c4c Refactored and simplified renderSkin* methods. 2003-06-25 15:15:02 +00:00
hns
5618ac1b4e Internally replace '.' with '_' in action names. 2003-06-25 15:14:24 +00:00
hns
b98f8b6751 Internally replace '.' with '_' in action names.
Implement proxy method for Application.getSkin() that takes care of per-request caching.
2003-06-25 15:13:46 +00:00
hns
146d9d9285 Changed skin cache methods to take any object as key. 2003-06-25 15:12:20 +00:00
hns
89e9e1d32f Changed signature of getSkin to take a prototype name instead of a path element parameter. 2003-06-25 15:11:02 +00:00
hns
ffc8956b8a Added setText() method and lots of JavaDoc comments. 2003-06-25 12:14:36 +00:00
hns
7f213bf43a Make res.skinpath work. 2003-06-25 11:56:11 +00:00
hns
9e5ab59493 Do not create a constructor for HopObject - this is done by defineClass(). 2003-06-25 10:46:37 +00:00
hns
352f9c7fec Follow Rhino conventions for JavaScript constructor naming. 2003-06-25 10:46:14 +00:00
stefanp
203e409bc6 fixed chopDelimiters() again 2003-06-24 14:42:59 +00:00
stefanp
84ae9050f7 chopDelimiters() fixed to chop beginning as well as ending from the same line 2003-06-24 14:31:38 +00:00
hns
1d5e54c134 Remove unused prototypeField variable. 2003-06-24 14:11:05 +00:00
hns
284121edeb Removed reference to FESI package. 2003-06-24 14:07:33 +00:00