Commit Graph

1040 Commits

Author SHA1 Message Date
Braden Ganetsky
60fe74a025 Fix shadowing warning 2024-09-27 22:36:12 -05:00
Ion Gaztañaga
6c8f351fda Fixes #199 ('"Missing/misused m_is_wide in char_wchar_holder assignment operators"). 2024-09-26 23:55:21 +02:00
Ion Gaztañaga
a22d4986d7 - Explicitly static_assert if raw pointers are used when calling "grow" as it was never supported.
- Update documentation to state this.

- Fixes #220 ("basic_managed_shared_memory::grow() do not return when using raw pointers")
2024-09-26 14:51:04 +02:00
Ion Gaztañaga
e7ed694f31 Update copyright year 2024-09-26 14:46:07 +02:00
Ion Gaztañaga
ed2e93daaf Optimize named construction memory overhead for cases where alignof(T) is small. 2024-09-25 13:14:20 +02:00
Ion Gaztañaga
2931454319 Optimize memory usage for anonymous constructions avoiding overaligning the requested object. 2024-09-25 00:13:34 +02:00
Ion Gaztañaga
9821254d53 Use "-pipe" to gcc/clang toolsets 2024-09-24 15:56:03 +02:00
Ion Gaztañaga
94bc4e1186 Optimize memory layout for the new ABI reducing block_header size to a single word and store string length outside the block_header. 2024-09-24 11:08:56 +02:00
Ion Gaztañaga
9da11df22c Add Bin folder to gitignore 2024-09-24 11:07:37 +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
d6c4649870 Remove unneeded priv_index_header_from_block 2024-09-18 11:39:33 +02:00
Ion Gaztañaga
0665fd3f1a Refactor quasi-duplicated priv_generic_named_destroy and priv_generic_named_construct implementations. 2024-09-17 22:06:22 +02:00
Ion Gaztañaga
b53ffe5925 Add pause implementation for ARM 2024-09-17 22:03:51 +02:00
Ion Gaztañaga
7ff92b0640 Refactor to unify priv_generic_find under the same function. 2024-09-15 22:22:22 +02:00
Ion Gaztañaga
5ca730e07a Test MultiIndex only with C++11 support. 2024-09-15 00:18:41 +02:00
Ion Gaztañaga
9733379414 Remove extra semicolon. 2024-09-14 14:06:54 +02:00
Ion Gaztañaga
d6559649e7 replace placement_destroy usage with a simple range destruction helper function. 2024-09-14 14:05:35 +02:00
Ion Gaztañaga
09f5aa646f Fixed merge conflict 2024-09-13 21:11:01 +02:00
Ion Gaztañaga
342f3cc8f4 Replace in_place_interface-based polymorphism with templated code 2024-09-13 21:09:48 +02:00
Ion Gaztañaga
8a348c88ad Replace in_place_interface-based polymorphism with templated code 2024-09-13 12:06:48 +02:00
Ion Gaztañaga
615f64c9a0 Add helper "is_ptr_aligned" 2024-09-13 12:03:02 +02:00
Ion Gaztañaga
37e3451aa6 Make block_header members const 2024-09-13 12:00:11 +02:00
Ion Gaztañaga
64a08a6933 Merge branch 'develop' of github.com:boostorg/interprocess into develop 2024-08-29 14:30:40 +02:00
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
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