Commit Graph

10957 Commits

Author SHA1 Message Date
Martin Piatka
ab031aaa84 acap/aes67: Fix CID897412 2025-11-25 12:04:10 +01:00
Martin Pulec
de37ee3a70 CI Dockerfile.ubuntu: adjust also for ubuntu-latest
some packages changed its names
2025-11-25 11:55:49 +01:00
Martin Pulec
8b13221a05 CI Linux: run Docker tests in parallel 2025-11-25 11:55:49 +01:00
Martin Pulec
9e7f643aed docker_appimage_tests.sh: simplify
add the version unconditionally in the script and do not add a placeholder
to Dockerfile
2025-11-25 11:55:49 +01:00
Martin Pulec
aa3051dc0e CI Linux AppImage Docker: try also latest Ubuntu 2025-11-25 11:55:48 +01:00
Martin Pulec
59069b8361 CI Linux AppImage check: run at once 2025-11-25 11:55:48 +01:00
Martin Pulec
8e9f142f7c CI Dockerfile.archlinux: add missing deps
- harfbuzz - blacklisted by AI excludelist
- xorg-server-xvfb - needed for GUI test
2025-11-25 11:55:48 +01:00
Martin Pulec
53892bbd0a CI Linux AppImage test: run tests for both distros
run the same test cases for both Arch Linux and Ubuntu

+ rename Dockerfile.arch to Dockerfile.archlinux (the former is a bit
misleading - arch==architecture or what?)
2025-11-25 11:55:48 +01:00
Martin Pulec
e693ca0b98 GH/.../docker_appimage_tests.sh: quote vars
+ split long lines
+ move --appimage-extract to the begining

all changes are mostly a refactor
2025-11-25 11:55:48 +01:00
Martin Pulec
709276a8af CI: mv AppImage Docker tests to standalone script 2025-11-25 11:55:42 +01:00
Martin Pulec
b731a43f4c CI macOS: hide also arm64 Homebrew for distcheck
Make the bug <https://github.com/CESNET/UltraGrid/issues/478> fail
with distcheck.

The arm64 Homebrew uses different location than x86_64 so that it didn't
catch the problems (Homebrew libs were still visible).
2025-11-25 09:39:01 +01:00
Martin Pulec
1f3438ec31 create-appimage.sh: generalize includes
(includes here are the exceptions from upstream/AppImage excludelist)
2025-11-25 09:33:12 +01:00
Martin Pulec
b9ce913b9d AppImage: include libOpenGL.so.0 fallback
Currently Ubuntu 25.10 live DVD (ubuntu-25.10-desktop-amd64.iso)
does not include the library, preventing the GUI from being
run.  On the other hand, if used unconditionally, it causes
the warning (even in the U25.10) for which it was removed:
<https://github.com/linuxdeploy/linuxdeploy/issues/152>

So preload the library if is in the system and use the bundled just as
a fallback.
2025-11-25 09:33:09 +01:00
Martin Pulec
ff62efd4ed main,audio: utilize PTHREAD_NULL
to simplify (no need for separate bool)

In main, there were additional conditions to join - perhaps unneeded
(legacy?) -> removed. If it causes problems, it can be readded.
2025-11-21 15:46:37 +01:00
Martin Pulec
bf949d50b6 fix other pthread_t arithmetic comparison
should use `pthread_equal(thread_id, PTHREAD_NULL)`, see the commit HEAD~3
2025-11-21 14:41:25 +01:00
Martin Pulec
b1ec27dba8 audio_export_destroy: early return
just a refactor
2025-11-21 12:58:15 +01:00
Martin Pulec
13a243534c audio/export: IWYU 2025-11-21 12:38:57 +01:00
Martin Pulec
f148a90ef8 vcap/testcard2: use pthread_equal
Instead of fragile comparison of (in general) opaque pthread_t, use
pthread_equal.
2025-11-21 12:26:50 +01:00
Martin Pulec
15a905676c lavc cuda conv: disable by default + note
The actual implementation has not been merged as for now, so disable
the stub by default in configure.ac.

