26 Commits

Author SHA1 Message Date
Jean-Francois Dockes
175ca9832f Extracted some code from plaintorich, for reuse by the new snippets building code 2018-01-03 15:28:11 +01:00
Jean-Francois Dockes
3f8f31732d plaintorich: indent and log lines 2017-12-26 12:42:53 +01:00
Jean-Francois Dockes
f6a999de84 logging now uses c++ streams 2016-07-12 09:41:04 +02:00
Jean-Francois Dockes
63802a4005 housekeeping: separated out the chrono utility 2015-10-14 09:18:26 +02:00
Jean-Francois Dockes
3b18facc16 Fixed some "unused xxx" warnings + include autoconfig 2015-10-07 08:30:49 +02:00
Jean-Francois Dockes
c1c73573d8 more int fixups
--HG--
branch : WINDOWSPORT
2015-09-02 07:34:59 +02:00
Jean-Francois Dockes
1cbf02f713 Suppressed many integer size warnings by a mix of type adjustments and casts,
none of which should have a real effect.

--HG--
branch : WINDOWSPORT
2015-09-01 19:39:20 +02:00
Jean-Francois Dockes
838ea6d623 got rid of STRIPCHARS compile-time variable to make the code more readable, and corresponding configure option. + make sure that CONFDIR from environment gets translated to absolute path 2013-03-27 17:38:11 +01:00
Jean-Francois Dockes
768bc54591 Adjust messages + plaintorich return false if no actual match found 2012-10-08 14:24:25 +02:00
Jean-Francois Dockes
9b273d94e8 ensure that recoll configured with indexStripChars=1 runs as compiled with -DRCL_INDEX_STRIPCHARS
--HG--
branch : CASEDIACSENS
2012-09-15 15:16:20 +02:00
Jean-Francois Dockes
a7222d4f96 Make Recoll optionally sensitive to case and diacritics
--HG--
branch : CASEDIACSENS
2012-09-14 14:34:27 +02:00
Jean-Francois Dockes
913dffc597 added code for unac to perform pure case-folding 2012-08-27 12:40:57 +02:00
"Jean-Francois Dockes ext:(%22)
ec3dbb4092 comments 2012-08-21 08:38:23 +02:00
"Jean-Francois Dockes ext:(%22)
20c04952f2 Arrange for plaintorich to keep track of the link between match area and search terms. Use this in preview to allow walking the matches for a given search term group 2012-08-18 12:15:43 +02:00
"Jean-Francois Dockes ext:(%22)
dc7b3420a0 defined data structure to pass around the search term description used for highlighting and other 2012-08-17 10:45:00 +02:00
Jean-Francois Dockes
ebdd6faaf5 highlighting: avoid trying to match groups in area already highlighted: this could prevent an effective match further in the text 2012-08-14 08:33:52 +02:00
Jean-Francois Dockes
860da987b7 preview: preserve minimum indentation when htmlizing plain/text with <br> tags 2011-06-22 16:10:32 +02:00
Jean-Francois Dockes
32f4f7b6fc Fix a number of potential or actual static object initialization issues 2011-05-09 20:48:59 +02:00
Jean-Francois Dockes
b28eaf23fb Got rid of all the old RCS id strings 2011-04-27 08:22:17 +02:00
Jean-Francois Dockes
963d7c50fd suppressed some overly repeated log messages 2011-03-11 11:49:54 +01:00
Jean-Francois Dockes
7eb7bd52bb preview/plaintorich: add <br> tags at end of text/plain lines instead of using <pre> tag (allows line wrapping). 2011-03-08 19:12:00 +01:00
Jean-Francois Dockes
8b2b00bc72 cosmetics: use derived class for actual splitter instead of callback 2010-02-02 15:33:52 +01:00
dockes
bf3ac8e053 small amd64 fixes: 64 bits size_type, signed chars 2009-12-13 16:13:59 +00:00
dockes
93d0aa3fee add <pre> tag to text/plain translated into qt html to preserve indentation. Removes need for rcltext (which did just this). Allow specifying any text/xxx as internal (allows having specific editor but no filter) 2009-11-30 10:04:27 +00:00
dockes
7dcc7c61c8 modified the time at which we unaccent so that we can do the Capitalized->nostemming test on single words (this had been broken by the change of noac/split order done earlier to get japanese to work) 2009-01-26 18:30:48 +00:00
dockes
388b5b4e14 moved plaintorich from qtgui/ to query/ 2008-11-19 12:19:40 +00:00