Commit graph

849 commits

Author SHA1 Message Date
Enner Pérez
14550655f3
Merge branch 'master' into feature/resx 2024-03-17 21:11:24 -05: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
Enner Pérez
ad1fdbe6ee Resx Localization 2024-03-16 03:27:03 -05:00
leo
f93dec5e6a style: Blame & FileHistories window style 2024-03-15 10:41:36 +08:00
leo
abc3e8e9f7 fix: Statistics window can not move 2024-03-15 10:13:21 +08:00
leo
b9f29ef059 style: margins for fixed-size window on Linux platform 2024-03-14 18:29:19 +08:00
leo
035300a612 style: border-less window style on Linux platform. 2024-03-14 18:23: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
cd2ecb109a enhance: diff with LFS filtered files 2024-03-14 10:55:25 +08:00
leo
499a8235b5
Merge pull request #22 from ennerperez/feature/syntax_fixes
Syntax Fixes
2024-03-13 16:20:35 +08:00
Enner Pérez
f70d48495f Syntax Fixes 2024-03-13 03:10:29 -05:00
Enner Pérez
cb90f8b98d en_US Typo Fixes 2024-03-13 03:10:02 -05:00
leo
47d9e0e9f9 fix: key to close search panel in text editor is ‘ESC' not 'Ctrl+3' 2024-03-12 16:40:59 +08:00
leo
ea49de2379 style: search bar style 2024-03-12 16:32:40 +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
b8a230cf16 style: use TextBox.InnerLeftContent and TextBox.InnerRightContent instead of custom layout for search 2024-03-12 09:53:52 +08:00
leo
ea3e28b5e7 style: text editor's search panel border 2024-03-11 19:30:07 +08:00
leo
c1c47074f4 style: use TextBox.InnerLeftContent and TextBox.InnerRightContent instead of custom layout for search 2024-03-11 18:54:12 +08:00
leo
13c5c116fd doc: add text editor hotkeys information 2024-03-11 18:30:32 +08:00
leo
76505fb582 style: new text editor search panel style 2024-03-11 18:29:42 +08:00
leo
b82c0e2ebd version: Release 8.3 2024-03-11 09:26:11 +08:00
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
ef26f5b41c fix: bad arguments to query git version 2024-03-09 11:04:03 +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
fc0ac109d8 build: add a script to publish on Linux 2024-03-08 17:54:26 +08:00
leo
8d533e5270 style: UseRebase and AutoStash perfered selected by default 2024-03-08 17:49:03 +08:00
leo
61e1491854 style: remove popup's border on non-linux platforms 2024-03-08 17:41:10 +08:00
leo
c14b7ebbe1 optimize: only parse track status for local branch 2024-03-08 17:16:54 +08:00
leo
f7e8cf1311 refactor: use rev-list --left-right --count to query track status with upstream (when using some linux with other locales instead of English, upstream:track will output status with localized word instead of 'ahead'/'behind') 2024-03-08 16:32:44 +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
2182d39e5f refactor: setup fonts based on operating system 2024-03-08 12:22:22 +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
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
b48c2b5ab5 fix: gnome-terminal name 2024-03-06 20:41:02 +08:00
leo
3bf962d745 feature: remember last active tab index if restore tabs is enabled 2024-03-06 19:46:19 +08:00
leo
0e824f12b4 upgrade: upgrade AvaloiaUI to 11.0.10 2024-03-06 17:17:16 +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
Luigi Grilli
7d422f1a82 Added CI build 2024-03-04 19:48:27 +00: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
c47fe16dd3 upgrade<Version>: Release 8.2 2024-03-04 09:31:30 +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
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
280ef60111 fix<Windows>: explorer does not recognize path with separator '/' 2024-03-01 17:40:17 +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
9c3294c285 optimize<*>: App.RaiseException should be called in UIThread; add default progress description for popups; 2024-02-26 11:29:57 +08:00
leo
dec70bed44 upgrade<Version>: Release 8.1 2024-02-26 09:45:42 +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
787fe4ad70 fix<Statistics>: month to index; fix using UTC time compare to local time 2024-02-26 09:29:22 +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
b934049dba update<Build>: update build script for macOS. add build/ and .DS_Store to ignore list 2024-02-22 15:45:17 +08:00
leo
7f20437464 style<Window>: add window icon 2024-02-22 14:51:31 +08:00
leo
cf09ab463c feature<Linux>: try to support Linux 2024-02-22 12:26:09 +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
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
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
1a27b1dfb1 feature<ExternalMergeTools>: add supported external merge tool for macOS 2024-02-19 16:05:00 +08:00
leo
da3a50e20c update<crash>: store crash log in $APPDATA 2024-02-19 15:41:13 +08:00
leo
01af736d50 update<Build>: dsym is a directory 2024-02-19 15:35:22 +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