Commit Graph
100 Commits
Author SHA1 Message Date
Jean-Francois Dockes 5b423dfed3 python api test: do not print out sigs, they keep changing and make comparisons impossible 2018-11-20 18:00:55 +01:00
Jean-Francois Dockes 8fdc8a215e python module: it is necessary to discriminate iternext and fetchone: they do the same thing, but the former must throw an exception at the end of the results, the other must return None 2018-11-20 17:59:58 +01:00
Jean-Francois Dockes d40af51eb5 gnu info test script: get rid of bogus text/plain results on subfiles 2018-11-20 16:26:10 +01:00
Jean-Francois Dockes fd12341b99 comments 2018-11-20 16:09:12 +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 6f1be83251 doc 2018-11-16 17:29:55 +01:00
Jean-Francois Dockes 55e2fe5d27 Prevent text splitter bad array access and stl assertion crash (fedora rpmbuild) in marginal case. There were probably no real consequence beyond triggering the assertion 2018-11-15 18:19:39 +01:00
Jean-Francois Dockes 0f8775e42d GUI: the "Choose" label on the style sheet button would disappear when the file choice dialog was cancelled 2018-11-15 15:22:44 +01:00
Jean-Francois Dockes 34f5ee8740 GUI: Saving queries: work around qt 5.9-11 (at least) bug: defaultSuffix is not appended 2018-11-15 14:27:05 +01:00
Jean-Francois Dockes 218b3fbfe2 Fix clear() call super antipattern in handlers 2018-11-14 15:29:07 +01:00
Jean-Francois Dockes 23141307f7 internfile:collectIpathAndMT: simplify a bit 2018-11-14 15:09:45 +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 b62478c0cc Indent + comments + use c++11 loops 2018-11-14 10:38:22 +01:00
Jean-Francois Dockes ea999ed6e5 Indent + comments + use c++11 initializers 2018-11-14 10:30:31 +01:00
Jean-Francois Dockes f008457493 comments and unused defs removal 2018-11-14 09:43:20 +01:00
Jean-Francois Dockes 036e1da6b4 rcldb: change flush log message level to INF 2018-11-14 09:42:22 +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 e1a937f608 doc 2018-11-08 17:43:16 +01:00
Jean-Francois Dockes af0a389043 comment 2018-11-08 16:26:49 +01:00
Jean-Francois Dockes c82461cf39 modified license on some shared files (gpl->lgpl) 2018-11-06 16:27:54 +01:00
Jean-Francois Dockes 122a59a86b debian control: update deps for python3 2018-11-06 09:46:42 +01:00
Jean-Francois Dockes 1d62b50c7e rearrange md5 code for sharing. update shared smallut 2018-11-06 09:46:05 +01:00
Jean-Francois Dockes 2fb61f2583 logsyserr(): no strerror_r on Windows 2018-10-24 17:10:21 +02:00
Jean-Francois Dockes 7f2b32bff6 Windows librecoll .pro file: update beagle/bgl -> webstore 2018-10-24 17:04:06 +02:00
Jean-Francois Dockes beebb1028b Merge branch 'master' of https://opensourceprojects.eu/git/p/recoll1/code 2018-10-12 12:06:21 +02:00
Jean-Francois Dockes f737a6c584 Windows: advanced search directory filter: fix Windows path like c:/xxx to /c/xxx for the phrase match to work 2018-10-12 12:03:46 +02:00
Jean-Francois Dockes 37ee7b2388 Windows: build file changes, mainly switch to xapian 1.4.5 2018-10-12 12:01:31 +02:00
Jean-Francois Dockes 8a09948745 shared: netcon: suppress gcc warning 2018-10-07 09:08:26 +02:00
Jean-Francois Dockes 3ff88a9541 suppress query time updated map spurious error message 2018-10-07 09:07:51 +02:00
Jean-Francois Dockes 90fe78191b New Russian translation and desktop file 2018-09-24 09:50:40 +02:00
Jean-Francois Dockes d07112807c GUI restable: make sure the URL column is UTF-8, else url-encode it for display 2018-09-17 10:21:34 +02:00
Jean-Francois Dockes b0bfed7b63 removed leftover trace to stderr 2018-09-05 09:20:51 +02:00
Jean-Francois Dockes b57fcddbf8 remove spurious shebang 2018-09-05 08:17:48 +02:00
Jean-Francois Dockes 2267e5f2f5 Simplified code by replacing misc direct regex/regex.h invocation with SimpleRegex wrapper 2018-09-03 13:29:16 +02:00
Jean-Francois Dockes 8358742132 get things to build on centos7.5 (cosmetic changes) 2018-09-02 18:47:03 +02: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 6a90e3ba87 qtgui: fix build error by adding missing include 2018-08-30 10:46:59 +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 8a7fa51dc9 Updated Russian translation by Alexander Volkov 2018-07-11 08:10:59 +02:00
Jean-Francois Dockes 7b8ba96b25 md5 for text/plain attachments was not computed, stayed same as parent so they were not shown if hide duplicates option was active in the GUI 2018-07-07 09:17:46 +02:00
Jean-Francois Dockes 7048d2a014 removed dead code 2018-07-07 09:15:57 +02:00
Jean-Francois Dockes 3c48e8cfbd add configure option to disable building libchm python wrapper 2018-07-06 10:48:28 +02:00
Jean-Francois Dockes 8c84712ebc doc 2018-07-06 10:22:28 +02:00
Jean-Francois Dockes 8c14750681 doc: update the build instruction, esp. python package 2018-07-02 15:50:55 +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 4524ae2acc merged shared 2018-06-21 10:52:56 +02:00
Jean-Francois Dockes e2d977006c Adapt make install and deb packaging for installing recollchm 2018-06-13 10:18:23 +02:00
Jean-Francois Dockes 57005d4241 bogus version for testing dist/packaging for the master branch 2018-06-13 10:17:12 +02:00
Jean-Francois Dockes f9d817ab64 pychm build rules cleanup 2018-06-13 08:23:18 +02:00
Jean-Francois Dockes d8cce8e234 bundled chm: install as normal python package instead of copying the egg to the recoll lib dir 2018-06-12 19:41:22 +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 fd246d6744 debian packaging: simplify rules file by using dh 2018-06-12 19:17:21 +02:00
Jean-Francois Dockes d8b8856f8f conftree import 2018-06-12 19:16:10 +02:00
Jean-Francois Dockes 65d8951e44 fix comment typo 2018-06-12 19:15:35 +02:00
Jean-Francois Dockes e2bd66d56f pyrecoll: get fetchmany to raise an exception if there is no result set (PEP 249 database API) 2018-06-06 08:13:11 +02:00
Jean-Francois Dockes 4f4e8ff8f8 Python module: fetchone/fetchmany return None/short list instead of exception at the end of the results 2018-06-05 15:34:40 +02:00
Jean-Francois Dockes ad4365c40c rclconfig: python3-compatible import of conftree 2018-06-05 15:33:39 +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 3cde407c8c zipUseSkippedNames: indicate the default in recoll.conf comment 2018-06-04 09:07:40 +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 ec4bb12df0 none 2018-06-02 18:15:34 +02:00
Jean-Francois Dockes 1196f1f4f9 sample python3 compat 2018-06-02 18:15:12 +02:00
Jean-Francois Dockes a5a6b4112b Split rclconfig.py into rclconfig / conftree for sharing code with other users 2018-06-02 18:14:35 +02:00
Jean-Francois Dockes 892e579438 none 2018-06-02 08:41:12 +02:00
Jean-Francois Dockes 48918e93a2 sample: python gui python3 compat 2018-06-02 08:40:47 +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 9d6f4b98ea use setuptools in place of distutils as this seems to be the current standard 2018-06-01 14:52:49 +02:00
Jean-Francois Dockes 29e63aeda1 CHM handler: bundle pychm for Python3 2018-06-01 14:52:12 +02:00
Jean-Francois Dockes dae381f49b Centralize the python build/install bits in the top Makefile. Build for python2 and python3 (if both present) 2018-06-01 09:42:20 +02:00
Jean-Francois Dockes 7c7eafa98a got rid of unused old refcntr.h 2018-05-31 17:01:45 +02:00
Jean-Francois Dockes be7b8379e1 small prettification 2018-05-31 16:45:40 +02:00
Jean-Francois Dockes fbcbfbf7e5 shared code 2018-05-31 16:44:50 +02:00
Jean-Francois Dockes 9f94b9ed20 Removed most ancient references to Beagle in the code, replaced by WebQueue or such to clarify things. No real changes 2018-05-31 15:51:58 +02:00
Jean-Francois Dockes be3ac2e180 Fix cc errors in pyrclextract after TempFile interface change 2018-05-31 15:38:44 +02:00
Jean-Francois Dockes 6441eea8aa Store the origin dbdir inside the GUI doc history, so we can later fetch documents from external indexes 2018-05-31 15:01:17 +02:00
Jean-Francois Dockes 3b6dd445e3 Cleaned up the dynconf/history code by using a container template 2018-05-31 10:37:34 +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 96c6fd74b4 mingw needs explicit conversion of enum member to int in conditional 2018-05-17 15:42:12 +02:00
Jean-Francois Dockes 1c55eeda31 When choosing a suffix for a temp file, ensure that we only use the first entry in mimemap for a given MIME type. Avoids exotic suffixes confusing apps 2018-05-17 11:05:05 +02:00
Jean-Francois Dockes d69d2abbde TempFile: clean-up interface by using internal ref-counted class member. Uncomp: add interface to clear cache 2018-05-17 10:24:01 +02:00
Jean-Francois Dockes 40fd63662b debian packaging: 1.24.1 + sync control file with Debian's 2018-05-17 10:21:57 +02:00
Jean-Francois Dockes 66ebb47437 merged shared smallut 2018-05-16 18:28:41 +02:00
Jean-Francois Dockes 1c95349ac7 GUI: avoid compilation issues by using the classic string-based connect instead of the one with member functions 2018-05-15 13:55:23 +02:00
Jean-Francois Dockes 8ca604a272 updated translation files 2018-05-14 09:17:08 +02:00
Jean-Francois Dockes 1178339991 preparing for 1.24.1 2018-05-14 08:59:05 +02:00
Jean-Francois Dockes 4fc063075a record fedora28 working spec file and patch 2018-05-13 18:28:19 +02:00
Jean-Francois Dockes 33cebf5f4e fix fedora 28 crash caused by assertion (no actual issue). Use resize, not reserve to provision a c++ vector actually used as c storage 2018-05-13 18:27:47 +02:00
Jean-Francois Dockes 9244e31574 fixed a few spelling errors, mostly in comments and debug messages 2018-05-03 16:20:36 +02:00