Commit graph

4390 commits

Author SHA1 Message Date
Abs62 cbdad22f2d Qt5: Some optimizations for QRegularExpression 2018-02-28 17:15:27 +03:00
Abs62 fe39fc8a05 Qt5: More QRegularExpression instead of QRegExp 2018-02-27 20:18:35 +03:00
Abs62 03db65a4c6 Fix comments stripping while CSS isolation 2018-02-26 17:33:55 +03:00
Abs62 135593f663 Add new files to git 2018-02-22 19:49:54 +03:00
Abs62 c204f75e52 Qt5: Use QRegularExpression instead of QRegExp in many cases 2018-02-22 16:55:56 +03:00
Igor Kushnir 50fe9be623 Show #link as a tooltip instead of empty "Definition: "
Internal links in MediaWiki articles don't lead to word definitions,
so the "Definition: " prefix is not correct for them. It also does not
provide any information and is largely useless.

Perhaps the actual footnote text should be displayed in the tooltip,
but this requires distinguishing them from citations/references and
backlinks.
2018-02-21 13:01:02 +02:00
Abs62 8180c911b7 Update help system 2018-02-08 22:57:08 +03:00
Abs62 24ba0aa64d Update help system 2018-02-08 18:05:19 +03:00
Abs62 740637d98a Ignore Ctrl/Shift/Alt modifiers while click on the "Found in Dictionaries" pane if Dictionaries bar is hidden 2018-02-08 18:01:39 +03:00
Abs62 65237ab22c Use Alt+LClick in the "Found in Dictionaries" pane as LClick in the Dictionaries bar 2018-02-08 18:01:02 +03:00
Abs62 109bd56f39 Wiki: Fix work with headwords containing the '+' sign 2018-01-31 20:54:51 +03:00
Abs62 8ba93a6c5a
Merge pull request #951 from vedgy/mediawiki-subpage-fix
Fix subpage links in MediaWiki
2018-01-31 17:39:08 +03:00
Igor Kushnir deea197ca7 Fix subpage links in MediaWiki
I haven't encountered any prefix other than "/wiki/" that should be
discarded. If there are such other prefixes, I think they would conform
to some pattern, and so the replacement code could be adjusted to
accommodate them.

This commit fixes #813.
Examples of pages with subpage links in English Wikipedia that are fixed
by this commit: "Asio (disambiguation)", "Asio C plus plus library".
This issue is much more prevalent in Wookieepedia because it has
a two-tab link system with the patterns */Legends and */Canon.
2018-01-31 14:09:19 +02:00
Abs62 d65d9248ed Fix one warning in log 2018-01-09 23:15:53 +03:00
Abs62 4abc4284a1 Win-specific: Update libz library to version 1.2.11 2017-12-20 23:30:06 +03:00
Abs62 fe9312e3f4 Mac-specific: Update libao library to version 1.2.2 2017-12-09 23:05:14 +03:00
Abs62 0c8e76ef50 Win-specific: Update libao library to version 1.2.2 2017-12-09 17:57:01 +03:00
Abs62 2d5e1934cd Lupdate all translations, update Russian translation 2017-12-07 18:55:13 +03:00
Abs62 a2dc6d96b6 Remove item from Favorites if one already exist while click on star button in main window 2017-12-07 18:47:53 +03:00
Abs62 f0e92940d4 Update Italian translation by Daniele Di Pisa 2017-11-13 18:29:47 +03:00
Abs62 f3c7e49364 DSL: One more warning in the log for better compatibility with Lingvo compiler 2017-11-08 17:51:15 +03:00
Abs62 635a44fced DSL: A little change in orphan strings search 2017-11-07 23:13:16 +03:00
Abs62 6aa6dbce82 DSL: Don't warn about orphan strings which contains whitespaces only 2017-11-07 21:02:48 +03:00
Abs62 37af0a66f8 Lupdate all translations, update Russian translation 2017-11-07 17:59:12 +03:00
Abs62 77c9a4c3e2 Fix "Add to Favorites" icon changing 2017-11-07 17:46:59 +03:00
Abs62 65be9f2f8a Append "Add to favorites" action to tabs context menu 2017-11-07 17:45:21 +03:00
Abs62 7217a1e24c DSL: Write information about orphan strings to log file while indexing 2017-11-05 20:55:49 +03:00
Abs62 8dd4d9f071 Update help system 2017-10-25 17:55:58 +03:00
Abs62 0b6f36479d Add config file parameter to limit headwords number to expand multi-word headwords while indexing (issie #914) 2017-10-25 17:37:39 +03:00
Abs62 1824d9ab02 Change "Add to Favorites" icon if headword is already presented in Favorites 2017-10-23 17:21:43 +03:00
Abs62 9ae92bf251 Stardict(html): Add partial support for "audio" tag 2017-10-17 17:51:27 +03:00
Abs62 3f221041e0 GLS: Add partial support for "audio" tag 2017-10-16 18:34:22 +03:00
Abs62 fac126844b Merge pull request #903 from Red54/patch-1
Update config.cc for Google En-En (Oxford)
2017-10-10 17:47:11 +03:00
謝致邦 (XIE Zhibang) 0c6111c211 Update config.cc for Google En-En (Oxford)
https://www.google.com/dictionary is discontinued
2017-10-10 18:23:52 +08:00
Abs62 8edb5435d8 Speeding-up CSS parsing for big one-line ones 2017-10-08 00:05:36 +03:00
Abs62 b777cd8e18 Update .css parsing for rules isolation 2017-10-07 19:10:57 +03:00
Abs62 801ab72cf1 Fix typo in article-style-st-modern.css 2017-10-04 22:14:19 +03:00
Abs62 274cef7db9 DSL: Trim whitespaces while replace tilde 2017-10-02 20:49:31 +03:00
Abs62 ddc69b95c4 Update data for OpenCC library 2017-10-02 19:58:58 +03:00
Abs62 b49e429e9f Fix typo in Russian help 2017-10-01 00:05:49 +03:00
Abs62 df7dc244b0 Merge pull request #894 from hosiet/pr-typofix
Fix typos found by codespell; various fixes
2017-09-22 19:16:13 +03:00
Boyuan Yang fa25c5cc86 Add missing va_end in gddebug.cc 2017-09-16 21:34:45 +08:00
Boyuan Yang c80f62b19d Complete zh_CN translation 2017-09-16 21:21:25 +08:00
Boyuan Yang 2c80aa4c67 Fix typos found by codespell 2017-09-16 21:18:42 +08:00
Abs62 a4a4012255 A little refactor for show/hide completion list in the translate box 2017-09-08 16:43:41 +03:00
Abs62 321756a9c6 Force hide search window when main window is hidden 2017-09-01 19:32:53 +03:00
Abs62 9f617425c8 Merge pull request #886 from sikmir/forvo-order-rate-desc
Forvo: order pronunciations by rate, high rated first
2017-09-01 17:13:14 +03:00
Nikolay Korotkiy 43375f8ff8 Forvo: order pronunciations by rate, high rated first 2017-09-01 12:40:45 +03:00
Abs62 31688d435d Fix headwords search for case of wildcard in the first position 2017-08-30 19:09:41 +03:00
Abs62 8bebddbfe4 Merge pull request #879 from zarelaky/master
format output of Powerword dicts
2017-08-29 18:07:06 +03:00