Commit Graph

20108 Commits

Author SHA1 Message Date
akallabeth
c84bb6339b
Merge pull request #10852 from akallabeth/coverity-update
Coverity update
2024-11-14 16:02:53 +01:00
akallabeth
4cb3df46e7
[coverity] update build workflow 2024-11-14 15:01:16 +01:00
akallabeth
6f3e9d3dfc
Merge pull request #10850 from akallabeth/pragma-warn
Pragma warn
2024-11-14 15:01:07 +01:00
Martin Fleisz
cf993d56a2
Merge pull request #10851 from akallabeth/debug-rel-path
[cmake] prefer relative paths for debug symbols
2024-11-14 14:29:45 +01:00
akallabeth
ebf0298e9a
Merge pull request #10849 from mfleisz/fix-rail-logging
[core]: Fix some issues with RAIL window state order logging
2024-11-14 14:08:10 +01:00
akallabeth
9b3f5cd86e
[ci,coverity] define COVERITY_BUILD
By defining this symbol the build will enable coverity related pragma
definitions
2024-11-14 13:53:41 +01:00
akallabeth
af7849b579
[cmake] use relative paths for debug symbols
When not building a Debug configuration use relative paths for __FILE__
et al in the debug symbol entries
2024-11-14 13:45:05 +01:00
akallabeth
8883ccc503
[cmake] remove GCC -Wunknown-pragmas workaround
The offending pragma definitions are now only defined for coverity
builds
2024-11-14 13:26:21 +01:00
akallabeth
541fc3a8c6
[channels,remdesk] fix const correctness of function 2024-11-14 13:26:19 +01:00
akallabeth
3c8cd7fb7e
[winpr,assert] add WINPR_ASSERT_AT
Add a version of assert that allows setting the location (useful for
macros or static functions wrapping something where the location of the
call is more significant than the function the macro was used in)
2024-11-14 13:26:16 +01:00
Martin Fleisz
16789a181a [core]: Fix some issues with RAIL window state order logging
This commit fixes following issues when logging window state orders:

