Commit Graph

782 Commits

Author SHA1 Message Date
Christoph Rüßler
1a90fd365f Add scrolling to commit message in details
- Manually wrap commit message using `textwrap`

Closes #181
2020-08-08 19:42:02 +02:00
Stephan Dilly
0e81f062da fix slection error after deleting last element in stash (closes #223) 2020-08-08 09:24:23 +02:00
dependabot-preview[bot]
bb88c92a41 Bump pprof from 0.3.17 to 0.3.18
Bumps [pprof](https://github.com/tikv/pprof-rs) from 0.3.17 to 0.3.18.
- [Release notes](https://github.com/tikv/pprof-rs/releases)
- [Commits](https://github.com/tikv/pprof-rs/compare/v0.3.17...v0.3.18)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-07 10:29:35 +02:00
dependabot-preview[bot]
fdbbe89598 Bump clap from 2.33.1 to 2.33.2
Bumps [clap](https://github.com/clap-rs/clap) from 2.33.1 to 2.33.2.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-06 10:10:09 +02:00
Stephan Dilly
8bcf73437a disable private tap for now 2020-07-30 01:10:26 +02:00
Stephan Dilly
53cd06a970 provide download url again 2020-07-30 01:02:15 +02:00
Stephan Dilly
85d7d7c7dc fix homebrew deploy 2020-07-30 00:50:18 +02:00
Stephan Dilly
fd6776cee7 try fixing CD 2020-07-30 00:41:06 +02:00
Stephan Dilly
1ac8ee6e4f fix CD on windows like done for CI previously 2020-07-29 23:00:10 +02:00
Stephan Dilly
ddd11156c6 prep release 2020-07-29 22:37:50 +02:00
Stephan Dilly
93b4b7ff39 updated changelog 2020-07-29 21:19:16 +02:00
Jon Grythe Stødle
1c3295affc Switch focus when working directory or stage becomes empty
If the focus is on the working directory and it becomes empty (no files are listed) by either staging the last file or using the _Stage all_ command, the focus will be moved to the stage automatically. It works the same for when the stage becomes empty, by moving the focus to the working directory.

If the focus is on the diff area, the focus will not be moved when either the working directory or the stage becomes empty.

Fixes #215
2020-07-29 21:16:50 +02:00
Jon Grythe Stødle
8db6325777 Add support for spaces in file path
If the file path contained a space, the editor would be launched with an incomplete file path.

This also switches to using `OsStr` for the file path, which means that if the file name contains invalid UTF-8, it will not blow up because of gitui.
2020-07-29 21:10:45 +02:00
Jon Grythe Stødle
6b4d088b28 Add config migration
With the upgrade to version 3 of `dirs`, the `config_dir` function returns a new path for macOS. This migrates the file present at the old location (now available through the `preferences_dir` function) to the new location.
2020-07-29 21:10:45 +02:00
Jon Grythe Stødle
b89ec94066 Bump dirs to version 3.0 2020-07-29 21:10:45 +02:00
dependabot-preview[bot]
079f0457e9 Bump anyhow from 1.0.31 to 1.0.32
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.31 to 1.0.32.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.31...1.0.32)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-27 10:25:10 +02:00
dependabot-preview[bot]
8e4db0b328 Bump crossbeam-channel from 0.4.2 to 0.4.3
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam) from 0.4.2 to 0.4.3.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/v0.4.2...crossbeam-channel-0.4.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-22 21:31:10 +02:00
Stephan Dilly
f45af0e3cf fix multiple tags not being seperated in details view (fixes #212) 2020-07-22 10:37:47 +02:00
Stephan Dilly
f83228548b use new tag_foreach api 2020-07-22 01:54:22 +02:00
Stephan Dilly
0c53fed624 fix windows ci
all platforms again
2020-07-21 10:26:12 +02:00
Stephan Dilly
6c798df40a fix different way of internal git represenation of tags to work (closes #206) 2020-07-20 23:40:02 +02:00
Stephan Dilly
e7d17b2cf1 remove config migration code 2020-07-18 19:13:16 +02:00
Stephan Dilly
58a1719c98 fix problems with spawning too many async tasks underload (#196) 2020-07-18 13:57:08 +02:00
Stephan Dilly
7e8df3ad28 simplify pending state by using the new one 2020-07-18 13:35:24 +02:00
Stephan Dilly
03cf23ad98 visualize pending load on status file list (closes #160) 2020-07-18 12:44:23 +02:00
Stephan Dilly
9d4972b0b2 also drive unittests on make check 2020-07-18 12:22:17 +02:00
Stephan Dilly
a54fbf7f63 visualize pending load of a diff (#160) 2020-07-18 12:21:18 +02:00
Stephan Dilly
ed730c2fa1 comment 2020-07-18 11:59:30 +02:00
Stephan Dilly
c759bf7729 Merge branch 'master' of github.com:Extrawurst/gitui 2020-07-17 11:54:26 +02:00
Stephan Dilly
0dd50b402e upgrade to rust 1.45 and fix new clippy warnings 2020-07-17 11:54:12 +02:00
dependabot-preview[bot]
21946ac80c Bump log from 0.4.8 to 0.4.11
Bumps [log](https://github.com/rust-lang/log) from 0.4.8 to 0.4.11.
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/compare/0.4.8...0.4.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-16 11:25:43 +02:00
ImgBotApp
b82d7af173 [ImgBot] Optimize images
/assets/tagging.gif -- 586.36kb -> 256.97kb (56.17%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-07-15 23:38:04 +02:00
Stephan Dilly
ef7c4a32e1 changelog updat 2020-07-15 23:35:14 +02:00
Christoph Rüßler
70423c5b83 Add command for tagging commit 2020-07-15 23:22:03 +02:00
Stephan Dilly
aa068f8004 update 2020-07-15 13:03:05 +02:00
Stephan Dilly
002a3a8f6f fix writing out of bounds (fixes #198) 2020-07-15 01:14:55 +02:00
dependabot-preview[bot]
6e1fc58406 Bump crossterm from 0.17.6 to 0.17.7
Bumps [crossterm](https://github.com/crossterm-rs/crossterm) from 0.17.6 to 0.17.7.
- [Release notes](https://github.com/crossterm-rs/crossterm/releases)
- [Changelog](https://github.com/crossterm-rs/crossterm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossterm-rs/crossterm/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-14 11:01:51 +02:00
Stephan Dilly
18f3bd981d min rect size for commit popup (fixes #179) 2020-07-14 09:42:55 +02:00
Stephan Dilly
dc5911de20 dont send noop GitNotification into app 2020-07-12 14:45:12 +02:00
Stephan Dilly
1afa91b144 show tags in commit details popup (closes #193) 2020-07-12 14:38:38 +02:00
Stephan Dilly
f4e2b7c6c0 update changes title right away 2020-07-12 14:38:18 +02:00
Stephan Dilly
315cf615e0
Async tag fetching (#195) 2020-07-12 13:21:34 +02:00
Stephan Dilly
a84ae0950c add_to_ignore failed on files without a newline at EOF (closes #191) 2020-07-10 11:25:00 +02:00
ImgBotApp
658bb72d59 [ImgBot] Optimize images
*Total -- 6,791.98kb -> 3,275.88kb (51.77%)

/assets/newlines.gif -- 100.34kb -> 6.63kb (93.39%)
/assets/vi_support.gif -- 685.20kb -> 134.60kb (80.36%)
/assets/spinner.gif -- 267.20kb -> 60.63kb (77.31%)
/assets/cmdbar.gif -- 278.36kb -> 121.63kb (56.31%)
/assets/screenshots/s02-revert.png -- 944.00kb -> 420.81kb (55.42%)
/assets/binary_diff.png -- 63.88kb -> 31.17kb (51.2%)
/assets/screenshots/s03-commit.png -- 1,001.72kb -> 491.67kb (50.92%)
/assets/screenshots/s00-diff.png -- 1,034.90kb -> 510.97kb (50.63%)
/assets/light-theme.png -- 756.01kb -> 417.72kb (44.75%)
/assets/screenshots/s01-log.png -- 1,571.65kb -> 999.73kb (36.39%)
/assets/logo.png -- 25.07kb -> 18.21kb (27.36%)
/assets/perf_compare.jpg -- 63.63kb -> 62.10kb (2.4%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-07-10 09:18:24 +02:00
Stephan Dilly
cbd75110b7 add error handling on potential error in ignore (#191) 2020-07-10 09:08:36 +02:00
Stephan Dilly
fc142b4604 fix crashes in revlog with utf8 commit messages (closes #188) 2020-07-10 08:55:43 +02:00
Stephan Dilly
4f731f6acc fix opening relative paths in external edtiro (closes #184) 2020-07-09 17:47:38 +02:00
Stephan Dilly
49d99c502c pprof update (fixes #172) 2020-07-09 09:25:04 +02:00
Stephan Dilly
0f13ecc54e inline 2020-07-09 09:20:59 +02:00
Stephan Dilly
cb3b968e3a fix cutting commit msg in between utf8 clusters (#188) 2020-07-09 08:51:31 +02:00