Commit Graph

1174 Commits

Author SHA1 Message Date
85647b14e7 Read description for info
# Commits from Termux for Terminal backend

##  Implement CSI 3 J - Clear transcript
* 2a36b915cb

## Avoid joining lines for shared transcript
* 370ac2bd89

* All of this is needed so our terminal backend is up to date and works as needed
* If theres better method to give credit then lemme know.
2023-01-08 20:42:34 +02:00
a9ec59f0af FROM: termux-app/commit/4c47f4f732c9d5e15df6536fa357ff43d0223b07
Fixed: Fix CSI parameters parsing like for SGR sequences that start w…

…ith a  or have sequential  characters

https://vt100.net/docs/vt510-rm/chapter4.html#S4.3.3

https://en.wikipedia.org/wiki/ANSI_escape_code#CSI_(Control_Sequence_Introducer)_sequences

Credits for finding the issue belongs to @Screwtapello

* 4c47f4f732
2023-01-08 19:54:54 +02:00
4a896cf2b3 Re-move text size bubble to setTextSize function
* Before the toast showed in these conditions: open keyboard, open extra keys
    * now it shows only when actual size of terminal text size is changed with gestures.
2023-01-08 19:41:31 +02:00
a9cb20ca63 Changes for toolbar + add new tab icon
* Add white tab icon so its more visible in tab view
* Add separate style entry for toolbar ( for better styling later on )
2023-01-08 19:37:27 +02:00
19d02b409f Changes for settings
* Remove un-related options from seetings that we wont use ( we use chroot system's su to open shell with proper env exports )
* Some misc change for shortcuts option
2023-01-08 19:14:34 +02:00
8120184b00 Show text size when resizing the window
* Add Toast bubble to show new text size when resizing terminal view
2023-01-08 18:59:33 +02:00
20acc4953a Force add bin assets
* For some reason git didnt add it when git add was issued with -A, needed -f for these
2023-01-08 10:01:12 +02:00
1b23b1bc05 Remove X-sessions stat from notifications
* As we can do X-sessions in android userland then it was added by NeoTerm, but we do things under chroot so we cant take advantage with Xorg here.
* Maybe with wayland with node mountpoints but thats for the future ( as i got some sessions with wayland under chroot natively before, it was hacky and pretty broken but it worked ).
2022-12-29 21:39:36 +02:00
8eb59e8910 Make sure to remove NeoTerm strings when starting...
The app via intent on start
2022-12-29 21:03:12 +02:00
1185274e6e Change author/copyright string for FiraCode 2022-12-29 21:01:07 +02:00
a9fcc00fbf Changes related to following things
* Update easteregg logo
* Add Fira Code font
* Add Kali terminal color scheme
* Include needed images from kali theme repo
* Change default font and color scheme
2022-12-29 20:56:53 +02:00
dbacafe711 Add kali terminal color-scheme 2022-12-29 18:06:11 +02:00
e6c45075ea Move icon resources from debug over to main
* Why and when did android-studio start to separate these???
2022-12-28 23:59:11 +02:00
857503fc29 Added needed changes for gitlab-ci V2
* Now it works again
2022-12-28 23:47:43 +02:00
d239ca1304 Added needed changes for gitlab-ci
* Now it works again
2022-12-28 23:31:02 +02:00
7742bd3d46 Changes to AboutUI
* Rework how reset is done
2022-12-28 20:36:03 +02:00
21eecb288a Use launcher round icon for service icon 2022-12-28 20:22:18 +02:00
8673bbba80 Rewrite README ( minimal ) 2022-12-28 20:14:16 +02:00
1e0a2ce972 Rename module app -> nhterm 2022-12-28 19:48:57 +02:00
54002c6310 Disable RTL fully
* Disabled as it made the whole UI look a bit weird + extrakeys left and right button got swapped as of it
2022-12-28 19:45:43 +02:00
e5fd18a69d Theming, icons, misc changes
* Chnage theming + use old terminal icons
* Changes to about section and add NetTerm under notices
* Fix toolbar/extrakeys vibration onclick
2022-12-28 18:48:22 +02:00
319e18ed41 Actually clear display when issuing clear
* From: 2a36b915cb
2022-12-28 16:11:53 +02:00
a0f3bea38e .nhterm path change + add SU shell
* In last commit home waws set to / so we need to change the .nhterm location that saves config + theme files to /data/data/com.offsec.nhterm/files/usr/home
* Also add Android SU shell that will be in bash env
2022-12-28 16:04:39 +02:00
98dd587547 Changes to asset extractor + ...
* Set System session HOME to / ( nonroot + root )
* Let startup_assets reset assets fully on startup
2022-12-28 15:41:03 +02:00
f783a39f31 Some side fixes and changes
* Make sure to delay initialcommand properly so all sessions get it
* Separate asset extraction to function
* Finish off bridge and add needed changes to NeoTermRemoteInterface.kt
2022-12-28 13:59:38 +02:00
ee6dc6485f Ready for basic NetHunter usage
* Can take intents without permissions from nhapp ( both apps need to besigned with same key for shareduserid usage )
* Terminal now uses chroot env as default session ( also has system session in menu for system shell usage )
* Disabled setup on start and added static bash + kali script for terminal to use ( uses it to start kali chroot env on start )
    * these 2 are extarcted on app start for new users
* And more changes to session environment to make sessions have proper env flags/exports
* possibly more little things that i forgot to mention
2022-12-28 12:53:43 +02:00
097df07ec5 io.neoterm -> com.offsec.nhterm
* Refactor the package name
* Target api 30 with min as 26
* Fix kotlin issues after new api target
2022-12-27 23:21:57 +02:00
414c6722ee New terminal based on NeoTerm
* From: https://github.com/NeoTerrm/NeoTerm
* Base commit: 236072395ce056d2d2cccf950d3f243f099a178f
* LICENSE: GPL-3.0

* This will also need changes in nethunter app itself too!
2022-12-27 20:31:07 +02:00
Re4son
cc5c2dab04 Merge branch 'nethunter' into 'master'
Move nethunter branch to master

See merge request kalilinux/nethunter/apps/kali-nethunter-term!15
2020-11-29 03:27:08 +00:00
Re4son
f86b69bee8
fix CI build
Signed-off-by: Re4son <3520622-re4son@users.noreply.gitlab.com>
2020-11-29 14:03:13 +11:00
Re4son
be293ccc55 Merge branch '2020.4-dev' into nethunter 2020-11-29 12:20:34 +11:00
Re4son
b444e42138 Bump to 2020.4 (2020040100 Release) 2020-11-08 00:22:21 +00:00
Re4son
ce7f68910d Merge branch 'nethunter' into 'master'
Nethunter

See merge request kalilinux/nethunter/apps/kali-nethunter-term!13
2020-08-23 10:29:46 +00:00
Re4son
1db128e17a Merge branch 'master' into 'nethunter'
# Conflicts:
#   .gitlab-ci.yml
2020-08-23 09:47:33 +00:00
Re4son
c64ca1eb55
Fix paste
Closes !12

Signed-off-by: Re4son <3520622-re4son@users.noreply.gitlab.com>
2020-08-23 19:42:55 +10:00
Re4son
ee9426504d Update .gitlab-ci.yml to NDK v29 2020-08-16 07:58:51 +00:00
Re4son
0d75869c62 Bump ndk version to 29 for nethunter branch 2020-06-28 10:35:33 +00:00
Re4son
9d7fb1bd19 Update .gitlab-ci.yml 2020-06-28 10:28:08 +00:00
Re4son
5cee890ffd Fix build issues 2020-06-28 10:21:54 +00:00
Re4son
431c5e572d Merge branch 'patch-2' into 'master'
Update .gitlab-ci.yml to make the build working

See merge request kalilinux/nethunter/apps/kali-nethunter-term!10
2020-06-28 10:17:51 +00:00
PaulSec
69092111d3 Update .gitlab-ci.yml to make the build working 2020-06-28 10:08:58 +00:00
Re4son
170c0e8680
Bump to 2020.3
Signed-off-by: Re4son <3520622-re4son@users.noreply.gitlab.com>
2020-06-28 11:27:38 +10:00
Re4son
aa91931ead auto build release in nethunter branch
Signed-off-by: Re4son <3520622-re4son@users.noreply.gitlab.com>
2020-06-27 19:25:31 +10:00
Re4son
bec84025c1 Add .gitlab-ci.yml
Signed-off-by: Re4son <3520622-re4son@users.noreply.gitlab.com>
2020-06-27 19:23:40 +10:00
simonpunk
7003323a38 Merge branch 'nethunter-dev' into 'nethunter'
Nethunter dev - 2020.3

See merge request kalilinux/nethunter/apps/kali-nethunter-term!8
2020-06-21 13:53:31 +00:00
simonpunk
90d1ea0485 Fixed Ctrl key not working using volumn down key, and revert the change of changing the background of ctrl key shortcut button when it is toggled. 2020-06-21 13:53:31 +00:00
Re4son
49d55dd422 Merge branch 'nethunter-dev' into 'nethunter'
Nethunter dev

See merge request kalilinux/nethunter/apps/kali-nethunter-term!7
2020-06-14 05:22:30 +00:00
simonpunk
6656af1a64 Added zoom in zoom out to change font size. 2020-06-14 12:36:54 +08:00
simonpunk
fb189f338a Fixed Ctrl key not detected by default system keyboard input method.
If user is using default system keyboard input method, the committext() is called,
otherwise, the sendKeyEvent() is called instead. So it needs to be handled different way.

Also I still find no other way to send the meta key combination without using KeyEvent(),
and only one meta key is allowed to be combined at a time for now.
2020-06-13 12:34:08 +08:00
simonpunk
c331e2a418 Fixed app takes too long to prompt user for opening new session.
Whenever the device is reboot, the app can not receive the broadcast intent sent by sendOrderedBroadcast() immediately,
that broadcast intent is pending way a lot behind other broadcast intent.

The solution can be founded here -> https://stackoverflow.com/questions/44516173/broadcasts-are-delayed
2020-06-12 16:21:41 +08:00