55 Commits

Author SHA1 Message Date
Jean-Francois Dockes
7b42907441 Add callback for textsplit to report line breaks. Use it to implement looking up the first line where a term appears to use with a %l spec for executing a viewer 2022-01-07 11:43:46 +01:00
Jean-Francois Dockes
9abaf84be6 indents etc. 2021-04-23 09:07:20 +02:00
Jean-Francois Dockes
93f96ef68b Have the query parser directly return a shared_ptr and consequent simplifications 2020-12-13 15:47:14 +01:00
Jean-Francois Dockes
736051fcd6 GUI snippets window: add options for the max list length and for sorting the snippets by page number 2019-07-21 19:09:51 +02:00
Jean-Francois Dockes
8ddcc578ac Reverted 34d43d1188adfddb8fd8a4f7c7a28158a8b534f4
Keep only the main Snippet-producing makeabstract in rclquery, further
  formatting done in using modules
This was just a bad idea. The common methods are also used by the python module
2019-05-17 10:19:03 +02:00
Jean-Francois Dockes
34d43d1188 Keep only the main Snippet-producing makeabstract in rclquery, further formatting done in using modules 2019-05-13 18:11:23 +02:00
Jean-Francois Dockes
9e61f25b17 Use a shared_ptr to make sure that the rcldb referenced by the current query remains valid 2019-04-11 15:05:44 +02:00
Jean-Francois Dockes
0cbc46732f Fixed the FSF address 2019-03-04 11:19:14 +01:00
Jean-Francois Dockes
0b0385e459 got rid of the STD_SHARED_XX std/tr1 defines 2016-07-13 15:12:25 +02:00
Jean-Francois Dockes
c1fad4afc7 Replaced pthread with std:: thread and mutex 2016-07-12 18:08:21 +02:00
Jean-Francois Dockes
f6a999de84 logging now uses c++ streams 2016-07-12 09:41:04 +02:00
Jean-Francois Dockes
3aeffea387 recollindex and recollq build and run but fail because of unac error
--HG--
branch : WINDOWSPORT
2015-08-31 13:08:50 +02:00
Jean-Francois Dockes
4d1f679eac Use std[::tr1]::shared_ptr instead of local RefCntr by default 2015-08-09 13:54:24 +02:00
Jean-Francois Dockes
bd100b61cb GUI multiple clicks crash: make sure the GUI cant reenter the db 2013-11-09 11:22:08 +01:00
Jean-Francois Dockes
e7b3042310 the way we added the autophrase to the query (OR) created false matches. Use AND_MAYBE instead 2013-05-26 15:26:41 +02:00
Jean-Francois Dockes
2b80c77c23 Add possibility to display a list of sub-documents for a given result 2013-04-24 16:33:53 +02:00
Jean-Francois Dockes
de82f13ddc add functions and interface to display the duplicates of a result document 2013-04-17 09:36:46 +02:00
Jean-Francois Dockes
39456d8135 avoid re-running a setQuery that already failed 2013-04-01 16:20:06 +02:00
Jean-Francois Dockes
4e1fd6c854 typo 2013-02-27 14:35:39 +01:00
Jean-Francois Dockes
3abfd00635 improved detection of incomplete snippets lists 2013-02-26 15:49:36 +01:00
Jean-Francois Dockes
a4640c0a03 make sure we only show the automatic missing helpers dialog once 2013-01-10 09:30:05 +01:00
Jean-Francois Dockes
de5763f663 Using recoll as an embedded document opener for the unity lens was broken 2012-10-20 09:25:35 +02:00
Jean-Francois Dockes
382ae1f718 correctly handle return from Db::getDoc(udi... 2012-10-12 13:37:54 +02:00
Jean-Francois Dockes
d84481e38a insert message when snippets risk being incomplete 2012-10-08 14:26:53 +02:00
Jean-Francois Dockes
c9f6612c10 implemented proper limitation and error reporting in case of truncation for term and query expansions 2012-10-05 12:36:19 +02:00
Jean-Francois Dockes
f025ff33dd arrange to enable passing a match term as an argument when opening a document with the native editor (only / mostly pdf for now) 2012-10-02 14:40:09 +02:00
"Jean-Francois Dockes ext:(%22)
af2d031e50 moved snippets generation code from db to query object 2012-09-26 12:13:40 +02:00
"Jean-Francois Dockes ext:(%22)
52bc9f4aa3 merged the case/diac sensitivity code back into trunk 2012-09-25 19:20:24 +02:00
"Jean-Francois Dockes ext:(%22)
ab32062fcc Separate count and context for snippets in the snippets popup from the default values for the result list 2012-09-23 18:19:43 +02:00
Jean-Francois Dockes
d9dc7cf142 preliminary implementation for the snippets "open to page" popup window 2012-09-20 13:51:40 +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 ext:(%22)
d24a3afdf8 add <pre style="white-space: pre-wrap"> to plain text HTML display options 2012-08-22 09:36:08 +02:00
"Jean-Francois Dockes ext:(%22)
0ebfc496d8 add capability to remember page breaks generated by, e.g. pdftotext, and use them to start an external viewer on a match page 2012-08-21 15:03:02 +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
ec7b40a52e cosmetics: list -> vector in more places 2012-04-11 19:58:08 +02:00
Jean-Francois Dockes
ef00bfae70 Implement the gui category filters as query language fragments instead of hard-coding them. This allows implementing other kinds of filtering (ie:on directory) just by changing a configuration file 2012-02-18 11:21:09 +01:00
Jean-Francois Dockes
469c544915 GUI: allow setting the snippet separator inside abstract (now a real html ellipsis by default) 2011-07-07 11:11:02 +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
c4f79e49da qtgui: add menu to erase search history + misc cleanups 2011-01-15 15:39:15 +01:00
Jean-Francois Dockes
0a6063542f Gui: misc event/signals cleanups. No functional changes 2010-12-22 18:07:18 +01:00
Jean-Francois Dockes
1668fd92d6 change sortspec to use a single field name 2010-12-21 10:54:27 +01:00
Jean-Francois Dockes
c79410da94 Move sort/filtering code out of reslist 2010-12-18 15:45:12 +01:00
Jean-Francois Dockes
61348a7731 GUI: got rid of the sort parameters dialog and sort by mime type, replaced by 2 arrows in toolbar for sorting by date, ascending or descending 2010-12-17 13:18:13 +01:00
dockes
f554960b9b suggest alternate spellings if no results 2009-11-26 14:03:02 +00:00
dockes
96dba3a3ee allow opening parent/enclosing doc with native editor in reslist 2009-11-06 11:33:32 +00:00
dockes
fb2994ea74 fix queryBuildAbstract option functionality. Allow substituting %(fieldname) in reslist paragraph format 2009-10-21 12:02:59 +00:00
dockes
484c5db4e9 got the kio_slave working again 2008-11-13 10:57:46 +00:00
dockes
f0538b15f2 move stemlang from RclQuery to SearchData. Allow DocSequences to do the sorting/filtering themselves 2008-09-29 11:33:55 +00:00
dockes
828dff3bb1 doc.pc now only place where relevancy is stored 2008-09-29 08:59:20 +00:00
dockes
66ffcc2b0b rearranged some reslist/rclmain functions + add but not use filtseq code 2008-09-28 07:40:56 +00:00