Commit graph

1468 commits

Author SHA1 Message Date
leo
f5b35d3db2
refactor: replace all window with custom ChromelessWindow 2024-06-13 11:54:10 +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
78654243a0
ux: trim subject if it's too long to display 2024-06-12 12:04:51 +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
8bcce5f723
fix: missing subject for the last commit (oldest in commit graph) 2024-06-11 11:08:20 +08:00
leo
c3cbb6d895 fix: submodule diff missing commit message 2024-06-08 21:13:59 +08:00
leo
4ec93b9d75 enhance: remove nextPartIdx bound check 2024-06-08 14:45:18 +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
89f2d3dd11
localization: remove unused keys 2024-06-07 17:38:12 +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
b0c14ab3e4
fix: tab splitter visible issue 2024-06-06 17:17:58 +08:00
leo
4610f702b3
code_style: run dotnet format 2024-06-06 15:31:02 +08:00
leo
ed62174942
localization: add missing translations for zh_TW 2024-06-06 11:26:43 +08:00
leo
7201f71e4b
feature: add Traditional Chinese option (#172) 2024-06-06 11:15:22 +08:00
leo
7c2edd8fbc
Merge pull request #172 from gba3124/feature-zh_TW-i18n
feat: add support for Traditional Chinese (zh_TW) i18n
2024-06-06 11:13:30 +08:00
leo
cf02c890bf
ux: re-design the image diff view 2024-06-06 11:09:28 +08:00
owen
2099f8e17e feat: add support for Traditional Chinese (zh_TW) i18n 2024-06-06 10:41:22 +08:00
leo
8b1f28ac95
enhance: show file size change in image diff 2024-06-06 10:36:17 +08:00
leo
54ef9c0bf7
refactor: use bindings instead of sync manually 2024-06-06 10:01:14 +08:00
leo
e432559a5e
enhance: only change the selected changes if it is necessary 2024-06-06 09:53:26 +08:00
leo
2c0a58a99b
ux: default color scheme with high contrast 2024-06-05 21:11:44 +08:00
leo
557e6b48de
Merge pull request #170 from ccyr119/develop
ux: get brush color for LineBackgrounRenderer from themes
2024-06-05 21:06:48 +08:00
leo
87dccda8ff
fix: solve warnings - Layout cycle detected 2024-06-05 21:04:19 +08:00
Chuanyan.Chen
7836f57904 ux: get brush color for LineBackgrounRenderer from themes 2024-06-05 20:34:56 +08:00
leo
0c618998b2
refactor: sync scroll implement 2024-06-05 20:33:33 +08:00
leo
ce35a0365d
fix: sync scroll not working 2024-06-05 19:56:45 +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
9aca84533c
ux: color scheme for revision compare 2024-06-05 14:20:01 +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
1870dcd468
fix: select item in tree not work 2024-06-05 13:21:01 +08:00
leo
ce9a3dad2f
enhance: improve commit and stash parsing time 2024-06-05 11:46:31 +08:00
leo
57540b960a
code_style: remove unused using 2024-06-04 21:05:23 +08:00
leo
d1eb9e15ef ux: use TextTrimming="CharacterEllipsis" for diff view title 2024-06-04 20:34:18 +08:00
leo
802b429cc8 enhance: supports word wrap in text diff view 2024-06-04 20:26:47 +08:00
leo
d2ea90be23 ux: Opacity for selected items 2024-06-04 17:29:08 +08:00
leo
4be068eb21 update: remove unused resources 2024-06-04 14:52:05 +08:00
leo
863f88133c refactor: using command binding instead of routed event binding 2024-06-04 13:10:48 +08:00
leo
d0edc09b2e refactor: add a popup panel to show submodule updating status 2024-06-04 11:36:00 +08:00
leo
5886997389 enhance: QuerySingleCommit supports X.509 and SSH gpg signing formats 2024-06-04 10:27:52 +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
0e6a08860a ux: use DataGrid instead of ChangeCollectionView for changes in INFORMATION page 2024-06-03 10:06:23 +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
f1f54bf6fe fix: force re-create the tree instead of only rebuild the source for the tree (#157) 2024-06-02 14:06:27 +08:00
leo
9d88ae466f fix: xaml errors in Rider 2024-06-01 12:58:59 +08:00
leo
f1ff969090 fix: change list in grid mode looks and works weird (#157) 2024-06-01 12:46:31 +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
leo
04e6ed45a7
Merge pull request #160 from workgroupengineering/feature/CopyFileName
feat: Allow Copy only file name with extension
2024-06-01 12:19:03 +08:00
leo
1257234712 fix: binding errors in xaml 2024-06-01 12:13:57 +08:00
Giuseppe Lippolis
33c9771f58 feat: Allow Copy only file name with extension 2024-05-31 16:37:36 +02:00
Gadfly
693648a321
fix: i18n use en_US.axaml as default language resource 2024-05-31 21:59:56 +08:00
leo
7c8b04e84e ux: foreground color for dark theme (#156) 2024-05-31 14:18:08 +08:00
leo
7f29d313c7 fix: commit graph rendering bug 2024-05-31 14:05:38 +08:00
Gadfly
198cf04c09 fix: IsEnabled handler not triggered when GPGFormat changed 2024-05-31 11:39:15 +08:00
Gadfly
80dfa059ce
feat: add gpg format switcher 2024-05-31 00:25:30 +08:00
leo
b2996acb7b ux: better change list layout in commit detail's INFORMATION page 2024-05-30 20:03:36 +08:00
leo
0a0551bd72 ux: popup running icon 2024-05-30 18:09:42 +08:00
leo
bf96823804 ux: style for revision comparison with current worktree 2024-05-30 18:08:32 +08:00
leo
73cfeca8a9 fix: memory leak caused by animation 2024-05-30 17:30:54 +08:00
leo
092bf15906 enhance: reduce CPU usage 2024-05-30 16:28:21 +08:00
leo
b6e087259b fix: memory leak caused by animation 2024-05-30 16:12:28 +08:00
leo
8ae864a14d enhance: better support for signed commits (#154) 2024-05-30 15:18:26 +08:00
leo
fa3a3b2dad refactor: code cleanup 2024-05-30 15:13:59 +08:00
leo
04f4293421 fix: remove binding to SelectedChanges from change list in the INFORMATION page 2024-05-30 10:00:24 +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
a382a3e564 revert: csproj changes for debuging 2024-05-29 20:51:24 +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
cce4e5348c Merge branch 'develop' into feature/treedatagrid 2024-05-29 19:44:45 +08:00
leo
ec2d9c4cbe enhance: the character between version's minor and build part maybe '-' 2024-05-29 19:43:46 +08:00
leo
025d468b40 code_review: PR (#152) 2024-05-29 18:53:38 +08:00
leo
13f7279c45
Merge pull request #152 from gadfly3173/fix/git-version
feat: show tooltip if git version too low
2024-05-29 17:56:18 +08:00
Gadfly
2f7ef1ef2b feat: show tooltip if git version too low 2024-05-29 17:47:34 +08:00
leo
7154221946 ux: new style for ChangeViewModeSwitcher 2024-05-29 17:31:01 +08:00
leo
fdc41515b7 ux: remove text decorators of commit SHA in the left panel of FileHistories 2024-05-29 17:08:41 +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
98fdff7543 code_style: code cleanup 2024-05-29 16:01:12 +08:00
leo
012e28ec8d ux: alignment for commit changes in CommitDetail page 2024-05-29 14:25:43 +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
1161738df9 enhance: a more adaptable regular expression for remote URLs (#149) 2024-05-29 11:20:15 +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
211e4b24c1 ux: layout for CheckoutCommit 2024-05-27 20:09:19 +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
leo
e00bc4e630
Merge pull request #147 from filipeRmlh/feature/allowing_to_checkout_commit
Feature/allowing to checkout commit
2024-05-26 13:37:59 +08:00
leo
dc63e39c69 fix: warning about EnumConverters.Equals 2024-05-26 12:17:15 +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
Filipe Ramalho
4750ad0d07 Adding HEAD decorator markup in the Graph 2024-05-25 15:05:32 -03:00
Filipe Ramalho
8aeb7ed17c Adding command to checkout commit 2024-05-25 14:27:42 -03:00
leo
5f333fc781 ux: using SystemAccentColor instead of Color.Accent1 2024-05-25 20:06:49 +08: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
9f0ec7d60d ux: search box corner radius 2024-05-25 11:50:59 +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
476f9265e1 fix: at least two selected branches are required 2024-05-25 01:36:08 +08:00
leo
6fe96d629a feature: allow deleting multiple branches at one time (#137) 2024-05-25 01:31:59 +08:00
leo
99794e7ff7 localization: update Text.CreateTag.GPGSign 2024-05-24 10:57:19 +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
0dea7ed0e2 fix: context menu did NOT closed after its placement target being recycled (#140) 2024-05-23 21:24:22 +08:00
leo
e9208ef112 ux: titlebar height on macOS 2024-05-23 09:44:56 +08:00
leo
82b00b357b ux: change delay time to show/hide scrollbar (#139) 2024-05-22 09:55:41 +08:00
leo
717e6b4faf enhance: a more adaptable regular expression for remote URLs (#136) 2024-05-21 14:35:14 +08:00
leo
0aea822499 enhance: remote ssh private key validation 2024-05-21 11:52:30 +08:00
leo
ef20c174ae ux: tabs using system accent color 2024-05-21 11:06:05 +08:00
leo
2e58da7c2a ux: use SystemAccentColor and SystemListLowColor 2024-05-21 10:54:19 +08:00
leo
8fea9fecfb refactor: implementation to delete branches 2024-05-21 09:58:31 +08:00
leo
5eea54dbf8 fix: wrong popup title for editing remote 2024-05-21 09:42:51 +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
leo
4cf84cd164 feature: add ⌘+Q hotkey to quit this app on macOS 2024-05-17 15:23:42 +08:00
leo
a976f007f5 refactor: load external tool's icon on startup 2024-05-17 12:01:29 +08:00
leo
d9a14432cc fix: LineNumberMargin did not recalculate required size after data context changed 2024-05-17 10:53:28 +08:00
Gadfly
46b9d1b09d refactor: Simplify FindOrAdd method by using ConcurrentDictionary's GetOrAdd 2024-05-16 16:33:34 +08:00
Gadfly
6e35ee64da fix: remove SearchResultSelectedCommit from preference.json 2024-05-15 16:20:31 +08:00
leo
bb557cdebe
Merge pull request #129 from gadfly3173/fix/launcher-dbclick
fix: DoubleTapped on launcherTabsScroller not triggered correctly
2024-05-14 19:34:06 +08:00
Gadfly
ed39a41b61
fix: DoubleTapped on launcherTabsScroller not triggered correctly 2024-05-14 19:26:16 +08:00
leo
c48d69362e enhance: performance of filtering branch 2024-05-14 18:50:36 +08:00
leo
1896586f5e ux: style for branch filter input box 2024-05-14 13:37:36 +08:00
leo
02e71d4d75 feature: supports filter displayed branches 2024-05-14 11:47:56 +08:00
leo
17e48d86fe localization: system menu label for macOS 2024-05-13 17:24:42 +08:00
leo
0596a63b30 fix: skip to render contents when Bounds.Width is zero 2024-05-13 16:39:48 +08:00
leo
bd09a44ab9 fix: IME not work on Wayland (#125) 2024-05-13 15:42:24 +08:00
leo
6e3ae6b7b4 fix: wrong hotkeys to open preference dialog 2024-05-13 11:32:49 +08:00
Gadfly
ed680bf813
ux: Use RepeatButton instead of Button to make ScrollIndicator support PointerPress operation 2024-05-11 22:50:49 +08:00
Gadfly
0fcef2343a
fix: add ScrollViewer event handler to disable scroll indicators based on scroll position 2024-05-11 22:26:09 +08:00
Gadfly
e5516b5b9f
fix: Fixed ScrollViewer rebounding when scrolling to the right 2024-05-11 21:51:57 +08:00
leo
3fffb0b229 feature: add hotkeys Ctrl+Shift+P (on Windows/Linux) and ⌘+, (on macOS) to open Preference dialog 2024-05-11 18:06:31 +08:00
leo
f4c4c5eb9b ux: style for auto fetch interval input widget (#123) 2024-05-11 17:53:06 +08:00
Gadfly
7520a2a7b6 feat: Add config of auto fetch interval 2024-05-11 17:37:54 +08:00
leo
62838e5b05
Merge pull request #122 from gadfly3173/fix/dictionary-exception
fix: avoid potential IndexOutOfRangeException in Models.User
2024-05-11 17:09:26 +08:00
Gadfly
3b166a5c22 fix: avoid potential IndexOutOfRangeException in Models.User 2024-05-11 17:00:35 +08:00
leo
449da31c70 localization: add native menu item header labels 2024-05-11 16:51:10 +08:00
leo
73ee0ae2cd fix: use NativeMenuItemSeparator instead of NativeMenuItem 2024-05-11 11:43:02 +08:00
leo
e0d35409b4 feature: move main menu to macOS system menu bar 2024-05-11 11:31:14 +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
06ca29b2b2 localization: update copyright 2024-05-07 11:19:50 +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
方祝立
0e0d3d64b4 fix: Fixed the problem that the switching branch of the worktree repo is not displayed 2024-05-07 10:29:24 +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
e0d3a320fc ux: macOS hotkey tips (#103) 2024-05-06 07:14:53 +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
leo
eced2e09bd ux: show tips if user is about to delete a remote branch (#99) 2024-05-05 18:47:02 +08:00
leo
5964cf2587 ux: macOS hotkey (#103) 2024-05-05 18:31:11 +08:00
leo
68566b9b34 enhance: use instead of Ctrl , instead of Alt for all hotkeys used by this app on macOS (#103) 2024-05-05 18:19:59 +08:00
leo
9627206764 fix: launch terminal in current user's home dir failed on macOS(#105) 2024-05-05 13:12:26 +08:00
leo
7da184c55b fix: disable native system menubar on macOS (#106) 2024-05-05 13:02:23 +08:00
leo
c9ce41aef3 feature: supports open in/diff with VSCodium (#102) 2024-05-03 21:54:10 +08:00
Gadfly
2e60c98eee
fix: keep selected commit after _commits var reassigned 2024-05-03 21:04:43 +08:00
leo
1fe050ed0b enhance: if current repository is a worktree of another repository, watch the gitdir to it's main repository's gitdir (#86) 2024-05-03 20:47:59 +08:00
leo
9ae926db9f code_style: rename BoolConverters.BoolToStarOrAutoGridLength to BoolConverters.ToStarOrAutoGridLength 2024-05-03 11:43:33 +08:00
Gadfly
9c6798ef1b
fix: Fixed the issue when the email address is too long and exceeds the scope of the StackPanel 2024-04-30 21:50:30 +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
09b8564636 ux: left margin of branch icon 2024-04-29 17:36:00 +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
5e6059ba36 ux: hotkey tooltip in buttons 2024-04-29 15:22:06 +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
1509b8ab70 ux: right margin for commit message 2024-04-28 17:55:49 +08:00
leo
5d1de37308 optimize: only set Offset from SyncScrollOffset while it's not focused. 2024-04-28 16:50:06 +08:00
leo
d9911b3447 refactor: implementation of synchronous scrolling in side-by-side diff view 2024-04-28 16:46:39 +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
28554d1b04 code_review: remove unused codes 2024-04-28 09:56:08 +08:00
leo
8786297d85 ux: remove 'JetBrains' prefix for all products of JetBrains 2024-04-27 22:35:27 +08:00
leo
71b9b3dfea enhance: cache for external tool icons 2024-04-27 22:26:38 +08:00
leo
fdf95e39a7 fix: loading JetBrains Toolbox stage.json crash 2024-04-27 22:05:17 +08:00
leo
9a68418f51 Merge pull request #92 from ennerperez/feature/issues-77
code_review:

* use JsonSerializerContext to avoid AOT warnnings
* since we call TryAdd by interating the installed tools, so detecting by environment variable becomes meaningless (it can not detect tools not installed by Toolbox). Just add it into founded directly
* remove unnecessary type defines
* determine the Icon used by tool while adding it to the founded list.

# Conflicts:
#	src/Native/Linux.cs
#	src/Native/MacOS.cs
#	src/Native/Windows.cs
2024-04-27 21:13:21 +08:00
Enner Pérez
706a833817 Linux Path Fix 2024-04-27 02:36:40 -05:00
Enner Pérez
fe2abee21d Typo Fix 2024-04-27 02:12:12 -05:00
Enner Pérez
53beb3daac JetBrains Toolbox IDE detection 2024-04-27 02:12:03 -05:00
Enner Pérez
ad570eec3b Fallback Icon Implementation 2024-04-27 02:11:38 -05:00
Enner Pérez
59c941dd00 JetBrains Icons Resources 2024-04-27 02:10:51 -05:00
leo
80c864dad7 ux: chevron icon for MenuItem 2024-04-26 21:39:33 +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
49abab2903 update: timeout to wait the result of downloading version info 2024-04-26 09:40:02 +08:00
leo
879f3cd76c code_style: replace tab with 2-spaces in xaml 2024-04-24 22:32:55 +08:00
leo
fd2160e56e feature: supports JetBrains Rider (#77) 2024-04-23 16:53:33 +08:00
leo
905db5ca59 ux: show count of stashes and changes in selected stash 2024-04-19 17:35:42 +08:00
leo
fbf1d5aa32 localization: update translations 2024-04-19 14:28:18 +08:00
leo
599ba01f20 ux: re-design Views.Repository
* It's better to move the `Navigate to HEAD` button to the top-right of this page.
* Icons and alignments
2024-04-18 10:50:14 +08:00
leo
8378f018b1 enhance: use restore instead of reset to discard changes (#76) 2024-04-17 20:06:09 +08:00
leo
60a4d21ce7 enhance: AutoFocusBehaviour will move cursor to the end of contents 2024-04-17 17:13:28 +08:00
leo
1e3711e569 refactor: using a new DotBrushProperty instead of calling Application.TryGetResource 2024-04-17 16:16:11 +08:00
leo
3a3c0e717f build: read version from VERSION file 2024-04-17 11:24:25 +08:00
leo
37ca149970 fix: get latest version info from sourcegit-scm.github.io instead of api.github.com (#75) 2024-04-16 09:23:54 +08:00
leo
69d9edf963 ux: add Icons.Submodule.Add 2024-04-15 20:34:58 +08:00
leo
92b80cbcda code_style: remove unnecessary parentheses 2024-04-15 18:07:17 +08:00
leo
fd8f257d6d feature: supports lxterminal on Linux 2024-04-15 18:01:15 +08:00
leo
c617331657 fix: wrong path for sublime text command-line interface 2024-04-15 17:48:52 +08:00
leo
cc6996444e ux: update icon for navigate to current HEAD button 2024-04-15 15:22:32 +08:00
leo
003ad66ccb ux: add menu icon for git-flow 2024-04-15 15:07:07 +08:00
leo
781569c7a0
Merge pull request #74 from walterlv/master
Dont find the path twice
2024-04-15 09:31:50 +08:00
walterlv
25082890ad Dont find the path twice 2024-04-15 09:21:42 +08:00
leo
f3532c4cf2 version: Release 8.8 2024-04-15 09:20:20 +08:00
walterlv
f58cff2cb6 Fix windows terminal startup directory 2024-04-15 08:58:25 +08:00
leo
4a151dd19c code_style: remove unused name declaration 2024-04-14 20:13:07 +08:00
leo
ab26bb83e9 refactor: re-design toolbar of Views.DiffView 2024-04-14 12:27:09 +08:00
leo
7bf6793a11 refactor: detecting programs from the PATH environment variable instead of hard coded (#72) 2024-04-14 11:14:13 +08:00
leo
7b5534a267 code_style: run dotnet format to apply rules defined in .editorconfig 2024-04-13 19:24:45 +08:00
leo
1bb4d55a5c
Merge pull request #69 from gadfly3173/feat/diff-file-mode
feat: show git file mode change if exist
2024-04-13 19:17:44 +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
f7dd856e49
fix: enhance diff view by truncating long file paths with ellipsis and adding tooltips for full path display 2024-04-13 01:34:08 +08:00
Gadfly
83728c1a5f
fix: change file mode status postion to right 2024-04-12 21:58:54 +08:00
Gadfly
a249eed1ac
feat: show git file mode change if exist 2024-04-12 21:38:36 +08:00
Gadfly
972b940742
fix: GPG executable file input didn't echo after selected 2024-04-12 19:37:06 +08:00
leo
2d5e048797 Merge branch 'fix/stage-list-count' into develop from PR #68 2024-04-12 10:04:03 +08:00
leo
ede96c298e code_review: review PR #68
* use Converters.ListConverters.ToCount instead of adding two properties to get the count of list.
* adding a new TextBlock to show number of files
2024-04-12 10:03:24 +08:00
leo
d64b7a7824 code_style: private functions should appear after all public functions 2024-04-12 09:41:12 +08:00
Gadfly
0e2da217f1
feat: shows the number of files in the current list on unstaged and staged lists 2024-04-12 01:27:19 +08:00
Gadfly
c0b13bdc8c
fix: Fixed the problem that the AvaloniaRider plugin on Windows cannot display the live preview for Avalonia XAML 2024-04-12 01:23:08 +08:00
leo
f3f39ac593 feature: supports resolving multiple conflicts at once. 2024-04-11 20:50:19 +08:00
leo
057c0be547 ux: change MaxHeight of commit message to 64 to ensure that there are at least 2 items displayed in the change list (#66) 2024-04-10 20:13:56 +08:00
leo
8ab7370409 enhance: use --force to override local refs if it is mismatched with remote's 2024-04-10 11:52:28 +08:00
leo
1dadad7775 ux: disable TextEditor hyperlinks (#65) 2024-04-10 11:02:33 +08:00
leo
1da754afe8 resource: update all icons to 64x64 (since we use this icons in 16x16 size) 2024-04-09 19:19:49 +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
217800c83a feature: support Meld as an external merge tool on Linux platform 2024-04-09 15:36:11 +08:00
leo
17fc7ab994 ux: add icons for external merge tools 2024-04-09 15:00:52 +08:00
leo
f0e0c90621 Merge branch 'feature/powershell_supports' into develop 2024-04-09 14:59:15 +08:00
leo
7336a870f7 ux: macOS main menu position 2024-04-09 14:36:32 +08:00
leo
7be7ef161b fix: deepin-terminal commandline argument format 2024-04-09 13:59:55 +08:00
leo
6811103cf4 ux: use RenderOptions.BitmapInterpolationMode="HighQuality" for shell icons 2024-04-09 13:34:42 +08:00
leo
395bd29084 feature: add supports to deepin-terminal 2024-04-09 13:06:27 +08:00
leo
3fd1e0ea19 fix: Windows Terminal is not a built-in app on Windows 10 2024-04-09 11:18:16 +08:00
leo
5c9b92c3db fix: the system default powershell.exe does not recognize the -WorkingDirectory arg 2024-04-09 11:12:22 +08:00
leo
a3c81745aa enhance: add -WorkingDirectory and -Nologo arguments for PowerShell 2024-04-09 10:49:36 +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
8f70778ec2 version: Release 8.7 2024-04-08 10:49:48 +08:00
leo
8adf11b64c fix: crash when create image from a empty stream 2024-04-08 10:24:28 +08:00
leo
75f6087447 update: unify all external tool icons to 128 x 128 2024-04-08 10:01:17 +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
b5b1f0cb8d refactor: add ExternalEditorFinder to detect supported external editors 2024-04-07 17:56:53 +08:00
leo
482fab97c0 ux: update Icons.Tree 2024-04-07 15:17:02 +08:00
leo
a8d06ce042 ux: set RenderOptions.BitmapInterpolationMode = BitmapInterpolationMode.HighQuality for avatars 2024-04-07 15:00:18 +08:00
leo
416b839df5 localization: use x:String instead of declare a new namespace for System.String 2024-04-07 10:06:17 +08:00
leo
e5be649a2d fix: Github REST API access rate limit (#60) 2024-04-07 09:54:35 +08:00
leo
400d454478 enhance: a more adaptable regular expression for remote URLs (#61) 2024-04-06 18:11:49 +08:00
leo
040a6d4bba refactor: use axaml resource to manage locales instead of resx 2024-04-06 18:06:32 +08:00
leo
1196fabfc1 feature: external editor supports Sublime Text 2024-04-06 15:31:13 +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
bcb83af576 ux: new style for statistics page 2024-04-03 17:34:06 +08:00
leo
099e6a4f97 ux: use CubicBezierTo instead of calling QuadraticBezierTo twice for curves in commit graph (#57) 2024-04-03 15:32:23 +08:00
leo
0252887442 feature: external editor supports visual studio code insiders; add environment variable VSCODE_PATH and FLEET_PATH to help to find these editors. (#54) (#55) 2024-04-03 12:17:20 +08:00
leo
eea3d2c6c0 feature: enable to use external merge tool for all type of files (#53) 2024-04-03 09:43:17 +08:00
leo
54c7f80eda ux: move navigate current head button to histories (#50) 2024-04-02 21:00:55 +08:00
leo
d986aa7165 feature: add button to navigate to current HEAD (#50) 2024-04-02 20:54:57 +08:00
leo
09720f81d4 ux: use FontWeight.Bold for current head decorator 2024-04-02 20:42:17 +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
leo
96e60da7ad ux: auto focus the first input element in popup widget (#49) 2024-04-02 16:23:47 +08:00
leo
ddd152df59 ux: unify icons and labels for repository action in both welcome and repository page; remove unused resources 2024-04-02 10:09:28 +08:00
leo
4dfbb0b2ba style: ux improvement (#42) 2024-04-02 09:46:48 +08:00
leo
53bcafa5ed refactor: ux for in progress action (cherry-pick/rebase/revert/merge) 2024-04-01 21:27:08 +08:00
leo
814af539cd fix: resolve button should be visible when current active view index is NOT 1 (the changes page) 2024-04-01 19:59:15 +08:00
leo
ef02a57ab2 style: use FontWeight.Bold for current head (#44) 2024-04-01 18:12:27 +08:00
leo
7e28c0904d localization: add git command name to locale zh_CN (#41) 2024-04-01 12:17:50 +08:00
leo
1f3f9a4472 style: add source code website in about dialog (#40) 2024-04-01 11:45:30 +08:00
leo
30d5f1415e version: Release 8.6 2024-04-01 09:29:04 +08:00
leo
d89a00e559 code_style: using avalonia's editorconfig and run dotnet format. 2024-03-31 16:54:29 +08:00
leo
3c38f681bd fix: disable custom window resizer on Linux platform if Window.WindowState != WindowState.Normal 2024-03-29 12:15:52 +08:00
leo
e59bacb75c update: external tool icons 2024-03-29 10:50:49 +08:00
leo
976c8da83c style: use the larger size of image in diff view if it has two valid bitmaps 2024-03-29 10:02:11 +08:00
leo
871751d7c0 style: set RenderOptions.BitmapInterpolationMode="HighQuality" for all image views 2024-03-29 09:49:42 +08:00
leo
911456a3e7 style: set RenderOptions.BitmapInterpolationMode="HighQuality" for external tool icons 2024-03-29 09:45:36 +08:00
leo
1f353f8163 style: unify all external tool icons to 512 x 512 2024-03-29 09:37:54 +08:00
leo
c2eedbdbf2 performance: do NOT re-create background brush if there exists one 2024-03-28 21:06:12 +08:00
leo
eb4f38b676 code_style: move private member/functions (except static readonly members) after all public members 2024-03-28 20:03:56 +08:00
leo
5e66765326
Merge pull request #36 from walterlv/master
_backend will never be null
2024-03-28 17:55:31 +08:00
leo
60bcdd671f style: keep aspect ratio of image in image diff view 2024-03-28 17:53:53 +08:00
walterlv
4e8efe05cc _backend will never be null 2024-03-28 17:48:46 +08:00
leo
61cead1867 code_style: run dotnet format to follow rules defined in .editorconfig 2024-03-28 17:46:03 +08:00
leo
7866a11037 Merge branch 'feature/open_with' from PR #33 2024-03-28 17:43:37 +08:00
leo
4659fbd901 code_review: code review for PR #33
* use PNG instead of SVG for external tool icons and remove dependency `Avalonia.SVG`
* remove unused property `IsVSCodeFound` and `IsFleetFound`
* find VS from registry first
* remove compile warning CA1416
* remove unused enum `OS.Platforms`
2024-03-28 17:42:13 +08:00
leo
760d64c39c style: use custom RevisionImageFileView to preview images. 2024-03-28 17:20:19 +08:00
walterlv
e54f17d13b Fix spelling errors in configuration keys 2024-03-28 16:29:15 +08:00
leo
8ed068e2dd
Merge pull request #34 from walterlv/master
Enhance file and folder selection
2024-03-28 16:18:23 +08:00
walterlv
f6683954fe Enhance file and folder selection by utilizing the default file manager instead of enforcing the use of explorer.exe 2024-03-28 16:02:39 +08:00
leo
effabb08fe style: add a background for image diff view 2024-03-28 15:47:40 +08:00
Enner Pérez
370b9bd31e MacOS Update 2024-03-28 02:16:34 -05:00
Enner Pérez
386987fbb1 Open in... Menu
New Icons
2024-03-28 02:16:33 -05:00
Enner Pérez
cde5fc8f73 Open In Fleet 2024-03-28 02:16:01 -05:00
leo
91bc1ee8ab fix: try to fix window drop shadow missing on Windows 10 2024-03-28 12:25:07 +08:00
leo
6cc6088684 style: ImageDiff layout 2024-03-28 10:11:34 +08:00
leo
0995e6e638 style: margins for ImageDiff 2024-03-28 09:54:20 +08:00
leo
582a283ad5 feature: show image size change for Models.ImageDiff 2024-03-28 09:48:42 +08:00
leo
223467480f fix: wrong work tree file path 2024-03-28 09:34:08 +08:00
leo
6950055f24 feature: supports preview and diff with image files 2024-03-27 21:38:38 +08:00
leo
5ef542f92d style: add loading indicator for FileHistories 2024-03-27 10:40:11 +08:00
leo
92e065feba feature: simple self-update implementation (#29) 2024-03-27 09:36:54 +08:00
leo
86a1148148 style: text alignment in Hotkeys 2024-03-26 16:58:12 +08:00
leo
391b017200 style: remove file name in FileHistories's title bar 2024-03-26 16:03:41 +08:00
leo
6d2e10cec2 feature: embed commit detail page in file histories 2024-03-26 15:56:38 +08:00
leo
e443e1657b style: increase all GridSplitter's size 2024-03-26 15:19:41 +08:00
leo
15ab457e74 style: traits .plist file as normal xml 2024-03-26 14:42:41 +08:00
leo
0079cdd88e style: change FontSize for MenuItem /template/ PART_InputGestureText 2024-03-26 11:30:22 +08:00
leo
cd42f2471a style: windows/linux caption buttons 2024-03-26 11:00:15 +08:00
leo
43d50c5ded version: Release 8.5 2024-03-25 11:43:21 +08:00
leo
4e81c7dc85 style: font fallback for windows 2024-03-25 10:39:36 +08:00
leo
5c5ee9bef5 style: icon for commit decorators 2024-03-25 10:27:07 +08:00
leo
8042091836 style: move some settings to Appearance tab 2024-03-22 12:29:40 +08:00
leo
a992485d11 style: use fixed tab title font size; NumericUpDown border 2024-03-22 12:18:03 +08:00
leo
c247b03223 feature: allow customized font size 2024-03-22 12:04:30 +08:00
leo
7ba7e58c9f style: keep the launcher's title bar consistent across platforms 2024-03-22 09:57:59 +08:00
leo
56f5f3b4a7 enhance: use custom JsonConverter instead of converting string to FontFamily in each control 2024-03-21 23:19:09 +08:00
leo
0fadab2ca2 fix: select file with only eol changes after other change types will not update diff result 2024-03-21 21:24:53 +08:00
leo
a6103b8b31 code-style: run dotnet format to compliance the editorconfig rules (#31) 2024-03-21 21:08:30 +08:00
leo
98a46f8211 fix: endless loop when character missing both in current active font and the default font and the fallback font is same with the default. 2024-03-21 20:55:08 +08:00
leo
8f3f011d81 enhance: calculate monospace fonts in background to avoid delay for preference window (#30) 2024-03-21 20:02:07 +08:00