Commit Graph

3912 Commits

Author SHA1 Message Date
Martin Pulec
8deeeeb4fa GL: use Ctrl-UP/Ctrl-DOWN
GL: use Ctrl-UP/Ctrl-DOWN instead of UP/DOWN in order not to interfere
with import/file keybindings.
2019-11-27 07:43:43 +01:00
Martin Pulec
184b51997e Keycontrol: again initailize relatively soon
Module that register their keybindings use NOSTORE option.
2019-11-27 07:43:43 +01:00
Martin Pulec
a43d734da8 Added XIMEA 2019-11-27 07:43:36 +01:00
Martin Pulec
595929a031 V4L2: minor check 2019-11-25 08:42:31 +01:00
Martin Pulec
0c1a3986c8 Universal Ctags: fixed command + rename 2019-11-25 08:00:35 +01:00
Martin Pulec
508e33af1a rtpenc_h264.c: Missing config include
+ define ATTRIBUTE if not defined by config in debug
2019-11-23 13:07:51 +01:00
Martin Pulec
fd2298af6d Configure: check FFMPEG with pkg-config [Win]
Use pkg-config primarily for FFMPEG on Windows. Use direct check only as
a fallback - now also on other platforms.
2019-11-22 13:54:58 +01:00
Martin Pulec
09f6bafc58 Coverity fixes 2019-11-22 13:54:51 +01:00
Martin Pulec
98383b7980 Compilation fix 2019-11-21 18:47:57 +01:00
Martin Pulec
92a58c3f8c Indicate to compiler that color_out and log_msg are printf-alike
+ include config_* headers in some sources that don't (and include
  debug.h which now needs the ATTRIBUTE macro)
2019-11-21 16:51:03 +01:00
Martin Pulec
cb9b649b60 Export: option to start paused with specified directory 2019-11-21 16:50:58 +01:00
Martin Pulec
72bf3d0e48 Export: added help 2019-11-21 16:50:57 +01:00
Martin Pulec
2d7e618c3a Export: allow non-empty directories 2019-11-21 16:50:55 +01:00
Martin Pulec
5f0ce56dc2 Color_out: flush output
Prevent interleaving formatting ESC sequences with different streams
when not flushed.
2019-11-21 13:48:06 +01:00
Martin Pulec
25b612031c Export: highlight output dir in output 2019-11-21 13:48:04 +01:00
Martin Pulec
5741982aba state_uv: do not call destructor directly 2019-11-21 08:48:34 +01:00
Martin Pulec
57be851c71 Again fixed repeatedly reported errors 2019-11-21 08:48:03 +01:00
Martin Pulec
ee76cba241 Keycontrol: fixes
- register module only if started
- name thread in correct function
2019-11-20 22:39:18 +01:00
Martin Pulec
7268a52e67 Make: improve summary print 2019-11-20 22:26:54 +01:00
Martin Pulec
f01b38b31c CppUnit: status to makefile + warn if not found when run 2019-11-20 22:26:52 +01:00
Martin Pulec
b86bacaea0 Module: doxygen group name 2019-11-20 16:55:29 +01:00
Martin Pulec
370e7b5971 Makefile: tests - append $(EXEEXT)
Allows running 'make check' with Wine (which requires the .exe suffix).
2019-11-20 16:55:28 +01:00
Martin Pulec
709337ae90 Make distcheck: run with output (to see potential errors) 2019-11-20 16:55:28 +01:00
Martin Pulec
c75dcdd648 RTSP: fixed parameter parsing a bit
This should remove a plenty of Coverity bugs.

