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
4b82af3c28
Merge pull request #227 from k3DW/shadow
...
Fix Wshadow warning for Clang <= 4.0
2024-08-22 22:02:04 +02:00
Braden Ganetsky
b794cf9253
Fix Wshadow warning for Clang <= 4.0
2024-08-22 13:31:00 -05:00
Ion Gaztañaga
05702dbe1e
Fix Wshadow warning for Clang <= 4.0
2024-08-22 11:25:34 +02:00
Ion Gaztañaga
2449ba1c74
Disable Wdeprecated-declarations also for clang in windows
2024-08-22 01:41:05 +02:00
Ion Gaztañaga
1ab1b42ce6
Fix GCC Wconversion errors when compiling in 64 bit mode.
2024-08-22 00:07:58 +02:00
Ion Gaztañaga
9e2968be1a
Fix Wsign-conversion warnings when dealing with nanosleep input parameters
2024-08-21 20:48:06 +02:00
Ion Gaztañaga
1207dd4fe5
Remove unnecessary dependencies.
2024-08-19 00:22:19 +02:00
Ion Gaztañaga
646c5ce0e5
Merge branch 'grafikrobot-modular' into develop
2024-08-19 00:03:23 +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
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
Rene Rivera
62acbe09cd
Update build deps.
2024-08-14 23:38:01 -05: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
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
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
Rene Rivera
18b4126217
Sync from upstream.
2024-08-08 21:58:53 -05: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
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
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