fnc

Check-in Differences
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Difference From 0.11 To 0.12

2022-05-09 12:18
[b56d1390f5] Bump version number: 0.13 (user: mark tags: trunk)
2022-05-09 12:15
[671ad5159a] CHANGES for 0.12 (user: mark tags: trunk, 0.12)
2022-05-09 11:33
[5d1ac567c2] Fix blame regression when opening child diff view in vsplit. (user: mark tags: trunk)
2022-05-08 13:47
[d32f0aee53] Bump version number: 0.12 (user: mark tags: trunk)
2022-05-08 13:45
[53c1d7eb57] CHANGES for 0.11 (user: mark tags: trunk, 0.11)
2022-05-08 13:43
[2cf1a6ee21] Remove redundant fcli_has_unused_args() call from main() (user: mark tags: trunk)

Changes to CHANGES.md.






1
2
3
4
5
6
7
1
2
3
4
5
6
7
8
9
10
11
12
+
+
+
+
+







**fnc 0.12** 2022-05-09

- replace \s regexp with portable [[:space:]] character class (patch by Ashish)
- fix blame->diff child split view regression from 0.9 introduced in [d05828fbb]

**fnc 0.11** 2022-05-08

- handle diff of non-versioned files outside the work tree (reported by Dan)
- replace getpagesize() with portable sysconf(_SC_PAGESIZE) (patch by mgagnon)
- improve robustness by guarding against piped input abuse (reported by Dan)
- improve documentation regarding UTF-8 character encoding and fonts
- implement horizontal scroll of the log message summary line in timeline view

Changes to README.md.

1
2
3

4
5
6
7
8
9
10
1
2

3
4
5
6
7
8
9
10


-
+







# README

# fnc 0.11
# fnc 0.12

## An interactive ncurses browser for [Fossil][0] repositories.

`fnc` uses [libfossil][1] to create a [`fossil ui`][2] experience in the
terminal.

Tested and confirmed to run on the following amd64 systems (additional platforms

Changes to fnc.bld.mk.

1
2
3
4
5
6
7
8
9

10
11
12
13
14
15
16
1
2
3
4
5
6
7
8

9
10
11
12
13
14
15
16








-
+







#
# FNC Common Build
#

# CONFIGURATION
CC ?=		cc
PREFIX ?=	/usr/local
MANDIR ?=	/share/man
VERSION ?=	0.11
VERSION ?=	0.12

# FLAGS NEEDED TO BUILD SQLITE3
SQLITE_CFLAGS =	${CFLAGS} -Wall -Werror -Wno-sign-compare -pedantic -std=c99 \
		-DNDEBUG=1 \
		-DSQLITE_DQS=0 \
		-DSQLITE_DEFAULT_MEMSTATUS=0 \
		-DSQLITE_DEFAULT_WAL_SYNCHRONOUS=1 \

Deleted signify/fnc-10-release.pub.

1
2


-
-
untrusted comment: fnc 0.10 public key
RWS6x8wL/CQL9o5F+7/DWH43PNhA+TqWxODvTKDcgslIuGfRUslHXb+W

Added signify/fnc-12-release.pub.



1
2
+
+
untrusted comment: fnc 0.12 public key
RWRtqBYmaSguXJPDRSFPvxVuPNby5zfTslX9JA0pJlSMnOpDxW7WVHAQ

Changes to src/fnc.c.

4743
4744
4745
4746
4747
4748
4749

4750

4751
4752
4753
4754
4755
4756
4757
4743
4744
4745
4746
4747
4748
4749
4750

4751
4752
4753
4754
4755
4756
4757
4758







+
-
+







	if (s->colour) {
		STAILQ_INIT(&s->colours);
		rc = set_colours(&s->colours, FNC_VIEW_DIFF);
		if (rc)
			return rc;
	}

	if (parent_view && parent_view->vid == FNC_VIEW_TIMELINE &&
	if (parent_view && screen_is_split(view))
	    screen_is_split(view))
		show_timeline_view(parent_view);  /* draw vborder */
	show_diff_status(view);

	s->line_offsets = NULL;
	s->nlines = 0;
	s->dlines = NULL;
	s->ndlines = 0;
11182
11183
11184
11185
11186
11187
11188
11189

11190
11191
11192
11193
11194
11195
11196
11183
11184
11185
11186
11187
11188
11189

11190
11191
11192
11193
11194
11195
11196
11197







-
+







set_colours(struct fnc_colours *s, enum fnc_view_id vid)
{
	int rc = FSL_RC_OK;

	switch (vid) {
	case FNC_VIEW_DIFF: {
		static const char *regexp_diff[] = {
		    "^((checkin|wiki|ticket|technote) [0-9a-f]\\s\\s*$|"
		    "^((checkin|wiki|ticket|technote) [0-9a-f][[:space:]]+$|"
		    "hash [+-] |\\[[+~>-]] |[+-]{3} )",
		    "^user:", "^date:", "^tags:", "^-|^[0-9 ]+ -",
		    "^\\+|^[0-9 ]+ \\+", "^@@",
		    /*
		     * XXX Ugly hack to fail matching _DIFF_SBS_EDIT early
		     * until all diff modes use the new line_type interface.
		     */