[ANN] Apache Cocoon 2.1.6 Released

Carsten Ziegeler users@cocoon.apache.org>, <general@xml.apache.org>, <dev@cocoon.apache.org>, <general@xml.apache.org>, <users@cocoon.apache.org
Fri Nov 19 10:24:04 2004


------=_NextPart_000_000C_01C4CE3B.2C0D2DB0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset="US-ASCII"

Apache Cocoon 2.1.6 Released
----------------------------

  The Apache Cocoon Community is proud to announce the new release
  of Apache Cocoon. This release is licensed under the Apache License,
  Version 2.0.

  Apache Cocoon is a web development framework built around the concept
  of separation of concerns (that is: allowing people to do their job
  without having to step on each other toes) and component-oriented web 
  RAD.

  Cocoon implements these concepts around the notion of 'component
  pipelines' modelled after the 'process chain' concept where each 
  worker specializes on a particular operation. This makes it possible
  to use a Lego(tm)-like approach in building web solutions where
  these components can be hooked together into pipelines without
  requiring further programming.

  We like to think at Cocoon as "web glue" for your web application
  development needs. But most important, a glue that can keep 
  concerns separate and allow parallel evolution of the two sides, 
  improving development pace and reducing the chance of conflicts.    

  The latest version is downloadable from
  http://cocoon.apache.org/mirror.cgi  
  (Please use the mirrors to download the release - it might take
  a little bit more time until the latest release is available on
  all mirrors, so give the mirrors some time - approx. 24h to update.)

  For more information about Apache Cocoon 2.1.6, please go to
  http://cocoon.apache.org. 

The Apache Cocoon Project

Carsten 


Carsten Ziegeler 
Open Source Group, S&N AG
http://www.s-und-n.de
http://www.osoco.net/weblogs/rael/


------=_NextPart_000_000C_01C4CE3B.2C0D2DB0
Content-Type: text/plain;
	name="changes.txt"
Content-Disposition: attachment;
	filename="changes.txt"
Content-Transfer-Encoding: quoted-printable

Changes with Apache Cocoon 2.1.6

*) Lucene: SearchGenerator incorrectly counts previous-index. Reported by: =
Tomasz Nowak (tnowak-p@netventure.pl) [AG]

*) Updated iText to 1.1. [AG]

*) Fix: buildList() in AbstractDatabaseAction generates incorrect parameter=
 list. [AG]

*) Fix: Webmail sample broken. [AG]

*) Fix: Context directory not required to be writable by the CLI. [AG]

*) Portal: If a coplet has an error, the error-uri has been called twice. T=
his is fixed now. [CZ]

*) Flowscript: Deprecated support for passing sitemap parameters into flows=
cript function as positional arguments. Use cocoon.parameters instead. Supp=
ort will be removed completely in Cocoon 2.2. [VG]

*) Portal: Request content length and content type are required in portlet =
ActionRequest for custom upload handling. [RG]

*) Portal: Added support for page labels. [RG]

*) Javaflow: JavaInterpreter initialize method was not thread safe. [RG]

*) Portal: Generate subnavigation for non-selected tabs. [RG]

*) Scratchpad block: Restored CastorTransformer support for context beans, =
restored bean lookup logic, fixed sample. [VG]

*) The CocoonBean now creates its own private logger hierarchy, thus avoidi=
ng to pollute the CocoonServlet hierarchy when called in that context (e.g.=
 when generating a static site from a CMS). [SW]

*) Added replacement for Excalibur Event package in org.apache.cocoon.compo=
nents.thread and migrated most classes using their own threads to that pack=
age. [GP]

*) Updated antlr to 2.7.4, db-ojb to 1.0.1. [AG]

*) Javaflow block: Support inherited methods. [TC]

*) Javaflow block: Add parameter support. [TC]

*) CForms block: added widget states. All widgets can now have an "active" =
(default), "disabled" or "invisible" state. Updated the stylesheets accordi=
ngly to use HTML's disabled inputs. [SW]

