Antony Polukhin
eba80b479f
Docs improved with references and new entries in reference section
2019-01-08 00:25:15 +03:00
Antony Polukhin
a9947765d7
Update copyright years
2019-01-06 20:30:18 +03:00
Antony Polukhin
a38d119ff6
Merge pull request #42 from klemens-morgenstern/patch-1
...
Update smart_library.hpp
2019-01-06 15:26:06 +03:00
Antony Polukhin
0dbf96db1e
Change error into warning
2019-01-06 13:07:29 +03:00
Antony Polukhin
d18892182d
Add missing 'using' for 'system_category'
2019-01-06 10:12:38 +03:00
Antony Polukhin
9a079e1747
Fix macro name for using the standard fs
2019-01-05 22:02:58 +03:00
Antony Polukhin
9556f53e7c
resolve merge conflicts and fix compilation with Standard C++ FS
2019-01-05 21:21:28 +03:00
Antony Polukhin
193d395040
s/reset/clear/g
2019-01-04 02:27:36 +03:00
Antony Polukhin
0c6a103cd8
bugfixes
2019-01-03 23:09:59 +03:00
Antony Polukhin
334bd6d41a
Windows fixes for the decorate() logic and library loadings
2019-01-03 22:14:09 +03:00
Antony Polukhin
7981565592
temporary comment out the shared_library::decorate member function
2019-01-03 18:22:53 +03:00
Antony Polukhin
d9b306691b
Merge remote-tracking branch 'firefly/develop' into develop
2019-01-03 18:09:01 +03:00
Klemens David Morgenstern
9c5640069f
added error for clang-win
2018-12-14 14:33:02 +07:00
Klemens David Morgenstern
a972e6574d
trying to fix the inclusion criteria
2018-12-14 11:51:54 +07:00
Klemens Morgenstern
462cff5127
Update smart_library.hpp
...
Trying to fix #25 by switching clang abi.
2018-12-10 14:55:42 +07:00
Antony Polukhin
b4150b47fb
MinGW fix
2018-12-09 16:59:57 +03:00
Antony Polukhin
6faa0fde5d
Cygwin fixes
2018-12-09 15:42:31 +03:00
Antony Polukhin
56dab3880e
Add include for intptr_t
2018-12-09 15:17:24 +03:00
Antony Polukhin
5f02b044c5
Fix tests and allow weak symbols with clang on Windows
2018-12-01 16:39:02 +03:00
Antony Polukhin
b15be3d671
Fix UBs
...
`reference binding to misaligned address 0x7ffac30c8a66 for type 'int', which requires 4 byte alignment`
2018-12-01 12:55:28 +03:00
Antony Polukhin
b317d65068
add missing include
2018-12-01 11:48:09 +03:00
Antony Polukhin
1bddcf044e
add missing file
2018-12-01 11:45:18 +03:00
Loïc TOURAINE
c0a5b8d097
Fix returned error code for posix platforms when the file exists but the dlopen fails.
2018-11-13 09:12:08 +01:00
Loïc TOURAINE
ced55ca7ee
Merge fixes after pull request comments
2018-11-12 16:36:33 +01:00
Antony Polukhin
017d2436ac
Use std::filesystem and std::error_code if user asked for that (refs #40 )
2018-11-11 01:46:13 +03:00
Antony Polukhin
e3146fc544
Docs and copyrights updated
2018-11-10 19:45:40 +03:00
Loïc TOURAINE
f22bf1ad5a
- Expose and implement append_decorations method to build the library path without loading the library.
...
It allows to get the concrete path that will be loaded and allows the user to use the concrete path prior to effectively load the library.
- Add error handling for posix platforms (gnu compiler compilation) when a library with missing symbols is asked for loading : check the library path exists and we do not try to load the current executable.
In this case : return the current dlerror (useless to try the exactly specified path as the decorated path points to a valid shared library file).
2018-10-31 18:33:50 +01:00
Antony Polukhin
94a3520fc6
More misc typos fixed
2018-09-24 12:13:00 +03:00
luzpaz
d3bb13c2e9
dll: misc-typos ( #41 )
...
Found via `codespell -q 3`
2018-09-24 12:10:14 +03:00
Antony Polukhin
1412cf5932
More fixes for #20
2018-09-17 11:26:44 +03:00
Antony Polukhin
a95c1d0234
Add missing include
2018-09-17 10:43:57 +03:00
Antony Polukhin
d2ccd86277
Address some of the link issues from #20
2018-09-13 17:38:44 +03:00
Antony Polukhin
f3dcd53c77
More tests for calling library functions on set up error codes #16
2018-03-04 20:28:18 +03:00
Antony Polukhin
f04ceff181
Fixes for calling path_from_handle with dirty GetLastError(). Fixes #16
2018-03-04 18:56:27 +03:00
Antony Polukhin
b5a8046638
Replace deprecated includes. FIxes #12
2017-12-13 21:38:24 +03:00
Andrey Semashev
454d28f8b0
Updated Boost.WinAPI usage to the new location and namespace.
2017-10-24 22:02:16 +03:00
Antony Polukhin
6b566b0030
Make ULONG_ an unsigned type
2017-04-04 22:55:06 +03:00
Antony Polukhin
9bfe5dda53
Fix PE parsing on non Windows platforms
2017-04-04 08:54:19 +03:00
Antony Polukhin
20501f4565
Fix more MSVC warnings
2017-02-15 17:23:59 +03:00
Antony Polukhin
0175302ba4
Suppress one of the warnings
2017-02-14 21:15:34 +03:00
Antony Polukhin
a3b4f0fb4b
Fix MSVC warnings
2017-02-14 18:05:00 +03:00
Antony Polukhin
e68ca6603b
Suppress warnings more aggressivly in aggressive_ptr_cast
2017-02-11 14:53:12 +03:00
Antony Polukhin
a21f054387
Fix memory leaks
2017-02-08 22:36:28 +03:00
Antony Polukhin
3d124de815
Add some const and constexpr
2017-02-08 22:36:02 +03:00
Antony Polukhin
d1f23fadc1
Suppress GCC warnings and fix void* to member pointer casting
2017-02-08 22:13:26 +03:00
Antony Polukhin
5c2e503905
Fix Android compilation
2017-02-02 22:24:16 +03:00
Antony Polukhin
709b59b54a
Tests and fixes for dll::symbol_location_ptr
2017-01-23 23:33:12 +03:00
Antony Polukhin
529ff731ba
Fix for WEC2013 ( #10 )
2017-01-20 22:08:49 +03:00
Antony Polukhin
97ac23037c
Added symbol_location_ptr function for symbols that can not be dereferenced/have unknown type. Fixed warning produced by preprocessor define in Jamfile
2017-01-04 17:45:29 +03:00
Antony Polukhin
6cf436979c
Fix aliases on Windows+IntelCompiler (trac 12290)
2016-08-31 21:58:14 +03:00