Commit graph

368 commits

Author SHA1 Message Date
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
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
shenleban tongying 9589a67789
refactor: move more files into /src/common/ 2023-04-17 21:35:15 -04:00
shenleban tongying 088e34a763
refactor: move scripts.qrc into /src/scripts 2023-04-17 21:26:05 -04:00
shenleban tongying 59969277d1
refactor: move macOS info.plist to /redist/ 2023-04-17 20:55:32 -04:00
shenleban tongying 7127539f29
refactor: move remaining C files into /src/ 2023-04-17 20:52:05 -04:00
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 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 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
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