Commit Graph

242 Commits

Author SHA1 Message Date
klemens-morgenstern
291486d04d disabled clang again, and also inserted en echo to test if the targets are declared right. 2016-01-23 21:19:00 +01:00
klemens-morgenstern
09f0feeb18 fixed the condition in test/Jamfile.v2 and changed C++11 compiler to gcc-5.2 2016-01-23 21:05:58 +01:00
klemens-morgenstern
1ff89d2faa ok, still need the travis.jam workaround. 2016-01-23 20:38:58 +01:00
klemens-morgenstern
f9b52d2922 trying it with CXX=.. instead of the travis.jam workaround 2016-01-23 20:31:47 +01:00
klemens-morgenstern
ce38bcea3e fixed a view typos 2016-01-23 20:20:29 +01:00
klemens-morgenstern
75157fa869 another yml try, via argv variable 2016-01-23 20:07:23 +01:00
klemens-morgenstern
e54a642276 test fixes 2016-01-23 19:35:59 +01:00
klemens-morgenstern
c86a132e27 added travis.jam to repo 2016-01-23 18:49:51 +01:00
klemens-morgenstern
7730a3eb43 another travis try 2016-01-23 17:11:24 +01:00
klemens-morgenstern
1449cae1f3 fixed after the changes 2016-01-23 16:46:14 +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
4fbf5a5897 set the general build to c++14 2016-01-21 23:55:10 +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
402f95f636 updated build file and changed .travis.yml
this actually disabled the C++98 AND c++11 build, because this library need C++14
2016-01-21 23:30:44 +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
Antony Polukhin
b10e9326ea Moar b2 workarounds 2015-12-22 21:10:53 +03:00
Antony Polukhin
499f7d5f43 Attempt to get more information about Android behavior 2015-12-21 21:43:45 +03:00
Antony Polukhin
7bfb40ebae Fix Jamfile 2015-12-18 20:38:12 +03:00
Antony Polukhin
31189329f8 Fix MS builds 2015-12-15 20:52:46 +03:00
Antony Polukhin
e7a6da933c Fixing TRavisCI builds 2015-12-14 21:37:41 +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
ac7cd9c875 Docs updated, tests improved 2015-12-10 21:55:13 +03:00
Antony Polukhin
fd70247ce6 Another attempt to achieve portable b2 behavior 2015-12-09 23:35:27 +03:00
Antony Polukhin
84b41822ad Reduced run counts in mt test 2015-12-09 00:42:13 +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
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
eed3b259d0 Jamfile fixes 3 2015-12-03 21:47:05 +03:00
Antony Polukhin
1b1a8c6d01 Jamfile fixes 2 2015-12-03 09:11:50 +03:00
Antony Polukhin
19fb746b1f Jamfile fixes 2015-12-03 08:43:18 +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
faf4483fb0 Resolve issue with getting location of a self loaded object 2015-11-01 22:48:06 +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
klemens-morgenstern
30ed592ae8 i found an error in the tokenizer. it doesn't work for multi-type
template-parameters, e.g. boost::variant<int, double>
2015-10-20 21:50:37 +02:00
Antony Polukhin
87737094bf Another portion of fixes and workarounds for Android, QNX, Windows, Solaris 2015-10-19 22:33:04 +03:00
Antony Polukhin
28fe4dc5c4 Dropped Boost.Test usage because it was using windows.h directly and updated the dll2.hpp file with WinAPI declarations to be more close to Boost.WINAPI's dll.hpp file 2015-10-17 16:21:37 +03:00
Antony Polukhin
256356bb84 Many fixes for Windows platform 2015-10-17 15:04:00 +03:00
klemens-morgenstern
48acd6662a finished the name storage
- obtaining the mangled name works
 - code is ugly as hell
2015-10-10 19:52:58 +02:00
klemens-morgenstern
c1ee01b758 the mangled map thingy works for gcc
will implement this now for msvc.

