Commit Graph

47 Commits

Author SHA1 Message Date
Peter Dimov
65726f3d2f Define _CRT_SECURE_NO_WARNINGS instead of using wcscpy_s. Fixes #219. 2024-09-02 10:07:29 +03:00
Braden Ganetsky
d3697ab023 Fix deprecated-declarations error on clang-win 2024-08-22 23:28:35 -05:00
jzmaddock
372d3f7a7e Drop redundant config check. 2022-12-14 18:39:17 +00:00
jzmaddock
362c85cf66 Add swprintf workarounds. 2022-12-14 13:06:33 +00:00
jzmaddock
430419705b Simplify snprintf workaround usage.
Via boost/core/snprintf.hpp
Remove some obsolete workarounds.
Remove tabs in files.
Supersedes https://github.com/boostorg/regex/pull/188.
2022-12-13 18:48:59 +00:00
jzmaddock
6213ff03fc Fix macro redefinition. 2022-12-09 18:35:37 +00:00
jzmaddock
3e4bcb75b6 Add testing of standalone mode.
Allow tests to be built in standalone mode.
Update CI.
Update docs.
2022-12-09 18:24:24 +00:00
jzmaddock
c23e7b857a Add missing #include.
Fixes https://github.com/boostorg/regex/issues/183
2022-12-02 17:10:45 +00:00
Eugene Zelenko
c9d33026f3 Use BOOST_OVERRIDE to fix GCC -Wsuggest-override and Clang-tidy modernize-use-override warnings.
Also fixed Clang-tidy modernize-redundant-void-arg, readability-container-size-empty, and some readability-simplify-boolean-expr warnings.
Alphabetical order of STL headers.
Fix some misspellings.
2020-05-25 17:04:15 -07:00
jzmaddock
2cd947f7c4 Suppress msvc warnings.
Fixes: https://github.com/boostorg/regex/issues/80
2020-01-20 19:51:46 +00:00
jzmaddock
d8c95a9950 Change POSIX API's so regcomp doesn't check for magic value and read potentially uninitialized memory.
See https://svn.boost.org/trac/boost/ticket/11472.
2015-09-25 12:41:02 +01:00
jzmaddock
6ffcc5ede0 Change detail namespace.
Big search and replace to change name of internal namepace so it's mangled with the Boost version number - the aim is to reduce the chances of mixing different header and library versions.
2015-04-04 19:10:37 +01:00
jzmaddock
937cd366c5 BREAKING CHANGE: change mark_count to do what's documented (and what the std does).
See https://svn.boost.org/trac/boost/ticket/9227.
2013-12-14 17:43:24 +00:00
John Maddock
852bc502cf Allow source to be built by #including all the source files in a single TU.
Fixes #5736.

[SVN r74896]
2011-10-10 15:09:40 +00:00
John Maddock
f4d925ad3b Up the warning level, and fix the resulting warnings with msvc, gcc and Intel.
Fix bug in docs and regenerate.

[SVN r65208]
2010-09-03 08:33:13 +00:00
John Maddock
6e1f3dcceb Improved error messages generated for thrown exceptions.
Suppressed "gcc -Wall -Wextra -pedantic" and "msvc /W4" warnings.
Updated and rebuilt docs.


[SVN r57451]
2009-11-07 15:32:45 +00:00
John Maddock
d2be09791d Fixes #2623.
[SVN r50422]
2009-01-01 10:23:10 +00:00
John Maddock
d7d38da27f Changed POSIX API functions to use the global C locale.
Fixes #1446.

[SVN r46170]
2008-06-05 17:07:42 +00:00
John Maddock
4199529fd0 Apply patches for building regex on WinCE see: http://lists.boost.org/Archives/boost/2007/11/130839.php
[SVN r41327]
2007-11-24 12:25:25 +00:00
John Maddock
d3d99ef6f8 Changed order of #includes to keep Borland C++ 5.5.1 happy.
[SVN r41252]
2007-11-20 11:18:48 +00:00
John Maddock
217c317219 Fix WinCE issues.
[SVN r41170]
2007-11-17 12:17:05 +00:00
John Maddock
02c6228c77 Fix /analyse errors from VC8.
Update test cases appropriately.


