Commit graph

2680 commits

Author SHA1 Message Date
yifang c14e803881
imp. : high dpi screen support 2022-01-20 20:23:14 +08:00
yifang c7926daac7
fix:add debug log,hitted dictionaries changes. 2022-01-20 20:15:34 +08:00
yifang 8ac2f8dfe1 imp. : wrap articleview in webchannel for security reason 2022-01-20 07:38:01 +08:00
xiaoyifang f047c5fc9c Revert "imp. : wrap articleview in webchannel for security reason"
This reverts commit cf10810fe2.
2022-01-19 22:39:04 +08:00
xiaoyifang 635315330a Merge branch 'branch-qt-5.15' of github.com:xiaoyifang/goldendict into branch-qt-5.15 2022-01-19 21:43:36 +08:00
xiaoyifang 08e31db900 fix: remove examples.pro from qtsingleapplication.pro 2022-01-19 21:43:17 +08:00
yifang a37a24671c fix: illege mdx dictionary ,css file embed font with a lead dot,such as "./font.woff"
the leading dot character will cause the file can not be found.
2022-01-19 21:01:35 +08:00
yifang cf10810fe2 imp. : wrap articleview in webchannel for security reason 2022-01-19 20:50:17 +08:00
yifang f93745cc69 imp. : add high dpi support 2022-01-19 20:35:34 +08:00
yifang 233564e7e5 imp. : collapse and expand click event expanded to whole line. 2022-01-19 20:29:14 +08:00
yifang 70254fe6e0 imp. : rename js/css file from gd_ to gd-* 2022-01-19 20:26:45 +08:00
yifang 5c76bc746c fix:right context menu ,select current article 2022-01-19 20:16:45 +08:00
xiaoyifang a562975661 fix:right context menu , "select current article". 2022-01-18 23:06:17 +08:00
xiaoyifang 4e7fe7dd6d improvement: make tab title does not show url . 2022-01-18 22:26:52 +08:00
xiaoyifang 65f2125885 clean code:change file encoding from utf-8 bom to utf-8 2022-01-18 20:47:45 +08:00
xiaoyifang 53e2740e87 clean code: remove qtsingleapplication example and doc 2022-01-18 20:47:09 +08:00
yifang 0ba2cacc29
improvement:remove gdCurrentArticle js variable 2022-01-17 21:50:54 +08:00
yifang e349c64049 fix: this is a generated file .upload to ease build process .
Signed-off-by: yifang <yifang.xiao@outlook.com>
2022-01-16 17:41:51 +08:00
yifang be7319559c improvement:set web page zoomfactor besides webview. 2022-01-15 18:23:44 +08:00
xiaoyifang 9437025179
Merge pull request #2 from csg2008/branch-qt-5.15
Enhance the function to check whether the file exists, support large files
2022-01-15 15:45:43 +08:00
xiaoyifang 2950aa1d39
Update how to build and debug with VS2019.md 2022-01-15 15:44:07 +08:00
yifang 262e650779 fix: DPRINTF=>GD_DPRINTF ,DDPRINT does not exist now.
do not affect functionality.only existed in comments.
2022-01-15 15:29:20 +08:00
狂风代码 bf3725fdbd
Update file.cc
Enhance the function to check whether the file exists, support large files
2022-01-15 14:40:21 +08:00
yifang 65fcedd44a improvement:mediawiki request will hang forever,if can not access .
set the timeout to improve UX.
2022-01-15 12:53:19 +08:00
yifang ca9917c972 Merge branch 'temp/singleclick-event' into branch-qt-5.15 2022-01-15 11:21:18 +08:00
yifang 850c7d66e8 fix:single click on link,the emulated db click will still work on new page 2022-01-15 11:18:54 +08:00
yifang 94b5d1c159 clean code:signature normalized. 2022-01-14 23:14:38 +08:00
yifang 968cb325e6 fix:build error on gentoo. #1400#issuecomment-966923807 2022-01-14 23:05:00 +08:00
yifang 63626bde13 improvement: refactor code,move ignoreKeyEvent method to utils. 2022-01-14 22:58:19 +08:00
yifang 9a4b119976 improvement:refactor code ,ignore key event extract to method 2022-01-13 20:39:58 +08:00
yifang d8f5e4a374 improvement:seperate javascript file from cpp code. 2022-01-12 22:30:43 +08:00
yifang f725018053 improvement:stylesheet css file.use external link instead of embed.
by using external file syntax.the browser can cache the file.improve web performance in a way.
2022-01-12 21:48:03 +08:00
yifang 713339d66b improve: handle invalid resource url such as bres://upload.wikimedia.... 2022-01-11 22:20:38 +08:00
yifang 37d22bc412 improve:handle invalid tag soup improvement, related to old issue #271 2022-01-11 20:33:46 +08:00
yifang ccc0f275ba jquery noconflict() 2022-01-11 20:18:46 +08:00
yifang 70c972ddc2 fix: js variable error,revert to beginning version 2022-01-11 19:52:27 +08:00
xiaoyifang b163064f86 fix: mdd resource files spread across multi blocks .
https://github.com/goldendict/goldendict/pull/1400#issuecomment-1008965814
2022-01-10 23:42:27 +08:00
xiaoyifang 5e817e7d40 fix:single click to select improvement. 2022-01-10 22:13:31 +08:00
xiaoyifang fb41852554 fix: mouse scroll by page (win specific) 2022-01-10 21:40:21 +08:00
xiaoyifang 3ceb7dda36 improvement:pro file remove useless condition 2022-01-10 21:21:22 +08:00
xiaoyifang 40b2c9e891 refactor code,use default parameter 2022-01-10 20:17:22 +08:00
xiaoyifang 84923e5c4d fix:save image (right context menu on image action) 2022-01-09 22:18:53 +08:00
xiaoyifang c3db39499b fix:add a protection to check memory overflow. 2022-01-09 18:12:08 +08:00
xiaoyifang 6318366a10 improve:refactor code ,reimplement sptr class. 2022-01-09 16:18:55 +08:00
xiaoyifang af7b02edd7 clean code:remove VS solution file
the VS solution file is not needed .with QT Tool Extensions,VS can open .pro directly.
save all the effect to synchronize the project files between Qt .pro file and VS .sln file
2022-01-09 15:07:30 +08:00
xiaoyifang 66e740195c document: add how to build with Visual Studio 2022-01-09 15:03:46 +08:00
xiaoyifang be1866db10 fix:resource scheme handler received finished signal twice,more likely to crash the webengine. 2022-01-09 14:30:06 +08:00
xiaoyifang 13fdf08450 improve:foundDictsPane refresh logic 2022-01-09 12:54:50 +08:00
xiaoyifang 29bd94b8a7 improve:footnote url(#fragment) navigation 2022-01-09 11:54:14 +08:00
xiaoyifang 3f11826918 fix: invalid bres url may cause webengine to crash. such as bres://upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif 2022-01-09 11:36:48 +08:00