Commit Graph

3194 Commits

Author SHA1 Message Date
Raffi Enficiaud
5afe82e43c Merge branch 'topic/fix-BOOST_TEST-string-tests' into next-internal
* topic/fix-BOOST_TEST-string-tests:
  BOOST_TEST string tests: protecting tests with API defines
2016-11-16 21:04:05 +01:00
Raffi Enficiaud
99422b5aed Merge branch 'bug/log-sink-token-can-use-colon' into topic/12531-run-test-with-colons
* bug/log-sink-token-can-use-colon:
  Bugfix token iterator ctor
  Merging tokens that start with \ or / with previous tokens
2016-11-11 16:12:50 +01:00
Raffi Enficiaud
87c089db61 Bugfix token iterator ctor 2016-11-11 16:12:25 +01:00
Raffi Enficiaud
123366c033 Merging tokens that start with \ or / with previous tokens 2016-11-11 16:12:25 +01:00
Raffi Enficiaud
d4ad12f9c7 BOOST_TEST string tests: protecting tests with API defines
- tests with BOOST_TEST_MACRO_LIMITED_SUPPORT do not have full support for string comparison
2016-11-09 11:05:17 +01:00
Raffi Enficiaud
c551223338 Change log 2016-11-09 08:46:13 +01:00
Raffi Enficiaud
86bcffea6d Boost.Test learned the '--version' command line argument
- added '--version' that prints information equivalent to "--build_info" and then exits
- prints the Boost.Test variant in use
- moved the definition of the BOOST_TEST_INCLUDED macro on the top of the files such that CLA can safely print the Boost.Test variant in use
- added smoke test
- Module name printing should use BOOST_TEST_MODULE (and not BOOST_TEST_MAIN): adding compilation check
2016-11-09 08:46:13 +01:00
Raffi Enficiaud
cd74a43a78 Merge branch 'develop'
* develop:
  Some cleanup on the fpe symbols
  Changelog update
  More smoke tests
  Bug fix default argument
  Adding smoke tests for the loggers issue
  Bugfix: cast to wrong type
  Change log update
  Fix unused parameter warnings/errors with gcc 6.
  Syntactic change silences latest gcc warnings about confusing 'if' statements.
  Updated change log
  trac 11756: fix usage of floating point exception macros
  Doc: fix type (trac 12506)
  Add, and update, documentation build targets.
2016-11-08 10:48:48 +01:00
Raffi Enficiaud
815c0963f1 Merge branch 'topic/11907-string-as-collection-error' into next-internal
* topic/11907-string-as-collection-error:
  Change log and doc update
  String comparison can now be used with BOOST_TEST additional compare options
  Making std::string compatible with string comparison backend

# Conflicts:
#	doc/closing_chapters/change_log.qbk
2016-11-08 10:47:50 +01:00
Raffi Enficiaud
15e84d93db Merge branch 'topic/12339-remove-blinking-from-color-output' into next-internal
* topic/12339-remove-blinking-from-color-output:
  Change log
  Now underlining the fatal errors instead of blinking
2016-11-08 10:45:51 +01:00
Raffi Enficiaud
8342c296cd Merge branch 'topic/12531-run-test-with-colons' into next-internal
* topic/12531-run-test-with-colons:
  Change log and breaking change annoucement
  Apparently the name appears as "test<struct_ns__X>" in Visual (instead of "test<ns__X>" on gcc like)
  Cleaning names with colons and fixing the proper demangling on all platforms
