Commit graph

5174 commits

Author SHA1 Message Date
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
xiaoyifang 65d44529f0
Update CHANGES.md 2022-02-12 12:09:17 +08:00
xiaoyifang 2bf0628dff
Update CHANGES.md 2022-02-12 11:02:41 +08:00
yifang cf1f929430 action:opencc dependent on doxygen 2022-02-12 09:18:38 +08:00
yifang da5c2cf5c7 Merge remote-tracking branch 'origin/feature/update-libao' into staged 2022-02-12 09:07:55 +08:00
yifang 5d827d5a24 action:ubuntu update opencc version to latest 2022-02-12 09:07:28 +08:00
xiaoyifang 1f938149be
Update CHANGES.md 2022-02-12 08:00:58 +08:00
xiaoyifang f1ac774904 winlib: update ao lib 2022-02-11 23:14:34 +08:00
xiaoyifang 9781ecdbea update .gitignore file 2022-02-11 22:49:13 +08:00
xiaoyifang 709ae8ca3d winlib: update ao include file 2022-02-11 22:48:41 +08:00
xiaoyifang b41d7c727e winlib:update ao 2022-02-11 22:32:06 +08:00
xiaoyifang aaf36f8285
Update clang-format.yml 2022-02-11 22:09:44 +08:00
xiaoyifang 860cdbc467 winlib: update ao dll 2022-02-11 21:54:16 +08:00
xiaoyifang cc80b24b33 action: modify release name 2022-02-11 21:54:15 +08:00
xiaoyifang 1545e7312c opencc invalid characters ,when used in VS ,with SimpleConverter 2022-02-11 21:54:15 +08:00
xiaoyifang b7c2169695 winlib: update opencc to 2020-04-26 2022-02-11 21:54:14 +08:00
xiaoyifang d788ab9338
Update windows-publish.ps1 2022-02-11 15:58:13 +08:00
xiaoyifang b382a02ab0
Update clang-format.yml 2022-02-10 20:29:50 +08:00
yifang f6f0e25674 fix:double click translation ,right context menu invalid 2022-02-10 20:07:05 +08:00