Commit Graph

430 Commits

Author SHA1 Message Date
Armin Novak
196386f59b Android client support script fixes. 2016-10-06 13:43:11 +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
c8d4438776 Fixed android settings. 2016-10-06 13:43:07 +02:00
Armin Novak
c3e6240f41 Fixed android client. 2016-10-06 13:43:07 +02:00
Armin Novak
df35c135d1 Fixed color conversion, unified GFX and updated API. 2016-10-06 13:42:58 +02:00
Armin Novak
40bfc174d3 Added gradle.properties to extend heap size. 2016-07-06 17:21:46 +02:00
Armin Novak
d5b7c19288 Updated gradle. 2016-07-06 13:02:35 +02:00
Armin Novak
730ff20b63 Using android build-tools 24 (23 is broken) 2016-07-06 11:50:53 +02:00
zihao.jiang
748982c94b Fix android rotation crash 2016-04-07 20:19:22 +08:00
Armin Novak
36cbf1b583 Fixed error handling for channel load failures. 2016-03-14 13:13:43 +01:00
Bernhard Miklautz
6ebf452513 Merge pull request #3209 from akallabeth/android_translation_fix
Reverted translation of internal VALUE arrays.
2016-03-14 13:00:52 +01:00
Armin Novak
77d82f14c5 Removed untranslatable strings from translated files. 2016-03-14 09:53:45 +01:00
Armin Novak
382626f10f Fixed settings load/store. 2016-03-10 21:52:40 +01:00
Armin Novak
15498eaf26 Marked non translatable strings as such. 2016-03-08 20:53:32 +01:00
Armin Novak
1d4fd05db2 Reverted translation of internal VALUE arrays. 2016-03-08 20:53:32 +01:00
zihao.jiang
0927114e83 android: Allow freerdp mobile version to be launched from URI (freerdp://)
It would be good if we have a easy way to call aFreeRDP in another Android APP (Requirement also mentioned in #2720)
We can define a scheme (freerdp://) as unified way to launch FreeRDP from another APP or browser and connect to compatible RDP server
1. Define scheme freerdp://
2. General form could be freerdp://user@hostname:port/connect?key1=value&key2=-&key3=%2b&key4=
3. [user] part would be translated to /u:
4. [hostname:port] would be translated to /v:
5. The [user@hostname:port] part would be used as app title, currently it's just the progress dialog title
6. query parameters would be translated to command line arguments. Later same arguments will overwrite the formers:
    a. key1=value: 		=> /key1:value
    b. key2=-: 			=> -key2
    c. key3=%2b 		=> +key3 (%2b is url encoded +)
	d. key4= 			=> /key4
	e. Especially, drive=sdcard will be properly handled with local sdcard path. On my device it will be translated to /drive:sdcard,/storage/emulated/0

Owing to the refactor work in PR #3097, we now pass same command line argument to JNI for freerdp settings.
We just need to make the SessionActivity accept freerdp scheme and translate argument from URI form to command line form.
2016-03-09 03:22:02 +08:00
zihao.jiang
17139b9fe6 android: Fix sound redirection.
After #3097, the java side pass command line argument to JNI for freerdp settings. However there's several issues need to be fixed:
1. The argument /sound should be appended if freerdp is required to play sound at local device
2. The option value for "audio-mode" is not correct.
It should match the definition in client/common/cmdline.c
/* Audio Mode */
define AUDIO_MODE_REDIRECT     0 /* Bring to this computer */
define AUDIO_MODE_PLAY_ON_SERVER   1 /* Leave at remote computer */
define AUDIO_MODE_NONE         2 /* Do not play */
3. Uncomment support for WAVE_FORMAT_PCM in audin. I tested on my android phone and Nokia N1 tablet. It works on both device
2016-02-28 13:43:11 +08:00
Bernhard Miklautz
e6f013eac7 fix spelling
replace occured with occurred
Fixes #3142
2016-02-22 17:01:43 +01:00
Hardening
2a3e9996b3 Merge pull request #2710 from akallabeth/cert_temp_accept_v2
Extended certificate callbacks.
2016-02-15 13:52:47 +01:00
Hardening
0092bcf92c Merge pull request #3130 from pxx02134/patch-1
Update BookmarkDB.java
2016-02-14 14:18:26 +01:00
pxx02134
2bf525d20b Update AndroidManifest.xml
ACCESS_NETWORK_STATE statement duplicated. It cause warnings while building.
2016-02-11 12:24:47 +09:00
pxx02134
2178245bac Update BookmarkDB.java
There seems to be two commas forgot.
2016-02-11 12:21:11 +09:00
Armin Novak
80d7d639f7 Updated android API. 2016-02-05 02:32:47 +01:00
Armin Novak
cbf2892ccc Implemented temporary certificate accept.
Certificates can now be accepted temporarily.
The callbacks for certificate validation have been
modified to extend the information presented to the user.
2016-02-05 02:04:57 +01:00
Armin Novak
1f81556ed3 Removed hardcoded debug mode. 2016-02-04 14:33:28 +01:00
Armin Novak
54a7d799d1 Restructured client project, moved to gradle build. 2016-02-01 15:25:40 +01:00
Hardening
b5f8900bc4 Merge pull request #2917 from binglinoioij/master
add values-zh/string.xml,that was profiles for chinese
2015-11-10 10:13:47 +01:00
root
934c4ff7a4 update values-zh/strings.xml 2015-10-16 15:54:26 +08:00
clouder
1030f8dad8 add values-zh/string.xml 2015-10-08 17:20:44 +08:00
Marc-André Moreau
3fd0c45be8 afreerdp: fix build warnings 2015-09-22 11:53:50 -04: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
4a62e6bee4 Added length arguments and checks. 2015-08-06 11:24:42 +02:00
Martin Haimberger
6ab0187d84 Merge remote-tracking branch 'upstream/master' into mh-channel
Conflicts:
	channels/audin/client/oss/audin_oss.c
	channels/drive/client/drive_main.c
	channels/printer/client/printer_cups.c
	channels/printer/client/printer_main.c
	channels/rail/client/rail_main.c
	channels/rdpgfx/client/rdpgfx_main.c
	channels/rdpsnd/client/oss/rdpsnd_oss.c
	channels/remdesk/client/remdesk_main.c
	channels/remdesk/server/remdesk_main.c
	channels/tsmf/client/tsmf_media.c
2015-07-15 01:57:07 -07:00
Bernhard Miklautz
68e8569110 winpr/synch: remove the dependency on winsock.h
winsock.h pulls in a lot of defines and dependencies that are not
required and partially unwanted in winpr's core (for parts that are not
related to network). In order to get rid of this dependency and have an
independent defines for extended winpr functions the WINPR_FD_* defines
are used internally (and for exposed functions). Where required, like in
WSAEventSelect, the FD_* is mapped to WINPR_FD_*.
2015-07-14 11:39:41 +02:00
Armin Novak
d18b0fbeb4 Handle API updated. 2015-07-03 09:52:52 +02:00
Bernhard Miklautz
06502e6a91 misc: integrate pull request feedback 2015-06-22 19:24:30 +02:00
Bernhard Miklautz
19afc6906c client/android: reset debug level to default
* WLOG debug level was hard coded to DEBUG which generates a lot of
  noise
* remove indecent and unneeded debug message
2015-06-22 19:23:58 +02:00
David FORT
7c3f8f33ab Fixes for malloc / calloc + other fixes
This patch contains:

* checks for malloc return value + treat callers;
* modified malloc() + ZeroMemory() to calloc();
* misc fixes of micro errors seen during the code audit:
** some invalid checks in gcc.c, also there were some possible
integer overflow. This is interesting because at the end the data are parsed
and freed directly, so it's a vulnerability in some kind of dead code (at least
useless);
** fixed usage of GetComputerNameExA with just one call, when 2 were used
in misc places. According to MSDN GetComputerNameA() is supposed to return
an error when called with NULL;
** there were a bug in the command line parsing of shadow;
** in freerdp_dynamic_channel_collection_add() the size of array was multiplied
by 4 instead of 2 on resize
2015-06-22 19:21:47 +02:00
Bernhard Miklautz
749d93ae39 client/android: misc updates and fixes
* increase minimum required SDK to 14
* change functions from void to BOOL where required to have proper
  return values
* update the JAVA classes and JNI accordingly
* add return value checks for *alloc and strdup
2015-06-22 19:10:00 +02:00
Bernhard Miklautz
77927c213e android: fix misc compiler warnings
with gcc version arm-linux-androideabi-gcc (GCC) 4.8
2015-06-22 19:09:59 +02:00
Martin Haimberger
6e4e1c2773 Merge remote-tracking branch 'upstream/master' into mh-stream-fix
Conflicts:
	client/Windows/wf_cliprdr.c
2015-06-18 03:06:40 -07: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
David FORT
12f873f1f9 Fixed MessageQueue and callers 2015-05-29 14:24:14 +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
Norbert Federa
ef1fd12b15 Fix unchecked CreateEvent calls and misc fixes
1)
Added missing checks for CreateEvent which also required the
following related changes:

