pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/hs-ansi-terminal Update to ansi-terminal-0.10.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/39886aa85f9f
branches:  trunk
changeset: 346204:39886aa85f9f
user:      pho <pho%pkgsrc.org@localhost>
date:      Mon Dec 30 00:03:50 2019 +0000

description:
Update to ansi-terminal-0.10.2

Version 0.10.2
* `hGetTerminalSize` now assumes a terminal is no bigger than 9,999 by 9,999
  (previously, no bigger than 999 by 999).
* On Windows, fix a bug where emulated cursor movement functions differed from
  Windows 10 (movement bounded by the current viewport).

Version 0.10.1
* Add `hGetCursorPosition` and `hGetTerminalSize`.
* On Unix-like operating systems, fix a bug where `getReportedCursorPosition`
  could block indefinitely if no information was forthcoming on the console
  input stream.
* Improvements to Haddock documentation.

Version 0.10
* Add support for setting the default color with new `SetDefaultColor`
  constructor of the `SGR` type.
* `getTerminalSize` now flushes the `stdout` channel, to ensure the cursor
  position is unaffected.

Version 0.9.1
* Flag modules with GHC's 'Safe Haskell' language extensions (from GHC 7.2.1).
* Improvements and corrections to Haddock documentation.

Version 0.9
* Add support for 256-color palettes with new `SetPaletteColor` constructor of
  the `SGR` type, and `xterm6LevelRGB`, `xterm24LevelGray` and `xtermSystem`.
* Remove deprecated `getCursorPosition`. (Use `getCursorPosition0` instead.)
* Add `hSupportsANSIColor`.
* Add `getTerminalSize`.
* Improvements to Haddock documentation.

Version 0.8.2
* Add `getCursorPosition0` and deprecate `getCursorPosition`. Any position
  provided by the latter is 1-based. Any position provided by the former is
  0-based, consistent with `setCursorColumn` and `setCursorPosition`.
* Improvements to Haddock documentation in respect of 0-based and 1-based
  cursor positions.

Version 0.8.1
* Add `hSupportsANSIWithoutEmulation`. On Windows 10, if the handle is identifed
  as connected to a native terminal ('Command Prompt' or 'PowerShell'), the
  processing of 'ANSI' control characters will be enabled.

Version 0.8.0.4
* On Windows, `hSupportsANSI` now recognises if the handle is connected to a
  'mintty' terminal.
* Drop support for GHC versions before GHC 7.0.1 (released November 2010)

Version 0.8.0.3
* On Windows, try to enable ANSI on ConHost terminals even if a TERM environment
  variable exits (such as with the Hyper 2 terminal)
* Minor improvements to Haddock documentation

Version 0.8.0.2
* Improve README and Haddock documentation
* On Windows, fix compatability with earlier GHC versions
* Drop support for GHC versions before 6.12.1 (released December 2009)

Version 0.8.0.1
* On Windows, if the standard output channel is valid but not a ConHost
  terminal, assume it is ANSI-enabled rather than failing
* On Windows, output the improved error message to the standard error channel
  rather than the standard output channel

Version 0.8
* Make the fields of `SGR` strict
* Make compatible with GHC 8.2.2
* Improve the error message on Windows when not ANSI-capable or ConHost
* Recognise Appveyor build environment as ANSI-enabled

Version 0.7.1.1
`getReportedCursorPosition`: don't let the cursor reporting code be echo'd

Version 0.7.1
* Allow saving, restoring, and querying the current cursor position
* Fix a couple of issues with the Reset emulation on Windows

Version 0.7
* Add 24-bit RGB color support

Version 0.6.3.1
* Fix Windows + ghc 7.8 compatibility

Version 0.6.3
* Add ANSI support for Windows
* Add compatibility with Win32-2.5.0.0 and above

Version 0.6.2.3
* Add an example to the haddocks

Version 0.6.2.2
* Fix a GHC 7.10 warning

diffstat:

 devel/hs-ansi-terminal/Makefile |   5 +++--
 devel/hs-ansi-terminal/PLIST    |  21 ---------------------
 devel/hs-ansi-terminal/distinfo |  10 +++++-----
 3 files changed, 8 insertions(+), 28 deletions(-)

diffs (58 lines):

diff -r b20cbe5a2b1f -r 39886aa85f9f devel/hs-ansi-terminal/Makefile
--- a/devel/hs-ansi-terminal/Makefile   Sun Dec 29 23:58:26 2019 +0000
+++ b/devel/hs-ansi-terminal/Makefile   Mon Dec 30 00:03:50 2019 +0000
@@ -1,11 +1,12 @@
-# $NetBSD: Makefile,v 1.2 2014/11/06 13:00:44 szptvlfn Exp $
+# $NetBSD: Makefile,v 1.3 2019/12/30 00:03:50 pho Exp $
 
