Commit Graph

979 Commits

Author SHA1 Message Date
Ion Gaztañaga
8028d332db Add 8*pointer_alignment test (32/64 bytes in 32/64 bit systems) 2024-08-18 01:50:33 +02:00
Ion Gaztañaga
42d5d20b7e Fix shrink test using real buffer sizes instead of requested sizes 2024-08-18 01:50:22 +02:00
Ion Gaztañaga
ab9b562a13 - Remove MinBlockUnits/MinBlockSize usage (redundant)
- Better document and add checks to allocate_aligned
2024-08-18 01:15:49 +02:00
Ion Gaztañaga
bb105ba72b Overwrite allocated buffer to catch errors when deallocating in case a control block was overwritten. 2024-08-17 23:50:30 +02:00
Ion Gaztañaga
8deafaa3f3 Remove managed shared memory from the filesystem as soon as possible to minimize the chance of littering the filesystem when tests fail. 2024-08-17 23:49:13 +02:00
Ion Gaztañaga
559cf7c281 Simplify error handling doe and use typedefs to simplify code 2024-08-16 00:28:35 +02:00
Ion Gaztañaga
bd3abfd25f Use aligned allocation to anoymous constructions to support overaligned types 2024-08-15 01:53:12 +02:00
Ion Gaztañaga
48162e3164 Update changelog with dependency reduction 2024-08-15 01:46:12 +02:00
Ion Gaztañaga
5677c9381d Add null_or_bad_alloc utility 2024-08-15 01:45:46 +02:00
Ion Gaztañaga
3d77aec702 Reorder declarations to improve documentation generation 2024-08-15 01:35:46 +02:00
Ion Gaztañaga
43de9ee186 Make in_place_interface members const 2024-08-15 01:33:08 +02:00
Ion Gaztañaga
e823bd9c0f Fix test_allocate_aligned loop condition 2024-08-11 21:58:02 +02:00
Ion Gaztañaga
8a59059542 Fix diagnostic push GCC version 2024-08-11 21:39:13 +02:00
Ion Gaztañaga
9a8730d3e0 Make test_allocate_aligned more demanding testing different alignments. 2024-08-11 19:13:50 +02:00
Ion Gaztañaga
0e9fd5e845 Add minimal "BOOST_INTERPROCESS_FORCE_NATIVE_EMULATION" test 2024-08-11 01:57:53 +02:00
Ion Gaztañaga
0c4e03ac3d Refactor segment_manager_test in sub-tests so that it can be extended more easily 2024-08-11 01:15:44 +02:00
Ion Gaztañaga
f0178e2275 Update dependencies 2024-08-08 22:48:49 +02:00
Ion Gaztañaga
3ead949099 Fix 1.87 changelog. 2024-08-08 01:26:44 +02:00
Ion Gaztañaga
25206e6332 Deprecate boost/interprocess/containers/*.hpp header:
- Change all examples and test to include <boost/container/*>
- Update documentation, including current std library implementation portability regarding offset_ptr
2024-08-08 01:21:14 +02:00
Ion Gaztañaga
b155bae46e Merge pull request #224 from adalisk-emikhaylov/fix-iterator-invalidation
Fix iterator invalidation bug.
2024-08-07 22:46:16 +02:00
Ion Gaztañaga
40149d0e11 Test was using fixed names instead of pid-based names. This could provoke failures when running multi-config (debug,release, std...) tests in parallel. 2024-08-05 00:40:16 +02:00
Ion Gaztañaga
6be5872ef7 Simplify doc_/comp_ examples using quickbook macros instead of in-code #ifdefs. 2024-08-05 00:39:23 +02:00
Ion Gaztañaga
86855f7c70 Including <boost/date_time/posix_time/posix_time_types.hpp> was incorrectly under the Chrono check. 2024-08-04 22:43:04 +02:00
Ion Gaztañaga
a53b1093d8 Optimize offset_ptr assignment from raw pointer. Previous implementation used a conversion to offset_ptr leading to redundant operations. 2024-08-04 01:42:17 +02:00
Ion Gaztañaga
6c1db51aba Improve offset_ptr doxygen documentation hidding enable_if parameter for convertible pointers and fixing some typos. 2024-08-04 01:41:59 +02:00
Ion Gaztañaga
4e1749d94c Use std::nullptr_t in documentation instead of internal op_nullptr_t 2024-08-04 01:38:41 +02:00
Ion Gaztañaga
39aed2f41b offset_ptr improvements:
- Use simplier traits to reduce dependencies and add support for nullptr
- Add tests cover construction/assignment from literal zero and nullptr
2024-08-03 23:14:36 +02:00
Ion Gaztañaga
c886f911c9 Use static_cast to silence unsigned to signed warning (we know off_type is big enough for any possible size() in this class) 2024-08-03 23:13:23 +02:00
Ion Gaztañaga
7ecbc1ac74 Avoid BOOST_SCOPED_ENUM_DECLARE_BEGIN to reduce dependencies. 2024-08-03 23:12:43 +02:00
Ion Gaztañaga
96fed2e73b Library headers: Use Container's addressof and local static assert to reduce dependencies. Use BOOST_INTERPROCESS_TRY/CATCH when possible. 2024-08-03 23:11:47 +02:00
Ion Gaztañaga
f296b017df Boost.Chrono requires now C++11 but is not tested on GCC older than 4.8 which has no enough C++11 features to suppor it. Detect and avoid using Chrono in tests in those cases 2024-08-03 22:49:59 +02:00
Ion Gaztañaga
b7efa4bbaf Add missing newline at end. 2024-08-03 22:48:25 +02:00
Ion Gaztañaga
dc504fa3e1 Remove unneeded <boost/static_assert.hpp> include 2024-08-03 22:48:11 +02:00
Ion Gaztañaga
4a011349db Test files: Replace BOOST_TRY/CATCH family macros with BOOST_INTERPROCESS_TRY/CATCH 2024-08-03 22:47:34 +02:00
Ion Gaztañaga
865573a821 Replace BOOST_TRY/CATCH family macros with BOOST_INTERPROCESS_TRY/CATCH 2024-08-03 22:37:11 +02:00
Ion Gaztañaga
1e28228d9c Add macros for BOOST_INTERPROCESS_TRY/... and get_process_id_name to automatically clean-up doc/comp examples in the documentation to "try/..." and / "MySharedMemory". 2024-08-03 22:22:24 +02:00
Ion Gaztañaga
25d7b35b72 Add BOOST_INTERPROCESS_STATIC_ASSERT and BOOST_INTERPROCESS_TRY/CATCH/CATCH_END in order to reduce dependencies (Boost.Core, Boost.StaticAssert) 2024-08-03 22:21:14 +02:00
Ion Gaztañaga
b8fc3fd422 - Add natvis definition to changelog
- Replace BOOST_TRY with try in example
2024-07-29 00:32:51 +02:00
Ion Gaztañaga
60cef1c91f Use C-casts to support cv qualified element_types 2024-07-29 00:31:18 +02:00
Egor Mikhaylov
4023febe13 Fix iterator invalidation bug. 2024-07-23 14:06:26 +03:00
Ion Gaztañaga
9fc4ee7dd7 Merge pull request #222 from k3DW/natvis
Create natvis definition for `offset_ptr`
boost-1.86.0
2024-07-18 00:18:12 +02:00
Braden Ganetsky
42780660b3 Create natvis definition for offset_ptr, and implement the Unordered customization point intrinsic functions 2024-07-15 23:32:41 -05:00
Ion Gaztañaga
f75fd25eb3 Add wrong "static" attribute to anonymous_shared_memory, it should be "inline" boost-1.86.0.beta1 2024-07-09 22:29:44 +02:00
Ion Gaztañaga
0be0d7db23 Merge branch 'develop' of github.com:boostorg/interprocess into develop 2024-07-06 23:26:25 +02:00
Ion Gaztañaga
6d4c0dd61a Removed copy-paste typo 2024-07-06 23:26:17 +02:00
Ion Gaztañaga
17d26a610b Add #202 to the changelist 2024-07-06 23:25:06 +02:00
Ion Gaztañaga
39b26b9814 Merge pull request #202 from intuibase/allow_to_map_message_queue_in_anonymous
Allow to map message_queue in anonymous memory
2024-07-06 23:23:13 +02:00
Ion Gaztañaga
482dce98b6 Update 1.86 changelist with #191, #198, #207 and #214 2024-07-06 22:45:44 +02:00
Ion Gaztañaga
480bd01514 Merge pull request #191 from grrtrr/issue_190
vectorstream: support file sizes larger than INT_MAX
2024-07-06 22:44:52 +02:00
Ion Gaztañaga
4a1f284f44 Merge pull request #207 from timblechmann/feature/cmake-usage-requirements
cmake: link system libraries
2024-07-06 22:40:21 +02:00