Added new advanced configuration options for async.
Implemented async_channels, async_transport and async_update.
Implemented async_input handling.
Added new advanced configuration options for async.
Implemented async_channels, async_transport and async_update.
Implemented async_input handling.
Merge branch 'android_async' of github.com:akallabeth/FreeRDP into android_async

Conflicts:
	client/Android/FreeRDPCore/.classpath
	client/Android/FreeRDPCore/jni/android_freerdp.c
Added missing assert.
Fix extended mouse event to register the click for forward/back buttons
Merge remote-tracking branch 'upstream/master' into android_async
Merge branch 'master' of https://github.com/FreeRDP/FreeRDP into android_async

Conflicts:
	client/Android/FreeRDPCore/.classpath
	client/Android/FreeRDPCore/src/com/freerdp/freerdpcore/domain/BookmarkBase.java
	client/Android/FreeRDPCore/src/com/freerdp/freerdpcore/services/BookmarkBaseGateway.java
	client/Android/FreeRDPCore/src/com/freerdp/freerdpcore/services/BookmarkDB.java
Moved async settings to debug menu.
Fixed classpath settings for aFreeRDP project.
Fixed typo.
Fixed XML menu configuration.
Merge branch 'master' of https://github.com/FreeRDP/FreeRDP into android_async
windows build: ignore generated files (nmake)
windows build: use different .def file for xp

Use different def file for windows < 5.1.
winpr: greatly improved NtCurrentTeb performance

Use pthread_setspecific/pthread_getspecific to store/retrieve the thread
environment block (TEB). Use pthread_once to trigger the creation of that
data from within NtCurrentTeb.
This allows us to get rid of the process environment block stuff which
was only used to provide serialized access to a thread table in order to
retrieve the TEB.

NtCurrentTeb is currently only as a per-thread storage location for the
last error value used by SetLastError and GetLastError.

Also made the TestErrorSetLastError CTest a bit more demanding.
It makes sure the 4 threads run for at least 2 seconds.
Each thread constantly calls SetLastError with a random value and checks
if GetLastError returns the same value again. The total amount of
these iterations is calculated in order to measure the performance.

This change increases the NtCurrentTeb performance by roughly 50% on
linux and by several thousand percent (yes) on Mac OS X.

Thanks for watching.
Merge pull request #1543 from nfedera/fix-2013-10-11-01

winpr: greatly improved NtCurrentTeb performance
Gateway: Parsing fix for Create Tunnel Response

This fix addresses a logon issue that may occur when a logon
message is present.
Gateway: Logoff crash fix

This addresses a race condition where the freerdp client
may crash on logoff.