Commit Graph

382 Commits

Author SHA1 Message Date
Glen Fernandes
099854dece Moved lightweight_test.hpp to Boost.Core 2014-06-01 13:37:29 -07:00
Steve Gates
78b061c1e1 Updating macro for detecting WinRT to BOOST_WINDOWS_RUNTIME based on code review feedback. 2014-05-13 17:11:25 -07:00
Steve Gates
a46db5a32e Removing MSOT copyright, replacing with Microsoft. 2014-04-18 16:26:04 -07:00
Kirk Shoop (MS OPEN TECH)
d436bcd121 detail changes for WinRT support 2014-04-18 16:26:01 -07:00
Robert Ramey
3d6fdcfda4 changed BOOST_NOEXCEPT to BOOST_NOEXCEPT_OR_NOTHROW 2014-03-01 10:27:44 -08:00
Robert Ramey
345b3a3b50 Modify to use BOOST_NOEXCEPT 2014-02-28 10:48:19 -08:00
Robert Ramey
094070e5e4 verified alignment of our custom utf8_codecvt_facet against the base class from which it is derived - std::codecvt. 2014-02-27 08:02:01 -08:00
Peter Dimov
3dd2674052 Moved lightweight_thread.hpp, quick_allocator.hpp into smart_ptr 2014-02-12 17:05:13 +02:00
Robert Ramey
55f85a4d1f changed codecvt_utf8 so that serialization uses the standard one if available. If there is no standard one available, it uses the one in boost/utility.
[SVN r86614]
2013-11-11 02:25:58 +00:00
Robert Ramey
8c689a1533 changed codecvt_utf8 so that serialization uses the standard one if available. If there is no standard one available, it uses the one in boost/utility.
[SVN r86613]
2013-11-11 02:19:46 +00:00
Robert Ramey
f362e5e72f changed codecvt_utf8 so that serialization uses the standard one if available. If there is no standard one available, it uses the one in boost/utility.
[SVN r86612]
2013-11-11 02:18:51 +00:00
Andrey Semashev
4a5de13017 Fixed INT_PTR_ spelling.
[SVN r86536]
2013-11-01 15:27:08 +00:00
Andrey Semashev
3220177536 Removed RegisterWaitForSingleObjectEx as it is not present in all Windows SDK versions.
[SVN r86474]
2013-10-27 11:56:12 +00:00
Andrey Semashev
1e84644646 Added missing using declarations.
[SVN r86455]
2013-10-26 15:21:25 +00:00
Andrey Semashev
84da532b39 Added missing using declarations.
[SVN r86454]
2013-10-26 15:18:21 +00:00
Andrey Semashev
bae1bebd28 Added Windows 8.1 (aka Blue) version constant.
[SVN r86409]
2013-10-23 21:09:40 +00:00
Andrey Semashev
59ce745040 According to the discussion on the ML, changed the default WinAPI back to XP.
[SVN r86403]
2013-10-23 13:11:31 +00:00
Andrey Semashev
8e3280c8ee Changed the default WinAPI version to Vista.
[SVN r86389]
2013-10-22 13:28:27 +00:00
Andrey Semashev
3319b4ac54 Added support for WinAPI version specification.
[SVN r86307]
2013-10-14 21:06:05 +00:00
Joaquín M López Muñoz
3dafb197cc * Reformatted and completed legacy code removal patches from Stephen Kelly (note: this patch treads on changesets [86244] and [82545], will restore later)
* Changed hashed indices internal data structure
* Changed hashed index iterator serialization
* Added reserve to hashed indices
* noexcept specification
* Lazy node allocation in insertion
* Doc typos

[SVN r86264]
2013-10-12 15:30:35 +00:00
Stephen Kelly
0e75aca4dd Remove remaining occurances of BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
These evaded scripting.

[SVN r86249]
2013-10-11 23:22:36 +00:00
Stephen Kelly
d32882cc08 Simplify multi-component ifdefs containing BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
[SVN r86248]
2013-10-11 23:20:59 +00:00
Stephen Kelly
6395ed2f25 Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
Process #ifdef...#else...#endif blocks.

