108 Commits

Author SHA1 Message Date
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
Jean-Francois Dockes
a464cb3d2c message 2019-06-16 07:42:45 +02:00
Jean-Francois Dockes
dca18bc585 Try to give possible explanations when opening a preview fails 2019-06-15 19:21:52 +02:00
Jean-Francois Dockes
824a1d3ebf GUI: preview: add Open popup entry and Open button for starting native viewer on current doc 2019-05-14 09:41:08 +02:00
Jean-Francois Dockes
54f0eda990 make doc.meta an unordered_map 2019-04-20 15:04:19 +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
d121444429 preview: multiword search strings were concatenated without spaces 2019-02-19 19:25:55 +01:00
Jean-Francois Dockes
b2f219b308 GUI preview: trim wildcards from user terms for insertion in search combobox 2018-12-20 16:42:13 +01:00
Jean-Francois Dockes
5bb0b9f4a5 GUI preview window: use standard qt tools to simplify the code 2018-12-02 13:32:48 +01: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
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
9244e31574 fixed a few spelling errors, mostly in comments and debug messages 2018-05-03 16:20:36 +02:00
Jean-Francois Dockes
2176d81e60 add option to have clickable links inside the preview windows 2018-04-16 10:47:52 +02:00
Jean-Francois Dockes
29c6f75423 make sure that python rclextract.idoctofile always retrieves an uncompressed file of the correct MIME type. + misc comments 2017-07-20 12:52:24 +02:00
Jean-Francois Dockes
f6a999de84 logging now uses c++ streams 2016-07-12 09:41:04 +02:00
Jean-Francois Dockes
5d6b1ea2a1 Preview and Open for web cache: setKeyDir(getfather("")) resulted in ./ and getConfParam() failures 2016-04-12 18:13:10 +02:00
Jean-Francois Dockes
ac20f35933 Fix the F1 help manual hrefs 2016-01-07 16:55:25 +01:00
Jean-Francois Dockes
6302122555 Split the preview code for clarity 2015-11-09 15:40:11 +01:00
Jean-Francois Dockes
63802a4005 housekeeping: separated out the chrono utility 2015-10-14 09:18:26 +02:00
Jean-Francois Dockes
99adeae6ff suppressed a number of gratuitous unistd inclusions + clean up preview progress dialog code
--HG--
branch : WINDOWSPORT
2015-09-24 15:36:02 +02:00
Jean-Francois Dockes
62f4f7bd81 more safexx posix stuff 2015-08-22 08:37:58 +02:00
Jean-Francois Dockes
c6e228b7c6 Prepared windows port by removing a number of spurious reference to unix-specific interfaces, and using some xapian posix adaptor includes 2015-08-19 14:41:10 +02:00
Jean-Francois Dockes
72a7211a77 use qshortcuts instead of the event filter for tab management key events 2015-08-10 11:28:08 +02:00
Jean-Francois Dockes
abdb992887 Reset status of highlighting/term data when loading doc in editor. Fixes search not working after using shift+arrow 2015-08-09 19:20:42 +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
696bcbcfe9 update tabwidget::currentChanged(QWidget*) to currentChanged(int) 2015-04-05 10:10:31 +02:00
Jean-Francois Dockes
1228326982 Fix things to build with qt5. Not functional yet: no menus+dumps core on exit... 2015-03-31 18:03:52 +02:00
Jean-Francois Dockes
3f7949727c disable completion in preview search entry, it's not helpful because of the root entries in the preloaded combobox 2013-05-26 15:24:29 +02:00
Jean-Francois Dockes
a7728ceb91 changed the mime handler cache key (was the mime type), to avoid having multiple copies of the same filter when applied to different mime types. This reduces a lot the number of processes during indexing, with no impact on performance 2013-04-25 18:18:48 +02:00
"Jean-Francois Dockes ext:(%22)
321978bfea replace atol with atoll to fix result size display bug. Also use atoll for time conversions, 2032 is coming... 2013-04-04 20:01:31 +02:00
Jean-Francois Dockes
3c80e51940 simplified temp file handling for compressed documents and, for querying, implemented caching for last file uncompressed 2013-03-06 18:52:57 +01:00
Jean-Francois Dockes
4272939c3d add possibility to import tags from external app, e.g. tmsu 2013-01-22 18:30:18 +01:00
Jean-Francois Dockes
b8963db4b1 cleaned up the missing helper storage class 2012-10-28 16:43:19 +01: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)
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 ext:(%22)
9ff88adf22 GUI preview add popup entry to toggle pre/br for mode of displaying plain text 2012-03-13 16:33:19 +01:00
Jean-Francois Dockes
0e7c03b30f preview: dont try to display null image 2012-02-14 18:27:27 +01:00
Jean-Francois Dockes
036937e8bf added getmeta() method to Rcl::Doc and use in misc places 2012-01-20 14:48:50 +01:00
Jean-Francois Dockes
6d98115eac Fixed GUI bugs revealed by qt 4.7.4/opensuse 12.1. Symptoms: the result list links would not work, the GUI would crash after temp directory creation failure in preview 2011-11-07 13:47:38 +01:00
Jean-Francois Dockes
89e7aee225 GUI: add save entry to preview popup for subdocs 2011-06-30 19:02:29 +02:00
Jean-Francois Dockes
2f6328fb47 GUI: show image rather than metadata when previewing an image doc. Metadata still accessible through popup menu 2011-05-09 07:07:46 +02:00
Jean-Francois Dockes
55f124725f Fix problems that occurred when multiple threads were trying to read/convert files at the same time (ie: indexing and previewing threads in the GUI calling internfile()). Either get rid of or lock-protect all shared data, eliminate misc initialization possible conflicts by using static initializers. Hopefuly closes issue #51 2011-04-28 10:58:33 +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
c562f8d949 GUI: remove misleading error message about missing helper when interning error occurs for previewing 2011-04-27 07:43:22 +02: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
dbc7bc28da GUI preview: add CTL-F as shortcut for search 2011-03-01 08:32:40 +01:00
Jean-Francois Dockes
0a6063542f Gui: misc event/signals cleanups. No functional changes 2010-12-22 18:07:18 +01:00