Commit Graph

559 Commits

Author SHA1 Message Date
d2a5ddd8a9 Cease dependence on Iterator
It is a fat dependence because it brings Fusion.
2021-06-07 01:47:25 +03:00
dc9c5c50be Don't redefine macros.
Fixes https://github.com/boostorg/regex/issues/127
2021-06-06 09:07:28 +01:00
51d2661b76 Add missing header 2021-04-10 18:08:00 +03:00
92fe5dd4d6 Fixes and testing update for MSVC in C++20 mode. 2021-03-07 08:42:18 +00:00
cac50784aa Reinstate pending/unicode_iterator.hpp. 2021-01-27 12:32:13 +00:00
6e183b7489 Make windows include lean and mean.
Remove Appveyor script for now.
2021-01-25 12:59:07 +00:00
ce47bbe593 Remove more old compiler workarounds. 2021-01-25 11:53:39 +00:00
443c04d6d4 More cleanups. 2020-12-20 13:13:14 +00:00
95950392f8 Warning suppression. 2020-12-16 14:50:15 +00:00
72d06f0786 Use allocator_traits when appropriate. 2020-12-14 19:56:13 +00:00
bb2346519c Fix some C++14 ism's. 2020-12-13 18:14:50 +00:00
1d980dd796 Fix up detail namespace. 2020-12-13 18:09:09 +00:00
c24967709d Reinstate many workarounds to get older msvc versions compiling. 2020-12-13 18:03:47 +00:00
5e982204f7 Add some missing #includes. 2020-12-11 13:08:38 +00:00
117db379e3 Add missing function bodies to v4 icu code. 2020-12-10 18:33:13 +00:00
f9db491056 More missing files. 2020-12-10 17:04:30 +00:00
dba05b4d5b Remove more old code and enable standalone mode. 2020-12-10 16:47:08 +00:00
c902bed6a3 Remove more workarounds, start testing standalone mode. 2020-12-04 12:16:36 +00:00
2b157b4170 Remove function call macros from v5 code. 2020-12-03 11:46:20 +00:00
eafb12b9d0 Dead code removal. 2020-12-02 19:07:42 +00:00
2a55aa83bd Big workaround removal. 2020-12-02 19:06:05 +00:00
957dc5b79c Remove a lot of boost dependencies and workarounds. 2020-12-01 18:57:42 +00:00
678b3f5c4d Make regex_raw_buffer header only. 2020-11-30 13:21:49 +00:00
09cce205ed Fix up include macros. 2020-11-30 11:53:44 +00:00
49e8067b80 Make the contents of regex.hpp all inline. 2020-11-29 19:10:05 +00:00
9d64cf60ff Make icu.hpp header only. 2020-11-28 18:28:29 +00:00
c9d389014a Make w32_regex_traits.hpp header only. 2020-11-28 16:51:39 +00:00
5002272ec8 Make w32_regex_traits.hpp header only. 2020-11-28 12:49:59 +00:00
ddb682a208 Make cpp_regex_traits all inline. 2020-11-27 18:13:59 +00:00
27d2853615 Make c_regex_traits all inline.
Fix some C++20 issues.
2020-11-26 20:05:38 +00:00
12b9392391 Remove recursive option for v5. 2020-11-26 17:10:24 +00:00
1bb29f2134 Remove external template instantiation. 2020-11-26 17:00:04 +00:00
72da1fdc29 Preparation for V5. 2020-11-26 16:47:48 +00:00
c3ab6405ad Merge branch 'use-boost-override' of https://github.com/EugeneZelenko/regex into develop
Resolved Conflicts:
	include/boost/regex/v4/cpp_regex_traits.hpp
	src/wc_regex_traits.cpp
2020-10-12 19:34:55 +01:00
01f6a67fca Merge pull request #102 from VemundH/bugfix/icu-UnicodeString
Call correct overload in functions with icu UnicodeString argument
2020-10-12 18:28:21 +01:00
77e9223a84 Merge pull request #103 from Romain-Geissler-1A/devel
Fix clang -Wdeprecated-copy warning in basic_regex_creator.hpp
2020-10-12 18:24:31 +01:00
9eabbbedcf Fixed typos (mainly in comments) 2020-10-01 16:07:35 +02:00
c9d33026f3 Use BOOST_OVERRIDE to fix GCC -Wsuggest-override and Clang-tidy modernize-use-override warnings.
Also fixed Clang-tidy modernize-redundant-void-arg, readability-container-size-empty, and some readability-simplify-boolean-expr warnings.
Alphabetical order of STL headers.
Fix some misspellings.
2020-05-25 17:04:15 -07:00
f712b89e6f Inline friend function definitions for exported/imported classes must become declarations and inline definitions outside the class for Embarcadero C++ clang-based compilers. This bug has been reported to Embarcadero. 2020-04-25 20:13:16 -04:00
31646aefa7 Always use __cdecl as the calling convention for the Embarcadero C++ clang-based compilers 2020-04-19 15:29:03 -04:00
cc09733d03 Change __BORLANDC__ to BOOST_BORLANDC, which is defined in Boost config for the Embarcadero non-clang-based compilers. 2020-03-31 17:42:38 -04:00
fd710a3bf0 Fix clang -Wdeprecated-copy warning in basic_regex_creator.hpp
/data/mwrep/res/osp/Boost/19-0-0-18/include/boost/regex/v4/basic_regex_creator.hpp:52:4: error: definition of implicit copy assignment operator for 'digraph<char>' is deprecated because it has a user-declared copy constructor [-Werror,-Wdeprecated-copy]
   digraph(const digraph<charT>& d) : std::pair<charT, charT>(d.first, d.second){}
   ^
/data/mwrep/res/osp/Boost/19-0-0-18/include/boost/regex/v4/basic_regex_parser.hpp:1660:17: note: in implicit copy assignment operator for 'boost::re_detail_107000::digraph<char>' first required here
         result = *m_position++;
2020-02-28 02:17:58 +00:00
75b6e20dbd Call correct overload in functions with icu UnicodeString argument 2020-02-27 11:17:34 +01:00
afc4229234 Fix recursive expressions where the recursion appears more than once.
Fixes https://github.com/boostorg/regex/issues/87.
Also fix some more msvc warnings.
2020-01-23 19:24:33 +00:00
bc160a58f0 Merge branch 'develop' into git_issue_80
Fixed Conflicts:
	include/boost/regex/v4/basic_regex_creator.hpp
	include/boost/regex/v4/basic_regex_parser.hpp
2020-01-21 12:57:09 +00:00
f64c22870f Fix exception specification and msvc warning push/pop. 2020-01-21 10:14:37 +00:00
2cd947f7c4 Suppress msvc warnings.
Fixes: https://github.com/boostorg/regex/issues/80
2020-01-20 19:51:46 +00:00
deb9104ceb Fix gcc warning. 2020-01-19 17:19:54 +00:00
4bb4d392e4 Remove limit on the number of backrefs possible.
Changes named sub-expressions to use different hashing scheme: high order bit is now always set to clashes between hashes and indexes don't happen until 2^30 or 2^62 sub-expressions in 32 and 64 bit code respectively.
Changes bitmask of seen sub-expressions to use dynamic storage for sub-expression indexes above 64.
Adds tests for the above.
Fixes https://github.com/boostorg/regex/issues/75.
2020-01-19 11:28:36 +00:00
082437d4fd Merge branch 'develop' into staticptrfix 2020-01-07 19:00:38 +00:00