Commit graph

386 commits

Author SHA1 Message Date
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