From 196865d37f41db5bd45ead19d0cee257d4310a3a Mon Sep 17 00:00:00 2001 From: Eric Niebler Date: Thu, 3 May 2007 01:18:48 +0000 Subject: [PATCH 01/17] fix xincludes of doxygen-generated reference sections [SVN r37571] --- doc/tribool.boostbook | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/tribool.boostbook b/doc/tribool.boostbook index ede46f7..cad384d 100644 --- a/doc/tribool.boostbook +++ b/doc/tribool.boostbook @@ -2,7 +2,7 @@ + last-revision="$Date: 2007/05/03 01:18:48 $" xmlns:xi="http://www.w3.org/2001/XInclude"> Douglas @@ -197,7 +197,7 @@ cout << boolalpha << x << endl; // Prints "maybe" - + From 23af176127104e2c3b5262abc92de88b109e26ab Mon Sep 17 00:00:00 2001 From: Eric Niebler Date: Thu, 3 May 2007 03:28:53 +0000 Subject: [PATCH 02/17] fix typo [SVN r37572] --- doc/tribool.boostbook | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/tribool.boostbook b/doc/tribool.boostbook index cad384d..1fa199a 100644 --- a/doc/tribool.boostbook +++ b/doc/tribool.boostbook @@ -2,7 +2,7 @@ + last-revision="$Date: 2007/05/03 03:28:53 $" xmlns:xi="http://www.w3.org/2001/XInclude"> Douglas @@ -197,7 +197,7 @@ cout << boolalpha << x << endl; // Prints "maybe" - From d1f46c8f98b8fdbc8161379a00dddbcea34eb055 Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Wed, 8 Aug 2007 19:02:26 +0000 Subject: [PATCH 03/17] Remove V1 Jamfiles [SVN r38516] --- test/Jamfile | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 test/Jamfile diff --git a/test/Jamfile b/test/Jamfile deleted file mode 100644 index ac5ec21..0000000 --- a/test/Jamfile +++ /dev/null @@ -1,35 +0,0 @@ -# Tribool library - -# Copyright (C) 2002-2003 Douglas Gregor - -# Use, modification and distribution is subject to the Boost Software License, -# Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at -# http://www.boost.org/LICENSE_1_0.txt) - -# For more information, see http://www.boost.org/ - - -# Testing Jamfile autogenerated from XML source -subproject libs/logic/test ; - -# bring in rules for testing -SEARCH on testing.jam = $(BOOST_BUILD_PATH) ; -include testing.jam ; - -# Make tests run by default. -DEPENDS all : test ; - -{ - # look in BOOST_ROOT for sources first, just in this Jamfile - local SEARCH_SOURCE = $(BOOST_ROOT) $(SEARCH_SOURCE) ; - - test-suite logic - : - [ run libs/logic/test/tribool_test.cpp : : : : ] - - [ run libs/logic/test/tribool_rename_test.cpp : : : : ] - - [ run libs/logic/test/tribool_io_test.cpp : : : : ] - ; -} - \ No newline at end of file From 15b34d0bf4c16304adabe38bd7671aa0653233a9 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Mon, 22 Oct 2007 19:37:05 +0000 Subject: [PATCH 04/17] Fix warnings from GCC 4.3. Fixes #1337 [SVN r40299] --- include/boost/logic/tribool.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/logic/tribool.hpp b/include/boost/logic/tribool.hpp index 2cc501c..229feb4 100644 --- a/include/boost/logic/tribool.hpp +++ b/include/boost/logic/tribool.hpp @@ -336,7 +336,7 @@ inline tribool operator==(tribool x, tribool y) if (indeterminate(x) || indeterminate(y)) return indeterminate; else - return x && y || !x && !y; + return (x && y) || (!x && !y); } /** @@ -399,7 +399,7 @@ inline tribool operator!=(tribool x, tribool y) if (indeterminate(x) || indeterminate(y)) return indeterminate; else - return !(x && y || !x && !y); + return !((x && y) || (!x && !y)); } /** From 24117db3aea17b43e6d312286ada392cecf02296 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Fri, 25 Jan 2008 21:07:14 +0000 Subject: [PATCH 05/17] Include to get std::boolalpha. Fixes #1586 [SVN r42972] --- test/tribool_io_test.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/test/tribool_io_test.cpp b/test/tribool_io_test.cpp index d7254f1..84bce90 100644 --- a/test/tribool_io_test.cpp +++ b/test/tribool_io_test.cpp @@ -8,6 +8,7 @@ #include #include #include +#include // for std::boolalpha #ifndef BOOST_NO_STD_LOCALE # include From 9df9f3daf6edff385a3cac5edad7f1be81009c56 Mon Sep 17 00:00:00 2001 From: "Michael A. Jackson" Date: Sat, 1 Nov 2008 13:15:41 +0000 Subject: [PATCH 06/17] Continuing merge of CMake build system files into trunk with the encouragement of Doug Gregor [SVN r49510] --- CMakeLists.txt | 21 +++++++++++++++++++++ test/CMakeLists.txt | 3 +++ 2 files changed, 24 insertions(+) create mode 100644 CMakeLists.txt create mode 100644 test/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..8c18935 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,21 @@ +#---------------------------------------------------------------------------- +# This file was automatically generated from the original CMakeLists.txt file +# Add a variable to hold the headers for the library +set (lib_headers + logic +) + +# Add a library target to the build system +boost_library_project( + logic + # SRCDIRS + TESTDIRS test + HEADERS ${lib_headers} + # DOCDIRS + # DESCRIPTION + MODULARIZED + # AUTHORS + # MAINTAINERS +) + + diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt new file mode 100644 index 0000000..c9d79fb --- /dev/null +++ b/test/CMakeLists.txt @@ -0,0 +1,3 @@ +boost_test_run(tribool_test) +boost_test_run(tribool_rename_test) +boost_test_run(tribool_io_test) From 84313760a57d9029543b12abfe0c121e4fe1b0c5 Mon Sep 17 00:00:00 2001 From: "Michael A. Jackson" Date: Fri, 7 Nov 2008 17:02:56 +0000 Subject: [PATCH 07/17] Updating CMake files to latest trunk. Added dependency information for regression tests and a few new macros for internal use. [SVN r49627] --- test/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index c9d79fb..6b5507d 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,3 +1,6 @@ +boost_additional_test_dependencies(logic BOOST_DEPENDS test) + + boost_test_run(tribool_test) boost_test_run(tribool_rename_test) boost_test_run(tribool_io_test) From 44aa483237f9236b6a06b5967787d629f8de2f7c Mon Sep 17 00:00:00 2001 From: "Michael A. Jackson" Date: Fri, 7 Nov 2008 17:05:27 +0000 Subject: [PATCH 08/17] Updating dependency information for modularized libraries. [SVN r49628] --- module.cmake | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 module.cmake diff --git a/module.cmake b/module.cmake new file mode 100644 index 0000000..4b1423f --- /dev/null +++ b/module.cmake @@ -0,0 +1,3 @@ +boost_module(logic DEPENDS config detail) + + From 233cfca75c1f72535141efaba537c1e01fbc08c3 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Tue, 17 Feb 2009 10:05:58 +0000 Subject: [PATCH 09/17] Add PDF generation options to fix external links to point to the web site. Added a few more Boostbook based libs that were missed first time around. Fixed PDF naming issues. [SVN r51284] --- doc/Jamfile.v2 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/Jamfile.v2 b/doc/Jamfile.v2 index d3e2e3c..2e166bd 100644 --- a/doc/Jamfile.v2 +++ b/doc/Jamfile.v2 @@ -6,4 +6,9 @@ doxygen reference : [ glob ../../../boost/logic/tribool.hpp ] [ glob ../../../boost/logic/tribool_fwd.hpp ] [ glob ../../../boost/logic/tribool_io.hpp ] ; -boostbook tribool : tribool.boostbook ; +boostbook tribool + : + tribool.boostbook + : + pdf:boost.url.prefix=http://www.boost.org/doc/libs/release/doc/html + ; From 246d1ee6df3537b8e7420f01a82fed1b58178388 Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Sat, 30 May 2009 06:36:18 +0000 Subject: [PATCH 10/17] Fix gcc -Wshadow warnings in tribool. Fixes #3093. 1/2 of the patch provided by Dustin Spicuzza. [SVN r53429] --- include/boost/logic/tribool.hpp | 2 +- include/boost/logic/tribool_io.hpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/boost/logic/tribool.hpp b/include/boost/logic/tribool.hpp index 229feb4..2dfa3be 100644 --- a/include/boost/logic/tribool.hpp +++ b/include/boost/logic/tribool.hpp @@ -93,7 +93,7 @@ public: * * \throws nothrow */ - tribool(bool value) : value(value? true_value : false_value) {} + tribool(bool initial_value) : value(initial_value? true_value : false_value) {} /** * Construct a new 3-state boolean value with an indeterminate value. diff --git a/include/boost/logic/tribool_io.hpp b/include/boost/logic/tribool_io.hpp index 3a05927..9ee34d4 100644 --- a/include/boost/logic/tribool_io.hpp +++ b/include/boost/logic/tribool_io.hpp @@ -140,7 +140,8 @@ public: indeterminate_name() : name_(get_default_indeterminate_name()) {} /// Construct the facet with the given name for the indeterminate value - explicit indeterminate_name(const string_type& name) : name_(name) {} + explicit indeterminate_name(const string_type& initial_name) + : name_(initial_name) {} /// Returns the name for the indeterminate value string_type name() const { return name_; } From a582587b225acad9158a7e75afaa6b96ce6540b6 Mon Sep 17 00:00:00 2001 From: "Troy D. Straszheim" Date: Sun, 26 Jul 2009 00:49:56 +0000 Subject: [PATCH 11/17] Copyrights on CMakeLists.txt to keep them from clogging up the inspect reports. This is essentially the same commit as r55095 on the release branch. [SVN r55159] --- CMakeLists.txt | 6 ++++++ test/CMakeLists.txt | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8c18935..da915e5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,3 +1,9 @@ +# +# Copyright Troy D. Straszheim +# +# Distributed under the Boost Software License, Version 1.0. +# See http://www.boost.org/LICENSE_1_0.txt +# #---------------------------------------------------------------------------- # This file was automatically generated from the original CMakeLists.txt file # Add a variable to hold the headers for the library diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 6b5507d..7684320 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,3 +1,9 @@ +# +# Copyright Troy D. Straszheim +# +# Distributed under the Boost Software License, Version 1.0. +# See http://www.boost.org/LICENSE_1_0.txt +# boost_additional_test_dependencies(logic BOOST_DEPENDS test) From 5aaba307a6c35a6f0b19330178bfc830aec4da75 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Sun, 23 Aug 2009 10:07:25 +0000 Subject: [PATCH 12/17] Add depencies on doxygen documentation to standalone documentation targets. This seems to be needed for building pdfs. [SVN r55729] --- doc/Jamfile.v2 | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/Jamfile.v2 b/doc/Jamfile.v2 index 2e166bd..41c0dcc 100644 --- a/doc/Jamfile.v2 +++ b/doc/Jamfile.v2 @@ -11,4 +11,5 @@ boostbook tribool tribool.boostbook : pdf:boost.url.prefix=http://www.boost.org/doc/libs/release/doc/html + reference ; From 6c6cc7dce3faa375da23748ce8baa42570406486 Mon Sep 17 00:00:00 2001 From: "Troy D. Straszheim" Date: Sat, 17 Oct 2009 02:07:38 +0000 Subject: [PATCH 13/17] rm cmake from trunk. I'm not entirely sure this is necessary to satisfy the inspect script, but I'm not taking any chances, and it is easy to put back [SVN r56942] --- CMakeLists.txt | 27 --------------------------- module.cmake | 3 --- test/CMakeLists.txt | 12 ------------ 3 files changed, 42 deletions(-) delete mode 100644 CMakeLists.txt delete mode 100644 module.cmake delete mode 100644 test/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt deleted file mode 100644 index da915e5..0000000 --- a/CMakeLists.txt +++ /dev/null @@ -1,27 +0,0 @@ -# -# Copyright Troy D. Straszheim -# -# Distributed under the Boost Software License, Version 1.0. -# See http://www.boost.org/LICENSE_1_0.txt -# -#---------------------------------------------------------------------------- -# This file was automatically generated from the original CMakeLists.txt file -# Add a variable to hold the headers for the library -set (lib_headers - logic -) - -# Add a library target to the build system -boost_library_project( - logic - # SRCDIRS - TESTDIRS test - HEADERS ${lib_headers} - # DOCDIRS - # DESCRIPTION - MODULARIZED - # AUTHORS - # MAINTAINERS -) - - diff --git a/module.cmake b/module.cmake deleted file mode 100644 index 4b1423f..0000000 --- a/module.cmake +++ /dev/null @@ -1,3 +0,0 @@ -boost_module(logic DEPENDS config detail) - - diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt deleted file mode 100644 index 7684320..0000000 --- a/test/CMakeLists.txt +++ /dev/null @@ -1,12 +0,0 @@ -# -# Copyright Troy D. Straszheim -# -# Distributed under the Boost Software License, Version 1.0. -# See http://www.boost.org/LICENSE_1_0.txt -# -boost_additional_test_dependencies(logic BOOST_DEPENDS test) - - -boost_test_run(tribool_test) -boost_test_run(tribool_rename_test) -boost_test_run(tribool_io_test) From 62e9529e093334821c9c37a342bd9fc9375c769f Mon Sep 17 00:00:00 2001 From: Jeremiah Willcock Date: Sat, 28 Nov 2009 17:05:54 +0000 Subject: [PATCH 14/17] Removed unused parameter; fixes #3600 [SVN r58007] --- include/boost/logic/tribool.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/logic/tribool.hpp b/include/boost/logic/tribool.hpp index 2dfa3be..90cba3e 100644 --- a/include/boost/logic/tribool.hpp +++ b/include/boost/logic/tribool.hpp @@ -452,7 +452,7 @@ namespace boost { #define BOOST_TRIBOOL_THIRD_STATE(Name) \ inline bool \ Name(boost::logic::tribool x, \ - boost::logic::detail::indeterminate_t dummy = \ + boost::logic::detail::indeterminate_t = \ boost::logic::detail::indeterminate_t()) \ { return x.value == boost::logic::tribool::indeterminate_value; } From 9e230b17ef7b07ab8b94d1c0165adfb28ac1fc76 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Sun, 20 Jun 2010 18:00:48 +0000 Subject: [PATCH 15/17] Update various libraries' documentation build. Mostly to use the images and css files under doc/src instead of doc/html, usually be deleting the settings in order to use the defaults. Also add 'boost.root' to some builds in order to fix links which rely on it. [SVN r63146] --- doc/Jamfile.v2 | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/Jamfile.v2 b/doc/Jamfile.v2 index 41c0dcc..48e587f 100644 --- a/doc/Jamfile.v2 +++ b/doc/Jamfile.v2 @@ -10,6 +10,7 @@ boostbook tribool : tribool.boostbook : + boost.root=../../../.. pdf:boost.url.prefix=http://www.boost.org/doc/libs/release/doc/html reference ; From 9c4577cce36d00f4c5f45e5123aae8268535ef9e Mon Sep 17 00:00:00 2001 From: Daniel James Date: Sat, 26 Jun 2010 12:10:47 +0000 Subject: [PATCH 16/17] Detab some jamfiles. [SVN r63343] --- doc/Jamfile.v2 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/Jamfile.v2 b/doc/Jamfile.v2 index 48e587f..422ea5e 100644 --- a/doc/Jamfile.v2 +++ b/doc/Jamfile.v2 @@ -7,10 +7,10 @@ doxygen reference : [ glob ../../../boost/logic/tribool.hpp ] [ glob ../../../boost/logic/tribool_io.hpp ] ; boostbook tribool - : - tribool.boostbook - : - boost.root=../../../.. + : + tribool.boostbook + : + boost.root=../../../.. pdf:boost.url.prefix=http://www.boost.org/doc/libs/release/doc/html reference - ; + ; From 31af87e6ae5b305887cdbbec2bc9fa846ff7ab0e Mon Sep 17 00:00:00 2001 From: Daniel James Date: Fri, 29 Apr 2011 11:03:48 +0000 Subject: [PATCH 17/17] Tribool: add a redirect to the docs. [SVN r71603] --- index.html | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 index.html diff --git a/index.html b/index.html new file mode 100644 index 0000000..6ae39d4 --- /dev/null +++ b/index.html @@ -0,0 +1,16 @@ + + + + + + + + +Automatic redirection failed, please go to +../../doc/html/tribool.html + +