Commit Graph

483 Commits

Author SHA1 Message Date
Dmitry Ivanov
0fbcf0a24c Fix ghc version comparison in travis scripts 2016-04-13 13:05:49 +06:00
Dmitry Ivanov
e42c5799e3 Add ghc-8.0.1 job to travis.yml 2016-04-13 12:24:14 +06:00
Jonathan Daugherty
e6c979e287 Merge pull request #91 from lspitzner/master
cabal file: add repository, missing modules, and LICENSE; remove stale -threaded option
2016-03-11 16:11:41 -08: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
6e58a29ee7 Add upper bound to base dependency in vty-examples 2015-08-14 18:12:16 -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
31dc43f636 Output: whitespace cleanup 2015-08-09 18:38:34 -07:00
Jonathan Daugherty
5097e7a071 Output: remove unused CPP extension 2015-08-09 18:37:07 -07:00
Jonathan Daugherty
677190b60b Output: remove conditional "mappend" import entirely since nothing uses it 2015-08-09 18:36:09 -07:00
Jonathan Daugherty
4877aaace4 Output: import <> on base < 4.8.0 2015-08-09 18:33:07 -07:00
Corey O'Connor
954e0f14ec Fixup how the standardIOConfig is applied. Correct the Config Monoid. #77 2015-08-09 13:57:13 -07:00
Corey O'Connor
07b7a89f90 Correct depenencies for vty-examples. 2015-08-09 13:56:31 -07:00
Jonathan Daugherty
8f38f2ac30 tests: add missing import for GHC 7.4.2 2015-08-09 13:13:03 -07:00
Jonathan Daugherty
834e9b54a6 README: minor formatting adjustments 2015-08-09 13:09:14 -07:00
Jonathan Daugherty
26ddd605d2 vty.cabal: minor package description formatting adjustments 2015-08-09 13:05:14 -07:00
Jonathan Daugherty
d14ea61c17 README: add embedded travis-ci build status indicator 2015-08-09 13:04:45 -07:00
Corey O'Connor
0434f9cc90 Use killThread and an MVar to assure input processing is stopped when shutdown returns. #77 2015-08-08 22:50:19 -07:00
Corey O'Connor
66c045fca3 Update the expected output from the mock terminal. 2015-08-08 22:22:35 -07:00
Corey O'Connor
7d0e00b5e4 Add commentary for issue #76 to CHANGELOG. 2015-08-08 21:24:05 -07:00
Corey O'Connor
cceeeeeeb2 Resolve #76. Terminfo "clear to end of line" does not mean what I thought it means.
I though this would clear the text and current display attributes from the cursor to end of the line.
This is not the case. The display attribute is state of the output cursor and not the already
dislayed text.

This change sets the default display attributes at the end of a line as well as the start of a new
line.

This passes all the tests but will cause a regression in Yi: The display of a selection area will
not extend to the end of the screen. However, I have a branch of Yi that adds vertical splits. In
order to implement this the selection area display code needed to handle extending the image to the
end of the frame.
2015-08-08 18:14:08 -07:00
Corey O'Connor
7617f21877 Add sample for #76. 2015-08-08 17:27: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
50ab1162a8 Merge pull request #81 from glguy/710-cleanup
Clean up warnings when compiling on 7.10
2015-08-08 13:59:49 -07:00
Corey O'Connor
a90eb921d9 Merge pull request #80 from glguy/utf8-input-patch
Avoid discarding input bytes after multi-byte encoded codepoint
2015-08-08 13:59:41 -07:00
Eric Mertens
8217bd74f7 Clean up warnings when compiling on 7.10 2015-07-31 13:47:13 -07:00
Eric Mertens
78c1940570 Avoid discarding input bytes after multi-byte encoded codepoint
Previous when pasting text into the console the pasted text
following a unicode codepoint that encoded to multiple bytes
would be lost.
2015-07-31 11:30:11 -07:00
Corey O'Connor
0a9f5df75a bump to 5.2.10 2015-07-29 11:31:23 -07:00
Corey O'Connor
8c09af03f5 Merge pull request #78 from jtdaugherty/master
Various minor changes
2015-07-27 12:26:47 -07:00
Jonathan Daugherty
9cfcb22e02 "str" now returns EmptyImage for empty strings to match behavior of other string-like Image constructors (fixes #74) 2015-07-18 19:29:07 -07:00
Jonathan Daugherty
b130a2b740 Add Read instances for Color, MaybeDefault, and Attr 2015-07-18 18:56:47 -07:00
Corey O'Connor
149ef89a4e bump to 5.2.9 2015-05-02 13:49:18 -07:00
Corey O'Connor
1450f84f1b Merge branch 'master' of git://github.com/trofi/vty into trofi-master
Conflicts:
	vty.cabal
2015-05-02 13:31:50 -07:00
Corey O'Connor
b2ceff9878 Merge pull request #70 from glguy/lens-bump
Bump lens upperbound
2015-05-02 13:23:40 -07:00
Corey O'Connor
11cc9e3032 Merge pull request #69 from glguy/example-fix
Update the example in Graphics.Vty
2015-05-02 13:22:59 -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
Eric Mertens
d8f917c5bb Bump lens upperbound 2015-04-02 20:49:41 -07:00
Eric Mertens
83c2203df8 Update the example in Graphics.Vty
Previously this example had two problems which prevented a
new user copying the example out of haddock.

1) It unnecessarily relied on 'def', which comes from an
external package which the user might not know about,
and doesn't need to worry about.

2) Haddock wasn't rendering the back-ticks correctly, so
withForeColor appeared without the back-tick

3) It used the ScopedTypeVariables extension.
2015-03-23 14:16:24 -07: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
Corey O'Connor
ebeafddbbf Merge pull request #67 from glguy/version-bump
Version bound bumps for blaze-builder, lens, utf8-string
2015-03-15 11:27:20 -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
Corey O'Connor
db91e4d5fc Merge pull request #66 from ethercrow/master
Ask Travis to use GHC 7.10 too.
2015-01-10 12:22:34 -08:00