这是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: master
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: usb
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 5 commits
  • 55 files changed
  • 2 contributors

Commits on Jun 19, 2022

  1. termux-usb: add some usb functions to libtermux-api

    To start with we have termux_usb_get_fd_from_usbfs and
    termux_usb_get_fd_from_ids, with which we can get a usb file
    descriptor from an usbfs path (like /dev/bus/usb/001/003), or from
    vendorId and productId (like 0x12ab, 0x12ab), respectively.
    Grimler91 committed Jun 19, 2022
    Configuration menu
    Copy the full SHA
    5163b6d View commit details
    Browse the repository at this point in the history
  2. scripts/*: call termux-api-broadcast instead of termux-api

    $PREFIX/libexec/termux-api has been renamed to termux-api-broadcast (a
    symlink termux-api->termux-api-broadcast ensures backward
    compatibility).
    Grimler91 committed Jun 19, 2022
    Configuration menu
    Copy the full SHA
    bd1197c View commit details
    Browse the repository at this point in the history
  3. termux-api: add "mode" argument to transmit_socket_to_stdout

    We then switch between different ways of handling stdout, and the
    returned file descriptor for usb devices.
    Grimler91 committed Jun 19, 2022
    Configuration menu
    Copy the full SHA
    e093b0e View commit details
    Browse the repository at this point in the history
  4. termux-api: pass buffer to run_api_command

    And fill it with stdout from termux-api app. In preparation for adding
    new api_command modes where we want to parse the info, but not print
    it to stdout.
    Grimler91 committed Jun 19, 2022
    Configuration menu
    Copy the full SHA
    d64769e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    64a0d04 View commit details
    Browse the repository at this point in the history
Loading