2
0
mirror of https://github.com/boostorg/nowide.git synced 2026-02-14 12:52:17 +00:00
Commit Graph

20 Commits

Author SHA1 Message Date
Alexander Grund
53809122df Allow passing string length to widen/narrow
This allows to use non-NULL-terminated strings as input
Also update the docs
2020-02-10 15:05:24 +01:00
Alexander Grund
bf8b679555 Improve conversion tests
- Move common test cases into test_sets
- Run test_sets with all variants of conversions
- Handle incomplete input in codecvt conversion test
2020-01-08 17:24:46 +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
1168f607bb Remove vim format tags 2020-01-07 19:41:33 +01:00
Alexander Grund
7e4e8c2194 Split tests for convert and stackstring 2020-01-02 18:47:55 +01:00
Alexander Grund
1bff7b670c Remove usage of Boost.LightweightTest
Tests assume TEST terminates execution on failure which is not how BLWT behaves
2020-01-02 18:47:46 +01:00
Alexander Grund
695fb73512 Make instances of stackstring const where possible 2020-01-02 18:47:44 +01:00
Alexander Grund
042e5ee28c Test Copy & Swap of stackstrings 2020-01-02 18:47:41 +01:00
Alexander Grund
e780cce5cb Initialize buffer of stackstring and test it 2020-01-02 18:47:41 +01:00
Flamefire
7ab4edb18e Remove usage of BOOST_WORKAROUND 2019-12-29 21:20:46 +01:00
Flamefire
3bd6eed183 Enforce uniform formatting via clang-format 2019-12-28 16:02:31 +01:00
Flamefire
bf51a60bb9 Use boost/detail/workaround
Compatibility with Boost < 1.65
2019-12-20 20:34:47 +01:00
Flamefire
1d50c27dce Fix some warnings 2019-12-18 14:47:14 +01:00
Flamefire
f213fd90f4 Fix exception path of tests
Even in case of exceptions boost::report_errors has to be called
2019-12-13 19:24:44 +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
6df39fc829 Switch back to using test.hpp in tests 2019-12-04 16:29:56 +02:00
Peter Dimov
ac7b93b55d Use lightweight_test 2019-12-03 16:21:45 +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
bfbca14bd3 Moved various files according to new boost format 2015-10-01 18:57:14 +03:00