Commit Graph

379 Commits

Author SHA1 Message Date
Ion Gaztañaga
01ae144003 Added pragma diagnostic for GCC warnings 2015-10-14 22:20:32 +02:00
Ion Gaztañaga
e1a659468b #undef msvc bug workaround macro after being used 2015-09-30 22:28:06 +02:00
Ion Gaztañaga
845d352287 Fixed Trac bug #11699 ("Forward declarations of std templates causes stack corruption under Visual Studio 2015") 2015-09-30 22:20:18 +02:00
Ion Gaztañaga
d4c6011831 Removed unused piecewise_construct; 2015-09-18 13:47:23 +02:00
Ion Gaztañaga
bd14ee3b0c Use newly refactored move/detail/std_fwd_xxx.hpp headers 2015-09-14 22:39:18 +02:00
Ion Gaztañaga
e352a84dd2 Fixed Trac #5139 ("Initial Stream Position in Boost.Interprocess.Vectorstream") 2015-06-24 16:18:17 +02:00
Ion Gaztañaga
5c090a64be Remove dead XSI code. 2015-06-23 22:57:33 +02:00
Ion Gaztañaga
9b5ccf2d4b Cleanup commented code in exceptions.hpp and update changelog with pull #19 2015-06-23 22:11:32 +02:00
Ion Gaztañaga
88e2e960fe Merge branch 'bugfix/exception-visibility' of https://github.com/Romain-Geissler/interprocess into Romain-Geissler-bugfix/exception-visibility 2015-06-23 22:01:25 +02:00
Ion Gaztañaga
c04a5db131 Support libc++ & gcc in std fwd declarations 2015-06-09 14:53:13 +02:00
Romain Geissler
c98d55c79f Fix exception visibility. 2015-05-18 23:58:26 +02:00
Ion Gaztañaga
5c00dab958 Try to support GCC's versioned std namespaces in forward declarations. 2015-02-26 00:37:48 +01:00
Ion Gaztañaga
09784e6201 Include boost/config.hpp before testing BOOST_HAS_PRAGMA_ONCE. 2015-02-02 16:12:21 +01:00
Ion Gaztañaga
c35b660d52 Use BOOST_NOEXCEPT AND BOOST_NOINLINE instead of cumstom macros 2015-02-01 01:01:54 +01:00
Ion Gaztañaga
25bb48435f - Rewritten posix features detection according to the first POSIX/Single Unix Specification that standardized it.
- Added macro for unnamed semaphores as OSX claims this support but returns ENOSYS, which is not very useful.
- Added macro for mapped files, as QNX does not support them.
2015-01-31 23:18:32 +01:00
Ion Gaztañaga
870d1b8e2d Avoid octal for GCc version check 2015-01-14 15:47:49 +01:00
Ion Gaztañaga
5b20f4910d Replaced _MSC_VER with BOOST_HAS_PRAGMA_ONCE before #pragma once. 2015-01-10 12:50:47 +01:00
Ion Gaztañaga
6c8ba8d3e9 - Erased unused test and files.
- Used simplified simple_swap, nothrow and placement new
2015-01-10 11:06:24 +01:00
Ion Gaztañaga
89e02ab28c Remove Boost.Preprocessor dependency and reuse variadic tools from Container. 2015-01-08 15:39:38 +01:00
Ion Gaztañaga
a8b8eac741 More dependency reduction: Reused Boost.Move/Boost.Intrusive/Boost.Container utilities, removed some standard headers.
Removed some GCC warnings.
2015-01-07 00:56:27 +01:00
Ion Gaztañaga
256eb4e6cd Use <boost/container/detail/minimal_char_traits_header.hpp> to avoid including <string> when possible. 2015-01-04 02:33:38 +01:00
Ion Gaztañaga
37d00bc798 Compile-time dependency reduction. Update to Boost.Container changes. 2015-01-02 19:40:37 +01:00
Ion Gaztañaga
2f61f8543c Merge branch 'feature/haiku-support' of https://github.com/jessicah/interprocess into jessicah-feature/haiku-support 2014-11-22 09:18:49 +01:00
Ion Gaztañaga
366b20dfc9 Use boost::long_long_type to avoid warnings in -pedantic 2014-11-22 09:16:45 +01:00
Adrien Destugues
8fb11b021b haiku: we don't have XSI shared memory, so don't try to use it.
Signed-off-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>
2014-11-16 13:43:52 +13:00
Ion Gaztañaga
060efcfffb Put the forward declaration of _ReadWriteBarrier before the intrinsic pragma to avoid errors in some MSVC versions 2014-10-18 17:58:22 +02:00
Ion Gaztañaga
ddb2bf50c0 Add Mingw support, as _ReadWriteBarrier is a MSVC intrinsic. 2014-10-18 17:42:29 +02:00
Ion Gaztañaga
ac06eb010a Removed GCC warnings about unused parameters 2014-10-13 23:33:30 +02:00
Ion Gaztañaga
7d9f58ca99 Added missing #pragma once 2014-10-13 23:26:57 +02:00
Ion Gaztañaga
2c4f35f282 Fixes Trac #10506 2014-10-04 11:42:22 +02:00
Marcel Raad
cc1aebc7ac Compile fix for BOOST_USE_WINDOWS_H
If BOOST_USE_WINDOWS_H is defined, the call to get_system_info has to be qualified with an explicit namespace.
2014-09-26 11:15:42 +02:00
Ion Gaztañaga
e1b438f64f Added explanations about template parameters in offset_ptr 2014-09-22 00:18:19 +02:00
Ion Gaztañaga
69ad21ad02 Made deallocation function more readable and removed dead code 2014-09-14 23:50:27 +02:00
Ion Gaztañaga
d0d3d7211f Added extra size check for BOOST_ASSERT when previous block is free 2014-09-10 23:20:52 +02:00
Ion Gaztañaga
19e6101b9e Specified template parameter in get_rounded_size to avoid compilation errors in some compilers. 2014-08-31 21:40:36 +02:00
Ion Gaztañaga
4986d95b8e Merge branch 'patch-1' of https://github.com/MarcelRaad/interprocess into MarcelRaad-patch-1 2014-08-31 21:38:42 +02:00
Ion Gaztañaga
0420041e8d Removed unique_ptr and forwarded boost::interprocess::unique_ptr to boost::movelib::unique_ptr 2014-08-27 23:52:12 +02:00
Marcel Raad
32be68c9a2 Compile fix for BOOST_USE_WINDOWS_H
With BOOST_USE_WINDOWS_H defined, get_process_times must be explicitly prefixed with the winapi namespace because ADL cannot deduce it.
2014-08-25 17:04:34 +02:00
Ion Gaztañaga
5a976aa521 Use ___sync_synchronize instead of ___atomic as the later is only available in latest builds. 2014-08-14 01:01:01 +02:00
Ion Gaztañaga
e8c4994b45 Merge branch 'master' of https://github.com/DonOregano/interprocess into DonOregano-master 2014-08-14 00:33:59 +02:00
Lars Hagström
fb52749ed2 fix memory barriers in atomic operations 2014-08-12 10:29:39 +02:00
Ion Gaztañaga
4e56b3c032 Reorganized Doxygen marks to obtain a better header reference 2014-08-04 00:18:14 +02:00
Ion Gaztañaga
58019f0d9a Trac #10229: Compiling errors in interprocess\detail\os_file_functions.hpp 2014-07-31 23:41:05 +02:00
Ion Gaztañaga
3c09ceec0c Renamved variable "hz" as it conflicts with AIX's system variable. 2014-07-30 16:38:50 +02:00
Ion Gaztañaga
ad1b7f301c Massive but simple changes:
- Removed all tabs
- Changed all Doxygen @cond/@endcond tags with preprocessor sections, as Doxygen still has some problems when parsing this code. This also makes unmatched Doxygen sections a compilation error, which is easier to detect.
2014-07-30 11:46:32 +02:00
Adam Wulkiewicz
048c570c70 Fix compilation error in MinGW, invalid return type (pointer to function) 2014-07-28 13:47:26 +02:00
Ion Gaztañaga
dfed5bbab5 Fixes #10230: No Sleep in interprocess::winapi 2014-07-28 00:09:47 +02:00
Ion Gaztañaga
06eef6f4e8 intermodule_singleton fixes for many platforms:
- Use Boost.Container to allow debug-release mixed code (in some platforms, std:: containers' ABI changes from Debug to Release)

- By default non-Phoenix and Lazy singletons.

- Use atexit instead of the global object destructor to obtain LIFO semantics.

- Avoid testing Phoenix singletons, as in many plataforms calling atexit from atexit is not supported.
2014-07-14 23:34:17 +02:00
Ion Gaztañaga
a3e766e635 Fix compilation error in Mingw, GetProcAddress does not return void*, but a pointer to function 2014-07-14 23:32:16 +02:00
Ion Gaztañaga
de72bbf2d8 Fixed vector_test and cleaned up intermodule singleton code. 2014-07-10 21:38:52 +02:00