Commit Graph

241 Commits

Author SHA1 Message Date
Jonathan Daugherty
d14aae9ba5 Bump version, update changelog 2017-08-07 13:23:00 -07:00
Jonathan Daugherty
4bcebb1bfe Add support for terminal focus events 2017-08-07 13:17:28 -07:00
Jonathan Daugherty
c7d63260a7 Bump version, update changelog 2017-07-20 19:27:43 -07:00
Jonathan Daugherty
a551914519 package: raise base lower bound to be consistent with declared GHC support (fixes #126) 2017-05-21 10:02:00 -07:00
Jonathan Daugherty
a880f08933 Bump version 2017-05-20 08:41:25 -07:00
Michal Suchánek
2438c5417f Install docs as docs. 2017-03-01 00:24:15 +01:00
Jonathan Daugherty
564cd5cc00 Bump vty and vty-examples versions 2017-01-24 11:35:32 -08:00
Jonathan Daugherty
ba3ca5d219 Improve top-level package haddock 2017-01-22 12:17:38 -08:00
Jonathan Daugherty
9809a42189 API: remove dependency on data-default
This change removes Data.Default instances for Attr and Config. Use
'defAttr' and 'defaultConfig' (or 'mempty') instead of 'def'.
2017-01-22 12:00:55 -08:00
Jonathan Daugherty
629cb6e02a API: remove Graphics.Vty.Prelude, move DisplayRegion to Image module
This change removes the mostly-unused Graphics.Vty.Prelude module and
moves the DisplayRegion type and its accessors to Graphics.Vty.Image.
2017-01-22 09:42:18 -08:00
Jonathan Daugherty
77bcba3ad6 Rename CHANGELOG, improve formatting 2017-01-21 20:13:46 -08:00
Jonathan Daugherty
31eeb13e72 Remove TODO 2017-01-21 20:05:25 -08:00
Jonathan Daugherty
9e00564b5d vty.cabal: clean up description and update repository URLs 2017-01-21 19:37:03 -08:00
Jonathan Daugherty
4417241cff Move demo programs to demos/ 2017-01-21 19:36:37 -08:00
Jonathan Daugherty
0c96b212fc Raise base lower bound and disable GHC allowed-failing build as suggested in #117 2016-12-11 19:30:07 -08:00
Jonathan Daugherty
7d2807d940 Update changelog, bump version 2016-12-03 20:37:10 -08:00
Jonathan Daugherty
f2774c1047 Bump version, update CHANGELOG 2016-11-19 11:48:44 -08:00
Jonathan Daugherty
cd534c1028 Revert "Replace stale wcwidth implementation with utf8proc library call"
This reverts commit 437b27f052.
2016-11-19 11:46:35 -08:00
Jonathan Daugherty
c0f919c533 Revert "Add bundled utf8proc so we don't have to depend on a local version"
This reverts commit 989de89a42.
2016-11-19 11:46:32 -08:00
Jonathan Daugherty
989de89a42 Add bundled utf8proc so we don't have to depend on a local version 2016-11-12 16:17:17 -08:00
Jonathan Daugherty
437b27f052 Replace stale wcwidth implementation with utf8proc library call 2016-11-12 15:31:23 -08:00
Jonathan Daugherty
c18657e1c0 Bump version 2016-10-23 19:48:28 -07:00
Jonathan Daugherty
de55ddfb5c Bump version 2016-10-23 19:17:33 -07:00
Jonathan Daugherty
c0bc8e0a2d Bump version, update changelog 2016-10-11 10:54:07 -07:00
Jonathan Daugherty
83ceb682f7 Update maintainer 2016-09-04 08:56:55 -07:00
Jonathan Daugherty
8629774903 Bump version, update changelog 2016-09-04 08:55:37 -07:00
Eric Mertens
818eed24b3 Add support for absolute cursor positioning
This allows advanced applications to compute their own direct cursor
placement by absolute column without having to invert the logical
cursor computation.

Fixes #94
2016-09-01 09:05:14 -07:00
Jonathan Daugherty
1f592bca41 Bump version, update CHANGELOG 2016-08-28 11:41:47 -07:00
Jonathan Daugherty
1d908d3dc9 Bump version, update CHANGELOG 2016-08-28 10:36:12 -07:00
Jonathan Daugherty
2f2915787f Bump version, update CHANGELOG 2016-08-28 09:51:33 -07:00
Jonathan Daugherty
84ed03e5bb Bump version 2016-08-11 13:25:17 -07:00
Jonathan Daugherty
58f4e9bc12 Bump version, update CHANGELOG 2016-06-27 21:19:20 -07:00
Jonathan Daugherty
bc77ce8537 Bump version, update changelog 2016-06-26 13:45:23 -07:00
Jonathan Daugherty
d4789578ed Make mouse and paste modes optional and reconfigurable
- Adds mouseMode and bracketedPasteMode fields to Config
- Config fields default to False
- Adds a Mode type for modal terminal features (mouse events, bracketed
  paste mode)
- The Output interface now has new fields:
  * supportsMode :: Mode -> Bool tells whether the device supports a
    mode
  * setMode :: Mode -> Bool -> IO () turns a mode on or off
  * getModeStatus :: Mode -> IO Bool tells you whether a mode is on or
    off
2016-06-26 12:14:36 -07:00
Jonathan Daugherty
1144dbf36b Bump version, update CHANGELOG 2016-06-25 13:29:38 -07:00
Jonathan Daugherty
f2a47446e4 Move bracketed paste functionality to Graphics.Vty.Input.Paste 2016-06-25 13:24:07 -07:00
Jonathan Daugherty
19be5be584 Mouse: factor control sequence parser out into its own module 2016-06-24 16:54:45 -07:00
Jonathan Daugherty
7b075ce382 Add support for SGR (extended) mouse events for XTermColor terminals
- Moves the KClass type from Classify to a new module, Classify.Types,
  so we can avoid import cycles
- Adds a new module, Graphics.Vty.Input.Mouse, that provides functions
  to request SGR mouse events and parse them
- Modifies the previously dormant mouse event constructors to include
  information supplied by SGR mouse events
- Integrates the new SGR mouse event functionality into the XTermColor
  driver
2016-06-17 12:32:43 -07:00
Corey O'Connor
c4627063f1 Bump version to 5.5.1 for development 2016-05-10 18:33:44 -07:00
Corey O'Connor
6d36c7d69a Update CHANGELOG. Bump version to 5.5.0 2016-05-10 18:26:13 -07:00
Jonathan Daugherty
0c9d54f960 Replace lens dependency with microlens packages 2016-04-12 22:37:36 -07:00
Lennart Spitzner
7ca5927baa Fix .cabal files
- Add source repos
- Remove -threaded for library (in accordance with
  cabal check recommendation)
- Copy LICENSE to test package (Fix cabal check error)
- Add proper other-modules to test executables (Fixes #88)
2016-03-12 00:56:20 +01:00
Corey O'Connor
6c3974639f Up version to 5.4.1 for development. 2015-08-14 18:15:59 -07:00
Corey O'Connor
10e9b8397f Update CHANGELOG. Bump version to 5.4.0. 2015-08-11 22:56:34 -07:00
Jonathan Daugherty
04ac36ca76 Use STM chans to avoid deprecated interface (fixes #60) 2015-08-11 22:35:20 -07:00
Jonathan Daugherty
60e8ce6535 Bump version and update CHANGELOG 2015-08-11 15:59:22 -07:00
Jonathan Daugherty
0270b9f23b Revert cabal file dependency on Cabal >= 1.20 2015-08-11 15:58:36 -07:00
Jonathan Daugherty
7dda3dd31b Bump version and update CHANGELOG 2015-08-11 15:22:55 -07:00
Jonathan Daugherty
3d40d13e27 Update QuickCheck dependency to 2.7 to support use of ioProperty (new in
2.7)

The previous commit claimed to do this but I mistakenly set the wrong
message; that commit upgraded the version of Cabal required to build the
library to fix a failing build like

https://travis-ci.org/coreyoconnor/vty/jobs/74851610
2015-08-09 19:29:17 -07:00
Jonathan Daugherty
027614c63d Update QuickCheck dependency to 2.7 to support use of ioProperty (new in 2.7) 2015-08-09 19:27:29 -07:00
Jonathan Daugherty
26ddd605d2 vty.cabal: minor package description formatting adjustments 2015-08-09 13:05:14 -07:00
Corey O'Connor
20eb987e2b Bump in-development version to 5.2.12 2015-08-08 16:32:05 -07:00
Corey O'Connor
275850e966 Increase version to 5.2.11. Update deepseq version bounds in test dependencies. 2015-08-08 16:28:19 -07:00
Corey O'Connor
0a9f5df75a bump to 5.2.10 2015-07-29 11:31:23 -07:00
Corey O'Connor
149ef89a4e bump to 5.2.9 2015-05-02 13:49:18 -07:00
Sergei Trofimovich
a27c36968f vty.cabal: fix test depends
Signed-off-by: Sergei Trofimovich <siarheit@google.com>
2015-04-25 19:39:49 +01:00
Corey O'Connor
475c45d9d0 do not differentiate the terminal to use based on TERM_PROGRAM when on Mac OS X #68 2015-03-15 23:27:11 -07:00
Eric Mertens
d8b15c86f8 Version bound bumps for blaze-builder, lens, utf8-string 2015-03-10 11:23:21 -07:00
Corey O'Connor
f562453950 bump to 5.2.7 for release 2015-01-10 12:25:57 -08:00
Dmitry Ivanov
281ff48c3b Ask Travis to use GHC 7.10 too. 2015-01-02 16:44:58 +06:00
Alexander Berntsen
01f7448834
Bump to 5.2.6
Signed-off-by: Alexander Berntsen <alexander@plaimi.net>
2014-11-24 10:45:54 +01:00
Alexander Berntsen
8f1cc3e72b
Relax lens upper bounds to 4.7
Signed-off-by: Alexander Berntsen <alexander@plaimi.net>
2014-11-24 10:44:37 +01:00
Corey O'Connor
d87a5334e9 bump version to 5.2.5 for release 2014-10-29 21:50:05 -07:00
RyanGlScott
dd1f3a8884 Bump lens, random upper version bounds 2014-10-29 14:29:52 -05:00
Corey O'Connor
fc28afe06f remove -fpic from cc-options. #61 2014-10-21 23:11:52 -07:00
Corey O'Connor
d526e6448e up to 5.2.3 for release 2014-09-24 23:29:14 -07:00
Corey O'Connor
72ca39c486 update to 5.2.2 for release 2014-09-21 14:51:10 -07:00
Corey O'Connor
6ba874c22e prep for release 5.2.1 2014-08-24 16:08:22 -07:00
Markus Hauck
19540cd2bd Bump upper version bound for lens to 4.5 2014-08-22 17:03:50 +02:00
Corey O'Connor
cbe30a71a3 update tests for changes in config process 2014-08-14 15:08:44 -07:00
Corey O'Connor
ddd61dd917 add input and output file descriptor to Config 2014-08-03 21:29:27 -07:00
Corey O'Connor
da216cb5a5 up to 5.1.4 for release 2014-07-30 22:26:28 -07:00
Sergei Trofimovich
87b2dcc379 vty.cabal: add missing file to tarball
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2014-07-28 11:30:36 +03:00
Corey O'Connor
45c1e1d7f4 raise dependencies for issue #49 2014-07-27 12:13:13 -07:00
Corey O'Connor
80bd743395 up version to 5.1.2 for dev 2014-06-22 22:35:34 -07:00
Corey O'Connor
6acb630525 update version and changelog 2014-06-22 13:19:43 -07:00
Corey O'Connor
9704f66a49 remove abstractions over vmin and vtime and correct input classifier 2014-06-06 09:09:10 -07:00
Corey O'Connor
3e8c75e53f doc fixup 2014-06-05 20:51:49 -07:00
Corey O'Connor
99df296a3a haddock fixups 2014-06-05 20:45:21 -07:00
Corey O'Connor
72a016a8c8 add missing Graphics.Vty.Debug.Image 2014-06-05 00:38:28 -07:00
Corey O'Connor
46e93af4fe limit lens to < 4.2. 4.2 appears to have a too-low dependency on transformers 2014-06-03 23:14:26 -07:00
Corey O'Connor
522b740b8a add a debug log for input 2014-05-25 23:28:49 -07:00
Corey O'Connor
857cb6152f remove duplicate ANST/VT modules and just use a single module 2014-05-25 22:35:22 -07:00
Corey O'Connor
e010924c61 add a demo program to vty distribution 2014-05-03 16:33:56 -07:00
Corey O'Connor
3822f036b1 finish the implementation of userConfig 2014-04-24 09:18:43 -07:00
Corey O'Connor
689e8f5732 add config parser and test 2014-04-23 19:07:19 -07:00
Corey O'Connor
99bb4b8133 refactor Input.Internal into more specific modules 2014-04-16 16:44:44 -07:00
Corey O'Connor
dce715bde6 be consistent with lens 2014-04-14 19:29:12 -07:00
Corey O'Connor
6496205878 be consistent with terminfo dependencies 2014-04-14 19:27:06 -07:00
Corey O'Connor
c50531e66f up terminfo req 2014-04-07 16:38:49 -07:00
Corey O'Connor
5b4818cf84 support lens 4.X 2014-03-21 11:37:03 -07:00
Corey O'Connor
ccb1b2487c resolve test compile failures 2014-01-31 01:13:24 -08:00
Corey O'Connor
76bffb44d8 fix terminfo cap parser tests 2014-01-30 21:12:01 -08:00
Corey O'Connor
173e1f5cad move terminfo cap parser and output to Write 2014-01-26 18:01:03 -08:00
Corey O'Connor
76d91e3ac2 start removing informal Writer structure and replace with Blaze.Builders Writer 2014-01-26 14:58:02 -08:00
Corey O'Connor
87e09a1484 derive new input loop 2014-01-21 03:50:57 -08:00
Corey O'Connor
0bbc3397e1 split input table generation based on terminal type 2013-12-24 22:06:58 -08:00
Corey O'Connor
41c42dffc4 documentation fixes 2013-12-20 10:51:44 -08:00
Corey O'Connor
4e45d7c024 rename DisplayRegion module to Prelude 2013-12-19 22:24:56 -08:00
Corey O'Connor
99dc9e2c96 due to smallcheck failure skip tests on ghc < 7.4 2013-12-13 19:28:51 -08:00