From: masensio Date: Tue, 18 Mar 2014 13:28:17 +0000 (+0100) Subject: Merge pull request #395 from dontcallmedom/master X-Git-Tag: oc-android-1.5.5~5^2~10 X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/commitdiff_plain/b124167f50c69bb98c1456f48ec9fcfab4bd63c1?hp=59fdac1d26c480f83072f02849c89caadf55ba6c Merge pull request #395 from dontcallmedom/master allow multi-line checkbox for preferences with long titles --- diff --git a/.gitmodules b/.gitmodules index 12d15b6e..f0ca8721 100644 --- a/.gitmodules +++ b/.gitmodules @@ -3,4 +3,4 @@ url = git://github.com/JakeWharton/ActionBarSherlock.git [submodule "owncloud-android-library"] path = owncloud-android-library - url = git@github.com:owncloud/android-library.git + url = git://github.com/owncloud/android-library.git diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..7ec196c7 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,16 @@ +language: java +jdk: oraclejdk7 +before_install: + # Install base Android SDK + - sudo apt-get update -qq + - sudo apt-get install -qq libstdc++6:i386 lib32z1 + - export COMPONENTS=build-tools-18.1.0,android-14,android-17,android-19,sysimg-19,extra-android-support + - curl -L https://raw.github.com/embarkmobile/android-sdk-installer/master/android-sdk-installer | bash /dev/stdin --install=$COMPONENTS + - source ~/.android-sdk-installer/env + - rm pom.xml + - ./setup_env.sh + +script: + - ant clean + - ant debug + diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 465dec84..f6d34727 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -18,8 +18,8 @@ along with this program. If not, see . --> + android:versionCode="105004" + android:versionName="1.5.4" xmlns:android="http://schemas.android.com/apk/res/android"> @@ -80,12 +80,10 @@ - + - - - + - + - + + + diff --git a/SETUP.md b/SETUP.md index 13c4f592..a9650644 100644 --- a/SETUP.md +++ b/SETUP.md @@ -12,6 +12,7 @@ NOTE: You must have git in your environment path variable to perform the next op * Pull changes from your develop branch: "git pull origin develop" * Make official ownCloud repo known as upstream: "git remote add upstream git@github.com:owncloud/android.git" * Make sure to get the latest changes from official android/develop branch: "git pull upstream develop" +* Complete the setup of project properties and resolve pending dependencies running "setup_env.bat" or "./setup_env.sh" . At this point you can continue using different tools to build the project. Section 2, 3 and 4 describe some of the existing alternatives. @@ -19,21 +20,20 @@ At this point you can continue using different tools to build the project. Secti NOTE: You must have the Android SDK 'tools/', and 'platforms-tools/' folders in your environment path variable. -* Complete the setup of project properties and resolve pending dependencies running "setup_env.bat" or "./setup_env.sh" . * Run "ant clean" . -* Run "ant debug" to generate a debuggable version of the ownCkoud app. +* Run "ant debug" to generate a debuggable version of the ownCloud app. ### 3. Building with console/maven: NOTE: You must have mvn (version >= 3.1.1) in your environment path. Current Android 'platforms-tools' need to be installed. -Download/install Android plugin for Maven, install oc_framework, then build ownCloud with mvn: +Download/install Android plugin for Maven, install owncloud-android-library, then build ownCloud with mvn: * cd .. * git clone https://github.com/mosabua/maven-android-sdk-deployer.git * cd maven-android-sdk-deployer * mvn -pl com.simpligility.android.sdk-deployer:android-19 -am install -* cd ../android/oc_framework +* cd ../android/owncloud-android-library * mvn install * cd .. @@ -48,15 +48,15 @@ NOTE: You must have the Android SDK 'tools/', and 'platforms-tools/' folders in * Clean project and compile. * If any error appear, check the project properties; in the 'Android' section, API Level should be greater or equal than 14. * Make sure android/actionbarsherlock/library/bin/library.jar was created. -* Create a new "Android Project from Existing Code". Choose android/oc_framework as root. +* Create a new "Android Project from Existing Code". Choose android/owncloud-android-library as root. * Clean project and compile. * If any error appear, check the project properties; in the 'Android' section, API Level should be 19 or greater. -* Make sure android/oc_framework/bin/classes.jar was created. +* Make sure android/owncloud-android-library/bin/classes.jar was created. * Import ownCloud Android project. * Clean project and compile. * If any error appears, check the project properties of owncloud-android project; in the 'Android' section: - API Level should be 19 or greater. - - Two library projects should appear referred in the bottom square: actionbarsherlock/library and oc_framework. Add them if needed. + - Two library projects should appear referred in the bottom square: actionbarsherlock/library and owncloud-android-library. Add them if needed. * After those actions you should be good to go. HAVE FUN! NOTE: Even though API level is set to 19, APK also runs on older devices because in AndroidManifest.xml minSdkVersion is set to 8. diff --git a/oc_jb_workaround/AndroidManifest.xml b/oc_jb_workaround/AndroidManifest.xml index ea251057..4bc25bae 100644 --- a/oc_jb_workaround/AndroidManifest.xml +++ b/oc_jb_workaround/AndroidManifest.xml @@ -1,8 +1,8 @@ + android:versionCode="0100013" + android:versionName="1.0.13" > 1.5.1-SNAPSHOT 1.6 - 4.4_r1 + 4.4.2_r2 19 4.2.0 @@ -50,10 +50,10 @@ apklib - + com.owncloud.android - oc_framework + owncloud-android-library ${owncloud.version} diff --git a/res/drawable-hdpi/copy_link.png b/res/drawable-hdpi/copy_link.png new file mode 100644 index 00000000..35df55f7 Binary files /dev/null and b/res/drawable-hdpi/copy_link.png differ diff --git a/res/drawable-ldpi/copy_link.png b/res/drawable-ldpi/copy_link.png new file mode 100644 index 00000000..b3caf522 Binary files /dev/null and b/res/drawable-ldpi/copy_link.png differ diff --git a/res/drawable-mdpi/copy_link.png b/res/drawable-mdpi/copy_link.png new file mode 100644 index 00000000..4e2af289 Binary files /dev/null and b/res/drawable-mdpi/copy_link.png differ diff --git a/res/drawable-xhdpi/copy_link.png b/res/drawable-xhdpi/copy_link.png new file mode 100644 index 00000000..c69eb05a Binary files /dev/null and b/res/drawable-xhdpi/copy_link.png differ diff --git a/res/layout/ssl_untrusted_cert_layout.xml b/res/layout/ssl_untrusted_cert_layout.xml new file mode 100644 index 00000000..6a30c2e0 --- /dev/null +++ b/res/layout/ssl_untrusted_cert_layout.xml @@ -0,0 +1,460 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +