Commit Graph

202 Commits

Author SHA1 Message Date
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
Emil Dotchevski
f12d40765b Both enable_error_info.hpp and enable_current_exception.hpp now do not depend on intrusive_ptr or any other Boost lib.
[SVN r48482]
2008-08-31 01:39:00 +00:00
Emil Dotchevski
f2b14ffa98 addressing what seems to be a bug in darwin-4.0.1
[SVN r48477]
2008-08-30 17:42:17 +00:00
Emil Dotchevski
9dd2d64304 decoupled boost/exception/exception.hpp from boost/exception/detail/type_info.hpp
diagnostic_information improvements
documentation update

[SVN r48469]
2008-08-30 02:57:12 +00:00
Emil Dotchevski
5258fbc2d1 Further simplified enable_current_exception. Improved exception_ptr testing.
[SVN r48455]
2008-08-29 19:27:38 +00:00
Emil Dotchevski
0c9d70964e enable_current_exception.hpp decoupled from atomic_count.hpp
[SVN r48439]
2008-08-29 04:56:02 +00:00
Emil Dotchevski
d7b98ba390 Boost Exception documentation update
[SVN r48432]
2008-08-29 02:48:23 +00:00
Emil Dotchevski
70a910d82c insignificant
[SVN r48430]
2008-08-28 23:58:26 +00:00
Emil Dotchevski
850b7d9618 Boost Exception now works with BOOST_NO_RTTI and/or BOOST_NO_TYPEID.
[SVN r48429]
2008-08-28 23:49:55 +00:00
Emil Dotchevski
14765312e2 fix for mutable problem, thanks Peter Klotz
[SVN r48270]
2008-08-20 21:48:35 +00:00
Jürgen Hunold
e05771c0c4 Fix: apply workaround to disable msvc warning 4265.
[SVN r48248]
2008-08-20 09:29:17 +00:00
Emil Dotchevski
d7722921a7 removed tabs from source files
updated documentation


[SVN r47250]
2008-07-09 00:18:09 +00:00
Emil Dotchevski
044d5767e2 Hopefully fixing the Como-specific problem reported by Robert Ramey.
[SVN r47126]
2008-07-06 04:50:53 +00:00
Emil Dotchevski
475f37b9c4 BOOST_NO_TYPEID
[SVN r47007]
2008-07-02 21:50:29 +00:00
Emil Dotchevski
d0febca84b Removed boost::exception::what, to avoid ambiguity in user types deriving from both std::exception and boost::exception.
[SVN r46930]
2008-06-30 19:40:44 +00:00
Emil Dotchevski
640d6cfc58 bug fix, thanks Steven Watanabe
[SVN r46802]
2008-06-28 03:53:39 +00:00
Emil Dotchevski
f58ffdd643 documentation update, added function exception::diagnostic_information, added std::exception to_string overload, removed tabs from source files
[SVN r46697]
2008-06-25 23:27:56 +00:00
Emil Dotchevski
d54052b137 Added missing #include <ios>
[SVN r46341]
2008-06-11 22:25:06 +00:00
Emil Dotchevski
175c3e50e9 Bug in the previous bug fix!
[SVN r46335]
2008-06-11 19:20:27 +00:00
Emil Dotchevski
421a059421 Fixed exception info bug when boost::exception is derived virtually.
[SVN r46333]
2008-06-11 18:24:10 +00:00
Emil Dotchevski
d04ddee87a Added required #include <stddef.h>
[SVN r45378]
2008-05-15 00:47:50 +00:00
Emil Dotchevski
8328f20b1a enable_error_info.hpp hacked to support Borland 0x582
[SVN r45339]
2008-05-13 19:59:48 +00:00
Emil Dotchevski
9f8623a2c9 Borland compatibility for enable_error_info.hpp,
Tabs removed from exception.hpp,
Documentation rebound.

