Ion Gaztañaga
84fa956568
Add overaligned vector test
2026-01-19 00:39:13 +01:00
Ion Gaztañaga
6512eaea71
Allow adaptive pool based classes to support overaligned types. This change requires adding the node alignment data thorough the class inheritance and complicating a bit the logic for the adaptive pool. Overalignment value is packed inside free bits of existing bits in order to avoid breaking ABI.
2026-01-18 16:16:57 +01:00
Ion Gaztañaga
4b44909c8c
Increase shared memory size for pool tests to support overaligned types
2026-01-18 16:11:29 +01:00
Ion Gaztañaga
908711f200
Fix syntax error
2026-01-13 23:47:30 +01:00
Ion Gaztañaga
d2ecb8937c
Use allocate_aligned in cached implementation and the allocator_v1 testing utility to support overaligned types.
2026-01-13 23:39:37 +01:00
Ion Gaztañaga
c9aa051025
Add overalignment support for node_allocator, private_node_allocator and cached_node_allocator
2026-01-13 23:30:43 +01:00
Ion Gaztañaga
fb5ba06d6c
Increase shared_memory size as tests with overaligned ints require much more space
2026-01-13 01:27:35 +01:00
Ion Gaztañaga
e760874846
Divide too big to maintain (flat_)tree into (flat_)map and (flat_)set tests.
2026-01-11 01:45:18 +01:00
Ion Gaztañaga
b401b56c33
Add shared_node_pool to pool testing.
2026-01-10 22:58:53 +01:00
Ion Gaztañaga
9f1c4b21b3
Add alignment checks now that allocate_aligned is used in several functions
2026-01-10 19:32:50 +01:00
Ion Gaztañaga
aab8703240
Modify experimental "allocate_many" function to take an alignment parameter.
2026-01-10 18:58:01 +01:00
Ion Gaztañaga
5069b61f65
Use aligned allocation for allocator::allocate to support overaligned types.
2026-01-10 18:43:38 +01:00
Ion Gaztañaga
89e70d1608
Delete commented test code
2026-01-08 22:09:15 +01:00
Ion Gaztañaga
4b6f3bd539
Add overalignment support for segment_manager allocation_command functions.
2026-01-08 21:43:53 +01:00
Ion Gaztañaga
76e3feac9d
Rename Allocator to segment manager
2026-01-07 15:22:20 +01:00
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