2
0
mirror of https://github.com/boostorg/nowide.git synced 2026-02-26 04:42:24 +00:00
Commit Graph

32 Commits

Author SHA1 Message Date
Flamefire
f2e95fc899 Remove trailing whitespace 2019-12-14 15:47:01 +01:00
Flamefire
a067f5808b Remove Debug code 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
872c8eb37f Fix iostream test
The standard guarantees only a putback of 1 char on stdin, our implementation has support for more
Also test that the values read on stdin are indeed UTF-8
2019-12-13 21:14:35 +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
98cda02480 Change line endings to LF 2019-12-04 19:37:20 +02:00
Peter Dimov
6df39fc829 Switch back to using test.hpp in tests 2019-12-04 16:29:56 +02:00
Peter Dimov
00024d47f6 Revert test/test.hpp 2019-12-04 16:22:03 +02:00
Peter Dimov
103a65a4ea Add import testing ; to test/Jamfile 2019-12-03 22:11:33 +02:00
Peter Dimov
45411c1cf6 Disable putback('a') test on libc++, as it fails 2019-12-03 20:25:53 +02:00
Peter Dimov
5d162694d3 Flush or seek is necessary between output and input (Alexander Grund) 2019-12-03 19:15:18 +02:00
Peter Dimov
c8fd7bc25a Revert "Disable 'complex io' test for libc++ as its std::fstream fails it"
This reverts commit 071a434d1d.
2019-12-03 19:11:47 +02:00
Peter Dimov
071a434d1d Disable 'complex io' test for libc++ as its std::fstream fails it 2019-12-03 17:54:43 +02:00
Peter Dimov
aad40783ec Use file prefix in test_fstream 2019-12-03 16:33:40 +02:00
Peter Dimov
3b20019524 Add missing include 2019-12-03 16:28:40 +02:00
Peter Dimov
ac7b93b55d Use lightweight_test 2019-12-03 16:21:45 +02:00
Peter Dimov
a233584d1e Add a unique prefix to all temporary files to allow parallel testing 2019-12-03 16:06:04 +02:00
Peter Dimov
92ca903c18 Add copyright and license 2019-12-03 15:49:37 +02:00
Peter Dimov
ccdd1ad1ee Fix line endings and whitespace 2019-12-03 06:54:10 +02:00
Peter Dimov
f84620d1f2 Use a random prefix instead of a temp directory, because Cygwin has separate win32 and posix cwd 2019-12-03 06:49:53 +02:00
Peter Dimov
56bcf134a6 Add copyright and license 2019-12-03 06:48:35 +02:00
Peter Dimov
8dc69504ca Disable MS deprecation messages using _CRT_SECURE_NO_WARNINGS, because this works for clang-cl as well 2019-12-03 04:46:53 +02:00
Peter Dimov
e4fe4faa47 Use a temporary directory for test_fstream.cpp, because of -jN 2019-12-03 04:39:35 +02:00
Peter Dimov
f050d64cb2 Use a temporary directory for test_fs.cpp, because of -jN 2019-12-03 04:34:29 +02:00
Peter Dimov
9142b93cfb Simplify test/Jamfile 2019-12-03 02:36:27 +02:00
Peter Dimov
51c3cfd01b Fix a few library name references 2019-12-03 00:42:19 +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
a711f32087 * Added utf8 codecvt_facet
* Added integration with boost::filesystem
2015-10-07 16:49:15 +03:00
Artyom Beilis
c1e3d80ffa Added C++11 fstream interfaces supporting std::string 2015-10-06 08:50:22 +03:00
Artyom Beilis
eaff48de29 Added support of std::ios::ate 2015-10-06 08:28:28 +03:00
Artyom Beilis
bfbca14bd3 Moved various files according to new boost format 2015-10-01 18:57:14 +03:00