test is written for that
2015-10-08 22:52:39 +02:00
klemens-morgenstern
98129ba28e added mangle storage for itanium api 2015-10-08 17:43:06 +02:00
zerotypos-found
a0b37b6089 Fix typo in docs and comments. 2015-10-06 12:17:18 +09:00
Dmitry Moskalchuk
789918d74c Fix tests for link=static 2015-09-25 21:40:38 +03:00
Antony Polukhin
9565608778 Ugly workarounds for Windows+b2 2015-09-24 01:15:47 +03:00
Antony Polukhin
f975a4137e Another set of platform specific fixes 2015-09-15 10:31:45 +03:00
Antony Polukhin
e40288027d Another attempt to restore tests on MSVC 2015-09-12 04:02:41 +03:00
Antony Polukhin
7fdd59663d Attempt to force b2 to not generate lib files with <link>shared 2015-09-11 09:53:18 +03:00
Antony Polukhin
fd965a287b More rdynamic flags added 2015-09-10 09:09:24 +03:00
Antony Polukhin
b10c026a7c Win related fixes 2015-09-09 22:09:24 +03:00
Antony Polukhin
8eb1fafb9e Fix QNX, BSD and WIN platform dependant errors 2015-09-08 21:09:56 +03:00
Antony Polukhin
3d79f2c972 Fix Windows compilation, refactor all the Jamfile's logic for providing shared library locations 2015-09-06 21:48:25 +03:00
Antony Polukhin
cca4ac6a67 Dropped Windows specific load_library_as_* modes as irrelevant to library scope, refactored library_info, fixed problem with missing dlinfo call on some platforms, Travis fix 2015-09-01 22:36:02 +03:00
Antony Polukhin
40accf57c6 More tests 2015-08-22 12:01:54 +03:00
Antony Polukhin
a8e5bfc5ac Updated docs and changed to 2015-08-21 23:26:25 +03:00
Antony Polukhin
d7fabc380d Bunch of minor improvements and polishing examples 2015-08-21 23:11:15 +03:00
Antony Polukhin
7d5b3f49de Renamed shared_library::search_symbol() to shared_library::has_symbol() 2015-08-15 21:01:29 +03:00
Antony Polukhin
92c281f566 Code simplification and better documentation 2015-08-11 00:43:54 +03:00
Antony Polukhin
e627d9a007 Relaxed MacOS structures test 2015-07-23 21:45:22 +03:00
Antony Polukhin
b84660f8d7 Simplify MacOS test 2015-07-22 01:17:36 +03:00
Antony Polukhin
c50bd9fa2a Fix ambiguity in MacOS test 2015-07-21 23:29:03 +03:00
Antony Polukhin
4deb402132 Multiple MacOS related fixes 2015-07-21 00:18:16 +03:00
Antony Polukhin
b3bccdf0df MacOS related fixes and improved diagnostics for tests 2015-07-19 13:35:56 +03:00
Antony Polukhin
4aec4ad4b0 Multiple MacOS fixes, tests for loading libraries with 'load_mode::append_decorations' and libnames starting with 'lib' 2015-07-15 22:45:23 +03:00
Antony Polukhin
00ff750aaf Fix issues mentioned by Vladimir Prus: missing build dependencies, better helper macro names 2015-06-28 22:37:15 +03:00
Antony Polukhin
3d8f7fadd4 Added explicit operator bool and tests 2015-04-25 12:17:39 +03:00
Antony Polukhin
262e0cac79 Attempt to fix link errors in Boost (2) 2015-03-13 18:24:26 +03:00
Antony Polukhin
33904c1dde Attempt to fix link errors in Boost 2015-03-13 18:10:13 +03:00
Antony Polukhin
62953b324e Attempt to resolve link issues with latest boost 2015-03-03 16:22:25 +03:00
Antony Polukhin
44af1862af Added an example of importing a C windows function from dll (refs #8) 2015-01-27 16:57:25 +03:00
Antony Polukhin
2fea995f33 Deprecated import_function* and import_variable* methods and updated the docs and tests 2014-11-21 18:58:07 +03:00
Anton Polukhin
af7915868a Apply MinGW related workarounds
Fix PE32+ format detection
2014-11-05 21:09:44 +04:00
Anton Polukhin
7a96e90280 MinGW related workaround: dealing with impossibility of making weak symbols 2014-10-31 16:11:06 +04:00
Antony Polukhin
b97baab094 Revert "Fixed aliases for GCC (refs #6)"
This reverts commit 1f25e9b7c9.
2014-10-13 19:47:54 +04:00
Antony Polukhin
1f25e9b7c9 Fixed aliases for GCC (refs #6) 2014-10-13 17:42:25 +04:00
Antony Polukhin
543d6d41cb More compilation warnings enabled and made sure that we have fixed #4 2014-10-01 12:52:14 +04:00
Anton Polukhin
0422fb0a6e Fix Windows related issues 2014-10-01 11:59:48 +04:00
Anton Polukhin
b76e5d22d9 Fix Windows related build issues 2014-09-30 23:35:08 +04:00
Antony Polukhin
90c3903acf Polishing examples nad docs 2014-09-29 19:27:46 +04:00
Antony Polukhin
9a71513b16 Added an advanced refcounting example, fixed this_executable detection on POSIX and minor improvements to the code 2014-09-28 15:35:40 +04:00
Antony Polukhin
74f3c3cb02 Commit some of the thoughts on tutorial8 2014-09-26 19:51:32 +04:00
Antony Polukhin
95bfd4eeac Renamed shared_library::path() to shared_library::location() 2014-09-26 15:42:50 +04:00
Antony Polukhin
dc51cb9a6b load_self() was removed and many issues were fixed 2014-09-26 15:18:41 +04:00
Antony Polukhin
29e4e60196 Added this_line_location() method 2014-09-25 18:42:06 +04:00
Anton Polukhin
66fbe09b43 Fixed getting symbol location on Windows 2014-09-25 16:58:37 +04:00
Antony Polukhin
458515e372 Fix formatting, make lib.path() tests more strict, improve symbol_location() 2014-09-25 12:53:05 +04:00
Antony Polukhin
fdca295fcd symbol_location initial implementation and POSIX lib.path() bugfix 2014-09-25 08:39:35 +04:00
Antony Polukhin
171dfe696d Minor interface related improvements 2014-09-24 19:32:45 +04:00
Antony Polukhin
490a670e26 Minor platform updates and tests fixes 2014-09-24 19:01:55 +04:00
Antony Polukhin
71db3573af Added append_native_decorations mode 2014-09-24 18:39:07 +04:00
Antony Polukhin
73f185cc54 Improve test 2014-09-17 20:02:17 +04:00
Antony Polukhin
173c506593 More tests and exclude macho_info.hpp from coverage tests (while waiting OSX support for TravisCI) 2014-09-17 19:46:57 +04:00
Antony Polukhin
4c537cc0ac Improve tests coverage and sanity 2014-09-17 19:30:33 +04:00
Antony Polukhin
03dbc06ceb Improve tests coverage and minor updates 2014-09-17 16:44:03 +04:00
Antony Polukhin
ad95318ef7 Docs and tutorial improved 2014-09-16 13:03:40 +04:00
Antony Polukhin
2ff2c722ae Docs improved and typo fixed 2014-09-15 17:00:34 +04:00
Anton Polukhin
fd6ddc359c More tests for Mach-O 2014-09-15 16:36:32 +04:00
Antony Polukhin
2725d5e82b Started the Mach-O parsing 2014-09-15 14:43:57 +04:00
Antony Polukhin
8e0c778893 Fix warnings and tests 2014-09-09 18:12:27 +04:00
Anton Polukhin
298f55ef57 Warnings and minor issues fixed, overparanoid tests added 2014-09-09 15:57:03 +04:00
Antony Polukhin
161c72857b More tests and more portable structures definition 2014-09-09 13:00:17 +04:00
Antony Polukhin
fd13f785c6 Add library querying example and improve section naming macro 2014-09-04 19:33:23 +04:00
Antony Polukhin
c009725d76 alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
alias egrep='egrep --color=auto'
alias fgrep='fgrep --color=auto'
alias grep='grep --color=auto'
alias l='ls -CF'
alias la='ls -A'
alias ll='ls -alF'
alias ls='ls --color=auto' free function was refactored into the  method
2014-09-04 14:31:37 +04:00
Antony Polukhin
20ba9894d0 Better names for free functions 2014-09-04 14:15:27 +04:00
Anton Polukhin
96ebc87bd1 Windows wersion of library_info now functional 2014-09-04 13:06:07 +04:00
Antony Polukhin
f53b2049ce Add an example of on_unload callbacks implementation 2014-09-02 16:50:08 +04:00
Antony Polukhin
c5dac07188 restrictions on section names and minor fixes 2014-09-02 11:47:29 +04:00
Antony Polukhin
fca28f5920 Renaming to Boost.DLL 3 2014-08-29 18:28:58 +04:00
Antony Polukhin
f0a6a438b4 Started the renaming to Boost.DLL 2 2014-08-29 18:19:35 +04:00
Antony Polukhin
94ecf69ded Started the renaming to Boost.DLL 2014-08-29 18:01:24 +04:00
Antony Polukhin
baa6699443 Minor improvements and more tests for symbol querying 2014-08-26 13:29:13 +04:00
Antony Polukhin
a132cd5434 More mature solution for #4 2014-08-25 19:41:47 +04:00
Anton Polukhin
e598af1f18 Attempt to fix ompilation error noted in #4 2014-08-25 13:06:12 +04:00
Antony Polukhin
588622b1d9 Make it possible to list symbols by section and make library_info tests more strict 2014-08-20 19:19:33 +04:00
Antony Polukhin
fc8540c6c0 Initial version of library_info class for POSIX (Elf files) 2014-08-20 17:05:48 +04:00
Anton Polukhin
c173590290 Fix a few typos 2014-08-19 18:17:52 +04:00
Antony Polukhin
841f798561 More tests for path() and minor updates 2014-08-19 18:06:52 +04:00
Antony Polukhin
52a95808df const aliases fixed and docs improved 2014-08-15 15:13:36 +04:00
Antony Polukhin
36eb228b48 Update the docs: symbol shadowing 2014-08-15 13:20:44 +04:00
Antony Polukhin
6203013d1d experimenting with symbol shadowing 2014-08-15 12:26:39 +04:00
Antony Polukhin
e7570254d6 Docs updated 2014-08-14 10:45:20 +04:00
Antony Polukhin
0b0ce53d08 Added tests on equality/inequality of shared_libraries 2014-08-14 10:15:19 +04:00
Antony Polukhin
fea0f31b4d One more example for tutorial 2014-08-13 19:40:01 +04:00
Antony Polukhin
f5ababf907 More tests and minor fixes 2014-08-13 16:56:57 +04:00
Antony Polukhin
55277f4585 Linux: fix link flags for load_self test 2014-08-13 14:12:03 +04:00
Antony Polukhin
0b92beda57 minor fixes, tests update 2014-08-12 20:19:43 +04:00
retf
b0650e6fae Initial implementation of load_self
Todo: load_self on windows impl, need be checked (TCHAR and MAX_PATH
types)
2014-08-12 10:23:55 -03:00
Antony Polukhin
3d6477fef2 load_modes improved for POSIX, more tests, started work on docs for refcountable functions 2014-08-10 23:03:40 +04:00
Antony Polukhin
babcdb2b30 Attempt to unify load modes 2014-08-09 23:17:40 +04:00
Antony Polukhin
225d12b171 Removed path_ from shared_library, updated the reference section, added missing BOOST_NOEXCEPT 2014-08-08 17:41:13 +04:00
Antony Polukhin
31fcd68ea2 More tests, examples and docs 2014-08-08 14:25:22 +04:00
Anton Polukhin
6b7ed7ae9a Minor fixes in compilation for Windows, Jamfiles simplified 2014-08-08 12:34:07 +04:00
Antony Polukhin
b94d42d3b4 Improving the docs 2014-08-08 00:02:22 +04:00
Antony Polukhin
c178605507 More tests and refcountable functions 2014-08-07 16:47:27 +04:00
Antony Polukhin
eb76b43a82 Started the refcountable functions implementation 2014-08-07 11:59:24 +04:00
Antony Polukhin
9358675321 Scetch of documentation and aliases added 2014-08-06 18:01:53 +04:00
Anton Polukhin
6d09ab4e73 Windows related fixes 2014-08-06 13:31:35 +04:00
Antony Polukhin
46ab8170b1 Fixes for error handling 2014-08-06 12:43:39 +04:00
Antony Polukhin
f09f464ea5 more tests and minor fixes 2014-08-06 12:01:45 +04:00
Antony Polukhin
d004a15007 Fix compilation and error reporting on Linux platform 2014-08-05 19:16:09 +04:00
Antony Polukhin
3e2502e13e Initial commit 2014-08-05 17:37:33 +04:00