Commit Graph

13 Commits

Author SHA1 Message Date
Kirill Elagin
5fa3cd8398 chore: Bump deps to build with GHC 9.2.1 2021-11-13 13:56:29 -05:00
Kirill Elagin
1f195f8052 Release v1.0.2.0 2020-05-15 16:32:49 +03:00
Kirill Elagin
7f0d0d619c license: Remove header from changelog to make Hackage happy 2020-05-15 16:24:53 +03:00
Kirill Elagin
e595be6575 utf8-troubleshoot: Update Changelog 2020-05-15 16:22:53 +03:00
Kirill Elagin
976e81391a Release v1.0.1.0 2020-04-21 02:19:08 +03:00
Kirill Elagin
28a16678d5 Bump base for GHC 8.10 2020-04-21 02:15:19 +03:00
Kirill Elagin
b42026b313 troubleshoot: Make the troubleshooting tool 2020-04-21 01:40:36 +03:00
Kirill Elagin
380afc64d4 Release v1.0.0.0 2020-03-04 00:06:35 -05:00
Kirill Elagin
40069d4b2b Allow not changing file handles to UTF-8
The old interface only allowed one to perform terminal detection on a
handle and change it to UTF-8 if it was not a terminal. Turns our, it
makes sense to sometimes leave the original encoding on a handle even if
it does not point to a terminal.

* Change the interface to separate these two use-cases.
* Extract main-wrappers to a new `Main` module.
2020-02-17 19:39:40 -05:00
Kirill Elagin
5b98b490bc Implement hWithEncoding
This function allows one to not only safely set the best encoding on a
file descriptor, but also restore the previous one. The idea is that it
will be used on file descriptors that come from the outside and so we
don’t know how they were used and will be used after us.
2020-02-16 21:49:07 -05:00
Kirill Elagin
35e2ea5ce2 Add missing CHANGELOG entry
The changelog entry for `hSetEncoding` was missing.

Add it.
2020-02-16 21:48:20 -05:00
Kirill Elagin
08407bbe4d First version 2020-02-15 19:15:52 -05:00
Kirill Elagin
b7b3ef4bc5 Initialise repository 2020-02-15 19:08:31 -05:00