leo
5c2583db67
enhance: notify user when try to generate commit message by OpenAI but not files are added to commit
2024-09-13 15:26:12 +08:00
leo
cc6e486663
enhance: do NOT modify repository's local configuration if it is equals to default value
2024-09-13 15:20:52 +08:00
leo
886b242b66
enhance: added cancellation logic to the OpenAI chat response API call.
2024-09-13 14:25:38 +08:00
leo
f7f549f86d
enhance: change tooltip's alignment to Top
to avoid issue #467
2024-09-12 17:40:25 +08:00
leo
8a20a7a542
ux: set Focusable
by XAML instead of hard coded
2024-09-12 17:05:05 +08:00
leo
ea3a6a4755
feature: auto focus the next
change after stage/unstage selected changes ( #464 )
2024-09-12 16:33:56 +08:00
leo
dcddc5a2f2
ux: OpenAI button layout
2024-09-12 11:51:07 +08:00
leo
b09d1d46c9
fix: openpgp
typo ( #465 )
2024-09-12 11:03:56 +08:00
leo
676835dee5
enhance: do NOT modify global .gitconfig if value equals git default ( #465 )
2024-09-12 10:33:52 +08:00
leo
16f8e2fd0b
feature: simple implementation for generating commit message by OpenAI ( #456 )
2024-09-12 09:42:47 +08:00
Gadfly
f6fa31f287
fix: ConfigureWorkspace window width ( #458 )
2024-09-11 11:08:04 +08:00
leo
0c31c982be
enhance: ColorPicker performance improvement
2024-09-11 10:34:27 +08:00
leo
f4f0fe788b
fix: vertical grid line over-draw
2024-09-11 10:23:20 +08:00
leo
2d611cf988
fix: repository settings did not saved correctly when closing app ( #459 )
2024-09-11 10:20:12 +08:00
leo
9b47198229
fix: the width of ConfigureWorkspace
window sometimes tool small ( #458 )
2024-09-11 10:08:31 +08:00
leo
f314da54aa
code_style: add comment for ColorPicker.COLOR_TABLE
2024-09-11 09:38:32 +08:00
leo
3cebff6722
enhance: when open sourcegit with repository from commandline disable all workspaces
2024-09-10 17:47:08 +08:00
leo
6d54b43ee3
ux: layout of ConfigureWorkspace
window
2024-09-10 17:17:02 +08:00
leo
7b2da25c0b
enhance: do NOT save preference.json while loading
2024-09-10 16:37:39 +08:00
leo
88fb43e4fb
ux: new style for ColorPicker
2024-09-10 16:31:16 +08:00
NilsPvR
edcf67b3d6
localization: add DE keys for new features
...
- Hotey DiscardSelected was added in c22ba75
- ScanRepos were added in 0d67fa3
- MoveRepos were added in dfffd9d
- RepoFilter was updated in b1457e
- Workspaces were added in ebc112a
and 0190c21
, and updated in 2e2c443
2024-09-10 09:36:52 +02:00
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
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
leo
a3496a9d2f
fix: virtual space not include ( #364 )
2024-08-16 19:21:48 +08:00
leo
ed7465def5
enhance: render highlight background manually instead of using TextRunProperties.SetBackgroundBrush(IBrush)
( #364 )
2024-08-16 18:59:48 +08:00
leo
9f39a9b295
fix: background not fill entire text line ( #364 )
2024-08-16 17:28:00 +08:00
leo
6d11296eae
enhance: update selected chunk after stage/discard/unstage previous chunk ( #361 )
2024-08-16 15:11:35 +08:00
leo
6ac7ff2882
feature: add context menu item to checkout file with revision
2024-08-16 14:49:26 +08:00
leo
b6b52c14e5
ux: change icon for checking out file with revision
2024-08-16 14:18:29 +08:00
leo
f71cd237cb
enhance: disable reset file to parent revision when it has been renamed
...
* new icon for checkout file
2024-08-16 11:55:36 +08:00
leo
f7e0cbf989
ux: style for disabled menu item
2024-08-16 10:14:08 +08:00
Jean
dd66e68ecd
fix: update pt-BR locale w/ new strings
2024-08-15 19:02:09 -03:00
leo
addbb19728
feature: add context menu items to revision changes to reset (checkout) selected file to this revision or to it's first parent file version ( #359 )
2024-08-15 22:13:20 +08:00
leo
eb56de2d6f
ux: change min height of DataGridCell's from 32 (default) to 24
2024-08-15 21:34:24 +08:00
leo
2ffc1b7178
enhance: manually stage all changes instead of using --all
parameter in git commit
2024-08-15 20:09:38 +08:00
leo
3bcea2a4f0
ux: style of commit message picker button
2024-08-15 19:52:05 +08:00
leo
b3327ebeb5
feature: supports commit template ( #264 )
2024-08-15 18:59:35 +08:00
leo
c8db2fd8ea
code_style: format axaml
2024-08-15 15:59:10 +08:00
NilsPvR
6a48ab05a4
feat: add German translation 'open app data dir'
2024-08-15 09:18:03 +02:00
leo
f3cbb7adb0
project: change optimization mode from Size
to Speed
2024-08-15 12:05:28 +08:00
leo
ff3d841d12
feature: add a menu item to open app data dir
2024-08-15 11:47:04 +08:00
leo
0c6af27b40
refactor: rewrite the way to find external editors ( #347 )
...
* do not find tools from environment variables since it needs a lot of works on some platforms, such as macOS
* add `external_editors.json` to allow user configure paths directly
2024-08-15 11:32:26 +08:00
leo
eaad685d06
fix: typo
2024-08-15 10:43:38 +08:00
leo
bf6ac4d20d
refactor: rewrite commit web link
...
* add support for Bitbucket
2024-08-15 10:39:31 +08:00
leo
48de509c63
ux: change cursor to hand when hover links
2024-08-14 17:27:37 +08:00
leo
db40a3f368
feature: try to enable DBus file picker on Linux platforms ( #289 )
2024-08-14 16:09:55 +08:00
leo
f5d4f61c8a
ux: change cursor to Hand
when mouse is hovered the commit web link
2024-08-14 11:14:21 +08:00
leo
55da40f8dc
fix: sometimes textblock with issue link will render nothing
2024-08-14 11:06:37 +08:00
leo
ec14d9d533
refactor: remove binding errors
2024-08-13 20:40:05 +08:00
leo
abdf9d7e75
refactor: rewrite commit web links
2024-08-13 19:30:10 +08:00
leo
59a7c74fd1
fix: try to fix issue #338
...
* use custom control to draw badges
2024-08-13 18:24:28 +08:00
leo
f3406e93fc
fix: try to fix issue #338
...
* upgrade Avalonia to `11.1.3`
* use reactive property instead of simple getter
2024-08-13 17:38:58 +08:00
leo
34a598d421
feature: add commit web links ( #357 )
2024-08-13 17:15:17 +08:00
leo
a145d6e4c3
revert: remove issue link support in commit list
...
* improve render performance
* the links in commit list are very easy to click by mistake
2024-08-13 15:58:34 +08:00
leo
d601ca6b23
enhance: force InvalidateVisual
2024-08-13 14:57:05 +08:00
leo
435c12b340
ux: add style for issue link hovered
2024-08-13 12:25:06 +08:00
leo
08fc069281
enhance: disable selection while click issue link
2024-08-13 12:18:26 +08:00
leo
202aa379f8
fix: can not select the entire content of commit message
2024-08-13 12:08:33 +08:00
leo
d1b236b090
enhance: usually we create hidden sub-directories in $HOME with lowercase names
2024-08-13 10:19:16 +08:00
leo
19cb5678a7
project: upgrade TextMateSharp
to 1.0.61
to support arm64 platforms ( #312 )
2024-08-13 10:08:44 +08:00
leo
38665a61cb
fix: Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)
returns an empty string on some linux distro
...
* fallback the storage folder to `~/.sourcegit`
2024-08-12 21:38:11 +08:00
leo
9561f7ef64
Merge pull request #353 from NilsPvR/develop
...
Code review suggestions for German translation
2024-08-12 19:59:56 +08:00
Gadfly
04c9214fc0
fix: remove null-check of sshKey in EditRemote
2024-08-12 19:28:01 +08:00
leo
69178838be
fix: always trait Atl/Ctrl/Shift
as key modifers ( #351 )
2024-08-12 16:51:37 +08:00
leo
0646db36a4
fix: KeyDown
event won't be triggered unless toolbar got focus ( #351 )
2024-08-12 16:14:39 +08:00
van Rijsinge
d98ec5db75
feature: add German translations for new features
2024-08-12 09:33:25 +02:00
leo
429e037adb
feature: use Ctrl
+ click to stash all changes automatically with default options ( #351 )
2024-08-12 15:11:49 +08:00
leo
965a4b21ae
feature: use Ctrl
+ click to start fetch/pull/push automatically with default options ( #351 )
2024-08-12 15:01:00 +08:00
NilsPvR
9c6bd87dd6
enhance: review suggestions for German translation
2024-08-12 08:59:40 +02:00
leo
2e12717235
ux: removes padding when calculate layouts
2024-08-12 12:03:30 +08:00
leo
dabdd0b06a
code_style: remove empty lines
2024-08-11 18:41:59 +08:00
leo
de2f70b8ea
feature: supports display tags in a tree ( #350 )
2024-08-11 18:12:58 +08:00
leo
f59af0afcf
enhance: only when the repository has submodules will the submodule information be updated at the same time after the branch information changes
2024-08-11 10:15:43 +08:00
leo
e2da0d3643
project: downgrade AvaloniaUI to 11.0.13
2024-08-11 09:18:06 +08:00
NilsPvR
116a1bcca3
fix: accidently whitespace + capizalization
2024-08-09 21:04:19 +02:00
NilsPvR
27d0aed516
enhance: german translation for more consistency
...
+ fix some typos and add missing translations
2024-08-09 20:18:05 +02:00
leo
6881837c80
ux: increase max font size to 18 ( #346 )
2024-08-09 21:21:28 +08:00
leo
747c8054f5
fix: submodule status is not updated when branch changed ( #339 )
2024-08-09 18:29:04 +08:00
leo
e05264e35d
fix: can not create branch when detached head has extra commits ( #344 )
2024-08-09 16:59:48 +08:00
leo
ed2d3279e1
enhance: create branch on detached HEAD ( #344 )
2024-08-09 16:06:28 +08:00
leo
c596427380
fix: ahead/behind indicator of commit in histories view not updated after upstream changed
2024-08-09 15:17:04 +08:00
leo
ce7420354d
fix: local changes do not updated after submodule changed ( #339 )
2024-08-09 14:34:19 +08:00
leo
d37f53a4f3
fix: local changes do not updated after submodule changed ( #339 )
2024-08-09 14:28:10 +08:00
leo
905664c5e2
fix: can not select issue rules after remove one in last two ( #343 )
2024-08-09 14:22:30 +08:00
leo
3a54471ea5
refactor: rewrite branch auto-select after remote changed while pulling ( #342 )
2024-08-09 14:08:25 +08:00
leo
f98423b4c7
enhance: auto-select branch after remote changed while pulling ( #342 )
2024-08-09 14:03:31 +08:00
leo
a75d50bf97
refactor: rename Models.Watcher.UpdateSubmodules
to Models.Watcher.SetSubmodules
...
* run `dotnet format`
2024-08-09 11:33:37 +08:00
leo
71d2b295da
refactor: combine Commands.UpdateSubmoduleStatus
into Commands.QuerySubmodules
2024-08-09 09:41:24 +08:00
leo
3969111393
ux: force datagrid row height to 24
2024-08-08 21:21:30 +08:00
leo
1fe2be11a7
refactor: rewrite submodule to support IsDirty
state ( #339 )
2024-08-08 21:11:10 +08:00
leo
eb441852b0
enhance: allow edit commit message only with Amend
( #336 )
2024-08-08 15:18:35 +08:00
leo
97d5ecdfe9
code_style: remove IDE warnings
2024-08-08 15:10:08 +08:00
leo
6c08ee1b05
ux: use smaller fontsize for launcher tabbar
2024-08-08 14:04:48 +08:00
Gadfly
4c471c6bb9
fix: do NOT change parent of RepositoryNode if it exists when open it from FolderPicker
2024-08-08 10:34:30 +08:00
leo
6bd0920d71
feature: enable syntax highlighting in revision files view ( #333 )
2024-08-08 10:12:39 +08:00
leo
1ab0ea27df
enhance: remove fixed fontsize in launcher's tabbar ( #332 )
2024-08-08 09:38:11 +08:00
leo
f8bc48c49c
enhance: exec git command directly instead of call methods from WorkingCopy ( #330 )
2024-08-08 09:33:46 +08:00
leo
dc32c3e95d
project: upgrade AvaloniaUI to 11.1.2
2024-08-07 19:52:40 +08:00
leo
7ff92c4e1d
ux: stage/unstage/discard button aligment in TextDiffView
2024-08-07 19:42:41 +08:00
leo
d4b0958f67
ux: new style of tab switcher in statistics window
2024-08-07 17:07:39 +08:00
leo
3609d46c1f
enhance: pop stash directly instead of apply+drop
2024-08-07 15:59:35 +08:00
leo
3bcf4e128e
enhance: get count of changed file (without untracked) directly ( #316 )
2024-08-07 15:52:58 +08:00
leo
8c16ded6bd
enhance: ignore untracked files when calculate local changes in checkout/create branch/pull ( #316 )
2024-08-07 15:38:18 +08:00
leo
71c2ad989b
enhance: do not call git add
before git stash push
when enable auto stash in checkout/create branch/pull ( #316 )
2024-08-07 15:20:21 +08:00
warappa
8a7ec4840f
#322 : Add German translation for issue tracker integration
2024-08-06 21:24:50 +02:00
warappa
67ebc5ae03
Merge branch 'develop' into bugfixes/enhance-german-translation
2024-08-06 21:05:27 +02:00
leo
3506df40e0
refactor: rewrite SetDetail
for selected working copy changes ( #328 )
2024-08-06 17:17:41 +08:00
leo
e50db02ea8
fix: SelectedUnstaged
and SelectedStaged
should always be re-calculated ( #328 )
2024-08-06 17:08:01 +08:00
leo
f41f8266d2
ux: rebase popup should always be closed after started ( #327 )
2024-08-06 16:39:54 +08:00
leo
0450931655
enhance: avoid refetch avatar for noreply@github.com
2024-08-06 15:40:07 +08:00
leo
a7ea61f9af
refactor: remove binding null warnings
2024-08-06 15:33:23 +08:00
leo
1d15c4c95f
fix: drag window won't stop ( #326 )
2024-08-06 15:12:44 +08:00
leo
2e433aa278
refactor: set detail directly instead of reset selected changes
2024-08-06 14:36:58 +08:00
Gadfly
519d9c770c
fix: clean SelectedStaged after commit
2024-08-06 14:23:47 +08:00
heartacker
5e85ce8f8b
update AvaloniaEdit nuget package to 11.1.0
...
- AvaloniaEdit
- TextMate
- Grammars
2024-08-06 14:03:24 +08:00
David Rettenbacher
e29e8c2990
Fix about texts
2024-08-06 07:58:20 +02:00
leo
a2749d3c4f
ux: add Color.Link
for issue links ( #315 )
2024-08-06 13:57:51 +08:00
leo
9bee51686a
feature: show issue link on commit list of histories view ( #315 )
2024-08-06 11:02:52 +08:00
leo
90e3abed8d
enhance: keep selection after unstaging ( #320 )
2024-08-06 10:42:55 +08:00
leo
4ba7c879c5
feature: use Ctrl+C
to copy selected commits in histories ( #321 )
2024-08-06 10:04:08 +08:00
warappa
6d9613945e
Fixes and tweaks German translation
2024-08-05 23:13:36 +02:00
leo
b059423391
feature: enable using drag-drop to re-order commits ( #319 )
2024-08-05 22:10:43 +08:00
leo
85d3f0993c
refactor: load default github avatar
2024-08-05 20:12:41 +08:00
leo
91daa42c08
ux: margins between textbox and its label in issue tracker configure page
2024-08-05 19:32:50 +08:00
leo
dfd098e131
refactor: merge sourcegit.issuetracker.setting to sourcegit.settings.
2024-08-05 18:18:57 +08:00
leo
f754b2c63a
feature: supports issue tracker in commit message ( #315 )
2024-08-05 17:34:49 +08:00
warappa
b88031f09d
Enhance German translation
2024-08-04 16:47:59 +02:00
leo
281ef8b490
fix: first '_' character not shown in menu item ( #313 )
2024-08-02 22:53:55 +08:00
leo
cd9196bb84
feature: supports get avatar from avatars.githubusercontent.com
...
* move all images to `src/Resources/Images` folder
2024-08-02 18:06:45 +08:00
jacky
12451a21c4
fix: fix some typos
2024-08-02 15:40:00 +08:00
leo
f3aff65d03
ux: reduce change list row height in commit detail panel
2024-08-02 15:16:19 +08:00
leo
eb437df9fe
enhance: reduce commits loading time for interactive rebase
2024-08-01 18:05:58 +08:00
leo
7891b1124e
feature: asking to create local branch instead of checkout commit if some remote branch's HEAD is selected commit ( #295 )
2024-08-01 16:59:39 +08:00
leo
57e9c44754
ux: new icon for changes
2024-08-01 15:12:00 +08:00
leo
af8543a4b8
ux: add icon Icons.Clone
2024-08-01 15:02:53 +08:00
leo
58357f031d
ux: add a new icon Icons.Stashes.Add
2024-08-01 11:45:20 +08:00
Gadfly
2a09ae64a4
fix: support revert merge commit
2024-08-01 10:02:09 +08:00
leo
425b713d1e
code_review: PR ( #307 )
...
* locale selection is sorted by name
* add en_US fallback for de_DE
2024-08-01 09:57:03 +08:00
leo
c8c881c38a
Merge pull request #307 from warappa/features/305-add-german-translation
...
Add German translation
2024-08-01 09:49:36 +08:00
warappa
edf09234c8
#305 : Add German translation
2024-07-31 23:32:41 +02:00
leo
2a05ffa30f
enhance: trim description of commit message while pasting on subject
2024-07-31 21:36:23 +08:00
leo
ff8456bcba
Merge pull request #304 from JeanFranz73/ptbr-locale
...
feat: Add portuguese (pt_BR) locale
2024-07-31 21:20:21 +08:00
Jean Franz
177450fffd
feat: Add portuguese (pt_BR) locale
2024-07-31 10:08:59 -03:00
leo
ec6fe25e87
code_style: run dotnet format
2024-07-31 16:26:58 +08:00
leo
2e87f83a38
feature: add tooltip for page tab ( #302 )
2024-07-31 15:42:13 +08:00
leo
f55a576013
refactor: rewrite amend behaviour ( #300 )
...
* toggle amend will show changes in HEAD commit
* since discard is not compatible with staged changes in `amend` mode, we only allows user to discard unstaged changes
2024-07-31 12:04:52 +08:00
leo
3c5a661fa0
feature: supports type change
2024-07-30 21:32:23 +08:00
leo
7f8b8a19a0
feature: add auto complete box for searching commits by file path
2024-07-30 15:59:54 +08:00
leo
addfb449cc
feature: double click on commit ( #295 )
...
* when commit is current branch head, do nothing
* when commit is head of some local branch which is not current, try to checkout this branch
* otherwise, ask user should checkout selected commit as deteched
2024-07-30 11:47:58 +08:00
leo
b18f86dde9
fix: ui not updated after font changed
2024-07-30 10:29:07 +08:00
leo
9aa5787ce9
enhance: unchange global core.autocrlf
is user do NOT set it yet ( #297 )
2024-07-30 09:53:04 +08:00
leo
5c6e4a5d48
Merge branch 'KiserDesigns/patch-1' into develop ( #296 )
2024-07-29 22:15:02 +08:00
leo
327b8033b6
rename: rename monospace
style to primary
2024-07-29 20:48:04 +08:00
Noah Kiser
d23134bdc5
Reduce Minimum window size
...
From 1280x720 to 1000x600
To fit window in top-half / top-third of portrait 1920x1080 monitor:
+------------+
| SourceGit |
| |
+------------+
|File Browser|
| |
+------------+
| Web Browser|
| |
+------------+
2024-07-29 07:40:53 -05:00
leo
aea61e0067
feature: add a toggle button in Preference dialog to only use monospace font in code editor ( #292 )
2024-07-29 20:20:27 +08:00
leo
d2d95e09b7
fix: NRE on commit filters
2024-07-29 19:40:35 +08:00
leo
20744d09bd
enhance: set SuggestedStartLocation
to default clone dir when open local repository ( #293 )
2024-07-29 16:19:35 +08:00
leo
efa02d9e96
ux: remove unnecessary controls
2024-07-29 15:07:41 +08:00
leo
29ce95e81e
enhance: new regex for tag name ( #290 )
...
* `(?!\.)` should not starts with `.`
* `(?!/)` should not starts with `/`
* `(?!.*\.$)` should not end with `.`
* `(?!.*/$)` should not end with '/`
* `(?!.*\.\.)` should not contains `..`
2024-07-29 14:38:09 +08:00
leo
2c9c36d832
enhance: support character '/' in tag name ( #290 )
2024-07-29 10:23:29 +08:00
leo
c8b688c52d
ux: DataGrid header style in histories page
2024-07-28 11:10:43 +08:00
leo
a3a3a0e4e9
enhance: add a button to clear git.http.proxy configuration
2024-07-28 10:11:10 +08:00
leo
20b45a1cf4
fix: when base is current worktree, the diff content of selected change is wrong
...
* remove warnings in JetBrains Rider (it seems JetBrains can NOT recognize Binding.TargetNullValue)
2024-07-27 21:35:57 +08:00
leo
4612cecf10
code_review: PR ( #288 )
...
* add missing translations and it's no need to add `OnPull` suffix since it already has a prefix `Text.Pull.`
* when enable fetching all branches of selected remote, use merge/rebase command instead of pull
* re-arrange orders of options in pull popup panel
* default enable `Fetch all branches`
2024-07-27 20:35:19 +08:00
leo
924a2ce935
Merge pull request #288 from RevenantX/fetch_all_on_pull_option
...
Add fetch all branches on pull option (acts like fetch+pull)
2024-07-27 19:58:03 +08:00
RevenantX
8a38b6afac
Add fetch all branches on pull. (acts like fetch+pull)
2024-07-27 12:52:01 +03:00
leo
0b6cab41cf
enhance: refresh braches immediately after a branch has been added/deleted
2024-07-27 17:27:24 +08:00
leo
7bfb684bde
refactor: update submodule ( #287 )
2024-07-26 18:49:07 +08:00
leo
58c685627f
fix: AvaloniaVS designer doesn't work
2024-07-26 17:47:22 +08:00
leo
206de8681f
project: upgrade Avalonia to 11.1.1
2024-07-26 17:35:13 +08:00
leo
b084ee5168
fix: left side by layout did not update after size changed
2024-07-26 16:32:48 +08:00
leo
c83b1fb145
ux: tab bottom corner
2024-07-26 15:14:05 +08:00
leo
bab1a57480
refactor: using x:Int32
and x:String
instead of custom types
2024-07-26 15:02:23 +08:00
leo
d3be3e938f
fix: wrong window margin and border if window is started as maximized
2024-07-26 12:01:09 +08:00
leo
17b0d7ddcb
build: update build scripts
2024-07-26 11:43:59 +08:00
leo
5f02f95e62
ux: use Classes instead of set FontFamily directly
2024-07-26 10:38:55 +08:00
leo
85ce2f9cab
enhance: prevent property changed event if it is unchanged
2024-07-26 10:23:19 +08:00
leo
aae1c41dcd
enhance: extends highlight area of selected/detected chunk to line number area
2024-07-26 10:18:28 +08:00
leo
1bff77cfcf
fix: TextDiffViewChunk
render issue
2024-07-25 17:57:28 +08:00
leo
1d5331cf73
code_style: remove unused converters
2024-07-25 15:33:41 +08:00
leo
e9fa9a42ca
enhance: add Views.CommitRefsPresenter
to draw commit's decorators (refs) directly
2024-07-25 15:31:16 +08:00
leo
3ddaba1c28
ux: change the icon for clear stashes
2024-07-25 12:05:12 +08:00
leo
1d249a0216
ux: remove vertical seperator
2024-07-25 11:49:54 +08:00
leo
31f918071f
refactor: repository configure
...
* move button to the left
* change view type from Popup to ChromelessWindow
2024-07-25 10:59:06 +08:00
leo
0fb121e6ed
ux: toolbar icon size
2024-07-24 19:22:45 +08:00
leo
dd55270634
ux: move toolbar buttons those will show popups to center
2024-07-24 19:18:04 +08:00
leo
efe6d743cf
enhance: allow to compile with dotnet 8.0.106 ( #281 )
2024-07-24 19:07:31 +08:00
leo
8e60ec619e
fix: %(refname:short)
sometimes return a wrong tag name that contains the prefix tags/
2024-07-24 18:52:12 +08:00
leo
869ba7a471
ux: improve tooltip recognition
2024-07-24 17:45:30 +08:00
leo
537ac3e2df
ux: toolbar button icon size
2024-07-24 17:09:30 +08:00
leo
013b4285e4
ux: text displayed when current branch is valid
2024-07-24 16:39:18 +08:00
leo
e29d78e2ae
feature: show current branch on toolbar ( #283 )
...
* re-arrange toolbar buttons
* move `Navigate to HEAD` button to toolbar
2024-07-24 16:36:34 +08:00
leo
6f317039ab
feature: add CurrentBranch
property to ViewModels.Repository
2024-07-24 15:36:26 +08:00
leo
f8caeceade
refactor: remove unnecessary memebers
2024-07-24 14:32:27 +08:00
leo
ad3eeabb83
feature: allow swap in branch compare
2024-07-24 12:17:44 +08:00
leo
3ef703c65d
code_style: run dotnet format
2024-07-24 11:45:16 +08:00
leo
9e048751ae
refactor: move non-observable object from ViewModels
to Models
...
* ViewModels.MergeMode -> Models.MergeMode
* ViewModels.Notification -> Models.Notification
* ViewModels.ResetMode -> Models.ResetMode
* use `int` instead of `ViewModels.CountSelectedCommits`
2024-07-24 11:44:13 +08:00
leo
0dee3a1969
refactor: use Binding.TargetNullValue
instead of empty class Models.CompareTargetWorktree
2024-07-24 11:16:28 +08:00
leo
6038fecab4
code_review: PR ( #282 )
...
* add translations for `Text.CommitCM.CopyInfo`
* unify length of commit's short SHA
2024-07-24 10:42:58 +08:00
RevenantX
300c1c99bf
Add copy info that copies "{Short SHA} - {commit subject}" into clipboard
2024-07-24 10:34:35 +08:00
leo
b160f4e47a
enhance: clear selection after swap compare targets
2024-07-23 19:30:16 +08:00
leo
1583b08892
code_review: PR ( #280 )
...
* tooltip for swap button
* move `Views.CompareTargetWorktree` to `Models.CompareTargetWorktree`
* remove unused `Models.IObjectId`
* fix swap not working when target is Worktree, because Commands.CompareRevisions's Args do not changed after swapping
2024-07-23 19:26:04 +08:00
Giuseppe Lippolis
5cc30f7d10
feat: Allow Swap Commits in Revision Compare
2024-07-23 11:41:33 +02:00
leo
cd1eed4356
fix: column header vertical seperator missing in some cases
2024-07-23 15:14:52 +08:00
leo
fa9990c38c
code_style: move SourceGit.ViewModels.RepositorySettings
to SourceGit.Models.RepositorySettings
2024-07-23 14:52:25 +08:00
leo
183cb8a658
enhance: supports checking updates with hotfix version
2024-07-23 14:36:27 +08:00
leo
40d5a7c7f3
code_style: run dotnet format
to apply rules
2024-07-23 13:58:57 +08:00
leo
e0319e3f9b
fix: ssh-askpass not working ( #272 )
2024-07-23 13:48:52 +08:00
leo
d4b262248a
fix: IntelliJ IDEA Ultimate
and IntelliJ IDEA Community
fallbacks to JetBrains common icon ( #279 )
2024-07-23 12:07:39 +08:00
leo
ef0cf76571
project: upgrade AvaloniaUI to 11.1.0
2024-07-23 11:45:54 +08:00
leo
eecea3529a
ux: lower contrast colors in diff view
2024-07-23 10:22:33 +08:00
leo
d8af6bd75f
feature: change minimal system requirement for macOS to 11.0 ( #275 )
2024-07-22 18:24:52 +08:00
leo
888bf54303
code_style: remove unused code
2024-07-22 16:41:35 +08:00
leo
b972bfd5f1
fix: missing empty check for %(upstream:trackshort)
( #273 )
2024-07-22 16:01:26 +08:00
leo
720b2b65f3
code_style: change static methods of ViewModels.Preference to member function
2024-07-22 15:34:31 +08:00
leo
1e0a2ab5f7
enhance: add -o StrictHostKeyChecking=accept-new
option to ssh command
2024-07-22 11:33:34 +08:00
leo
9f09b8e326
enhance: allow #
character in branch name ( #271 )
2024-07-21 17:44:38 +08:00
leo
91801cff69
enhance: only trigger UpdateSelectedChunk
if needed
2024-07-19 11:01:31 +08:00
leo
5b95344453
code_style: move commit methods to base class
2024-07-19 10:43:19 +08:00
leo
b2e6de3afa
ux: move ahead/behind indicator to front of refs
2024-07-19 10:08:41 +08:00
leo
9a15ff59d4
enhance: remove code not needed to improve performance
2024-07-19 09:47:59 +08:00
leo
f0649c95b5
feature: add an indicator that shows those commits the current branch ahead/behind its upstream
2024-07-19 09:29:16 +08:00
leo
9de2853003
enhance: unify selection mode and hunk mode
2024-07-18 16:26:39 +08:00
leo
42f8e41985
ux: lower background opacity for selected hunk
2024-07-18 12:16:36 +08:00
leo
dbc95e7209
refactor: move some method from view to its data source class
2024-07-18 11:40:56 +08:00
leo
e64026d44c
fix: MakeSelection
should not use UseSideBySideDiff
directly
2024-07-18 11:26:47 +08:00
leo
14469b1399
theme: add ThemeOverrides.OpacityForNotMergedCommits
to customize the opacity of commits that not belongs (haven't been merged) to current branch in histories ( #268 )
2024-07-18 10:46:39 +08:00
leo
b2ed1b283a
enhance: only replace hunk data if needed
2024-07-18 10:18:02 +08:00
leo
d09866e2c3
enhance: commit search ( #268 )
...
* add `-i` parameter to ignore case while searching commit message
* add `--branches --remotes` to search commits from all branches
2024-07-17 20:54:09 +08:00
leo
a68b61da94
ux: background highlight margin
2024-07-17 17:14:46 +08:00
leo
26c59bfd0d
code_style: move common funtion to base class
2024-07-17 17:10:32 +08:00
leo
b7e0e38de3
feature: stage/unstage hunk ( #265 )
2024-07-17 16:56:16 +08:00
leo
b9ed0987eb
enhance: gc will use --prune
argument
2024-07-16 18:04:16 +08:00
leo
6d888f8007
code_style: remove unused namespace using
2024-07-16 17:03:36 +08:00
leo
ef0c904e91
ux: improve change list selection
2024-07-16 17:00:08 +08:00
leo
2f5f98770f
enhance: expand tree for current branch ( #262 )
2024-07-16 15:02:47 +08:00
leo
72ca571c00
localization: add translations for commit time period
2024-07-16 14:06:02 +08:00
leo
80a7b73dd4
ux: style for commit time display mode toggle
2024-07-16 13:26:04 +08:00
leo
f9c8e4c699
code_style: remove unused code
2024-07-16 12:19:58 +08:00
leo
1eb77a5e49
feature: add a toggle button to change the commit time display mode to time period it is passed from now ( #259 )
2024-07-16 12:16:08 +08:00
leo
9b21269844
update: unify external tool icons to 64x64 pixels
2024-07-15 21:30:00 +08:00
leo
950083df34
enhance: exit loop on the first path that out of canvas bound
2024-07-15 21:16:55 +08:00
leo
3b0f481e4b
ux: welcome toolbar button layout
2024-07-15 20:28:00 +08:00
leo
f15dd52fdd
code_style: use ?:
instead of if...else
branches
2024-07-15 17:20:55 +08:00
leo
dc407b6033
feature: add tooltip for commit time that shows how much time it is from now ( #259 )
...
* this tooltip does NOT update until it's owner row recreated or the DataContext of that row changed. You can scroll it out of bounds to force refresh the tooltip
2024-07-15 16:58:45 +08:00
leo
684fedb9bd
ux: icons
2024-07-15 15:47:28 +08:00
leo
d3095d44c4
ux: macOS close window button icon
2024-07-15 10:27:10 +08:00
leo
8e7bfc43e0
enhance: search commits by message ( #256 )
2024-07-15 10:17:26 +08:00
leo
3aad24a64e
enhance: secure exit
2024-07-15 09:54:46 +08:00
leo
f4eca45754
code_style: remove all IDE warnings
2024-07-15 00:30:31 +08:00
leo
24ca3eaf8c
ux: tree folder icon margin
2024-07-14 16:06:40 +08:00
leo
a807aa9e12
code_style: remove all IDE warnings
2024-07-14 15:55:15 +08:00
leo
6a8527a394
refactor: commit search ( #256 )
2024-07-13 22:36:59 +08:00
leo
38c6c7713e
ux: macOS close window icon
2024-07-13 10:03:45 +08:00
leo
fd5ec5ee46
ux: toggle change tree node should trigger rows selection changed event
2024-07-13 09:51:57 +08:00
leo
6206c6abbc
ux: remove unused styles
2024-07-12 17:42:03 +08:00
leo
1c204e72a1
refactor: remove dependency on Avalonia.Controls.TreeDataGrid
2024-07-12 17:14:52 +08:00
leo
7f228385f9
refactor: use cutom RevisionFileTreeView
instead of TreeDataGrid
2024-07-12 13:54:38 +08:00
leo
b07aa9e63f
Merge pull request #254 from gadfly3173/fix/log-exception
...
fix: log UnobservedTaskException
2024-07-12 11:38:28 +08:00
leo
f53e16b6a1
ux: new node should not be selected
2024-07-12 11:11:15 +08:00
Gadfly
ce11c08aba
fix: log UnobservedTaskException
2024-07-12 11:09:46 +08:00
leo
3c770e2525
ux: tree toggle button
2024-07-12 11:01:02 +08:00
leo
67d0167278
fix: commits not marked as merged ( #253 )
2024-07-11 10:55:48 +08:00
leo
e5462f0086
code_style: run dotnet format
to apply code style rules
2024-07-10 12:12:14 +08:00
leo
0ba58a6e9b
fix: ItemsPanel
assign more than once
2024-07-10 12:04:01 +08:00
leo
4e13703b9d
fix: should not set DISPLAY
env on Linux platform
2024-07-10 11:57:02 +08:00
leo
ca461d1926
fix: SSH_ASKPASS can NOT use parameter
2024-07-10 10:47:43 +08:00
leo
7febac5843
ux: reduce datagride column header height
2024-07-09 19:15:02 +08:00
leo
c94f5877e3
fix: Ctrl+V
trigger twice due to async operation ( #249 )
2024-07-09 18:53:36 +08:00
leo
446445ee73
refactor: base command
2024-07-09 18:13:15 +08:00
leo
dda1e79c6f
code_style: remove unused namespace using
2024-07-09 17:58:17 +08:00
leo
9db050e8c2
fix: commit stucks when using SSH formatted GPG signing with a key contains non-empty passphrase
2024-07-09 17:56:23 +08:00
leo
386c92fa28
localization: add translations for histories datagrid column header
2024-07-09 16:42:07 +08:00
leo
06ba2fd733
feature: allow to resize the width of AUTHOR
column in histories ( #203 )
2024-07-09 16:29:41 +08:00
leo
738189393e
enhance: refresh working copy changes immediately after discard finished
2024-07-09 15:30:40 +08:00
leo
51a68027c8
ux: add a toggle button to reveal password
2024-07-09 15:26:46 +08:00
leo
c16bed1d9f
enhance: run commit search in background
2024-07-09 15:15:31 +08:00
leo
d3f7c31caf
fix: crash when clipboard is empty
2024-07-09 15:02:34 +08:00
leo
22d5927aa5
ux: default commit graph thickness
2024-07-09 13:04:39 +08:00
leo
6930b51c64
refactor: commandline parsing
...
* `--rebase-todo-editor` launches this app as a git `sequence.editor`
* `--rebase-message-editor` launches this app as a git `core.editor` which runs on background by reading rebasing jobs
* `--core-editor` launches this app as a git `core.editor`
* `--askpass` launches this app as a SSH askpass program
2024-07-09 12:20:52 +08:00
leo
cbe4c36525
feature: support git.core.askpass ( #239 )
2024-07-08 22:07:00 +08:00
leo
8fa19ecd0c
enhance: better commit graph
2024-07-08 18:10:26 +08:00
leo
7ee3db500a
refactor: json serialization
...
* move all converters to `App.JsonCodeGen.cs`
* use `ColorConverter` instead of parsing colors manually
2024-07-08 16:45:51 +08:00
leo
16d9b627f0
refactor: rename Models.CustomColorSchema
to Models.ThemeOverrides
because it do NOT contains only colors currently.
2024-07-08 16:21:57 +08:00
ghiboz
2c310e8cd4
Merge branch 'develop' into graph_thickness
2024-07-07 10:54:54 +02:00
leo
09b418374a
feature: add an option to enable -a,--all
in commit command ( #244 )
2024-07-07 10:28:14 +08:00
leo
fda13468c4
enhance: supports virtualization in sub context menu
2024-07-07 09:56:22 +08:00
leo
1d7b77e45f
fix: virtualization not working
2024-07-07 00:17:36 +08:00
leo
294f856150
fix: bounds not updated after left side bar layout updated
2024-07-06 23:50:54 +08:00
leo
b03ee19e54
refactor: trigger nagivation in BranchTree
2024-07-06 20:46:26 +08:00
leo
36b8472d02
enhance: improve selection changed event handler performance
2024-07-06 17:29:24 +08:00
leo
3197b4bfe8
refactor: use custom BranchTree instead of TreeView to improve performance
2024-07-06 17:17:41 +08:00
ghiboz
c0348b73bd
set pen thickness
...
"General": {
"Pen.Thickness": "4.4"
}
2024-07-05 14:02:30 +02:00
leo
1c524cf310
enhance: better sidebar layout
2024-07-05 10:46:00 +08:00
leo
3193693d77
ux: force using double-click to expand/collapse item in TreeView (not TreeDataGrid)
2024-07-04 20:08:37 +08:00
leo
91d73e2aa4
fix: layout do not updated after group was collapsed
2024-07-04 19:41:38 +08:00
leo
f904b3b71a
enhance: improve performance
2024-07-04 19:12:22 +08:00
leo
c03cc85232
enhance: skip update layout after detached from visual tree
2024-07-04 18:18:35 +08:00
leo
6553e27d36
refactor: rewrite the way to get local & remote branch tree height
2024-07-04 18:14:10 +08:00
leo
8faa8c7378
ux: more flex layout for left siderbar groups
2024-07-04 17:59:32 +08:00
leo
3ce580b682
fix: when the remote branch is deleted, deleting the local branch will throw NRE ( #238 )
2024-07-04 16:47:28 +08:00
leo
15e7df6085
ux: disable WordWrap in side-by-side diff because it may lead to alignment issue between two sides
2024-07-04 14:12:39 +08:00
leo
d822afc4ec
ux: trim text in diff editor if length of line is greater than 10000 ( #234 )
...
* ignore WordWrap while trimming text, because displaying the full content content with a length greater than 10000 is meaningless
2024-07-03 15:34:29 +08:00
leo
f4f4a26a64
enhance: remember last selected on common actions ( #231 )
...
* the way to deal with local changes on checkout branch page
* the way to deal with local changes and should checkout after created on new branch page
* should fetch without tags on fetch page
* the way to deal with local changes and should fetch without tags on pull page
* should push all tags on push
2024-07-03 14:42:21 +08:00
leo
7e16058148
ux: trim change path in information page
2024-07-03 01:15:36 +08:00
leo
b85958214f
enhance: supports customize system accent color ( #232 )
2024-07-03 00:17:41 +08:00
leo
997edae858
fix: tooltip not updated after theme changed ( #233 )
2024-07-03 00:03:24 +08:00
leo
54fb25257e
fix: binding error
2024-07-02 23:14:49 +08:00
leo
80f72676ec
ux: new custom theme configuration format
...
* supports customize the commit graph
2024-07-02 22:54:26 +08:00
leo
c170f261db
ux: re-design commit detail information page to avoid commit message hidden in scoll view
2024-07-02 20:59:28 +08:00
leo
50fe25a631
enhance: only load repository settings if file exists
2024-07-02 14:17:21 +08:00
leo
57a2144777
fix: try to fix the timezone issue ( #229 )
2024-07-02 12:30:12 +08:00
leo
4ef0f1180f
feature: add tooltip for branches ( #228 )
2024-07-02 10:23:21 +08:00
leo
68abb2d78b
fix: crash when clipboard is empty
2024-07-01 21:08:37 +08:00
leo
254eac11a1
enhance: paste text on subject
...
* for single line text, all text will be pasted in subject text box
* if paste in the middle of subject content, multi-line text will be transformed into single line text by `ReplaceLineEndings(" ")`
* if paste in the end of subject content, multi-line text will be split into two parts.
- first line will be pasted in the subject box
- remains will be pasted in the start of description box
2024-07-01 21:02:01 +08:00