50 Commits

Author SHA1 Message Date
Jean-Francois Dockes
8b3792026f Renamed a few extension-less python handlers with a .py extension for consistency 2022-01-14 12:12:22 +01:00
Jean-Francois Dockes
e121695a3c Python handlers: factorise tmp dir code 2021-12-03 11:03:23 +01:00
Jean-Francois Dockes
cb13b8b6df "print fields" change in rclexecm options had broken -s 2021-01-15 14:06:52 +01:00
Jean-Francois Dockes
e00767d98c rclexecm test/debug: add option -f to dump fields 2020-12-29 15:04:49 +01:00
Jean-Francois Dockes
0dd609cf1a python filters: replace misc message printing with single method in rclexecm 2020-09-23 18:38:22 +02:00
Jean-Francois Dockes
d3de1f0d6f add common execPythonScript method to rclexecm 2020-04-07 10:09:09 +02:00
Jean-Francois Dockes
a88c0114b1 python filters: htmlescape needs not be an RclExecM member 2020-03-27 17:19:40 +01:00
Jean-Francois Dockes
90dd64fc61 Have RclExecM inherit the shared CmdTalk now that the latter is used anyway for the korean splitter. Main diff: cmdtalk strips the colon from param names and does not lowercase them 2020-03-27 11:07:51 +01:00
Jean-Francois Dockes
f66b5d1ef9 pdf: fix test on pdfocr config value 2019-10-11 12:05:26 +02:00
Jean-Francois Dockes
af42fe8f5e rclconfig.py, rclexecm.py: implement part of mimetype identification for rclexecm test mode 2019-10-06 07:44:50 +02:00
Jean-Francois Dockes
5d25094107 pst: pass the command line ipath as base64 as there is no msw way to pass utf-8 2019-06-14 14:33:49 +02:00
Jean-Francois Dockes
c1553029b9 Pst on Unix: email message indexing seems fully ok 2019-05-27 12:17:41 +02:00
Jean-Francois Dockes
0cbc46732f Fixed the FSF address 2019-03-04 11:19:14 +01:00
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
61ee8acbc2 Simplified a number of handlers by deriving them from RclBaseHandler 2018-11-09 15:41:14 +01:00
Jean-Francois Dockes
93ac830079 All format handlers compatible with python3 except chm 2018-03-09 15:25:11 +01:00
Jean-Francois Dockes
b9e672abda Allow execm input handlers to set arbitrary data fields 2016-07-11 18:13:39 +02:00
Jean-Francois Dockes
f344e8fedd first pass at converting the filters for python 2/3 compat 2015-11-06 16:49:03 +01:00
Jean-Francois Dockes
a02a611694 let filter 'which' find a command in a specified subdir of PATH elements 2015-10-13 10:00:48 +02:00
Jean-Francois Dockes
1e3ce6c36f Pure mingw build ok 2015-10-08 15:32:01 +02:00
Jean-Francois Dockes
453ed8748a Windows: manage timeouts, time and size limits 2015-10-08 14:08:36 +02:00
Jean-Francois Dockes
a411d4c964 Windows: small fixes for rclmpdf.py to work with alivate poppler 2015-10-01 16:36:29 +02:00
Jean-Francois Dockes
42401c8f26 windows: rclrtf.py and rcldoc.py apparently working ok
--HG--
branch : WINDOWSPORT
2015-09-12 16:53:24 +02:00
Jean-Francois Dockes
118982d25e cleanup in new python filters
--HG--
branch : WINDOWSPORT
2015-09-12 10:54:26 +02:00
Jean-Francois Dockes
330c7fc30d Python filters beginning to work, still issues.
--HG--
branch : WINDOWSPORT
2015-09-11 16:16:16 +02:00
Jean-Francois Dockes
8794932158 converted/duplicated rclsoff to rclsoff.py, using python-libxslt/xml
--HG--
branch : WINDOWSPORT
2015-09-07 15:34:39 +02:00
Jean-Francois Dockes
e40cf64e66 New python-based msword filter + basic arch to convert the others
--HG--
branch : WINDOWSPORT
2015-09-07 11:16:20 +02:00
Jean-Francois Dockes
16f495a9c0 temp ckpt
--HG--
branch : WINDOWSPORT
2015-09-06 19:55:43 +02:00
Jean-Francois Dockes
766a34a8db fix flac mime types in rclaudio + small changes for experimenting with embedding an interpreter in recollindex 2015-08-23 09:29:26 +02:00
Jean-Francois Dockes
86bc0e9104 dquot -> quot! 2014-10-29 11:57:18 +01:00
Jean-Francois Dockes
ea27248837 test driver: no data output by default 2013-06-10 14:01:03 +02:00
Jean-Francois Dockes
e3664ca88b handle filters returning unicode objects 2012-10-23 16:32:52 +02:00
Jean-Francois Dockes
ff2e12f149 glitch in maxmemberkb handling 2012-10-06 11:59:48 +02:00
Jean-Francois Dockes
29fe1e4927 implemented maxmemberkb limit for multidoc (e.g. archive) members 2012-10-06 09:05:35 +02:00
"Jean-Francois Dockes ext:(%22)
5f9095b472 Fixed python filter html escaping 2012-04-03 16:46:16 +02:00
Jean-Francois Dockes
5fa720f23d Typo in error-message printing line crashed rclexecm.py 2011-12-17 16:41:16 +01:00
Jean-Francois Dockes
ea61e85b8f multi-doc filter: getnext error would cause uncaught exception because of access to uninitialized eof variable 2011-11-04 17:32:14 +01:00
Jean-Francois Dockes
44528876e7 test driver touchup 2011-01-29 16:19:10 +01:00
Jean-Francois Dockes
2de2f986d3 filters: fix rclexecm test driver for compat with rclaudio 2011-01-27 16:43:22 +01:00
Jean-Francois Dockes
fdf3ee9414 catch all exceptions from calls to filters to avoid crash system reports 2010-12-15 15:20:51 +01:00
Jean-Francois Dockes
f4aa7fcec4 properly differentiate between subdoc or fatal error in execm protocol 2010-11-22 15:50:14 +01:00
Jean-Francois Dockes
9e994c4f62 python filters: create common main program inside rclexecm.py to help with testing 2010-11-16 15:51:31 +01:00
Jean-Francois Dockes
9246d4e1bd filter for gnu info files 2010-10-30 17:26:00 +02:00
Jean-Francois Dockes
3cfc412531 remove confusing EOF stderr message 2010-09-08 09:55:43 +02:00
dockes
8118002942 handle REFILTERROR in execm 2009-11-18 12:33:05 +00:00
dockes
ebd10680f8 dont use 0-sized doc to mean eof now 2009-11-13 08:15:19 +00:00
dockes
96855e3aea use python zipfile 2009-10-24 06:17:34 +00:00
dockes
744b8770fe initial support for icalendar splitting 2009-10-22 17:13:29 +00:00
dockes
4c9268f23b made rclexecm a class in a separate module 2009-10-22 12:24:13 +00:00