text processing utilities

Ansifilter documentation

Changelog

ansifilter 2.21

02.09.2024

 - removed `using namespace std;` in header files
 - src/makefile: added `-std=c++17` to enable modern C++ features
 - added cmake build script
 - fix open span tag with CR as opening sequence (https://gitlab.com/saalen/ansifilter/-/issues/43)
 - adapted TCL extension for C++17 compilation (https://gitlab.com/saalen/ansifilter/-/issues/42)
ansifilter 2.20

30.05.2023

 - fixed invalid array access (https://gitlab.com/saalen/ansifilter/-/issues/35)
 - CLI: added `--no-default-fg` option to omit default foreground color (https://gitlab.com/saalen/ansifilter/-/issues/37)
ansifilter 2.19

23.02.2023

 - added stdin/stdio default stream hints in `--help` (https://gitlab.com/saalen/ansifilter/-/issues/34)
 - added shell completion scripts (https://gitlab.com/saalen/ansifilter/-/issues/36)
ansifilter 2.18

30.01.2021

 - added support for OSC 8 (iterm2) Hyperlinks (https://gitlab.com/saalen/ansifilter/-/issues/27)
ansifilter 2.17

28.09.2020

 - improved handling of carriage return (https://gitlab.com/saalen/ansifilter/-/issues/25)
 - applied makefile patch to address Portage warnings (https://gitlab.com/saalen/ansifilter/-/issues/24)
 - fixed section naming of LaTeX files if input path contained slashes
 - CLI: added `--max-size` option to limit input file size (default: 256 MB)
 
ansifilter 2.16.1

30.06.2020

 - W32: updated Qt, removed Mingw32 DLL dependencies
 - W32 GUI: added dark mode
 
ansifilter 2.16

08.01.2020

 - CLI: added --ignore-csi option to improve UTF-8 input handling
 
ansifilter 2.15

08.11.2019

 - added optional argument to --ignore-clear, the default setting is now true
 - GUI: improved UTF16 input path handling on Windows
 - CLI: fixed -e argument description (thanks to Jens Schleusener)

ansifilter 2.14

02.04.2019

 - added SVG output option (https://gitlab.com/saalen/ansifilter/issues/20)
ansifilter 2.13

08.12.2018

 - line numbers do not trigger default style span in HTML (https://gitlab.com/saalen/ansifilter/issues/19)
 - fixed line numbering in batch mode
 - CLI: added --derived-styles option for HTML output (https://gitlab.com/saalen/ansifilter/issues/11)
 - CLI: added "self" argument to --anchors to generate self-referencing anchors
ansifilter 2.12

07.11.2018

 - fixed -w char count if line contains escape sequences (thanks to Jason James)
 - GUI: added stylesheet input filed
10.10.2018

ansifilter 2.11

-fixed parsing of "7" and "8" sequences (https://gitlab.com/saalen/ansifilter/issues/16)
-added --ignore-clear option (https://gitlab.com/saalen/ansifilter/issues/16)
-converted README and ChangeLog to AsciiDoc
19.02.2018

ansifilter 2.10

-fixed parsing of "K" sequence (https://github.com/andre-simon/ansifilter/issues/12)
-fixed memory leak in BIN parser (https://github.com/andre-simon/ansifilter/issues/13)
20.11.2017

ansifilter 2.9

-fixed parsing of "(B" reset sequence (https://github.com/andre-simon/ansifilter/issues/10)
-CLI: added --no-version-info option
-GUI: layout adjustments
06.08.2017

ansifilter 2.8

-fixed reading from stdin (https://github.com/andre-simon/ansifilter/issues/8)
03.08.2017

ansifilter 2.7

-fixed processing of very small input files (https://github.com/andre-simon/ansifilter/issues/7)
-added -fPIC to CXXFLAGS in src/makefile (https://github.com/andre-simon/ansifilter/issues/6)
25.07.2017

ansifilter 2.6

-added support for Tundra 24bit ANSI art (--art-tundra option)
-fixed Pango output (patch by VLambret, https://github.com/andre-simon/ansifilter/pull/5)
-added EXTRA_CXXFLAGS in src/makefile (thanks to Helmut K. C. Tessarek)
21.06.2017

ansifilter 2.5

-CLI: added --no-trailing-nl option
-CLI: added support for environment variable ANSIFILTER_OPTIONS
27.12.2016

ansifilter 2.4

-fixed crash reading irregular escape codes (thanks to Jens Schleusener)
24.09.2016

ansifilter 2.3

-added support for true color escape codes
15.09.2016

ansifilter 2.2

-fixed wrong recognition of CSI delimiters within unicode characters
-CLI: fixed reading from stdin (thanks to Jens Schleusener)
12.09.2016

ansifilter 2.1

-fixed output height of some CP437 ASCII art files
20.07.2016

ansifilter 2.0

-new CSI parser
-CLI: new --art* options to parse ANSI and BIN/XBIN sequences used for ASCII art
  (suggested by Phillip Li)
-GUI: added ASCII art options
29.06.2016

ansifilter 1.18

-fixed RTF output of UTF-8 input; needs input encoding set to utf-8
-GUI: fixed issue with color map setting
17.05.2016

ansifilter 1.17

-fixed BBCode output (thanks to Karsten)
-fixed gcc 6 warnings about deprecated auto_ptr usage
15.04.2016

ansifilter 1.16

-fixed Pango output (patch by Dominik Schmidt)
06.01.2016

ansifilter 1.15

-fixed TeX and LaTeX output
-CLI: added map option
-GUI: added map path input field
-GUI: fixed memory of selected output format
03.12.2015

ansifilter 1.14

-fixed parsing of grep escape sequences (thanks to Manfred Hokamp)
-GUI: added drag and drop (suggested by Manfred Hokamp)
-GUI: added format selection and watch file checkbox
26.10.2015

ansifilter 1.13

-fixed missing close tags in HTML output
-fixed TeX output for cweb documents (patch by Ingo Krabbe)
-HTML and LaTeX output size reduced
-HTML output adjusted to HTML5 doctype
-added TCL extension in src/tcl (thanks to Martin Heinrich)
23.03.2015

ansifilter 1.12

-added options --line-numbers, --wrap-no-numbers, --anchors
  (suggested by Jens Schleusener)
20.10.2014

ansifilter 1.11

-fixed bold and italic in LaTeX output (patch by Antonio Dominguez)
01.09.2014

ansifilter 1.10

-added Pango output and fixed minor bugs (patches by Dominik Schmidt)
22.8.2014

ansifilter 1.9

-fixed LaTeX code indentation (thanks to Maria)
16.04.2014

ansifilter 1.8

-added support for Erase Line, Save and Restore Cursor sequences
  (thanks to Kovács Zoltán)
04.01.2012

ansifilter 1.7

-added --wrap option to wrap long lines
-fixed tab output in plain text mode
31.03.2011

ansifilter 1.6

-fixed tab output
-added support for aixterm codes
-added bbcode output
-brightened default colours
12.11.2010

ansifilter 1.5

-fixed parsing of grep escape sequences (thanks to  Alexander Lucas)
18.08.2010

ansifilter 1.4

-fixed parsing of xterm escape sequences (thanks to Mark Ziesemer)
20.07.2009

ansifilter 1.3

-fixed gcc 4.3 compilation (thanks to Jens Schleusener)
-license changed from GPLv2 to GPLv3
22.09.2008

ansifilter 1.2

-added option -L, --latex for LaTeX output (patch by Hans Meine)
-added option -P, --tex for TeX output
-fixed RTF invalid format error
-removed useless files
27.05.2008

ansifilter 1.1

-fixed RTF background color output
01.04.2008

ansifilter 1.0

-added support for xterm 256 colour sequences
-getopt_long function replaced by arg_Parser (patch by Antonio Diaz Diaz)
12.12.2007

ansifilter 0.3

-some more unknown sequences are ignored (\033[*h, \033[*;)
06.11.2007

ansifilter 0.2

-added option --tail (suggested by Emmanuel Oga)
-256 color sequences are ignored
25.10.2007

ansifilter 0.1

-initial release
Tupel7