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
Abs62
dacc4779db
Rework custom dictionary icons handling
2012-12-03 16:47:43 +04:00
Abs62
535fe0d3e0
Update year in copyright notices.
2012-02-21 01:47:14 +04:00
Julian Depetris Chauvin
778a288297
Fix sync between currently active article and the "found in dictionaries" pane for web dictionaries.
2011-07-30 17:28:24 -03:00
Tvangeste
7d2b6f5893
provide %GDBIG5% for websites
2011-07-30 10:28:30 +02:00
Konstantin Isakov
92eceb8cad
Change email from @users.berlios.de to @goldendict.org.
2010-12-09 15:31:50 +03:00
Konstantin Isakov
953d9237a3
Update copyright to span to 2011.
...
Better early than late, this year is ending anyway.
2010-11-14 18:47:03 +03:00
Konstantin Isakov
04bdf3aa36
For websites and forvo, don't add dummy word search results (as they don't have any index to search in) -- instead, make results empty, but mark the search uncertain, and don't mark the word input line as reddish in that case.
...
This is just a refinement on how the word search is done in the dictionaries
that don't actually ability to search words in. Previously they emitted dummy
italicized suggestions, which were getting in the way. Now they don't emit
anything, but mark the search as uncertain. Any uncertain searches don't mark
the word input with the different color to indicate the search has failed.
2010-06-22 16:43:11 +04:00
Konstantin Isakov
ab88fa4867
Drop the src/ directory. It's superfluous.
2010-05-15 16:42:18 +04:00