这是indexloc提供的服务,不要输入任何密码
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: termux/termux-api-package
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.57
Choose a base ref
...
head repository: termux/termux-api-package
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.58.0
Choose a head ref
  • 10 commits
  • 15 files changed
  • 5 contributors

Commits on Jan 19, 2022

  1. Added: channel selection to termux-notification, termux-notification-…

    …channel to create and delete channels.
    tareksander authored and Grimler91 committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    cfd4689 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    eaf966b View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2022

  1. exec_am_broadcast: fix NULL assignment of last element of child_argv

    child_argv[argc+extra_args] is outside the allocated memory region,
    since it starts counting from 0.
    
    Seen with valgrind:
    
    ==22732== Invalid write of size 8
    ==22732==    at 0x5E876D4: exec_am_broadcast (termux-api.c:254)
    ==22732==  Address 0x6033e10 is 0 bytes after a block of size 144 alloc'd
    ==22732==    at 0x5CC9FB4: malloc (in /data/data/com.termux/files/usr/libexec/valgrind/vgpreload_memcheck-arm64-linux.so)
    ==22732==    by 0x5E875BF: exec_am_broadcast (termux-api.c:231)
    ==22732==
    ==22732== Syscall param execve(argv) points to uninitialised byte(s)
    ==22732==    at 0x5FEEB78: execve (in /apex/com.android.runtime/lib64/bionic/libc.so)
    ==22732==    by 0x5F18023: execve (in /data/data/com.termux/files/usr/lib/libtermux-exec.so)
    ==22732==  Address 0x6033e08 is 136 bytes inside a block of size 144 alloc'd
    ==22732==    at 0x5CC9FB4: malloc (in /data/data/com.termux/files/usr/libexec/valgrind/vgpreload_memcheck-arm64-linux.so)
    ==22732==    by 0x5E875BF: exec_am_broadcast (termux-api.c:231)
    ==22732==  Uninitialised value was created by a heap allocation
    ==22732==    at 0x5CC9FB4: malloc (in /data/data/com.termux/files/usr/libexec/valgrind/vgpreload_memcheck-arm64-linux.so)
    ==22732==    by 0x5E875BF: exec_am_broadcast (termux-api.c:231)
    Grimler91 committed Jun 19, 2022
    Configuration menu
    Copy the full SHA
    08bcd73 View commit details
    Browse the repository at this point in the history
  2. termux-api.c: break some long lines

    And fix a typo.
    Grimler91 committed Jun 19, 2022
    Configuration menu
    Copy the full SHA
    8684d5e View commit details
    Browse the repository at this point in the history
  3. termux-api.h: allow usage from c++

    And prevent header from being included multiple times for no reason.
    Grimler91 committed Jun 19, 2022
    Configuration menu
    Copy the full SHA
    d6972eb View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2022

  1. Configuration menu
    Copy the full SHA
    0fd5e31 View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2023

  1. Compile a static libtermux-api as well

    And link termux-api-broadcast against the static one to speed it up a
    bit.
    
    Suggested-by: @agnostic-apollo
    Grimler91 committed Dec 22, 2023
    Configuration menu
    Copy the full SHA
    f74ff80 View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2023

  1. Fixed: Fix termux-api commands hanging indefinitely on Android 14 by …

    …always using `TermuxAm` to send intents instead of the socket server that is run by the app
    
    This is currently only done for Android `>= 14` and is a temporary patch until termux-app release is made with finalized support for termux-am-socket to send intents
    
    Closes termux/termux-api#638, termux/termux-app#3754
    Related termux/termux-app#3647, termux/TermuxAm@8b9844ab
    agnostic-apollo committed Dec 23, 2023
    1 Configuration menu
    Copy the full SHA
    e8b0013 View commit details
    Browse the repository at this point in the history
  2. Added: Add support for --version to print `$TERMUX__PREFIX/libexec/…

    …termux-api-broadcast` version
    agnostic-apollo committed Dec 23, 2023
    Configuration menu
    Copy the full SHA
    751ed7b View commit details
    Browse the repository at this point in the history
  3. 1 Configuration menu
    Copy the full SHA
    e62bdad View commit details
    Browse the repository at this point in the history
Loading