- changed freerdp_context_new API to BOOL
- changed freerdp_peer_context_new API to BOOL
- changed pRdpClientNew callback to BOOL
- changed pContextNew callback to BOOL
- changed psPeerAccepted callback to BOOL
- changed psPeerContextNew callback to BOOL

2)
Fixed lots of missing alloc and error checks in the
changed code's neighbourhood.

3)
Check freerdp_client_codecs_prepare result to avoid segfaults
caused by using non-initialized codecs.

4)
Fixed deadlocks in x11 caused by missing xf_unlock_x11() calls
in some error handlers

5)
Some fixes in thread pool:
- DEFAULT_POOL assignment did not match TP_POOL definition
- don't free the pool pointer if it points to the static DEFAULT_POOL
- added error handling and cleanup in InitializeThreadpool
2015-04-29 18:18:39 +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
Zhang Zhaolong
251d214d52 android_event: fix incorrect usage of realloc.
Signed-off-by: Zhang Zhaolong <zhangzl2013@126.com>
2015-03-11 12:29:37 +08:00
Zavadovsky Yan
60c79f5450 client/Android: fix coords calculation in previous commit 2015-02-23 11:50:32 +03:00
Zavadovsky Yan
082e7b8661 client/Android: optimize android_end_paint() logic
1. Don't draw to screen if server sends begin/end paint
messages without any real updates.
2. Redraw only summary region that covers really invalidated
part of screen.
2015-02-21 23:52:38 +03:00
Zavadovsky Yan
ac8b50c464 client/Android: fix bad realloc
Fast and long pointer moves cause app to crash.
2015-02-21 23:51:02 +03:00
Kurt McAlpine
9b1450f759 Replaced ternary operator with condition only 2015-02-11 11:15:25 +13:00
Armin Novak
28da3ea620 Using freerdp_channels_disconnect now. 2015-01-20 11:24:03 +01:00
Norbert Federa
939f1c639a Standard RDP Security Layer Levels/Method Overhaul
[MS-RDPBCGR] Section 5.3 describes the encryption level and method values for
standard RDP security.

