• xtrn/ansiview/ansiview.js

    From echicken@VERT to CVS commit on Monday, August 17, 2015 21:20:54
    xtrn/ansiview ansiview.js 1.11 1.12
    Update of /cvsroot/sbbs/xtrn/ansiview
    In directory cvs:/tmp/cvs-serv22251

    Modified Files:
    ansiview.js
    Log Message:
    Gallery menu formatting cleanup.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Thursday, January 04, 2018 00:42:19
    xtrn/ansiview ansiview.js 1.12 1.13
    Update of /cvsroot/sbbs/xtrn/ansiview
    In directory cvs:/tmp/cvs-serv14777

    Modified Files:
    ansiview.js
    Log Message:
    Use the printfile() mode flag P_CPM_EOF, so that SAUCE tags aren't printed


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Monday, January 08, 2018 19:30:03
    xtrn/ansiview ansiview.js 1.15 1.16
    Update of /cvsroot/sbbs/xtrn/ansiview
    In directory cvs:/tmp/cvs-serv25646

    Modified Files:
    ansiview.js
    Log Message:
    Use Graphic().draw() to solve the problem of viewing 80 col ANSIs on
    terminals > 80 columns in width (can't depend on line-wrapl).
    Still using console.printfile() for ANSIs that scroll.
    For SyncTERM, hide the cursor while viewing the ANSI.
    Change the calls to console.pause() to just console.getkey() as the
    [Hit a Key] prompt would interfere with the display of some art.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT to CVS commit on Thursday, January 18, 2018 14:02:45
    xtrn/ansiview ansiview.js 1.16 1.17
    Update of /cvsroot/sbbs/xtrn/ansiview
    In directory cvs:/tmp/cvs-serv23624

    Modified Files:
    ansiview.js
    Log Message:
    If Graphic.load() throws an error, fall back on console.printfile().
    (ANS, BIN, and ASC extensions are all well and good, but many artists
    used their group's initialism as a file extension. This made a huge
    chunk of my local archive inaccessible.)



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT to CVS commit on Thursday, January 18, 2018 14:22:12
    xtrn/ansiview ansiview.js 1.17 1.18
    Update of /cvsroot/sbbs/xtrn/ansiview
    In directory cvs:/tmp/cvs-serv25616

    Modified Files:
    ansiview.js
    Log Message:
    Avoid using Graphic for files that didn't have cols and rows in the SAUCE. Graphic's default height means we'll only see the bottom 24 rows of longer drawrings.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Saturday, February 03, 2018 02:27:16
    xtrn/ansiview ansiview.js 1.18 1.19
    Update of /cvsroot/sbbs/xtrn/ansiview
    In directory cvs:/tmp/cvs-serv13941

    Modified Files:
    ansiview.js
    Log Message:
    Use cterm_lib.js and xbin_lib.js to add support for displaying BIN (*.bin) and XBin (*.xb) files. The display dimensions of the files may be larger (wider and longer) than the terminal window. You can use the arrow keys/home/end/num-pad equivalent (including diagnals) to move the display window around.
    If you have a recent SyncTERM 1.1b build, you'll get palette redefinitions
    and (any version of SyncTERM 1.0 and later) you'll get the custom fonts too. Note: the entire Bin/XBin file is loaded into JavaScript arrays/objects, so very large files may require increaisng your JavaScript heap size considerably.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Saturday, February 03, 2018 17:58:38
    xtrn/ansiview ansiview.js 1.19 1.20
    Update of /cvsroot/sbbs/xtrn/ansiview
    In directory cvs:/tmp/cvs-serv27507

    Modified Files:
    ansiview.js
    Log Message:
    When there is fontdata in the XBin file and it doesn't match the current detected screen mode, display a warning, but still display the file.
    Many times, traditional .xb files (not xbimages) will look fine when
    ignoring the embedded font data.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sunday, February 04, 2018 22:00:50
    xtrn/ansiview ansiview.js 1.20 1.21
    Update of /cvsroot/sbbs/xtrn/ansiview
    In directory cvs:/tmp/cvs-serv19940

    Modified Files:
    ansiview.js
    Log Message:
    Display a warning there's a palette defined in an XBin file and the
    terminal doesn't support loadable palettes.
    If fonts aren't supported in the terminal and there's fonts in the XBin, display a warning about that too.
    Updated paren style to match ec's, being polite an' all.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sunday, February 25, 2018 19:43:10
    xtrn/ansiview ansiview.js 1.21 1.22
    Update of /cvsroot/sbbs/xtrn/ansiview
    In directory cvs:/tmp/cvs-serv8901

    Modified Files:
    ansiview.js
    Log Message:
    Allow pause enabbled by default when 'pause=true' in the global/root
    section of settings.ini.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT to CVS commit on Sunday, February 25, 2018 19:52:33
    xtrn/ansiview ansiview.js 1.22 1.23
    Update of /cvsroot/sbbs/xtrn/ansiview
    In directory cvs:/tmp/cvs-serv9724

    Modified Files:
    ansiview.js
    Log Message:
    Clobber DM's change.
    Allow pause 'enabbled' by default when pause=true/yes/on/1 in root of settings.ini.
    Use 'top_level' setting from root of settings.ini, if present, in place
    of 'Gallery Menu' text.
    Removed my handle from the top of the screen, good buddy. Other people
    have stuck their fingers in this thing.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT to CVS commit on Sunday, February 25, 2018 20:22:26
    xtrn/ansiview ansiview.js 1.23 1.24
    Update of /cvsroot/sbbs/xtrn/ansiview
    In directory cvs:/tmp/cvs-serv13233

    Modified Files:
    ansiview.js
    Log Message:
    Let File.iniGetObject figure out the truthiness for us.
    Do it in one line, because some people would use two lines instead.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT to CVS commit on Sunday, July 29, 2018 16:10:00
    xtrn/ansiview ansiview.js 1.25 1.26
    Update of /cvsroot/sbbs/xtrn/ansiview
    In directory cvs:/tmp/cvs-serv9649

    Modified Files:
    ansiview.js
    Log Message:
    Handle extensionless files. Untested, totally fine I'm sure.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Nelgin@VERT/EOTLBBS to echicken on Sunday, July 29, 2018 19:58:14
    echicken wrote:
    xtrn/ansiview ansiview.js 1.25 1.26
    Update of /cvsroot/sbbs/xtrn/ansiview
    In directory cvs:/tmp/cvs-serv9649

    Modified Files:
    ansiview.js
    Log Message:
    Handle extensionless files. Untested, totally fine I'm sure.

    Tested and works. Thanks.

    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
  • From echicken@VERT to CVS commit on Friday, December 21, 2018 23:07:49
    xtrn/ansiview ansiview.js 1.26 1.27
    Update of /cvsroot/sbbs/xtrn/ansiview
    In directory cvs:/tmp/cvs-serv18707

    Modified Files:
    ansiview.js
    Log Message:
    Fixed busted screen pause in throttled display for non-cterms.
    Don't delete non-property 'image' variable; set it to undefined instead. Removed some convoluted and extraneous things I did years ago.
    Various non-functional formatting things since I'm bored.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT to CVS commit on Saturday, December 22, 2018 09:28:53
    xtrn/ansiview ansiview.js 1.27 1.28
    Update of /cvsroot/sbbs/xtrn/ansiview
    In directory cvs:/tmp/cvs-serv19070

    Modified Files:
    ansiview.js
    Log Message:
    Ditched isSyncTerm(); cterm_lib exists now.
    Reinstated root directory variable, it actually helps in some cases.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Monday, February 18, 2019 18:27:06
    xtrn/ansiview ansiview.js 1.28 1.29
    Update of /cvsroot/sbbs/xtrn/ansiview
    In directory cvs:/tmp/cvs-serv19323

    Modified Files:
    ansiview.js
    Log Message:
    Resolve reported error (guessing when settings.ini does not exist):
    !JavaScript /sbbs/xtrn/ansiview/ansiview.js line 313: TypeError: settings is null



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Monday, February 18, 2019 22:35:15
    xtrn/ansiview ansiview.js 1.29 1.30
    Update of /cvsroot/sbbs/xtrn/ansiview
    In directory cvs:/tmp/cvs-serv13164

    Modified Files:
    ansiview.js
    Log Message:
    Fix !JavaScript /sbbs/xtrn/ansiview/ansiview.js line 316:
    TypeError: settings is undefined
    Presumably, when settings.ini doesn't exist.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT to CVS commit on Monday, February 18, 2019 23:10:04
    xtrn/ansiview ansiview.js 1.30 1.31
    Update of /cvsroot/sbbs/xtrn/ansiview
    In directory cvs:/tmp/cvs-serv16681

    Modified Files:
    ansiview.js
    Log Message:
    Use js.exec_dir; js.startup_dir may be absent or something else entirely.



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