Fredrik Fornwall
0714e435cb
Do not show a Toast on clipboard text
...
Fixes https://github.com/termux/termux-app/issues/149 .
2017-05-15 23:42:13 +02:00
Fredrik Fornwall
c26315185f
Export TMPDIR to $PREFIX/tmp
...
Fixes https://github.com/termux/termux-packages/issues/1010 .
Fixes https://github.com/termux/termux-app/issues/306 .
2017-05-15 23:40:55 +02:00
Fredrik Fornwall
adc43c40c5
Perform haptic feedback on extra keys
...
Fixes #269 .
2017-04-16 12:18:13 +02:00
Fredrik Fornwall
63adb2b132
Rename TerminalKeyListener to TerminalViewClient
2017-04-02 14:25:34 +02:00
Fredrik Fornwall
009de5a3ee
Split up into modules and add float module
...
Split the app/ module into three modules
terminal/ - Terminal emulator library module.
view/ - Terminal view library module (depending on terminal/).
app/ - The main Termux app (depending on view/).
Also add the
float/ - The Termux:Float app (depending on view/).
2017-04-01 19:06:02 +02:00
Fredrik Fornwall
41d0d60017
Respect content type termux-open for url:s
2017-03-28 23:52:52 +02:00
Fredrik Fornwall
835dfc0276
Avoid synthetic accessor method
2017-03-06 01:53:09 +01:00
Fredrik Fornwall
f60316835f
Fix some android studio lint warnings
2017-03-06 01:47:08 +01:00
Fredrik Fornwall
f74a091be6
Remove useless continue statement
2017-03-06 01:44:16 +01:00
Fredrik Fornwall
dd6cb5221d
Work around Android < 7.0 wifi manager leak
...
http://tools.android.com/tech-docs/lint-in-studio-2-3#TOC-WifiManager-Leak
2017-03-06 01:42:33 +01:00
Fredrik Fornwall
11ed7e45d8
Fix crash when opening URL:s in Android < 7.0
...
In versions of Android earlier than 7.0 the FLAG_ACTIVITY_NEW_TASK
is needed when starting an activity from a non-activity context.
This was removed in Android 7.0 (possibly by mistake), see
https://code.google.com/p/android/issues/detail?id=226647 .
Fixes #802
2017-03-02 00:29:17 +01:00
Fredrik Fornwall
fc92a27cb2
Extended keyboard: allow inline input
...
Ff the buffer is empty, send a newline, otherwise send the content of
the buffer with the newline stripped. This way <Enter><Enter> means
"insert the buffer content and send a newline", while a single <Enter>
means just "insert the buffer content". Fixes #261 .
2017-02-28 00:42:36 +01:00
Fredrik Fornwall
29e62e608f
Use standard actions
2017-02-28 00:42:07 +01:00
Fredrik Fornwall
8a7f93d722
Launch $PREFIX/bin/login by default
...
The login command takes care of both showing the etc/motd and
launching the login shell.
2017-02-28 00:41:20 +01:00
Fredrik Fornwall
420683fe65
Add built-in broadcast receiver to open files
2017-02-27 22:31:11 +01:00
Fredrik Fornwall
528a05ef61
Remove the welcome dialog
...
Instead of a modal dialog to be dismissed without any way to recall
it, the initial information will be shown in the terminal itself.
2017-02-04 11:31:04 +01:00
Fredrik Fornwall
d0eeaa9fc3
Call completeWakefulIntent() in Termux service
2016-12-30 02:42:41 +01:00
Fredrik Fornwall
11afe895e1
Try with a bit shorter process completed messages
2016-12-30 02:38:41 +01:00
Fredrik Fornwall
7c0ae4cb54
Remove the bell shake animation
...
Fixes https://github.com/termux/termux-packages/issues/628
Fixes https://github.com/termux/termux-app/issues/222
2016-12-30 01:53:07 +01:00
Fredrik Fornwall
b917acbbfa
Do not use IME_ACTION_NONE in the inputconnection
...
Using IME_ACTION_NONE prevents enter key to be used with the stock
Android TV keyboard.
Fixes #221 .
2016-12-30 01:42:47 +01:00
Fredrik Fornwall
7d9d6fb797
Translate \n to \r when receiving text from an IME
...
Fixes issue with fzf and return using the stock cyanogenmod
keyboard reported by @mklein994 on gitter.
2016-12-30 00:45:11 +01:00
Fredrik Fornwall
af21b6dc3e
Remove unused variable. Use Collections.addAll()
2016-12-28 01:19:57 +01:00
Fredrik Fornwall
23333c074a
Fix NPE regression in version 0.44
2016-12-27 10:42:41 +01:00
Fredrik Fornwall
df92896eef
Add Android 7.1 launcher shortcut for new session
2016-12-26 04:07:03 +01:00
Fredrik Fornwall
4c93cb42f1
Use constant for intent extra key
2016-12-26 00:57:09 +01:00
Fredrik Fornwall
34afb9de43
Give up on using vector drawables for launch icons
...
Instead use svg files in art/ and a script to build the png files.
2016-12-24 01:05:33 +01:00
Fredrik Fornwall
b6ea29d260
Remove duplicate updateNotification() calls
2016-12-24 00:25:24 +01:00
Fredrik Fornwall
d12256f5e5
Add flags to imeOptions
...
Add IME_FLAG_NO_ENTER_ACTION and IME_ACTION_NONE. I haven't
encountered any issue without them, but specifying them is correct.
2016-12-04 17:32:40 +01:00
Fredrik Fornwall
9c19540759
Keep track of background tasks
...
Also merge wake lock and wifi lock into one, and make it exposed to
termux-wake-lock and termux-wake-unlock commands.
2016-12-04 04:37:13 +01:00
Fredrik Fornwall
9fe0e49473
Render cursor color&shapes (underline and ibeam)
...
Allow the cursor to be colored by the theme, and support rendering
underline and ibeam cursor styles.
2016-12-04 01:06:50 +01:00
Fredrik Fornwall
357b17e972
Improve setup of symlinks to external storage
...
The context.getExternalFilesDirs(null) call may return several
elements, and some of them may be null.
2016-12-04 01:04:19 +01:00
Fredrik Fornwall
6334470f81
Try to handle Samsung keyboard better
...
The stock Samsung keyboard with 'Auto check spelling' enabled may
send multiple backspaces. Note that this auto-correction of
spelling will not work good in general with a terminal, so should
be disabled (or another keyboard used) when using Termux.
2016-11-28 00:26:37 +01:00
Fredrik Fornwall
70245eb78c
Use BackgroundJob.setupProcessArgs for sessions
2016-11-23 01:55:29 +01:00
Fredrik Fornwall
0c8cd90f4e
Use $PREFIX/bin/sh for script file without shebang
...
Also try to handle #!(/usr)/bin/foo shebangs.
2016-11-20 16:43:27 +01:00
Fredrik Fornwall
883be37b98
Add a shake animation on a terminal bell
2016-11-19 15:41:24 +01:00
Fredrik Fornwall
a0fa51eb92
Start work on background jobs
2016-10-26 02:26:44 +02:00
Fredrik Fornwall
8ad7a6669c
Switch a commit() to apply() for shared prefs
2016-10-16 00:13:35 +02:00
Fredrik Fornwall
60f7aada9e
Remove logging at info level
2016-10-16 00:13:04 +02:00
Fredrik Fornwall
6aa0492434
Add @NonNull annotation
2016-10-16 00:12:42 +02:00
Fredrik Fornwall
283792af5e
Refresh listview after changing session name
2016-09-27 00:29:08 +02:00
Fredrik Fornwall
426ddbacbd
Remove useless casts
2016-09-16 23:17:47 +02:00
Fredrik Fornwall
7e1f8a551f
Change VolumeUp+H to generate ~
...
Using VolumeUp+H to generate a tilde (~) is more useful than
sending the home key.
Fixes #151 .
2016-09-16 23:15:27 +02:00
Fredrik Fornwall
e169af0447
Change shortcuts from Ctrl+Shift to Ctrl+Alt
...
This works on more language layouts and devices.
Fixes #145 .
2016-09-16 23:12:56 +02:00
Fredrik Fornwall
a2cb3fafee
Fix numpad 0 and . key handling
...
Fixes #146 .
2016-09-05 23:11:25 +02:00
Fredrik Fornwall
c1a9b7726f
Tweak InputConnection implementation
2016-09-04 18:56:28 +02:00
Fredrik Fornwall
afb339e9d8
Format code
2016-08-30 13:47:30 +02:00
Fredrik Fornwall
64c23f498f
Implement true (24-bit) color
2016-08-27 00:32:38 +02:00
Fredrik Fornwall
1dc92b2a12
Remove unused imports
2016-08-22 16:54:55 +02:00
Fredrik Fornwall
8d00f22d4c
Catch KEYCODE_MOVE_HOME and not KEYCODE_HOME
...
The KEYCODE_HOME event is handled by the system and never delivered
to applications, it's KEYCODE_MOVE_HOME (FN+LeftArrow) we want to
handle ourselves and send as an escape sequence.
Fixes #138 .
2016-08-12 04:18:09 +02:00
Fredrik Fornwall
5532421ab2
Check arches in order of preference
...
The documentation for Build.SUPPORTED_ABIS says:
"An ordered list of ABIs supported by this device. The most preferred
ABI is the first element in the list."
Respect that preference when checking for which arch to install
packages for.
Fixes #131 .
2016-08-08 23:22:47 +02:00