Commit Graph

234 Commits

Author SHA1 Message Date
Jonathan Daugherty
3d34ef1156 Bump version, update changelog 2019-09-13 10:23:00 -07:00
Jonathan Daugherty
e0fdfc7786 BChan: add writeBChanNonBlocking, raise STM lower bound to 2.4.3 2019-09-13 10:20:12 -07:00
Jonathan Daugherty
0cdae4ba97 Bump version, update changelog 2019-08-30 15:52:25 -07:00
Jonathan Daugherty
48fe4473f1 Bump version, update changelog 2019-08-30 12:40:56 -07:00
Jonathan Daugherty
df89a58eec Edit: support EvPaste Vty events by default, assuming UTF-8 encoding of pasted bytes 2019-08-30 12:37:37 -07:00
Jonathan Daugherty
561810e0cc Bump version, update changelog 2019-07-03 09:23:26 -07:00
Fraser Tweedale
1b2362feda ci: add GHC 8.6.5 to matrix 2019-05-04 20:05:59 +10:00
Jonathan Daugherty
758d813830 Bump version, update changelog 2019-03-19 08:30:11 -07:00
Jonathan Daugherty
4a5a803d01 Update changelog, bump version 2018-12-27 11:11:20 -08:00
Jonathan Daugherty
5dc4a047aa Bump version, update changelog 2018-12-13 15:00:19 -08:00
Jonathan Daugherty
391e1fee06 Bump version, update changelog 2018-12-08 14:03:44 -08:00
Jonathan Daugherty
6d17918e60 Bump version, update changelog 2018-12-08 08:34:12 -08:00
Fraser Tweedale
f23b6b1dba List: add instance Splittable Seq
Add an instance of Splittable for Data.Sequence.Seq, and QuickCheck
properties for it.

Add lower bound containers >= 0.5.7, being the version at which the
Semigroup instance was introduced.
2018-12-08 18:33:11 +10:00
Fraser Tweedale
8db170a02b List: abstract container type
Introduce 'GenericList' which abstracts list behaviour over the
container type.  This allows the use of types other than Vector, if
it would suit a particular application (e.g. lazy loading of list
contents).

'List' is retained as a type synonym for backwards compatibility.
For a container type to be usable with 'List', it must have
instances of 'Traversable' and a new type class 'Splittable' which
allows splitting the container at a given index.

Some operations impose additional constraints on the container type:

- listInsert: 'Applicative' and 'Semigroup'
- listRemove: 'Semigroup'
- listClear: 'Monoid'

