Commit graph

420 commits

Author SHA1 Message Date
YiFang Xiao ff83be8aa6 bump release version 2023-11-07 21:25:36 +08:00
YiFang Xiao 7f0f877817 upgrade release version 2023-09-30 21:11:16 +08:00
YiFang Xiao 08816a0c64 update version 2023-09-10 19:00:42 +08:00
YiFang Xiao 61b1e0a9b1 update release version 2023-09-07 22:43:50 +08:00
YiFang Xiao b525acc96c Merge branch 'dev' 2023-09-07 22:42:34 +08:00
xiaoyifang 98af55557e
fix: epwing rebuild issue (#1094)
* fix: epwing rebuild issue

* [autofix.ci] apply automated fixes

* fix: pro project file

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-08-27 10:15:21 +08:00
YiFang Xiao ca1554540d i18n: update translation template 2023-08-26 21:34:09 +08:00
YiFang Xiao ba28ce713e fix: include lzma on default 2023-08-09 20:25:44 +08:00
YiFang Xiao 3deba7476b bump release a minor version 2023-07-31 09:54:25 +08:00
YiFang Xiao 28ee5248de fix: merge conflict 2023-07-31 09:48:15 +08:00
YiFang Xiao 26efe988bf opt: [windows] separate the zlib package into debug and release folder 2023-07-28 13:26:30 +08:00
YiFang Xiao ca92abbe9c action:bump alpha version to 23.07.25 2023-07-25 13:36:42 +08:00
YiFang Xiao 0b594948b8 bump release version to 23.07.23 2023-07-21 21:02:44 +08:00
xiaoyifang 2ed7990531
opt: pronounce audio rewrite (#922)
* opt: pronounce audio rewrite

* 🎨 apply clang-format changes

* fix:use javscript Map to hold the dictionary audio url

* Update mainwindow.cc

---------

Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
2023-07-13 14:49:41 +08:00
shenleban tongying a5be5134c8
clean: remove zstd related code which is unused since the migration to
libzim
2023-07-09 20:44:21 -04:00
YiFang Xiao c16a2da241 opt: remove verbose_output custom configuration 2023-07-01 10:51:53 +08:00
YiFang Xiao 0a9a053945 opt: enable breakpad on macos
action: add macos breakpad workflow

action: breakpad

action: breakpad

action: breakpad dmg

action: breakpad

action: macos breakpad action does not need to build automatically
2023-06-23 09:28:35 +08:00
shenleban tongying 9d19ea1ebc
feat: add -v --version flag to CLI
* also abstract version info into a standalone namespace
2023-06-17 05:00:05 -04:00
xiaoyifang fe1c609b49
Win Specific: upgrade opencc (#840)
* Win Specific: upgrade opencc

* opencc shared configuration file
2023-06-10 09:40:13 +08:00
xiaoyifang 671427803a
fix: replace suggestion list with QCompleter (#808)
* fix: replace suggestionList with QCompleter


* 🎨 apply clang-format changes


* fix: code smells

---------

Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
2023-06-05 21:22:20 +08:00
xiaoyifang b855be1fbe
cmake: fix build on Windows Debug (#798)
* cmake: fix build on Windows Debug

* cmake: fix build on Windows Debug

* cmake: fix build on Windows Debug

* cmake: fix build on Windows Debug
2023-06-03 15:35:01 +08:00
shenleban tongying 0c75d4f399
cmake: updates
* add USE_SYSTEM_FMT & USE_SYSTEM_TOML
* switch back to libeb
2023-06-01 01:28:45 -04:00
YiFang Xiao 536da5e5fc bump alpha version 2023-05-31 20:56:28 +08:00
YiFang Xiao d00ea8ea20 release bump version to 2023.06.01 2023-05-31 20:44:48 +08:00
YiFang Xiao 8fd1d4a4c2 fix merge conflict 2023-05-31 20:39:16 +08:00
YiFang Xiao 15e0fa087f opt: replace Mutex::Lock with QMutexLocker 2023-05-30 00:08:01 +08:00
xiaoyifang 3858932ec4
feat!: add libzim dependency (#725)
* feat!: add libzim dependency

* 🎨 apply clang-format changes

* action: add libzim dependency to action

* feat!: change dependency folder

* action: add zim support

* feat!: add libzim support

* action: fix sonarcloud check

* doc: add libzim readme

* action: cmake build

* action: cmake check

* fix: code smell

* action: cmake check

* action: cmake on Macos

* action: cmake on Macos

* feat: use libzim to read title and description

* 🎨 apply clang-format changes

* feat: split zim file support

* feat: loadArticle refactor

* 🎨 apply clang-format changes

* 🎨 apply clang-format changes

* feat: update library and goldendict.pro

* 🎨 apply clang-format changes

* fix:word count

* 🎨 apply clang-format changes

* fix: video src url subsititue

* 🎨 apply clang-format changes

* zim: headword is not usually a valid

it is from title and url.

* fix: remove nested try catch

* zim: fix resource loading issue.

* 🎨 apply clang-format changes

* action: remove libao

* zim: process url

some old zim dictionary url does not contain namespace such as
/C/url

make the old and new zim dictionary's url consistent without the leading
../C/  etc.

* 🎨 apply clang-format changes

* zim: process url

remove leading dot and slash
such as ../-/assets  ,remove ../

* 🎨 apply clang-format changes

* zim: remove resourceIndex creation

use libzim to read the resource directly.

* zim: only iterate all the articles

* 🎨 apply clang-format changes

* fix: code smell

* 🎨 apply clang-format changes

* zim: refactor method to convert url to wstring

* 🎨 apply clang-format changes

* fix:code smell

* 🎨 apply clang-format changes

* zim: update windows dependencies

* zim: add mutex lock

* 🎨 apply clang-format changes

* fix: code smell

* 🎨 apply clang-format changes

---------

Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-27 12:12:16 +08:00
YiFang Xiao 8b1b2a1628 fix: possible dsl languageForId issue
🎨 apply clang-format changes

action: restrict to current repositroy

other people's repository has no permission to commit fix

fix: refactor langcoder method

🎨 apply clang-format changes

🎨 apply clang-format changes

🎨 apply clang-format changes

fix: code smell

🎨 apply clang-format changes

fix: adjust zlib link on Windows

fix: refactor langcoder structure
2023-05-23 19:03:25 +08:00
shenleban tongying 416d70891d add {fmt} 10 to qmake & cmake 2023-05-20 11:46:29 +08:00
xiaoyifang c23487500b
opt: upgrade xapian to 1.4.22 and fix debug compilation (#714)
* opt: upgrade xapian to 1.4.22 and fix debug compilation

* fix: cmake on Windows
2023-05-20 10:29:20 +08:00
xiaoyifang 69ff9b1177
opt: remove DiacriticFolding.txt (#713)
* opt: remove DiacriticFolding.txt

* 🎨 apply clang-format changes

* fix: remove foldedDiacritic method

---------

Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
2023-05-20 10:28:43 +08:00
xiaoyifang d174dc16ba
opt:remove non-xapian fulltext creation logic (#643)
* opt!:remove non-xapian fulltext creation logic

BREAKING CHANGE: after this PR, xapian package will have to installed
before the compilation. on Linux, this should be libxapian-dev package.

For common users: all created fulltext which is not created by xapian
before will be recreated using the new
engine.

* fix: remove old fulltext search ui

* 🎨 apply clang-format changes

---------

Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
2023-05-17 22:29:56 +08:00
YiFang Xiao 5fdf672d53 fix: rename customtransliteration from .cpp to .cc 2023-05-15 04:52:09 -08:00
YiFang Xiao c40d04ec5e feat: add custom transliteration support
fix #661

i18n: add new translation entries
2023-05-14 06:32:13 -08:00
YiFang Xiao 136d1cb03b opt: only use eb source on Windows 2023-05-12 16:06:25 +08:00
YiFang Xiao d551d120b8 opt: suppress warning C4267 on Windows 2023-05-11 07:13:28 +08:00
xiaoyifang 242328332d opt:macos remove maclibs
macdeployqt can not handle file link before qt6.x , so the homebrew build release will only be  provided in Qt6
users need to build their only qt5 version from source.
2023-05-10 21:13:20 +08:00
xiaoyifang a2f0748c0d opt: only enable debug info when enabled breakpad
breakpad has offered a series tools to analysis the generated dump file
2023-05-07 19:54:47 +08:00
xiaoyifang 731e54d718 remove eb.lib and use source directly
update eb submodule
2023-05-07 16:55:18 +08:00
xiaoyifang a2409f5f48 bump alpha version to 23.05.03 2023-05-03 12:19:50 +08:00
xiaoyifang c969418497 feat: add breakpad crash support 2023-05-02 15:53:41 +08:00
xiaoyifang 5aee6e4627 fix: on Windows, link -lzlib instead of -lz
pave way for futher vcpkg refactor
2023-05-02 13:42:27 +08:00
xiaoyifang 6c8b0c1c85 bump release version to 23.05.01 2023-05-01 12:57:28 +08:00
xiaoyifang ecea420235 fix conflict 2023-05-01 12:56:02 +08:00
shenleban tongying 6bbb4d9971 feat(metadata): abstract metadata loader 2023-04-30 14:42:49 +08:00
xiaoyifang 94759ffb58 opt: add group by metadata
close #612
2023-04-29 20:43:27 +08:00
xiaoyifang dbe04db7f5 opt: move fsencoding to utils.hh(.cc)
after multi refactor ,the fsencoding only left two methods and has nothing to do with encoding . Base on this condition  ,move the method to utils
2023-04-29 00:56:22 +08:00
xiaoyifang 11ea4bc799 opt: remove country.cc(.hh)
this file is only used in forvo functionality.  As country flag is about to removed in future PR.
remove these two files first
2023-04-23 13:45:11 +08:00
shenleban tongying d0ae253c27 docs: various updates
* isolate Help related code into help.hh
* update website & README.md
2023-04-22 18:21:14 +08:00
Xiao YiFang e6cd18e1b3 clean: remove gdappstyle file
fix #516
2023-04-18 10:31:39 +08:00