Commit graph

1887 commits

Author SHA1 Message Date
leo
f5b8bc472a
fix: hightlight not working the first time clicking the first line (#448) 2024-09-10 12:03:07 +08:00
leo
f42ddd8cee
fix: hightlight background not updated (#448) 2024-09-10 11:50:32 +08:00
leo
2e2c443b5d
localization: Text.Workspace.Configure translation 2024-09-10 11:30:26 +08:00
leo
22f0fb3854
ux: rounded rect in ColorPicker 2024-09-10 11:26:07 +08:00
leo
33e4404222
code_style: remove unused converters 2024-09-10 11:22:12 +08:00
leo
853d5ce20e
code_style: remove debug code 2024-09-10 11:20:59 +08:00
leo
69117e8ee9
refactor: use custom color picker instead of Avalonia.Controls.ColorPicker 2024-09-10 11:02:34 +08:00
leo
bede3663ec
code_review: PR #453
* remove Visual Studio ENC0004 warning
2024-09-10 09:22:35 +08:00
Chiahong Hong
6d18839237
refactor: terminal launch on macOS without temporary AppleScript 2024-09-10 01:02:41 +08:00
leo
b1ce8c5451
enhance: do NOT auto focus the text editor when there's no highlighted commit (#448) 2024-09-09 21:06:44 +08:00
leo
32c0aa61cd
fix: the highlight background not updated while scrolling using mouse wheel without focus the text editor control (#448) 2024-09-09 21:01:10 +08:00
leo
9934586ee0
enhance: remember the active page index for each workspace (#445) 2024-09-09 19:40:44 +08:00
leo
e63034acd5
enhance: when open repository from commandline, create a new workspace Unnamed for it, and never add it to preference (#445) 2024-09-09 19:14:44 +08:00
leo
0190c2111d
enhance: workspace tooltip (#445) 2024-09-09 18:47:53 +08:00
leo
ebc112a627
feature: workspace support (#445) 2024-09-09 18:26:43 +08:00
leo
acd6171350
refactor: remove Caret.PositionChanged event listener since TextArea.LayoutUpdated will also triggered when caret position changed (#448) 2024-09-09 12:22:26 +08:00
leo
4be7710336
feature: highlight lines those come from the same change with current line (#448) 2024-09-09 11:45:02 +08:00
leo
17dd32456b
refactor: add Avalonia.Fonts.Inter as built-in default font (#447) 2024-09-09 10:01:41 +08:00
leo
6688319714
fix: failed get default font on some Linux distro (#447) 2024-09-08 18:29:05 +08:00
UchiTesting
a77c6dba67 Fix case for Text.Configure.IssueTracker.RuleName
Capital letter in the beginning was missing.
2024-09-07 20:27:05 +02:00
UchiTesting
6631611fa9 style(locale): Translate a few sections
Diff.SyntaxHighlight
RevealFile
Revert
Reword
Running
Save
Stash
URL
UpdateSubmodules
Warn
WorkingCopy
Worktree

Some extra sentences

Include small fixes for
CodeEditor : missing accent
2024-09-07 15:21:29 +02:00
UchiTesting
74bffc39b4 style(locale): Translate Text.Histories section to French 2024-09-07 15:21:28 +02:00
UchiTesting
ea164bfdf4 style(locale): Fix mistake in French translation
Text.DeleteMultiBranch.Tip had the term branch in singular instead of plural
2024-09-07 15:21:28 +02:00
leo
b1457fe39d
feature: supports filter submodules (#443) 2024-09-06 09:57:22 +08:00
leo
0e774ee035
ux: window caption button (#442) 2024-09-04 15:54:12 +08:00
leo
998230edff
code_style: simplify static commands used by styles and main menu; run dotnet format 2024-09-02 20:27:12 +08:00
leo
e27d2d6a3f
enhance: change default search commit method to Message 2024-09-02 19:51:42 +08:00
leo
b85c2a1754
ux: re-arrange context menu items of RepositoryNode in welcome page 2024-09-02 17:44:02 +08:00
leo
72fbab3b2e
ux: new icon for Move to Anthor Group 2024-09-02 17:33:00 +08:00
leo
dffd9d7676
feature: add context menu item to move repository node (#437) 2024-09-02 17:05:43 +08:00
leo
837e3889b7
ux: column width in histories (#438) 2024-09-02 15:28:30 +08:00
leo
fe7972684c
ux: change the icon for Check refs that contains this commit button 2024-09-02 14:44:42 +08:00
leo
de86890012
ux: make it easier to change the width of column AUTHOR 2024-09-02 14:34:51 +08:00
leo
931831431b
enhance: reduce the times calling Save() (#436) 2024-09-02 14:14:52 +08:00
leo
9fe8ffcea9
code_review: PR #436
It's ok to call `Save()` multiple times after property of `ViewModels.Preference` changed immediately. If we delay the saving operation 3 seconds after the property changed event, we reduce the times calling `Save`, but the issue metioned in #436 may still exists.
2024-09-02 12:20:11 +08:00
Gadfly
c85293c86a
enhance: support save RepositoryNode changes instantly 2024-09-02 12:05:24 +08:00
Gadfly
28b6ce4993
enhance: save preference.json instantly 2024-09-02 10:51:48 +08:00
leo
a2c6afc5cc
enhance: add file histories context menu item for staged changes and deleted files (#432) 2024-09-02 09:41:00 +08:00
leo
b0b55c989a
Merge pull request #433 from ChiahongHong/traditional-chinese
Update Traditional Chinese translation
2024-09-02 09:28:32 +08:00
leo
eca37e8d70
fix: crash when drag & drop on macOS 2024-09-02 09:26:06 +08:00
leo
f586979ac5
fix: crash when scan repositories under default clone dir (#434) 2024-09-02 07:54:46 +08:00
Chiahong Hong
595e243ab9
localization: update zh_TW.axaml 2024-09-01 22:10:54 +08:00
leo
e4f95745ce
fix: IsCloseButtonOnly is not work on Windows (#431) 2024-09-01 17:01:24 +08:00
leo
e19d025572
code_review: PR #431
* move resources and styles for macOS caption button to `CaptionButtonsMacOS` because it is never used by others and should not been changed
* add `IsCloseButtonOnly` property to `CaptionButtons` and `CaptionButtonsMacOS` and replace the controls in windows
2024-09-01 16:54:20 +08:00
Chiahong Hong
2b056ee644
ux: improve macOS window control button colors for a more native look 2024-09-01 13:47:13 +08:00
leo
ef9396bf57
code_review: PR #428
* remove unused namespace using
* remove the duplicated menu seperator between `Open in Merge Tool` and `Reveal in File Explorer`
* keep the same menu item orders both in changes and revision files
2024-08-30 21:38:43 +08:00
Yitzchak Ben-Ezra
8c9e8e5dbc Reset to Parent Revision
* support reset to parent revision for Added files too
* support reset to parent revision in Files tab
* support reset to parent revision in Changes - now supports Renamings too

now it behaves more like git-extensions
2024-08-30 15:42:24 +03:00
leo
089f24b0d2
fix: can not create subgroups (#427) 2024-08-30 16:59:51 +08:00
leo
bb749f225d
enhance: auto create group by relative path when scanning repositories under default clone dir (#427) 2024-08-30 16:45:45 +08:00
leo
0d676fa3fb
feature: add a button to scan repositories under default clone dir (#427) 2024-08-30 16:14:10 +08:00
leo
aab14784fc
project: upgrade TextMateSharp to 1.0.63 2024-08-29 20:56:07 +08:00
leo
1f4bf92642
ux: remove margins for column 'AUTHOR' in histories view 2024-08-29 15:02:06 +08:00
leo
93304a39d2
localization: mistake 2024-08-29 11:25:33 +08:00
leo
4dadf7afb6
ux: style for branch tree node 2024-08-29 11:20:44 +08:00
leo
d794a61196
enhance: remember the width of author name column in histories view (#425) 2024-08-29 10:17:22 +08:00
leo
c22ba75780
enhance: supports using Delete or Backspace to discard selected changes (#423) 2024-08-29 10:10:28 +08:00
leo
9c40b76577 code_style: use the same syntax to specify platform dependent text 2024-08-28 22:07:26 +08:00
leo
987152869c code_review: PR #422
* add unstage/stage button tooltip for hotkeys
* add description for new hotkeys in `Keyboard Shortcuts Reference` window
2024-08-28 22:00:18 +08:00
Hannes Braun
bb54c14566 Add Enter as keybinding for staging/unstaging 2024-08-28 15:17:07 +02:00
leo
a573436b67
feature: add supports for .webp image format (#421) 2024-08-28 18:58:01 +08:00
leo
3d57398d15
refactor: show statistics data by authors intead of committers 2024-08-28 18:38:29 +08:00
leo
83b802e357
refactor: collect the commits for the most recent year instead of just the current year (#414) 2024-08-28 18:16:57 +08:00
leo
c90abd0ca2
refactor: commit search
* no longer depends on the commits displayed in histories view
* limit the number of commits returned by all search methods to a maximum of 1000
2024-08-28 16:56:43 +08:00
leo
48e1de809b
ux: style for commit info row in histories view 2024-08-28 14:38:06 +08:00
leo
3ea80d99f1
code_style: remove unused namespace using and run dotnet format 2024-08-28 13:42:25 +08:00
leo
4bcdd0ade4
fix: commit graph clip bounds 2024-08-28 13:36:09 +08:00
leo
45212ebc28
refactor: rewrite Views.CommitGraph.Render 2024-08-28 13:26:46 +08:00
leo
ddcab64940
enhance: do NOT redraw commit graph if vertical scroll of commit list not changed 2024-08-28 13:19:44 +08:00
leo
ce2340456e
feature: cherry-pick multiple commits (#418) 2024-08-28 11:26:00 +08:00
leo
b2bbbb191c
fix: copy multiple commits info not working anymore 2024-08-28 10:17:12 +08:00
leo
9f9cea34f8
Merge pull request #420 from hannesbraun/foot-support
Add support for foot
2024-08-28 10:11:55 +08:00
leo
d908198214
Merge pull request #419 from NilsPvR/develop
Fix and add DE localization keys
2024-08-28 10:06:46 +08:00
leo
bd6228bb26
refactor: using ListBox instead of DataGrid for commit list and remove dependency of Avalonia.Controls.DataGrid 2024-08-28 10:02:14 +08:00
Hannes Braun
3b44616aba Add support for foot
foot is a terminal emulator for Wayland.
2024-08-28 01:05:08 +02:00
NilsPvR
9337b2bead localization: enhance "OnlyUseMonoFontInEditor" 2024-08-27 22:20:29 +02:00
NilsPvR
a5dad23ad9 localization: add DE keys for new features
- SquashCommitsSinceThis was added in 184c89e and updated in 6b90a11
- FileContent and FileChange were added in db8de81
- CopyAllText was added in 7a2722e
2024-08-27 22:09:53 +02:00
NilsPvR
31ac1c832f localization: fix incorrect key updated for DE in:
184c89ea1d
2024-08-27 21:56:35 +02:00
leo
7776cda475
enhance: using lightweight ListBox instead of DataGrid to improve performance 2024-08-27 21:28:48 +08:00
leo
1f07c1bdf0
ux: force enable horizontal stretch for commit message (#400) 2024-08-27 16:40:46 +08:00
leo
64943044aa
ux: new style for Flyout 2024-08-27 16:28:20 +08:00
leo
b16d267c9b
enhance: show git errors when failed to get the repository root dir of given path (#397) 2024-08-27 15:35:10 +08:00
Gadfly
208dd9a5e0
enhance: make HEAD commit badge highlight 2024-08-27 14:54:28 +08:00
leo
959805d63c
feature: auto scrolling while seleting text in commit message (#394) 2024-08-27 14:47:20 +08:00
leo
551ea883ff
code_style: remove unnecessary call 2024-08-27 14:15:20 +08:00
leo
e0b09d4dd4
feature: using TextBlock instead of SelectableTextBlock for commit SHA and add a button to copy it 2024-08-27 12:20:36 +08:00
Gadfly
5e02b08d48
fix: avoid crash when closing a repo which is deleted in file system 2024-08-27 10:51:15 +08:00
Gadfly
80559ce199
fix: try-catch OpenFolderPickerAsync to avoid crash when select a directory is NOT exist 2024-08-27 10:40:49 +08:00
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