90 Commits

Author SHA1 Message Date
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
Jean-Francois Dockes
a29e380227 compiles cleanly without qt3_support. Needs more testing 2010-12-04 15:26:13 +01:00
Jean-Francois Dockes
d70ff7ff9f preview: removed last qt3 widgets 2010-12-02 18:46:29 +01:00
"Jean-Francois Dockes ext:(%22)
6aeef686fc Created class to simplify temp directory management 2010-07-24 12:08:06 +02:00
Jean-Francois Dockes
4cbdfd7f89 Preview: toggling between main text and fields would confuse the text format (plain/rich) 2010-07-07 13:08:38 +02:00
Jean-Francois Dockes
5569b5be7c QT GUI: add fullscreen mode 2010-02-01 17:51:42 +01:00
dockes
1fc6bdba56 reimplemented Q3TextDocument::find() to be like the qt3 version 2009-12-07 17:43:56 +00:00
dockes
e5efa41462 switch preview qtextedit format back to plain text after loading so that selections copy plain text not html 2009-12-07 14:32:26 +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
dcc9860104 if text is empty, display fields by default 2009-11-23 17:38:37 +00:00
dockes
b7166eb67e revamped history feature to be udi-based while supporting old format 2009-11-23 16:12:20 +00:00
dockes
bbba826c06 1st beagle version with index/preview working 2009-11-13 13:29:34 +00:00
dockes
eea2b1fec5 added explicit flag parameter to Internfile constructeur for helping with beagle queue integration 2009-11-10 09:39:13 +00:00
dockes
f61590c31d compile with qt3 2009-10-15 15:50:27 +00:00
dockes
d13431f46e got rid of the preview tabdata array 2009-09-29 08:47:25 +00:00
dockes
002eebd5a1 make print a slot in the editor, not the preview 2009-09-29 07:48:44 +00:00
dockes
09fa4f7f95 Preview printing 2009-09-28 18:19:19 +00:00
dockes
a9eb8e42da 2009-08-13 06:27:50 +00:00
dockes
e800ca071a F1 context-enhanced help 2009-01-28 16:56:36 +00:00