Skip to content
Snippets Groups Projects
  1. Jan 09, 2025
  2. Jan 08, 2025
    • Deucе's avatar
      Fix 132×52 mode resulution. · 065c06e0
      Deucе authored
      Transposed some digits, setting 1056×823 as the resolution instead
      of 1056×832.  This resulted on crashes with some output modes, and
      "just" the status bar being truncated on other output modes.
      
      Fixes at least part of ticket 178.
      065c06e0
    • Deucе's avatar
      Make the scrollback a ring buffer instead of a linear one. · 25d74561
      Deucе authored
      This was one of the two major perforance issues with previous
      versions of SyncTERM.  Using a larger scrollback will not longer
      slow down SyncTERM.
      
      The other major issue is updating the pixel data for every change,
      but we can't fix that as long as graphics and text are drawn on the
      same plane.
      25d74561
    • Rob Swindell's avatar
      FILE_ @-code changes/additions · b6654722
      Rob Swindell authored
      New:
      - FILE_COST, file's credit value or "FREE" when applicable
        (see also FILE_CREDITS - the file's credit value or 0 when free download)
      - FILE_AUTHOR - file's author (e.g. from SAUCE record) or blank if N/A
      - FILE_GROUP - file's author group (e.g. from SAUCE record) or blank if N/A
      - FILE_BYTES - file's size in bytes (previously, would use FILE_SIZE for this)
      - FILE_CRC32 - 8 hex digits or blank if N/A
      - FILE_MD5 - 32 hex digits or blank if N/A
      - FILE_SHA1 - 40 hex digits or blank if N/A
      - FILE_TIME_TO_DL - estimated time ("HH:MM:SS") to download file at current CPS
      
      Changed:
      FILE_SIZE is now the file size estimated in KB, MB, GB, etc., not the exact
      file size in bytes.
      b6654722
    • Rob Swindell's avatar
      Include CPS rate used to calcaulte file transfer time in FiTransferTime string · 31fc8696
      Rob Swindell authored
      from text.dat.
      
      Also change the alignment of the Fi* (File Information) text.dat strings to
      allow more space for the data fields, allowing better support for adding URLs
      (for sysops that want to do so, e.g. by setting FiFilename in text.ini).
      31fc8696
    • Deucе's avatar
      Don't explicitly omit the frame pointer. · 405f58b7
      Deucе authored
      At -O3, the only reason the frame pointer will be retained is when
      removing it makes it impossible to get any reasonable information
      out of a core dump.
      
      I personally prefer to take the small performance hit on affected
      platforms and always include the frame pointer because it makes
      profiling release builds possible... but I can manually make that
      adjustment when I want to.
      405f58b7
    • Rob Swindell's avatar
      Revert "Add FileURL text.dat string, used when displaying file info" · 641e6c4a
      Rob Swindell authored
      This reverts commit 269875be.
      
      There are plenty of existing text.dat strings where URL @-codes can be added.
      I had good/better results by changing the FiFilename string.
      So let's not add a new/blank text.dat string for now good reason.
      641e6c4a
    • Deucе's avatar
      assert() ssh globals are initialized correctly. · 77260949
      Deucе authored
      Some weren't (mostly sftp ones though)
      77260949
    • Deucе's avatar
      Call shutdown() when errors are detected... · d541b82c
      Deucе authored
      Should force other threads to pay attention even if they're stuck
      in select or something.
      d541b82c
    • Rob Swindell's avatar
      Add FileURL text.dat string, used when displaying file info · 269875be
      Rob Swindell authored
      This is an optional (default: blank) string that can be used to display a
      file's URL(s) (e.g. FTP and/or Web URLs, using @-codes) when viewing extended
      file information. I currently have this string output before the file
      description.
      
      The idea is that a sysop could set this string (e.g in their ctrl/text.ini)
      instead of or in-addition-to their text/menu/download.msg file and then the
      file URL(s) would be more readily displayed (not just went prompting for a
      download protocol to send said file).
      269875be
    • Rob Swindell's avatar
      Support "virtual shortcuts" to directory configured in SCFG->File Areas · 0dde9df8
      Rob Swindell authored
      As an alternative to directory aliases configured in ftpalias.cfg and/or
      web_alias.ini, a sysop can specify a shortcut (virtual directory name) per
      directory in SCFG->File Areas. These shortcuts will appears as top/root level
      directories in the FTP and Web servers for quick user access to important
      directories.
      
      The advantages (over ftpalias.cfg / web_alias.ini) are:
      - one place to configure
      - FILE_FTP_PATH and FILE_WEB_PATH @-codes will use the shortcut
        (usually a shorter, preferred virtual path to the directory)
      
      * New JS file_area.dir[].vshortcut property
      0dde9df8
    • Rob Swindell's avatar
      Populate the security level string being edited with current level (number) · f7c75dee
      Rob Swindell authored
      This appears to have been the original intention (otherwise, why call ultoa?),
      but was never done. Just a usability/convenience thing, but an apparent bug.
      f7c75dee
  3. Jan 07, 2025
Loading