Commit graph

2669 commits

Author SHA1 Message Date
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
yifang 47faab5a52 fix:relative url redirect 2022-01-01 21:09:55 +08:00
yifang aaea8d8e04 code clean: format 2022-01-01 18:19:11 +08:00
yifang 8fc762a57b fix:add "gdprg","gdvideo","gdpicture","gdtts" scheme 2021-12-31 23:48:21 +08:00
yifang 77e770c176 fix: url inside page ,hashtag and relative url redirect. 2021-12-31 23:41:45 +08:00
yifang 3e4e7170e7 Merge branch 'branch-qt-5.15' of github.com:xiaoyifang/goldendict into branch-qt-5.15 2021-12-31 22:16:53 +08:00
yifang 1c3612f720 fix:inside page #hashtag and redirect 2021-12-31 22:15:51 +08:00
yifang 5f956464e0 disable link redirect. 2021-12-31 22:11:55 +08:00
xiaoyifang 0ed7c1cc1d
Merge branch 'goldendict:master' into branch-qt-5.15 2021-12-31 09:31:29 +08:00
yifang 3ebe5c9b23 fix: translateLine text disappeared after main windows hide and show up again. 2021-12-30 21:19:50 +08:00
yifang 81c2e8d3b5 fix:zoom in does not take affect. 2021-12-30 20:41:38 +08:00
yifang a1c0cfa042 single click to open external link in external browser 2021-12-29 23:28:26 +08:00
Abs62 0e888db874 Win-specific: Compile FFMpeg libraries with speex codec support 2021-12-29 17:50:28 +03:00
yifang 09063ecc5a clean code:
QString::SkipEmptyParts=>Qt::SkipEmptyParts
2021-12-29 22:29:06 +08:00
yifang 77ed32dca6 cors support 2021-12-29 20:09:29 +08:00
yifang 0f08026d3f right context menu link . 2021-12-28 21:59:49 +08:00
yifang e7218fc12b open link content duplicated in all the tabs. 2021-12-28 21:49:32 +08:00
yifang 8e6f4c2c10 zim dictionary:remove semphore 2021-12-28 20:29:27 +08:00
yifang 4157fb387e zim dictionary ,pictures does not show up 2021-12-27 21:15:13 +08:00
yifang e090716a2e fix javascript error 2021-12-26 18:01:24 +08:00
yifang d90c528819 onJsActiveArticleChanged was remove unintentionaly 2021-12-19 18:58:48 +08:00
yifang f292e0c251 add javascript qt object to html(used to communicate between html and c++)
add jquery framework .
2021-12-19 18:37:27 +08:00
yifang 5860e81ff3 typingEvent fix,double characters when focus 2021-12-18 18:08:45 +08:00
yifang de3d7b8b19 clean code:remove QT_VERSION check 2021-12-16 19:59:00 +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
xiaoyifang 88f90149b4 update visual studio project files. 2021-12-14 23:16:56 +08:00
yifang 8e2eac0836 remove useless comment line 2021-12-13 22:46:02 +08:00
yifang 101fb9027d refactor code.F12 optimize 2021-12-13 22:46:02 +08:00
yifang a2baf836e4 refactor code.F12 optimize 2021-12-13 22:46:02 +08:00
xiaoyifang cb5ac438fe bword link in Hunspell dictionary. 2021-12-13 22:46:02 +08:00
yifang 5333b79222 double click and single click selection 2021-12-13 22:46:02 +08:00
xiaoyifang 8f4f3a3766 single click distinguish with double click 2021-12-13 22:46:02 +08:00
yifang.xiao 608f39244e single click distinguish with double click 2021-12-13 22:46:01 +08:00
yifang 7e62a0f860 mouse double click 2021-12-13 22:45:57 +08:00
yifang 98ca729446 remove qt_version_check macro 2021-12-13 22:45:57 +08:00
yifang.xiao b148c557c9 convert async to sync invoke 2021-12-13 22:45:55 +08:00
xiaoyifang 9b179dac3c runjavascript async->sync 2021-12-13 22:45:53 +08:00
yifang.xiao 5f86c33f8d F12 inspect element 2021-12-13 22:45:49 +08:00
yifang.xiao c56407863c use Eventloop to convert async function to sync function.based on current situation ,I think it would be better to keep the sync mode. webengine use aysnc callback,while webkit use sync function 2021-12-13 22:45:39 +08:00
xiaoyifang 303179b410 clean code:
remove qt version check
save geometry
2021-12-13 22:45:35 +08:00
xiaoyifang 5eac08c97a rename qt4x5.hh to utils.hh
the filename qt4x5 is not proper now,for the qt4 version can never meet.and the qt5 is actually mean qt>5 .
2021-12-13 22:45:35 +08:00
xiaoyifang db2b8e618d update visual studio project file.
actually these files should be removed.
all these files can be autogenerated by VisualStudio extension <Qt Tools>.
2021-12-13 22:45:35 +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
yifang.xiao f39429f35a remove IS_QT_5 2021-12-13 22:45:28 +08:00
yifang.xiao 69db1d4c71 fix conflict 2021-12-13 22:45:20 +08:00