Commit graph

1814 commits

Author SHA1 Message Date
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
69bf4432a6 Exclude jimi.jar from package archive. We are now using Juerg's javax.imageio.*
by default. People who rely on JDK 1.3/Jimi will have to download and install it
manually.
2004-06-28 12:33:27 +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
b3ee1d4060 keyword substitution changes 2004-06-17 14:35:21 +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
a788892f3e added the copy file instruction for src/META-INF/services/javax.imageio.spi.ImageWriterSpi 2004-06-17 11:35:52 +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
lehni
0f40d6142b Part of the new Imaging libary: produces a BufferedImage, with and IndexColorModel, handles alpha channels and dithering. 2004-06-17 09:51:13 +00:00
lehni
b19370cdbc Part of the new Imaging libary: Relies on ImageGenerator for saving images, implements a bunch of new functions. 2004-06-17 09:49:24 +00:00
lehni
6fd57e8598 Initial check-in. ImageWaiter waits for asynchronously loaded images. Derived from ImageGenerator.ImageLoader 2004-06-17 09:48:18 +00:00
lehni
1d8560ea28 New version of the imaging library. ImageGenerator is now an abstract class, extended by ImageIOGeneartor and JimiGenerator 2004-06-17 09:46:26 +00:00
lehni
ddbf06f173 Initial check-in. ImageFilterOp wrapps an ImageFilter in a BufferedImageOp 2004-06-17 09:41:04 +00:00
lehni
0229f6bcc4 Initial check-in of the GIFEncoder, used both in helma.image.imageio.gif.GIFImageWriter and helma.image.jimi.JimiGenerator 2004-06-17 09:39:55 +00:00
lehni
40861948b9 Initital check-in of the JimiGenerator 2004-06-17 09:37:42 +00:00
lehni
c8331a38e2 Initital check-in of the ImageIOGenerator 2004-06-17 09:36:44 +00:00
lehni
be5dcabf62 Initital check-in of the ImageIO GIFImageWriter codec 2004-06-17 09:34:28 +00:00
hns
866f4fdf2e Add a loadNodes() to releaseNode() so we are sure child index has been loaded.
This is to prevent the index to be loaded subsequently, which potentially would
reintroduce the released node.
2004-06-14 14:04:30 +00:00
hns
f334900a79 Implement skinCharset option that allows to set the
encoding for skin files to something else than the
platform's file.encoding.
2004-06-12 21:00:19 +00:00
hns
cf6d9b8330 Make DbMapping.getInsert() return and cache the full insert prepared statement. 2004-06-09 15:46:22 +00:00
hns
b201bf8f35 Null out tableName and dbSource if they are inherited from parent mapping.
Make sure we always use parent mapping in get/setLastDataChange() and
getNewID() if table and dbsource are inherited.
2004-06-09 15:42:34 +00:00
hns
1b223aef93 Remove unused Application reference 2004-06-09 10:56:48 +00:00
hns
1b1b26c9db Use Context.javaToJS() utility method to convert
arguments in invoke()
2004-06-08 21:19:51 +00:00
hns
15cae3e3e7 Change ö to oe to prevent errors caused by wrong encodings 2004-06-08 16:09:01 +00:00
hns
3b93e81170 Change 4th argument to ScriptingEngine.invoke from boolean to int to be able
to pass more explicite argument processing flags. Next to default and XML-RPC
processing there is now an option not to process arguments.
2004-06-08 16:05:55 +00:00
hns
6f8907c6bd Use RequestEvaluator.invokeDirectFunction() rather than ScriptingEngine.invoke() 2004-06-08 15:42:51 +00:00
hns
38ef27fbce remove redundant check in Macro constructor 2004-06-08 14:42:11 +00:00
hns
477094bde7 Update version to 1.4.1-rc1 2004-06-07 12:00:13 +00:00
hns
75f6e3515b Properly wrap skin return value in createSkin(). 2004-06-06 20:14:37 +00:00
hns
1e63855c80 Unwrap first argument to renderSkin() calls in case
it is a Wrapper instance.
2004-06-06 20:07:12 +00:00
hns
11d95ce2f1 Move call to typemgr.checkPrototypes() from RequestEvaluator to RhinoCore.
The TypeManager and Prototype classes will move to the helma.scripting package
in the near future.
2004-06-04 16:06:33 +00:00
hns
a3697b8d82 newPrototypes hashset is never used. Print stack trace if debug is enabled. 2004-06-04 16:03:36 +00:00
hns
da7ba1dc51 make checkFiles() private 2004-06-04 16:02:52 +00:00
hns
33b48ff93a Expose message field in Session object through bean accessors
Change getters and setters for other properties from getxxx() to getXxx()
2004-05-27 14:29:09 +00:00
hns
bc85445744 Do not catch Exceptions when wrapping globals in enterContext() - this makes
us ignore syntax errors in scripts, prevents useful error messages to be displayed
and causes functions to be called in illegal state.
2004-05-25 13:29:54 +00:00
hns
c3af34272f Try to create DbSource even if neither url nor driver are defined, because
all we're preventing otherwise is a helpful error message.
2004-05-19 13:58:09 +00:00
hns
c908d1d097 use Properties.getProperty() to get driver, url, username and password
because Properties.keys() does not include the default Properties' keys.
Improved error messages for missing driver and url properties.
2004-05-19 13:57:22 +00:00
hns
0a030f932a Use lazy loading constructors where possible for extension constructors 2004-05-19 13:55:51 +00:00
hns
ae38654a7a No need to lower-case dbsource name in app.getDbSource() 2004-05-19 13:55:17 +00:00
kmfdm
9934a5af4c deffensively check properties ignoring case 2004-05-06 17:00:26 +00:00
kmfdm
7ad0968ea4 removed changes to systemproperties
(not neccessary to use case-sensitive db.properties...)
2004-05-06 15:37:25 +00:00
hns
adbd17d6aa Added exportNode() method that takes a DbMapping as second argument. 2004-05-05 14:31:17 +00:00
hns
ff6b590148 Set http_language in request data object to Accept-Language header. 2004-05-03 14:39:04 +00:00