Commit Graph

1329 Commits

Author SHA1 Message Date
3b98dc901a Change ICU configuration to support cross-compiling.
Fixes: https://github.com/boostorg/regex/issues/78
2020-01-19 18:16:37 +00:00
b5d60694cc Merge pull request #91 from rdoeffinger/staticptrfix
Avoid generating pointers in writeable data section.
2020-01-07 19:00:52 +00:00
082437d4fd Merge branch 'develop' into staticptrfix 2020-01-07 19:00:38 +00:00
aacd14bf71 Merge pull request #93 from rdoeffinger/makestatic
regex_traits_defaults: Do not export arrays only used in same compila…
2020-01-07 18:56:05 +00:00
a3814a31e9 Merge pull request #92 from rdoeffinger/spellingfix
Minor spelling fix.
2020-01-07 18:54:30 +00:00
6d00984aa9 Merge pull request #79 from stac47/fix_deprecated_copy
Fix gcc -Wdeprecated-copy
2020-01-07 18:54:04 +00:00
edcbf059d7 Merge pull request #90 from Bagira80/patch-1
Point for issues to Github instead of old Trac.
2020-01-07 18:48:36 +00:00
f63c602e6a Merge pull request #86 from Mike-Devel/min_cmake
[CMake] Add minimal cmake support
2020-01-07 18:47:46 +00:00
92f6a803a5 [CMake/CI] Also test build as shared library on travis
Also, as a minor tweak, put cmake builds to the front
as they complete the most quickly
2019-12-28 14:08:58 +01:00
957d2f1bca [CMake] Add some comments about how to use the file 2019-12-28 13:52:21 +01:00
c07e8c4f80 [CMake] Add support for building shared library and restrict absolute include path to build interface 2019-12-28 13:51:31 +01:00
45d12f199d [CMake/CI] Clone additional transitive dependencies 2019-12-28 12:50:47 +01:00
634fa6847e [CMake/CI] Add basic cmake run to travis 2019-12-28 12:50:36 +01:00
7ec82a06d4 [CI] Enable travis script to run with other branches than master or develop 2019-12-28 12:50:36 +01:00
e54e8e0173 [CMake] Disable autolink for regex 2019-12-28 12:50:36 +01:00
bb0c610591 [CMake] Add option for compilation with ICU support 2019-12-08 16:21:39 +01:00
3d44eca405 [CMake] Add option to build some of the examples 2019-12-08 16:11:45 +01:00
e72490638a [CMake] Add minimal cmake file
Generate cmake target that builds the library and which can
be used by other libraries to express their dependency on
this library and retrieve any configuration information
such as the include directory, binary to link to,
transitive dependencies, necessary compiler options or the
required c++ standards level.
2019-12-08 16:11:45 +01:00
3168641320 Avoid generating pointers in writeable data section.
They increase memory consumption and make exploits
easier and are completely unnecessary.
Avoid them by either avoiding the pointer indirection
completely by using char arrays for strings instead
of char pointers, convert "static" pointer variables
to simple local variables, or mark the array of
pointers as const instead of just the things pointed to.
2019-11-08 11:18:43 +01:00
3d72b06e9d regex_traits_defaults: Do not export arrays only used in same compilation unit.
Exporting variables is unreliable on some platforms including Windows,
and it seems can cause compilation errors in some cases.
Also symbols should not be exported unnecessarily purely on principle.
It would even be possible to move the arrays into the function, but
as they are a bit large that seems to be worse for readability.
2019-11-08 11:11:01 +01:00
0baf08108f Minor spelling fix. 2019-11-05 22:25:11 +01:00
a550507517 Update installation instructions for icu.
Regenerate docs.
Fixes: https://github.com/boostorg/regex/issues/89.
2019-10-26 10:51:25 +01:00
fc4dc17dc7 change ICU_LINK configuration 2019-10-25 19:05:52 +01:00
9b6a8e5e82 Point for issues to Github instead of old Trac. 2019-10-08 10:49:01 +02:00
8a8ceab94a Merge pull request #85 from Mike-Devel/develop
Update hash.hpp include path
2019-05-13 18:22:47 +01:00
9db6d59861 Update hash.hpp include path 2019-05-11 19:07:33 +02:00
ac03c4fecc Fix gcc -Wdeprecated-copy 2019-03-01 08:36:15 +00:00
252876ff5a Merge pull request #77 from MarcelRaad/extra_semi
Fix -Wextra-semi clang warnings
2019-02-26 09:19:54 +00:00
a6586678a5 Fix -Wextra-semi clang warnings
Remove superfluous semicola after constructor bodies.
2019-02-25 13:29:16 +01:00
fed22db5f9 Merge pull request #71 from jeking3/cygwin-ci
Add cygwin, cygwin64, and MSVC2017 strict builds to AppVeyor
2019-02-10 13:06:27 +00:00
88f29667b7 Update CI scripts to handle new module layout. 2018-12-20 09:04:02 +00:00
4e0eadc11b Merge branch 'develop' of https://github.com/boostorg/regex into develop 2018-11-11 17:13:22 +00:00
3c6cf87718 Disable external template instances on cygwin - they lead to duplicate symbols for some reason.
See https://github.com/boostorg/regex/issues/64.
2018-11-11 17:12:56 +00:00
cdbffe607b Merge pull request #70 from scramsby/win32-lean-and-mean
Fix potential double-definition of WIN32_LEAN_AND_MEAN macro
2018-11-11 16:52:31 +00:00
23915ade0c Add cygwin, cygwin64, and MSVC2017 strict builds to AppVeyor 2018-11-11 10:39:00 -05:00
f4e1ff192f Fix potential double-definition of WIN32_LEAN_AND_MEAN macro 2018-11-09 16:08:07 -08:00
38afecb48b Add README.md
[CI SKIP]
2018-10-15 18:08:37 +01:00
8a31a996b8 Merge pull request #63 from jeking3/warnings
resolve some warnings
2018-08-25 18:11:20 +01:00
40ecdc3f8b Disable template instantiation for Clang: it breaks with -fvisibility=hidden 2018-08-25 18:05:18 +01:00
c7520556f7 Merge pull request #65 from boostorg/git_issue61
Tentative fix for msvc warnings.
2018-07-24 18:44:30 +01:00
f5b7d3a4f9 Correct apple clang version check. 2018-07-23 19:10:47 +01:00
6369c3c5ee Merge pull request #51 from freiling/develop
Move BOOST_REGEX_DETAIL_NS::RegExData::type_pf cases out of BOOST_REG…
2018-07-22 19:04:52 +01:00
5177518fe3 Fix missing \n at end of file,
Fix some clang warnings.
Add gcc 7&8 to CI tests.
2018-07-22 18:25:35 +01:00
7b2ccc0095 Tentative fix for msvc warnings.
See https://github.com/boostorg/regex/issues/61.
Adds warning test case.
2018-07-22 17:16:21 +01:00
2517588955 Fix \R when no_escapes_in_list flag is set.
Fixes: https://github.com/boostorg/regex/issues/57
2018-07-22 11:26:33 +01:00
231dbc3ebf Correct behaviour of \b when matching null-strings.
See https://github.com/boostorg/regex/issues/40
2018-07-21 15:19:41 +01:00
39f1cc0238 resolve some warnings 2018-07-20 18:29:11 +00:00
867cc5f0fc Stop using BOOST_WORKAROUND in a header which may be included in C code. 2018-07-18 18:57:07 +01:00
ac49efa23f Apply changes from https://github.com/boostorg/regex/pull/16 2018-07-18 18:30:14 +01:00
35fbb2e5e2 Disable some std::locale tests with VC15.7 as they (incorrectly) assert in the C runtime. 2018-07-17 19:36:03 +01:00