Micha WERLE
81cf2e6e5e
feat(whitespace): show whitespace in editor views
...
This commit adds a new Settings entry "ShowWhitespaceinEditor"
("editor/view/showWhitespace") to the Settings class, and a new checkbox
in the Editor settings dialog.
This setting defaults to off/false, preserving the current behaviour of
the application.
If this setting is toggled to on, whitespace is rendered in the HunkWidget
and BlameEditor views.
2024-05-13 00:03:03 +09:00
Murmele
9c20e60e8d
Merge pull request #713 from siforrer/fix-drop-pop-stash-crashes
...
Set head/stash reference after pop/drop stash
2024-04-20 17:43:54 +02:00
Murmele
64cecfadaf
Merge pull request #719 from monks-dev/master
...
Add option to always show window maximized
2024-04-20 16:39:12 +02:00
siforrer
744dc13551
Update src/ui/RepoView.cpp
...
Co-authored-by: Ryan Jensen <jensenr30@gmail.com>
2024-04-20 16:24:21 +02:00
Silvan Forrer
1cb74d17e1
Select "Uncommitted changes" after "Pop Stash"
2024-04-20 16:24:20 +02:00
Silvan Forrer
659776f938
Revert the refresh behavior
2024-04-20 16:24:20 +02:00
Silvan Forrer
0515491197
Set head reference after pop stash or refresh
...
When executing "Stash->Pop Stash" from the menu bar or when popping a
specific stash from the commit list then the repo view is set to the head
revision and the commit list is updated with the content from the head
revision.
Before the when doing a "Refresh" and being on the stash view the commit list
stayed on the stashes but the head revision was selected. Now the commit list
contains the commits from the head revision.
2024-04-20 16:24:19 +02:00
Silvan Forrer
778715ae9f
Set head/stash reference after pop/drop stash
...
Fixes the issue "Dropping multiple stashs in a row segfaults #637 ".
The cause of the crash was that the commit list was not properly
updated after pop/drop stash actions. With this change the commit
list is updated or when the stash gets empty (after last pop/drop)
then the head is selected as current reference.
2024-04-20 16:24:19 +02:00
monks-dev
6e0ae4c339
Clang format
2024-04-20 15:37:48 +02:00
monks-dev
7fa407d900
Added a checkbox in the settings "Tools>Options>Window>View>Show Maximized".
...
Added a check for the checkbox when the window opens to show maximized if checked.
2024-04-20 15:37:47 +02:00
monks-dev
26e92309cb
I made the window show maximized when opened.
2024-04-20 15:37:47 +02:00
Yann Salmon
de7704a1b1
fix cdUp logic
2024-04-20 15:36:40 +02:00
Murmele
ec9980f699
Merge pull request #721 from jensenr30/navigation-hotkeys
...
Add Hotkeys for Navigating CommitList
2024-03-28 11:19:21 +01:00
Ryan Jensen
611052da32
Add hotkeys D and U move DiffView down/up by half page
2024-03-24 21:54:54 -05:00
Ryan Jensen
7e182735e2
Add selectCommitRelative()
2024-03-21 01:17:47 -05:00
Ryan Jensen
770ac3c7a5
Add hotkeys: nextCommit and prevCommit
2024-03-20 22:07:04 -05:00
Ryan Jensen
5e124bd363
Simplify HunkLabel
2024-03-20 01:24:45 -05:00
Ryan Jensen
cec48ca95d
Move HunkLabel.cpp into HunkWidget.cpp
2024-03-20 01:24:45 -05:00
Ryan Jensen
d4dc0f57b2
HunkHeader resizes itself to not interfere with line wrapping
2024-03-20 01:24:45 -05:00
Ryan Jensen
8b0973c8ea
Line wrapping is disabled by default
2024-03-07 20:51:53 -06:00
Ryan Jensen
0c50146f47
Add a check box in Settings->DiffPanel to enable line wrapping
2024-03-07 01:32:14 -06:00
Ryan Jensen
800a4c79c5
Enable line wrapping
2024-03-07 00:48:23 -06:00
Ryan Jensen
22d81be025
Render 'Uncommitted changes' in italics
2024-02-25 17:18:33 -06:00
Ryan Jensen
1508333316
Highlight selected commit's backgrounds with painter->fillRect
...
Qt was adding additional highlighting that was distracting. This commit
fixes that issue by manually drawing the highlighted background color
instead of relying on Qt to do that.
See
https://github.com/Murmele/Gittyup/issues/699
2024-02-25 17:06:10 -06:00
Ryan Jensen
3be4b5f96a
Move commit messages closer to commit graph (compact mode)
...
also fix incorrect file name in README.md
2024-02-23 19:31:59 -06:00
Murmele
d37a32fddb
Merge pull request #693 from wolfseifert/delete-timeline-causes-crash-on-windows-#680
...
Delete timeline causes crash on windows #680
2024-02-20 14:04:13 +01:00
wolfseifert
3cd3ddba59
Update RepoView.cpp
...
reformatted
2024-02-14 12:47:15 +01:00
wolfseifert
b1f5b82657
Update MainWindow.cpp
...
reformatted
2024-02-14 12:45:49 +01:00
Martin Marmsoler
00a9ad1a20
Execute cdUp always
...
Description: In Debug mode the asserts are activated, but in Release mode not. In this case in the release build the cdUp will just be ignored.
2024-02-13 20:38:53 +01:00
wolfseifert
cfc90cd683
Update RepoView.cpp
...
delete-timeline-causes-crash-on-windows-#680
2024-02-08 15:38:37 +01:00
wolfseifert
9001e004e4
Update MainWindow.cpp
...
delete-timeline-causes-crash-on-windows-#680
2024-02-08 15:37:12 +01:00
Martin Marmsoler
b4e9885b95
set original commit message as default
2023-12-10 13:12:01 +01:00
Martin Marmsoler
faac6c58be
add comments
2023-12-10 13:10:39 +01:00
Murmele
69d3e21a4a
Merge pull request #614 from ysalmon/betterHistory
...
Referring repos with their git-dir instead of their work-tree.
2023-11-20 14:38:04 +01:00
Murmele
6984d51722
Merge pull request #664 from Murmele/multicolumn
...
Use columns for file name, directory, and state when files are shown as a list in TreeViews.
2023-11-20 14:37:42 +01:00
Martin Marmsoler
5286ed190f
Add hint that first template will be applied automatically
2023-11-12 21:53:55 +01:00
Martin Marmsoler
a63edf27f1
when clicking on template, also add filenames, otherwise nothing is shown
2023-11-12 21:48:50 +01:00
Martin Marmsoler
73e3cf329a
Format
2023-11-12 18:22:36 +01:00
Martin Marmsoler
c836908b9e
Fix bug
2023-11-12 18:19:12 +01:00
Martin Marmsoler
986cbf140e
updateView() must be done before expandAll is done, otherwise the collapse counter is wrong and an assert will be triggered
2023-11-12 18:10:12 +01:00
Martin Marmsoler
d598ac21fa
updateView when updating the rest
2023-11-12 17:44:04 +01:00
Martin Marmsoler
9636a11923
reset selection, because when a list item is selected and treeview is used, no restore is possible with the collapse counter we use
2023-11-12 17:43:45 +01:00
Martin Marmsoler
ad5cfe306c
forgotten to return value
2023-11-12 17:42:49 +01:00
Martin Marmsoler
1f3e81ab0b
Add setting for multicolumn
2023-11-12 17:42:25 +01:00
Martin Marmsoler
7bb4a7a5f0
Use QAbstractItemModel because then mConstructed is not required and we gain more control
2023-11-12 17:41:13 +01:00
Martin Marmsoler
1bad8fa305
remove mDelegateCol because it is already set to 0 in the header
2023-11-12 16:58:30 +01:00
Martin Marmsoler
d54bb20253
Use function to create actions to make it more readable
2023-11-12 16:58:07 +01:00
devnull
c416cc63cd
Add sort by column. Force all columns headers to be initialized.
2023-11-12 15:48:21 +01:00
devnull
1d6d53ba00
Use columns for file name, directory, and state when files are shown as a list in TreeViews. Resolves Dense layout issue #547
2023-11-12 15:48:20 +01:00
Martin Marmsoler
f2f19ab415
Implement setting language with the gui
2023-11-12 14:47:40 +01:00