[SVN r31988]
2005-12-11 17:34:32 +00:00
John Maddock
de28eb9b18 1) Disabled recursive implementation for VC8: stack overflows can't be reliably detected unless the whole program is compiled with asynchronous exceptions.
2) Changed std::copy calls on VC8 to avoid "dangerous code" warnings.
3) Moved backreference and octal escape code into line with POSIX-extended requirements.
4) Changed match_results leftmost-longest rules to stop unnecessary std::distance computations (an optimisation for non-random access iterators).
5) Changed C lib calls to use "safe" versions of string API's where available.
6) Added many new POSIX-extended leftmost-longest tests, to verify the above.


[SVN r27880]
2005-03-30 11:38:51 +00:00
John Maddock
56fadadba8 More Sunpro std::distance fixes.
Changed Dr John Maddock to John Maddock


[SVN r26793]
2005-01-21 17:28:42 +00:00
John Maddock
71a0e020e2 merged changes in regex5 branch
[SVN r26692]
2005-01-13 17:06:21 +00:00
John Maddock
b84b17b3c4 Added BOOST_REGEX_V3 compatibilty workarounds.
[SVN r21288]
2003-12-16 13:06:01 +00:00
John Maddock
ab5a7a768d Added new licence info.
[SVN r20254]
2003-10-04 11:29:20 +00:00
John Maddock
11ea8aab76 switched over to new Boost Licence
[SVN r20232]
2003-09-30 13:02:51 +00:00
John Maddock
f0f32bdda1 Merged regex-4 branch.
[SVN r18430]
2003-05-17 11:45:48 +00:00
John Maddock
976fb02a1b Moved some key template instances into the lib and out of user code.
Updated makefiles:
	renamed lib files with new more systematic naming convention.
	Added bcb6 support.
	Rewritten automatic lib selection.
Updated copyright declarations.


[SVN r13557]
2002-04-24 10:50:23 +00:00
John Maddock
1d560fae85 Minor doc typo fixes.
Fixed IA64 portability warnings from VC7


[SVN r13225]
2002-03-19 11:31:52 +00:00
John Maddock
c8e9df8fa2 Added support for compilers with no exception handling support.
[SVN r12758]
2002-02-08 12:44:43 +00:00
John Maddock
f5082341c0 changed all pointer casts to explicit static_cast or reinterpret_cast.
Added more tests for forward lookahead asserts.


[SVN r12575]
2002-01-30 12:17:51 +00:00
John Maddock
4ae95dae74 removed unneeded #if block
[SVN r11906]
2001-12-04 12:23:28 +00:00
John Maddock
c167b1f183 changed BOOST_RE_THREADS to BOOST_HAS_THREADS
[SVN r11827]
2001-11-30 11:56:02 +00:00
John Maddock
fe45d5bf4a Tweeked regex version number to reference <boost/version.hpp>
[SVN r11309]
2001-09-30 10:30:14 +00:00
John Maddock
1d473147fd commit of split-config, including any changes required to existing libraries (mainly regex).
[SVN r11138]
2001-09-18 11:13:39 +00:00
John Maddock
330d46f306 regex point release (minor compatiblity fixes)
[SVN r10245]
2001-05-30 11:36:49 +00:00
John Maddock
efd0ce56bc reorganised regex config setup
[SVN r10064]
2001-05-08 11:24:35 +00:00
John Maddock
a92faf9d3d regex point release
[SVN r9834]
2001-04-18 11:35:32 +00:00
John Maddock
ab16e6c6c0 updated regex directory structure
[SVN r9765]
2001-04-12 11:14:59 +00:00
John Maddock
d754f23bcf regex configuration tweeks, and point release.
[SVN r9225]
2001-02-16 11:26:21 +00:00
John Maddock
e927090ba0 regex: Irix fixes and point release
[SVN r8653]
2001-01-20 12:23:51 +00:00
John Maddock
1d0dabd892 regex: minor fixes
[SVN r8638]
2001-01-18 12:13:00 +00:00
John Maddock
36e4289aaa Regex point release 3.02
[SVN r8226]
2000-11-16 11:29:03 +00:00
John Maddock
65b6a3ba3e fixes resulting from non-standard usage of swprintf
[SVN r7927]
2000-10-12 11:25:16 +00:00
John Maddock
58a5836642 Initial boost-regex++ release
[SVN r7845]
2000-09-26 11:48:28 +00:00