*) Scratchpad block: BetwixtTransformer: removed deprecation warning with l=
atest betwixt. [AG]

*) Flowscript: enforce the explicit declaration of variables in the global =
scope (attached to the session). This avoids the implicit declaration of va=
riables in the global scope when the 'var' keyword is missing, which leads =
to weird bugs difficult to track down, especially with continuations. [SW]

*) Deprecated the PHP block since the PHP servlet the generator depends on =
never worked properly. Explicitly excluded the PHP block from blocks.proper=
ties. [ATC]

*) XSP Block: Add space=3D"strip" attribute support for <xsp:page> element.=
 When present, all extra whitespace from XSP source is stripped. [VG]

*) XMLDB Block: Fix NullPointerException in XMLDBTransformer if specified c=
ollection does not exist. [VG]

*) XSP - JXPath logicsheet: Allow use relative contexts in <jxpath:for-each=
>. Add a new tag <jpath:set-lenient lenient=3D"true|false">. [AG]

*) Updated commons-httpclient to 2.0.2, groovy to 1.0-beta-7, commons-betwi=
xt to 0.6. [AG]

*) Flow invocations (function calls or continuation invocations) should alw=
ays result in a response. Flowscripts with no response are prohibited. [VG]

*) Portal block: Apply batch for configuring the type handling in the Casto=
r converter.  [CZ]

*) Fix bug in SessionPropagatorAction. [CZ]

*) Fix syntax error in build.bat on Windows ME. [CZ]

*) Portal block: Apply patch for rendering a link of the selected tab in Ta=
bContentAspect. [CZ]

*) Portal block: Apply patch for handling GET method when no enctype is set=
 in CopletTransformer. [CZ]

*) Throw a more meaningful exception if charset classes are missing. [TC]

*) Fixes the SQLTransformer not to close the statement twice. [TC]

*) Change constructor to be public in order to fix bug 30270. [TC]

*) Forms block: added possibility to add a SelectionList based on Java. [JH]

*) HTML serialization has no space between publicId and systemId. Updated x=
alan to 2.6.1-dev-20041008T0304. [AG]

*) Scratchpad block: Implemented support of parallel loading of included so=
urces in the IncludeTransformer. [VG]

*) Updated commons-lang to 2.0-20041007T2305. Now cocoon compiles in java 1=
.5. [AG]

*) Updated jdt-core to 3.0.1. [AG]

*) Faces block: Added JSF CarStore demo. [VG]

*) Flow preserves global variables on sitemap reload. [VG]

*) Forms block: Implementation of the CForm template language using JX macr=
os, allowing smart page layout that depends on the widgets state and value.=
 [SW]

*) Remove jisp from distribution. [AG]

*) XSP logicsheet jpath.xsl: incorrect call to JXPathContext.compile. [AG]

*) Mail block: Support multiple SMTP servers, not only default one. [VG]

*) Mail block: Add support for authenticated SMTP server connections. [VG]

*) Cron block: JobScheduler's fireJob method now supports jobs calling Coco=
on pipelines. [VG]

*) Allow recursive Flow invocations with processPipelineTo. [VG]

*) Forms block: rename fd:on-activate to fd:on-action on fd:row-action and =
fd:repeater-action for consistency with fd:action and fd:submit. [SW]

*) Cache the mime-type of readers and serializers. [CZ]

*) The daylight time cause error when timezone is CST. Updated icu4j to 3.0=
. [AG]

*) Upgrading DELI block from version 0.9.8 to x020904. [AG]

*) Add support for translating attribute values which contain i18n expressi=
ons rather than complete i18n key. [VG]

*) Forms block: allow widget attributes which were only accessible programm=
atically to be set in the form definition. This allows e.g. generic form pr=
ocessing code to find widgets having a particular attribute. [SW]

*) Mail block: the MailSender now gets its source resolver from the service=
 manager. This allows its use from flowscript where the old SourceResolver =
is not available. [SW]

