244 Commits

Author SHA1 Message Date
Ion Gaztañaga
a16cac255b Add additional test to static_cast to make sure address is preserved 2026-01-04 20:22:44 +01:00
Ion Gaztañaga
e7bc830886 #252 (['"[regression] no viable constructor for offset_ptr with clang from 1.87.0"])]. 2026-01-04 15:43:56 +01:00
Ion Gaztañaga
f656e80907 More traces 2026-01-02 20:41:41 +01:00
Ion Gaztañaga
ce6abf7750 Even more traces, identifying parent, child and grandchild 2026-01-02 18:57:39 +01:00
Ion Gaztañaga
adc811629b Add more traces to debug 2026-01-02 16:57:08 +01:00
Ion Gaztañaga
3bf3f5a0e5 Add more traces to test failures to have more information on CI 2026-01-02 13:34:57 +01:00
Ion Gaztañaga
15ed069ad2 Remove commented code. 2025-12-29 11:07:04 +01:00
Ion Gaztañaga
9fcfda9c82 Reimplement managed_heap_memory to use overaligned capable operator new instead of a vector of chars, since the alignment required by a segment manager alignment might be bigger than the default one provided by mallo.c 2025-12-29 11:05:42 +01:00
Ion Gaztañaga
7db1681063 Add missing "import testing" 2025-12-11 15:24:04 +01:00
Ion Gaztañaga
55017f48ff Fixes #247
Fix move semantics for cache-containing allocators
2025-11-23 00:44:48 +01:00
Ion Gaztañaga
cb612879cd Fixes #261 ("Memory Mapping Empty Files Fails"):
Detail that empty mappings will lead to error, and add get_size method to file_mapping to be able to detect empty mappings.
2025-11-13 23:33:46 +01:00
Ion Gaztañaga
900177a15e Fixes #272 ("Regression boost 1.87: offset_ptr conversion from void no longer works") 2025-11-10 23:51:00 +01:00
Ion Gaztañaga
c3aa95bf12 Fix -Wcast-qual warnings 2025-11-03 00:13:28 +01:00
Ion Gaztañaga
499225d12e Fixes #255 ("Typos in Boost 1.87 documentation") 2025-04-14 23:14:24 +02:00
Ion Gaztañaga
35316d6249 Avoid Wattributes false positives on older GCCs 2024-10-07 23:13:40 +02:00
Ion Gaztañaga
cbeb5b5ea9 Implement new ABI for segment_manager that supports overaligned types. 2024-09-22 01:12:32 +02:00
Ion Gaztañaga
cdf9125f98 Refactor set_test exception handling, removing the shared memory just after creating it, to avoid any leak and beautifying the code. 2024-08-25 23:15:16 +02:00
Ion Gaztañaga
5b9a58d680 Add check to make sure POSIX functions are available in Cygwin. 2024-08-25 23:09:45 +02:00
Ion Gaztañaga
68c7e80b22 Fix typo (";") 2024-08-25 20:13:58 +02:00
Ion Gaztañaga
9c991cc4c3 Filter some Cygwin returned EINVAL errors due to implementation limitations. With these changes tests run fine under Cygwin64. 2024-08-25 19:17:01 +02:00
Ion Gaztañaga
291cedcea1 Merge branch 'modular' of https://github.com/grafikrobot/boostorg.interprocess into grafikrobot-modular 2024-08-19 00:02:10 +02:00
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
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
Rene Rivera
62acbe09cd Update build deps. 2024-08-14 23:38:01 -05:00
Rene Rivera
ed6ad9c003 Sync from upstream. 2024-08-12 20:32:57 -05:00
Ion Gaztañaga
e823bd9c0f Fix test_allocate_aligned loop condition 2024-08-11 21:58:02 +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
Rene Rivera
18b4126217 Sync from upstream. 2024-08-08 21:58:53 -05: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
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
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
Rene Rivera
70dc8a79fe Sync from upstream. 2024-08-03 18:17:40 -05: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
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
Rene Rivera
de388cff30 Update build deps. 2024-08-03 15:44:12 -05:00
Rene Rivera
2c5945d272 Change all <source> references to <library>. 2024-07-20 19:39:54 -05:00
Rene Rivera
7bd6727bfc Make the library modular usable. 2024-03-11 08:38:16 -05:00
Ion Gaztañaga
8e4caa9fca Add timed_utils header and refactor all dependent header to use the new header 2024-02-27 00:13:47 +01:00
Ion Gaztañaga
b12499e3fb Add missing <typeinfo> header 2024-02-27 00:12:47 +01:00
Ion Gaztañaga
6fedc42999 Use clock::time_point instead of the templated timepoint when obtaining current time to get maximum precission. 2024-01-14 20:33:13 +01:00
Ion Gaztañaga
747ab51363 Revert BaseTime reduction as GH runners can receive low CPU 2024-01-14 18:05:11 +01:00
Ion Gaztañaga
efb6c36567 Add random id to process id to avoid potential conflicts when testing in parallel in containers 2024-01-14 00:19:09 +01:00
Ion Gaztañaga
ea5b744e13 Fix unused index warning 2024-01-14 00:17:54 +01:00