Commit graph

416 commits

Author SHA1 Message Date
shenleban tongying 491fbbfd87
refactor: move flags into /icons/ 2023-04-17 20:44:50 -04:00
shenleban tongying 03af31c6fc
refactor: move common/base/utils into /src/common/ 2023-04-17 20:41:47 -04:00
shenleban tongying b602bc0e9f fix(qmake): macOS build 2023-04-17 20:00:36 -04:00
shenleban tongying 0fbfb1f36c
refactor: move runtime scripts and flags into /src/ 2023-04-17 19:49:52 -04:00
shenleban tongying 8b8ad5d23d
refactor: move all ui related files to /src/ui/ 2023-04-17 19:11:58 -04:00
shenleban tongying 94293f1ccc
refactor: move DICT dictd and mdict parser to /src/dict/ 2023-04-17 18:51:08 -04:00
shenleban tongying b1828a4f9b
refactor: move epwing files to src/dict 2023-04-17 18:36:29 -04:00
shenleban tongying 49d852087d
fix: linux qmake build 2023-04-17 18:18:28 -04:00
shenleban tongying 697b2f9cd1
refactor: move left over .cc/.hh files to src/ 2023-04-17 17:56:55 -04:00
shenleban tongying 129345613e
refactor: Move all .cc/.hh files to src/ 2023-04-17 17:17:36 -04:00
shenleban tongying 7feb883408
refactor: move all dictionary parsers to /src/dict/
If a file contains `makeDictionaries` then it belongs to there
2023-04-17 16:55:34 -04:00
shenleban tongying 2f9f09bb9f
refactor: unify source extensions to .cc and .hh 2023-04-17 16:17:03 -04:00
shenleban tongying 20230542d6
refactor: move none c++ source files into src/ 2023-04-17 13:40:05 -04:00
shenleban tongying 3ff6b6a8ee feat(help): replace QtHelp with website
* Nobody wants to update .qch files
2023-04-17 14:40:29 +08:00
Xiao YiFang 9d3c76cf48 fix: remove unused files
#502
remove sapi.hh
remove processwrapper.cc(hh)
2023-04-16 18:09:12 +08:00
shenleban tongying cd40bfa7d3 feat: remove LibTIFF dependency
* Qt already have built-in support for them
* remove qmake option no_extra_tiff_handler
2023-04-16 13:01:26 +08:00
Xiao YiFang e32a7a2c94 fix:remove custom treeview class 2023-04-12 22:48:31 +08:00
Xiao YiFang 25daf37f65 action:on linux ,the xapian package name may need to change accordingly 2023-04-04 09:30:38 +08:00
xiaoyifang 51b46ca057 action:macos xapian support 2023-04-03 11:47:53 +08:00
Xiao YiFang c59a29b747 bump alpha version 2023-04-03 07:33:54 +08:00
Xiao YiFang 25f101f112 action:add ubuntu xapian release 2023-04-03 07:33:54 +08:00
Xiao YiFang ce9436f950 bump release version 2023-04-02 23:46:21 +08:00
Xiao YiFang 89d567b17a fix merge conflict 2023-04-02 23:43:50 +08:00
Xiao YiFang 2407cf2a88 use QTextToSpeech module to play tts.
fix code smells
2023-03-29 23:16:01 +08:00
shenleban tongying fac1247c10 refactor: properly modularize articleview's ui 2023-03-18 11:00:06 +08:00
shenleban tongying a75867f82b refactor: convert articleview into plain code 2023-03-18 11:00:06 +08:00
shenleban tongying 4f2c8d55aa refactor: port away from extlineedit
* the main feature of extlineedit.cc was having icons on left and right side which is already provided by QLineEdit::addAction after Qt5.2
2023-03-06 09:46:32 +08:00
shenleban tongying 38956589a2 refactor: convert scanflag.ui to plain code 2023-02-21 19:56:12 -05:00
shenleban tongying 497ecf3719 fix: use alternative clipboard change monitor on macOS
QClipboard cannot monitor data changes on mac unless an application is focused
2023-02-17 22:02:52 -05:00
Xiao YiFang 7443fa711a bump alpha version to 23.02.07 2023-02-07 23:20:43 +08:00
Xiao YiFang 9b8f85ca1f bump release version to 23.02.06 2023-02-06 00:04:32 +08:00
Xiao YiFang b5f91d537d fix conflict 2023-02-05 23:59:42 +08:00
Xiao YiFang caa1ab45b6 feat:add iconv support 2023-02-02 00:36:18 +08:00
Xiao YiFang 859def7ae0 feat:add iconv as an extra encoding converter
win specific:add iconv libs to winlibs
2023-02-01 23:33:46 +08:00
Ryan Qian 131cffbdb2
fix: qtmultimedia dependency
audiooutput.cpp includes the QAudioFormat unconditionally, but it looks
like this file is only used by ffmpeg_player and qtmultimedia_player,
so add an extra condition to append this file and its header.
2023-01-22 20:10:58 +08:00
Ryan Qian db432206e5
fix: 'equals' built-in test function block
the opening brace must stand on the same line as the condition,
otherwise the condition will be invalid.
2023-01-22 19:33:10 +08:00
Xiao YiFang 4a30302864 fix: move Contexts to header file 2023-01-02 22:00:42 +08:00
Xiao YiFang 068c2f9a21 fix: remove hotkeyedit.cc(.hh) 2022-12-30 01:12:57 +08:00
shenlebantongying 6fc3684b0a
Add Lingua Libre support (#268)
* lingua: add a dummy dict

* lingua: working but output plain json as article

* lingua: add html audio plays

* lingua: fix qmake build

* fix: qmake on mac INCLUDEPATH

* lingua: add config ui to dict sources edit dialog

* lingua: add config logics

* lingua: use the configured iso language code to do query

* lingua: style polish
2022-12-24 22:42:40 +08:00
Xiao YiFang fd791d3d2f bump alpha vesion to 22.12.24 2022-12-24 07:51:09 +08:00
Xiao YiFang 311d08c6e9 github: changelog 2022-12-20 21:16:31 +08:00
Xiao YiFang e76e81c9eb fix conflict 2022-12-20 21:13:55 +08:00
xiaoyifang afb5c4f951 action: generate version.txt
give github action the opportunity to generate this file .
If not existed ,  qmake will generate one
2022-12-14 10:20:10 +08:00
xiaoyifang 1284846d27 bump alpha version to 22.11.24 2022-11-24 17:04:03 +08:00
Xiao YiFang a2e258b367 bump release version to 22.11.22 LightSnow 2022-11-21 20:26:01 +08:00
Xiao YiFang c1964fc61a fix conflict 2022-11-21 20:24:10 +08:00
shenlebantongying f5e1ae54c8 Add translations /local/ to mac build 2022-11-21 00:50:15 -05:00
shenleban tongying f22769c73b Fix translations accidentally install at /local 2022-11-21 00:14:53 -05:00
Xiao YiFang c4c6ff8376 ffmpeg depends on multimedia 2022-11-12 17:03:20 +08:00
Xiao YiFang 16bc832a20 remove mac and windows dependency of libao 2022-11-12 09:34:09 +08:00
Xiao YiFang 85aad0f80c feature: remove libao dependency and use QAudioSink(QAudioOutput) to play the pcm audio format 2022-11-12 09:34:09 +08:00
Xiao YiFang c478065f53 goldendict ,fix QT_PLUGIN_PATH variable 2022-11-05 14:52:50 +08:00
Xiao YiFang 59ec8c4a48 [clean code]: remove macos lionsupport check
this macos version is too old .
2022-11-02 20:42:39 +08:00
Xiao YiFang c743a31dca fix: windeployqt bug 2022-10-22 14:53:14 +08:00
Xiao YiFang 1ad358bb84 xapian remove obsolete ftx index 2022-10-07 17:08:10 +08:00
Xiao YiFang 5918077018 [xapian] add windows support 2022-10-06 01:39:59 +08:00
Xiao YiFang 6a34804df2 opt: add xapian support
opt: add xapian fullindex support
2022-10-06 01:39:59 +08:00
Xiao YiFang 0ce1ff8566 add undocumented date variable to VERSION 2022-10-05 23:57:53 +08:00
Xiao YiFang 7c30b89336 opt: headwords dialog filtering optimization
when in filtering process, fetch more return false.
2022-10-02 19:53:54 +08:00
xiaoyifang 63ddf68d3b
Merge pull request #159 from xiaoyifang/opt/headword
opt: improve headword dialog performance
2022-10-01 18:01:46 +08:00
Xiao YiFang 4c8ec4e3f2 opt: improve headword dialog performance
especially when the dictionary has a very large collecton of headword.
include export function
2022-10-01 15:33:23 +08:00
Xiao YiFang 7e83b920e3 fix: transaltion in macos only existed english
A regression from previous changes.
2022-10-01 07:30:12 +08:00
Xiao YiFang ca7fc1c2d3 fix: transaltion in macos only existed english
A regression from previous changes.
2022-10-01 07:27:11 +08:00
Xiao YiFang fba1b96b0e bump alpha version to 22.9.24 2022-09-23 19:59:03 +08:00
Xiao YiFang 62c66b79c8 bump release version to AutumnEquinox 2022-09-23 19:57:37 +08:00
Xiao YiFang db251ac44f revert embed translation 2022-09-22 20:06:43 +08:00
Xiao YiFang f5f90e328f action: macos homebrew modification 2022-09-09 14:47:20 +08:00
xiaoyifang ab9297c8a5
opt: refactor the homebrew macos action (#140) 2022-09-08 21:46:17 +08:00
Xiao YiFang f0e3c38970 github:add macos homebrew based package github action 2022-09-06 00:29:01 +08:00
Xiao YiFang 349ac86d47 opt: use iframe resizer plugin to resize the iframe height. 2022-09-04 10:47:29 +08:00
Xiao YiFang e6abb1596d add translation of Swiss High-German
thanks to Patrik Studer
2022-08-26 20:27:34 +08:00
Xiao YiFang 874b032baa opt: modify goldendict.pro file 2022-08-22 20:38:14 +08:00
Xiao YiFang e5a26a2969 bump alpha version to 22.8.24 2022-08-22 20:37:30 +08:00
Xiao YiFang b9827a9aee remove default zim support in macos 2022-08-06 16:10:13 +08:00
Xiao YiFang 277b90657d bump alpha version to 22.7.24 2022-07-30 21:36:02 +08:00
Xiao YiFang 505dd9efc8 clean:minor change to the goldendict.pro file 2022-07-09 11:20:15 +08:00
Xiao YiFang 3c02fb7499 bump alpha version to 22.6.22 2022-06-19 10:16:31 +08:00
Xiao YiFang dcaebf4948 imp. add QtConcurrent to checkArticle 2022-06-11 20:55:15 +08:00
Xiao YiFang 0eb89a68cb pro file add date to version 2022-06-03 12:50:59 +08:00
Xiao YiFang 8f6284747f fix merge upstream conflict 2022-06-02 07:14:38 +08:00
Igor Kushnir aa33b8bebc Disable assert macro checks in Release builds 2022-06-01 18:40:35 +03:00
Xiao YiFang 077d139fb5 fix merge conflict 2022-06-01 23:23:41 +08:00
Igor Kushnir 8acec2e062 Reduce build log verbosity
The default qmake build output is overly verbose. Adding the "silent"
switch to CONFIG makes it much more concise, comparable to default CMake
output. This way warnings and errors are much easier to find.

Adding CONFIG-=silent to the qmake command line doesn't restore the
verbosity because it is applied before the "CONFIG += silent" line in
goldendict.pro. Add a new CONFIG switch "verbose_build_output" to allow
increasing build log verbosity without editing goldendict.pro.
2022-06-01 18:00:45 +03:00
Xiao YiFang 5302403d8a add date to version 2022-06-01 00:06:32 +08:00
Xiao YiFang 002a4c8302 add debug info to release version 2022-05-30 20:04:33 +08:00
Xiao YiFang 4ac7afc6bf pro: add /permissive- option
in Qt6.3+VS2022 ,the option can supresse the permissive warning.
2022-05-29 16:00:29 +08:00
Xiao YiFang 7910209ae1 clean code: remove dsl runnable ,remove comment endline carriage 2022-05-29 16:00:28 +08:00
Xiao YiFang ee95307628 fix:remove x11extra private 2022-05-29 16:00:28 +08:00
Xiao YiFang 6bc1e0d219 clean code: remove uiauto.hh wordbyauto.hh(.cc) 2022-05-26 21:02:46 +08:00
Xiao YiFang 435cadfef8 pro file update c++17 support 2022-05-22 16:36:28 +08:00
Xiao YiFang 0a2661f986 add 'send to anki' function
users can configure the ankiconnect to use together with anki
2022-05-21 17:34:22 +08:00
Xiao YiFang a625bee498 bump alpha version to 22.5.22 2022-05-21 09:08:46 +08:00
Xiao YiFang f6a151ae6f opt:add debug info to release 2022-05-20 21:26:54 +08:00
Xiao YiFang fb32704a8c Merge branch 'opt/acceptnavigation' into staged 2022-05-20 18:44:11 +08:00
Xiao YiFang 6cf1cf1200 clean code: remove uxtheme 2022-05-20 18:43:47 +08:00
Xiao YiFang a7ba9e4b36 opt:use acceptNavigationRequest instead of weburlinterceptor 2022-05-20 18:01:41 +08:00
Xiao YiFang 41f2ca9864 clean code: remove outdated code
xorg xrecord detection logic
2022-05-20 08:24:23 +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 ffb1922bd7 Revert "fix:head lazy load"
This reverts commit 15702d860b.

Revert "add lazy loading to headwords dialog"

This reverts commit 473c61724f.
2022-05-05 21:01:35 +08:00
YiFang Xiao 67902b0e6b github:alpha version bump to 22.4.24 2022-04-23 22:33:04 +08:00