Looking at the current usage of these values in the FreeRDP code gives me
reason to believe that there is a certain lack of understanding of how these
values should be handled.

The encryption level is only configured on the server side in the "Encryption
Level" setting found in the Remote Desktop Session Host Configuration RDP-Tcp
properties dialog and this value is never transferred from the client to the
server over the wire.
The possible options are "None", "Low", "Client Compatible", "High" and
"FIPS Compliant". The client receices this value in the Server Security Data
block (TS_UD_SC_SEC1), probably only for informational purposes and maybe to
give the client the possibility to verify if the server's decision for the
encryption method confirms to the server's encryption level.
The possible encryption methods are "NONE", "40BIT", "56BIT", "128BIT" and
"FIPS" and the RDP client advertises the ones it supports to the server in the
Client Security Data block (TS_UD_CS_SEC).
The server's configured encryption level value restricts the possible final
encryption method.
Something that I was not able to find in the documentation is the priority
level of the individual encryption methods based on which the server makes its
final method decision if there are several options.
My analysis with Windows Servers reveiled that the order is 128, 56, 40, FIPS.
The server only chooses FIPS if the level is "FIPS Comliant" or if it is the
only method advertised by the client.

Bottom line:
* FreeRDP's client side does not need to set settings->EncryptionLevel
(which was done quite frequently).
* FreeRDP's server side does not have to set the supported encryption methods
list in settings->EncryptionMethods

Changes in this commit:

Removed unnecessary/confusing changes of EncryptionLevel/Methods settings

Refactor settings->DisableEncryption
* This value actually means "Advanced RDP Encryption (NLA/TLS) is NOT used"
* The old name caused lots of confusion among developers
* Renamed it to "UseRdpSecurityLayer" (the compare logic stays untouched)

Any client's setting of settings->EncryptionMethods were annihilated
* All clients "want" to set all supported methods
* Some clients forgot 56bit because 56bit was not supported at the time the
code was written
* settings->EncryptionMethods was overwritten anyways in nego_connect()
* Removed all client side settings of settings->EncryptionMethods
The default is "None" (0)
* Changed nego_connect() to advertise all supported methods if
settings->EncryptionMethods is 0 (None)
* Added a commandline option /encryption-methods:comma separated list of the
values "40", "56", "128", "FIPS". E.g. /encryption-methods:56,128
* Print warning if server chooses non-advertised method

