Merge branch 'development' into keybase-proofs

This commit is contained in:
Dominik Schürmann
2014-12-05 15:51:15 +01:00
13 changed files with 31 additions and 35 deletions

View File

@@ -4,14 +4,14 @@ before_install:
# Install base Android SDK # Install base Android SDK
- sudo apt-get update -qq - sudo apt-get update -qq
- if [ `uname -m` = x86_64 ]; then sudo apt-get install -qq --force-yes libgd2-xpm lib32z1 lib32stdc++6; fi - if [ `uname -m` = x86_64 ]; then sudo apt-get install -qq --force-yes libgd2-xpm lib32z1 lib32stdc++6; fi
- wget http://dl.google.com/android/android-sdk_r23-linux.tgz - wget http://dl.google.com/android/android-sdk_r23.0.2-linux.tgz
- tar xzf android-sdk_r23-linux.tgz - tar xzf android-sdk_r23.0.2-linux.tgz
- export ANDROID_HOME=$PWD/android-sdk-linux - export ANDROID_HOME=$PWD/android-sdk-linux
- export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools - export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
# Install required Android components. # Install required Android components.
#- echo "y" | android update sdk -a --filter build-tools-19.1.0,android-19,platform-tools,extra-android-support,extra-android-m2repository --no-ui --force #- echo "y" | android update sdk -a --filter build-tools-19.1.0,android-19,platform-tools,extra-android-support,extra-android-m2repository --no-ui --force
- ( sleep 5 && while [ 1 ]; do sleep 1; echo y; done ) | android update sdk --no-ui --all --force --filter build-tools-19.1.0,android-19,platform-tools,extra-android-support,extra-android-m2repository - ( sleep 5 && while [ 1 ]; do sleep 1; echo y; done ) | android update sdk --no-ui --all --force --filter build-tools-21.1.1,build-tools-19.1.0,android-21,android-19,platform-tools,extra-android-support,extra-android-m2repository
- ./prepare-tests.sh - ./prepare-tests.sh
install: echo "Installation done" install: echo "Installation done"
script: script:

View File