*) AbstractSAXTransformer namespaceURI and defaultNamespaceURI must never b=
e null. When extending AbstractSAXTransformer make sure to set defaultNames=
paceURI in the constructor. [VG]

*) Faces block: Initial implementation of JavaServer Faces for Cocoon. [VG]

*) Taglib block: Initial implementation of BodyTag. [VG]

*) Portal block: Changed pathInfo and servletPath logic. pathInfo always st=
arts with '/', while servletPath always has no '/' at the end. [VG]

*) JXPathMetaModule incorrectly checks for null parameter (can't happen) in=
stead of empty string. [AG]

*) Cron block: Fixed memory leak, QuartzJobExecutor was not releasing pipel=
ines. [VG]

*) Updated jexl to 1.0, lucene to 1.4.1. [AG]

*) Selector for matching the request headers using a regular expression. Si=
mple content negotiation, e.g. serve XHTML if browser indicates it accepts =
application/xhtml+xml and HTML otherwise; potentially do automatic i18n acc=
ording to the accept-language header. [DC]

*) New @pass-through attribute for the sitemap mount node. If true, process=
ing will resume in the base sitemap just after the mount node if the mounte=
d sitemap has not already generated output (usually if no match is found). =
Previous behaviour was always to throw a ResourceNotFoundException. The att=
ribute defaults to "false" for backwards compatibility. [NKB]

*) Portal block: New Group Based Profile Manager. [CZ]

*) Cron block: Add support for persistent job stores, type "tx" and "cmt". =
[VG]

*) Cron block: Fix TestCronJob pipeline call functionality. [VG]

*) GetInstance don't work with upgrade from db-ojb-1.0rc6. [AG]

*) Updated rhino to 1.5r4-20040629T1232, xreporter-expression to 20040701, =
ehcache to 0.9. [AG]

*) A redirect is now possible, if it's called from flow. This also fixes bu=
g #26571. [CZ]

*) Mail block: Add ability to specify mime-type for email body text paramet=
er in the mail transformer. [CZ]

*) Fix potential memory leaks in CForms/Woody Template Transformer and JXTe=
mplateGenerator. [CZ]

*) XMLDB Block: Add ability to delete collections with XMLDBTransformer. [V=
G]

*) Reworked LocaleAction and LocaleMatcher to have similar logic and config=
uration. NOTE: Sitemap variable "lang" renamed to "language", removed confi=
guration parameters: "language-attribute", "country-attribute", "variant-at=
tribute". [VG]

*) Added LocaleMatcher for file based internationalization. [UV]

*) Make implementation of Cocoon protocol compliant with the Source interfa=
ce. [CZ]

*) Update ant to 1.6.2, commons-jxpath to 1.2, commons-beanutils to 1.7, PO=
I to 2.5.1-final-20040804, commons-httpclient to 2.0.1, nekohtml to 0.9.3, =
hsqldb to 1.7.2, jcs to 1.1-dev-20040811, quartz to 1.4.2, asm to 1.4.3, as=
m-util to 1.4.3 and groovy to 1.0-beta6. [AG]

*) Mail block: The mail transformer ignored configured toAddresses from a p=
ipeline parameter. This is fixed now. [CZ]

*) Fixing BetwixtTransformer does not marshal Collections properly (java.la=
ng.OutOfMemoryError). [AG]

*) Update qdox to 1.5 and jdt-core to 3.0.0. [AG]

*) Fixing lucene-block samples dependencies. [AG]

*) Update lucene to 1.4. [AG]

*) Enhanced JMS support by adding a JMSConnectionManager component to the J=
MS block. This component replaces the JMSConnection component which only su=
pported publish/subscribe messaging and which mixed some concerns. Two abst=
ract classes: AbstractMessageListener and AbstractMessagePublisher should b=
e used as basis for custom publish/subscribe components.  [UH]

*) Still in the scratchpad area at the time of this writing, added a Cached=
Source proxy subclass for Sources that implement TraversableSource and Insp=
ectableSource (for instance WebDAVSource). [UH]

