Skip to content

v0.9.99.47

Compare
Choose a tag to compare
@o-sdn-o o-sdn-o released this 19 Nov 17:07
· 169 commits to master since this release
7c39f2c

GitHub all current

Breaking changes

  • This version of vtm is not compatible with previous versions due to the changed directvt protocol.
  • A number of renamings of parameters in the settings file settings.xml. See src/vtm.xml for reference.

Known issues in TUI mode (vtm --tui) on Windows

Changes from v0.9.99.36 pre-release

  • Treat only unquoted literals as variables in settings. All unresolved unquoted literals are treated as regular values.
    Example:
    <config>
      <set>
        <variable1="text value"/>
      </set>
      <some_section>
        <variable2="text value"/>
      </some_section>
      <test1=variable1/>    <!-- Reference to the /config/set/ namespace (w/o quotes). -->
      <test2=/config/some_section/variable2/>    <!-- Absolute reference (w/o quotes). -->
      <test3="/config/some_section/variable3"/>  <!-- Just a text string (quoted string). -->
    </config>
  • Allow config-wide absolute references.
    Example:
    <config>
      <set>
        <selection>
          <mode="text"/>
          <rect=false/>
        </selection>
      </set>
      <term>
        <selection>
          <mode=/config/set/selection/mode/>  <!-- Absolute reference. -->
          <rect=selection/rect/>              <!-- Reference to the /config/set/ (default) namespace. -->
        </selection>
      </term>
    </config>
  • Amplify mouse hover on button press.
  • Add key combination test to Info-page. You can test your keyboard there and copy the key combination you are interested in to the clipboard by clicking.
    image

Changes from v0.9.99.37 pre-release

  • All hotkeys now are configurable via settings.xml. You can generate the hotkey you need on the Info-page, accessible by clicking on the label in the lower right corner of the vtm desktop.

Changes from v0.9.99.38 pre-release

  • Add exclusive keyboard mode toggle (Ctrl-Alt, hyphen means release/unpress) for keyboard test to the Info-page.
    image

Changes from v0.9.99.40 pre-release

  • Make text anti-aliasing enabled by default.
  • Introduce Drop and DropAutoRepeat actions.
    Action Description
    Drop Drop all events for the specified key combination. No further processing.
    DropAutoRepeat Drop Key Repeat events for the specified key combination. This binding should be specified before the main action for the key combination.
    <config>
      <hotkeys key*>
        <gui>
          <key="Alt+Enter" action=DropAutoRepeat/>          <!-- Don't repeat the Toggle fullscreen mode. -->
          <key="Alt+Enter" action=ToggleFullscreenMode/>    <!-- Toggle fullscreen mode. -->
        </gui>
      </hotkeys>
    </config>

Changes from v0.9.99.41 pre-release

  • Implement keyboard-only access for Info-page.
    Key Action
    PageUp/Down Scroll info-page up/down by page.
    Up/DownArrow Scroll info-page up/down by 3 lines.
    Left/RightArrow Scroll info-page left/right by 3 chars.
    Home/End Scroll info-page to top/bottom.
    Esc Close info-page.

Changes from v0.9.99.42 pre-release

  • Rename TerminalFullscreen to TerminalToggleFullscreen.
  • Add action=TerminalToggleMaximize for key binding.
  • Add Maximize/Fullscreen toggle to info-page (F11/F12).
  • Generalize keyboard navigation for demo apps.
  • Update docs.

Changes from v0.9.99.43 pre-release

  • Move all key bindings into a single subsection <config/hotkeys/...>.
  • Rename generic keys to make it more generic.
  • Introduce ToggleDebugOverlay action for key binding.

Changes from v0.9.99.44 pre-release

  • Add action=ToggleHotkeyMode for key binding to toggle exclusive keyboard mode using Ctrl-Alt (minus sign between Ctrl and Alt means Fire on release).
  • Now you can use two independent hotkey schemes (scheme=0 or scheme=1).
    <config>
      <hotkeys>  <!--  The required key combination sequence can be generated on the Info page, accessible by clicking on the label in the lower right corner of the vtm desktop.  -->
        <tui key*>  <!-- TUI matrix layer key bindings. The scheme=0 is implicitly used by default. -->
          <key="Ctrl-Alt"                action=ToggleHotkeyMode/> <!-- scheme=0 binding for Toggle hotkey mode to scheme=1 by pressing and releasing Ctrl-Alt. -->
          <key="Alt-Ctrl"                action=ToggleHotkeyMode/> <!-- scheme=0 binding for Toggle hotkey mode to scheme=1 by pressing and releasing Alt-Ctrl (reversed releasing). -->
          <key="Ctrl-Alt" scheme=1       action=ToggleHotkeyMode/> <!-- scheme=1 binding for Toggle hotkey mode to scheme=0 (default) by pressing and releasing Ctrl-Alt. -->
          <key="Alt-Ctrl" scheme=1       action=ToggleHotkeyMode/> <!-- scheme=1 binding for Toggle hotkey mode to scheme=0 (default) by pressing and releasing Alt-Ctrl (reversed releasing). -->
        </tui>
        <term key*>  <!-- key* here is to clear all previous bindings and start a new list. -->
          <key="Shift+Ctrl+PageUp"       action=TerminalViewportOnePageUp/>   <!-- scheme=0 binding for Scroll one page up. -->
          <key="Shift+Ctrl+PageDown"     action=TerminalViewportOnePageDown/> <!-- scheme=0 binding for Scroll one page down. -->
          <key="Ctrl+PageUp"   scheme=1  action=TerminalViewportOnePageUp/>   <!-- scheme=1 binding for Scroll one page up. -->
          <key="Ctrl+PageDown" scheme=1  action=TerminalViewportOnePageDown/> <!-- scheme=1 binding for Scroll one page down. -->
        </term>
      </hotkeys>
    </config>

Changes from v0.9.99.45 pre-release

  • Add configurable hotkey scheme indicator Keys0/Keys1 (Ctrl-Alt).
    image
    <config>
        <term>
            <menu>
                <item type="Command" action=ToggleHotkeyScheme>
                    <label=" Undef " data="undef"/>
                    <label=" Keys0 " data="off"/>
                    <label="\e[48:2:0:128:128;38:2:0:255:0m Keys1 \e[m" data="on"/>
                    <notes>
                        " Toggle hotkey scheme                          \n"
                        "   Alternative hotkey scheme allows keystrokes \n"
                        "   to be passed through without processing     "
                    </notes>
                </item>
            </menu>
        </term>
    </config>
    <config>
        <hotkeys>
            <term>
                <key="Shift+Ctrl+PageUp"      action=TerminalViewportOnePageUp/>
                <key="Shift+Ctrl+PageDown"    action=TerminalViewportOnePageDown/>
                <key="Ctrl+PageUp"   scheme=1 action=TerminalViewportOnePageUp/>
                <key="Ctrl+PageDown" scheme=1 action=TerminalViewportOnePageDown/>
            </term>
        </hotkeys>
    </config>

Changes from v0.9.99.46 pre-release

  • Rename notes to tooltip in settings.xml.
  • Make drive letters consistent in cmd.exe (force upper case in cd command).
  • Fix ::cuserid() on Android.
  • Add -pthread to CMAKE_CXX_FLAGS for Android (make it for all non-Win32).
  • Remove support for Windows ARM32 builds.