Commit Graph

486 Commits

Author SHA1 Message Date
extrawurst
e1f243d8fb wording 2024-02-18 12:48:11 +01:00
extrawurst
825935ba4f
Multiline TextEdit cleanups (#2053)
* change commit default binding
* animated gif of multiline text edit
* update changelog
* fix style of default text
* textinput should not need to know about its users
* fix branch create popup
2024-02-18 12:44:44 +01:00
Joshix-1
7335cd1c5d
fix sorting of commits in diff view (#1747) 2024-02-12 20:33:46 +01:00
extrawurst
99c705eaa7 fix stashing tab empty (closes #1986) 2023-12-22 17:22:55 +01:00
extrawurst
e7c61ffc89
Support prepare commit hook (#1978) 2023-12-16 00:07:54 +01:00
Adrian Wannenmacher
2be0e73d5b
Prevent unsigned tagging (#1915)
* prevent creation of tags when tag-signing is configured

Co-authored-by: extrawurst <776816+extrawurst@users.noreply.github.com>
2023-10-17 08:40:20 +02:00
Sainath Singineedi
0e2b3db1d9
Add confirmation dialog for undo commit (#1909) 2023-10-17 07:59:59 +02:00
Maurice Wangleng Tan
2fd957e2c8
Allow customizing line break visualization (#1904) 2023-10-16 18:00:48 +02:00
extrawurst
8768611876 prepare release 2023-09-09 10:59:21 +02:00
extrawurst
7c0d010233 make commit lookup in log faster
* makes hopping to next highlighted commit loopfree (closes #1876)
* makes general commit find faster
2023-09-05 09:07:21 +02:00
extrawurst
253a18f62a search message body/summary separately
closes #1875
2023-09-04 22:24:20 +02:00
extrawurst
0e1d83fb02
Parallelize log search (#1874) 2023-09-04 20:55:17 +02:00
extrawurst
11b9e8193c prepare for release 2023-09-03 18:52:33 +02:00
extrawurst
52dfefe624 Revert "parallelize log search"
This reverts commit ebe41e8a75.
2023-09-03 18:30:34 +02:00
extrawurst
ebe41e8a75 parallelize log search
* will consume all cores now and got faster in all my benchmarks
* setting progress via asyncjob now makes sure to only set it if it has changed and return whether that is the case to simplify sending progress notifications only in case progress actually changed
2023-08-31 12:09:13 +02:00
extrawurst
5be397b335
stash list does not update after pop/drop (#1865)
* move to stashlist after stashing
* move to status after stash popping
2023-08-31 10:41:52 +02:00
extrawurst
16c97edb4d fix log not updating after branch switch
closes #1862
2023-08-31 10:02:59 +02:00
extrawurst
85ab9d47ad prepare release 2023-08-30 15:55:26 +02:00
extrawurst
0c591dfea4
Fix branch switch with slash (#1857) 2023-08-29 16:39:58 +02:00
extrawurst
b36ffc9481 added changelog 2023-08-28 12:40:54 +02:00
extrawurst
7eaa04169f fix changelog times 2023-08-27 16:12:28 +02:00
extrawurst
33ac5b97ae prep for release 2023-08-27 15:30:15 +02:00
Ammar Abou Zor
c68fa3e87b
Jump to commit via sha (#1818) 2023-08-27 09:46:41 +02:00
Ammar Abou Zor
6339a1f33c
Copy full Commit Hash by default (#1836) 2023-08-26 14:26:51 +02:00
extrawurst
3c5131ad27
commit log filtering (#1800) 2023-08-18 17:19:18 +02:00
extrawurst
b50d44a4b8 fix changelog 2023-08-18 14:32:44 +02:00
lightsnowball
514e8f0175
Modify checkout implementation making branch switching more similar to CLI git behaviour (#1809) 2023-08-18 14:31:51 +02:00
extrawurst
798f990cd3 changelog and notes for #1506 2023-08-12 18:45:16 +02:00
extrawurst
6ec647710d visualize empty line in diff better (closes #1359) 2023-08-11 16:44:50 +02:00
Niklas Dießner
e90656d61c
add anaconda install instructions (#1802) 2023-08-10 23:34:27 +02:00
extrawurst
7400d5bc68 more logging/diagnostics when repo cant be opened 2023-08-10 15:39:39 +02:00
extrawurst
53988ba4e0
fix hunk edits with non standard diff options (#1803) 2023-08-10 14:48:36 +02:00
extrawurst
495d4d5da7 do shell expansion for commit.template
more error logging around commit-template loading
2023-08-09 19:02:24 +02:00
Niklas Dießner
403c5aabd9
Switch to bwrap (#1792)
* switch from textwrap to bwrap
2023-08-09 16:00:35 +02:00
Niklas Dießner
104e5bf62e
1751 follow symlink for keybinding config (#1767) 2023-07-29 23:04:53 +02:00
domtac
dba5206e46
Feat 1757 add signoff option (#1758) 2023-07-29 22:11:36 +02:00
Ammar Abou Zor
4682a1b75b
Make fuzzy find popup scrollable (#1734)
* Added: Make fuzzy find popup scrollable
* Fuzzy_find: Add scrollbar to matches list
* Update CHANGELOG
2023-07-08 12:29:47 +02:00
UG
b4450f9bc3
fixed wrong fuzzy-find highlight in long str (#1731)
* fixed wrong highlight in long str
* support multibyte characters
2023-07-06 21:15:08 +02:00
extrawurst
c119e6ae18 fix changelog 2023-06-25 14:11:31 +02:00
Christoph Rüßler
3c9c266c01
Simplify theme overrides (#1652)
* Simplify theme overrides

Theme overrides are now loaded the same way key overrides are loaded.
The config file, `theme.ron`, does not have to contain a complete theme
anymore. Instead, it is possible to specify only the values that are
supposed to override their corresponding default values.

* Document breaking change in changelog
* Test that override differs from default
* Convert existing theme to patch
2023-06-25 14:09:40 +02:00
extrawurst
022b389146 fix char_count with utf8 chars (fixes #1726) 2023-06-20 18:04:27 +02:00
extrawurst
be801a336f fix changelog 2023-06-19 17:53:04 +02:00
hamflx
bfcf33fce4
feat: support 'n'/'p' key to move to the next/prev hunk. (#1723)
* feat: support 'n'/'p' key to move to the next/prev hunk.
* feat: auto scroll next/prev hunk into visible area.
* add unittest for VerticalScroll::move_area_to_visible.
2023-06-19 17:52:05 +02:00
extrawurst
40cd72abfc prepare for release 2023-06-19 16:00:01 +02:00
kamillo
58e72cd22b
Add support for options handling in log and stashes views #1661 (#1675) 2023-06-19 15:40:26 +02:00
pm100
cdaf3b8b84 missed readme and changelog updates 2023-05-17 08:45:12 -06:00
pm100
d6f33532bb bump msrv to 1.65 2023-05-14 13:59:48 -06:00
Christoph Rüßler
370aff5fcc
Default to tick-based updates (#1657)
* Default to tick-based updates

This commit reintroduces code that was previously removed in favor of a
notify-based update trigger. It turned out that notify-based updates can
cause issues in larger repositories, so tick-based updates seemed like a
safer default.

https://github.com/extrawurst/gitui/issues/1444
https://github.com/extrawurst/gitui/pull/1310

* Add FAQ entry for --watcher

* Remove --poll
2023-04-29 17:03:43 +02:00
extrawurst
48d42abd38 changelog entry and gif for #1350 2023-04-22 08:12:53 +02:00
Christoph Rüßler
3e0ec29d0d Add entry to changelog 2023-04-12 11:53:08 +02:00
Remo Senekowitsch
63f230f0d1 fix freeze on copy with wl-copy 2023-03-07 18:50:09 +01:00
Louis Bourque
45bb8a71b5 Fix freeze on copy when xclip is installed on Linux 2023-03-05 12:44:01 +01:00
extrawurst
2fa4c7932c fix race issue in revlog message fetching
sometimes messages appear empty because getting the revlog is so fast (empty repo) that no draw happened yet and so we do not know yet what size the view will have.
fixes #1473
2023-03-01 14:22:42 +01:00
extrawurst
10bf4e310d reword gif 2023-02-19 11:44:25 +00:00
extrawurst
9d83ce358e
Reword commit (#1553)
* reuse commit popup for reword
* switch to status after reword
* show command
* prepopulate with old msg
* changelog

Closes #829
2023-02-18 20:47:24 +00:00
extrawurst
9d256510ac print message of where log will be written
closes #1472
2023-02-17 16:30:43 +00:00
extrawurst
ba9b6d6b6a fix crash on entering submodule #1510
also do not allow opening submodule without workdir
2023-02-17 11:19:16 +00:00
Antonio Yang
aefc18d819
Copy file path (#1516)
* copy file path to click board
* update change log
* Add copy path info to command bar
2023-02-12 10:06:56 +00:00
extrawurst
8f7f35b8a9 remove focus key bindings
merge them into `move_XYZ` keys
2023-02-11 10:51:51 +00:00
extrawurst
bff1c33625 wording 2023-02-04 19:43:43 +01:00
extrawurst
8ab62244ce
support reset from log view (#1534) 2023-02-04 16:15:26 +01:00
extrawurst
1a0167e7f8 mention contributor in changelog 2023-02-04 07:01:48 +01:00
Andrey Krupskiy
57a5322fa7
Checkout commit (#1499)
* Add keybind to checkout commit in log view
* Extract commit checkout into method
* add quckbar hint for checkout commit
* add a smoke test
* update changelog
* show an error in popup

---------

Co-authored-by: Omnikar <omnikar5@gmail.com>
Co-authored-by: extrawurst <776816+extrawurst@users.noreply.github.com>
2023-02-04 07:00:19 +01:00
hamflx
5411397f9a
Fix commit hooks error and "no such file" error on Windows with wsl2 installed. (#1532)
* use git bash instead of wsl bash
* add unittest for some simple shell commands.
* fix incompatible unitest with macOS
2023-02-02 10:33:57 +01:00
extrawurst
32f6134309 log errors in key bindings parsing (#1491) 2023-01-29 11:15:19 +01:00
extrawurst
b424b9beeb changelog 2023-01-29 09:34:25 +01:00
extrawurst
ad45102e3b add proper changelog for 1dc097e 2023-01-13 14:52:59 +01:00
extrawurst
ad42ad9269 added relevant changlog for 5ca712f 2023-01-13 14:08:07 +01:00
Christoph Rüßler
9fa5fddd93
Allow to scroll diffs horizontally (#1327) 2023-01-08 12:47:37 +01:00
extrawurst
e5c62d01e1 remove duplicate edit cmd from bar (#1489) 2022-12-30 00:15:13 +01:00
extrawurst
9ca6068a17 fix crash in small window and branches
fixes #1470
2022-12-18 20:07:26 +01:00
extrawurst
7dcf93e0b2 do not show edit item cmd in commit detail: msg
fixes #1461
2022-12-10 11:25:11 +01:00
extrawurst
fa302717e8 add changelog for 045e9e5 2022-12-10 01:23:58 +01:00
extrawurst
9210d8ca87 fix key binding used in comand bar for stash_open
this fixes #1454
2022-11-28 01:14:03 +01:00
extrawurst
6c4ee56eed remove debug sleep (fixes #1451) 2022-11-25 21:16:47 +01:00
bc-universe
9b46bb63f9 Display commit changes (#1420)
When using an external editor to edit the commit message, the changes are now displayed
2022-11-23 15:26:26 +01:00
extrawurst
8da9cfc21d improve help on where to use amend command 2022-11-23 15:14:29 +01:00
extrawurst
b987598c7b fix next commit msg from history ordering
and also disable this command if no history is present

this fixes #1445
2022-11-22 12:18:36 +01:00
extrawurst
234e7cb3fc more changelog notes 2022-11-22 11:26:28 +01:00
extrawurst
4ef9659138 prep release 2022-11-22 11:07:41 +01:00
extrawurst
8e8c5fad55 make fetching tree files async 2022-11-21 20:16:48 +01:00
extrawurst
bc15b5d550 better link 2022-11-21 18:31:32 +01:00
extrawurst
fbcf908881 update changelog 2022-11-21 18:26:49 +01:00
extrawurst
b495425b16 fix changelog 2022-11-19 18:19:21 +01:00
extrawurst
6b9a91f17d
Edit file from file tree (#1430)
* allow edit file from any StatusTreeComponent
2022-11-14 15:01:34 +01:00
extrawurst
fbab49b858 changelog updates 2022-11-14 14:12:16 +01:00
Artur
a172b18428
Add Linux targets for ARM, ARMv7 and AARCH64 (#1419) 2022-11-05 16:46:11 +01:00
Sergio Alejandro Ribera Costa
282e578ac3
Add notification when correctly copying hash commit (#1376) 2022-10-26 14:35:31 +02:00
extrawurst
fa2ad81bec feature gif 2022-10-24 16:33:58 +02:00
Alexandru Macovei
9c2d8c0e0d
Display current repository path in the top-right corner (#1387) 2022-10-20 16:23:58 +02:00
extrawurst
f04af21382 align branch name parenth usage
and added changelog github user name
2022-10-18 13:44:27 +02:00
Alexandru Macovei
216fad3140
Display tags and branches in the revlog (#1371)
* give tags a more distinctive appearance in the revlog
* store branches on commitlist, and display branch labels on head commits
2022-10-18 13:37:20 +02:00
extrawurst
8604b331ae
selected items should have dedicated fg color (#1366)
* selected items should have dedicated fg color
2022-09-30 20:19:37 +02:00
extrawurst
aeb64e1175
Commit msg history (#1346) 2022-09-20 10:07:05 +02:00
Emil Jaszczuk
e0fa63c6c9
Allow copying multiple commits (#1288) 2022-09-19 10:54:29 +02:00
extrawurst
9534e4c2f9
persist current tab as options (#1339) 2022-09-18 18:05:29 +02:00
Jakub Jirutka
f69460cccf
Allow to build without vendored openssl, allow to build syntect with regex-onig (#1323)
* allow to build syntect with regex-onig

Syntect supports two regex engines:

* regex-fancy: a pure-rust regex engine based on the fancy-regex
* regex-onig: a regex engine based on the oniguruma C library

From the syntect's Readme:

> The advantage of fancy-regex is that it does not require the onig
> crate which requires building and linking the Oniguruma C library.
> Many users experience difficulty building the onig crate, especially
> on Windows and Webassembly.

> As far as our tests can tell this new engine is just as correct, but
> it hasn't been tested as extensively in production. It also currently
> seems to be about half the speed of the default Oniguruma engine

Oniguruma engine is faster than the fancy-regex engine and the syntect
project chose the latter as the default only to avoid difficulties with
linking Oniguruma (C library) on some platforms. This is not an issue
for linux distributions - linking against system-provided shared
library is preferred to bundled libraries.

Moreover, gitui built with Oniguruma instead of fancy-regex is by 25%
smaller.

This commit adds two cargo features, regex-fancy and regex-onig, to
enable respective syntect features. The former is enabled by default.

* allow to build without vendored openssl

Vendoring (bundling) openssl library is very bad for security and
Linux distributions forbid it. The aim of this change is to simplify
packaging gitui in linux distros.

Co-authored-by: extrawurst <776816+extrawurst@users.noreply.github.com>
2022-09-18 15:02:01 +02:00
Niko Heiskanen
0a970db24a
file blame at right revision from commit-details (#1324) 2022-09-18 14:06:46 +02:00
Rodrigo Batista de Moraes
67fa456e08
Add word motions to text input (#1256) 2022-09-08 08:50:08 +02:00
extrawurst
609039eb5e update 2022-09-02 10:00:47 +02:00