Commit Graph

237 Commits

Author SHA1 Message Date
Robert Corrigan
405e7ebb6e Code style fixes 2016-10-20 11:22:08 -04:00
Robert Corrigan
91e6255015 Run password dialog as a modal sheet and set window title to server:port 2016-10-19 17:11:40 -04:00
Armin Novak
8ef1808191 Adjusted non X11 implementations. 2016-10-14 12:50:04 +02:00
akallabeth
1d03fd32a3 Merge pull request #3470 from untoldone/master
mac BUILD_SHARED_LIBS=ON fix (on master)
2016-10-11 13:15:13 +02:00
Robert Corrigan
ecf9eed809 Runs Mac password dialog on main UI thread 2016-10-08 11:30:04 -04:00
Armin Novak
649d270ccd Fixed GDI_RGN->null initialization. 2016-10-06 13:43:15 +02:00
Armin Novak
8f1adf64ee Refactored ClipboardSetData. 2016-10-06 13:43:15 +02:00
Armin Novak
b1c54619d6 Reformatted file. 2016-10-06 13:43:13 +02:00
Armin Novak
4d179fd88a Reformatted file. 2016-10-06 13:43:13 +02:00
Armin Novak
22ddec810b Moved pre and post channel hooks. 2016-10-06 13:43:10 +02: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
Armin Novak
cd65c49db2 Fixed mac compile errors. 2016-10-06 13:43:05 +02:00
Michael M. Wasser
75a483d1a5 mac BUILD_SHARED_LIBS=ON fix 2016-08-13 18:28:28 -07:00
Marc-André Moreau
915b9a15b1 Merge branch 'master' of github.com:FreeRDP/FreeRDP
Conflicts:
	winpr/libwinpr/bcrypt/CMakeLists.txt
2016-05-11 11:05:17 -04:00
Armin Novak
36cbf1b583 Fixed error handling for channel load failures. 2016-03-14 13:13:43 +01:00
Marc-André Moreau
bfca674f2d Merge branch 'master' of github.com:FreeRDP/FreeRDP 2016-02-05 11:39:45 -05:00
Armin Novak
c908b951f1 Reformatted patch. 2016-02-02 09:50:23 +01:00
“John
8324b3d18f Mac Fullscreen + window title
* Set Mac window title according to command line
* Hände fullscreen command line switch
2016-02-02 09:49:47 +01:00
Marc-André Moreau
5350d8e7c6 mfreerdp: fix dynamic desktop resize 2015-11-05 11:57:47 -05:00
Norbert Federa
2d5e249eff Merge pull request #2825 from akallabeth/pointer_decoding_fix
Fixed color pointer decoding.
2015-09-01 11:09:42 +02:00
Martin Haimberger
52405a3e79 Remove WIN32ERROR type
All return values are UINT now.
2015-08-27 05:38:20 -07:00
Armin Novak
be673f5766 Fixed mac API. 2015-08-06 14:11:36 +02:00
Martin Haimberger
e5d5cd3c94 hardend cliprdr
hardend cliprdr server and client
also updated all callbacks in the server and client
implementations
2015-06-18 03:04:31 -07:00
Norbert Federa
51b697d4c8 transport/mfreerdp: fix async transport
- handle WAIT_TIMEOUT result as error in async transport thread
  if an INFINITE timeout was specified in WaitForMultipleObjects
- fix mfreerdp's async transport handling to not use
  freerdp_get_event_handles/freerdp_check_event_handles if async
  transport is activated
2015-05-14 21:57:16 +02:00
MartinHaimberger
e3236c2317 Merge pull request #2605 from nfedera/fix-2015-05-08-01
fixed multiple missing gdi return value checks
2015-05-11 16:59:32 +02:00
Norbert Federa
1eff1a345e free can handle NULL perfectly fine 2015-05-11 09:07:39 +02:00
Norbert Federa
71a4349928 fixed multiple missing gdi return value checks
mainly gdi_Create* functions
2015-05-08 21:39:23 +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
Armin Novak
c380fb3520 Added flag to ignore unknown keywords
freerdp_client_settings_parse_command_line now allows ignoring
unknown keywords.
2015-03-16 10:15:37 +01:00
Bernhard Miklautz
9ab95adf0d mfreerdp: fix build with latest cmake
Newer versions of cmake seem to use CMAKE_C_FLAGS for objective-c.
Now both flags are set for compatibility.
2015-01-11 19:29:50 +01:00
Marc-André Moreau
1e7941297e mfreerdp: fix clipboard missing last character and extra last character 2014-12-21 14:17:51 -05:00
Bernhard Miklautz
10ee2f72d9 Mac: set policy to silent cmake >= 3.0 warnings
Set the following policies to "OLD" if cmake version is greater than
2.8.12:

