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
shenleban tongying
416d70891d
add {fmt} 10 to qmake & cmake
2023-05-20 11:46:29 +08:00
shenleban tongying
d0b2349156
update .desktop and appstream xml
2023-05-18 10:27:40 +08:00
shenlebantongying
4ead97637e
cmake: split windows & unix library finding & linking
...
* they have nothing in common
2023-05-06 07:07:09 +08:00
xiaoyifang
94759ffb58
opt: add group by metadata
...
close #612
2023-04-29 20:43:27 +08:00
shenleban tongying
fcbb5ae8a2
feat(singleApp): remove private QLockFile implementation
...
* QLockFile is part of Qt since 5.1
2023-04-20 16:21:05 +08:00
shenleban tongying
747ebf3a82
feat(cmake): various updates
...
* recursive file including
* with xapian
* use iconv
* feature summary
2023-04-18 17:38:48 +08:00
Xiao YiFang
e6cd18e1b3
clean: remove gdappstyle file
...
fix #516
2023-04-18 10:31:39 +08: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
948e76d132
fix: add __WIN32 to cmake definitions
2023-04-13 15:54:48 +08:00
Xiao YiFang
e32a7a2c94
fix:remove custom treeview class
2023-04-12 22:48:31 +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
shenleban tongying
c58119c3cd
fix cmake build
2023-01-05 20:32:05 -05: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
xiaoyifang
edc412c2cd
github: cmake build action
...
fix macos ,windows build error
2022-12-15 10:47:14 +08:00
xiaoyifang
1744843956
sonar:fix linux build
2022-12-14 15:58:08 +08:00
shenlebantongying
3f0ca1e456
cmake: add zim to linux and macOS ( #234 )
2022-11-29 13:37:24 +08:00
shenlebantongying
b7e4afbd5b
Add alternative build method "CMakeLists.txt" ( #218 )
...
* Add "CMakeLists.txt"
* cmake: initial macOS support
* cmake: initial windows support
* cmake: improve styles
* cmake: add FFmpeg for Linux and macOS
* cmake: add FFmpeg to macOS
* cmake: Carbon typo
* cmake: add epwing to macOS
* cmake: correctly install all files on linux
* cmake: Abolish vcpkg and use winlibs/
* cmake: set version.txt timestamp
* cmake: revert config.cc change
* cmake: remove outdated comment
2022-11-26 11:23:08 +08:00