Commit Graph

745 Commits

Author SHA1 Message Date
Ion Gaztañaga
e8c4994b45 Merge branch 'master' of https://github.com/DonOregano/interprocess into DonOregano-master 2014-08-14 00:33:59 +02:00
Lars Hagström
fb52749ed2 fix memory barriers in atomic operations 2014-08-12 10:29:39 +02:00
Ion Gaztañaga
4e56b3c032 Reorganized Doxygen marks to obtain a better header reference 2014-08-04 00:18:14 +02:00
Ion Gaztañaga
aa9d568a8e Fixed typo in interprocess.qbk 2014-08-01 11:27:53 +02:00
Ion Gaztañaga
3fc54a9b59 Updated Jamfile.v2 with new macros for Doxygen and update changelog. 2014-07-31 23:43:44 +02:00
Ion Gaztañaga
58019f0d9a Trac #10229: Compiling errors in interprocess\detail\os_file_functions.hpp 2014-07-31 23:41:05 +02:00
Ion Gaztañaga
3c09ceec0c Renamved variable "hz" as it conflicts with AIX's system variable. 2014-07-30 16:38:50 +02:00
Ion Gaztañaga
ad1b7f301c Massive but simple changes:
- Removed all tabs
- Changed all Doxygen @cond/@endcond tags with preprocessor sections, as Doxygen still has some problems when parsing this code. This also makes unmatched Doxygen sections a compilation error, which is easier to detect.
2014-07-30 11:46:32 +02:00
Ion Gaztañaga
36713fbe07 Fixed missing [endsect] and shallowed a bit the Notes section. 2014-07-30 11:44:39 +02:00
Ion Gaztañaga
18a69ef795 Merge branch 'awulkiew-fix' into develop 2014-07-29 11:29:17 +02:00
Adam Wulkiewicz
048c570c70 Fix compilation error in MinGW, invalid return type (pointer to function) 2014-07-28 13:47:26 +02:00
Ion Gaztañaga
ed77ae663a Updated change log with Trac #10230 2014-07-28 00:14:54 +02:00
Ion Gaztañaga
dfed5bbab5 Fixes #10230: No Sleep in interprocess::winapi 2014-07-28 00:09:47 +02:00
Ion Gaztañaga
06eef6f4e8 intermodule_singleton fixes for many platforms:
- Use Boost.Container to allow debug-release mixed code (in some platforms, std:: containers' ABI changes from Debug to Release)

- By default non-Phoenix and Lazy singletons.

- Use atexit instead of the global object destructor to obtain LIFO semantics.

- Avoid testing Phoenix singletons, as in many plataforms calling atexit from atexit is not supported.
2014-07-14 23:34:17 +02:00
Ion Gaztañaga
a3e766e635 Fix compilation error in Mingw, GetProcAddress does not return void*, but a pointer to function 2014-07-14 23:32:16 +02:00
Ion Gaztañaga
e9659e563b Workaround for error in Intel compilers, avoid the static array 2014-07-14 23:31:16 +02:00
Ion Gaztañaga
acd03c0fa3 Add -lrt in Jamfiles to linux platforms 2014-07-14 23:30:33 +02:00
Ion Gaztañaga
de72bbf2d8 Fixed vector_test and cleaned up intermodule singleton code. 2014-07-10 21:38:52 +02:00
Ion Gaztañaga
fe40c36e6c Removed unused variable and strict aliasing warnings in GCC. 2014-06-16 21:07:10 +02:00
Ion Gaztañaga
2b4788e183 Fixed mimatched new[]/delete when using auto_ptr. 2014-06-16 00:38:28 +02:00
Ion Gaztañaga
a530143c41 Fixed test to test that get_instance_name returns typeid(T).name(). 2014-06-16 00:24:35 +02:00
Ion Gaztañaga
1eb0000ac9 Fixed unused variable and redeclaration warnings. 2014-06-06 14:06:53 +02:00
Ion Gaztañaga
360a39d078 Removed unneeded dependency from Boost.Math 2014-06-06 14:06:11 +02:00
Ion Gaztañaga
8895c8a44e Removed some unused typedef/variable warnings 2014-06-06 08:49:53 +02:00
Ion Gaztañaga
e7ecf38a82 Merge branch 'awulkiew-fixes' into develop 2014-06-06 08:37:59 +02:00
Adam Wulkiewicz
0be5672e70 Fix MinGW warnings caused by the unknown MSVC pragmas 2014-06-06 00:51:51 +02:00
Ion Gaztañaga
aa09229e8a Fixes #10011 segment_manager::find( unique_instance_t* ) fails to compile 2014-06-02 14:40:19 +02:00
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' 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