Commit Graph

30 Commits

Author SHA1 Message Date
Peter Dimov
72d3e96c73 Disable English-dependent test; fixes #39. 2019-03-16 19:51:21 +02:00
Peter Dimov
2fa0a00583 Make Boost.System header-only 2018-09-16 03:04:19 +03:00
Peter Dimov
6ea02e2668 Reenable test_throws_usage() under UBSAN 2018-01-29 02:36:50 +02:00
Peter Dimov
5866fbb2b2 Do not test boost::throws() under -fsanitize=undefined 2018-01-21 17:38:01 +02:00
Peter Dimov
829a1320a7 Replace BOOST_SYSTEM_NO_DEPRECATED with BOOST_SYSTEM_ENABLE_DEPRECATED 2017-10-21 19:19:57 +03:00
Beman
e039a454cf Hand add the fix from github.com/boostorg/system/pull/12. Note: This fix was verified by testing in release mode with clang 4.0 on Linux. It crashed before applying the P/R and passed afterwards. The pull request was applied by hand to add some new comments and do some other minor code rearrangements. Thanks to Visigoth for the P/R. 2017-09-07 16:36:48 -04:00
Beman
1bb5b95ebd Rewrite the boost::throws() reference documentation. Add tests of boost::throws() using the divide() function from the reference documentation. Having tests will allow us to change the implementation of throws() without fear of silently breaking it. 2017-09-07 15:00:26 -04:00
Peter Dimov
ef2b755d77 Fix <winerror.h> include in error_code_test on cygwin/mingw 2017-06-13 19:34:28 +03:00
Beman
800fce3aaf Neither MinGW or Cygwin versions of winerror.h work if used alone, so on either of these platforms include the full windows.h. Move reporting of configuration to a separate config_test.cpp program, and expand the coverage to report more macros. 2014-08-01 10:49:40 -04:00
Beman
0d0e14b3c5 Show more macros as defined or not defined to aid regression test interpretation. 2014-08-01 07:19:58 -04:00
Beman Dawes
08ea984237 Use C++11 explicit conversion operator if available
[SVN r83210]
2013-02-28 20:55:07 +00:00
Beman Dawes
baae3a392a Upgrade system and filesystem to conform system_category and generic_category interface to N3090, the current C++0x working paper, section 19.5, System error support.
Refactor API macros into a new header, boost/system/api_config.hpp.

Prohibit user definition of API macros. Rationale: ensure all translation units use same definitions, cut number of environments that need to be tested.

[SVN r62313]
2010-05-30 15:38:32 +00:00
Beman Dawes
2bb0075e3f Major upgrade to Boost.Config symbol visibility macros for shared libraries, based on patches from Jürgen Hunold with mods by Beman Dawes. Upgrade Boost.System to use the new visibility macros. Fixes #3697 and provides foundation for fixing 2114, 2309, etc.
[SVN r62140]
2010-05-22 12:12:00 +00:00
Beman Dawes
2f6659f39e Fix #3927
[SVN r59673]
2010-02-13 17:08:39 +00:00
Beman Dawes
fd0605bd7e System, Filesystem: remove boost/detail/test_framework.hpp; use boost/detail/lightweight_test.hpp instead (Thanks to Peter Dimov for pointing this out)
[SVN r51966]
2009-03-25 12:11:47 +00:00
Beman Dawes
83db702d99 System: removed dependency on Boost.Test
[SVN r51960]
2009-03-24 15:38:10 +00:00
Beman Dawes
98a757dbf7 Fix ticket #1609
[SVN r45830]
2008-05-27 20:01:15 +00:00
Beman Dawes
966931ad20 Include system-specific headers, change namespaces accordingly.
[SVN r41040]
2007-11-12 17:42:42 +00:00
Beman Dawes
8d33f005b0 Borland appends newline, so just check text
[SVN r40926]
2007-11-08 12:35:50 +00:00
Beman Dawes
f9cbc5a384 Cope with larger errno on 64-bit systems
[SVN r40918]
2007-11-08 02:55:21 +00:00
Beman Dawes
d8116dd036 Remove prematurely committed portion of prior change
[SVN r40825]
2007-11-06 02:54:29 +00:00
Beman Dawes
c517a05702 Make message test conditional for Windows, Linux, HP-UX, OSF, and VMS (Boris Gubenko)
[SVN r40824]
2007-11-06 02:29:50 +00:00
Beman Dawes
c4ded309f8 Add message display to illuminate why aCC fails Unknown error test
[SVN r40782]
2007-11-05 12:36:41 +00:00
Beman Dawes
323dfd55a5 glibc++ may append unknown error value, so only test first part of string
[SVN r40738]
2007-11-04 15:32:03 +00:00
Beman Dawes
e0c466534b Detect Windows FormatMessage errors, standardize message() return on message-not-found errors
[SVN r40710]
2007-11-03 00:49:07 +00:00
Christopher Kohlhoff
4a364b1532 Use a switch rather than an array to translate system_category error codes to their corresponding default error conditions. Add translations for the Winsock error codes.
[SVN r39502]
2007-09-24 12:53:37 +00:00
Beman Dawes
0a283a8f00 Ensure error_category::operator< test works regardless of how compiler lays out memory.
[SVN r39248]
2007-09-13 21:47:25 +00:00
Beman Dawes
e062aaff2f Posix and Linux fixes
[SVN r39174]
2007-09-09 17:48:17 +00:00
Beman Dawes
04e774f337 Merge system and filesystem branches, bringing them in sync with N2415. Several filesystem bugs fixed, and current_path setter added.
[SVN r39173]
2007-09-09 14:59:10 +00:00
Beman Dawes
f3c8c74656 Bring into compliance with N2066, TR2 Diagnostics Enhancements. Tests passing on Win32, Linux, on most modern compilers.
[SVN r35823]
2006-11-03 16:57:30 +00:00