Commit graph

4714 commits

Author SHA1 Message Date
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 c7d33f4eb9 clean code: remove old cpp feature 2022-01-09 16:35:07 +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
xiaoyifang bd6cc8b9c9 fix: resource scheme handler received finished signal twice,more likely to crash the webengine. 2022-01-09 09:52:40 +08:00
xiaoyifang 3b4c105655 improve:Win Specific, replace deprecated method 2022-01-08 22:26:21 +08:00
yifang 46b4151cc4 improve: replace all the deprecated method before 5.15 2022-01-08 22:08:23 +08:00
xiaoyifang 0c55c85339 fix conflict 2022-01-08 22:07:33 +08:00
yifang f16107e072 fix:right context menu not display correctly when select wikiweb dictionary 2022-01-08 21:45:10 +08:00
yifang e8f0202a49 clean code:remove useless code 2022-01-08 18:40:17 +08:00
yifang a4133761ee revert to qthreadpool 2022-01-08 18:37:59 +08:00
yifang b2e5f43652 fix:crash on click link 2022-01-08 16:13:06 +08:00
yifang 0f1c0d4204 improve:right context menu active dictionaries 2022-01-08 14:51:24 +08:00
yifang c74b0bc6cf fix:return 404 if resource not found 2022-01-08 12:29:33 +08:00
yifang 4d648aca09 fix:single click to select word does not work properly 2022-01-08 12:29:17 +08:00
yifang 93f75d1cf5 fix:single click mouse position 2022-01-06 23:20:03 +08:00
xiaoyifang 4de296b5a6 fix:single click to select work (inside html iframe) 2022-01-04 21:01:16 +08:00
xiaoyifang d1e4850b06 Merge branch 'branch-qt-5.15' of github.com:xiaoyifang/goldendict into branch-qt-5.15 2022-01-04 20:37:25 +08:00
xiaoyifang c01257d592
Update gd_custom.js
bword:xxxx link handle
2022-01-04 07:47:48 +08:00
yifang 5b3e610ec6 Merge branch 'branch-qt-5.15' of github.com:xiaoyifang/goldendict into branch-qt-5.15 2022-01-03 12:01:40 +08:00
yifang 0a54477435 play sound ,javascript refactor 2022-01-03 12:00:50 +08:00
xiaoyifang f2764a2594 single click to select text 2022-01-03 00:50:46 +08:00
xiaoyifang c17a4d9b74 right menu context 2022-01-02 16:30:16 +08:00
yifang d5af210785 fix:relative url handle 2022-01-02 09:37:43 +08:00