-
exec/load/frame.js
From
echicken@1:103/705 to
CVS commit on Mon Jan 8 22:04:50 2018
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.
--- SBBSecho 3.03-Win32
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
echicken@1:103/705 to
CVS commit on Sat Jan 13 00:07:59 2018
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.
--- SBBSecho 3.03-Win32
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
echicken@1:103/705 to
CVS commit on Sat Jan 13 00:18:33 2018
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.
--- SBBSecho 3.03-Win32
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
echicken@1:103/705 to
CVS commit on Sun Sep 23 10:49:09 2018
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).
--- SBBSecho 3.06-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 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.
--- SBBSecho 3.10-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
mcmlxxix@1:103/705 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.
--- SBBSecho 3.11-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
mcmlxxix@1:103/705 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()
--- SBBSecho 3.11-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 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.
--- SBBSecho 3.11-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
mcmlxxix@1:103/705 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?)
--- SBBSecho 3.11-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 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.
--- SBBSecho 3.11-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
mcmlxxix@1:103/705 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)
--- SBBSecho 3.11-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
mcmlxxix@1:103/705 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
--- SBBSecho 3.11-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 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.
--- SBBSecho 3.11-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 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.
--- SBBSecho 3.11-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
m j@1:103/705 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.jsupdate 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
--- SBBSecho 3.11-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
Derek Mullin@1:103/705 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 ofassuming CRLF. We know what phil says
about assumtion.
--- SBBSecho 3.11-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
Rob Swindell@1:103/705 to
Git commit to sbbs/master on Fri Oct 16 09:38:54 2020
-
From
Rob Swindell@1:103/705 to
Git commit to main/sbbs/master on Thu Dec 24 14:05:21 2020
-
From
MJ@1:103/705 to
Git commit to main/sbbs/master on Mon Mar 8 09:29:55 2021