Commit Graph

518 Commits

Author SHA1 Message Date
Ion Gaztañaga
81a5fcf56d Removed trailing whitespaces. 2014-05-28 15:48:09 +02:00
Ion Gaztañaga
de405e89a3 * If BOOST_USE_WINDOWS_H is defined, <windows.h> and other windows SDK files are included,
otherwise the library declares needed functions and structures to reduce the impact of including
those heavy headers.

*  Added `get_size` to windows_shared_memory.
2014-05-28 15:30:04 +02:00
Ion Gaztañaga
02a7e7ecf2 More interprocess_exception fixes & #ifdef rephrasings 2014-05-25 20:50:39 +02:00
Adam Wulkiewicz
d0a647b129 Rephrase the #ifdef in errors.hpp 2014-05-25 17:21:50 +02:00
Adam Wulkiewicz
f1e1af0a47 Fix interprocess_exception throw in file_wrapper::priv_open_or_create.
On Windows the exception object is created using the result of GetLastError().
When compiled using MinGW the throw instruction itself is using some WinApi call which overwrites the last error.
Therefore the error code must be retrieved before the exception is thrown.
2014-05-25 17:13:35 +02:00
Ion Gaztañaga
58078fad47 Added pull #2 to changelist 2014-05-21 14:37:09 +02:00
Richard Dale
ec7b1726a6 Provide support for the Cray C++ compiler. The Cray compiler defines __GNUC__
and generally supports gnu extensions to C and C++.  It does not, however, support
inline assembly.  The changes here are to avoid inline assembly when _CRAYC is asserted
in the preprocessor.
2014-05-20 13:14:53 -05:00
Ion Gaztañaga
664739f824 Merge branch 'develop' 2014-04-30 12:49:24 +02:00
Ion Gaztañaga
978b1eaf6e Changelog updated marking issue #9729 as resolved. 2014-04-28 01:31:21 +02:00
Ion Gaztañaga
fb1b0e547c Fixes #9767 (bootstamp generation causes error in case of corrupt Windows Event Log) and #9911 (get_tmp_base_dir(...) failure) 2014-04-28 01:21:03 +02:00
Ion Gaztañaga
9191d2cca6 Fixed #9946: ret_ptr uninitialized in init_atomic_func, fini_atomic_func 2014-04-26 23:47:09 +02:00
Ion Gaztañaga
1e2345cdf1 Merge branch 'develop' 2014-04-16 12:21:17 +02:00
Ion Gaztañaga
5f81d0dc14 Fixes #9861 "Remove references to gcc-mingw" 2014-04-16 12:13:59 +02:00
Ion Gaztañaga
65b5d34a04 Fixes #9835, typos and MSVC version offset_ptr branchless optimization fix. 2014-04-08 06:50:52 +02:00
Ion Gaztañaga
f7a0fe53d6 Merge branch 'develop' 2014-02-15 00:16:16 +01:00
Ion Gaztañaga
cdda0f1854 Workaround for MSVC2013 x64 2014-02-15 00:15:39 +01:00
Ion Gaztañaga
7560456f8d Workaround for MSVC20013 x64 2014-02-15 00:14:43 +01:00
Ion Gaztañaga
f996890d8f Syncs master and develop 2014-02-14 23:22:02 +01:00
Ion Gaztañaga
0526a090be Fixed previous git reset error. 2014-02-14 23:20:54 +01:00
Ion Gaztañaga
15d293dcc0 Merge branch 'master' of github.com:boostorg/interprocess 2014-02-14 21:58:39 +01:00
Ion Gaztañaga
ce5733d260 Sync'ed master with latest develop 2014-02-14 21:57:08 +01:00
Ion Gaztañaga
a0ea486cf6 Merge branch 'develop' interprocess-1.56.00.b0 2014-02-14 20:03:03 +01:00
Ion Gaztañaga
874c4ae55c Create first merge point for Git 2014-02-14 19:40:29 +01:00
Ion Gaztañaga
f5f5c8c903 - Removed old fully_mapped_file.hpp header provoked by git transition
- Typo and extra space fix.
2013-12-23 10:21:59 +01:00
Beman
22719e92e2 End-of-line normalization. Most normalization was taken care of by .gitattributes, but a few files originally committed to svn with incorrect eol tags need explicit normalization. See .gitattributes man page and extensive list discussion. 2013-12-01 17:14:41 -05:00
Beman
befc284064 End-of-line normalization. Most normalization was taken care of by .gitattributes, but a few files originally committed to svn with incorrect eol tags need explicit normalization. See .gitattributes man page and extensive list discussion. 2013-12-01 11:39:01 -05:00
Ion Gaztañaga
07bb8d0940 Fixed error when adding os_thread_func_ptr_deleter, UNIX OSs also use it.
[SVN r86777]
2013-11-20 17:10:43 +00:00
Ion Gaztañaga
ecfec55cc9 Fixes #9408 ("Android does not support XSI_SHARED_MEMORY_OBJECTS")
[SVN r86765]
2013-11-19 11:53:51 +00:00
Ion Gaztañaga
7550571040 Removed auto_ptr to avoid deprecation warnings in newer compilers.
[SVN r86749]
2013-11-18 09:33:36 +00:00
Ion Gaztañaga
0773ececab Fixes unfinished code in timed_wait for systems without POSIX timeout support, such as Darwin
[SVN r86529]
2013-10-31 08:54:12 +00:00
Ion Gaztañaga
2f4496a376 Updated 1.56 changelog with #9284
[SVN r86513]
2013-10-29 09:18:39 +00:00
Ion Gaztañaga
960f8f35fd Fixes #9284 ("WaitForSingleObject(mutex) must handle WAIT_ABANDONED")
[SVN r86512]
2013-10-29 08:05:27 +00:00
Ion Gaztañaga
467ba673d3 Simplified, refactored and unified (timed_)lock code based on try_lock(). There were several bugs in when handling timeout expirations.
[SVN r86511]
2013-10-29 07:39:21 +00:00
Ion Gaztañaga
94cfd64cfe Fixes #9285
[SVN r86476]
2013-10-27 12:28:55 +00:00
Ion Gaztañaga
2fe567ffad Fixes #9288
[SVN r86475]
2013-10-27 12:16:43 +00:00
Ion Gaztañaga
ffcddef660 Fixes #9226 (On some computers, Common Appdata is empty in registry, so boost interprocess cannot work)
[SVN r86318]
2013-10-15 09:07:36 +00:00
Ion Gaztañaga
b91dd9efbc Removed incorrect assert(0) introduced when resolving #9221
[SVN r86317]
2013-10-15 08:54:28 +00:00
Ion Gaztañaga
a4ce866747 Fixes #9221 ("message_queue deadlock on linux")
[SVN r86316]
2013-10-15 08:02:09 +00:00
Ion Gaztañaga
5fb241ea57 Fixes #9248 ("os_file_functions.hpp: delete_subdirectories_recursive Win32 HANDLE leak")
[SVN r86304]
2013-10-14 19:50:13 +00:00
Ion Gaztañaga
c8b8129280 Fixed typo in release notes for 1.55 (again)
[SVN r86182]
2013-10-06 19:08:53 +00:00
Ion Gaztañaga
8f0da15896 Fixed typo in release notes for 1.55 (again)
[SVN r86182]
2013-10-06 19:08:53 +00:00
Ion Gaztañaga
091d8c8548 Fixed typo in release notes for 1.55
[SVN r86181]
2013-10-06 18:51:41 +00:00
Ion Gaztañaga
69bf0017cf Fixed typo in release notes for 1.55
[SVN r86181]
2013-10-06 18:51:41 +00:00
Ion Gaztañaga
5565248b45 Don't use EAGAIN as it's not used and requires missing cerrno
[SVN r86089]
2013-09-30 21:01:45 +00:00
Ion Gaztañaga
d472972da5 Don't use EAGAIN as it's not used and requires missing cerrno
[SVN r86088]
2013-09-30 21:01:27 +00:00
Ion Gaztañaga
94b33a6b0b Notify all waiting threads in destructor to allow POSIX semantics on condition variables destruction.
[SVN r86001]
2013-09-29 11:46:58 +00:00
Ion Gaztañaga
cfbcaa43c3 Changed #include <boost/type_traits.hpp> with <boost/type_traits/alignment_of.hpp> + <boost/type_traits/make_unsigned.hpp> to avoid unnecessary header includes.
[SVN r86000]
2013-09-29 11:44:19 +00:00
Stephen Kelly
d3794a5d38 Remove obsolete MSVC check from pragma guard
git grep -h -B1 "^#\s*pragma once" | grep -v pragma | sort | uniq

is now clean.

[SVN r85952]
2013-09-26 13:02:51 +00:00
Stephen Kelly
40e5c3adab Interprocess: Remove obsolete MSVC version check
[SVN r85935]
2013-09-26 09:41:56 +00:00
Ion Gaztañaga
aa6dd59f3b Last merge for 1.55 (Interprocess)
[SVN r85705]
2013-09-16 17:01:45 +00:00