itools 0.16.2 released
"J. David Ibáñez"
jdavid at itaapy.com
Thu Jul 12 11:35:14 CEST 2007
itools is a Python library, it groups a number of packages into a single
meta-package for easier development and deployment:
itools.catalog itools.i18n itools.tmx
itools.cms itools.ical itools.uri
itools.csv itools.odf itools.vfs
itools.datatypes itools.pdf itools.web
itools.gettext itools.rest itools.workflow
itools.handlers itools.rss itools.xhtml
itools.html itools.schemas itools.xliff
itools.http itools.stl itools.xml
The big news in this release is the License upgrade; now itools is
available under the terms and conditions of the GPL version 3. Check
the LICENSE.txt file.
Also, a bunch of bugs have been fixed. Some of them have triggered
small backwards incompatible changes; check the UPGRADE-0.16.2 file for
the details.
The package that has changed the most is "itools.stl":
- Now STL returns by default the stream of events, not the serialized
byte string. The new parameter "mode" replaces the boolean parameter
"html", it has four modes: 'events' (default), 'xml', 'xhtml' and
'html'.
- Now it is possible to insert a sequence of XML events into "${...}"
expressions.
- New public function "set_prefix" that rewrites the relative URLs of
the given XML events. Its prototype is "stl(events, prefix)".
- The main function "stl" accepts a generator or a "Parser" instance
for the "events" parameter (not only a list). It also accepts a byte
string for the "prefix" parameter (not only a "Path" instance).
- Fix when "stl:repeat" and "stl:if" expressions are together in the
same element.
Other changes worth to mention are:
- Reorganize the RELEASE and UPDATE files. The old ones are kept on
the "doc" folder.
- [itools.catalog] Fix "catalog.search()", without parameters it
returns all indexed documents.
- [itools.cms] Various minor fixes for the user interface (Wiki, web
pages view, search form, folder's browse view, login form, user's
edit account form and CSS).
- [itools.handlers] Fix "has_handler(path)" for special paths, like
"has_handler('.')".
- [itools.i18n] Rewrite the accept module. Much simpler, now language
negotiation behaves as defined by RFC2616. And "accept" objects are
correctly serialized.
- [itools.pdf] Various RML fixes.
- [itools.web] The new method "context.get_accept_language" replaces
"context.request.accept_language"
- [itools.xhtml] Escape the text nodes when serializing to HTML.
Credits:
- Hervé Cauwelier worked on itools.cms;
- J. David Ibáñez fixed bugs;
- Henry Obein fixed bugs;
- Sylvain Taverne helped fixing bugs;
Resources
---------
Download
http://download.ikaaro.org/itools/itools-0.16.2.tar.gz
Home
http://www.ikaaro.org/itools
Mailing list
http://mail.ikaaro.org/mailman/listinfo/itools
Bug Tracker
http://bugs.ikaaro.org/
--
J. David Ibáñez
Itaapy <http://www.itaapy.com> Tel +33 (0)1 42 23 67 45
9 rue Darwin, 75018 Paris Fax +33 (0)1 53 28 27 88
More information about the Python-announce-list
mailing list