Ion Gaztañaga
39ad3c5085
Merge pull request #229 from k3DW/gdb
...
Create GDB pretty printer for offset_ptr, and implement the Unordered customization points
2024-08-29 14:30:01 +02:00
Braden Ganetsky
041f471d82
Create GDB pretty printer for offset_ptr, and implement the Unordered customization points
2024-08-28 21:22:43 -05: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
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
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
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
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
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
8a59059542
Fix diagnostic push GCC version
2024-08-11 21:39:13 +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
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
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
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
Egor Mikhaylov
4023febe13
Fix iterator invalidation bug.
2024-07-23 14:06:26 +03:00
Ion Gaztañaga
f75fd25eb3
Add wrong "static" attribute to anonymous_shared_memory, it should be "inline"
2024-07-09 22:29:44 +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
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
e634913844
Merge pull request #198 from sternmull/develop
...
Minor fixes for documentation of offset_ptr
2024-07-06 22:37:31 +02:00
Ion Gaztañaga
929b488e6c
Remove construct/destroy functions, as they are deprecated in C++ and allocator_traits is used by containers to construct objects
2024-05-17 10:20:37 +02:00
Braden Ganetsky
c75815934d
Fix bug 'Run-Time Check Failure #1 - A cast to a smaller data type has caused a loss of data'
2024-05-15 22:24:17 -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
0614661236
Add random timestamp-based id for xsi_key
2024-01-12 22:00:16 +01:00
Ion Gaztañaga
0aa8b3e9ef
Remove traces
2024-01-12 18:16:42 +01:00
Ion Gaztañaga
57c437897c
More traces to catch xsi test errors
2024-01-12 16:58:19 +01:00
Ion Gaztañaga
755dcbe5ba
Fix timepoint_to_timespec bug for std/boost chrono timepoints
2024-01-12 13:36:25 +01:00
Ion Gaztañaga
bbdcf1bea4
Add assertions in thread joining functions to catch errors.
2024-01-12 13:34:56 +01:00
Ion Gaztañaga
4f78ee0cc2
Remove unneeded functions
2024-01-12 13:34:27 +01:00
Ion Gaztañaga
9eeb075089
Add a more robust nanosleep use taking EINTR into account
2024-01-09 02:04:22 +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
38a03cc08c
Fix broken C+03 support
2024-01-05 13:17:32 +01:00
Pawel Filipczak
fd40397614
Allow to map message_queue in anonymous memory
2023-09-12 16:53:35 +02:00
Tilman Blumhagen
5e423004f0
Minor fixes for documentation of offset_ptr
2023-05-20 15:57:12 +02:00
Ion Gaztañaga
f3de4e90e7
Merge pull request #188 from eagleoflqj/emscripten-shm
...
Fix: emscripten doesn't support shm
2023-04-24 13:00:40 +02:00
Ion Gaztañaga
b55f26b39c
Use official boost unordered_map header.
2023-04-24 12:56:06 +02:00
Ion Gaztañaga
33bc2635fd
Simplify in_place_interface and avoid aliasing in reference-passed "constructed" argument.
2023-04-20 22:18:52 +02:00
Ion Gaztañaga
bd860e1d6d
Fixes #195 ("namespace conflict on constructing objects in segment manager with named proxy in combination with boost geometry")
2023-04-20 20:30:13 +02:00