1497 Commits

Author SHA1 Message Date
Jean-Francois Dockes
21fedc1fb4 GUI dir side filter: the computed paths were wrong on Windows (like /c:/...) 2022-09-24 15:16:52 +02:00
Jean-Francois Dockes
69ebfd3d95 Use pkg-config for looking for Xapian 2022-09-20 11:47:30 +02:00
Jean-Francois Dockes
27f4d1f321 messages 2022-08-30 11:32:26 +02:00
shenleban tongying
3e3711da51 remove redundant .c_str()
u8s2qs(takes std::string)
dbd is same type of tl which is vector<string>
2022-08-23 05:56:14 -04:00
shenleban tongying
758f468e3a Remove some leftover #includes related to unused Qt components 2022-08-23 05:39:16 -04:00
shenleban tongying
32b74f2ac2 fix: use std::make_shared in simple cases to reduce allocation 2022-08-23 05:24:33 -04:00
shenleban tongying
d00ea4e420 fix: asString already declared at func beginning 2022-08-23 05:06:39 -04:00
shenleban tongying
565a1115f7 fix: a naming reuse
At ~200 lines below, `it` get reused and shadowed in a for loop `QStringList::iterator it`.

Eliminate it completely. If we use C++20, we can just std::set::contains()
2022-08-23 04:57:21 -04:00
shenleban tongying
bed57aeaf6 simplify two true-false 2022-08-23 04:32:43 -04:00
shenleban tongying
708a57de1e add missing & for u8s2qs 2022-08-23 04:25:36 -04:00
Jean-Francois Dockes
02a4a69482 GUI indexing: only ask a confirmation about resetting the index if the dbdir currently exists 2022-08-22 07:56:43 +02:00
Jean-Francois Dockes
b8e062f66c Windows: add missing getopt.cc where needed in .pro 2022-08-21 16:52:22 +01:00
Jean-Francois Dockes
44530f277b oops in building with webkit 2022-08-20 18:07:17 +02:00
Jean-Francois Dockes
a7d86cb64c Allow specifying a fixed geometry for the results list viewport by setting RECOLL_RESULTS_GEOMETRY=widthxheight 2022-08-20 17:13:10 +02:00
Jean-Francois Dockes
64a72be069 const auto -> const auto& 2022-08-20 16:44:26 +02:00
Jean-Francois Dockes
8bd38a858d GUI reslist: fixed webengine image display issue, but failed with reliably getting scroll position for paging (cf QTBUG-105842) 2022-08-20 12:29:06 +02:00
Jean-Francois Dockes
426fee8a86 GUI result list: improve behaviour of paging with either links or keys and buttons
Always shift to next/prev top of page when using links. Follow logical progression of page sections
when using pageup/down keys or arrow buttons. Fixes issue #177
2022-08-18 12:17:56 +02:00
Jean-Francois Dockes
70723a5280 Qt GUI: work around apparent qt 5.1x issue where the display is not properly updated when switching to table mode 2022-07-24 09:23:34 +02:00
Jean-Francois Dockes
ae04d0692c new Japanese translation be ABE Shin-ichi 2022-07-04 11:33:16 +02:00
Jean-Francois Dockes
3560b9e3b0 1325prex experiments 2022-07-01 15:40:21 +02:00
Jean-Francois Dockes
e7074329b5 GUI reslist: look for a reslisthtmldumpfile value in recoll.conf and dump the HTML page there if it is defined and the target file does not exist 2022-06-30 10:09:14 +02:00
Jean-Francois Dockes
ab0aba8c36 GUI: small cleanups in html-generating code 2022-06-30 09:46:01 +02:00
Jean-Francois Dockes
7ceb9c6837 GUI: try to improve font size consistency.
- Use px everywhere.
- Get rid of confusing never used compile time option.
- Fix reslist not reacting to zoomIn/zoomOut
- Other small adjustements.
2022-06-28 15:56:42 +02:00
Jean-Francois Dockes
6f7f1238f7 GUI: show line numbers in the snippets window if available and no page number 2022-06-21 16:34:25 +02:00
Jean-Francois Dockes
5325c0a533 GUI: a temporary file was wrongly created when mimeview specified to open the parent (%F) and it happened to be a regular file 2022-06-14 14:54:41 +02:00
Jean-Francois Dockes
45f387e791 Restore reslist popup function with webengine.
Have popup copy path create a baclslash-separated path on Windows
2022-06-13 12:46:58 +01:00
Jean-Francois Dockes
5b20e64e96 Show progress dialog when reslist snippets generation takes too long 2022-06-13 13:01:01 +02:00
Jean-Francois Dockes
4e8cc666f0 GUI: try to be more helpful when a main index open error occurs 2022-06-02 12:08:32 +02:00
Jean-Francois Dockes
1be54c2709 Windows: use ; not : as separator in RECOLL_EXTRA_DBS env variable 2022-05-18 17:07:53 +01:00
Jean-Francois Dockes
b9de1ed07e Windows: fix crash in new side filter computation from index 2022-05-18 17:07:21 +01:00
Jean-Francois Dockes
be12db218b ptrans: do not transform the translations input by the user (no path_canon()),
these could be foreign (windows x unix).
fileurltolocalpath: remove the '/' in front of a windows drive letter path even
when not built on Windows
Move all the dubious recoll-specific url code from the generic pathut to rclutil
2022-05-18 08:47:02 +02:00
Jean-Francois Dockes
9466b86b7b qt6 compat 2022-05-17 15:10:52 +02:00
Jean-Francois Dockes
f4a5fe38c6 recoll-win.pro: use variable for build location 2022-05-17 00:06:24 -07:00
Jean-Francois Dockes
e34ccb69b8 qt5/6 compat 2022-05-16 10:55:08 +02:00
Jean-Francois Dockes
638450c8d4 1st qt6 port 2022-05-15 23:02:47 -07:00
Jean-Francois Dockes
c8362269f4 GUI: qt6 compat: setMargins 2022-05-16 07:01:28 +02:00
Jean-Francois Dockes
64bff3310c Replace QRegExp with QRegularExpression 2022-05-16 06:44:10 +02:00
Jean-Francois Dockes
5437c803ae Update side directory filter when indexing completes 2022-05-15 08:40:02 +02:00
Jean-Francois Dockes
0250e64b5a Side filters: ensure filter value is used when set before query 2022-05-14 21:28:53 +02:00
Jean-Francois Dockes
28fa7387ec Update dir filter when prefs change. Maybe should explicitely link to extdbs change instead? 2022-05-10 11:05:08 +02:00
Jean-Francois Dockes
2ebb0a689d GUI directory side filter: compute the directories from the index, not the FS tree, so that things work with external indexes 2022-05-10 09:17:58 +02:00
Jean-Francois Dockes
baf0df0c7e updated GUI messages 2022-05-07 09:18:32 +02:00
Jean-Francois Dockes
8cec995573 UI scaling: fonts 2022-04-19 18:23:51 +02:00
Jean-Francois Dockes
d08a59dd98 reset log level in scbase 2022-04-18 18:25:59 +02:00
Jean-Francois Dockes
561592b618 indents etc. 2022-04-07 14:49:21 +02:00
Jean-Francois Dockes
4ebffd1a31 Updated Japanese translation 2022-03-25 19:43:47 +01:00
Jean-Francois Dockes
c323e1468d updated message files 2022-03-11 12:09:46 +01:00
Jean-Francois Dockes
3bbe5069d6 GUI: fix result table placement relative to the new sidefilters section 2022-03-11 08:11:45 +01:00
Jean-Francois Dockes
53b8b7e237 GUI code: added some marker comment to ease semi-automate adding a pref variable 2022-03-09 20:43:40 +01:00
Jean-Francois Dockes
f201f5ee1b Windows side filters: fix the drive part of paths for dir filtering 2022-03-08 09:38:52 +00:00