Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support ya sub subcommand for the Ya CLI #1004

Merged
merged 9 commits into from
Jun 16, 2024

Commits on Jun 14, 2024

  1. feat(cli): allow printing selected DDS messages to the console

    The motivations for this change are:
    - easy debugging of DDS messages for yazi and plugin developers
    - allow external applications to monitor yazi events.
    
    In neovim specifically, there is a limitation that the stdout and stderr
    streams cannot be monitored when displaying an embedded terminal
    application. A second yazi instance could theoretically be started, but
    the ui does currently not work when there is no screen to draw on.
    mikavilpas authored and sxyazi committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    0f40d2e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4bb3f37 View commit details
    Browse the repository at this point in the history
  3. refactor: simplify listening implementation

    - don't start a new server. Instead, crash if the server is not running.
    - remove support for listening for a specific peer. The protocol doesn't
      support it and it cannot be made to work.
    - if the existing yazi closes, this cannot be detected, and the
      connection is never reestablished. Maybe this can be made to work in a
      future commit.
    mikavilpas authored and sxyazi committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    1997d16 View commit details
    Browse the repository at this point in the history
  4. feat: reconnect after a connection is lost

    If the connection cannot be made when starting, the client will fail and
    not reconnect. However, if the connection is lost after the client has
    started, it will forever attempt to reconnect with a 1s delay.
    
    Also clean up the implementation by removing previous mistakes
    mikavilpas authored and sxyazi committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    8b9ed5e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2d3cd4d View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2024

  1. Configuration menu
    Copy the full SHA
    390dbc1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9cd3ee0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    57bb6d5 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2024

  1. Simplify the code

    sxyazi committed Jun 16, 2024
    Configuration menu
    Copy the full SHA
    8cb34fd View commit details
    Browse the repository at this point in the history