Commit Graph

821 Commits

Author SHA1 Message Date
Jonathan Daugherty
eb1983d22d UnicodeWidthTable.Query: make bound configurable, make command-line tool customize it 2020-03-05 14:45:41 -08:00
Jonathan Daugherty
aebf480d1d buildUnicodeWidthTable: clarify exception handling 2020-03-05 14:38:40 -08:00
Jonathan Daugherty
2a76f765f4 UnicodeWidthTable.IO: expose bytestring parser 2020-03-05 14:37:46 -08:00
Jonathan Daugherty
69dfa280e9 cabal: remove ForeignFunctionInterface from default-extensions 2020-03-05 14:35:44 -08:00
Jonathan Daugherty
4e21a740e8 installUnicodeWidthTable: add a more obvious "do not use" comment 2020-03-05 14:33:20 -08:00
Jonathan Daugherty
5327c94b12 Graphics.Text.Width: add module docs 2020-03-05 14:31:38 -08:00
Jonathan Daugherty
3d8dbf6ffd UnicodeWidthTable.Query: significantly raise testing upper bound 2020-03-05 14:27:41 -08:00
Jonathan Daugherty
4401f55526 buildUnicodeWidthTable: clarify usage intention 2020-03-05 14:21:16 -08:00
Jonathan Daugherty
2dbecaa9fe UnicodeWidthTable.Types: update docs 2020-03-05 14:21:01 -08:00
Jonathan Daugherty
beef71e7b7 Table parsing: remove redundant explicit types in favor of explicit reader functions 2020-03-05 14:20:33 -08:00
Jonathan Daugherty
b54772ac1d Migrate mkVty docs on table loading to Config 2020-03-05 14:20:14 -08:00
Jonathan Daugherty
e8e3fa3ba8 vty_deallocate_custom_table: also reset size 2020-03-05 14:19:53 -08:00
Jonathan Daugherty
0de76e531e vty_custom_table_ready: simplify 2020-03-05 14:19:42 -08:00
Jonathan Daugherty
b988b6894e vty_set_custom_table_range: avoid overflow in test 2020-03-05 14:19:28 -08:00
Jonathan Daugherty
24b9c8c0f5 vty_init_custom_table: default to 1 for widths of unknown code points 2020-03-05 14:19:00 -08:00
Jonathan Daugherty
a2d9c0a165 vty_mk_wcwidth: return -1 on failure 2020-03-05 14:18:40 -08:00
Jonathan Daugherty
1dc1239b39 vty_mk_wcwidth: simplify check 2020-03-05 14:18:30 -08:00
Jonathan Daugherty
ee91cb6245 builtin_wcwidth: make static 2020-03-05 14:18:02 -08:00
Jonathan Daugherty
132d5b327c Whitespace 2020-03-05 13:06:23 -08:00
Jonathan Daugherty
3f04a3f3a2 Whitespace 2020-03-05 13:03:42 -08:00
Jonathan Daugherty
2732b1be08 mk_wcwidth.c: docs nit 2020-03-05 11:09:21 -08:00
Jonathan Daugherty
3cb9cfc6d8 mk_wcwidth.c: docs nit 2020-03-05 11:08:51 -08:00
Jonathan Daugherty
d8b33ab53e mk_wcwidth.c: docs nit 2020-03-05 11:08:36 -08:00
Jonathan Daugherty
904a5b1040 mk_wcwidth.c: nit 2020-03-05 11:07:08 -08:00
Jonathan Daugherty
a247079058 mk_wcwidth.c: nit 2020-03-05 11:06:01 -08:00
Jonathan Daugherty
5435e8f8b3 mkRanges: caveat 2020-03-05 10:20:35 -08:00
Jonathan Daugherty
5ed59bb70d Graphics.Vty.UnicodeWidthTable.Query: document mkRanges 2020-03-05 10:19:29 -08:00
Jonathan Daugherty
d0645568ef README: edits 2020-03-05 09:48:41 -08:00
Jonathan Daugherty
ec81fc9c36 README: more width table content 2020-03-05 09:47:34 -08:00
Jonathan Daugherty
4340e45816 README: edits 2020-03-05 09:43:33 -08:00
Jonathan Daugherty
e1384c3266 README: add documentation on custom character width tables 2020-03-05 09:40:36 -08:00
Jonathan Daugherty
ea655ee90d BuildWidthTable: fix bugs 2020-03-05 09:27:41 -08:00
Jonathan Daugherty
ba815c4995 cabal: remove stale comments 2020-03-05 09:23:28 -08:00
Jonathan Daugherty
f318856308 README: just remove defunct development notes section 2020-03-05 09:21:15 -08:00
Jonathan Daugherty
69ac506154 README: lots of edits and improvements 2020-03-05 09:19:55 -08:00
Jonathan Daugherty
32e6cab8f3 README: add feature bullet about width tables 2020-03-05 09:15:40 -08:00
Jonathan Daugherty
4e78cf806c Config: add documentation for "widthMap" directive 2020-03-05 09:12:44 -08:00
Jonathan Daugherty
f1b7839875 Config: expose vtyConfigPath, vtyConfigFileEnvName 2020-03-05 09:04:49 -08:00
Jonathan Daugherty
0bea225b6d Rename vty-build-table to vty-build-width-table, rename main source file 2020-03-05 08:39:16 -08:00
Jonathan Daugherty
4de0a40be0 Long line 2020-03-03 16:46:32 -08:00
Jonathan Daugherty
73950ca0de Add missing conditional import 2020-03-03 16:26:23 -08:00
Jonathan Daugherty
c1e534b991 Naming nit 2020-03-03 16:18:32 -08:00
Jonathan Daugherty
e07f287d07 installUnicodeWidthTable: on range population failure, deallocate the custom table 2020-03-03 16:17:02 -08:00
Jonathan Daugherty
7845acd565 Add missing conditional imports 2020-03-03 16:05:54 -08:00
Jonathan Daugherty
124436e1de installWidthTable: handle and log exceptions raised by readUnicodeWidthTable 2020-03-03 15:49:58 -08:00
Jonathan Daugherty
16d5f27832 installUnicodeWidthTable: improve documentation again 2020-03-03 13:13:41 -08:00
Jonathan Daugherty
36b72dc2ed installUnicodeWidthTable: improve documentation 2020-03-03 13:12:18 -08:00
Jonathan Daugherty
1545df3207 UnicodeWidthTable: documentation improvements 2020-03-03 13:07:05 -08:00
Jonathan Daugherty
1352476439 Vty: improve docstring 2020-03-03 09:38:04 -08:00
Jonathan Daugherty
a3c009b69a Haddock formatting fix 2020-03-03 09:34:57 -08:00