• exec/load/frame.js

    From mcmlxxix@VERT to CVS commit on Friday, June 20, 2014 18:28:51
    exec/load frame.js 1.53 1.54
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv8023

    Modified Files:
    frame.js
    Log Message:
    fix reported bug by captain kirk.... man.
    use frame offset when determining if the top level frame has data at a given x,y. fixes problem with transparency filtering around only the first sprite position's content (ala sprite.js)


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From echicken@VERT to CVS commit on Saturday, August 23, 2014 22:22:11
    exec/load frame.js 1.54 1.55
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv16425

    Modified Files:
    frame.js
    Log Message:
    Added drawBorder() method


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From mcmlxxix@VERT to CVS commit on Wednesday, August 27, 2014 06:54:04
    exec/load frame.js 1.55 1.56
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv30872

    Modified Files:
    frame.js
    Log Message:
    move drawBorder prototype method into oneliners script


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From echicken@VERT to CVS commit on Wednesday, September 03, 2014 15:03:10
    exec/load frame.js 1.56 1.57
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv23036

    Modified Files:
    frame.js
    Log Message:
    Make data_width return the data width.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From echicken@VERT to CVS commit on Thursday, September 04, 2014 11:57:49
    exec/load frame.js 1.57 1.58
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv13084

    Modified Files:
    frame.js
    Log Message:
    Be a little less loopy.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From mcmlxxix@VERT to CVS commit on Thursday, September 04, 2014 12:19:44
    exec/load frame.js 1.58 1.59
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv13281

    Modified Files:
    frame.js
    Log Message:
    fix word_wrap (hopefully)


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From mcmlxxix@VERT to CVS commit on Thursday, September 04, 2014 12:36:34
    exec/load frame.js 1.59 1.60
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv13418

    Modified Files:
    frame.js
    Log Message:
    re-fix word_wrap


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From mcmlxxix@VERT to CVS commit on Thursday, September 04, 2014 12:56:59
    exec/load frame.js 1.60 1.61
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv13532

    Modified Files:
    frame.js
    Log Message:
    try this shit


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From echicken@VERT to CVS commit on Thursday, September 04, 2014 13:57:52
    exec/load frame.js 1.61 1.62
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv14073

    Modified Files:
    frame.js
    Log Message:
    Something something nonsequential.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From deuce@VERT to CVS commit on Thursday, September 04, 2014 16:54:36
    exec/load frame.js 1.62 1.63
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv21028

    Modified Files:
    frame.js
    Log Message:
    Attempt to unfuck word_wrap()... wrap the first line to the remaining width, then every following line to this.wdith.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From deuce@VERT to CVS commit on Thursday, September 04, 2014 16:55:41
    exec/load frame.js 1.63 1.64
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv21046

    Modified Files:
    frame.js
    Log Message:
    More "don't hangle quotes" arguments to word_wrap()



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From mcmlxxix@VERT to CVS commit on Friday, December 19, 2014 16:22:52
    exec/load frame.js 1.64 1.65
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv29059

    Modified Files:
    frame.js
    Log Message:
    fixun dat word wrap up in dis sumbitch


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From echicken@VERT to CVS commit on Saturday, January 03, 2015 11:50:24
    exec/load frame.js 1.65 1.66
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv9297

    Modified Files:
    frame.js
    Log Message:
    Possibly fix transparency issue reported by Kirkman.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From mcmlxxix@VERT to CVS commit on Wednesday, January 28, 2015 09:37:29
    exec/load frame.js 1.66 1.67
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv7941

    Modified Files:
    frame.js
    Log Message:
    a vigorous fisting -- now makes extensive use of prototypes to slim down memory usage (drastically)


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From mcmlxxix@VERT to CVS commit on Monday, February 23, 2015 13:36:43
    exec/load frame.js 1.67 1.68
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv4995

    Modified Files:
    frame.js
    Log Message:
    fixed ctrl-A happy face display in frame.putmsg()


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From deuce@VERT to CVS commit on Wednesday, April 29, 2015 22:08:23
    exec/load frame.js 1.68 1.69
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv21037

    Modified Files:
    frame.js
    Log Message:
    Support parsing SAUCE information. You don't need to pass width/height
    if you have valid SAUCE data in the file.

    Not *really* tested, only checked that it didn't break mah lemons.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From deuce@VERT to CVS commit on Friday, May 01, 2015 10:21:32
    exec/load frame.js 1.69 1.70
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv22899

    Modified Files:
    frame.js
    Log Message:
    Fix SAUCE parsing thanks to test files from Kirkman.

    Thanks!




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From echicken@VERT to CVS commit on Friday, August 21, 2015 14:32:40
    exec/load frame.js 1.70 1.71
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv8516

    Modified Files:
    frame.js
    Log Message:
    Added Frame.dump, Display.dump, because everybody needs to take a dump now
    and then.

    Frame.dump returns a 2D array of [row[[column]]] data representing what is visible in the terminal at the moment. If a given y,x location has no
    data, [y][x] is left undefined. If more than one frame has data at a given location, the topmost frame's data is returned. Data from frames beneath non-transparent frames will not be returned.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From echicken@VERT to CVS commit on Sunday, January 10, 2016 06:04:43
    exec/load frame.js 1.71 1.72
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv27461

    Modified Files:
    frame.js
    Log Message:
    Frame.putmsg() - unset HIGH and BLINK when \1n (normal) is encountered.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From echicken@VERT to CVS commit on Monday, January 08, 2018 22:04:50
    exec/load frame.js 1.77 1.78
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv12074

    Modified Files:
    frame.js
    Log Message:
    Added method 'Frame.load_bin(contents,width,height,offset)'
    Allows loading a whole or partial bin 'graphic' from a string;
    decouples bin loading from file reading if desired.
    Frame.load() calls Frame.load_bin() in case of a .bin file.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT to CVS commit on Saturday, January 13, 2018 00:07:59
    exec/load frame.js 1.78 1.79
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv11033/load

    Modified Files:
    frame.js
    Log Message:
    Added __flip__ 'private' method
    Added flipX and flipY 'public' methods
    Mirror the Frame's contents horizontally or vertically
    Automatically swap some characters; the replacement
    tables for these may need some tweaking later on.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT to CVS commit on Saturday, January 13, 2018 00:18:33
    exec/load frame.js 1.79 1.80
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv12282/load

    Modified Files:
    frame.js
    Log Message:
    Don't reverse each row if doing a y flip.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT to CVS commit on Sunday, September 23, 2018 10:49:09
    exec/load frame.js 1.80 1.81
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv27603

    Modified Files:
    frame.js
    Log Message:
    Emulate console's \1+ \1- behaviour (maintain a LIFO attribute stack,
    push/pop as needed).



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT 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.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From mcmlxxix@VERT 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.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From mcmlxxix@VERT 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()


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT 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.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From mcmlxxix@VERT 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?)


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT 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.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From mcmlxxix@VERT 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)


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From mcmlxxix@VERT 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


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT 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.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT 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.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From m j@VERT 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

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Derek Mullin@VERT 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.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT 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:

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT 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

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From MJ@VERT 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

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