Commit graph

1940 commits

Author SHA1 Message Date
hns
c444ada032 Set the servlet's defaultEncoding to the app's charset
as soon as we get the Application reference.
2004-09-06 13:50:08 +00:00
hns
b8dd92a125 Switch to Jakarta Commons Codec for URL en/decoding to provide
encoding-sensitivity on JDK 1.3.
Use application charset for URL encoding and decoding.
UnsupportedEncodingException is propagated.
2004-09-06 13:48:30 +00:00
hns
2b48e43964 Implement decent string representation for path object. 2004-09-03 10:34:45 +00:00
hns
6bd558bcb0 Minor fixes from Juerg Lehni: Add trailing "/" in path info, plus code improvements 2004-09-01 15:27:13 +00:00
hns
0dd94cd340 Reverse order of global.init() and global.initStandardObjects() invocations. This is
required by Rhino 1.6R1pre and doesn't hurt with Rhino 1.5.
2004-08-30 13:24:43 +00:00
hns
4df534a590 Patch from Paul Alexandrow to query for groupby field rather than accessname
in getPropertyNames() if we have a grouped relation.
2004-08-30 13:18:35 +00:00
lehni
ed407c3188 Fixed a bug that affected transparent parts of images. 2004-08-30 10:35:18 +00:00
lehni
e2c62701d8 replaced the weird-bug-fix-line by this one, which should even be faster as no function calls are involved:
String fix = "" + alpha;
2004-08-06 17:17:25 +00:00
lehni
a730e1b1c0 correct comments. 2004-08-06 13:10:22 +00:00
lehni
18d1d5ed60 added a bugfix line for a very weird bug that only occurs from time to time, on some systems:
for more information, read the comments before the following line:
if (i == 0) Integer.toString(alpha);
2004-08-06 13:09:03 +00:00
lehni
23451becef a few bug fixes so that dithering now actually works. 2004-08-06 11:38:17 +00:00
lehni
6398e21b3b added drawImage for other ImageWrapper objects 2004-07-30 13:23:33 +00:00
hns
c491999cf5 Update version to "1.4.1" 2004-07-29 13:00:38 +00:00
hns
112bc0f6c1 Fix some more JavaDoc comments to stop javadoc from complaining. 2004-07-29 12:47:55 +00:00
hns
f89a057ffb Fix some JavaDoc comments. 2004-07-29 12:22:44 +00:00
hns
b72efe9dfb Remove unused WebBroadcaster class 2004-07-29 11:53:29 +00:00
hns
d8a7f6c3d4 Add getter for the underlying file 2004-07-29 11:43:48 +00:00
hns
f8d3f0e25d Allow onCodeUpdate function to be defined in prototype chain. 2004-07-28 19:00:52 +00:00
lehni
7ac392b088 added FileObject support for getInfo and corrected error messages. 2004-07-16 10:36:04 +00:00
lehni
98a6050140 added "protected getFile()" for FileObject support in Image.getInfo 2004-07-16 10:35:30 +00:00
p3k
4f33588483 * moved retrieval of propertyName into extra template
* moved global variables into stylesheet element
* simplified the sorting of properties
* renamed property tempalte to getOutputItem
* added comments
2004-07-12 15:58:27 +00:00
lehni
9192cde250 Addapted to the chanes in ImageGenerator's read functions (for URL and String parameters) 2004-07-12 15:19:51 +00:00
lehni
61872cfac8 added new read() methods that read from URL (for urls) and String (for local filenames) objects. 2004-07-12 15:19:13 +00:00
hns
0c20effa47 * Implement Image.getInfo() function that returns an ImageInfo object for a
byte array, input stream, url or file name argument.
* Change Image() constructor to accept a path name as argument (converts to
   file: URL internally).
