DONT USE ChangeLog USE HISTORY.txt instead. 2004-07-24 Christian Heimes <heimes@faho.rwth-aachen.de> * Changed version to stick to Archetypes version. 2004-05-25 Christian Heimes <heimes@faho.rwth-aachen.de> * Seperate MimetypesRegistry to a new product 2004-04-20 Christian Heimes <heimes@faho.rwth-aachen.de> * transforms/rest.py: rest transform is now using the zope implementation if available 2004-04-07 Christian Heimes <heimes@faho.rwth-aachen.de> * transforms/text_pre_to_html.py: new transform for preformatted plain text * transforms/text_to_html.py: changed <br/> to <br /> 2004-03-17 Christian Heimes <heimes@faho.rwth-aachen.de> * transforms/pdf_to_text.py: return text utf-8 encoded 2004-02-04 Sylvain Th�nault <syt@logilab.fr> * transforms/office_com.py: fix wrong import 2003-12-03 Sidnei da Silva <sidnei@awkly.org> * mime_types/magic.py (guessMime): Don't try to be so magic :) 2003-11-18 Andreas Jung <andreas@andreas-jung.com) * commandtransform.py: fixed sick cleanDir() implementation 2003-11-17 Andreas Jung <andreas@andreas-jung.com) * added rtf_to_html.py converter * added rtf to as mimetypes to mime_types/__init__.py * added rtf_to_xml.py converter * added pdf_to_text.py converter * removed dependency from CMFDefault.utils for misc converters (integrated code into libtransforms/utils.py) 2003-11-14 Sidnei da Silva <sidnei@plone.org> * MimeTypesRegistry.py (MimeTypesRegistry.classify): If no results this far, use magic.py module, written by Jason Petrone, and updated by Gabriel Wicke with the data from gnome-vfs-mime-magic. 2003-11-07 Sylvain Th�nault <syt@logilab.fr> * use the same license as Archetypes (BSD like instead of GPL) * www/tr_widgets.zpt: fix bug in the list widget (space before the parameter's name, making it unrecognized) * zope/Transform.py: fix set parameters to correctly remap transform if editable inputs or output. (fix #837244) * TransformEngine.py: better error messages, a few lines wrapping * zope/__init__.py: use pt_globals instead of globals for variable handling the product globals, making it reloadable * Extensions/Install.py: use pt_globals * www/listMimeTypes.zpt: use mt/normalized as id instead of mt/name 2003-11-05 Sylvain Th�nault <syt@logilab.fr> * unsafe_tranforms/command.py: added dummy output mime type to avoid error when added via the ZMI (fix #837252) 2003-10-30 Sylvain Th�nault <syt@logilab.fr> * fixed addMimeType, editMimeType and tr_widget templates (fix #832958) 2003-10-03 Sidnei da Silva <sidnei@dreamcatcher.homeunix.org> * utils.py (TransformException.getToolByName): Modified getToolByName to have a fallback mimetypes_registry, so we can simplify BaseUnit. 2003-09-23 Sylvain Th�nault <syt@logilab.fr> * MimesTypesRegistry.py: make unicode error handling configurable * zope/MimesTypesTool.py: add a property for unicode error handling * zope/Transform.py: make tests working 2003-08-19 Sylvain Th�nault <syt@logilab.fr> * transforms/rest.py: override "traceback" setting to avoid sys.exit ! * transforms/text_to_html.py: use html_quote 2003-08-12 Sylvain Th�nault <syt@logilab.fr> * TransformEngine.py: set "encoding" in datastream metadata if tranform provides a "output_encoding" attribute. Fix access to "id" instead of "name()" * zope/Transform.py: add some code to handle output encoding... 2003-08-08 Sylvain Th�nault <syt@logilab.fr> * MimeTypesRegistry.py: use suffix map has the standard mime types module, hopefully correct behaviour of classify * unsafe_transforms/build_transforms.py: fix inputs and output mime type of ps_to_text transform 2003-08-07 Sylvain Thenault <sylvain.thenault@logilab.fr> * encoding.py: new module which aims to detect encoding of text files * MimeTypesRegistry.py: use the encoding module in iadapter 2003-08-06 Sylvain Thenault <sylvain.thenault@logilab.fr> * MimeTypesRegistry.py (classify): return 'application/octet-stream' instead of None * transforms/text_to_html.py: replace '\n' with <br/> instead of <pre> wrapping * unsafe_transforms/build_transforms.py: create a ps_to_text transform if ps2ascii is available * tests/test_transforms.py: handle name of transforms to test on command line * transforms/__init__.py: do not print traceback on missing binary exception 2003-08-01 Sylvain Thenault <sylvain.thenault@logilab.fr> * transforms/text_to_html.py: new transform to wrap plain text in <pre> for html * transforms/test_transforms.py: add test for text_to_html 2003-07-28 Sylvain Thenault <sylvain.thenault@logilab.fr> * zope/TransformsChain.py: fixes to make it works within Zope. * www/editTransformsChain.zpt: add inputs / output information. 2003-07-28 Sylvain Thenault <sylvain.thenault@logilab.fr> * transforms/rest.py: remove class="document" * tests/test_transforms.py: added missing output for the identity transform's test, fix initialize method. 2003-07-21 Sylvain Thenault <sylvain.thenault@logilab.fr> * transforms/identity.py: added identity transform (used for instance to convert text/x-rest to text/plain). * tests/test_transforms.py: added test for the identity transform. 2003-07-11 Sylvain Thenault <sylvain.thenault@logilab.fr> * unsafe_transforms/xml.py: just make it working. * unsafe_transforms/command.py: add missing "name" argument to the constructor. Use popen3 instead of popen4. * unsafe_transforms/build_transforms.py: create an xml_to_html transform if an xslt processor is available (however this transform is not configured for any doctypes / dtds). Create tidy_html transform if the tidy command is available. * tests/test_transforms.py: add test cases for the xml and html_tidy transform. * transform.py: added transform_customize hook. * docs/user_manual.rst: explain difference between python distro and zope product. Added notice about archetypes integration. * docs/dev_manual.rst: minor fixes. 003-07-10 Sylvain Thenault <sylvain.thenault@logilab.fr> * refactoring to permit use of this package outside zope :) Zope mode is triggered when "import Zope" doesn't fail * fix bug in word_to_html / office_wvware transform * add a generic test for transforms. It's much more easier now to add a test for a transform :) * add licensing information * interfaces.py: complete / cleanup interfaces * bin/tranform: add command line tool * unsafe_transforms/command.py: bug fix * addTransformsChain.zpt: fix typo * fix #768927 2003-07-09 Sylvain Thenault <sylvain.thenault@logilab.fr> * code cleaning: - moved Transform and TransformsChain in their own files - removed no more used bindingmixin and sourceAdapter - merged transform and chain classes together - generic cache and misc utilities in the new utils.py. * ready for 1.0 alpha1 :) 2003-07-05 Sylvain Thenault <sylvain.thenault@logilab.fr> * make the PortalTransforms product from the original transform package and the mimetypes / transforms tools originaly defined in Archetypes. * drop the ability to use it as a standalone python package, since there was too much duplicated code to make it works. * some works on tests to make them succeed :) * MimeTypesTool.py (MimeTypesTool.lookup): return an empty list instead of None when no matching mime types is found. 2003-05-14 Sidnei da Silva <sidnei@x3ng.com> * interface.py: Trying to normalize the way interfaces are imported in different versions of Zope. 2003-04-21 Sidnei da Silva <sidnei@x3ng.com> * __init__.py: Fixed lots of things here and there to make it work with the new BaseUnit in Archetypes. 2003-04-20 Sidnei da Silva <sidnei@x3ng.com> * tests/output/rest3.out: Fixed subtitle and added a test. 2003-04-19 Sidnei da Silva <sidnei@x3ng.com> * tests/test_rest.py (BaseReSTFileTest.testSame): Added tests based on input/output dirs to make it easy to add new tests for reST. * transforms/rest.py (rest.convert): Rendering of reST was broken. It was not rendering references the right way, and it didnt seem like it was doing the right thing with titles. Updated to use docutils.core.publish_string. * tests/test_all.py (test_suite): Added lynx_dump to transform html -> text. With tests. 2003-04-18 Sidnei da Silva <sidnei@x3ng.com> * tests/test_all.py (test_suite): Removed dependencies from CMFCore on testsuite. * __init__.py: Made it work without being inside Products. We eventually need to make a distutils setup, and then this can be removed. If someone knows a better way to do this, please do.