Skip to content
Snippets Groups Projects
  1. Feb 24, 2024
    • Rob Swindell's avatar
      Report getaddrinfo() failure result in Socket.error and error_str (not errno) · bfa0668e
      Rob Swindell authored
      As Nelgin pointed out, a Socket.connect() failure for reasons of address/host
      lookup failure would report a stale/nonsense Socket.error/error_str value.
      
      This change required us to query/store the socket API/getaddrinfo error string
      at the time of failure (for the Socket.error_str property value) rather than
      converting from number to string at the time the property is read.
      
      This does mean that sometimes Socket.error is a errno value and sometimes its
      a getaddrinfo (EAI_*) error value. Since the EAI_* values are negative, it
      should be obvious which is which.
      bfa0668e
    • Rob Swindell's avatar
      Remove new/unused variable: of · cfc71441
      Rob Swindell authored
      cfc71441
    • Rob Swindell's avatar
      Support UTF-8 translation to CP437 and non 80x25 terminals · 4b5633bd
      Rob Swindell authored
      Reads the new(ish) node*/terminal.ini file when it's changed to determine
      the connected-client's terminal type/dimensions. Now reports the terminal
      details in the spy form title/caption and if it's UTF-8, does a real-time
      translation to CP437 (since F. Piette's terminal lib only supports CP437).
      There is a bug here where if the data read from the RingBuffer is a
      partial UTF-8 sequence, it isn't decoded correctly. Fix that later (?) if it
      actually bugs anyone.
      
      There's no PETSCII conversion/support added here. I expect to someday replace
      this entirely (likely with something that uses cterm), so didn't want to
      invest too much time into this.
      
      But at least now spying on non-traditional ANSI-BBS clients isn't so terrible
      to look at.
      4b5633bd
    • Deucе's avatar
      e59a247c
    • Deucе's avatar
      Fix some especially silly Coverity "issues" · 094fd09d
      Deucе authored
      These are regarding initializing variables at the same time as the
      mutex.
      
      Harmless.
      094fd09d
  2. Feb 23, 2024
  3. Feb 22, 2024
  4. Feb 21, 2024
Loading