Alexander Grund
58773bbcf3
Add debug output to test_system
2020-03-28 17:51:44 +01:00
Alexander Grund
db2640a183
Use updated boost-ci with less repetition
2020-03-28 16:23:35 +01:00
Alexander Grund
24aa73f60f
Hide appveyor and AzP CI scripts
2020-03-28 14:50:24 +01:00
Alexander Grund
3498100cce
Merge pull request #81 from Flamefire/cmake_superproject
...
Disable Boost CMake build on master in GHA
2020-03-25 19:30:25 +01:00
Alexander Grund
b87193c052
Fix OSX build on AzP
2020-03-25 19:12:48 +01:00
Alexander Grund
80241c4705
Remove outdated vs2015-win2012r2 image from AzP
2020-03-25 16:21:12 +01:00
Alexander Grund
1c16c68d06
Limit AzP jobs
2020-03-25 15:52:02 +01:00
Alexander Grund
0854d2fb35
Disable Boost CMake build on master in GHA
2020-03-25 15:47:57 +01:00
Alexander Grund
e5b6e08ecd
Add Azure Pipelines
2020-03-25 15:17:05 +01:00
Alexander Grund
f89f9cd229
Merge pull request #79 from Flamefire/superproject_build
...
Move superproject build into own job and disable on master
2020-03-25 11:12:17 +01:00
Alexander Grund
f93e7398b1
Move superproject build into own job and disable on master
2020-03-25 08:15:57 +01:00
Alexander Grund
7cf83cf3fc
Merge pull request #77 from Flamefire/final_fixes
...
Preparation for release
2020-03-19 13:42:54 +01:00
Alexander Grund
1146d50786
Try harder to put string on stack in stackstring
2020-03-19 11:32:22 +01:00
Alexander Grund
a314765320
Fix potential buffer overflow in iostreams
...
Unify conversion if input and output stream replacing invalid chars
Use max_width to determine buffer size
Add assertions
2020-03-18 23:01:18 +01:00
Alexander Grund
b345a84a75
Remove some explicit template params
2020-03-18 21:13:39 +01:00
Alexander Grund
7a66fa9e68
Add release workflow
2020-03-15 22:43:39 +01:00
Alexander Grund
b1e58e6d0c
Improve create_standalone.sh
...
Add LICENSE
Fix boost::filesystem integration
2020-03-15 22:43:39 +01:00
Alexander Grund
6ba99135d0
Add alternative via UTF-8 code page to docu
2020-03-15 22:43:39 +01:00
Alexander Grund
12b9baabd6
Reorganize badges in Readme
2020-03-15 22:43:39 +01:00
Alexander Grund
e8e7f06589
Merge pull request #76 from Flamefire/standalone
...
Allow building as standalone (No Boost references at all)
2020-03-15 20:38:55 +01:00
Alexander Grund
7054b4b2a6
Allow building as standalone (No Boost references at all)
...
Update conversion script
Fix references in Code
Add tests
2020-03-15 18:44:21 +01:00
Alexander Grund
7d88aea35b
Merge pull request #75 from Flamefire/small_fixes
...
Fix coverity static analysis issues
2020-03-14 18:43:29 +01:00
Alexander Grund
5001420750
Fix default Config file in InstallTargets.cmake
2020-03-14 18:43:22 +01:00
Alexander Grund
3e0a7e33b1
Fix minor issues and improve stackstring tests
...
Make some functions protected to derive a test class from stackstring
which can be used to detect wether a stack or heap value is used
Fix or silence issues from static analyser findings
Double-check and handle surrogates in iostream
2020-03-14 17:46:49 +01:00
Alexander Grund
48911f9273
Run Coverity Scan on Windows instead
...
The reports on Linux are heavily incomplete due to the nature of this library
2020-03-14 16:01:07 +01:00
Alexander Grund
ece1779fd0
Make last_char_ and array of 1 element
...
Otherwise operations like &last_char_+1 are technically invalid as this
is not an array
2020-03-14 16:01:07 +01:00
Alexander Grund
5379ff55b4
Handle/Silence issues from coverity
2020-03-05 16:07:37 +01:00
Alexander Grund
c46bccae3d
Merge pull request #74 from Flamefire/coverage2
...
Include coverage from Windows
2020-03-04 16:19:33 +01:00
Alexander Grund
fcc85e7b96
Merge coverage collection with last job
2020-03-04 14:07:25 +01:00
Alexander Grund
229edc9aaf
Include coverage from Windows
2020-03-04 11:18:19 +01:00
Alexander Grund
2852f701be
Merge pull request #68 from Flamefire/add_move_ops
...
Add move ctor and assignment and swap functions to fstream and filebuf
2020-03-03 15:52:19 +01:00
Alexander Grund
0d88794202
Use boost-ci for appveyor
2020-03-03 13:20:08 +01:00
Alexander Grund
fe1a48193f
Use noexcept
2020-02-28 19:48:27 +01:00
Alexander Grund
acefe4358c
Disable C++11 features for libstdc++ <5
2020-02-28 19:44:59 +01:00
Alexander Grund
f00cafb095
Use boost-ci for travis, codecov, coverity
2020-02-28 19:35:40 +01:00
Alexander Grund
1efba9eec7
Add C++11 move ctor and assignment and swap functions
2020-02-28 19:35:38 +01:00
Alexander Grund
959d3d0146
Merge pull request #71 from Flamefire/fix_CI_and_bugs
...
Fix CI and bugs detected
2020-02-25 23:08:54 +01:00
Alexander Grund
3ff83bdc27
Use wchar_t overloads and custom filebuf also on cygwin
...
boost::filesystem::path uses wchar_t* on cygwin and cygwins std::filesystem::path may use it too
2020-02-25 19:47:51 +01:00
Alexander Grund
0804214f92
[Test] Fix tests for stackstring
...
Values that should go onto stack were put on heap invalidating some tests
2020-02-25 15:00:49 +01:00
Alexander Grund
6ae2d8aa9b
Fix crash on assignment of empty stackstring
...
Also add this as a testcase
2020-02-25 15:00:49 +01:00
Alexander Grund
b171658b0a
[Test] Improve test_stackstring
...
Show some progress
Test using stackstring in a vector
2020-02-25 15:00:49 +01:00
Alexander Grund
5d5bcae847
Use standard-compliant operations of std::ios_base::openmode
2020-02-25 15:00:49 +01:00
Alexander Grund
9e2d028864
Remove 'return' from void-returning open()
2020-02-25 15:00:49 +01:00
Alexander Grund
3e391eac15
Rename BOOST_NOWIDE_USE_FSTREAM_REPLACEMENTS to BOOST_NOWIDE_USE_FILEBUF_REPLACEMENT
2020-02-25 15:00:49 +01:00
Alexander Grund
c792d00d02
[CI] Test shared and static builds through b2
2020-02-25 15:00:49 +01:00
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
7474cb8b4a
Avoid CRT_SECURE_WARNINGS on clang-win
2020-02-24 18:00:48 +01:00
Alexander Grund
777ed33ad0
[Test] Improve fstream tests
...
- Add test for gcount after get/putback
- Remove "sanity" checks using std streams
- Avoid the need to test the superset of functionality and focus on
what Boost.Nowide (should) provide
- Also avoids compiler quirks (e.g. MSVC or libstdc++ behavior on putback)
2020-02-24 14:32:25 +01:00
Alexander Grund
6913461103
[CI] Disable fast-finish on appveyor
2020-02-24 13:31:57 +01:00
Alexander Grund
4cbfd4be41
[Test] Avoid message boxes on assertion failures
2020-02-24 13:31:57 +01:00