Commit Graph

754 Commits

Author SHA1 Message Date
Jonathan Daugherty
94e3217d5d Add MouseDemo 2016-06-30 19:10:44 -07:00
Jonathan Daugherty
5cb191a1c9 First patch for mouse support
- Adds Extent type to represent widget rectangle locations and sizes
- Adds reportExtent widget combinator to report named extents
- Updates rendering Results to include reported extents and update their
  offsets (adds "extents" field and "extentsL" lens)
- Adds Ord constraint to some startup functions
2016-06-30 19:06:28 -07:00
Jonathan Daugherty
a750967051 Depend on Vty 5.7 to get mouse support 2016-06-30 19:04:26 -07:00
Jonathan Daugherty
139f01fb82 Update TODO 2016-06-22 17:26:00 -07:00
Jonathan Daugherty
b6128a3e3b Bump version, update CHANGELOG 2016-06-19 13:31:42 -07:00
Jonathan Daugherty
5b089ecc2a Internal: explicitly set a background in the renderer to avoid a Vty attribute runaway behavior (https://github.com/coreyoconnor/vty/issues/95) 2016-06-10 19:12:23 -07:00
Jonathan Daugherty
c78cff0215 Dialog: mention layer rendering in renderDialog 2016-06-10 15:24:17 -07:00
Jonathan Daugherty
d06004952e LayerDemo: demonstrate a centered top layer 2016-06-10 15:01:28 -07:00
Jonathan Daugherty
30afe9367b Center: add layer-friendly centering functions centerLayer, hCenterLayer, and vCenterLayer, use in Dialog 2016-06-10 15:01:16 -07:00
Jonathan Daugherty
3550f41e6a Merge pull request #59 from ppelleti/master
guide: fix typos
2016-05-28 11:31:52 -07:00
Patrick Pelletier
239e52332e fix minor typos in documentation 2016-05-28 10:52:51 -07:00
Jonathan Daugherty
21977cb343 brick.cabal: update simple demo program in package description 2016-05-27 14:06:37 -07:00
Jonathan Daugherty
4d86dbd69d Clarify Dialog changes in CHANGELOG for 0.7 2016-05-27 12:14:05 -07:00
Jonathan Daugherty
f4735fda0b Add CHANGELOG note about user guide changes for 0.7 2016-05-27 12:09:03 -07:00
Jonathan Daugherty
b6221724d8 Minor CHANGELOG updates 2016-05-27 12:07:09 -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
3b604fd5af EditDemo: remove list widget 2016-05-27 11:20:34 -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
1db86b0c3e guide: use concrete name types in more places and make the Edit example clearer 2016-05-25 17:05:48 -07:00
Jonathan Daugherty
a31d4c27d9 guide: improvements to app type variable descriptions 2016-05-25 17:00:05 -07:00
Jonathan Daugherty
4ac838144d guide: improved content on qualified names 2016-05-25 16:57:24 -07:00
Jonathan Daugherty
7f8ba42045 guide: section title fix 2016-05-25 16:55:29 -07:00
Jonathan Daugherty
4a3f4179ac guide: add a missing name type parameter 2016-05-22 22:56:50 -07:00
Jonathan Daugherty
c263d6f67c User guide: update for custom names feature, remove HandleEvent content 2016-05-22 15:35:16 -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
719acf878a Merge pull request #57 from markus1189/next-functor-instance
Derive Functor instance for 'Next'
2016-05-22 08:07:41 -07:00
Markus Hauck
d27780b713 Derive Functor instance for 'Next' 2016-05-22 10:50:05 +02:00
Jonathan Daugherty
65cbb3c305 Update changelog, bump version 2016-05-21 09:27:37 -07:00
Jonathan Daugherty
7682ee22f4 Bugfix: List: always render enough items to fill the available space, even if it means we show a partial item 2016-05-21 09:02:13 -07:00
Jonathan Daugherty
105f769e23 docs: ignore HTML file 2016-05-19 20:40:11 -07:00
Jonathan Daugherty
38b6840bd7 Improve App documentation 2016-05-19 20:29:25 -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
a208c8e000 Bugfix: Edit: assume initial content may have newlines and break them up to initialize the zipper correctly (fixes #56) 2016-05-19 19:09:24 -07:00
Jonathan Daugherty
b25535be80 Bump version, update changelog 2016-05-16 08:14:29 -07:00
Jonathan Daugherty
56c1ab5e6e Merge pull request #55 from markus1189/microlens-lower-bound
Add lower bound for microlens package
2016-05-16 08:10:00 -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
ff8bd5651c Merge pull request #54 from ahgilbert/master
ListDemo: rename Data.Vector from V to Vec to avoid qualified import confusion
2016-05-15 09:44:10 -07:00
Alan Gilbert
e0f9195737 renaming Data.Vector to avoid ambiguity 2016-05-15 19:34:07 +03:00
Jonathan Daugherty
9d63dfd89f Update lens reference in README 2016-05-11 10:00:40 -07:00
Jonathan Daugherty
18d005e322 docs: update user guide mentions of lenses as per microlens migration 2016-05-10 19:03:49 -07: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
c5a8186955 Update CHANGELOG 2016-05-08 17:29:15 -07:00
Jonathan Daugherty
8296272d02 Resolve merge conflict 2016-05-05 22:57:42 -07:00