mac CLI: call freerdp_stop on applicaiton close
error handling in rpc and transport functions
Added timeout on blocking send, receive operations
rpc client thread: added periodic check on transport layer state, replacing an infinite wait operation.
tsg_write: return error when transport layer is closed
Transport: trigger OnErrorInfo if a read/write error forced the thread to closed.
Merge branch 'master' of git://github.com/awakecoding/FreeRDP
Fix compilation on windows (variable declaration was not in standard C)
Only install cli binary if VENDOR is FreeRDP
Merge branch 'master' of git://github.com/awakecoding/FreeRDP
Remove CMAKE policy warning
Merge branch 'master' of https://github.com/mrthebunny/FreeRDP
improved WLog

childlogger use per default now a WLOG_LEVEL_INHERIT level
so the loglevel is taken from the first parent which has another level set.
fixed compiler warning
Added PubSub notification on mouse events (only triggered in Windows)
Add a region component

This patch adds a pixman_region like component in the utility components
of FreeRdp.
The data structure is exactly the same as in pixman_region but the implementation
differs as we need fewer methods.
The patch contains the corresponding unitary tests.
Fix remoteFx encoder with topleft and bottomright rectangle

This patch fixes the case where with a topleft and a bottomright
rectangle, the encoder would send the full screen instead of only the
intersected tiles.
ts_add_ms: replaced while() that could result in infinite lock
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
Some fixes after Norbert code review

There were a bug when the rectangles extents where not at the origin.
Some debugging statement have laso been removed.