Commit Graph

676 Commits

Author SHA1 Message Date
Ion Gaztañaga
73bc2b87c4 Update intrusive_ptr move semantics to support Boost.Move. 2017-12-08 10:38:55 +01:00
Sebastian Theophil
24a2d2bc25 Make intrusive_ptr move constructible/assignable and make its methods noexcept 2017-12-04 17:38:50 +01:00
Ion Gaztañaga
b3f9a58079 Update to new dtl namespace in boost::container. 2017-11-07 00:52:46 +01:00
Ion Gaztañaga
799356d975 Fixes #41: Data race in boost::interprocess::rbtree_best_fit 2017-10-26 22:17:20 +02:00
Ion Gaztañaga
be3a7e272b Merge branch 'eldiener-develop' into develop 2017-10-01 00:40:20 +02:00
Edward Diener
6f6432ab72 Removed executable attribute for files. 2017-09-17 12:36:23 -04:00
Ion Gaztañaga
70b9e273d7 Merge branch 'ldionne-patch-1' into develop 2017-07-06 14:18:34 +02:00
Louis Dionne
b98796e11a Fix misformatted code samples in the documentation
The current examples look strange since the C++-style comments result in the rest of the line being completely commented-out. This commit changes the way those parameters are documented to make them consistent with the rest of the documentation.

Note that I was unable to test this change because I wasn't able to generate the Boost documentation locally.
2017-07-03 16:18:22 -07:00
Ion Gaztañaga
6f5944f63c Use boost::movelib::unique_ptr instead of std::auto_ptr vs. std::unique_ptr 2017-05-26 23:27:23 +02:00
Ion Gaztañaga
bcbc7c14c5 Merge branch 'DanielaE-feature/replace-deprecated' into develop 2017-05-26 23:21:24 +02:00
Ion Gaztañaga
e628955762 Merge branch 'feature/replace-deprecated' of https://github.com/DanielaE/boost.interprocess into DanielaE-feature/replace-deprecated 2017-05-26 23:19:35 +02:00
Ion Gaztañaga
c4e5fbb7c8 Merge branch 'tabe-doctypo' into develop 2017-05-26 23:17:14 +02:00
Takeshi Abe
6b0b4ae479 Fix typo in documentation 2017-05-19 11:06:06 +09:00
Daniela Engert
08b25cdcdb Conditionally replace deprecated/removed std::auto_ptr by std::unique_ptr.
Inline typedefs from deprecated/removed C++98 function adapters.

Signed-off-by: Daniela Engert <dani@ngrt.de>
2017-05-12 08:30:54 +02:00
Ion Gaztañaga
4178baf834 Update changelog with pull request #34 2017-02-13 00:19:05 +01:00
Ion Gaztañaga
6c87a7ffa4 Merge branch 'davidstrauss-member-for-bmi' into develop 2017-02-12 23:15:05 +01:00
Ion Gaztañaga
4209e4ef61 Merge branch 'member-for-bmi' of https://github.com/davidstrauss/interprocess into davidstrauss-member-for-bmi 2017-02-12 23:14:52 +01:00
Ion Gaztañaga
3881f04e46 Added GitHub Pull #35 ("Fixed options for cross-compilation") to changelog. 2017-02-12 21:56:11 +01:00
Ion Gaztañaga
e02b47f33e Merge branch 'NiklasAngare-cross-options' into develop 2017-02-12 21:53:44 +01:00
Ion Gaztañaga
7a50c4d04e Merge branch 'cross-options' of https://github.com/NiklasAngare/interprocess into NiklasAngare-cross-options 2017-02-12 21:53:31 +01:00
Ion Gaztañaga
eedc9b0a4e New experimental option BOOST_INTERPROCESS_BOOTSTAMP_IS_SESSION_MANAGER_BASED for windows systems. 2017-02-12 21:33:16 +01:00
Niklas Angare
0bf3e3fc03 Fixed options for cross-compilation.
Replaced <host-os> with <target-os> so that the correct options for the target are selected when cross-compiling. When not cross-compiling, it makes no difference as target-os by default mirrors host-os.
2017-02-12 13:04:09 +01:00
David Strauss
6963d26e67 Update example to use multi_index::member instead of BOOST_MULTI_INDEX_MEMBER 2017-02-08 16:29:25 -08:00
Ion Gaztañaga
91cfe4bcd2 Fix documentation build error: extra [endsect]. 2017-02-07 09:21:45 +01:00
Ion Gaztañaga
936afb13f0 Update changelog with Trac #12617 2017-02-06 14:17:32 +01:00
Ion Gaztañaga
e9251cd22a Check MacOs first, as macOS 10.12 SDK defines both CLOCK_MONOTONIC and CLOCK_MONOTONIC_RAW and no clock_gettime 2017-02-06 14:11:45 +01:00
Ion Gaztañaga
0cd4548b45 Update changelog for 1.64 2017-01-20 00:50:02 +01:00
Ion Gaztañaga
b3dd777e5c Fixes ticket #12744 ("winapi::set_timer_resolution inadvertently changes timer resolution (Windows)") 2017-01-20 00:49:48 +01:00
Ion Gaztañaga
acce62f53f Merge branch 'think-cell-explicit_ctor_and_32_64_sharing' into develop 2017-01-20 00:30:18 +01:00
Ion Gaztañaga
d9788306ca Merge branch 'explicit_ctor_and_32_64_sharing' of https://github.com/think-cell/interprocess into think-cell-explicit_ctor_and_32_64_sharing 2017-01-19 23:28:05 +01:00
Ion Gaztañaga
945eb1dbfb Merge branch 'think-cell-pointer_traits' into develop 2017-01-19 23:14:04 +01:00
Tobias Reh
f78a2e2ffd Restore possibility to communicate between 32 and 64 bit processes using 64 bit offsets
If the pointed adress is 128 bytes lower than 'this', we have

