Skip to content
Snippets Groups Projects
  1. Jun 17, 2023
  2. Jun 16, 2023
    • Rob Swindell's avatar
      Strip control characters/sequences from custom node status strings · bff2639c
      Rob Swindell authored
      This utility doesn't expand Ctrl-A codes, so just strip them.
      bff2639c
    • Rob Swindell's avatar
      Add InactivityAlert, clear out NodeActionMultiChat · f7dac638
      Rob Swindell authored
      The InactivityAlert string is sent as a warning before disconnect when a
      visible alert (AreYouThere) shouldn't be sent. Defaults to 3 beeps.
      
      Remove the content of the NodeActionMultiChat (over-rides the hard-coded
      default node status) - weird that this was the only node status that reported
      the user's security level in the default configuration. This has been this
      way since sbbs v2.30, at least. I think it was to be sure that others could
      see the age/gender of those they were chatting with. But we have other methods
      of reporting that in node status now, so we don't need to use this override
      string to accomplish that.
      f7dac638
    • Deucе's avatar
      Revert "Use XDG_ENVIRONMENT_TYPE to switch to CLIPBOARD" · 7ff7f192
      Deucе authored
      This reverts commit a8e1ff3e.
      
      It turns out neither platform this targeted actually set that
      variable correctly.
      7ff7f192
  3. Jun 15, 2023
  4. Jun 13, 2023
  5. Jun 12, 2023
  6. Jun 11, 2023
  7. Jun 10, 2023
  8. Jun 09, 2023
    • Deucе's avatar
      Fix issue with bitmap_drv_init_mode() · 31a46d8a
      Deucе authored
      Because bitmap_get_scaled_win_size() was being clamped to maxsize,
      no matter how much mult was incremented, w and h would never be
      larger than maxwidth/maxheight and only under exceptional
      circumstances would the be equal, which would result in an infinite
      loop.
      
      While we're here, set the integer scaling value so we're not chasing
      ulps all over the place with floating point math/scaling when we
      don't need to.
      31a46d8a
    • Deucе's avatar
      "Fix" some completely inane Coverity issues. · 845f38b6
      Deucе authored
      None of these were even theoretically possible on any platform, but
      I took the opportunity to add bounds checking to bitmap_puttext(),
      so that's good I guess.
      845f38b6
    • Deucе's avatar
      Add comments to hopefully shut up Coverity · 3251c295
      Deucе authored
      3251c295
    • Deucе's avatar
      Some more Coverity shutupness · de163670
      Deucе authored
      de163670
    • Deucе's avatar
      Fix more Coverity "Issues" · 519f09a5
      Deucе authored
      Add some malloc() return checks, comment fall-throughs, and resolve
      a sleep while holding lock.
      
      None of these should actually matter, so hopefully I didn't add a
      new bug.
      519f09a5
    • Deucе's avatar
      Fix incorrect variable usage found by Coverity · aad472fb
      Deucе authored
      aad472fb
    • Deucе's avatar
      Add stdbool.h to cterm.h · dbaed4e6
      Deucе authored
      dbaed4e6
    • Deucе's avatar
      Add "Yellow Is Yellow" option. · c9cf3d7e
      Deucе authored
      This allows the ANSI yellow colour to be yellow instead of the
      brown used in IBM CGA monitors.
      c9cf3d7e
    • Deucе's avatar
      Add missing break. · 4a53a254
      Deucе authored
      4a53a254
    • Deucе's avatar
      Add changes to support Saskatoon Amiga Users Group BBS. · 059dc8ff
      Deucе authored
      - Support LCF (Last Column Flag) mode per DEC STD-070
        (Despite years of protest that it's stupid)
      - "Properly" support CSI 7 m and CSI 27 m
        Now, when in "Negative Image" mode, changes to the foreground
        change how the background is drawn and vice-versa.  Perviously
        this command just swapped the two values and called it good.
      059dc8ff
    • Rob Swindell's avatar
      Address new GCC (10.2) warnings from previous commit · ee5559e9
      Rob Swindell authored
      Adding and removing typecasts and changing some types (of ints).
      ee5559e9
    • Rob Swindell's avatar
      <Deuce> ... billion-and-one result of comparison of constant 100000 warnings. · 2b087b8b
      Rob Swindell authored
      So Clang-FreeBSD was warning (in compiles of scfg/scfg*.c by Deuce):
      result of comparison of constant 100000 with expression of type 'uint16_t'
      (aka 'unsigned short') is always true
      
      Why? Cause a uint16_t's max value is 65535 (less than 100000). Sure we could
      have just lowered the UIFC max number of config items to 65535, but that would
      have been too easy. And why are these compared-with values of type uint16_t to
      begin with? Because most ctrl/*.cnf lists (of configuration items) were
      limited to 65535 entries cause ... 16-bit DOS, historically. Now that *.cnf
      files aren't used, we could just increase these scfg_t.*_total type sizes from
      16 to 32-bits, yeah? The result is this commit.
      
      I went to (signed) int so we could still keep -1 as the special illegal
      sub/dir num value (e.g. INVALID_SUB, which is sometimes used to indicate the
      email message base). Theoretically, 2 billion configuration items could be
      supported in these lists, but SCFG will limit you to 100000 anyway. So there's
      a whole lot of s/uint/int in this commit.
      
      I'd be very surprised if this doesn't result in some new GCC/Clang warnings,
      but at least the old "comparison of constant 100000" warnings are now gone!
      2b087b8b
  9. Jun 08, 2023
    • Deucе's avatar
      More ATASCII improvements · 32ca49c4
      Deucе authored
      Fix bad and poor unicode mappings, add support for sending Insert
      and Pipe.
      32ca49c4
    • Deucе's avatar
      Support inverse mode in atascii · f2636442
      Deucе authored
      Toggled using backtick.
      Current state is shown in the status bar.
      
      Since we previously couldn't actually *show* the status bar in
      ATASCII (or C64) mode, enable that as well.  This means supporting
      40-column status bars too.
      
      We still default status bar to off for those modes, because that's
      likely what people actually want.
      
      Also, it seems ENTER was broken in ATASCII mode, so fix that as well.
      Implements SF feature 61
      f2636442
Loading