• exec/load/frame.js

    From rswindell@VERT to CVS commit on Sat Apr 25 02:18:55 2020
    exec/load frame.js 1.81 1.82
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv6681

    Modified Files:
    frame.js
    Log Message:
    Part of solution to performance problems ftn-setup.js and xtrn-setup.js
    where Display.prototype.__getUpdateList__ was taking > 1 second on an rPi3:
    We need to avoid using Frame.clear() which invalidates the entire frame
    and requires an update check of every cell (e.g. thousands in a typical
    frame). So we're going to depend on Frame.cleartoeol() which needed its
    own optimization to invalidate every cell of the current line even when
    the cells were already blank (undefined). So only mark the cells for
    update if they actually have data in them that is being cleared.

    Also, the putmsg() method was taking on a CRLF to the output string when word-wrap was enabled. So removing the trailing whitespace after word
    wrap does its thing. If this breaks other scripts, then perhaps we need
    to restore the original CRLF on the end of the word-wrapped string, but
    *only* if there was a CRLF on the end of the original string to begin
    with.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From mcmlxxix@VERT to CVS commit on Sun Apr 26 18:20:44 2020
    exec/load frame.js 1.82 1.83
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv17240

    Modified Files:
    frame.js
    Log Message:
    added frame.erase(ch,attr) method. where ch = character to treat as whitespace. if non-whitespace (!= ch && != undefined) cells are found they will be set to undefined and tagged for update.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From mcmlxxix@VERT to CVS commit on Sun Apr 26 18:34:57 2020
    exec/load frame.js 1.83 1.84
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv19293

    Modified Files:
    frame.js
    Log Message:
    home cursor on erase()


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sun Apr 26 18:37:45 2020
    exec/load frame.js 1.84 1.85
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv19685

    Modified Files:
    frame.js
    Log Message:
    Fix the typos.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From mcmlxxix@VERT to CVS commit on Sun Apr 26 18:56:11 2020
    exec/load frame.js 1.85 1.86
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv22480

    Modified Files:
    frame.js
    Log Message:
    abort top-level canvas check if frame is a parentless bastard child (might make it a bit faster in single-frame scenarios?)


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sun Apr 26 19:04:54 2020
    exec/load frame.js 1.86 1.87
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv23606

    Modified Files:
    frame.js
    Log Message:
    Do the putmsg() thing with word-wrap that I talked about a few commits ago: Only trim the trailing white-space post-word-wrap if there was not a trailing newline on the original string.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From mcmlxxix@VERT to CVS commit on Sun Apr 26 19:11:57 2020
    exec/load frame.js 1.87 1.88
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv24809

    Modified Files:
    frame.js
    Log Message:
    move Cursor, Offset getters/setters to prototype (squeeze out that last drop of memory savings)


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From mcmlxxix@VERT to CVS commit on Mon May 4 21:23:21 2020
    exec/load frame.js 1.88 1.89
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv25186

    Modified Files:
    frame.js
    Log Message:
    added frame.getWord(x,y) method -- returns adjacent non-whitespace characters at position


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sun Jul 26 19:42:22 2020
    exec/load frame.js 1.89 1.90
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/home/rswindell/sbbs/exec/load

    Modified Files:
    frame.js
    Log Message:
    Patch provided by alterego (ALTERANT):
    I have a fix for frame.js - I noticed an issue that \1n was not reseting back to normal (normal being black background).

    Eg: I had this:

    const frame = new Frame(1,1,console.screen_columns,console.screen_rows,BG_BLACK|LIGHTGRAY); frame.gotoxy(1,1);
    frame.putmsg(test);

    and if test was sending something like \1n\17\1kfoo\1nbar, "bar" would still have a white background with black text.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sat Aug 1 12:32:23 2020
    exec/load frame.js 1.90 1.91
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv19654

    Modified Files:
    frame.js
    Log Message:
    alterego (ALTERANT):
    The patch I gave you hasnt applied correctly - I probably should have given you a unified diff. <sorry>

    Can you revert it, and put this text in the "case 'N'" stanza:

    this.__properties__.curr_attr=((this.__properties__.curr_attr)&0x8f)|LIGHTGRAY;

    So that stanza not only reverts HIGH and BLINK, it also sets the background and foreground colors back to BG_BLACK|LIGHTGRAY.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From m j@VERT to Git commit to sbbs/master on Tue Sep 15 10:50:27 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/07d08a0b96da8bfc431920a6
    Modified Files:
    exec/load/frame.js
    Log Message:
    Update frame.js

    update frame.putmsg() "normal" ctrl-a code to use attributes from frame initialization (ansi "normal" is relative to the frame's settings). to emulate standard "normal" behaviour, initialize frames with BG_BLACK|LIGHTGRAY

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Derek Mullin@VERT to Git commit to sbbs/master on Tue Sep 22 19:31:14 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/33bb95eacd17c0dc32bd1300
    Modified Files:
    exec/load/frame.js
    Log Message:
    Changes to Frame.load()
    Treat .asc, .msg, and .txt the same.
    For .asc, .msg, .txt, split the file on /\r*\n/ instead of
    assuming CRLF. We know what phil says about assumtion.

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Fri Oct 16 09:38:54 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/816dc67fd1967bc8968c34dd
    Modified Files:
    exec/load/frame.js
    Log Message:
    fix string index check, add JS, remove WIDE:

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Thu Dec 24 14:05:21 2020
    https://gitlab.synchro.net/main/sbbs/-/commit/562cb81a28cebda03b3fe8d8
    Modified Files:
    exec/load/frame.js
    Log Message:
    Update exception strings to be unique

    Chasing down the cause of:
    term Node 2 <Guest> Error: invalid y coordinate: 0

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From MJ@VERT to Git commit to main/sbbs/master on Mon Mar 8 09:29:55 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/8fce65e65ebab0828c4c0559
    Modified Files:
    exec/load/frame.js
    Log Message:
    fix issue with over-scrolling in scroll, pagedown

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