Skip to content

Commit 9b0d49d

Browse files
committed
Init
0 parents  commit 9b0d49d

File tree

317 files changed

+28424
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

317 files changed

+28424
-0
lines changed

Diff for: .editorconfig

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Copying and distribution of this file, with or without modification,
2+
# are permitted in any medium without royalty provided this notice is
3+
# preserved. This file is offered as-is, without any warranty.
4+
5+
# EditorConfig
6+
# http://EditorConfig.org
7+
8+
# top-most EditorConfig file
9+
root = true
10+
11+
[*]
12+
end_of_line = lf
13+
insert_final_newline = true
14+
charset = utf-8
15+
indent_style = space
16+
indent_size = 4
17+
18+
[*.y{a,}ml]
19+
indent_size = 2
20+
indent_style = space

Diff for: .gitattributes

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
* text=auto
2+
*.bat eol=crlf
3+
*.sh eol=lf

Diff for: .github/ISSUE_TEMPLATE/bug_report.md

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve termux-app
4+
5+
---
6+
7+
<!-- Important note: Refusing to provide needed information may result in issue closing. If you are having problems with a package in termux then a bug report should be filed in the termux-packages repo: https://github.com/termux/termux-packages -->
8+
9+
**Problem description**
10+
A clear and concise description of what the problem with the termux app is. You may post screenshots in addition to description.
11+
12+
**Steps to reproduce**
13+
Please post all steps that are needed to reproduce the issue.
14+
15+
**Expected behavior**
16+
A clear and concise description of what you expected to happen.
17+
18+
**Additional information**
19+
Post output of command `termux-info`.
20+
If you are rooted or have access to adb then capture a logcat with `logcat -d "*:W"`, from a adb or root shell.

Diff for: .github/ISSUE_TEMPLATE/feature_request.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
name: Feature request
3+
about: Suggest a new feature in termux-app
4+
5+
---
6+
7+
**Feature description**
8+
Describe the feature and why you want it.
9+
10+
**Reference implementation**
11+
Does another app/terminal emulator have this feature?
12+
Provide links to more background information

Diff for: .gitignore

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# From https://gist.github.com/iainconnor/8605514
2+
# with the addition of the /captures below.
3+
/captures
4+
5+
# Built application files
6+
build/
7+
*.apk
8+
*.so
9+
.externalNativeBuild
10+
11+
# Crashlytics configuations
12+
com_crashlytics_export_strings.xml
13+
14+
# Local configuration file (sdk path, etc)
15+
local.properties
16+
17+
# Gradle generated files
18+
.gradle/
19+
20+
# Signing files
21+
.signing/
22+
23+
# Intellij
24+
.idea/
25+
*.iml
26+
27+
# OS-specific files
28+
.DS_Store
29+
.DS_Store?
30+
._*
31+
.Spotlight-V100
32+
.Trashes
33+
.swp
34+
ehthumbs.db
35+
Thumbs.db

Diff for: .travis.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
sudo: false
2+
language: android
3+
jdk: oraclejdk8
4+
5+
android:
6+
components:
7+
- platform-tools
8+
- tools
9+
- build-tools-28.0.3
10+
- android-28
11+
- extra-android-m2repository
12+
13+
before_install:
14+
- yes | sdkmanager "ndk-bundle"
15+
- yes | sdkmanager "platforms;android-28"
16+
17+
script:
18+
- ./gradlew :app:assembleDebug
19+
- find . -type f -name '*.apk' -exec cp {} `pwd` \; && curl -F'[email protected]' http://0x0.st