Verify received level and method in client's gcc_read_server_security_data
* Only accept valid/known encryption methods
* Verify encryption level/method combinations according to MS-RDPBCGR 5.3.2

Server implementations can now set settings->EncryptionLevel
* The default for settings->EncryptionLevel is 0 (None)
* nego_send_negotiation_response() changes it to ClientCompatible in that case
* default to ClientCompatible if the server implementation set an invalid level

Fix server's gcc_write_server_security_data
* Verify server encryption level value set by server implementations
* Choose rdp encryption method based on level and supported client methods
* Moved FIPS to the lowest priority (only used if other methods are possible)

Updated sample server
* Support RDP Security (RdpKeyFile was not set)
* Added commented sample code for setting the security level
2014-12-12 02:17:12 +01:00
Marc-André Moreau
496ce10637 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2014-11-15 12:37:29 -05:00
Bernhard Miklautz
841b4c1a3a android: use target SDK version for appcompat
Also Use ANDROID_APP_TARGET_SDK for application compatibility project.
It is now automatically set/updated during build.

Note: The ANDROID_APP_TARGET_SDK version need to be larger or equal to the
version required by the used Android support library (appcompat).
2014-11-15 01:04:57 +01:00
Marc-André Moreau
769eb38217 afreerdp: migrate to cliprdr callback interface 2014-11-12 12:25:12 -05:00
Marc-André Moreau
19c3b0d457 afreerdp: cleanup cliprdr code 2014-11-12 11:14:10 -05:00
Marc-André Moreau
a1e660d92e freerdp: unify clipboard standard format id definitions 2014-10-16 22:20:12 -04:00
Armin Novak
7913a57bc5 Using wlog for logging in clients now. 2014-09-15 08:55:00 +02: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
Marc-André Moreau
82a53057a1 Merge pull request #2023 from ptsekov/software-gdi-improvements
Software GDI improvements
2014-08-18 16:22:23 -04:00
Marc-André Moreau
f30d7cf66a Merge pull request #2024 from repzilon/master
uclibc build fixes and recompressed images
2014-08-18 13:08:52 -04:00
Hardening
767d54ce18 Merge pull request #2017 from ptsekov/Issue_2016
Honour user performance preferences.
2014-08-15 09:21:12 +02:00
Norbert Federa
3c8700f62d Merge pull request #1963 from akallabeth/async-update-to-lib
Moved update thread from client to library.
2014-08-14 17:46:43 +02:00
Rene Rheaume
15ad357e1a Recompressed images with FileOptimizer 6.8 (an open-source mass file recompression tool for Windows) 2014-08-08 20:12:25 -04:00
Rene Rheaume
151e5de3d4 Recompressed PNG images again 2014-08-06 23:10:23 -04:00
Rene Rheaume
281ab78481 Recompressed losslessy PNG and JPEG images 2014-08-06 22:37:14 -04:00
Pavel Tsekov
98cf129a11 Do not invert fb contents when in 32bpp mode
* client/Android/FreeRDPCore/jni/android_freerdp.c:
(android_post_connect): Pass the proper flags to gdi_init().
(copy_pixel_buffer): Do not invert the framebuffer data when using 32bpp
framebuffer.
2014-08-07 01:12:39 +03:00
U-PAVEL\Pavel Tsekov
8a4f134fab Revert to 15d2b35574 2014-08-05 14:35:31 +03:00
Pavel Tsekov
9a470632f6 Honour user performance preferences.
* client/Android/FreeRDPCore/jni/android_freerdp.c:
(jni_freerdp_set_performance_flags): Always pass the user specified performance
settings to FreeRDP.
2014-08-05 00:49:13 +03:00
Pavel Tsekov
e13f93aa1b Allow the user to enable/disable performance features regardless of
their default values.
2014-08-04 18:14:08 +03:00
Mike Gilbert
ae1fdf6153 Remove execute bit from many files 2014-07-20 00:52:35 -04:00
Bernhard Miklautz
caeea1cbcd Merge pull request #1961 from g-reno/master
android toolchain and CMakeLists.txt update
2014-07-16 11:26:00 +02:00
Armin Novak
689902c995 Moved update thread from client to library. 2014-07-14 19:27:50 +02:00
Gerry Reno
3bd1f4898d android CMakeLists.txt: added else clause to test for v7 appcompat 2014-07-14 08:53:20 -04:00
Gerry Reno
d06ed2fa2f android CMakeLists.txt: added support for both 'support' and 'compatibility' in support library path for v7 appcompat
supports path styles:
$ANDROID_SDK/extras/android/support/v7/appcompat
$ANDROID_SDK/extras/android/compatibility/v7/appcompat
2014-07-13 14:54:48 -04:00
Armin Novak
ba296e5f92 Removed unused code. 2014-07-11 18:49:40 +02:00
Armin Novak
f00a3d95d9 Fixed wrong visibility setting of bookmark list view 2014-07-11 18:49:20 +02: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
Martin Fleisz
190cd55e45 Merge pull request #1933 from akallabeth/android-localized-assets
Android localized assets
2014-07-07 09:46:00 +02:00
Armin Novak
abda0b1830 Removed unused welcome screen. 2014-07-04 14:43:32 +02:00
Armin Novak
cdef682fe2 Moved common resources to top asset folder, adjusted html references.
Removed unused asset folder.
2014-07-04 14:32:59 +02:00
Bernhard Miklautz
9e1793c8ff Merge pull request #1927 from akallabeth/android-de-translation
German translation for aFreeRDP
2014-06-27 12:35:26 +02:00
Armin Novak
ebecb326bb Added german translated assets. 2014-06-26 15:05:49 +02:00
Armin Novak
9a274db12f Modified asset loading, now checking if translated version exists before loading default. 2014-06-26 15:05:17 +02:00
Armin Novak
a0ec9d29be Modified translation, better wording in context. 2014-06-25 11:29:08 +02:00
Armin Novak
a80199cecb Added german translation. 2014-06-24 19:40:31 +02:00
Bernhard Miklautz
3983c648b4 Merge pull request #1925 from mfleisz/andr_theme_fix
Changed android default theme to AppCompat.Light.DarkActionBar.
2014-06-24 12:55:55 +02:00
Martin Fleisz
f8148e712b Changed android default theme to AppCompat.Light.DarkActionBar.
Removed inverted text color from exit dialog.
2014-06-24 03:03:28 -07:00
Marc-André Moreau
c156006195 Merge branch 'master' of github.com:awakecoding/FreeRDP into egfx 2014-06-23 11:55:27 -04:00
Armin Novak
8fce7e4cea Capitalized disconnect string. 2014-06-23 16:24:39 +02:00
Armin Novak
e26c3f6bfc Removed menu option quit. 2014-06-23 16:20:28 +02:00
Armin Novak
1f92758f2b Removed disconnect menu option. 2014-06-23 16:18:03 +02:00
Armin Novak
0688d5fa16 Removed custom color settings for search bar to match theme. 2014-06-23 16:06:45 +02:00
Armin Novak
32b1caaf81 Added detection of hardware menu button to hide actionbar. 2014-06-23 15:20:01 +02:00
Armin Novak
56a7162a6d Using ANDROID_COMMAND variable now. 2014-06-23 13:50:21 +02:00
Armin Novak
cf1763d119 Added target to copy appcompat. 2014-06-23 13:29:38 +02:00
Armin Novak
c5f3171584 Now checking for android command in SDK subdirectory. 2014-06-23 13:27:39 +02:00
Armin Novak
71992acd56 Copying appcompat library to project now and configuring for build. 2014-06-23 12:58:59 +02:00
Armin Novak
65127a8c3e Added new files for project. 2014-06-23 12:58:24 +02:00
Armin Novak
041a9f2edb Fixed appcompat library setting. 2014-06-23 12:57:45 +02:00
Armin Novak
8289e973d0 Fixed compatibility theme. 2014-06-23 12:57:35 +02:00
Armin Novak
e841f3a3e9 Updated gitignore. 2014-06-23 12:57:30 +02:00
Armin Novak
f5807ae8e6 Added ActionBar display settings to menu. 2014-06-23 12:57:22 +02:00
Armin Novak
bb39e64bd9 Added debug strings to translations. 2014-06-23 12:57:17 +02:00
Armin Novak
85b7470e22 Updated to compat theme. 2014-06-23 12:57:11 +02:00
Armin Novak
c88e21f991 Now using compatibility menu. 2014-06-23 12:57:05 +02:00
Marc-André Moreau
2a82684521 channels: cleanup unused freerdp channels global functions 2014-06-11 16:27:31 -04:00
Marc-André Moreau
4bbd78a80b libfreerdp-core: remove unnecessary usage of freerdp_channels_data 2014-02-15 15:26:34 -05:00
Marc-André Moreau
fab61ba946 afreerdp: fix build on Android 2014-02-03 16:03:43 -05:00
Martin Fleisz
4d71032656 iOS: Removed unused code 2013-12-04 12:30:33 +01:00
Bernhard Miklautz
2b6b4a6685 updated file headers 2013-12-04 11:44:22 +01:00
Bernhard Miklautz
0ddf2922f9 android build: fixes for out of tree builds
Fixed the last places to be able to build android
out of tree with Unix Makefiles generator.

