-
exec/load/frame.js
From
echicken@VERT to
CVS commit on Sun Jan 10 11:04:43 2016
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 Wed Jan 11 14:52:36 2017
exec/load frame.js 1.72 1.73
Update of /cvsroot/sbbs/exec/load
In directory cvs:/tmp/cvs-serv18736
Modified Files:
frame.js
Log Message:
Added Frame.cleardata() method; resets Frame data array to [], invalidates Frame.
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■
telnet://vert.synchro.net
-
From
echicken@VERT to
CVS commit on Wed Jan 11 15:52:57 2017
exec/load frame.js 1.73 1.74
Update of /cvsroot/sbbs/exec/load
In directory cvs:/tmp/cvs-serv20563
Modified Files:
frame.js
Log Message:
Home the frame cursor after nuking the data array.
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■
telnet://vert.synchro.net
-
From
echicken@VERT to
CVS commit on Wed Jan 11 16:07:27 2017
exec/load frame.js 1.74 1.75
Update of /cvsroot/sbbs/exec/load
In directory cvs:/tmp/cvs-serv20986
Modified Files:
frame.js
Log Message:
Simplified Frame.clear(); mcmlxxix may disapprove.
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■
telnet://vert.synchro.net
-
From
echicken@VERT to
CVS commit on Wed Jan 11 17:28:57 2017
exec/load frame.js 1.75 1.76
Update of /cvsroot/sbbs/exec/load
In directory cvs:/tmp/cvs-serv23551
Modified Files:
frame.js
Log Message:
Reset x and y offset to 0 after clearing frame. Maybe this should be done in Frame.home().
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■
telnet://vert.synchro.net
-
From
mcmlxxix@VERT to
CVS commit on Wed Jan 11 18:17:11 2017
exec/load frame.js 1.76 1.77
Update of /cvsroot/sbbs/exec/load
In directory cvs:/tmp/cvs-serv24971
Modified Files:
frame.js
Log Message:
fix cleartoeol() and clearline() to clear relative to current frame offset (instead of absolute position)
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■
telnet://vert.synchro.net
-
From
Kirkman@VERT/GUARDIAN to
mcmlxxix on Thu Jan 12 04:16:54 2017
Great to see you guys working on this. I'm putting together a new parallax animation I'm really excited about, powered by frame.js.
--Josh
////--------------------------------------------------
BiC -=-
http://breakintochat.com -=- bbs wiki and blog
---
■ Synchronet
-
From
echicken@VERT to
CVS commit on Tue Jan 9 03: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.
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
-
From
echicken@VERT to
CVS commit on Sat Jan 13 05: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.
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
-
From
echicken@VERT to
CVS commit on Sat Jan 13 05: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.
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
-
From
echicken@VERT to
CVS commit on Sun Sep 23 14: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).
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Sat Apr 25 06: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 22: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 22: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 22: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 22: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 23: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 23: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 Tue May 5 01: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 23: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 16: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 14: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 23: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 13:38:54 2020
-
From
Rob Swindell@VERT to
Git commit to main/sbbs/master on Thu Dec 24 19:05:21 2020
-
From
MJ@VERT to
Git commit to main/sbbs/master on Mon Mar 8 09:29:55 2021