- Always print Window and Owner Ids as integer numbers
- Log all window styles (including extended styles)
- Log window title (very useful to identify the window in the log)
2024-11-14 10:19:43 +01:00
David Fort
780f6dddce
Merge pull request #10848 from akallabeth/silence-pragma
[cmake] workaround for older GCC
2024-11-13 22:25:20 +01:00
akallabeth
0c57fdc300
[winpr,crt] add winpr_asprintf unit test 2024-11-13 21:49:11 +01:00
akallabeth
0b8de6f4b5
[winpr,crt] fix off by one in winpr_vasprintf 2024-11-13 21:04:02 +01:00
akallabeth
16657adf60
[cmake] workaround for older GCC
To fix the missing pragma -Wunknown-pragmas support for older GCC
disable this warning altogether if such a compiler is detected
2024-11-13 20:21:33 +01:00
akallabeth
43e471938b
Merge pull request #10843 from akallabeth/cleanups3
Cleanups3
2024-11-12 17:52:55 +01:00
akallabeth
51b2b76cbd
Merge pull request #10846 from akallabeth/xcrush-fix
[codec,xcrush] fix a regression with xcrush_generate_output
2024-11-12 17:26:11 +01:00
akallabeth
387147bb4e
[codec,xcrush] fix a regression with xcrush_generate_output 2024-11-12 17:14:52 +01:00
akallabeth
9e15af8850
[winpr,assert] fix coverity pragma
rewrite pragma according to https://community.blackduck.com/s/article/Suppressing-False-Positive-Intentional-defects
2024-11-12 16:46:13 +01:00
akallabeth
db07add07a
[deprecation] replace all usages of sprintf 2024-11-12 16:46:11 +01:00
akallabeth
7797d8d669
[ci,tidy] disable readability-avoid-nested-conditional-operator
the check is flagging every (cond) ? foo : bar as too complicated,
useless check.
2024-11-12 16:46:06 +01:00
akallabeth
08839a11de
[utils,passphrase] NULL checks 2024-11-12 16:46:04 +01:00
akallabeth
7f27e168b3
[emu,scard] flag allocator with nolint
The allocator keeps an internal list of allocated contexts. No manual
free required.
2024-11-12 16:46:01 +01:00
akallabeth
48a387938d
[winpr,env] fix use of getcwd
do not rely on GNU_SOURCE extensions
2024-11-12 16:45:55 +01:00
akallabeth
08d21e9f09
Merge pull request #10838 from akallabeth/channel-remdesk-common
[channels,remdesk] create common components
2024-11-12 12:35:09 +01:00
akallabeth
148549165d
Merge pull request #10842 from akallabeth/x11-clip-leak
[client,x11] fix clipboard leak on shutdown
2024-11-11 15:41:48 +01:00
akallabeth
24899fa414
[client,x11] fix clipboard leak on shutdown 2024-11-11 15:26:55 +01:00
akallabeth
0c35fd1a48
[channels,remdesk] create common components
Extract common functions from server and client channel and move it to a
static library linked by both
2024-11-11 12:23:52 +01:00
akallabeth
cdeb29dbd1
Merge pull request #10839 from akallabeth/rpm-debug-fix
[nightly,rpm] disable debugpackage
2024-11-11 11:55:55 +01:00
Armin Novak
a0d6a8d801
[nightly,rpm] disable debugpackage 2024-11-11 11:42:48 +01:00
Martin Fleisz
75ff6db4cd
Merge pull request #10740 from akallabeth/Wshorten-64-to-32
Wshorten 64 to 32
2024-11-11 11:26:51 +01:00
akallabeth
78acedb40e
[warnigns] fix Wshorten-64-to-32 2024-11-11 10:22:37 +01:00
akallabeth
f88eda3f11
Merge pull request #10835 from akallabeth/create_deb.sh
[packaging,scripts] add create_deb.sh
2024-11-08 10:19:49 +01:00
akallabeth
c0ed8ed6e0
[packaging,scripts] add create_deb.sh 2024-11-08 10:06:54 +01:00
akallabeth
0a7c845eec
Merge pull request #10832 from akallabeth/file-macro-unify
[cmake,gcc,clang] use -fmacro-prefix-map and -ffile-prefix-map
2024-11-08 09:25:16 +01:00
akallabeth
cb73d77d6e
Merge pull request #10823 from akallabeth/rdpdr-caps-filter
[channels,rdpdr] send only used caps to server
2024-11-08 09:08:32 +01:00
akallabeth
d2ddbd81f6
Merge pull request #10834 from akallabeth/coverity-pragma
[winpr,assert] coverity suppress CONSTANT_EXPRESSION_RESULT
2024-11-08 09:04:03 +01:00
akallabeth
bc70bbd30e
[cmake] unify -fno-omit-frame-pointer 2024-11-08 09:01:25 +01:00
akallabeth
c5711f0a2e
[winpr,assert] coverity suppress CONSTANT_EXPRESSION_RESULT 2024-11-08 08:40:28 +01:00
akallabeth
c43242fdde
[cmake,buildflags] replace CMAKE_SOURCE_DIR and CMAKE_BUILD_DIR
replace source and build directories with palceholders
2024-11-07 20:10:57 +01:00
akallabeth
ebcf4c44a9
[cmake,gcc,clang] use -fmacro-prefix-map and -ffile-prefix-map
Instead of some bash path substitution only working with Makefiles use
the compiler options to map source and build directories to some
defaults
2024-11-07 16:52:01 +01:00
Martin Fleisz
1520d94d33
Merge pull request #10797 from akallabeth/warn-fixes
Warn fixes
2024-11-07 13:50:51 +01:00
Martin Fleisz
c7486fc47b
Merge pull request #10801 from akallabeth/cleanups
Cleanups
2024-11-07 13:03:36 +01:00
akallabeth
4726d5a01e
Merge pull request #10829 from akallabeth/winpr-fixes
Winpr fixes
2024-11-07 12:15:16 +01:00
akallabeth
d070857c03
[winpr,string] add wcsndup 2024-11-07 11:46:55 +01:00
akallabeth
3a1251fa0e
[winpr,path] WINPR_ATTR_MALLOC for winpr_GetConfigFilePath 2024-11-07 11:46:53 +01:00
akallabeth
7e7ea3e688
[core,settings] WINPR_ATTR_MALLOC for alloc_array 2024-11-07 11:46:50 +01:00
akallabeth
3f824daca4
Merge pull request #10827 from akallabeth/rdstls-log
[core,rdstls] use less verbose logging
2024-11-06 21:30:19 +01:00
akallabeth
315ab17984
[core,rdstls] use less verbose logging
the rdstls_recv function is called with possibly incomplete data, do not
log length check failures
2024-11-06 20:41:01 +01:00
akallabeth
93c4843399
Merge pull request #10826 from Devolutions/devops/upload
[ci] update upload-artifact action to version 4
2024-11-06 14:47:25 +01:00