Commit graph

1750 commits

Author SHA1 Message Date
leo
492f22fcfa
enhance: add inlines once time and mark text layout dirty (#400) 2024-08-26 21:46:43 +08:00
leo
27a68f0d4d
enhance: add inlines once time and mark text layout dirty (#400) 2024-08-26 21:41:48 +08:00
leo
110858eaa2
enhance: mark working copy dirty after stash changes (#411) 2024-08-26 18:05:57 +08:00
leo
0074ea3c60
enhance: after commit mark branch dirty instead of only workcopy changes dirty (#411) 2024-08-26 18:03:17 +08:00
leo
ad0773be2f
enhance: avoid crashing when failed to create filesystem watcher for repository (#411) 2024-08-26 17:50:13 +08:00
leo
1dd782bc42
fix: wrong graph when there's only one commit 2024-08-26 17:26:02 +08:00
leo
ead2af7d65
enhance: clear unhandled modifiers at begining of OnKeyDown 2024-08-26 11:00:03 +08:00
leo
6b90a116a5
localization: change translation for Text.CommitCM.SquashCommitsSinceThis (#408)
* Thanks to @thomaschampagne
2024-08-25 22:35:11 +08:00
leo
a42412c732
ux: style for squash popup 2024-08-25 21:45:37 +08:00
leo
184c89ea1d
feature: supports squash multiple commits into selected commit (#408) 2024-08-25 21:39:59 +08:00
leo
4f8ccc4563
enhance: clean search filter when open Welcome page by closing the last opened repository tab 2024-08-25 20:51:53 +08:00
Chiahong Hong
e8b0aa9a7d
localization: update zh_TW.axaml 2024-08-25 20:01:07 +08:00
leo
585cf14162
enhance: new welcome page will clear the search filter before 2024-08-25 18:31:05 +08:00
leo
2b7b1e81e0
ux: force using arrow cursor when hover a menu item 2024-08-25 18:17:45 +08:00
leo
7a2722e928
feature: add a context menu to copy entire content of SelectableTextBlock (#394) 2024-08-25 15:11:31 +08:00
leo
5dc4ed6f54
localization: en_US translation for Text.CommitDetail.Info.ContainsIn.Title 2024-08-25 11:48:56 +08:00
leo
8f7567a060
feature: do NOT save visual diff context lines 2024-08-25 11:33:38 +08:00
leo
e9eb433471
ux: change default view mode in FileHistories to CHANGES 2024-08-25 11:20:10 +08:00
leo
118dccbeb5
ux: decorator colors 2024-08-24 22:57:02 +08:00
leo
e136d05789
enhance: using -- <pathspec>... instead of --pathspec-from-file=<file> (#404) 2024-08-24 20:58:35 +08:00
UchiTesting
84b7c487df
style(locale): Fix mistake in French translation
Text.CreateBranch.Name had non instead of nom

Co-authored-by: Antony David <antonydavid945@gmail.com>
2024-08-24 14:16:39 +02:00
UchiTesting
6a2eca36c8 style(locale): Translate preferences to French 2024-08-24 13:39:32 +02:00
UchiTesting
63e238f796 style(locale): Translate keyboard shortcuts dialog to French 2024-08-24 13:39:32 +02:00
UchiTesting
257ae7dcd8 style(locale): Add missing fallback in French locale 2024-08-24 13:39:32 +02:00
UchiTesting
d7cfc34fbd style(locale): Translate 1st level items to French
Some elements close to the 1st level are not translated yet.
Preferences and keyb. shortcuts are comming with the next commits.
2024-08-24 13:39:32 +02:00
UchiTesting
847a355a3e style(locale): Add French locale
Added resource file and updated the code to declare the new French resource.
Include a 1st batch of translation.
2024-08-24 13:39:31 +02:00
leo
9a68d70b29
feature: add a button in file histories view to reset selected file to selected commit 2024-08-24 12:06:38 +08:00
leo
db8de81120
refactor: rewrite file histories page to only focus on selected file (#403) 2024-08-24 11:36:02 +08:00
leo
1caf02ff06
code_style: remove unused namespace using and run dotnet format 2024-08-23 22:26:17 +08:00
leo
43e8c5e8a0
ux: new decorator colors for light theme (#395) 2024-08-23 21:19:30 +08:00
leo
bfc4acd601
fix: duplicated key 2024-08-23 21:00:31 +08:00
leo
a717dc1876
ux: add Color.DecoratorHead for current branch head (#395) 2024-08-23 19:22:04 +08:00
leo
3569e1696f
ux: larger font size for HEAD decorator (#395) 2024-08-23 18:47:08 +08:00
leo
f65ee1f0f6
Merge pull request #399 from NilsPvR/develop
Add German NativeWindowFrame + FirstParentOption key
2024-08-23 18:31:43 +08:00
NilsPvR
e9a269f4c1 localization: Add DE keys for commit tracking
were added in 6ab0900 and c76d521
2024-08-23 12:19:44 +02:00
leo
07e3c30535
ux: remove the highlighted border for search text box in Welcome page (#398) 2024-08-23 18:05:09 +08:00
leo
8f114e8a32
ux: change style for commit ref decorators (#395)
* change font from `Fonts.Monospace` to `Fonts.Primary`
* increase the font size
2024-08-23 17:41:38 +08:00
leo
854563ef41
enhance: support search repository path 2024-08-23 17:25:21 +08:00
Nils van Rijsinge
aec8c0ddc4
Merge branch 'sourcegit-scm:develop' into develop 2024-08-23 11:12:49 +02:00
leo
a223ec1fc6
ux: smaller loading icon 2024-08-23 17:07:11 +08:00
leo
e845c270cd
fix: Ctrl+F is not working when Welcome page is not focused (#398) 2024-08-23 17:05:13 +08:00
leo
c76d521f12
localization: title for commit relation tracking popup 2024-08-23 16:58:18 +08:00
leo
6ab0900b20
feature: add a button to see which branches and tags that contains selected commit (#388) 2024-08-23 16:52:55 +08:00
NilsPvR
838c503afa localization: add DE WindowFrame + FirstParent key
were added in d21cc2c and d5e51d1
2024-08-23 10:18:43 +02:00
leo
c6b26517c0
ux: style for branch/tag filter toggle button 2024-08-23 11:35:57 +08:00
leo
4120331eda
refactor: there's no need to use AvaloniaList since we have replaced the TreeView with custom control 2024-08-23 11:24:31 +08:00
leo
9bcadf3523
ux: using WrapPanel instead of StackPanel to prevent content out of bounds (#396) 2024-08-23 10:57:33 +08:00
leo
c3f2c5836a
feature: handle ESC key to clear search in Welcome page 2024-08-23 10:39:09 +08:00
leo
729e0d6cc8
ux: new style for current HEAD 2024-08-23 10:29:43 +08:00
leo
c1ee47a79d
code_style: remove unused code and run dotnet format 2024-08-23 10:28:16 +08:00
leo
e6f3ab5e68
ux: different node in graph (#395) 2024-08-23 10:22:53 +08:00
leo
7389f5d521
revert: item should fill the height of tree node 2024-08-22 21:57:39 +08:00
leo
c2549869ce
code_style: clean up unused styles 2024-08-22 21:46:06 +08:00
leo
38770af13d
ux: vertical align center 2024-08-22 21:23:05 +08:00
leo
38e2e0f3f4
refactor: rewrite the welcome page since the original TreeView has many limitations (#391) 2024-08-22 21:10:23 +08:00
leo
af6d2cc725
fix: TreeView do NOT support NavigationMethod.Direction with invisible nodes (#391) 2024-08-22 18:11:25 +08:00
leo
71d36698f8
feature: select and open repository by keyboard in Welcome page (#391) 2024-08-22 15:45:50 +08:00
leo
10e5c7aa6c
refactor: window chrome style 2024-08-22 15:06:30 +08:00
leo
8b469e7778
enhance: show untracked submodules in unstaged (#393) 2024-08-22 14:10:32 +08:00
leo
d5e51d1f32
feature: supports using native window frame on Linux (#390) 2024-08-22 12:37:26 +08:00
leo
eaf5eba0e7
ux: using Brush.Popup for menu flyouts 2024-08-22 10:20:18 +08:00
Chiahong Hong
9a1e95b7e5
fix: handle file paths with spaces 2024-08-22 02:09:34 +08:00
Chiahong Hong
fd7bc8b122
fix: prevent executing an executable file with the same name as the directory 2024-08-22 00:57:23 +08:00
leo
323dc2e87f
code_review: PR #386
* rename `FirstParentFilterToggled` to `EnableFirstParentInHistories`
* remove `FirstParentFilterEnabled` from repo settings - it should not been saved
* move toggle button from repository toolbar to histories switcher
* tooltip translations
* new icon for `Icons.FirstParentFilter`
* extends commit graph to support `--first-parent` option
2024-08-21 19:45:32 +08:00
leo
acf0a486d7
Merge pull request #386 from ybeapps/feature/first-parent-filter
first-parent-filter
2024-08-21 19:28:52 +08:00
NilsPvR
854331051a localization: add CheckSubmodule key for German
was added with d4a9343
2024-08-21 12:28:52 +02:00
Gadfly
5575adf849
ux: Preference fit to content width 2024-08-21 17:31:27 +08:00
Yitzchak Ben-Ezra
d21cc2c96a first-parent-filter
need help in two issues:
1. use better icon - I just reused the Filter icon
2. lines of merge commits are still rendered - need to skip them since they don't link to any commit when filter enabled. I didn't manage to solve by my own right now
2024-08-21 09:04:35 +03:00
leo
7e4eca9691
code_style: remove unused namespace using 2024-08-21 12:49:55 +08:00
leo
191763e1d8
refactor: commit sha link in message (#382)
* remove the built-in commit issue tracker rule
* hyperlink in commit message now supports commit sha
2024-08-21 12:46:36 +08:00
leo
6485a6f93a
ux: use JetBrains Mono font for change status icon (#384) 2024-08-21 11:50:17 +08:00
leo
19924930bc
Merge pull request #383 from gadfly3173/fix/counter-visual
fix: invalidate counter visual (#338)
2024-08-21 11:28:06 +08:00
Gadfly
3b9e781b0a
fix: remove unused AffectsRender 2024-08-21 11:23:27 +08:00
Gadfly
9c0b9608dc
fix: invalidate counter visual (#338) 2024-08-21 11:08:50 +08:00
leo
48adad53b4
feature: supports the commit hash issue tracker (#382)
Using issue tracker instead of built-in supported commit web link is based on the following reasons

* repo may have multiple remotes
* it is not good to open an context menu to choose which web to visit with multiple remotes
* some remote servers are not supported by this app
2024-08-21 10:44:07 +08:00
leo
7b26589485
fix: button tooltip foreground (#381)
* TextBlock may not be the direct child of Button, for example, it may wrapped by a StackPanel with icons.
* Introduce another way to solve this problem
2024-08-21 10:18:28 +08:00
Chiahong Hong
1dfa7aa1a7
fix: correct selector for foreground color in tooltip on primary button 2024-08-21 01:28:13 +08:00
leo
04a187203a
refactor: detect terminal before it is needed 2024-08-20 21:05:20 +08:00
leo
f4f5ae7430
ux: remove rounded corner when window is maximized using TemplateBinding (#378) 2024-08-20 20:59:57 +08:00
leo
66b28621d1
fix: wrong path to find iTerm2 2024-08-20 20:55:41 +08:00
leo
c1c1e1f0c8
ux: remove rounded corner when window is maximized (#378) 2024-08-20 20:48:44 +08:00
leo
05db9e429d
code_review: PR #377
* simplify the implementation
2024-08-20 20:44:54 +08:00
Yitzchak Ben-Ezra
f53b35243d Support iTerm2 in MacOS 2024-08-20 14:32:52 +03:00
leo
5370526fcc
ux: selected style for repo dashboard contents 2024-08-20 17:11:51 +08:00
leo
9844043c7f
ux: use ListBox with VirtualizingStackPanel instead of DataGrid since height of DataGridRow is not equal with the RowHeight value 2024-08-20 16:55:28 +08:00
leo
d4a9343eaf
feature: add an option to enable --recurse-submodules=check on push (#345) 2024-08-20 15:20:58 +08:00
leo
d66053a42d
code_style: run dotnet format 2024-08-20 11:53:37 +08:00
leo
55d2657799
ux: better line number layout 2024-08-19 19:54:46 +08:00
leo
ecc1414006
fix: empty monospace font with non-empty default font fallback issue 2024-08-19 19:18:31 +08:00
leo
50d742e1eb
Merge pull request #371 from NilsPvR/develop
New keys for german translation
2024-08-19 17:44:30 +08:00
NilsPvR
ef0c04fe20 localization: add new keys for German translation
the keys were originally added in b3327eb and addbb19
2024-08-19 11:31:15 +02:00
leo
8bd8787d25
feature: auto-focus when open a new page (#368) 2024-08-19 17:24:39 +08:00
leo
9057b71f2d
refactor: rewrite the font configuration (#366)
* input font name directly instead of a font picker because localized font family name is not supported by Avalonia
* fallback monospace font to default font
* remove unused code
2024-08-19 17:14:41 +08:00
leo
24dde77548
refactor: rewrite SourceGit.App 2024-08-19 12:49:29 +08:00
leo
84b8735d6c
code_style: run dotnet format 2024-08-18 23:14:44 +08:00
leo
7fe1df20cc
refactor: delay starting background tasks
* start background task only it is needed
* solve the problem that we can not use `ViewModels.Preference.Instance` until resource ready
* remove avatar sever settings
2024-08-18 23:10:54 +08:00
leo
e7921db339
fix: can not open app dir on macOS 2024-08-18 15:53:54 +08:00
leo
2934ad72d4
project: upgrade TextMateSharp to 1.0.62 2024-08-18 14:41:28 +08:00
leo
fe9f4f5743
refactor: rewrite the way using extension to get custom grammars 2024-08-18 09:33:40 +08:00
leo
39fba17648
enhance: text editor (#365)
* support extra grammars.
* avoid crashing on text editor detached from visual tree
2024-08-18 00:18:18 +08:00