• src/conio/sdl_con.c sdlfuncs.c sdlfuncs.h

    From deuce to CVS commit on Wednesday, April 01, 2020 14:40:19
    src/conio sdl_con.c 1.269 1.270 sdlfuncs.c 1.43 1.44 sdlfuncs.h 1.25 1.26 Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv15203

    Modified Files:
    sdl_con.c sdlfuncs.c sdlfuncs.h
    Log Message:
    Add key bindings to perform integer scaling steps, and use integer scaling
    when such a size is selected.

    META-<arrow> keys now change the window size in SDL mode... left and up
    make the window smaller, and down and right make it larger.

    On Windows, the META key is the Windows key... On Apple systems, maybe it's
    the Apple key? *shrug*



  • From deuce to CVS commit on Thursday, April 02, 2020 17:22:18
    src/conio sdl_con.c 1.274 1.275 sdlfuncs.c 1.45 1.46 sdlfuncs.h 1.27 1.28 Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv8701/conio

    Modified Files:
    sdl_con.c sdlfuncs.c sdlfuncs.h
    Log Message:
    Set window minimum size to 1x scaling, update internal copy of window size
    when the window is resized (fixes mouse offsets).



  • From deuce to CVS commit on Friday, April 03, 2020 01:34:58
    src/conio sdl_con.c 1.275 1.276 sdlfuncs.c 1.47 1.48 sdlfuncs.h 1.28 1.29 Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv19658/conio

    Modified Files:
    sdl_con.c sdlfuncs.c sdlfuncs.h
    Log Message:
    Remove platform-specific copy/paste code and use SDL2 copy/paste code instead. This means I needed to whip up utf-8 <-> cp437 converters.

    Only loss of functionality is that we can't paste NULs anymore. We can
    *copy* them though, they are converted to zero-width non-breaking spaces.

    Depending on feedback, I may need to normalize the UTF-8 before conversion
    to get the most matches, and zero-width/combining codepoints should likely
    be stripped instead of replaced, but I'm not overly worried about it.



  • From deuce to CVS commit on Friday, April 03, 2020 10:45:19
    src/conio sdl_con.c 1.276 1.277 sdlfuncs.c 1.48 1.49 sdlfuncs.h 1.29 1.30 Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv30340

    Modified Files:
    sdl_con.c sdlfuncs.c sdlfuncs.h
    Log Message:
    Update to new mutex function names.
    Win32 can no longer exit() and WinExec() itself with impunity.



  • From Prime@RETROCON to deuce on Friday, April 10, 2020 08:37:13
    Re: src/conio/sdl_con.c sdlfuncs.c sdlfuncs.h
    By: deuce to CVS commit on Wed Apr 01 2020 02:40 pm

    On Windows, the META key is the Windows key... On Apple systems, maybe it's the Apple key? *shrug*

    It should be the "Option" key I believe.

    ---
    ■ Synchronet ■ Retro Connect BBS
  • From deuce to CVS commit on Tuesday, April 28, 2020 18:41:08
    src/conio sdl_con.c 1.300 1.301 sdlfuncs.c 1.51 1.52 sdlfuncs.h 1.30 1.31 Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv4098

    Modified Files:
    sdl_con.c sdlfuncs.c sdlfuncs.h
    Log Message:
    Stop using SDL mutexes and semaphores. The mutexes are recursive, and the semaphores sometomes have odd behaviour... just use the same mutexes and semaphores as everywhere else.



  • From Deuc╨╡ to Git commit to main/sbbs/master on Tuesday, March 16, 2021 10:25:50
    https://gitlab.synchro.net/main/sbbs/-/commit/e2f5762b2de6117b5701a9c0
    Modified Files:
    src/conio/sdl_con.c sdlfuncs.c sdlfuncs.h
    Log Message:
    Don't allow ALT-Direction to work when maximized

    With maximized windows, unexpected behaviour occured when the program
    resized itself, then the window manager minimized/restored the window
    Should address SF bugs #18 and #13