Antony Polukhin
df6734d0c7
Suppress warnings: conversion from 'boost::uint64_t' to 'std::streamoff', possible loss of data
2020-05-06 13:34:06 +03:00
Antony Polukhin
3af91f6c13
Fix library_info to work properly with PE libraries that do not export symbols
2020-05-06 12:23:56 +03:00
Antony Polukhin
4740f758db
Add tests for getting information from empy library and fix C++03 compatibility
2020-05-05 21:09:36 +03:00
Antony Polukhin
b92e7c8f49
Merge branch 'empty_dll' of github.com:Naios/dll into develop
2020-05-05 20:25:50 +03:00
Antony Polukhin
abd36a0987
Fix C++ standard detection logic for MSVC
2020-05-03 14:42:25 +03:00
Antony Polukhin
7f9a15af35
Fix C++11 checks on modern MSVCs
2020-05-03 11:00:29 +03:00
Denis Blank
d07968b87f
Fix an assertion when a DLL doesn't export any public symbols at all
...
* Can be reproduced with any shared library that was built
from an empty source file.
2020-04-20 03:54:41 +02:00
Antony Polukhin
ab37953980
fix testing with C++98
2020-02-01 19:31:08 +03:00
Antony Polukhin
d681d1e13e
fix compilation of smart_library in c++11 mode ( fixes #28 )
2020-01-30 00:06:46 +03:00
xlc
b35a40feae
Fixed bug with gcc-8 compilation (remove unused typedef)
2019-12-10 09:50:55 +08:00
xlc
b2a9651a16
Resolve CI test compilation failure problem
2019-12-07 19:05:56 +08:00
xlc
8d2065391f
Fixed multiple Pointers and function pointer names not matching demangle
...
names
2019-12-07 13:47:37 +08:00
xlc
20144b4ceb
Try to solve the problem of gcc-8 compilation failure in CI tests
2019-12-05 00:49:25 +08:00
xlc
753eeb9d30
Resolve CI test compilation failure problem
2019-12-05 00:12:26 +08:00
xlc
7176f13c18
Fixed Branch Conflicts
2019-12-04 10:40:42 +08:00
Lichao Xia
2f2a4be809
1.Resolve the problem of the pointer CV qualifier in demangle not
...
matching the name obtained by ctti_type_index::type_id.
2.Resolved the problem where ctti_type_index::type_id could not be
obtained when the template type in demangle contains default
parameters.
3.Resolved the problem of ctti_type_index::type_id getting the
function
name without Spaces between the return type and the parentheses when
the
template parameter type in demangle is a function.
4.Resolved the problem of ctti_type_index::type_id in demangle
getting
no Spaces between the end '>' of the two templates
2019-12-01 10:38:04 +08:00
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