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
Corey O'Connor
0ccb7dce7e
change the translate method to allow negative translations.. with a catch.
2013-11-20 11:43:13 -08:00
Corey O'Connor
d9cf8b9252
separate examples to separate package. add build_examples script for quick testing
2013-11-12 22:22:05 -08:00
Corey O'Connor
89ffd68e9a
add hashable dependency for nice yi install
2013-10-30 15:03:29 -07:00
Corey O'Connor
8c8ee2a8b5
add a rgb_color equation to map from arbitrary RGB to xterm 240 palette
2013-10-30 13:30:49 -07:00
Corey O'Connor
33bf7c8920
add an example program to test input event handling: vty-event-echo
2013-10-26 17:04:52 -07:00
Corey O'Connor
f6d25d6fb0
update cabal file
2013-10-24 14:44:35 -07:00
Corey O'Connor
0620fdc350
make the start of a silly rouge like game
2013-10-24 14:40:48 -07:00
Corey O'Connor
f9619d04eb
finish test for verifying the parsing of the keys read from the capabilities file
2013-10-22 17:48:22 -07:00
Corey O'Connor
22774a905a
abstract event block generation from source table. initial terminfo caps based input block test
2013-10-20 14:18:29 -07:00
Corey O'Connor
560c5d673b
start converting verify-using-mock-input to test-framework + smallcheck
2013-10-19 23:20:29 -07:00
Corey O'Connor
424e6a858d
cleanup
2013-10-13 03:01:53 -07:00
Corey O'Connor
dc749015b7
add an event to end the event processing loop. finish simple_chars test
2013-10-05 00:30:38 -07:00
Corey O'Connor
5b47d59a5f
correct use of extensions
2013-09-15 22:55:15 -07:00
Corey O'Connor
2e7bc4c3fc
refactor input layer a bit more. closer to testable
2013-09-14 23:56:06 -07:00
Corey O'Connor
4f9fc10169
start refactoring input layer for an easy to understand mapping of input bytes to events
2013-09-01 01:08:27 -07:00
Corey O'Connor
2b7c82a990
add scaffold for input test
2013-08-29 17:00:07 -07:00
Corey O'Connor
08c42ea651
simplify the mock terminal tests a bit
2013-08-16 23:13:05 -06:00