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
Jonathan Daugherty
e4e62a1d04
Update package description and add hello, world demo
2015-08-06 19:10:47 -07:00
Jonathan Daugherty
e631ed7a63
Update string handling to account for Vty change where empty strings have zero height
2015-07-30 10:52:20 -07:00
Jonathan Daugherty
c35e20196b
Add support for multi-line editors
...
- Changes the editor constructor to take a line limit
- Changes the editor drawing function to take [String] instead of String
- Changes the editor to use a viewport that scrolls both horizontally
and vertically
- Uses the latest text-zipper release (so cabal update)
2015-07-20 18:10:50 -07:00
Jonathan Daugherty
f930210777
Move toward suffixing all lenses with L
2015-07-19 12:08:00 -07:00
Jonathan Daugherty
4fde0b4f7d
Add support for viewports that scroll both vertically and horizontally, add visibility demo
2015-07-17 19:30:42 -07:00
Jonathan Daugherty
2d98be2225
Only build "brick" if demos flag is set
2015-07-13 09:06:12 -07:00