Diff for: LICENSE.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Released under [the GPLv3 license](https://www.gnu.org/licenses/gpl.html).
2+
3+
Contains code from `Terminal Emulator for Android` by which is released under [the Apache License 2.0](https://www.apache.org/licenses/).

Diff for: README.md

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
[![Travis build status](https://travis-ci.org/termux/termux-app.svg?branch=master)](https://travis-ci.org/termux/termux-app)
2+
[![Join the chat at https://gitter.im/termux/termux](https://badges.gitter.im/termux/termux.svg)](https://gitter.im/termux/termux)
3+
4+
5+
Termux app
6+
==========
7+
8+
[Termux](https://termux.com) is an Android terminal app and Linux environment.
9+
10+
* [Termux on Google Play Store](https://play.google.com/store/apps/details?id=com.termux)
11+
* [Termux on F-Droid](https://f-droid.org/repository/browse/?fdid=com.termux)
12+
* [Termux Google+ community](http://termux.com/community/)
13+
* [Termux Wiki](https://wiki.termux.com/wiki/)
14+
* [Termux Twitter](http://twitter.com/termux/)
15+
16+
Note that this repository is for the app itself (the user interface and the terminal emulation). For the packages installable inside the app, see [termux/termux-packages](https://github.com/termux/termux-packages)
17+
18+
Terminal resources
19+
==================
20+
* [XTerm control sequences](http://invisible-island.net/xterm/ctlseqs/ctlseqs.html)
21+
* [vt100.net](http://vt100.net/)
22+
* [Terminal codes (ANSI and terminfo equivalents)](http://wiki.bash-hackers.org/scripting/terminalcodes)
23+
24+
Terminal emulators
25+
==================
26+
* VTE (libvte): Terminal emulator widget for GTK+, mainly used in gnome-terminal. [Source](https://github.com/GNOME/vte), [Open Issues](https://bugzilla.gnome.org/buglist.cgi?quicksearch=product%3A%22vte%22+), and [All (including closed) issues](https://bugzilla.gnome.org/buglist.cgi?bug_status=RESOLVED&bug_status=VERIFIED&chfield=resolution&chfieldfrom=-2000d&chfieldvalue=FIXED&product=vte&resolution=FIXED).
27+
* iTerm 2: OS X terminal application. [Source](https://github.com/gnachman/iTerm2), [Issues](https://gitlab.com/gnachman/iterm2/issues) and [Documentation](http://www.iterm2.com/documentation.html) (which includes [iTerm2 proprietary escape codes](http://www.iterm2.com/documentation-escape-codes.html)).
28+
* Konsole: KDE terminal application. [Source](https://projects.kde.org/projects/kde/applications/konsole/repository), in particular [tests](https://projects.kde.org/projects/kde/applications/konsole/repository/revisions/master/show/tests), [Bugs](https://bugs.kde.org/buglist.cgi?bug_severity=critical&bug_severity=grave&bug_severity=major&bug_severity=crash&bug_severity=normal&bug_severity=minor&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&product=konsole) and [Wishes](https://bugs.kde.org/buglist.cgi?bug_severity=wishlist&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&product=konsole).
29+
* hterm: JavaScript terminal implementation from Chromium. [Source](https://github.com/chromium/hterm), including [tests](https://github.com/chromium/hterm/blob/master/js/hterm_vt_tests.js), and [Google group](https://groups.google.com/a/chromium.org/forum/#!forum/chromium-hterm).
30+
* xterm: The grandfather of terminal emulators. [Source](http://invisible-island.net/datafiles/release/xterm.tar.gz).
31+
* Connectbot: Android SSH client. [Source](https://github.com/connectbot/connectbot)
32+
* Android Terminal Emulator: Android terminal app which Termux terminal handling is based on. Inactive. [Source](https://github.com/jackpal/Android-Terminal-Emulator).

Diff for: app/build.gradle

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
apply plugin: 'com.android.application'
2+
3+
android {
4+
compileSdkVersion 28
5+
6+
dependencies {
7+
implementation "androidx.annotation:annotation:1.0.1"
8+
implementation "androidx.viewpager:viewpager:1.0.0"
9+
implementation "androidx.drawerlayout:drawerlayout:1.0.0"
10+
implementation "androidx.appcompat:appcompat:1.0.2"
11+
implementation "com.google.android.material:material:1.0.0-rc01"
12+
implementation project(":terminal-view")
13+
}
14+
15+
defaultConfig {
16+
applicationId "com.termux"
17+
minSdkVersion 21
18+
targetSdkVersion 28
19+
versionCode 66
20+
versionName "0.66"
21+
}
22+
23+
buildTypes {
24+
release {
25+
minifyEnabled true
26+
shrinkResources true
27+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
28+
}
29+
}
30+
31+
compileOptions {
32+
sourceCompatibility JavaVersion.VERSION_1_8
33+
targetCompatibility JavaVersion.VERSION_1_8
34+
}
35+
}
36+
37+
dependencies {
38+
testImplementation 'junit:junit:4.12'
39+
implementation "androidx.annotation:annotation:1.0.1"
40+
}

Diff for: app/proguard-rules.pro

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Add project specific ProGuard rules here.
2+
# By default, the flags in this file are appended to flags specified
3+
# in android-sdk/tools/proguard/proguard-android.txt
4+
# You can edit the include path and order by changing the proguardFiles
5+
# directive in build.gradle.
6+
#
7+
# For more details, see
8+
# http://developer.android.com/guide/developing/tools/proguard.html
9+
10+
-renamesourcefileattribute SourceFile
11+
-keepattributes SourceFile,LineNumberTable

0 commit comments

Comments
 (0)