@@ -1,14 +1,11 @@
buildscript { buildscript {
repositories { repositories {
mavenCentral() jcenter()
// need this for com.novoda:gradle-android-test-plugin:0.9.9-SNAPSHOT below (0.9.3 in repos doesn't work!)
// run ./install-custom-gradle-test-plugin.sh to pull the thing into the local repository
mavenLocal()
} }
dependencies { dependencies {
// NOTE: Always use fixed version codes not dynamic ones, e.g. 0.7.3 instead of 0.7.+, see README for more information // NOTE: Always use fixed version codes not dynamic ones, e.g. 0.7.3 instead of 0.7.+, see README for more information
classpath 'com.novoda:gradle-android-test-plugin:0.9.9-SNAPSHOT' classpath 'com.novoda:gradle-android-test-plugin:0.10.0'
} }
} }
@@ -51,16 +48,17 @@ android {
} }
jacoco { jacoco {
toolVersion = "0.7.0.201403182114" toolVersion = "0.7.2.201409121644"
} }
coverageSourceDirs = [
def coverageSourceDirs = [
'../OpenKeychain/src/main/java', '../OpenKeychain/src/main/java',
'../OpenKeychain/src/gen', '../OpenKeychain/src/gen',
'../OpenKeychain/build/source/apt/debug', '../OpenKeychain/build/source/apt/debug',
'../OpenKeychain/build/source/generated/buildConfig/debug', '../OpenKeychain/build/source/generated/buildConfig/debug',
'../OpenKeychain/build/source/generated/r/debug' '../OpenKeychain/build/source/generated/r/debug'
] ]
jacocoTestReport { jacocoTestReport {
reports { reports {

View File

@@ -3,8 +3,8 @@ apply plugin: 'com.android.application'
dependencies { dependencies {
// NOTE: Always use fixed version codes not dynamic ones, e.g. 0.7.3 instead of 0.7.+, see README for more information // NOTE: Always use fixed version codes not dynamic ones, e.g. 0.7.3 instead of 0.7.+, see README for more information
compile 'com.android.support:support-v4:19.1.0' compile 'com.android.support:support-v4:21.0.2'
compile 'com.android.support:appcompat-v7:19.1.0' compile 'com.android.support:appcompat-v7:21.0.2'
compile project(':extern:openpgp-api-lib') compile project(':extern:openpgp-api-lib')
compile project(':extern:openkeychain-api-lib') compile project(':extern:openkeychain-api-lib')
compile project(':extern:html-textview') compile project(':extern:html-textview')
@@ -23,12 +23,12 @@ dependencies {
} }
android { android {
compileSdkVersion 19 compileSdkVersion 21
buildToolsVersion '19.1' buildToolsVersion '21.1.1'
defaultConfig { defaultConfig {
minSdkVersion 9 minSdkVersion 9
targetSdkVersion 19 targetSdkVersion 21
} }
/* /*

View File

@@ -15,7 +15,7 @@
Association of file types to Keychain Association of file types to Keychain
===================================== =====================================
General remarks about file ending conventions: General remarks about file ending conventions:
- *.gpg for binary files - *.gpg for binary files
- *.asc for ascii armored files The actual content can be anything. - *.asc for ascii armored files The actual content can be anything.
The file ending only shows if it is binary or ascii encoded. The file ending only shows if it is binary or ascii encoded.

View File

@@ -456,7 +456,7 @@ public class PassphraseCacheService extends Service {
Intent intent = new Intent(getApplicationContext(), PassphraseCacheService.class); Intent intent = new Intent(getApplicationContext(), PassphraseCacheService.class);
intent.setAction(ACTION_PASSPHRASE_CACHE_CLEAR); intent.setAction(ACTION_PASSPHRASE_CACHE_CLEAR);
builder.addAction( builder.addAction(
R.drawable.abc_ic_clear_normal, R.drawable.abc_ic_clear_mtrl_alpha,
getString(R.string.passp_cache_notif_clear), getString(R.string.passp_cache_notif_clear),
PendingIntent.getService( PendingIntent.getService(
getApplicationContext(), getApplicationContext(),

View File

@@ -19,7 +19,6 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:dividerPadding="12dp" android:dividerPadding="12dp"
android:orientation="horizontal" android:orientation="horizontal"
android:divider="@drawable/abc_list_divider_holo_light"
android:showDividers="end" > android:showDividers="end" >
<include layout="@layout/actionbar_include_done_button" /> <include layout="@layout/actionbar_include_done_button" />

View File

@@ -18,7 +18,6 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:dividerPadding="12dp" android:dividerPadding="12dp"
android:divider="@drawable/abc_list_divider_holo_light"
android:orientation="horizontal" android:orientation="horizontal"
android:showDividers="middle"> android:showDividers="middle">

View File

@@ -12,10 +12,10 @@ And don't add newlines before or after p tags because of transifex -->
<h2>A wrong primary user id is shown when searching on a Keyserver</h2> <h2>A wrong primary user id is shown when searching on a Keyserver</h2>
<p>Unfortunately, this is a bug in the SKS Keyserver software. Its machine-readable output returns the user ids in an arbitrary order. Read the <a href="https://bitbucket.org/skskeyserver/sks-keyserver/issue/28/primary-uid-in-machine-readable-index">related bug report</a> for more information.</p> <p>Unfortunately, this is a bug in the SKS Keyserver software. Its machine-readable output returns the user ids in an arbitrary order. Read the <a href="https://bitbucket.org/skskeyserver/sks-keyserver/issue/28/primary-uid-in-machine-readable-index">related bug report</a> for more information.</p>
<h2>How do I activate OpenKeychain in K9-Mail?</h2> <h2>How do I activate OpenKeychain in K-9 Mail?</h2>
<p>To use OpenKeychain with K9-Mail, you want to follow these steps:</p> <p>To use OpenKeychain with K-9 Mail, you want to follow these steps:</p>
<ol> <ol>
<li>Open K9-Mail and long-tap on the account you want to use OpenKeychain with.</li> <li>Open K-9 Mail and long-tap on the account you want to use OpenKeychain with.</li>
<li>Select "Account settings" and scroll to the very bottom and click "Cryptography".</li> <li>Select "Account settings" and scroll to the very bottom and click "Cryptography".</li>
<li>Click on "OpenPGP Provider" and select OpenKeychain from the list.</li> <li>Click on "OpenPGP Provider" and select OpenKeychain from the list.</li>
</ol> </ol>

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

View File

@@ -1,6 +1,6 @@
buildscript { buildscript {
repositories { repositories {
mavenCentral() jcenter()
} }
dependencies { dependencies {
@@ -11,7 +11,7 @@ buildscript {
allprojects { allprojects {
repositories { repositories {
mavenCentral() jcenter()
} }
} }

View File

@@ -10,16 +10,16 @@ if ! java -version 2>&1 | grep OpenJDK; then
return return
fi fi
tmpdir="$(mktemp -d)" #tmpdir="$(mktemp -d)"
( #(
cd "$tmpdir"; # cd "$tmpdir";
git clone https://github.com/nenick/gradle-android-test-plugin.git # git clone https://github.com/nenick/gradle-android-test-plugin.git
cd gradle-android-test-plugin # cd gradle-android-test-plugin
echo "rootProject.name = 'gradle-android-test-plugin-parent'" > settings.gradle # echo "rootProject.name = 'gradle-android-test-plugin-parent'" > settings.gradle
echo "include ':gradle-android-test-plugin'" >> settings.gradle # echo "include ':gradle-android-test-plugin'" >> settings.gradle
./gradlew :gradle-android-test-plugin:install # ./gradlew :gradle-android-test-plugin:install
) #)
rm -rf "$tmpdir" #rm -rf "$tmpdir"
echo -n "ok, adding tests to include list.. " echo -n "ok, adding tests to include list.. "
if grep OpenKeychain-Test settings.gradle >/dev/null ; then if grep OpenKeychain-Test settings.gradle >/dev/null ; then