Marc-André Moreau [Thu, 17 Oct 2013 21:32:15 +0000 (14:32 -0700)]
Merge pull request #1533 from akallabeth/android_async
Android async
Marc-André Moreau [Thu, 17 Oct 2013 21:31:27 +0000 (14:31 -0700)]
Merge pull request #1537 from bmiklautz/windowsbuild
Windows build fixes
Marc-André Moreau [Thu, 17 Oct 2013 21:30:46 +0000 (14:30 -0700)]
Merge pull request #1550 from dbungert/gateway
Gateway: 2 Fixes
Dan Bungert [Thu, 17 Oct 2013 20:53:39 +0000 (14:53 -0600)]
Gateway: Logoff crash fix
This addresses a race condition where the freerdp client
may crash on logoff.
Dan Bungert [Thu, 17 Oct 2013 20:51:04 +0000 (14:51 -0600)]
Gateway: Parsing fix for Create Tunnel Response
This fix addresses a logon issue that may occur when a logon
message is present.
Marc-André Moreau [Fri, 11 Oct 2013 18:48:24 +0000 (11:48 -0700)]
Merge pull request #1543 from nfedera/fix-2013-10-11-01
winpr: greatly improved NtCurrentTeb performance
Norbert Federa [Fri, 11 Oct 2013 17:34:23 +0000 (19:34 +0200)]
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.
Bernhard Miklautz [Mon, 7 Oct 2013 13:03:50 +0000 (15:03 +0200)]
windows build: use different .def file for xp
Use different def file for windows < 5.1.
Bernhard Miklautz [Mon, 7 Oct 2013 13:03:13 +0000 (15:03 +0200)]
windows build: ignore generated files (nmake)
Martin Fleisz [Mon, 7 Oct 2013 10:29:12 +0000 (03:29 -0700)]
Merge pull request #1534 from bmiklautz/iosbuild
IOS build improvements
Bernhard Miklautz [Sun, 6 Oct 2013 11:47:52 +0000 (13:47 +0200)]
ios build: updated README.ios
Bernhard Miklautz [Sun, 6 Oct 2013 11:47:21 +0000 (13:47 +0200)]
ios ssl build: support for user specified sdks
To build against a specific (not auto detected) SDK version set
USER_OS_SDK and/or USER_SIM_SDK at the top of the script.
Bernhard Miklautz [Sun, 6 Oct 2013 10:42:54 +0000 (12:42 +0200)]
ios ssl build: do sdk detection before download
Bernhard Miklautz [Sat, 5 Oct 2013 21:53:53 +0000 (23:53 +0200)]
Cleaned up and improved iOS openssl build script
* Added support for optional build directory (first argument)
* Automatically detect iOS/iPhoneSimulator SDKs (oldest SDK found is used)
Bernhard Miklautz [Sat, 5 Oct 2013 20:00:37 +0000 (22:00 +0200)]
ios build: added option to set signing certificate
Code signing certificate can be set with with cmake option CODE_SIGN_IDENTITY.
Like -DCODE_SIGN_IDENTITY="signing identity"
Bernhard Miklautz [Sat, 5 Oct 2013 19:47:03 +0000 (21:47 +0200)]
ios simulator build: set CMAKE_OSX_SYSROOT
When building for iphone simulator it is required to set the CMAKE_OSX_SYSROOT
to "iphonesimulator" otherwise command line builds (with cmake --build) will fail.
Bernhard Miklautz [Sat, 5 Oct 2013 19:45:41 +0000 (21:45 +0200)]
ios build: fixed toolchain for cmake 2.8.10
Bernhard Miklautz [Sat, 5 Oct 2013 12:09:04 +0000 (14:09 +0200)]
build: link winpr-synch against winpr-sysinfo
Armin Novak [Fri, 4 Oct 2013 09:44:10 +0000 (11:44 +0200)]
Merge branch 'master' of https://github.com/FreeRDP/FreeRDP into android_async
Armin Novak [Fri, 4 Oct 2013 09:43:42 +0000 (11:43 +0200)]
Fixed typo.
Fixed XML menu configuration.
Armin Novak [Fri, 4 Oct 2013 09:30:51 +0000 (11:30 +0200)]
Moved async settings to debug menu.
Fixed classpath settings for aFreeRDP project.
Bernhard Miklautz [Fri, 4 Oct 2013 09:02:42 +0000 (02:02 -0700)]
Merge pull request #1523 from akallabeth/cmdline_parser_fix
Fixed freerdp_command_line_parse_comma_separated_values
Armin Novak [Fri, 4 Oct 2013 08:04:03 +0000 (10:04 +0200)]
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
Armin Novak [Fri, 4 Oct 2013 07:48:01 +0000 (09:48 +0200)]
Merge remote-tracking branch 'upstream/master' into android_async
Bernhard Miklautz [Thu, 3 Oct 2013 12:36:42 +0000 (05:36 -0700)]
Merge pull request #1524 from akallabeth/android_debug_settings
Add debug settings menu for android
Menu needs to be activated with cmake with -DWITH_ANDROID_DEBUG_MENU=ON
Bernhard Miklautz [Thu, 3 Oct 2013 11:38:48 +0000 (04:38 -0700)]
Merge pull request #1531 from bmiklautz/issue/1526
android: fixed classpaths
Bernhard Miklautz [Thu, 3 Oct 2013 11:32:28 +0000 (04:32 -0700)]
Merge pull request #1530 from akallabeth/android_microphone_enable_by_default
Removed forced disable of microphone redirection for android builds.
Bernhard Miklautz [Thu, 3 Oct 2013 11:28:31 +0000 (13:28 +0200)]
android: fixed classpaths
fixes #1526
Armin Novak [Thu, 3 Oct 2013 11:21:42 +0000 (13:21 +0200)]
Removed forced disable of microphone redirection for android builds.
Armin Novak [Wed, 2 Oct 2013 15:43:14 +0000 (17:43 +0200)]
Merge branch 'master' of https://github.com/FreeRDP/FreeRDP into android_debug_settings
Conflicts:
cmake/ConfigOptionsAndroid.cmake
Armin Novak [Wed, 2 Oct 2013 12:29:08 +0000 (14:29 +0200)]
Implemented debug menu hidden in relase builds.
Martin Fleisz [Wed, 2 Oct 2013 08:39:14 +0000 (01:39 -0700)]
Merge pull request #1521 from bmiklautz/issue/1519
Android build default ndk level
Armin Novak [Wed, 2 Oct 2013 08:24:44 +0000 (10:24 +0200)]
Added CMake generated BuildConfiguration java class.
Bernhard Miklautz [Wed, 2 Oct 2013 08:24:07 +0000 (10:24 +0200)]
andriod: removed unecessary config option
Bernhard Miklautz [Wed, 2 Oct 2013 08:23:06 +0000 (10:23 +0200)]
FindOpenSLES: removed debug message
Armin Novak [Wed, 2 Oct 2013 07:48:25 +0000 (09:48 +0200)]
Fixed freerdp_command_line_parse_comma_separated_values, setting
count correct now, if there is no data in the list.
Bernhard Miklautz [Tue, 1 Oct 2013 21:30:58 +0000 (23:30 +0200)]
android build: set default ndk api level to 9
API level 9 is required in order build the android client with audio
support.
Bernhard Miklautz [Tue, 1 Oct 2013 21:22:45 +0000 (23:22 +0200)]
android build: don't set WITH_OPENSLES in options
WITH_OPENSLES is automatically set by find_feature
Bernhard Miklautz [Tue, 1 Oct 2013 21:21:35 +0000 (23:21 +0200)]
opensles detection: fail required but not found
Armin Novak [Tue, 1 Oct 2013 14:23:17 +0000 (16:23 +0200)]
Added missing assert.
Armin Novak [Tue, 1 Oct 2013 14:22:27 +0000 (16:22 +0200)]
Merge branch 'android_async' of github.com:akallabeth/FreeRDP into android_async
Conflicts:
client/Android/FreeRDPCore/.classpath
client/Android/FreeRDPCore/jni/android_freerdp.c
Armin Novak [Tue, 1 Oct 2013 08:33:28 +0000 (10:33 +0200)]
Implemented async_input handling.
Armin Novak [Mon, 30 Sep 2013 15:52:13 +0000 (17:52 +0200)]
Implemented async_channels, async_transport and async_update.
Armin Novak [Mon, 30 Sep 2013 14:33:45 +0000 (16:33 +0200)]
Added new advanced configuration options for async.
Bernhard Miklautz [Tue, 1 Oct 2013 09:20:44 +0000 (02:20 -0700)]
Merge pull request #1514 from akallabeth/android_sound
Android sound support
Armin Novak [Tue, 1 Oct 2013 09:19:16 +0000 (11:19 +0200)]
Fixed invalid return.
Armin Novak [Tue, 1 Oct 2013 09:05:34 +0000 (11:05 +0200)]
Renamed configuration options, translations still missing...
Armin Novak [Tue, 1 Oct 2013 08:33:28 +0000 (10:33 +0200)]
Implemented async_input handling.
Bernhard Miklautz [Tue, 1 Oct 2013 07:53:35 +0000 (00:53 -0700)]
Merge pull request #1491 from akallabeth/android_profiler
Android profiler
Armin Novak [Mon, 30 Sep 2013 15:52:13 +0000 (17:52 +0200)]
Implemented async_channels, async_transport and async_update.
Armin Novak [Mon, 30 Sep 2013 14:33:45 +0000 (16:33 +0200)]
Added new advanced configuration options for async.
Armin Novak [Mon, 30 Sep 2013 08:11:54 +0000 (10:11 +0200)]
Fixed queue initialization and overflow checks.
Armin Novak [Mon, 30 Sep 2013 08:08:22 +0000 (10:08 +0200)]
Working microphone input without sound gaps.
Armin Novak [Fri, 27 Sep 2013 13:55:14 +0000 (15:55 +0200)]
Modified rdpsnd opensles backend, now just filling queue and not waiting
for completion of playback, results in better sound quality.
Armin Novak [Fri, 27 Sep 2013 13:13:12 +0000 (15:13 +0200)]
Ok, now actually creating 3 buffers initially.
Armin Novak [Fri, 27 Sep 2013 13:07:32 +0000 (15:07 +0200)]
Added triple buffer to avoid gaps between frames.
Armin Novak [Fri, 27 Sep 2013 11:45:41 +0000 (13:45 +0200)]
Sound redirection in android client now allows selecting server side sound.
Armin Novak [Fri, 27 Sep 2013 10:06:30 +0000 (12:06 +0200)]
Deactivated formats not working.
Armin Novak [Fri, 27 Sep 2013 09:46:48 +0000 (11:46 +0200)]
Merge branch 'master' of https://github.com/FreeRDP/FreeRDP into android_sound
Armin Novak [Fri, 27 Sep 2013 09:45:53 +0000 (11:45 +0200)]
Cleaned up rdpsnd for android, prepared volume control.
Armin Novak [Fri, 27 Sep 2013 09:44:24 +0000 (11:44 +0200)]
Increased mimimum android version to API level 9. Required for OpenSLES.
Armin Novak [Fri, 27 Sep 2013 09:41:25 +0000 (11:41 +0200)]
Fixed android shutdown crash.
Added new permissions required for microphone redirection.
Fixed JNI call for microphone redirection.
Armin Novak [Fri, 27 Sep 2013 09:39:04 +0000 (11:39 +0200)]
Initial working microphone redirection for android.
Added debug messages to alsa and pulse microphone backends.
Armin Novak [Thu, 26 Sep 2013 14:05:16 +0000 (16:05 +0200)]
Basic opensles microphone redirection support, data conversion still buggy.
Fixed pulse audio default device name, now working without arguments again.
Marc-André Moreau [Wed, 25 Sep 2013 15:37:26 +0000 (08:37 -0700)]
Merge pull request #1509 from akallabeth/smartcard_fixes
Smartcard fixes
Marc-André Moreau [Wed, 25 Sep 2013 15:29:01 +0000 (08:29 -0700)]
Merge pull request #1498 from akallabeth/snd_leak_fix
Fixed memory leak introduced with alsa playback fix and compiler warnings in files.
Marc-André Moreau [Wed, 25 Sep 2013 15:27:36 +0000 (08:27 -0700)]
Merge pull request #1501 from bmiklautz/stable-sync
Merged changes from stable-1.1
Marc-André Moreau [Wed, 25 Sep 2013 15:26:20 +0000 (08:26 -0700)]
Merge pull request #1508 from bmiklautz/issue/1500
core/glyph: copy data when adding glyph to cache
Bernhard Miklautz [Tue, 24 Sep 2013 21:25:18 +0000 (23:25 +0200)]
core/glyph: copy data when adding glyph to cache
fixes #1500
Armin Novak [Tue, 24 Sep 2013 07:48:21 +0000 (09:48 +0200)]
Merge branch 'smartcard_fixes' of github.com:akallabeth/FreeRDP into smartcard_fixes
Conflicts:
channels/smartcard/client/smartcard_operations.c
Armin Novak [Tue, 24 Sep 2013 07:23:43 +0000 (09:23 +0200)]
Replaced linkedLen, which is a padded version of the buffer length
from being used for reading from a packet. Now just used for sanity checks.
Marc-André Moreau [Tue, 24 Sep 2013 00:54:08 +0000 (17:54 -0700)]
Merge pull request #1503 from bmiklautz/osx_deployment_target
OSX deployment target
Bernhard Miklautz [Mon, 23 Sep 2013 23:43:12 +0000 (01:43 +0200)]
osx build: don't set deployment target
If a deployment target is set within CMakeLists.txt detection might fail
if CMAKE_OSX_SYSROOT isn't set.
In case no deployment target is specified the latest available SDK is used as
deployment target and sysroot is set accordingly.
An other deployment target can still be set with -DCMAKE_OSX_DEPLOYMENT_TARGET=10.x
when running cmake for the first time or can be overwritten in cmake cache
later on.
Bernhard Miklautz [Mon, 23 Sep 2013 23:41:18 +0000 (01:41 +0200)]
some CMakeLists format fixes
Marc-André Moreau [Mon, 23 Sep 2013 21:32:25 +0000 (14:32 -0700)]
Merge pull request #1502 from bmiklautz/osx_deployment_target
osx build: make 10.7 default deployment target
Bernhard Miklautz [Mon, 23 Sep 2013 21:29:55 +0000 (23:29 +0200)]
osx build: make 10.7 default deployment target
10.6 isn't shipped with xcode > 4.4 anymore per default
If older/newer deployment target is required it can be set with
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.x
Marc-André Moreau [Mon, 23 Sep 2013 20:46:43 +0000 (13:46 -0700)]
Merge pull request #1499 from elupus/fullscreen
Fullscreen & MouseWheel
Armin Novak [Mon, 23 Sep 2013 15:48:02 +0000 (17:48 +0200)]
Added debugging settings to allow android debugging.
Armin Novak [Mon, 23 Sep 2013 13:10:06 +0000 (15:10 +0200)]
Fixed length check, now just assuring data read is available and
ignoring padding length.
Armin Novak [Mon, 23 Sep 2013 10:39:41 +0000 (12:39 +0200)]
Android specific build options added.
Armin Novak [Mon, 23 Sep 2013 10:38:44 +0000 (12:38 +0200)]
Added CMake configuration options.
Armin Novak [Mon, 23 Sep 2013 10:38:05 +0000 (12:38 +0200)]
Renamed plugins from 'opensl_es' to 'opensles'
Armin Novak [Mon, 23 Sep 2013 10:36:51 +0000 (12:36 +0200)]
Added OpenSLES detection script.
Daryl Poe [Wed, 18 Sep 2013 23:16:48 +0000 (17:16 -0600)]
send RDP_NEG_REQ also in the case of a null server certificate
(cherry picked from commit
afec6957c4245aa2091c3ab5f7e67f07e0c3cf9b)
Daryl Poe [Tue, 20 Aug 2013 18:00:36 +0000 (12:00 -0600)]
apply glyph fragment offset after fragment
(cherry picked from commit
eb2f3a02b465a59d29578248f25d2c2726592150)
Armin Novak [Mon, 23 Sep 2013 07:11:23 +0000 (09:11 +0200)]
Dumping stream now.
Joakim Plate [Sat, 21 Sep 2013 22:07:27 +0000 (00:07 +0200)]
Correct handling of mouse scrolling for osx
Setup server to scroll 1 line at a time to match osx
scrolling speed.
Joakim Plate [Sat, 21 Sep 2013 15:37:39 +0000 (17:37 +0200)]
Make sure windows size follows commandline geometry
This adds support for fullscreen mode, which may fail
on non lion systems
Joakim Plate [Sat, 21 Sep 2013 14:58:30 +0000 (16:58 +0200)]
Let mac client print command line info as well
Only seen when running the actual executable itself, not during
open.
Armin Novak [Fri, 20 Sep 2013 10:48:35 +0000 (12:48 +0200)]
Removed obsolete audiotrack implementation.
Armin Novak [Fri, 20 Sep 2013 09:47:10 +0000 (11:47 +0200)]
Added basic input module for android microphone redirection.
Armin Novak [Fri, 20 Sep 2013 08:11:05 +0000 (10:11 +0200)]
Fixed CommandLinePArseArgumentsA return value check, only abort if negative.
Armin Novak [Fri, 20 Sep 2013 08:08:56 +0000 (10:08 +0200)]
Fixed compiler warnings.
Armin Novak [Fri, 20 Sep 2013 07:19:11 +0000 (09:19 +0200)]
Fixed potential memory leak, now always calling WaveConfirm after playing
a sample.
Marc-André Moreau [Thu, 19 Sep 2013 20:31:08 +0000 (13:31 -0700)]
Merge pull request #1497 from awakecoding/master
Windows Fixes, .rdp file improvements
Marc-André Moreau [Thu, 19 Sep 2013 20:25:24 +0000 (16:25 -0400)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Thu, 19 Sep 2013 20:25:10 +0000 (16:25 -0400)]
libfreerdp-client: fix registration of static addin table (don't associate it with command-line parsing)
Marc-André Moreau [Thu, 19 Sep 2013 20:05:37 +0000 (13:05 -0700)]
Merge pull request #1492 from elupus/passwd
Mac password dialog fixes
Marc-André Moreau [Thu, 19 Sep 2013 20:03:22 +0000 (13:03 -0700)]
Merge pull request #1496 from akallabeth/alsa_fix
Alsa fix double free
Marc-André Moreau [Thu, 19 Sep 2013 19:47:54 +0000 (15:47 -0400)]
winpr: fix build on Linux