Commit graph

499 commits

Author SHA1 Message Date
leo
213f04a57b fix: branch tree not restore last IsExpanded nodes. See issue #20
* Binding IsExpanded property of TreeViewItem with Models.BranchTreeNode
* Current local branch should never be collapsed
2024-03-09 20:58:44 +08:00
leo
61e1491854 style: remove popup's border on non-linux platforms 2024-03-08 17:41:10 +08:00
leo
0d1c61bcb5 style: compatible with Linux 2024-03-08 15:57:36 +08:00
leo
8c1fe66ee5 fix: using DropShadowEffect in Launcher's popup container on Linux will get a wrong render result. 2024-03-08 15:52:40 +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
59b7fd8c61 optimize: better supports for LFS object 2024-03-07 17:04:57 +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
f65dc36e62 style: popup container widgets 2024-03-07 12:08:54 +08:00
leo
f00ecbd0a1 fix: should not use Active to close a running popup. 2024-03-05 17:16:33 +08:00
leo
4b405dfc5f style: hotkeys font styles 2024-03-05 16:52:51 +08:00
leo
f834af10a2 refactor: change the way loading custom fonts 2024-03-05 16:02:47 +08:00
leo
acb74a4b95 feature: hotkeys enhancement. see issue #19 2024-03-05 10:46:08 +08:00
leo
01ddd07de5 style<*>: set Background of all widgets used to display content of file to Brush.Contents for 2024-03-04 21:23:17 +08:00
leo
ade43ed988 optimize<Statistics>: only redraw chart when mouse hovered on a new sample box 2024-03-04 21:01:15 +08:00
leo
ad9cf615ab style<Statistics>: change layout of Statistics 2024-03-04 17:52:40 +08:00
leo
ae02e1025e style<Toolbar>: margins for toolbar buttons 2024-03-04 10:25:19 +08:00
leo
14dbc0ad92 fix<TextDiffView>: discard from staged should not affect same file in unstaged 2024-03-03 09:16:19 +08:00
leo
8ca74d3a9e fix<CommitDetail>: crash when request context menu without any change selected 2024-03-02 23:44:58 +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
59052d8e1f style<Blame>: rewrite MeasureOverride to fit content with for CommitInfoMargin; always show commit info for the first visual line 2024-03-01 15:09:17 +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
a770ff542d fix<TextDiffView>: avoid endLine out of range 2024-02-29 12:16:31 +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
cfe680ffd5 fix<DiffViewer>: wrong TextDiffView mode indicator icon 2024-02-28 18:42:58 +08:00
leo
9e4d349b51 feature<TextDiffView>: implementation for stage/unstage/discard selected changes in file 2024-02-28 18:15:40 +08:00
leo
671e46f8b3 feature<TextDiffView>: supports line staging/unstaging in working copy diff view 2024-02-28 14:55:11 +08:00
leo
91ef4e44a4 optimize<WorkingCopy>: clear selection after WorkingCopy unloaded 2024-02-27 18:51:57 +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
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
84e2c7b3a4 style<Repository>: arrange toolbar button 2024-02-23 10:58:22 +08:00
leo
e7bf9be683 update<csproj>: assembly info 2024-02-22 21:46:32 +08:00
leo
ba355a7d59 optimize<TextEditor>: trait all .h file as C++ header file instead of C 2024-02-22 20:47:43 +08:00
leo
7f20437464 style<Window>: add window icon 2024-02-22 14:51:31 +08:00
leo
79084c9a9a fix<Clone>: fix crash after clone a new repository 2024-02-22 11:05:20 +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
ca19d65f0e update<csproj>: use official AvaloniaEdit instead of OneWare.AvaloniaEdit 2024-02-20 15:44:26 +08:00
leo
58eb002f4b style<RevisionCompare>: use JetBrainsMono font for all contents 2024-02-19 20:13:56 +08:00
leo
49154afe48 feature<Launcher>: finish restore opened tabs 2024-02-19 19:54:53 +08:00
leo
d895beb3f4 optimize<AutoFetch>: reduce CPU usage 2024-02-19 17:40:36 +08:00
leo
e7219b4278 feature<ExternalMergeTool>: use default path if file exists after tool changed 2024-02-19 16:19:12 +08:00
leo
ef352984f9 refactor<Histories>: remove DataGrid patch and use original API to get display offset 2024-02-19 15:30:10 +08:00
leo
ef82525323 style<Window>: macOS caption button color 2024-02-19 11:46:20 +08:00
leo
04d8e5d476 style<Window>: macOS caption button color 2024-02-19 11:44:38 +08:00
leo
d9f566673e style<Window>: macOS caption button color 2024-02-19 11:33:09 +08:00
leo
d74a3fb550 fix<MacOS>: wrong path to find Terminal.app; GitInstallDir ends to the folder that contains bin/git; way to open and select file in Finder 2024-02-18 19:00:42 +08:00
leo
5ac7d78796 style<Welcome>: use monospace font for repository tree 2024-02-18 16:32:30 +08:00
leo
05c9d9be5b feature<AutoFetch>: finish auto fetch remotes 2024-02-18 16:26:07 +08:00
leo
b40ca42d73 feature<WorkingCopy>: finish recent commit message picker 2024-02-18 15:44:05 +08:00
leo
c73c5372d2 style<*>: use mono font for all contents 2024-02-18 10:41:41 +08:00
leo
70512915f9 style<NameHighlightedTextBlock>: reduce required width of NameHighlightedTextBlock 2024-02-06 19:25:45 +08:00
leo
e310cfd84f feature<ContextMenu>: highlight branch/commit/tag name in ContextMenuItem 2024-02-06 19:07:17 +08:00
leo
98e65c0f11 fix<Repository>: filter not working 2024-02-06 17:52:16 +08:00
leo
5781a22b4c style<Launcher>: new main menu icon for Windows 2024-02-06 17:00:39 +08:00
leo
2a62596999 refactor<*>: rewrite all with AvaloniaUI 2024-02-06 15:08:37 +08:00
leo
4e40018a78 feature<Repository>: supports modify display name of repository 2024-01-17 11:02:08 +08:00
leo
22416812a0 fix<Stashes>: show time of stash 2024-01-02 15:32:19 +08:00
leo
f04ab92efc feature<WorkingCopy>: supports open selected file with default editor in working copy changes 2023-12-26 17:47:18 +08:00
leo
de75f5010b optimize<WorkingCopyChanges>: run as stage/unstage all if all changes selected 2023-11-22 10:29:53 +08:00
leo
cd934349aa optimize<Chart>: more reasonable interval division 2023-11-08 16:47:18 +08:00
leo
b0d5c1fd52 feature<TextEdit>: supports scroll by mouse wheel 2023-11-07 09:33:49 +08:00
leo
8fa3a558a0 style<CommitDetail>: add scrollbar for commit messages 2023-10-18 11:05:50 +08:00
leo
ed26256c90 fix<WorkingCopyChanges>: fix that discard all unstaged changes will drop changes staged 2023-10-17 19:50:09 +08:00
leo
838e688a0c refactor<Exception>: add context to exception to filter exceptions; each page has it's own error display control 2023-10-13 11:16:03 +08:00
leo
c85052bbcc fix<Launcher>: TaskbarItemInfo.ProgressState should disappears only when all tasks are complete 2023-10-13 10:26:11 +08:00
leo
738daddbc7 feature<Avatar>: add context menu to manually re-fetch avatar 2023-10-11 18:25:21 +08:00
leo
e4c350f189 update<About>: copyright update 2023-10-11 17:29:17 +08:00
leo
2516f11231 refactor<RevisionCompare, Histories>: show author rather than committer in RevisionCompare/Histories 2023-10-11 16:06:23 +08:00
leo
e17fbab4cf style<FileHistories>: new style for FileHistories 2023-10-11 11:14:26 +08:00
leo
217a382849 optimize<Sort>: remove sort repositories by name desc 2023-10-10 17:35:54 +08:00
leo
ccb3c07064 fix<Stash>: fix stash failed when there's too many files to be stashed 2023-10-10 16:59:47 +08:00
leo
905531f2db style<Window>: show progress bar in taskbar while popup is running 2023-10-10 15:59:52 +08:00
leo
951a38d445 style<Welcome>: new style for welcome page 2023-10-10 15:19:45 +08:00
leo
79e3759681 style<Avatar>: apply corner radius for avatar pictures 2023-10-10 14:43:41 +08:00
leo
766f24f4b0 optimize<User>: reduce memory used by commit's author/committer data 2023-10-10 11:25:57 +08:00
leo
d9afb798db style<Window>: makes the window border color is the same on both Windows 10 and 11 2023-10-09 21:02:38 +08:00
leo
80aa468b08 fix<GitURL>: allow '.' in repository name. see issue #14 2023-10-09 17:34:18 +08:00
leo
9a9a0601ed optimize<Converters>: move converter resources to app scope 2023-09-20 21:47:11 +08:00
leo
fcad602144 optimize<FileHistories>: remove use this version button from file histories. 2023-08-29 15:58:37 +08:00
leo
559829c054 style<Blame>: new blame style 2023-08-28 15:24:53 +08:00
leo
afe0220a46 fix<Bookmark>: bookmark changes will not be saved when there's no welcome page 2023-08-28 10:59:46 +08:00
leo
6e624797ae optimize<Blame>: only navigate to commit when user clicked the commit SHA 2023-08-28 10:17:10 +08:00
leo
24957b8c86 style<Blame>: redesign style for blame 2023-08-25 18:15:26 +08:00
leo
5c411f6258 style<Slider>: customize slider style 2023-08-25 17:40:15 +08:00
leo
ef894d81b4 optimize<WorkingCopyChanges>: remove unused usings 2023-08-25 14:51:25 +08:00
leo
f13b1ee9fe feature<AssumeUnchanged>: supports update-index --[no]-assume-unchanged 2023-08-24 19:05:38 +08:00
leo
79b5136a46 optimize<WorkingCopyChanges>: use reset --hard instead of checkout/clean if all changes be selected to be discard 2023-08-24 17:29:13 +08:00
leo
0a7a0bff42 feature<SaveAsPatch>: show notification after saving patch successfully 2023-08-24 16:20:38 +08:00
leo
a1bfbfe02e refactor<Blame>: new blame tool 2023-08-24 13:39:49 +08:00
leo
697879b6a5 feature<GitURL>: supports for providing user on the HTTP/HTTPS git URL 2023-08-23 21:02:28 +08:00
leo
1c10d9a286 optimize<SSH>: using core.sshCommand instead of environment parameter GIT_SSH_COMMAND 2023-08-23 20:45:12 +08:00
leo
fc43edb6d2 fix<GitURL>: fix parse repository's SSH URL 2023-08-23 16:45:45 +08:00
leo
63a6ef256e feature<Preference>: supports for customizing max number of displayed history commits 2023-08-23 11:39:47 +08:00
leo
9006752705 fix<Pull>: fix stash and re-apply is not working on pull command 2023-08-21 20:39:38 +08:00
leo
f92f5746b9 feature<Stashes>: supports clear all stashes 2023-08-21 20:33:41 +08:00
leo
5d3088d520 feature<Welcome>: supports set bookmark of selected repository from context menu. 2023-08-21 17:49:49 +08:00
leo
7e1b1d7324 feature<FileHistory>: add button to use selected revision of file 2023-08-18 14:13:32 +08:00
leo
9d6ac9c449 feature<Fast-Forward>: allow fast-forward on local branch that not checked out. 2023-08-18 13:29:44 +08:00
leo
12511007e3 fix<FolderDialog>: using System.Windows.Forms.FolderBrowserDialog instead of Controls.FolderDialog to avoid crashes 2023-08-18 13:28:55 +08:00
leo
020577e240 refactor<Avatar>: use cravatar.cn instead of gravatar.com to fetch user's avatar 2023-07-24 12:01:19 +08:00
leo
26171e19c4 style<Launcher>: reduce titlebar height when window maximized 2023-07-24 11:34:47 +08:00
leo
cd197d13f0 style<Launcher>: menu icon 2023-07-20 21:01:53 +08:00
leo
8156002ddb style<WorkingCopy>: commit button vertical alignment 2023-07-20 20:48:56 +08:00
leo
9e0a5fc860 style<PageTabBar>: transparent background for scroller 2023-07-19 14:22:21 +08:00
leo
e56a267fc8 refactor<TextEdit>: rewrite implementation of placeholder for TextEdit 2023-07-18 19:21:42 +08:00
leo
535e05a667 style<Theme>: new theme design 2023-07-18 15:00:27 +08:00
leo
c6606fee88 fix<*>: PerMonitorDpiAwareV2 not working for ContextMenus on multi-displays with difference DPIs 2023-07-14 15:13:59 +08:00
leo
611d3c7db0 optimize<GitURL>: use regex to validate git repository urls 2023-06-02 10:29:43 +08:00
sourcegit-scm
a39b44ea2e
fix<Preference>: correct resource path in Preference.xaml.cs 2023-05-22 18:32:23 +08:00
sourcegit-scm
36e682d429
<feature>: add support for ssh:// protocol in git repository URL 2023-05-22 18:30:25 +08:00
leo
a9bc0fec21 style<Welcome>: replace system message dialog with a custom one 2022-11-11 15:54:34 +08:00
leo
5434629f4c optimize<WorkingCopy>: improve loading time for large number of local changes 2022-11-11 15:01:44 +08:00
leo
4cd07d90a5 style<IconButton>: add IconButton.IconSize to control size of icon 2022-11-04 12:48:41 +08:00
leo
785b2c1f82 style<Dark>: new dark theme 2022-11-01 16:18:20 +08:00
leo
5b369de6ff upgrade<About>: copyright 2022-10-28 10:08:12 +08:00
leo
84ac77971b optimize<WorkingCopy>: do not re-diff when file not changed 2022-10-28 09:57:50 +08:00
leo
aec498e9b0 optimize<WorkingCopy>: do not re-diff when file not changed 2022-10-27 22:11:24 +08:00
leo
87d96598be style<Welcome>: remove DropShadowEffect from Welcome page 2022-10-26 15:03:31 +08:00
leo
5d71e54547 upgrade<Project>: retargets to .net framework 4.8 2022-10-26 10:32:42 +08:00
leo
476c23f9d2 style<*>: new dark theme 2022-10-26 10:02:22 +08:00
leo
fc9ede3e09 style<*>: new light theme 2022-10-25 21:50:58 +08:00
leo
83e8eb1ec8 optimize<Dashboard>: remove refresh button (use F5 instead) 2022-10-25 17:23:26 +08:00
leo
3667a89fb8 optimize<DiffViewer>: clear all old datas before update contents 2022-10-21 16:13:07 +08:00
leo
c1c57f9b1d feature<GPG>: add gpg signing feature #5 2022-10-20 18:59:13 +08:00
leo
a677f409a2 style<PageTabBar>: tab seperator 2022-10-19 15:28:01 +08:00
leo
0a6d5d8a4c style<Clone>: label for start clone button 2022-10-19 15:24:42 +08:00
leo
8520786b7e optimize<Popup>: remove popup from welcome page 2022-10-19 15:20:58 +08:00
leo
e31a304cac feature<Welcome>: supports to sort repositories by bookmark color 2022-10-18 15:55:39 +08:00
leo
c6f99287e7 optimize<Upgrade>: remove auto-upgrade feature 2022-10-18 15:42:25 +08:00
leo
b76bc96ee7 optimize<Upgrade>: remove auto-upgrade feature 2022-10-18 15:30:24 +08:00
leo
d827c1fbe1 optimize<Preference>: remove avater server 2022-10-18 15:25:27 +08:00
leo
0b8c23c02d style<Launcher>: min size of launcher 2022-10-18 15:02:54 +08:00
leo
19c07459a9 optimize<*>: remove dragdrop adorner; redesign bookmark style on welcome page 2022-10-18 14:56:34 +08:00
leo
787cf5bb02 optimize<*>: remove dragdrop adorner; redesign bookmark style on welcome page 2022-10-18 14:50:48 +08:00
leo
bdd147f737 optimize<Welcome>: allow drop on welcome page 2022-10-18 11:44:16 +08:00
leo
18e8036e11 feature<Welcome>: enable mouse double-click on repository 2022-10-18 11:24:42 +08:00
leo
249f918994 style<Welcome>: use monospace font for repository's path 2022-10-18 10:27:34 +08:00
leo
45752cecf7 fix<Welcome>: update bookmark color after theme changed 2022-10-17 10:18:36 +08:00
leo
918263130c feature<Welcome>: add sort supports 2022-10-17 10:12:59 +08:00
leo
1beafbc84c style<Welcome,PageTabBar>: re-design the style for Welcome page 2022-10-14 20:56:57 +08:00
leo
5ef6642306 style<Welcome,PageTabBar>: re-design the style for Welcome page 2022-10-14 20:49:20 +08:00
leo
b43044a7bf style<Welcome,PageTabBar>: re-design the style for Welcome page 2022-10-14 20:38:53 +08:00