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
xiaoyifang
e7779e5302
fix todo
2021-12-13 22:43:46 +08:00
xiaoyifang
68dcf436fe
Update how to debug.md
2021-12-13 22:43:46 +08:00
xiaoyifang
e7b52f9b8f
Update how to debug.md
2021-12-13 22:43:46 +08:00
xiaoyifang
3058cb241b
Update how to debug.md
2021-12-13 22:43:46 +08:00
xiaoyifang
4279e100c2
Create how to debug.md
2021-12-13 22:43:46 +08:00
xiaoyifang
174ba53be2
found dictionaries panel update
2021-12-13 22:43:46 +08:00
xiaoyifang
402add183e
clean qt_version < 5 code.
2021-12-13 22:43:46 +08:00
yifang.xiao
ab358fb3a5
remove old qt(<5) code.
2021-12-13 22:43:43 +08:00
yifang.xiao
20d51afb8d
remove old qt(<5) code.
2021-12-13 22:43:28 +08:00
yifang.xiao
8fa356bf30
vs changes
2021-12-13 22:43:07 +08:00
xiaoyifang
42aece4a26
Merge branch 'goldendict:master' into branch-qt-5.15
2021-11-18 09:45:54 +08:00
xiaoyifang
e07e0ec314
remove if 0 dead code
2021-11-17 22:19:32 +08:00
xiaoyifang
857850bbf8
Merge branch 'branch-qt-5.15' of github.com:xiaoyifang/goldendict into branch-qt-5.15
2021-11-17 21:55:16 +08:00
xiaoyifang
46ecc8dcbb
bgl dictionary parse error
2021-11-17 21:54:49 +08:00
Abs62
b10cdf685c
MDict: A little support for video
2021-11-12 21:26:46 +03:00
xiaoyifang
f397a8f68d
Merge branch 'goldendict:master' into branch-qt-5.15
2021-11-11 18:18:36 +08:00
fenuks
b9b7067b5b
Linux-specific: Optionally store history in XDG_DATA_HOME in Qt5 build
...
Separate data directory is only used if history file isn't already
present in the configuration directory.
This commit together with two previous ones allows to switch to
layout described in XDG Base Directory specification. Data is not
migrated automatically and old ~/.goldendict home dir has precedence.
If you wish to use standards-compliant locations, move files and
directories manually:
```
CONFIG="${XDG_CONFIG_HOME:-$HOME/.config}/goldendict"
CACHE="${XDG_CACHE_HOME:-$HOME/.cache}/goldendict"
DATA="${XDG_DATA_HOME:-$HOME/.local/share}/goldendict"
mkdir -p "${CACHE}"
mkdir -p "${DATA}"
mv ~/.goldendict/index "${CACHE}"
mv ~/.goldendict/history "${DATA}"
mv ~/.goldendict/ "${CONFIG}"
```
2021-11-10 18:52:15 +03:00
fenuks
ae4eea3513
Linux-specific: Optionally store index in XDG_CACHE_HOME in Qt5 build
2021-11-10 18:52:15 +03:00
fenuks
f6742d8fb4
Linux-specific: Optionally use XDG_CONFIG_HOME for config in Qt5 build
2021-11-10 18:52:15 +03:00
fenuks
5de5f18f48
Linux-specific: Use lowercase cache directory name in Qt5 build
...
Please note that this effectively discards network cache stored in
"${XDG_CACHE_HOME:-$HOME/.cache}/GoldenDict/network". You can safely
delete the obsolete cache directory. If you wish to preserve and
keep using the existing network cache, move it into the new location
manually:
```
CACHE="${XDG_CACHE_HOME:-$HOME/.cache}"
mkdir -p "${CACHE}/goldendict"
mv "${CACHE}/GoldenDict/network" "${CACHE}/goldendict"
rmdir "${CACHE}/GoldenDict"
```
If GoldenDict with this change has been already used, new cache dir
will already have "${CACHE}/goldendict/network", and mv will refuse to
merge directories. In such case, you will need to manually remove it
before moving directory with old cache.
2021-11-10 18:52:15 +03:00
xiaoyifang
8405035d2f
refract encoding method
2021-11-06 16:55:51 +08:00
xiaoyifang
f0a3df3d6f
refract encoding method
2021-11-06 16:26:30 +08:00
xiaoyifang
02a88c98ad
load dsl dictionary performance improved
2021-11-06 15:45:36 +08:00
xiaoyifang
2633b32458
load dsl dictionary performance improved
2021-11-06 12:41:26 +08:00
xiaoyifang
fb2b667cc5
refract code
2021-10-23 17:37:29 +08:00
yifang
cc9fa33733
fix linux compile error
2021-10-23 12:05:16 +08:00
xiaoyifang
c9652bbb74
qstream peformance
2021-10-21 22:20:07 +08:00
xiaoyifang
66ed1c0507
optimize javascript scrollIntoView
2021-10-20 23:44:24 +08:00
子湑
e92797a98a
fix cmd+C+C not working under Japanese Input
2021-10-20 18:33:58 +03:00
xiaoyifang
9857ed0559
use char32_t as the inner string unit.
2021-10-20 23:02:37 +08:00
xiaoyifang
728a5b9651
destroy object ,when request the same url multi times ,the previous request was canceled.
2021-10-19 22:16:44 +08:00