Compare commits

...

89 Commits

Author SHA1 Message Date
Vladimir Prus 61391335fa Create maintenance branch for 1.41.
[SVN r57781]
2009-11-19 06:09:27 +00:00
Beman Dawes ad4d7ae5ae Release 1.41.0
[SVN r57747]
2009-11-18 14:58:26 +00:00
John Maddock 95ddff1f01 Suppress gcc-4.4.1 warnings.
[SVN r57366]
2009-11-04 17:22:59 +00:00
Troy D. Straszheim d8c6fe7ce8 rm cmake from the release branch before it goes out broken. Policy dictates that you never commit to release, you commit to trunk and merge to release.
[SVN r56941]
2009-10-17 01:10:45 +00:00
Vladimir Prus 438dcae4e4 Merge: Don't add leading slash to every path.
[SVN r55732]
2009-08-23 15:53:38 +00:00
Vladimir Prus 7f89732479 Merge: Force shared runtime if using ICU.
[SVN r55699]
2009-08-21 16:55:51 +00:00
John Maddock a3b2f4031d Merge updates from Trunk.
Fixes #2713.

[SVN r55383]
2009-08-03 12:00:07 +00:00
John Maddock 513a205564 Update version number.
[SVN r55269]
2009-07-29 17:21:36 +00:00
Troy D. Straszheim 01eadc4ab6 Add basic copyright/license to keep cmake out of the inspection report
[SVN r55095]
2009-07-22 21:51:01 +00:00
Douglas Gregor be62e08702 Regex depends on Thread
[SVN r52816]
2009-05-07 04:37:40 +00:00
Vladimir Prus 3b8aca5d8b Merge from trunk
[SVN r52379]
2009-04-14 08:33:45 +00:00
David Deakins 8f15600081 Windows CE does not define the wcscoll function from the CRT so, for WinCE, don't try to pull wcscoll from the global namespace into the std namespace.
[SVN r52222]
2009-04-06 21:37:24 +00:00
John Maddock 3e903e9c8e Merge PDF build changes from Trunk.
[SVN r51417]
2009-02-23 18:39:32 +00:00
Troy D. Straszheim 083ea3a6c7 merge of cmake build files from trunk per beman
[SVN r50756]
2009-01-24 18:57:20 +00:00
John Maddock 2d43c1b305 Merge FreeBSD patch.
[SVN r50532]
2009-01-10 12:01:09 +00:00
John Maddock e81f710567 Merge changes in Trunk.
[SVN r50499]
2009-01-07 13:19:32 +00:00
John Maddock 3b3a3ce6d1 Merged updated docs with some typo fixes, also adding missing makefile.
[SVN r49460]
2008-10-27 13:52:23 +00:00
John Maddock 5e4ccdf0cf Fix version names in makefiles.
[SVN r49360]
2008-10-16 12:59:28 +00:00
Vladimir Prus 371ad14a3f Merge from trunk
[SVN r49356]
2008-10-16 09:01:02 +00:00
John Maddock 9219aa0b5b Merge inspection report fixes from Trunk: remove tabs.
[SVN r49285]
2008-10-11 16:18:15 +00:00
John Maddock 5471176846 Merge changes from Trunk ready for 1.37.
[SVN r48796]
2008-09-16 11:54:24 +00:00
John Maddock 756a875620 Merge doc fixes from trunk.
[SVN r47798]
2008-07-25 09:58:49 +00:00
John Maddock b7d906dff5 Fixes #2097.
[SVN r47320]
2008-07-11 18:00:41 +00:00
John Maddock a08e8b5c85 Merge changes from Trunk.
[SVN r47307]
2008-07-11 11:49:03 +00:00
Daniel James 9546df1f23 Rebuild a lot of documentation.
[SVN r43650]
2008-03-16 11:38:32 +00:00
John Maddock b39edff796 Added missing files.
[SVN r43631]
2008-03-15 18:18:41 +00:00
John Maddock 788c8a8470 Merged doc fixes from Trunk.
[SVN r43352]
2008-02-21 13:23:29 +00:00
John Maddock c527b20062 Merge fix fix for inspect issue.
[SVN r43149]
2008-02-07 10:27:23 +00:00
John Maddock a65bccab1c Merge TR1 patches for VC9 + MS TR1 implementation from main Trunk.
[SVN r42761]
2008-01-14 13:47:39 +00:00
John Maddock 8fffb1250e Fix doc typos.
[SVN r42748]
2008-01-14 10:06:29 +00:00
John Maddock 069e845239 Merge bug fixes from main Trunk: these fix security issues reported by Will Drewry.
[SVN r42746]
2008-01-14 09:53:42 +00:00
John Maddock 79d7e84f26 Merged typo fixes from trunk.
[SVN r42026]
2007-12-14 10:16:35 +00:00
John Maddock 45891854d9 Merged fixes for #1471 (warning suppression).
[SVN r41974]
2007-12-11 17:29:58 +00:00
John Maddock a159bacf3f Merge fixes for #1455.
[SVN r41972]
2007-12-11 17:26:26 +00:00
John Maddock 97daf0f81f Bring into synch with Trunk, and fix regression.
[SVN r41895]
2007-12-08 17:37:40 +00:00
Beman Dawes dc01b7833e Full merge from trunk at revision 41356 of entire boost-root tree.
[SVN r41370]
2007-11-25 18:38:02 +00:00
Beman Dawes ff95eb8d98 Full merge from trunk at revision 41356 of entire boost-root tree.
[SVN r41369]
2007-11-25 18:07:19 +00:00
Rene Rivera c48d7bb478 Recreate release branch from fixed 1.34.1 tag.
[SVN r40341]
2007-10-23 06:42:50 +00:00
Douglas Gregor 3cd2b52030 Move Attic files back into their rightful places
[SVN r40311]
2007-10-23 01:47:48 +00:00
Beman Dawes f5af9ba18d Starting point for releases
[SVN r39706]
2007-10-05 14:25:06 +00:00
nobody 3e68fcb703 This commit was manufactured by cvs2svn to create tag
'Version_1_34_1'.