2016-11-08 10:45:40 +01:00
Raffi Enficiaud
3904480885 Minor documentation changes 2016-11-03 00:07:17 +01:00
Raffi Enficiaud
78943c7043 Change log and breaking change annoucement 2016-11-02 22:27:18 +01:00
Raffi Enficiaud
c3e6242e61 Apparently the name appears as "test<struct_ns__X>" in Visual (instead of "test<ns__X>" on gcc like) 2016-11-02 22:15:34 +01:00
Raffi Enficiaud
a83817def5 Cleaning names with colons and fixing the proper demangling on all platforms
- replacing colons with underscores in the names cleaning
- names generated by template elements were not properly demangled in all platforms: using now the boost.core demangling functions  (same as execution monitor)
- adding smoke tests and changing existing ones accordingly
2016-11-02 22:14:54 +01:00
Raffi Enficiaud
65ae5f4401 Change log and doc update 2016-11-02 22:03:19 +01:00
Raffi Enficiaud
923a84a2dd String comparison can now be used with BOOST_TEST additional compare options
- enabling modifiers per_element and lexicographic for strings
2016-11-02 22:03:19 +01:00
Raffi Enficiaud
3983783ecc Making std::string compatible with string comparison backend
- promoting std::string as a type convertible to basic_cstring
- changing the string comparison operator to account for basic_cstring convertible elements
- avoiding basic_cstring convertible elemets in collection comparison
- additional checks of the use of the adequate string comparator
- declaring string as a sequence for non C++11 compilers
2016-11-02 22:02:39 +01:00
Raffi Enficiaud
7f2c6baa1a Change log 2016-11-01 19:53:49 +01:00
Raffi Enficiaud
c843e26bc6 Now underlining the fatal errors instead of blinking 2016-11-01 19:36:27 +01:00
Raffi Enficiaud
cbbacca130 Merge branch 'topic/11756-floatingpoint-exception-macros' into next-internal
* topic/11756-floatingpoint-exception-macros:
  Some cleanup on the fpe symbols
  Updated change log
  trac 11756: fix usage of floating point exception macros

# Conflicts:
#	doc/closing_chapters/change_log.qbk
2016-10-31 23:20:29 +01:00
Raffi Enficiaud
bb5fd50d03 Some cleanup on the fpe symbols 2016-10-31 19:54:21 +01:00
Raffi Enficiaud
75242f64c8 Merge branch 'PR/remove-gcc6-warnings' into next-internal
* PR/remove-gcc6-warnings:
  Change log update
  Fix unused parameter warnings/errors with gcc 6.
  Syntactic change silences latest gcc warnings about confusing 'if' statements.
2016-10-31 17:14:32 +01:00
Raffi Enficiaud
4a4d40de1d Merge branch 'topic/12507-broken-report-sink' into next-internal
* topic/12507-broken-report-sink:
  Changelog update
  More smoke tests
  Bug fix default argument
  Adding smoke tests for the loggers issue
  Bugfix: cast to wrong type
2016-10-31 17:13:41 +01:00
Raffi Enficiaud
5d5c3e46f3 Changelog update 2016-10-31 17:13:20 +01:00
Raffi Enficiaud
86bf0fc9ae More smoke tests 2016-10-31 17:03:50 +01:00
Raffi Enficiaud
5ecc03c409 Bug fix default argument 2016-10-31 17:03:50 +01:00
Raffi Enficiaud
5d19adbe8f Adding smoke tests for the loggers issue 2016-10-31 17:03:50 +01:00
Raffi Enficiaud
ea7d1be4f5 Bugfix: cast to wrong type 2016-10-31 17:03:50 +01:00
Raffi Enficiaud
59b48d9239 Change log update 2016-10-18 23:49:27 +02:00
Romain Geissler
5473efb7a1 Fix unused parameter warnings/errors with gcc 6. 2016-10-18 23:48:10 +02:00
Edward Diener
a4e729b227 Syntactic change silences latest gcc warnings about confusing 'if' statements. 2016-10-18 23:43:18 +02:00
Raffi Enficiaud
90b57d1fc3 Updated change log
Signed-off-by: Raffi Enficiaud <raffi.enficiaud@free.fr>
2016-10-18 23:36:23 +02:00
André Draszik
eec86d1fbe trac 11756: fix usage of floating point exception macros
A fully standards conforming fenv.h does not have to define any FE_* macros, and if it does define them,
then it defines macros only for the FP exceptions it actually supports.

Correct usage requires a triple check:
1) Check BOOST_NO_FENV_H to see if the header is supported.
2) Include the header and then check FE_ALL_EXCEPT to see
   if any FP exceptions are supported.
3) Before using the individual FE_* macros, you need to
   check for their existence too as not all may be
   supported.

