Armin Novak
48125164d7
Fixed dead initialization.
2018-08-24 13:40:36 +02:00
Martin Fleisz
f9e52c1850
Merge pull request #4815 from akallabeth/async_transport_remove
...
Removed +async-transport options
2018-08-24 09:48:51 +02:00
Martin Fleisz
ebef5a5e2e
Merge pull request #4811 from akallabeth/dyn_fullscreen_fix
...
Fixed single monitor fullscreen resolution update.
2018-08-23 16:58:22 +02:00
Armin Novak
c3a26b0d6a
Removed +async-transport options
...
The async transport option is broken by design.
If used the main loop is called from the transport thread and the
main thread of the application.
Unless the transport layer is refactored to just work on queues
(input and output) this option will never work, therefore remove it.
2018-08-22 13:56:37 +02:00
Ondrej Holy
e7d5aae514
client/x11: Silence false positive warnings from covscan
...
Add code annotation to silence false positive warnings from covscan
due to omitting termination \0.
buffer_size: Calling strncpy with a source string whose length (13 chars) is greater than or equal to the size argument (13) will fail to null-terminate "&tmp[cs]".
2018-08-22 13:35:43 +02:00
Ondrej Holy
baeb29a7e0
client/x11: Fix leak found by covscan
...
leaked_storage: Variable "actionScript" going out of scope leaks the storage it points to.
2018-08-22 13:35:43 +02:00
Ondrej Holy
dde4c38382
client/x11: Format code by astyle
...
Run ./scripts/format_code.sh before the following changes.
2018-08-22 13:35:43 +02:00
Armin Novak
02dc6ab3f7
Fixed single monitor fullscreen resolution update.
2018-08-21 13:00:39 +02:00
Armin Novak
a334aa9657
Fixed #4786 : Added fullscreen handling for dynamic resolution.
2018-08-08 13:04:26 +02:00
akallabeth
88474af925
Merge pull request #4762 from mmattes/issue/4757
...
Fix for #4757
2018-07-30 13:31:32 +02:00
Martin Fleisz
143a2b149a
Merge pull request #4755 from akallabeth/dyn_resize_fix
...
Fixed #4679 , #4753 dynamic resizing
2018-07-30 12:28:38 +02:00
Markus Mattes
e6209748fa
Removed double ifdef WITH_XI, XInput2.h already included
2018-07-24 14:03:45 +02:00
Markus Mattes
bad8bbadf4
Fix for #4757
2018-07-22 20:00:25 +02:00
Armin Novak
328eba7fe9
Fix #4752 : Provide message free function for channel queue.
2018-07-18 15:31:07 +02:00
Armin Novak
4e4ec0b035
Fix #4752 : Unsubscirbe all PubSub in dynamic channel.
2018-07-18 14:29:22 +02:00
Armin Novak
ced4d06f74
Fixed #4679 , #4753 dynamic resizing
...
Simplified resize logic, do not check before setting current resolution.
2018-07-18 09:48:19 +02:00
Martin Fleisz
187cf000bc
Merge pull request #4706 from khvMX/master
...
X11: fixed Right-Ctrl ungrab feature (PR #3622 )
2018-07-03 12:45:15 +02:00
Armin Novak
273655a850
Follow up fix for #4631
...
Remember the callback state to avoid calling reerdp_channels_post_connect
before the corresponding client callback has benn called.
This might happen during redirection and reconnection.
2018-06-18 10:44:35 +02:00
Viktor Mukha
16cde2ee28
X11: fixed Right-Ctrl ungrab feature (PR #3622 )
2018-06-08 11:35:02 +02:00
Armin Novak
3a54713103
Fixed invalid argument parameter
2018-05-02 13:08:30 +02:00
Armin Novak
a1c3c1ad64
Added proper return value checks for clipboard data.
2018-05-02 09:21:42 +02:00
Armin Novak
5628ed5e7d
Check for window existence in remote app mode before access
...
X11 is asynchronous, so events arriving in xf_event_PropertyNotify
may access a window that has already been discarded. Check that before
reading properties.
2018-04-12 14:39:37 +02:00
Bernhard Miklautz
c0afb8bd6b
Merge pull request #4322 from akallabeth/rail_fixes
...
Rail fixes for GFX mode
2018-04-11 10:49:44 +02:00
Armin Novak
c70bf8329f
Fixed XPixmap checks.
2018-04-04 10:46:14 +02:00
Armin Novak
065a924496
Fixed format string types.
2018-04-04 10:45:57 +02:00
akallabeth
b37a98182d
Merge pull request #4457 from RangeeGmbH/fix_custom_sizes
...
Fix /size: /w: /h: with /monitors: (Fix custom sizes)
2018-04-04 10:35:47 +02:00
Armin Novak
d249335708
Removed winpr_exit
...
As the cleanup functions are called by atexit a dedicated
cleanup call is no longer required.
2018-04-03 12:56:33 +02:00
Kai Harms
222bf9245e
Fix /size: /w: /h: with /monitor: (Fix custom sizes)
...
Fix weird rectangle by removing checks
2018-03-29 07:12:53 +00:00
Ilya Shipitsin
14c15c680d
resolve several possible null pointer dereference
...
issue detected by cppcheck
[channels/drive/client/drive_main.c:454] -> [channels/drive/client/drive_main.c:443]: (warning) Either the condition '!irp' is redundant or there is possible null pointer dereference: irp.
[client/X11/xf_window.c:582] -> [client/X11/xf_window.c:580]: (warning) Either the condition '!xfc' is redundant or there is possible null pointer dereference: xfc.
[winpr/libwinpr/path/test/TestPathShell.c:40] -> [winpr/libwinpr/path/test/TestPathShell.c:43]: (warning) Either the condition '!path' is redundant or there is possible null pointer dereference: path.
[winpr/libwinpr/path/test/TestPathShell.c:49] -> [winpr/libwinpr/path/test/TestPathShell.c:52]: (warning) Either the condition '!path' is redundant or there is possible null pointer dereference: path.
2018-03-24 17:46:39 +05:00
David Fort
103686eb12
Merge pull request #4497 from akallabeth/kwin_multimon
...
Fix #2707 : Set fullscreen first
2018-03-19 19:12:02 +01:00
Armin Novak
338e74a6fb
Fix #2707 : Set fullscreen first
...
Due to kwin bug https://bugs.kde.org/show_bug.cgi?id=391960
multimonitor fullscreen is not applied correctly with the
previous approach.
2018-03-19 11:54:06 +01:00
Armin Novak
87ebdf0052
Fixed #4493 : duplicate typedef.
2018-03-17 15:25:41 +01:00
Armin Novak
9bd13c25c9
Added WaitableTimer implementation for mac OS.
2018-03-12 13:39:21 +01:00
Armin Novak
44eebbb6e0
Fixed compiler warnings.
2018-03-07 14:47:06 +01:00
Armin Novak
2517755d25
Fixed thread function return and parameters.
2018-03-07 14:36:55 +01:00
Martin Fleisz
91ee4c2e9c
Merge pull request #4454 from akallabeth/nightly
...
Use a custom command to generate helper tool
2018-03-07 10:17:17 +01:00
Armin Novak
47110a723d
Removed duplicate checks, more functions static.
2018-03-01 12:39:29 +01:00
Armin Novak
1f7d33a2f2
Fixed read/write of surface bits command.
...
The optional field exBitmapDataHeader of TS_ BITMAP_DATA_EX was ignored.
Read and expose the data (currently unused)
2018-03-01 11:38:59 +01:00
Armin Novak
62f06ed11e
Use a custom command to generate helper tool
...
Removing elements from CMAKE_C_FLAGS is not reliable,
to use a custom command to compile the helper tool
with default CFLAGS for the system.
2018-02-21 13:14:45 +01:00
Armin Novak
b2428767b2
manpage helper tool generation fixes
...
The generator tool is called by CMake and is incompatible
with certain options. Therefore this commit
* removes WinPR dependency
* removes -fsanitize=* from CFLAGS
2018-02-16 13:57:34 +01:00
Martin Fleisz
5d1ff02d02
Merge pull request #4414 from akallabeth/pthread_cleanup_fix
...
Pthread cleanup fix
2018-02-15 11:02:37 +01:00
Armin Novak
990b8c23a9
Fixed PubSub function pointer casts.
2018-02-14 11:00:52 +01:00
David Fort
441975a4aa
video, geometry: fix prototypes for timer callbacks
2018-02-14 10:16:38 +01:00
David Fort
484abe0567
video: fix invalid geometry and invalid argument passing to time pubsub
2018-02-14 00:08:52 +01:00
Martin Fleisz
bc4b57c08d
Merge pull request #4426 from akallabeth/pointer_null_fix
...
Check if xfreerdp window != NULL
2018-02-13 14:37:13 +01:00
Armin Novak
7274ffe6a8
Check if xfreerdp window != NULL
...
When xfreerdp aborts a connection it may be before xfc->window was allocated.
Don't access it in that case.
2018-02-13 13:38:02 +01:00
Armin Novak
3eb004042e
Fixed code duplication.
2018-02-13 10:52:53 +01:00
Armin Novak
c7d701bdf8
Added software decoding fallback for RDPVOR
2018-02-13 10:52:53 +01:00
Armin Novak
11f11a8763
Fixed scaled drawing of video content.
2018-02-13 10:52:53 +01:00
David Fort
b8e3b232de
video: mutualize things in the common channel code
2018-02-13 10:52:53 +01:00