pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
tig: Update wip/tig to 2.4.0
Module Name: pkgsrc-wip
Committed By: Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By: leot
Date: Sun Jul 22 18:37:31 2018 +0200
Changeset: 6b050639998bb83e7891fa5bee0bd140f99af9ca
Modified Files:
tig/Makefile
tig/TODO
tig/distinfo
tig/patches/patch-aa
tig/patches/patch-include_tig_display.h
Removed Files:
tig/patches/patch-src_display.c
Log Message:
tig: Update wip/tig to 2.4.0
pkgsrc changes:
- Remove patches/patch-src_display.c (no longer needed, adjusted differently
upstream)
- Update TODO and add an entry about graphical artifacts that needs further
investigations
Changes:
tig-2.4.0
---------
Improvements:
- Add 'send-child-enter' option to control interaction with child views. (#791)
- Update make config defaults for Cygwin to ncurses6. (#792)
- Build against netbsd-curses. (#789)
- Change the blame view to render more like `git blame`. (#812)
- Improve worktree and submodule support. (#459, #781, #783)
- Support running Tig via a Git alias. (#763)
- Use ISO-8601 letters for short relative dates. (#759, #760)
- Change date formatting to show time zones by default. (#428, #811)
- Use utf8proc to handle Unicode characters. (#827)
Bug fixes:
- Fix `file(1)` argument on Linux used for resolving encodings. (#788)
- Fix underflow in the file search. (#800, #801)
- Fix line numbers in grep view when scrolled. (#813)
- Pass command line args through to the stage view. (#569, #823)
- Fix resource leak. (#780)
- Fix various compiler warnings and pointer arithmetic. (#799, #803)
- Workaround potential null pointer dereferences. (#824)
- Bind to single and double quotes by using the *<SingleQuote>* and
*<DoubleQuote>* key mappings. (#821)
- Make Tig the process-group leader and clean child processes. (#828, #837)
- Fix sh compatibility in `contrib/tig-pick`. (#832)
- Fix incorrect behaviour of up and down keys in diff view when opened from
diff preview. (#802, #835)
- Open the stage view when maximizing a split diff view of (un)staged changes.
(#836)
- Use fully qualified reference name for tags when conflicting with branch
name. (#746, #787, #849)
- Fix resize not working after entering command. (#845) (#846)
- Use stack allocated memory to handle TIG_LS_REMOTE. (#839)
- Fix deleted file mode line remains highlighted after hovering in diff or stage view. (#851)
- Fix `TIG_LS_REMOTE` not working with git-ls-remote(1). (#853, #854)
tig-2.3.3
---------
Bug fixes:
- Revert "Handle \n like \r (#758)". (GH #769)
- Fix GH #164 by catching SIGHUP.
- Change `refs_tags` type to `size_t`.
tig-2.3.2
---------
Bug fixes:
- Fix busy loop detection to handle large repos. (GH #164)
tig-2.3.1
---------
Improvements:
- Restore TTY attributes. (GH #725)
- Handle `\n` like `\r`. (GH #758)
Bug fixes:
- Add workaround that detects busy loops when Tig loses the TTY. This may
happen if Tig does not receive the HUP signal (e.g. when started with
`nohup`). (GH #164)
- Fix compatibility with ncurses-5.4 which caused copy-pasting to not work
in the prompt. (GH #767)
- tig(1): document correct environment variable. (GH #752)
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6b050639998bb83e7891fa5bee0bd140f99af9ca
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
tig/Makefile | 2 +-
tig/TODO | 6 +++---
tig/distinfo | 13 ++++++-------
tig/patches/patch-aa | 4 ++--
tig/patches/patch-include_tig_display.h | 6 +++---
tig/patches/patch-src_display.c | 25 -------------------------
6 files changed, 15 insertions(+), 41 deletions(-)
diffs:
diff --git a/tig/Makefile b/tig/Makefile
index ec4824e09d..e12897d488 100644
--- a/tig/Makefile
+++ b/tig/Makefile
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.15 2017/01/04 18:16:32 roy Exp $
-DISTNAME= tig-2.3.0
+DISTNAME= tig-2.4.0
CATEGORIES= devel scm
MASTER_SITES= ${MASTER_SITE_GITHUB:=jonas/}
GITHUB_RELEASE= ${DISTNAME}
diff --git a/tig/TODO b/tig/TODO
index 99e5f936a5..65fb0676ce 100644
--- a/tig/TODO
+++ b/tig/TODO
@@ -2,6 +2,6 @@
adjusted accordingly like devel/tig
- Review patches/patch-include_tig_display.h, I am not sure if it is correct
- Add a comment about patches/patch-include_tig_tig.h
-- Why having two `review' worked upstream, can patches/patch-src_display.c
- be avoided?
- -- leot (2017/10/27)
+- Some graphical artifacts (e.g. where `main' and `diff' views are present)
+ should be investigated and fixed
+ -- leot (2018/07/22)
diff --git a/tig/distinfo b/tig/distinfo
index 7479811cc3..56994d78f6 100644
--- a/tig/distinfo
+++ b/tig/distinfo
@@ -1,10 +1,9 @@
$NetBSD: distinfo,v 1.10 2015/11/03 03:29:36 agc Exp $
-SHA1 (tig-2.3.0.tar.gz) = bdf92320b63bdd83350ebbda37150102f461422d
-RMD160 (tig-2.3.0.tar.gz) = c4d0bb0436cbdc3a97fc7a41fe774d7e2a9aa671
-SHA512 (tig-2.3.0.tar.gz) = d5e8bf04689fdbeab4f2ee60eef1e8e7686827228dc2f87b20c40a3a1c31aa3476d5088423ba8bcb72616a9f0f211a2dbb631a72cc946553e41cb225ea60ab37
-Size (tig-2.3.0.tar.gz) = 1080956 bytes
-SHA1 (patch-aa) = 03dfc24758b757d7cc7e715334f5648f94f7f2d3
-SHA1 (patch-include_tig_display.h) = 23a2773882ab45c3210a6e746248534b4a8361d5
+SHA1 (tig-2.4.0.tar.gz) = f2d85b6b95c27f8e836c9175deeb8bfb1f17d0ce
+RMD160 (tig-2.4.0.tar.gz) = 9475e1a4745b5c4e438ede8faebeafa280d1b4b1
+SHA512 (tig-2.4.0.tar.gz) = e939f4cf08f6e180d18edcd484a31297e4f49935845c6753f4ccc2f39e3d42ddd8f31b3c111bf31d7c489a080cb23ab4918c43c607c419809154e1eea9d54e15
+Size (tig-2.4.0.tar.gz) = 1181800 bytes
+SHA1 (patch-aa) = 304457804ce9a342e903ec25c1d7d6d9cf353cf5
+SHA1 (patch-include_tig_display.h) = 0947710b8244233da69f530c46e63c265202c8b9
SHA1 (patch-include_tig_tig.h) = 42803e6589f97b6ad0230d0d895c429e1525476b
-SHA1 (patch-src_display.c) = 48e5a8ce20f10a95228589fa8b9e0836b3ffd4ab
diff --git a/tig/patches/patch-aa b/tig/patches/patch-aa
index f0b59c9164..08ed4116e6 100644
--- a/tig/patches/patch-aa
+++ b/tig/patches/patch-aa
@@ -3,10 +3,10 @@ $NetBSD: patch-aa,v 1.6 2014/04/04 21:00:24 ryoon Exp $
- Don't make/install PDF.
- Do not install tigrc, this is handled via CONF_FILES by pkgsrc.
---- Makefile.orig 2017-09-29 15:15:29.000000000 +0000
+--- Makefile.orig 2018-07-21 19:09:21.000000000 +0000
+++ Makefile
@@ -51,7 +51,7 @@ TOOLS = test/tools/test-graph tools/doc-
- TXTDOC = doc/tig.1.adoc doc/tigrc.5.adoc doc/manual.adoc NEWS.adoc README.adoc INSTALL.adoc
+ TXTDOC = doc/tig.1.adoc doc/tigrc.5.adoc doc/manual.adoc NEWS.adoc README.adoc INSTALL.adoc test/API.adoc
MANDOC = doc/tig.1 doc/tigrc.5 doc/tigmanual.7
HTMLDOC = doc/tig.1.html doc/tigrc.5.html doc/manual.html README.html INSTALL.html NEWS.html
-ALLDOC = $(MANDOC) $(HTMLDOC) doc/manual.html-chunked doc/manual.pdf
diff --git a/tig/patches/patch-include_tig_display.h b/tig/patches/patch-include_tig_display.h
index e33a100bf2..0f834ec512 100644
--- a/tig/patches/patch-include_tig_display.h
+++ b/tig/patches/patch-include_tig_display.h
@@ -4,11 +4,11 @@ $NetBSD$
XXX: Is this correct?
---- include/tig/display.h.orig 2017-09-29 15:15:26.000000000 +0000
+--- include/tig/display.h.orig 2018-07-21 19:09:17.000000000 +0000
+++ include/tig/display.h
-@@ -58,8 +58,8 @@ void enable_mouse(bool enable);
-
+@@ -60,8 +60,8 @@ void enable_mouse(bool enable);
enum status_code open_script(const char *path);
+ bool is_script_executing(void);
-#define get_cursor_pos(cursor_y, cursor_x) getyx(newscr, cursor_y, cursor_x)
-#define set_cursor_pos(cursor_y, cursor_x) wmove(newscr, cursor_y, cursor_x)
diff --git a/tig/patches/patch-src_display.c b/tig/patches/patch-src_display.c
deleted file mode 100644
index 358117387e..0000000000
--- a/tig/patches/patch-src_display.c
+++ /dev/null
@@ -1,25 +0,0 @@
-$NetBSD$
-
-Rename boolean `refresh' to `brefresh' to avoid confusion with curses(3)
-refresh().
-
---- src/display.c.orig 2017-09-29 15:15:26.000000000 +0000
-+++ src/display.c
-@@ -56,7 +56,7 @@ open_script(const char *path)
- }
-
- bool
--open_external_viewer(const char *argv[], const char *dir, bool silent, bool confirm, bool echo, bool refresh, const char *notice)
-+open_external_viewer(const char *argv[], const char *dir, bool silent, bool confirm, bool echo, bool brefresh, const char *notice)
- {
- bool ok;
-
-@@ -89,7 +89,7 @@ open_external_viewer(const char *argv[],
- set_terminal_modes();
- }
-
-- if (watch_update(WATCH_EVENT_AFTER_COMMAND) && refresh) {
-+ if (watch_update(WATCH_EVENT_AFTER_COMMAND) && brefresh) {
- struct view *view;
- int i;
-
Home |
Main Index |
Thread Index |
Old Index