Commit graph

290 commits

Author SHA1 Message Date
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
6bd0920d71
feature: enable syntax highlighting in revision files view (#333) 2024-08-08 10:12: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
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
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
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
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
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
58357f031d
ux: add a new icon Icons.Stashes.Add 2024-08-01 11:45:20 +08:00
leo
ec6fe25e87
code_style: run dotnet format 2024-07-31 16:26:58 +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
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
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