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
Ion Gaztañaga
ca67d5b2f6
Fix conversion warning when initializing xsi_key
2024-01-14 00:17:35 +01:00
Ion Gaztañaga
0614661236
Add random timestamp-based id for xsi_key
2024-01-12 22:00:16 +01:00
Ion Gaztañaga
4465a67550
Reduce XSI shm memory size
2024-01-12 18:26:00 +01:00
Ion Gaztañaga
4973cb0959
Increase time to avoid timing errors in VM/Docker regression tests
2024-01-12 18:15:01 +01:00
Ion Gaztañaga
9d8c6b7a8a
Add more traces to catch CI errors
2024-01-12 15:33:27 +01:00
Ion Gaztañaga
48e201a9c9
Split several sync utility tests to improve parallelization. Windows:
...
* Spin and Shm based utilities will be tested independently.
* Includes some refactoring to avoid copy-pasting some code in several similar synchronization primitive tests.
2024-01-12 13:46:53 +01:00
Ion Gaztañaga
b01a6bc291
Reduce BaseMs from 400ms to 100m to speed up tests.
2024-01-12 13:37:04 +01:00
Ion Gaztañaga
04fa948217
Add missing change from timer fixses
2024-01-09 01:07:49 +01:00
Ion Gaztañaga
6b498b9b44
Add missing return
2024-01-09 00:53:40 +01:00
Ion Gaztañaga
f052680461
Make synchronization primitive tests more granular on timeouts, from seconds to miliseconds precission for Base Times. This should reduce CI times.
2024-01-09 00:42:22 +01:00
Ion Gaztañaga
f91e0e792f
Output wrong InstanceCounter value on error to better diagnose errors in the test. Clang-win seems to produce correct code in more cases when adding those outputs (compiler bug?).
2024-01-06 02:31:27 +01:00
Ion Gaztañaga
0191a31e21
Increase shared memory size for container tests
2024-01-06 01:17:51 +01:00
Ion Gaztañaga
38a03cc08c
Fix broken C+03 support
2024-01-05 13:17:32 +01:00