Commit Graph

53 Commits

Author SHA1 Message Date
akallabeth
965d231e49
[return checks] fix use of CloseHandle 2024-09-16 08:22:31 +02:00
akallabeth
4e438d1c3e [client] make settings opaque 2023-11-24 14:54:56 +01:00
Armin Novak
04fa5b3033 [client,mac] update to use AuthenticateEx 2023-06-19 10:08:59 +02:00
akallabeth
ebf5de1d1d Preset LoadChannels function pointer 2022-06-29 09:18:53 +02:00
akallabeth
650a275ceb Added new client callback LoadChannels and freerdp_client_load_channels
Split channel loading from PreConnect as it might be necessary to
reinitialize channels on redirect
2022-06-23 07:45:55 +02:00
akallabeth
14568872a9
Instance cleanup (#7738)
* Cleaned up freerdp::autodetect

* Deprecate freerdp::input

* Deprecated freerdp::update

* Deprecated freerdp::settings

* Deprecated freerdp::autodetect

* Removed rdpTransport::settings

* Deprecated freerdp_per::update|settings|autodetect

* Fixed mac client and server compilation

* Fixed windows compilation

* Added deprecation warnings

* Fixed initialization of structs.

* Fixed android build

* Fixed freerdp_client_context_new const correctness

* Fixed checks for android implementation

Replaced checks with assertions where appropriate

* Fixed checks for windows client

Replaced checks with assertions where appropriate

* Fixed proxy client pointer dereference
2022-03-23 13:18:35 +01:00
Armin Novak
71aac852d6 Remove async-input from clients 2022-03-08 15:37:19 +01:00
Armin Novak
4d03d7c0bf Freerdp remove #ifdef HAVE_CONFIG_H 2022-03-03 11:26:48 +01:00
Armin Novak
b2ad47a809 Reorganized FreeRDP headers 2022-03-03 11:26:48 +01:00
akallabeth
700d6dcd9e Use client/common mouse functions 2022-02-22 09:44:13 +01:00
akallabeth
cdbfff87ea Unified client stop 2022-02-22 09:44:13 +01:00
akallabeth
7641710f60 Use a client/common context component
* Allows moving common client code from specific client to a
  generic client/common implementation
2022-02-22 09:44:13 +01:00
Armin Novak
80cd8dcdc3 Fixed cyclic include 2022-02-10 12:49:00 +00:00
Armin Novak
a2e9f5efcb Fixed mac app termination and warnings 2020-10-21 19:44:09 +02:00
Armin Novak
72ca88f49c Reformatted to new style 2019-11-07 10:53:54 +01:00
Armin Novak
087390b303 Refactored client clipboard function callbacks for const data pointers. 2019-01-23 16:55:13 +01:00
Armin Novak
4f99c2946f Unified mouse coordinate scaling. 2019-01-17 13:44:04 +01:00
Armin Novak
a3cfef4e07 Implemented full mouse support for mac client. 2019-01-10 11:30:36 +01:00
Armin Novak
ace9bfffdb Moved to extended certificate verification API 2018-12-06 10:17:05 +01:00
Armin Novak
ec8cc65a1c Fixed compile issue 2018-12-06 10:17:05 +01:00
Armin Novak
4dd6e75779 Added client callbacks. 2018-12-06 10:17:05 +01:00
Armin Novak
c8938c357a Updated mac build. 2018-12-06 10:17:05 +01: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
Armin Novak
3ce9d6d923 Fixed keyboard state sync. 2017-11-20 11:47:00 +01:00
Armin Novak
d35823cf69 Moved channel init code to core library. 2016-10-06 13:43:09 +02:00
Armin Novak
dadc5262ae Removed static channel variables.
Global static variables do not work, if more than one instance
of an RDP client is running in the same process space.
Removed the varaibles where possible and replaced them with
thread local storage where necessary.
2016-10-06 13:43:09 +02:00
Armin Novak
376f6a47e1 Fixed OS X client. 2016-10-06 13:43:06 +02:00
Norbert Federa
25fc866a58 Fix unchecked CreateThread calls and misc fixes 2015-05-05 13:55:48 +02:00
Bernhard Miklautz
515502ffa5 change return types of callbacks to BOOL
* change all client/server callbacks to BOOL
* update all clients accordingly
* add multiple return value checks
* small fixes
2015-04-21 14:18:07 +02:00
Marc-André Moreau
92d08cf58f mfreerdp: rewrite and update clipboard code 2014-11-05 17:14:32 -05:00
Mike Gilbert
ae1fdf6153 Remove execute bit from many files 2014-07-20 00:52:35 -04:00
Marc-André Moreau
2a82684521 channels: cleanup unused freerdp channels global functions 2014-06-11 16:27:31 -04:00
Marc-André Moreau
fb2428309c mfreerdp: apply fixes from mac-audio branch 2014-03-03 16:57:43 -05:00
Marc-André Moreau
4bbd78a80b libfreerdp-core: remove unnecessary usage of freerdp_channels_data 2014-02-15 15:26:34 -05:00
Marc-André Moreau
eb20d0f770 freerdp: fix order of OrderSupport initialization 2013-12-10 12:30:25 -05:00
Marc-André Moreau
9921e519a9 mfreerdp: fix termination of MacFreeRDP 2013-11-05 11:49:42 -05:00
Benoît LeBlanc
e15636a610 code cleanup: move coord conversion from individual mouse events to function mf_scale_mouse_event 2013-10-08 15:03:05 -04:00
Benoît LeBlanc
766c1a18aa MacFreeRDP: fixed invalid region coordinates conversion, cleanup traces 2013-10-02 10:51:48 -04:00
Benoît LeBlanc
78981418ce MacFreeRDP: Handling of mouse and region invalidation on scaling/scrolling 2013-10-02 10:24:01 -04:00
Benoît LeBlanc
aca72114e2 Mouse events and region invalidate support for smart sizing. 2013-10-01 14:30:06 -04:00
Benoît LeBlanc
05febe9d03 MacFreeRDP: Moved setViewSize logic out of the framework to the CLI app, because the content resizes the parent window, which interferes with other applications using the framework. 2013-09-27 17:36:53 -04:00
Benoît LeBlanc
d0a1563cb9 Fixed deadlock when closing session window. 2013-07-18 21:22:41 -04:00
Benoît LeBlanc
bbfdb853f6 MacFreeRDP: connection now starts asynchronously.
Replaced RunLoop implementation with standard pthreads.
2013-07-18 15:41:28 -04:00
Benoît LeBlanc
c17c2f811b FreeRDP:
- replaced char* by const char* in function prototypes
- MacFreeRDP: moved assignation of context function pointers
- freerdp: added more pointer and return value validations to prevent crashes
2013-07-04 14:42:40 -04:00
Benoît LeBlanc
0f24f6490e MacFreeRDP - Replaced MRDPView instance in NIB with instance allocated by the API. 2013-06-27 11:22:15 -04:00
Benoît LeBlanc
ed4a25d1ae WaykClient (Mac): integrated MRDPView (allocated at runtime) 2013-06-26 13:45:12 -04:00
Marc-André Moreau
3d479448a3 mfreerdp: refactoring 2013-06-22 22:55:51 -04:00
Marc-André Moreau
bda3a7e9cc mfreerdp: cleanup 2013-06-22 20:27:23 -04:00
Benoît LeBlanc
1648ca2917 AsyncInput implementation.
WARNING: settings->AsyncInput intentionnally left at FALSE, because the input callback function does not seem to be triggered after a certain point. Possibility of a deadlock?
2013-06-20 20:55:49 -04:00
Benoît LeBlanc
7185c8a8fe mac client: Set clipboard redirection ON by default, small refactoring 2013-06-20 16:45:27 -04:00