Commit graph

1468 commits

Author SHA1 Message Date
leo
183cb8a658
enhance: supports checking updates with hotfix version 2024-07-23 14:36:27 +08:00
leo
40d5a7c7f3
code_style: run dotnet format to apply rules 2024-07-23 13:58:57 +08:00
leo
e0319e3f9b
fix: ssh-askpass not working (#272) 2024-07-23 13:48:52 +08:00
leo
d4b262248a
fix: IntelliJ IDEA Ultimate and IntelliJ IDEA Community fallbacks to JetBrains common icon (#279) 2024-07-23 12:07:39 +08:00
leo
ef0cf76571
project: upgrade AvaloniaUI to 11.1.0 2024-07-23 11:45:54 +08:00
leo
eecea3529a
ux: lower contrast colors in diff view 2024-07-23 10:22:33 +08:00
leo
d8af6bd75f
feature: change minimal system requirement for macOS to 11.0 (#275) 2024-07-22 18:24:52 +08:00
leo
888bf54303
code_style: remove unused code 2024-07-22 16:41:35 +08:00
leo
b972bfd5f1
fix: missing empty check for %(upstream:trackshort) (#273) 2024-07-22 16:01:26 +08:00
leo
720b2b65f3
code_style: change static methods of ViewModels.Preference to member function 2024-07-22 15:34:31 +08:00
leo
1e0a2ab5f7
enhance: add -o StrictHostKeyChecking=accept-new option to ssh command 2024-07-22 11:33:34 +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
5b95344453
code_style: move commit methods to base class 2024-07-19 10:43:19 +08:00
leo
b2e6de3afa
ux: move ahead/behind indicator to front of refs 2024-07-19 10:08:41 +08:00
leo
9a15ff59d4
enhance: remove code not needed to improve performance 2024-07-19 09:47:59 +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
42f8e41985
ux: lower background opacity for selected hunk 2024-07-18 12:16:36 +08:00
leo
dbc95e7209
refactor: move some method from view to its data source class 2024-07-18 11:40:56 +08:00
leo
e64026d44c
fix: MakeSelection should not use UseSideBySideDiff directly 2024-07-18 11:26:47 +08:00
leo
14469b1399
theme: add ThemeOverrides.OpacityForNotMergedCommits to customize the opacity of commits that not belongs (haven't been merged) to current branch in histories (#268) 2024-07-18 10:46:39 +08:00
leo
b2ed1b283a
enhance: only replace hunk data if needed 2024-07-18 10:18:02 +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
a68b61da94
ux: background highlight margin 2024-07-17 17:14:46 +08:00
leo
26c59bfd0d
code_style: move common funtion to base class 2024-07-17 17:10:32 +08:00
leo
b7e0e38de3
feature: stage/unstage hunk (#265) 2024-07-17 16:56:16 +08:00
leo
b9ed0987eb
enhance: gc will use --prune argument 2024-07-16 18:04:16 +08:00
leo
6d888f8007
code_style: remove unused namespace using 2024-07-16 17:03:36 +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
72ca571c00
localization: add translations for commit time period 2024-07-16 14:06:02 +08:00
leo
80a7b73dd4
ux: style for commit time display mode toggle 2024-07-16 13:26:04 +08:00
leo
f9c8e4c699
code_style: remove unused code 2024-07-16 12:19:58 +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
9b21269844
update: unify external tool icons to 64x64 pixels 2024-07-15 21:30:00 +08:00
leo
950083df34
enhance: exit loop on the first path that out of canvas bound 2024-07-15 21:16:55 +08:00
leo
3b0f481e4b
ux: welcome toolbar button layout 2024-07-15 20:28:00 +08:00
leo
f15dd52fdd
code_style: use ?: instead of if...else branches 2024-07-15 17:20:55 +08:00
leo
dc407b6033
feature: add tooltip for commit time that shows how much time it is from now (#259)
* this tooltip does NOT update until it's owner row recreated or the DataContext of that row changed. You can scroll it out of bounds to force refresh the tooltip
2024-07-15 16:58:45 +08:00
leo
684fedb9bd
ux: icons 2024-07-15 15:47:28 +08:00
leo
d3095d44c4
ux: macOS close window button icon 2024-07-15 10:27:10 +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
24ca3eaf8c
ux: tree folder icon margin 2024-07-14 16:06:40 +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
38c6c7713e
ux: macOS close window icon 2024-07-13 10:03:45 +08:00
leo
fd5ec5ee46
ux: toggle change tree node should trigger rows selection changed event 2024-07-13 09:51:57 +08:00
leo
6206c6abbc
ux: remove unused styles 2024-07-12 17:42:03 +08:00
leo
1c204e72a1
refactor: remove dependency on Avalonia.Controls.TreeDataGrid 2024-07-12 17:14:52 +08:00
leo
7f228385f9
refactor: use cutom RevisionFileTreeView instead of TreeDataGrid 2024-07-12 13:54:38 +08:00
leo
b07aa9e63f
Merge pull request #254 from gadfly3173/fix/log-exception
fix: log UnobservedTaskException
2024-07-12 11:38:28 +08:00
leo
f53e16b6a1
ux: new node should not be selected 2024-07-12 11:11:15 +08:00
Gadfly
ce11c08aba
fix: log UnobservedTaskException 2024-07-12 11:09:46 +08:00
leo
3c770e2525
ux: tree toggle button 2024-07-12 11:01:02 +08:00
leo
67d0167278
fix: commits not marked as merged (#253) 2024-07-11 10:55:48 +08:00
leo
e5462f0086
code_style: run dotnet format to apply code style rules 2024-07-10 12:12:14 +08:00
leo
0ba58a6e9b
fix: ItemsPanel assign more than once 2024-07-10 12:04:01 +08:00
leo
4e13703b9d
fix: should not set DISPLAY env on Linux platform 2024-07-10 11:57:02 +08:00
leo
ca461d1926
fix: SSH_ASKPASS can NOT use parameter 2024-07-10 10:47:43 +08:00
leo
7febac5843
ux: reduce datagride column header height 2024-07-09 19:15:02 +08:00
leo
c94f5877e3
fix: Ctrl+V trigger twice due to async operation (#249) 2024-07-09 18:53:36 +08:00
leo
446445ee73
refactor: base command 2024-07-09 18:13:15 +08:00
leo
dda1e79c6f
code_style: remove unused namespace using 2024-07-09 17:58:17 +08:00
leo
9db050e8c2
fix: commit stucks when using SSH formatted GPG signing with a key contains non-empty passphrase 2024-07-09 17:56:23 +08:00
leo
386c92fa28
localization: add translations for histories datagrid column header 2024-07-09 16:42:07 +08:00
leo
06ba2fd733
feature: allow to resize the width of AUTHOR column in histories (#203) 2024-07-09 16:29:41 +08:00
leo
738189393e
enhance: refresh working copy changes immediately after discard finished 2024-07-09 15:30:40 +08:00
leo
51a68027c8
ux: add a toggle button to reveal password 2024-07-09 15:26:46 +08:00
leo
c16bed1d9f
enhance: run commit search in background 2024-07-09 15:15:31 +08:00
leo
d3f7c31caf
fix: crash when clipboard is empty 2024-07-09 15:02:34 +08:00
leo
22d5927aa5
ux: default commit graph thickness 2024-07-09 13:04:39 +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
8fa19ecd0c
enhance: better commit graph 2024-07-08 18:10:26 +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
ghiboz
2c310e8cd4 Merge branch 'develop' into graph_thickness 2024-07-07 10:54:54 +02:00
leo
09b418374a feature: add an option to enable -a,--all in commit command (#244) 2024-07-07 10:28:14 +08:00
leo
fda13468c4 enhance: supports virtualization in sub context menu 2024-07-07 09:56:22 +08:00
leo
1d7b77e45f fix: virtualization not working 2024-07-07 00:17:36 +08:00
leo
294f856150 fix: bounds not updated after left side bar layout updated 2024-07-06 23:50:54 +08:00
leo
b03ee19e54
refactor: trigger nagivation in BranchTree 2024-07-06 20:46:26 +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
ghiboz
c0348b73bd set pen thickness
"General": {
    "Pen.Thickness": "4.4"
  }
2024-07-05 14:02:30 +02:00
leo
1c524cf310
enhance: better sidebar layout 2024-07-05 10:46:00 +08:00
leo
3193693d77
ux: force using double-click to expand/collapse item in TreeView (not TreeDataGrid) 2024-07-04 20:08:37 +08:00
leo
91d73e2aa4
fix: layout do not updated after group was collapsed 2024-07-04 19:41:38 +08:00
leo
f904b3b71a
enhance: improve performance 2024-07-04 19:12:22 +08:00
leo
c03cc85232
enhance: skip update layout after detached from visual tree 2024-07-04 18:18:35 +08:00
leo
6553e27d36
refactor: rewrite the way to get local & remote branch tree height 2024-07-04 18:14:10 +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
15e7df6085
ux: disable WordWrap in side-by-side diff because it may lead to alignment issue between two sides 2024-07-04 14:12:39 +08:00
leo
d822afc4ec
ux: trim text in diff editor if length of line is greater than 10000 (#234)
* ignore WordWrap while trimming text, because displaying the full content content with a length greater than 10000 is meaningless
2024-07-03 15:34:29 +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
7e16058148
ux: trim change path in information page 2024-07-03 01:15:36 +08:00