Commit graph

5773 commits

Author SHA1 Message Date
Konstantin c51c0fd714
doc: clarify that ninja is optional and add other potential useful flags for CMake build (#1768)
---------

Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
2024-09-12 00:03:53 +00:00
xiaoyifang ac03f31384
New Crowdin updates (#1766)
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
* New translations French from Crowdin

* New translations Spanish from Crowdin

* New translations Belarusian from Crowdin

* New translations Bulgarian from Crowdin

* New translations Czech from Crowdin

* New translations German from Crowdin

* New translations Greek from Crowdin

* New translations Finnish from Crowdin

* New translations Italian from Crowdin

* New translations Japanese from Crowdin

* New translations Korean from Crowdin

* New translations Lithuanian from Crowdin

* New translations Macedonian from Crowdin

* New translations Dutch from Crowdin

* New translations Polish from Crowdin

* New translations Portuguese from Crowdin

* New translations Russian from Crowdin

* New translations Slovak from Crowdin

* New translations Albanian from Crowdin

* New translations Serbian (Cyrillic) from Crowdin

* New translations Swedish from Crowdin

* New translations Turkish from Crowdin

* New translations Ukrainian from Crowdin

* New translations Chinese Simplified from Crowdin

* New translations Chinese Traditional from Crowdin

* New translations Vietnamese from Crowdin

* New translations Portuguese, Brazilian from Crowdin

* New translations Persian from Crowdin

* New translations Spanish, Argentina from Crowdin

* New translations Hindi from Crowdin

* New translations Esperanto from Crowdin

* New translations German, Switzerland from Crowdin

* New translations Spanish, Bolivia from Crowdin

* New translations Tajik from Crowdin

* New translations Quechua from Crowdin

* New translations Aymara from Crowdin

* New translations Arabic, Saudi Arabia from Crowdin

* New translations Turkmen from Crowdin
2024-09-11 13:40:58 +08:00
xiaoyifang 0167f01a1a
Merge pull request #1765 from xiaoyifang/i18n_
New Crowdin updates
2024-09-11 08:21:04 +08:00
xiaoyifang 48feac1469 New translations Hungarian from Crowdin 2024-09-11 04:46:17 +08:00
xiaoyifang 78173e3c5d
New Crowdin updates (#1760)
Some checks failed
SonarCloud / Build and analyze (push) Waiting to run
deploy_website / deploy (push) Has been cancelled
* New translations Hungarian from Crowdin

* New translations French from Crowdin

* New translations Spanish from Crowdin

* New translations Belarusian from Crowdin

* New translations Bulgarian from Crowdin

* New translations Czech from Crowdin

* New translations German from Crowdin

* New translations Greek from Crowdin

* New translations Finnish from Crowdin

* New translations Hungarian from Crowdin

* New translations Italian from Crowdin

* New translations Japanese from Crowdin

* New translations Korean from Crowdin

* New translations Lithuanian from Crowdin

* New translations Macedonian from Crowdin

* New translations Dutch from Crowdin

* New translations Polish from Crowdin

* New translations Portuguese from Crowdin

* New translations Russian from Crowdin

* New translations Slovak from Crowdin

* New translations Albanian from Crowdin

* New translations Serbian (Cyrillic) from Crowdin

* New translations Swedish from Crowdin

* New translations Turkish from Crowdin

* New translations Ukrainian from Crowdin

* New translations Chinese Simplified from Crowdin

* New translations Chinese Traditional from Crowdin

* New translations Vietnamese from Crowdin

* New translations Portuguese, Brazilian from Crowdin

* New translations Persian from Crowdin

* New translations Spanish, Argentina from Crowdin

* New translations Hindi from Crowdin

* New translations Esperanto from Crowdin

* New translations Lojban from Crowdin

* New translations German, Switzerland from Crowdin

* New translations Spanish, Bolivia from Crowdin

* New translations Tajik from Crowdin

* New translations Quechua from Crowdin

* New translations Aymara from Crowdin

* New translations Arabic, Saudi Arabia from Crowdin

* New translations Turkmen from Crowdin

* New translations Interlingue from Crowdin
2024-09-10 13:42:55 +00:00
YiFang Xiao a36f218df2 [ts]update crowdin.ts and document 2024-09-10 21:33:06 +08:00
shenleban tongying b392c83e86
fix: ensure icu4c are copied to app bundle on macOS (#1762)
by explictly linking it
2024-09-10 05:52:23 -04:00
xiaoyifang 39836dc143
Let Crowdin format Hungarian translation (#1757) 2024-09-09 23:35:49 +00:00
shenleban tongying 9a73931d69 fix: add Hungarian to Preferences and minor fix ts file 2024-09-09 19:20:22 -04:00
lionkmp 11717fbf62
feat: Adds Hungarian translation via .ts file (#1752)
* Add original HU translation from orig goldendict

---------

Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
2024-09-09 22:02:48 +00:00
shenleban tongying 5e62b1c567
fix: consider devicePixelRatio when scaling icons (#1751) 2024-09-09 20:19:56 +00:00
Konstantin aaaeb585b6
feature: High-quality dictionary icons in toolbar (#1750)
* better procedure of image scaling and size choosing
* allow user to set toolbar icon size via qt style sheet

---------

Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-09-09 14:48:33 -04:00
shenleban tongying 34e9ad5654
clean: remove opencc data folder by copying directly from upstream (#1747)
Some checks failed
SonarCloud / Build and analyze (push) Has been cancelled
2024-09-06 21:17:49 -04:00
shenleban tongying 91a4e31018 feat: allow changing icon on macOS by not overriding icon in Info.plist 2024-09-06 19:35:07 -04:00
shenleban tongying 48a6efec62 dev: ship macOS version with debuginfo 2024-09-06 16:26:19 -04:00
xiaoyifang c599bbfb73
Merge pull request #1743 from shenlebantongying/feat/program-stdin-utf8
Some checks failed
SonarCloud / Build and analyze (push) Has been cancelled
deploy_website / deploy (push) Has been cancelled
feat: write word to Program dictionary's stdin in UTF-8 instead of local 8 bit
2024-09-04 08:48:28 +08:00
xiaoyifang e5c25cd7b3
Merge pull request #1742 from shenlebantongying/opt/del-parsecmd
opt: remove `parsecmdline.cc` by using `QProcess::splitCommand`
2024-09-04 08:30:37 +08:00
shenleban tongying 05c1c1f927 feat: write word to Program dictionary's stdin in UTF-8 instead of local 8 bit 2024-09-03 17:09:34 -04:00
shenleban tongying 0a5827fd20 opt: remove parsecmdline.cc by using QProcess::splitCommand 2024-09-03 12:54:50 -04:00
shenleban tongying ea4f45ad55
Merge pull request #1740 from shenlebantongying/clean/qvector-gone
Some checks failed
SonarCloud / Build and analyze (push) Has been cancelled
clean: replace QVector & QPair in headers
2024-09-01 20:17:55 -04:00
shenleban tongying a74e5bfc0d dev: add another QVector & QPair removal commit to .git-blame-ignore-revs 2024-09-01 20:12:41 -04:00
shenleban tongying 44853544f8 clean: replace QVector & QPair in headers 2024-09-01 20:09:22 -04:00
shenleban tongying 9de4334204
Merge pull request #1739 from shenlebantongying/clean/qvector-gone
clean: replace removed `Qt5/QList` and `QPair`
2024-09-01 19:58:11 -04:00
shenleban tongying 1a91d6a5e8 dev: add QVector & QPair removal commit to .git-blame-ignore-revs 2024-09-01 19:52:22 -04:00
shenleban tongying 3273f39dd7 clean: replace removed Qt5/QList and QPair 2024-09-01 19:45:06 -04:00
xiaoyifang 5549d36a2d
Merge pull request #1734 from shenlebantongying/clean/qtextcodec
Some checks failed
SonarCloud / Build and analyze (push) Has been cancelled
clean: port away from `QTextCodec` in `slob.cc` and clean up iconv
2024-08-31 11:09:01 +08:00
shenlebantongying 9a2c96ca56
clean: remove unused code of iconv.cc and minor update code style 2024-08-30 04:09:07 -04:00
shenleban tongying ac43018f68
clean: port away from QTextCodec in slob.cc 2024-08-30 04:09:05 -04:00
shenleban tongying 5cdac6be4d fix: slob description html display
Some checks failed
SonarCloud / Build and analyze (push) Has been cancelled
2024-08-28 22:21:39 -04:00
shenlebantongying b68ea3f916 dev: update .clang-tidy
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-08-28 02:26:34 -04:00
shenlebantongying a7593fca1d dev: ensure line ending is always LF 2024-08-28 01:00:48 -04:00
xiaoyifang fc3ea0045e
opt: remove fulltext unused logic (#1733)
* opt: remove fulltext unused logic

the firstIteration is not used any more
2024-08-24 07:45:45 +08:00
shenleban tongying 3ca7c39e69
feat: properly handle Unix signals, like SIGTERM, for graceful exit (#1732)
* feat: handle UNIX shutting down SIGNALS

* Convey ksignalhandler from LGPLv2.1+ to GPLv3+ which allowed/required

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-08-22 08:19:35 +08:00
xiaoyifang da1c67c35d
Merge pull request #1729 from xiaoyifang/opt/double-click-in-welcome-page
opt: double click in welcome page
2024-08-21 13:49:18 +08:00
xiaoyifang dd48ba7d60
Merge branch 'staged' into opt/double-click-in-welcome-page 2024-08-21 13:43:28 +08:00
xiaoyifang 9332763f67
fix: prioritize the manual set full text index option per dictionary (#1730)
* fix: prioritize the manual set full text index option per dictionary
2024-08-21 13:42:56 +08:00
Xiao Yi Fang 51701ce4aa opt: double click in welcome page 2024-08-20 10:48:31 +08:00
xiaoyifang 555811e3f3
Merge pull request #1727 from xiaoyifang/opt/full-dialog
opt: default and plaintext are the same ,remove one
2024-08-14 11:56:30 +08:00
xiaoyifang b3a1cb45f7
Merge pull request #1725 from xiaoyifang/opt/article-history
opt: webview history navigation
2024-08-13 18:04:05 +08:00
Xiao Yi Fang 5147c8c036 opt: default and plaintext are the same ,remove one 2024-08-13 16:43:10 +08:00
Xiao Yi Fang dc4647069d opt: webview history navigation 2024-08-12 16:53:47 +08:00
xiaoyifang 67a388455c
Merge pull request #1724 from xiaoyifang/opt/while-once
fix: code smell ,remove while(1)
2024-08-12 08:46:26 +08:00
Xiao Yi Fang 9842761c1c fix: code smell ,remove while(1) 2024-08-10 17:02:38 +08:00
xiaoyifang 752b880f24
fix: double release memory (#1722)
* fix: double release memory
2024-08-10 06:59:50 +00:00
xiaoyifang 2dcf2a3bad
Merge pull request #1723 from xiaoyifang/fix/file-close
fix: close file when return error
2024-08-10 14:52:49 +08:00
Xiao Yi Fang 6b4936ade4 fix: close file when return error 2024-08-10 13:41:23 +08:00
xiaoyifang 65ae8f5030
opt: smells (#1721)
* opt: remove code smell

for loop should avoid change the iterators

* opt: remove code smell

for loop should avoid change the iterators
2024-08-10 10:46:44 +08:00
xiaoyifang 388924033a
doc: add document about move index folder (#1719)
* doc: add document about move index folder

* doc: add document about move index folder
2024-08-09 14:33:00 +08:00
xiaoyifang 3279fe8b07
opt: fulltext next navigation optimization (#1718)
* opt: fulltext dialog navigation optimization.

The fulltext dialog navigation (next,previous) use webview's findText,try to find the longest word for navigation
2024-08-09 11:47:46 +08:00
xiaoyifang b0bea92106
opt: remove outdated fulltext temp index (#1717)
* opt: remove outdated fulltext temp index

* opt: remove outdated fulltext temp index
2024-08-09 09:37:57 +08:00