Commit Graph

1581 Commits

Author SHA1 Message Date
Jonathan Daugherty
2fcbacd2be README: add ghcup 2020-12-24 13:56:10 -08:00
Jonathan Daugherty
dd7b6c3c7f tests: remove now-defunct prop_findByNonDecreasing List test 2020-12-23 11:14:10 -08:00
Jonathan Daugherty
0f80795f5d Bump version, update changelog 2020-12-21 15:06:47 -08:00
Jonathan Daugherty
0904c4241a
Merge pull request #301 from TieDyedDevil/feature/export-file-browser-actions
Export file-browser actions so they can be externally bound as reques…
2020-12-21 14:55:23 -08:00
David B. Lamkins
b65d10d35d Link to action functions from Haddock documentation. 2020-12-21 14:11:39 -08:00
David B. Lamkins
c89625b27f Export file-browser actions so they can be externally bound as requested for Matterhorn issue #628 <https://github.com/matterhorn-chat/matterhorn/issues/628>. 2020-12-21 13:25:58 -08:00
Jonathan Daugherty
bcebc3a9bb List: make listFindBy attempt to find a match anywhere, not just after the selection
Previously, listFindBy would only find matches at or after the selection
position (if there was one). This was not consistent with the
documentation, which suggested that the function would examine the
entire sequence to find a match. This change fixes that behavior and
updates the documentation.
2020-12-17 15:33:33 -08:00
Jonathan Daugherty
281a092477 forceAttr: haddock expansion 2020-12-06 17:00:11 -08:00
Jonathan Daugherty
945a040e16
Merge pull request #297 from iyefrat/forceattr
`forceAttr` doesn't force style
2020-12-06 16:58:23 -08:00
Itai Y. Efrat
8ad80ab085 clarify forceAttr haddock. 2020-12-07 00:44:55 +02:00
Jonathan Daugherty
8558699d28
Merge pull request #298 from evuez/patch-1
Add ttyme to projects list
2020-12-06 07:08:13 -08:00
evuez
03c2c3ce63
Add ttyme to projects list 2020-12-06 14:55:29 +01:00
Jonathan Daugherty
f109190813
Merge pull request #296 from mlang/filebrowser-focused
Only position cursor when FileBrowser is actually focused
2020-12-05 10:18:48 -08:00
Mario Lang
fc22b3439f Only position cursor when FileBrowser is actually focused 2020-12-05 19:16:09 +01:00
Jonathan Daugherty
b0500f3bd6
Merge pull request #295 from mlang/missing-paren
Fix a (reather vital) missing paren in the viewport visible example
2020-12-05 10:05:36 -08:00
Mario Lang
d1d6d7647e Fix a (reather vital) missing paren in the viewport visible example 2020-12-05 18:55:31 +01:00
Jonathan Daugherty
845242f26a
Merge pull request #294 from mlang/file-browser-show-cursor
FileBrowser: Put cursor where selected file is printed
2020-12-05 07:22:39 -08:00
Mario Lang
ead4286d01 FileBrowser: Put cursor where selected file is printed
Similar to my changes to Forms 2 years ago, this puts the cursor
at the beginning of the selected filename.  Previously, the cursor
was placed at the end of the line, which is confusing to
blind users who rely on the cursor position to know where the focus is.
2020-12-05 15:26:40 +01:00
Jonathan Daugherty
6554fff2c4
Merge pull request #292 from mimi1vx/patch-1
Update constraint on base for build with ghc-9.0
2020-11-15 12:34:24 -08:00
Ondřej Súkup
1842ab375f
Update constraint on base for build with ghc-9.0
Brick build works withouts problems with upcoming ghc-9.0.1+ and base-4.15.0.0
2020-11-15 21:08:56 +01:00
Jonathan Daugherty
4ecf78fcb4 Bump version, update changelog 2020-11-13 21:42:29 -08:00
Jonathan Daugherty
188772469f Types.Internal: make all fields of RenderState strict (fixes #260) 2020-11-13 21:36:12 -08:00
Jonathan Daugherty
c1c17b1295 Brick.Widgets.List: clean up imports 2020-11-09 20:16:04 -08:00
Jonathan Daugherty
d106dc1e72 TailDemo: add missing imports for some GHC versions 2020-11-09 19:55:43 -08:00
Jonathan Daugherty
500dcae65c README: note 2020-11-09 16:53:02 -08:00
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
3658d6b872 Whitespace 2020-09-18 11:45:27 -07:00
Jonathan Daugherty
84247be2b3 renderFinal: cleanup 2020-09-18 11:45:11 -07:00
Jonathan Daugherty
fa7c0fcd87 Whitespace 2020-09-18 10:58:39 -07:00
Jonathan Daugherty
f3f66446b9 App: improve haddock 2020-09-02 08:17:48 -07:00
Jonathan Daugherty
269fb1b205 updateFormState: add cautionary note 2020-09-01 09:39:29 -07:00
Jonathan Daugherty
b695d79c25 Forms: add updateFormState
This change adds a new function to update the state contained within
(and managed by) a Form. This function takes care of the details of
updating the form fields themselves to be consistent with the change in
underlying state.
2020-09-01 09:32:19 -07:00
Jonathan Daugherty
a5d7821ef9 Typo 2020-08-31 10:33:28 -07:00
Jonathan Daugherty
d01e51b9f2 TailDemo: improve approach to counting lines in thread 2020-08-24 14:19:58 -07:00
Jonathan Daugherty
d2ebc681d6 Add brick-tail-demo to "demos" flag build 2020-08-22 16:21:06 -07:00
Jonathan Daugherty
d509b46a31 Merge branch 'master' of github.com:jtdaugherty/brick into master 2020-08-22 16:06:45 -07:00
Jonathan Daugherty
660eb3b131 Add demo program for tail-style UI 2020-08-22 16:06:40 -07:00
Jonathan Daugherty
1d31720b86 viewport: add cautionary notes 2020-08-20 12:15:38 -07:00
Jonathan Daugherty
3e10049296 ProgressBar: handle near-endpoint cases more naturally (fixes #281)
This change makes it so that:
* Progress values that are near 0.0 but not large enough to cause the
  completed portion of the bar to take up at least one column will be
  changed so that there is one completed column of bar space.
* Progress values that are near 1.0 but still large enough to cause the
  completed portion of the bar to appear full will be changed so that
  there is still one column of incomplete bar space.
2020-08-16 15:14:00 -07:00
Jonathan Daugherty
27f8d20008
Merge pull request #279 from thomasjm/master
Add window width/height to Context
2020-08-10 17:36:35 -07:00
Tom McLaughlin
78b65f9fca Add window width/height to Context 2020-08-10 16:23:16 -07:00
Jonathan Daugherty
1385ebdcd7
Merge pull request #277 from RyanGlScott/ghc-8.10.2
Allow building with base-4.14.1.0 (GHC 8.10.2)
2020-08-10 09:54:30 -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
b8954e4d4e README: fixes 2020-07-25 19:44:02 -07:00
Jonathan Daugherty
9c6027ac67 README: use table for project list 2020-07-25 19:43:16 -07:00
Jonathan Daugherty
1b59700211 Add hascard to project list 2020-07-21 19:37:30 -07:00