CMP0026 - Disallow use of the LOCATION target property
CMP0045 - Error on non-existent target in get_target_property
2014-12-12 19:25:43 +01:00
Marc-André Moreau
b8f694d8df mfreerdp: fix cliprdr copy with Windows XP 2014-11-20 16:05:13 -05:00
Marc-André Moreau
8449e1c946 mfreerdp: fix thread stopping 2014-11-20 12:34:49 -05:00
Marc-André Moreau
b32341785e xfreerdp: remove dependency on libfreerdp-rail 2014-11-12 19:49:35 -05:00
Marc-André Moreau
92d08cf58f mfreerdp: rewrite and update clipboard code 2014-11-05 17:14:32 -05:00
Marc-André Moreau
20da57a760 mfreerdp: fix build and cursor conversion 2014-10-25 10:17:41 -04:00
Marc-André Moreau
3346d3b912 mfreerdp: fix crash with <32bpp color depths 2014-10-18 21:31:24 -04:00
Marc-André Moreau
a1e660d92e freerdp: unify clipboard standard format id definitions 2014-10-16 22:20:12 -04:00
Marc-André Moreau
2a5192b027 Merge branch 'master' of github.com:awakecoding/FreeRDP into egfx
Conflicts:
	client/Windows/wf_cliprdr.h
	client/Windows/wf_event.h
	client/X11/xf_client.c
	client/X11/xf_gdi.c
	libfreerdp/gdi/gdi.c
	server/Mac/mf_input.c
2014-09-17 19:09:56 -04:00
Armin Novak
477d6214ee Decreased logging verbosity. 2014-09-15 19:47:59 +02:00
Armin Novak
7913a57bc5 Using wlog for logging in clients now. 2014-09-15 08:55:00 +02:00
Marc-André Moreau
b0d27beae3 mfreerdp: add egfx support 2014-09-13 12:02:53 -04:00
Bernhard Miklautz
0313ca3622 libfreerdp: always build "MONOLITHIC"
"libfreerdp" consisted of multiple (small) single libraries. If the cmake
option MONOLITHIC was used only one library was build combining all of
the libfreerdp-* libraries.
The only exceptions to this are libfreerdp-server and libfreerdp-client these
are build as separate libraries.

