Commit Graph

175 Commits

Author SHA1 Message Date
Armin Novak
7e7394d905 Update default android build config
Remove x86 and x86_64 to bring down pr build times
2021-09-04 18:01:30 +02:00
Armin Novak
8ef57bf296 Replaced CMAKE_[SOURCE|BINARY]_DIR with PROJECT_[SOURCE|BINARY]_DIR
Thanks @Pollux42 for the hint in #7096
2021-06-22 08:54:18 +02:00
akallabeth
80d7f206af
Refactored settings string setter (#7014)
* Common function to clear strings
* Set string memory to '\0' before free
2021-05-18 11:22:27 +02:00
akallabeth
23aa5fb873 Updated OpenSSL and android dependencies 2021-03-15 10:44:15 +01:00
akallabeth
c67e4df96b Added getter/setter for settings 2021-03-01 11:03:52 +01:00
Armin Novak
6a2ae388f8 Added settings dump function 2021-01-18 18:46:04 +01:00
Christian Plattner
95315816d9 Disable building OpenH264 in Andriod CI builds 2020-11-21 15:22:59 +01:00
Christian Plattner
aad64eeb86 Fix Android release target API level 2020-11-21 15:22:59 +01:00
Christian Plattner
2ad8fee8f6 Fix Android build paths 2020-11-21 15:22:59 +01:00
Christian Plattner
711870e21a Fix #6565: streamline android build configuration 2020-11-21 15:22:59 +01:00
Mike Gilbert
495c9de8ad Rename create_release_taball.sh to create_release_tarball.sh 2020-06-24 13:26:48 -04:00
Armin Novak
b50525d1fb Fixed spelling, print errors to stderr 2020-06-23 09:32:19 +02:00
Armin Novak
5490ce5099 Fixed bug with creating release source_version 2020-06-23 09:30:08 +02:00
Armin Novak
16350dcdda Fixed creating release zip from folder 2020-06-22 12:57:26 +02:00
Armin Novak
25f62eeddd Added release zip creation to script. 2020-05-25 19:30:11 +02:00
Bernhard Miklautz
b142b73c11 new: add release script
Add a updated version of script for creating the release tarball.
If TAG is set the TAG is used otherwise it is tried to detect the last
TAG using git describe.
2020-05-25 08:43:20 +02:00
akallabeth
319afb082b Refactored settings clone/free, extended tests 2020-05-20 15:10:07 +02:00
Armin Novak
58be47bc63 Added expert settings /tune and /tune-list 2020-04-21 17:30:24 +02:00
akallabeth
fd9b5463a0 Use cmake from NDK 2020-04-09 10:03:20 +02:00
akallabeth
f2d5cf2b41 Updated android build scripts for ci. 2020-04-09 10:03:20 +02:00
Martin Fleisz
99786970a3
Merge pull request #5884 from akallabeth/smartcard_ndr_strict
Smartcard tighter input validation
2020-03-31 08:34:04 +02:00
akallabeth
80177efe69 Fixed typos, make status comparisons explicit. 2020-03-27 14:49:09 +01:00
Martin Fleisz
7ae8a158a0
Merge pull request #5707 from akallabeth/kbd_codepage
Added KeyboardCodePage option
2020-02-25 14:50:51 +01:00
Armin Novak
967bb471c7 Fixed keyboard lang struct generation
* Fixed length hex strings
* Fill in missing elements with last valid
2020-02-24 12:35:32 +01:00
Armin Novak
30275e7ac3 Added keyboard language codepages and listing option 2020-02-21 11:57:36 +01:00
Armin Novak
ef93109f42 Fixes for GetAttrib and some refactroing
* Fix accidental buffer free before transfer
* Refactored code to eliminate a bunch of warnings
* Updated copyright headers
2020-02-20 13:59:28 +01:00
Armin Novak
ccda3de168 Added (incomplete) smartcard API test program. 2020-02-20 13:59:28 +01:00
Armin Novak
c9dd343a65 update timezones. 2019-12-06 11:05:09 +01:00
Armin Novak
3aec03c1ed New python script for zone generation
Replace the old C# script with a python script to generate
WindowsZones.c, update to new location of XML
2019-12-06 11:03:30 +01:00
Armin Novak
7db4f69cb6 Added TcpKeepalive setting, use settings getter const arguments. 2019-11-07 12:39:22 +01:00
Armin Novak
72ca88f49c Reformatted to new style 2019-11-07 10:53:54 +01:00
Martin Fleisz
852907a9ba common: Fix nullptr checking in settings_set_string function 2019-09-03 13:24:02 +02:00
Armin Novak
6604df0795 Added clang format script.
new code formatting rules are now enforced by this script.
2019-05-16 11:25:40 +02:00
Armin Novak
93bf375686 Refactored settings getter/setter to stay compatible. 2019-05-08 14:35:25 +02:00
Armin Novak
abc93f924c Added python generator for freerdp_[g|s]et_param*
The settings getters and setters are now automatically generated.
Added a test case to check if all available options can be retrieved.
2019-05-08 14:17:23 +02:00
Pascal J. Bourguignon
431c37f3a9 5360 segfault using smartcard without any readers (#5361)
* Fix: corrected test for astyle.

* Fix: added test for NULL readers returned by ConvertFromUnicode.
2019-04-26 09:10:41 +02:00
David Fort
42c083eaea script: add a usefull script to create code snippets from specification blobs 2018-12-05 15:20:11 +01:00
Armin Novak
6a75bc806b Updated OpenSSL version for iOS 2018-12-03 17:06:43 +01:00
akallabeth
3cea4bfb55
Merge pull request #5008 from wintersandroid/master
Android library build script fixes, and Android thread lock on remote disconnect.
2018-11-20 12:14:28 +01:00
Mathew
2ff19597dc fix scripts to build with ndk r15c,
cache dependancies so we are not hitting github often
update android dependancies to latest and compile.
./android-build-freerdp.sh --ndk ~/Programming/android-ndk-r15c --relWithDebug --jpeg
Still an error compiling openh264
2018-11-09 15:20:52 +13:00
Armin Novak
6a2d49e0ed Simplified timezone update handling:
* Fix #4965: Adjusted the timezone update script to initialize
  structs properly.
* Updated the scripts to generate the files directly
* Added a small HOWTO
* Split zone information to separate files to allow automatic
  update without further manual editing.

Create a timezone.c file that does conform to C rules.
2018-11-07 14:46:24 +01:00
Pascal J. Bourguignon
a7c4022554 Corrected update-rdpSettings according to PR comments.
Updated settings.h with it.
2018-06-06 17:08:52 +02:00
Pascal J. Bourguignon
25dafa3815 Created script to update the #define from rdp_settings fields.
Created	scripts/update-rdpSettings script to update the
rdpSettings #defines from the rdpSettings structure.
2018-06-06 14:59:45 +02:00
Armin Novak
d8bcb6910e Updated OpenSSL version in build scripts. 2018-04-12 16:52:33 +02:00
Armin Novak
ef6a03128a Added memory and thread sanitizer. 2018-04-06 08:27:52 +02:00
Armin Novak
9bd13c25c9 Added WaitableTimer implementation for mac OS. 2018-03-12 13:39:21 +01:00
Armin Novak
45abdc94d6 Updated OpenSSL version for android. 2018-01-17 15:30:29 +01:00
Armin Novak
1f12b2af6f Updated to OpenH264 1.7 and relocatable binaries. 2018-01-17 15:30:29 +01:00
Robert Corrigan
5fa2426fdb Download windowsZones.xml directly from unicode.org 2017-10-04 21:12:29 -04:00
Robert Corrigan
b92636e900 .gitignore generated time zone files 2017-10-04 20:29:02 -04:00
Robert Corrigan
2cc181fb33 Convert WindowsZones.cs to C# script 2017-10-04 20:27:07 -04:00
Robert Corrigan
3f650e97e3 Convert TimeZones.cs to C# script 2017-10-04 20:18:38 -04:00
Robert Corrigan
756c1089eb Change documented source of windowsZones.xml file 2017-07-14 17:15:32 -04:00
Armin Novak
9df26feab7 Update for android scripts, per arch includes. 2017-03-09 11:32:34 +01:00
Armin Novak
a8447d0d2c Updated OpenSSL version in android script. 2017-02-22 16:08:43 +01:00
Armin Novak
a20adde791 Use POSIX cp syntax. 2017-02-13 17:45:03 +01:00
Armin Novak
052e4bb582 Added CCACHE support for android OpenH264 build. 2017-01-25 16:00:29 +01:00
Armin Novak
8b6b4961a6 Added CCACHE support for OpenSSL builds. 2017-01-25 15:19:31 +01:00
Armin Novak
676871e0fd Disabled OpenH264 in default android build. 2017-01-18 16:52:52 +01:00
Armin Novak
5be65ac76e Fixed SONAME 2017-01-17 13:17:25 +01:00
Armin Novak
548927eb2e Renamed OpenSSL library
To avoid collisions with system provided OpenSSL use
a different (unique) library name for android builds.
2017-01-16 16:39:06 +01:00
Armin Novak
62544e0b8a Added android release build configurations. 2017-01-16 15:25:20 +01:00
Armin Novak
c74f0510ce Updated android build scripts for OpenSSL 1.1 2017-01-16 14:57:28 +01:00
Norbert Federa
f71b6b46e8 fix string format specifiers
- fixed invalid, missing or additional arguments
- removed all type casts from arguments
- added missing (void*) typecasts for %p arguments
- use inttypes defines where appropriate
2016-12-16 13:48:43 +01:00
David Fort
9a25538369 Updated the astyle formatting 2016-10-14 15:12:48 +02:00
Armin Novak
196386f59b Android client support script fixes. 2016-10-06 13:43:11 +02:00
Armin Novak
9c64e77a84 Disabled thread local storage on iOS.
iOS does not support Thread Local Storage.
Disabling it for now until a solution is found.
Print a compiler warning informing developers about this issue.
2016-10-06 13:43:10 +02:00
Armin Novak
fddf710a1c Fixed OpenSSL build headers. 2016-10-06 13:43:07 +02:00
Armin Novak
7b5d0d59c9 Updated build script error checking. 2016-10-06 13:43:07 +02:00
Armin Novak
8898980981 Removed obsolete generation script. 2016-10-06 13:43:07 +02:00
Armin Novak
aad0a5cd5d Updated mac build script. 2016-10-06 13:43:04 +02:00
Armin Novak
df35c135d1 Fixed color conversion, unified GFX and updated API. 2016-10-06 13:42:58 +02:00
Armin Novak
48b4c5b7a4 Fixed android libfreerdp install paths. 2016-07-06 17:18:13 +02:00
Armin Novak
f5fef88486 Disabled OpenH264 build for pull request tester. 2016-07-06 11:59:08 +02:00
Armin Novak
be33a11754 Fixed missing arch. 2016-06-03 09:42:00 +02:00
Armin Novak
fc2f43e3da Added android64 support. 2016-06-02 14:25:13 +02:00
Robert Corrigan
16796b9c9d winpr: Updates time zones and fixes bias values 2016-03-14 11:38:31 -04:00
Armin Novak
f60b8d5e95 Replaced version patch with make argument. 2016-03-10 22:10:18 +01:00
Armin Novak
4a7816db11 Updated OpenSSL version in script. 2016-03-10 21:54:11 +01:00
Armin Novak
cabcf7c479 Fixed paralell building issue. 2016-03-10 21:18:19 +01:00
Bernhard Miklautz
9fa85aea10 Merge pull request #1726 from grpomega/patch-3
Need Week instead of Day for TZ transistion
2016-03-04 11:17:42 +01:00
Armin Novak
98d4a9347a Added support for android SetFileTime.
Deactivated libjpeg support for android.
2016-02-26 12:27:59 +01:00
Bernhard Miklautz
ae6c235be7 android: disable mips build
mips build causes problems when building openssl during integration
builds. Disable it for now
2016-02-25 16:31:20 +01:00
Armin Novak
8fdf59ae00 Removed android SDK dependency for native build. 2016-02-04 16:09:49 +01:00
Armin Novak
74f3ebf793 Fixed argument for freerdp source. 2016-02-04 13:56:33 +01:00
Armin Novak
b8106a1a62 Updated documentation and default build config. 2016-02-01 16:01:32 +01:00
Armin Novak
d04eb12a47 Added new android build scripts. 2016-02-01 15:22:10 +01:00
Bernhard Miklautz
1918b697c2 ios: update openssl build script
* remove patch - not required anymore
* add support for arm64 and x86_64 openssl builds
* update documentation
2015-06-09 13:02:44 +02:00
Armin Novak
d4f5ed640f Added version check for astyle, versions below 2.03 indent extern "C" scope 2014-09-11 12:38:32 +02:00
Armin Novak
a145c4201f Added script to automatically format all changed .c and .h files. 2014-09-09 16:32:23 +02:00
Armin Novak
a5ca75c3ab Fixed pointer alignment in formatting script. 2014-09-09 16:32:04 +02:00
Armin Novak
0e61cd296c * Fixed android setup script, if run as update. (git fetch instead of git pull)
* Checking return of openssl build now and inform about build errors.
2014-07-13 13:35:11 +02:00
Armin Novak
80e6a055fb Updated OpenSSL tag to 1.0.1h-fips-2.0.7
Using ndk-build from ANDROID_NDK now if available, fallback to path.
2014-07-08 12:44:35 +02:00
Armin Novak
4b901aa3a9 Openssl makefile repo now checked out with specific TAG. 2014-07-08 10:20:13 +02:00
Armin Novak
1f1a2fe6e5 Fixed formatting of else if statements. 2014-05-23 15:34:43 +02:00
Armin Novak
c6f97b9e26 Fixed formatting, added proper header padding and not removing empty lines. 2014-05-23 15:30:04 +02:00
Armin Novak
726265265f Added code formatting script. 2014-05-23 13:07:07 +02:00
grpomega
c005e81426 Need Week instead of Day for TZ transistion
transistion.Day is being pulled and assigned to the DST transition times instead of the week of transition.  This gives the wrong date for DST implementation.
Pull request #1713 can be killed if libfreerdp/locale/timezone.c can be regenerated form the file resulting from the execution of this script.

All implementations of DST appear to be calculated rather than specific. 
http://www.webexhibits.org/daylightsaving/g.html
so transistion.Day should never be relevant.
2014-03-06 10:04:53 -06:00
Armin Novak
b439c41568 Copying libraries now to subfoler lib, because CMake searches for them there. 2013-12-08 14:18:34 +01:00
Armin Novak
04b819086f Fixed a problem when building openssl. 2013-12-08 14:18:34 +01:00