Andrey Semashev
daa782cd92
Fix compilation error on MinGW.
...
MinGW has nonstandard definition of PSECURITY_DESCRIPTOR, which requires
a cast when calling WinAPI functions InitializeSecurityDescriptor and
SetSecurityDescriptorDacl. This is done by Boost.WinAPI wrapper functions.
Fixes https://github.com/boostorg/interprocess/issues/118 .
2020-06-07 19:00:01 +03:00
Ion Gaztañaga
f2ecdc70ef
Fixes #99 ("Error in win32_api.hpp"):
...
- Careful use of Boost.Winapi and use of SetFilePointer instead of SetFilePointerEx (which requires a _LARGE_INTEGER by value that difficults the use of windows.h in certain circustances)
- Added tests to verify windows.h inclusion without BOOST_USE_WINDOWS_H does not break things
2020-06-03 21:37:02 +02:00
Ion Gaztañaga
ac63d25a4d
Remove vc7 project files
2020-06-03 21:33:48 +02:00
Ion Gaztañaga
037c2dfe5e
- Use Boost Winapi as much as possible (let's see if this fixes #105 )
...
- Disable buggy and old BOOST_INTERPROCESS_BOOTSTAMP_IS_LASTBOOTUPTIME method.
2020-06-03 00:56:47 +02:00
Ion Gaztañaga
c87039b6c4
Fixes issue #89 ("priv_size_from_mapping_size() calculates wrong value")
2020-06-03 00:39:05 +02:00
Ion Gaztañaga
1b12a2aab8
merging interprocess from develop
2020-06-03 00:09:18 +02:00
Ion Gaztañaga
1fc321f31b
Refactor winapi wait on single object to only have a single function depending on date_time's ptime.
2020-06-02 14:51:43 +02:00
Ion Gaztañaga
30d5005ac6
Use is_pos_infinity() instead of pos_inf due to some old MinGW compilers ICEing on the conversion from the special value to ptime
2020-06-02 14:51:08 +02:00
Ion Gaztañaga
c718371493
Refactored "BOOST_INTERPROCESS_ENABLE_TIMEOUT_WHEN_LOCKING" logic into a single function.
2020-06-02 13:21:34 +02:00
Ion Gaztañaga
4c6bacb0f7
Add sanity checks to segment_mananger's constructor
2020-06-02 13:13:48 +02:00
Ion Gaztañaga
b4301c30c5
Add alignment check when constructing the segment_manager
2020-05-25 21:36:09 +02:00
Ion Gaztañaga
5c1fd38334
Remove config_begin/config_end include pairs in tests to better emulate what warnings users will see.
2020-05-25 12:34:23 +02:00
Ion Gaztañaga
e2bbd69831
Merge branch 'EugeneZelenko-use-boost-overt push origin developride' into develop
2020-05-25 12:12:27 +02:00
Eugene Zelenko
d9f81ad77e
Use BOOST_OVERRIDE to fix GCC -Wsuggest-override and Clang-tidy modernize-use-override warnings.
...
Also fix Clang-tidy modernize-deprecated-headers and modernize-use-bool-literals warnings.
Alphabetical order of STL headers.
2020-05-23 17:11:13 -07:00
oktonion
6586572759
enhancing of win file locks
...
makes returns clear to understand
elimintes compiler warnings
2020-03-02 11:17:27 +03:00
oktonion
771e849fae
fix of WinAPI calls to (Un)LockFileEx
...
for WinAPI (Un)LockFileEx reserved value should always be zero, no matter what
2020-03-02 11:03:19 +03:00
oktonion
7935630197
fix of win file locks (classic return equal error)
2020-03-02 11:01:52 +03:00
Dirk Jagdmann
b40daa6b49
fix wording about 32 bit systems.
2019-10-22 15:29:50 -07:00
DCore Team
2fefed3ba2
Correct MSVC compilation warning
...
boost/interprocess/streams/bufferstream.hpp(135): warning C4242: '=': conversion from 'int' to '_Elem', possible loss of data
with
[
_Elem=char
]
2019-06-14 09:59:27 +02:00
Bo Rydberg
f3e38b63a8
Correct references for named_condition_any
...
References for named_condition_any point to named_condition now corrected to named_condition_any.
2019-06-10 23:28:31 +02:00
Ion Gaztañaga
d2cb6e6f0f
merging interprocess from develop
boost-1.73.0
boost-1.71.0
boost-1.73.0.beta1
boost-1.72.0.beta1
boost-1.72.0
boost-1.71.0.beta1
2019-05-25 21:13:12 +02:00
Ion Gaztañaga
4a57769910
- Fixes #85 ("warning: Implicit conversion loses integer precision")
...
- Fixes #86 ("warning: Possible misuse of comma operator")
2019-05-11 19:29:38 +02:00
Ion Gaztañaga
65ae55fe1f
Fix typo in test traces (set_test -> map_test)
2019-04-08 00:33:40 +02:00
Ion Gaztañaga
4744b9a24e
Fixes #80 ("realloc in interprocess's c_heap_deleter can leak memory")
2019-03-13 22:54:33 +01:00
Ion Gaztañaga
6d9b93f1f6
merging interprocess from develop
boost-1.70.0.beta1
boost-1.70.0
2019-03-06 23:49:32 +01:00
Ion Gaztañaga
d5938226a9
Merge branch 'brunom-t push origin developpatch-1' into develop
2019-03-06 23:35:24 +01:00
Ion Gaztañaga
b6be06d16b
Merge branch 'patch-1' of https://github.com/brunom/interprocess into brunom-patch-1
2019-03-06 23:34:54 +01:00
Ion Gaztañaga
59d1f71d5f
Update changelog with issue #51
2019-03-06 23:33:28 +01:00
Ion Gaztañaga
6f28ff86cc
merging interprocess from develop
2019-03-06 09:14:40 +01:00
Bruno Martinez
a6b194810b
Update interprocess.qbk
2019-03-05 14:17:56 -03:00
Ion Gaztañaga
4eb0b4ece0
Merge branch 'Vizor-develop' into develop
2019-02-28 16:07:56 +01:00
Ion Gaztañaga
5476d6ec56
Merge branch 'develop' of https://github.com/Vizor/interprocess into Vizor-develop
2019-02-28 16:07:46 +01:00
Ion Gaztañaga
c4e8e99afb
merging interprocess from develop
2019-02-27 16:13:25 +01:00
Ion Gaztañaga
a8de0b9b65
Update changelog with #78
2019-02-27 00:10:24 +01:00
Ion Gaztañaga
61cd20f519
Merge branch 'MarcelRaad-extra_semi' into develop
2019-02-27 00:05:19 +01:00
Marcel Raad
61bed1fd31
Fix -Wextra-semi clang warnings
...
Remove superfluous semicola.
2019-02-25 10:51:45 +01:00
Ion Gaztañaga
b849a907be
merging interprocess from develop
2019-02-20 09:33:09 +01:00
Ion Gaztañaga
1f3045fa8c
Update change log with pull #70
2019-02-20 09:32:02 +01:00
Vizor
6483b1ced5
Fixed undeclared winapi_wrapper_timed_wait_for_single_object()
...
Declaration of winapi_wrapper_timed_wait_for_single_object() placed above usage of this function.
2019-01-22 15:16:09 +01:00
Edward Diener
2fff651f25
Remove executable permission.
2018-12-03 08:03:20 -05:00
Ion Gaztañaga
5ceeb2b370
Merge branch 'KhabarlakKonstantin-named_condition_deadlock' into develop
2018-12-02 12:27:40 +01:00
KhabarlakKonstantin
296d03858c
Fix deadlock in named_condition::notify
...
Avoid deadlock in named_condition::notify when
BOOST_INTERPROCESS_ENABLE_TIMEOUT_WHEN_LOCKING is defined
2018-11-28 13:44:20 +02:00
Ion Gaztañaga
4e60b89783
merging interprocess from develop
boost-1.69.0
2018-11-24 12:22:17 +01:00
Ion Gaztañaga
4e2c06b242
Fix Issue #64 ("UBSan: runtime error: load of value 4294967295 [...] for type 'boost::interprocess::mode_t')
2018-11-17 00:23:15 +01:00
Ion Gaztañaga
1e89871cdd
Enable test again, check BOOST_INTERPROCESS_MAPPED_FILES after workaround.hpp is included
2018-11-17 00:22:25 +01:00
Ion Gaztañaga
fbf326ccf1
Remove unused variable FileSize
2018-11-17 00:21:56 +01:00
Ion Gaztañaga
53f328f4c1
Fix warnings about throwing destructors, which are by default noexcept
2018-11-17 00:21:41 +01:00
Ion Gaztañaga
aecde39cc8
Update changelog with pull #68
2018-11-16 23:28:00 +01:00
Ion Gaztañaga
85465054a5
Merge branch 'Romain-Geissler-1A-noexcept' into develop
2018-11-16 23:27:13 +01:00
Ion Gaztañaga
45b0a2a50e
Merge branch 'noexcept' of https://github.com/Romain-Geissler-1A/interprocess into Romain-Geissler-1A-noexcept
2018-11-16 23:24:52 +01:00