• src/conio/bitmap_con.c sdl_con.c

    From deuce@VERT to CVS commit on Wednesday, April 29, 2015 19:20:30
    src/conio bitmap_con.c 1.43 1.44 sdl_con.c 1.214 1.215
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv18388

    Modified Files:
    bitmap_con.c sdl_con.c
    Log Message:
    Move update_rect() out from under vstatlock and ensure all vstat accesses
    hold the lock. This should finally fix all the things I hope.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Deuc¨@VERT to Git commit to main/sbbs/master on Sunday, April 23, 2023 21:51:19
    https://gitlab.synchro.net/main/sbbs/-/commit/f4abff4f838aaa15fbeb2d73
    Modified Files:
    src/conio/bitmap_con.c sdl_con.c
    Log Message:
    Use a single memmove() when moving the entire width.

    When fast scrolling, memmove() takes most of the CPU by far... it
    is likely actually worth having each line be a buffer of its own
    and just moving the pointers around. To help with this optimization
    in the future, move the screen memmove() bit into a separate function.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¨@VERT to Git commit to main/sbbs/master on Tuesday, April 25, 2023 13:41:40
    https://gitlab.synchro.net/main/sbbs/-/commit/7291fa08a5ea874c36be5f75
    Modified Files:
    src/conio/bitmap_con.c sdl_con.c
    Log Message:
    Add more vstatlock usage where needed, sync cvstat better.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¨@VERT to Git commit to main/sbbs/master on Wednesday, June 07, 2023 12:21:42
    https://gitlab.synchro.net/main/sbbs/-/commit/64f21b53bd26fb15c232341f
    Modified Files:
    src/conio/bitmap_con.c sdl_con.c
    Log Message:
    Work around marco or SDL bug in SDL_SetWindowMinimumSize()

    When using the marco WM, and resizing using ALT-Right-drag, calls to SDL_SetWindowMinimumSize() result in the top-left corner of the
    window moving up and to the left (appears to be by the border size).

    To prevent this from being a maddening issue under marco, ensure
    we only call SDL_SetWindowMinimumSize() once when the minimum size
    changes on the window.

    Fixes SF ticket 115, thanks Ragnarok!

    While we're hear, ensure the minimium maximum window size holds
    the original sized window... we're not interested in downscaling.

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