• src/conio/sdl_con.c

    From Deucе@1:103/705 to Git commit to main/sbbs/master on Sun Mar 14 03:07:48 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/0634130f732643afcefe1b34
    Modified Files:
    src/conio/sdl_con.c
    Log Message:
    Fix SF #44 problem keypad non-numbersMake an exception for all keypad stuff. --- SBBSecho 3.13-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Wed Mar 17 13:38:49 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/248eb2b590cfc5dee387ad2c
    Modified Files:
    src/conio/sdl_con.c
    Log Message:
    Special-case TAB so "backtab" works properly.
    --- SBBSecho 3.13-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 Mar 19 11:05:12 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/1495774a066cb027a3d96cf7
    Modified Files:
    src/conio/sdl_con.c
    Log Message:
    Fix AltGr with SDL2This is pretty insane since SDL2 completely ignores the keysym valueof the X11 keyboard event, so here's what we do...1) When there's a keypress that includes right-alt, store the sym/mod2) When we get text input, if it's the same as we would get if ALT wasn't pressed for the last keydown, parse through the mapping (ie: handle ALT keys)3) If it's different, use that (gets AltGr modified value)I get that AltGr is hard in a cross-platform way, but just pretendingit doesn't exist at all for key input is a very weird choice.
    --- SBBSecho 3.14-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 May 13 00:45:37 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/5f027c495b76aabf182c4905
    Modified Files:
    src/conio/sdl_con.c
    Log Message:
    Keep correct aspect ratio when resizing window.Also, the 8x16 font at 80x25 is *not* a square pixel aspect ratio.As a result, it now stays "proper", which is likely not what youwant.This was discovered when I was trying to make DigitalMan happybecause he wanted the apsect ratio retained on scaling.Sorry for the impending imminent scaling hassle DigitalMan!
    --- SBBSecho 3.14-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 May 13 01:32:47 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/26def07178f2affe11442bf5
    Modified Files:
    src/conio/sdl_con.c
    Log Message:
    More fallout from non-square pixels...This fixes all the window adjustment "stuff", but the new aspectratio enforcement means that ALT-UP and ALT-DOWN are useless forresizing the window unless it's not already snapped... use ALT-LEFTand ALT-RIGHT to decrease/increase the window size.
    --- SBBSecho 3.14-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 May 14 16:13:00 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/9aca9bf4b603144ffb46a09f
    Modified Files:
    src/conio/sdl_con.c
    Log Message:
    sdl_con.c can have stdbool.h too.
    --- SBBSecho 3.14-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 May 14 17:01:09 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/49756aa756b0570337da16e7
    Modified Files:
    src/conio/sdl_con.c
    Log Message:
    Use lround(), not roundl().Also, include math.h
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Mon May 17 09:39:10 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/e7100fcbd1aae6959c38ee40
    Modified Files:
    src/conio/sdl_con.c
    Log Message:
    Specify HighDPI mode when creating a window.This may solve issue where using Windows "DPI scaling" forces thewindow to be scaled.
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Mon May 17 10:01:07 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/fccd7c1dd05309a672690d0d
    Modified Files:
    src/conio/sdl_con.c
    Log Message:
    Use the API to insist SyncTERM is "High DPI aware"Microsoft wants us to use a manifest for this, but I really don'tfeel like digging into however one uses manifest files when notusing the Microsoft build files.Details here: https://docs.microsoft.com/en-us/windows/win32/hidpi/setting-the-default-dpi-awareness-for-a-process
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)