pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/hs-ansi-terminal



Module Name:    pkgsrc
Committed By:   pho
Date:           Mon Dec 30 00:03:50 UTC 2019

Modified Files:
        pkgsrc/devel/hs-ansi-terminal: Makefile distinfo
Removed Files:
        pkgsrc/devel/hs-ansi-terminal: PLIST

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/hs-ansi-terminal/Makefile
cvs rdiff -u -r1.1 -r0 pkgsrc/devel/hs-ansi-terminal/PLIST
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/hs-ansi-terminal/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/hs-ansi-terminal/Makefile
diff -u pkgsrc/devel/hs-ansi-terminal/Makefile:1.2 pkgsrc/devel/hs-ansi-terminal/Makefile:1.3
--- pkgsrc/devel/hs-ansi-terminal/Makefile:1.2  Thu Nov  6 13:00:44 2014
+++ pkgsrc/devel/hs-ansi-terminal/Makefile      Mon Dec 30 00:03:50 2019
@@ -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"

Index: pkgsrc/devel/hs-ansi-terminal/distinfo
diff -u pkgsrc/devel/hs-ansi-terminal/distinfo:1.3 pkgsrc/devel/hs-ansi-terminal/distinfo:1.4
--- pkgsrc/devel/hs-ansi-terminal/distinfo:1.3  Tue Nov  3 03:27:31 2015
+++ pkgsrc/devel/hs-ansi-terminal/distinfo      Mon Dec 30 00:03:50 2019
@@ -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