[SVN r45273]
2008-05-11 02:15:49 +00:00
Peter Dimov
f243fadab2 Disable Boost.Exception for Borland 5.8.x as well.
[SVN r45268]
2008-05-10 19:55:16 +00:00
Peter Dimov
ebc9563ed0 Unconditionally #include <exception> for std::exception.
[SVN r45150]
2008-05-05 20:06:58 +00:00
Emil Dotchevski
7cc96d23ec Improved compatibility with various compilers.
[SVN r45087]
2008-05-03 19:51:41 +00:00
Emil Dotchevski
cde6de22d9 Disabled bogus GCC warnings.
[SVN r45082]
2008-05-03 18:20:15 +00:00
Peter Dimov
5ffd47553f Fixes for old compilers.
[SVN r45069]
2008-05-03 15:33:06 +00:00
Emil Dotchevski
d4a15cd9db tabs removed, added protected inline dtors.
[SVN r45042]
2008-05-02 20:51:31 +00:00
Emil Dotchevski
e1056d2f4a throw_exception() now ensures that the exception type passed to it derives publicly from std::exception.
[SVN r45041]
2008-05-02 20:40:39 +00:00
Emil Dotchevski
cc7d466f5d Integration of Boost Exception in boost::throw_exception().
[SVN r44954]
2008-04-30 21:45:00 +00:00
Emil Dotchevski
f3cfeeee57 Added required header #include <new>
[SVN r44886]
2008-04-29 17:17:45 +00:00
Emil Dotchevski
b5877b8d9a Added protected destructor to the base type error_info_base
[SVN r44781]
2008-04-26 17:43:58 +00:00
Emil Dotchevski
628b06a2fa Fixed MSVC-specific compile errors when /Za command-line option is used, due to lack of throw() in std::~exception().
[SVN r44706]
2008-04-21 22:42:54 +00:00
Emil Dotchevski
f29f86f65c introduced boost/exception_ptr.hpp, using Boost Exception
[SVN r44439]
2008-04-15 18:47:16 +00:00
Emil Dotchevski
c61e655ada N2179 compliance (pending documentation update)
[SVN r44438]
2008-04-15 18:24:46 +00:00
Emil Dotchevski
08607bca72 minor to_string fix
[SVN r44419]
2008-04-14 17:31:38 +00:00
Emil Dotchevski
9bac76a06d minor fix
[SVN r44404]
2008-04-14 06:27:40 +00:00
Emil Dotchevski
92fbda9a88 minor compile error fix
[SVN r44372]
2008-04-13 17:07:26 +00:00
Emil Dotchevski
ec40d3d8ad removed tabs. what's wrong with tabs anyway?
[SVN r44246]
2008-04-12 03:27:57 +00:00
Emil Dotchevski
761ae0bc1e to_string adjustments
[SVN r44192]
2008-04-11 18:34:46 +00:00
Emil Dotchevski
3c7f53176f to_string fixes
[SVN r44164]
2008-04-11 03:51:06 +00:00
Emil Dotchevski
65d278a387 missing include
[SVN r44134]
2008-04-09 18:48:39 +00:00
Emil Dotchevski
0fbc4dc974 fixed compile errors, removed tabs as required.
[SVN r44114]
2008-04-08 21:29:37 +00:00
Emil Dotchevski
e0881a603d fixed compile errors on various platforms
[SVN r44104]
2008-04-07 19:00:45 +00:00
Emil Dotchevski
e961744baf fix for:
boost/exception/enable_exception_cloning.hpp uses std::bad_alloc
without #include'ing <new>. Because of this, some exception library
tests fail to compile on HP-UX.

[SVN r43555]
2008-03-10 20:18:19 +00:00
Emil Dotchevski
bf515d83ca boost exception
[SVN r43485]
2008-03-04 01:41:17 +00:00
Robert Ramey
ae714358ad fixes comeau bug
[SVN r24278]
2004-08-04 05:15:01 +00:00
Douglas Gregor
98c7eb7d68 Converted to Boost Software License, Version 1.0
[SVN r24055]
2004-07-26 00:32:12 +00:00
Peter Dimov
17f806e8a7 _MSC_VER use clarified.
[SVN r20992]
2003-11-28 15:35:21 +00:00
Peter Dimov
d1e4951cd5 -Wundef fixes.
[SVN r18788]
2003-06-12 17:09:24 +00:00
Peter Dimov
2f59c2a05e boost::throw_exception documentation added.
[SVN r16239]
2002-11-14 15:13:59 +00:00
Peter Dimov
b01dc32c72 BOOST_NO_EXCEPTIONS support added.
[SVN r14835]
2002-08-14 12:27:22 +00:00