Commit Graph

1363 Commits

Author SHA1 Message Date
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
5bc2a4a301 Merge pull request #39 from boostorg/develop
Merge develop to master
2017-10-09 18:27:25 +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
4ac4a451df CI: Fix bjam arguments on appveyor. 2017-06-04 08:06:20 +01:00
18e38c2172 Merge pull request #30 from DanielaE/feature/replace-deprecated-c++98-binder
Conditionally replace deprecated/removed C++98 std::bind1st by std::b…
2017-06-02 08:18:24 +01:00
df563a8858 Merge pull request #31 from VemundH/patch-1
Conditionally replace deprecated/removed C++98 std::bind2nd by std::bind
2017-06-02 08:18:15 +01:00
65fdfa526a Merge pull request #29 from danieljames/feature/fix-escape
Escape back slashes
2017-06-02 08:17:07 +01:00
0f5d7ddabd Merge pull request #28 from Lastique/patch-1
Silence MSVC 14.1 warnings of narrowing conversion
2017-06-02 08:16:10 +01:00
af55bf7b1f CI: Add more dependencies to appveyor file. 2017-05-31 15:00:37 +01:00
dba63e41a8 CI: Add one more missing dependency. 2017-05-31 14:59:40 +01:00
7fa0ddd841 CI: Add one more missing dependency. 2017-05-31 13:24:43 +01:00
cc09911d6d CI: Add missing dependency 2017-05-31 08:49:27 +01:00
1dad9252db CI: Manually specify dependencies, and streamline number of Appveyor tests. 2017-05-30 19:06:05 +01:00
2c98bafda8 CI: Fix program_options dependency spelling. 2017-05-30 15:03:40 +01:00
180c0e7e91 CI: Manually fix up missing dependency to program_options. 2017-05-30 13:27:31 +01:00
35fa1626d5 Add CI testing. 2017-05-30 09:47:07 +01:00
47635d0733 Update icu.cpp
Conditionally replace deprecated/removed C++98 std::bind2nd by std::bind
2017-05-22 15:39:45 +02:00
b9cad50387 Conditionally replace deprecated/removed C++98 std::bind1st by std::bind.
Signed-off-by: Daniela Engert <dani@ngrt.de>
2017-05-14 16:20:21 +02:00
791c447922 Escape back slashes
Fixes Trac #12096.

https://svn.boost.org/trac/boost/ticket/12096
2017-04-09 13:20:03 +01:00
f89c75f7b0 Silence MSVC 14.1 warnings of narrowing conversion
In debug mode the compiler is not able to see that the int constant can fit in the character type without loss.
2017-03-25 20:34:56 +03:00
8191d58266 Remove corpus files from master - we don't need them here! boost-1.64.0-beta1 boost-1.65.0 boost-1.64.0-beta2 boost-1.65.1 boost-1.64.0 2017-03-03 09:18:29 +00:00
f0b577a82c Merge branch 'develop' 2017-03-02 18:33:14 +00:00
22aedd996c Fix iterator comparisons so legacy compilers (sun and VC6) can handle them 2017-03-01 11:33:28 +00:00
5456180bb3 Update docs for latest fixed issues. 2017-02-24 13:14:48 +00:00
b1a97fcb95 Merge branch 'de_fuzz' into develop 2017-02-24 13:09:33 +00:00
1acbd42eb8 de-fuzz: fix 2 more gcc warnings 2017-02-24 11:48:27 +00:00
ff8ed9124d Fix broken links in docs. 2017-02-23 10:40:45 +00:00
93926479e3 de-fuzz: suppress a couple of warnings introduced by de-fuzzing fixes. 2017-02-22 18:46:34 +00:00