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
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
Richard Boisvert
d5149d7b37
[ci] update upload-artifact action to version 4
2024-11-06 08:23:45 -05:00
akallabeth
cbc5d6d48b
Merge pull request #10825 from akallabeth/rpm-nightly-fix
...
[ci,nightly] fix build for fedora 41
2024-11-06 11:15:17 +01:00
Armin Novak
fbca659cb5
[ci,nightly] fix build for fedora 41
2024-11-06 12:14:10 +01:00
akallabeth
c9421d3714
Merge pull request #10822 from akallabeth/rdstls-silence
...
[core,rdstls] do silent password check
2024-11-06 11:06:36 +01:00
akallabeth
aa371dcdd6
[channels,rdpdr] only reply enabled caps
2024-11-05 19:56:28 +01:00
akallabeth
c4412a92e2
[channels,rdpdr] send only used caps to server
...
* When using RDPDR only send capabilities to server we have activated,
e.g. smartcard, drive, printer, port (serial or parallel) redirection
* Check return value of write functions
2024-11-05 19:44:03 +01:00
akallabeth
ec9b5c33bc
[core,rdstls] do silent password check
...
In rdstls_parse_pdu_data_type do not use logging stream functions. This
function might be called with incomplete data so avoid spamming the log.
2024-11-05 17:50:47 +01:00
akallabeth
9089150e28
Merge pull request #10821 from akallabeth/ios-ci
...
[winpr,comm] enable comm for iOS
2024-11-05 17:25:12 +01:00