darcs-mirrors/terminfo.git
6 years agoSearch for terminfo in libtinfo; fixes GHC #7281. master
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. 0_3_2_5
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. 0_3_2_4
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.
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. 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. 0_3_2
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.
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).

11 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.

11 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

11 years agoAdd INCLUDE <term.h> pragma so that -fvia-C will work.
judah.jacobson [Mon, 17 Dec 2007 17:34:20 +0000 (17:34 +0000)] 
Add INCLUDE <term.h> pragma so that -fvia-C will work.

11 years agoAdd term.h to foreign import calls so that -fvia-C will work.
judah.jacobson [Mon, 17 Dec 2007 17:25:51 +0000 (17:25 +0000)] 
Add term.h to foreign import calls so that -fvia-C will work.

11 years agoAdd term.h to foreign import calls so that -fvia-C will work.
judah.jacobson [Mon, 17 Dec 2007 17:25:51 +0000 (17:25 +0000)] 
Add term.h to foreign import calls so that -fvia-C will work.

11 years agoMake cursorDown1 always correspond to cud1. Make moveDown use cud1 if it's not a...
judah.jacobson [Sat, 15 Dec 2007 22:13:33 +0000 (22:13 +0000)] 
Make cursorDown1 always correspond to cud1.  Make moveDown use cud1 if it's not a newline.

11 years agoAdd flags about cursor wrapping behavior.
judah.jacobson [Sat, 15 Dec 2007 20:38:50 +0000 (20:38 +0000)] 
Add flags about cursor wrapping behavior.

11 years agoAdd link to code.haskell.org in Cabal file. 0_1
judah.jacobson [Wed, 12 Dec 2007 04:50:03 +0000 (04:50 +0000)] 
Add link to code.haskell.org in Cabal file.

11 years agoImprove Cabal file.
judah.jacobson [Wed, 12 Dec 2007 04:47:43 +0000 (04:47 +0000)] 
Improve Cabal file.

11 years agoAdded Haddock module properties.
judah.jacobson [Wed, 12 Dec 2007 02:34:14 +0000 (02:34 +0000)] 
Added Haddock module properties.

11 years agoAdd more features to and document the Cursor.hs module.
judah.jacobson [Tue, 11 Dec 2007 21:13:09 +0000 (21:13 +0000)] 
Add more features to and document the Cursor.hs module.

11 years agoSmall doc change.
judah.jacobson [Tue, 11 Dec 2007 21:12:17 +0000 (21:12 +0000)] 
Small doc change.

11 years agoAdd back freeing of terminal structure, by forcing curses to create a new terminal...
judah.jacobson [Tue, 4 Dec 2007 01:38:40 +0000 (01:38 +0000)] 
Add back freeing of terminal structure, by forcing curses to create a new terminal struct each time.

11 years agoDon't call del_curterm, since it leads to freeing terminals that are still in use.
judah.jacobson [Sun, 2 Dec 2007 08:37:18 +0000 (08:37 +0000)] 
Don't call del_curterm, since it leads to freeing terminals that are still in use.

11 years agoAdd backspace and delete keys.
judah.jacobson [Sat, 1 Dec 2007 19:57:52 +0000 (19:57 +0000)] 
Add backspace and delete keys.

11 years agoExport Edit module from Terminfo.hs
judah.jacobson [Sat, 1 Dec 2007 19:57:25 +0000 (19:57 +0000)] 
Export Edit module from Terminfo.hs

11 years agoFixed kuf1.
judah.jacobson [Fri, 30 Nov 2007 07:35:20 +0000 (07:35 +0000)] 
Fixed kuf1.

11 years agoSome documentation additions, and changes termOutput to termText.
judah.jacobson [Sun, 25 Nov 2007 20:17:13 +0000 (20:17 +0000)] 
Some documentation additions, and changes termOutput to termText.

11 years agoRename runCapability to getCapability
judah.jacobson [Sun, 25 Nov 2007 20:13:24 +0000 (20:13 +0000)] 
Rename runCapability to getCapability