[SVN r38286]
2007-07-24 19:28:14 +00:00
Thomas Witt 1fe19b815a Ticket #583.
[SVN r37901]
2007-06-05 17:28:18 +00:00
John Maddock d44bf8c41d Improve ICU support. See http://svn.boost.org/trac/boost/ticket/976
[SVN r37741]
2007-05-22 17:24:25 +00:00
John Maddock 5b9e134fc4 Added links to PDF docs.
[SVN r37653]
2007-05-09 17:20:56 +00:00
John Maddock 2643fcb245 Ooops, fix version check.
[SVN r37115]
2007-02-28 17:18:33 +00:00
John Maddock 7ac90de75a Oops, get the namespace right.
[SVN r37111]
2007-02-28 10:08:29 +00:00
John Maddock 2ebe6d4ec7 Patches for HP aCC and Compaq tru64
[SVN r37106]
2007-02-27 10:13:14 +00:00
John Maddock b93dc9c301 Change asserts to tests.
[SVN r37080]
2007-02-26 09:46:39 +00:00
John Maddock 1b0ab17df9 Reduce thread load so test completes faster.
[SVN r37061]
2007-02-25 10:37:25 +00:00
John Maddock 07016623eb Fixed if...else logic and added cygwin to the list of compilers that need to be statically linked.
[SVN r36984]
2007-02-17 12:22:49 +00:00
John Maddock 4c56f3c14e Only static linking works with mingw
[SVN r36888]
2007-02-04 10:20:33 +00:00
John Maddock 95e3612e72 Fix workaround version.
[SVN r36732]
2007-01-15 11:09:44 +00:00
John Maddock fdf8aa83ec Update bbv2 instructions.
Update Jamfile with better ICU support.


[SVN r36691]
2007-01-11 17:22:38 +00:00
John Maddock c1722ff3de Disable typeid useage with VC6.
[SVN r36592]
2007-01-05 13:25:04 +00:00
John Maddock 77e43136d1 bbv2 updates.
[SVN r36551]
2006-12-31 17:26:12 +00:00
nobody f5449c38a6 This commit was manufactured by cvs2svn to create branch 'RC_1_34_0'.
[SVN r36550]
2006-12-31 17:25:40 +00:00
John Maddock 5654efcf98 Fix for grep and egrep syntax types, plus tests.
[SVN r36470]
2006-12-20 17:19:25 +00:00
John Maddock 8d5985ce42 Typo fix
[SVN r36465]
2006-12-20 09:45:03 +00:00
John Maddock bb8f057d6c Fix for msvc-6 in multithreaded test mode.
[SVN r36344]
2006-12-12 09:57:35 +00:00
Rene Rivera 9002d01f75 Remove obsolete Boost.Build v1 files.
[SVN r35880]
2006-11-06 17:10:46 +00:00
John Maddock b057d0f943 Update heuristics used to determine max state count, following a bug report from SAP.
Updated tests to match.