-DISTNAME=      ansi-terminal-0.6.2.1
+DISTNAME=      ansi-terminal-0.10.2
 CATEGORIES=    devel
 
 MAINTAINER=    pho%cielonegro.org@localhost
 COMMENT=       Simple ANSI terminal support for Haskell
 LICENSE=       modified-bsd
 
+.include "../../devel/hs-colour/buildlink3.mk"
 .include "../../mk/haskell.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r b20cbe5a2b1f -r 39886aa85f9f devel/hs-ansi-terminal/PLIST
--- a/devel/hs-ansi-terminal/PLIST      Sun Dec 29 23:58:26 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2014/08/01 12:07:44 szptvlfn Exp $
-lib/ansi-terminal-${PKGVERSION}/${HASKELL_VERSION}/HSansi-terminal-${PKGVERSION}.o
-lib/ansi-terminal-${PKGVERSION}/${HASKELL_VERSION}/System/Console/ANSI.hi
-lib/ansi-terminal-${PKGVERSION}/${HASKELL_VERSION}/System/Console/ANSI/Common.hi
-lib/ansi-terminal-${PKGVERSION}/${HASKELL_VERSION}/System/Console/ANSI/Unix.hi
-lib/ansi-terminal-${PKGVERSION}/${HASKELL_VERSION}/libHSansi-terminal-${PKGVERSION}.a
-lib/ansi-terminal-${PKGVERSION}/${HASKELL_VERSION}/package-description
-share/doc/ansi-terminal-${PKGVERSION}/LICENSE
-${PLIST.doc}share/doc/ansi-terminal-${PKGVERSION}/html/System-Console-ANSI.html
-${PLIST.doc}share/doc/ansi-terminal-${PKGVERSION}/html/ansi-terminal.haddock
-${PLIST.doc}share/doc/ansi-terminal-${PKGVERSION}/html/doc-index.html
-${PLIST.doc}share/doc/ansi-terminal-${PKGVERSION}/html/frames.html
-${PLIST.doc}share/doc/ansi-terminal-${PKGVERSION}/html/haddock-util.js
-${PLIST.doc}share/doc/ansi-terminal-${PKGVERSION}/html/hslogo-16.png
-${PLIST.doc}share/doc/ansi-terminal-${PKGVERSION}/html/index-frames.html
-${PLIST.doc}share/doc/ansi-terminal-${PKGVERSION}/html/index.html
-${PLIST.doc}share/doc/ansi-terminal-${PKGVERSION}/html/mini_System-Console-ANSI.html
-${PLIST.doc}share/doc/ansi-terminal-${PKGVERSION}/html/minus.gif
-${PLIST.doc}share/doc/ansi-terminal-${PKGVERSION}/html/ocean.css
-${PLIST.doc}share/doc/ansi-terminal-${PKGVERSION}/html/plus.gif
-${PLIST.doc}share/doc/ansi-terminal-${PKGVERSION}/html/synopsis.png
diff -r b20cbe5a2b1f -r 39886aa85f9f devel/hs-ansi-terminal/distinfo
--- a/devel/hs-ansi-terminal/distinfo   Sun Dec 29 23:58:26 2019 +0000
+++ b/devel/hs-ansi-terminal/distinfo   Mon Dec 30 00:03:50 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2015/11/03 03:27:31 agc Exp $
+$NetBSD: distinfo,v 1.4 2019/12/30 00:03:50 pho Exp $
 
-SHA1 (ansi-terminal-0.6.2.1.tar.gz) = 5573927244e1e64b1603cb9fd11b8841faf70b13
-RMD160 (ansi-terminal-0.6.2.1.tar.gz) = 75cd726e5be26679316cd81df45be22e37ddf0bf
-SHA512 (ansi-terminal-0.6.2.1.tar.gz) = 6a38f6ec13ca2c2669c707eeab1749fa7ca1805fa162cc024867cf0cabb5746c8844bc2188680de3f9dd748cfcb72917b88ac9122ff6b86459c80aa061f2adbf
-Size (ansi-terminal-0.6.2.1.tar.gz) = 14652 bytes
+SHA1 (ansi-terminal-0.10.2.tar.gz) = 12d8107bf40b9cd7c1ed8730578f23a60e9de961
+RMD160 (ansi-terminal-0.10.2.tar.gz) = b690c07e323a1c5146ffa741f620c15dbc5f67ec
+SHA512 (ansi-terminal-0.10.2.tar.gz) = f2e250cd3558570a463a5d869a7e919bb553ed36a4efb5038645b7db5ab57ccda61fb5b9f7c9b2ff605f684f3ddf5bf8d32918c1c4161106aa67cf6dd8856047
+Size (ansi-terminal-0.10.2.tar.gz) = 35818 bytes



Home | Main Index | Thread Index | Old Index