Note: When using eclipse use in source tree builds.
2013-11-18 20:23:00 +01:00
Bernhard Miklautz
7457dd3de4 android build: Fixed program path detection 2013-11-18 19:58:01 +01:00
Armin Novak
8fa18f1174 Using winpr instead of pthread now.
<android_desktop_resize> now uses up to date settings for callback now.
Improved error handling in <jni_input_thread>
Unified disconnect and cancel JNI calls, as they currently do the same.
2013-11-12 10:30:14 +01:00
Armin Novak
3b209b9345 Removed pthreads, using winpr now. 2013-11-12 10:25:41 +01:00
Armin Novak
2af8efb26b Fixed resource cleanup, using DEBUG_WARN now for error messages. 2013-11-12 10:24:13 +01:00
Armin Novak
f93b69320f Split ndk-build and ant runs to different targets, ndk-build is now also
run, if no ant build is desired.
2013-11-12 10:23:22 +01:00
Armin Novak
83053c865a DEBUG_ANDROID now a debug define using default <debug.h> macros. 2013-11-12 10:22:41 +01:00
Armin Novak
f6236048c5 Modified build to allow native debugging with eclipse. 2013-11-08 15:20:23 +01:00
Armin Novak
fdc3045839 Modified build to allow native debugging with eclipse. 2013-11-08 15:19:38 +01:00
Armin Novak
ba2c31e9d9 Modified build to allow native debugging with eclipse. 2013-11-08 15:16:18 +01:00
Armin Novak
d1bc0d6f37 Enabled native building support. 2013-11-08 13:40:05 +01:00
Armin Novak
f00777876d Android App version now configurable from cmake. 2013-11-08 13:15:04 +01:00
Armin Novak
105a859694 Setting correct debuggable now depending on configuration. 2013-11-08 12:51:01 +01:00
Armin Novak
51041bd1bc Modified ant build target. 2013-11-08 12:46:32 +01:00
Armin Novak
9799520803 Added ndk-build detection. 2013-11-08 12:44:28 +01:00
Armin Novak
dc055782e8 Modified ant build target. 2013-11-08 12:42:41 +01:00
Armin Novak
017308b796 Added generation of android ndk build scripts. 2013-11-08 12:37:38 +01:00
Armin Novak
9eedf16ef0 Added native android build scripts. 2013-11-08 12:08:06 +01:00
Armin Novak
f3bfef8da5 Resource cleanup fixes. 2013-11-08 10:27:16 +01: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
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
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
a88ed35a0a android: fixed classpaths
fixes #1526
2013-10-03 13:28:31 +02:00
Armin Novak
38323a4568 Implemented debug menu hidden in relase builds. 2013-10-02 14:29:08 +02:00
Armin Novak
16936dc061 Added CMake generated BuildConfiguration java class. 2013-10-02 10:24:44 +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
627e6ce4d5 Renamed configuration options, translations still missing... 2013-10-01 11:05:34 +02:00
Armin Novak
fe336da721 Implemented async_input handling. 2013-10-01 10:33:28 +02:00
Bernhard Miklautz
2cb6f5407a Merge pull request #1491 from akallabeth/android_profiler
Android profiler
2013-10-01 00:53:35 -07:00
Armin Novak
2fec8ad4c8 Implemented async_channels, async_transport and async_update. 2013-09-30 17:52:13 +02:00
Armin Novak
1e041d1952 Added new advanced configuration options for async. 2013-09-30 16:33:45 +02:00
Armin Novak
84610f02e7 Sound redirection in android client now allows selecting server side sound. 2013-09-27 13:45:41 +02:00
Armin Novak
d81421a76a Fixed android shutdown crash.
Added new permissions required for microphone redirection.
Fixed JNI call for microphone redirection.
2013-09-27 11:41:25 +02:00
Armin Novak
e03305f18c Added debugging settings to allow android debugging. 2013-09-23 17:48:02 +02:00
Armin Novak
9f705055bb Android specific build options added. 2013-09-23 12:39:41 +02:00
Armin Novak
0d9ab7ce6a Added new advanced configuration options to redirect sound and microphone.
Added JNI settings for sound and microphone redirection.
2013-09-19 13:45:16 +02:00
Armin Novak
14ea8f8b89 Merge branch 'android_build_enhanced' into android_sound 2013-09-19 12:01:33 +02:00
Bernhard Miklautz
c60ea8adb0 Merge pull request #1486 from akallabeth/android_build_enhanced
Android build enhanced
2013-09-19 01:56:53 -07:00
Armin Novak
9846c4496e Renamed android profiler flag to WITH_GPROF 2013-09-18 13:12:52 +02:00
Armin Novak
767425f259 Added profiler code to startup and shutdown functions. 2013-09-18 12:50:28 +02:00
Armin Novak
5fb9cacd5c Fixed android SDK version, now using variable. 2013-09-17 16:16:02 +02:00
Armin Novak
d8db198a51 Fixed out of source build. 2013-09-17 16:09:31 +02:00
Armin Novak
ef3f534825 Fixed out of source build. 2013-09-17 16:09:04 +02:00
Armin Novak
b58942b0cc Fixed out of source build. 2013-09-17 16:07:52 +02:00
Marc-André Moreau
518995a05e freerdp: merge with master 2013-09-16 17:10:27 -04:00
Todd McKinney
36e7c3914a Clean up unneded includes and fix logic for display output to include fitscreen text 2013-09-16 09:50:32 -05:00
Todd McKinney
311da04720 Modify Fit Screen option to not require global context object 2013-09-13 14:54:28 -05:00
Todd McKinney
999c571335 Modify Fit Screen option to not require global context object 2013-09-13 14:22:16 -05: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
Todd McKinney
3a9a41d900 Add Fit Screen option to resolution settings
There may be times where users want to have the desktop resolution match the device resolution
on a small screen. The change adds the option without changing existing functionality of the
automatic resolution setting.