[SVN r35656]
2006-10-18 12:56:45 +00:00
John Maddock 67128fa65f Remove and update aCC/HPUX fixes.
Fix regex bug report: some repeats match when they should not.
Added test case.


[SVN r35262]
2006-09-21 18:30:27 +00:00
John Maddock 9fc486658f Updated aCC config.
Removed aCC workarounds that are no longer needed.


[SVN r34938]
2006-08-24 11:00:19 +00:00
John Maddock f4d849ec8f Trivial fix: macro not correctly bracketed.
[SVN r34878]
2006-08-12 17:51:24 +00:00
John Maddock db4120e46d Fixed const-correctness bugs.
[SVN r34785]
2006-07-30 16:14:16 +00:00
John Maddock c4d064add8 Added additional thread safety tests.
[SVN r34775]
2006-07-29 16:02:56 +00:00
John Maddock 65347f0f7f Improved const correctness, fixed thread safety bug.
[SVN r34774]
2006-07-29 16:01:48 +00:00
John Maddock d3b885e20b Disable new test for VC6.
[SVN r34744]
2006-07-26 17:00:36 +00:00
John Maddock 60b6dbf275 Test case for bug report 1526472.
[SVN r34682]
2006-07-23 17:32:03 +00:00
John Maddock 443a498845 Fairly trivial patch for bug report 1526472.
[SVN r34680]
2006-07-23 17:30:49 +00:00
Gennaro Prota 7a3a6dc7c6 manual merge from trunk: minor code fixes; fixed typos reported in http://bugs.debian.org/378016
[SVN r34636]
2006-07-20 13:54:08 +00:00
Gennaro Prota 37b39f6635 manual merge from trunk: fixed license reference text; added final slash to boost url; fixed typos reported in http://bugs.debian.org/378016
[SVN r34634]
2006-07-20 13:44:08 +00:00
John Maddock b473011375 Added needed license info.
[SVN r34563]
2006-07-16 17:24:25 +00:00
John Maddock 0a998e8bc8 stripped tabs from file.
[SVN r34560]
2006-07-16 16:06:38 +00:00
John Maddock eb93be73eb Bug fix.
[SVN r34495]
2006-07-10 09:46:27 +00:00
John Maddock eb791cd1c3 Non-greedy repeat tests from https://sourceforge.net/tracker/index.php?func=detail&aid=1515830&group_id=7586&atid=107586
[SVN r34494]
2006-07-10 09:41:12 +00:00
John Maddock 5928770c46 Fix for non-greedy repeats see https://sourceforge.net/tracker/index.php?func=detail&aid=1515830&group_id=7586&atid=107586
[SVN r34493]
2006-07-10 09:40:35 +00:00
John Maddock 2d6fea3308 Allow match_results::position() to return a valid value for partial matches.
[SVN r34324]
2006-06-17 12:48:03 +00:00
John Maddock b58521163b Changed test names to prevent directory/test name conflict.
[SVN r34221]
2006-06-07 16:38:23 +00:00
John Maddock 921b0d758e Don't apply fix to VC7.
[SVN r34060]
2006-05-22 17:50:33 +00:00
John Maddock dae6cbfead Added extra tests for non-greedy repeats to verify bug fix.
Updated history.


