2
0
mirror of https://github.com/boostorg/nowide.git synced 2026-02-22 03:22:32 +00:00
Commit Graph

143 Commits

Author SHA1 Message Date
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
Alexander Grund
16d98b0f15 Cleanup includes 2020-01-02 18:47:40 +01:00
Alexander Grund
558b32ad4d Revert "Use -std=gnu++xx on Appveyor because of ::setenv etc"
This reverts commit ac279483a6.
2020-01-02 18:47:39 +01:00
Alexander Grund
dd2d60eda3 Add benchmark for fstream 2020-01-02 18:47:38 +01:00
Alexander Grund
73a2929339 Merge pull request #28 from Flamefire/reademe
Add readme
2019-12-30 13:07:40 +01:00
Flamefire
e5795ac1bd Add readme 2019-12-30 13:01:14 +01:00
Flamefire
7ab4edb18e Remove usage of BOOST_WORKAROUND 2019-12-29 21:20:46 +01:00
Alexander Grund
a49eb68d65 Merge pull request #54 from Flamefire/docuInJamfile
Create documentation in jamfile
2019-12-29 17:46:54 +01:00
Flamefire
4177502c25 Add test for creating Boost docu 2019-12-29 17:43:02 +01:00
Flamefire
b1aa04fc0b Remove obsolete params from Doxyfile 2019-12-29 17:43:02 +01:00
Flamefire
f2ec713ad3 Remove generated docu 2019-12-29 15:09:52 +01:00
Flamefire
dffc65e93c Invoke doxygen directly from Jamfile 2019-12-29 15:09:51 +01:00
Flamefire
f74d4241e1 Add basic doc/Jamfile 2019-12-29 15:09:51 +01:00
Flamefire
02b5e632a8 Rename main.txt to main.md 2019-12-29 15:09:50 +01:00
Alexander Grund
0e3447fed3 Merge pull request #52 from Flamefire/style
Enforce uniform style
2019-12-29 15:08:22 +01:00
Alexander Grund
b977e3de04 Merge pull request #53 from Flamefire/install
Disable installation when used with boost superproject
2019-12-28 17:59:55 +01:00
Flamefire
b7d007bd09 Disable installation when used with boost superproject 2019-12-28 16:35:20 +01:00
Flamefire
0f3f4ea69c Add missing include 2019-12-28 16:02:31 +01:00
Flamefire
8687ed581a Add style checks to CI 2019-12-28 16:02:31 +01:00
Flamefire
87aeeff2c9 Change to doc dir before calling doxygen 2019-12-28 16:02:31 +01:00
Flamefire
3bd6eed183 Enforce uniform formatting via clang-format 2019-12-28 16:02:31 +01:00
Flamefire
2142deca46 Update Doxyfile 2019-12-28 16:02:31 +01:00
Alexander Grund
c3dd00723f Merge pull request #27 from Flamefire/cmake
Create proper CMake files
2019-12-27 18:05:58 +01:00
Flamefire
f0274b7179 Use hidden visibility 2019-12-27 14:26:31 +01:00
Flamefire
3bf16a5e59 Don't use DEFINE_SYMBOL
It is not set in the INTERFACE part
2019-12-27 14:26:31 +01:00
Flamefire
5ebf2cb2be Disable installation for superbuild
static_assert and smart_ptr are missing installation targets
2019-12-27 14:26:31 +01:00
Flamefire
27e04866be Install libc++-helpers for travis tests 2019-12-27 14:26:31 +01:00
Flamefire
b94e9b834e Add tests for Boost superproject build 2019-12-27 14:26:31 +01:00
Flamefire
d357f7108f Add CI for CMake project + consumer test 2019-12-27 14:26:31 +01:00
Flamefire
3d6c001fc4 Add proper CMake files 2019-12-27 14:26: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
4110393815 Remove dependency on encoding_utf
Function utf_to_utf is no longer used
2019-12-25 15:32:08 +01:00
Flamefire
bf51a60bb9 Use boost/detail/workaround
Compatibility with Boost < 1.65
2019-12-20 20:34:47 +01:00
Alexander Grund
92f3e0c189 Merge pull request #51 from Flamefire/feature/travis_improvements
Reduce number of Linux jobs run on PRs
2019-12-19 09:22:58 +01:00
Alexander Grund
60b30f6323 Merge pull request #49 from Flamefire/pedantic_warnings
Enable pedantic warnings for tests and fix detected issues
2019-12-18 17:00:36 +01:00
Flamefire
b0cef1c680 Reduce number of Linux jobs run on PRs
The library is mostly for windows, so there isn't much to test on Linux
Reduce to oldest and most recent compilers
But still test all on pushes to eventually detect compiler version specific issues

Fixes #50
2019-12-18 14:59:36 +01:00
Flamefire
ddcbf8ab6d Simplify travis.yml 2019-12-18 14:59:33 +01:00
Flamefire
1d50c27dce Fix some warnings 2019-12-18 14:47:14 +01:00
Flamefire
91b3d90b49 Enable pedantic warnings & Werror for tests 2019-12-18 14:46:18 +01:00
Flamefire
bb743eedce Reduce dependency on Boost.Filesystem
Sort test cases in Jamfile and add missing one
2019-12-18 14:46:15 +01:00
Flamefire
e0ef69a71a Remove duplicate call to GetCommandLineW 2019-12-15 11:17:02 +01:00
Alexander Grund
38cc7bd64a Merge pull request #29 from Flamefire/getcmdlineException
Add exceptions if winApi calls fail
2019-12-14 20:52:15 +01:00
Alexander Grund
9d6c93e055 Merge pull request #24 from Flamefire/putEnvFix
Add test for putenv without equals sign
2019-12-14 19:09:09 +01:00
Flamefire
ea99c1d1ca Avoid memory leak in fix_args/fix_env
Throwing bad_alloc from vector::resize could leak memory
2019-12-14 17:51:58 +01:00
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
2988c60f61 Handle failure in putenv caused by GLIBC extension
The GNU C library implementation provides a nonstandard extension.
If string does not include an equal sign:

putenv("NAME");

then the named variable is removed from the caller's environment.
http://man7.org/linux/man-pages/man3/putenv.3.html
2019-12-14 15:47:53 +01:00
Flamefire
035a21bc9e Add test for putenv without equals sign
Reproducer for #14
2019-12-14 15:47:53 +01:00