itools 0.11.0 released
What is it? itools is a Python library, it groups a number of packages into a single meta-package for easier development and deployment. The packages included are: itools.catalog itools.datatypes itools.gettext itools.handlers itools.html itools.i18n itools.ical itools.resources itools.rss itools.schemas itools.tmx itools.uri itools.web itools.workflow itools.xhtml itools.xliff itools.xml What's new? URI - Add "resolve2" to the URI API (just uses "Path.resolve2" instead of "Path.resolve"). - Fix path comparison (#30). - Many more unit tests (#30). By Hervé Cauwelier. Schemas - Improve programming interface: register_schema, get_schema, get_schema_by_uri, get_datatype and get_datatype_by_uri. Resources - New method "traverse2" (a more powerful version of "traverse"). - Implement "is_locked" for Zope 2 resources. By Hervé Cauwelier. Handlers - Drop "to_unicode" from the API, now it is only 'to_str'. XML - New parser, a little faster and a little simpler (#52). STL - Improve API, now it is "stl(handler, namespace)". - Returns a byte string instead of a unicode string. XHTML - Add function "set_template_prefix" to the API, it modifies relative links (useful for example to move a document from one place on a tree to another). HTML - Update parser to be in sync with the XML parser. Catalog - Now it does not check for callable fields. - Keyword fields correctly index frozenset objects. Web - Use HTTP_X_FORWARDED_HOST (instead of our own REAL_HOST). - Deserialize and serialize cookies (uses itools.schemas). - Add "context.redirect" to the API. To be used instead of the lower level "response.redirect". It makes sure redirects are absolute (#62). - Add "context.has_cookie" to the API. - Fix PUT, LOCK and UNLOCK for Zope 2. - Add the response header fields 'Date', 'Connection' and 'Server'. Documentation - Update chapter about STL. Packaging - New "setup.py" script optimized for Python 2.4 (#105). By Hervé Cauwelier. Links - Download and Documentation, http://www.ikaaro.org/itools - Mailing list, http://in-girum.net/mailman/listinfo/ikaaro - Bug Tracker, http://in-girum.net/cgi-bin/bugzilla/index.cgi -- 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
participants (1)
-
"J. David Ibáñez"