Emil Dotchevski
886e9ee793
Removing tabs.
...
[SVN r79014]
2012-06-20 05:08:25 +00:00
Emil Dotchevski
6fe16d80ef
Making error_info's destructor virtual.
...
[SVN r78235]
2012-04-28 06:05:06 +00:00
David Deakins
b3640aa019
For Windows CE, rethrow_exception should use ::exit instead of ::abort (the CRT on Windows CE does not include ::abort).
...
[SVN r78187]
2012-04-25 03:54:37 +00:00
Emil Dotchevski
41ce8a3322
This should take care of #6349 . Hopefully doesn't break some other configurations.
...
[SVN r77593]
2012-03-27 19:33:22 +00:00
Emil Dotchevski
c3e35e9d37
Making clone_impl derive virtually from clone_base, so that calling boost::copy_exception with a type that already derives from clone_impl doesn't make pointer conversions to clone_impl ambiguous.
...
[SVN r77339]
2012-03-15 02:13:52 +00:00
Emil Dotchevski
439ef89742
Added redundant include guard to error_info.hpp (ticket 6428)
...
[SVN r76590]
2012-01-20 07:57:48 +00:00
Emil Dotchevski
3d10233a6b
Ticket 6414, thank you Petr Machata
...
[SVN r76549]
2012-01-17 03:59:33 +00:00
Emil Dotchevski
f576e14dbc
Ticket 6374, thanks edA-qa
...
[SVN r76403]
2012-01-11 01:13:03 +00:00
Emil Dotchevski
192ffd0379
Applying the Boost Exception part of the patch mentioned in #4594 .
...
[SVN r76109]
2011-12-22 21:27:10 +00:00
Emil Dotchevski
d4acff61be
Better fix for the bug fixed by my previous commit.
...
[SVN r75646]
2011-11-24 21:07:14 +00:00
Emil Dotchevski
875bc71581
Bug fix in exception cloning (thanks Johan Soderback for reporting it.)
...
[SVN r75636]
2011-11-23 08:40:08 +00:00
Emil Dotchevski
c7bae18633
Fix for the problem reported by Pavel Lebedev. Thanks!
...
[SVN r74471]
2011-09-19 21:45:34 +00:00
Emil Dotchevski
32e2b33250
Fixing two issues with non-intrusive exception cloning support.
...
[SVN r72924]
2011-07-05 23:53:33 +00:00
Emil Dotchevski
5f6812b226
Hopefully fixing a GCC warning.
...
[SVN r72127]
2011-05-23 19:34:44 +00:00
Emil Dotchevski
9bab07e9bc
issue #5386
...
[SVN r70989]
2011-04-05 00:25:59 +00:00
Emil Dotchevski
cc0d73af9d
bug 5384
...
[SVN r70988]
2011-04-05 00:11:42 +00:00
Emil Dotchevski
fb4ed73b5e
Incorrect check in cloning_test fixed, and workaround for Metrowerks.
...
[SVN r69619]
2011-03-07 07:39:50 +00:00
Emil Dotchevski
a74d041bd5
Ticket 4282
...
[SVN r68794]
2011-02-12 00:09:06 +00:00
Emil Dotchevski
08f65cca73
Ticket #5178
...
[SVN r68793]
2011-02-11 23:46:38 +00:00
Steven Watanabe
d1065c8a13
Remove extra semicolon. Fixes #5168 .
...
[SVN r68771]
2011-02-11 02:54:04 +00:00
Emil Dotchevski
6b0bfad6bf
Converted exception_ptr from a shared_ptr typedef to a stand-alone class to allow simpler declaration of namespace boost { class exception_ptr; }
...
[SVN r68202]
2011-01-17 07:01:35 +00:00
Steven Watanabe
c210c38dae
Revert [67111] (addition of boost/detail/iomanip.hpp) and all the commits that depend on it. ([68137], [68140], [68141], [68154], and [68165]).
...
[SVN r68168]
2011-01-15 08:11:51 +00:00
Bryce Adelstein-Lelbach
e43210c417
Replacing the use of <iomanip> with <boost/detail/iomanip.hpp> across Boost.
...
On Linux, GNU's libstdc++, which is the default stdlib for icc and clang,
cannot parse the <iomanip> header in version 4.5+ (which thankfully neither
compiler advises the use of yet), as it's original C++98-friendly
implementation has been replaced with a gnu++0x implementation.
<boost/detail/iomanip.hpp> is a portable implementation of <iomanip>, providing
boost::detail::setfill, boost::detail::setbase, boost::detail::setw,
boost::detail::setprecision, boost::detail::setiosflags and
boost::detail::resetiosflags.
[SVN r68140]
2011-01-14 02:35:58 +00:00
Emil Dotchevski
56ae4311bb
default gcc visibility for exception types, <link>static requirement in test Jamfile.
...
[SVN r65763]
2010-10-05 15:04:50 +00:00
Emil Dotchevski
c98deb1e40
properly ifdeffing the X86 MSVC non-intrusive exception_ptr support
...
[SVN r65346]
2010-09-07 21:46:10 +00:00
Emil Dotchevski
12903d4e49
cosmetic bug fix in the exception_ptr support when the attempt to copy the exception object throws.
...
[SVN r65205]
2010-09-03 02:24:45 +00:00
Emil Dotchevski
3b4cdfce47
Non-intrusive exception_ptr support for msvc 7.1/8.0/9.0 (thanks Anthony Williams)
...
[SVN r65204]
2010-09-03 02:03:15 +00:00
Emil Dotchevski
17304c365c
non-intrusive exception_ptr support for msvc 7.1 and 8.0 (for now) thanks Anthony Williams
...
[SVN r65159]
2010-09-01 06:05:11 +00:00
Emil Dotchevski
9090f38cde
Ticket 4337
...
[SVN r62892]
2010-06-13 02:35:15 +00:00
Niels Dekker
65845c7252
Removed #include <boost/detail/workaround.hpp> from exception.hpp, requested by Emil, see #4068 .
...
[SVN r62824]
2010-06-11 23:01:31 +00:00
Emil Dotchevski
2bd34963cd
Ticket #4104
...
[SVN r62820]
2010-06-11 22:18:30 +00:00
Niels Dekker
177fce2389
Added Borland/Codegear workaround to avoid compile error when doing #include <boost/exception/exception.hpp> -- see #4068
...
[SVN r62819]
2010-06-11 21:44:22 +00:00
Steven Watanabe
8897ff6586
Fix some warnings
...
[SVN r61941]
2010-05-13 04:21:51 +00:00
Emil Dotchevski
787fb1f148
Fixing https://svn.boost.org/trac/boost/ticket/4210
...
[SVN r61938]
2010-05-12 23:36:29 +00:00
Emil Dotchevski
ad829e590a
Applying patch submitted by Neal Becker
...
[SVN r61852]
2010-05-08 04:27:44 +00:00
Emil Dotchevski
c251404656
workaround for double-destruction bugs in compilers: with this, boost::exception objects should survive the case when the destructor is called twice.
...
[SVN r61602]
2010-04-27 01:14:03 +00:00
Emil Dotchevski
11661f05d3
undoing previous commit.
...
[SVN r60679]
2010-03-17 19:39:36 +00:00
Emil Dotchevski
42b5b4b899
Warnings
...
[SVN r60638]
2010-03-16 02:41:49 +00:00
Emil Dotchevski
d3c27315d1
Fixing compile error due to __LINE__ not always being compile-time constant on MSVC
...
[SVN r60159]
2010-03-05 00:05:43 +00:00
Emil Dotchevski
c5230be656
msvc 7.1 regression, thanks Joaquin
...
[SVN r59837]
2010-02-22 05:52:40 +00:00
Emil Dotchevski
0cebd7efbf
Fixing problems found by the vacpp test.
...
[SVN r59743]
2010-02-18 05:58:00 +00:00
Emil Dotchevski
2f18eef27a
copy_exception ambiguity problem with c++0x
...
[SVN r59465]
2010-02-04 08:14:27 +00:00
Emil Dotchevski
37c31a6622
A bit of type name mangling was left unmangled. Should be good now.
...
[SVN r59449]
2010-02-03 20:17:01 +00:00
Emil Dotchevski
2bbd6ae7b5
trying workaround for failures at Sandia-gcc-4.4.3_0x
...
[SVN r59436]
2010-02-03 08:24:01 +00:00
Emil Dotchevski
3013e991f1
exception_ptr bad_alloc refactoring
...
[SVN r59431]
2010-02-02 19:41:55 +00:00
Emil Dotchevski
a955aa431e
prettier diagnostic information, using <boost/units/detail/utility.hpp>
...
[SVN r59398]
2010-02-01 00:25:15 +00:00
Emil Dotchevski
2dc075e6e8
Potential leak caused by previous commit.
...
[SVN r59370]
2010-01-30 18:44:45 +00:00
Emil Dotchevski
4ae002cbf8
Ticket #3848 (thanks Nikki Chumakov) and (unrelated) exception_ptr refactoring.
...
[SVN r59364]
2010-01-30 05:26:43 +00:00
Emil Dotchevski
6a92851a38
minor BOOST_THROW_EXCEPTION fix.
...
[SVN r58500]
2009-12-22 21:34:34 +00:00
Emil Dotchevski
21ecbb3614
Error in a comment.
...
[SVN r58420]
2009-12-16 22:25:34 +00:00
Emil Dotchevski
9d499676ae
Simplified type_info support due to improvements in boost/detail/sp_typeinfo.hpp. A few tweaks to better deal with warnings.
...
[SVN r58132]
2009-12-04 06:33:47 +00:00
Emil Dotchevski
58a49ff77e
minor diagnostic_information maintenance, updated documentation
...
[SVN r58131]
2009-12-04 01:29:22 +00:00
Peter Dimov
dc75da0dc4
Fix sp_typeinfo to match the interface of std::type_info.
...
[SVN r58127]
2009-12-03 20:31:01 +00:00
Emil Dotchevski
a870f8651b
Ticket #3211
...
[SVN r58088]
2009-12-01 19:48:58 +00:00
Emil Dotchevski
8d24c87032
Suppressing warnings. Please report any problems (may have broken something!)
...
[SVN r58072]
2009-12-01 02:16:50 +00:00
Emil Dotchevski
3ab1c234f5
Bug ticket 3641, also merging other fixes from the Release branch.
...
[SVN r57765]
2009-11-18 23:05:55 +00:00
Emil Dotchevski
5630262c4d
Fixed unqualified use of size_t in object_hex_dump.hpp
...
[SVN r57668]
2009-11-15 04:26:36 +00:00
Daniel James
e299f609b5
Prevent ADL from finding other dispatch functions or types. Required for #2094 .
...
Richard Smith.
[SVN r57605]
2009-11-12 19:18:42 +00:00
Emil Dotchevski
17951c2b7d
Added errinfo_nested_exception typedef. Fixed minor documentation error.
...
[SVN r56766]
2009-10-13 01:47:22 +00:00
Emil Dotchevski
c25d7d2ba0
New function: diagnostic_information_what.
...
[SVN r56448]
2009-09-27 21:17:48 +00:00
Emil Dotchevski
920ae71b00
fixing compile errors with some compilers
...
[SVN r55744]
2009-08-23 22:34:19 +00:00
Emil Dotchevski
fa96125efb
mutable get_error_info support
...
[SVN r55707]
2009-08-21 22:28:44 +00:00
Emil Dotchevski
96ed20d2d7
documentation update
...
[SVN r54870]
2009-07-10 19:03:29 +00:00
Emil Dotchevski
f2d6ca64da
Fixing Sun compile errors
...
[SVN r54835]
2009-07-09 17:34:39 +00:00
Emil Dotchevski
bd0ed9f83b
Added commonly used error_info typedefs.
...
Added boost/exception/all.hpp.
Removed tabs from source files.
[SVN r54825]
2009-07-08 23:44:28 +00:00
Emil Dotchevski
a0614793b3
Please don't make unnecessary changes.
...
[SVN r54681]
2009-07-05 20:05:05 +00:00
Andrey Semashev
bd19b50db3
Added support for GCC.
...
[SVN r54668]
2009-07-05 09:25:58 +00:00
Emil Dotchevski
e2882e8251
Added BOOST_ATTRIBUTE_NORETURN to suppress warnings in code calling BOOST_THROW_EXCEPTION.
...
[SVN r54614]
2009-07-03 21:45:37 +00:00
Gennadiy Rozental
19b67c4983
avoid C style casts
...
[SVN r53669]
2009-06-06 09:39:27 +00:00
Gennadiy Rozental
bfaa9b404e
avoid C style casts
...
[SVN r53666]
2009-06-06 09:30:28 +00:00
Jeremiah Willcock
8465a47472
Fixed most tab and min/max issues from trunk inspection report
...
[SVN r53141]
2009-05-20 19:19:00 +00:00
Emil Dotchevski
1643ad2e81
support for exception_ptr and nesting in boost::diagnostic_information
...
documentation update
[SVN r53038]
2009-05-15 22:34:30 +00:00
Emil Dotchevski
bec171e234
exception_ptr improvements, documentation update.
...
[SVN r52981]
2009-05-14 00:36:46 +00:00
Emil Dotchevski
0ddded8e41
Added explicit handling for a few std exception types that were missing from boost::current_exception().
...
[SVN r52979]
2009-05-13 22:15:59 +00:00
Emil Dotchevski
0e1e2ad515
fixing an error that caused warnings in diagnostic_information.hpp
...
[SVN r52355]
2009-04-12 17:21:39 +00:00
Emil Dotchevski
2d5be208de
BOOST_NO_EXCEPTIONS #ifdef
...
[SVN r52263]
2009-04-08 19:20:35 +00:00
Emil Dotchevski
6aa4d2f93b
comments
...
[SVN r52227]
2009-04-07 03:02:15 +00:00
Emil Dotchevski
87384d2116
get_error_info returns raw pointer instead of shared_ptr (breaking change)
...
diagnostic_information can now be called with boost::exception or std::exception object.
BOOST_THROW_EXCEPTION can now be used even if exceptions are disabled.
added functions: current_exception_diagnostic_information, current_exception_cast
documentation updated to match.
[SVN r52225]
2009-04-06 23:15:42 +00:00
Emil Dotchevski
f6f09c16cd
added #error in headers incompatible with BOOST_NO_EXCEPTIONS
...
[SVN r50887]
2009-01-30 00:06:01 +00:00
Emil Dotchevski
f28285c073
Implemented support for custom to_string overloads for converting boost::error_info objects to string by the boost::diagnostic_information function.
...
[SVN r50507]
2009-01-08 01:26:15 +00:00
Emil Dotchevski
ffa2e8d9e7
very minor change, making a constructor explicit.
...
[SVN r48919]
2008-09-22 18:57:20 +00:00
Emil Dotchevski
4cb98696a6
Improving CodeGear C++Builder 2009 compatibility
...
[SVN r48918]
2008-09-22 18:27:58 +00:00
Emil Dotchevski
1c5df6b59a
#defined BOOST_EXCEPTION_DISABLE on any BCC until workarounds are found for the tests in libs/exception/test.
...
[SVN r48860]
2008-09-19 00:09:47 +00:00
Emil Dotchevski
2cde7922b2
Hopefully properly disabling boost exception integration in throw_exception.hpp for Borland <= 5.9.3
...
[SVN r48792]
2008-09-16 04:07:43 +00:00
Emil Dotchevski
a42693427f
Workaround for the HP-UX_ia64_aCC failures.
...
[SVN r48690]
2008-09-09 23:44:16 +00:00
Emil Dotchevski
a416168862
Hopefully a workaround for an overload resolution bug in Sun compilers causing minor problems
...
[SVN r48668]
2008-09-08 18:27:24 +00:00
Emil Dotchevski
b5fc84025b
minor type_info.hpp change
...
[SVN r48642]
2008-09-07 00:05:00 +00:00
Emil Dotchevski
76380aa2f6
Bug in type_info.hpp
...
[SVN r48634]
2008-09-06 18:40:02 +00:00
Emil Dotchevski
475dbd4021
improved output from diagnostic_information()
...
[SVN r48604]
2008-09-05 03:15:18 +00:00
Emil Dotchevski
d094c3f41c
revived enable_current_exception.hpp and enable_error_info.hpp.
...
[SVN r48582]
2008-09-04 19:48:32 +00:00
Emil Dotchevski
fc101598ba
minor boost/exception/detail/type_info.hpp fix.
...
[SVN r48579]
2008-09-04 19:36:34 +00:00
Emil Dotchevski
546f093a33
missing inline
...
[SVN r48556]
2008-09-03 02:14:27 +00:00
Emil Dotchevski
8310c9831f
bug fix in the decoupling of info.hpp from get_error_info.hpp.
...
[SVN r48551]
2008-09-02 23:13:06 +00:00
Emil Dotchevski
2887a719c8
minor diagnostic_information fix.
...
[SVN r48543]
2008-09-02 18:44:05 +00:00
Emil Dotchevski
31a9264bf9
fix for sun compilers and documentation source update
...
[SVN r48538]
2008-09-02 17:47:51 +00:00
Emil Dotchevski
b84fb75a60
Optimization for error_info<throw_function>, error_info<throw_file>, error_info<throw_line>. Refactored exception_ptr to use shared_ptr.
...
[SVN r48521]
2008-09-01 21:06:09 +00:00
Emil Dotchevski
5d4c014f5b
nitpicking
...
[SVN r48488]
2008-08-31 04:05:19 +00:00
Emil Dotchevski
6fc0e3ac1e
simplified further
...
[SVN r48485]
2008-08-31 02:40:42 +00:00
Emil Dotchevski
6c3f38c45d
removed #include <stddef.h>
...
[SVN r48484]
2008-08-31 02:04:34 +00:00
Emil Dotchevski
85e3d1f5c3
removed explicit copy ctor in boost::exception
...
[SVN r48483]
2008-08-31 01:58:48 +00:00