Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
36cc010a87 | ||
|
|
b1aaf5abe5 | ||
|
|
9b3dc57447 | ||
|
|
f7ce206212 | ||
|
|
0deacd8fc6 | ||
|
|
65cfcffa6f |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
# Built application files
|
# Built application files
|
||||||
build/
|
build/
|
||||||
|
*.apk
|
||||||
|
|
||||||
# Crashlytics configuations
|
# Crashlytics configuations
|
||||||
com_crashlytics_export_strings.xml
|
com_crashlytics_export_strings.xml
|
||||||
|
|||||||
@@ -14,31 +14,14 @@ android {
|
|||||||
applicationId "com.termux"
|
applicationId "com.termux"
|
||||||
minSdkVersion 21
|
minSdkVersion 21
|
||||||
targetSdkVersion 22
|
targetSdkVersion 22
|
||||||
versionCode 19
|
versionCode 20
|
||||||
versionName "0.19"
|
versionName "0.20"
|
||||||
}
|
|
||||||
|
|
||||||
signingConfigs {
|
|
||||||
release {
|
|
||||||
if (System.getenv("TRAVIS")) {
|
|
||||||
storeFile rootProject.file('travis.keystore')
|
|
||||||
storePassword 'abcdef'
|
|
||||||
keyAlias 'travis'
|
|
||||||
keyPassword 'abcdef'
|
|
||||||
} else {
|
|
||||||
storeFile new File(TERMUX_KEYSTORE_FILE)
|
|
||||||
storePassword TERMUX_KEYSTORE_PASSWORD
|
|
||||||
keyAlias TERMUX_KEYSTORE_ALIAS
|
|
||||||
keyPassword TERMUX_KEYSTORE_PASSWORD
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||||
signingConfig signingConfigs.release
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -119,7 +119,7 @@ public final class TerminalSession extends TerminalOutput {
|
|||||||
// Negated signal.
|
// Negated signal.
|
||||||
exitDescription += " with signal " + (-exitCode);
|
exitDescription += " with signal " + (-exitCode);
|
||||||
}
|
}
|
||||||
exitDescription += "]";
|
exitDescription += " - press Enter to close]";
|
||||||
|
|
||||||
byte[] bytesToWrite = exitDescription.getBytes(StandardCharsets.UTF_8);
|
byte[] bytesToWrite = exitDescription.getBytes(StandardCharsets.UTF_8);
|
||||||
mEmulator.append(bytesToWrite, bytesToWrite.length);
|
mEmulator.append(bytesToWrite, bytesToWrite.length);
|
||||||
|
|||||||
@@ -205,7 +205,10 @@ final class TerminalRenderer {
|
|||||||
final boolean strikeThrough = (effect & TextStyle.CHARACTER_ATTRIBUTE_STRIKETHROUGH) != 0;
|
final boolean strikeThrough = (effect & TextStyle.CHARACTER_ATTRIBUTE_STRIKETHROUGH) != 0;
|
||||||
final boolean dim = (effect & TextStyle.CHARACTER_ATTRIBUTE_DIM) != 0;
|
final boolean dim = (effect & TextStyle.CHARACTER_ATTRIBUTE_DIM) != 0;
|
||||||
|
|
||||||
int foreColorARGB = palette[foreColor];
|
// Let bold have bright colors if applicable (one of the first 8):
|
||||||
|
final int actualForeColor = foreColor + (bold && foreColor < 8 ? 8 : 0);
|
||||||
|
|
||||||
|
int foreColorARGB = palette[actualForeColor];
|
||||||
if (dim) {
|
if (dim) {
|
||||||
int red = (0xFF & (foreColorARGB >> 16));
|
int red = (0xFF & (foreColorARGB >> 16));
|
||||||
int green = (0xFF & (foreColorARGB >> 8));
|
int green = (0xFF & (foreColorARGB >> 8));
|
||||||
|
|||||||
BIN
gradle/wrapper/gradle-wrapper.jar
vendored
BIN
gradle/wrapper/gradle-wrapper.jar
vendored
Binary file not shown.
4
gradle/wrapper/gradle-wrapper.properties
vendored
4
gradle/wrapper/gradle-wrapper.properties
vendored
@@ -1,6 +1,6 @@
|
|||||||
#Fri Nov 06 00:04:44 CET 2015
|
#Tue Nov 17 21:52:59 CET 2015
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.8-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-2.9-bin.zip
|
||||||
|
|||||||
Reference in New Issue
Block a user