Also included localized text strings for the new option and addressed some issues with string
comparison in non en-US locales.
2013-08-20 15:52:31 -05:00
Marc-André Moreau
bc631c93a8 freerdp: separate GatewayUsageMethod from GatewayEnabled 2013-07-03 15:07:12 -04:00
Marc-André Moreau
863b51f938 freerdp: merge with master 2013-06-28 12:50:24 -04:00
Martin Fleisz
77f8ca315e Android: various bug fixes to prevent NullPointerExceptions 2013-06-26 06:50:10 -07:00
Marc-André Moreau
208c9f844a freerdp: fix core API bugs 2013-06-13 21:34:46 -04:00
martijn-m
151c4504b1 Translate new stubs for dutch strings 2013-06-01 11:09:21 +02:00
Martin Fleisz
57318db1c3 Merge pull request #1264 from mfleisz/and_xlarge
Android: support xlarge screens
2013-05-29 08:38:35 -07:00
Martin Fleisz
6f95ddb658 Android: support xlarge screens 2013-05-24 01:42:06 -07:00
Martin Fleisz
ecacc07d04 Android: Add missing stubs for dutch strings 2013-05-22 06:22:04 -07:00
Martin Fleisz
0f0aadae94 Android: Added spanish and dutch translation stubs 2013-05-22 05:18:37 -07:00
Martin Fleisz
f2aea91ccf Android/iOS: Fixes for using RemoteFX with Bitmap Cache V3 2013-05-22 01:48:43 -07:00
Martin Fleisz
b109df38a1 Merge pull request #1232 from mfleisz/andrfixsettings
Android: Unregister settings changed listener
2013-05-06 03:15:47 -07:00
Martin Fleisz
b5901d01a1 Android: Unregister settings changed listener 2013-05-06 03:09:08 -07:00
martijn-m
f59780c08b Dutch translation v2
Optimized: 'Credentials' translated
2013-05-02 14:14:21 +03:00
Martin Fleisz
e585fd9ac1 Android: Added support for TS Gateway 2013-04-30 08:14:24 -07:00
Martin Fleisz
a1708572ba Android: Added clipboard redirection support 2013-04-26 05:59:16 -07:00
Martin Fleisz
c0dffd6edf Android: Added SDCard redirection support 2013-04-25 07:30:33 -07:00
Martin Fleisz
afd9065cce iOS/Android: Updated version number 2013-04-24 00:36:48 -07:00
Martin Fleisz
fcad37ee6a Android: Changed version string for APKs 2013-04-23 08:58:37 -07:00
Martin Fleisz
4bb700d85b Android: Added missing french translation 2013-04-23 04:04:06 -07:00
Martin Fleisz
6b48a8c7c5 Android: Fixed possible crash with a session being null 2013-04-18 03:43:52 -07:00
Marc-André Moreau
e1e8194f77 afreerdp: added Spanish translation 2013-04-10 13:45:23 -04:00
Marc-André Moreau
953716e907 afreerdp: fix missing translation points 2013-04-09 21:51:07 -04:00
Marc-André Moreau
930d67ef22 afreerdp: initial French translation (semi-automatic, still poor) 2013-04-09 21:19:03 -04:00
Marc-André Moreau
1b7b0b74ea afreerdp: remove old project files 2013-04-09 16:38:07 -04:00
Marc-André Moreau
c3ea88697d afreerdp: fix manifest file indentation 2013-04-09 14:51:48 -04:00
Martin Fleisz
0375189c8e iOS/Android: Fix for Win8 2013-04-05 12:36:23 +02:00
Martin Fleisz
8d16086969 Android: Fix crash after changes in FreeRDP directory handling 2013-04-02 06:33:59 -07:00
Marc-André Moreau
3417a3aab5 freerdp: merge RDP_EVENT type with wMessage 2013-03-28 21:13:56 -04:00
Marc-André Moreau
8ad5932a3d channels: continue event refactoring 2013-03-28 19:33:31 -04:00
Marc-André Moreau
068f0de4d4 libfreerdp-utils: purge old file utils 2013-03-22 15:52:43 -04:00
Martin Fleisz
b40e40937c Android: Fix for rdp file association 2013-03-19 09:40:29 -07:00
Martin Fleisz
b5712cdb1b Android: Fixed issue with shift key 2013-03-19 08:25:34 -07:00
Martin Fleisz
3baa7a63c1 Android: Fixed rdp file association 2013-03-19 06:29:11 -07:00
Martin Fleisz
db4734f1e1 Android: Fixed keyboard issue 2013-03-18 05:08:02 -07:00
Martin Fleisz
59086c68ef Merge pull request #1065 from blazee/android_rdpfile
Android rdpfile
2013-03-11 04:49:33 -07:00
Marc-André Moreau
8e9d541816 client/Android: fix keyboard 2013-03-10 21:27:27 -04:00
blazee
d943692914 Android: Fix build 2013-03-10 14:41:11 +01:00
blazee
bcbb80fc19 Android: Add basic .RDP file support 2013-03-10 13:08:47 +01:00
Martin Fleisz
be9245fda1 Android: Fixed session resizing 2013-03-05 12:59:38 +01:00
Marc-André Moreau
bcf2639906 Merge pull request #1005 from mfleisz/shortcutfix
Android: Fixed shortcut launching
2013-02-26 09:40:05 -08:00
Martin Fleisz
e9527fbbf3 Android: Fixed incorrect handling of performance flags 2013-02-26 06:34:24 -08:00
Martin Fleisz
382efe68ed Android: Fixed shortcut launching 2013-02-26 04:04:23 -08:00
Martin Fleisz
be275c8c06 Android: Fixed test bookmark 2013-02-25 07:40:00 -08:00
Martin Fleisz
4722e1a096 Android: Added test bookmark 2013-02-25 07:21:51 -08:00
Martin Fleisz
e5fc288a51 Android: Fixed settings sub-screen handling, cleaned up strings.xml 2013-02-25 02:37:07 -08:00
Martin Fleisz
58d49b402b Android: Fixed certificate caching 2013-02-22 02:51:26 -08:00
Martin Fleisz
334f1e7782 Android: renaming of JNI API 2013-02-21 04:16:30 -08:00
Martin Fleisz
f0fb640bb4 Various fixes and reorganisation of files for Android library project 2013-02-20 02:06:03 -08:00
Bernhard Miklautz
295d799afe Merge remote-tracking branch 'upstream/master' into androidlib 2013-02-18 15:12:23 +01:00
Bernhard Miklautz
84b2966e67 android: adapted build for library project
- use manifestmerger.enabled to merge library manifest
- updated intent/activities to be implicit
2013-02-18 15:00:55 +01:00
Martin Fleisz
c4a4822bd3 Reorganizing into library project 2013-02-15 02:22:28 -08:00
hardening
865ff2a5f8 Fixed compilation with -Wstrict-prototypes 2013-02-14 22:20:43 +01:00
Martin Fleisz
8d25989883 android: remove hardcoded package name from suggestion provider, using full qualified class names in manifest 2013-02-14 01:53:12 -08:00
Martin Fleisz
01d7ac134b BookmarkGateways now accept SQLLiteHelper instead of a BookmarkDB class 2013-02-06 02:09:19 -08:00
Martin Fleisz
ff5bd2e1ff aFreeRDP: Added custom bookmark type 2013-02-06 00:29:26 -08:00
Bernhard Miklautz
f239e1f9c4 aFreeRDP: initial release
This is the initial release of aFreeRDP the FreeRDP Android client.
For build instructions have a look to docs/README.android.
2013-01-29 12:59:58 +01:00