+ disclaimer that the RTSP capture module is most likely broken
2019-11-20 16:54:53 +01:00
Martin Pulec
6e1566d2ef RTSP: fixed first series of Coverity bugs 2019-11-20 16:54:42 +01:00
Martin Pulec
49c00c1304 Fixed usleep compat
Currently it was not compiled at all because of incorrect guard macro
(HAVE_WIN32 instead of WIN32) and thus a MinGW implementation was used.
However, the compat function may still be used eg. when we will build
with VS.
2019-11-20 15:54:45 +01:00
Martin Pulec
2a513a79b6 Fixed another bugs
Mainly return values checks (mostly strdup) - quite harmless but
Coverity detects that.
2019-11-20 15:54:45 +01:00
Martin Pulec
110fc31ec6 Fixed again already fixed Coverity issues
Fixed thosed issued that were supposed to be fixed but Coverity
disagrees.
2019-11-20 15:54:03 +01:00
Martin Pulec
fa7ecd4048 Win32 alarm compat 2019-11-20 07:40:11 +01:00
Martin Pulec
dcdeb276ab Added 5 second timeout to prevent exit hangs
Prevents potential exit hangs.
2019-11-19 19:45:25 +01:00
Martin Pulec
64a2d4bc02 Main: exit modules before common_cleanup
In MSW, pipe is emulated over network socket (used by state_uv).
Common_cleanup, however, calls WSACleanup().
2019-11-19 19:45:20 +01:00
Martin Pulec
735bbd50d6 Tests: run pre- and post-init
+ run always the whole suite (don't exit with first failing test)
2019-11-19 15:26:39 +01:00
Martin Pulec
915f9fe0fb Win test compile fixes 2019-11-19 15:26:38 +01:00
Martin Pulec
3465e44b17 Small logo is actually a PNG 2019-11-19 15:26:38 +01:00
Martin Pulec
c36a1a0954 Win32: missing header 2019-11-19 15:26:38 +01:00
Martin Pulec
fdede1587e macOS: added updater 2019-11-19 15:26:32 +01:00
Martin Pulec
250bd61402 Added check for automake and autoconf to autogen.sh 2019-11-19 08:22:51 +01:00
Martin Pulec
279652e6a0 Mac: compilation fix 2019-11-19 08:22:51 +01:00
Martin Pulec
5aed197216 Tests: use iface en0 on macOS
IPv6 multicast doesn't work when IPV6_MULTICAST_IF set to 0 (although it
should).
2019-11-19 08:22:51 +01:00
Martin Pulec
0cf9b522ce RTP UDP: leave IPv6 mcast for correct interface idx 2019-11-19 08:22:51 +01:00
Martin Pulec
fb42cbd681 RTP UDP: fixed error formatting on macOS
macOS uses XSI-compliant strerr_r() which differs from the GNU one in
the prototype.
2019-11-19 08:22:51 +01:00
Martin Pulec
06ae70a2ae Fixed another Coverity bugs 2019-11-19 08:22:51 +01:00
Martin Pulec
7ebb52d953 Merged new and old unit tests
+ skip UDP tests if running inside GitHub VM (doesn't support multicast)
+ create symbols (ctags/cscope) for tests
2019-11-19 08:22:51 +01:00
Martin Pulec
81f64cc4ff Reenabled original unit tests 2019-11-19 08:22:51 +01:00
Martin Pulec
089244c3a5 CMPTO J2K: continue would be continue wrong loop
Continue inside the CHECK_OK macro would continue the dummy do-while(0)
loop insteat the outer one.
2019-11-19 08:22:50 +01:00
Martin Pulec
505d524f05 Use autoreconf in autogen.sh
Solves a problem with potentially undefined AC_DEFINE with GitHub CI.
2019-11-19 08:22:50 +01:00
Martin Pulec
7f17d8734c Fixed another Coverity bugs 2019-11-19 08:22:50 +01:00
Martin Pulec
236f5b0589 Make: added target check and distcheck
+ added check for CppUnit
2019-11-19 08:22:50 +01:00
Martin Pulec
dca1f72ae4 Screen X11: include also x11_common.o 2019-11-19 08:22:50 +01:00
Martin Pulec
71efe75a3f dlclose opened libs 2019-11-19 08:22:50 +01:00