[SVN r86246]
2013-10-11 23:19:17 +00:00
Stephen Kelly
a747594bdd Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
Process #ifndef...#else...#endif blocks.

[SVN r86245]
2013-10-11 23:17:48 +00:00
Stephen Kelly
684ee20edb Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
Process #ifndef...#endif conditions.

[SVN r86244]
2013-10-11 23:15:00 +00:00
Stephen Kelly
5e28401195 Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
Process #ifdef...#endif blocks.

[SVN r86243]
2013-10-11 23:13:10 +00:00
Stephen Kelly
2114a3d026 Remove obsolete files.
[SVN r86242]
2013-10-11 23:11:35 +00:00
Andrey Semashev
0f9b39df3f Fixed WinAPI compilation. Ported timed mutex to waitable timer. Windows time points are now aligned with FILETIME to reduce conversion overhead when used with waitable timers.
[SVN r86192]
2013-10-07 17:41:43 +00:00
Andrey Semashev
933b2c596b Boost.Sync: Added preliminary implementation of a waitable timer for fixed time point waits. Updated WinAPI functions to contain the required APIs.
[SVN r86179]
2013-10-06 17:40:19 +00:00
Stephen Kelly
4dc7897c9f Container: Remove obsolete GCC version check.
[SVN r86109]
2013-10-01 08:43:30 +00:00
Stephen Kelly
41f09db5d6 Exception: Remove obsolete GCC version check.
[SVN r86073]
2013-09-30 16:00:29 +00:00
Stephen Kelly
c8ca7d9788 Detail: Remove obsolete MSVC version checks.
[SVN r86039]
2013-09-30 00:21:39 +00:00
Andrey Semashev
1de858a76f Finished POSIX condition_variable, working on Windows.
[SVN r86007]
2013-09-29 16:42:24 +00:00
Peter Dimov
275fe9d73b Add BOOST_USE_INTRIN_H support; remove #pragma intrinsic, not needed and not supported on Intel.
[SVN r85994]
2013-09-29 11:04:37 +00:00
Stephen Kelly
1ec40ed29c allocator_utilities: Remove obsolete MSVC version check.
[SVN r85955]
2013-09-26 13:04:51 +00:00
Stephen Kelly
589631a886 Remove obsolete MSVC check from pragma guard
git grep -h -B1 "^#\s*pragma once" | grep -v pragma | sort | uniq

is now clean.

[SVN r85952]
2013-09-26 13:02:51 +00:00
Andrey Semashev
41e2470d21 Enabled #pragma once for all compilers that support it, not only MSVC.
[SVN r85866]
2013-09-24 12:56:50 +00:00
Andrey Semashev
eb60febe83 Fixed compilation problems with MinGW-w64.
[SVN r85865]
2013-09-24 12:49:46 +00:00
Andrey Semashev
ce5864b47e To avoid name clashes with Boost.Thread, renamed boost::detail::win32 namespace to winapi. Also renamed the directory with headers accordingly. Adjusted Boost.Chrono and Boost.Sync to reflect the changes.
[SVN r85791]
2013-09-19 17:58:24 +00:00
Andrey Semashev
8590e40965 Added GetSystemTimeAsFileTime definition when it is absent in WinAPI. Made constants as enum so that they can be used in switch/case statements. Added Boost.Sync time_units and mutex for Windows.
[SVN r85779]
2013-09-18 21:25:36 +00:00
Andrey Semashev
e1e8b05e02 Moved semaphore implementation to details. Some minor fixes.
[SVN r85679]
2013-09-15 16:58:33 +00:00
Tim Blechmann
79bce0a5f2 sync: add semaphore implementation
[SVN r85673]
2013-09-15 10:46:54 +00:00
Rene Rivera
6a98633c6c Rewrite content to use Predef endian detection. This removes the non-BSL license use.
[SVN r85230]
2013-08-07 03:03:23 +00:00
John Maddock
81cbc142ac Fix typo.
Refs #7664.

