ObjFW  All files named "src/OFStdIOStream_Win32Console.h"

History for src/OFStdIOStream_Win32Console.h

2019-06-17
02:33
Deleted: Remove underscores from class names check-in: [17d57e01ff] user: js, branch: trunk, size: 0
2019-01-03
19:13
Update copyright file: [03ed6af464] check-in: [0509d7a844] user: js, branch: trunk, size: 916 [annotate] [blame] [check-ins using] [diff]
2018-02-25
04:31
Reintroduce of_char{16,32}_t

There is no reliable way to check if C++ already defined those, as Clang
now defines char{16,32}_t even when it is not in C++ 11 mode. So we
cannot check if we are not in C++ 11 and then define them and otherwise
rely on the C++ 11 types. file: [caf3ff9ea1] check-in: [505137f25f] user: js, branch: trunk, size: 910 [annotate] [blame] [check-ins using] [diff]

2018-01-03
19:49
Update copyright notice file: [a9981c21d1] check-in: [7e5c81e186] user: js, branch: trunk, size: 907 [annotate] [blame] [check-ins using] [diff]
2017-05-07
21:25
Use char{16,32}_t instead of of_char{16,32}_t file: [7474e168e1] check-in: [37d2a81754] user: js, branch: trunk, size: 884 [annotate] [blame] [check-ins using] [diff]
2017-01-09
17:36
Update copyright

Forgot to add 2017, even though I already did quite some changes in
2017. file: [a92cd57ff8] check-in: [44f45c2e35] user: js, branch: trunk, size: 887 [annotate] [blame] [check-ins using] [diff]

2016-03-13
19:33
OFStdIOStream_Win32Console: Improve writing

When writing an incomplete surrogate, it now writes everything up to
that incomplete surrogate, remembers the incomplete surrogate and writes
it as soon as the surrogate is completed by a following write. file: [b8fefbb451] check-in: [3a0fdb6701] user: js, branch: trunk, size: 881 [annotate] [blame] [check-ins using] [diff]

10:24
OFStdIOStream_Win32Console: Improve reading

On reads, surrogates that have been cut off are now properly handled. file: [34f51c6008] check-in: [566d4df603] user: js, branch: trunk, size: 804 [annotate] [blame] [check-ins using] [diff]

2016-03-12
20:28
Added: Properly handle UTF-8 in Win32 console

The previous way was to set the codepage to UTF-8, however, this does
not work properly on some versions of Windows.

Instead, this catches reads / writes on of_std* on the lowlevel,
interprets it as UTF-8, converts it to / from UTF-16 and then uses
ReadConsoleW() / WriteConsoleW().

Surrogates being cut in the middle is not properly handled yet, this
will be implemented in a follow up commit. file: [5329f7273d] check-in: [3e1b6bccbc] user: js, branch: trunk, size: 769 [annotate] [blame] [check-ins using]