Commit graph

309 commits

Author SHA1 Message Date
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
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
leo
09b418374a feature: add an option to enable -a,--all in commit command (#244) 2024-07-07 10:28:14 +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
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
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
80f72676ec
ux: new custom theme configuration format
* supports customize the commit graph
2024-07-02 22:54:26 +08:00
leo
50fe25a631
enhance: only load repository settings if file exists 2024-07-02 14:17:21 +08:00
leo
4ef0f1180f
feature: add tooltip for branches (#228) 2024-07-02 10:23:21 +08:00
leo
6dad466eef
feature: supports --no-tags on fetch and pull operation (#226) 2024-07-01 16:19:29 +08:00
leo
de1a4d14e8
enhance: disable blame on submodules 2024-07-01 13:45:48 +08:00
leo
0da30b6b89
enhance: better LFS file detect method 2024-07-01 13:30:57 +08:00
leo
f08acebb5e
enhance: better implementation to diff submodule changes while repository is not opened 2024-07-01 13:13:18 +08:00
leo
7f389b2e6f
refactor: move settings of repository, such as filters, commit message, from Preference to each repository's gitdir.
* avoid invalid repository setting remains in preference.json
* supports to restore tabs that not added to the Welcome page
2024-07-01 11:57:13 +08:00
leo
1241539260
refactor: custom renderer for launcher tab bar 2024-06-29 17:04:39 +08:00
leo
aee6df4132
feature: supports to search stashes (#213) 2024-06-28 18:57:56 +08:00
leo
3e54ab0227
enhance: makes Create New Branch option as the default selected mode for adding new worktree 2024-06-28 14:11:13 +08:00
leo
db8e534a0a
refactor: rewrite & redesign the ux for AddWorktree popup (#205) 2024-06-28 12:07:33 +08:00
leo
f8c4137c78
feature: supports to search/filter tags (#215) 2024-06-27 21:43:15 +08:00
leo
fa2c7c0e18
enhance: simpfy the way to lock a worktree 2024-06-27 19:19:21 +08:00
leo
8a8aabede3
feature: add worktree support (#205) 2024-06-27 18:25:16 +08:00
leo
e330862ec9
refactor: rewrite Launcher
* move main tabbar to a standalone control
* simpfy notification
2024-06-26 20:56:29 +08:00
leo
d2e3b683f1
code_style: make geometry icon resources list in order 2024-06-26 15:51:49 +08:00
leo
0c21bcd06a
enhance: Git LFS supports (#209)
* add a new context menu to push local LFS object to selected remote
* supports to choose remote for fetch/pull/push/lock/unlock actions
* auto select remote if there's only one remote
2024-06-26 11:50:22 +08:00
leo
faabfd6b80
enhance: save last visual line numbers in diff view (#207) 2024-06-25 18:15:31 +08:00
leo
bf44c0d8cc
enhance: forbid to rebase interactively if there're local changes 2024-06-25 10:32:53 +08:00
leo
2d4f8709ca
enhance: forbid to reword or squash when there're local changes 2024-06-25 10:26:31 +08:00
leo
dca8f8b39b
feature: warn when commit subject line goes beyond a certain number of characters (#201) 2024-06-23 15:45:54 +08:00
leo
bfd364752b
fix: crash while running WorkingCopy.Clear 2024-06-22 19:05:34 +08:00
Gadfly
aad91ea834
fix: NRE in WorkingCopy (#199) 2024-06-21 17:22:28 +08:00
leo
7070a07e15
feature: simple interactive rebase support (#188)
* Only allow to start interactive rebase from merged commit in current branch
* The order of commits in the interactive rebase window is as same as it's in histories page.
* Unlike anthor git frontend app `Fork`, you should edit the final message on the last commit rather than the  previous commit that will be meld into while squashing commits
2024-06-20 17:02:12 +08:00
leo
02ace694d0
Merge pull request #191 from ennerperez/feature/q-open-submodule
Quick open submodule
2024-06-20 09:27:48 +08:00
Enner Pérez
033fbc6383 OpenSubmodule Method 2024-06-19 13:24:33 -05:00
Giuseppe Lippolis
7b0444d317 feature: Allow populating the repository URL from the clipboard
Allow populating the repository URL from the clipboard if the clipboard contains a valid URL.
2024-06-19 17:45:40 +02:00
leo
fec2b402e0
code_review: PR #187
* replace icon with common whitespace icon in other editors
* button tooltip translations
* rename `_showHiddenSymbols` to `_showHiddenSymbolsInDiffView` to make its usage clear
* change the order of this button
2024-06-19 18:15:32 +08:00
Giuseppe Lippolis
9c7ac5b067 feature: Allows you to show space and tab symbols in DiffView 2024-06-19 11:33:34 +02:00
leo
dcc63e187b
enhance: remember the last selection of Use rebase instead of merge on pull for each repository (#185) 2024-06-19 15:37:05 +08:00
leo
a717e48a29
enhance: change the default action to deal with local changes on pull/checkout/create new branch to Do Nothing (#185) 2024-06-19 15:29:40 +08:00
leo
a168b05ac6
ux: re-design submodule preview in revision files 2024-06-19 14:24:49 +08:00
leo
e17e4b9a53
enhance: only show tracking options when file is not tracked by GIT LFS 2024-06-19 12:06:34 +08:00
leo
86226d5484
fix: tag.gpgsign setting not updated 2024-06-19 10:21:36 +08:00
leo
99afc74871
enhance: shows current histories filters and add a button to clear all histories filters (#184) 2024-06-18 18:27:57 +08:00
leo
09d88455c0
ux: new icon for track option 2024-06-18 14:55:22 +08:00
leo
08567a7420
ux: only show Set as tracking branch option if selected remote branch is not upstream of selected local branch 2024-06-18 14:28:48 +08:00
leo
a3c6431efa
feature: supports adding custom LFS track pattern 2024-06-18 14:14:13 +08:00
leo
c56d0cf85e
refactor: external diff merge tool - supports to use difftool/mergetool settings from git config directly (#181) 2024-06-18 12:10:38 +08:00
leo
06245320a9
feature: add a context menu item to open all repositories in a group (#179) 2024-06-18 11:07:48 +08:00
leo
ad2fc68c6b
feature: supports visit remote url in browser 2024-06-17 20:31:54 +08:00
leo
3afb134037
cleanup: remove duplicated 2024-06-17 19:44:54 +08:00
leo
bac82ad6cf
readme: add description for GIT LFS support 2024-06-17 18:33:43 +08:00
leo
9a0b10bd9c
enhance: Git LFS support 2024-06-17 18:25:57 +08:00
leo
89f9eb3d90 feature: add pattern to .gitignore by unstaged changes' context menu 2024-06-16 19:42:12 +08:00
leo
f204a744bd
fix: crash when try to open context menu without selected changes in Changes page 2024-06-15 14:50:05 +08:00
leo
6de92bb4d8
refactor: git-flow supports. 2024-06-15 12:44:35 +08:00
leo
9d3f186b44
code_style: run dotnet format 2024-06-14 09:46:30 +08:00