Commit Graph

2101 Commits

Author SHA1 Message Date
Jonathan Daugherty
64b6cf35c2 README: remove note about twitter 2024-07-07 13:22:45 -07:00
Jonathan Daugherty
c08481b01f Fix doc upload script mode 2024-07-05 14:49:19 -07:00
Jonathan Daugherty
373d900f10 Bump version, update changelog 2024-07-05 14:48:20 -07:00
Jonathan Daugherty
6929129e9c Keybindings: normalize parsed and constructed key bindings with modifiers to lowercase
This change fixes a bug where it was possible to parse and construct key
bindings for capitalized characters with modifiers, thus leading to
unusable bindings in terminal applications. This is because a binding
like

   Ctrl-X

can never be generated by a terminal because it always arrives as

   Ctrl-x

Prior to this patch, if a user wrote "Ctrl-X" in a keybinding
configuration file or used the library API to construct such a binding,
it would be accepted but would lead to a binding that was never usable
at runtime for the reason explained above.

This patch updates the library API to always normalize constructed and
parsed key bindings to lowercase when modifiers are present.
2024-07-02 18:08:41 -07:00
Jonathan Daugherty
79c9317b43 Bump version, update changelog 2024-06-30 09:04:31 -07:00
Jonathan Daugherty
bd2225259e Remove useless TODOs 2024-06-29 22:46:29 -07:00
Jonathan Daugherty
d09f31e789
Merge pull request #511 from xsebek/keybinding-name-from-just
Replace keybinding name fromJust with maybe

This change fixes a problem where a key event with no name in a KeyEvents would cause a fromJust exception in the pretty-printer. This change ensure that the pretty-printer falls back to a placeholder representation for the key event.
2024-06-29 22:44:37 -07:00
Ondřej Šebek
7015b403ba
Replace keybinding name fromJust with maybe 2024-06-29 17:24:32 +02:00
Jonathan Daugherty
764e66897e
Merge pull request #508 from kquick/filebrowser_trailing_slash 2024-05-06 23:17:17 -07:00
Kevin Quick
82749eda23
Remove trailing slash from FileBrowser initial directory specification. 2024-05-06 22:21:58 -07:00
Jonathan Daugherty
2254bc0874
Merge pull request #503 from goosedb/master 2024-03-13 10:51:33 -07:00
goosedb
5df2de0d0b add monalog 2024-03-14 00:18:51 +07:00
Jonathan Daugherty
843a05a86e README: sort featured projects by name, but case-insensitively 2024-03-11 13:31:23 -07:00
Jonathan Daugherty
29cc54ff6f README: sort featured projects by name 2024-03-11 13:30:26 -07:00
Jonathan Daugherty
e99246aff7 README: add homodoro project 2024-03-08 21:27:41 -08:00
Jonathan Daugherty
bd22179ea4
Merge pull request #497 from jhrcek/jhrcek/update-ci 2024-01-07 09:02:39 -08:00
Jan Hrček
88f501c0e0 Add ghc 9.6 and 9.8 to CI config 2024-01-07 13:27:00 +01:00
Jonathan Daugherty
89a317a83b Add documentation upload script 2023-12-29 16:48:03 -08:00
Jonathan Daugherty
fc6f5eed07 Bump version, update changelog 2023-12-21 09:33:16 -08:00
Jonathan Daugherty
2e0925303d Forms: fix check for field focus in renderFormFieldState when the focus mode is ShowAugmentedField 2023-12-21 09:32:47 -08:00
Jonathan Daugherty
293df29db8 Bump version, update changelog 2023-12-21 09:06:17 -08:00
Jonathan Daugherty
d8f076baca Forms: add new ShowAugmentedField constructor and behavior to FormFieldVisibilityMode 2023-12-21 09:06:07 -08:00
Jonathan Daugherty
2207b45731 Forms: rename ShowAugmentedField to ShowCompositeField to make its name better match its behavior 2023-12-21 09:05:32 -08:00
Jonathan Daugherty
acec57cb03 Bump version, update changelog 2023-12-17 16:44:18 -08:00
Jonathan Daugherty
12fff78b9e Whitespace 2023-12-17 16:41:21 -08:00
Jonathan Daugherty
10d247ec9a Forms: add FormFieldVisibilityMode type and setFieldVisibilityMode function (fixes #496) 2023-12-17 16:40:46 -08:00
Jonathan Daugherty
31f94e1b76 Update test suite to use vty-crossplatform 2023-12-15 09:34:56 -08:00
Jonathan Daugherty
01827e29c7 Remove stale import 2023-12-13 20:38:39 -08:00
Jonathan Daugherty
4d694988d8
Merge pull request #495 from hapytex/issues/typo-guide 2023-12-02 23:32:27 -08:00
willeM_ Van Onsem
4e16e2834c
fixed typo in guide.rst
Was reported by https://stackoverflow.com/questions/77592508/brick-documentation-guide
2023-12-03 08:30:08 +01:00
Jonathan Daugherty
d93cdfca45 defaultMain: update documentation 2023-11-09 16:37:04 -08:00
Jonathan Daugherty
6ca86613b5 Bump version, update changelog 2023-11-09 16:34:42 -08:00
Jonathan Daugherty
b8c7afc9e9 defaultMain: shut down Vty handle returned by customMainWithDefaultVty 2023-11-09 16:33:37 -08:00
Jonathan Daugherty
d7565bc42f Add project 2023-11-09 08:06:59 -08:00
Jonathan Daugherty
6cb85dd46c
RADME.md: add additional note about platform support 2023-11-05 15:25:19 -08:00
Jonathan Daugherty
986266c18a Bump version, update changelog 2023-11-03 21:08:56 -07:00
Jonathan Daugherty
c1aef1106e Add Brick.Main.customMainWithDefaultVty (fixes #488) 2023-11-03 17:25:12 -07:00
Jonathan Daugherty
3852513d21
Merge pull request #487 from erikd/master
Make it build with ghc 9.8 (update deps only)
2023-10-31 20:03:05 -07:00
Erik de Castro Lopo
aabdfd1949 Make it build with ghc 9.8 (update deps only) 2023-11-01 10:51:05 +11:00
Jonathan Daugherty
4917138095 Update test suite to build with vty-unix and vty 6 2023-10-30 15:13:47 -07:00
Jonathan Daugherty
f1c680201e Raise vty lower bound to 6.0 2023-10-30 15:02:26 -07:00
Jonathan Daugherty
bc1eaf660b Merge master 2023-10-30 14:59:26 -07:00
Jonathan Daugherty
28432d49df Bump version, update changelog 2023-10-25 10:18:04 -07:00
Jonathan Daugherty
016d97fecd Merge branch 'refactor/vty-crossplatform' of github.com:jtdaugherty/brick into refactor/vty-crossplatform 2023-10-25 10:09:49 -07:00
Jonathan Daugherty
814302edda README: add a note about Windows support 2023-10-25 10:09:44 -07:00
Jonathan Daugherty
687574e80d guide: edit 2023-10-24 19:40:36 -07:00
Jonathan Daugherty
d2fedbbae6 Merge branch 'refactor/vty-crossplatform' of github.com:jtdaugherty/brick into refactor/vty-crossplatform 2023-10-24 14:38:10 -07:00
Jonathan Daugherty
c1eeeb1d01 guide: update for vty 6 2023-10-24 14:38:05 -07:00
Jonathan Daugherty
53d9b207e2 Migrate from unix to unix-compat 2023-10-24 13:22:59 -07:00
Jonathan Daugherty
d442145c78 Merge branch 'master' into refactor/vty-crossplatform 2023-10-22 19:55:22 -07:00