• src/conio/sdl_con.c

    From rswindell@VERT to CVS commit on Mon Mar 26 14:06:00 2018
    src/conio sdl_con.c 1.261 1.262
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv20144

    Modified Files:
    sdl_con.c
    Log Message:
    Fix GCC warning:
    sdl_con.c: In function ‘sdl_mouse_thread’:
    sdl_con.c:1424:1: warning: no return statement in function returning non-void




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Fri May 31 13:22:52 2019
    src/conio sdl_con.c 1.262 1.263
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv11840

    Modified Files:
    sdl_con.c
    Log Message:
    The key normally used for "Backspace" (on a PC keyboard) is labeled "Delete"
    on a Mac keyboard and although that key sends the ASCII DEL char (127), we're converting it to backspace (^H) here. But if the user actually wants the "delete character" key functionality, there is no dedicated key, so treat Ctrl-Delete (on a Mac) as Delete (not backspace).



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Wed Jul 10 14:11:13 2019
    src/conio sdl_con.c 1.263 1.264
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv31657/conio

    Modified Files:
    sdl_con.c
    Log Message:
    Fix 40-col doubling to modify vstat with the vstatlock held rather than just cvstat.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Wed Jul 10 14:55:38 2019
    src/conio sdl_con.c 1.264 1.265
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv4577

    Modified Files:
    sdl_con.c
    Log Message:
    Blank existing window before calling SetVideoMode() again.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Tue Mar 31 12:28:11 2020
    src/conio sdl_con.c 1.267 1.268
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv655

    Modified Files:
    sdl_con.c
    Log Message:
    Remove unused variable.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Wed Apr 1 11:07:31 2020
    src/conio sdl_con.c 1.270 1.271
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv21111

    Modified Files:
    sdl_con.c
    Log Message:
    Fixup termination, and always lock the mutex before fiddling with the window

    Previously, an atexit() function could call exit() (for non-SyncTERM utils) causing the program to occasionally crash rather than exit cleanly.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Wed Apr 1 12:29:11 2020
    src/conio sdl_con.c 1.271 1.272
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv4292

    Modified Files:
    sdl_con.c
    Log Message:
    Set the window size when setup_surfaces() is called.
    This allows the saved scaling to work again, and makes the mouse not weird
    when scaling is secretly set differently.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Wed Apr 1 13:37:52 2020
    src/conio sdl_con.c 1.272 1.273
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv15252

    Modified Files:
    sdl_con.c
    Log Message:
    The update rectangle applies to both the texture and the renderer, not just
    the renderer. Fixes crash when there's fewer screen pixels than in the
    window.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Sun Apr 12 20:01:39 2020
    src/conio sdl_con.c 1.278 1.279
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv11577

    Modified Files:
    sdl_con.c
    Log Message:
    Always destroy the texture before creating a new one.
    Derp.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Wed Apr 15 07:52:04 2020
    src/conio sdl_con.c 1.280 1.281
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv9227

    Modified Files:
    sdl_con.c
    Log Message:
    Double both height and width when switching to 40 column mode.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Wed Apr 15 11:29:33 2020
    src/conio sdl_con.c 1.281 1.282
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv16882

    Modified Files:
    sdl_con.c
    Log Message:
    Update input translation for SDL2...
    Hopefully this fixes the issue Ragnorok was reporting with a Spanish
    keyboard.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Wed Apr 15 11:39:46 2020
    src/conio sdl_con.c 1.282 1.283
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv18737

    Modified Files:
    sdl_con.c
    Log Message:
    I take that last back... this likely won't fix anything... SDL2 just has
    a major regression for key input. :(




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Wed Apr 15 13:02:24 2020
    src/conio sdl_con.c 1.283 1.284
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv7299

    Modified Files:
    sdl_con.c
    Log Message:
    Overhaul input yet again... this *should* fix Ragnorok's problem... but
    *may* break all sorts of other things.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Ragnarok@VERT/DOCKSUD to deuce on Wed Apr 15 18:57:09 2020
    El 15/4/20 a las 21:02, deuce escribi¢:
    src/conio sdl_con.c 1.283 1.284
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv7299

    Modified Files:
    sdl_con.c
    Log Message:
    Overhaul input yet again... this *should* fix Ragnorok's problem... but
    *may* break all sorts of other things.

    realy break!
    i move o up/down/let/right and segfault

    Starting program: /home/ragnarok/src/ftoledo/sbbs/cvs/src/syncterm/gcc.linux.x64.exe.debug/syncterm

    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
    [New Thread 0x7ffff6479700 (LWP 3417)]
    [Thread 0x7ffff6479700 (LWP 3417) exited]
    [New Thread 0x7fffe8015700 (LWP 3418)]
    [New Thread 0x7fffe7814700 (LWP 3419)]
    [New Thread 0x7fffe7013700 (LWP 3420)]
    [New Thread 0x7fffe6812700 (LWP 3421)]

    Thread 4 "Main Thread" received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 0x7fffe7814700 (LWP 3419)]
    0x00005555556f3811 in sdl_video_event_thread (data=0x0) at sdl_con.c:836
    836 if (block_text || !isprint(ev.key.keysym.sym))
    (gdb) bt
    #0 0x00005555556f3811 in sdl_video_event_thread (data=0x0) at sdl_con.c:836
    #1 0x00007ffff705e4a4 in start_thread (arg=0x7fffe7814700) at pthread_create.c:456
    #2 0x00007ffff6da0d0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

    also (previous this last commits) i fond that hang when try to play bell
    sound i think:

    (gdb) bt
    #0 __lll_lock_wait () at
    ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
    #1 0x00007ffff7060bb5 in __GI___pthread_mutex_lock
    (mutex=0x555555c230c0 <sample_mutex>) at ../nptl/pthread_mutex_lock.c:80
    #2 0x000055555570f805 in xp_play_sample (
    sample=0x555555bf1440 <wave> "~\177\177\200\200\201\201\200\200\177}zywvuuuuvvuuutrqqppoooppponljhfdcbbcfhlpx|z\202\210\211\210\203zria[VSSSSUUUSQMIE@><;;<>>>;81*!\031\020\n\a\a\f\023\037+;^ly\202\210\212\207\203|skb\\VTRSSUUTTQNIEB><<;<>>=<81*\"\031\021\v\b\a\v\022\034+8[kw\202\210\212\210\204}tkc]WSRRSUUUTRNJFA><;;<=>?<92+$\033\022\f\b\006\n\020\034("...,
    size=2205, background=1) at xpbeep.c:924
    #3 0x00005555556f4237 in sdl_beep () at sdl_con.c:1052
    #4 0x00005555556d7403 in ciolib_beep () at ciolib.c:1716
    #5 0x00005555556d6af9 in ciolib_putch (ch=7) at ciolib.c:1515
    #6 0x00005555556eb1c0 in cterm_write (cterm=0x555555e61870, vbuf=0x7fffffff4f10, buflen=4, retbuf=0x555555bc3300 <ansi_replybuf> "", retsize=2048,
    speed=0x7fffffff4efc) at cterm.c:5197
    #7 0x0000555555584da4 in doterm (bbs=0x555555bbc040 <retlist>) at
    term.c:2579
    #8 0x00005555555912cc in main (argc=1, argv=0x7fffffffdea8) at
    syncterm.c:1673
    (gdb) c
    Continuing.
    [Thread 0x7fffe56d0700 (LWP 31011) exited]
    c^C
    Thread 1 "Main Thread" received signal SIGINT, Interrupt.
    __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
    135 in ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
    (gdb) bt
    #0 __lll_lock_wait () at
    ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
    #1 0x00007ffff7060bb5 in __GI___pthread_mutex_lock
    (mutex=0x555555c230c0 <sample_mutex>) at ../nptl/pthread_mutex_lock.c:80
    #2 0x000055555570f805 in xp_play_sample (
    sample=0x555555bf1440 <wave> "~\177\177\200\200\201\201\200\200\177}zywvuuuuvvuuutrqqppoooppponljhfdcbbcfhlpx|z\202\210\211\210\203zria[VSSSSUUUSQMIE@><;;<>>>;81*!\031\020\n\a\a\f\023\037+;^ly\202\210\212\207\203|skb\\VTRSSUUTTQNIEB><<;<>>=<81*\"\031\021\v\b\a\v\022\034+8[kw\202\210\212\210\204}tkc]WSRRSUUUTRNJFA><;;<=>?<92+$\033\022\f\b\006\n\020\034("...,
    size=2205, background=1) at xpbeep.c:924
    #3 0x00005555556f4237 in sdl_beep () at sdl_con.c:1052
    #4 0x00005555556d7403 in ciolib_beep () at ciolib.c:1716
    #5 0x00005555556d6af9 in ciolib_putch (ch=7) at ciolib.c:1515
    #6 0x00005555556eb1c0 in cterm_write (cterm=0x555555e61870, vbuf=0x7fffffff4f10, buflen=4, retbuf=0x555555bc3300 <ansi_replybuf> "", retsize=2048,
    speed=0x7fffffff4efc) at cterm.c:5197
    #7 0x0000555555584da4 in doterm (bbs=0x555555bbc040 <retlist>) at
    term.c:2579
    #8 0x00005555555912cc in main (argc=1, argv=0x7fffffffdea8) at
    syncterm.c:1673
    (gdb) c
    Continuing.


    Saludos! and thanks!



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


    ---
    þ Synchronet þ Dock Sud BBS TLD 24 HS - bbs.docksud.com.ar
  • From Digital Man@VERT to Ragnarok on Wed Apr 15 17:07:07 2020
    Re: Re: src/conio/sdl_con.c
    By: Ragnarok to deuce on Wed Apr 15 2020 10:57 pm

    El 15/4/20 a las 21:02, deuce escribi¢:
    src/conio sdl_con.c 1.283 1.284
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv7299

    Modified Files:
    sdl_con.c
    Log Message:
    Overhaul input yet again... this *should* fix Ragnorok's problem... but *may* break all sorts of other things.

    realy break!
    i move o up/down/let/right and segfault

    Starting program: /home/ragnarok/src/ftoledo/sbbs/cvs/src/syncterm/gcc.linux.x6 4.exe.debug/syncterm

    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7ffff6479700 (LWP 3417)]
    [Thread 0x7ffff6479700 (LWP 3417) exited]
    [New Thread 0x7fffe8015700 (LWP 3418)]
    [New Thread 0x7fffe7814700 (LWP 3419)]
    [New Thread 0x7fffe7013700 (LWP 3420)]
    [New Thread 0x7fffe6812700 (LWP 3421)]

    Thread 4 "Main Thread" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffe7814700 (LWP 3419)]
    0x00005555556f3811 in sdl_video_event_thread (data=0x0) at sdl_con.c:836
    836 if (block_text ||
    !isprint(ev.key.keysym.sym))
    (gdb) bt
    #0 0x00005555556f3811 in sdl_video_event_thread (data=0x0) at sdl_con.c:836 #1 0x00007ffff705e4a4 in start_thread (arg=0x7fffe7814700) at pthread_create.c:456
    #2 0x00007ffff6da0d0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

    also (previous this last commits) i fond that hang when try to play bell sound i think:

    (gdb) bt
    #0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
    #1 0x00007ffff7060bb5 in __GI___pthread_mutex_lock
    (mutex=0x555555c230c0 <sample_mutex>) at ../nptl/pthread_mutex_lock.c:80
    #2 0x000055555570f805 in xp_play_sample (
    sample=0x555555bf1440 <wave> "~\177\177\200\200\201\201\200\200\177}zywvuuu uvvuuutrqqppoooppponljhfdcbbc fhlpx|z\202\210\211\210\203zria[VSSSSUUUSQMIE@><;; <>>>;81*!\031\020\n\a\a\f \023\037+;^ly\202\210\212\207\203|skb\\VTRSSUUTTQNIEB> <<;<>>=<81*\"\031\021 \v\b\a\v\022\034+8[kw\202\210\212\210\204}tkc]WSRRSUUUTRNJ FA><;;<=>?<92+$\033\022\f\b\006\n\020\034("...,
    size=2205, background=1) at xpbeep.c:924
    #3 0x00005555556f4237 in sdl_beep () at sdl_con.c:1052
    #4 0x00005555556d7403 in ciolib_beep () at ciolib.c:1716
    #5 0x00005555556d6af9 in ciolib_putch (ch=7) at ciolib.c:1515
    #6 0x00005555556eb1c0 in cterm_write (cterm=0x555555e61870, vbuf=0x7fffffff4f10, buflen=4, retbuf=0x555555bc3300 <ansi_replybuf> "", retsize=2048,
    speed=0x7fffffff4efc) at cterm.c:5197
    #7 0x0000555555584da4 in doterm (bbs=0x555555bbc040 <retlist>) at term.c:2579
    #8 0x00005555555912cc in main (argc=1, argv=0x7fffffffdea8) at syncterm.c:1673
    (gdb) c
    Continuing.
    [Thread 0x7fffe56d0700 (LWP 31011) exited]
    c^C
    Thread 1 "Main Thread" received signal SIGINT, Interrupt.
    __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 135 in ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
    (gdb) bt
    #0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
    #1 0x00007ffff7060bb5 in __GI___pthread_mutex_lock
    (mutex=0x555555c230c0 <sample_mutex>) at ../nptl/pthread_mutex_lock.c:80
    #2 0x000055555570f805 in xp_play_sample (
    sample=0x555555bf1440 <wave> "~\177\177\200\200\201\201\200\200\177}zywvuuu uvvuuutrqqppoooppponljhfdcbbc fhlpx|z\202\210\211\210\203zria[VSSSSUUUSQMIE@><;; <>>>;81*!\031\020\n\a\a\f \023\037+;^ly\202\210\212\207\203|skb\\VTRSSUUTTQNIEB> <<;<>>=<81*\"\031\021 \v\b\a\v\022\034+8[kw\202\210\212\210\204}tkc]WSRRSUUUTRNJ FA><;;<=>?<92+$\033\022\f\b\006\n\020\034("...,
    size=2205, background=1) at xpbeep.c:924
    #3 0x00005555556f4237 in sdl_beep () at sdl_con.c:1052
    #4 0x00005555556d7403 in ciolib_beep () at ciolib.c:1716
    #5 0x00005555556d6af9 in ciolib_putch (ch=7) at ciolib.c:1515
    #6 0x00005555556eb1c0 in cterm_write (cterm=0x555555e61870, vbuf=0x7fffffff4f10, buflen=4, retbuf=0x555555bc3300 <ansi_replybuf> "", retsize=2048,
    speed=0x7fffffff4efc) at cterm.c:5197
    #7 0x0000555555584da4 in doterm (bbs=0x555555bbc040 <retlist>) at term.c:2579
    #8 0x00005555555912cc in main (argc=1, argv=0x7fffffffdea8) at syncterm.c:1673
    (gdb) c
    Continuing.


    Saludos! and thanks!

    I don't think Deuce is going to see your message here without being directed to it. I'll try to direct him to it.

    digital man

    Synchronet/BBS Terminology Definition #17:
    DCD = Data Carrier Detect
    Norco, CA WX: 64.4øF, 45.0% humidity, 5 mph ESE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Thu Apr 16 01:14:50 2020
    src/conio sdl_con.c 1.284 1.285
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv353

    Modified Files:
    sdl_con.c
    Log Message:
    isprint() segfaults if the argument is greater than some locale-dependent value.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Thu Apr 16 01:17:04 2020
    src/conio sdl_con.c 1.285 1.286
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv1002

    Modified Files:
    sdl_con.c
    Log Message:
    Right, but we still need isprint() (even on Linux)




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Ragnarok on Thu Apr 16 07:22:41 2020
    Re: Re: src/conio/sdl_con.c
    By: Digital Man to Ragnarok on Wed Apr 15 2020 09:07 pm

    I don't think Deuce is going to see your message here without being directed to it. I'll try to direct him to it.

    <@Deuce> DigitalMan, if you could point him at the bug tracker on SourceForge, that is the best place to report SyncTERM bugs.

    digital man

    This Is Spinal Tap quote #28:
    We've got Armadillos in our trousers. It's really quite frightening.
    Norco, CA WX: 68.3øF, 38.0% humidity, 3 mph SSE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Fri Apr 17 06:15:26 2020
    src/conio sdl_con.c 1.288 1.289
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv19397

    Modified Files:
    sdl_con.c
    Log Message:
    Return the UTF-8 clipboard test.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Ragnarok@VERT/DOCKSUD to Digital Man on Fri Apr 17 16:43:36 2020
    El 16/4/20 a las 01:07, Digital Man escribi¢:
    Re: Re: src/conio/sdl_con.c
    By: Ragnarok to deuce on Wed Apr 15 2020 10:57 pm

    El 15/4/20 a las 21:02, deuce escribi¨:
    src/conio sdl_con.c 1.283 1.284
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv7299

    Modified Files:
    sdl_con.c
    Log Message:
    Overhaul input yet again... this *should* fix Ragnorok's problem... but *may* break all sorts of other things.

    realy break!
    i move o up/down/let/right and segfault

    Starting program: /home/ragnarok/src/ftoledo/sbbs/cvs/src/syncterm/gcc.linux.x6 4.exe.debug/syncterm

    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7ffff6479700 (LWP 3417)]
    [Thread 0x7ffff6479700 (LWP 3417) exited]
    [New Thread 0x7fffe8015700 (LWP 3418)]
    [New Thread 0x7fffe7814700 (LWP 3419)]
    [New Thread 0x7fffe7013700 (LWP 3420)]
    [New Thread 0x7fffe6812700 (LWP 3421)]

    Thread 4 "Main Thread" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffe7814700 (LWP 3419)]
    0x00005555556f3811 in sdl_video_event_thread (data=0x0) at sdl_con.c:836 836 if (block_text ||
    !isprint(ev.key.keysym.sym))
    (gdb) bt
    #0 0x00005555556f3811 in sdl_video_event_thread (data=0x0) at sdl_con.c:836
    #1 0x00007ffff705e4a4 in start_thread (arg=0x7fffe7814700) at pthread_create.c:456
    #2 0x00007ffff6da0d0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

    also (previous this last commits) i fond that hang when try to play bell sound i think:

    (gdb) bt
    #0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
    #1 0x00007ffff7060bb5 in __GI___pthread_mutex_lock
    (mutex=0x555555c230c0 <sample_mutex>) at ../nptl/pthread_mutex_lock.c:80 #2 0x000055555570f805 in xp_play_sample (
    sample=0x555555bf1440 <wave> "~\177\177\200\200\201\201\200\200\177}zywvuuu uvvuuutrqqppoooppponljhfdcbbc
    fhlpx|z\202\210\211\210\203zria[VSSSSUUUSQMIE@><;; <>>>;81*!\031\020\n\a\a\f
    \023\037+;^ly\202\210\212\207\203|skb\\VTRSSUUTTQNIEB> <<;<>>=<81*\"\031\021
    \v\b\a\v\022\034+8[kw\202\210\212\210\204}tkc]WSRRSUUUTRNJ FA><;;<=>?<92+$\033\022\f\b\006\n\020\034("...,
    size=2205, background=1) at xpbeep.c:924
    #3 0x00005555556f4237 in sdl_beep () at sdl_con.c:1052
    #4 0x00005555556d7403 in ciolib_beep () at ciolib.c:1716
    #5 0x00005555556d6af9 in ciolib_putch (ch=7) at ciolib.c:1515
    #6 0x00005555556eb1c0 in cterm_write (cterm=0x555555e61870, vbuf=0x7fffffff4f10, buflen=4, retbuf=0x555555bc3300 <ansi_replybuf> "", retsize=2048,
    speed=0x7fffffff4efc) at cterm.c:5197
    #7 0x0000555555584da4 in doterm (bbs=0x555555bbc040 <retlist>) at term.c:2579
    #8 0x00005555555912cc in main (argc=1, argv=0x7fffffffdea8) at syncterm.c:1673
    (gdb) c
    Continuing.
    [Thread 0x7fffe56d0700 (LWP 31011) exited]
    c^C
    Thread 1 "Main Thread" received signal SIGINT, Interrupt.
    __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 135 in ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
    (gdb) bt
    #0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
    #1 0x00007ffff7060bb5 in __GI___pthread_mutex_lock
    (mutex=0x555555c230c0 <sample_mutex>) at ../nptl/pthread_mutex_lock.c:80 #2 0x000055555570f805 in xp_play_sample (
    sample=0x555555bf1440 <wave> "~\177\177\200\200\201\201\200\200\177}zywvuuu uvvuuutrqqppoooppponljhfdcbbc
    fhlpx|z\202\210\211\210\203zria[VSSSSUUUSQMIE@><;; <>>>;81*!\031\020\n\a\a\f
    \023\037+;^ly\202\210\212\207\203|skb\\VTRSSUUTTQNIEB> <<;<>>=<81*\"\031\021
    \v\b\a\v\022\034+8[kw\202\210\212\210\204}tkc]WSRRSUUUTRNJ FA><;;<=>?<92+$\033\022\f\b\006\n\020\034("...,
    size=2205, background=1) at xpbeep.c:924
    #3 0x00005555556f4237 in sdl_beep () at sdl_con.c:1052
    #4 0x00005555556d7403 in ciolib_beep () at ciolib.c:1716
    #5 0x00005555556d6af9 in ciolib_putch (ch=7) at ciolib.c:1515
    #6 0x00005555556eb1c0 in cterm_write (cterm=0x555555e61870, vbuf=0x7fffffff4f10, buflen=4, retbuf=0x555555bc3300 <ansi_replybuf> "", retsize=2048,
    speed=0x7fffffff4efc) at cterm.c:5197
    #7 0x0000555555584da4 in doterm (bbs=0x555555bbc040 <retlist>) at term.c:2579
    #8 0x00005555555912cc in main (argc=1, argv=0x7fffffffdea8) at syncterm.c:1673
    (gdb) c
    Continuing.


    Saludos! and thanks!

    I don't think Deuce is going to see your message here without being directed to it. I'll try to direct him to it.

    digital man

    ok!! my apologies! where is the better path to report bugs to syncterm?

    ---
    þ Synchronet þ Dock Sud BBS TLD 24 HS - bbs.docksud.com.ar
  • From Digital Man@VERT to Ragnarok on Fri Apr 17 14:47:10 2020
    Re: Re: src/conio/sdl_con.c
    By: Ragnarok to Digital Man on Fri Apr 17 2020 08:43 pm

    I don't think Deuce is going to see your message here without being directed to it. I'll try to direct him to it.

    ok!! my apologies! where is the better path to report bugs to syncterm?

    https://sourceforge.net/p/syncterm/tickets/

    digital man

    Synchronet "Real Fact" #41:
    Synchronet's cross-platform library is called XPDEV (named before Windows XP). Norco, CA WX: 60.8øF, 67.0% humidity, 8 mph ESE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Mon Apr 20 10:46:21 2020
    src/conio sdl_con.c 1.290 1.291
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv5914

    Modified Files:
    sdl_con.c
    Log Message:
    Translate non-printing input characters using the codepage, don't assume anything that doesn't print is "fine".




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Sat Apr 25 06:26:00 2020
    src/conio sdl_con.c 1.292 1.293
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv5303

    Modified Files:
    sdl_con.c
    Log Message:
    Fix height calculation when changing modes.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Sat Apr 25 09:22:48 2020
    src/conio sdl_con.c 1.294 1.295
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv14138

    Modified Files:
    sdl_con.c
    Log Message:
    Move sdl.SetWindowMinimumSize() into appropropriate thread.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Sat Apr 25 10:11:12 2020
    src/conio sdl_con.c 1.295 1.296
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv4331

    Modified Files:
    sdl_con.c
    Log Message:
    Nope, putting it there doesn't work either... just do it before we
    change the window size and it should work out alright.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Mon Apr 27 14:02:53 2020
    src/conio sdl_con.c 1.297 1.298
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv30415

    Modified Files:
    sdl_con.c
    Log Message:
    Don't treat keysyms as though they are unicode (they aren't).




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Mon Apr 27 18:25:20 2020
    src/conio sdl_con.c 1.298 1.299
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv9464

    Modified Files:
    sdl_con.c
    Log Message:
    First attempt at getting AltGr working for ragnarok in SDL mode.
    The SDL wiki lists KMOD_MODE as AltGR... if that flag is flying in a
    keypress, do not block text input.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Mon Apr 27 19:35:25 2020
    src/conio sdl_con.c 1.299 1.300
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv20611

    Modified Files:
    sdl_con.c
    Log Message:
    Commit this for no good reason.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Ragnarok@VERT/DOCKSUD to deuce on Tue Apr 28 11:10:15 2020
    El 28/4/20 a las 02:25, deuce escribi¢:
    src/conio sdl_con.c 1.298 1.299
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv9464

    Modified Files:
    sdl_con.c
    Log Message:
    First attempt at getting AltGr working for ragnarok in SDL mode.
    The SDL wiki lists KMOD_MODE as AltGR... if that flag is flying in a keypress, do not block text input.

    YOU ARE the fucking king of the world of bbs terminals!


    . * .. . * *

    * * @()Ooc()* o .

    (Q@*0CG*O() ___

    |\_________/|/ _ \

    | | | | | / | |

    | | | | | | | |

    | | | | | | | |

    | | | | | | | |

    | | | | | | | |

    | | | | | \_| |

    | | | | |\___/
    |\_|__|__|_/|

    \_________/



    work perfect!!!!!!!!!!!!

    ---
    þ Synchronet þ Dock Sud BBS TLD 24 HS - bbs.docksud.com.ar
  • From deuce@VERT to CVS commit on Wed Apr 29 07:00:52 2020
    src/conio sdl_con.c 1.302 1.303
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv28032

    Modified Files:
    sdl_con.c
    Log Message:
    Allow DEL key to work again.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Fri May 1 12:52:31 2020
    src/conio sdl_con.c 1.304 1.305
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv11032

    Modified Files:
    sdl_con.c
    Log Message:
    Remove debug output from last commit.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Wed May 13 19:12:42 2020
    src/conio sdl_con.c 1.307 1.308
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv10188

    Modified Files:
    sdl_con.c
    Log Message:
    Fix error which caused keypad with NumLock on to send both the arrow and
    number to the remote.
    Fixes bug https://sourceforge.net/p/syncterm/tickets/15/




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Thu May 14 15:38:23 2020
    src/conio sdl_con.c 1.310 1.311
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv17007

    Modified Files:
    sdl_con.c
    Log Message:
    Support building with ancient versions of SDL2 from six years ago.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Fri May 15 00:24:29 2020
    src/conio sdl_con.c 1.311 1.312
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv413

    Modified Files:
    sdl_con.c
    Log Message:
    Work around issue in SDL2 (or OpenGL? Or nvidia driver?) where creating
    a new texture with the same address as a destroyed texture causes crashes.
    Just allocate the new texture before freeing the old one to prevent that
    from occuring.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Fri May 22 03:41:25 2020
    src/conio sdl_con.c 1.312 1.313
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv21104

    Modified Files:
    sdl_con.c
    Log Message:
    Clamp the rectangle height to the texture height when copying pixel data.
    May fix https://sf.net/p/syncterm/tickets/19/

    Please try to log in to SourceForge when creating issues or I won't be able
    to contact you with follow-up questions or get confirmation when an issue
    is resolved.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sat Mar 13 22: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-numbers

    Make an exception for all keypad stuff.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Wed Mar 17 09: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.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Fri Mar 19 07:05:12 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/1495774a066cb027a3d96cf7
    Modified Files:
    src/conio/sdl_con.c
    Log Message:
    Fix AltGr with SDL2

    This is pretty insane since SDL2 completely ignores the keysym value
    of the X11 keyboard event, so here's what we do...

    1) When there's a keypress that includes right-alt, store the sym/mod
    2) 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 pretending
    it doesn't exist at all for key input is a very weird choice.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Wed May 12 20: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 you
    want.

    This was discovered when I was trying to make DigitalMan happy
    because he wanted the apsect ratio retained on scaling.

    Sorry for the impending imminent scaling hassle DigitalMan!

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Wed May 12 21: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 aspect
    ratio enforcement means that ALT-UP and ALT-DOWN are useless for
    resizing the window unless it's not already snapped... use ALT-LEFT
    and ALT-RIGHT to decrease/increase the window size.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Fri May 14 12: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.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Fri May 14 13: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

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Mon May 17 05: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 the
    window to be scaled.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Mon May 17 06: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't
    feel like digging into however one uses manifest files when not
    using the Microsoft build files.

    Details here: https://docs.microsoft.com/en-us/windows/win32/hidpi/setting-the-default-dpi-awareness-for-a-process

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sun Dec 25 21:45:27 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/a194a15736de98517f48a9b3
    Modified Files:
    src/conio/sdl_con.c
    Log Message:
    Various SDL fixes:

    Pass window size in SDL_USEREVENT_SETVIDMODE
    - Fixes race condition where SDL_WINDOWEVENT_RESIZED or
    SDL_WINDOWEVENT_SIZE_CHANGED arraves while
    SDL_USEREVENT_SETVIDMODE is in the queue

    Set new scaling based on old scaling multiplier
    - Will resize window on mode changes, but tries to keep integer
    multiplier similar. May break fullscreen modes, dunno.

    Have aspect_fix() return higher rather than lower
    - This may make it the same as aspect_correct(), but I'm too lazy
    to figure that out.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Mon Dec 26 00:38:10 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/2fa700696c34fb298fd24c7b
    Modified Files:
    src/conio/sdl_con.c
    Log Message:
    Now that SDL_USEREVENT_SETVIDMODE takes a size, we can clean up sdl_setwinsize() and eliminate another race.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Fri Feb 10 19:12:31 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/f47c60792c13c8bd9c4e67c4
    Modified Files:
    src/conio/sdl_con.c
    Log Message:
    Fix a couple issues found by Coverity

    1) Unreachable return without a lock in sdl_useR_func_ret() (harmless)
    2) LOR in handling SDL_USEREVENT
    - vstatlock was obtained inside of win_mutex which should never
    be done... this could (and likely does) result in a deadlock
    when using SDL mode.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Thu Apr 20 15:12:48 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/6369925c868a8a9485e6627f
    Modified Files:
    src/conio/sdl_con.c
    Log Message:
    Use a local vstat copy instead of cvstat to avoid holding the lock
    for an extended time. Should fix SDL mode slowness.

    Only call RenderPresent() if we called RenderCopy(). Should fix
    SDL mode flickering.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Thu Apr 20 16:00:27 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/f06029a3889734491909ebe9
    Modified Files:
    src/conio/sdl_con.c
    Log Message:
    Add TODO comment for cvstat.

    When originally created, it was intended to be accessed only by a
    single thread, and therefore not need mutex protection, allowing
    less code to run with vstatlock held. Unfortunately, this is not
    how it turned out, so cvstat should either be removed, or it should
    actually be cleaned up to work as intended.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Fri Apr 21 10:26:55 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/fdce00a456a33dc858067aef
    Modified Files:
    src/conio/sdl_con.c
    Log Message:
    Push cvstat into sdl_video_event_thread() stack

    This makes cvstat work as intended, so we no longer need to lock
    vstatlock when accessing it since it's only accessed from the
    video event thread.

    There's still an irritating dependency on vstat for ALT-Enter handling.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Fri Apr 21 10:26:55 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/22c8b09f824496b7c68e599e
    Modified Files:
    src/conio/sdl_con.c
    Log Message:
    Get vstat out of sdl_add_key() path

    This should almost completely remove vstatlock contention in SyncTERM,
    which should bring SDL output performance close to X11 performance.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Tue Apr 25 09:41:15 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/832871707fc3f2d37ff1891d
    Modified Files:
    src/conio/sdl_con.c
    Log Message:
    On a window resize event, only set the window size if it's different

    Fixes issue on Linux where the window size is constantly updated,
    and window rabidly steals focus.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Wed Apr 26 10:39:20 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/defc638c9f1cc95ca234a780
    Modified Files:
    src/conio/sdl_con.c
    Log Message:
    Check SDL window size when checking if size changed.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sat Apr 29 10:42:01 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/47977472de4bfce66f1bd4d1
    Modified Files:
    src/conio/sdl_con.c
    Log Message:
    Don't treat numpad /*-+ differently based on NumLock in SDL

    This caused double-keys on those when numlock was off. Only the
    number keys and period need special NumLock handling.

    Fixes bug 108 on SourceForge, thanks nelgin!

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Thu May 4 07:21:50 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/9137e82c9afa91f0c0647c70
    Modified Files:
    src/conio/sdl_con.c
    Log Message:
    Fix warnings reported by Digitalman

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Fri May 5 21:29:01 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/875c77ea0bc774be2c2a4f67
    Modified Files:
    src/conio/sdl_con.c
    Log Message:
    Resolve GCC warnings: cast from pointer to integer of different size

    Pretty sure this is what intptr_t was created for.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sun May 14 20:26:56 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/4af4effb3148c0c695e56ad1
    Modified Files:
    src/conio/sdl_con.c
    Log Message:
    Fix deadlock in SDL mode.

    sdl_getscaling() does not require vstatlock. Move it out.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • 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
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sun Nov 3 11:14:25 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/099cfb35ff70d4074329280d
    Modified Files:
    src/conio/sdl_con.c
    Log Message:
    Fix LOR

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sun Nov 3 11:14:25 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/20165689e200d526fb30269b
    Modified Files:
    src/conio/sdl_con.c
    Log Message:
    Add locking around win access

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Fri Nov 22 18:05:08 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/eef585abf35368fd3168a877
    Modified Files:
    src/conio/sdl_con.c
    Log Message:
    Deuce said I remove this error message

    It was always displayed (sent to stderr) when running scfg, echocfg, uedit, etc. in auto-curses mode, so suppress that noise.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sat Nov 23 16:57:28 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/76ebd193e01d11374440871f
    Modified Files:
    src/conio/sdl_con.c
    Log Message:
    Scale SDL_GetDisplayUsableBounds() like SDL_GetWindowSize()

    For retina lies.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sat Nov 23 17:02:05 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/16bf43e5b425f472d1fbdab2
    Modified Files:
    src/conio/sdl_con.c
    Log Message:
    Try this the other way...

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sat Nov 23 17:08:07 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/b38127ee8ce07bb3172c45ca
    Modified Files:
    src/conio/sdl_con.c
    Log Message:
    Remove unused variable

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sun Nov 24 11:02:24 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/446c6785d406604b39c646f6
    Modified Files:
    src/conio/sdl_con.c
    Log Message:
    Fix up win_lock mutex usage

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