Revisions of chafa
buildservice-autocommit
accepted
request 983868
from
Michael Vetter (jubalh)
(revision 32)
baserev update by copy to link target
Michael Vetter (jubalh)
committed
(revision 31)
- Update to 1.12.1: * Increased GLib minimum version to 2.20. * Added 12 new test inputs, including bad inputs to handle gracefully. * Added a few symbols to API documentation that were accidentally left out. * Bug fixes: + huntr.dev CVE-2022-2061: Out-of-bounds read in libnsgif's lzw_decode() + [unfiled] Undefined behavior in libnsgif due to uninitialized frame fields. + [unfiled] Signed integer overflow in chafa_pack_color(). + [unfiled] Integer overflow in normalization pass on some images. + [unfiled] Potential unaligned access with corrupt XWD images. + [unfiled] Integer overflow in quantization on some images. + [unfiled] Calculating offset from NULL pointer in LodePNG.
buildservice-autocommit
accepted
request 980989
from
Michael Vetter (jubalh)
(revision 30)
baserev update by copy to link target
Michael Vetter (jubalh)
committed
(revision 29)
- Update to 1.12.0: * The ImageMagick dependency is now optional and deprecated. Packagers are encouraged to drop the ImageMagick dependency (--without-imagemagick) and add direct dependencies on relevant image codecs. ImageMagick support will be removed in a future release. * Added image loaders for the following formats: JPEG, SVG, TIFF, WebP. Like the existing GIF, PNG and XWD loaders, these are much faster and generally safer than their ImageMagick counterparts. If ImageMagick is enabled, it will be used as a fallback. Supported image loaders will be listed in the --version output. * Implemented a 16/8 mode producing 8 colors and an additional 8 bright foreground-only colors for a total of 16 foreground and 8 background colors. When using ANSI escape sequences in symbol mode, the sequence for bold text is used to enable bright colors. This scheme corresponds to that of the IBM PC's VGA hardware text modes and was popular with terminal emulators in the late 1980s to early 2000s. With a few tweaks, output from this mode can be turned into ANSI art scene .ANS files compatible with utilities like the wonderful Ansilove[2], e.g: $ chafa -f symbols -c 16/8 -s 80 --symbols space+solid+half --fill stipple \ in.jpg | tr -d '\n' | iconv -c -f utf8 -t cp437 > out.ans $ ansilove out.ans -o out.png * New builtin Latin symbols (available with --symbols latin). This class comprises most of the symbols from the Latin-1 Supplement, Latin Extended-A and -B, IPA Extensions and Spacing Modifier Letters plus a few Latin-like symbols from other ranges, using Terminus as the reference font. The ASCII class is also a subset of this class. * Reworked ASCII symbols to be more representative of modern terminal fonts. As with the other Latin ranges, the reference font is now Terminus. * New option: --scale <n>. This takes a real number specifying the on-screen scaling factor relative to the input's pixel size, respecting the terminal
buildservice-autocommit
accepted
request 975093
from
Michael Vetter (jubalh)
(revision 28)
baserev update by copy to link target
Michael Vetter (jubalh)
committed
(revision 27)
- Update to 1.10.3: * Improved input validation in the XWD loader. * huntr.dev: Buffer over-read when compiled with -O0 or non-x86 target
buildservice-autocommit
accepted
request 972507
from
Michael Vetter (jubalh)
(revision 26)
baserev update by copy to link target
Michael Vetter (jubalh)
committed
(revision 25)
- Update to 1.10.2: * Added disclosure guidelines in SECURITY.md * Fix huntr.dev: Null pointer dereference in libnsgif with crafted GIF file * [unfiled] File magic would not effectively rule out internal loaders. * [unfiled] Very big images could cause absurd allocation requests triggering an abort in the loader.
buildservice-autocommit
accepted
request 966791
from
Michael Vetter (jubalh)
(revision 24)
baserev update by copy to link target
Michael Vetter (jubalh)
committed
(revision 23)
- Update to 0.10.1: * #87 Garbled last row of pixels on some images * [unfiled] Correctly label new functions since 1.10
buildservice-autocommit
accepted
request 963661
from
Michael Vetter (jubalh)
(revision 22)
baserev update by copy to link target
Michael Vetter (jubalh)
committed
(revision 21)
Michael Vetter (jubalh)
committed
(revision 20)
- Update to 0.10.0: * New option: --animate <bool>. On by default. Can be turned off to replace animations with a still frame #79. * New option: --center <bool> or -C <bool>. Off by default. Can be turned on to center images #83. * New options: --margin-bottom <n> and --margin-right <n>. These permit using all available space (with --margin-bottom 0) or some smaller amount #61. * New option: --polite <bool>. On by default. Can be turned off to correct issues caused by previous terminal state (e.g. no sixel scrolling) and improve presentation (e.g. by temporarily hiding the cursor). This can leave the terminal in an altered state, which is somewhat rude. * New option: --threads <n>. Allows manually specifying the number of threads to use. Defaults to one per detected logical CPU core. * When invoked with redirected input and no arguments, act like a filter as if invoked with -. * If input or output is being redirected, default to playing animations only once instead of looping forever. This can be overridden with -d inf. * Replaced obsolete Autoconf macros. * Improved image loaders: + GIF: Load GIF87a images as well as GIF89a. + PNG: Add an internal copy of LodePNG, bypassing ImageMagick. This improves performance and helps with eventually phasing out the latter. + XWD: Support images generated by convert. * Improved terminal support: + Contour: Enable sixel support. + foot: Open-ended TERM string matching. + Konsole: Enable sixel support. + WezTerm: Enable sixel support. * Bug fixes:
Michael Vetter (jubalh)
committed
(revision 19)
- Update to 1.8.0: * Added basic support for the Kitty and iTerm2 graphics protocols. These are enabled automatically when corresponding terminal support is detected, or manually with -f kitty or -f iterm. * Implemented an 8-color mode, selectable with -c 8 * Implemented a foreground-only switch, --fg-only. This produces character art using foreground colors only, and will avoid modifying or resetting the background color. Looks best with non-contiguous symbols (e.g. ascii). * Added builtins for Japanese kana fullwidth symbols. These can now be used without loading any external fonts (try -c none --symbols wide). * Added builtins for legacy computer symbols (mainly wedges and sextant blocks). These were widely used in PETSCII and Teletext, and can be enabled using --symbols or --fill with their respective tags: legacy, wedge and sextant (@hodefoting). * Since there is a growing number of builtin symbols that may not be available everywhere, the default selection has been restricted to the widely supported block and border sets. * If possible, we now select a visually blank character from the specified symbol/fill sets instead of hardcoding ASCII space for featureless cells. One practical upshot of this is that the constant-width braille range can be used to produce consistent images even in contexts with variable-width fonts. U+2800 (BRAILLE PATTERN BLANK) will then be used in blank cells. * Improved terminal size detection when used with pipelines and redirection. This should now produce an image properly sized for your terminal: curl https://i.imgur.com/WFDEFVg.jpeg | chafa - | tee out * ChafaCanvas gained API functions for programmatically getting and setting character cell contents. These are used in a new example in tests/ncurses.c demonstrating ncurses integration. * Made --disable-rpath the default in order to simplify packaging.
buildservice-autocommit
accepted
request 898181
from
Michael Vetter (jubalh)
(revision 18)
baserev update by copy to link target
Michael Vetter (jubalh)
committed
(revision 17)
Michael Vetter (jubalh)
committed
(revision 16)
- Update to 1.6.1: * Add NOCONFIGURE variable to autogen.sh to skip configure Bug fixes: * #50 SIGBUS while loading huge GIFs * #52 Produces small glitches in output with some images * #54 Haiku port fails on 32bit * [unfiled] Exclude RTL code points that could break the output. * [unfiled] Apple Terminal lacks truecolor support, so make it default to 256 colors * [unfiled] Fix typo affecting middle dot symbol.
buildservice-autocommit
accepted
request 863252
from
Michael Vetter (jubalh)
(revision 15)
baserev update by copy to link target
Michael Vetter (jubalh)
committed
(revision 14)
- Update to 1.6.0: * Added support for fullwidth symbols that take up two character cells. These are common in East Asian scripts. Single-cell and double-cell symbols can be mixed, and -f symbols mode will use both if possible. * New symbol tags: alpha, digit, alnum, narrow, wide, ambiguous, ugly, bad. "Ambiguous" symbols have uncertain widths and may render poorly in some terminals. "Ugly" denotes symbols that are unsuitable for Chafa's cell-based graphics (multicolor emoji, ideographic descriptors, etc). "Bad" is a superset of these two categories. Bad symbols are always excluded unless explicitly enabled with e.g. CHAFA_SYMBOL_TAG_BAD (--symbols +bad in the frontend). * The font loader (--glyph-file option) now does a better job with proportional fonts. * Added options for controlling lossless optimization of output. Currently, attribute reuse and character repetition (REP sequence) are implemented. * Added -O option to the frontend. This controls the optimization level. * Added a simple abstraction layer for terminal control sequences (ChafaTermInfo and ChafaTermDb). This allows for improved terminal support. * FbTerm is now supported with TERM=fbterm in the environment. * Bug fixes: - #43 Fix signal handler. - [unfiled] Crash when invalid font paths were passed on command line. - [unfiled] Small typo in fontgen's READM). - [unfiled] Bad contrast adjustment in images with transparency.
buildservice-autocommit
accepted
request 793444
from
Michael Vetter (jubalh)
(revision 13)
baserev update by copy to link target
Displaying revisions 21 - 40 of 52