xiaoyifang
bdb9561ec9
rename scheme handler
2021-10-02 20:48:49 +08:00
yifang
3bdb1aabb5
minor changes
2021-10-02 11:15:39 +08:00
xiaoyifang
fa39e972ce
remove useless code
2021-09-25 10:23:03 +08:00
yifang
3b120ee765
1 remove useless code
...
2 define js variable to avoid js error
2021-09-24 21:42:55 +08:00
yifang
d840326717
change link gdlookup://localhost/[word] to gdlookup://localhost?word=[word]
2021-09-24 21:08:54 +08:00
yifang
a23409c875
fix:loaded url twice
2021-09-24 20:29:13 +08:00
xiaoyifang
bec982c51e
remove dead code
2021-09-22 12:01:17 +08:00
yifang
e5c72f8ecc
change to setcontent
2021-08-21 09:41:40 +08:00
xiaoyifang
eddfa075bd
connect reply content to article view
2021-08-14 15:25:10 +08:00
xiaoyifang
5967f70c4b
remove useless code
2021-08-06 23:10:15 +08:00
xiaoyifang
939a96b7a6
register local scheme gdlookup://
2021-08-05 14:57:22 +08:00
yifang
54bdf12d8d
network manager change
2021-07-24 15:18:46 +08:00
xiaoyifang
3aadf52344
webkit to webengine
2021-07-15 22:58:32 +08:00
Abs62
e1c9a0d6de
Fix compilation without C++11 support
2021-06-18 21:33:24 +03:00
Igor Kushnir
60bc05218f
Add input phrase's punctuation suffix to alts
...
Preferences::sanitizeInputPhrase() transforms an input phrase by
removing its whitespace/punctuation prefix and suffix. Translating a
phrase from X11 primary selection or from clipboard, via mouse-over or
from the command line results in such sanitization. This is useful when
a punctuation mark or a space is selected accidentally alongside a word.
This sanitization can be undesirable, however, when an abbreviated word
is selected. For example: "etc.", "e.g.", "i.e.".
This commit implements searching for the input word with the punctuation
suffix preserved as an alternative form of the sanitized word to show
articles for both. For example, when the word "etc." is translated from
the clipboard, both "ETC" and "etc." articles are displayed.
The punctuation suffix is preserved when the word is passed from the
scan popup to the main window and when the translate line text is
refreshed (e.g. when the current group is changed). The suffix is not
stored in history and favorites (doing so would require file format
changes and possibly substantial code changes, this can be implemented
later if need be).
Trim the input phrase once in ArticleNetworkAccessManager::getResource()
instead of verbose trimming in multiple places in
ArticleMaker::makeDefinitionFor().
Closes #1350 .
2021-06-17 12:06:36 +03:00
Abs62
a722b3f43d
Fix "file://" urls correction for case of launch portable GD via network
2019-08-05 17:51:57 +03:00
Abs62
d7bc012411
Add option to ignore diacritics while articles search
2018-06-13 19:00:42 +03:00
Abs62
eb6dc37470
Qt5: Some more fixes for compilation under early Qt5 versions (issue #990 )
2018-04-08 20:25:55 +03:00
Abs62
62529d8a6c
Qt5: Fix compilation under early Qt5 versions (issue #990 )
2018-04-08 17:48:46 +03:00
Abs62
e89df78ecb
A little optimization of read data from network
2018-03-12 20:22:38 +03:00
Abs62
d65d9248ed
Fix one warning in log
2018-01-09 23:15:53 +03:00
Abs62
85ddcc507d
Websites(Qt 5.2+): Fix some urls handling
2017-03-24 19:16:03 +03:00
Abs62
747185c490
Websites(Qt 5.2+): Ignore X-Frame-Options header like in Qt 4.x
2017-03-23 18:03:17 +03:00
Abs62
cc7d7e196a
Qt 5: Partially workaround of same-origin policy
2017-03-21 17:35:34 +03:00
Abs62
0ab39a977c
Ignore SSL error while loading resources
2016-06-25 15:37:08 +03:00
Abs62
5731349f06
Merge branch 'Original' into Qt4x5
2016-04-09 11:09:55 +03:00
Abs62
032f5c8337
Win-specific: Tune code for compilation with MS Visual Studio
2016-04-09 00:21:55 +03:00
Abs62
35433d9ea6
Merge branch 'Original' into Qt4x5
2014-05-27 17:59:50 +04:00
Abs62
56770cf4ff
Zim: Fix new format links handling
2014-05-23 23:24:07 +04:00
Abs62
b9666f7f9f
Merge branch 'Original' into Qt4x5
...
Conflicts:
bgl_babylon.cc
2014-05-12 18:10:26 +04:00
Abs62
d6a9244424
Fix some warnings
2014-05-12 17:43:02 +04:00
Abs62
4120213ee8
Rename "DPRINTF" and "FDPRINTF" debug macro
2014-05-11 01:02:31 +04:00
Abs62
90130d0fff
Adjust code for Qt5
2014-04-23 18:19:46 +04:00
Abs62
10532279b1
Merge branch 'Original' into Qt4x5
...
Conflicts:
article_netmgr.cc
mainwindow.cc
2014-04-23 18:16:06 +04:00
Abs62
9ad0d5f985
Implement full-text search
2014-04-16 20:18:28 +04:00
Abs62
34271ecc1d
Merge branch 'Temp' into Qt4x5
...
Conflicts:
article_maker.cc
article_netmgr.cc
articleview.cc
forvo.cc
goldendict.pro
hotkeywrapper.cc
hunspell.cc
mainwindow.cc
2013-12-18 19:09:48 +04:00
Abs62
444938a330
Fix logging to file UTF-8 encoded messages
2013-11-16 22:34:09 +04:00
Abs62
a1d539ff1f
Qt5-specific: Fix pictures loading for Bgl and some Stardict dictionaries
2013-09-27 17:04:25 +04:00
Abs62
1f87d8a911
Merge branch 'master' into Qt4x5
...
Conflicts:
btreeidx.cc
goldendict.pro
lsa.cc
mouseover.cc
sounddir.cc
xdxf2html.cc
2013-09-27 17:03:27 +04:00
Abs62
c7b04526d2
Possibility to log GD console messages into file "gd_log.txt" in GD config directory. Activated by "--log-to-file" key in command line.
2013-09-20 18:25:44 +04:00
Abs62
4ccdca5b97
Some more exception handling
2013-09-19 23:43:16 +04:00
Timon Wong
e09ca5402d
Merge branch 'master' into qt4x5
...
Conflicts:
goldendict.pro
2013-08-19 10:54:38 +08:00
Tvangeste
148fd1f275
Fix compilation failures with Visual C++ 2012 (issue #375 )
2013-08-07 20:29:36 +02:00
Timon Wong
555b51260a
Merge branch 'master' into qt4x5
2013-06-26 21:07:46 +08:00
Tvangeste
0cf8ccb259
DSL: Support video resources
2013-06-22 18:36:25 +02:00
Timon Wong
f30c41dbf6
Remove Url::Class, add Qt4x5::Url::ensureLeadingSlash() and fix all related
2013-05-31 12:20:25 +08:00
Timon Wong
ad4394d02b
#212 : Workaround for Qt5 changed behavior in QUrl::setPath()
2013-05-30 23:05:41 +08:00
Timon Wong
1d85f1b359
#212 : Scratch, currently works under windows, for both Qt4 and Qt5
2013-05-30 21:24:21 +08:00
Tvangeste
82e6648efc
Added an option to hide GoldenDict identification in the HTTP User-Agent headers (Issue #259 ).
...
A new preference in the "Network" tab is added:
* Do not identify GoldenDict in HTTP headers.
2013-05-15 17:59:30 +02:00
Tvangeste
9faf843ab7
Part of work for #212 : Make GD source to be ready for Qt5.
...
Replaced deprecated to/fromAscii with to/fromLatin1
2013-02-03 21:19:55 +01:00