Commit graph

4992 commits

Author SHA1 Message Date
xiaoyifang 379d8fab40
Create Release Drafter.yml 2022-02-16 23:37:37 +08:00
xiaoyifang 6fbadad807 clean:open dictionary folder in windows
make windows's logic same as linux
2022-02-16 23:00:20 +08:00
xiaoyifang 9075111349 Merge branch 'temp/staged' into staged 2022-02-16 22:22:17 +08:00
xiaoyifang 9e6a1eb7f8 winlib:update ao lib 2022-02-16 22:21:17 +08:00
xiaoyifang 570c75e920 performance: Prefer prefix ++/-- operators for non-primitive types.
more detail check https://hownot2code.com/2016/06/30/use-a-prefix-increment-operator-i-in-iterators-instead-of-a-postfix-i-operator/
2022-02-16 22:08:32 +08:00
xiaoyifang 9ecc10ed50 performance: Prefer prefix ++/-- operators for non-primitive types.
more detail check https://hownot2code.com/2016/06/30/use-a-prefix-increment-operator-i-in-iterators-instead-of-a-postfix-i-operator/
2022-02-16 21:47:03 +08:00
xiaoyifang 1969c11ded js:Unnecessary semicolon. #18 2022-02-16 21:17:29 +08:00
xiaoyifang 42befe5895 style:Unexpected duplicate selector .dsl_s_wav a, first used at line 220 (no-duplicate-selectors) #16 2022-02-16 21:16:38 +08:00
xiaoyifang 62e1698c1d css:fix #14 2022-02-16 21:13:40 +08:00
xiaoyifang 3c7589ce7d
Update CHANGES.md 2022-02-16 11:01:19 +08:00
xiaoyifang 0e37112e73
Update README.md 2022-02-16 09:58:28 +08:00
yifang 07179fbad2 github: modify release note 2022-02-16 08:22:11 +08:00
yifang bd01dad108 clean: Condition '!explorerLaunched' is always true
fixes #13
2022-02-16 08:18:14 +08:00
xiaoyifang 767224ceb9
Merge branch 'goldendict:master' into staged 2022-02-15 20:23:32 +08:00
yifang 23c41789de fix: popup link clicked 2022-02-15 20:22:43 +08:00
Jose Riha 1131cc6b1e Update Slovak translation 2022-02-15 00:38:32 +01:00
xiaoyifang fbcf1dfa83 macos: link opencc
name changed from opencc.2 to opencc
2022-02-15 00:08:15 +08:00
xiaoyifang 84175279ab fix: link click in popup windows ,translation should be in popup dialog too 2022-02-14 23:48:05 +08:00
xiaoyifang 964c2710b8 github: variable fix 2022-02-14 21:56:36 +08:00
yifang 1930c71210 Merge branch 'feature/mac-update-lib' into staged 2022-02-14 21:19:44 +08:00
yifang 530e2c1545 github: tag name
autotag maybe failed if other workflow has already created the same tag.
use version variable to concat the tag version.
2022-02-14 21:19:35 +08:00
yifang d8000bb2a2 maclib: replace opencc dylib 2022-02-14 21:07:58 +08:00
yifang 9ff9497ad9 github: upload windows executable alone 2022-02-14 21:00:48 +08:00
yifang 79bc244964 github: auto tag 2022-02-14 20:57:59 +08:00
yifang 690d855472 format:update clang format file 2022-02-14 09:36:08 +08:00
xiaoyifang c329430a7b fix:warning qt-style-st-lingoes.css the file was missing 2022-02-13 17:01:17 +03:00
xiaoyifang aceb6c2688 github:modify tag field when release 2022-02-13 21:52:17 +08:00
xiaoyifang d167cf1d49 fix:warning qt-style-st-lingoes.css the file was missing 2022-02-13 20:57:39 +08:00
xiaoyifang 6af9f5bfaa format: update clang format 2022-02-13 16:10:55 +08:00
xiaoyifang 182758a59e fix: warning,throw exception close #12 2022-02-13 15:40:21 +08:00
xiaoyifang e9a442ead5 close #11 2022-02-13 15:40:21 +08:00
xiaoyifang 87fc6c40ad format:update clang format 2022-02-13 15:40:21 +08:00
xiaoyifang ec911cbfd7 github: add release drafter 2022-02-13 15:40:21 +08:00
xiaoyifang 59a9401f81 format:clang format update 2022-02-13 15:40:20 +08:00
xiaoyifang 2ef3c560a7 format:update clang-format 2022-02-13 15:40:20 +08:00
xiaoyifang 801fbe445b format:clang-format update . 2022-02-13 15:40:20 +08:00
xiaoyifang c8e9cc8e90
Update CHANGES.md 2022-02-12 22:09:57 +08:00
xiaoyifang b90aaf9b8b add clang-format to constraint the incoming new commits .
generally all the new added codes must be follow this style guildline.
the developers are encourage to use various IDE tool to adapt this format style.
Modern IDEs are usually support this .clang-format.
2022-02-12 21:14:09 +08:00
xiaoyifang 998def92d2 format:clang format style updated 2022-02-12 21:04:02 +08:00
xiaoyifang d62b80d868 action:remove clang check file
the check action does not work well .
jidicula/clang-format-action@v4.5.0
RafikFarhad/clang-format-github-action@v1.0.1
2022-02-12 21:04:01 +08:00
xiaoyifang e2fe63f98f action:add macos support 2022-02-12 21:04:00 +08:00
xiaoyifang 37c27c1f24 action:clang check 2022-02-12 19:18:48 +08:00
xiaoyifang c4ecd9ab7b action: add condition to clang-format check
winlibs: remove lib/msvc/libao-4.dll
2022-02-12 18:28:19 +08:00
yifang 16016099f2 action:update auto tag name 2022-02-12 14:21:10 +08:00
yifang e7c1527d45 ui:add translation 2022-02-12 13:35:12 +08:00
yifang 0b10c5c2c5 Merge branch 'vedgy-add-avoid-auto-scrolling-out-of-top-dictionary-option' into staged 2022-02-12 13:12:21 +08:00
yifang 3abe4ca062 ui:preference dialog,the top margin removed 2022-02-12 13:04:33 +08:00
yifang 71cd723985 ui:set interface(first tab) as default tab 2022-02-12 13:03:17 +08:00
Igor Kushnir d7ec541383 Add "Automatically scroll to target article" option
When a user clicks on a link in a dictionary or requests translation of
a word by double-clicking or translates selection via the context menu,
at first the article from the highest-priority dictionary is at the top.
Then, after approximately one second, the article from the dictionary,
out of which the translation was requested, becomes current and the view
scrolls down to this article placing it on top, hiding articles from the
dictionaries above it.

Such application behavior is inconvenient in some workflows so that the
user manually navigates to the top dictionary translation when this
automatic scrolling happens.

For example: a user has English->Russian dictionaries and
English->English dictionaries. The English->Russian dictionaries are
higher up in the dictionary order because they provide easier/faster to
understand translations. Some rare words and phrases are missing from
the English->Russian dictionaries however. Thus the user occasionally
reads the English explanation of a word/phrase. When the user
double-clicks on a word or follows a link in the English->English
dictionary article, she would rather see translations from the
preferable English->Russian dictionaries.

The new option allows to disable automatic scrolling and ensure that
articles from higher-priority dictionaries are visible. The option
doesn't affect backward/forward navigation via arrow buttons or
Alt+Arrow shortcuts: these still scroll to the stored vertical position
among articles. This remaining automatic scrolling happens much faster,
is not a problem for the described use case and hopefully for other use
cases.
2022-02-12 12:48:48 +08:00
xiaoyifang 796981fdb2
Update CHANGES.md 2022-02-12 12:10:29 +08:00