[SVN r84758]
2013-06-13 15:50:50 +00:00
Ion Gaztañaga
bd58c2d229 Added BOOST_TEST_THROWS
[SVN r83433]
2013-03-14 23:08:40 +00:00
John Maddock
19ca421f24 Apply patch from 7703.
Refs #7703.

[SVN r83005]
2013-02-19 16:09:27 +00:00
John Maddock
538f8f7b3b Apply patch for XBox and Android.
Refs #7528.

[SVN r83004]
2013-02-19 16:06:55 +00:00
John Maddock
ae93c52b75 Apply BSD patch.
Refs #6013.

[SVN r82996]
2013-02-19 11:59:27 +00:00
Marshall Clow
eb6208f69a Made codecvt::do_length param constant based on the library used, not the compiler
[SVN r81877]
2012-12-12 15:41:26 +00:00
Marshall Clow
d5aa8a952a Fixed incorrect 'const' param for utf8_codecvt_facet::do_length
[SVN r81616]
2012-11-28 19:12:42 +00:00
Marshall Clow
dc1a439ec0 Remove usage of deprecated macros
[SVN r81442]
2012-11-20 19:44:24 +00:00
John Maddock
c77e8e89cf Fix stray whitespace in previous commit.
Refs #7516.

[SVN r81048]
2012-10-22 18:12:51 +00:00
John Maddock
2ea55870e4 Fix up for Arm.
Fixes #7516.

[SVN r81047]
2012-10-22 17:47:41 +00:00
Peter Dimov
112b2471b7 Fix the _WIN32_WCE >= 0x600 case.
[SVN r80935]
2012-10-10 13:11:38 +00:00
Jürgen Hunold
2cbdcde368 Fix: intrin.h is available in msvc-9.0 (_MSC_VER 1500)
[SVN r80626]
2012-09-22 15:35:41 +00:00
Daniel James
67f78550e5 Detail: Merge some whitespace fixes from release.
[SVN r80349]
2012-09-01 14:47:29 +00:00
Vicente J. Botet Escriba
5973a2bcef Thread: Try again to fix 5431
[SVN r80127]
2012-08-21 21:36:12 +00:00
Vicente J. Botet Escriba
d8159674fa Thread: Rollback last modification as it breaks regression test VeecoFTC/msvc-9.0~wm5~stlport5.2
[SVN r80067]
2012-08-17 15:27:56 +00:00
Vicente J. Botet Escriba
0c7444b84f Thread: Try to fix 5431
[SVN r80042]
2012-08-15 10:02:09 +00:00
Vicente J. Botet Escriba
804546aacf Chrono: Try to fix issue with WinError.h file
[SVN r79328]
2012-07-07 10:27:13 +00:00
Vicente J. Botet Escriba
0e2bc0d9f4 ScopedEnum: Fix issue with native function class
[SVN r78437]
2012-05-12 17:29:08 +00:00
Vicente J. Botet Escriba
9378f3d4f7 ScopedEnum: Rollback last change as there are regressions on Spirit
[SVN r78434]
2012-05-12 11:07:58 +00:00
Anthony Williams
20332e24e5 Combine scoped enum emulation from thread library into detail/scoped_enum_emulation.hpp
[SVN r78407]
2012-05-10 17:06:15 +00:00
Dave Abrahams
2a116b4ea4 Summary: Moved libs/detail/utf8_codecvt_facet.cpp to boost/detail/utf8_codecvt_facet.ipp
Author: Dave Abrahams <dave@boostpro.com>


[SVN r78081]
2012-04-19 18:19:20 +00:00
Daniel James
e0e8ccb712 Detail: Add macro to explicitly enable forward declaration of containers.
[SVN r77067]
2012-02-18 15:48:59 +00:00
Daniel James
17612676b8 Detail: Disable container forward declarations for recent versions of libstdc++, refs #6326.
[SVN r76419]
2012-01-11 23:00:55 +00:00
John Maddock
948271c0ae Fix Clang workaround.
Fixes #6156.

