• src/conio/bitmap_con.c

    From Deuc┬┐@VERT to Git commit to main/sbbs/master on Thu May 20 19:21:16 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/a40cda0c4fe14420390fa1d9
    Modified Files:
    src/conio/bitmap_con.c
    Log Message:
    Fix bug in last commit

    Pixes set via setpixels() were only set in the "blink off" screen
    and not in the "blink on" screen... so they all reverse blinked.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deuc┬┐@VERT to Git commit to main/sbbs/master on Sat May 22 17:02:44 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/6f77c3694a91babf22a6f247
    Modified Files:
    src/conio/bitmap_con.c
    Log Message:
    Default to blocky scaling

    For programs that don't specify a scaling type (scfg, syncdraw)
    use blocky scaling.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deuc┬┐@VERT to Git commit to main/sbbs/master on Sun Apr 23 21:51:19 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/2e5da7dd5b999e297a91804e
    Modified Files:
    src/conio/bitmap_con.c
    Log Message:
    Eliminate extra copy of screen in bitmap console, push down vstatlock more.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deuc┬┐@VERT to Git commit to main/sbbs/master on Mon Apr 24 16:23:21 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/db8aca661a09a19bd21675c8
    Modified Files:
    src/conio/bitmap_con.c
    Log Message:
    Push update_pixels down and force a redraw on font change.

    update_pixels should only be set when at least one pixel has
    actually been changed... setting it when pixels have not been
    changed causes unneeded screen updates.

    Previously, a font change asserted (incorrectly) that the pixels in
    the screen had been modified, so the change would occur at the end
    of the next blink cycle when alt fonts are checked. Now it
    requests a full redraw from vmem when a font is changed, which will
    trigger a redraw the next time the blinker thread triggers (~5ms).

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deuc┬┐@VERT to Git commit to main/sbbs/master on Mon Apr 24 16:23:21 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/656cc27bdfb3667de9995a71
    Modified Files:
    src/conio/bitmap_con.c
    Log Message:
    Combine the screen locks

    We only really ever treat it as a single lock, so we may as well
    simplify this.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deuc┬┐@VERT to Git commit to main/sbbs/master on Mon Apr 24 16:23:21 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/cece8b67872af488e9c63d6b
    Modified Files:
    src/conio/bitmap_con.c
    Log Message:
    Push vstatlock into bithmap_draw_one_char()

    A bit more cleanup here would be good, but I think this is pushed
    down enough finally.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deuc┬┐@VERT to Git commit to main/sbbs/master on Tue Apr 25 20:59:33 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/743b2ae00956dfaa52080a4b
    Modified Files:
    src/conio/bitmap_con.c
    Log Message:
    Move vstat copy inside vstatlock

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deuc┬┐@VERT to Git commit to main/sbbs/master on Fri Apr 28 13:51:19 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/24cb0a05bcdf56d8925554e4
    Modified Files:
    src/conio/bitmap_con.c
    Log Message:
    Clean up blinker thread

    There was a lot of weird things going on to avoid locking vstatlock
    inside of screenlock. Simply this by copying needed vstat stuff
    while we hold the lock.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deuc┬┐@VERT to Git commit to main/sbbs/master on Fri Apr 28 21:10:46 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/026c7d89b401a4da7196d631
    Modified Files:
    src/conio/bitmap_con.c
    Log Message:
    Extend cstatlock to cover vmem

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deuc┬┐@VERT to Git commit to main/sbbs/master on Wed May 3 13:25:22 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/fe019abeb0c4104e1562d311
    Modified Files:
    src/conio/bitmap_con.c
    Log Message:
    Remove unused variables

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deuc┬┐@VERT to Git commit to main/sbbs/master on Fri May 5 21:03:13 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/c625f2e6f764e4e80d2eab87
    Modified Files:
    src/conio/bitmap_con.c
    Log Message:
    Fix buffer overflow in bitmap movetext()

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deuc┬┐@VERT to Git commit to main/sbbs/master on Fri May 5 21:16:28 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/18607b08946590f5a36a1959
    Modified Files:
    src/conio/bitmap_con.c
    Log Message:
    Fixx off-by-one in last commit.

    Stupid 1-based coordinates.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deuc┬┐@VERT to Git commit to main/sbbs/master on Fri May 5 22:44:48 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/bbd16c32cf6e33a1d1cdb7bf
    Modified Files:
    src/conio/bitmap_con.c
    Log Message:
    Fix more buffer overflows.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deuc┬┐@VERT to Git commit to main/sbbs/master on Mon Jun 5 15:03:29 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/7cdf96b094437ed39f49008d
    Modified Files:
    src/conio/bitmap_con.c
    Log Message:
    Fix GDI brakage in frameskipping.

    Win32GDI currently requires two rects to be available.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on ChromeOS)@VERT to Git commit to main/sbbs/master on Sun Jun 18 13:22:12 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/14da36cb0e3a333e162b9a26
    Modified Files:
    src/conio/bitmap_con.c
    Log Message:
    Fix GCC UBSan (SANITIZE=1 build) runtime error

    left shift of 255 by 24 places cannot be represented in type 'int'

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deuce@VERT to Git commit to main/sbbs/master on Sat Jul 29 11:29:37 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/febaa22a9f29c18777b14b9a
    Modified Files:
    src/conio/bitmap_con.c
    Log Message:
    Fix non-integer scaling corruption when r2y is NULL

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