packages/terminfo.git
9 months agoBump version to 0.4.1.2. master 0.4.1.2
Judah Jacobson [Fri, 27 Jul 2018 05:59:48 +0000 (22:59 -0700)] 
Bump version to 0.4.1.2.

13 months agoMerge pull request #30 from RyanGlScott/patch-1
Judah Jacobson [Mon, 16 Apr 2018 01:25:57 +0000 (18:25 -0700)] 
Merge pull request #30 from RyanGlScott/patch-1

Bump upper bound on base to < 4.13

13 months agoBump upper bound on base to < 4.13
Ryan Scott [Tue, 10 Apr 2018 11:44:03 +0000 (07:44 -0400)] 
Bump upper bound on base to < 4.13

See https://ghc.haskell.org/trac/ghc/ticket/15018.

14 months agoRemoved Repeated feild Category (#29)
Chitrak Raj Gupta [Mon, 5 Mar 2018 04:52:39 +0000 (10:22 +0530)] 
Removed Repeated feild Category (#29)

15 months agoBump to 0.4.1.1
Judah Jacobson [Mon, 22 Jan 2018 00:04:56 +0000 (16:04 -0800)] 
Bump to 0.4.1.1

20 months agoMerge pull request #26 from bgamari/master
Judah Jacobson [Sun, 17 Sep 2017 19:09:50 +0000 (12:09 -0700)] 
Merge pull request #26 from bgamari/master

Bump upper bound on base

20 months agoBump upper bound on base
Ben Gamari [Thu, 14 Sep 2017 00:22:58 +0000 (20:22 -0400)] 
Bump upper bound on base

21 months agoconfigure.ac: check libtinfow before libtinfo (#23)
Yoshikuni Jujo [Thu, 3 Aug 2017 04:20:50 +0000 (13:20 +0900)] 
configure.ac: check libtinfow before libtinfo (#23)

2 years agoRemove the configure logic around detecting (n)curses.h. 0.4.1.0
Judah Jacobson [Fri, 21 Apr 2017 01:38:46 +0000 (18:38 -0700)] 
Remove the configure logic around detecting (n)curses.h.

It's complicated (see e.g. PR #21), and we don't actually need it for the
build.

2 years agoMerge pull request #20 from hvr/pr/for-ghc-8.2.1
Judah Jacobson [Tue, 18 Apr 2017 13:23:32 +0000 (06:23 -0700)] 
Merge pull request #20 from hvr/pr/for-ghc-8.2.1

Minor version bump to 0.4.1.0 and Git-branch sync-up

2 years agoMerge Git history with upstream again
Herbert Valerio Riedel [Tue, 18 Apr 2017 08:22:11 +0000 (10:22 +0200)] 
Merge Git history with upstream again

2 years agoMinor version bump to 0.4.1.0
Herbert Valerio Riedel [Tue, 18 Apr 2017 08:20:11 +0000 (10:20 +0200)] 
Minor version bump to 0.4.1.0

Due to new added instance via
19500c702f87680a5f143331286bd4755912ec05 / #13
since version 0.4.0.2

2 years agoBump upper bound on base
Ben Gamari [Tue, 13 Dec 2016 21:43:00 +0000 (16:43 -0500)] 
Bump upper bound on base

base 4.10 will ship with GHC 8.2.1.

2 years agoBump upper bound on base
Ben Gamari [Tue, 15 Nov 2016 19:31:27 +0000 (14:31 -0500)] 
Bump upper bound on base

3 years agoMerge pull request #13 from hvr/pr/semigroup
Judah Jacobson [Fri, 1 Jan 2016 23:25:15 +0000 (15:25 -0800)] 
Merge pull request #13 from hvr/pr/semigroup

Define missing Semigroup instance

3 years agoDefine missing Semigroup instance
Herbert Valerio Riedel [Fri, 1 Jan 2016 09:05:03 +0000 (10:05 +0100)] 
Define missing Semigroup instance

This makes `terminfo` `-Wcompat`-clean.

3 years agoClean up some warnings from the set_curterm patch 0.4.0.2
Judah Jacobson [Fri, 18 Dec 2015 19:07:56 +0000 (11:07 -0800)] 
Clean up some warnings from the set_curterm patch

3 years agoUse set_curterm instead of peek/poking curterm directly.
Judah Jacobson [Tue, 1 Dec 2015 07:28:27 +0000 (23:28 -0800)] 
Use set_curterm instead of peek/poking curterm directly.

This fixes the build of GHC on openSUSE, which builds ncurses in "threaded"
mode.  (Threaded ncurses hides the cur_term global from use).

Patch originally by Scott Bahling <sbahling@suse.com>.

We also mark set_cuterm as an "unsafe" FFI call since this change may cause
it to be called more often.

3 years agoBump version to 0.4.0.2.
Judah Jacobson [Tue, 1 Dec 2015 04:00:38 +0000 (20:00 -0800)] 
Bump version to 0.4.0.2.

3 years agoMerge pull request #10 from hvr/pr/canonical-monad-instance
Judah Jacobson [Mon, 23 Nov 2015 15:41:05 +0000 (07:41 -0800)] 
Merge pull request #10 from hvr/pr/canonical-monad-instance

Canonicalise Monad instance

3 years agoCanonicalise Monad instance
Herbert Valerio Riedel [Mon, 23 Nov 2015 08:25:29 +0000 (09:25 +0100)] 
Canonicalise Monad instance

This refactors the Monad instance of `Capability` into the recommended
canonical form and makes the code a bit more future proof.

3 years agoMerge pull request #9 from hvr/pr-base49
Judah Jacobson [Wed, 28 Oct 2015 19:24:24 +0000 (12:24 -0700)] 
Merge pull request #9 from hvr/pr-base49

GHC 8 is gonna come with base-4.9

3 years agoGHC 8 is gonna come with base-4.9
Herbert Valerio Riedel [Wed, 28 Oct 2015 08:34:00 +0000 (09:34 +0100)] 
GHC 8 is gonna come with base-4.9

4 years agoMerge pull request #4 from hvr/pr-base48 0.4.0.1
Judah Jacobson [Tue, 30 Dec 2014 06:35:40 +0000 (22:35 -0800)] 
Merge pull request #4 from hvr/pr-base48

Avoid redundant import of Data.Monoid w/ base-4.8

4 years agoAvoid redundant import of Data.Monoid w/ base-4.8
Herbert Valerio Riedel [Sun, 28 Dec 2014 08:01:50 +0000 (09:01 +0100)] 
Avoid redundant import of Data.Monoid w/ base-4.8

This makes `terminfo` `-Wall` clean

4 years agoBump version to 0.4.0.1.
Judah Jacobson [Tue, 16 Dec 2014 04:13:12 +0000 (20:13 -0800)] 
Bump version to 0.4.0.1.

4 years agoMerge pull request #3 from hvr/pr-base48
Judah Jacobson [Thu, 18 Sep 2014 06:43:48 +0000 (23:43 -0700)] 
Merge pull request #3 from hvr/pr-base48

Bump upper bound on `base` to accomodate GHC HEAD-to-become-7.10

4 years agoBump upper bound on `base` to accomodate GHC HEAD-to-become-7.10
Herbert Valerio Riedel [Tue, 9 Sep 2014 14:52:03 +0000 (16:52 +0200)] 
Bump upper bound on `base` to accomodate GHC HEAD-to-become-7.10

base needed a major version bump due to AMP landing

5 years agoMerge branch 'master' of github.com:judah/terminfo terminfo-0.4.0.0-release
Judah Jacobson [Sat, 2 Nov 2013 21:31:17 +0000 (14:31 -0700)] 
Merge branch 'master' of github.com:judah/terminfo

5 years agoBump version to 0.4.0.0.
Judah Jacobson [Sat, 2 Nov 2013 21:30:29 +0000 (14:30 -0700)] 
Bump version to 0.4.0.0.

Adding missing Applicative instances means we need to bump the major version.

5 years agoMerge pull request #2 from hvr/fix-amp-warnings
Judah Jacobson [Sat, 2 Nov 2013 21:30:20 +0000 (14:30 -0700)] 
Merge pull request #2 from hvr/fix-amp-warnings

Add missing Functor/Applicative/Alternative instances

5 years agoAdd missing Functor/Applicative/Alternative instances
Herbert Valerio Riedel [Sat, 2 Nov 2013 19:22:50 +0000 (20:22 +0100)] 
Add missing Functor/Applicative/Alternative instances

This is needed to silence GHC 7.8's AMP warnings, see also

  http://www.haskell.org/haskellwiki/Functor-Applicative-Monad_Proposal#Missing_superclasses

for more information.

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
5 years agoChange stability field to "Stable".
Judah Jacobson [Sat, 2 Nov 2013 18:33:01 +0000 (11:33 -0700)] 
Change stability field to "Stable".

5 years agoMerge pull request #1 from hvr/enable-travis
Judah Jacobson [Sat, 2 Nov 2013 02:29:20 +0000 (19:29 -0700)] 
Merge pull request #1 from hvr/enable-travis

Add Travis support & some packaging cleanups

5 years agoModernize `terminfo.cabal` to `cabal-version: >=1.10` format
Herbert Valerio Riedel [Fri, 1 Nov 2013 10:13:55 +0000 (11:13 +0100)] 
Modernize `terminfo.cabal` to `cabal-version: >=1.10` format

This makes `terminfo` dependent on a compiler supporting
Haskell2010 (e.g. GHC 7.0.1 or later). Supporting & testing GHC versions
prior to 7.x is rather tedious.

5 years agoDeclare language extensions locally via `{-# LANGUAGE #-}`s
Herbert Valerio Riedel [Fri, 1 Nov 2013 10:12:34 +0000 (11:12 +0100)] 
Declare language extensions locally via `{-# LANGUAGE #-}`s

This recommended practice since Haskell2010.

5 years agoAdd `.travis.yml` and `README.md` file
Herbert Valerio Riedel [Fri, 1 Nov 2013 09:44:07 +0000 (10:44 +0100)] 
Add `.travis.yml` and `README.md` file

This also bumps the version early to avoid cabal issues, as otherwise the
build on GHC head will most likely fail in the last `cabal install` step
as GHC head is likely to have the last released version already installed.

5 years agoBump version to 0.3.2.6. terminfo-0.3.2.6-release
Judah Jacobson [Thu, 31 Oct 2013 13:51:57 +0000 (06:51 -0700)] 
Bump version to 0.3.2.6.

6 years agoSearch for terminfo in libtinfo; fixes GHC #7281.
Judah Jacobson [Mon, 7 Jan 2013 13:34:47 +0000 (13:34 +0000)] 
Search for terminfo in libtinfo; fixes GHC #7281.

Patch from Paul Johnson.

6 years agoFix build on ghc-7.2. terminfo-0.3.2.5-release
Judah Jacobson [Thu, 9 Aug 2012 02:47:49 +0000 (02:47 +0000)] 
Fix build on ghc-7.2.

6 years agoBump version to 0.3.2.5.
Judah Jacobson [Thu, 9 Aug 2012 02:47:38 +0000 (02:47 +0000)] 
Bump version to 0.3.2.5.

6 years agoRequire ghc-7.4.1 for -XSafe and -XTrustworthy. ghc-7.6.1-release
Judah Jacobson [Thu, 12 Jul 2012 16:16:59 +0000 (16:16 +0000)] 
Require ghc-7.4.1 for -XSafe and -XTrustworthy.

As mentioned in a previous commit, Safe Haskell didn't work
out-of-the-box in ghc-7.2.1.

6 years agoBump version to 0.3.2.4.
Judah Jacobson [Thu, 12 Jul 2012 16:13:49 +0000 (16:13 +0000)] 
Bump version to 0.3.2.4.

In preparation for the ghc-7.6.1 release.

7 years agoAdd .gitignore for GHC build.
Paolo Capriotti [Wed, 7 Mar 2012 17:47:09 +0000 (17:47 +0000)] 
Add .gitignore for GHC build.

7 years agoFix the termColumns capacity.
Judah Jacobson [Fri, 11 Nov 2011 17:20:37 +0000 (17:20 +0000)] 
Fix the termColumns capacity.

7 years agoRequire ghc-6.10, and don't use the extensible-exceptions package. ghc-7.4 ghc-7.4.1-release ghc-7.4.2-release
Judah Jacobson [Sun, 14 Aug 2011 00:38:45 +0000 (00:38 +0000)] 
Require ghc-6.10, and don't use the extensible-exceptions package.

7 years agoBump version to 0.3.2.3.
Judah Jacobson [Fri, 12 Aug 2011 16:00:26 +0000 (16:00 +0000)] 
Bump version to 0.3.2.3.

Since the base package isn't marked as trusted by default in ghc-7.2.1,
I've released terminfo-0.3.2.2 which doesn't use -XSafe pragmas.
I'll release 0.3.2.3 with the -XSafe pragmas once that issue's been resolved.

7 years agoBump version to 0.3.2.1.
Judah Jacobson [Wed, 10 Aug 2011 03:55:33 +0000 (03:55 +0000)] 
Bump version to 0.3.2.1.

7 years agoUse Safe Haskell if GHC >= 7.2
David Terei [Tue, 9 Aug 2011 21:03:55 +0000 (21:03 +0000)] 
Use Safe Haskell if GHC >= 7.2

7 years agoSwitch the .cabal file to section syntax.
Judah Jacobson [Wed, 3 Aug 2011 19:05:26 +0000 (19:05 +0000)] 
Switch the .cabal file to section syntax.

7 years agoBump version to 0.3.2.
Judah Jacobson [Wed, 3 Aug 2011 19:01:58 +0000 (19:01 +0000)] 
Bump version to 0.3.2.

7 years agoAdd Show,Eq,Ord instances for the Color datatype.
Judah Jacobson [Wed, 3 Aug 2011 18:57:42 +0000 (18:57 +0000)] 
Add Show,Eq,Ord instances for the Color datatype.

8 years agoBump version to 0.3.1.3. ghc-7.2 ghc-7.2.1-release ghc-7.2.2-release
Judah Jacobson [Fri, 13 Aug 2010 05:45:45 +0000 (05:45 +0000)] 
Bump version to 0.3.1.3.

8 years agoAdd keyEnter for the "kent" capability.
Judah Jacobson [Fri, 13 Aug 2010 05:38:20 +0000 (05:38 +0000)] 
Add keyEnter for the "kent" capability.

9 years agoFix haskeline trac #105: tparm returns NULL instead of an empty string. 0_3_1_2
Judah Jacobson [Thu, 1 Apr 2010 21:07:17 +0000 (21:07 +0000)] 
Fix haskeline trac #105: tparm returns NULL instead of an empty string.

9 years agoDon't flush after each character of output when there's no padding.
Judah Jacobson [Sat, 14 Nov 2009 18:24:18 +0000 (18:24 +0000)] 
Don't flush after each character of output when there's no padding.

9 years agoBump version to 0.3.1.2.
Judah Jacobson [Sat, 14 Nov 2009 18:15:53 +0000 (18:15 +0000)] 
Bump version to 0.3.1.2.

9 years agoBump version to 0.3.1.1 - there was an issue with the hackage release of 0.3.1. 0_3_1_1
judah.jacobson [Tue, 15 Sep 2009 06:02:12 +0000 (06:02 +0000)] 
Bump version to 0.3.1.1 - there was an issue with the hackage release of 0.3.1.

9 years agoTAG 0.3.1
judah.jacobson [Tue, 15 Sep 2009 05:43:38 +0000 (05:43 +0000)] 
TAG 0.3.1

9 years agoAdd PageDown and PageUp keys.
Judah Jacobson [Sat, 5 Sep 2009 21:19:32 +0000 (21:19 +0000)] 
Add PageDown and PageUp keys.

9 years agoFixing m4 quoting to work with autoconf 2.64
Alexander Dunlap [Wed, 5 Aug 2009 19:55:09 +0000 (19:55 +0000)] 
Fixing m4 quoting to work with autoconf 2.64

9 years agoEnsure that function capabilities keep alive the TERMINAL pointer.
Judah Jacobson [Tue, 11 Aug 2009 23:03:25 +0000 (23:03 +0000)] 
Ensure that function capabilities keep alive the TERMINAL pointer.

9 years agoAllow access to terminfo capabilities as Strings, as long as they don't contain paddi...
Judah Jacobson [Tue, 11 Aug 2009 02:48:08 +0000 (02:48 +0000)] 
Allow access to terminfo capabilities as Strings, as long as they don't contain padding.  Generalizes most of the wrapper capabilities.

9 years agoBuild with -Wall.
Judah Jacobson [Mon, 10 Aug 2009 22:25:53 +0000 (22:25 +0000)] 
Build with -Wall.

9 years agoChange how TermOutput is represented internally.
Judah Jacobson [Sun, 26 Jul 2009 16:18:45 +0000 (16:18 +0000)] 
Change how TermOutput is represented internally.

9 years agoAdd full set of text attributes.
Judah Jacobson [Sat, 18 Jul 2009 17:38:01 +0000 (17:38 +0000)] 
Add full set of text attributes.

9 years agoAdditions to Effects: added bold, and improved docs.
Judah Jacobson [Sat, 18 Jul 2009 16:34:37 +0000 (16:34 +0000)] 
Additions to Effects: added bold, and improved docs.

9 years agoFix "Cabal check" warnings
Ian Lynagh [Tue, 11 Aug 2009 21:59:24 +0000 (21:59 +0000)] 
Fix "Cabal check" warnings

9 years agoremove redundant import
Simon Marlow [Fri, 24 Jul 2009 14:29:08 +0000 (14:29 +0000)] 
remove redundant import

9 years agoAdd basic color support.
Judah Jacobson [Sun, 12 Jul 2009 02:04:13 +0000 (02:04 +0000)] 
Add basic color support.

9 years agoFix some "warn-unused-do-bind" warnings where we want to ignore the value
Ian Lynagh [Fri, 10 Jul 2009 20:30:56 +0000 (20:30 +0000)] 
Fix some "warn-unused-do-bind" warnings where we want to ignore the value

10 years agoBump version to 0.3.1. 2009-06-25
judah.jacobson [Sun, 26 Apr 2009 18:13:38 +0000 (18:13 +0000)] 
Bump version to 0.3.1.

10 years agoFix warnings
Ian Lynagh [Sat, 25 Apr 2009 16:54:14 +0000 (16:54 +0000)] 
Fix warnings

10 years agoBump version to 0.3.0.2. 0_3_0_2
judah.jacobson [Thu, 12 Mar 2009 16:54:49 +0000 (16:54 +0000)] 
Bump version to 0.3.0.2.

10 years agoterminfo/configure: check for libncursesw first.
Nicolas Pouillard [Thu, 12 Mar 2009 10:18:29 +0000 (10:18 +0000)] 
terminfo/configure: check for libncursesw first.

10 years agoClarify in description that this is only for POSIX systems. 0_3_0_1
judah.jacobson [Fri, 6 Feb 2009 20:49:07 +0000 (20:49 +0000)] 
Clarify in description that this is only for POSIX systems.

10 years agoBump version to 0.3.0.1
judah.jacobson [Sun, 18 Jan 2009 18:45:52 +0000 (18:45 +0000)] 
Bump version to 0.3.0.1

10 years agoInclude (n)curses.h before term.h; required for fvia-c compilation on Solaris.
judah.jacobson [Sun, 18 Jan 2009 18:45:08 +0000 (18:45 +0000)] 
Include (n)curses.h before term.h; required for fvia-c compilation on Solaris.

10 years agoAdd the home and end key capabilities. 0_3
judah.jacobson [Fri, 5 Dec 2008 16:14:36 +0000 (16:14 +0000)] 
Add the home and end key capabilities.

10 years agoClean up setupTerm, using bracket to make it safe from races.
judah.jacobson [Fri, 5 Dec 2008 00:44:36 +0000 (00:44 +0000)] 
Clean up setupTerm, using bracket to make it safe from races.

10 years agoThrow a custom error (SetupTermError) when the terminfo database can't be read.
judah.jacobson [Thu, 4 Dec 2008 17:10:10 +0000 (17:10 +0000)] 
Throw a custom error (SetupTermError) when the terminfo database can't be read.

10 years agoBetter haddock organization in Base.hs
judah.jacobson [Thu, 4 Dec 2008 17:08:24 +0000 (17:08 +0000)] 
Better haddock organization in Base.hs

10 years agoCatch the error that getEnv would throw when TERM is not defined.
judah.jacobson [Thu, 4 Dec 2008 17:00:53 +0000 (17:00 +0000)] 
Catch the error that getEnv would throw when TERM is not defined.

10 years agoBump version to 0.3.
judah.jacobson [Thu, 4 Dec 2008 16:59:31 +0000 (16:59 +0000)] 
Bump version to 0.3.

10 years agoDepend on extensible-exceptions.
judah.jacobson [Thu, 4 Dec 2008 16:58:33 +0000 (16:58 +0000)] 
Depend on extensible-exceptions.

10 years agoAdd explicitly split type signature declarations to work around a haddock bug (#67)
judah.jacobson [Thu, 4 Dec 2008 16:52:49 +0000 (16:52 +0000)] 
Add explicitly split type signature declarations to work around a haddock bug (#67)

10 years agoBump cabal version to 0.2.2.1. 0_2_2_1
judah.jacobson [Fri, 10 Oct 2008 05:48:26 +0000 (05:48 +0000)] 
Bump cabal version to 0.2.2.1.

10 years agoLink against ncurses or curses, whichever is available.
judah.jacobson [Fri, 10 Oct 2008 05:47:56 +0000 (05:47 +0000)] 
Link against ncurses or curses, whichever is available.

10 years agoAdd new function hRunTermOutput. 0_2_2
judah.jacobson [Mon, 15 Sep 2008 22:29:10 +0000 (22:29 +0000)] 
Add new function hRunTermOutput.

10 years agoBump version to 0.2.2.
judah.jacobson [Sun, 14 Sep 2008 16:08:48 +0000 (16:08 +0000)] 
Bump version to 0.2.2.

10 years agoFlush after printing each character of a control sequence. Necessary for getting... 0_2_1
judah.jacobson [Mon, 8 Sep 2008 18:05:58 +0000 (18:05 +0000)] 
Flush after printing each character of a control sequence.  Necessary for getting padded capabilities (in particular, flash) to work with some versions of ncurses.

10 years agoEliminate some uses of unsafePerformIO in order to make the module more robust. ...
Judah Jacobson [Mon, 8 Sep 2008 17:49:26 +0000 (17:49 +0000)] 
Eliminate some uses of unsafePerformIO in order to make the module more robust.  In particular, we no longer use a top-level variable for the exported putc function.

10 years agoMake withCurTerm a little more robust.
Judah Jacobson [Mon, 8 Sep 2008 17:46:56 +0000 (17:46 +0000)] 
Make withCurTerm a little more robust.

10 years agoUse the non-depreciated autoconfUserHooks in the Setup script (it automatically check...
Judah Jacobson [Fri, 29 Aug 2008 02:05:47 +0000 (02:05 +0000)] 
Use the non-depreciated autoconfUserHooks in the Setup script (it automatically checks for the configure script).

10 years agoFix small mistake in docs. 0_2
judah.jacobson [Sun, 8 Jun 2008 16:01:19 +0000 (16:01 +0000)] 
Fix small mistake in docs.

10 years agoAdd --with-curses-[includes/libraries] flags.
judah.jacobson [Wed, 4 Jun 2008 07:12:07 +0000 (07:12 +0000)] 
Add --with-curses-[includes/libraries] flags.

11 years agoAdd bell/visualBell effects.
judah.jacobson [Sat, 17 May 2008 20:51:40 +0000 (20:51 +0000)] 
Add bell/visualBell effects.

11 years agoAdd build-type Cabal field.
judah.jacobson [Sat, 17 May 2008 19:01:01 +0000 (19:01 +0000)] 
Add build-type Cabal field.

11 years agoAdd infix <#> operator instead of mappend.
judah.jacobson [Fri, 21 Dec 2007 20:31:12 +0000 (20:31 +0000)] 
Add infix <#> operator instead of mappend.

11 years agoBump version to 0.2
judah.jacobson [Thu, 20 Dec 2007 22:50:14 +0000 (22:50 +0000)] 
Bump version to 0.2