Commit Graph

316 Commits

Author SHA1 Message Date
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
Jonathan Daugherty
7e4ef16279 Include brick tutorial files in extra-doc-files 2017-08-20 18:46:45 -07:00
Jonathan Daugherty
f015d804d8 Bump version, update changelog 2017-08-20 18:43:16 -07:00
Jonathan Daugherty
a164f6cf3b Bump version, update changelog 2017-08-05 14:43:01 -07:00
Jonathan Daugherty
4526e0e2f6 Bump version, update changelog 2017-08-05 09:21:15 -07:00
Jonathan Daugherty
6de72ae6b7 Add txtWrapWith, strWrapWith to provide control over wrapping behavior 2017-08-05 09:20:07 -07:00
Jonathan Daugherty
603cdcae41 Update cabal version for Hackage 2017-08-03 21:09:23 -07:00
Jonathan Daugherty
61a2e42a51 Bump version 2017-08-03 21:06:51 -07:00
Jonathan Daugherty
c09966ee81 Upgrade to word-wrap 0.2 2017-08-03 21:06:45 -07:00
Jonathan Daugherty
c7182aa448 Add a basic fill demonstration program 2017-08-02 15:55:09 -07:00
Jonathan Daugherty
85c8ed89bf Update changelog, bump version 2017-07-14 13:22:45 -07:00
Jonathan Daugherty
3f3c780ae4 Bump version, update changelog 2017-07-08 12:15:30 -07:00
Jonathan Daugherty
974453c55c Core: use word-wrap library for text-wrapping 2017-07-08 12:12:12 -07:00
Jonathan Daugherty
687fe20ca5 Core: add txtWrap, strWrap, and TextWrapDemo (fixes #128) 2017-07-06 21:47:41 -07:00
Jonathan Daugherty
56133bb0c6 Bump version, update changelog 2017-06-26 11:55:35 -07:00
Jonathan Daugherty
13f30b8191 Update changelog, bump version 2017-06-11 12:27:32 -07:00
Jonathan Daugherty
0718443b2f Focus: replace internal list-based implementation with data-clist CList (fixes #122) 2017-06-11 12:24:13 -07:00
Jonathan Daugherty
c70fe5498c Bump version, add CHANGELOG 2017-03-11 20:34:28 -08:00
Jonathan Daugherty
14871549a1 README: add simple demo UI and corresponding program 2017-03-11 20:31:55 -08:00
Jonathan Daugherty
6f45a25cb3 Bump version, update changelog 2017-02-22 08:51:10 -08:00
Jonathan Daugherty
a855471279 Update example program in brick.cabal (thanks @timbod7) 2017-02-12 13:48:58 -08:00
Jonathan Daugherty
87e4349249 Use Extra-Doc-Files instead of Data-Files for documentation files 2017-02-06 09:31:01 -08:00
Jonathan Daugherty
7d2fc92405 Resolve 0.16 merge conflict, bump to 0.17 2017-01-24 13:52:41 -08:00
Jonathan Daugherty
8b599ff151 Bump version 2017-01-24 13:48:57 -08:00
Jonathan Daugherty
4a2b90eae7 Update for Vty 5.15 2017-01-24 13:48:45 -08:00
Jonathan Daugherty
cc319c6f66 Bump version, update changelog 2017-01-08 08:39:50 -08:00
Joshua Chia
6dce47a94c Switched to using TBQueue (bounded) instead of Chan (unbounded) 2017-01-07 18:52:38 +08:00
Mitsutoshi Aoe
cd0e55276e Use DList to avoid repetitive Data.List.++ 2016-12-31 10:20:09 +09:00
Jonathan Daugherty
f779133ceb Bump version, update changelog 2016-12-11 07:52:38 -08:00
Jonathan Daugherty
61090ac38e Bump version, update changelog 2016-12-10 08:40:29 -08:00
Jonathan Daugherty
6b2bab1ac3 Bump version 2016-12-03 20:34:24 -08:00
Jonathan Daugherty
104d762dd4 MouseDemo: add an editor and use mouse events to move the cursor 2016-12-03 20:26:19 -08:00
Jonathan Daugherty
c3ed729517 Update changelog, bump version 2016-11-12 16:23:40 -08:00
Jonathan Daugherty
4560c2e70e Depend on version of vty with newer wcwidth 2016-11-12 16:21:49 -08:00
Jonathan Daugherty
74856b77fe Bump version, update changelog 2016-11-01 13:23:47 -07:00
Jonathan Daugherty
a34ae2ec1c Update CHANGELOG, bump version 2016-10-30 14:01:26 -07:00
Jonathan Daugherty
3d50122d5b Merge branch 'master' into feature/mouse-support 2016-10-27 21:43:17 -07:00
Kevin Quick
7fcf3e68e9 Added mapAttrname, mapAttrNames, and overrideAttr functions, with ProgressBarDemo to demonstrate their usage. 2016-10-26 22:49:59 -07:00
Jonathan Daugherty
5546659a0f Depend on another Vty mouse event bug fix 2016-10-23 19:49:42 -07:00
Jonathan Daugherty
9154522509 Remove mouse event offset adjustment, depend on Vty with relevant fix 2016-10-23 19:19:16 -07:00
Jonathan Daugherty
12659aced0 Merge master 2016-10-23 18:51:47 -07:00
Jonathan Daugherty
759d5797a9 Bump version, update changelog 2016-10-10 14:56:20 -07:00
Jonathan Daugherty
f5c17fc8df Bump version 2016-09-20 21:20:54 -07:00
Jonathan Daugherty
464fec9c1d Add CacheDemo (closes #82) 2016-09-20 21:15:25 -07:00
Jonathan Daugherty
0151c159d5 Bump version 2016-09-08 20:40:57 -07:00
Jonathan Daugherty
8c4055496a Might as well depend on fixed text-zipper 2016-09-08 20:31:11 -07:00
Jason Dagit
3280c0c799 Make changes requested in PR 2016-09-08 12:21:38 -04:00
Hans-Peter Deifel
e6dc695932 Bind Ctrl-U to delete to BOL edit widget
Ctrl-u will now delete all text from the cursor position to the
beginning of the current line. This is a standard readline binding.
2016-08-04 00:02:47 +02:00
Jonathan Daugherty
94e3217d5d Add MouseDemo 2016-06-30 19:10:44 -07:00
Jonathan Daugherty
a750967051 Depend on Vty 5.7 to get mouse support 2016-06-30 19:04:26 -07:00
Jonathan Daugherty
b6128a3e3b Bump version, update CHANGELOG 2016-06-19 13:31:42 -07:00
Jonathan Daugherty
21977cb343 brick.cabal: update simple demo program in package description 2016-05-27 14:06:37 -07:00
Jonathan Daugherty
40ce001a73 Update guide, bump version 2016-05-27 12:03:08 -07:00
Jonathan Daugherty
d8f6d053d8 Merge branch 'master' into feature/custom-names 2016-05-27 11:47:49 -07:00
Jonathan Daugherty
29ac664adc Use conditional imports to silence redundancy warnings on GHCs with base >= 4.8.0.0 2016-05-27 11:47:16 -07:00
Jonathan Daugherty
1df256f4ed Core: raise runtime exception when a widget name is seen more than once during rendering 2016-05-27 11:17:43 -07:00
Jonathan Daugherty
e6bd3d8713 Update changelog, bump version 2016-05-22 14:35:12 -07:00
Jonathan Daugherty
ad010d8125 Merge branch 'master' into feature/custom-names 2016-05-22 14:19:29 -07:00
Jonathan Daugherty
65cbb3c305 Update changelog, bump version 2016-05-21 09:27:37 -07:00
Jonathan Daugherty
bd95299148 Resolve master merge conflicts 2016-05-19 20:29:12 -07:00
Jonathan Daugherty
b787872c33 Update CHANGELOG, bump version 2016-05-19 19:12:36 -07:00
Jonathan Daugherty
b25535be80 Bump version, update changelog 2016-05-16 08:14:29 -07:00
Markus Hauck
1188641190 Add lower bound for microlens package
Prior to 0.3.0.0 e.g. `Microlens.Internal.Field1` was not yet
available.
2016-05-16 09:55:15 +02:00
Jonathan Daugherty
05ebde8c9c Update CHANGELOG, bump version 2016-05-10 18:47:57 -07:00
Jonathan Daugherty
da9241a3dc Bump vty dependency to avoid dependency on lens 2016-05-10 18:45:55 -07:00
Jonathan Daugherty
f3950cf96d API: migrate "lens" usage to "microlens" packages 2016-05-08 18:05:30 -07:00
Jonathan Daugherty
a06b86749f Bump version 2016-05-08 17:29:24 -07:00
Jonathan Daugherty
00eebed6f6 Add Named class, make List focus-aware, add experimental withFocusRing combinator 2016-03-04 15:50:10 -08:00
Jonathan Daugherty
ce2b221350 Bump version, update CHANGELOG 2016-03-04 08:47:19 -08:00
Jonathan Daugherty
01bafb0b5b Update changelog, bump version 2016-01-15 15:57:48 -08:00
Jonathan Daugherty
36fb1f0e4b Update copyright 2016-01-11 21:15:59 -08:00
Jonathan Daugherty
3f716a91b8 Bump version 2016-01-11 21:04:28 -08:00
Jonathan Daugherty
1c6d83ae72 Bump version and update changelog 2015-12-21 11:05:56 -10:00
Jonathan Daugherty
625e483483 Bump version 2015-12-12 14:43:49 -08:00
Jonathan Daugherty
7e4b6ff072 API: listReplace now takes the new selected index and no longer does element diffing
This change:

- Removes the dependency on the Diff package
- Modifies listReplace to do a simple replacement of the list vector and
  a bounds check on the new selection index
- Removes the old "smart merge" behavior that listReplace had because it
  is neither obvious nor universal what its behavior should be
2015-11-13 15:38:57 -08:00
Jonathan Daugherty
0d8df76feb Update changelog and version for 0.2.3 2015-11-13 15:16:40 -08:00
Jonathan Daugherty
5ebc51aa6a Update changelog, bump version 2015-11-05 13:03:41 -08:00
Jonathan Daugherty
8483caa0c1 Update changelog, bump version 2015-09-17 20:16:08 -07:00
Jonathan Daugherty
75d559f4db Bump version to 0.2 2015-08-24 10:53:24 -07:00
Jonathan Daugherty
aea55a2225 Relax dependency on deepseq to include 1.3 to support GHC 7.8 2015-08-24 08:45:36 -07:00
Sebastian Reuße
6330a59ff5 str: avoid thunk-buildups.
When processing lines, only reference computations which are needed
in the given context. In particular, don’t build up thunks for columns
and lines which cannot be shown.

While «renderFinal» forces unused computations to be garbage-collected,
as of 8e1d7f4, not building up thunks here will save the GC some work.
2015-08-24 14:59:39 +02:00
Jonathan Daugherty
dc9cee623d Add convenience Brick module and simplify basic demo program 2015-08-19 23:13:07 -07:00
Jonathan Daugherty
072c03b11d cabal file: update example program in haddock 2015-08-19 22:49:05 -07:00
Jonathan Daugherty
35aa2ad8a4 Monster patch: move most data types to Brick.Types, remove IsString
instance for Widget

- This makes the module layout more predictable since Brick.Widgets.Core
  now (mostly) only contains widgets and widget transformations
- Utility functions closely related to types are now in Brick.Types
- Brick.Types.Internal contains types used internal by the renderer,
  some are re-exported by Brick.Types
2015-08-19 19:40:06 -07:00
Jonathan Daugherty
14d2147c85 List: use Vector instead of [] to manage elements to improve performance 2015-08-17 23:33:47 -07:00
Jonathan Daugherty
69503f6641 Depend on vty 5.3.1 2015-08-11 16:00:45 -07:00
Jonathan Daugherty
47ef979221 Increase vty bound to 5.3 and remove comment about now-fixed bug 2015-08-11 15:32:12 -07:00
Jonathan Daugherty
1c79445592 Include user guide and readme in package 2015-08-09 12:57:05 -07:00
Jonathan Daugherty
5256ec57c4 cabal: add vty-ui deprecation notice 2015-08-08 21:19:38 -07:00
Jonathan Daugherty
5f6df6dbc4 Remove stale demo 2015-08-06 19:26:22 -07:00
Jonathan Daugherty
90066b51ca More cabal file improvements 2015-08-06 19:25:11 -07:00
Jonathan Daugherty
31a689c62e Seed changelog 2015-08-06 19:19:02 -07:00