Armin Novak
79416f5d32
Fixed missing initializers
2019-01-29 17:48:49 +01:00
Armin Novak
2e5fd8d16b
Fixed clang analyzer false positive memory leaks.
...
Added a justification for each #ifndef __clang_analyzer__
2019-01-29 17:17:30 +01:00
Armin Novak
d5720b7999
Fixed clang scanbuild false positive memory leak.
...
The memset did confuse the analyzer. Remove it as the variable
is already initialized to zero.
2019-01-29 17:17:24 +01:00
Armin Novak
0dae6933ce
Fixed uninitialized return value.
2019-01-29 16:53:30 +01:00
Armin Novak
51039f6535
Fixed compiler warnings #5210
2019-01-29 16:15:23 +01:00
David Fort
70805402be
Merge pull request #5140 from akallabeth/print_custom_component
...
Added callback to handle printer custom components in printer backend.
2019-01-29 15:18:53 +01:00
Armin Novak
dd9814df84
Fixed review remarks.
2019-01-29 14:21:58 +01:00
akallabeth
0a8ebcfcac
Merge pull request #5187 from astrand/mingw-part1
...
Mingw build fixes part1
2019-01-29 10:46:21 +01:00
Armin Novak
4ba73e0c73
Fixed warnings found by compiler and static analysis.
2019-01-24 11:53:52 +01:00
Armin Novak
65812bdbc0
Clipboard data pointer arguments are now const.
2019-01-23 16:55:13 +01:00
Vic Lee
e2df67ab34
rdpsnd/winmm: remove an unnecessary blocking event.
2019-01-18 17:51:14 +08:00
Armin Novak
805741bdf6
Fixed #5185 broken file size initialization.
2019-01-14 14:54:33 +01:00
Peter Åstrand (astrand)
30cd1ba1ab
Use lowercase for includes and libs
...
Makes build possible on case sensitive systems such as MinGW on Linux.
2019-01-09 09:36:28 +01:00
Martin Fleisz
aa442de059
Merge pull request #5174 from chipitsine/master
...
resolve several issues found by cppcheck
2019-01-07 15:21:46 +01:00
Ilya Shipitsin
05462d27fb
remove identical code, found by coverity
2019-01-04 20:56:57 +05:00
Ilya Shipitsin
bdc039e719
resolve several issues found by cppcheck
...
[client/X11/xf_floatbar.c:800] -> [client/X11/xf_floatbar.c:796]: (warning) Either the condition '!floatbar' is redundant or there is possible null pointer dereference: floatbar.
[client/X11/xf_floatbar.c:800] -> [client/X11/xf_floatbar.c:797]: (warning) Either the condition '!floatbar' is redundant or there is possible null pointer dereference: floatbar.
[client/X11/xf_floatbar.c:800] -> [client/X11/xf_floatbar.c:798]: (warning) Either the condition '!floatbar' is redundant or there is possible null pointer dereference: floatbar.
[libfreerdp/codec/dsp.c:1156] -> [libfreerdp/codec/dsp.c:1154]: (warning) Either the condition '!srcFormat' is redundant or there is possible null pointer dereference: srcFormat.
[channels/drdynvc/client/drdynvc_main.c:1453] -> [channels/drdynvc/client/drdynvc_main.c:1450]: (warning) Either the condition '!drdynvc' is redundant or there is possible null pointer dereference: drdynvc.
[channels/audin/client/opensles/audin_opensl_es.c:98] -> [channels/audin/client/opensles/audin_opensl_es.c:94]: (warning) Either the condition '!opensles' is redundant or there is possible null pointer dereference: opensles.
[channels/audin/client/opensles/audin_opensl_es.c:159] -> [channels/audin/client/opensles/audin_opensl_es.c:153]: (warning) Either the condition '!opensles' is redundant or there is possible null pointer dereference: opensles.
2019-01-02 20:35:24 +05:00
Bernhard Miklautz
9f6abd2701
fix [channels]: remove sshagent server side
...
The server side channel wasn't tested and does not work this way with
FreeRDP. Rely on the server side channel that come with the RDP
server(s).
2018-12-13 10:17:46 +01:00
Armin Novak
34c9404c98
Added OpenSSL include path globally.
2018-12-12 15:41:29 +01:00
Armin Novak
31d5a3b0c3
Don't reset configuration and driver name when supplied via command line.
2018-12-12 14:42:50 +01:00
Armin Novak
d13bd66f5a
Implemented printer name based backend to remember settings.
2018-12-12 14:36:18 +01:00
Armin Novak
192680a001
Added callback to handle printer custom components in printer backend.
2018-12-12 10:57:53 +01:00
Bernhard Miklautz
2fe1c786c4
Merge pull request #5075 from akallabeth/clipboard_channel_cleanup
...
Fixed clipboard channel cleanup.
2018-12-11 09:12:24 +00:00
Armin Novak
fdf9ca3273
Fixed #5113 : The timestamps for FileFullDirectoryInformation were inverted.
2018-12-07 10:59:52 +01:00
Armin Novak
81a0cd7010
Fixed clipboard channel cleanup.
2018-11-28 11:40:57 +01:00
Armin Novak
6c02a1c7d8
Fixed version check for remote assistance channel.
2018-11-22 11:11:31 +01:00
Armin Novak
6de2129a90
assistance v2 support
2018-11-22 11:11:31 +01:00
Bernhard Miklautz
010e3485cb
Merge pull request #4989 from akallabeth/dsp_encode_resample
...
Added resampling to freerdp_dsp_encode.
2018-11-15 15:54:56 +00:00
Bernhard Miklautz
d915491717
Merge pull request #5012 from akallabeth/rail_app_icons
...
Rail app icons
2018-11-15 08:50:56 +00:00
Armin Novak
5490ceb4ed
Fixed source format for freerdp_dsp_encode in rdpsnd_server_send_wave_pdu
2018-11-14 13:27:20 +01:00
Armin Novak
0f45a570fa
Added fallback for supported sample rates if original not supported.
...
Added format compatibility check between recording input and destination.
2018-11-14 13:27:20 +01:00
Armin Novak
93eea24120
Fixed possible NULL pointer dereference
2018-11-14 13:27:20 +01:00
Armin Novak
83f959ce6b
Fixed format issues with server sound channel (review by @llysz)
2018-11-14 13:27:20 +01:00
Bernhard Miklautz
e980d20e8e
Merge pull request #4973 from Devolutions/fix_drive_redirection
...
Allow fixed drive redirection (Windows) and fix macos drive duplication.
2018-11-14 11:57:13 +00:00
Armin Novak
e500abc092
Fixed rail_string_to_unicode_string size calculation.
2018-11-14 11:03:59 +01:00
Jonathan Lafontaine
35d7a1e38d
Allow fixed drive redirection on Windows (a:, c:, ...) and fix macos drive duplication.
2018-10-29 10:17:42 -04:00
Armin Novak
7aebf8ebd2
Silence code analyzers, check correct variable for NULL.
2018-10-25 13:19:45 +02:00
Norbert Federa
af992f4ce1
channels/client: fix alsa/pulse warning and checks
...
- pa_stream_writable_size() returns (size_t) -1 on error
- fix missing cast in alsa client sound channel code
2018-10-23 09:45:20 +02:00
Armin Novak
fe7a37dcbd
Cleaned up resource cleanup for rdpsnd alsa backend.
2018-10-22 14:53:46 +02:00
Armin Novak
3ed50aaca2
Implemented rdpsnd_pulse_get_volume
2018-10-22 13:17:25 +02:00
Armin Novak
9ff17dc0f4
fixed return value check in rdpsnd_recv_volume_pdu
2018-10-22 12:27:19 +02:00
Armin Novak
e2e1071ff5
Seal length in wave pdu alignment.
2018-10-22 12:16:18 +02:00
Armin Novak
1a015612a6
Align wave pdu size
2018-10-22 12:00:07 +02:00
Armin Novak
fb76f88cac
Added missing length check and log message information.
2018-10-22 11:59:42 +02:00
Armin Novak
3d49697d19
Improved debug logging for sound device handling.
2018-10-22 10:27:16 +02:00
Armin Novak
ff7e91fed0
Removed unnecessary pulse context check.
2018-10-22 10:18:17 +02:00
Armin Novak
03dcfaf8db
Unified sound device reopen in a single function.
2018-10-22 10:04:02 +02:00
Norbert Federa
0572572eb9
fix issue with fnObjectFree and related casts
...
- remove unnecessary/dangerous OBJECT_xxx function-style casts
- fix -Wstrict-prototypes issue with OBJECT_NEW_FN definition
2018-10-19 11:30:01 +02:00
Norbert Federa
d35470f8af
rdpsnd: always call rdpsnd_server_send_formats
...
Since the rdpsnd_server_send_formats function is no longer exported
we must always call it, even if the rdpsnd server application uses
its own thread.
2018-10-18 10:21:15 +02:00
Armin Novak
3920c570dd
Fixed memory leak with audio formats.
2018-10-15 16:33:56 +02:00
Martin Fleisz
00af869cd3
Merge pull request #4889 from akallabeth/shadow_server_audin_refactor
...
Shadow server audin refactor
2018-10-08 12:56:09 +02:00