• src/conio/bitmap_con.c sdl_con.c vidmodes.c vidmodes.h

    From deuce@VERT to CVS commit on Sunday, July 05, 2015 02:07:34
    src/conio bitmap_con.c 1.46 1.47 sdl_con.c 1.215 1.216 vidmodes.c 1.17 1.18 vidmodes.h 1.19 1.20
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv15705

    Modified Files:
    bitmap_con.c sdl_con.c vidmodes.c vidmodes.h
    Log Message:
    Improve the locking "stuff"...

    For regular vstatlock things, only hold the lock long enough to copy the variables that will be used.

    For vstat.vmem stuff, create a separate reference-counting vmem structure
    and a new vmem_lock so the memcpy() of the vmem won't block basic vstat accesses.

    This appears to fix the recently-added "blockiness" of screen updates in SyncTERM, without risking deadlocks or unlocked accesses... the major issue holding up a release.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Lord Time@VERT/TIME to deuce on Sunday, July 05, 2015 10:55:58
    src/conio bitmap_con.c 1.46 1.47 sdl_con.c 1.215 1.216 vidmodes.c 1.17 1.18 vidmodes.h 1.19 1.20 Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv15705

    Modified Files:
    bitmap_con.c sdl_con.c vidmodes.c vidmodes.h
    Log Message:
    Improve the locking "stuff"...

    For regular vstatlock things, only hold the lock long enough to copy the variables that will be used.

    For vstat.vmem stuff, create a separate reference-counting vmem structure and a new vmem_lock so the memcpy() of the vmem won't block basic vstat accesses.

    This appears to fix the recently-added "blockiness" of screen updates in SyncTERM, without risking deadlocks or unlocked accesses... the major issue holding up a release.

    if this was to fix the 10 key part of the keyboard, it didn't work, you have to turn off the number lock to get it to work, on the 7/5/15 build.


    ---

    Rob Starr
    Lord Time SysOp of
    Time Warp of the Future BBS
    Telnet://Time.Darktech.Org:24 or
    Telnet://Time.Synchro.Net:24 (qwk or ftn & e-mail)
    ICQ # 11868133 or # 70398519 Jabber : lordtime2000@gmail.com
    Yahoo : lordtime2000 AIM : LordTime20000 MSN : Lord Time
    Astra : lord_time X-Box : Lord Time 2000 oovoo : lordtime2000
    ---
    þ Synchronet þ Time Warp of the Future BBS - Home of League 10 IBBS Games
  • From Deuce@VERT/SYNCNIX to Lord Time on Sunday, July 05, 2015 16:44:35
    Re: Re: src/conio/bitmap_con.c sdl_con.c vidmodes.c vidmodes.h
    By: Lord Time to deuce on Sun Jul 05 2015 10:55 am

    if this was to fix the 10 key part of the keyboard, it didn't work, you have to turn off the number lock to get it to work, on the 7/5/15 build.

    Nope, that's an SDL bug and basically unfixable as long as I keep using SDL 1.x. Essentially, SDL always assumes numlock is off when it starts, and every time numlock is pressed while the SDL app has focus, the state toggles.

    While platform-specific code could theoretically be added to check the numlock state, I don't really want to hold up the release due to this issue. I may or may not look into it further before the release.

    ---
    http://DuckDuckGo.com/ a better search engine that respects your privacy.
    Mro is an idiot. Please ignore him, we keep hoping he'll go away.
    þ Synchronet þ My Brand-New BBS (All the cool SysOps run STOCK!)