Commit Graph

38 Commits

Author SHA1 Message Date
Martin Pulec
0b4c0e850d lib_common: print dlopen errs as warn
Since the libraries should be bundled, treat the dlopen errors rather
as errors and issue warning. This also occurs eg. on bare debootstraped
Ubuntu system, where basic libraries like libasound2, libdrm and libgl1
are missing but are among those excluded from AppImages.
2023-11-06 16:50:27 +01:00
Martin Pulec
580ac72ec2 replaced all remaining sprintf witn snprintf
using bound checking variants

Remained last one instance in utils/text.c, that does the checking by
itself and vsnprintf compat using vsprintf, that is not used, anyways.
2023-04-13 14:04:29 +02:00
Martin Pulec
b5cc0e9a1b removed some rang.hpp references 2022-11-21 14:17:01 +01:00
Martin Pulec
3287b38ad5 GCC 12 compat
Removed warnings introduced by GCC 12.
2022-05-12 11:48:14 +02:00
Martin Pulec
9e0a22ae10 Multiple library registration - print class 2022-04-01 16:04:05 +02:00
Martin Pulec
89a4050c76 lib_common: move dlopen etc compat to separate src
It is a bit needless to compile the dlerror() commat in a huge number of
sources including that file. Moreover, the compat functions are not
direcly linked to modules' infrastructure in UG, which was piggy-backed
to.
2022-03-11 10:48:49 +01:00
Martin Piatka
6696de65da lib_common: Simplify library map initialization 2022-03-02 15:56:24 +01:00
Martin Piatka
3cfb1935c3 lib_common: Fix module multiple initialization detection 2022-03-02 15:56:24 +01:00
Martin Pulec
745f247dbc Make: distcheck - check module errors
This check for errors caused by wrong module dependencies.
2020-09-16 11:56:51 +02:00
Martin Pulec
16f048aba3 Lib common: fixed a warning 2020-03-13 14:53:28 +01:00
Martin Pulec
71efe75a3f dlclose opened libs 2019-11-19 08:22:50 +01:00
Martin Pulec
75fd88c7c3 Show hidden modules when fullhelp is given
+ updated copyrights in that files
2019-11-06 15:26:17 +01:00
Martin Pulec
f9c03e7ac3 Lib: macOS compile fix 2019-10-10 09:20:11 +02:00
Martin Pulec
aa33fc5f9c Lib: added REGISTER_HIDDEN_MODULE 2019-10-08 15:35:16 +02:00
Martin Pulec
7c1bb0c1e1 Lib_common: error if module is multiple times init 2019-04-03 19:42:58 +02:00
Martin Pulec
04632135d4 Lib_common: pretty print module lists 2019-02-11 13:54:49 +01:00
Martin Pulec
22f04fae4e Lib_common: fixed invalid pointer 2018-09-29 23:55:15 +02:00
Lukas Rucka
d028b69503 Rename ultragrid modules to ultragrid_* instead of module_* 2018-09-12 23:29:08 +02:00
Lukas Rucka
c5d964e98c Fix PATH detection (local file with same name as binary no longer considered binary) 2017-06-09 16:58:20 +02:00
Martin Pulec
42fc1cdf02 Libs: hot fix 2017-06-02 15:34:13 +02:00
Lukas Rucka
8ae538345e Bugfix: detect ultragrid running from PATH even if called through absolute path 2017-05-20 18:44:32 +02:00
Lukas Rucka
9320de9b5d Bugfix: patch handling of substring linux as part of PATH_PREFIX and LIB_DIR (conflict with predefined macro) 2017-04-06 19:05:48 +02:00
Martin Pulec
6e968a1431 Video RXTX: use new module API 2015-10-27 13:10:54 +01:00
Martin Pulec
e7a77cb385 Video postprocess: use new module API 2015-10-20 15:29:34 +02:00
Martin Pulec
201a72bb16 Video compress: use new module API 2015-09-22 17:22:41 +02:00
Martin Pulec
5c5e21ebab Small changes 2015-09-21 14:38:30 +02:00
Martin Pulec
243d78487c Video decompress: use new module API 2015-09-21 14:38:30 +02:00
Martin Pulec
a390d0ab89 Audio codec: use new module API 2015-09-02 17:01:07 +02:00
Martin Pulec
2dc341d847 Video capturers: switched to new mod loading API 2015-08-31 11:11:05 +02:00
Martin Pulec
bd1103e042 Added option to list modules
+ display warning when use explicity wants to open module in library
  which was not successfully opened by dlopen()
2015-08-31 11:11:05 +02:00
Martin Pulec
999846a543 Audio cap mods: uses now new module loading API 2015-08-19 09:53:10 +02:00
Martin Pulec
f738f5f2b7 Module registration: require (const void *) instead of (void *) for metadata 2015-08-19 09:53:10 +02:00
Martin Pulec
6fee2ae612 Lib_common: change linkage of some functions from C++ to C 2015-08-19 09:53:10 +02:00
Martin Pulec
c84a2b2bd0 Display warning about missing libs only in verbose mode 2015-07-01 17:04:06 +02:00
Martin Pulec
67fbd9dbae MSW compatibility 2014-10-16 17:34:12 +02:00
Martin Pulec
e6583622cc Some functions' rename 2014-10-15 16:01:45 +02:00
Martin Pulec
32f7932a25 Capture filters: switched to universal library 2014-10-15 15:54:44 +02:00
Martin Pulec
c49e0bc473 OpenSSL encryption: build as a library
+ added API for universal module
2014-10-15 15:50:25 +02:00