Skip to content
Snippets Groups Projects
  1. Feb 20, 2018
  2. Feb 15, 2018
  3. Feb 14, 2018
  4. Feb 13, 2018
    • deuce's avatar
      #include "ciolib.h" for struct vmem_cell · 2839c4af
      deuce authored
      2839c4af
    • deuce's avatar
      Eliminate pputtext() and pgettext() in favour of vmem_puttext() and vmem_gettext() · 3a0b3655
      deuce authored
      Update scrollback to use vmem_gettext()
      Update all the things I previously updated for the new cterm_init() prototype
      
      So now I expect things to work again... though X11 mode may have issues,
      and SDL overlay mode is dog slow.
      3a0b3655
    • deuce's avatar
      Beginnings of a massive ciolib overhaul... · 210cc022
      deuce authored
      We're switching to TrueColor now, and maintaining a 65536 entry palette
      for the various palettized bits.  This change hurts the overlay output most
      since it currently means floating point calculations for every pixel.
      
      The getfont() function now takes a fontnum argument so you can get all the
      current fonts.
      
      The vmem array now holds the font data, so once a glyph is written to the
      screen, it can stay in that font "forever".  This still has some issues
      with savescreen()/restorescreen() since there's no extension to grab the new
      stuff... that'll be coming soon, likely replacing the pgettext() and
      pputtext() functions.  For now, various popups will likely reset fonts to
      the default font on the screen.
      
      Now that we have all this, the status bar in SyncTERM can retain the default
      font and colours at all times.  Further, menus can be displayed in the "right"
      colours and fonts, and no more translation will be needed.  This is a work
      in progress though, so there's likely to be glitches.  The scrollback doesn't
      have the font data either (same issue as savescreen()/restorescreen()).
      210cc022
  5. Feb 12, 2018
  6. Feb 11, 2018
  7. Feb 10, 2018
    • deuce's avatar
      "Support" slashes in BBS names. · 191ff615
      deuce authored
      191ff615
    • deuce's avatar
      Add some path security, and create full path to resource. · 96b80796
      deuce authored
      This allows using subdirectories etc.
      96b80796
    • deuce's avatar
      Add some prototype APC commands, specifically to deal with cached data... · f236c658
      deuce authored
      APC SyncTERM:C;S;<fname>;<b64> ST
      - Creates a file named <fname> in the cache directory and saves the decoded
        <b64> binary data in it.
      
      APC SyncTERM:C;L[;<mask>] ST
      - Returns a list of files in the cache directory with their MD5 checksums.
        Return value is in the format:
        APC SyncTERM:C;L\n<entries> ST
        Where <entries> is a series of filename/MD5 pairs separated by tabs and
        terminated by newlines.  So if there was a single zero-byte file:
        APC SyncTERM:C;L\nZero\t201e201e201e201e201e201e201e201e\n ST
      
      APC SyncTERM:C;SetFont;<slot>;<name> ST
      - Sets font slot <slot> to contain the <name> font.
      
      This may all get an overhaul in the near future, but likely wont.  This API
      was mostly for image and audio data, not so much for fonts, but since font
      stuff is already here, it's a simple way to test things.
      
      This also brings up undefined behaviour when an active font is changed...
      We likely need to do something about that now too.
      f236c658
    • deuce's avatar
      Some termcap/terminfo fixes · edefe0e7
      deuce authored
      edefe0e7
    • deuce's avatar
      Update termios and termcap entries, and say the pty speed is 115200. · 25462be6
      deuce authored
      The pty speed apparently defaults to 50 baud on some systems, and some
      vi versions will reduce the number of displayed lines for slow terminals.
      25462be6
    • deuce's avatar
      Add support for a DCS font loading command that won't break other terminals · 00275311
      deuce authored
      (that support DCS strings).  With this, CSI = Ps1 ; Ps2 { is deprecated and
      should not be used when CTerm is newer than this commit (1.213).
      00275311
  8. Feb 09, 2018
  9. Feb 07, 2018
  10. Feb 05, 2018
  11. Feb 03, 2018
  12. Feb 02, 2018
  13. Feb 01, 2018
Loading