The reason is that some (notably FPU-less) architectures,
including mips*-nf, don't define/implement some of the
floating point constants, even though fenv.h is
available.

Other projects have similar issues, e.g. pixman, and apply similar work-arounds:
https://lists.freedesktop.org/archives/pixman/2014-February/003172.html

Architectures are notably also allowed to define FE_ALL_EXCEPT to 0!
Keeping this in mind, and knowing that the compiler will eliminate
code that can't be executed, we can change BOOST_FPE_ALL to be 0 for
the case of compiling using Clang and/or fenv.h being unavailable
as well, which allows simplification of the #ifdef's in
execution_monitor.ipp a bit.
2016-10-18 23:35:15 +02:00
Raffi Enficiaud
02f9a561bc Doc: fix type (trac 12506) 2016-10-18 23:11:52 +02:00
Rene Rivera
e786356936 Add, and update, documentation build targets. 2016-10-10 11:39:53 -05:00
Rene Rivera
78f4081973 Add, and update, documentation build targets. 2016-10-07 23:07:36 -05:00
Raffi Enficiaud
ec28bf875d Merge branch 'develop' 2016-09-16 08:54:04 +02:00
Raffi Enficiaud
611472f011 Merge branch 'topic/loggers-additional-cleanups' into develop
* topic/loggers-additional-cleanups:
  Loggers: now checking for --logger params correctness
  Logger: cleaned up and improved the API
  being able to add a custom formatter instead of having it in an 'invalid' state
  Additional cleanups
  Additional cleanup of unused fields
  Moving the logger setup into a dedicated function
2016-09-15 07:27:35 +02:00
Raffi Enficiaud
a733f5b951 Loggers: now checking for --logger params correctness
- checking for command line params for --logger
- handling errors properly
- printing informative messages
2016-09-14 18:05:35 +02:00
Raffi Enficiaud
f51aeac5b8 Logger: cleaned up and improved the API
- now experiencing the same behaviour as pre 1.62
- set_stream and set_threshold_level for the loggers are now mutating all loggers, not only the active ones
- renamed function
- when adding a custom logger, it is added to the set of loggers with CUSTOM
- updated the documentation
2016-09-14 14:57:46 +02:00
Raffi Enficiaud
97e039ec9d being able to add a custom formatter instead of having it in an 'invalid' state 2016-09-13 17:55:14 +02:00
Raffi Enficiaud
f60762a278 Additional cleanups 2016-09-06 20:28:01 +02:00
Raffi Enficiaud
38bdd315c1 Additional cleanup of unused fields 2016-09-06 20:28:01 +02:00
Raffi Enficiaud
5438f8bf2a Moving the logger setup into a dedicated function 2016-09-06 20:28:01 +02:00
Raffi Enficiaud
a0c0108770 Merge branch 'develop'
* develop:
  Change log update
  gcc 4.6: fixing failing tests
  gcc 4.6: fixing issues related to the new cla and C++11 not fully supported
  gcc 4.6: fixing issues related to operator<< not properly seen by the compiler
2016-09-06 20:17:05 +02:00
Raffi Enficiaud
37b6cd93fc Merge branch 'topic/12093-gcc-compilation-issues' into develop
* topic/12093-gcc-compilation-issues:
  Change log update
  gcc 4.6: fixing failing tests
  gcc 4.6: fixing issues related to the new cla and C++11 not fully supported
  gcc 4.6: fixing issues related to operator<< not properly seen by the compiler
2016-09-06 11:30:13 +02:00
Raffi Enficiaud
60c19d599f Change log update 2016-09-06 11:24:59 +02:00
Raffi Enficiaud
a355d6c09e gcc 4.6: fixing failing tests
- narrowing the tests according to additional features not taken into account
- fixing erroneus 'template' as disambiguator
2016-09-06 11:24:59 +02:00
Raffi Enficiaud
580501ef6f gcc 4.6: fixing issues related to the new cla and C++11 not fully supported
- adding C++11 required features for the new cla
- using a unique macro definition everywhere needed
2016-09-06 11:24:59 +02:00