[SVN r76323]
2012-01-05 17:29:22 +00:00
Daniel James
609cf3c49f Detail: Fix BOOST_CONTAINER_FWD_COMPLEX_STRUCT. Refs #6139.
My last change was wrong, it isn't struct for Dinkumware. In GCC's
standard library it's declared as a class, but later defined as a
struct. This is so far untested as I'm building the latest trunk version
of clang (the warning doesn't show for the current clang release).

[SVN r75600]
2011-11-21 23:21:32 +00:00
Daniel James
735804d636 Detail: complex is a struct in Dinkumware.
IIRC it's `class` in SGI's STL and most other implementations. The state
for similar warnings for the compilers that I've looked at:

- Visual C++ never warns because I used a pragma to disable the warning.
- GCC never warns with its standard library since it contains a
  `system_header` pragma. It might warn for other libraries.
- Clang respects GCC's pragma so it never warns for GCC's standard
  library. Forward declarations are disabled for libc++ so this isn't an
  issue there. It does warn when using Dinkumware and possibly other
  standard libraries.

I'm tempted to make container forwarding 'opt-in' rather than 'opt-out'.
Or maybe only enable for compiler/library combinations where it's known
to work.

[SVN r75561]
2011-11-19 23:29:24 +00:00
Daniel James
4c711ba972 Detail: Revert [67484] in container_fwd. Refs #6139
[SVN r75544]
2011-11-18 11:32:43 +00:00
Peter Dimov
0f51c7701d Use <intrin.h> for VS2010+. Refs #4678.
[SVN r75396]
2011-11-07 23:08:53 +00:00
Daniel James
7b712685ce Detail: Don't forward declare containers for gcc in profile mode. Refs #6029.
Also a big clear comment about `BOOST_DETAIL_NO_CONTAINER_FWD` and a
fixed typo.

[SVN r75016]
2011-10-17 20:36:56 +00:00
Daniel James
2423aff085 Detail: Turn forward declarations for IBM Visual Age standard library.
[SVN r73453]
2011-07-30 20:24:39 +00:00
Daniel James
bb1f3d690a Detail: More pessimistic container_fwd.hpp
Have a separate config stage, which by default disables forward
declaration of containers. Also add a test to check that if it is
disabled correctly.

Removed forward declaration of std::pair - since it's almost always
included by `<utility>`.

[SVN r72990]
2011-07-09 17:13:39 +00:00
Anthony Williams
9f938bf39b Applied patch from issue #4849
[SVN r70383]
2011-03-21 23:09:07 +00:00
Peter Dimov
c42fd431af Add hash_value for shared_ptr; prevents hash_value( bool ) from being used. Refs #5216.
[SVN r69260]
2011-02-24 23:24:54 +00:00
David Deakins
704bb6644b Changes to complete Boost.Chrono support for Windows CE. Closes ticket 5218.
[SVN r69240]
2011-02-24 18:21:52 +00:00
Christopher Jefferson
5367f6459d libc++ also has no const on codecvt length
[SVN r68859]
2011-02-14 10:27:38 +00:00
Beman Dawes
8717cff3c5 Initial commit; bitmask.hpp is needed by upcoming filesystem changes
[SVN r68836]
2011-02-13 14:48:01 +00:00
Christopher Jefferson
361414ba84 Disable forward container declarations for libc++
[SVN r68786]
2011-02-11 20:39:25 +00:00
Steven Watanabe
4920859a06 Restore [66804], [66833], and [66834]. (fenv fixes.) I mistakenly reverted them in [68201] because [66804] was mislabeled.
[SVN r68554]
2011-01-30 06:24:30 +00:00
Beman Dawes
76e55056de Add BOOST_ASSERT_MSG. Add macros to configure output stream.
[SVN r68414]
2011-01-24 15:37:13 +00:00
Steven Watanabe
b98d99bc63 Revert addition of BOOST_NIX, etc and everything tied to it. ([66696], [66783], [66804], [66833], and [66834])
[SVN r68201]
2011-01-17 04:51:54 +00:00
Steven Watanabe
d20069a4d6 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
e3049b1480 Make <boost/detail/iomanip.hpp> include <iomanip> and put the <iomanip> functions
in the boost::detail namespace if not on clang- or intel-linux.



[SVN r68165]
2011-01-15 02:23:46 +00:00
Bryce Adelstein-Lelbach
74a47fbf05 Fixed issue with iomanip implementation + Apache stdlib.
[SVN r68156]
2011-01-14 17:39:36 +00:00
Bryce Adelstein-Lelbach
0693db0847 Fixed ambiguity issues when compiling with C++0x support enabled.
[SVN r68155]
2011-01-14 17:37:59 +00:00
Bryce Adelstein-Lelbach
e8060b3ef5 Removed the use of __gnu_cxx::is_sorted from Boost.Graph as it's lolnonportable,
implemented a version of the algorithm as a replacement,



[SVN r68144]
2011-01-14 03:02:47 +00:00
Bryce Adelstein-Lelbach
99f3841839 Updating copyright.
[SVN r68137]
2011-01-14 00:23:15 +00:00
Vicente J. Botet Escriba
91db205d17 Boost.Chrono: try to fix LONGLONG_ definition
[SVN r68128]
2011-01-13 22:07:19 +00:00
Vicente J. Botet Escriba
e7f3ca8c2f Boost.Chrono: Added detail/win files used by Boost.Chrono to manage with HEAADER_ONLY libs
[SVN r67749]
2011-01-07 07:51:15 +00:00
Bryce Adelstein-Lelbach
d6a77e4054 Added the get_c_string function back in (it dispatches to the get_c_string_impl
CP). Fixed utree::list_type attribute so that only non-list utree nodes are wrapped in lists (this was the original behavior we wanted).



[SVN r67484]
2010-12-29 01:37:28 +00:00
Bryce Adelstein-Lelbach
a057517431 Added an iomanip implementation to boost/detail. GNU's libstdc++ version 4.5+
contains an iomanip header which uses C++0x features that only GCC supports,
causing breakage with ICC and Clang. Also added a test, but I'm not sure how to
set it up to be run by the testing machines.



[SVN r67111]
2010-12-08 18:25:07 +00:00
Beman Dawes
2a7bc8999f fix fumble-fingers
[SVN r66895]
2010-11-30 14:56:03 +00:00
Beman Dawes
6d861790f7 Rename main.hpp -> lightweight_main.hpp
[SVN r66894]
2010-11-30 14:53:22 +00:00
Beman Dawes
313008fc31 Add lightweight std::exception catching main, dependent only upon <iostream> and <exception>
[SVN r66893]
2010-11-30 14:48:03 +00:00
Bryce Adelstein-Lelbach
1d911d3784 Added *nix identification macros to Boost.Config; BOOST_NIX, BOOST_GENETIC_NIX,
BOOST_TRADEMARK_NIX and BOOST_FUNCTIONAL_NIX.



[SVN r66804]
2010-11-27 21:43:52 +00:00
Bryce Adelstein-Lelbach
2c1f83de56 Added BOOST_HAS_FENV_H detection to Boost.Config (if this macro is defined, then
the standard library/platform provide a POSIX compliant implementation of fenv.h).



[SVN r66693]
2010-11-23 03:34:05 +00:00
Bryce Adelstein-Lelbach
9261171c6f Added a detail header for fenv. Please use boost/detail/fenv.hpp in Boost code
to avoid problems with Clang/glibc.



[SVN r66458]
2010-11-08 17:10:25 +00:00
John Maddock
d1a4c127eb Pick STLPort endian options when available.
This should be a fix for embedded Visual C++ used with STLPort.

[SVN r65089]
2010-08-28 17:34:12 +00:00