Also add a notice suggesting the removal.
2025-11-21 11:57:58 +01:00
Martin Pulec
5e2d73993d cmpto_j2k: silence logging in video_frame_pool
the exception is caught so it doesn't need to be print twice
2025-11-21 11:57:57 +01:00
Martin Pulec
4fb2f8ebaa Revert "cmpto_j2k: silence logging in video_frame_pool"
This reverts commit ac450db44219ec67ee96e41528fdef061148ee5f.
2025-11-21 11:57:57 +01:00
Martin Pulec
5ae28bd5e8 video_frame_pool: add constructor with struct
more flexible
2025-11-21 11:57:57 +01:00
Martin Pulec
afacb76e85 vcomp/cmpto_j2k: catch video pool exceptions 2025-11-21 11:57:57 +01:00
Martin Pulec
95aa7219d9 video_frame_pool: use logger + add noexcept(false)
- use logger for the e.what()
- get_frame() - mark as noexcept(false) (allowed to throw exceptions)
2025-11-21 11:57:57 +01:00
Martin Pulec
4986990f22 config_msvc: mv log_msg compat macros do debug 2025-11-21 11:57:56 +01:00
Martin Pulec
ec3f472f4c vcomp/cmpto_j2k: ASSIGN_CHECK_VAL: print both bounds 2025-11-21 11:57:56 +01:00
Martin Pulec
1ae1768aa9 vcomp/cmpto_j2k: check val dst type upper bound
check maximal value to fit the destination target type

Note: the `nextafter(..., -INF)` is used to represent a value of type
max that is also representable by double. Depending on the rounding
mode, eg. `(double) LLONG_MAX` may round up - in this case
9223372036854775807 becomes ..808.

improves <https://github.com/CESNET/UltraGrid/pull/473>
2025-11-21 11:57:56 +01:00
Martin Pulec
1735e6a17b vcomp/cmpto_j2k: ASSIGN_CHECK_VAL: ret on not-num
If some non-number is passed as a value, do not print the range message -
unit_evaluate_dbl already prints error and returns NAN.
2025-11-21 11:57:56 +01:00
Martin Piatka
1764e53c92 config_*: Remove malloc.h
malloc.h is deprecated and non-standard + nothing seems to be using anything that isn't in stdlib.h anyway
2025-11-21 10:41:05 +01:00
Martin Piatka
ba256a8797 config_unix: Remove BSTRING
Nothing defines or uses that anywhere
2025-11-21 10:41:05 +01:00
Martin Piatka
aa33d5038f config_unix: Remove GETTOD_NOT_DECLARED section
Nothing defines that anywhere
2025-11-21 10:41:05 +01:00
Martin Piatka
04e4af3512 config_unix: Remove KILL_NOT_DECLARED section
Nothing defines that anywhere
2025-11-21 10:41:04 +01:00
Martin Piatka
ce217b477c config_unix: Remove CONF_NIX_EXT_C
Not used anywhere
2025-11-21 10:41:04 +01:00
Martin Piatka
6e7f1b7e42 config_win32: Remove WORDS_SMALLENDIAN
Already defined by configure.ac in config.h and also not used anywhere
2025-11-21 10:41:04 +01:00
Martin Piatka
071b53f918 config_*: Remove USERNAMELEN
Not used anywhere
2025-11-21 10:41:04 +01:00
Martin Pulec
f751cb238f Merge pull request #473 from ATrivialAtomic/assign-check-val-fix
vcomp/cmpto_j2k.cpp - Update val comparison to DBL_MAX
2025-11-21 10:31:59 +01:00
Martin Piatka
2ee732aae4 CI: Linux/SDL: Install xtest build dependency 2025-11-20 12:38:37 +01:00
Martin Piatka
7273dc67dc config_unix: Remove WEXITSTATUS & WIFEXITED 2025-11-20 12:38:37 +01:00
Martin Piatka
a0bd8da867 config_unix: Remove TRUE & FALSE macros 2025-11-20 12:38:37 +01:00
Martin Piatka
5b61ab7403 config_win32: Remove TRUE & FALSE macros 2025-11-20 12:38:37 +01:00
Martin Piatka
5cdb12618a tests: Use standard bools 2025-11-20 12:38:37 +01:00
Martin Piatka
7f189e51ff yuri_decoders: Use standard bools 2025-11-20 12:38:37 +01:00
Martin Piatka
9f4aca53cb utils/windows: Use standard bools 2025-11-20 12:38:36 +01:00
Martin Piatka
025a177000 win32_gl_common: Use standard bools 2025-11-20 12:38:36 +01:00
Martin Piatka
e5d3a4f5f5 vdisp/sdl: Use standard bools 2025-11-20 12:38:36 +01:00
Martin Piatka
7d9dcdedc3 vcap/screen_win: Use standard bools 2025-11-20 12:38:36 +01:00
Martin Piatka
7290114845 vdisp/sage: Use standard bools 2025-11-20 12:38:36 +01:00
Martin Piatka
bbef5e7e71 rtp: Use standard bools 2025-11-20 12:38:36 +01:00
Martin Piatka
d5d16ba57e net_udp: Use standard bools 2025-11-20 12:38:36 +01:00
Martin Piatka
58e72f1e67 hd-rum-translator: Use standard bools 2025-11-20 12:38:35 +01:00