Commit Graph

1359 Commits

Author SHA1 Message Date
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
a425ec42ca Merge branch 'develop' of https://github.com/boostorg/regex into develop 2020-10-12 18:23:08 +01:00
a703ab2c59 Fix syntax formatting in docs.
Replaces https://github.com/boostorg/regex/pull/107.
2020-10-12 18:22:57 +01:00
3193bd0877 Merge pull request #113 from giomasce-throwaway/develop
Fix typo in copyright headers.
2020-10-12 18:11:41 +01:00
3ea26dabac Merge pull request #112 from pkl97/regex_typos
Fixed typos (mainly in comments)
2020-10-12 18:10:45 +01:00
21e1ea0877 Fix typo in copyright headers. 2020-10-11 17:22:32 +02:00
9eabbbedcf Fixed typos (mainly in comments) 2020-10-01 16:07:35 +02:00
2639587745 Merge pull request #1 from boostorg/develop
Pull request containing latest changes from upstream
2020-10-01 15:34:23 +02:00
9712546fae Merge pull request #105 from eldiener/develop
Changes for Embarcadero C++ clang-based compilers, targeting Boost 1.74
2020-06-17 19:15:37 +01: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
f307ef8353 Turn off testing wide character regexes when not appropriate. 2020-04-19 16:01:21 -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
d961318aa2 Merge pull request #101 from boostorg/git_issue_87
Fix recursive expressions where the recursion appears more than once.
2020-01-24 11:19:58 +00: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
574fad65f0 Merge pull request #100 from boostorg/git_issue_80
Suppress msvc warnings.
2020-01-22 13:35:04 +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
70c3ffa89a Merge pull request #98 from boostorg/issue_75
Remove limit on the number of backrefs possible.
2020-01-21 10:13:40 +00:00
f80a3ab362 Merge pull request #99 from boostorg/feature/update-cmake
Fix CMake Travis failures
2020-01-21 10:12:56 +00:00
2cd947f7c4 Suppress msvc warnings.
Fixes: https://github.com/boostorg/regex/issues/80
2020-01-20 19:51:46 +00:00
91892ab07d On the xcode6.4 image, git is an older version and doesn't support --jobs 3 2020-01-20 18:51:31 +02:00
bb9c3b68d4 Add -I example to depinst 2020-01-20 16:58:24 +02:00
4788894218 Use --jobs 3 when updating submodules 2020-01-20 16:56:43 +02:00
b0eb5ccb20 Use depinst 2020-01-20 16:48:44 +02:00
a1d0c4fdc4 Update .travis.yml 2020-01-20 16:43:43 +02:00
12fd320f3c Fix CMakeLists.txt 2020-01-20 16:40:28 +02:00
3b98dc901a Change ICU configuration to support cross-compiling.
Fixes: https://github.com/boostorg/regex/issues/78
2020-01-19 18:16:37 +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
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