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

Adds immersive mode for Samsung Dex #3908

Open
wants to merge 17 commits into
base: master
Choose a base branch
from

Commits on Sep 4, 2022

  1. Add sixel support:

    - In TerminalEmulator, interpret sixel sequences, and send them to
      TerminalBuffer for constructing a bitmap.
    - Sixel sequences may be longer than 8192 characters, so break them in
      natural places ($,-,#), rather than collecting all in the buffer.
    - The bitmap is sliced to character cell sized slices, and each the
      the style attribute is used to store which bitmap slice is displayed
      in place of this character.
    - In TerminalRenderer the style is interpreted, and drawn using
      drawBitmap, instead of drawText.
    
    Support iTerm inline image protocol (OSC 1337):
    
    - Using the same bitmap display infrastructure introduced for sixels.
    - Collects the image data outside of the OSC buffer.
    - Ignoring some parameters.
    
    Small emulator changes:
    
    - Also eat APC sequences, not echoing to screen.
    - Fix `CSI 14 t` to give actual size
    - Add `CSI 16 t`
    - Add `4` (sixel) to device attributes
    MatanZ committed Sep 4, 2022
    Configuration menu
    Copy the full SHA
    232ab8b View commit details
    Browse the repository at this point in the history
  2. \007 is bell, only if not ending APC or OSC.

    Add missing {} that change the logic.
    MatanZ committed Sep 4, 2022
    Configuration menu
    Copy the full SHA
    35a7bb8 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2022

  1. Better handling of Out of Memory errors in bitmap allocations.

    - For iterm2 images - catch the error, and cancel the image.
    - For sixels - if it happens when resizing the bitmap, than ignore drawing
      outside of the current image.
    MatanZ committed Sep 6, 2022
    Configuration menu
    Copy the full SHA
    92dac00 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2022

  1. Refactor bitmap code

    - Move working bitmap code (drawing current bitmap) to
      WorkingTerminalBitmap class.
    - Move bitmap handling code to TerminalBitmap class.
    MatanZ committed Sep 7, 2022
    Configuration menu
    Copy the full SHA
    6b46ae7 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2022

  1. Copy the set of keys from the map before iterating.

    To avoid removing elements from the map while iterating over it.
    This should solve the Concurrent Modification Exception in the bitmap
    garbage collection.
    MatanZ committed Sep 8, 2022
    Configuration menu
    Copy the full SHA
    1ce120e View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2022

  1. Handle another failure path

    Avoid crash when BitmapFactory cannot decode image
    MatanZ committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    a25a55e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8eb080a View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2022

  1. Start first text run after the last column of bitmap, instead on the …

    …last column.
    
    This creates a zero length text run, so skip it.
    MatanZ committed Sep 18, 2022
    Configuration menu
    Copy the full SHA
    329d5cb View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2024

  1. Dex immersive mode

    shmatt authored Jan 2, 2024
    Configuration menu
    Copy the full SHA
    c9a4b52 View commit details
    Browse the repository at this point in the history
  2. Update AndroidManifest.xml

    shmatt authored Jan 2, 2024
    Configuration menu
    Copy the full SHA
    a84b16b View commit details
    Browse the repository at this point in the history
  3. Update AndroidManifest.xml

    shmatt authored Jan 2, 2024
    Configuration menu
    Copy the full SHA
    5462efb View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2024

  1. Configuration menu
    Copy the full SHA
    b138df5 View commit details
    Browse the repository at this point in the history
  2. Add immersive view

    shmatt authored Jan 17, 2024
    Configuration menu
    Copy the full SHA
    f7ad05d View commit details
    Browse the repository at this point in the history
  3. Remove SDK 30+ code

    shmatt authored Jan 17, 2024
    Configuration menu
    Copy the full SHA
    83efab3 View commit details
    Browse the repository at this point in the history
  4. isUsingFullScreen is a method

    shmatt authored Jan 17, 2024
    Configuration menu
    Copy the full SHA
    782f0c7 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2024

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

Commits on May 5, 2024

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