Commit Graph

1329 Commits

Author SHA1 Message Date
5d990fd751 Merge pull request #58 from pkl97/develop
Fixed typo in exception text
2018-05-06 11:44:45 +01:00
80a2a12b7a Fixed typo in exception text 2018-02-11 20:35:50 +01:00
e39a99c6f5 Update CI dependency list 2018-01-05 12:59:30 +00:00
fa8b79bca9 Regex.Defuzz, fix for https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=4615 2018-01-04 18:51:21 +00:00
b13fb44ac5 Regex.Defuzzing: Fix for https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=4659&q=jz.maddock&colspec=ID%20Type%20Component%20Status%20Proj%20Reported%20Owner%20Summary 2018-01-03 18:32:45 +00:00
3043906da2 Regex.ICU: use BOOST_REGEX_UCHAR_IS_WCHAR_T in a few other places, and improve concept checks. 2017-12-24 18:39:54 +00:00
5e11600dfa Merge pull request #55 from boostorg/pr/fix-uchar
Define BOOST_REGEX_UCHAR_IS_WCHAR_T, use it to disable overloads
2017-12-24 16:59:46 +00:00
799b09dc26 Define BOOST_REGEX_UCHAR_IS_WCHAR_T, use it to disable overloads 2017-12-24 01:49:32 +02:00
fe9d2a2d66 Merge pull request #54 from DanielaE/fix/no-iterator-inheritance
Inheritance from std::iterator is deprecated in c++17. Therefore repl…
2017-12-23 19:35:28 +00:00
59d501b07b Regex: fix integer shift warning/error in icu.cpp 2017-12-23 19:18:08 +00:00
d5bf5966e2 Merge pull request #53 from DanielaE/fix/replace-deprecated-allocator-members
replace members of std::allocate which are deprecated in c++17 by the…
2017-12-23 19:11:18 +00:00
912ba92bae Merge pull request #52 from rummt/patch-1
typo in error message 'openening' should be 'opening'
2017-12-23 19:03:15 +00:00
cc5a4e85ae Inheriting std::iterator is deprecated in c++17.
Therefore replace the inheritance by lifting std::iterator's members into the derived class. Fortunately, this is already done in Boost.Regex so that dropping the inheritance is a no-brainer.

