leo
1b63da45e5
ux: disable line smoothness in Statistics
2024-09-24 09:40:55 +08:00
leo
308445fa81
ux: fill brush for line chart ( #493 )
2024-09-23 21:54:02 +08:00
leo
af57c56cd7
feature: enhanced statistics panel ( #493 )
...
* replace the `YEAR` tab with `OVERVIEW` tab, which will analyze most recent 20K commits
* use `LiveChartsCore.SkiaSharpView.Avalonia` instead of a custom chart view
2024-09-23 21:45:44 +08:00
Михаил Усоцкий
977b800c89
Added locale file
2024-09-22 18:56:27 +08:00
leo
0b6ecc0388
code_style: typo in s_extraGrammars
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
2024-09-21 22:04:50 +08:00
leo
80017d8bd0
code_style: simplify Models.TextMateHelper
2024-09-21 22:02:50 +08:00
leo
4a3620db5e
refactor: rewrites the built-in grammar extension
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
2024-09-21 16:34:00 +08:00
Jens Fischer
0dbca4fe47
Add syntax highlighting for Haxe
2024-09-20 16:30:40 +02:00
leo
e011b1807a
Merge pull request #495 from Gama11/feature/wezterm
...
Add support for WezTerm
2024-09-20 21:51:59 +08:00
Jens Fischer
a8a85613fc
Add support for WezTerm
2024-09-20 14:13:02 +02:00
Jens Fischer
535dc1ef49
Add syntax highlighting for Kotlin
2024-09-20 13:51:05 +02:00
leo
900ebd8282
feature: supports parameters in commit template ( #487 )
...
- ${files_num} will be replaced with staged changes count
- ${files} will be replaced with changed file paths
- ${files:N} will be replaced with top N changes file paths and with `and {TOTAL - N} other files` at end of replaced string.
2024-09-18 20:11:34 +08:00
leo
9c6745c271
enhance: skip auto fetching when index.lock
file exists in the repository's git dir
2024-09-18 14:49:53 +08:00
leo
ba9c3058ed
feature: supports Zed
editor as an external editor ( #477 )
2024-09-18 10:00:32 +08:00
Aikawa Yataro
736ad02991
enhance: allow to specify custom terminal
2024-09-16 12:06:33 +00:00
leo
4b182e6ecd
fix: http System.InvalidOperationException ( #476 )
2024-09-16 15:41:49 +08:00
leo
d6b21bad17
feature: now image file previewer shows the image size and file size
2024-09-14 16:13:40 +08:00
leo
fb0120d338
refactor: terminal/shell integration ( #471 )
2024-09-14 12:09:50 +08:00
leo
817f8919fd
enhance: add Content-Type
to OpenAI request headers
2024-09-13 20:50:11 +08:00
leo
ab54ecee42
enhance: API Key
is now optional
...
- Update README.md by adding tips for using OpenAI in this project
2024-09-13 20:46:00 +08:00
leo
886b242b66
enhance: added cancellation logic to the OpenAI chat response API call.
2024-09-13 14:25:38 +08:00
leo
16f8e2fd0b
feature: simple implementation for generating commit message by OpenAI ( #456 )
2024-09-12 09:42:47 +08:00
leo
998230edff
code_style: simplify static commands used by styles and main menu; run dotnet format
2024-09-02 20:27:12 +08:00
leo
3d57398d15
refactor: show statistics data by authors intead of committers
2024-08-28 18:38:29 +08:00
leo
83b802e357
refactor: collect the commits for the most recent year instead of just the current year ( #414 )
2024-08-28 18:16:57 +08:00
leo
c90abd0ca2
refactor: commit search
...
* no longer depends on the commits displayed in histories view
* limit the number of commits returned by all search methods to a maximum of 1000
2024-08-28 16:56:43 +08:00
leo
3ea80d99f1
code_style: remove unused namespace using and run dotnet format
2024-08-28 13:42:25 +08:00
leo
7776cda475
enhance: using lightweight ListBox
instead of DataGrid
to improve performance
2024-08-27 21:28:48 +08:00
leo
1dd782bc42
fix: wrong graph when there's only one commit
2024-08-26 17:26:02 +08:00
UchiTesting
847a355a3e
style(locale): Add French locale
...
Added resource file and updated the code to declare the new French resource.
Include a 1st batch of translation.
2024-08-24 13:39:31 +02:00
leo
6ab0900b20
feature: add a button to see which branches and tags that contains selected commit ( #388 )
2024-08-23 16:52:55 +08:00
leo
e6f3ab5e68
ux: different node in graph ( #395 )
2024-08-23 10:22:53 +08:00
leo
323dc2e87f
code_review: PR #386
...
* rename `FirstParentFilterToggled` to `EnableFirstParentInHistories`
* remove `FirstParentFilterEnabled` from repo settings - it should not been saved
* move toggle button from repository toolbar to histories switcher
* tooltip translations
* new icon for `Icons.FirstParentFilter`
* extends commit graph to support `--first-parent` option
2024-08-21 19:45:32 +08:00
Yitzchak Ben-Ezra
d21cc2c96a
first-parent-filter
...
need help in two issues:
1. use better icon - I just reused the Filter icon
2. lines of merge commits are still rendered - need to skip them since they don't link to any commit when filter enabled. I didn't manage to solve by my own right now
2024-08-21 09:04:35 +03:00
leo
7e4eca9691
code_style: remove unused namespace using
2024-08-21 12:49:55 +08:00
leo
191763e1d8
refactor: commit sha link in message ( #382 )
...
* remove the built-in commit issue tracker rule
* hyperlink in commit message now supports commit sha
2024-08-21 12:46:36 +08:00
leo
48adad53b4
feature: supports the commit hash issue tracker ( #382 )
...
Using issue tracker instead of built-in supported commit web link is based on the following reasons
* repo may have multiple remotes
* it is not good to open an context menu to choose which web to visit with multiple remotes
* some remote servers are not supported by this app
2024-08-21 10:44:07 +08:00
leo
d4a9343eaf
feature: add an option to enable --recurse-submodules=check
on push ( #345 )
2024-08-20 15:20:58 +08:00
leo
84b8735d6c
code_style: run dotnet format
2024-08-18 23:14:44 +08:00
leo
7fe1df20cc
refactor: delay starting background tasks
...
* start background task only it is needed
* solve the problem that we can not use `ViewModels.Preference.Instance` until resource ready
* remove avatar sever settings
2024-08-18 23:10:54 +08:00
leo
fe9f4f5743
refactor: rewrite the way using extension to get custom grammars
2024-08-18 09:33:40 +08:00
leo
39fba17648
enhance: text editor ( #365 )
...
* support extra grammars.
* avoid crashing on text editor detached from visual tree
2024-08-18 00:18:18 +08:00
leo
ed7465def5
enhance: render highlight background manually instead of using TextRunProperties.SetBackgroundBrush(IBrush)
( #364 )
2024-08-16 18:59:48 +08:00
leo
b3327ebeb5
feature: supports commit template ( #264 )
2024-08-15 18:59:35 +08:00
leo
0c6af27b40
refactor: rewrite the way to find external editors ( #347 )
...
* do not find tools from environment variables since it needs a lot of works on some platforms, such as macOS
* add `external_editors.json` to allow user configure paths directly
2024-08-15 11:32:26 +08:00
leo
bf6ac4d20d
refactor: rewrite commit web link
...
* add support for Bitbucket
2024-08-15 10:39:31 +08:00
leo
34a598d421
feature: add commit web links ( #357 )
2024-08-13 17:15:17 +08:00
leo
202aa379f8
fix: can not select the entire content of commit message
2024-08-13 12:08:33 +08:00
leo
de2f70b8ea
feature: supports display tags in a tree ( #350 )
2024-08-11 18:12:58 +08:00
leo
f59af0afcf
enhance: only when the repository has submodules will the submodule information be updated at the same time after the branch information changes
2024-08-11 10:15:43 +08:00
leo
747c8054f5
fix: submodule status is not updated when branch changed ( #339 )
2024-08-09 18:29:04 +08:00
leo
ed2d3279e1
enhance: create branch on detached HEAD ( #344 )
2024-08-09 16:06:28 +08:00
leo
c596427380
fix: ahead/behind indicator of commit in histories view not updated after upstream changed
2024-08-09 15:17:04 +08:00
leo
ce7420354d
fix: local changes do not updated after submodule changed ( #339 )
2024-08-09 14:34:19 +08:00
leo
d37f53a4f3
fix: local changes do not updated after submodule changed ( #339 )
2024-08-09 14:28:10 +08:00
leo
a75d50bf97
refactor: rename Models.Watcher.UpdateSubmodules
to Models.Watcher.SetSubmodules
...
* run `dotnet format`
2024-08-09 11:33:37 +08:00
leo
1fe2be11a7
refactor: rewrite submodule to support IsDirty
state ( #339 )
2024-08-08 21:11:10 +08:00
leo
6bd0920d71
feature: enable syntax highlighting in revision files view ( #333 )
2024-08-08 10:12:39 +08:00
leo
0450931655
enhance: avoid refetch avatar for noreply@github.com
2024-08-06 15:40:07 +08:00
leo
85d3f0993c
refactor: load default github avatar
2024-08-05 20:12:41 +08:00
leo
dfd098e131
refactor: merge sourcegit.issuetracker.setting to sourcegit.settings.
2024-08-05 18:18:57 +08:00
leo
cd9196bb84
feature: supports get avatar from avatars.githubusercontent.com
...
* move all images to `src/Resources/Images` folder
2024-08-02 18:06:45 +08:00
leo
eb437df9fe
enhance: reduce commits loading time for interactive rebase
2024-08-01 18:05:58 +08:00
leo
425b713d1e
code_review: PR ( #307 )
...
* locale selection is sorted by name
* add en_US fallback for de_DE
2024-08-01 09:57:03 +08:00
leo
c8c881c38a
Merge pull request #307 from warappa/features/305-add-german-translation
...
Add German translation
2024-08-01 09:49:36 +08:00
warappa
edf09234c8
#305 : Add German translation
2024-07-31 23:32:41 +02:00
leo
ff8456bcba
Merge pull request #304 from JeanFranz73/ptbr-locale
...
feat: Add portuguese (pt_BR) locale
2024-07-31 21:20:21 +08:00
Jean Franz
177450fffd
feat: Add portuguese (pt_BR) locale
2024-07-31 10:08:59 -03:00
leo
f55a576013
refactor: rewrite amend behaviour ( #300 )
...
* toggle amend will show changes in HEAD commit
* since discard is not compatible with staged changes in `amend` mode, we only allows user to discard unstaged changes
2024-07-31 12:04:52 +08:00
leo
3c5a661fa0
feature: supports type change
2024-07-30 21:32:23 +08:00
leo
20b45a1cf4
fix: when base is current worktree, the diff content of selected change is wrong
...
* remove warnings in JetBrains Rider (it seems JetBrains can NOT recognize Binding.TargetNullValue)
2024-07-27 21:35:57 +08:00
leo
4612cecf10
code_review: PR ( #288 )
...
* add missing translations and it's no need to add `OnPull` suffix since it already has a prefix `Text.Pull.`
* when enable fetching all branches of selected remote, use merge/rebase command instead of pull
* re-arrange orders of options in pull popup panel
* default enable `Fetch all branches`
2024-07-27 20:35:19 +08:00
RevenantX
8a38b6afac
Add fetch all branches on pull. (acts like fetch+pull)
2024-07-27 12:52:01 +03:00
leo
3ef703c65d
code_style: run dotnet format
2024-07-24 11:45:16 +08:00
leo
9e048751ae
refactor: move non-observable object from ViewModels
to Models
...
* ViewModels.MergeMode -> Models.MergeMode
* ViewModels.Notification -> Models.Notification
* ViewModels.ResetMode -> Models.ResetMode
* use `int` instead of `ViewModels.CountSelectedCommits`
2024-07-24 11:44:13 +08:00
leo
0dee3a1969
refactor: use Binding.TargetNullValue
instead of empty class Models.CompareTargetWorktree
2024-07-24 11:16:28 +08:00
leo
1583b08892
code_review: PR ( #280 )
...
* tooltip for swap button
* move `Views.CompareTargetWorktree` to `Models.CompareTargetWorktree`
* remove unused `Models.IObjectId`
* fix swap not working when target is Worktree, because Commands.CompareRevisions's Args do not changed after swapping
2024-07-23 19:26:04 +08:00
Giuseppe Lippolis
5cc30f7d10
feat: Allow Swap Commits in Revision Compare
2024-07-23 11:41:33 +02:00
leo
fa9990c38c
code_style: move SourceGit.ViewModels.RepositorySettings
to SourceGit.Models.RepositorySettings
2024-07-23 14:52:25 +08:00
leo
183cb8a658
enhance: supports checking updates with hotfix version
2024-07-23 14:36:27 +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
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
dbc95e7209
refactor: move some method from view to its data source class
2024-07-18 11:40:56 +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
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
f9c8e4c699
code_style: remove unused code
2024-07-16 12:19:58 +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
f4eca45754
code_style: remove all IDE warnings
2024-07-15 00:30:31 +08:00
leo
1c204e72a1
refactor: remove dependency on Avalonia.Controls.TreeDataGrid
2024-07-12 17:14:52 +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
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
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