• src/conio/bitmap_con.c

    From Deucе@VERT to Git commit to main/sbbs/master on Tuesday, September 23, 2025 17:15:01
    https://gitlab.synchro.net/main/sbbs/-/commit/006a6db5545a296f3c7aa44c
    Modified Files:
    src/conio/bitmap_con.c
    Log Message:
    Hang and scroll up fixes

    This fixes ticket 207 by fixing the partial scrollup optimization
    in bitmap output that scrolls down the screen, the scrolls up the
    part that should not have moved.

    While testing this change however, I managed to reproduce two unlikely
    but possible deadlocks since I was rebuilding all the software on
    my computer at the time and it was under very heavy load.

    One of these issues was apparently found by Coverity and explcitly suppressed... possibly this suppressed the other as a side-effect
    as well.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Tuesday, September 30, 2025 10:59:03
    https://gitlab.synchro.net/main/sbbs/-/commit/6650a0c0c5feb5e0b10c8e89
    Modified Files:
    src/conio/bitmap_con.c
    Log Message:
    Add suppression for Coverity false-positive.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Thursday, October 02, 2025 09:23:57
    https://gitlab.synchro.net/main/sbbs/-/commit/d5ef8ec88b32827adaaa03b7
    Modified Files:
    src/conio/bitmap_con.c
    Log Message:
    These suppressions don't work, remove them.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Thursday, October 02, 2025 09:27:09
    https://gitlab.synchro.net/main/sbbs/-/commit/b6e62ba5999d1c418c516a6c
    Modified Files:
    src/conio/bitmap_con.c
    Log Message:
    Attempt the same suppression a different way.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Sunday, October 05, 2025 11:59:56
    https://gitlab.synchro.net/main/sbbs/-/commit/28411ee7643138917cb6e218
    Modified Files:
    src/conio/bitmap_con.c
    Log Message:
    First attempt at fixing bug ticket 209

    Apparently new for v1.7 we're snapping to the next lower integer
    scaling on any clal to textmode()... this is bad because some
    people don't want integer scaling for various excellent reasons.

    Deal with this two ways when calling textmode() and not already
    using integer scaling:
    1) Save the previous scaling and if the stars align, just re-use
    it instead of trying to recalculate it (a fools errand after
    round-tripping through C64 for example).
    2) Otherwise, do successive estimations until we're taking steps
    of less than 0.00005 in the multiplier, then call it good. This
    gets pretty close, but can add or remove a few pixels.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Sunday, October 05, 2025 11:59:56
    https://gitlab.synchro.net/main/sbbs/-/commit/015f538592ebcdfc1be12715
    Modified Files:
    src/conio/bitmap_con.c
    Log Message:
    Some compilers won't let us _Static_assert() a const variable.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net