Fixes: https://github.com/jtdaugherty/brick/issues/201
2018-12-08 18:32:57 +10:00
Fraser Tweedale
040f3dadb7 tests: add List properties
Add some property tests for List behaviour.  Among other things,
check that the "selected element" bookkeeping maintains a valid
selection at all times (as long as you're using the provided
functions and not manipulating the underlying Vector directly).
2018-12-07 08:56:21 +10:00
Jonathan Daugherty
b5c6cdccb0 Bump version, update changelog 2018-12-06 13:10:14 -08:00
Fraser Tweedale
7efaae2cab add lower bound on 'directory'
System.Directory.listDirectory appeared in v1.2.5.0.  Add lower
bound in the cabal file.
2018-12-06 21:48:23 +10:00
Jonathan Daugherty
849af075e0 Bump version, update changelog 2018-12-04 08:01:00 -08:00
Jonathan Daugherty
5744534b71 Bump version, update changelog 2018-12-03 16:45:03 -08:00
Jonathan Daugherty
3188588c23 Initial working draft of file browser widget 2018-11-29 16:21:15 -08:00
Jonathan Daugherty
ea21920bf5 Bump version, update changelog 2018-11-27 10:39:59 -08:00
Jonathan Daugherty
488a603aa9 Bump version, update changelog 2018-11-22 12:39:19 -08:00
Jonathan Daugherty
78038a4e68 Bump version, update changelog 2018-11-13 15:44:08 -08:00
Mitsutoshi Aoe
29c93b403d Relax upper version bound for base to support GHC 8.6.1 2018-09-28 08:46:12 +09:00
Jonathan Daugherty
e9c6218219 Bump version, update changelog 2018-09-26 08:07:06 -07:00
Jonathan Daugherty
ef47eac94f Bump version, update changelog 2018-09-08 13:38:14 -07:00
Jonathan Daugherty
be82d96502 Bump version, update changelog 2018-09-06 12:39:27 -07:00
Jonathan Daugherty
584e27e331 Upgrade to depend on Vty 5.24 2018-09-06 12:36:49 -07:00
Jonathan Daugherty
14bea870b3 Bump version, update changelog 2018-08-04 20:20:25 -07:00
Jonathan Daugherty
64e1104e66 Bump version, update changelog 2018-07-30 09:39:13 -07:00
Jonathan Daugherty
c89221c19b Support italic style in theme customization file parser 2018-07-30 09:38:15 -07:00
Jonathan Daugherty
b3621e6dc1 Bump version, update changelog 2018-07-12 12:23:24 -07:00
Jonathan Daugherty
b1aac661ab Update changelog, bump version 2018-07-10 11:35:41 -07:00
Jonathan Daugherty
618b00a8b1 Bump version, update changelog 2018-05-26 12:36:18 -07:00
Jonathan Daugherty
8ae8661341 Bump version, update changelog 2018-05-08 09:34:22 -07:00
Jonathan Daugherty
0a531925ea Bump version, update changelog 2018-04-29 20:31:00 -07:00
Jonathan Daugherty
e759891567 Bump version, update changelog 2018-04-23 12:36:37 -07:00
Jonathan Daugherty
0fae5aeba1 Bump version, update changelog 2018-04-20 08:51:30 -07:00
Jonathan Daugherty
e0be2e958f Raise upper bound to support GHC 8.4.2 (fixes #171) 2018-04-20 08:49:47 -07:00
Jonathan Daugherty
d88e63e7ef Bump version, update changelog 2018-03-31 11:20:31 -07:00
Daniel Wagner
ecf1dce650 address Travis complaints 2018-03-25 20:27:25 -04:00
Daniel Wagner
ec54d28d4b rearrange modules
Previously, the brick-specific Location type had been moved from
Brick.Types.Internal into the new BorderMap module. It's a bit of an odd
place to define it. So now there's an internal internal module named
Brick.Types.Common with a few things that BorderMap needs but that don't
really make sense to define inside the BorderMap module. Both BorderMap
and Types.Internal import this new Common module.
2018-03-25 18:08:07 -04:00
Daniel Wagner
5dd5bc4100 add a way to join neighboring borders 2018-03-25 18:04:15 -04:00
Jonathan Daugherty
aa5282b2b6 Bump version, update changelog 2018-03-24 10:30:37 -07:00
Jonathan Daugherty
d94773c139 Conditionally depend on semigroups for older GHCs 2018-03-23 18:25:57 -07:00
Jonathan Daugherty
7e801c8974 Bump version, update changelog 2018-03-17 09:05:40 -07:00
Jonathan Daugherty
bd89f787d2 Support GHC 8.4 (fixes #162)
This change splits up Monoid instances into Monoid and Semigroup. It
also conditionally imports Data.Monoid on GHCs prior to 8.4.
2018-03-17 09:03:59 -07:00
Jonathan Daugherty
ef1bfe187b Raise upper bound on base 2018-03-17 08:25:58 -07:00
Peter Simons
099b33feb1 travis-ci: add proper CI build instructions for all major GHC 8.x releases 2018-03-17 11:26:07 +01:00
Jonathan Daugherty
95355038bf Constrain base to 4.10 until I support newer versions 2018-03-16 09:18:45 -07:00