• exec/load/frame.js

    From rswindell to CVS commit on Saturday, April 25, 2020 02:18:55
    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.


  • From mcmlxxix to CVS commit on Sunday, April 26, 2020 18:20:44
    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.

  • From mcmlxxix to CVS commit on Sunday, April 26, 2020 18:34:57
    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()

  • From rswindell to CVS commit on Sunday, April 26, 2020 18:37:45
    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.


  • From mcmlxxix to CVS commit on Sunday, April 26, 2020 18:56:11
    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?)

  • From rswindell to CVS commit on Sunday, April 26, 2020 19:04:54
    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.


  • From mcmlxxix to CVS commit on Sunday, April 26, 2020 19:11:57
    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)

  • From mcmlxxix to CVS commit on Monday, May 04, 2020 21:23:21
    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

  • From rswindell to CVS commit on Sunday, July 26, 2020 19:42:22
    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.


  • From rswindell to CVS commit on Saturday, August 01, 2020 12:32:23
    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.


  • From m j to Git commit to sbbs/master on Tuesday, September 15, 2020 10:50:27
    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
  • From Derek Mullin to Git commit to sbbs/master on Tuesday, September 22, 2020 19:31:14
    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.
  • From Rob Swindell to Git commit to sbbs/master on Friday, October 16, 2020 09:38:54
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/816dc67fd1967bc8968c34dd
    Modified Files:
    exec/load/frame.js
    Log Message:
    fix string index check, add JS, remove WIDE:
  • From Rob Swindell to Git commit to main/sbbs/master on Thursday, December 24, 2020 14:05:21
    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
  • From MJ to Git commit to main/sbbs/master on Monday, March 08, 2021 09:29:55
    https://gitlab.synchro.net/main/sbbs/-/commit/8fce65e65ebab0828c4c0559
    Modified Files:
    exec/load/frame.js
    Log Message:
    fix issue with over-scrolling in scroll, pagedown