126 Commits

Author SHA1 Message Date
Jean-Francois Dockes
8cec995573 UI scaling: fonts 2022-04-19 18:23:51 +02:00
Jean-Francois Dockes
e6055681d4 GUI: result table: when displaying content in the detail area, if the doc is a free-standing image, display it 2021-07-04 17:19:38 +02:00
Jean-Francois Dockes
e2ec06a612 GUI preview: try to use the file name (possibly from a zip internal path) as tab title if the document has no proper title 2021-06-19 09:56:23 +02:00
Jean-Francois Dockes
fbec7a6adb GUI: support Ctrl+Plus/Ctrl+Minus to increase or decrease the font size (results and preview) 2021-03-26 17:45:15 +01:00
Jean-Francois Dockes
4814d57a85 shortcuts prefs: use an arbitrary string as key instead of the textual description 2021-03-09 10:07:46 +01:00
Jean-Francois Dockes
cd3abe7d41 Clarify the shortcuts descriptions 2021-02-10 15:40:17 +01:00
Jean-Francois Dockes
c19229a59f shortcuts editor: arrange for translations to work. Changing languages does not work right 2021-01-21 18:04:18 +01:00
Jean-Francois Dockes
d2ce3845d0 Shortcut editor ok? 2021-01-20 15:19:27 +01:00
Jean-Francois Dockes
9a241f92a1 preview: when displaying from stored text, set the type to text/plain for plaintorich() 2020-07-16 13:29:42 +02:00
Jean-Francois Dockes
8f0d3cbac5 suppress qt deprecation warnings 2020-07-13 13:49:49 +02:00
Jean-Francois Dockes
5fd492da57 Windows: use wcsftime instead of strftime 2020-04-16 14:01:06 +01:00
Jean-Francois Dockes
c1ee5f0af5 GUI: use common methods for translating to/from qstring/fspath 2020-04-15 10:39:59 +01:00
Jean-Francois Dockes
b677171fa8 GUI: Experimental: create a list of MIME types (compiled in for now: hwp) for which we prefer to use stored text for preview because extraction is slow 2020-03-25 18:13:00 +01:00
Jean-Francois Dockes
d690882b67 Avoid explicit deletion of preview window: this crashes on the mac. Use deleteonclose flag instead 2019-11-25 10:04:55 +01:00
Jean-Francois Dockes
9f1d482564 GUI: add previous/next document buttons to the preview window 2019-10-10 14:15:43 +02:00
Jean-Francois Dockes
70e4cb0651 preview: clarify a bit the search code. Found no way to highlight anchors, still an issue (filed QTBUG-78927) 2019-10-02 10:25:35 +02:00
Jean-Francois Dockes
7f2dd3cd8b GUI: added option to suppress all beeps 2019-09-22 11:23:39 +02:00
Jean-Francois Dockes
db3c401a23 Preview: avoid beeping if the initial automatically started search fails 2019-09-20 09:06:43 +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
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