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
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
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
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
85ce2f9cab
enhance: prevent property changed event if it is unchanged
2024-07-26 10:23:19 +08:00
leo
e9fa9a42ca
enhance: add Views.CommitRefsPresenter
to draw commit's decorators (refs) directly
2024-07-25 15:31:16 +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
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
fa9990c38c
code_style: move SourceGit.ViewModels.RepositorySettings
to SourceGit.Models.RepositorySettings
2024-07-23 14:52:25 +08:00
leo
720b2b65f3
code_style: change static methods of ViewModels.Preference to member function
2024-07-22 15:34:31 +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
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
dbc95e7209
refactor: move some method from view to its data source class
2024-07-18 11:40:56 +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
b7e0e38de3
feature: stage/unstage hunk ( #265 )
2024-07-17 16:56:16 +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
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
684fedb9bd
ux: icons
2024-07-15 15:47:28 +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
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
e5462f0086
code_style: run dotnet format
to apply code style rules
2024-07-10 12:12:14 +08:00
leo
738189393e
enhance: refresh working copy changes immediately after discard finished
2024-07-09 15:30:40 +08:00
leo
c16bed1d9f
enhance: run commit search in background
2024-07-09 15:15:31 +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