11 years agoFix for cud1 ONLCR issue.
judah.jacobson [Sun, 25 Nov 2007 20:12:17 +0000 (20:12 +0000)] 
Fix for cud1 ONLCR issue.

11 years agoSome basic effect capabilities.
judah.jacobson [Sun, 25 Nov 2007 20:11:24 +0000 (20:11 +0000)] 
Some basic effect capabilities.

11 years agoAdded tiGuardFlag.
judah.jacobson [Sun, 25 Nov 2007 00:45:43 +0000 (00:45 +0000)] 
Added tiGuardFlag.

11 years agoSmall doc improvements.
judah.jacobson [Sat, 24 Nov 2007 21:06:01 +0000 (21:06 +0000)] 
Small doc improvements.

11 years agoNew Capability monad.
judah.jacobson [Sat, 24 Nov 2007 20:58:39 +0000 (20:58 +0000)] 
New Capability monad.

11 years agoAdded Effects module (bold, underline, etc.)
judah.jacobson [Sat, 24 Nov 2007 00:55:47 +0000 (00:55 +0000)] 
Added Effects module (bold, underline, etc.)

11 years agoAdd more capabilities and documentation of them.
judah.jacobson [Sat, 24 Nov 2007 00:49:57 +0000 (00:49 +0000)] 
Add more capabilities and documentation of them.

11 years agoAdded Edit module for character insertion/deletion capabilities.
judah.jacobson [Fri, 23 Nov 2007 21:25:41 +0000 (21:25 +0000)] 
Added Edit module for character insertion/deletion capabilities.

11 years agoAdded basic Cursor capabilities module.
judah.jacobson [Fri, 23 Nov 2007 20:59:49 +0000 (20:59 +0000)] 
Added basic Cursor capabilities module.

11 years agoDelete unused files.
judah.jacobson [Fri, 23 Nov 2007 07:33:23 +0000 (07:33 +0000)] 
Delete unused files.

11 years agoForgot to add these file changes in the last patch.
judah.jacobson [Fri, 23 Nov 2007 07:32:30 +0000 (07:32 +0000)] 
Forgot to add these file changes in the last patch.

11 years agoMore improvements; varargs, key commands, System.Console.Terminfo module.
judah.jacobson [Thu, 22 Nov 2007 22:51:54 +0000 (22:51 +0000)] 
More improvements; varargs, key commands, System.Console.Terminfo module.

11 years agoRemove uneeded compiler flags.
judah.jacobson [Sat, 17 Nov 2007 20:53:35 +0000 (20:53 +0000)] 
Remove uneeded compiler flags.

11 years agoMore changes.
judah.jacobson [Sat, 17 Nov 2007 20:00:08 +0000 (20:00 +0000)] 
More changes.

11 years agoAesthetic cleanup.
judah.jacobson [Wed, 14 Nov 2007 20:03:44 +0000 (20:03 +0000)] 
Aesthetic cleanup.

11 years agoCleanup using new TermOutput type.
judah.jacobson [Wed, 14 Nov 2007 02:48:49 +0000 (02:48 +0000)] 
Cleanup using new TermOutput type.

11 years agoReplace complicated TParm vararg classes with just a [Int] input.
judah.jacobson [Sun, 4 Nov 2007 05:50:47 +0000 (05:50 +0000)] 
Replace complicated TParm vararg classes with just a [Int] input.

11 years agoAdd Terminal type to move tiGet functions out of the IO monad. Documentation still...
judah.jacobson [Tue, 16 Oct 2007 07:53:05 +0000 (07:53 +0000)] 
Add Terminal type to move tiGet functions out of the IO monad. Documentation still needs work.

11 years agoMinor documentation changes.
judah.jacobson [Sun, 23 Sep 2007 22:34:23 +0000 (22:34 +0000)] 
Minor documentation changes.

11 years agoMore work on the Base module.
judah.jacobson [Fri, 21 Sep 2007 18:43:52 +0000 (18:43 +0000)] 
More work on the Base module.

11 years agoInitial import.
judah.jacobson [Mon, 17 Sep 2007 19:45:21 +0000 (19:45 +0000)] 
Initial import.