Commit graph

333 commits

Author SHA1 Message Date
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