Skip to content
Snippets Groups Projects
  1. Jun 04, 2023
  2. Jun 03, 2023
    • Deucе's avatar
      Fix typo in line 666 · ce469261
      Deucе authored
      ce469261
    • Deucе's avatar
      Fix SF tickets 113 and maybe 111 · d38bdc71
      Deucе authored
      Fix infinite loop in bitmap_drv_init_mode() if scaling results in
      larger than max size.
      
      This uncovered an issue in resize_window() which would cause the
      screen to be corrupted due to vstat not agreeing to the actual window.
      d38bdc71
    • Deucе's avatar
      Fix up source/last for external scaling · 13143b0f
      Deucе authored
      This was ending up using an uninitialized value
      13143b0f
    • Deucе's avatar
      Fix use of uninitialized value · 8d437089
      Deucе authored
      8d437089
    • Deucе's avatar
      Fix warnings. · b92eeee1
      Deucе authored
      b92eeee1
    • Deucе's avatar
      Finally got ChromeOS icon/toltip working! · fd0370d5
      Deucе authored
      It appears its matching based on the class, not the application.
      Since this was hard-coded to CIOLIB based on the idea of using
      resources to customize all CIOLIB windows, this didn't match the
      SyncTERM .desktop file, so ChromeOS assumed it was "something else"
      
      Add yet another ciolib_initial_* variable to set this, and she's
      finally good!
      fd0370d5
    • Deucе's avatar
      Implement the _NET_WM_PING protcol · fb8189ce
      Deucе authored
      Implied by _NET_WM_PID being set, so may as well do it.
      fb8189ce
    • Deucе's avatar
      Set _NET_WM_PID · bf9cfc12
      Deucе authored
      Seems like a good idea, should allow WMs to kill hung processes and
      stuff like that.
      bf9cfc12
    • Deucе's avatar
      Disable X Synchronize and some minr optimizations in set_icon() · bbeb07bc
      Deucе authored
      The XSynchronize disablement is the most important here... didn't
      realize it defaulted to enabled, which has been slowing down a *lot*
      of stuff for a long time... not that there's much left that benefits
      from disabling Synchronized XLib except this new terrible icon thing.
      bbeb07bc
  3. Jun 02, 2023
  4. Jun 01, 2023
  5. May 31, 2023
    • Deucе's avatar
      Add support for XTerm "Bracketed Paste" · 567f2d12
      Deucе authored
      At the same time, add BD, BE, PE, and PS to the terminfo entry.
      
      Note that it seems this is "normally" detected by seeing if $TERM
      contains "xterm" which shouldn't work with SyncTERM (which is wildly
      incompatible), but the terminfo source file here:
      https://invisible-island.net/ncurses/terminfo.ti.html
      Gives us hope in the form of this comment:
      
      https://invisible-island.net/xterm/xterm-paste64.html
      
      Bracketed paste was introduced by xterm patch #203 in May 2005, as part of a
      larger feature for manipulating the clipboard selection.  Few terminals aside
      from xterm fully implement the clipboard feature, but several copy this
      detail.  The names for the extended capabilities here were introduced by vim
      in January 2017, but used internally.  In 2023, vim patch 9.0.1117 is needed
      to work with this change.
      
      That is to say that it likely won't work on anyone's system today
      (except maybe Cyan's), but it may magically start working in the
      future... assuming tic supports these capnames.  No real clue there
      since there's absolutely no termcap support, and I use FreeBSD.
      567f2d12
    • Deucе's avatar
      Fix off-by-one in delete lines · 3eee47ba
      Deucе authored
      Previously, delete lines would erase the line above the current one.
      This was visible in vim which makes extensive use of delete line
      to scroll.
      3eee47ba
    • Deucе's avatar
      Call SetStretchBltMode(HDC, HALFTONE) before StretchBlt · f7dc0cc6
      Deucе authored
      In theory, this will allow higher quality scaling in GDI mode if
      the graphics driver supports it...
      
      It doesn't look like the drive used for VirtualBox does though, so
      I can't tell if it does anything or not.
      f7dc0cc6
    • Deucе's avatar
      More X11 improvements · ea7a6600
      Deucе authored
      Use the default visual and depth instead of "best"
      Use Xrender for sclaing when library is available and server supports it
      Set VisualIsRGB8 when possible
      ea7a6600
  6. May 26, 2023
  7. May 24, 2023
    • Deucе's avatar
      A few scaling fixes for X11 mode... · 3833c243
      Deucе authored
      - getscaling() incorrectly used an int intermediate variable
        This would force scaling to an integer value when read.
      - Only parse ConfigureNotify events describing a change to the SyncTERM window
        It appears that XWayland on ChromeOS was occasionally sending a
        ConfigureNotify event describing some other window to SyncTERM,
        and that window had a 1x1 size, which would cause SyncTERM to
        assert minimum size again (usually 640x480), which would set
        scaling to 1.0.
      3833c243
  8. May 23, 2023
  9. May 16, 2023
Loading