[tin-dev] [tin 2.6.4] snapshots

Urs Janßen urs at tin.org
Sat Nov 9 00:48:05 CET 2024


New snapshots available. Mainly code cleanup like t_config reordering to
avoid padding and minor bugfixing.

New features:
. try charset conversion with ICU ucnv_* (if found) in case iconv() fails or
  is not available. see [1] below.
. basic (no custom-messages) $MAILPATH support
. skip reading attributes with -Z
. skip reading filter-file with -u
. warn about -u[oXzZ] and -oZ (useless combination)
. use arc4random_uniform(3) for random-numbers (if found)

Retired features:
. %G, %P expansion in $MAILCAPS (doesn't make much sense)

[1] if you cache overviews and read groups with (lots) of exotic
    charsets (which were not recognized in the past and you saw '?' all
    over the place; e.g. de.test) you may think about removing the old
    data and let it be rebuild (either via "-u" or when you next time enter
    the group during a normal session), to find cached data you may use
    something like:

tin -vV 2>&1 | grep -q UCN && \
	grep -qF cache_overview_files=ON ${TIN_HOMEDIR:-"$HOME"}/.tin/tinrc && \
	echo "# Consider to remove old overview caches below" && \
	find "${TIN_INDEX_NEWSDIR-"${TIN_HOMEDIR-"$HOME"}/.tin"}/" \
		-type d -name '.news*'

<ftp://ftp.tin.org/pub/news/clients/tin/v2.6/snapshots/tin-2.6.4.tar.gz>
<ftp://ftp.tin.org/pub/news/clients/tin/v2.6/snapshots/tin-2.6.4.tar.bz2>
<ftp://ftp.tin.org/pub/news/clients/tin/v2.6/snapshots/tin-2.6.4.tar.xz>

Changes since 2.6.3:
 023) Thomas E. Dickey <dickey at invisible-island.net>
      REM. bundled-intl stuff
      ADD. disallow giving both --with-socks and --with-socks5
      ADD. try also libsocks5 and libsocksd if using --with-socks5
      FIX. intl/*, aclocal.m4, configure[.in], autoconf.hin, nntplib.h
           tcurses.h, Makefile[.in], conf-tin

 022) Enrik Berkhan <enrik at tin.org>
      ADD. avoid implicit conversion
      FIX. curses.c, misc.c, nntplib.c, rfc2047.c

 021) Matt Anton <tin at lv223.org>
      ADD. updated French translation
      FIX. fr.po

 020) Dennis Preiser <dennis at d--p.de>
      ADD. ArticleInfo-page ('\'')
      ADD. always cast arg to is*()-functions to unsigned char
      ADD. avoid implicit conversion
      ADD. formatted output for -vZ and large article counts
      ADD. avoid malloc()/free() overhead in match_group_list()
      ADD. dont_break_words tinrc option, if set don't break long
           lines inside words, just on SPACE or TAB if possible.
      ADD. charset guessing via undeclared_cs_guess in attributes
      ADD. syntax check for content subtype
      ADD. handle multiple addresses in From, Reply-To, Approved
      ADD. addresses in %T are now separated by comma instead of space
      ADD. no longer use fixed length buffers in t_cmdlineopts
      ADD. limit tinrc/attributes value strings to 1022 chars
           (they were "randomly" cut off before around 1k)
      ADD. avoid fixed length buffers in t_config, t_filter_rule and
           t_fmt
      ADD. "ternary"-operator to format-strings %F, %s, %T
      ADD. max screenwidth ('<') condition to format-strings
      ADD. avoid fixed length buffer for lines on terminal when using curses
      ADD. reorder t_config to avoid padding
      REM. MAX_MSG_HEADERS limitation
      BUG. txt_help_config_search_opt_forwards,
           txt_help_config_search_opt_forwards and
           txt_help_attrib_search_opt_backwards,
           txt_help_attrib_search_opt_forwards were mixed up
      BUG. memleak when using bsd-sockets without getservbyname()
      BUG. possible memleak on quit in version.c:upgrade_prompt_quit()
      BUG. multiple addresses in From, Reply-To, Approved (allowed since
           RFC 5536) we're not handled correct.
      FIX. active.c, art.c, attrib.c, charset.c, config.c, cook.c, debug.c
           feed.c, filter.c, getline.c, group.c, header.c, help.c, inews.c
           init.c, keymap.c, lang.c, main.c, mail.c, makecfg.c, memory.c
           misc.c, nntplib.c, nntps.c, options_menu.c, page.c, pgp.c, post.c
           prompt.c, refs.c, regex.c, rfc2046.c, rfc2047.c, save.c, screen.c
           search.c, select.c, sigfile.c, signal.c, string.c, tags.c, thread.c
           version.c, xref.c, parsdate.y, extern.h, keymap.h, newsrc.h, proto.h
           rfc2046.h, tin.h, tinrc.h, tincfg.tbl

 019) Urs Janssen <urs at tin.org>
      ADD. silence some unused parameter warnings
      ADD. avoid sscanf(3) in check_upgrade()
      ADD. avoid fixed length buffer in my_mktmp()
      ADD. configure check for buggy snprintf(3)
      ADD. changed snprintf(3) fallback implementation from Patrick Powell
           to the one by Mark Martinec
      ADD. use snprintf(3) in STRCPY macro
      ADD. config.guess, config.sub update
      ADD. avoid tmpfile(3) usage
      ADD. configure check for blockable signal-type (POSIX, BSD, SYSV, NONE)
      ADD. configure check for tiuser.h (TLI; SVR3, SVR4)
      ADD. configure check for arc4random_uniform(3), lrand48(3) and random(3)
           prefer over rand(3)
      ADD. configure check for tcflag_t
      ADD. configure check for PRIdLEAST64 and SCNdLEAST64
      ADD. configure check for ucsdet_detect() from libicui18n
      ADD. configure check for getpeername()
      ADD. configure check for uconv_open() and unicode/ucnv.h
      ADD. simplify _Noreturn check, just note the C11 standard
      REM. configure check for varargs.h
      ADD. removed fixed buffer from copy_body()
      ADD. SASL info to connection-info ('J')
      ADD. -L cmd.line switch
      ADD. create missing newsrc-dir
      ADD. -g "[ipv6::address]"[:port] also in .newsauth and newsrctable
      ADD. check that a recipient is present in mailgroups
      ADD. mention location of files being read on startup
      ADD. only display MOTD on startup if it did change since the last
           connect (use 'J' to see it anyway).
      ADD. cache MOTD during session
      ADD. REPRODUCIBLE_BUILD define to prevent recoding of __DATE__, __TIME__,
           $CFLAGS, $CPPFLAGS and $LDFLAGS in the binary if set
      ADD. disallow Distribution: all, warn about Distribution: world
      ADD. charset guessing via undeclared_cs_guess in attributes
      ADD. disallow set but empty $NAME or $REALNAME to prevent reading
           the users name from /etc/passwd
      ADD. expand tabs in multiline wait_messages
      ADD. calculate offset to article body for postponed articles
      ADD. UNICODE-1-1, SCSU, csSCSU to unsupported charsets
      ADD. try charset conversion with ICU ucnv_* if iconv() fails or is
           not available.
      ADD. use gmtime() and 4 digigt year for NEWGROUP on RFC 3977 servers
           instead of localtime and 2 digigt year
      ADD. basic (no custom-messages) $MAILPATH support
      ADD. skip reading attributes with -Z
      ADD. skip reading filter-file with -u
      ADD. warn about -u[oXzZ] and -oZ (Useless combination)
      REM. tmpfile.c
      REM. --with-sum specifying the sum of uue-file got more and more
           uncommon at the end of last century and uue mostly vanished
           laster on ...
      REM. %G, %P expansion in $MAILCAPS
      BUG. AUTHINFO SASL * didn't check possible 283 return code
           (as we do not support anything but SASL PLAIN yet, not an issue)
      BUG. -t not mentioned in -h
      BUG. malloc(3)- and fopen(3)-leaks on error exits
      BUG. didn't remove '.' from normalized charset when looking for a
           keymap-file
      BUG. socket(3)-leak on early exit due to TLS-errors
      BUG. possible NULL-pointer dereference in connection-info ('J') if
           CAPABILITIES does not return IMPLEMENTATION
      BUG. wrong sign for shown default kill-score value in kill-menu
      BUG. art_mark_xref_read() didn't allow '\t' between locations
      BUG. a From longer than > cCOLS wasn't properly truncated
           before appending organitazion in the pager
      BUG. may truncate format string instead of result in draw_page_header
      BUG. -X did not disallow EditFilter
      FIX. active.c, art.c, attrib.c, auth.c, config.c, cook.c, curses.c
           debug.c, feed.c, filter.c, getline.c, global.c, group.c, header.c
           help.c, inews.c, init.c, keymap.c, lang.c, lock.c, mail.c, main.c
           makecfg.c, memory.c, mimetypes.c, misc.c, my_tmpfile.c, newsrc.c
           nntplib.c, nntps.c, nrctbl.c, options_menu.c, page.c, pgp.c, post.c
           prompt.c, read.c, refs.c, regex.c, rfc1524.c, rfc2046.c, rfc2047.c
           save.c, screen.c, search.c, select.c, sigfile.c, signal.c
           snprintf.c, string.c, tcurses.c, thread.c, version.c, xface.c
           xref.c, parsdate.y, debug.h, extern.h, nntplib.h, proto.h
           snprintf.h, tin.h, tinrc.h, tnntp.h, tincfg.tbl, autoconf.h[in]
           configure[.in], Makefile[.in], config.guess, config.sub, tin.1
           tin.5



More information about the tin-dev mailing list