Signed-off-by: Daniela Engert <dani@ngrt.de>
2017-12-22 15:59:49 +01:00
e6ce5523c6 replace members of std::allocate which are deprecated in c++17 by their cousins from std::allocator_traits.
Signed-off-by: Daniela Engert <dani@ngrt.de>
2017-12-21 17:48:23 +01:00
c60ee3189d Merge branch 'develop' of https://github.com/boostorg/regex into develop 2017-12-16 09:26:46 +00:00
e62d8b5332 Regex.C++17: Fix iterator usage. 2017-12-16 09:26:33 +00:00
a3f1cf9dfc typo in error message 'openening' should be 'opening' 2017-12-12 11:07:59 +00:00
b41d9dc323 Move BOOST_REGEX_DETAIL_NS::RegExData::type_pf cases out of BOOST_REGEX_NO_FILEITER to avoid compiler warnings about missing cases in case statement 2017-12-08 17:07:51 -08:00
47be67134a Fix -Wshadow warnings in quick.cpp 2017-12-03 00:36:11 +02:00
00e802c671 Add quick test target (for CI) 2017-12-02 18:24:00 +02:00
2608372174 Regex: Fix travis.yml usage of cxxstd=. 2017-11-10 08:08:27 +00:00
1480e33dc6 Regex: Fix recursive algorithm builds. 2017-11-09 18:13:16 +00:00
e94f079215 Regex: fix locale specific tests so they do all pass now! 2017-11-09 11:31:48 +00:00
6246f5ec51 Regex: Set a limit on how many recursions we allow. 2017-11-09 11:23:54 +00:00
9f104b0664 Regex: Streamline travis builds further. 2017-11-02 11:16:02 +00:00
0c938cd9ff Regex: Apply fix for clang on Windows, see: https://github.com/boostorg/regex/issues/44 2017-10-26 18:05:36 +01:00
f949e55e9c Regex: Add better tests for skipping of comments in expressions. 2017-10-26 18:04:41 +01:00
3693a5de10 Regex: previous fix could go into infinite loop when a comment was followed by a "(", fix that. 2017-10-26 13:05:33 +01:00
50386af870 Regex: Reduce Travis testing load. 2017-10-24 19:14:58 +01:00
f251a98662 Regex: When matching an (*ACCEPT) and skipping forwards, we have to be careful not to stop skipping prematurely if we're inside a lookahead.
Fixes: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3493#c2
2017-10-24 19:06:53 +01:00
50453e319a Regex: Repeating a repeat is not allowed, even if there is a comment block in between the two.
Fixes: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3479#c2
2017-10-24 17:56:02 +01:00
544e20a339 Regex: Backup and restore internal match_results when saving recursion backtracking info, as well as the state required to restore the recursion stack. Fixes: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3478#c1 2017-10-23 18:49:08 +01:00
7de023237f Regex: Add a hard limit on the number of nested parenthesis allowed.
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3471#c2.
2017-10-19 18:23:43 +01:00
b59dc980c8 Remove deprecated files and update docs. 2017-10-09 18:31:42 +01:00
f343cab680 Regex: Fix handling of repeats when mod_x is in effect.
See https://oss-fuzz.com/v2/testcase-detail/6420486177161216?noredirect=1
2017-10-08 11:52:54 +01:00
dc74e145d9 Try and fix travis CI configuration issue. 2017-10-07 17:24:34 +01:00
f592693c9b Regex: Fix potential negation of INT_MIN,
see https://oss-fuzz.com/v2/testcase-detail/6646578892767232?noredirect=1.
2017-10-07 17:23:59 +01:00
881a157243 Regex: Fix integer overflow in expression parsing.
See: https://oss-fuzz.com/v2/testcase-detail/6189682419302400?noredirect=1
2017-10-07 09:47:19 +01:00
289ce86488 Regex: move boost headers to top of list to work around clang issue which requires workarounds present in config.hpp. 2017-09-21 17:15:51 +01:00
09894a5e21 Fix escapes in test case. 2017-08-04 09:08:12 +01:00
a32e0cc9d3 Fix pattern escaping in regex used for \R so it works when the x-modifier is in effect.
Fixes: https://svn.boost.org/trac10/ticket/12960
2017-08-03 18:04:41 +01:00
5c543a8e2b Copy named sub-expression info when adapting ICU via iterators.
Fixes: https://svn.boost.org/trac10/ticket/13126.
2017-08-01 19:43:44 +01:00
9d4a4b7e62 Merge pull request #38 from boostorg/issue13001
Shorter path names in docs.
2017-08-01 18:03:41 +01:00
4828a7f94d Regenerate documentation with shorter path names.
Fixes: https://svn.boost.org/trac10/ticket/13001
2017-08-01 18:01:46 +01:00
d96012b04d Update linux performance results 2017-08-01 13:16:26 +01:00
9cfc6a4e30 Change performance doc generator to shorten path names.
Make sure all sections have names.
See #13001.
2017-08-01 08:18:05 +01:00
bc9b25b5d3 Fix potential overflow in max_state_count calculation.
Fixes: https://svn.boost.org/trac10/ticket/13036.
2017-07-31 19:18:10 +01:00
d97bcfb5dd Fix integer types and signedness:
Fixes https://svn.boost.org/trac10/ticket/13034
2017-07-31 18:51:25 +01:00
ab399c9159 Documentation fix for backreferences example. Fixes issue #33. 2017-07-30 18:51:10 +01:00
a59890f520 Merge branch 'develop' of https://github.com/boostorg/regex into develop 2017-06-04 08:06:35 +01:00