fnc

Check-in Differences
Login

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

Difference From 0.12 To 0.11

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

Changes to CHANGES.md.

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





1
2
3
4
5
6
7
-
-
-
-
-







**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.12
# fnc 0.11

## 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.12
VERSION ?=	0.11

# 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 \

Added signify/fnc-10-release.pub.



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

Deleted 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
4758
4743
4744
4745
4746
4747
4748
4749


4750
4751
4752
4753
4754
4755
4756
4757







-
-
+







	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 &&
	    screen_is_split(view))
	if (parent_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;
11183
11184
11185
11186
11187
11188
11189
11190

11191
11192
11193
11194
11195
11196
11197
11182
11183
11184
11185
11186
11187
11188

11189
11190
11191
11192
11193
11194
11195
11196







-
+







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][[:space:]]+$|"
		    "^((checkin|wiki|ticket|technote) [0-9a-f]\\s\\s*$|"
		    "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.
		     */