• exec/load/avatar_lib.js

    From rswindell@VERT to CVS commit on Thu Feb 28 10:18:00 2019
    exec/load avatar_lib.js 1.17 1.18
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv18044

    Modified Files:
    avatar_lib.js
    Log Message:
    Implement an (in-memory) Avatar cache - reducing the number of disk accesses when using features that support avatars (e.g. reading msgs, listing files, listing BBSes in the BBS list).
    When used in the terminal server, the cache is located in bbs.mods.avatar_cache otherwise it's located in the scope of the load()'d library. Applications must use the lib's read() method to take advantage of the cache. The other lower level functions (e.g. read_localuser, read_netuser) by-pass the cache on read but do update the cache with the result. So, generally, avatars should be only loaded from disk one time during a session/logon.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sat Mar 23 23:51:00 2019
    exec/load avatar_lib.js 1.18 1.19
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv10618

    Modified Files:
    avatar_lib.js
    Log Message:
    The draw() and draw_bin() methods now support an additional, optional 'top' argument which specifies that the avatar should be drawn at the top of the screen.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Fri Jun 14 14:24:20 2019
    exec/load avatar_lib.js 1.19 1.20
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv25951

    Modified Files:
    avatar_lib.js
    Log Message:
    Since we're now caching the entire avatar_lib (in bbs.mods), no need to store the avatar (data) cache separately in bbs.mods.



    ---
    þ 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 Mon Feb 26 17:53:01 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/29740f6cbbedf9bd5664d4f7
    Modified Files:
    exec/load/avatar_lib.js
    Log Message:
    Use the common ini formatting for writing avatar data

    (just a cosmetic change)

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