• src/syncterm/syncterm.c

    From rswindell@VERT to CVS commit on Friday, March 15, 2019 16:42:37
    src/syncterm syncterm.c 1.218 1.219
    Update of /cvsroot/sbbs/src/syncterm
    In directory cvs:/tmp/cvs-serv20399

    Modified Files:
    syncterm.c
    Log Message:
    Fix (or work-around?) ScalingFactor issue reported by ogg in fsxNet->FSX BBS: The ScalingFactor would always (or usually) reset to 1 and have to be reset e.g. to 2, by resizing the window manually, every time SyncTERM was run.

    I found that by calling textmode() *after* setscaling() rather than before fixed this issue (at least in SDL mode on Ubuntu Linux). Another "fix" that worked inserting a small (100ms) delay between the calls to textmode() and setscaling() - so there appears to have been a race condition and calling setccaling() too soon after text mode() would fail to change the window
    size successfully. Reordering these calls seems to work 100% of the time without any additional delays. <shrug> Deuce would likely know "why" better than I.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Wednesday, May 29, 2019 23:24:44
    src/syncterm syncterm.c 1.219 1.220
    Update of /cvsroot/sbbs/src/syncterm
    In directory cvs:/tmp/cvs-serv11274

    Modified Files:
    syncterm.c
    Log Message:
    parse_url() does the giant array on the stack too.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Tuesday, July 09, 2019 15:35:11
    src/syncterm syncterm.c 1.220 1.221
    Update of /cvsroot/sbbs/src/syncterm
    In directory cvs:/tmp/cvs-serv23421

    Modified Files:
    syncterm.c
    Log Message:
    syncterm.c was getting stdbool from cterm.h



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Wednesday, April 01, 2020 00:39:23
    src/syncterm syncterm.c 1.224 1.225
    Update of /cvsroot/sbbs/src/syncterm
    In directory cvs:/tmp/cvs-serv16559/syncterm

    Modified Files:
    syncterm.c
    Log Message:
    More SDL2 fixes...

    Remove CIOLIB_MODE_SDL_YUV* macros, these modes have no point anymore
    Fix SDL prototypes

    Use _beginthread() instead of SDL_CreateThread(). For some reason, using CreateThread() sometimes caused an application crash (ie: when using -?) Everyhing else uses _beginthread() so there's no reason for this to be
    special, especially when it breaks stuff.


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