• src/conio/bitmap_con.c

    From Deucе@1:103/705 to Git commit to main/sbbs/master on Wed Oct 22 16:03:54 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/6ad075d7b59ca41a41926f3e
    Modified Files:
    src/conio/bitmap_con.c
    Log Message:
    Fix setting custom cursor with ratio of 0.
    --- SBBSecho 3.30-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Thu Oct 23 01:14:50 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/13ed0db24d500c1dbd1a72f9
    Modified Files:
    src/conio/bitmap_con.c
    Log Message:
    Fix crash from overflow

    If the passed values are high enough, the integer would overflow
    when the width was added, it was assumed to be in the buffer.

    Explicitly check that the start points are in the bufferr too.
    --- SBBSecho 3.30-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Fri Dec 5 19:57:27 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/fddff9351373e4f10eea98c9
    Modified Files:
    src/conio/bitmap_con.c
    Log Message:
    Some optimizations...

    If we're redrawing every cell on the screen, don't bother looping
    through all the cells on the screen, just update them all in one
    big swoop.

    This gets some pointless comparisons out of the inner loop as well
    as completely avoiding the loops when possible.

    Now the bulk of the CPU time SyncTERM uses at a static screen is
    spent either constantly polling for keyboard input (since conio has
    no event thing yet), or scaling the same screen over and over (since
    there's no separation between expose/paint events and changes).
    --- SBBSecho 3.32-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)