Blame Changes

Packit e6c7a3
                   User-Visible Term::ANSIColor Changes
Packit e6c7a3
Packit e6c7a3
Term::ANSIColor 4.06 (2016-10-28)
Packit e6c7a3
Packit e6c7a3
    Add aliases ansi16 through ansi255 and on_ansi16 through on_ansi255
Packit e6c7a3
    (plus the corresponding constants) for the grey and rgb colors so that
Packit e6c7a3
    one can refer to all of the 256 ANSI colors with consistent names.
Packit e6c7a3
    These are aliases; the colors returned by uncolor will still use the
Packit e6c7a3
    grey and rgb names.  (#118267)
Packit e6c7a3
Packit e6c7a3
Term::ANSIColor 4.05 (2016-03-20)
Packit e6c7a3
Packit e6c7a3
    Color aliases are now restricted to ASCII alphanumerics, due to the
Packit e6c7a3
    below change.
Packit e6c7a3
Packit e6c7a3
    Delay loading of the Carp module and avoid using [:upper:], \w, and \d
Packit e6c7a3
    in regular expressions to reduce the amount of memory this module
Packit e6c7a3
    consumes.  (Normally, I wouldn't worry about this, but this module is
Packit e6c7a3
    very light-weight and can be useful even in highly space-constrained
Packit e6c7a3
    environments, and the impact is slight.)  Thanks, Nicolas R.
Packit e6c7a3
    (#111552)
Packit e6c7a3
Packit e6c7a3
    Provide a mailto address in bug tracking metadata, use the shorter
Packit e6c7a3
    form of the RT bug tracker URL, and fix the license value to match the
Packit e6c7a3
    new metadata specification.  Rework Makefile.PL so that the munging
Packit e6c7a3
    for older versions of ExtUtils::MakeMaker is less intrusive.
Packit e6c7a3
Packit e6c7a3
Term::ANSIColor 4.04 (2015-12-06)
Packit e6c7a3
Packit e6c7a3
    Revert the build system back to ExtUtils::MakeMaker.  This is the
Packit e6c7a3
    build system actually used in Perl core, so this removes a level of
Packit e6c7a3
    indirectly generated files and means that normal module development
Packit e6c7a3
    tests the same build system used by Perl.  Update Makefile.PL with the
Packit e6c7a3
    additional metadata from the Module::Build build system.
Packit e6c7a3
Packit e6c7a3
    For versions of Perl prior to 5.11, install the module into the Perl
Packit e6c7a3
    core module directories, since in those versions site modules did not
Packit e6c7a3
    take precedence over Perl core modules.
Packit e6c7a3
Packit e6c7a3
    Rename NEWS to Changes to match the normal Perl convention.
Packit e6c7a3
Packit e6c7a3
Term::ANSIColor 4.03 (2014-03-23)
Packit e6c7a3
Packit e6c7a3
    Switch the module build system to Module::Build, but still generate a
Packit e6c7a3
    Makefile.PL file for backward compatibility and for the use of Perl
Packit e6c7a3
    core.
Packit e6c7a3
Packit e6c7a3
    Fix typo in SYNOPSIS (colorstrip example) and duplicated word.
Packit e6c7a3
    Thanks, Olivier Mengué and David Steinbrunner.  (#85480, #94006)
Packit e6c7a3
Packit e6c7a3
    Skip POD and some other style tests unless doing automated or release
Packit e6c7a3
    testing.  Skip POD spelling, coverage, and Perl::Critic tests unless
Packit e6c7a3
    doing author testing.  Use the Lancaster Consensus environment
Packit e6c7a3
    variables instead of RRA_MAINTAINER_TESTS.  (#93474)
Packit e6c7a3
Packit e6c7a3
    Add SEE ALSO reference to Win32::Console::ANSI.  (#87295)
Packit e6c7a3
Packit e6c7a3
Term::ANSIColor 4.02 (2013-01-07)
Packit e6c7a3
Packit e6c7a3
    When testing 256-color support, list the tag first in the import list
Packit e6c7a3
    for compatibility with the Exporter from Perl 5.6.2.  Thanks to David
Packit e6c7a3
    Cantrell for the testing and debugging.
Packit e6c7a3
Packit e6c7a3
    Add the minimum Perl version to the package metadata.
Packit e6c7a3
Packit e6c7a3
Term::ANSIColor 4.01 (2012-12-31)
Packit e6c7a3
Packit e6c7a3
    Fix logic for skipping tests when Test::Warn is not installed.
Packit e6c7a3
Packit e6c7a3
Term::ANSIColor 4.00 (2012-12-30)
Packit e6c7a3
Packit e6c7a3
    Add constants (with tag :constants256) and attributes for 256-color
Packit e6c7a3
    emulators.  Thanks, Kurt Starsinic.
Packit e6c7a3
Packit e6c7a3
    Add support for custom color names configured with either a new
Packit e6c7a3
    function, coloralias, or the ANSI_COLORS_ALIASES environment variable
Packit e6c7a3
    as set during module load.  Thanks, Stephen Tirlwall.
Packit e6c7a3
Packit e6c7a3
    Only honor ANSI_COLORS_DISABLED if it is set to a true value.
Packit e6c7a3
Packit e6c7a3
    The module now requires Perl 5.6 or later and makes use of Perl 5.6
Packit e6c7a3
    features.
Packit e6c7a3
Packit e6c7a3
    Replace the AUTOLOAD support for ANSI_COLORS_DISABLED with generation
Packit e6c7a3
    of constant subs that check for ANSI_COLORS_DISABLED when they're
Packit e6c7a3
    called.  This fixes behavior if the constant were used before the
Packit e6c7a3
    environment variable was set and then used again afterwards.
Packit e6c7a3
Packit e6c7a3
    PUSHCOLOR now takes an array like all the other constant functions and
Packit e6c7a3
    joins all arguments together before manipulating them, making behavior
Packit e6c7a3
    more consistent in some edge cases.
Packit e6c7a3
Packit e6c7a3
    $AUTOLOCAL now takes precedence over $AUTORESET, reversing the
Packit e6c7a3
    previous behavior.  It is also now properly documented.
Packit e6c7a3
Packit e6c7a3
    Add a COMPATIBILITY section to the documentation collecting all
Packit e6c7a3
    information about when features were introduced and adding the version
Packit e6c7a3
    of Perl that they shipped with.  Add appropriate version numbers to
Packit e6c7a3
    the use statements in the SYNOPSIS.
Packit e6c7a3
Packit e6c7a3
    Add a new generate-colors example script that can generate various
Packit e6c7a3
    test and demonstration files, including for 256 colors and various
Packit e6c7a3
    attributes.  Remove the VT100 test files, which had an unclear
Packit e6c7a3
    license.  generate-colors can now generate better tests for everything
Packit e6c7a3
    of significance to this package.
Packit e6c7a3
Packit e6c7a3
Term::ANSIColor 3.02 (2012-03-18)
Packit e6c7a3
Packit e6c7a3
    In AUTOLOAD, only return pass-through behavior if the function that
Packit e6c7a3
    was called was one of our constants, rather than turning every unknown
Packit e6c7a3
    function in the Term::ANSIColor namespace into a passthrough join
Packit e6c7a3
    function when colors are disabled.
Packit e6c7a3
Packit e6c7a3
    Add the italic attribute and the ITALIC constant.  Document that
Packit e6c7a3
    support for it is rare.
Packit e6c7a3
Packit e6c7a3
    Preserve an existing value of $@ when generating a constant sub and
Packit e6c7a3
    restore it afterwards.  Diagnose errors in creating the constant sub
Packit e6c7a3
    and die instead of ignoring them.
Packit e6c7a3
Packit e6c7a3
Term::ANSIColor 3.01 (2011-07-20)
Packit e6c7a3
Packit e6c7a3
    In colored, only interpret an initial array reference as a list of
Packit e6c7a3
    colors, not any initial reference, allowing the colored function to
Packit e6c7a3
    work properly on objects with stringification defined.  Thanks, Revilo
Packit e6c7a3
    Reegiles.
Packit e6c7a3
Packit e6c7a3
    Warn in the documentation that attributes are not supported in and
Packit e6c7a3
    will not work with Perl formats.
Packit e6c7a3
Packit e6c7a3
Term::ANSIColor 3.00 (2010-01-04)
Packit e6c7a3
Packit e6c7a3
    Add bright versions of the basic eight foreground and background
Packit e6c7a3
    colors using the 9x and 10x codes, supported by emulators with 16
Packit e6c7a3
    color support.
Packit e6c7a3
Packit e6c7a3
    Reword the explanation of bright and regular colors, and provide some
Packit e6c7a3
    advice about which to use.
Packit e6c7a3
Packit e6c7a3
    Reorganize the documentation and be clearer about the function
Packit e6c7a3
    interface parameters.
Packit e6c7a3
Packit e6c7a3
Term::ANSIColor 2.02 (2009-08-30)
Packit e6c7a3
Packit e6c7a3
    Add the new function colorvalid, which takes an attribute and returns
Packit e6c7a3
    whether it's a known attribute.
Packit e6c7a3
Packit e6c7a3
    Add FAINT as a synonym for DARK and export it when constants are
Packit e6c7a3
    requested.
Packit e6c7a3
Packit e6c7a3
    Update the terminal compatibility matrix to reflect that xterm now
Packit e6c7a3
    supports blink.
Packit e6c7a3
Packit e6c7a3
Term::ANSIColor 2.01 (2009-07-04)
Packit e6c7a3
Packit e6c7a3
    Add the new function colorstrip, which removes ANSI color codes from
Packit e6c7a3
    strings.  Thanks, Paul Miller.
Packit e6c7a3
Packit e6c7a3
    When reporting errors for bad escape sequences in uncolor, don't
Packit e6c7a3
    include the leading \e[ or trailing m in the error message.
Packit e6c7a3
Packit e6c7a3
    Untaint $AUTOLOAD when generating constant subs, which is required by
Packit e6c7a3
    Perl 5.10 and later running in taint mode.  Thanks, Tim Bellinghausen.
Packit e6c7a3
Packit e6c7a3
Term::ANSIColor 2.00 (2009-02-28)
Packit e6c7a3
Packit e6c7a3
    Add new functions PUSHCOLOR, POPCOLOR, and LOCALCOLOR, which maintain
Packit e6c7a3
    a stack of colors using the constant syntax.  PUSHCOLOR stores the
Packit e6c7a3
    attributes being set on its internal stack, POPCOLOR returns to the
Packit e6c7a3
    previous attribute set, and LOCALCOLOR surrounds its argument in
Packit e6c7a3
    PUSHCOLOR and POPCOLOR.  If $AUTOLOCAL is set, each sequence of color
Packit e6c7a3
    constants will be implicitly preceded by LOCALCOLOR.  This support was
Packit e6c7a3
    contributed by openmethods.com voice solutions.
Packit e6c7a3
Packit e6c7a3
    When AUTOLOAD is called to generate a constant sub and the environment
Packit e6c7a3
    variable ANSI_COLORS_DISABLED is set, return the stringified arguments
Packit e6c7a3
    rather than creating a sub.  This allows colors to work later if
Packit e6c7a3
    ANSI_COLORS_DISABLED is unset rather than making its effects
Packit e6c7a3
    permanent.  It also avoids adding a reset escape sequence when
Packit e6c7a3
    $AUTORESET and ANSI_COLORS_DISABLED are both set.
Packit e6c7a3
Packit e6c7a3
    Add faint as a synonym for dark.
Packit e6c7a3
Packit e6c7a3
    Fix spelling and markup errors in the documentation and improve the
Packit e6c7a3
    documentation of text attributes.
Packit e6c7a3
Packit e6c7a3
Term::ANSIColor 1.12 (2007-04-22)
Packit e6c7a3
Packit e6c7a3
    Use the correct syntax for internal POD links in the documentation.
Packit e6c7a3
Packit e6c7a3
    Document cyan and white as supported attributes.
Packit e6c7a3
Packit e6c7a3
Term::ANSIColor 1.11 (2006-06-22)
Packit e6c7a3
Packit e6c7a3
    Clarify in the documentation the behavior of terminals when background
Packit e6c7a3
    colors are set across newlines, and rewrite some of the examples to
Packit e6c7a3
    avoid doing things that confuse the terminal.
Packit e6c7a3
Packit e6c7a3
Term::ANSIColor 1.10 (2005-08-21)
Packit e6c7a3
Packit e6c7a3
    Fix $EACHLINE handling of lines consisting solely of "0".
Packit e6c7a3
Packit e6c7a3
    Add terminal test files from Joe Smith to the distribution.
Packit e6c7a3
Packit e6c7a3
Term::ANSIColor 1.09 (2004-12-03)
Packit e6c7a3
Packit e6c7a3
    Add compatibility information for Mac OS X Terminal to the terminal
Packit e6c7a3
    emulators table.  Thanks, Daniel Lindsley.
Packit e6c7a3
Packit e6c7a3
Term::ANSIColor 1.08 (2004-02-19)
Packit e6c7a3
Packit e6c7a3
    Export DARK as a constant.  This was missed when dark was added as a
Packit e6c7a3
    supported attribute.
Packit e6c7a3
Packit e6c7a3
Term::ANSIColor 1.07 (2003-03-25)
Packit e6c7a3
Packit e6c7a3
    Document the behavior of PuTTY, Windows telnet, and Cygwin OpenSSH in
Packit e6c7a3
    the terminal emulators table.
Packit e6c7a3
Packit e6c7a3
    Update the URL to the ECMA standard.
Packit e6c7a3
Packit e6c7a3
Term::ANSIColor 1.06 (2002-12-09)
Packit e6c7a3
Packit e6c7a3
    Fix a typo in an L<> link in the documentation.
Packit e6c7a3
Packit e6c7a3
Term::ANSIColor 1.05 (2002-06-28)
Packit e6c7a3
Packit e6c7a3
    Document the Windows consoles that don't work with this module.
Packit e6c7a3
Packit e6c7a3
    Update the documentation formatting style.
Packit e6c7a3
Packit e6c7a3
Term::ANSIColor 1.04 (2001-07-10)
Packit e6c7a3
Packit e6c7a3
    Add a new uncolor function, which takes a set of escape sequences and
Packit e6c7a3
    returns a list of attribute names set by those escape sequences.  This
Packit e6c7a3
    is the opposite function as color.
Packit e6c7a3
Packit e6c7a3
    If ANSI_COLORS_DISABLED is set in the environment, all of the
Packit e6c7a3
    functions and constants in this module become no-ops that pass through
Packit e6c7a3
    text without coloring it.
Packit e6c7a3
Packit e6c7a3
    Add information about the relevant standards to the documentation.
Packit e6c7a3
Packit e6c7a3
Term::ANSIColor 1.03 (2000-08-06)
Packit e6c7a3
Packit e6c7a3
    In the colored function, allow the attributes to be passed as an
Packit e6c7a3
    initial array reference as well as a trailing list.  When called with
Packit e6c7a3
    that syntax, all subsequent arguments are taken as text to be colored.
Packit e6c7a3
Packit e6c7a3
    Add the dark attribute.
Packit e6c7a3
Packit e6c7a3
    Improve the documentation by including a table of supported attributes
Packit e6c7a3
    on different terminal emulators in the documentation and documenting
Packit e6c7a3
    whether diagnostics are fatal errors or warnings.
Packit e6c7a3
Packit e6c7a3
    Install into the Perl library directory for Perl 5.6.0 or later, since
Packit e6c7a3
    this module is now part of core.
Packit e6c7a3
Packit e6c7a3
Term::ANSIColor 1.02 (1998-11-27)
Packit e6c7a3
Packit e6c7a3
    Call croak instead of die if the AUTOLOAD function to synthesize
Packit e6c7a3
    constants fails.
Packit e6c7a3
Packit e6c7a3
    Set ABSTRACT and AUTHOR in Makefile.PL to support PPD generation for
Packit e6c7a3
    binary distributions or the Perl Resource Kits.
Packit e6c7a3
Packit e6c7a3
Term::ANSIColor 1.01 (1997-12-10)
Packit e6c7a3
Packit e6c7a3
    Fix the call to carp when running under Perl versions later than
Packit e6c7a3
    5.004_04, which no longer import Carp in strict.pm and thereby declare
Packit e6c7a3
    the function at compile time.
Packit e6c7a3
Packit e6c7a3
Term::ANSIColor 1.00 (1997-11-29)
Packit e6c7a3
Packit e6c7a3
    Correctly handle trailing delimiters when $EACHLINE is set.
Packit e6c7a3
Packit e6c7a3
    Call croak instead of die if a caller uses an invalid attribute name,
Packit e6c7a3
    since the error is really at the call site.
Packit e6c7a3
Packit e6c7a3
    Add the correct rules to Makefile.PL to build a distribution.
Packit e6c7a3
Packit e6c7a3
Term::ANSIColor 0.09 (1997-02-17)
Packit e6c7a3
Packit e6c7a3
    Initial public release.  (Possibly.  It's the oldest version available
Packit e6c7a3
    on BackPan and dates back to when the "package" version was based on
Packit e6c7a3
    the RCS revision of the ANSIColor.pm file.)