Commit graph

24 commits

Author SHA1 Message Date
shenleban tongying a11c9e3aec clean: mass apply clang-tidy's readability-braces-around-statements 2024-10-10 03:21:27 -04:00
shenleban tongying 08d31614ed delete LangCoder::icon which is wrong in concept 2024-10-10 00:03:14 -04:00
shenleban tongying 3273f39dd7 clean: replace removed Qt5/QList and QPair 2024-09-01 19:45:06 -04:00
shenleban tongying 51ecf09c1d
clean: rename code to code2 in langcoder 2024-06-19 02:20:40 -04:00
shenleban tongying 5c9f67b09c
opt: port away QRegExp in langcoder.cc 2024-06-19 02:10:17 -04:00
shenleban tongying 3a0880fa81 clean: rename LangCoder::findIdsForFilename/findIdsForName/exists 2024-06-18 21:19:18 -04:00
shenleban tongying b5349478cf
clean: reformat everything
The next commit will add `.git-blame-ignore-revs`

https://docs.github.com/en/repositories/working-with-files/using-files/viewing-a-file#ignore-commits-in-the-blame-view
2023-07-20 04:02:22 -04:00
YiFang Xiao 8628a12e5f fix:dsl language parse issue
fix #902
2023-06-24 20:44:29 +08:00
xiaoyifang a878e725f2
fix: code smells in group widget (#901)
* fix: code smells in group widget

* 🎨 apply clang-format changes

---------

Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
2023-06-24 15:30:20 +08:00
shenleban tongying 0079cd2933 clean: remove unnecessary header includes
* remove all <QtGUI> which includes *everything* of Qt
* remove unused headers
2023-05-30 20:59:51 +08:00
xiaoyifang 6567e1583f
fix: langcoder trigger a crash (#746)
* fix: langcoder trigger a crash

* 🎨 apply clang-format changes

* fix: move static delcaration into the class

* Update langcoder.hh

* fix: refactor code in langcoder

* 🎨 apply clang-format changes

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: YiFang Xiao <yifang.xiao@noreply.com>
2023-05-26 23:55:33 +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
xiaoyifang 94759ffb58 opt: add group by metadata
close #612
2023-04-29 20:43:27 +08:00
shenleban tongying 129345613e
refactor: Move all .cc/.hh files to src/ 2023-04-17 17:17:36 -04:00
Konstantin Isakov ab88fa4867 Drop the src/ directory. It's superfluous. 2010-05-15 16:42:18 +04:00
Konstantin Isakov dcfd87397d Add support for lang(xx) and gdlangfrom-xx language attributes to articles. 2010-04-03 13:43:39 +04:00
Konstantin Isakov 8535604e21 + Implement basic 'Dictionary information' pane functionality.
- Hide arrow buttons in 'Dictionaries' for now.
+ Add 'ja' flag to comply to ISO (copied from 'jp')
2009-05-24 15:45:37 +00:00
ars_goldendict 1711bbd5aa added language recognition for StarDict dictionaries;
some fixes for LangCoder
2009-05-05 21:51:21 +00:00
ars_goldendict f5f23ff4b2 reorganization of Groups dialog (unstable - needs to be checked) 2009-04-26 13:16:30 +00:00
ars_goldendict ec67732e36 added language read support for stardict format
added smart language extraction from filename to LangCoder
2009-04-23 19:57:39 +00:00
Konstantin Isakov 5146a9ceb9 *! Fix compilation problems on Windows. 2009-04-23 12:34:09 +00:00
Konstantin Isakov c08805f728 + Add findIdForLanguage() function. 2009-04-23 11:41:13 +00:00
Konstantin Isakov 4ba3a10267 *! Fix some obvious mistakes. 2009-04-23 10:29:49 +00:00
ars_goldendict a587f10c55 basic implementation of language coder 2009-04-22 21:37:32 +00:00