Armin Novak
0d79670a28
Fixed missing input checks for file contents request
...
reported by Valentino Ricotta (Thalium)
2021-07-22 15:10:18 +02:00
Armin Novak
8ef57bf296
Replaced CMAKE_[SOURCE|BINARY]_DIR with PROJECT_[SOURCE|BINARY]_DIR
...
Thanks @Pollux42 for the hint in #7096
2021-06-22 08:54:18 +02:00
akallabeth
b453d5e40e
Fixed rdtk, uwac and winpr standalone builds
2021-06-22 08:54:18 +02:00
Armin Novak
5fb59a23a9
Fixed lots of compilation warnings and type mismatches
2021-06-16 15:21:56 +02:00
Armin Novak
670cf8512b
Fixed missing return value checks
2021-06-16 11:46:42 +02:00
Armin Novak
880c603c26
Renamed HashTable_Add to HashTable_Insert
...
* Since the changes break HashTable_Add rename it so that it will
not fail silently
2021-06-16 11:46:42 +02:00
Armin Novak
d36d94766e
Replaced assert with WINPR_ASSERT
2021-06-14 09:37:07 +02:00
Armin Novak
140dffade6
Removed unnecessary allocation
2021-06-02 17:22:20 +02:00
Armin Novak
0c0c97d80f
Fixed missing include for legacy os
2021-06-02 17:22:20 +02:00
Armin Novak
019d26d9bb
Moved static wf_event.c variables to client context
2021-06-02 17:22:20 +02:00
Armin Novak
e79de5b2b3
Added dynamic resolution patch
...
Provided in https://github.com/FreeRDP/FreeRDP/issues/7072
by @277hz
2021-06-02 17:22:20 +02:00
Biswapriyo Nath
173ab04b59
Use same data types as calling function prototypes.
2021-05-31 13:38:19 +02:00
Biswapriyo Nath
fb9b9d2e57
client: Remove UTF-8 BOM character in RC file.
2021-05-25 09:41:44 +02:00
Biswapriyo Nath
a3a89a43f7
Fix intialization, remove some unused variables.
2021-04-28 17:11:31 +02:00
Biswapriyo Nath
3a1168cbda
Check _MSC_VER for MSVC specific pragma directives.
2021-04-28 17:11:31 +02:00
akallabeth
fd902fb345
Win fixes multiple warnings + YUV decoder crash ( #6873 )
...
* Fixed conditional reading of regisrty values.
* Fixed sign warnings
* Removed use of deprecated settings functions
* added missing include
* Removed unused functions.
* Refactored registry reading functions
* Fixed TCHAR preprocessor for printf
* Fixed compilation warnings.
* Added bounding rectangle check for multithreadded yuv decoder
* Ensure yuv step calculation height is always >0
* Deactivate multithreadded YUV decoder until artifacts are fixed.
2021-03-08 12:48:22 +01:00
swadical
09dedf1a1f
[windows client] [cliprdr] Translate clientside format IDs to serverside format IDs in cl->sv data request
2021-02-22 10:37:34 +01:00
Pascal Nowack
1087a5e1a6
clients: Use the correct wheel rotation value
...
For the negative scrolling direction, RDP uses the two's complement,
instead of the positive wheel value with the negative flag.
xfreerdp currently uses the positive wheel value in addition to the
negative flag, which results in a wrong wheel value on the server side
(136 instead of 120).
Fix this, by using the correct wheel rotation value, which is in the
two's complement.
2021-02-11 09:54:03 +01:00
Ondrej Holy
d7566f5f5a
client: Fix exit codes for /help and similar option ( #6741 )
...
* client: Fix exit codes for /help and similar option
Currently, non-zero exit code is returned for /version, /buildconfig, /help,
/monitor-list, /kbd-list and /kbd-lang-list command-line options for several
clients. This is against conventions because 0 is usually returned in
such cases. Also, there is potentially another problem that the returned
codes overflow on UNIX systems (where the exit code is a number between 0
and 255). Let's fix the clients to return 0 in the mentioned cases to honor
conventions and 1 for the command-line parsing errors (or -1 for clients
who already use that value).
Fixes: https://github.com/FreeRDP/FreeRDP/issues/6686
* Refactored freerdp_client_settings_command_line_status_print_ex
Now returns 0 if help or version information was requested.
* Do not eliminate original error status.
Co-authored-by: akallabeth <akallabeth@posteo.net>
2021-01-22 09:44:55 +01:00
akallabeth
284e20b140
Fixed #6696 : Implement HandshakeEx in windows client
...
Special thanks to @byteboon for bisecting the issue
2021-01-19 17:13:40 +01:00
akallabeth
8b8016ec21
Fixed call to GetKeyboardLayout
2020-12-15 11:29:51 +01:00
Martin Fleisz
d87d351c00
Add GatewayMessageType to public API
2020-08-04 15:58:48 +02:00
Martin Fleisz
3753f0ea9c
Implement gateway message callback for Windows, Wayland and X11 clients
2020-08-04 15:58:48 +02:00
Armin Novak
dfbeeb1e16
Fixed #6335 : windows client title length
2020-07-06 09:16:55 +02:00
Victor K
329332432a
Windows Authentication - Then launced with username argument prefill the name in the authentication box.
2020-05-15 10:01:07 +02:00
akallabeth
cbee45aace
Fixed clipboard 'called with invalid type' warning
2020-05-06 13:31:57 +02:00
akallabeth
9379f93034
Fixed #6121 : Use correct destination color format
2020-04-28 12:40:03 +02:00
xie.kunming
979798f51c
wf_cliprdr.c forget OleUninitialize if create_cliprdr_window failed
2020-03-02 11:45:45 +01:00
Armin Novak
2822585db4
Disable windows console attach.
2020-02-12 15:47:31 +01:00
KunMing Xie
7fec130dbc
wf_rail.c: fix crash if CreateWindowEx failed ( #5812 )
...
* wf_rail.c: fix crash if CreateWindowEx failed
Co-authored-by: tensorflow123 <kunming.xie@hotmail.com>
2020-01-08 09:02:49 +01:00
Armin Novak
b89fd2d8e5
Fix #5749 : Retry to open the clipboard.
...
On windows the clipboard is shared and other applications
or windows might lock the clipboard.
For this reason, retry opening if it fails and ignore
failure to open during normal operation.
2019-11-26 07:57:32 +01:00
Armin Novak
72ca88f49c
Reformatted to new style
2019-11-07 10:53:54 +01:00
Martin Fleisz
5439c97953
Merge pull request #5553 from akallabeth/win_console_fix
...
Reattach to cmd if wfreerdp was started from one.
2019-11-05 09:35:45 +01:00
Armin Novak
a5403448b6
Fixed review remarks.
2019-11-04 11:18:53 +01:00
Armin Novak
cebddbd65b
Fix various compiler warnings for wfreerdp.
2019-09-03 15:11:18 +02:00
Armin Novak
12b0b9ea28
Do not use named events, they are global!
2019-09-02 15:28:31 +02:00
Armin Novak
53ee0fbc33
Added GUI/console switch for input callbacks. (disabled until AttachConsole + stdin work)
2019-08-29 19:28:50 +02:00
Armin Novak
1a322bb98b
Added command line or dialog certificate handling.
2019-08-29 19:03:03 +02:00
Armin Novak
81c60631a9
Reattach to cmd if wfreerdp was started from one.
2019-08-29 13:47:53 +02:00
Armin Novak
d7ca2db62e
Fixed doulbe semicolon in C files.
2019-05-08 12:58:01 +02:00
Ilya Shipitsin
7f97574501
client/Windows/wf_event.c: add missing "break" ( #5293 )
...
found by cppcheck
[client/Windows/wf_event.c:464] -> [client/Windows/wf_event.c:468]: (warning) Variable 'xNewPos' is reassigned a value before the old one has been used. 'break;' missing?
2019-03-04 09:17:10 +01:00
anbukart
b192171434
Embedded window local fix
...
Client width and height getting set as 0 when embedded using ParentWindowId setting
2019-02-21 11:03:52 +05:30
akallabeth
0a8ebcfcac
Merge pull request #5187 from astrand/mingw-part1
...
Mingw build fixes part1
2019-01-29 10:46:21 +01:00
akallabeth
7d226ca596
Merge pull request #5218 from ckelsel/master
...
May crash if GetCommandLineW failed
2019-01-25 12:19:56 +01:00
xie.kunming
b8c64b6bf3
May crash if GetCommandLineW failed
2019-01-25 17:54:25 +08:00
akallabeth
8ed0b92928
Merge pull request #5216 from ckelsel/master
...
change SetTimer elapse from 10 to USER_TIMER_MINIMUM
2019-01-25 10:01:30 +01:00
xie.kunming
84493d0039
If uElapse is less than USER_TIMER_MINIMUM (0x0000000A), the timeout is set to USER_TIMER_MINIMUM.
2019-01-25 16:45:52 +08:00
Armin Novak
087390b303
Refactored client clipboard function callbacks for const data pointers.
2019-01-23 16:55:13 +01:00
Peter Åstrand (astrand)
6619de070a
freerdp_client_set_window_size should not be static
...
Avoid GCC error, since it is not static according to wf_client.h.
2019-01-09 09:54:31 +01:00
Peter Åstrand (astrand)
fcf59b9c4f
Add msimg32 library through CMake
...
MinGW does not support libs through #pragma comments.
2019-01-09 09:52:27 +01:00