这是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.58.0
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.59.0
Choose a head ref
  • 6 commits
  • 5 files changed
  • 3 contributors

Commits on Dec 24, 2024

  1. Fixed(scripts/termux-call-log): Exit with error for invalid -l and …

    …`-o` options
    
    Co-authored-by: @EmilyGraceSeville7cf <EmilyGraceSeville7cfg@gmail.com>
    Co-authored-by: @agnostic-apollo <agnosticapollo@gmail.com>
    EmilyGraceSeville7cf and agnostic-apollo committed Dec 24, 2024
    Configuration menu
    Copy the full SHA
    4253eb2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b2cb6af View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2025

  1. Added(termux-sms-list): Enhance API with new options and use bash i…

    …nstead of `sh` shell with a new script format
    
    The following options have been added. Check `termux-sms-list --help` for examples and more info.
    
    Alternate options:
    - `--help` for `-h`.
    - `--conversation-list` for `-c`.
    - `--message-address` for `-f`.
    - `--message-limit` for `-l`.
    - `--message-offset` for `-o`.
    - `--message-type` for `-t`.
    
    New options:
    
    - `-q` and `-v` options to control `TERMUX_API__LOG_LEVEL` for script, and `termux-api.c` in future.
    - `--conversation-limit=<limit>`: The SQL limit for returned SMS conversations.
    - `--conversation-offset=<offset>`: The SQL offset for returned SMS conversations.
    - `--conversation-return-multiple-messages`: Return multiple SMS messages per conversation.
    - `--conversation-return-nested-view`: Return a nested object view of conversations where each conversation contains an array of SMS messages with the conversation id as the key.
    - `--conversation-return-no-order-reverse`: Return SMS conversations without reversing order of conversation sort.
    - `--conversation-selection=<selection>`: The SQL selection for returned SMS conversations.
    - `--conversation-sort-order=<order>`: The SMS conversations sort order as per SQL 'ORDER BY col1, col2, ... ASC|DESC' clause. Default value: 'date DESC'.
    - `--message-return-no-order-reverse`: Return SMS messages without reversing order of message sort.
    - `--message-selection=<selection>`: The SQL selection for returned SMS messages.
    - `--message-sort-order=<order>`: The SMS messages sort order as per SQL 'ORDER BY col1, col2, ... ASC|DESC' clause. Default value: 'date DESC'.
    
    The script has been refactored to a new format for the following reasons and now uses `bash` shell. The new format will be used by all termux-api scripts in future to provide safe and consistent API scripts. Some `FIXME` remain in the script that will be fixed in future when `make` build script is used in future after termux/termux-packages#18872 is merged.
    
    - The use of bash is needed for bash shell array support for dynamically creating API command arguments array instead of using `$PARAMS` shell variable for storing arguments which splits on IFS characters when expanded without quotes, resulting in non-deterministic behaviour.
    - Support for sourcing the script has been added so that external shell calls are not required for re-running the command for faster execution by calling `termux_api__sms_list__main()` function (saves ~10-15ms on Snapdragon 865 and ~40ms on Snapdragon 820). The `termux_api__*__(init|main|help|process_script_arguments|log_*) functions will exist in all API scripts to provide consistent calling mechanisms for user and third party programs.
    - Logging support with multiple log levels as per `TERMUX_API__LOG_LEVEL`, which will be used by `termux-api.c` in future as well.
    - Long arg options support and error handling for other short/long options
    - Termux scoped environment variables and functions are used, and local/global variables as needed.
    agnostic-apollo committed Jan 24, 2025
    Configuration menu
    Copy the full SHA
    6b7a800 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2025

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

Commits on Mar 16, 2025

  1. Configuration menu
    Copy the full SHA
    b807c04 View commit details
    Browse the repository at this point in the history
  2. Release: 0.59.0

    agnostic-apollo authored Mar 16, 2025
    Configuration menu
    Copy the full SHA
    22d6c10 View commit details
    Browse the repository at this point in the history
Loading