xiaoyifang
84c6b79217
fix: local dictionary file:/// support
2023-02-16 16:11:27 +08:00
xiaoyifang
c5b9e48e0e
fix: local dictionary file:/// support
2023-02-16 15:58:44 +08:00
shenleban tongying
2aeed5e705
clang-tidy: apply modernize-use-override
2022-12-29 02:14:53 -05:00
shenleban tongying
fcfa4e43e2
refactor: replace escaped strings with raw strings via clang-tidy
2022-12-24 17:01:50 -05:00
xiaoyifang
08c0df49e1
fix: change macro QT_NO_OPENSSL to QT_NO_SSL
2022-12-15 15:11:09 +08:00
shenleban tongying
4452c06c3e
Replace sptr with std::shared_ptr
...
* Make sptr an alias of std::shared_ptr
* Make old sptr's implicit conversion explict through std::make_shared
2022-11-28 22:54:31 -05:00
Xiao YiFang
b9c74c8714
Revert "opt:website dictionary iframe remove mouseover event"
...
This reverts commit c88d85ba7c
.
2022-09-22 20:04:01 +08:00
Xiao YiFang
c88d85ba7c
opt:website dictionary iframe remove mouseover event
2022-09-17 13:54:44 +08:00
Xiao YiFang
c1953f9d47
opt:website customize icon
2022-09-09 13:53:56 +08:00
Xiao YiFang
6584954a40
opt:iframe style refractor
2022-09-03 14:17:21 +08:00
Xiao YiFang
082c0a2728
website sandbox allow same origin
2022-08-14 11:30:17 +08:00
Xiao YiFang
14591d158c
opt:website iframe enable sanbox feature to avoid top navigation
...
certain website dictionary such as https://zh.wiktionary.org/wiki will try to navigate the top windows,
in this case ,all the dictionaries' content will be changed.
2022-08-13 18:25:19 +08:00
Xiao YiFang
7545e2d6e2
make website experimental solution formally.
2022-08-04 20:37:31 +08:00
Xiao YiFang
ba10f68c1c
clean code: replace throw() with noexcept
2022-06-03 21:29:06 +08:00
Xiao YiFang
bb3924ef6d
fix: iframe new experimental feature
...
enabled only when user append ## to the website dictionary url
2022-05-17 20:44:48 +08:00
Xiao YiFang
e6ab87ca73
fix:add ifr local scheme
...
due to iframe security policy and x-frame-option .
the website online dictionary can not work in qt 5.15.2+ version.
this is a workaround to pass through the restriction.
2022-05-15 22:54:26 +08:00
YiFang Xiao
376f0f1c62
fix: qt6.2 iframe can not access gdlookup built-in javascript
...
it throw CORS exception in the devtool console windows.
2022-04-17 22:28:14 +08:00
xiaoyifang
b242a5b89c
add request attribute
...
add followredirect and prefercache
2022-04-14 22:45:34 +08:00
xiaoyifang
30ce781e6a
Revert "improve:handle invalid tag soup improvement, related to old issue #271 "
...
This reverts commit 37d22bc412
.
2022-04-10 20:07:00 +08:00
xiaoyifang
f133877ca6
remove close tag compensation
2022-03-12 19:41:24 +08:00
xiaoyifang
7b5511a7bd
upgrade to qt6.2
2022-03-11 22:00:45 +08:00
xiaoyifang
c2b466ce19
Merge branch 'feature/cpp-refactor-code' into staged
2022-02-03 17:51:40 +08:00
xiaoyifang
0c94406e2a
fix merge conflict with feature/deprecated
2022-02-03 17:50:47 +08:00
yifang
ab7ffab225
fix: iframe not auto expand
...
https://github.com/goldendict/goldendict/issues/1448
2022-01-31 09:36:52 +08:00
xiaoyifang
9c5d7acc5a
high dpi:change icon
2022-01-25 22:54:17 +08:00
xiaoyifang
9cf5ee8443
high dpi:change icon reference in code from png to svg.
2022-01-24 22:23:38 +08:00
yifang
37d22bc412
improve:handle invalid tag soup improvement, related to old issue #271
2022-01-11 20:33:46 +08:00
xiaoyifang
c7d33f4eb9
clean code: remove old cpp feature
2022-01-09 16:35:07 +08:00
yifang
46b4151cc4
improve: replace all the deprecated method before 5.15
2022-01-08 22:08:23 +08:00
xiaoyifang
e04aa50a99
fix issue mentioned in https://github.com/goldendict/goldendict/issues/1393#issuecomment-993716654
2021-12-15 23:43:03 +08:00
yifang.xiao
0365015ac6
clean code:
...
remove "#if QT_VERSION >= QT_VERSION_CHECK( 5, 0, 0 )" check ,the check should always be true based on current situation.
2021-12-13 22:45:33 +08:00
xiaoyifang
402add183e
clean qt_version < 5 code.
2021-12-13 22:43:46 +08:00
Abs62
d7bc012411
Add option to ignore diacritics while articles search
2018-06-13 19:00:42 +03:00
Abs62
fd00e9d156
Fix gcc 7.3 compiler warnings (#issue 978)
2018-05-21 18:32:04 +03:00
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
a1a8ece42c
Call disconnect() before deleteLater() for QNetworkReply objects
2017-03-20 17:31:02 +03:00
Abs62
685cdab704
WebSites: Don't show query error messages for "file://" scheme
2017-03-04 15:02:13 +03:00
Abs62
39455250e6
Websites: Fix some encoding recognition errors when compiled with Qt 4.x
2016-07-12 17:51:44 +03:00
Abs62
482d4f7b77
Websites: Don't handle links like "javascript:..."
2016-06-18 17:01:58 +03:00
Abs62
ecc4203247
Websites: Isolate styles for every site when possible
2016-06-18 14:56:13 +03:00
Abs62
b72d377d78
Websites: Set "As link" option turned on by default
2016-06-17 23:06:46 +03:00
Abs62
b7a707d7c0
Websites: Add alternative loading method
2016-06-17 19:31:16 +03:00
Tvangeste
f040860a85
Fixed #347 : Provide Dictionary Info for the online dictionaries
2013-06-09 20:45:13 +02:00
Abs62
afff21694f
Add some more encodings for online dictionaries (issue #252 )
...
Big5-HKSCS - %25GDBIG5HKSCS%25
GB18030 - %25GDGBK%25
Shift-JIS - %25GDSHIFTJIS%25
2013-03-30 14:00:28 +04: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
Julian Depetris Chauvin
25be9b074a
Check if icon is loaded before trying to load it again
2013-01-31 19:30:11 -03:00
Abs62
5070b5b859
std::vector -> QVector in config
2012-12-10 16:49:45 +04:00
Tvangeste
bd765714d6
Fixed compilation failure on linux due to windows-specific #include.
2012-12-03 20:30:42 +01:00
Abs62
81875d74f6
Custom icons for websites
2012-12-03 16:48:31 +04:00