2004-07-12 14:03:41 +00:00
hns
8934c855ea Add Marco Schmidt's ImageInfo class as helma.image.ImageInfo. 2004-07-12 14:01:21 +00:00
p3k
1854389d32 hopefully fixed the sorting problem with child nodes having propertyname attributes 2004-07-12 13:01:28 +00:00
lehni
12dc7af723 a few clean-ups. 2004-07-12 12:39:23 +00:00
lehni
659238c00b Bugfix in "protected BufferedImage resize(int w, int h, boolean
smooth)", as suggested by  Paul Alexandrow
2004-07-12 12:36:31 +00:00
hns
1eb454d97f Display property names with <property propertyname="" ...> elements 2004-07-12 08:26:25 +00:00
p3k
d45f7a1e99 * added support for <property name="xyz"> elements
* prefer output of prototyperef value rather than generic "HopObject" whenever possible
* fixed linebreaks (somehow they appeared corrupted on my machine)
2004-07-06 14:28:18 +00:00
hns
dc5bba8ddd Use getChildElement() instead of getNode() to evict old keys when
changing the accessname property
2004-07-06 14:00:53 +00:00
hns
9466ccd76e Add xml style sheet processing instruction 2004-07-05 13:44:31 +00:00
hns
8573a3a5bd Install helma.xsl style sheet when opening a database that doesn't have it already 2004-07-05 13:42:12 +00:00
hns
cdedb03d27 Move helma.xsl from dom to db because it's XmlDatabase which installs the file 2004-07-05 13:39:51 +00:00
hns
29c4e2bcc3 Add Tobi's stylesheet for Helma xml db files 2004-07-05 10:41:15 +00:00
hns
3903309a06 Updated date in version string 2004-06-29 16:15:00 +00:00
hns
f0e9bc064a Renamed postCompile() to onCodeUpdate() as discussed on helma-dev 2004-06-29 15:15:53 +00:00
hns
58270ab3a6 Remove special chars from author name to fix problems with encoding 2004-06-29 13:24:21 +00:00
hns
2a24c4f8aa Committing patch from Rashid to call postCompile() function if it is defined
after a prototype has been evaluated.
2004-06-28 16:56:17 +00:00
hns
e1139be0ff Fix references from transient nodes to persistent ones in Xml.read() and Xml.write().
* In XmlWriter generate reference tags when referencing a persistent node from a
   transient one.
* In XmlReader make sure we have the app's NodeManager to look up node
   references we don't know about.
Fixes bug 371: http://helma.org/bugs/show_bug.cgi?id=371
2004-06-28 16:36:33 +00:00
hns
c36745a7f5 Explicitly use StringBuffer.append(String) instead of
StringBuffer.append(StringBuffer) in order to run on JDK 1.3 VMs which don't
have the latter, even when the code was compiled with JDK 1.4 +.
2004-06-25 13:30:27 +00:00
lehni
fa49592735 Removed benchmarking info to System.out.println 2004-06-17 14:25:25 +00:00
lehni
8c7513a056 Fixed a bug concenring severe slow downs when filtering BufferedImages with strange ColorModels 2004-06-17 14:16:06 +00:00
lehni
65c27906ac file moved to /src/META-INF/services 2004-06-17 11:34:37 +00:00
lehni
49ed56a83f Initial check-in. META-INF file for helma.image.imageio.gif.GIFImageWriter 2004-06-17 11:34:04 +00:00
lehni
252fb40ee0 a few last minute changes, clean-ups an comment-corrections. 2004-06-17 10:24:40 +00:00
lehni
63321fbae2 The Acme GifEncoder is replaced by helma.image.GIFEncoder 2004-06-17 09:58:12 +00:00
lehni
b326f01bb6 Part of the new Imaging libary: tells ImageIO about the existense of the GIF codec. Needs to be copied to META-INF/services 2004-06-17 09:54:41 +00:00
lehni
e03a831981 Part of the new Imaging libary: works with the new ImageGenerator 2004-06-17 09:53:03 +00:00
lehni
e861a86c30 Initial check-in. Used in helma.image.Quantize for error diffusion dithering. 2004-06-17 09:52:14 +00:00