This commit obsoltes non-monolithic builds and makes monolithic builds
the default. The cmake option MONOLITHIC is also removed.
2014-09-12 00:19:53 +02:00
Armin Novak
0780c0993e Replaced fprintf(stderr with DEBUG_WARN 2014-08-07 22:21:07 +02:00
Mike Gilbert
ae1fdf6153 Remove execute bit from many files 2014-07-20 00:52:35 -04:00
Bernhard Miklautz
6a49bcfe40 winpr: always build "monolitic"
winpr is now always build as single library.
The build option MONOLITHIC_BUILD doesn't influence this behavior anymore.

The only exception is winpr-makecert-tool which is still build as extra
library.

This obsoletes complex_libraries for winpr.
2014-07-10 11:10:58 +02:00
Marc-André Moreau
2a82684521 channels: cleanup unused freerdp channels global functions 2014-06-11 16:27:31 -04:00
Benoît LeBlanc
6d55d8859d Added context error codes 2014-03-28 12:23:16 -04:00
Benoît LeBlanc
557c082458 Merge branch 'master' of git://github.com/awakecoding/FreeRDP 2014-03-05 16:35:22 -05:00
Marc-André Moreau
5d59ea09d6 mfreerdp: add Apple IOKit-based keyboard type detection 2014-03-04 14:01:01 -05: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
Benoît LeBlanc
9d929469d2 Merge branch 'master' of git://github.com/awakecoding/FreeRDP
# By Marc-André Moreau (27) and others
# Via Marc-André Moreau
* 'master' of git://github.com/awakecoding/FreeRDP: (48 commits)
  afreerdp: fix build on Android
  libwinpr-wtsapi: include wtsapi32.h on Windows
  wfreerdp: fix target exporting
  wfreerdp: fix building against OpenSSL with MONOLITHIC_BUILD and shared libraries
  wfreerdp: fix test build issues
  libwinpr-crypto: implement CryptProtectMemory/CryptUnprotectMemory
  libwinpr-memory: add missing definitions
  libwinpr-memory: start stubbing
  Increased size of stream on GCC conference create request from 512 to 1024.  For large numbers of static virtual channels, the stream was being overflowed and was causing crashes.
  Fixes to process new command line options (autodetect, heartbeat, multitransport), join the MCS message channel and process auto-detect PDUs during the connection sequence.
  wfreerdp: fix build against static openssl library
  winpr-hash: fix building against openssl in static mode
  libfreerdp-gdi: fix invalidation of region with line drawing
  mfreerdp: fix hungarian keyboard '0' and 'i' key inversion
  Fixes build issue on Windows
  libwinpr-synch: add active/inactive linked list for timer queue
  libwinpr-synch: improve timer queue implementation
  libwinpr-synch: make use of head's expiration time in timer queue
  libwinpr-synch: make use of timespec for timer queue
  libwinpr-synch: improve timer queue implementation
  ...

Conflicts:
	client/common/CMakeLists.txt
2014-02-04 11:37:40 -05:00
Marc-André Moreau
4d289ee065 mfreerdp: fix hungarian keyboard '0' and 'i' key inversion 2014-01-28 16:23:42 -05:00
Benoît LeBlanc
20c677ddaa mac CLI: call freerdp_stop on applicaiton close 2013-12-20 11:54:18 -05:00
Benoît LeBlanc
d94122c07b Fixed mac cli message box message 2013-12-18 13:00:16 -05:00
Benoît LeBlanc
5de7a4f082 Code cleanup 2013-12-18 12:44:40 -05:00
Marc-André Moreau
bf094ed997 mfreerdp: code cleanup 2013-12-11 14:31:54 -05:00
Marc-André Moreau
9d745cc038 Merge branch 'master' of github.com:mrthebunny/FreeRDP 2013-12-11 12:22:33 -05:00
Marc-André Moreau
eb20d0f770 freerdp: fix order of OrderSupport initialization 2013-12-10 12:30:25 -05:00
Benoît LeBlanc
2ea2a6937d missing DEFINE on .h file 2013-12-09 15:30:00 -05:00
Benoît LeBlanc
065ba4f500 Prevent crash in mac CLI application if command-line is not properly parsed (NULL argv causes segmentation fault when printing usage). 2013-12-09 14:28:32 -05:00
Marc-André Moreau
128fb72ec6 mfreerdp: fix possible crash on gdi termination 2013-11-25 00:25:16 -05:00
Benoît LeBlanc
fce1880cae Fix leak (native mac) : free gdi 2013-11-22 13:38:42 -05:00
Benoît LeBlanc
c82fd89860 Merge branch 'master' of git://github.com/awakecoding/FreeRDP 2013-11-06 14:52:27 -05:00
Marc-André Moreau
9921e519a9 mfreerdp: fix termination of MacFreeRDP 2013-11-05 11:49:42 -05:00
Richard Markiewicz
cc881678a6 Update AppDelegate.m
stringWithFormat returns an autoreleased object, so manually releasing message results in a crash
2013-11-04 11:35:25 -05:00
Benoît LeBlanc
b27461e693 Merge branch 'master' of git://github.com/awakecoding/FreeRDP
# By Marc-André Moreau (13) and others
# Via Marc-André Moreau
* 'master' of git://github.com/awakecoding/FreeRDP:
  libfreerdp-rail: cleanup RAIL code
  libwinpr-utils: fix IPv4 checksum and TCP sequence numbers with wlog packet messages
  libwinpr-utils: improve quality of data for reconstructed IP headers
  libwinpr-utils: initial wlog packet header reconstruction
  libwinpr-utils: start reconstructing IP headers for wlog packet message
  libfreerdp-core: started logging packets to pcap file
  libwinpr-utils: start implement wlog packet appender
  libwinpr-utils: add some configurability to wlog with environment variables
  libfreerdp-core: added debug output for surface commands
  libfreerdp-codec: start making use of WLog for RemoteFX
  libwinpr-utils: fix wlog build warnings
  mfreerdp: fix keyboard mapping for toggle keys
  fixed warining fo not constant log format string
  Fix function prototype
  libwinpr-utils: improved binary appender
  fixed memory leak in wlog
  loglevel filtering fix

Conflicts:
	client/Mac/MRDPView.m
2013-10-15 10:01:36 -04:00
Marc-André Moreau
59eccac4e7 libfreerdp-client: refactor and decouple rdpSettings* from client context 2013-10-12 21:07:12 -04: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
Marc-André Moreau
fdae43aafc mfreerdp: fix keyboard mapping for toggle keys 2013-10-07 16:43:23 -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
7198ee2def Merged changes from FreeRDP branch, notably support for fullscreen on mac os x. 2013-09-30 11:31:01 -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
Joakim Plate
1c112474c6 Correct handling of mouse scrolling for osx
Setup server to scroll 1 line at a time to match osx
scrolling speed.
2013-09-22 00:07:27 +02:00
Joakim Plate
11912497ea Make sure windows size follows commandline geometry
This adds support for fullscreen mode, which may fail
on non lion systems
2013-09-21 21:35:41 +02:00
Joakim Plate
16048641f3 Let mac client print command line info as well
Only seen when running the actual executable itself, not during
open.
2013-09-21 21:35:02 +02:00
Marc-André Moreau
528647b6d0 Merge pull request #1492 from elupus/passwd
Mac password dialog fixes
2013-09-19 13:05:37 -07:00
Joakim Plate
ffa616bff4 Correct username place holder in mac application 2013-09-18 23:34:43 +02:00
Joakim Plate
1f15d39f8a Correct generation of PasswordDialog.nib 2013-09-17 23:12:33 +02:00
Marc-André Moreau
7edfe66274 freerdp: various missing link dependencies and symbol exports 2013-09-03 21:48:26 -04:00
Marc-André Moreau
b480ce1830 freerdp: remove vendor-specific options from build system, add automatic ways of including external clients/servers 2013-09-03 20:37:04 -04:00
Marc-André Moreau
bb30ceb006 mfreerdp: cleanup 2013-08-09 21:23:08 -04:00
Marc-André Moreau
2847c8819e mfreerdp: fix out of source build 2013-08-08 16:38:50 -04:00
Marc-André Moreau
b164453d75 mfreerdp: fix 32-bit and universal build 2013-08-08 16:10:23 -04:00
Marc-André Moreau
1d1d04149c mfreerdp: cleanup makefiles 2013-08-08 15:49:24 -04:00
Benoît LeBlanc
81626c8741 MacFreeRDP cli fixes:
- added ErrorInfo handling.
- Showing alert message on main thread.
- Autorelease pool for background thread.
2013-07-22 15:33:30 -04:00
Benoît LeBlanc
e063a5cbcb MacFreeRDP: Fixed deployment paths, deploying missing winpr folder to framework structure.
#####################

IMPORTANT:

To compile an Mac application using the MacFreeRDP framework, the developer MUST specifically add the framework's Headers folder to the Headers Search Path in the application's Build Settings.

e.g. /Users/Username/Documents//FreeRDP/build/client/Mac/Debug/MacFreeRDP.framework/Headers
2013-07-22 12:38:15 -04:00
Benoît LeBlanc
20d3518c6b - MRDPView: rdpConnectError moved outside of the Framework, to the native App (in AppDelegate) This is now handled on the client side.
- freerdp_connect: all code paths now trigger a ConnectionResult event.
2013-07-19 16:33:20 -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
87b63aa0b2 MacFreeRDP: non-blocking connect 2013-07-17 16:04:55 -04:00
Benoît LeBlanc
83c69da98c MacFreeRDP: cleanup 2013-07-17 11:06:41 -04:00
Benoît LeBlanc
22b6878307 Custom cursor now visible on mac version. Cursor is now associated with NSView for automatic tracking area handling.
Makefile: updated post-build  NIB file generation events to apply to all generators for Mac Client.
2013-07-16 12:16:44 -04:00