[SVN r34031]
2006-05-19 13:17:00 +00:00
John Maddock 17a038b672 Fix for partial matches and non-greedy repeats.
[SVN r34030]
2006-05-19 13:16:09 +00:00
John Maddock ccc52a8a63 Fix for duplicate symbol errors when using VC7.1 without /Zc:wchar_t
[SVN r33706]
2006-04-15 17:21:19 +00:00
John Maddock 01cc2aaa50 Fixed silly bug in example.
[SVN r33609]
2006-04-09 10:07:08 +00:00
John Maddock 4370fe4607 Added no_except docs.
[SVN r33585]
2006-04-07 10:21:19 +00:00
John Maddock 171749f440 Added guards for managed code and __fastcall
[SVN r33557]
2006-04-05 12:22:36 +00:00
John Maddock c1c2058d3d Suppress gcc -Wshadow warnings.
[SVN r33425]
2006-03-21 18:35:17 +00:00
John Maddock 1a732d8c6a Updated makefiles to 1.34
[SVN r33424]
2006-03-21 18:30:27 +00:00
nobody f0ae398ada This commit was manufactured by cvs2svn to create branch 'RC_1_34_0'.
[SVN r33417]
2006-03-21 02:26:31 +00:00
6 changed files with 32 additions and 174 deletions
-31
View File
@@ -1,31 +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
regex.h
regex.hpp
regex_fwd.hpp
regex
cregex.hpp
)
# Add a library target to the build system
boost_library_project(
regex
SRCDIRS src
TESTDIRS test
HEADERS ${lib_headers}
# DOCDIRS
DESCRIPTION "A regular expression library"
MODULARIZED
AUTHORS "John Maddock <john -at- johnmaddock.co.uk>"
# MAINTAINERS
)
+31 -1
View File
@@ -200,7 +200,7 @@ if $(gHAS_ICU)
if $(ICU_PATH) != "/usr" && $(ICU_PATH) != "/usr/local"
{
BOOST_REGEX_ICU_OPTS += "<include>$(ICU_PATH)/include" ;
ICU_SEARCH_OPTS = <search>/$(ICU_PATH)/lib ;
ICU_SEARCH_OPTS = <search>$(ICU_PATH)/lib ;
}
}
@@ -221,17 +221,20 @@ if $(gHAS_ICU)
{
lib icucore : : <name>$(gICU_CORE_LIB) $(ICU_SEARCH_OPTS) <link>shared ;
ICU_EXTRA_SOURCE = icucore ;
explicit icucore ;
}
if $(gICU_IN_LIB)
{
lib icuin : : <name>$(gICU_IN_LIB) $(ICU_SEARCH_OPTS) <link>shared ;
ICU_EXTRA_SOURCE += icuin ;
explicit icuin ;
}
#Added by Tommy Nordgren libicudata must be linked against on Mac OS X
if $(gICU_DATA_LIB)
{
lib icudata : : <name>$(gICU_DATA_LIB) $(ICU_SEARCH_OPTS) <link>shared ;
ICU_EXTRA_SOURCE += icudata ;
explicit icudata ;
}
#End of addition by Tommy Nordgren
}
@@ -267,9 +270,36 @@ lib boost_regex : ../src/$(SOURCES) $(ICU_EXTRA_SOURCE) icu_config2 icu_config
<toolset>gcc-mingw:<link>static
<toolset>gcc-cygwin:<link>static
$(BOOST_REGEX_ICU_OPTS)
<conditional>@force-shared-linking
;
shared-linking-warning-emitted = ;
# The ICU is shipped as shared libraries with dynamic runtime.
# If Boost.Regex is built against static runtime, the combination
# will not work. The below rule forces shared runtime, and
# prints an explanation.
rule force-shared-linking ( properties * )
{
if $(gHAS_ICU)
{
if <runtime-link>static in $(properties)
{
if ! $(shared-linking-warning-emitted)
{
shared-linking-warning-emitted = 1 ;
ECHO "warning: forcing runtime-link=shared for Boost.Regex" ;
ECHO "warning: this is required when using the ICU library" ;
}
}
return <runtime-link>shared ;
}
}
alias icu_options : $(ICU_EXTRA_SOURCE) : : : $(BOOST_REGEX_ICU_OPTS) ;
explicit icu_options ;
boost-install boost_regex ;
@@ -2008,7 +2008,7 @@ insert_recursion:
v = static_cast<int>(hash_value_from_capture_name(base, m_position));
re_brace* br = static_cast<re_brace*>(this->append_state(syntax_element_assert_backref, sizeof(re_brace)));
br->index = v;
if((*m_position != charT('>')) && (*m_position != charT('\'')) || (++m_position == m_end))
if(((*m_position != charT('>')) && (*m_position != charT('\''))) || (++m_position == m_end))
{
fail(regex_constants::error_badrepeat, m_position - m_base);
return false;
-1
View File
@@ -1 +0,0 @@
boost_module(regex DEPENDS date_time thread)
-40
View File
@@ -1,40 +0,0 @@
#
# Copyright Troy D. Straszheim
#
# Distributed under the Boost Software License, Version 1.0.
# See http://www.boost.org/LICENSE_1_0.txt
#
# Look for the ICU library. If we find it, we'll compile in support for ICU
include(FindICU)
set(BOOST_REGEX_LIBRARIES)
if (ICU_FOUND AND ICU_I18N_FOUND)
add_definitions(-DBOOST_HAS_ICU=1)
include_directories(${ICU_INCLUDE_DIRS})
set(BOOST_REGEX_LIBRARIES ${ICU_LIBRARIES} ${ICU_I18N_LIBRARIES})
endif (ICU_FOUND AND ICU_I18N_FOUND)
boost_add_library(boost_regex
c_regex_traits.cpp
cpp_regex_traits.cpp
cregex.cpp
fileiter.cpp
icu.cpp
instances.cpp
posix_api.cpp
regex.cpp
regex_debug.cpp
regex_raw_buffer.cpp
regex_traits_defaults.cpp
static_mutex.cpp
w32_regex_traits.cpp
wc_regex_traits.cpp
wide_posix_api.cpp
winstances.cpp
usinstances.cpp
LINK_LIBS ${BOOST_REGEX_LIBRARIES}
SHARED_COMPILE_FLAGS -DBOOST_REGEX_DYN_LINK=1)
-100
View File
@@ -1,100 +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(regex BOOST_DEPENDS test)
# TODO: Default to multi-threaded?
macro(regex_test TESTNAME)
parse_arguments(REGEX_TEST "" "" ${ARGN})
if (REGEX_TEST_DEFAULT_ARGS)
set(REGEX_TEST_SOURCES ${REGEX_TEST_DEFAULT_ARGS})
else (REGEX_TEST_DEFAULT_ARGS)
set(REGEX_TEST_SOURCES "${TESTNAME}.cpp")
endif (REGEX_TEST_DEFAULT_ARGS)
boost_test_run(${TESTNAME} ${REGEX_TEST_SOURCES}
COMPILE_FLAGS "-DBOOST_REGEX_DYN_LINK=1"
DEPENDS boost_regex
EXTRA_OPTIONS SHARED)
endmacro(regex_test)
set(R_SOURCES
regress/basic_tests.cpp
regress/main.cpp
regress/test_alt.cpp
regress/test_anchors.cpp
regress/test_asserts.cpp
regress/test_backrefs.cpp
regress/test_deprecated.cpp
regress/test_emacs.cpp
regress/test_escapes.cpp
regress/test_grep.cpp
regress/test_locale.cpp
regress/test_mfc.cpp
regress/test_non_greedy_repeats.cpp
regress/test_perl_ex.cpp
regress/test_replace.cpp
regress/test_sets.cpp
regress/test_simple_repeats.cpp
regress/test_tricky_cases.cpp
regress/test_icu.cpp
regress/test_unicode.cpp
regress/test_overloads.cpp
regress/test_operators.cpp
)
boost_test_run(regex_regress ${R_SOURCES} DEPENDS boost_regex STATIC)
boost_test_run(regex_regress_dll ${R_SOURCES}
COMPILE_FLAGS "-DBOOST_REGEX_DYN_LINK=1"
DEPENDS boost_regex
EXTRA_OPTIONS SHARED)
boost_test_run(regex_regress_threaded ${R_SOURCES}
COMPILE_FLAGS "-DTEST_THREADS -DBOOST_REGEX_DYN_LINK=1"
DEPENDS boost_regex boost_thread
EXTRA_OPTIONS SHARED MULTI_THREADED)
regex_test(posix_api_check c_compiler_checks/posix_api_check.c)
boost_test_compile(wide_posix_api_check_c c_compiler_checks/wide_posix_api_check.c)
regex_test(posix_api_check_cpp c_compiler_checks/wide_posix_api_check.cpp)
regex_test(bad_expression_test pathology/bad_expression_test.cpp)
regex_test(recursion_test pathology/recursion_test.cpp)
regex_test(unicode_iterator_test unicode/unicode_iterator_test.cpp)
boost_test_run(static_mutex_test static_mutex/static_mutex_test.cpp
COMPILE_FLAGS "-DBOOST_REGEX_DYN_LINK=1"
DEPENDS boost_regex boost_thread
EXTRA_OPTIONS MULTI_THREADED SHARED)
regex_test(object_cache_test object_cache/object_cache_test.cpp)
boost_test_run(regex_config_info config_info/regex_config_info.cpp
DEPENDS boost_regex
EXTRA_OPTIONS STATIC)
boost_test_run(regex_dll_config_info config_info/regex_config_info.cpp
COMPILE_FLAGS "-DBOOST_REGEX_DYN_LINK=1"
DEPENDS boost_regex
EXTRA_OPTIONS SHARED)
regex_test(test_collate_info collate_info/collate_info.cpp)
boost_test_compile(concept_check concepts/concept_check.cpp)
boost_test_compile(ice_concept_check concepts/icu_concept_check.cpp)
# TODO: Deal with this
# [ run
# sources
# captures/captures_test.cpp
# captures//boost_regex_extra
#: # additional args
#: # test-files
#: # requirements
# <threading>multi
# <define>BOOST_REGEX_MATCH_EXTRA=1
# <define>BOOST_REGEX_NO_LIB=1
# : # test name
# captures_test
# ]