Andreas Küchler
c412ace49d
Allow to query non-existant sections
...
Sometimes it is convenient to query a library for a specific section and expect an empty result if the section does not exists. This was not possible because library_info ASSERTed the section adresses thus crashing the Application if a section was not found.
Fixed this by checking section begin and end and returning an emtpy vector of string if the section was not found.
2016-07-06 15:19:06 +02:00
klemens-morgenstern
2169bc69c4
removed shared_ptr
2016-06-17 22:08:14 +02:00
klemens-morgenstern
c590aaafa6
removed tabs
2016-06-07 12:17:39 +02:00
klemens-morgenstern
60cb4fe628
updated doc and removed boost::shared_ptr<smart_library> stuff
2016-06-07 12:14:44 +02:00
klemens-morgenstern
2227304440
first bit of doc for mangled stuff
2016-05-27 18:48:15 +02:00
Antony Polukhin
d37a078efa
Merge pull request #9 from bebuch/develop
...
Suppress a 'unused parameter' warning in detail::aggressive_ptr_cast
2016-05-27 11:36:54 +04:00
klemens-morgenstern
8d9944f1b1
Merge branch 'develop' of https://github.com/apolukhin/Boost.DLL into develop
2016-05-17 11:48:40 +02:00
Benjamin Buch
0fe9bf18ec
Suppress a 'unused parameter' warning in detail::aggressive_ptr_cast(...)
2016-05-14 00:34:10 +02:00
klemens-morgenstern
a03d85ee7b
changed dbhhelp to __undname
2016-04-01 23:16:27 +02:00
klemens-morgenstern
c471dbc188
fix wrong native call
2016-03-18 00:55:42 +01:00
klemens-morgenstern
bba90c79de
another try for 64-bit msvc
2016-03-18 00:35:27 +01:00
klemens-morgenstern
6e4a2b82f1
trying to fix the 64-bit build
2016-03-17 23:56:34 +01:00
klemens-morgenstern
6ffda55494
fixed std::type_info and added test/Jamfile.v2
...
also did some comment polishing
2016-03-17 23:21:09 +01:00
Antony Polukhin
4b5ec2c61f
Docs cleaned up
2016-02-23 09:56:47 +03:00
Antony Polukhin
046a7bafbf
Merge pull request #25 from rettichschnidi/rettichschnidi-typos
...
Fixing some typos
2016-02-23 09:15:21 +03:00
Reto Schneider
ef5ff6c19a
Fix typo: Teturned vs Returned
2016-02-22 14:38:58 +01:00
Antony Polukhin
820b4f090c
Allowed importing/exporting of references
2016-02-22 14:21:08 +03:00
klemens-morgenstern
c225bb9891
Merge remote-tracking branch 'remotes/apolukhin/develop' into develop
...
Conflicts:
include/boost/detail/winapi/dbghelp.hpp
2016-02-14 21:04:47 +01:00
Andrey Semashev
64708ba32f
Ported demangling code to dbghelp.hpp from Boost.WinAPI.
2016-02-14 20:10:02 +03:00
Antony Polukhin
847456193d
Merge pull request #7 from Lastique/move_dbghelp
...
Move dbghelp into Boost.Dll
2016-02-14 18:13:59 +03:00
Antony Polukhin
d85cdf1141
MSVC7.1 workaround attempt
2016-02-14 15:14:47 +03:00
Andrey Semashev
6b4c0eb209
Resolved namespace and macro conflicts with Boost.WinAPI.
2016-02-14 14:36:25 +03:00
Andrey Semashev
727dd417fa
Moved dbghelp.hpp out of Boost.WinAPI directories.
2016-02-14 14:16:04 +03:00
Antony Polukhin
deecf52bb7
Cherry pick dbghelp from Klemens Morgenstern branch
2016-02-13 23:22:19 +03:00
klemens-morgenstern
9048088569
switched to ctti-typeindex
2016-02-13 18:54:26 +01:00
Antony Polukhin
875793449e
Typo fixed
2016-02-12 14:42:31 +03:00
Antony Polukhin
e4002bf084
Fixes for msvc7.1 and non linux POSIX platforms
2016-02-12 10:20:07 +03:00
Antony Polukhin
70c970efb9
Workaround attempt for MSVC7.1
2016-02-10 10:16:42 +03:00
Antony Polukhin
3d069569cc
Windows related workaround (5)
2016-02-09 22:34:16 +03:00
Antony Polukhin
575487113a
Windows related workaround (4)
2016-02-09 08:02:47 +03:00
Antony Polukhin
3fb3934910
Revert win related changes and start again
2016-02-09 00:16:26 +03:00
Antony Polukhin
689d2fb09c
Windows related workaround
2016-02-08 22:37:08 +03:00
Antony Polukhin
2ad3bd0a3a
Fixed constexpr issue
2016-02-07 20:58:46 +03:00
Antony Polukhin
e1ec82ae76
Added a search_system_folders load mode and some more tests
2016-02-07 20:48:44 +03:00
klemens-morgenstern
eaace71d48
added version read to dbhhelp.hpp and removed the guard for msvc
2016-02-07 12:37:35 +01:00
klemens-morgenstern
7aa3a2d4d7
working msvc version
2016-02-07 09:37:31 +01:00
klemens-morgenstern
66cd85558f
revered to stl-type-index. the cttl doesn't work as necessary on msvc.
...
msvc is still not working
2016-02-07 09:29:35 +01:00
klemens-morgenstern
cd059226ff
combined stl und ctti typeindex to work with msvc
2016-02-07 00:42:38 +01:00
klemens-morgenstern
1cddd335c9
implemented proto-type for class import
...
for description see the PR https://github.com/apolukhin/Boost.DLL/pull/19
2016-02-07 00:29:05 +01:00
klemens-morgenstern
836b298061
added has_standard to ctor/dtor. Needed by class-loaded.
2016-02-06 23:54:04 +01:00
klemens-morgenstern
0197eeb228
switch type_index to cttl.
...
this allows incomplete types as overloads, which will come in handy for class import.
2016-02-06 23:44:07 +01:00
klemens-morgenstern
76e521fb8f
changed ctor/dtor to work with mingw
2016-02-06 18:38:40 +01:00
klemens-morgenstern
46c129dc4d
fixed msvc problems
2016-02-06 16:05:46 +01:00
klemens-morgenstern
81f0e6e6f7
fixed include guards
2016-02-06 15:35:10 +01:00
klemens-morgenstern
0cd2a9e4b1
bugfix
...
@apolukhin You solution does not work with x32 MSVC-14
2016-02-06 15:34:27 +01:00
klemens-morgenstern
78493c15b9
Merge branch 'develop' of https://github.com/apolukhin/Boost.DLL into develop
...
Conflicts:
include/boost/dll/smart_library.hpp
2016-02-06 14:13:09 +01:00
klemens-morgenstern
085810effb
added import feature
2016-02-06 14:08:19 +01:00
klemens-morgenstern
7cd2653bf7
added constructor in smart_library from shared_library
2016-02-06 13:46:27 +01:00
klemens-morgenstern
0abd090f2c
started on import_mangled.hpp.
...
*is ineffective, since I copy smart_library. That is not necessary*
2016-02-06 12:20:53 +01:00
klemens-morgenstern
65cefc578c
added a get helper function
2016-02-05 23:49:03 +01:00
klemens-morgenstern
7908eb3c97
made demangle_symbol available in experimental namespace
2016-02-05 20:35:42 +01:00
klemens-morgenstern
f5c017e95a
added type_info loader
2016-02-05 20:28:17 +01:00
Antony Polukhin
2c203179e8
Typo fix
2016-02-02 00:39:53 +03:00
Antony Polukhin
db1c9c6f5f
MSVC related fixes
2016-02-02 00:07:02 +03:00
Antony Polukhin
73315c86cf
Docs unified, shared_library now can get member pointers, multiple improvements for aggressive_ptr_cast
2016-02-01 23:39:52 +03:00
Antony Polukhin
8af9b5a804
Merge pull request #18 from klemens-morgenstern/develop
...
Fix for MSVC
2016-02-01 08:06:26 +03:00
klemens-morgenstern
4def25c7d8
added possible fix for msvc-x64
2016-01-31 22:26:14 +01:00
klemens-morgenstern
d629cf9e3e
added _ptr64 handling for the msvc parser
2016-01-31 21:43:49 +01:00
klemens-morgenstern
e29ea117e5
fixed a few bugs
2016-01-31 21:08:09 +01:00
Andrey Semashev
f8654e62ec
Update Boost.WinAPI includes and ensure the correct usage of GetLastError()
2016-01-31 22:48:46 +03:00
Antony Polukhin
808e42fcd1
Fixed some warnings in experimental parts of the library
2016-01-28 22:30:08 +03:00
Antony Polukhin
f6e6caa15a
restored some of the Windows flags
2016-01-26 17:33:32 +03:00
Antony Polukhin
2c51f62ebb
Typo fix
2016-01-26 17:12:32 +03:00
Antony Polukhin
4dfc691b52
Cleanup and minor functions refactoring
2016-01-26 16:59:02 +03:00
Antony Polukhin
fab0e25a7d
Replaces tabs with whitespaces, minor improvements for docs
2016-01-26 14:18:40 +03:00
Antony Polukhin
271ae7cabc
Minor cleanups, simplifications and warning fixes
2016-01-26 13:42:54 +03:00
klemens-morgenstern
e0886d3542
simplified the MSVC
...
also added a check for msvc version when executing the test
2016-01-24 13:53:33 +01:00
klemens-morgenstern
161b495a23
updated test to work on linux.
...
also added description of limitations to smart_library
2016-01-24 12:58:43 +01:00
klemens-morgenstern
6cb87663ed
added documentation and changed shared_lib to a member of smart_library
...
@apolukhin The shared_lib::get_void is still used, of course I can change that. But I really don't like the whole casting so I'd be more comfortable if that could stay this way.
2016-01-24 11:45:18 +01:00
klemens-morgenstern
878aaab5ea
moved smart_library to boost::dll::experimental
2016-01-24 09:36:52 +01:00
klemens-morgenstern
1449cae1f3
fixed after the changes
2016-01-23 16:46:14 +01:00
klemens-morgenstern
28e4f58347
inserted @apolukhin changes.
...
see [here](https://github.com/apolukhin/Boost.DLL/pull/17 )
2016-01-23 15:51:41 +01:00
klemens-morgenstern
b29c46070e
Merge remote-tracking branch 'remotes/apolukhin/develop' into develop
...
Conflicts:
include/boost/dll/shared_library.hpp
test/Jamfile.v2
test/library_info_test.cpp
2016-01-22 00:01:27 +01:00
klemens-morgenstern
ef2ef65af1
excluded smart_lib via _cplusplus define and added c++1y to travis.
2016-01-21 23:40:23 +01:00
klemens-morgenstern
02515ac0d7
gcc is working.
2016-01-21 23:27:17 +01:00
klemens-morgenstern
4243527504
msvc works
2016-01-21 22:25:51 +01:00
klemens-morgenstern
206b53ca82
finished the msvc name lookup.
2016-01-21 20:09:12 +01:00
klemens-morgenstern
e0908f3dcc
updated the variable matcher for msvc
2016-01-21 16:43:34 +01:00
Antony Polukhin
d377c4def9
Improved docs, functor returned by import* functions is now smaller
2016-01-16 23:32:40 +03:00
Antony Polukhin
9714445f92
Fix file access permissions
2015-12-29 23:14:42 +03:00
Antony Polukhin
f8ef7e176c
More b2 related workarounds for MinGW, simplified Windows code and fixed warnings
2015-12-29 23:14:42 +03:00
Andrey Semashev
88b185bf0e
Improve compatibility with Windows CE
...
Use winapi::get_proc_address() instead of winapi::GetProcAddress() in order to avoid hitting GetProcAddress macro that is defined on Windows CE and expands to GetProcAddressW.
2015-12-29 02:25:52 +03:00
Antony Polukhin
70648c502d
Fix compilation on Android
2015-12-20 19:05:09 +03:00
Antony Polukhin
a4dbd85c31
Better error handling, more fair examples, better b2 workarounds, docs update, fixes for Android
2015-12-14 21:19:09 +03:00
Antony Polukhin
b5788bd9ab
Added multithreaded test, restored MacOS's shared_library::location() behavior, another attempt to fix Android's implementation of path_from_handle, minor docs updates
2015-12-09 00:11:25 +03:00
Antony Polukhin
0df6350e4e
Bugfixes and improvements, mostly for Android and MacOS platforms
2015-12-07 21:39:07 +03:00
Antony Polukhin
603b2b5efe
Documentation updated, changed import* signatures, simplified examples
2015-12-04 22:00:49 +03:00
Antony Polukhin
561bcf7b8b
Fix section_name_too_big test under Android, more import* overloads, returned by import* callable objects are now copyable, dropped multiple includes from alias.hpp, added BOOST_DLL_FORCE_NO_WEAK_EXPORTS macro
2015-12-03 22:44:41 +03:00
Antony Polukhin
3afd980b12
Fixed program_location() for QNX and compilation on Darwin with latest GCC. Jamfile modifications to get less Boost.System related warnings during tests run
2015-12-02 22:29:45 +03:00
Antony Polukhin
cf9cbbfde5
Worked arrounf calling conventions, dropped dependency on boost::function for modern compilers, updatet the docs and improved some of the examples
2015-12-01 23:27:50 +03:00
Antony Polukhin
f3aff8fb14
Delete experiment with calling conventions
2015-11-24 20:33:13 +03:00
Antony Polukhin
b358edb4d5
Fixing calling convention issues on Windows
2015-11-19 23:03:58 +03:00
Antony Polukhin
faf4483fb0
Resolve issue with getting location of a self loaded object
2015-11-01 22:48:06 +03:00
Antony Polukhin
b36d49b11f
Use dll.hpp header from Boost.WinAPI module on Windows platform instead of using a temporary dll2.hpp from fhis repo
2015-10-30 00:00:41 +03:00
Antony Polukhin
b1ab3116f3
Attempt to fix tests on Android and with IBM compiler
2015-10-29 23:51:20 +03:00
Antony Polukhin
ebfcbf8ee7
Multiple small fixes and doc improvemnts
2015-10-27 22:25:58 +03:00
Antony Polukhin
e887136d4c
Make shared_library copyable
2015-10-27 01:20:34 +03:00
Antony Polukhin
4002ca0645
Added overloads that accept error_code for runtime symbols info functions
2015-10-27 00:27:40 +03:00
Antony Polukhin
6c5e0958d0
Polishing Boost.WinAPI header
2015-10-23 00:11:27 +03:00
Antony Polukhin
0c43700118
Improved bitness detection
2015-10-20 23:26:16 +03:00