Jonathan Daugherty
84e35739c5
Update copyright years
2020-10-12 10:56:43 -07:00
Jonathan Daugherty
0c6ab74331
Bump version, update changelog
2020-10-01 09:09:08 -07:00
Jonathan Daugherty
5382dc70f5
Support "strikethrough" style in theme customization files
...
This change upgrades to Vty 5.31 to get the new "strikethrough" style.
2020-10-01 09:07:57 -07:00
Jonathan Daugherty
070c4ffc54
Bump version, update changelog
2020-09-26 16:03:54 -07:00
Jonathan Daugherty
d2ebc681d6
Add brick-tail-demo to "demos" flag build
2020-08-22 16:21:06 -07:00
Jonathan Daugherty
660eb3b131
Add demo program for tail-style UI
2020-08-22 16:06:40 -07:00
Ryan Scott
1c2fb1eaf1
Regenerate .travis.yml
...
I factored out the (previously hard-coded) `-f demo` flag into a
`cabal.haskell-ci` file, which is now automatically applied by
`haskell-ci`.
2020-08-10 12:52:05 -04:00
Ryan Scott
d823b9d2b4
Allow building with base-4.14.1.0 (GHC 8.10.2)
2020-08-10 12:45:06 -04:00
Jonathan Daugherty
129da5601b
Merge master
2020-07-09 15:22:01 -07:00
Jonathan Daugherty
aad01ae748
Bump version, update changelog
2020-07-09 15:17:08 -07:00
Jonathan Daugherty
a8e48d9655
customMain: restore initial terminal input state on shutdown
...
This change ensures that the initial terminal input state flags are
restored on shutdown (regardless of exceptions) even if changes to the
state flags have occurred via 'suspendAndResume'. Prior to this change,
breaking changes to the input state flags in the last 'suspendAndResume'
before program exit were propagated to the end user's terminal
environment which could lead to broken or garbled terminal I/O.
For more details, see
https://github.com/jtdaugherty/vty/issues/187
This change also increases the lower bound on 'vty' to get access to the
API required to support this behavior.
2020-07-09 15:11:50 -07:00
Jonathan Daugherty
57b1cf8845
Bump version, update changelog
2020-05-25 14:58:22 -07:00
Jonathan Daugherty
b60917e37c
Bump version, update changelog
2020-05-01 08:40:15 -07:00
Joshua Chia
e981c09673
Bumped base version constraint to allow GHC 8.10
2020-04-23 23:54:01 +08:00
Jonathan Daugherty
7eeb86e498
Bump version, update changelog
2020-03-29 19:11:37 -07:00
Jonathan Daugherty
7f5e6307ec
cabal: update description
2020-03-04 08:04:08 -08:00
Jonathan Daugherty
4947938e57
Re-enable unused do binding warning, lower -O3 to -O2, and add -Wcompat for all libs and executables
2020-02-28 15:05:48 -08:00
Jonathan Daugherty
8f91747bd3
Bump version, update changelog
2020-02-13 17:55:43 -08:00
Fraser Tweedale
dde8ccf5df
add instance MonadMask (EventM n)
2020-02-06 11:00:08 +10:00
Jonathan Daugherty
9d5140f20b
Bump version, update changelog
2020-02-01 08:23:51 -08:00
Jonathan Daugherty
3199911894
brick.cabal: include demo program screenshots content in manifest
2020-02-01 08:23:29 -08:00
Jonathan Daugherty
aefa0ed7c2
Bump version, update changelog
2019-11-18 09:58:27 -08:00
Brandon Hamilton
baa1630bc6
Bump dependency bounds to support ghc-8.8
2019-10-03 00:59:41 +02:00
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
Jonathan Daugherty
efbc845dd8
Bump version, update changelog
2018-02-25 08:29:21 -08:00
Jonathan Daugherty
d6eafc35e1
Bump version, update changelog
2018-02-05 18:23:12 -08:00
Jonathan Daugherty
a9c4e41455
Bump version, update changelog
2018-01-11 19:54:41 -08:00
Jonathan Daugherty
6486136851
Bump version, update changelog
2018-01-02 11:35:26 -08:00
Jonathan Daugherty
c460bbb9c5
Bump version, update changelog
2017-12-27 18:54:04 -08:00
Jonathan Daugherty
3e93a61305
Merge branch 'master' into feature/forms
2017-12-27 13:49:54 -08:00
Jonathan Daugherty
2bacd1ab17
Update copyrights
2017-12-27 13:48:07 -08:00
Jonathan Daugherty
f2b51a8658
Merge branch 'master' into feature/forms
2017-12-27 12:22:36 -08:00
Jonathan Daugherty
e9fe1e04a4
Bump version, update changelog
2017-12-27 10:04:17 -08:00
Jonathan Daugherty
8bea691093
Add an experimental, incomplete forms API and demo program
2017-12-26 16:29:05 -08:00
Jonathan Daugherty
171dfac831
Bump version, update changelog
2017-12-13 11:47:46 -08:00
Jonathan Daugherty
fe160d3828
Bump version, update changelog
2017-12-05 17:05:05 -08:00
Jonathan Daugherty
21962b91a7
Bump version, update changelog
2017-11-05 11:24:41 -08:00
Jonathan Daugherty
00428e78be
Add a simple theme demo program
2017-11-05 11:19:42 -08:00
Jonathan Daugherty
1aa08ef269
Themes: add first pass at theme customization file loading
2017-10-29 20:27:19 -07:00
Jonathan Daugherty
aaa5f6f038
Add first draft of themes module
2017-10-29 19:24:09 -07:00
Jonathan Daugherty
ec1693f8e1
Bump version, update changelog
2017-10-09 13:03:47 -07:00
Jonathan Daugherty
947da114a2
Bump version, update changelog
2017-10-06 14:20:10 -07:00
Jonathan Daugherty
c190d426fe
Depend on bugfixed vty release
2017-10-06 14:18:13 -07:00
Jonathan Daugherty
dbebb512e9
Add hyperlink combinator, update attribute demo
2017-10-06 13:27:41 -07:00
Jonathan Daugherty
81b68ee92f
Bump version, update changelog
2017-10-03 11:05:14 -07:00
Jonathan Daugherty
7c8ceb8a4e
Bump version, update changelog
2017-10-03 09:07:15 -07:00
Richard Alex Hofer
97f5457f9d
Rename ListDemoVi to ListViDemo to better fit exisiting demos.
2017-10-03 07:42:52 -04:00
Richard Alex Hofer
017c0c1bf8
Add a list event handler with vi keybindings and a demo.
2017-10-01 16:25:55 -04:00
Jonathan Daugherty
26a24d9284
Bump version, update changelog
2017-09-30 19:30:50 -07:00
Jonathan Daugherty
36f0bf6282
Bump version, update changelog
2017-08-27 20:08:34 -07:00
Jonathan Daugherty
3a48c5f76e
Bump version, update changelog
2017-08-22 09:58:18 -07:00