Flamefire
72565401ea
Remove try-catch and document the thrown exception
...
The try-catch is not required because no exception can be thrown anymore.
Invalid UTF-16 (formerly indicated by an exception) is now replaced by the replacement character.
2019-12-14 17:51:58 +01:00
Flamefire
a5a4261161
Throw exception if WinAPI call fails
...
That should never happen so throw an exception just in case
2019-12-14 16:49:49 +01:00
Alexander Grund
43f3b274b1
Merge pull request #46 from Flamefire/cleanup
...
Minor cleanup
2019-12-14 16:45:30 +01:00
Flamefire
c3e19a2d13
Honor BOOST_USE_WINDOWS_H instead of BOOST_NOWIDE_USE_WINDOWS_H
2019-12-14 15:47:02 +01:00
Flamefire
0f15213b4f
Remove unused define BOOST_NOWIDE_STATIC_LINK
2019-12-14 15:47:01 +01:00
Flamefire
6d4ad15649
Add gitignore
2019-12-14 15:47:01 +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
1fc5a49e27
Remove wrong comments
2019-12-14 15:47:00 +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
bfd05a5e76
Fix conversion warnings
2019-12-14 10:31:45 +01:00
Alexander Grund
d4b4d2d638
Merge pull request #47 from Flamefire/fix_tests
...
Fix tests failing on CI
2019-12-14 10:30:58 +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
20ae1497f3
Remove review_notes.txt
2019-12-05 01:01:25 +02:00
Peter Dimov
20c3b2d937
Remove CMakeLists.txt
2019-12-05 01:01:11 +02: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
668a526c5a
Change line endings to LF
2019-12-04 19:31:05 +02:00
Peter Dimov
36794503ce
Add doc/html
2019-12-04 16:32:38 +02:00
Peter Dimov
878baf173f
Change repository links to boostorg
2019-12-04 16:31:30 +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
c28727b9b3
Remove tabs
2019-12-03 22:13:56 +02:00
Peter Dimov
c6a2e17868
Add missing newline at end
2019-12-03 22:12:51 +02:00
Peter Dimov
103a65a4ea
Add import testing ; to test/Jamfile
2019-12-03 22:11:33 +02:00
Peter Dimov
4a5cca68b0
Use trusty for clang++-libc++-ubsan, as clang 7 (on xenial) has a known issue with ubsan
2019-12-03 20:27:32 +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
3f202c6b38
Add meta/libraries.json
2019-12-03 18:29:18 +02:00
Peter Dimov
f85e5d180b
Add visibility=global to clang++-libc++-ubsan
2019-12-03 17:55:26 +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
78f6a9d6dc
clang-win 32 bit fails with 'unable to load mspdbcore.dll (error code: 126)'
2019-12-03 17:36:39 +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
9429a5ae92
Add visibility=global to Clang UBSan
2019-12-03 16:07:26 +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
5e91d73e91
libc++ on Xenial doesn't support C++17; add UBSan for OS X
2019-12-03 07:09:26 +02:00
Peter Dimov
fa316c9cff
Clang 3.5 on Xenial doesn't support C++14
2019-12-03 07:02:35 +02:00
Peter Dimov
e1c8cef442
Fix line endings and whitespace
2019-12-03 07:00:24 +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
75a87506d3
Update .travis.yml for xenial
2019-12-03 05:27:59 +02:00
Peter Dimov
6514dc979b
Create libs/nowide in .travis.yml
2019-12-03 04:51:18 +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