David Fort [Fri, 26 Oct 2018 08:37:10 +0000 (10:37 +0200)]
nego: add new flags
Reading the new spec there's some new flags
Martin Fleisz [Mon, 29 Oct 2018 13:54:55 +0000 (14:54 +0100)]
Merge pull request #4907 from akallabeth/transport_write_leak_fix
Transport write leak fix
Bernhard Miklautz [Mon, 29 Oct 2018 10:26:04 +0000 (10:26 +0000)]
Merge pull request #4962 from akallabeth/wextra_fixes
Wextra fixes
akallabeth [Thu, 25 Oct 2018 13:54:21 +0000 (15:54 +0200)]
Merge pull request #4970 from hardening/uwac_fixes
uwac: change seat API to not reference disposed UwacSeat
Armin Novak [Thu, 25 Oct 2018 13:48:48 +0000 (15:48 +0200)]
Fixed warnings in Stream test.
Armin Novak [Thu, 25 Oct 2018 13:48:06 +0000 (15:48 +0200)]
Fixed casts in Data_Read macros.
David Fort [Thu, 25 Oct 2018 13:20:18 +0000 (15:20 +0200)]
uwac: change seat API to not reference disposed UwacSeat
This is a false positive returned by covscan, but that doesn't hurt to fix it.
Armin Novak [Wed, 24 Oct 2018 15:24:35 +0000 (17:24 +0200)]
Fixed signedness casts.
Armin Novak [Wed, 24 Oct 2018 15:22:43 +0000 (17:22 +0200)]
Fixed signedness of MoniorCount
Armin Novak [Wed, 24 Oct 2018 14:50:05 +0000 (16:50 +0200)]
Fixed initialisation in DEFINE_EVENT_ENTRY define
Armin Novak [Wed, 24 Oct 2018 12:36:12 +0000 (14:36 +0200)]
Fixed another bunch of warnings.
Armin Novak [Wed, 24 Oct 2018 11:20:46 +0000 (13:20 +0200)]
Fixed -Wextra sign warnings
Armin Novak [Wed, 24 Oct 2018 11:17:14 +0000 (13:17 +0200)]
Fixed warnings of uninitialized struct values.
Armin Novak [Wed, 24 Oct 2018 11:17:04 +0000 (13:17 +0200)]
Fixed cast warnings for thread wrapper
Armin Novak [Wed, 24 Oct 2018 11:05:49 +0000 (13:05 +0200)]
Changed size iterator variables to size_t
Armin Novak [Tue, 23 Oct 2018 10:33:13 +0000 (12:33 +0200)]
Fixed default return value for fastpath_send_multiple_input_pdu
akallabeth [Tue, 23 Oct 2018 10:03:03 +0000 (12:03 +0200)]
Merge pull request #4947 from akallabeth/http_gw_fix
Fixed http gateway body length read.
akallabeth [Tue, 23 Oct 2018 08:40:09 +0000 (10:40 +0200)]
Merge pull request #4958 from nfedera/nf-fix-alsapulse-wrn-err
channels/client: fix alsa/pulse warning and checks
Norbert Federa [Tue, 23 Oct 2018 07:45:20 +0000 (09:45 +0200)]
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
Norbert Federa [Tue, 23 Oct 2018 07:28:00 +0000 (09:28 +0200)]
Merge pull request #4957 from akallabeth/wave_2_pdu_fix
Wave 2 pdu fix
akallabeth [Mon, 22 Oct 2018 19:16:36 +0000 (21:16 +0200)]
Merge pull request #4932 from hardening/stream_static
winpr: add some functions to use wStream in a static way
Armin Novak [Mon, 22 Oct 2018 12:53:46 +0000 (14:53 +0200)]
Cleaned up resource cleanup for rdpsnd alsa backend.
Bernhard Miklautz [Mon, 22 Oct 2018 12:50:21 +0000 (12:50 +0000)]
Merge pull request #4796 from akallabeth/groegera_fixes
Update X11-modifier key state on focus_in
Armin Novak [Mon, 22 Oct 2018 12:41:59 +0000 (14:41 +0200)]
Fixed memory leak in update_recv_surfcmd_surface_bits
Armin Novak [Mon, 22 Oct 2018 11:02:00 +0000 (13:02 +0200)]
Implemented rdpsnd_pulse_get_volume
Armin Novak [Mon, 22 Oct 2018 10:27:19 +0000 (12:27 +0200)]
fixed return value check in rdpsnd_recv_volume_pdu
Armin Novak [Mon, 22 Oct 2018 10:16:18 +0000 (12:16 +0200)]
Seal length in wave pdu alignment.
Armin Novak [Mon, 22 Oct 2018 10:00:07 +0000 (12:00 +0200)]
Align wave pdu size
Armin Novak [Mon, 22 Oct 2018 09:59:42 +0000 (11:59 +0200)]
Added missing length check and log message information.
Armin Novak [Mon, 22 Oct 2018 08:27:16 +0000 (10:27 +0200)]
Improved debug logging for sound device handling.
Armin Novak [Mon, 22 Oct 2018 08:18:17 +0000 (10:18 +0200)]
Removed unnecessary pulse context check.
Armin Novak [Mon, 22 Oct 2018 08:04:02 +0000 (10:04 +0200)]
Unified sound device reopen in a single function.
akallabeth [Fri, 19 Oct 2018 15:13:21 +0000 (17:13 +0200)]
Merge pull request #4952 from eledoux/master
gateway HTTP transport - fixed partial reads
akallabeth [Fri, 19 Oct 2018 12:00:14 +0000 (14:00 +0200)]
Merge pull request #4951 from nfedera/nf-fix-fnobjnew-fnstylecasts
fix issue with fnObjectFree and related casts
akallabeth [Fri, 19 Oct 2018 11:47:42 +0000 (13:47 +0200)]
Merge pull request #4949 from bmiklautz/floatbar_warning
fix [x11]: compiler warnings in floatbar
akallabeth [Fri, 19 Oct 2018 11:00:51 +0000 (13:00 +0200)]
Merge pull request #4950 from bmiklautz/cleanup_pr_4581p2
fix [cache/pointer]: add missing callback checks
Armin Novak [Fri, 19 Oct 2018 10:52:14 +0000 (12:52 +0200)]
Read byte by byte, the alignment may otherwise be broken.
Armin Novak [Fri, 19 Oct 2018 09:59:28 +0000 (11:59 +0200)]
Read http request in 4byte chunks until '\r\n\r\n' is found
Avoid reading too much data in a single call to BIO_read as some
implementations may return a lot more data than is part of the response.
Emmanuel Ledoux [Fri, 19 Oct 2018 09:56:56 +0000 (11:56 +0200)]
fixed partial reads
Armin Novak [Fri, 19 Oct 2018 09:39:22 +0000 (11:39 +0200)]
Properly parse ContentType to find length.
Bernhard Miklautz [Fri, 19 Oct 2018 08:33:50 +0000 (10:33 +0200)]
fix [x11]: compiler warnings in floatbar
client/X11/xf_floatbar.c:530:27: warning: use of logical '&&' with constant
operand [-Wconstant-logical-operand]
if (event->xmotion.state && Button1Mask && mode > XF_FLOATBAR_MODE_DRAGGING)
^ ~~~~~~~~~~~
client/X11/xf_floatbar.c:534:32: warning: use of logical '&&' with constant
operand [-Wconstant-logical-operand]
else if (event->xmotion.state && Button1Mask && mode == XF_FLOATBAR_MODE_DRAGGING)
^ ~~~~~~~~~~~
clang 8.0.0-svn344413-1~exp1+0~
20181012203207.819~1.gbpc91f27
Norbert Federa [Fri, 19 Oct 2018 09:30:01 +0000 (11:30 +0200)]
fix issue with fnObjectFree and related casts
- remove unnecessary/dangerous OBJECT_xxx function-style casts
- fix -Wstrict-prototypes issue with OBJECT_NEW_FN definition
Bernhard Miklautz [Fri, 19 Oct 2018 09:11:44 +0000 (11:11 +0200)]
fix [cache/pointer]: add missing callback checks
MartinHaimberger [Fri, 19 Oct 2018 09:10:23 +0000 (11:10 +0200)]
Merge pull request #4948 from bmiklautz/cleanup_pr_4581
new [cache/pointer]: don't require pointer functions to be set
Bernhard Miklautz [Thu, 18 Oct 2018 12:32:08 +0000 (14:32 +0200)]
new [cache/pointer]: don't require pointer functions to be set
This as cleanup/rework of PR #4581.
Armin Novak [Thu, 18 Oct 2018 14:58:53 +0000 (16:58 +0200)]
Fixed http gateway body length read.
akallabeth [Thu, 18 Oct 2018 14:40:22 +0000 (16:40 +0200)]
Merge pull request #4946 from mmattes/fix/floatbar_app_check_missing
added missing check for remote app where no floatbar exists
akallabeth [Thu, 18 Oct 2018 13:37:24 +0000 (15:37 +0200)]
Merge pull request #4945 from mmattes/fix/transferEncoding
transferEncoding can be NULL, correct if happens in line 348
Markus Mattes [Thu, 18 Oct 2018 13:33:01 +0000 (15:33 +0200)]
added missing check for remote app where no floatbar exists
Norbert Federa [Thu, 18 Oct 2018 12:11:18 +0000 (14:11 +0200)]
Merge pull request #4942 from akallabeth/rail_fixes_2.0
Fix ORDER_TYPE_WINDOW reading
Norbert Federa [Thu, 18 Oct 2018 12:08:23 +0000 (14:08 +0200)]
Merge pull request #4941 from nfedera/nf-remove-stale-valgrind-macro
gateway/rpc: remove stale valgrind macro
Norbert Federa [Thu, 18 Oct 2018 12:08:01 +0000 (14:08 +0200)]
Merge pull request #4938 from akallabeth/warning_fixes_master
Warning fixes and TSG abort condition fix
Markus Mattes [Thu, 18 Oct 2018 11:59:49 +0000 (13:59 +0200)]
transferEncoding can be NULL, verification happens in line 348
Armin Novak [Thu, 18 Oct 2018 10:34:10 +0000 (12:34 +0200)]
Fixed read_altsec_order ORDER_TYPE_WINDOW
Armin Novak [Thu, 18 Oct 2018 10:33:06 +0000 (12:33 +0200)]
Fixed order to string format string.
Norbert Federa [Thu, 18 Oct 2018 09:45:18 +0000 (11:45 +0200)]
gateway/rpc: remove stale valgrind macro
Martin Fleisz [Thu, 18 Oct 2018 09:12:59 +0000 (11:12 +0200)]
Merge pull request #4939 from nfedera/nf-fix-rdpsnd_server_send_formats
rdpsnd: always call rdpsnd_server_send_formats
Armin Novak [Thu, 18 Oct 2018 08:41:03 +0000 (10:41 +0200)]
Fixed TSG stream alignment (4 or 8)
Norbert Federa [Thu, 18 Oct 2018 08:15:24 +0000 (10:15 +0200)]
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.
Armin Novak [Thu, 18 Oct 2018 08:15:51 +0000 (10:15 +0200)]
Fixed tsg abort condition.
Armin Novak [Thu, 18 Oct 2018 07:09:30 +0000 (09:09 +0200)]
Fixed compiler warnings (casts, ...)
Armin Novak [Thu, 18 Oct 2018 07:06:55 +0000 (09:06 +0200)]
USe const compare function pointer arguments
David Fort [Tue, 16 Oct 2018 09:33:03 +0000 (11:33 +0200)]
winpr: add some functions to use wStream in a static way
It's sometime useful to create a stream aliasing a buffer on the stack, and
it's nice if we don't need some extra malloc for this.
Example use:
BYTE buffer[20];
wStream s;
Stream_StaticInit(&s, buffer, sizeof(buffer));
Stream_Write_UINT16(&s, 0xff01);
Stream_Free(&s, FALSE);
akallabeth [Wed, 17 Oct 2018 15:27:29 +0000 (17:27 +0200)]
Merge pull request #4600 from andreesteve/xfullscreen
X11: Fix fullscreen toggle
MartinHaimberger [Wed, 17 Oct 2018 15:16:28 +0000 (17:16 +0200)]
Merge pull request #4937 from akallabeth/server_rdpsnd_get_formats
Fix Server rdpsnd get formats
Armin Novak [Wed, 17 Oct 2018 14:17:41 +0000 (16:17 +0200)]
Fixed missing return in server_rdpsnd_get_formats
Martin Fleisz [Wed, 17 Oct 2018 14:02:28 +0000 (16:02 +0200)]
Merge pull request #4926 from akallabeth/primary_order_checks
Order data validation and correction
akallabeth [Wed, 17 Oct 2018 13:01:22 +0000 (15:01 +0200)]
Merge pull request #4478 from smalleel/master
Updated project site link to HTTPS
Armin Novak [Tue, 2 Oct 2018 11:18:13 +0000 (13:18 +0200)]
Fixed stream release for transport_write
Armin Novak [Tue, 2 Oct 2018 12:22:27 +0000 (14:22 +0200)]
Reset stream length to capacity in StreamPool_Take
MartinHaimberger [Wed, 17 Oct 2018 12:40:00 +0000 (14:40 +0200)]
Merge pull request #4933 from akallabeth/planar_alpha_fix
Planar alpha fix
MartinHaimberger [Wed, 17 Oct 2018 12:35:17 +0000 (14:35 +0200)]
Merge pull request #4936 from akallabeth/gw_leak_fix
Fixed bugs detected during scanbuild run
Armin Novak [Wed, 17 Oct 2018 12:16:16 +0000 (14:16 +0200)]
Removed debug log entries, simplified order support check.
Armin Novak [Wed, 17 Oct 2018 11:19:33 +0000 (13:19 +0200)]
Fixed bugs detected during scanbuild run
akallabeth [Wed, 17 Oct 2018 10:23:10 +0000 (12:23 +0200)]
Merge pull request #4902 from akallabeth/gw_refactor_3
Gateway refactoring
akallabeth [Wed, 17 Oct 2018 10:19:03 +0000 (12:19 +0200)]
Merge pull request #4927 from akallabeth/cmdline_fixes
Fixed command line setting of flags, unified string replace
Armin Novak [Wed, 17 Oct 2018 10:15:57 +0000 (12:15 +0200)]
Add command line option /relax-order-checks
Armin Novak [Wed, 17 Oct 2018 09:36:32 +0000 (11:36 +0200)]
Fixed division by 0 if invalid formats are used.
akallabeth [Wed, 17 Oct 2018 09:32:56 +0000 (11:32 +0200)]
Merge pull request #4891 from akallabeth/rail_fixes
Rail fixes #4846 and a crash
Armin Novak [Wed, 17 Oct 2018 08:47:23 +0000 (10:47 +0200)]
Announce glyph orders if glyph cache is activated.
Armin Novak [Wed, 17 Oct 2018 08:09:37 +0000 (10:09 +0200)]
Fixed length sanity check.
Armin Novak [Wed, 17 Oct 2018 08:09:27 +0000 (10:09 +0200)]
Fixed order requirements.
Armin Novak [Tue, 16 Oct 2018 15:29:10 +0000 (17:29 +0200)]
Fixed const correctness of arguments.
Armin Novak [Tue, 16 Oct 2018 15:26:57 +0000 (17:26 +0200)]
Added parameter checks.
Armin Novak [Tue, 16 Oct 2018 15:23:24 +0000 (17:23 +0200)]
Added parameter checks.
Armin Novak [Tue, 16 Oct 2018 15:14:56 +0000 (17:14 +0200)]
Fixed missing argument check.
Armin Novak [Tue, 16 Oct 2018 15:10:03 +0000 (17:10 +0200)]
Fixed missing input validation.
Armin Novak [Tue, 16 Oct 2018 15:09:29 +0000 (17:09 +0200)]
Fixed missing value check
Armin Novak [Tue, 16 Oct 2018 14:10:17 +0000 (16:10 +0200)]
Fixed glyph cache
Armin Novak [Tue, 16 Oct 2018 13:56:17 +0000 (15:56 +0200)]
Proper order checks.
Marc-André Moreau [Tue, 16 Oct 2018 13:09:05 +0000 (09:09 -0400)]
Merge pull request #4914 from Devolutions/winpr-dll-export
Add WINPR_DLL definition to control WinPR symbol exporting
Armin Novak [Tue, 16 Oct 2018 11:59:37 +0000 (13:59 +0200)]
Check if incoming secondary alternate orders have been activated.
Armin Novak [Tue, 16 Oct 2018 11:48:43 +0000 (13:48 +0200)]
Check if incoming secondary orders have been activated.
Armin Novak [Tue, 16 Oct 2018 11:48:29 +0000 (13:48 +0200)]
Send brush support level from settings.
Armin Novak [Tue, 16 Oct 2018 11:02:15 +0000 (13:02 +0200)]
For every order check if it is activated in settings before processing.
Armin Novak [Tue, 16 Oct 2018 10:46:44 +0000 (12:46 +0200)]
Added a warning that the server sent an unsupported order
Armin Novak [Tue, 16 Oct 2018 10:36:08 +0000 (12:36 +0200)]
Fixed arguments to *adust
Armin Novak [Tue, 16 Oct 2018 10:17:25 +0000 (12:17 +0200)]
Separate alpha handling for planar codec
If the destination does not support an alpha channel ignore it
when decoding and prevent data to be copied unnecessarily
Armin Novak [Tue, 16 Oct 2018 08:05:33 +0000 (10:05 +0200)]
Siplified planar alpha / non alpha paths
Armin Novak [Tue, 16 Oct 2018 06:45:06 +0000 (08:45 +0200)]
Fixed a memory leak in cleaning up brushes.