*) Added a NekoHTMLGenerator to HTML block. This is a simpler HTML parser t=
han JTidy, which preserves more of the original HTML, primarily just balanc=
ing closing tags. [UV]

*) Added support for stripping root elements in the CIncludeTransformer. [T=
C]

*) Portal block: Added ManagedCocoonPortlet, to be used together with Cocoo=
nServlet or CocoonPortlet. [VG]

*) POI block: cell spanning.  [TC]

*) POI block: processing of tags "vcenter", "hcenter", "monochrome", "draft=
", "Header", "Footer" in "gmr:PrintInformation". Initial support for "Margi=
ns" ("top", "bottom", "left", "right", "header", "footer"). [AG]

*) POI block: processing of tags "grid", "orientation and "paper" in "gmr:P=
rintInformation". [AG]

*) Fix JXTemplate generator does not handle format-number(number, '$#,##0.0=
0'). [AG]

*) Forms block: Implement setValue method for the upload widget. [JH]

*) Forms block: Handle variants of datatype date correctly (i18n, styling).=
 [JH]

*) Update commons-digester to 1.5, commons-betwixt to 0.5, commons-pool to =
1.2, commons-dbcp to 1.2.1 and db-ojb to 1.0.0. [AG]

*) Update commons-collections to 3.1. [AG]

*) Fix JXTemplateGenerator eating backslash characters. [AG]

*) Add new <jx:comment> tag to the JXTemplate. XML comments are not parsed =
anymore. See the bug description for a sample. [AG]

*) Move commons-logging-1.0.4.jar to lib/core as jcs.jar depends on it. [AG]

*) Apply patch: Cached resources don't have Expires-Header. [AG]

*) Apply patch: Caching JXTemplateGenerator. [AG]

*) ResourceReader can now take configuration elements, parameters are depre=
cated. [VG]

*) Fix byte ranges support in ResourceReader. [VG]

*) Portal: CocoonPortlet has new configuration parameter, default-session-s=
cope. [VG]

*) Updated commons-logging to 1.0.4 [AG]

*) NamingInputModule provides access to the JNDI context. [VG]

*) Updated quartz to 1.4 [AG]

*) Add configuration support for log4j. [CZ]

*) New Input modules: URLEncodeModule and URLDecodeModule [ATC]

*) Apply patch to fix some memory leaks in the tree processor. [CZ]

*) Portal: Fix NPE when non-caching pipelines are used for the portal profi=
le. [CZ]

*) Portal: Fix transformation of non-external html links (HTMLEventLinkTran=
sformer) [CZ]

*) Portal: Fix problem with bookmarks and CachingURICoplet [CZ]

*) A new build property, "include.sources-in-jars", allows to include java =
source files in jar archives. Useful when using a non-released version to k=
now what sources are used. [SW]

*) Refactor TreeProcessor to avoid constant reloading of sitemap if its mod=
ification date is in the future and occasional ECM-related exceptions when =
a sitemap is reloaded. [SW]

*) Tour block: added Java shapes sample. [BD]

*) Updated Groovy to 1.0-beta5, qdox to 1.4 and util.concurrent to 1.3.4. [=
AG]

*) Serializers block: Fixed the namespace handling of the XMLSerializer. [T=
C]

*) Serializers block: Added support for indentation to the XMLSerializer. [=
TC]

*) Chaperon block: Improvements for Chaperon JSPWiki to xdocs conversion: H=
andle nested bullet lists (number lists already supported) If 'name' parame=
ter is specified, use it as title (and add spaces between WikiWords) instea=
d of first section title Handle images with alt text 'spaceless-filenames' =
parameter will squash out spaces in relative links Fix anchors to use 'id' =
instead of 'name' Emphasize anchors a bit selftest.txt tests for lists and =
tables More known issues listed in selftest.txt [DC]

*) Added instrumentation support to ContinuationsManager. [VG]


------=_NextPart_000_000C_01C4CE3B.2C0D2DB0--