Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package chafa for openSUSE:Factory checked in at 2022-04-04 19:26:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/chafa (Old) and /work/SRC/openSUSE:Factory/.chafa.new.1900 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "chafa" Mon Apr 4 19:26:46 2022 rev:11 rq:966791 version:1.10.1 Changes: -------- --- /work/SRC/openSUSE:Factory/chafa/chafa.changes 2022-03-21 20:12:45.652484333 +0100 +++ /work/SRC/openSUSE:Factory/.chafa.new.1900/chafa.changes 2022-04-04 19:27:20.851880232 +0200 @@ -1,0 +2,7 @@ +Mon Apr 4 10:37:27 UTC 2022 - Michael Vetter <[email protected]> + +- Update to 0.10.1: + * #87 Garbled last row of pixels on some images + * [unfiled] Correctly label new functions since 1.10 + +------------------------------------------------------------------- Old: ---- chafa-1.10.0.tar.xz New: ---- chafa-1.10.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ chafa.spec ++++++ --- /var/tmp/diff_new_pack.2ZfaVV/_old 2022-04-04 19:27:21.567872023 +0200 +++ /var/tmp/diff_new_pack.2ZfaVV/_new 2022-04-04 19:27:21.571871976 +0200 @@ -17,7 +17,7 @@ Name: chafa -Version: 1.10.0 +Version: 1.10.1 Release: 0 Summary: Image-to-text converter for terminal License: LGPL-3.0-or-later ++++++ chafa-1.10.0.tar.xz -> chafa-1.10.1.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/chafa-1.10.0/NEWS new/chafa-1.10.1/NEWS --- old/chafa-1.10.0/NEWS 2022-03-20 23:15:02.000000000 +0100 +++ new/chafa-1.10.1/NEWS 2022-04-04 00:11:55.000000000 +0200 @@ -1,6 +1,16 @@ Chafa releases ============== +1.10.1 (2022-04-04) +------------------- + +This release brings one small but important fix and a few minor corrections +to the documentation. + +* Bug fixes: + github#87 Garbled last row of pixels on some images (found by @hydrargyrum). + [unfiled] Correctly label new functions since 1.10. + 1.10.0 (2022-03-20) ------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/chafa-1.10.0/README.md new/chafa-1.10.1/README.md --- old/chafa-1.10.0/README.md 2022-02-17 18:54:27.000000000 +0100 +++ new/chafa-1.10.1/README.md 2022-04-03 23:55:27.000000000 +0200 @@ -11,7 +11,7 @@ <a href="https://travis-ci.com/hpjansson/chafa/branches" rel="nofollow"> <img src="https://img.shields.io/travis/com/hpjansson/chafa/master.svg?label=master&style=for-the-badge" alt="Master Build Status" />   -<img src="https://img.shields.io/travis/com/hpjansson/chafa/1.8.svg?label=1.8&style=for-the-badge" alt="1.8 Build Status" /> +<img src="https://img.shields.io/travis/com/hpjansson/chafa/1.10.svg?label=1.10&style=for-the-badge" alt="1.10 Build Status" /> </a>   <a href="https://hpjansson.org/chafa/download/"> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/chafa-1.10.0/chafa/Makefile.am new/chafa-1.10.1/chafa/Makefile.am --- old/chafa-1.10.0/chafa/Makefile.am 2022-03-20 23:17:25.000000000 +0100 +++ new/chafa-1.10.1/chafa/Makefile.am 2022-04-04 00:11:55.000000000 +0200 @@ -9,7 +9,7 @@ noinst_HEADERS = libchafa_la_CFLAGS = $(LIBCHAFA_CFLAGS) $(GLIB_CFLAGS) -DCHAFA_COMPILATION -libchafa_la_LDFLAGS = $(LIBCHAFA_LDFLAGS) -version-info 7:0:7 +libchafa_la_LDFLAGS = $(LIBCHAFA_LDFLAGS) -version-info 7:1:7 libchafa_la_LIBADD = $(GLIB_LIBS) internal/libchafa-internal.la -lm libchafa_la_SOURCES = \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/chafa-1.10.0/chafa/Makefile.in new/chafa-1.10.1/chafa/Makefile.in --- old/chafa-1.10.0/chafa/Makefile.in 2022-03-20 23:24:57.000000000 +0100 +++ new/chafa-1.10.1/chafa/Makefile.in 2022-04-04 00:13:20.000000000 +0200 @@ -426,7 +426,7 @@ # produce documentation. noinst_HEADERS = chafa-term-seq-doc.h chafa-term-seq-doc-in.h libchafa_la_CFLAGS = $(LIBCHAFA_CFLAGS) $(GLIB_CFLAGS) -DCHAFA_COMPILATION -libchafa_la_LDFLAGS = $(LIBCHAFA_LDFLAGS) -version-info 7:0:7 +libchafa_la_LDFLAGS = $(LIBCHAFA_LDFLAGS) -version-info 7:1:7 libchafa_la_LIBADD = $(GLIB_LIBS) internal/libchafa-internal.la -lm libchafa_la_SOURCES = \ chafa-canvas.c \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/chafa-1.10.0/chafa/chafa-term-seq-def.h new/chafa-1.10.1/chafa/chafa-term-seq-def.h --- old/chafa-1.10.0/chafa/chafa-term-seq-def.h 2022-03-14 21:40:18.000000000 +0100 +++ new/chafa-1.10.1/chafa/chafa-term-seq-def.h 2022-04-03 23:55:15.000000000 +0200 @@ -859,7 +859,7 @@ * @width_cells: Target width in cells * @height_cells: Target height in cells * - * Prints the control sequence for #CHAFA_TERM_SEQ_BEGIN_KITTY_IMAGE_IMMEDITATE. + * Prints the control sequence for #CHAFA_TERM_SEQ_BEGIN_KITTY_IMAGE_IMMEDIATE. * * @dest must have enough space to hold * #CHAFA_TERM_SEQ_LENGTH_MAX bytes, even if the emitted sequence is @@ -939,7 +939,7 @@ * @width: Image width in character cells * @height: Image height in character cells * - * Prints the control sequence for #CHAFA_TERM_SEQ_BEGIN_ITERM2_IMAGE_IMMEDITATE. + * Prints the control sequence for #CHAFA_TERM_SEQ_BEGIN_ITERM2_IMAGE. * * @dest must have enough space to hold * #CHAFA_TERM_SEQ_LENGTH_MAX bytes, even if the emitted sequence is @@ -973,6 +973,11 @@ **/ CHAFA_TERM_SEQ_DEF(end_iterm2_image, END_ITERM2_IMAGE, 0, none, void) +/* --- Available in 1.10+ --- */ + +#undef CHAFA_TERM_SEQ_AVAILABILITY +#define CHAFA_TERM_SEQ_AVAILABILITY CHAFA_AVAILABLE_IN_1_10 + /** * chafa_term_info_emit_enable_sixel_scrolling: * @term_info: A #ChafaTermInfo diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/chafa-1.10.0/chafa/chafa-term-seq-doc.h new/chafa-1.10.1/chafa/chafa-term-seq-doc.h --- old/chafa-1.10.0/chafa/chafa-term-seq-doc.h 2022-03-16 21:01:29.000000000 +0100 +++ new/chafa-1.10.1/chafa/chafa-term-seq-doc.h 2022-04-04 00:13:27.000000000 +0200 @@ -932,7 +932,7 @@ * @width_cells: Target width in cells * @height_cells: Target height in cells * - * Prints the control sequence for #CHAFA_TERM_SEQ_BEGIN_KITTY_IMAGE_IMMEDITATE. + * Prints the control sequence for #CHAFA_TERM_SEQ_BEGIN_KITTY_IMAGE_IMMEDIATE. * * @dest must have enough space to hold * #CHAFA_TERM_SEQ_LENGTH_MAX bytes, even if the emitted sequence is @@ -1012,7 +1012,7 @@ * @width: Image width in character cells * @height: Image height in character cells * - * Prints the control sequence for #CHAFA_TERM_SEQ_BEGIN_ITERM2_IMAGE_IMMEDITATE. + * Prints the control sequence for #CHAFA_TERM_SEQ_BEGIN_ITERM2_IMAGE. * * @dest must have enough space to hold * #CHAFA_TERM_SEQ_LENGTH_MAX bytes, even if the emitted sequence is @@ -1046,6 +1046,11 @@ **/ gchar *chafa_term_info_emit_end_iterm2_image (const ChafaTermInfo *term_info, gchar *dest ); +/* --- Available in 1.10+ --- */ + + + + /** * chafa_term_info_emit_enable_sixel_scrolling: * @term_info: A #ChafaTermInfo @@ -1947,7 +1952,7 @@ * @width_cells: Target width in cells * @height_cells: Target height in cells * - * Prints the control sequence for #CHAFA_TERM_SEQ_BEGIN_KITTY_IMAGE_IMMEDITATE. + * Prints the control sequence for #CHAFA_TERM_SEQ_BEGIN_KITTY_IMAGE_IMMEDIATE. * * @dest must have enough space to hold * #CHAFA_TERM_SEQ_LENGTH_MAX bytes, even if the emitted sequence is @@ -2027,7 +2032,7 @@ * @width: Image width in character cells * @height: Image height in character cells * - * Prints the control sequence for #CHAFA_TERM_SEQ_BEGIN_ITERM2_IMAGE_IMMEDITATE. + * Prints the control sequence for #CHAFA_TERM_SEQ_BEGIN_ITERM2_IMAGE. * * @dest must have enough space to hold * #CHAFA_TERM_SEQ_LENGTH_MAX bytes, even if the emitted sequence is @@ -2061,6 +2066,11 @@ **/ CHAFA_TERM_SEQ_END_ITERM2_IMAGE, +/* --- Available in 1.10+ --- */ + + + + /** * chafa_term_info_emit_enable_sixel_scrolling: * @term_info: A #ChafaTermInfo diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/chafa-1.10.0/chafa/internal/chafa-batch.c new/chafa-1.10.1/chafa/internal/chafa-batch.c --- old/chafa-1.10.0/chafa/internal/chafa-batch.c 2022-02-17 18:54:27.000000000 +0100 +++ new/chafa-1.10.1/chafa/internal/chafa-batch.c 2022-04-03 23:55:41.000000000 +0200 @@ -72,7 +72,7 @@ row_ofs [0] *= batch_unit; row_ofs [1] *= batch_unit; - if (row_ofs [1] > n_rows) + if (row_ofs [1] > n_rows || i == n_batches - 1) { ofs [1] = n_rows + 0.5; row_ofs [1] = n_rows; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/chafa-1.10.0/configure new/chafa-1.10.1/configure --- old/chafa-1.10.0/configure 2022-03-20 23:24:57.000000000 +0100 +++ new/chafa-1.10.1/configure 2022-04-04 00:13:20.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for chafa 1.10.0. +# Generated by GNU Autoconf 2.69 for chafa 1.10.1. # # Report bugs to <[email protected]>. # @@ -590,8 +590,8 @@ # Identity of this package. PACKAGE_NAME='chafa' PACKAGE_TARNAME='chafa' -PACKAGE_VERSION='1.10.0' -PACKAGE_STRING='chafa 1.10.0' +PACKAGE_VERSION='1.10.1' +PACKAGE_STRING='chafa 1.10.1' PACKAGE_BUGREPORT='[email protected]' PACKAGE_URL='' @@ -1392,7 +1392,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures chafa 1.10.0 to adapt to many kinds of systems. +\`configure' configures chafa 1.10.1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1462,7 +1462,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of chafa 1.10.0:";; + short | recursive ) echo "Configuration of chafa 1.10.1:";; esac cat <<\_ACEOF @@ -1604,7 +1604,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -chafa configure 1.10.0 +chafa configure 1.10.1 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1973,7 +1973,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by chafa $as_me 1.10.0, which was +It was created by chafa $as_me 1.10.1, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2831,7 +2831,7 @@ # Define the identity of the package. PACKAGE='chafa' - VERSION='1.10.0' + VERSION='1.10.1' cat >>confdefs.h <<_ACEOF @@ -2933,8 +2933,8 @@ CHAFA_MAJOR_VERSION=1 CHAFA_MINOR_VERSION=10 -CHAFA_MICRO_VERSION=0 -CHAFA_VERSION=1.10.0 +CHAFA_MICRO_VERSION=1 +CHAFA_VERSION=1.10.1 @@ -2948,7 +2948,7 @@ $as_echo "#define CHAFA_MINOR_VERSION 10" >>confdefs.h -$as_echo "#define CHAFA_MICRO_VERSION 0" >>confdefs.h +$as_echo "#define CHAFA_MICRO_VERSION 1" >>confdefs.h cat >>confdefs.h <<_ACEOF @@ -15463,7 +15463,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by chafa $as_me 1.10.0, which was +This file was extended by chafa $as_me 1.10.1, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -15529,7 +15529,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -chafa config.status 1.10.0 +chafa config.status 1.10.1 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/chafa-1.10.0/configure.ac new/chafa-1.10.1/configure.ac --- old/chafa-1.10.0/configure.ac 2022-03-20 23:17:44.000000000 +0100 +++ new/chafa-1.10.1/configure.ac 2022-04-04 00:12:06.000000000 +0200 @@ -6,7 +6,7 @@ m4_define([chafa_major_version], [1]) m4_define([chafa_minor_version], [10]) -m4_define([chafa_micro_version], [0]) +m4_define([chafa_micro_version], [1]) m4_define([chafa_version], [chafa_major_version.chafa_minor_version.chafa_micro_version]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/chafa-1.10.0/docs/chafa-sections.txt new/chafa-1.10.1/docs/chafa-sections.txt --- old/chafa-1.10.0/docs/chafa-sections.txt 2022-03-20 23:31:09.000000000 +0100 +++ new/chafa-1.10.1/docs/chafa-sections.txt 2022-04-04 00:13:52.000000000 +0200 @@ -168,6 +168,8 @@ chafa_term_info_emit_repeat_char chafa_term_info_emit_begin_sixels chafa_term_info_emit_end_sixels +chafa_term_info_emit_enable_sixel_scrolling +chafa_term_info_emit_disable_sixel_scrolling chafa_term_info_emit_begin_kitty_immediate_image_v1 chafa_term_info_emit_end_kitty_image chafa_term_info_emit_begin_kitty_image_chunk diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/chafa-1.10.0/docs/chafa.1 new/chafa-1.10.1/docs/chafa.1 --- old/chafa-1.10.0/docs/chafa.1 2022-03-20 23:25:11.000000000 +0100 +++ new/chafa-1.10.1/docs/chafa.1 2022-04-04 00:13:33.000000000 +0200 @@ -2,7 +2,7 @@ .\" Title: chafa .\" Author: Hans Petter Jansson .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 03/20/2022 +.\" Date: 04/04/2022 .\" Manual: User Commands .\" Source: chafa .\" Language: English @@ -144,7 +144,7 @@ .PP \fB\-\-margin\-right \fR\fB\fInum\fR\fR .RS 4 -When terminal size is detected, reserve at least this many rows on the right\-hand side as a safety margin\&. Defaults to 0\&. +When terminal size is detected, reserve at least this many columns on the right\-hand side as a safety margin\&. Defaults to 0\&. .RE .PP \fB\-O \fR\fB\fInum\fR\fR\fB, \-\-optimize \fR\fB\fInum\fR\fR diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/chafa-1.10.0/docs/chafa.html new/chafa-1.10.1/docs/chafa.html --- old/chafa-1.10.0/docs/chafa.html 2022-03-20 23:25:11.000000000 +0100 +++ new/chafa-1.10.1/docs/chafa.html 2022-04-04 00:13:33.000000000 +0200 @@ -93,7 +93,7 @@ as a safety margin. Can be used to prevent images from scrolling out. Defaults to 1. </p></dd><dt><span class="term"><code class="option">--margin-right <em class="replaceable"><code>num</code></em></code></span></dt><dd><p> -When terminal size is detected, reserve at least this many rows on the +When terminal size is detected, reserve at least this many columns on the right-hand side as a safety margin. Defaults to 0. </p></dd><dt><span class="term"><code class="option">-O <em class="replaceable"><code>num</code></em>, --optimize <em class="replaceable"><code>num</code></em></code></span></dt><dd><p> Compress the output by using control sequences intelligently [0-9]. 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/chafa-1.10.0/docs/chafa.xml new/chafa-1.10.1/docs/chafa.xml --- old/chafa-1.10.0/docs/chafa.xml 2022-03-20 22:42:31.000000000 +0100 +++ new/chafa-1.10.1/docs/chafa.xml 2022-04-03 23:55:47.000000000 +0200 @@ -239,7 +239,7 @@ <varlistentry> <term><option>--margin-right <replaceable>num</replaceable></option></term> <listitem><para> -When terminal size is detected, reserve at least this many rows on the +When terminal size is detected, reserve at least this many columns on the right-hand side as a safety margin. Defaults to 0. </para></listitem> </varlistentry> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/chafa-1.10.0/docs/html/api-index-full.html new/chafa-1.10.1/docs/html/api-index-full.html --- old/chafa-1.10.0/docs/html/api-index-full.html 2022-03-20 23:31:09.000000000 +0100 +++ new/chafa-1.10.1/docs/html/api-index-full.html 2022-04-04 00:13:52.000000000 +0200 @@ -526,6 +526,10 @@ </dt> <dd></dd> <dt> +<a class="link" href="chafa-ChafaTermInfo.html#chafa-term-info-emit-disable-sixel-scrolling" title="chafa_term_info_emit_disable_sixel_scrolling??()">chafa_term_info_emit_disable_sixel_scrolling</a>, function in <a class="link" href="chafa-ChafaTermInfo.html" title="ChafaTermInfo">ChafaTermInfo</a> +</dt> +<dd></dd> +<dt> <a class="link" href="chafa-ChafaTermInfo.html#chafa-term-info-emit-disable-wrap" title="chafa_term_info_emit_disable_wrap??()">chafa_term_info_emit_disable_wrap</a>, function in <a class="link" href="chafa-ChafaTermInfo.html" title="ChafaTermInfo">ChafaTermInfo</a> </dt> <dd></dd> @@ -542,6 +546,10 @@ </dt> <dd></dd> <dt> +<a class="link" href="chafa-ChafaTermInfo.html#chafa-term-info-emit-enable-sixel-scrolling" title="chafa_term_info_emit_enable_sixel_scrolling??()">chafa_term_info_emit_enable_sixel_scrolling</a>, function in <a class="link" href="chafa-ChafaTermInfo.html" title="ChafaTermInfo">ChafaTermInfo</a> +</dt> +<dd></dd> +<dt> <a class="link" href="chafa-ChafaTermInfo.html#chafa-term-info-emit-enable-wrap" title="chafa_term_info_emit_enable_wrap??()">chafa_term_info_emit_enable_wrap</a>, function in <a class="link" href="chafa-ChafaTermInfo.html" title="ChafaTermInfo">ChafaTermInfo</a> </dt> <dd></dd> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/chafa-1.10.0/docs/html/chafa-ChafaTermInfo.html new/chafa-1.10.1/docs/html/chafa-ChafaTermInfo.html --- old/chafa-1.10.0/docs/html/chafa-ChafaTermInfo.html 2022-03-20 23:31:09.000000000 +0100 +++ new/chafa-1.10.1/docs/html/chafa-ChafaTermInfo.html 2022-04-04 00:13:52.000000000 +0200 @@ -451,6 +451,22 @@ <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>??* </td> <td class="function_name"> +<a class="link" href="chafa-ChafaTermInfo.html#chafa-term-info-emit-enable-sixel-scrolling" title="chafa_term_info_emit_enable_sixel_scrolling??()">chafa_term_info_emit_enable_sixel_scrolling</a>??<span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>??* +</td> +<td class="function_name"> +<a class="link" href="chafa-ChafaTermInfo.html#chafa-term-info-emit-disable-sixel-scrolling" title="chafa_term_info_emit_disable_sixel_scrolling??()">chafa_term_info_emit_disable_sixel_scrolling</a>??<span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>??* +</td> +<td class="function_name"> <a class="link" href="chafa-ChafaTermInfo.html#chafa-term-info-emit-begin-kitty-immediate-image-v1" title="chafa_term_info_emit_begin_kitty_immediate_image_v1??()">chafa_term_info_emit_begin_kitty_immediate_image_v1</a>??<span class="c_punctuation">()</span> </td> </tr> @@ -2708,6 +2724,86 @@ </div> <hr> <div class="refsect2"> +<a name="chafa-term-info-emit-enable-sixel-scrolling"></a><h3>chafa_term_info_emit_enable_sixel_scrolling??()</h3> +<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>??* +chafa_term_info_emit_enable_sixel_scrolling + (<em class="parameter"><code>const <a class="link" href="chafa-ChafaTermInfo.html#ChafaTermInfo" title="ChafaTermInfo"><span class="type">ChafaTermInfo</span></a> *term_info</code></em>, + <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dest</code></em>);</pre> +<p>Prints the control sequence for <a class="link" href="chafa-ChafaTermInfo.html#CHAFA-TERM-SEQ-ENABLE-SIXEL-SCROLLING:CAPS"><span class="type">CHAFA_TERM_SEQ_ENABLE_SIXEL_SCROLLING</span></a>.</p> +<p><em class="parameter"><code>dest</code></em> + must have enough space to hold +<a class="link" href="chafa-ChafaTermInfo.html#CHAFA-TERM-SEQ-LENGTH-MAX:CAPS" title="CHAFA_TERM_SEQ_LENGTH_MAX"><span class="type">CHAFA_TERM_SEQ_LENGTH_MAX</span></a> bytes, even if the emitted sequence is +shorter. The output will not be zero-terminated.</p> +<div class="refsect3"> +<a name="chafa-term-info-emit-enable-sixel-scrolling.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>term_info</p></td> +<td class="parameter_description"><p>A <a class="link" href="chafa-ChafaTermInfo.html#ChafaTermInfo" title="ChafaTermInfo"><span class="type">ChafaTermInfo</span></a></p></td> +<td class="parameter_annotations">??</td> +</tr> +<tr> +<td class="parameter_name"><p>dest</p></td> +<td class="parameter_description"><p>String destination</p></td> +<td class="parameter_annotations">??</td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="chafa-term-info-emit-enable-sixel-scrolling.returns"></a><h4>Returns</h4> +<p> Pointer to first byte after emitted string</p> +</div> +<p class="since">Since: 1.10</p> +</div> +<hr> +<div class="refsect2"> +<a name="chafa-term-info-emit-disable-sixel-scrolling"></a><h3>chafa_term_info_emit_disable_sixel_scrolling??()</h3> +<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>??* +chafa_term_info_emit_disable_sixel_scrolling + (<em class="parameter"><code>const <a class="link" href="chafa-ChafaTermInfo.html#ChafaTermInfo" title="ChafaTermInfo"><span class="type">ChafaTermInfo</span></a> *term_info</code></em>, + <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dest</code></em>);</pre> +<p>Prints the control sequence for <a class="link" href="chafa-ChafaTermInfo.html#CHAFA-TERM-SEQ-DISABLE-SIXEL-SCROLLING:CAPS"><span class="type">CHAFA_TERM_SEQ_DISABLE_SIXEL_SCROLLING</span></a>.</p> +<p><em class="parameter"><code>dest</code></em> + must have enough space to hold +<a class="link" href="chafa-ChafaTermInfo.html#CHAFA-TERM-SEQ-LENGTH-MAX:CAPS" title="CHAFA_TERM_SEQ_LENGTH_MAX"><span class="type">CHAFA_TERM_SEQ_LENGTH_MAX</span></a> bytes, even if the emitted sequence is +shorter. The output will not be zero-terminated.</p> +<div class="refsect3"> +<a name="chafa-term-info-emit-disable-sixel-scrolling.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>term_info</p></td> +<td class="parameter_description"><p>A <a class="link" href="chafa-ChafaTermInfo.html#ChafaTermInfo" title="ChafaTermInfo"><span class="type">ChafaTermInfo</span></a></p></td> +<td class="parameter_annotations">??</td> +</tr> +<tr> +<td class="parameter_name"><p>dest</p></td> +<td class="parameter_description"><p>String destination</p></td> +<td class="parameter_annotations">??</td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="chafa-term-info-emit-disable-sixel-scrolling.returns"></a><h4>Returns</h4> +<p> Pointer to first byte after emitted string</p> +</div> +<p class="since">Since: 1.10</p> +</div> +<hr> +<div class="refsect2"> <a name="chafa-term-info-emit-begin-kitty-immediate-image-v1"></a><h3>chafa_term_info_emit_begin_kitty_immediate_image_v1??()</h3> <pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>??* chafa_term_info_emit_begin_kitty_immediate_image_v1 @@ -2718,7 +2814,7 @@ <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> height_pixels</code></em>, <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> width_cells</code></em>, <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> height_cells</code></em>);</pre> -<p>Prints the control sequence for <span class="type">CHAFA_TERM_SEQ_BEGIN_KITTY_IMAGE_IMMEDITATE</span>.</p> +<p>Prints the control sequence for <span class="type">CHAFA_TERM_SEQ_BEGIN_KITTY_IMAGE_IMMEDIATE</span>.</p> <p><em class="parameter"><code>dest</code></em> must have enough space to hold <a class="link" href="chafa-ChafaTermInfo.html#CHAFA-TERM-SEQ-LENGTH-MAX:CAPS" title="CHAFA_TERM_SEQ_LENGTH_MAX"><span class="type">CHAFA_TERM_SEQ_LENGTH_MAX</span></a> bytes, even if the emitted sequence is @@ -2912,7 +3008,7 @@ <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dest</code></em>, <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> width</code></em>, <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> height</code></em>);</pre> -<p>Prints the control sequence for <span class="type">CHAFA_TERM_SEQ_BEGIN_ITERM2_IMAGE_IMMEDITATE</span>.</p> +<p>Prints the control sequence for <a class="link" href="chafa-ChafaTermInfo.html#CHAFA-TERM-SEQ-BEGIN-ITERM2-IMAGE:CAPS"><span class="type">CHAFA_TERM_SEQ_BEGIN_ITERM2_IMAGE</span></a>.</p> <p><em class="parameter"><code>dest</code></em> must have enough space to hold <a class="link" href="chafa-ChafaTermInfo.html#CHAFA-TERM-SEQ-LENGTH-MAX:CAPS" title="CHAFA_TERM_SEQ_LENGTH_MAX"><span class="type">CHAFA_TERM_SEQ_LENGTH_MAX</span></a> bytes, even if the emitted sequence is diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/chafa-1.10.0/docs/html/chafa.devhelp2 new/chafa-1.10.1/docs/html/chafa.devhelp2 --- old/chafa-1.10.0/docs/html/chafa.devhelp2 2022-03-20 23:31:09.000000000 +0100 +++ new/chafa-1.10.1/docs/html/chafa.devhelp2 2022-04-04 00:13:52.000000000 +0200 @@ -155,6 +155,8 @@ <keyword type="function" name="chafa_term_info_emit_repeat_char??()" link="chafa-ChafaTermInfo.html#chafa-term-info-emit-repeat-char" since="1.6"/> <keyword type="function" name="chafa_term_info_emit_begin_sixels??()" link="chafa-ChafaTermInfo.html#chafa-term-info-emit-begin-sixels" since="1.6"/> <keyword type="function" name="chafa_term_info_emit_end_sixels??()" link="chafa-ChafaTermInfo.html#chafa-term-info-emit-end-sixels" since="1.6"/> + <keyword type="function" name="chafa_term_info_emit_enable_sixel_scrolling??()" link="chafa-ChafaTermInfo.html#chafa-term-info-emit-enable-sixel-scrolling" since="1.10"/> + <keyword type="function" name="chafa_term_info_emit_disable_sixel_scrolling??()" link="chafa-ChafaTermInfo.html#chafa-term-info-emit-disable-sixel-scrolling" since="1.10"/> <keyword type="function" name="chafa_term_info_emit_begin_kitty_immediate_image_v1??()" link="chafa-ChafaTermInfo.html#chafa-term-info-emit-begin-kitty-immediate-image-v1" since="1.8"/> <keyword type="function" name="chafa_term_info_emit_end_kitty_image??()" link="chafa-ChafaTermInfo.html#chafa-term-info-emit-end-kitty-image" since="1.8"/> <keyword type="function" name="chafa_term_info_emit_begin_kitty_image_chunk??()" link="chafa-ChafaTermInfo.html#chafa-term-info-emit-begin-kitty-image-chunk" since="1.8"/> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/chafa-1.10.0/docs/html/index.html new/chafa-1.10.1/docs/html/index.html --- old/chafa-1.10.0/docs/html/index.html 2022-03-20 23:31:09.000000000 +0100 +++ new/chafa-1.10.1/docs/html/index.html 2022-04-04 00:13:52.000000000 +0200 @@ -15,7 +15,7 @@ <div> <div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">Chafa Reference Manual</p></th></tr></table></div> <div><p class="releaseinfo"> - For Chafa version 1.10.0 + For Chafa version 1.10.1 . The latest version of this documentation can be found online at <a class="ulink" href="https://hpjansson.org/chafa/ref/index.html" target="_top">https://hpjansson.org/chafa/ref/</a>. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/chafa-1.10.0/tools/chafa/chafa.c new/chafa-1.10.1/tools/chafa/chafa.c --- old/chafa-1.10.0/tools/chafa/chafa.c 2022-03-20 23:11:16.000000000 +0100 +++ new/chafa-1.10.1/tools/chafa/chafa.c 2022-04-03 23:55:58.000000000 +0200 @@ -304,7 +304,7 @@ " rows at the bottom as a safety margin. Can be used to\n" " prevent images from scrolling out. Defaults to 1.\n" " --margin-right=NUM When terminal size is detected, reserve at least NUM\n" - " rows on the right-hand side as a safety margin. Defaults\n" + " columns on the right-hand side as a safety margin. Defaults\n" " to 0.\n" " -O, --optimize=NUM Compress the output by using control sequences\n" " intelligently [0-9]. 0 disables, 9 enables every\n" @@ -690,12 +690,14 @@ gboolean success = FALSE; if (!g_ascii_strcasecmp (token, "on") - || !g_ascii_strcasecmp (token, "yes")) + || !g_ascii_strcasecmp (token, "yes") + || !g_ascii_strcasecmp (token, "true")) { *value_out = TRUE; } else if (!g_ascii_strcasecmp (token, "off") - || !g_ascii_strcasecmp (token, "no")) + || !g_ascii_strcasecmp (token, "no") + || !g_ascii_strcasecmp (token, "false")) { *value_out = FALSE; }
