Jean-Francois Dockes
be758e2c94
shared code: use medocutils namespace and other small include adjustments
2022-05-09 19:03:57 +02:00
Jean-Francois Dockes
b118c93b4f
small cleanups to avoid a few ifdef _WIN32
2022-01-17 15:46:40 +01:00
Jean-Francois Dockes
47ea12353a
Fix internfile bug which prevented the propagation of a proper title in some cases
2022-01-14 17:18:49 +01:00
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
756a944ef3
Probably null change: make sure that all classes with destructors also have copy constructors and assignment operators
2021-11-23 16:38:11 +01:00
Jean-Francois Dockes
f91185fd53
change dubious idioms tricking older gcc for more robust variants
2021-08-12 18:52:34 +02:00
Jean-Francois Dockes
03e277c0c9
avoid using ifstream deleted copy constructor, supported by many but no all compilers
2021-08-03 10:04:05 +02:00
Jean-Francois Dockes
b7f6e851f6
Add override specifications to a bunch of methods to suppress warnings
2021-04-29 08:57:26 +02:00
Jean-Francois Dockes
0c021b5236
HTML indexing: use the same size limit as for text files (textfilemaxmbs). Some gigantic files are sometimes mis-identified as HTML by xdg-mime
2021-04-11 19:38:07 +02:00
Jean-Francois Dockes
4756b1252b
Add recollindex option to write file not indexed reasons to diagnostics file
2021-04-01 10:32:04 +02:00
Jean-Francois Dockes
d3d27dcd21
Ensure that the missing helper is listed in the log for all affected documents
2021-03-31 15:29:42 +02:00
Jean-Francois Dockes
8da0bf28cc
GUI: add popup menu option to copy simple file name. fix typo keytcfn->keyctfn. Change utf8check() parms for easier usage
2021-03-27 09:00:28 +01:00
Jean-Francois Dockes
9b24501f57
indexing: allow setting a maxseconds parameter on mimeconf lines. Allows setting a specific 30S value for text/man which should be fast but sometimes goes looping
2021-03-10 09:52:28 +01:00
Jean-Francois Dockes
ae2b4577c3
Add config option to redirect external helpers error output to a file
2021-03-03 17:54:44 +01:00
Jean-Francois Dockes
fc559bcba7
include rclutil
2020-11-11 16:53:52 +01:00
Jean-Francois Dockes
3716ea3dac
unify processing for executing a python script
2020-09-28 14:04:09 +02:00
Jean-Francois Dockes
c1ef2187d3
Fixed LOG calls obsolescence issues preventing build with staticverbosity 7
2020-09-06 14:59:00 +01:00
Jean-Francois Dockes
080db9eba3
none
2020-08-17 13:08:04 +02:00
Jean-Francois Dockes
cca69cbd31
Windows: text/plain: check if already utf-8 before trying transcode
2020-08-15 11:16:10 +01:00
Jean-Francois Dockes
d9c1a9648c
Windows msvc: rename dirent.h->msvc_dirent.h. mh_text: fix mimeconf-win and warning
2020-08-15 10:12:36 +01:00
Jean-Francois Dockes
15924ce037
Process text/plain subdocuments like .txt files (paging big ones, etc.)
2020-08-15 10:20:48 +02:00
Jean-Francois Dockes
13333e6512
use common method when concatenating multiple values for a metadata element. Use a comma as separator
2020-08-11 11:39:22 +02:00
Jean-Francois Dockes
fd0cf698a1
indents
2020-08-10 16:52:41 +02:00
Jean-Francois Dockes
09ad94f3b7
removed obsolete test mains Makefiles
2020-08-06 11:46:11 +02:00
Jean-Francois Dockes
5cfd95226d
Fix pdf duplicate detection which was broken by setting the md5 attribute twice, for the doc and for the html content. May have affected some other doc types
2020-07-27 09:08:47 +02:00
Jean-Francois Dockes
24b947500f
tabs
2020-05-30 15:59:46 +02:00
Jean-Francois Dockes
560041cab9
cleared out errant tabs
2020-05-30 15:54:49 +02:00
Jean-Francois Dockes
e61ec4b7af
autoconf malloc.h, and clear old c++ conf tests
2020-05-20 18:50:43 +02:00
Jean-Francois Dockes
2f794be314
Fix Windows gcc build. Needs some def to get w7+ windows api
2020-04-25 11:41:37 +02:00
Jean-Francois Dockes
126ac47dba
tabs and indents
2020-04-24 13:45:41 +02:00
Jean-Francois Dockes
19149020e3
internal xslt: support multiple archive members containing metadata or body text. Apply to indexing openxml foot/endnotes
2020-04-22 14:04:20 +02:00
Jean-Francois Dockes
39c152bada
Fixed MSVC warnings, all inocuous
2020-04-17 14:26:40 +01:00
Jean-Francois Dockes
34d23589a2
remove struct stat from interfaces
2020-03-31 11:17:07 +02:00
Jean-Francois Dockes
d1c99e83d7
log message level
2020-03-27 17:18:41 +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
25a5f3a7e0
Explicitly test for malloc_trim() in configure
2020-02-25 16:45:29 +01:00
Jean-Francois Dockes
e5af1651fa
html/xml meta: avoid appending a value that is already present in the string
2020-01-30 08:37:46 +01:00
Jean-Francois Dockes
1ffd54f834
no malloc_trim on windows
2020-01-11 16:49:04 +01:00
Jean-Francois Dockes
9e05c167e9
Add a malloc_trim() call when deallocating the parser in mh_xslt. Seems to help with memory fragmentation, reason a bit mysterious
2020-01-05 17:35:46 +01:00
Jean-Francois Dockes
f6302b5760
Forgotten log verbosity raise in mh_mbox
2019-11-29 10:50:22 +01:00
Jean-Francois Dockes
1b59790b02
mimehandler: tabs change only
2019-11-24 11:00:43 +01:00
Jean-Francois Dockes
c11cac2868
orthograph, mostly in comments, also man pages
2019-10-18 09:13:10 +02:00
Jean-Francois Dockes
05354373e1
added parameter mboxmaxmsgmbs to adjust max mbox entry size (dlft 100 MB)
2019-10-03 10:15:58 +02:00
Jean-Francois Dockes
dd5cf808b5
mbox: trim verbosity
2019-09-23 09:26:19 +02:00
Jean-Francois Dockes
85a3291fd7
mbox: bad return from function would result in wrong (always first) message being previewed if the cache did not exist
2019-08-27 14:42:14 +02:00
Jean-Francois Dockes
54b8bea942
mbox: new std::stream-based implementation of offset cache ok on windows..
2019-08-08 13:44:41 +02:00
Jean-Francois Dockes
ad5beb43c2
mh_mbox: fix on Windows.
...
The 2 main issues were that the files were fopen'd in text mode, and that
the std-based SimpleRegexp implementation was wrong (match instead of search).
Also, make sure that we are using 64 bits interfaces.
2019-08-07 17:07:06 +02:00
Jean-Francois Dockes
9a68157907
mh_mbox: improve diags for win debugging
2019-08-07 13:32:23 +02:00
Jean-Francois Dockes
049ba1e7e4
Windows: build with UNICODE, get rid of all TCHAR/TEXT(), use explicit
...
xxA() interfaces and wchar_t in some places. Add a static cleanup retry
method to TempFile, called after clearing the MimeHandler cache (killing
the subprocesses which might hold an open file).
2019-07-21 16:23:16 +02:00
Jean-Francois Dockes
be214c4a5a
Take advantage of text storage when possible to display preview data for an unaccessible document
2019-06-16 11:49:18 +02:00