Commit Graph

493 Commits

Author SHA1 Message Date
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
extrawurst
cbb51bd535 submodules gif 2022-08-31 12:06:55 +02:00
extrawurst
65b121179d shorter changelog entry 2022-08-30 14:09:24 +02:00
Luigi Clemente
bacf81f6d6
Improve UI selection and command bar (#1299)
* Added new color for commands bar
* Made commit list item and file tree item fill the entire row
2022-08-30 14:03:35 +02:00
extrawurst
8c32ec53ee pretty_assertions migrated away from ansi-termi
this closes #1290
2022-08-30 13:46:06 +02:00
extrawurst
ef3ece552d
PoC list submodules (#1090) 2022-08-27 17:55:06 +02:00
extrawurst
d040b33559 fix changelog 2022-08-17 20:05:01 +02:00
extrawurst
02f1555103 update changelog 2022-08-17 19:53:00 +02:00
JayceFayne
d4949a676b
support copy to clipboard on wayland (#1233) 2022-08-17 19:46:56 +02:00
extrawurst
8986f70a89 missing changelog 2022-08-17 18:31:49 +02:00
extrawurst
7d9e6f8c4d prepare for release 0.21 2022-08-17 17:30:11 +02:00
extrawurst
594dd12864 fix 2022-08-17 16:56:54 +02:00
extrawurst
fa8d8aff62 update changelog 2022-08-17 16:38:46 +02:00
extrawurst
cce49a34b7 Revert "Change diff renamed files (#1040)"
This reverts commit 5f466ff983.
2022-04-24 22:30:40 +02:00
Luka Markušić
638d7c2648
Sort fuzzy_matcher results based on score (#1183)
Co-authored-by: Stephan D <776816+extrawurst@users.noreply.github.com>
2022-04-24 20:11:26 +02:00
Gleb Davydov
5f466ff983
Change diff renamed files (#1040) 2022-04-24 19:25:50 +02:00
splitDEV
13afbf6bba
Add support for GIT_DIR and GIT_WORK_TREE environment variables (#1191)
* Use git env variables for git dir and git workdir

* Add changes to CHANGELOG.md

* Fix indentation

* Add link to PR

Co-authored-by: Stephan D <776816+extrawurst@users.noreply.github.com>
2022-04-24 19:12:00 +02:00
extrawurst
da531c61f6 added faq page 2022-04-24 18:58:50 +02:00
Stephan D
02efae1499
Fix stashlist after marked drop (#1207) 2022-04-23 19:01:15 +02:00
extrawurst
96aa346292 fix a bunch of links 2022-04-23 18:39:33 +02:00
Philippe Eberli
b18cabf4d3 Fix URL to issue 846 2022-04-17 16:44:36 +01:00
Stephan D
2a578889f3
switch focus to index after staging last file (#1170) 2022-03-10 00:50:37 +01:00
extrawurst
970931abfc update changelog 2022-02-22 01:06:11 +01:00
Stephan Dilly
86798008ed update changelog 2022-02-06 22:16:19 +01:00
Stephan Dilly
750b45a6c4 fix changelog 2022-01-31 09:48:53 +01:00
Fernando Silva
2745d9f860 fix: blame tabs indentation 2022-01-31 09:47:56 +01:00
Stephan Dilly
9ace5357e1 cleanup 2022-01-31 00:40:22 +01:00
Stephan Dilly
1013d3fa24 update changelog 2022-01-30 23:03:58 +01:00
Stephan Dilly
e18aa48aea
fix issue with taglist component without remotes (#1112) 2022-01-27 21:56:54 +01:00
Stephan Dilly
11c055220d changelog 2022-01-26 10:01:55 +01:00
Stephan Dilly
6cf39a88f5
Fix 1102 performance reg (#1103) 2022-01-26 00:30:19 +01:00
Stephan Dilly
160bc6b99d prep for release 0.20 2022-01-25 19:52:51 +01:00
Stephan Dilly
317b245ba0
fix credential.helper config usage inside repo (#1091) 2022-01-24 00:36:58 +01:00
Stephan Dilly
12fbfa0946 prepare for v0.20 release 2022-01-22 01:27:20 +01:00
Stephan Dilly
0874f33eb3 update changelog 2022-01-22 01:21:21 +01:00
Stephan Dilly
435de9cda3
support hookspath (#1054) 2022-01-17 15:06:54 +01:00
Stephan Dilly
b51734cce8 changelog gif 2022-01-16 23:04:31 +01:00
Stephan Dilly
13b6b2fdc6
support deleting tag on remote (#1079) 2022-01-16 22:56:39 +01:00
Stephan Dilly
3fdf5ba618 update changelog 2022-01-12 12:49:32 +01:00
Stephan Dilly
b6429bc330
do not allow pull on local-only branch (#1067) 2022-01-09 16:31:20 +01:00
Stephan Dilly
1fd81b463e revert commit gif 2022-01-08 00:12:13 +01:00
Stephan Dilly
d5d36de01e
implement reverting commit from revlog (#1057) 2021-12-29 16:40:22 +01:00
uniqueNullptr2
e7f15ae457
Disable fetch,pull,push when no remote defined (#1051) 2021-12-25 21:37:30 +01:00
Stephan Dilly
cef0de4f0e changelog 2021-12-15 15:34:50 +01:00
Christian Zangl
70ce3f88d6
add gg/G to vim config (#1041)
see #1039
2021-12-12 18:14:02 +01:00
Martin Kühl
5550415e3c
cred: check pushurl before checking url (#967)
* cred: check pushurl before checking url

if a remote has both a pushurl and a url, need_username_password should check the pushurl before checking the url since we might not need credentials for the former
2021-12-09 22:47:27 +01:00
Stephan Dilly
6249491484
keep commit msg on hook-fail (#1036)
fixes #1035
2021-12-09 21:12:31 +01:00
Stephan Dilly
cd639b29c0
release 0.19 (#1033) 2021-12-08 23:24:01 +01:00
Stephan Dilly
006cdd6373
support bare repos (#1028) 2021-12-05 00:35:45 +01:00
Stephan Dilly
ecabee02da allow opening file selected in tree (#989) 2021-12-02 08:24:13 +01:00
Stephan Dilly
36699a0a36
git2rs upgrade (#1025)
closes #881
2021-12-01 19:32:48 +01:00
Stephan Dilly
a847ea2a92 specify changelog better 2021-11-28 14:29:01 +01:00
Stephan Dilly
9038b1d07d pull gets tags on current branch (closes #1013) 2021-11-28 13:37:36 +01:00
Stephan Dilly
4d05dea4a6 update changelog 2021-11-23 22:16:15 +01:00
Stephan Dilly
21a10a618a screencast 2021-11-22 00:04:18 +01:00
Stephan Dilly
ab908f83df contributors 2021-11-21 22:16:42 +01:00
Stephan Dilly
d617ba76fa simplify key bindings file handling (#946) 2021-11-21 22:10:37 +01:00
Curiosidad-Racional
38cf196b62
File find popup up/down keys resolves #977 (#993) 2021-11-21 20:10:14 +01:00
Stephan Dilly
cd3989238b changelog update 2021-11-20 18:54:24 +01:00
Stephan Dilly
a55dcf62a3
blame: fixup windows paths (#984)
closes #981
2021-11-12 15:52:29 +01:00
Stephan Dilly
3c8eb7e049
improve files in diff speed (#979)
closes #976
2021-11-11 13:36:17 +01:00
Jakub Jirutka
fa7cd37ca7 Make gh-emoji optional
gh-emoji crate includes *images* of GitHub's emoji - this is quite a big
dependency. It increases the binary size by 1 MiB; that's +25 % when
building v0.18.0 on Alpine Linux with build flags to optimize size.
I consider it an unnecessary bloat that should be optional.
2021-11-10 18:07:48 +01:00
Stephan Dilly
18e61efae6 fix changelog format 2021-10-24 19:57:35 +02:00
Stephan Dilly
389bd75d46 honor options in stage_all command (see #933) 2021-10-23 15:34:49 +02:00
Stephan Dilly
5c661be159 support home/end keys in branchlist (fixes #957) 2021-10-23 14:39:02 +02:00
Gleb Davydov
899168e1ce
Add highlighting for matches in fuzzy finder (#947)
closes #893
2021-10-15 17:23:57 +02:00
R0nd
153c79a828
support pull from remote (#945)
closes #920
2021-10-13 15:34:58 +02:00
dm9pZCAq
31f677187b
add trace-libgit feature (#905) 2021-10-13 15:32:17 +02:00
Stephan Dilly
d1dcdab288 version bumps 2021-10-11 11:25:50 +02:00
Stephan Dilly
39400aac92
pending merge: more obvious repo state visualization (#943)
fixes #925
2021-10-11 11:08:34 +02:00
Alessandro Menezes
6ae5b5e2b2
Add specific key bindings to stage / unstage items (#930)
* Add specific key bindings to stage / unstage items

Feature requested by Issue #909.

* Updating Help popup with stage / unstage keys

* Merging staging and unstaging into a single `stage_unstage_item` key

* Add/remove hunk now use the `stage_unstage_item` key
2021-10-10 02:58:21 +02:00
Alessandro Menezes
d84120a895
Switch to status tab after merge / rebase with conflicts (#932) 2021-10-07 09:33:30 +02:00
Stephan Dilly
c6abbaf4d4
fix hirarchical branch names (#931) 2021-10-06 10:50:57 +02:00
R0nd
48f9331b0d
Use git_message_prettify (#924) 2021-09-30 23:20:43 +02:00
Stephan Dilly
5f34e9cc07 updated changelog 2021-09-29 18:59:25 +02:00
Scott Reeves
07f5d69a48 Improve contrast in branch popup for selected branch 2021-09-29 16:36:10 +02:00
Stephan Dilly
d541d0d9f8
make fetch more error resilient (#915)
fixing #911
2021-09-24 13:01:55 +02:00
Stephan Dilly
33344e93e2 add keybinding notes to changelog 2021-09-10 10:17:33 +02:00
Stephan Dilly
7dd6b4e8d8 fix release date 2021-09-10 10:03:56 +02:00
Stephan Dilly
22037f8991 prepare for release 2021-09-09 11:34:01 +02:00
Stephan Dilly
417db6ed6c changelog 2021-09-09 11:04:33 +02:00
Stephan Dilly
f27227af41
Conflict free rebase (#896)
* unittest for rebasing with conflicts
* hide branchlist after rebase
2021-09-07 00:04:54 +02:00
Stephan Dilly
bf56d3bff2 changelog 2021-09-06 23:09:19 +02:00
Stephan Dilly
6d6f60349a
More fuzzy finder (#892)
* allow selecting entries in fuzzy finder
* fix fuzzy finder also in files popup
* changelog
2021-09-04 23:56:34 +02:00
Stephan Dilly
6f2157c1d8 missing changelog (closes #889) 2021-09-02 18:55:20 +02:00
andrewpollack
3a1c1a6b99
merge branch closes window (#882)
fixes #876
2021-08-30 12:16:37 +02:00
Stephan Dilly
63ab78ffb7 add missing edit in changelog (#880) 2021-08-28 14:38:04 +02:00
Stephan Dilly
6524af65a1 fix filetree content not showing tabs (fixes #874) 2021-08-24 23:02:23 +02:00
andrewpollack
d3a6fdd2e7
Issue/768/support markdown emoji (#866) 2021-08-23 12:09:00 +02:00
Stephan Dilly
fa1a1c8727 fix tag commit msg in taglist (closes #871) 2021-08-22 23:24:30 +02:00
Stephan Dilly
70e1e31076 update changelog 2021-08-22 11:54:46 +02:00
Stephan Dilly
eef1a79375 prepare release 2021-08-21 16:23:06 +02:00
Stephan Dilly
5672cfd033
compare two commits (#860) 2021-08-21 15:49:39 +02:00
Stephan Dilly
f23e8df69a update changelog 2021-08-20 14:02:51 +02:00