Commit Graph

5127 Commits

Author SHA1 Message Date
Nik Twerdochlib
c35c2bdeb6 Minor optimization in DeviceServiceEntry when setting up
to share all drives. Removed the call to strlen() and use
the return value from _snprintf
2013-11-07 11:43:22 -05:00
Marc-André Moreau
e979dcf485 Merge pull request #1532 from madsensh/backbutton
Fix extended mouse event to register the click for forward/back buttons
2013-10-17 14:36:09 -07:00
Marc-André Moreau
7ae818eef8 Merge pull request #1533 from akallabeth/android_async
Android async
2013-10-17 14:32:15 -07:00
Marc-André Moreau
d2d1226292 Merge pull request #1537 from bmiklautz/windowsbuild
Windows build fixes
2013-10-17 14:31:27 -07:00
Marc-André Moreau
87c9ca1a65 Merge pull request #1550 from dbungert/gateway
Gateway: 2 Fixes
2013-10-17 14:30:46 -07:00
Dan Bungert
04c2e4aef6 Gateway: Logoff crash fix
This addresses a race condition where the freerdp client
may crash on logoff.
2013-10-17 14:53:39 -06:00
Dan Bungert
486250b182 Gateway: Parsing fix for Create Tunnel Response
This fix addresses a logon issue that may occur when a logon
message is present.
2013-10-17 14:51:04 -06:00
Marc-André Moreau
f0fe2a2c12 Merge pull request #1543 from nfedera/fix-2013-10-11-01
winpr: greatly improved NtCurrentTeb performance
2013-10-11 11:48:24 -07:00
Norbert Federa
6f9a8dbc1e 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.
2013-10-11 19:34:23 +02:00
Bernhard Miklautz
57d295441f windows build: use different .def file for xp
Use different def file for windows < 5.1.
2013-10-07 15:03:50 +02:00
Bernhard Miklautz
23f33ca20e windows build: ignore generated files (nmake) 2013-10-07 15:03:13 +02:00
Martin Fleisz
cca9774c5e Merge pull request #1534 from bmiklautz/iosbuild
IOS build improvements
2013-10-07 03:29:12 -07:00
Bernhard Miklautz
fa1bc1f2fe ios build: updated README.ios 2013-10-06 13:47:52 +02:00
Bernhard Miklautz
38883e5ecd 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.
2013-10-06 13:47:21 +02:00
Bernhard Miklautz
27d8844fab ios ssl build: do sdk detection before download 2013-10-06 12:42:54 +02:00
Bernhard Miklautz
e30d6109bc 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)
2013-10-05 23:53:53 +02:00
Bernhard Miklautz
f30d3ac3a1 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"
2013-10-05 22:00:37 +02:00
Bernhard Miklautz
6d2142182d 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.
2013-10-05 21:47:03 +02:00
Bernhard Miklautz
7b706ba840 ios build: fixed toolchain for cmake 2.8.10 2013-10-05 21:45:41 +02:00
Bernhard Miklautz
e6f3cd7dff build: link winpr-synch against winpr-sysinfo 2013-10-05 14:09:04 +02:00
Armin Novak
dfab92ada8 Merge branch 'master' of https://github.com/FreeRDP/FreeRDP into android_async 2013-10-04 11:44:10 +02:00
Armin Novak
051892a8b1 Fixed typo.
Fixed XML menu configuration.
2013-10-04 11:43:42 +02:00
Armin Novak
a9c351a0ae Moved async settings to debug menu.
Fixed classpath settings for aFreeRDP project.
2013-10-04 11:30:51 +02:00
Bernhard Miklautz
e46f95120a Merge pull request #1523 from akallabeth/cmdline_parser_fix
Fixed freerdp_command_line_parse_comma_separated_values
2013-10-04 02:02:42 -07:00
Armin Novak
d7ee71cc8b 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
2013-10-04 10:04:03 +02:00
Armin Novak
b5e7a91690 Merge remote-tracking branch 'upstream/master' into android_async 2013-10-04 09:48:01 +02:00
Shannon Madsen
e0acb7a464 Fix extended mouse event to register the click for forward/back buttons 2013-10-03 20:38:04 -07:00
Bernhard Miklautz
5c61ac97cb 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
2013-10-03 05:36:42 -07:00
Bernhard Miklautz
7ad0a33fb0 Merge pull request #1531 from bmiklautz/issue/1526
android: fixed classpaths
2013-10-03 04:38:48 -07:00
Bernhard Miklautz
ce6150cc12 Merge pull request #1530 from akallabeth/android_microphone_enable_by_default
Removed forced disable of microphone redirection for android builds.
2013-10-03 04:32:28 -07:00
Bernhard Miklautz
a88ed35a0a android: fixed classpaths
fixes #1526
2013-10-03 13:28:31 +02:00
Armin Novak
5abe42226d Removed forced disable of microphone redirection for android builds. 2013-10-03 13:21:42 +02:00
Armin Novak
f4b68b2d02 Merge branch 'master' of https://github.com/FreeRDP/FreeRDP into android_debug_settings
Conflicts:
	cmake/ConfigOptionsAndroid.cmake
2013-10-02 17:43:14 +02:00
Armin Novak
38323a4568 Implemented debug menu hidden in relase builds. 2013-10-02 14:29:08 +02:00
Martin Fleisz
3db1b51ba1 Merge pull request #1521 from bmiklautz/issue/1519
Android build default ndk level
2013-10-02 01:39:14 -07:00
Armin Novak
16936dc061 Added CMake generated BuildConfiguration java class. 2013-10-02 10:24:44 +02:00
Bernhard Miklautz
199909e8f1 andriod: removed unecessary config option 2013-10-02 10:24:07 +02:00
Bernhard Miklautz
257a1cb8cc FindOpenSLES: removed debug message 2013-10-02 10:23:06 +02:00
Armin Novak
c0a03f48bc Fixed freerdp_command_line_parse_comma_separated_values, setting
count correct now, if there is no data in the list.
2013-10-02 09:48:25 +02:00
Bernhard Miklautz
4c3ceb6093 android build: set default ndk api level to 9
API level 9 is required in order build the android client with audio
support.
2013-10-01 23:30:58 +02:00
Bernhard Miklautz
6d060d2fcc android build: don't set WITH_OPENSLES in options
WITH_OPENSLES is automatically set by find_feature
2013-10-01 23:22:45 +02:00
Bernhard Miklautz
a5dca8b446 opensles detection: fail required but not found 2013-10-01 23:21:35 +02:00
Armin Novak
836ccc28b2 Added missing assert. 2013-10-01 16:23:17 +02:00
Armin Novak
83a64e99ea Merge branch 'android_async' of github.com:akallabeth/FreeRDP into android_async
Conflicts:
	client/Android/FreeRDPCore/.classpath
	client/Android/FreeRDPCore/jni/android_freerdp.c
2013-10-01 16:22:27 +02:00
Armin Novak
3910d512fa Implemented async_input handling. 2013-10-01 16:17:52 +02:00
Armin Novak
b2236b7a4d Implemented async_channels, async_transport and async_update. 2013-10-01 16:17:26 +02:00
Armin Novak
111d0c670c Added new advanced configuration options for async. 2013-10-01 16:16:37 +02:00
Bernhard Miklautz
d7a9add3b4 Merge pull request #1514 from akallabeth/android_sound
Android sound support
2013-10-01 02:20:44 -07:00
Armin Novak
27566ce566 Fixed invalid return. 2013-10-01 11:19:16 +02:00
Armin Novak
627e6ce4d5 Renamed configuration options, translations still missing... 2013-10-01 11:05:34 +02:00