Commit Graph

  • afc06cfd0a Added|Changed!: Add TermuxAppShellEnvironment and TermuxAPIShellEnvironment to export Termux and Termux:API app variables in TermuxShellEnvironment agnostic-apollo 2022-06-11 19:48:26 +05:00
  • 9749360caa Added: Add UnixShellEnvironment.LOGIN_SHELL_BINARIES variable for common/supported login shell binaries searched and add fish and sh shell as additional backups agnostic-apollo 2022-06-11 19:29:24 +05:00
  • 29d05cc72c Changed: All ExecutionCommands not managed by TermuxShellManager should have id -1 agnostic-apollo 2022-06-11 19:25:45 +05:00
  • 2998558e9f Added: Add support in AppShell and TermuxSession for caller to add/override additional environment variables not added by IShellEnvironment.setupShellCommandEnvironment() agnostic-apollo 2022-06-11 19:23:53 +05:00
  • 13d93ccac7 Added: Add TermuxShellManager to manage all termux app wide shells agnostic-apollo 2022-06-11 19:18:40 +05:00
  • f102ea20b2 Added|Changed!: Implement new design for shell environment generation and add support for MIT licensed shell environment client agnostic-apollo 2022-06-11 19:08:20 +05:00
  • 0328d15ea7 Fixed: Fix duplicate logging of file word in FileUtils.copyOrMoveFile() agnostic-apollo 2022-06-11 14:24:26 +05:00
  • f9e9193c4e Added: Add package APK_PATH, SE_PROCESS_CONTEXT, SE_FILE_CONTEXT and SE_INFO when generating app info markdown string agnostic-apollo 2022-06-11 14:15:33 +05:00
  • 790481b802 Added: Add functions to PackageUtils to get base APK path of package agnostic-apollo 2022-06-11 14:12:58 +05:00
  • 1788013c80 Added: Add functions to PackageUtils to get seInfo and seInfoUser of package agnostic-apollo 2022-06-11 14:11:58 +05:00
  • 5759411109 Added: Add SELinuxUtils to get process and file paths security contexts agnostic-apollo 2022-06-11 14:10:34 +05:00
  • 0fd354a469 Changed: Ensure TermuxSession executable is null if its empty so that login shell can start agnostic-apollo 2022-06-11 13:55:49 +05:00
  • 042487c2b4 Changed: Ensure AppShell executable is not null before trying to execute it agnostic-apollo 2022-06-11 13:52:10 +05:00
  • b96fcb78fd Changed: Update termux twitter to https://twitter.com/termuxdevs agnostic-apollo 2022-06-09 17:23:37 +05:00
  • 9547869a52 Changed: Update funding link to https://termux.dev/donate agnostic-apollo 2022-06-04 15:35:05 +05:00
  • d29e20b0d0 Removed: Remove Termux game, root, science, unstable and x11 repo links since they have all been merged with https://github.com/termux/termux-packages agnostic-apollo 2022-06-04 15:23:15 +05:00
  • 0c22067b5e Added|Changed: Add termux site url and change donate url to https://termux.dev/donate agnostic-apollo 2022-06-04 15:13:37 +05:00
  • d287734aba Added|Changed!: Rename SESSION_NAME and SESSION_CREATE_MODE to SHELL_NAME and SHELL_CREATE_MODE and add support for ShellCreateMode to AppShells agnostic-apollo 2022-06-03 12:09:11 +05:00
  • 46cfea09ec Added: Add support for plugin apps to set TERMUX_APP_PACKAGE_VARIANT and TERMUX_APP_PACKAGE_MANAGER from Termux app APK BuildConfig.TERMUX_PACKAGE_VARIANT agnostic-apollo 2022-06-01 00:09:10 +05:00
  • 980bf8f0ae Added: Add support to get termux app package context with code classloader for plugin usage agnostic-apollo 2022-06-01 00:06:05 +05:00
  • 231ecff5f0 Changed: Do not modify code points for virtual or soft keyboard events agnostic-apollo 2022-05-29 22:44:57 +05:00
  • c1c46dfcfc Changed: Change TERMUX_APP.APPS_DIR_PATH basename from termux-app to com.termux agnostic-apollo 2022-05-29 08:28:20 +05:00
  • 37f08c4fcc Fixed: Fix Settings.ACTION_* permission requests for non-activity contexts agnostic-apollo 2022-05-29 07:26:53 +05:00
  • a50387b553 Changed: Change termux support email from termuxreports@groups.io to support@termux.dev agnostic-apollo 2022-05-29 07:25:08 +05:00
  • 30cb848639 Fixed: Do not setup plugin and crash notification channel on API < 24 since NotificationManager.IMPORTANCE_HIGH requires API 24 agnostic-apollo 2022-05-29 06:54:01 +05:00
  • b04f209f17 Added: Add TERMUX_DEVS key SHA-256 digest to official signing keys list agnostic-apollo 2022-04-29 18:07:57 +05:00
  • 7b222ba392 Changed: Export correct PATH and also export LD_LIBRARY_PATH for apt-android-5 variant instead of on Android 5/6 agnostic-apollo 2022-04-29 04:26:17 +05:00
  • 899ef71e17 Changed: Bump android-7 bootstraps to v2022.04.28-r5 Henrik Grimler 2022-04-28 22:44:07 +02:00
  • 4d084c02e7 Changed: Bump android-5 bootstraps to v2022.04.28-r6 Henrik Grimler 2022-04-28 21:54:18 +02:00
  • 18a1a33e83 Added: Enable TERMUX_PACKAGE_VARIANT apt-android-5 builds agnostic-apollo 2022-04-28 10:22:38 +05:00
  • 7677633e8f Fixed: Catch UnsatisfiedLinkError for local-socket library agnostic-apollo 2022-04-28 10:21:59 +05:00
  • 007bef8132 Added: Add message to bootstrap error if user installed termux on portable/external/removable sd card since its not supported on some devices agnostic-apollo 2022-04-26 03:28:20 +05:00
  • 5290ce1f77 Added|Fixed: Add TermuxNotificationUtils.getTermuxOrPluginAppNotificationBuilder() helper function and fix notification icon drawable resource id issue on Android 5 agnostic-apollo 2022-04-26 02:40:12 +05:00
  • ab9b620c88 Added: Add ResourceUtils to get resource ids from names agnostic-apollo 2022-04-26 02:36:45 +05:00
  • 4e08f76fd2 Changed: Export correct PATH and also export LD_LIBRARY_PATH for Android 5/6 since packages won't use DT_RUNPATH agnostic-apollo 2022-04-26 02:35:43 +05:00
  • c549988434 Fixed: Fix broken javadocs links agnostic-apollo 2022-04-26 02:33:51 +05:00
  • 55dcd09a09 Fixed: Fixed extra keys not showing properly on Android 5 agnostic-apollo 2022-04-26 02:33:21 +05:00
  • 677a580042 Changed: Add general compatibility fixes for minSdkVerion 21 agnostic-apollo 2022-04-26 02:31:21 +05:00
  • fa829623a8 Added: Add ViewUtils.pxToDp() agnostic-apollo 2022-04-26 02:05:22 +05:00
  • 14e9a8b6fc Changed: Use float dp parameter instead of int for ViewUtils.dpToPx() to not lose precision agnostic-apollo 2022-04-26 02:04:49 +05:00
  • a1719d91b3 Changed: Bump termux-am-library to 2.0.0 that uses minSdkVersion 21 agnostic-apollo 2022-04-26 02:03:14 +05:00
  • 9143ebdc22 Changed: Enable desugaring support to enable support for new language APIs like Java 8 on old android versions agnostic-apollo 2022-04-26 02:02:26 +05:00
  • 623aaebb4a Changed: Bump down minSdkVersion from 24 to 21 to restart supporting android 5/6 for the time being agnostic-apollo 2022-04-26 02:00:26 +05:00
  • 6213b7f782 Changed: Use double quotes instead of single quotes for all gradle dependencies agnostic-apollo 2022-04-26 01:49:11 +05:00
  • 0b4f456132 Changed: Write only our open collective to FUNDING.yml Henrik Grimler 2022-05-23 21:59:23 +02:00
  • b950efec27 Added: Add support for TERMUX_APP_PACKAGE_MANAGER and TERMUX_APP_PACKAGE_VARIANT to build APKs with different package manager configurations agnostic-apollo 2022-04-28 09:33:20 +05:00
  • 4b3b1a5b6a Changed: Bump bootstrap to v2022.04.22-r1 agnostic-apollo 2022-04-23 01:49:36 +05:00
  • 7f7d889dd0 Fixed: Fix proguard removing JNI used methods for release builds agnostic-apollo 2022-04-20 02:08:58 +05:00
  • 53f26c9659 Changed: Refactor am socket server agnostic-apollo 2022-04-18 04:49:47 +05:00
  • 2aa7f43d1c Added|Changed|Fixed: Refactor local socket server implementation and make client handling abstract agnostic-apollo 2022-04-18 04:36:07 +05:00
  • 5f8a922201 Added: Allow users to disable termux-am server agnostic-apollo 2022-04-17 08:14:18 +05:00
  • 9a71074c7d Added: Add function to ProcessUtils to get app process name for a pid from ActivityManager agnostic-apollo 2022-04-17 07:59:24 +05:00
  • 69cc65c3ac Added: Add functions to UserUtils to get user name for user id from PackageManager and Libcore agnostic-apollo 2022-04-17 07:55:33 +05:00
  • bcd8f4c419 Added: Add TERMUX_APPS_DIR_PATH and TERMUX_APP.APPS_DIR_PATH and create them at application startup. agnostic-apollo 2022-04-17 06:38:42 +05:00
  • 6bda7c4fc4 Added|Changed: Add Logger.logErrorPrivate*() functions which do not log errors that may contain potentially private info unless log level is debug or higher agnostic-apollo 2022-04-17 06:30:17 +05:00
  • 89a08ff01a Fixed: Allow Object class object to be passed to ReflectionUtils.invokeField() agnostic-apollo 2022-04-17 06:19:03 +05:00
  • c81d9c3346 Added: Add FileType.SOCKET support and add FileUtils.deleteSocketFile() function agnostic-apollo 2022-04-17 06:18:14 +05:00
  • 58c3d427e8 Fixed: Log and add to Error the current file type in FileUtils.deleteFile() in addition to allowed file types agnostic-apollo 2022-04-17 06:16:41 +05:00
  • 1b9ca91da5 Added: Add functions to DataUtils to get generic, space and tab indented strings agnostic-apollo 2022-04-17 06:14:10 +05:00
  • 9c7ec0cebd Added: Add functions that can be used by non main threads to set CrashHandler as the UncaughtExceptionHandler agnostic-apollo 2022-04-17 05:56:35 +05:00
  • 6b60adc079 Fixed: Do not stop the app if UncaughtExceptionHandler implemented by CrashHandler receives an exception on a non main thread agnostic-apollo 2022-04-17 05:54:45 +05:00
  • 5116d886c3 Changed: Add label parameter to ExecutionCommand getArgumentsLogString() and getArgumentsMarkdownString() functions for external usage agnostic-apollo 2022-04-17 05:47:09 +05:00
  • 02ab8324e9 Changed|Fixed: Do not add empty stacktraces entry to Error log and markdown String agnostic-apollo 2022-04-17 05:43:24 +05:00
  • c095a6184b Changed: Rename TermuxCrashUtils sendPluginCrashReportNotification() to sendCrashReportNotification()` agnostic-apollo 2022-04-08 22:45:10 +05:00
  • cc981d8a03 Changed: Move com.termux.app.utils.PluginUtils to com.termux.shared.termux.plugins.TermuxPluginUtils agnostic-apollo 2022-04-08 22:44:34 +05:00
  • 007f9cd7f1 Changed: Set socket dir to /data/data/com.termux/files/api/ tareksander 2021-12-09 15:52:47 +01:00
  • b025872029 Changed: Updated the termux-am-library dependency, because the repo is now part of the Termux github organization. tareksander 2021-12-08 21:15:07 +01:00
  • 2851175d8b Changed: Moved the am socket to PREFIX/var/run/am-socket tareksander 2021-12-08 15:34:26 +01:00
  • 3dee2eb486 Changed: Allow connections from root o sockets. tareksander 2021-12-08 10:29:13 +01:00
  • 33b88b5d4b Changed: Set termux-am-library to a tag instead of following the main branch. tareksander 2021-12-07 00:06:05 +01:00
  • f366db0cb3 Added: LocalFilesystemSocket as an Interface to UNIX sockets in the filesystem. The UID of connecting programs is automatically checked against the processes UID and connections where the UID doesn't match are automatically rejected and logged. Changed: LocalSocketListener now uses sockets in the filesystem. tareksander 2021-12-06 17:51:14 +01:00
  • 4aca16326c Added: termux-am-library to integrate am with Termux. tareksander 2021-12-04 19:28:32 +01:00
  • e597ece75f Added: ArgumentTokenizer to com.termux.shared.shell tareksander 2021-12-04 16:26:40 +01:00
  • 9e06bfce1f Changed: Bump bootstrap to v2022.04.21-r1 Henrik Grimler 2022-04-21 21:55:09 +02:00
  • 5794ab9a56 Added|Changed: Add support to switch to existing session instead of creating duplicate session for RUN_COMMAND intent agnostic-apollo 2022-03-18 05:53:35 +05:00
  • ee32ef0c7e Changed: Maintain terminal session name in ExecutionCommand.sessionName in addition to TerminalSession.mSessionName agnostic-apollo 2022-03-18 05:07:46 +05:00
  • 8746db0d22 chore(gitignore): Remove unused ignore rules for crashlytics (#2683) Alan Christian 2022-04-02 09:56:43 -03:00
  • ce12b8ad2d Fixed: Fix Settings.ACTION_* permission requests result callback agnostic-apollo 2022-03-30 19:45:55 +05:00
  • 87a79a9b24 Added: Log intents received by and agnostic-apollo 2022-03-30 19:42:38 +05:00
  • caa13b7047 Fixed: Fix pull request APKs commit hash agnostic-apollo 2022-03-18 06:31:43 +05:00
  • 5e820ad249 Added: Allow users to adjust $TMPDIR clear mechanism on termux exit agnostic-apollo 2022-03-17 22:35:31 +05:00
  • 25d21e9d2e Fixed: Fix wrong input type selected if toolbar is switched back to extra keys after tapping terminal if in text input mode agnostic-apollo 2022-03-17 05:19:10 +05:00
  • dd378738e3 Fixed: Add media-* symlinks to Android/media for all storages and external-0 symlink to Android/media of primary storage agnostic-apollo 2022-03-17 04:42:28 +05:00
  • 93d57f053b Added: Add ~/storage symlinks for documents, podcasts and audiobooks agnostic-apollo 2022-03-17 03:37:28 +05:00
  • 26e0fa2b9e Changed: Use thread to setup settings components agnostic-apollo 2022-03-17 03:06:00 +05:00
  • d25f7afd97 Changed: Share terminal transcript with ShareUtils agnostic-apollo 2022-03-17 02:50:37 +05:00
  • e0074f280f Fixed: Fix typos agnostic-apollo 2022-03-17 02:30:41 +05:00
  • cc58ddde31 Changed: Check crash log file whenever TermuxActivity is resumed instead of only on app startup agnostic-apollo 2022-03-16 21:22:38 +05:00
  • 477b36acd1 Added: Add support for ACTION_NOTIFY_APP_CRASH in receiver registered by TermuxActivity to notify users of plugin app crashes agnostic-apollo 2022-03-16 21:19:52 +05:00
  • 5f00531381 Changed: Move com.termux.app.utils.CrashUtils to com.termux.shared.termux.crash.TermuxCrashUtils so that plugins trigger plugin notifications too agnostic-apollo 2022-03-16 21:13:41 +05:00
  • 4dbfc1fac8 Added: Add support for onPreLogCrash() and onPostLogCrash() in CrashHandler so that CrashHandlerClient can decide which exceptions to log and add custom logic agnostic-apollo 2022-03-16 21:01:46 +05:00
  • 4b07e4f4c0 Added: Add multi process support in TermuxAppSharedPreferences since plugin apps may need to read values modified by termux app process agnostic-apollo 2022-03-16 20:59:48 +05:00
  • 621545dd0a Added: Add support for getting termux app and plugin app info only in TermuxUtils.getAppInfoMarkdownString() agnostic-apollo 2022-03-16 20:53:37 +05:00
  • 9a65aa4589 Fixed: Do not add double heading if callingPackageName passed to TermuxUtils.getAppInfoMarkdownString() is a plugin app agnostic-apollo 2022-03-16 20:18:55 +05:00
  • 021cb60e23 Added: Add TERMUX_API_APT_* constants agnostic-apollo 2022-03-15 14:48:45 +05:00
  • 14c5fc7b1e Fixed: Suppress warnings for requiring android 11 to request MANAGE_EXTERNAL_STORAGE permission and call Environment.isExternalStorageManager() agnostic-apollo 2022-03-15 14:43:26 +05:00
  • 792c33c9a5 Fixed: Fix PermissionUtils.requestPermissions() not requesting multiple permissions correctly agnostic-apollo 2022-03-15 14:22:29 +05:00
  • 760ae78aff Docs: Add termux apps vulnerability disclosure post links to README agnostic-apollo 2022-03-11 20:17:48 +05:00
  • c3ac30e2fb Added: Add ic_info and ic_settings agnostic-apollo 2022-03-11 20:16:50 +05:00
  • b94dc7eea9 Changed|Deprecated: Move from shell command background mode to command runner agnostic-apollo 2022-03-10 02:51:56 +05:00