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
leo
68061f82b1
refactor: rewrite TextDiffView
2024-06-12 21:12:45 +08:00
leo
eab680ae55
fix: reset current revision file content when selected commit changed
2024-06-12 12:13:45 +08:00
leo
2078886bc9
fix: close popup if current page is the last one
2024-06-12 12:08:19 +08:00
leo
b59c12e1f0
ux: re-design UI for checkout commit as deteched action
2024-06-12 11:42:22 +08:00
leo
662c9e1580
enhance: remember last WindowState of Launcher
2024-06-12 10:22:26 +08:00
leo
7c79340cc1
fix: view not update after Close Other Tabs
clicked
2024-06-11 17:04:28 +08:00
leo
f977e76ea7
feature: remember window size and layout information ( #165 )
2024-06-11 16:36:52 +08:00
leo
7f2e22def6
feature: supports branch compare ( #174 )
2024-06-11 15:30:06 +08:00
leo
c3cbb6d895
fix: submodule diff missing commit message
2024-06-08 21:13:59 +08:00
leo
9e45a8a77d
enhance: only store subject in commits.
...
It has several advantages:
* reduce the memory costed by histories
* higher performance while parsing commits
* no need to calculate subject every time, which is invoked most frequently to render histories
2024-06-08 12:19:48 +08:00
leo
6426da3289
enhance: supports search commits by changed file path like src/Commands/*
or */Add.cs
.
2024-06-07 18:43:37 +08:00
leo
bacc1c85ad
enhance: reduce memory usage by commit detail view
2024-06-07 17:29:55 +08:00
leo
78c7168a46
enhance: make commit's subject the same with pretty print parameter %s
in git log
command
2024-06-07 12:31:10 +08:00
leo
b4e01a8b93
refactor: commits only hold the end position of subject in body
2024-06-06 20:59:09 +08:00
leo
064d04fccc
enhance: improve QueryCommits performance
2024-06-06 20:25:16 +08:00
leo
1a18235a76
fix: tab splitter visible issue
2024-06-06 18:25:28 +08:00
leo
5514c56a29
refactor: more efficient way to update the visibility of tab splitters
2024-06-06 18:09:35 +08:00
leo
4610f702b3
code_style: run dotnet format
2024-06-06 15:31:02 +08:00
leo
8b1f28ac95
enhance: show file size change in image diff
2024-06-06 10:36:17 +08:00
leo
7b71f8512d
ux: re-arrange options in apperance page
2024-06-05 18:32:55 +08:00
leo
7d49d2b913
Merge pull request #167 from gadfly3173/fix/add-remote-ssh
...
fix: remove null-check of sshKey in AddRemote and change command execution order
2024-06-05 18:25:57 +08:00
leo
62e5ed8a42
enhance: supports user overrides the default color schema
2024-06-05 18:23:28 +08:00
Gadfly
1adf18c724
fix: remove null-check of sshKey in AddRemote and change command execution order
2024-06-05 17:45:10 +08:00
leo
78000b6d1a
fix: show a empty commit with sha in submodule diff view if commit has been dropped
2024-06-05 13:54:52 +08:00
leo
57540b960a
code_style: remove unused using
2024-06-04 21:05:23 +08:00
leo
802b429cc8
enhance: supports word wrap in text diff view
2024-06-04 20:26:47 +08:00
leo
d0edc09b2e
refactor: add a popup panel to show submodule updating status
2024-06-04 11:36:00 +08:00
leo
4b0af79f73
enhance: GPG signing settings.
...
* remove gpg format settings from repository's local setting
* add support for X.509 format
* ux style
2024-06-04 10:20:31 +08:00
leo
6a98af17e4
ux: add missing progress description
2024-06-03 10:18:35 +08:00
leo
49ce07443e
fix: application data dir may not have been created before crash ( #161 )
2024-06-03 09:44:12 +08:00
leo
9d9dd6acb5
code_review: PR #160
...
* should be `Icons.Copy` not `Icon.Copy`
* remove unused using
* keep the same code style in a function
2024-06-01 12:34:16 +08:00
Giuseppe Lippolis
33c9771f58
feat: Allow Copy only file name with extension
2024-05-31 16:37:36 +02:00
Gadfly
80dfa059ce
feat: add gpg format switcher
2024-05-31 00:25:30 +08:00
leo
73cfeca8a9
fix: memory leak caused by animation
2024-05-30 17:30:54 +08:00
leo
fa3a3b2dad
refactor: code cleanup
2024-05-30 15:13:59 +08:00
leo
55c9fae110
feature: new way to expand/collapse folder node in TreeDataGrid
2024-05-30 09:53:07 +08:00
leo
f4d379e3b8
Merge pull request #153 from Hammerliu/fix_crash
...
Fix the crash caused by pushing without a branch
2024-05-29 22:05:37 +08:00
leo
ea1bfad84d
revert: disable double-click folding/unfolding because it will cause IndexOutOfRange exception
2024-05-29 21:56:03 +08:00
DESKTOP-L3MJ80L\hamme
7ec21e2e53
Fix the crash caused by pushing without a branch
2024-05-29 21:31:46 +08:00
leo
9d13b17aaf
feature: double-click on single-selecte change tree or file tree will expand/collapse folder node
2024-05-29 20:48:51 +08:00
leo
f8b327746c
Merge branch 'develop' into feature/treedatagrid
2024-05-29 16:45:51 +08:00
leo
0b09d210be
feature: allow to ignore local changes also when switching branch or pulling changes ( #151 )
2024-05-29 16:42:47 +08:00
leo
179887339e
Merge branch 'develop' into feature/treedatagrid
...
# Conflicts:
# src/Views/CommitDetail.axaml
2024-05-29 13:09:25 +08:00
leo
69f9dceece
feature: new way to display changes of submodules
2024-05-29 12:50:26 +08:00
leo
b192a1c423
refactor: use TreeDataGrid instead of TreeView/DataGrid to improve performance ( #148 )
2024-05-29 10:42:24 +08:00
leo
52ef0db427
feature: add a context menu item to compare selected branch/revision with current worktree
2024-05-27 21:05:15 +08:00
leo
4249653ed6
feature: add context menu for both branch and commit to compare selected with current HEAD
2024-05-27 17:21:28 +08:00
leo
1040bbe4d2
feature: add buttons to increase/decrease visible lines in text diff view ( #145 )
2024-05-27 10:29:15 +08:00
leo
8d27690473
code_style: keep ux/code in a uniform style
2024-05-26 14:35:57 +08:00
leo
66f2aab6a7
code_review: review for PR ( #147 )
...
* code style
* localizations for zh_CN
2024-05-26 14:25:21 +08:00
Filipe Ramalho
db9ca5ba25
Merge branch 'develop' into feature/allowing_to_checkout_commit
2024-05-25 15:43:27 -03:00
Filipe Ramalho
8aa1690cde
Adding checkout commit menu and dialog
2024-05-25 15:11:24 -03:00
Filipe Ramalho
b0c00340a8
Making local detached branch HEAD as the first item below folders
2024-05-25 15:09:40 -03:00
leo
a52124c479
feature: add Do Nothing
option to deal with local changes before creating a new branch ( #143 )
2024-05-25 19:40:30 +08:00
leo
754a2527f5
feature: allow changing of tracking branch on push ( #142 )
2024-05-25 11:37:06 +08:00
leo
8e3a8f4c06
optimize: new way to update corner radius of branch tree node to improve performance ( #137 )
2024-05-25 11:15:07 +08:00
leo
6fe96d629a
feature: allow deleting multiple branches at one time ( #137 )
2024-05-25 01:31:59 +08:00
leo
c10778c413
enhance: add an option to push tag to all remotes after created ( #141 )
2024-05-24 10:47:37 +08:00
leo
b556feb3d3
enhance: tag creation & pushing ( #141 )
...
* supports creating lightweight tags
* supports GPG signed tags
* add option to push selected tag to all remotes
2024-05-24 10:31:20 +08:00
leo
0aea822499
enhance: remote ssh private key validation
2024-05-21 11:52:30 +08:00
leo
8fea9fecfb
refactor: implementation to delete branches
2024-05-21 09:58:31 +08:00
leo
faf2c39056
refactor: rewrite Preference.FindOrAddNodeByRepositoryPath
...
* prevent moving node while opening repository directly from commandline
* supports to set parent node while dropping folder to initialize repository
2024-05-20 17:39:31 +08:00
leo
8d726656dc
feature: supports to open repository directly from commandline on Linux
2024-05-20 15:15:08 +08:00
leo
8d6481c694
feature: supports to open a repository directly from commandline ( #134 )
2024-05-20 14:39:05 +08:00
Gadfly
6e35ee64da
fix: remove SearchResultSelectedCommit from preference.json
2024-05-15 16:20:31 +08:00
leo
c48d69362e
enhance: performance of filtering branch
2024-05-14 18:50:36 +08:00
leo
02e71d4d75
feature: supports filter displayed branches
2024-05-14 11:47:56 +08:00
Gadfly
7520a2a7b6
feat: Add config of auto fetch interval
2024-05-11 17:37:54 +08:00
leo
764cf24284
code_review: PR #120
...
* remove unnecessary code. The `SetProperty` function takes care of set same property in a loop
2024-05-10 16:30:34 +08:00
leo
efd8e72c4e
Merge pull request #120 from gadfly3173/fix/handle-select-changed
...
fix: update search filter selected commit after Histories selected commit changed
2024-05-10 16:24:25 +08:00
Gadfly
592d087e05
fix: update search filter selected commit after Histories selected commit changed
2024-05-10 16:04:03 +08:00
leo
37f5472186
ux: do not show /dev/null
in DiffView for new file
2024-05-10 16:01:20 +08:00
leo
cebe07695a
fix: issue cause by commit eeb6abb560
2024-05-07 15:52:04 +08:00
leo
eeb6abb560
fix: avoid duplicated nodes being added into the repository tree
2024-05-07 15:50:26 +08:00
leo
207e82b391
enhance: keep repository tree sorted by name
2024-05-07 15:28:54 +08:00
leo
15456f0dee
code_style: use ?:
operator instead of if...else
2024-05-07 14:28:34 +08:00
leo
4af8cc18d2
fix: welcome page should use a shared singleton instance to manage and filter repositories ( #117 )
2024-05-07 14:12:52 +08:00
leo
37b5f5c083
feature: enhance the behaviour of closing the last tab
...
* If the last tab is an opened repository, go back to the welcome page
* If the last tab is welcome page, quit this app
2024-05-07 10:44:46 +08:00
leo
b651835de0
enhance: hotkeys
...
* add `Shift+Ctrl+Tab` (`⌘+⌥+←` on macOS) to go to previous page
* use `ESC` to cancel commit searching
* enable `AutoFocusBehaviour` on `CommitChanges` and `RevisionFiles` tab
2024-05-06 10:22:13 +08:00
leo
d87716dc86
fix: disable removing repository at startup ( #90 )
2024-05-06 07:09:27 +08:00
leo
d46979a0c5
feature: add a checkbox to also delete the tracking remote branch ( #99 )
2024-05-05 19:45:28 +08:00
Gadfly
2e60c98eee
fix: keep selected commit after _commits var reassigned
2024-05-03 21:04:43 +08:00
leo
a5150edee0
code_style: rename platform_finder
to platformFinder
and run dotnet format
to apply code style rules
2024-04-29 17:55:38 +08:00
leo
776605cb68
code_review: PR #98
...
* remove the `Leave` option (it may lead to an undefined behaviour), so user can only choose `Stash & reapply` or `Discard`.
* re-design the UI
* remove unused resources
2024-04-29 17:22:22 +08:00
Alexander Bogomolets
927a1cab24
Add checkout local changes handling
...
This commit adds the local changes handling behavior for branch checkout.
One of three can be selected: stash and reapply after checkout, discard changes or leave them as is (previous behaviour)
2024-04-29 16:40:20 +08:00
leo
84568e573a
feature: test if conflicts have been resolved manually ( #96 )
2024-04-29 10:54:41 +08:00
leo
df66bacbd2
enhance: reset commit message after a merge request has been aborted
2024-04-29 09:31:04 +08:00
leo
32e685622b
enhance: disable some MenuItems if repository that linked by node has been auto-removed from Preference ( #90 ).
2024-04-28 13:51:44 +08:00
leo
9b5e8429b9
feature: add hotkey 'F5' to reload/refresh whole repository
2024-04-28 10:19:12 +08:00
leo
86c89e0c33
feature: use MERGE_MSG as default commit message while merging ( #88 )
2024-04-26 21:05:00 +08:00
leo
ea1d0bf6a2
fix: bug - rename local branch name should only check names with other local branches
2024-04-26 14:25:14 +08:00
leo
003ad66ccb
ux: add menu icon for git-flow
2024-04-15 15:07:07 +08:00
leo
ab26bb83e9
refactor: re-design toolbar of Views.DiffView
2024-04-14 12:27:09 +08:00
leo
7b5534a267
code_style: run dotnet format
to apply rules defined in .editorconfig
2024-04-13 19:24:45 +08:00
Gadfly
54c9552985
refactor: remove duplicate ObjectConverters, remove unused using
2024-04-13 18:54:46 +08:00
Gadfly
f4e1e0fb6b
fix: use TextTrimming alternative PathConverters
2024-04-13 02:05:26 +08:00
Gadfly
a249eed1ac
feat: show git file mode change if exist
2024-04-12 21:38:36 +08:00
leo
f3f39ac593
feature: supports resolving multiple conflicts at once.
2024-04-11 20:50:19 +08:00
leo
b8da3e9afd
enhance: use diff
command instead of show
command to get changes of selected commit. ( #56 )
...
* for merge commit, it will shows all changes compare to the first parent of the selected commit now.
2024-04-09 16:02:42 +08:00
leo
17fc7ab994
ux: add icons for external merge tools
2024-04-09 15:00:52 +08:00
leo
4882fd9d69
refactor: external tools and shells
...
* rename Models.ExternalMergeTools to Models.ExternalMerger
* supports Git Bash/PowerShell/Command Prompt/Default Shell in Windows Terminal
2024-04-09 10:41:37 +08:00
leo
4ac705f8ca
feature: add powershell support for Windows
2024-04-08 17:39:52 +08:00
leo
8adf11b64c
fix: crash when create image from a empty stream
2024-04-08 10:24:28 +08:00
leo
8dd1ce9185
refactor: rewrite Commands.QueryFileContent and use it instead of GetImageFileAsBitmap
2024-04-08 09:57:41 +08:00
leo
9a4f928ece
fix: DataGrid does NOT scroll when navigation target is the same as current selected in Views.Histories. ( #58 )
2024-04-07 21:19:02 +08:00
leo
d09e81b80a
fix: remove unused using
2024-04-07 20:06:04 +08:00
leo
24b6e39066
feature: add context menu for changes in Views.CommitDetail and Views.RevisionCompare to diff with external merge tool ( #53 )
2024-04-07 20:02:43 +08:00
leo
e5be649a2d
fix: Github REST API access rate limit ( #60 )
2024-04-07 09:54:35 +08:00
leo
d873f21b6a
fix: crash when open external tool drop down menu
2024-04-06 15:01:07 +08:00
leo
111bf2966a
refactor: rewrite external editor supports
...
* supported editors can be different on different platforms.
* display founded editors only
2024-04-06 13:14:22 +08:00
leo
d986aa7165
feature: add button to navigate to current HEAD ( #50 )
2024-04-02 20:54:57 +08:00
leo
96d4150d26
project: reorganize the structure of the project.
...
* remove dotnet-tool.json because the project does not rely on any dotnet tools.
* remove Directory.Build.props because the solution has only one project.
* move src/SourceGit to src. It's not needed to put all sources into a subfolder of src since there's only one project.
2024-04-02 20:00:33 +08:00
Enner Pérez
a1a14f8858
Project Location
2024-03-20 02:38:28 -05:00
leo
f175f5abc1
optimize: use combined diff view as default.
2024-03-20 13:08:01 +08:00
leo
18aaa0a143
style: add .editorconfig for code formatting. see issu #25
2024-03-18 09:37:06 +08:00
Enner Pérez
c0a079de41
Source Generated Regex
2024-03-16 04:09:27 -05:00
leo
f93dec5e6a
style: Blame & FileHistories window style
2024-03-15 10:41:36 +08:00
leo
f4b396596b
feature: shows selected revision file size if it's a binary file
2024-03-14 11:59:56 +08:00
leo
f6eb1281b5
enhance: force using StringComparison.Ordinal
2024-03-14 11:09:05 +08:00
leo
a37c11e32f
enhance: better sync scroll logic with two-side diff - if the width in each side is different
2024-03-12 16:14:22 +08:00
leo
2ec46c9da0
feature: prefer same name if new branch is created based on a remote branch
2024-03-08 18:01:29 +08:00
leo
8d533e5270
style: UseRebase and AutoStash perfered selected by default
2024-03-08 17:49:03 +08:00
leo
267c955c88
style: views supports Linux
2024-03-08 11:28:17 +08:00
leo
a89760c7a5
refactor: change the way to refresh repository's data.
...
* mark dirty instead of calling refresh method directly
* force mark branches data dirty after remotes changed
2024-03-08 09:57:29 +08:00
leo
3eb8a82005
feature: use branch's fullname to create new branch based on selected one
2024-03-08 09:29:54 +08:00
leo
d0e80be79f
feature: enhance commit search
...
* Supports search commits by author/committer email
* Auto focus when search panel is visible
2024-03-07 16:29:24 +08:00
leo
3bf962d745
feature: remember last active tab index if restore tabs is enabled
2024-03-06 19:46:19 +08:00
leo
f00ecbd0a1
fix: should not use Active to close a running popup.
2024-03-05 17:16:33 +08:00
leo
60e664ab26
optimize<*>: use custom view locator instead of ContentControl.DataTemplates to avoid memory leak.
2024-03-02 23:34:32 +08:00
leo
27d4dd5f64
style<*>: remove unused usings
2024-03-02 22:06:47 +08:00
leo
307e5a5ef0
fix<Repository, History>: wrong context menu IsEnabled state.
...
* 'Pull' should always enabled for local branch with remote upstream
* 'Discard All Changes' for current branch should only be enabled when there's at least one changes
* 'Fast Forward' should check if target local branch has any commit ahead of it's upstream
2024-03-01 19:12:22 +08:00
leo
7b70951c93
style<Launcher>: supports two size rules for tabs in titlebar - fixed width or size to content
2024-03-01 14:09:39 +08:00
leo
e3a7abe776
style<Repository>: normalize repository's path
2024-03-01 13:46:00 +08:00
leo
1c005983c7
fix<Discard>: wrong discard behavior with changes both in worktree and staged
2024-03-01 11:34:32 +08:00
leo
2b97d7c599
feature<TextDiffView>: do NOT reset scroll offset after recompute diff with same change
2024-02-29 11:29:54 +08:00
leo
096fd6cb22
feature<TextDiffView>: supports discard changes from staged directly
2024-02-29 10:59:59 +08:00
leo
1149c768d3
refactor<NameHighlightedTextBlock>: use NameHighlightedTextBlock's constructor instead of functions in each caller
2024-02-28 18:55:23 +08:00
leo
671e46f8b3
feature<TextDiffView>: supports line staging/unstaging in working copy diff view
2024-02-28 14:55:11 +08:00
leo
2aacec75b4
optimize<*>: add a static method CreateMenuIcon to App. Restore working copy changes' selection state after refreshed
2024-02-27 18:26:05 +08:00
leo
9c3294c285
optimize<*>: App.RaiseException should be called in UIThread; add default progress description for popups;
2024-02-26 11:29:57 +08:00
leo
f4c82ff749
fix<Fetch>: start fetch from remote's context menu should only fetch selected remote
2024-02-26 09:38:25 +08:00
leo
68ddeb4cc5
refactor<Statistics>: use committer instead of author
2024-02-25 11:32:15 +08:00
leo
e070b79d2c
feature<Statistics>: finish statistiscs
2024-02-23 19:16:28 +08:00
leo
49f6ad0407
feature<Avatar>: supports gravatar.com and cravatar.cn (for China)
2024-02-23 11:39:05 +08:00
leo
79084c9a9a
fix<Clone>: fix crash after clone a new repository
2024-02-22 11:05:20 +08:00
leo
faffba09c8
fix<Submodules>: compatible with un-inited submodule
2024-02-21 12:26:09 +08:00
leo
353557ec10
fix<Native>: fix wrong file filter on macOS platform.
2024-02-21 11:29:46 +08:00
leo
dbd91c9b58
style<Repository>: arrange buttons in Repository's tool bar
2024-02-21 10:14:42 +08:00
leo
57c4a8394c
optimize<*>: reduce memory usage
2024-02-20 18:27:59 +08:00
leo
49154afe48
feature<Launcher>: finish restore opened tabs
2024-02-19 19:54:53 +08:00
leo
df16622335
fix<ExternalMergeTool>: ignore type change on serialization
2024-02-19 16:25:50 +08:00
leo
e7219b4278
feature<ExternalMergeTool>: use default path if file exists after tool changed
2024-02-19 16:19:12 +08:00
leo
09b96b148c
optimize<WorkingCopy>: reset detail before commit
2024-02-19 10:33:28 +08:00