320 Commits

Author SHA1 Message Date
Jean-Francois Dockes
ee07e724a2 Windows: avoid printing errors from filters.
Broke rclzip because of message going to stdout (why?).
2019-01-29 21:01:09 +01:00
Jean-Francois Dockes
7ea3936420 Windows: use wide char interfaces
Exchange file names and command line parameters with the system using
wchar_t interfaces: allows preserving values which can be reversibly
transcoded in the current multibyte charset (which can't be UTF-8). Store
all file paths internally in UTF-8
2019-01-25 15:28:24 +01:00
Jean-Francois Dockes
8b83058b69 Perl rclimg: do call use Image::Exiftool
So that the packer can do its job on Windows
2019-01-25 15:16:08 +01:00
Jean-Francois Dockes
409d877f46 7z: no need for importing pylzma 2019-01-25 15:14:14 +01:00
Jean-Francois Dockes
91d20ea363 comments 2019-01-25 15:01:03 +01:00
Jean-Francois Dockes
30d247d57f rcluncomp: always use forward path separator 2019-01-23 14:50:08 +01:00
Jean-Francois Dockes
dca627f5ef msodump: missing import os on win32 2019-01-21 17:12:38 +01:00
Jean-Francois Dockes
b1b5cb5e5e added openxml word and xl. Cant do ppt because need page looping 2018-12-27 17:55:32 +01:00
Jean-Francois Dockes
586ff90dc0 internal xslt: openoffice zip format working 2018-12-27 16:20:12 +01:00
Jean-Francois Dockes
f8a9d9cf7b process other single-stylesheet xml types 2018-12-26 15:51:05 +01:00
Jean-Francois Dockes
00c0c5168b internal xslt working for single-sheet (abw). Still leaking memory? 2018-12-25 10:57:26 +01:00
Jean-Francois Dockes
f273972b63 opendocument flat format: merge body and meta xsl to use genxsl 2018-12-20 17:05:34 +01:00
Jean-Francois Dockes
a193412fa1 rclshowinfo: try a number of term emulators, beginning with x-terminal-emulator, not just xterm. 2018-11-22 18:38:32 +01:00
Jean-Francois Dockes
0df4c06e85 pstotext does not work with recent ghostscript versions. Use catdvi instead of dvips+pstotext for dvi, and ps2pdf+pdftotext for postscript 2018-11-20 15:12:36 +01:00
Jean-Francois Dockes
7b9fc3dda1 rcldvi: fix test for both dvips and pstotext existence 2018-11-14 15:00:14 +01:00
Jean-Francois Dockes
f978ec46e6 rclaudio needs to output text/plain, because setfield only works with text/plain for now 2018-11-11 11:30:10 +01:00
Jean-Francois Dockes
fe7d5febf4 rclaudio: emit embdimg 2018-11-11 10:00:25 +01:00
Jean-Francois Dockes
61ee8acbc2 Simplified a number of handlers by deriving them from RclBaseHandler 2018-11-09 15:41:14 +01:00
Jean-Francois Dockes
af0a389043 comment 2018-11-08 16:26:49 +01:00
Jean-Francois Dockes
433430dfe6 rclepub1: use the bundled python-epub 2018-08-30 14:35:06 +02:00
Jean-Francois Dockes
1765a550bb Because of obsolescence in the pip version of python-epub, bundled https://bitbucket.org/arthurdarcet/epub at 120:8730e6da19f2 (zip file in filters/ directory) 2018-08-30 14:10:18 +02:00
Jean-Francois Dockes
51ede7168b epub: preview would not work with python3 because of unconverted utf-8 binary index 2018-08-30 10:48:13 +02:00
Jean-Francois Dockes
7913344359 rclimg: use shebang line compatible with debian standard 2018-08-30 10:44:19 +02:00
Jean-Francois Dockes
a457b6c68e rclpdf ocr: fix python3 issue. Add pdfocrlang config variable 2018-07-18 18:05:42 +02:00
Jean-Francois Dockes
f0bedb2201 rclaudio: more fixes: complicated because the different file type handlers (e.g. flac, mp3) return data in different types. 2018-06-21 12:30:43 +02:00
Jean-Francois Dockes
a012b831fa rclaudio: more py3 string/bytes types issues 2018-06-21 10:55:01 +02:00
Jean-Francois Dockes
9bb50ccdd5 Renamed bundled pychm to recollchm to ease cohexistence with possible system version 2018-06-12 19:29:37 +02:00
Jean-Francois Dockes
61e471a0e2 use rclbasehandler in more filters 2018-06-04 15:49:21 +02:00
Jean-Francois Dockes
0d24cc35da factorize boilerplate in simple filters 2018-06-04 15:08:06 +02:00
Jean-Francois Dockes
211ea8010c more filter cleanup: factorize code in the vanilla xslt ones, move a few more to python. 2018-06-04 13:30:09 +02:00
Jean-Francois Dockes
2a45f7fef6 filters cleanup continued: remove unused rclps, translate rclabw to python 2018-06-04 10:53:31 +02:00
Jean-Francois Dockes
9bb65fd970 get rid of rclwpd which was not used (wpd2html has been executed directly for who knows how many years) 2018-06-04 10:35:48 +02:00
Jean-Francois Dockes
603369b8f6 windows rcluncomp: let python vers unspecified for now 2018-06-04 10:31:23 +02:00
Jean-Francois Dockes
9ce4f4fcbe fix typo in error message 2018-06-04 10:30:34 +02:00
Jean-Francois Dockes
f3d3f5b0bf rclzip: add useSkippedNames variable to also use the base skippedNames 2018-06-04 09:05:23 +02:00
Jean-Francois Dockes
52d3bfa54f Change the shebang line from python2 to python3 for all scripts 2018-06-01 14:55:10 +02:00
Jean-Francois Dockes
29e63aeda1 CHM handler: bundle pychm for Python3 2018-06-01 14:52:12 +02:00
Jean-Francois Dockes
7b5f701b1d rclxslt: avoid spurious exception when the input (openoffice doc) is empty 2018-05-23 11:34:39 +02:00
Jean-Francois Dockes
4b950384e0 fix mode 2018-04-10 13:46:24 +02:00
Jean-Francois Dockes
cedff8ce7c rclchm: python3 modifications 2018-04-08 10:53:15 +02:00
Jean-Francois Dockes
93ac830079 All format handlers compatible with python3 except chm 2018-03-09 15:25:11 +01:00
Jean-Francois Dockes
7f49de5d97 rcldoc.py: port to python3. We by default exec antiword directly anyway 2018-03-08 20:38:51 +01:00
Jean-Francois Dockes
b8fa3005dd rclkar/python3: small simplifications 2018-03-08 20:37:34 +01:00
Jean-Francois Dockes
d9afcdf8a3 Modified xls and ppt filter to be compatible with python3 2018-03-08 15:51:12 +01:00
Jean-Francois Dockes
c56c1d6f46 rclchm: very small change in support of py3, but there are lots of issue in python-chm itself 2018-02-22 15:54:33 +01:00
Jean-Francois Dockes
5c80488465 imported midi.py module after python3 port, stripped most of the write part. 2018-02-22 09:50:45 +01:00
Jean-Francois Dockes
e72bac02c3 imported python-midi 0.2.1 @4:783219460045 (py3 port) 2018-02-22 09:34:44 +01:00
Jean-Francois Dockes
fead7bb491 ported rclkar to python3 2018-02-22 09:30:42 +01:00
Jean-Francois Dockes
dc0241d53a comments and messages 2018-02-09 18:15:20 +01:00
Jean-Francois Dockes
9d10bd857f none 2018-02-09 18:15:02 +01:00