44 Commits

Author SHA1 Message Date
shenleban tongying
32b74f2ac2 fix: use std::make_shared in simple cases to reduce allocation 2022-08-23 05:24:33 -04:00
Jean-Francois Dockes
64a72be069 const auto -> const auto& 2022-08-20 16:44:26 +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
638450c8d4 1st qt6 port 2022-05-15 23:02:47 -07:00
Jean-Francois Dockes
561592b618 indents etc. 2022-04-07 14:49:21 +02:00
Jean-Francois Dockes
32195d0899 GUI: fix setting "open temp copy do not show next time" from the dialog, did not work with newer qt versions 2022-01-21 19:38:45 +01:00
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
freddii
89c7efe682 fixed typos 2021-02-04 17:12:22 +01:00
Jean-Francois Dockes
fa6aff3efb Fix the "remember show temp file warning" thing. Again...
Simplify the qxt code so this has less chance of happening in the future
2020-05-28 09:58:17 +02:00
Jean-Francois Dockes
19c8c50fb1 GUI: fix some questionable uses of url_encode and use path2qs in places 2020-04-19 09:21:40 +02: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
45b785b728 settings format conv -> win 2020-03-04 15:07:56 +01:00
Jean-Francois Dockes
a90c4bf698 GUI: warning when opening temp file: really remember the preference from the dialog 2019-10-20 10:31:40 +02:00
Jean-Francois Dockes
9594610f33 GUI: fix F1, starting the manual with a URL fragment did not work any more because of the change of generally using %U (manual needs %u) 2019-10-02 18:45:44 +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
7ea3936420 Windows: use wide char interfaces
Exchange file names and command line parameters with the system using
wchar_t interfaces: allows preserving values which can be reversibly
transcoded in the current multibyte charset (which can't be UTF-8). Store
all file paths internally in UTF-8
2019-01-25 15:28:24 +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
2176d81e60 add option to have clickable links inside the preview windows 2018-04-16 10:47:52 +02:00
Jean-Francois Dockes
453a3bb5c6 GUI: Fix broken test which would prevent opening a viewer when %F was used (e.g. for a chm file) 2018-01-05 16:33:55 +01:00
Jean-Francois Dockes
6cd99138b0 Use the browser and http URL to "Open" web search results, instead of the local cached file 2017-11-30 15:50:39 +01: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
5614c6bc5b Windows GUI: transform file paths to use backslashes before passing them to viewer, as some windows viewers only understand backslashes 2017-01-02 11:18:16 +01:00
Jean-Francois Dockes
80e356ffb2 Add maximize=1/0 parameter to gui native viewer defs for opening maximized window on Windows 2016-12-05 12:17:56 +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
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
047297f73a message adjust 2016-01-31 08:55:03 +01:00
Jean-Francois Dockes
ea1a591193 forgotten tr() around message text 2016-01-31 08:43:42 +01:00
Jean-Francois Dockes
1ce86f8a73 Show confirmation dialog when Opening a temp file copy (warn user about lost edits) 2016-01-12 15:36:54 +01:00
Jean-Francois Dockes
425fb717dd Install and use webhelp on Windows. Could not get the fragment to work for context-sensitive help, so this is always better. 2016-01-07 17:22:27 +01:00
Jean-Francois Dockes
bf6cb5ac4e Help: prefer the webhelp format manual if present 2016-01-07 16:42:44 +01:00
Jean-Francois Dockes
2fac246ba4 Replace the chunked manual with the nicer webhelp format 2016-01-07 11:53:02 +01:00
Jean-Francois Dockes
86e270df0a GUI open: make %U output an url_encoded version of the url. It was previously the same as %u, and not used in default files 2016-01-05 09:19:14 +01:00
Jean-Francois Dockes
e18291ef64 Windows: GUI "Open" works 2015-10-09 11:03:27 +02:00
Jean-Francois Dockes
efd70c2032 use path_pathtofileurl
--HG--
branch : WINDOWSPORT
2015-09-02 09:13:07 +02:00
Jean-Francois Dockes
62f4f7bd81 more safexx posix stuff 2015-08-22 08:37:58 +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
922f73039a reslist popup: enable save to file for web cache entries, disable open parent 2015-07-25 10:59:27 +02:00
Jean-Francois Dockes
4d35cbabfb Also index non-html files from the web queue and fix the Open operation for them 2015-07-24 16:30:13 +02:00
Jean-Francois Dockes
64b0c9ca32 Split monster file rclmain_w.cpp. No code changes 2015-06-16 09:39:08 +02:00