• src/conio/sdl_con.c

    From Deucе@VERT to Git commit to main/sbbs/master on Thu Jun 1 13:58:12 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/978d4d0b7b64a39a30092e57
    Modified Files:
    src/conio/sdl_con.c
    Log Message:
    Use cast instead of pointer math to fix Win32 build

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Sat Jun 3 18:14:04 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/268893cc9b77f7e96343bb11
    Modified Files:
    src/conio/sdl_con.c
    Log Message:
    When switching from fullscreen mode, recalculate win size.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Sat Feb 17 10:36:15 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/7c44187868e59355f598180a
    Modified Files:
    src/conio/sdl_con.c
    Log Message:
    For SDL mode, ensure rect matches vstat as well.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Sun Mar 17 12:29:59 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/960cee2703cd4650f2805d4f
    Modified Files:
    src/conio/sdl_con.c
    Log Message:
    Do not attempt to clean up SDL unless it was initialized.

    Should fix js test suite on darwin.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Sun Mar 17 14:30:07 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/d281862b290f8ee309892e63
    Modified Files:
    src/conio/sdl_con.c
    Log Message:
    Call exit() from exit_sdl_con if ciolib_reaper is enabled and SDL is not initialized.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Sun Mar 17 14:31:06 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/ea900928153cef278cf404bc
    Modified Files:
    src/conio/sdl_con.c
    Log Message:
    Revert last change reaper is explicitly disabled here.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Mon Sep 23 02:25:05 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/02dce6574620f4ce357e8f3f
    Modified Files:
    src/conio/sdl_con.c
    Log Message:
    Update fullscreen and mode on Darwin to match window

    This should normalize everything, with the possible exception of
    "zoom" (the thing other OSs call maximized). Ideally, we wouldn't
    allow window size changes when "zoomed" if we could detect the state,
    but it doesn't look like we can.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Mon Sep 23 09:08:42 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/5d04a76d7d03ec4a64934d05
    Modified Files:
    src/conio/sdl_con.c
    Log Message:
    Fix build.

    Whoops.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Thu Oct 10 20:34:24 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/f8044342788577da85ca26a1
    Modified Files:
    src/conio/sdl_con.c
    Log Message:
    Store window size on size change event.

    Allows arbitrary sized windows on Darwin... the OS is still scaling
    the window contents though rather than allowing us to dynamically
    update them.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Fri Oct 18 19:18:55 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/a5438fc8bc465938a29d0af3
    Modified Files:
    src/conio/sdl_con.c
    Log Message:
    Basically a revert of 02dce657

    This appears to break the mouse position stuff. :(

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Sat Oct 19 08:10:30 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/b493e7b3ea4d4d9e2d351403
    Modified Files:
    src/conio/sdl_con.c
    Log Message:
    Query current fullscreen state on ALT-Enter

    Because things get weird sometimes.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Sat Oct 19 08:10:30 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/ae97eae2e8b3fc61d1fbddb1
    Modified Files:
    src/conio/sdl_con.c
    Log Message:
    Spell SDL_WINDOW_FULLSCREEN correctly.

    Also, there's SDL_WINDOW_FULLSCREEN_DESKTOP, so or that in even
    though we don't need to due to how it's defined.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Sat Oct 19 11:17:33 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/f6f20a635e8a693c511fe43d
    Modified Files:
    src/conio/sdl_con.c
    Log Message:
    Add call to update_cvstat() in setup_surfaces()

    This should ensure that cvstat has the right window size at the start.
    I hope.

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