2
0
mirror of https://github.com/boostorg/nowide.git synced 2026-02-21 15:12:30 +00:00
Commit Graph

22 Commits

Author SHA1 Message Date
Alexander Grund
a54481131d Fix build on MinGW/Cygwin when -std=c++nn is passed
That flag forces ISO conformance removing the declarations of the
required _w* functions.
Move the implementations using those into source files and undef
__STRICT_ANSI__ inside that file

Also allows to not use the *_s functions on MSVC as
_CRT_SECURE_NO_WARNINGS can be safely define inside the cpp files.
2020-02-25 15:00:36 +01:00
Alexander Grund
7854435d8e Switch pointer alignment to left
Consistency with rest of boost
2020-01-07 21:27:26 +01:00
Alexander Grund
bb2487351f Use west-const
Almost all of boost does, so be nice stay consistent
2020-01-07 21:26:12 +01:00
Alexander Grund
b19c25376c Rename namespace details -> detail
As per common convention
2020-01-07 21:05:18 +01:00
Alexander Grund
1168f607bb Remove vim format tags 2020-01-07 19:41:33 +01:00
Alexander Grund
3f59d86076 Merge pull request #57 from Flamefire/docu
Update docu
2020-01-05 20:17:00 +01:00
Flamefire
7ab8bb4cba Compare != FALSE instead of == TRUE
The return value of the WinAPI is defined to be non-zero, but not required to be 1/TRUE
2020-01-05 16:29:18 +01:00
Flamefire
4955f32899 Fix potentially untied streams
When using LTCG/LTO the unused initializer might be optimized out.
Move the operation to the ctor
2020-01-05 16:25:40 +01:00
Alexander Grund
16d98b0f15 Cleanup includes 2020-01-02 18:47:40 +01:00
Flamefire
3bd6eed183 Enforce uniform formatting via clang-format 2019-12-28 16:02:31 +01:00
Flamefire
f95ef16706 Remove dependency on Boost.Locale
Copy utf.hpp from Boost.Locale
2019-12-27 14:26:31 +01:00
Flamefire
1d50c27dce Fix some warnings 2019-12-18 14:47:14 +01:00
Flamefire
f2e95fc899 Remove trailing whitespace 2019-12-14 15:47:01 +01:00
Flamefire
14d9b27140 Remove some unnecessary define checks 2019-12-14 15:47:00 +01:00
Flamefire
7549c80457 Include C++ headers instead of C variants 2019-12-14 13:35:37 +01:00
Flamefire
bfd05a5e76 Fix conversion warnings 2019-12-14 10:31:45 +01:00
Peter Dimov
ddb2794705 Merge branch 'feature/temp-review-fixes' into feature/merge-review-fixes
Conflicts:
	include/boost/nowide/utf8_codecvt.hpp
	test/test_codecvt.cpp
	test/test_convert.cpp
	test/test_fs.cpp
2019-12-04 19:50:59 +02:00
Peter Dimov
c28727b9b3 Remove tabs 2019-12-03 22:13:56 +02:00
Artyom Beilis
11a7d83c1c Updates after review notes use U+FFFD instead of flagging error in case of invalid utf-8 2018-04-08 00:21:13 +03:00
Artyom Beilis
9b3c367868 Fixed major comparibility issues with iostream 2017-06-10 14:25:13 +03:00
Michael Smith
f2cda7a4a8 Fix iostream output on older Windows
WriteConsoleW originally required the lpNumberOfCharsWritten argument.
That seems to have changed in later releases, but is required for
Windows Server 2003 and 2008. Fix a seg fault by passing the required
argument.
2015-12-07 10:39:52 -08:00
Artyom Beilis
bfbca14bd3 Moved various files according to new boost format 2015-10-01 18:57:14 +03:00