From b4d6fe14fe8121eee83ae2db461524fc96eeb5f3 Mon Sep 17 00:00:00 2001
From: Hartmut Kaiser
Date: Wed, 25 Aug 2004 11:32:47 +0000
Subject: [PATCH] Updated Wave for the Boost review in October.
[SVN r2281]
---
ChangeLog | 39 +-
build/Jamfile | 7 +-
build/Jamfile.v2 | 7 +-
doc/acknowledgements.html | 6 +-
doc/class_reference_context.html | 64 +-
doc/class_reference_fileposition.html | 14 +-
doc/class_reference_inputpolicy.html | 27 +-
doc/class_reference_lexer.html | 22 +-
doc/class_reference_tokentype.html | 30 +-
doc/class_reference_tracepolicy.html | 14 +-
doc/compiletime_config.html | 26 +-
doc/introduction.html | 11 +-
doc/macro_expansion_process.html | 12 +-
doc/predefined_macros.html | 12 +-
doc/preface.html | 15 +-
doc/preliminary_cpp0x_support.html | 317 -
doc/quickstart.html | 26 +-
doc/references.html | 12 +-
doc/samples.html | 10 +-
doc/supported_pragmas.html | 12 +-
doc/theme/style.css | 4 +
doc/token_ids.html | 12 +-
doc/tracing_facility.html | 16 +-
doc/wave_driver.html | 36 +-
include/boost/wave.hpp | 7 +-
include/boost/wave/cpp_context.hpp | 122 +-
include/boost/wave/cpp_exceptions.hpp | 16 +-
include/boost/wave/cpp_iteration_context.hpp | 30 +-
.../boost/wave/cpplexer/cpp_lex_interface.hpp | 17 +-
.../boost/wave/cpplexer/cpp_lex_iterator.hpp | 36 +-
include/boost/wave/cpplexer/cpp_lex_token.hpp | 27 +-
.../wave/cpplexer/cpplexer_exceptions.hpp | 7 +-
include/boost/wave/cpplexer/re2clex/aq.hpp | 11 +-
.../boost/wave/cpplexer/re2clex/cpp.re.hpp | 7 +-
.../wave/cpplexer/re2clex/cpp_re2c_lexer.hpp | 44 +-
.../boost/wave/cpplexer/re2clex/scanner.hpp | 11 +-
include/boost/wave/cpplexer/token_cache.hpp | 7 +-
.../wave/cpplexer/validate_universal_char.hpp | 7 +-
.../boost/wave/grammars/cpp_chlit_grammar.hpp | 11 +-
.../wave/grammars/cpp_defined_grammar.hpp | 52 +-
.../wave/grammars/cpp_defined_grammar_gen.hpp | 21 +-
.../wave/grammars/cpp_expression_grammar.hpp | 39 +-
.../grammars/cpp_expression_grammar_gen.hpp | 19 +-
.../wave/grammars/cpp_expression_value.hpp | 7 +-
include/boost/wave/grammars/cpp_grammar.hpp | 111 +-
.../boost/wave/grammars/cpp_grammar_gen.hpp | 29 +-
.../wave/grammars/cpp_intlit_grammar.hpp | 11 +-
.../wave/grammars/cpp_literal_grammar_gen.hpp | 7 +-
.../wave/grammars/cpp_predef_macros_gen.hpp | 13 +-
.../grammars/cpp_predef_macros_grammar.hpp | 7 +-
include/boost/wave/language_support.hpp | 60 +-
include/boost/wave/token_ids.hpp | 724 +-
include/boost/wave/trace_policies.hpp | 7 +-
include/boost/wave/util/cpp_ifblock.hpp | 7 +-
.../boost/wave/util/cpp_include_pathes.hpp | 7 +-
include/boost/wave/util/cpp_iterator.hpp | 476 +-
include/boost/wave/util/cpp_macromap.hpp | 1182 +---
include/boost/wave/util/eat_whitespace.hpp | 18 +-
include/boost/wave/util/file_position.hpp | 29 +-
include/boost/wave/util/functor_input.hpp | 7 +-
.../wave/util/insert_whitespace_detection.hpp | 7 +-
include/boost/wave/util/interpret_pragma.hpp | 49 +-
include/boost/wave/util/iteration_context.hpp | 7 +-
include/boost/wave/util/macro_definition.hpp | 7 +-
include/boost/wave/util/macro_helpers.hpp | 29 +-
include/boost/wave/util/pattern_parser.hpp | 7 +-
include/boost/wave/util/symbol_table.hpp | 337 +-
.../wave/util/time_conversion_helper.hpp | 7 +-
.../boost/wave/util/transform_iterator.hpp | 11 +-
.../boost/wave/util/unput_queue_iterator.hpp | 29 +-
include/boost/wave/wave_config.hpp | 50 +-
include/boost/wave/wave_version.hpp | 11 +-
index.html | 24 +-
samples/cpp_tokens/build/Jamfile | 7 +-
samples/cpp_tokens/build/Jamfile.v2 | 7 +-
samples/cpp_tokens/cpp_tokens.cpp | 23 +-
samples/cpp_tokens/cpp_tokens.hpp | 7 +-
samples/cpp_tokens/cpp_tokens_config.hpp | 27 +-
.../instantiate_cpp_exprgrammar.cpp | 13 +-
.../cpp_tokens/instantiate_cpp_grammar.cpp | 13 +-
.../instantiate_cpp_literalgrammars.cpp | 15 +-
.../instantiate_defined_grammar.cpp | 11 +-
samples/cpp_tokens/instantiate_slex_lexer.cpp | 7 +-
samples/cpp_tokens/slex/cpp_slex_lexer.hpp | 75 +-
samples/cpp_tokens/slex/lexer.hpp | 102 +-
samples/cpp_tokens/slex_interface.hpp | 17 +-
samples/cpp_tokens/slex_iterator.hpp | 25 +-
samples/cpp_tokens/slex_token.hpp | 27 +-
samples/list_includes/build/Jamfile | 7 +-
samples/list_includes/build/Jamfile.v2 | 7 +-
samples/list_includes/list_includes.cpp | 19 +-
samples/list_includes/list_includes.hpp | 7 +-
.../list_includes/list_includes_config.hpp | 30 +-
.../list_includes/list_includes_version.hpp | 7 +-
samples/quick_start/build/Jamfile | 7 +-
samples/quick_start/build/Jamfile.v2 | 7 +-
samples/quick_start/quick_start.cpp | 23 +-
samples/waveidl/build/Jamfile | 7 +-
samples/waveidl/build/Jamfile.v2 | 7 +-
samples/waveidl/idl.cpp | 52 +-
samples/waveidl/idl.hpp | 7 +-
samples/waveidl/idl_config.hpp | 15 +-
samples/waveidl/idl_version.hpp | 9 +-
samples/waveidl/idllexer/idl.re | 7 +-
samples/waveidl/idllexer/idl.re.cpp | 163 +-
samples/waveidl/idllexer/idl.re.hpp | 7 +-
.../waveidl/idllexer/idl_lex_interface.hpp | 17 +-
samples/waveidl/idllexer/idl_lex_iterator.hpp | 25 +-
samples/waveidl/idllexer/idl_re2c_lexer.hpp | 25 +-
samples/waveidl/instantiate_cpp_grammar.cpp | 11 +-
.../waveidl/instantiate_defined_grammar.cpp | 11 +-
samples/waveidl/instantiate_predef_macros.cpp | 11 +-
samples/waveidl/instantiate_re2c_lexer.cpp | 7 +-
.../waveidl/instantiate_re2c_lexer_string.cpp | 7 +-
src/cpplexer/re2clex/aq.cpp | 10 +-
src/cpplexer/re2clex/cpp.re | 17 +-
src/cpplexer/re2clex/cpp.re.cpp | 5910 ++++++++---------
src/instantiate_cpp_exprgrammar.cpp | 12 +-
src/instantiate_cpp_grammar.cpp | 12 +-
src/instantiate_cpp_literalgrammars.cpp | 14 +-
src/instantiate_defined_grammar.cpp | 12 +-
src/instantiate_predef_macros.cpp | 12 +-
src/instantiate_re2c_lexer.cpp | 10 +-
src/instantiate_re2c_lexer_string.cpp | 8 +-
tool/build/Jamfile | 7 +-
tool/build/Jamfile.v2 | 7 +-
tool/cpp.cpp | 75 +-
tool/cpp.hpp | 7 +-
tool/cpp_config.hpp | 201 +-
tool/cpp_version.hpp | 10 +-
tool/trace_macro_expansion.hpp | 8 +-
131 files changed, 4556 insertions(+), 7173 deletions(-)
delete mode 100644 doc/preliminary_cpp0x_support.html
diff --git a/ChangeLog b/ChangeLog
index db3f808..9fc4360 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,10 +1,9 @@
Wave: A Standard compliant C++ preprocessor library
-Copyright (c) 2001-2004 Hartmut Kaiser
http://spirit.sourceforge.net/
-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)
+Copyright (c) 2001-2004 Hartmut Kaiser. Distributed under 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)
-------------------------------------------------------------------------------
TODO (known issues):
@@ -16,14 +15,40 @@ TODO (known issues):
function.
- Fix the trigraph backslash problem in the re2c (C/C++ and IDL) scanners, if
there is the end of the (internal) buffer just in between a '??/' and a '\n'.
+
+- Do a sourceforge release.
+
+Wed Aug 25 13:23:27 WEDT 2004
+Version 1.1.7
+- Branched for Boost Release.
+- Removed several features from the code base:
+ . removed C++0x support
+ . removed TST support
+- Fixed the program_option validator syntax, which has changed since the last
+ update.
+- Removed misleading configuration options from the cpp_config.hpp file,
+ because the application will have to use the same config options as were used
+ during the compilation of the library.
+- Changed the naming convention of typedef'd types in the library. Removed the
+ _t suffix, wherever possible.
+- Updated the documentation to reflect the removal of the C++0x features.
+
+- Changed the licensing scheme to:
+// Copyright 2004 Joe Coder. Distributed under 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)
+
+Mon May 24 10:02:47 WEDT 2004
+Version 1.1.6
+- Fixed a incompatibility with the new program_options version.
Version 1.1.5
Version 1.0.6
- Fixed a bug, which reported an #include statement as ill formed, if it was
followed by an empty C comment only. This was an error in the cpp.re regular
- expression for C comments. Since this change simplified the Re2C generated
- lexer a lot it was possible to remove the compiler workaround for the VC7.1
- compiler which prevented the optimization of this lexer.
+ expression for C comments. Additionally, since this change simplified the
+ Re2C generated lexer a lot it was possible to remove the compiler workaround
+ for the VC7.1 compiler which prevented the optimization of this lexer.
Mon Mar 29 09:36:59 WEDT 2004
- Corrected the signature of the main() functions (was main(int, char const*[])).
diff --git a/build/Jamfile b/build/Jamfile
index 021372f..625faa3 100644
--- a/build/Jamfile
+++ b/build/Jamfile
@@ -2,12 +2,11 @@
#
# Boost Wave Library Build Jamfile
#
-# Copyright (c) 2001-2004 Hartmut Kaiser
# http://spirit.sourceforge.net/
#
-# 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)
+# Copyright (c) 2001-2004 Hartmut Kaiser. Distributed under 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)
subproject libs/wave/build ;
diff --git a/build/Jamfile.v2 b/build/Jamfile.v2
index 90e2f81..72ce658 100644
--- a/build/Jamfile.v2
+++ b/build/Jamfile.v2
@@ -2,12 +2,11 @@
#
# Boost Wave Library Build Jamfile
#
-# Copyright (c) 2001-2004 Hartmut Kaiser
# http://spirit.sourceforge.net/
#
-# 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)
+# Copyright (c) 2001-2004 Hartmut Kaiser. Distributed under 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)
project boost/wave
: source-location ../src
diff --git a/doc/acknowledgements.html b/doc/acknowledgements.html
index 66021e6..60fc20a 100644
--- a/doc/acknowledgements.html
+++ b/doc/acknowledgements.html
@@ -30,7 +30,7 @@
testcases used for testing the correctness of the macro expansion.
Dan Nuffer, who wrote the initial Re2C based C++ lexer and the Slex
(Spirit Lex) scanner generator sample.
- Martin Wille for helping with the port to linux, testing on linux and for contributing
+
Martin Wille for helping with the port to Linux, testing on Linux and for contributing
the automated test scripts.
Vladimir Prus for helping with the command line and config file options
analysis fro the Wave driver executable.
@@ -76,11 +76,11 @@ a policy based std::basic_string<> compatible string implementation.
Copyright © 2003-2004 Hartmut Kaiser
- Use, modification and distribution is subject to the Boost Software
+ Distributed under 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)
Last updated:
- Thursday, February 12, 2004 6:43
+ Saturday, August 21, 2004 20:01