(a) 32bit uintptr_t, 32bit OffsetType: offset = 0x        ffffff80
(b) 64bit uintptr_t, 64bit OffsetType: offset = 0xffffffffffffff80
(c) 32bit uintptr_t, 64bit OffsetType: offset = 0x00000000ffffff80

If we read (c) from an 64bit process, it gets interpreted
as 4294967232 bytes forward rather than 128 bytes backward.

This commit solves the problem by ajusting the offset representation of (c)
to match (b).
For the 32bit process itself (c) this makes no difference, as the most
significant 4 bytes get truncated anyway when convertig to a pointer.

Note: For the default OffsetType=uintptr_t this change is only
syntactical.
2017-01-16 11:09:15 +01:00
Tobias Reh
892e541c17 Enable explicit construction of offset_ptr<Derived> from offset_ptr<Base>
With 'enable_if<!is_convertible && is_constructible>' and 'explicit',
care is taken to behave just as 'normal' pointers.
2017-01-16 11:09:14 +01:00
Tobias Reh
46a136479d Conform to std::pointer_traits requirements
offset_ptr<T, ...>::rebind<U> must be offset_ptr<U, ...> directly

to avoid breaking older pointer_traits implementations (like in Visual Studio 2015),
'other' is added as typedef so offset_ptr<T, ...>::rebind<U>::other still works
2017-01-13 16:04:49 +01:00
Ion Gaztañaga
469f38d553 Added test case for BOOST_INTERPROCESS_SHARED_DIR_FUNC 2017-01-12 15:00:10 +01:00
Ion Gaztañaga
5184945ba6 Remove duplicated namespace declaration 2017-01-12 09:12:12 +01:00
Ion Gaztañaga
392e4ef296 Merge branch 'tabe-develop' into develop 2016-11-13 20:58:03 +01:00
Ion Gaztañaga
1dcab03953 Merge branch 'develop' of https://github.com/tabe/interprocess into tabe-develop 2016-11-13 20:57:51 +01:00
Ion Gaztañaga
16cc64be0e Fix documentation typos. 2016-11-13 20:49:14 +01:00
Ion Gaztañaga
68088a469a Add #error if both BOOST_INTERPROCESS_SHARED_DIR_FUNC and BOOST_INTERPROCESS_SHARED_DIR_PATH are defined. 2016-11-13 19:15:04 +01:00
Ion Gaztañaga
ae60c28546 Merge branch 'stheophil-develop' into develop 2016-11-13 17:52:20 +01:00
Ion Gaztañaga
dd41f0ba71 Merge branch 'develop' of https://github.com/stheophil/interprocess into stheophil-develop 2016-11-13 17:50:09 +01:00
Ion Gaztañaga
247dc4f4ad Merge branch 'justinbrewer-develop' into develop 2016-11-13 00:43:38 +01:00
Ion Gaztañaga
90e39b62bc Merge branch 'develop' of https://github.com/justinbrewer/interprocess into justinbrewer-develop 2016-11-13 00:42:07 +01:00
Ion Gaztañaga
b860e7c255 Avoid GCC address sanitizer errors with incorrect vbptr in constructor 2016-11-12 23:55:57 +01:00
Ion Gaztañaga
3e216dd481 Avoid reference to null errors in sanitizers 2016-11-12 23:55:20 +01:00
Ion Gaztañaga
4f8459e868 Merge branch 'develop' of github.com:boostorg/interprocess into develop 2016-11-12 19:18:54 +01:00
Ion Gaztañaga
622bc616d3 Some old shmat implementation take the address as a non-const void pointer so uncast it to make code portable. 2016-11-12 19:18:27 +01:00
Ion Gaztañaga
3d9318aace Disable forceinline for older compilers due to bugs 2016-11-12 19:18:02 +01:00
Justin Brewer
5d42ab216e Add xsi_key(key_t) constructor 2016-11-05 02:14:11 -04:00