From 90f4367b8d8867a79dea2f8a5e3ea04eff82d9b8 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Sat, 3 Sep 2005 11:13:28 +0000 Subject: [PATCH] Ported ICU integration code to VC6/7. Added some needed std lib #includes. Reworked gcc separate file template instantiation code. [SVN r30791] --- doc/Attic/history.html | 13 +- doc/history.html | 13 +- example/Jamfile | 2 +- include/boost/regex/icu.hpp | 106 +++++++++++--- include/boost/regex/v4/basic_regex.hpp | 13 +- include/boost/regex/v4/cpp_regex_traits.hpp | 1 + include/boost/regex/v4/instances.hpp | 49 ++++++- include/boost/regex/v4/iterator_traits.hpp | 11 ++ include/boost/regex/v4/perl_matcher.hpp | 22 +-- .../boost/regex/v4/perl_matcher_common.hpp | 9 ++ include/boost/regex/v4/regex_raw_buffer.hpp | 1 + include/boost/regex/v4/u32regex_iterator.hpp | 3 +- .../regex/v4/u32regex_token_iterator.hpp | 19 ++- src/icu.cpp | 42 +++++- test/regress/test_icu.cpp | 135 ++++++++++++++++-- test/regress/test_unicode.cpp | 10 +- 16 files changed, 392 insertions(+), 57 deletions(-) diff --git a/doc/Attic/history.html b/doc/Attic/history.html index bc9db007..a050fe0a 100644 --- a/doc/Attic/history.html +++ b/doc/Attic/history.html @@ -35,8 +35,8 @@ Moved declarations class-inline in static_mutex.hpp so that SGI Irix compiler can cope.
  • - Added missing #includes to fileiter.hpp and cpp_regex_traits.hpp, this is - probably an SGI Irix specific fix. + Added needed standard library #includes to fileiter.hpp, regex_workaround.hpp + and cpp_regex_traits.hpp.
  • Fixed a bug where non-greedy repeats could in certain strange curcumstances repeat more times than their maximum value. @@ -50,11 +50,14 @@ Disabled external templates for Intel C++ 8.0 and earlier - otherwise unresolved references can occur.
  • + Rewritten extern template code for gcc so that only specific member functions + are exported: otherwise strange unresolved references can occur when linking + and mixing debug and non-debug code. +
  • Initialise all the data members of the unicode_iterators: this keeps gcc from issuing needless warnings.
  • - Added needed header include to regex_workaround.hpp: appears to be an - MSVC+STLport 5 specific problem.
  • + Ported the ICU integration code to VC6 and VC7.

    Boost 1.33.0.

    + Ported the ICU integration code to VC6 and VC7.

    Boost 1.33.0.