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