Commit Graph

83 Commits

Author SHA1 Message Date
Fredrik Fornwall
b1a3165438 termux-api.c: Minor cleanups 2016-04-24 22:11:42 +02:00
Fredrik Fornwall
1acf7001f9 termux-api.c: rand() -> arc4random() 2016-04-24 21:52:47 +02:00
Fredrik Fornwall
bb3266ca1e termux-api.c: Fix indentation 2016-04-24 21:46:12 +02:00
Fredrik Fornwall
8d6e165f62 termux-api: Cleanups and fix whitespace handling
Fixes https://github.com/termux/termux-api/issues/20
2016-04-20 11:34:54 +02:00
Fredrik Fornwall
c3c912e687 termux-vibrate: Cleanup 2016-04-20 01:00:08 +02:00
Fredrik Fornwall
3b43db5d96 termux-tts-speak: Cleanup
- Make it possible to specify text to speak either as argument or
  on stdin.
- Use proper option parsing and validation.
- Document options better.
2016-04-20 00:52:22 +02:00
Fredrik Fornwall
9043ae1c06 termux-tts-engines: Add -h support and validate 2016-04-20 00:40:14 +02:00
Fredrik Fornwall
0ec2b70462 termux-api: Start to cleanup api calling scripts
Start using shell built-in getops and remove long arguments.

Make both clipboard-set and sms-send either take argument or read
from stdin.  Fixes https://github.com/termux/termux-api/issues/14
2016-04-19 16:35:23 +02:00
Fredrik Fornwall
1b58032556 termux-api: Bump version to 0.15 2016-04-16 17:15:21 -04:00
Fredrik Fornwall
36ff0d1474 termux-vibrate: Fix help text for --duration 2016-04-16 17:14:49 -04:00
Fredrik Fornwall
8353c56c0b Modify setup in wrappers for /system/bin/ commands
On several devices several tools in /system/bin/ requires
LD_LIBRARY_PATH to contain /system/lib(64). Check for the bit-ness
with `getprop ro.product.cpu.abilist64`  and setup the environment
accordingly.

Closes #193.
Closes #206.
2016-04-10 20:20:17 -04:00
Fredrik Fornwall
8cd4ab4e6f termux-api: Ensure /system/bin/am_process in PATH
Closes https://github.com/termux/termux-api/issues/12
2016-03-22 11:14:56 -04:00
Fredrik Fornwall
08d717918a termux-api: Add termux-vibrate -f/--force option 2016-01-12 08:05:17 -05:00
Fredrik Fornwall
fa5ce6c493 termux-api: Handle path whitespace in termux-api
This closes #120.
2016-01-04 17:16:55 -05:00
Fredrik Fornwall
9228c43493 termux-api: Change termux-clipboard-set
Make termux-clipboard-set set the clipboard to the arguments if
given, and only take stdin as input if no arguments given.

Closes https://github.com/termux/termux-api/issues/8
2015-12-29 18:15:33 -05:00
Fredrik Fornwall
2810eedb42 Add --multi-line and --title options to termux-dialog
See https://github.com/termux/termux-app/issues/3
2015-10-27 02:14:37 +01:00
Fredrik Fornwall
abe8a8de2b Add --password flag to termux-dialog 2015-10-27 00:55:12 +01:00
Fredrik Fornwall
5b8f3e4af3 termux-notification: Improve argument handling 2015-08-14 15:44:19 -04:00
Fredrik Fornwall
cc1ae02e2e termux-api: Cleanup and put termux-api binary in libexec 2015-08-14 15:27:47 -04:00
Fredrik Fornwall
cd83eaf669 build-package.sh: Create $PREFIX/libexec 2015-08-14 14:42:04 -04:00
Fredrik Fornwall
879a9ab402 termux-api: Bump version 2015-07-30 21:19:50 -04:00
Fredrik Fornwall
2e395b5864 Fix termux-camera-photo 2015-07-29 04:17:38 +02:00
Fredrik Fornwall
17d445b3f3 termux-api: Add termux-toast 2015-07-29 04:09:18 +02:00
Fredrik Fornwall
2aa217bfd4 Update termux-camera-photo to new api 2015-07-29 03:55:54 +02:00
Fredrik Fornwall
1ee4335f4a termux-api: Add termux-share 2015-07-29 03:50:54 +02:00
Fredrik Fornwall
96015885ef termux-api: Updated package in termux-camera-photo
This fixes #2
2015-07-27 03:37:46 -04:00
Fredrik Fornwall
621ac5f19a termux-api: Fix mixup of tts methods 2015-07-26 20:35:04 -04:00
Fredrik Fornwall
3a8f9cc471 termux-tts-speak: Replace incorrect 'device-tts-engines' with 'termux-tts-engines' 2015-07-26 11:45:50 -04:00
Fredrik Fornwall
a0010caca3 Move termux-user from termux-api to termux-tools
Also add a am wrapper script which clears
LD_LIBRARY_PATH before calling /system/bin/am.
2015-07-18 05:42:44 -04:00
Fredrik Fornwall
7849e89bc6 termux-api: Add Werror 2015-07-15 19:30:22 -04:00
Fredrik Fornwall
f77975aa40 Update termux-api 2015-06-30 18:56:50 -04:00
Fredrik Fornwall
c409b567ca Fix termux-dialog command 2015-06-30 15:35:44 -04:00
Fredrik Fornwall
59f0d218a6 Initial push 2015-06-13 01:03:31 +02:00