From fc75a4226476be7456dbbdbb8c2d16a91c8eaa81 Mon Sep 17 00:00:00 2001 From: Gaetan Delannay Date: Tue, 9 Feb 2010 15:59:03 +0100 Subject: [PATCH] Added the possibility to log OO errors in appy.gen method File.dump and changed some code for avoiding silly Plone warnings on every user click. --- __init__.py | 0 bin/__init__.py | 0 bin/clean.py | 0 bin/zip.py | 0 doc/appy.css | 0 doc/artwork.odg | Bin doc/docToc.html | 0 doc/gen.html | 0 doc/genCreatingAdvancedClasses.html | 0 doc/genCreatingBasicClasses.html | 0 doc/genSecurityAndWorkflows.html | 0 doc/gossips.odt | Bin doc/helloWorld.odt | Bin doc/img/ElseAmbiguous.png | Bin doc/img/ElseAmbiguous.res.png | Bin doc/img/ElseNotAmbiguous.png | Bin doc/img/ElseNotAmbiguous.res.png | Bin doc/img/ElseStatements.png | Bin doc/img/ElseStatements.res.png | Bin doc/img/ErrorExpression.png | Bin doc/img/ErrorExpression.res.png | Bin doc/img/ErrorForParsetime.png | Bin doc/img/ErrorForParsetime.res.png | Bin doc/img/ErrorForRuntime.png | Bin doc/img/ErrorForRuntime.res.png | Bin doc/img/ErrorIf.png | Bin doc/img/ErrorIf.res.png | Bin doc/img/ForCellNotEnough.png | Bin doc/img/ForCellNotEnough.res.png | Bin doc/img/ForCellTooMuch2.png | Bin doc/img/ForCellTooMuch2.res.png | Bin doc/img/ForTableMinus.png | Bin doc/img/ForTableMinus.res.png | Bin doc/img/ForTableMinusError.png | Bin doc/img/ForTableMinusError.res.png | Bin doc/img/FromWithFor.png | Bin doc/img/FromWithFor.res.png | Bin doc/img/IfAndFors1.png | Bin doc/img/IfAndFors1.res.png | Bin doc/img/IfExpression.png | Bin doc/img/IfExpression.res.png | Bin doc/img/OnlyExpressions.png | Bin doc/img/OnlyExpressions.res.png | Bin doc/img/SimpleFrom.png | Bin doc/img/SimpleFrom.res.png | Bin doc/img/SimpleTest.png | Bin doc/img/SimpleTest.res.png | Bin doc/img/actions1.png | Bin doc/img/actions2.png | Bin doc/img/advisory.png | Bin doc/img/booleans1.png | Bin doc/img/builtinFunctionInPodExpression.png | Bin .../builtinFunctionInPodExpression.res.png | Bin doc/img/computed1.png | Bin doc/img/computed2.png | Bin doc/img/computed3.png | Bin doc/img/contact.gif | Bin doc/img/dates1.png | Bin doc/img/dates2.png | Bin doc/img/dates3.png | Bin doc/img/dates4.png | Bin doc/img/documentFunction1.png | Bin doc/img/documentFunction2.png | Bin doc/img/documentFunction3.png | Bin doc/img/download.gif | Bin doc/img/emptyQuery.png | Bin doc/img/files1.png | Bin doc/img/files2.png | Bin doc/img/files3.png | Bin doc/img/files4.png | Bin doc/img/files5.png | Bin doc/img/filledQuery.png | Bin doc/img/flavourOptions.png | Bin doc/img/genpod1.png | Bin doc/img/genpod10.png | Bin doc/img/genpod11.png | Bin doc/img/genpod12.png | Bin doc/img/genpod13.png | Bin doc/img/genpod14.png | Bin doc/img/genpod2.png | Bin doc/img/genpod3.png | Bin doc/img/genpod4.png | Bin doc/img/genpod5.png | Bin doc/img/genpod6.png | Bin doc/img/genpod7.png | Bin doc/img/genpod8.png | Bin doc/img/genpod9.png | Bin doc/img/gnu.png | Bin doc/img/home.png | Bin doc/img/i18n1.png | Bin doc/img/inherit1.png | Bin doc/img/inherit2.png | Bin doc/img/inherit3.png | Bin doc/img/inherit4.png | Bin doc/img/inherit5.png | Bin doc/img/inherit6.png | Bin doc/img/integersFloats1.png | Bin doc/img/integersFloats2.png | Bin doc/img/integersFloats3.png | Bin doc/img/integersFloats4.png | Bin doc/img/mastersSlaves1.png | Bin doc/img/mastersSlaves2.png | Bin doc/img/mastersSlaves3.png | Bin doc/img/mastersSlaves4.png | Bin doc/img/objectStorage1.png | Bin doc/img/objectStorage2.png | Bin doc/img/pagesAndGroups1.png | Bin doc/img/pagesAndGroups2.png | Bin doc/img/pagesAndGroups3.png | Bin doc/img/pagesAndGroups4.png | Bin doc/img/pagesAndGroups5.png | Bin doc/img/pagesAndGroups6.png | Bin doc/img/pagesAndGroups7.png | Bin doc/img/pagesAndGroups8.png | Bin doc/img/plone.png | Bin doc/img/portlet.png | Bin doc/img/python.gif | Bin doc/img/refs1.png | Bin doc/img/refs10.png | Bin doc/img/refs10b.png | Bin doc/img/refs10c.png | Bin doc/img/refs11.png | Bin doc/img/refs12.png | Bin doc/img/refs13.png | Bin doc/img/refs14.png | Bin doc/img/refs15.png | Bin doc/img/refs2.png | Bin doc/img/refs3.png | Bin doc/img/refs4.png | Bin doc/img/refs5.png | Bin doc/img/refs6.png | Bin doc/img/refs7.png | Bin doc/img/refs8.png | Bin doc/img/refs9.png | Bin doc/img/specialMethods1.png | Bin doc/img/specialMethods2.png | Bin doc/img/strings1.png | Bin doc/img/strings2.png | Bin doc/img/strings3.png | Bin doc/img/strings4.png | Bin doc/img/strings5.png | Bin doc/img/strings6.png | Bin doc/img/strings7.png | Bin doc/img/strings8.png | Bin doc/img/strings9.png | Bin doc/img/todo.gif | Bin doc/img/tool.png | Bin doc/img/toolAndFlavours1.png | Bin doc/img/toolAndFlavours10.png | Bin doc/img/toolAndFlavours11.png | Bin doc/img/toolAndFlavours12.png | Bin doc/img/toolAndFlavours13.png | Bin doc/img/toolAndFlavours14.png | Bin doc/img/toolAndFlavours15.png | Bin doc/img/toolAndFlavours16.png | Bin doc/img/toolAndFlavours17.png | Bin doc/img/toolAndFlavours18.png | Bin doc/img/toolAndFlavours19.png | Bin doc/img/toolAndFlavours2.png | Bin doc/img/toolAndFlavours20.png | Bin doc/img/toolAndFlavours21.png | Bin doc/img/toolAndFlavours22.png | Bin doc/img/toolAndFlavours23.png | Bin doc/img/toolAndFlavours2b.png | Bin doc/img/toolAndFlavours2c.png | Bin doc/img/toolAndFlavours3.png | Bin doc/img/toolAndFlavours4.png | Bin doc/img/toolAndFlavours5.png | Bin doc/img/toolAndFlavours6.png | Bin doc/img/toolAndFlavours7.png | Bin doc/img/toolAndFlavours8.png | Bin doc/img/toolAndFlavours9.png | Bin doc/img/workflow1.png | Bin doc/img/workflow10.png | Bin doc/img/workflow11.png | Bin doc/img/workflow12.png | Bin doc/img/workflow2.png | Bin doc/img/workflow3.png | Bin doc/img/workflow4.png | Bin doc/img/workflow5.png | Bin doc/img/workflow6.png | Bin doc/img/workflow7.png | Bin doc/img/workflow8.png | Bin doc/img/workflow9.png | Bin doc/img/xhtmlChunk.png | Bin doc/img/xhtmlResult.png | Bin doc/img/xhtmlStylesMapping.png | Bin doc/img/xhtmlTemplate.png | Bin doc/img/zmi.png | Bin doc/img/zopeComponentEdit.png | Bin doc/index.html | 0 doc/license.txt | 0 doc/pod.html | 0 doc/podRenderingTemplates.html | 0 doc/podWritingAdvancedTemplates.html | 0 doc/podWritingTemplates.html | 0 doc/template.html | 0 doc/version.txt | 0 gen/__init__.py | 0 gen/generator.py | 0 gen/odt/__init__.py | 0 gen/odt/generator.py | 0 gen/plone25/skin/macros.pt | 4 ++-- gen/plone25/skin/search.gif | Bin gen/plone25/skin/waiting.gif | Bin gen/plone25/wrappers/__init__.py | 9 +++++--- gen/po.py | 0 gen/utils.py | 0 pod/__init__.py | 0 pod/actions.py | 0 pod/buffers.py | 0 pod/converter.py | 0 pod/doc_importers.py | 0 pod/elements.py | 0 pod/odf_parser.py | 0 pod/pod_parser.py | 0 pod/renderer.py | 20 +++--------------- pod/styles.in.content.xml | 0 pod/styles.in.styles.xml | 0 pod/styles_manager.py | 0 pod/test/Readme.txt | 0 pod/test/Tester.py | 0 pod/test/Tests.rtf | 0 pod/test/__init__.py | 0 pod/test/contexts/ElseStatements.py | 0 pod/test/contexts/Empty.py | 0 pod/test/contexts/FileHandlerImport.py | 0 pod/test/contexts/IfAndFors1.py | 0 pod/test/contexts/ImagesImport.py | 0 pod/test/contexts/OnlyExpressions.py | 0 pod/test/contexts/PathImport.py | 0 pod/test/contexts/PersonsEight.py | 0 pod/test/contexts/PersonsFour.py | 0 pod/test/contexts/PersonsThree.py | 0 pod/test/contexts/PersonsTwo.py | 0 pod/test/contexts/SimpleForEmptyList.py | 0 pod/test/contexts/SimpleForFilledList.py | 0 pod/test/contexts/SimpleForRow.py | 0 pod/test/contexts/SimpleIfIsFalse.py | 0 pod/test/contexts/SimpleIfIsTrue.py | 0 pod/test/contexts/SimpleTest.py | 0 pod/test/contexts/VarStatements.py | 0 pod/test/contexts/XhtmlComplex.py | 0 pod/test/contexts/XhtmlComplex2.py | 0 pod/test/contexts/XhtmlComplex3.py | 0 pod/test/contexts/XhtmlComplexTables.py | 0 pod/test/contexts/XhtmlEntities.py | 0 pod/test/contexts/XhtmlKeepWithNext.py | 0 pod/test/contexts/XhtmlNominal.py | 0 pod/test/contexts/XhtmlStylesErrors.py | 0 pod/test/contexts/XhtmlStylesMapping.py | 0 pod/test/contexts/XhtmlTables.py | 0 pod/test/contexts/XhtmlWithStyle.py | 0 pod/test/contexts/__init__.py | 0 pod/test/images/linux.jpg | Bin pod/test/images/plone.png | Bin pod/test/images/python.gif | Bin pod/test/results/elseStatements.odt | Bin pod/test/results/errorExpression.odt | Bin pod/test/results/errorFooter.odt | Bin pod/test/results/errorForParsetime.odt | Bin pod/test/results/errorForRuntime.odt | Bin pod/test/results/errorIf.odt | Bin pod/test/results/fileHandlerImport.odt | Bin pod/test/results/forCellCorrectNumber.odt | Bin pod/test/results/forCellNotEnough.odt | Bin pod/test/results/forCellOnlyOne.odt | Bin pod/test/results/forCellTooMuch1.odt | Bin pod/test/results/forCellTooMuch2.odt | Bin pod/test/results/forCellTooMuch3.odt | Bin pod/test/results/forCellTooMuch4.odt | Bin pod/test/results/forTable.odt | Bin pod/test/results/forTableMinus.odt | Bin pod/test/results/forTableMinus2.odt | Bin pod/test/results/forTableMinusError.odt | Bin pod/test/results/forTableMinusError2.odt | Bin pod/test/results/headerFooter.odt | Bin pod/test/results/ifAndFors1.odt | Bin pod/test/results/ifElseErrors.odt | Bin pod/test/results/imagesImport.odt | Bin pod/test/results/noPython.odt | Bin pod/test/results/onlyExpressions.odt | Bin pod/test/results/pathImport.odt | Bin pod/test/results/simpleForEmptyList.odt | Bin pod/test/results/simpleForFilledList.odt | Bin pod/test/results/simpleForRow.odt | Bin pod/test/results/simpleFromTest.odt | Bin pod/test/results/simpleIfIsFalse.odt | Bin pod/test/results/simpleIfIsTrue.odt | Bin pod/test/results/simpleIfIsTrue003.odt | Bin pod/test/results/simpleMinusError.odt | Bin pod/test/results/simpleTest.odt | Bin pod/test/results/withAnImage.odt | Bin pod/test/results/xhtmlComplex.odt | Bin pod/test/results/xhtmlComplexTables.odt | Bin pod/test/results/xhtmlKeepWithNext.odt | Bin pod/test/results/xhtmlNominal.odt | Bin pod/test/results/xhtmlStylesErrors.odt | Bin pod/test/results/xhtmlStylesMapping.odt | Bin pod/test/templates/ElseStatements.odt | Bin pod/test/templates/ErrorExpression.odt | Bin pod/test/templates/ErrorFooter.odt | Bin pod/test/templates/ErrorForParsetime.odt | Bin pod/test/templates/ErrorForRuntime.odt | Bin pod/test/templates/ErrorIf.odt | Bin pod/test/templates/FileHandlerImport.odt | Bin pod/test/templates/ForCell.odt | Bin pod/test/templates/ForCell2.odt | Bin pod/test/templates/ForCell3.odt | Bin pod/test/templates/ForCell4.odt | Bin pod/test/templates/ForCell5.odt | Bin pod/test/templates/ForTable.odt | Bin pod/test/templates/ForTableMinus.odt | Bin pod/test/templates/ForTableMinus2.odt | Bin pod/test/templates/ForTableMinusError.odt | Bin pod/test/templates/ForTableMinusError2.odt | Bin pod/test/templates/HeaderFooter.odt | Bin pod/test/templates/IfAndFors1.odt | Bin pod/test/templates/IfElseErrors.odt | Bin pod/test/templates/ImagesImport.odt | Bin pod/test/templates/NoPython.odt | Bin pod/test/templates/OnlyExpressions.odt | Bin pod/test/templates/PathImport.odt | Bin pod/test/templates/SimpleForEmptyList.odt | Bin pod/test/templates/SimpleForFilledList.odt | Bin pod/test/templates/SimpleForRow.odt | Bin pod/test/templates/SimpleFromTest.odt | Bin pod/test/templates/SimpleIfIsFalse.odt | Bin pod/test/templates/SimpleIfIsTrue.odt | Bin pod/test/templates/SimpleIfIsTrue003.odt | Bin pod/test/templates/SimpleMinusError.odt | Bin pod/test/templates/SimpleTest.odt | Bin pod/test/templates/VarStatements.odt | Bin pod/test/templates/WithAnImage.odt | Bin pod/test/templates/Xhtml.odt | Bin pod/test/templates/XhtmlComplex2.odt | Bin pod/test/templates/XhtmlComplex3.odt | Bin pod/test/templates/XhtmlComplex4.odt | Bin pod/test/templates/XhtmlComplexTables.odt | Bin pod/test/templates/XhtmlKeepWithNext.odt | Bin pod/test/templates/XhtmlSimple.odt | Bin pod/test/templates/XhtmlStyles.odt | Bin pod/test/templates/XhtmlStylesErrors.odt | Bin pod/test/templates/XhtmlTables.odt | Bin pod/xhtml2odt.py | 0 shared/__init__.py | 0 shared/errors.py | 0 shared/rtf.py | 0 shared/test.py | 0 shared/utils.py | 19 +++++++++++++++++ shared/version.txt | 1 - shared/xml_parser.py | 0 352 files changed, 30 insertions(+), 23 deletions(-) mode change 100755 => 100644 __init__.py mode change 100755 => 100644 bin/__init__.py mode change 100755 => 100644 bin/clean.py mode change 100755 => 100644 bin/zip.py mode change 100755 => 100644 doc/appy.css mode change 100755 => 100644 doc/artwork.odg mode change 100755 => 100644 doc/docToc.html mode change 100755 => 100644 doc/gen.html mode change 100755 => 100644 doc/genCreatingAdvancedClasses.html mode change 100755 => 100644 doc/genCreatingBasicClasses.html mode change 100755 => 100644 doc/genSecurityAndWorkflows.html mode change 100755 => 100644 doc/gossips.odt mode change 100755 => 100644 doc/helloWorld.odt mode change 100755 => 100644 doc/img/ElseAmbiguous.png mode change 100755 => 100644 doc/img/ElseAmbiguous.res.png mode change 100755 => 100644 doc/img/ElseNotAmbiguous.png mode change 100755 => 100644 doc/img/ElseNotAmbiguous.res.png mode change 100755 => 100644 doc/img/ElseStatements.png mode change 100755 => 100644 doc/img/ElseStatements.res.png mode change 100755 => 100644 doc/img/ErrorExpression.png mode change 100755 => 100644 doc/img/ErrorExpression.res.png mode change 100755 => 100644 doc/img/ErrorForParsetime.png mode change 100755 => 100644 doc/img/ErrorForParsetime.res.png mode change 100755 => 100644 doc/img/ErrorForRuntime.png mode change 100755 => 100644 doc/img/ErrorForRuntime.res.png mode change 100755 => 100644 doc/img/ErrorIf.png mode change 100755 => 100644 doc/img/ErrorIf.res.png mode change 100755 => 100644 doc/img/ForCellNotEnough.png mode change 100755 => 100644 doc/img/ForCellNotEnough.res.png mode change 100755 => 100644 doc/img/ForCellTooMuch2.png mode change 100755 => 100644 doc/img/ForCellTooMuch2.res.png mode change 100755 => 100644 doc/img/ForTableMinus.png mode change 100755 => 100644 doc/img/ForTableMinus.res.png mode change 100755 => 100644 doc/img/ForTableMinusError.png mode change 100755 => 100644 doc/img/ForTableMinusError.res.png mode change 100755 => 100644 doc/img/FromWithFor.png mode change 100755 => 100644 doc/img/FromWithFor.res.png mode change 100755 => 100644 doc/img/IfAndFors1.png mode change 100755 => 100644 doc/img/IfAndFors1.res.png mode change 100755 => 100644 doc/img/IfExpression.png mode change 100755 => 100644 doc/img/IfExpression.res.png mode change 100755 => 100644 doc/img/OnlyExpressions.png mode change 100755 => 100644 doc/img/OnlyExpressions.res.png mode change 100755 => 100644 doc/img/SimpleFrom.png mode change 100755 => 100644 doc/img/SimpleFrom.res.png mode change 100755 => 100644 doc/img/SimpleTest.png mode change 100755 => 100644 doc/img/SimpleTest.res.png mode change 100755 => 100644 doc/img/actions1.png mode change 100755 => 100644 doc/img/actions2.png mode change 100755 => 100644 doc/img/advisory.png mode change 100755 => 100644 doc/img/booleans1.png mode change 100755 => 100644 doc/img/builtinFunctionInPodExpression.png mode change 100755 => 100644 doc/img/builtinFunctionInPodExpression.res.png mode change 100755 => 100644 doc/img/computed1.png mode change 100755 => 100644 doc/img/computed2.png mode change 100755 => 100644 doc/img/computed3.png mode change 100755 => 100644 doc/img/contact.gif mode change 100755 => 100644 doc/img/dates1.png mode change 100755 => 100644 doc/img/dates2.png mode change 100755 => 100644 doc/img/dates3.png mode change 100755 => 100644 doc/img/dates4.png mode change 100755 => 100644 doc/img/documentFunction1.png mode change 100755 => 100644 doc/img/documentFunction2.png mode change 100755 => 100644 doc/img/documentFunction3.png mode change 100755 => 100644 doc/img/download.gif mode change 100755 => 100644 doc/img/emptyQuery.png mode change 100755 => 100644 doc/img/files1.png mode change 100755 => 100644 doc/img/files2.png mode change 100755 => 100644 doc/img/files3.png mode change 100755 => 100644 doc/img/files4.png mode change 100755 => 100644 doc/img/files5.png mode change 100755 => 100644 doc/img/filledQuery.png mode change 100755 => 100644 doc/img/flavourOptions.png mode change 100755 => 100644 doc/img/genpod1.png mode change 100755 => 100644 doc/img/genpod10.png mode change 100755 => 100644 doc/img/genpod11.png mode change 100755 => 100644 doc/img/genpod12.png mode change 100755 => 100644 doc/img/genpod13.png mode change 100755 => 100644 doc/img/genpod14.png mode change 100755 => 100644 doc/img/genpod2.png mode change 100755 => 100644 doc/img/genpod3.png mode change 100755 => 100644 doc/img/genpod4.png mode change 100755 => 100644 doc/img/genpod5.png mode change 100755 => 100644 doc/img/genpod6.png mode change 100755 => 100644 doc/img/genpod7.png mode change 100755 => 100644 doc/img/genpod8.png mode change 100755 => 100644 doc/img/genpod9.png mode change 100755 => 100644 doc/img/gnu.png mode change 100755 => 100644 doc/img/home.png mode change 100755 => 100644 doc/img/i18n1.png mode change 100755 => 100644 doc/img/inherit1.png mode change 100755 => 100644 doc/img/inherit2.png mode change 100755 => 100644 doc/img/inherit3.png mode change 100755 => 100644 doc/img/inherit4.png mode change 100755 => 100644 doc/img/inherit5.png mode change 100755 => 100644 doc/img/inherit6.png mode change 100755 => 100644 doc/img/integersFloats1.png mode change 100755 => 100644 doc/img/integersFloats2.png mode change 100755 => 100644 doc/img/integersFloats3.png mode change 100755 => 100644 doc/img/integersFloats4.png mode change 100755 => 100644 doc/img/mastersSlaves1.png mode change 100755 => 100644 doc/img/mastersSlaves2.png mode change 100755 => 100644 doc/img/mastersSlaves3.png mode change 100755 => 100644 doc/img/mastersSlaves4.png mode change 100755 => 100644 doc/img/objectStorage1.png mode change 100755 => 100644 doc/img/objectStorage2.png mode change 100755 => 100644 doc/img/pagesAndGroups1.png mode change 100755 => 100644 doc/img/pagesAndGroups2.png mode change 100755 => 100644 doc/img/pagesAndGroups3.png mode change 100755 => 100644 doc/img/pagesAndGroups4.png mode change 100755 => 100644 doc/img/pagesAndGroups5.png mode change 100755 => 100644 doc/img/pagesAndGroups6.png mode change 100755 => 100644 doc/img/pagesAndGroups7.png mode change 100755 => 100644 doc/img/pagesAndGroups8.png mode change 100755 => 100644 doc/img/plone.png mode change 100755 => 100644 doc/img/portlet.png mode change 100755 => 100644 doc/img/python.gif mode change 100755 => 100644 doc/img/refs1.png mode change 100755 => 100644 doc/img/refs10.png mode change 100755 => 100644 doc/img/refs10b.png mode change 100755 => 100644 doc/img/refs10c.png mode change 100755 => 100644 doc/img/refs11.png mode change 100755 => 100644 doc/img/refs12.png mode change 100755 => 100644 doc/img/refs13.png mode change 100755 => 100644 doc/img/refs14.png mode change 100755 => 100644 doc/img/refs15.png mode change 100755 => 100644 doc/img/refs2.png mode change 100755 => 100644 doc/img/refs3.png mode change 100755 => 100644 doc/img/refs4.png mode change 100755 => 100644 doc/img/refs5.png mode change 100755 => 100644 doc/img/refs6.png mode change 100755 => 100644 doc/img/refs7.png mode change 100755 => 100644 doc/img/refs8.png mode change 100755 => 100644 doc/img/refs9.png mode change 100755 => 100644 doc/img/specialMethods1.png mode change 100755 => 100644 doc/img/specialMethods2.png mode change 100755 => 100644 doc/img/strings1.png mode change 100755 => 100644 doc/img/strings2.png mode change 100755 => 100644 doc/img/strings3.png mode change 100755 => 100644 doc/img/strings4.png mode change 100755 => 100644 doc/img/strings5.png mode change 100755 => 100644 doc/img/strings6.png mode change 100755 => 100644 doc/img/strings7.png mode change 100755 => 100644 doc/img/strings8.png mode change 100755 => 100644 doc/img/strings9.png mode change 100755 => 100644 doc/img/todo.gif mode change 100755 => 100644 doc/img/tool.png mode change 100755 => 100644 doc/img/toolAndFlavours1.png mode change 100755 => 100644 doc/img/toolAndFlavours10.png mode change 100755 => 100644 doc/img/toolAndFlavours11.png mode change 100755 => 100644 doc/img/toolAndFlavours12.png mode change 100755 => 100644 doc/img/toolAndFlavours13.png mode change 100755 => 100644 doc/img/toolAndFlavours14.png mode change 100755 => 100644 doc/img/toolAndFlavours15.png mode change 100755 => 100644 doc/img/toolAndFlavours16.png mode change 100755 => 100644 doc/img/toolAndFlavours17.png mode change 100755 => 100644 doc/img/toolAndFlavours18.png mode change 100755 => 100644 doc/img/toolAndFlavours19.png mode change 100755 => 100644 doc/img/toolAndFlavours2.png mode change 100755 => 100644 doc/img/toolAndFlavours20.png mode change 100755 => 100644 doc/img/toolAndFlavours21.png mode change 100755 => 100644 doc/img/toolAndFlavours22.png mode change 100755 => 100644 doc/img/toolAndFlavours23.png mode change 100755 => 100644 doc/img/toolAndFlavours2b.png mode change 100755 => 100644 doc/img/toolAndFlavours2c.png mode change 100755 => 100644 doc/img/toolAndFlavours3.png mode change 100755 => 100644 doc/img/toolAndFlavours4.png mode change 100755 => 100644 doc/img/toolAndFlavours5.png mode change 100755 => 100644 doc/img/toolAndFlavours6.png mode change 100755 => 100644 doc/img/toolAndFlavours7.png mode change 100755 => 100644 doc/img/toolAndFlavours8.png mode change 100755 => 100644 doc/img/toolAndFlavours9.png mode change 100755 => 100644 doc/img/workflow1.png mode change 100755 => 100644 doc/img/workflow10.png mode change 100755 => 100644 doc/img/workflow11.png mode change 100755 => 100644 doc/img/workflow12.png mode change 100755 => 100644 doc/img/workflow2.png mode change 100755 => 100644 doc/img/workflow3.png mode change 100755 => 100644 doc/img/workflow4.png mode change 100755 => 100644 doc/img/workflow5.png mode change 100755 => 100644 doc/img/workflow6.png mode change 100755 => 100644 doc/img/workflow7.png mode change 100755 => 100644 doc/img/workflow8.png mode change 100755 => 100644 doc/img/workflow9.png mode change 100755 => 100644 doc/img/xhtmlChunk.png mode change 100755 => 100644 doc/img/xhtmlResult.png mode change 100755 => 100644 doc/img/xhtmlStylesMapping.png mode change 100755 => 100644 doc/img/xhtmlTemplate.png mode change 100755 => 100644 doc/img/zmi.png mode change 100755 => 100644 doc/img/zopeComponentEdit.png mode change 100755 => 100644 doc/index.html mode change 100755 => 100644 doc/license.txt mode change 100755 => 100644 doc/pod.html mode change 100755 => 100644 doc/podRenderingTemplates.html mode change 100755 => 100644 doc/podWritingAdvancedTemplates.html mode change 100755 => 100644 doc/podWritingTemplates.html mode change 100755 => 100644 doc/template.html mode change 100755 => 100644 doc/version.txt mode change 100755 => 100644 gen/__init__.py mode change 100755 => 100644 gen/generator.py mode change 100755 => 100644 gen/odt/__init__.py mode change 100755 => 100644 gen/odt/generator.py mode change 100755 => 100644 gen/plone25/skin/search.gif mode change 100755 => 100644 gen/plone25/skin/waiting.gif mode change 100755 => 100644 gen/po.py mode change 100755 => 100644 gen/utils.py mode change 100755 => 100644 pod/__init__.py mode change 100755 => 100644 pod/actions.py mode change 100755 => 100644 pod/buffers.py mode change 100755 => 100644 pod/converter.py mode change 100755 => 100644 pod/doc_importers.py mode change 100755 => 100644 pod/elements.py mode change 100755 => 100644 pod/odf_parser.py mode change 100755 => 100644 pod/pod_parser.py mode change 100755 => 100644 pod/renderer.py mode change 100755 => 100644 pod/styles.in.content.xml mode change 100755 => 100644 pod/styles.in.styles.xml mode change 100755 => 100644 pod/styles_manager.py mode change 100755 => 100644 pod/test/Readme.txt mode change 100755 => 100644 pod/test/Tester.py mode change 100755 => 100644 pod/test/Tests.rtf mode change 100755 => 100644 pod/test/__init__.py mode change 100755 => 100644 pod/test/contexts/ElseStatements.py mode change 100755 => 100644 pod/test/contexts/Empty.py mode change 100755 => 100644 pod/test/contexts/FileHandlerImport.py mode change 100755 => 100644 pod/test/contexts/IfAndFors1.py mode change 100755 => 100644 pod/test/contexts/ImagesImport.py mode change 100755 => 100644 pod/test/contexts/OnlyExpressions.py mode change 100755 => 100644 pod/test/contexts/PathImport.py mode change 100755 => 100644 pod/test/contexts/PersonsEight.py mode change 100755 => 100644 pod/test/contexts/PersonsFour.py mode change 100755 => 100644 pod/test/contexts/PersonsThree.py mode change 100755 => 100644 pod/test/contexts/PersonsTwo.py mode change 100755 => 100644 pod/test/contexts/SimpleForEmptyList.py mode change 100755 => 100644 pod/test/contexts/SimpleForFilledList.py mode change 100755 => 100644 pod/test/contexts/SimpleForRow.py mode change 100755 => 100644 pod/test/contexts/SimpleIfIsFalse.py mode change 100755 => 100644 pod/test/contexts/SimpleIfIsTrue.py mode change 100755 => 100644 pod/test/contexts/SimpleTest.py mode change 100755 => 100644 pod/test/contexts/VarStatements.py mode change 100755 => 100644 pod/test/contexts/XhtmlComplex.py mode change 100755 => 100644 pod/test/contexts/XhtmlComplex2.py mode change 100755 => 100644 pod/test/contexts/XhtmlComplex3.py mode change 100755 => 100644 pod/test/contexts/XhtmlComplexTables.py mode change 100755 => 100644 pod/test/contexts/XhtmlEntities.py mode change 100755 => 100644 pod/test/contexts/XhtmlKeepWithNext.py mode change 100755 => 100644 pod/test/contexts/XhtmlNominal.py mode change 100755 => 100644 pod/test/contexts/XhtmlStylesErrors.py mode change 100755 => 100644 pod/test/contexts/XhtmlStylesMapping.py mode change 100755 => 100644 pod/test/contexts/XhtmlTables.py mode change 100755 => 100644 pod/test/contexts/XhtmlWithStyle.py mode change 100755 => 100644 pod/test/contexts/__init__.py mode change 100755 => 100644 pod/test/images/linux.jpg mode change 100755 => 100644 pod/test/images/plone.png mode change 100755 => 100644 pod/test/images/python.gif mode change 100755 => 100644 pod/test/results/elseStatements.odt mode change 100755 => 100644 pod/test/results/errorExpression.odt mode change 100755 => 100644 pod/test/results/errorFooter.odt mode change 100755 => 100644 pod/test/results/errorForParsetime.odt mode change 100755 => 100644 pod/test/results/errorForRuntime.odt mode change 100755 => 100644 pod/test/results/errorIf.odt mode change 100755 => 100644 pod/test/results/fileHandlerImport.odt mode change 100755 => 100644 pod/test/results/forCellCorrectNumber.odt mode change 100755 => 100644 pod/test/results/forCellNotEnough.odt mode change 100755 => 100644 pod/test/results/forCellOnlyOne.odt mode change 100755 => 100644 pod/test/results/forCellTooMuch1.odt mode change 100755 => 100644 pod/test/results/forCellTooMuch2.odt mode change 100755 => 100644 pod/test/results/forCellTooMuch3.odt mode change 100755 => 100644 pod/test/results/forCellTooMuch4.odt mode change 100755 => 100644 pod/test/results/forTable.odt mode change 100755 => 100644 pod/test/results/forTableMinus.odt mode change 100755 => 100644 pod/test/results/forTableMinus2.odt mode change 100755 => 100644 pod/test/results/forTableMinusError.odt mode change 100755 => 100644 pod/test/results/forTableMinusError2.odt mode change 100755 => 100644 pod/test/results/headerFooter.odt mode change 100755 => 100644 pod/test/results/ifAndFors1.odt mode change 100755 => 100644 pod/test/results/ifElseErrors.odt mode change 100755 => 100644 pod/test/results/imagesImport.odt mode change 100755 => 100644 pod/test/results/noPython.odt mode change 100755 => 100644 pod/test/results/onlyExpressions.odt mode change 100755 => 100644 pod/test/results/pathImport.odt mode change 100755 => 100644 pod/test/results/simpleForEmptyList.odt mode change 100755 => 100644 pod/test/results/simpleForFilledList.odt mode change 100755 => 100644 pod/test/results/simpleForRow.odt mode change 100755 => 100644 pod/test/results/simpleFromTest.odt mode change 100755 => 100644 pod/test/results/simpleIfIsFalse.odt mode change 100755 => 100644 pod/test/results/simpleIfIsTrue.odt mode change 100755 => 100644 pod/test/results/simpleIfIsTrue003.odt mode change 100755 => 100644 pod/test/results/simpleMinusError.odt mode change 100755 => 100644 pod/test/results/simpleTest.odt mode change 100755 => 100644 pod/test/results/withAnImage.odt mode change 100755 => 100644 pod/test/results/xhtmlComplex.odt mode change 100755 => 100644 pod/test/results/xhtmlComplexTables.odt mode change 100755 => 100644 pod/test/results/xhtmlKeepWithNext.odt mode change 100755 => 100644 pod/test/results/xhtmlNominal.odt mode change 100755 => 100644 pod/test/results/xhtmlStylesErrors.odt mode change 100755 => 100644 pod/test/results/xhtmlStylesMapping.odt mode change 100755 => 100644 pod/test/templates/ElseStatements.odt mode change 100755 => 100644 pod/test/templates/ErrorExpression.odt mode change 100755 => 100644 pod/test/templates/ErrorFooter.odt mode change 100755 => 100644 pod/test/templates/ErrorForParsetime.odt mode change 100755 => 100644 pod/test/templates/ErrorForRuntime.odt mode change 100755 => 100644 pod/test/templates/ErrorIf.odt mode change 100755 => 100644 pod/test/templates/FileHandlerImport.odt mode change 100755 => 100644 pod/test/templates/ForCell.odt mode change 100755 => 100644 pod/test/templates/ForCell2.odt mode change 100755 => 100644 pod/test/templates/ForCell3.odt mode change 100755 => 100644 pod/test/templates/ForCell4.odt mode change 100755 => 100644 pod/test/templates/ForCell5.odt mode change 100755 => 100644 pod/test/templates/ForTable.odt mode change 100755 => 100644 pod/test/templates/ForTableMinus.odt mode change 100755 => 100644 pod/test/templates/ForTableMinus2.odt mode change 100755 => 100644 pod/test/templates/ForTableMinusError.odt mode change 100755 => 100644 pod/test/templates/ForTableMinusError2.odt mode change 100755 => 100644 pod/test/templates/HeaderFooter.odt mode change 100755 => 100644 pod/test/templates/IfAndFors1.odt mode change 100755 => 100644 pod/test/templates/IfElseErrors.odt mode change 100755 => 100644 pod/test/templates/ImagesImport.odt mode change 100755 => 100644 pod/test/templates/NoPython.odt mode change 100755 => 100644 pod/test/templates/OnlyExpressions.odt mode change 100755 => 100644 pod/test/templates/PathImport.odt mode change 100755 => 100644 pod/test/templates/SimpleForEmptyList.odt mode change 100755 => 100644 pod/test/templates/SimpleForFilledList.odt mode change 100755 => 100644 pod/test/templates/SimpleForRow.odt mode change 100755 => 100644 pod/test/templates/SimpleFromTest.odt mode change 100755 => 100644 pod/test/templates/SimpleIfIsFalse.odt mode change 100755 => 100644 pod/test/templates/SimpleIfIsTrue.odt mode change 100755 => 100644 pod/test/templates/SimpleIfIsTrue003.odt mode change 100755 => 100644 pod/test/templates/SimpleMinusError.odt mode change 100755 => 100644 pod/test/templates/SimpleTest.odt mode change 100755 => 100644 pod/test/templates/VarStatements.odt mode change 100755 => 100644 pod/test/templates/WithAnImage.odt mode change 100755 => 100644 pod/test/templates/Xhtml.odt mode change 100755 => 100644 pod/test/templates/XhtmlComplex2.odt mode change 100755 => 100644 pod/test/templates/XhtmlComplex3.odt mode change 100755 => 100644 pod/test/templates/XhtmlComplex4.odt mode change 100755 => 100644 pod/test/templates/XhtmlComplexTables.odt mode change 100755 => 100644 pod/test/templates/XhtmlKeepWithNext.odt mode change 100755 => 100644 pod/test/templates/XhtmlSimple.odt mode change 100755 => 100644 pod/test/templates/XhtmlStyles.odt mode change 100755 => 100644 pod/test/templates/XhtmlStylesErrors.odt mode change 100755 => 100644 pod/test/templates/XhtmlTables.odt mode change 100755 => 100644 pod/xhtml2odt.py mode change 100755 => 100644 shared/__init__.py mode change 100755 => 100644 shared/errors.py mode change 100755 => 100644 shared/rtf.py mode change 100755 => 100644 shared/test.py mode change 100755 => 100644 shared/utils.py delete mode 100755 shared/version.txt mode change 100755 => 100644 shared/xml_parser.py diff --git a/__init__.py b/__init__.py old mode 100755 new mode 100644 diff --git a/bin/__init__.py b/bin/__init__.py old mode 100755 new mode 100644 diff --git a/bin/clean.py b/bin/clean.py old mode 100755 new mode 100644 diff --git a/bin/zip.py b/bin/zip.py old mode 100755 new mode 100644 diff --git a/doc/appy.css b/doc/appy.css old mode 100755 new mode 100644 diff --git a/doc/artwork.odg b/doc/artwork.odg old mode 100755 new mode 100644 diff --git a/doc/docToc.html b/doc/docToc.html old mode 100755 new mode 100644 diff --git a/doc/gen.html b/doc/gen.html old mode 100755 new mode 100644 diff --git a/doc/genCreatingAdvancedClasses.html b/doc/genCreatingAdvancedClasses.html old mode 100755 new mode 100644 diff --git a/doc/genCreatingBasicClasses.html b/doc/genCreatingBasicClasses.html old mode 100755 new mode 100644 diff --git a/doc/genSecurityAndWorkflows.html b/doc/genSecurityAndWorkflows.html old mode 100755 new mode 100644 diff --git a/doc/gossips.odt b/doc/gossips.odt old mode 100755 new mode 100644 diff --git a/doc/helloWorld.odt b/doc/helloWorld.odt old mode 100755 new mode 100644 diff --git a/doc/img/ElseAmbiguous.png b/doc/img/ElseAmbiguous.png old mode 100755 new mode 100644 diff --git a/doc/img/ElseAmbiguous.res.png b/doc/img/ElseAmbiguous.res.png old mode 100755 new mode 100644 diff --git a/doc/img/ElseNotAmbiguous.png b/doc/img/ElseNotAmbiguous.png old mode 100755 new mode 100644 diff --git a/doc/img/ElseNotAmbiguous.res.png b/doc/img/ElseNotAmbiguous.res.png old mode 100755 new mode 100644 diff --git a/doc/img/ElseStatements.png b/doc/img/ElseStatements.png old mode 100755 new mode 100644 diff --git a/doc/img/ElseStatements.res.png b/doc/img/ElseStatements.res.png old mode 100755 new mode 100644 diff --git a/doc/img/ErrorExpression.png b/doc/img/ErrorExpression.png old mode 100755 new mode 100644 diff --git a/doc/img/ErrorExpression.res.png b/doc/img/ErrorExpression.res.png old mode 100755 new mode 100644 diff --git a/doc/img/ErrorForParsetime.png b/doc/img/ErrorForParsetime.png old mode 100755 new mode 100644 diff --git a/doc/img/ErrorForParsetime.res.png b/doc/img/ErrorForParsetime.res.png old mode 100755 new mode 100644 diff --git a/doc/img/ErrorForRuntime.png b/doc/img/ErrorForRuntime.png old mode 100755 new mode 100644 diff --git a/doc/img/ErrorForRuntime.res.png b/doc/img/ErrorForRuntime.res.png old mode 100755 new mode 100644 diff --git a/doc/img/ErrorIf.png b/doc/img/ErrorIf.png old mode 100755 new mode 100644 diff --git a/doc/img/ErrorIf.res.png b/doc/img/ErrorIf.res.png old mode 100755 new mode 100644 diff --git a/doc/img/ForCellNotEnough.png b/doc/img/ForCellNotEnough.png old mode 100755 new mode 100644 diff --git a/doc/img/ForCellNotEnough.res.png b/doc/img/ForCellNotEnough.res.png old mode 100755 new mode 100644 diff --git a/doc/img/ForCellTooMuch2.png b/doc/img/ForCellTooMuch2.png old mode 100755 new mode 100644 diff --git a/doc/img/ForCellTooMuch2.res.png b/doc/img/ForCellTooMuch2.res.png old mode 100755 new mode 100644 diff --git a/doc/img/ForTableMinus.png b/doc/img/ForTableMinus.png old mode 100755 new mode 100644 diff --git a/doc/img/ForTableMinus.res.png b/doc/img/ForTableMinus.res.png old mode 100755 new mode 100644 diff --git a/doc/img/ForTableMinusError.png b/doc/img/ForTableMinusError.png old mode 100755 new mode 100644 diff --git a/doc/img/ForTableMinusError.res.png b/doc/img/ForTableMinusError.res.png old mode 100755 new mode 100644 diff --git a/doc/img/FromWithFor.png b/doc/img/FromWithFor.png old mode 100755 new mode 100644 diff --git a/doc/img/FromWithFor.res.png b/doc/img/FromWithFor.res.png old mode 100755 new mode 100644 diff --git a/doc/img/IfAndFors1.png b/doc/img/IfAndFors1.png old mode 100755 new mode 100644 diff --git a/doc/img/IfAndFors1.res.png b/doc/img/IfAndFors1.res.png old mode 100755 new mode 100644 diff --git a/doc/img/IfExpression.png b/doc/img/IfExpression.png old mode 100755 new mode 100644 diff --git a/doc/img/IfExpression.res.png b/doc/img/IfExpression.res.png old mode 100755 new mode 100644 diff --git a/doc/img/OnlyExpressions.png b/doc/img/OnlyExpressions.png old mode 100755 new mode 100644 diff --git a/doc/img/OnlyExpressions.res.png b/doc/img/OnlyExpressions.res.png old mode 100755 new mode 100644 diff --git a/doc/img/SimpleFrom.png b/doc/img/SimpleFrom.png old mode 100755 new mode 100644 diff --git a/doc/img/SimpleFrom.res.png b/doc/img/SimpleFrom.res.png old mode 100755 new mode 100644 diff --git a/doc/img/SimpleTest.png b/doc/img/SimpleTest.png old mode 100755 new mode 100644 diff --git a/doc/img/SimpleTest.res.png b/doc/img/SimpleTest.res.png old mode 100755 new mode 100644 diff --git a/doc/img/actions1.png b/doc/img/actions1.png old mode 100755 new mode 100644 diff --git a/doc/img/actions2.png b/doc/img/actions2.png old mode 100755 new mode 100644 diff --git a/doc/img/advisory.png b/doc/img/advisory.png old mode 100755 new mode 100644 diff --git a/doc/img/booleans1.png b/doc/img/booleans1.png old mode 100755 new mode 100644 diff --git a/doc/img/builtinFunctionInPodExpression.png b/doc/img/builtinFunctionInPodExpression.png old mode 100755 new mode 100644 diff --git a/doc/img/builtinFunctionInPodExpression.res.png b/doc/img/builtinFunctionInPodExpression.res.png old mode 100755 new mode 100644 diff --git a/doc/img/computed1.png b/doc/img/computed1.png old mode 100755 new mode 100644 diff --git a/doc/img/computed2.png b/doc/img/computed2.png old mode 100755 new mode 100644 diff --git a/doc/img/computed3.png b/doc/img/computed3.png old mode 100755 new mode 100644 diff --git a/doc/img/contact.gif b/doc/img/contact.gif old mode 100755 new mode 100644 diff --git a/doc/img/dates1.png b/doc/img/dates1.png old mode 100755 new mode 100644 diff --git a/doc/img/dates2.png b/doc/img/dates2.png old mode 100755 new mode 100644 diff --git a/doc/img/dates3.png b/doc/img/dates3.png old mode 100755 new mode 100644 diff --git a/doc/img/dates4.png b/doc/img/dates4.png old mode 100755 new mode 100644 diff --git a/doc/img/documentFunction1.png b/doc/img/documentFunction1.png old mode 100755 new mode 100644 diff --git a/doc/img/documentFunction2.png b/doc/img/documentFunction2.png old mode 100755 new mode 100644 diff --git a/doc/img/documentFunction3.png b/doc/img/documentFunction3.png old mode 100755 new mode 100644 diff --git a/doc/img/download.gif b/doc/img/download.gif old mode 100755 new mode 100644 diff --git a/doc/img/emptyQuery.png b/doc/img/emptyQuery.png old mode 100755 new mode 100644 diff --git a/doc/img/files1.png b/doc/img/files1.png old mode 100755 new mode 100644 diff --git a/doc/img/files2.png b/doc/img/files2.png old mode 100755 new mode 100644 diff --git a/doc/img/files3.png b/doc/img/files3.png old mode 100755 new mode 100644 diff --git a/doc/img/files4.png b/doc/img/files4.png old mode 100755 new mode 100644 diff --git a/doc/img/files5.png b/doc/img/files5.png old mode 100755 new mode 100644 diff --git a/doc/img/filledQuery.png b/doc/img/filledQuery.png old mode 100755 new mode 100644 diff --git a/doc/img/flavourOptions.png b/doc/img/flavourOptions.png old mode 100755 new mode 100644 diff --git a/doc/img/genpod1.png b/doc/img/genpod1.png old mode 100755 new mode 100644 diff --git a/doc/img/genpod10.png b/doc/img/genpod10.png old mode 100755 new mode 100644 diff --git a/doc/img/genpod11.png b/doc/img/genpod11.png old mode 100755 new mode 100644 diff --git a/doc/img/genpod12.png b/doc/img/genpod12.png old mode 100755 new mode 100644 diff --git a/doc/img/genpod13.png b/doc/img/genpod13.png old mode 100755 new mode 100644 diff --git a/doc/img/genpod14.png b/doc/img/genpod14.png old mode 100755 new mode 100644 diff --git a/doc/img/genpod2.png b/doc/img/genpod2.png old mode 100755 new mode 100644 diff --git a/doc/img/genpod3.png b/doc/img/genpod3.png old mode 100755 new mode 100644 diff --git a/doc/img/genpod4.png b/doc/img/genpod4.png old mode 100755 new mode 100644 diff --git a/doc/img/genpod5.png b/doc/img/genpod5.png old mode 100755 new mode 100644 diff --git a/doc/img/genpod6.png b/doc/img/genpod6.png old mode 100755 new mode 100644 diff --git a/doc/img/genpod7.png b/doc/img/genpod7.png old mode 100755 new mode 100644 diff --git a/doc/img/genpod8.png b/doc/img/genpod8.png old mode 100755 new mode 100644 diff --git a/doc/img/genpod9.png b/doc/img/genpod9.png old mode 100755 new mode 100644 diff --git a/doc/img/gnu.png b/doc/img/gnu.png old mode 100755 new mode 100644 diff --git a/doc/img/home.png b/doc/img/home.png old mode 100755 new mode 100644 diff --git a/doc/img/i18n1.png b/doc/img/i18n1.png old mode 100755 new mode 100644 diff --git a/doc/img/inherit1.png b/doc/img/inherit1.png old mode 100755 new mode 100644 diff --git a/doc/img/inherit2.png b/doc/img/inherit2.png old mode 100755 new mode 100644 diff --git a/doc/img/inherit3.png b/doc/img/inherit3.png old mode 100755 new mode 100644 diff --git a/doc/img/inherit4.png b/doc/img/inherit4.png old mode 100755 new mode 100644 diff --git a/doc/img/inherit5.png b/doc/img/inherit5.png old mode 100755 new mode 100644 diff --git a/doc/img/inherit6.png b/doc/img/inherit6.png old mode 100755 new mode 100644 diff --git a/doc/img/integersFloats1.png b/doc/img/integersFloats1.png old mode 100755 new mode 100644 diff --git a/doc/img/integersFloats2.png b/doc/img/integersFloats2.png old mode 100755 new mode 100644 diff --git a/doc/img/integersFloats3.png b/doc/img/integersFloats3.png old mode 100755 new mode 100644 diff --git a/doc/img/integersFloats4.png b/doc/img/integersFloats4.png old mode 100755 new mode 100644 diff --git a/doc/img/mastersSlaves1.png b/doc/img/mastersSlaves1.png old mode 100755 new mode 100644 diff --git a/doc/img/mastersSlaves2.png b/doc/img/mastersSlaves2.png old mode 100755 new mode 100644 diff --git a/doc/img/mastersSlaves3.png b/doc/img/mastersSlaves3.png old mode 100755 new mode 100644 diff --git a/doc/img/mastersSlaves4.png b/doc/img/mastersSlaves4.png old mode 100755 new mode 100644 diff --git a/doc/img/objectStorage1.png b/doc/img/objectStorage1.png old mode 100755 new mode 100644 diff --git a/doc/img/objectStorage2.png b/doc/img/objectStorage2.png old mode 100755 new mode 100644 diff --git a/doc/img/pagesAndGroups1.png b/doc/img/pagesAndGroups1.png old mode 100755 new mode 100644 diff --git a/doc/img/pagesAndGroups2.png b/doc/img/pagesAndGroups2.png old mode 100755 new mode 100644 diff --git a/doc/img/pagesAndGroups3.png b/doc/img/pagesAndGroups3.png old mode 100755 new mode 100644 diff --git a/doc/img/pagesAndGroups4.png b/doc/img/pagesAndGroups4.png old mode 100755 new mode 100644 diff --git a/doc/img/pagesAndGroups5.png b/doc/img/pagesAndGroups5.png old mode 100755 new mode 100644 diff --git a/doc/img/pagesAndGroups6.png b/doc/img/pagesAndGroups6.png old mode 100755 new mode 100644 diff --git a/doc/img/pagesAndGroups7.png b/doc/img/pagesAndGroups7.png old mode 100755 new mode 100644 diff --git a/doc/img/pagesAndGroups8.png b/doc/img/pagesAndGroups8.png old mode 100755 new mode 100644 diff --git a/doc/img/plone.png b/doc/img/plone.png old mode 100755 new mode 100644 diff --git a/doc/img/portlet.png b/doc/img/portlet.png old mode 100755 new mode 100644 diff --git a/doc/img/python.gif b/doc/img/python.gif old mode 100755 new mode 100644 diff --git a/doc/img/refs1.png b/doc/img/refs1.png old mode 100755 new mode 100644 diff --git a/doc/img/refs10.png b/doc/img/refs10.png old mode 100755 new mode 100644 diff --git a/doc/img/refs10b.png b/doc/img/refs10b.png old mode 100755 new mode 100644 diff --git a/doc/img/refs10c.png b/doc/img/refs10c.png old mode 100755 new mode 100644 diff --git a/doc/img/refs11.png b/doc/img/refs11.png old mode 100755 new mode 100644 diff --git a/doc/img/refs12.png b/doc/img/refs12.png old mode 100755 new mode 100644 diff --git a/doc/img/refs13.png b/doc/img/refs13.png old mode 100755 new mode 100644 diff --git a/doc/img/refs14.png b/doc/img/refs14.png old mode 100755 new mode 100644 diff --git a/doc/img/refs15.png b/doc/img/refs15.png old mode 100755 new mode 100644 diff --git a/doc/img/refs2.png b/doc/img/refs2.png old mode 100755 new mode 100644 diff --git a/doc/img/refs3.png b/doc/img/refs3.png old mode 100755 new mode 100644 diff --git a/doc/img/refs4.png b/doc/img/refs4.png old mode 100755 new mode 100644 diff --git a/doc/img/refs5.png b/doc/img/refs5.png old mode 100755 new mode 100644 diff --git a/doc/img/refs6.png b/doc/img/refs6.png old mode 100755 new mode 100644 diff --git a/doc/img/refs7.png b/doc/img/refs7.png old mode 100755 new mode 100644 diff --git a/doc/img/refs8.png b/doc/img/refs8.png old mode 100755 new mode 100644 diff --git a/doc/img/refs9.png b/doc/img/refs9.png old mode 100755 new mode 100644 diff --git a/doc/img/specialMethods1.png b/doc/img/specialMethods1.png old mode 100755 new mode 100644 diff --git a/doc/img/specialMethods2.png b/doc/img/specialMethods2.png old mode 100755 new mode 100644 diff --git a/doc/img/strings1.png b/doc/img/strings1.png old mode 100755 new mode 100644 diff --git a/doc/img/strings2.png b/doc/img/strings2.png old mode 100755 new mode 100644 diff --git a/doc/img/strings3.png b/doc/img/strings3.png old mode 100755 new mode 100644 diff --git a/doc/img/strings4.png b/doc/img/strings4.png old mode 100755 new mode 100644 diff --git a/doc/img/strings5.png b/doc/img/strings5.png old mode 100755 new mode 100644 diff --git a/doc/img/strings6.png b/doc/img/strings6.png old mode 100755 new mode 100644 diff --git a/doc/img/strings7.png b/doc/img/strings7.png old mode 100755 new mode 100644 diff --git a/doc/img/strings8.png b/doc/img/strings8.png old mode 100755 new mode 100644 diff --git a/doc/img/strings9.png b/doc/img/strings9.png old mode 100755 new mode 100644 diff --git a/doc/img/todo.gif b/doc/img/todo.gif old mode 100755 new mode 100644 diff --git a/doc/img/tool.png b/doc/img/tool.png old mode 100755 new mode 100644 diff --git a/doc/img/toolAndFlavours1.png b/doc/img/toolAndFlavours1.png old mode 100755 new mode 100644 diff --git a/doc/img/toolAndFlavours10.png b/doc/img/toolAndFlavours10.png old mode 100755 new mode 100644 diff --git a/doc/img/toolAndFlavours11.png b/doc/img/toolAndFlavours11.png old mode 100755 new mode 100644 diff --git a/doc/img/toolAndFlavours12.png b/doc/img/toolAndFlavours12.png old mode 100755 new mode 100644 diff --git a/doc/img/toolAndFlavours13.png b/doc/img/toolAndFlavours13.png old mode 100755 new mode 100644 diff --git a/doc/img/toolAndFlavours14.png b/doc/img/toolAndFlavours14.png old mode 100755 new mode 100644 diff --git a/doc/img/toolAndFlavours15.png b/doc/img/toolAndFlavours15.png old mode 100755 new mode 100644 diff --git a/doc/img/toolAndFlavours16.png b/doc/img/toolAndFlavours16.png old mode 100755 new mode 100644 diff --git a/doc/img/toolAndFlavours17.png b/doc/img/toolAndFlavours17.png old mode 100755 new mode 100644 diff --git a/doc/img/toolAndFlavours18.png b/doc/img/toolAndFlavours18.png old mode 100755 new mode 100644 diff --git a/doc/img/toolAndFlavours19.png b/doc/img/toolAndFlavours19.png old mode 100755 new mode 100644 diff --git a/doc/img/toolAndFlavours2.png b/doc/img/toolAndFlavours2.png old mode 100755 new mode 100644 diff --git a/doc/img/toolAndFlavours20.png b/doc/img/toolAndFlavours20.png old mode 100755 new mode 100644 diff --git a/doc/img/toolAndFlavours21.png b/doc/img/toolAndFlavours21.png old mode 100755 new mode 100644 diff --git a/doc/img/toolAndFlavours22.png b/doc/img/toolAndFlavours22.png old mode 100755 new mode 100644 diff --git a/doc/img/toolAndFlavours23.png b/doc/img/toolAndFlavours23.png old mode 100755 new mode 100644 diff --git a/doc/img/toolAndFlavours2b.png b/doc/img/toolAndFlavours2b.png old mode 100755 new mode 100644 diff --git a/doc/img/toolAndFlavours2c.png b/doc/img/toolAndFlavours2c.png old mode 100755 new mode 100644 diff --git a/doc/img/toolAndFlavours3.png b/doc/img/toolAndFlavours3.png old mode 100755 new mode 100644 diff --git a/doc/img/toolAndFlavours4.png b/doc/img/toolAndFlavours4.png old mode 100755 new mode 100644 diff --git a/doc/img/toolAndFlavours5.png b/doc/img/toolAndFlavours5.png old mode 100755 new mode 100644 diff --git a/doc/img/toolAndFlavours6.png b/doc/img/toolAndFlavours6.png old mode 100755 new mode 100644 diff --git a/doc/img/toolAndFlavours7.png b/doc/img/toolAndFlavours7.png old mode 100755 new mode 100644 diff --git a/doc/img/toolAndFlavours8.png b/doc/img/toolAndFlavours8.png old mode 100755 new mode 100644 diff --git a/doc/img/toolAndFlavours9.png b/doc/img/toolAndFlavours9.png old mode 100755 new mode 100644 diff --git a/doc/img/workflow1.png b/doc/img/workflow1.png old mode 100755 new mode 100644 diff --git a/doc/img/workflow10.png b/doc/img/workflow10.png old mode 100755 new mode 100644 diff --git a/doc/img/workflow11.png b/doc/img/workflow11.png old mode 100755 new mode 100644 diff --git a/doc/img/workflow12.png b/doc/img/workflow12.png old mode 100755 new mode 100644 diff --git a/doc/img/workflow2.png b/doc/img/workflow2.png old mode 100755 new mode 100644 diff --git a/doc/img/workflow3.png b/doc/img/workflow3.png old mode 100755 new mode 100644 diff --git a/doc/img/workflow4.png b/doc/img/workflow4.png old mode 100755 new mode 100644 diff --git a/doc/img/workflow5.png b/doc/img/workflow5.png old mode 100755 new mode 100644 diff --git a/doc/img/workflow6.png b/doc/img/workflow6.png old mode 100755 new mode 100644 diff --git a/doc/img/workflow7.png b/doc/img/workflow7.png old mode 100755 new mode 100644 diff --git a/doc/img/workflow8.png b/doc/img/workflow8.png old mode 100755 new mode 100644 diff --git a/doc/img/workflow9.png b/doc/img/workflow9.png old mode 100755 new mode 100644 diff --git a/doc/img/xhtmlChunk.png b/doc/img/xhtmlChunk.png old mode 100755 new mode 100644 diff --git a/doc/img/xhtmlResult.png b/doc/img/xhtmlResult.png old mode 100755 new mode 100644 diff --git a/doc/img/xhtmlStylesMapping.png b/doc/img/xhtmlStylesMapping.png old mode 100755 new mode 100644 diff --git a/doc/img/xhtmlTemplate.png b/doc/img/xhtmlTemplate.png old mode 100755 new mode 100644 diff --git a/doc/img/zmi.png b/doc/img/zmi.png old mode 100755 new mode 100644 diff --git a/doc/img/zopeComponentEdit.png b/doc/img/zopeComponentEdit.png old mode 100755 new mode 100644 diff --git a/doc/index.html b/doc/index.html old mode 100755 new mode 100644 diff --git a/doc/license.txt b/doc/license.txt old mode 100755 new mode 100644 diff --git a/doc/pod.html b/doc/pod.html old mode 100755 new mode 100644 diff --git a/doc/podRenderingTemplates.html b/doc/podRenderingTemplates.html old mode 100755 new mode 100644 diff --git a/doc/podWritingAdvancedTemplates.html b/doc/podWritingAdvancedTemplates.html old mode 100755 new mode 100644 diff --git a/doc/podWritingTemplates.html b/doc/podWritingTemplates.html old mode 100755 new mode 100644 diff --git a/doc/template.html b/doc/template.html old mode 100755 new mode 100644 diff --git a/doc/version.txt b/doc/version.txt old mode 100755 new mode 100644 diff --git a/gen/__init__.py b/gen/__init__.py old mode 100755 new mode 100644 diff --git a/gen/generator.py b/gen/generator.py old mode 100755 new mode 100644 diff --git a/gen/odt/__init__.py b/gen/odt/__init__.py old mode 100755 new mode 100644 diff --git a/gen/odt/generator.py b/gen/odt/generator.py old mode 100755 new mode 100644 diff --git a/gen/plone25/skin/macros.pt b/gen/plone25/skin/macros.pt index bfc4874..5691471 100644 --- a/gen/plone25/skin/macros.pt +++ b/gen/plone25/skin/macros.pt @@ -319,7 +319,7 @@ fullname actor/fullname|nothing; username actor/username|nothing" tal:content="python:fullname or username or actorid"/> - + @@ -560,7 +560,7 @@ Show last modification date - + diff --git a/gen/plone25/skin/search.gif b/gen/plone25/skin/search.gif old mode 100755 new mode 100644 diff --git a/gen/plone25/skin/waiting.gif b/gen/plone25/skin/waiting.gif old mode 100755 new mode 100644 diff --git a/gen/plone25/wrappers/__init__.py b/gen/plone25/wrappers/__init__.py index d7c268d..ddca899 100644 --- a/gen/plone25/wrappers/__init__.py +++ b/gen/plone25/wrappers/__init__.py @@ -6,7 +6,7 @@ import os, os.path, time, mimetypes, unicodedata, random import appy.pod from appy.gen import Search from appy.gen.utils import sequenceTypes -from appy.shared.utils import getOsTempFolder +from appy.shared.utils import getOsTempFolder, executeCommand from appy.shared.xml_parser import XmlMarshaller # Some error messages ---------------------------------------------------------- @@ -372,6 +372,7 @@ class AbstractWrapper: self.o.addDataChange(data, labels=False) # ------------------------------------------------------------------------------ +CONVERSION_ERROR = 'An error occurred while executing command "%s". %s' class FileWrapper: '''When you get, from an appy object, the value of a File attribute, you get an instance of this class.''' @@ -434,9 +435,11 @@ class FileWrapper: convScript = '%s/converter.py' % os.path.dirname(appy.pod.__file__) cmd = '%s %s "%s" %s -p%d' % (tool.unoEnabledPython, convScript, filePath, format, tool.openOfficePort) - res = os.system(cmd) + errorMessage = executeCommand(cmd, ignoreLines='warning') os.remove(filePath) - if res != 0: return + if errorMessage: + tool.log(CONVERSION_ERROR % (cmd, errorMessage), type='error') + return # Return the name of the converted file. baseName, ext = os.path.splitext(filePath) if (ext == '.%s' % format): diff --git a/gen/po.py b/gen/po.py old mode 100755 new mode 100644 diff --git a/gen/utils.py b/gen/utils.py old mode 100755 new mode 100644 diff --git a/pod/__init__.py b/pod/__init__.py old mode 100755 new mode 100644 diff --git a/pod/actions.py b/pod/actions.py old mode 100755 new mode 100644 diff --git a/pod/buffers.py b/pod/buffers.py old mode 100755 new mode 100644 diff --git a/pod/converter.py b/pod/converter.py old mode 100755 new mode 100644 diff --git a/pod/doc_importers.py b/pod/doc_importers.py old mode 100755 new mode 100644 diff --git a/pod/elements.py b/pod/elements.py old mode 100755 new mode 100644 diff --git a/pod/odf_parser.py b/pod/odf_parser.py old mode 100755 new mode 100644 diff --git a/pod/pod_parser.py b/pod/pod_parser.py old mode 100755 new mode 100644 diff --git a/pod/renderer.py b/pod/renderer.py old mode 100755 new mode 100644 index 6864c83..4d4d2ea --- a/pod/renderer.py +++ b/pod/renderer.py @@ -24,13 +24,13 @@ from UserDict import UserDict import appy.pod from appy.pod import PodError from appy.shared.xml_parser import XmlElement +from appy.shared.utils import FolderDeleter, executeCommand from appy.pod.pod_parser import PodParser, PodEnvironment, OdInsert from appy.pod.converter import FILE_TYPES from appy.pod.buffers import FileBuffer from appy.pod.xhtml2odt import Xhtml2OdtConverter from appy.pod.doc_importers import OdtImporter, ImageImporter, PdfImporter from appy.pod.styles_manager import StylesManager -from appy.shared.utils import FolderDeleter # ------------------------------------------------------------------------------ BAD_CONTEXT = 'Context must be either a dict, a UserDict or an instance.' @@ -370,23 +370,9 @@ class Renderer: cmd = '%s %s %s %s -p%d' % \ (self.pyPath, convScript, qResultOdtName, resultType, self.ooPort) - prgPipes = os.popen3(cmd) - convertOutput = prgPipes[2].read() - for pipe in prgPipes: - pipe.close() + convertOutput = executeCommand(cmd, ignoreLines='warning') if convertOutput: - # Remove warnings - errors = [] - for error in convertOutput.split('\n'): - error = error.strip() - if not error: - continue - elif error.startswith('warning'): - pass - else: - errors.append(error) - if errors: - raise PodError(CONVERT_ERROR % '\n'.join(errors)) + raise PodError(CONVERT_ERROR % convertOutput) except PodError, pe: # When trying to call OO in server mode for producing # ODT (=forceOoCall=True), if an error occurs we still diff --git a/pod/styles.in.content.xml b/pod/styles.in.content.xml old mode 100755 new mode 100644 diff --git a/pod/styles.in.styles.xml b/pod/styles.in.styles.xml old mode 100755 new mode 100644 diff --git a/pod/styles_manager.py b/pod/styles_manager.py old mode 100755 new mode 100644 diff --git a/pod/test/Readme.txt b/pod/test/Readme.txt old mode 100755 new mode 100644 diff --git a/pod/test/Tester.py b/pod/test/Tester.py old mode 100755 new mode 100644 diff --git a/pod/test/Tests.rtf b/pod/test/Tests.rtf old mode 100755 new mode 100644 diff --git a/pod/test/__init__.py b/pod/test/__init__.py old mode 100755 new mode 100644 diff --git a/pod/test/contexts/ElseStatements.py b/pod/test/contexts/ElseStatements.py old mode 100755 new mode 100644 diff --git a/pod/test/contexts/Empty.py b/pod/test/contexts/Empty.py old mode 100755 new mode 100644 diff --git a/pod/test/contexts/FileHandlerImport.py b/pod/test/contexts/FileHandlerImport.py old mode 100755 new mode 100644 diff --git a/pod/test/contexts/IfAndFors1.py b/pod/test/contexts/IfAndFors1.py old mode 100755 new mode 100644 diff --git a/pod/test/contexts/ImagesImport.py b/pod/test/contexts/ImagesImport.py old mode 100755 new mode 100644 diff --git a/pod/test/contexts/OnlyExpressions.py b/pod/test/contexts/OnlyExpressions.py old mode 100755 new mode 100644 diff --git a/pod/test/contexts/PathImport.py b/pod/test/contexts/PathImport.py old mode 100755 new mode 100644 diff --git a/pod/test/contexts/PersonsEight.py b/pod/test/contexts/PersonsEight.py old mode 100755 new mode 100644 diff --git a/pod/test/contexts/PersonsFour.py b/pod/test/contexts/PersonsFour.py old mode 100755 new mode 100644 diff --git a/pod/test/contexts/PersonsThree.py b/pod/test/contexts/PersonsThree.py old mode 100755 new mode 100644 diff --git a/pod/test/contexts/PersonsTwo.py b/pod/test/contexts/PersonsTwo.py old mode 100755 new mode 100644 diff --git a/pod/test/contexts/SimpleForEmptyList.py b/pod/test/contexts/SimpleForEmptyList.py old mode 100755 new mode 100644 diff --git a/pod/test/contexts/SimpleForFilledList.py b/pod/test/contexts/SimpleForFilledList.py old mode 100755 new mode 100644 diff --git a/pod/test/contexts/SimpleForRow.py b/pod/test/contexts/SimpleForRow.py old mode 100755 new mode 100644 diff --git a/pod/test/contexts/SimpleIfIsFalse.py b/pod/test/contexts/SimpleIfIsFalse.py old mode 100755 new mode 100644 diff --git a/pod/test/contexts/SimpleIfIsTrue.py b/pod/test/contexts/SimpleIfIsTrue.py old mode 100755 new mode 100644 diff --git a/pod/test/contexts/SimpleTest.py b/pod/test/contexts/SimpleTest.py old mode 100755 new mode 100644 diff --git a/pod/test/contexts/VarStatements.py b/pod/test/contexts/VarStatements.py old mode 100755 new mode 100644 diff --git a/pod/test/contexts/XhtmlComplex.py b/pod/test/contexts/XhtmlComplex.py old mode 100755 new mode 100644 diff --git a/pod/test/contexts/XhtmlComplex2.py b/pod/test/contexts/XhtmlComplex2.py old mode 100755 new mode 100644 diff --git a/pod/test/contexts/XhtmlComplex3.py b/pod/test/contexts/XhtmlComplex3.py old mode 100755 new mode 100644 diff --git a/pod/test/contexts/XhtmlComplexTables.py b/pod/test/contexts/XhtmlComplexTables.py old mode 100755 new mode 100644 diff --git a/pod/test/contexts/XhtmlEntities.py b/pod/test/contexts/XhtmlEntities.py old mode 100755 new mode 100644 diff --git a/pod/test/contexts/XhtmlKeepWithNext.py b/pod/test/contexts/XhtmlKeepWithNext.py old mode 100755 new mode 100644 diff --git a/pod/test/contexts/XhtmlNominal.py b/pod/test/contexts/XhtmlNominal.py old mode 100755 new mode 100644 diff --git a/pod/test/contexts/XhtmlStylesErrors.py b/pod/test/contexts/XhtmlStylesErrors.py old mode 100755 new mode 100644 diff --git a/pod/test/contexts/XhtmlStylesMapping.py b/pod/test/contexts/XhtmlStylesMapping.py old mode 100755 new mode 100644 diff --git a/pod/test/contexts/XhtmlTables.py b/pod/test/contexts/XhtmlTables.py old mode 100755 new mode 100644 diff --git a/pod/test/contexts/XhtmlWithStyle.py b/pod/test/contexts/XhtmlWithStyle.py old mode 100755 new mode 100644 diff --git a/pod/test/contexts/__init__.py b/pod/test/contexts/__init__.py old mode 100755 new mode 100644 diff --git a/pod/test/images/linux.jpg b/pod/test/images/linux.jpg old mode 100755 new mode 100644 diff --git a/pod/test/images/plone.png b/pod/test/images/plone.png old mode 100755 new mode 100644 diff --git a/pod/test/images/python.gif b/pod/test/images/python.gif old mode 100755 new mode 100644 diff --git a/pod/test/results/elseStatements.odt b/pod/test/results/elseStatements.odt old mode 100755 new mode 100644 diff --git a/pod/test/results/errorExpression.odt b/pod/test/results/errorExpression.odt old mode 100755 new mode 100644 diff --git a/pod/test/results/errorFooter.odt b/pod/test/results/errorFooter.odt old mode 100755 new mode 100644 diff --git a/pod/test/results/errorForParsetime.odt b/pod/test/results/errorForParsetime.odt old mode 100755 new mode 100644 diff --git a/pod/test/results/errorForRuntime.odt b/pod/test/results/errorForRuntime.odt old mode 100755 new mode 100644 diff --git a/pod/test/results/errorIf.odt b/pod/test/results/errorIf.odt old mode 100755 new mode 100644 diff --git a/pod/test/results/fileHandlerImport.odt b/pod/test/results/fileHandlerImport.odt old mode 100755 new mode 100644 diff --git a/pod/test/results/forCellCorrectNumber.odt b/pod/test/results/forCellCorrectNumber.odt old mode 100755 new mode 100644 diff --git a/pod/test/results/forCellNotEnough.odt b/pod/test/results/forCellNotEnough.odt old mode 100755 new mode 100644 diff --git a/pod/test/results/forCellOnlyOne.odt b/pod/test/results/forCellOnlyOne.odt old mode 100755 new mode 100644 diff --git a/pod/test/results/forCellTooMuch1.odt b/pod/test/results/forCellTooMuch1.odt old mode 100755 new mode 100644 diff --git a/pod/test/results/forCellTooMuch2.odt b/pod/test/results/forCellTooMuch2.odt old mode 100755 new mode 100644 diff --git a/pod/test/results/forCellTooMuch3.odt b/pod/test/results/forCellTooMuch3.odt old mode 100755 new mode 100644 diff --git a/pod/test/results/forCellTooMuch4.odt b/pod/test/results/forCellTooMuch4.odt old mode 100755 new mode 100644 diff --git a/pod/test/results/forTable.odt b/pod/test/results/forTable.odt old mode 100755 new mode 100644 diff --git a/pod/test/results/forTableMinus.odt b/pod/test/results/forTableMinus.odt old mode 100755 new mode 100644 diff --git a/pod/test/results/forTableMinus2.odt b/pod/test/results/forTableMinus2.odt old mode 100755 new mode 100644 diff --git a/pod/test/results/forTableMinusError.odt b/pod/test/results/forTableMinusError.odt old mode 100755 new mode 100644 diff --git a/pod/test/results/forTableMinusError2.odt b/pod/test/results/forTableMinusError2.odt old mode 100755 new mode 100644 diff --git a/pod/test/results/headerFooter.odt b/pod/test/results/headerFooter.odt old mode 100755 new mode 100644 diff --git a/pod/test/results/ifAndFors1.odt b/pod/test/results/ifAndFors1.odt old mode 100755 new mode 100644 diff --git a/pod/test/results/ifElseErrors.odt b/pod/test/results/ifElseErrors.odt old mode 100755 new mode 100644 diff --git a/pod/test/results/imagesImport.odt b/pod/test/results/imagesImport.odt old mode 100755 new mode 100644 diff --git a/pod/test/results/noPython.odt b/pod/test/results/noPython.odt old mode 100755 new mode 100644 diff --git a/pod/test/results/onlyExpressions.odt b/pod/test/results/onlyExpressions.odt old mode 100755 new mode 100644 diff --git a/pod/test/results/pathImport.odt b/pod/test/results/pathImport.odt old mode 100755 new mode 100644 diff --git a/pod/test/results/simpleForEmptyList.odt b/pod/test/results/simpleForEmptyList.odt old mode 100755 new mode 100644 diff --git a/pod/test/results/simpleForFilledList.odt b/pod/test/results/simpleForFilledList.odt old mode 100755 new mode 100644 diff --git a/pod/test/results/simpleForRow.odt b/pod/test/results/simpleForRow.odt old mode 100755 new mode 100644 diff --git a/pod/test/results/simpleFromTest.odt b/pod/test/results/simpleFromTest.odt old mode 100755 new mode 100644 diff --git a/pod/test/results/simpleIfIsFalse.odt b/pod/test/results/simpleIfIsFalse.odt old mode 100755 new mode 100644 diff --git a/pod/test/results/simpleIfIsTrue.odt b/pod/test/results/simpleIfIsTrue.odt old mode 100755 new mode 100644 diff --git a/pod/test/results/simpleIfIsTrue003.odt b/pod/test/results/simpleIfIsTrue003.odt old mode 100755 new mode 100644 diff --git a/pod/test/results/simpleMinusError.odt b/pod/test/results/simpleMinusError.odt old mode 100755 new mode 100644 diff --git a/pod/test/results/simpleTest.odt b/pod/test/results/simpleTest.odt old mode 100755 new mode 100644 diff --git a/pod/test/results/withAnImage.odt b/pod/test/results/withAnImage.odt old mode 100755 new mode 100644 diff --git a/pod/test/results/xhtmlComplex.odt b/pod/test/results/xhtmlComplex.odt old mode 100755 new mode 100644 diff --git a/pod/test/results/xhtmlComplexTables.odt b/pod/test/results/xhtmlComplexTables.odt old mode 100755 new mode 100644 diff --git a/pod/test/results/xhtmlKeepWithNext.odt b/pod/test/results/xhtmlKeepWithNext.odt old mode 100755 new mode 100644 diff --git a/pod/test/results/xhtmlNominal.odt b/pod/test/results/xhtmlNominal.odt old mode 100755 new mode 100644 diff --git a/pod/test/results/xhtmlStylesErrors.odt b/pod/test/results/xhtmlStylesErrors.odt old mode 100755 new mode 100644 diff --git a/pod/test/results/xhtmlStylesMapping.odt b/pod/test/results/xhtmlStylesMapping.odt old mode 100755 new mode 100644 diff --git a/pod/test/templates/ElseStatements.odt b/pod/test/templates/ElseStatements.odt old mode 100755 new mode 100644 diff --git a/pod/test/templates/ErrorExpression.odt b/pod/test/templates/ErrorExpression.odt old mode 100755 new mode 100644 diff --git a/pod/test/templates/ErrorFooter.odt b/pod/test/templates/ErrorFooter.odt old mode 100755 new mode 100644 diff --git a/pod/test/templates/ErrorForParsetime.odt b/pod/test/templates/ErrorForParsetime.odt old mode 100755 new mode 100644 diff --git a/pod/test/templates/ErrorForRuntime.odt b/pod/test/templates/ErrorForRuntime.odt old mode 100755 new mode 100644 diff --git a/pod/test/templates/ErrorIf.odt b/pod/test/templates/ErrorIf.odt old mode 100755 new mode 100644 diff --git a/pod/test/templates/FileHandlerImport.odt b/pod/test/templates/FileHandlerImport.odt old mode 100755 new mode 100644 diff --git a/pod/test/templates/ForCell.odt b/pod/test/templates/ForCell.odt old mode 100755 new mode 100644 diff --git a/pod/test/templates/ForCell2.odt b/pod/test/templates/ForCell2.odt old mode 100755 new mode 100644 diff --git a/pod/test/templates/ForCell3.odt b/pod/test/templates/ForCell3.odt old mode 100755 new mode 100644 diff --git a/pod/test/templates/ForCell4.odt b/pod/test/templates/ForCell4.odt old mode 100755 new mode 100644 diff --git a/pod/test/templates/ForCell5.odt b/pod/test/templates/ForCell5.odt old mode 100755 new mode 100644 diff --git a/pod/test/templates/ForTable.odt b/pod/test/templates/ForTable.odt old mode 100755 new mode 100644 diff --git a/pod/test/templates/ForTableMinus.odt b/pod/test/templates/ForTableMinus.odt old mode 100755 new mode 100644 diff --git a/pod/test/templates/ForTableMinus2.odt b/pod/test/templates/ForTableMinus2.odt old mode 100755 new mode 100644 diff --git a/pod/test/templates/ForTableMinusError.odt b/pod/test/templates/ForTableMinusError.odt old mode 100755 new mode 100644 diff --git a/pod/test/templates/ForTableMinusError2.odt b/pod/test/templates/ForTableMinusError2.odt old mode 100755 new mode 100644 diff --git a/pod/test/templates/HeaderFooter.odt b/pod/test/templates/HeaderFooter.odt old mode 100755 new mode 100644 diff --git a/pod/test/templates/IfAndFors1.odt b/pod/test/templates/IfAndFors1.odt old mode 100755 new mode 100644 diff --git a/pod/test/templates/IfElseErrors.odt b/pod/test/templates/IfElseErrors.odt old mode 100755 new mode 100644 diff --git a/pod/test/templates/ImagesImport.odt b/pod/test/templates/ImagesImport.odt old mode 100755 new mode 100644 diff --git a/pod/test/templates/NoPython.odt b/pod/test/templates/NoPython.odt old mode 100755 new mode 100644 diff --git a/pod/test/templates/OnlyExpressions.odt b/pod/test/templates/OnlyExpressions.odt old mode 100755 new mode 100644 diff --git a/pod/test/templates/PathImport.odt b/pod/test/templates/PathImport.odt old mode 100755 new mode 100644 diff --git a/pod/test/templates/SimpleForEmptyList.odt b/pod/test/templates/SimpleForEmptyList.odt old mode 100755 new mode 100644 diff --git a/pod/test/templates/SimpleForFilledList.odt b/pod/test/templates/SimpleForFilledList.odt old mode 100755 new mode 100644 diff --git a/pod/test/templates/SimpleForRow.odt b/pod/test/templates/SimpleForRow.odt old mode 100755 new mode 100644 diff --git a/pod/test/templates/SimpleFromTest.odt b/pod/test/templates/SimpleFromTest.odt old mode 100755 new mode 100644 diff --git a/pod/test/templates/SimpleIfIsFalse.odt b/pod/test/templates/SimpleIfIsFalse.odt old mode 100755 new mode 100644 diff --git a/pod/test/templates/SimpleIfIsTrue.odt b/pod/test/templates/SimpleIfIsTrue.odt old mode 100755 new mode 100644 diff --git a/pod/test/templates/SimpleIfIsTrue003.odt b/pod/test/templates/SimpleIfIsTrue003.odt old mode 100755 new mode 100644 diff --git a/pod/test/templates/SimpleMinusError.odt b/pod/test/templates/SimpleMinusError.odt old mode 100755 new mode 100644 diff --git a/pod/test/templates/SimpleTest.odt b/pod/test/templates/SimpleTest.odt old mode 100755 new mode 100644 diff --git a/pod/test/templates/VarStatements.odt b/pod/test/templates/VarStatements.odt old mode 100755 new mode 100644 diff --git a/pod/test/templates/WithAnImage.odt b/pod/test/templates/WithAnImage.odt old mode 100755 new mode 100644 diff --git a/pod/test/templates/Xhtml.odt b/pod/test/templates/Xhtml.odt old mode 100755 new mode 100644 diff --git a/pod/test/templates/XhtmlComplex2.odt b/pod/test/templates/XhtmlComplex2.odt old mode 100755 new mode 100644 diff --git a/pod/test/templates/XhtmlComplex3.odt b/pod/test/templates/XhtmlComplex3.odt old mode 100755 new mode 100644 diff --git a/pod/test/templates/XhtmlComplex4.odt b/pod/test/templates/XhtmlComplex4.odt old mode 100755 new mode 100644 diff --git a/pod/test/templates/XhtmlComplexTables.odt b/pod/test/templates/XhtmlComplexTables.odt old mode 100755 new mode 100644 diff --git a/pod/test/templates/XhtmlKeepWithNext.odt b/pod/test/templates/XhtmlKeepWithNext.odt old mode 100755 new mode 100644 diff --git a/pod/test/templates/XhtmlSimple.odt b/pod/test/templates/XhtmlSimple.odt old mode 100755 new mode 100644 diff --git a/pod/test/templates/XhtmlStyles.odt b/pod/test/templates/XhtmlStyles.odt old mode 100755 new mode 100644 diff --git a/pod/test/templates/XhtmlStylesErrors.odt b/pod/test/templates/XhtmlStylesErrors.odt old mode 100755 new mode 100644 diff --git a/pod/test/templates/XhtmlTables.odt b/pod/test/templates/XhtmlTables.odt old mode 100755 new mode 100644 diff --git a/pod/xhtml2odt.py b/pod/xhtml2odt.py old mode 100755 new mode 100644 diff --git a/shared/__init__.py b/shared/__init__.py old mode 100755 new mode 100644 diff --git a/shared/errors.py b/shared/errors.py old mode 100755 new mode 100644 diff --git a/shared/rtf.py b/shared/rtf.py old mode 100755 new mode 100644 diff --git a/shared/test.py b/shared/test.py old mode 100755 new mode 100644 diff --git a/shared/utils.py b/shared/utils.py old mode 100755 new mode 100644 index 8413cba..0d2d666 --- a/shared/utils.py +++ b/shared/utils.py @@ -57,4 +57,23 @@ def getOsTempFolder(): else: raise "Sorry, I can't find a temp folder on your machine." return res + +# ------------------------------------------------------------------------------ +def executeCommand(cmd, ignoreLines=None): + '''Executes command p_cmd and returns the content of its stderr. + If p_ignoreLines is not None, we will remove from the result every line + starting with p_ignoreLines.''' + childStdIn, childStdOut, childStdErr = os.popen3(cmd) + res = childStdErr.read() + if res and ignoreLines: + # Remove every line starting with ignoreLines + keptLines = [] + for line in res.split('\n'): + line = line.strip() + if not line or line.startswith(ignoreLines): continue + else: + keptLines.append(line) + res = '\n'.join(keptLines) + childStdIn.close(); childStdOut.close(); childStdErr.close() + return res # ------------------------------------------------------------------------------ diff --git a/shared/version.txt b/shared/version.txt deleted file mode 100755 index 8fdab82..0000000 --- a/shared/version.txt +++ /dev/null @@ -1 +0,0 @@ -0.2dev unreleased diff --git a/shared/xml_parser.py b/shared/xml_parser.py old mode 100755 new mode 100644