Commit Graph

1243 Commits

Author SHA1 Message Date
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
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
e7aec5355c de-fuzz: Add Jamfile 2017-02-22 18:26:59 +00:00
3000f19274 Add wide character test case and corpus 2017-02-22 17:02:34 +00:00
c8044ffca0 de-fuzz: more recursive calls that require proper stack unwinding to prevent memory leaks if matching throws. 2017-02-23 09:43:22 +00:00
982f3bbe45 de-fuzz: need to fail when a named recursive subexpression refers to an invalid name. 2017-02-23 09:30:49 +00:00
555bedc97d de-fuzz: add new corpus files 2017-02-22 13:11:01 +00:00
2e7e73aecf de-fuzz: Prevent excessive left shifts 2017-02-22 12:52:53 +00:00
3d2dc325de de-fuzz: Remove debugging code. 2017-02-22 12:45:48 +00:00
85cd85013d de-fuzz: Memory leak fix: Need to unwind stack when doing recursive call on non-recursive algorithm 2017-02-22 12:43:28 +00:00
b65bf1b459 de-fuzz: make sure recursion stack always has a valid start location for the recursion. 2017-02-21 19:38:36 +00:00
b0a83dc8d9 de-fuzz: fix overflow in shift 2017-02-21 11:04:26 +00:00
ac3838b622 de-fuzz: fix undefined behaviour in negating enum type 2017-02-21 10:53:53 +00:00
d1789c75da de-fuzz: generate first corpus files. 2017-02-21 18:00:08 +00:00
f301f3a412 de-fuzz: previous fix broke some code, re-fix it. 2017-02-21 12:43:08 +00:00