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
hns
17427e1e16
Implement getImage method to get to the java.awt.Image as suggested by Jürg Lehni.
2003-08-07 12:17:55 +00:00
hns
55b48fd484
Implemented session.login(HopObject) as proposed by Stefan Matthias Aust.
...
http://grazia.helma.at/pipermail/helma-dev/2003-July/000191.html
Added some JavaDoc comments.
2003-08-07 11:58:57 +00:00
hns
bebce2ad3d
Make HopObject implement the Rhino Wrapper interface.
...
Replace NativeJavaObject with Wrapper when unwrapping wrapped Java objects.
2003-08-07 11:26:44 +00:00
hns
4b91011578
Implement invocation of scripted getChildElement(name) function when resolving
...
a request path also when objects implement IRequestPath interface.
The biggest change was induced by the need to have an object representing the
request path that is able to grow while the path is being resolved. Previously, this was done
by passing an ArrayList to the scripting engine that was then transformed into a JavaScript
array. This is now done using a proprietary RequestPath object.
2003-08-06 16:36:49 +00:00
hns
8c080a5da3
Implement getXmlDocument() and getHtmlDocument()
2003-08-06 16:28:01 +00:00
hns
2e9be2b71e
Unset propRelation if group/accessname isn't used anymore.
2003-08-05 18:43:10 +00:00
hns
092cb230c0
Allow upper case characters in app names by interpreting the property value as
...
app name in apps.properties, if it is defined.
2003-08-05 15:54:29 +00:00
hns
e8a45cb3b4
Added getGraphics method as proposed by Jürg Lehni.
...
http://grazia.helma.at/pipermail/helma-dev/2003-July/000237.html
Added basic JavaDoc comments.
2003-07-31 14:58:34 +00:00
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