Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[xsrc/trunk]: xsrc/external/mit/xterm/dist initial import of xterm-372



details:   https://anonhg.NetBSD.org/xsrc/rev/2577b6c61e18
branches:  trunk
changeset: 7048:2577b6c61e18
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Jul 11 19:19:25 2022 +0000

description:
initial import of xterm-372

diffstat:

 external/mit/xterm/dist/COPYING                  |     4 +-
 external/mit/xterm/dist/INSTALL                  |     8 +-
 external/mit/xterm/dist/MANIFEST                 |     2 +-
 external/mit/xterm/dist/Makefile.in              |    25 +-
 external/mit/xterm/dist/NEWS                     |    39 +-
 external/mit/xterm/dist/THANKS                   |     6 +-
 external/mit/xterm/dist/Tekproc.c                |     4 +-
 external/mit/xterm/dist/VTPrsTbl.c               |    12 +-
 external/mit/xterm/dist/VTparse.def              |     6 +-
 external/mit/xterm/dist/aclocal.m4               |    43 +-
 external/mit/xterm/dist/button.c                 |     4 +-
 external/mit/xterm/dist/charproc.c               |   698 ++-
 external/mit/xterm/dist/configure                |  6111 +++++++++++----------
 external/mit/xterm/dist/configure.in             |    22 +-
 external/mit/xterm/dist/ctlseqs.ms               |    21 +-
 external/mit/xterm/dist/ctlseqs.txt              |    15 +-
 external/mit/xterm/dist/cursor.c                 |    77 +-
 external/mit/xterm/dist/graphics.c               |   729 +-
 external/mit/xterm/dist/graphics.h               |    30 +-
 external/mit/xterm/dist/graphics_regis.c         |    54 +-
 external/mit/xterm/dist/main.c                   |    87 +-
 external/mit/xterm/dist/main.h                   |    10 +-
 external/mit/xterm/dist/package/debian/changelog |    12 +
 external/mit/xterm/dist/package/debian/copyright |     2 +-
 external/mit/xterm/dist/package/debian/rules     |     2 +-
 external/mit/xterm/dist/package/freebsd/Makefile |     4 +-
 external/mit/xterm/dist/package/pkgsrc/Makefile  |     4 +-
 external/mit/xterm/dist/package/xterm.spec       |    10 +-
 external/mit/xterm/dist/plink.sh                 |    29 +-
 external/mit/xterm/dist/run-tic.sh               |     7 +-
 external/mit/xterm/dist/screen.c                 |   227 +-
 external/mit/xterm/dist/scrollbar.c              |     7 +-
 external/mit/xterm/dist/terminfo                 |   103 +-
 external/mit/xterm/dist/trace.c                  |    62 +-
 external/mit/xterm/dist/trace.h                  |     8 +-
 external/mit/xterm/dist/util.c                   |    55 +-
 external/mit/xterm/dist/version.h                |     8 +-
 external/mit/xterm/dist/vttests/16colors.sh      |    12 +-
 external/mit/xterm/dist/vttests/8colors.sh       |    12 +-
 external/mit/xterm/dist/vttests/acolors.sh       |    12 +-
 external/mit/xterm/dist/vttests/doublechars.sh   |    12 +-
 external/mit/xterm/dist/vttests/dynamic.sh       |    12 +-
 external/mit/xterm/dist/vttests/dynamic2.sh      |    12 +-
 external/mit/xterm/dist/vttests/fonts.sh         |    12 +-
 external/mit/xterm/dist/vttests/other-sgr.sh     |    12 +-
 external/mit/xterm/dist/vttests/resize.sh        |    12 +-
 external/mit/xterm/dist/vttests/title.sh         |    12 +-
 external/mit/xterm/dist/wcwidth.c                |    98 +-
 external/mit/xterm/dist/xterm.appdata.xml        |     4 +-
 external/mit/xterm/dist/xterm.log.html           |   123 +-
 external/mit/xterm/dist/xtermcfg.hin             |     7 +-
 51 files changed, 4990 insertions(+), 3909 deletions(-)

diffs (truncated from 19639 to 300 lines):

diff -r 37a776a9750e -r 2577b6c61e18 external/mit/xterm/dist/COPYING
--- a/external/mit/xterm/dist/COPYING   Mon Jul 11 19:19:22 2022 +0000
+++ b/external/mit/xterm/dist/COPYING   Mon Jul 11 19:19:25 2022 +0000
@@ -1,7 +1,7 @@
---- $XTermId: COPYING,v 1.3 2020/01/12 22:53:35 tom Exp $
+--- $XTermId: COPYING,v 1.5 2022/01/30 19:30:32 tom Exp $
 -------------------------------------------------------------------------------
 
-Copyright 1996-2020,2021 by Thomas E. Dickey
+Copyright 1996-2021,2022 by Thomas E. Dickey
 
                         All Rights Reserved
 
diff -r 37a776a9750e -r 2577b6c61e18 external/mit/xterm/dist/INSTALL
--- a/external/mit/xterm/dist/INSTALL   Mon Jul 11 19:19:22 2022 +0000
+++ b/external/mit/xterm/dist/INSTALL   Mon Jul 11 19:19:25 2022 +0000
@@ -1,6 +1,6 @@
--- $XTermId: INSTALL,v 1.188 2021/08/22 20:00:36 tom Exp $
+-- $XTermId: INSTALL,v 1.189 2022/01/30 22:46:59 tom Exp $
 -------------------------------------------------------------------------------
--- Copyright 1997-2020,2021 by Thomas E. Dickey
+-- Copyright 1997-2021,2022 by Thomas E. Dickey
 --
 --                         All Rights Reserved
 --
@@ -538,6 +538,10 @@
 
        Compile-in code to support SCO-style function keys.
 
+  --enable-status-line    enable support for status-line
+
+       Compile-in code to enable VT220-VT525 support for status-line.
+
   --enable-stdnoreturn    enable C11 _Noreturn feature for diagnostics
 
        Use the C11 _Noreturn keyword if the compiler supports it, rather
diff -r 37a776a9750e -r 2577b6c61e18 external/mit/xterm/dist/MANIFEST
--- a/external/mit/xterm/dist/MANIFEST  Mon Jul 11 19:19:22 2022 +0000
+++ b/external/mit/xterm/dist/MANIFEST  Mon Jul 11 19:19:25 2022 +0000
@@ -1,4 +1,4 @@
-MANIFEST for xterm-370, version xterm-370
+MANIFEST for xterm, version xterm-372
 --------------------------------------------------------------------------------
 MANIFEST                        this file
 256colres.h                     resource-definitions for 256-color mode
diff -r 37a776a9750e -r 2577b6c61e18 external/mit/xterm/dist/Makefile.in
--- a/external/mit/xterm/dist/Makefile.in       Mon Jul 11 19:19:22 2022 +0000
+++ b/external/mit/xterm/dist/Makefile.in       Mon Jul 11 19:19:25 2022 +0000
@@ -1,8 +1,8 @@
-## $XTermId: Makefile.in,v 1.259 2020/12/23 09:20:01 tom Exp $
+## $XTermId: Makefile.in,v 1.260 2022/02/21 18:30:44 tom Exp $
 # -----------------------------------------------------------------------------
 # this file is part of xterm
 #
-# Copyright 1997-2019,2020 by Thomas E. Dickey
+# Copyright 1997-2020,2022 by Thomas E. Dickey
 #
 #                         All Rights Reserved
 #
@@ -64,7 +64,7 @@
 EXTRA_CPPFLAGS = @EXTRA_CPPFLAGS@
 EXTRA_LOADFLAGS        = @IMAKE_LOADFLAGS@
 
-PIXMAPDIR_DEF  = @no_pixmapdir@-DPIXMAP_ROOTDIR=\"@PIXMAPDIR@/\" 
+PIXMAPDIR_DEF  = @no_pixmapdir@-DPIXMAP_ROOTDIR=\"@PIXMAPDIR@/\"
 CPPFLAGS       = -I. -I$(srcdir) -DHAVE_CONFIG_H @CPPFLAGS@ -DDEFCLASS=\"@APP_CLASS@\" $(PIXMAPDIR_DEF) $(EXTRA_CPPFLAGS)
 CFLAGS         = @CFLAGS@ $(EXTRA_CFLAGS)
 LDFLAGS                = @LDFLAGS@ @EXTRA_LDFLAGS@
@@ -208,10 +208,19 @@
        perl $(srcdir)/88colres.pl > $@
 
 charproc$o : $(VTPARSE_H) main.h @CHARPROC_DEPS@
-graphics_regis$o : $(VTPARSE_H) 
-graphics_sixel$o : $(VTPARSE_H) 
-misc$o : $(VTPARSE_H) 
-VTPrsTbl$o : $(VTPARSE_H) 
+graphics_regis$o : $(VTPARSE_H)
+graphics_sixel$o : $(VTPARSE_H)
+misc$o : $(VTPARSE_H)
+VTPrsTbl$o : $(VTPARSE_H)
+
+charproc$o \
+graphics$o \
+graphics_regis$o \
+graphics_sixel$o \
+main$o \
+misc$o \
+screen$o \
+util$o : graphics.h
 
 TekPrsTbl$o : $(TEKPARSE_H)
 Tekproc$o : $(TEKPARSE_H)
@@ -220,7 +229,7 @@
 
 trace$o : VTparse.cin Tekparse.cin
 
-# do this to quiet gcc -Wcast-qual warnings 
+# do this to quiet gcc -Wcast-qual warnings
 builtin_icons.h :
        @echo "#if OPT_BUILTIN_XPMS" >$@
        @echo "#include <icons/mini.xterm.xpms>" >>$@
diff -r 37a776a9750e -r 2577b6c61e18 external/mit/xterm/dist/NEWS
--- a/external/mit/xterm/dist/NEWS      Mon Jul 11 19:19:22 2022 +0000
+++ b/external/mit/xterm/dist/NEWS      Mon Jul 11 19:19:25 2022 +0000
@@ -1,40 +1,9 @@
 The NEWS file was generated from xterm.log.html, which serves as the changelog
 for xterm.
 --------------------------------------------------------------------------------
-                            Patch #370 - 2021/11/13
+                            Patch #372 - 2022/03/09
 
-     * add  -a,  -c  and -d options to query-status.pl to improve test for
-       DECRQSS.
-     * expanded  discussion  of  maximum  graphics  geometry in ctlseqs.ms
-       (suggested by Bon Wong).
-     * corrected parameter symbol for DECCARA and DECRARA in ctlseqs.ms to
-       indicate  that  multiple  parameters  may be used (report by Thomas
-       Wolff).
-     * add several test/demo scripts.
-     * improve DECCOLM, DECLRMM and DECALN referring to pseudo-code in DEC
-       070.
-     * amend a change in patch #348 which caused left/right margin mode to
-       be  reset  when  resizing  the terminal window (report by Valentine
-       Barshak).
-     * fix a misnamed macro-parameter (patch by Rajeev V. Pillai).
-     * fix spacing of wideFont when its width is not exactly twice as wide
-       as the normal font (report by Rajeev V. Pillai).
-     * suppress loading of italic font in a few places when colorITmode is
-       enabled (report/analysis by Rajeev V. Pillai).
-     * modify XTSMGRAPHICS to return failure status if the terminal is not
-       configured  to  support  the  corresponding  ReGIS or SIXEL feature
-       (report by Nick Black, notcurses #2252, notcurses #2257).
-     * modify  DECERA  and  DECFRA  to  erase  corresponding area in SIXEL
-       graphics  (patch  by  Nick  Black, notcurses #1740, vt340test #16).
-       Also modify DECSERA.
-     * equate  visuals  for  TrueColor  and  DirectColor  (patch  by Denis
-       Kaganovich).
-     * correct  computation  for  pixel  value  of rgb when using depth 16
-       (report by Denis Kaganovich).
-     * correct   wrapping  of  VT100-style  double-sized  characters  when
-       configured  for  Unicode  wide-characters  (report  by  Luis Javier
-       Merino).
-     * updated default value for sixelScrolling resource to match expected
-       behavior  versus  DECSDM  change  in  patch  #369  (report by Grant
-       Taylor).
+     * amend   allocation/freeing  of  scrollback  lines,  eliminating  an
+       adjustment  for status-line added in patch #371 (report/testcase by
+       Rajeev V. Pillai).
 
diff -r 37a776a9750e -r 2577b6c61e18 external/mit/xterm/dist/THANKS
--- a/external/mit/xterm/dist/THANKS    Mon Jul 11 19:19:22 2022 +0000
+++ b/external/mit/xterm/dist/THANKS    Mon Jul 11 19:19:25 2022 +0000
@@ -1,4 +1,4 @@
--- $XTermId: THANKS,v 1.32 2021/09/12 23:14:32 tom Exp $
+-- $XTermId: THANKS,v 1.33 2022/02/22 21:42:29 tom Exp $
 -- vile:txtmode fk=utf-8
 There's no AUTHORS file in this distribution; it would be redundant since
 I (Thomas E. Dickey) have done more than 80% of the work on xterm since 1996.
@@ -71,6 +71,7 @@
 David Wolfskill
 David Wood
 David Yeo
+Denis Kaganovich
 Denis Zaitsev
 Dennis Filder
 Dennis Preiser
@@ -172,6 +173,7 @@
 Nam SungHyun
 Nelson Beebe
 Nicholas Marriott
+Nick Black
 Nicolas George
 Németh Márton
 Olaf Rogalsky
@@ -193,6 +195,7 @@
 Pierre Lombard
 Pierre Pronchery
 Quinn Strahl
+Rajeev V Pillai
 Rajesh Mandalemula
 Richard Braakman
 Richard Griswold
@@ -243,6 +246,7 @@
 Victor Stinner
 Victor Vaile
 Vincent Lefèvre
+Vladimir A Pavlov
 Walter Harms
 Werner Fink
 Werner Lemberg
diff -r 37a776a9750e -r 2577b6c61e18 external/mit/xterm/dist/Tekproc.c
--- a/external/mit/xterm/dist/Tekproc.c Mon Jul 11 19:19:22 2022 +0000
+++ b/external/mit/xterm/dist/Tekproc.c Mon Jul 11 19:19:25 2022 +0000
@@ -1,4 +1,4 @@
-/* $XTermId: Tekproc.c,v 1.245 2021/06/03 21:23:18 tom Exp $ */
+/* $XTermId: Tekproc.c,v 1.246 2021/12/27 18:07:35 tom Exp $ */
 
 /*
  * Copyright 2001-2020,2021 by Thomas E. Dickey
@@ -922,7 +922,7 @@
        int rows = THeight(tekscr) / (int) (ScaleOf(tw) * t->vsize);
        int cols = TWidth(tekscr) / (int) (ScaleOf(tw) * t->hsize);
 
-       update_winsize(TScreenOf(tw->vt)->respond,
+       update_winsize(TScreenOf(tw->vt),
                       rows, cols,
                       TFullHeight(tekscr),
                       TFullWidth(tekscr));
diff -r 37a776a9750e -r 2577b6c61e18 external/mit/xterm/dist/VTPrsTbl.c
--- a/external/mit/xterm/dist/VTPrsTbl.c        Mon Jul 11 19:19:22 2022 +0000
+++ b/external/mit/xterm/dist/VTPrsTbl.c        Mon Jul 11 19:19:25 2022 +0000
@@ -1,7 +1,7 @@
-/* $XTermId: VTPrsTbl.c,v 1.103 2020/12/22 20:29:32 tom Exp $ */
+/* $XTermId: VTPrsTbl.c,v 1.104 2021/12/26 17:50:25 tom Exp $ */
 
 /*
- * Copyright 1999-2019,2020 by Thomas E. Dickey
+ * Copyright 1999-2020,2021 by Thomas E. Dickey
  *
  *                         All Rights Reserved
  *
@@ -2849,8 +2849,8 @@
 CASE_DECSERA,
 /*     |               }               ~               DEL     */
 CASE_DECSCPP,
-CASE_GROUND_STATE,
-CASE_GROUND_STATE,
+CASE_DECSASD,
+CASE_DECSSDT,
 CASE_IGNORE,
 /*      0x80            0x81            0x82            0x83    */
 CASE_GROUND_STATE,
@@ -3009,8 +3009,8 @@
 CASE_DECSERA,
 /*     udiaeresis      yacute          thorn           ydiaeresis      */
 CASE_DECSCPP,
-CASE_GROUND_STATE,
-CASE_GROUND_STATE,
+CASE_DECSASD,
+CASE_DECSSDT,
 CASE_GROUND_STATE,
 };
 
diff -r 37a776a9750e -r 2577b6c61e18 external/mit/xterm/dist/VTparse.def
--- a/external/mit/xterm/dist/VTparse.def       Mon Jul 11 19:19:22 2022 +0000
+++ b/external/mit/xterm/dist/VTparse.def       Mon Jul 11 19:19:25 2022 +0000
@@ -1,10 +1,10 @@
-# $XTermId: VTparse.def,v 1.64 2020/12/15 21:37:33 tom Exp $
+# $XTermId: VTparse.def,v 1.65 2021/12/26 17:49:45 tom Exp $
 #
 # vile:confmode rs=lf
 # -----------------------------------------------------------------------------
 # this file is part of xterm
 #
-# Copyright 1996-2019,2020 by Thomas E. Dickey
+# Copyright 1996-2020,2021 by Thomas E. Dickey
 # 
 #                         All Rights Reserved
 # 
@@ -218,3 +218,5 @@
 CASE_XTERM_REPORT_COLORS       # XTREPORTCOLORS
 CASE_XTERM_POP_COLORS          # XTPOPCOLORS
 CASE_XTERM_SHIFT_ESCAPE                # XTSHIFTESCAPE
+CASE_DECSSDT
+CASE_DECSASD
diff -r 37a776a9750e -r 2577b6c61e18 external/mit/xterm/dist/aclocal.m4
--- a/external/mit/xterm/dist/aclocal.m4        Mon Jul 11 19:19:22 2022 +0000
+++ b/external/mit/xterm/dist/aclocal.m4        Mon Jul 11 19:19:25 2022 +0000
@@ -1,8 +1,8 @@
-dnl $XTermId: aclocal.m4,v 1.491 2021/09/07 00:26:55 tom Exp $
+dnl $XTermId: aclocal.m4,v 1.496 2022/02/24 22:10:29 tom Exp $
 dnl
 dnl ---------------------------------------------------------------------------
 dnl
-dnl Copyright 1997-2020,2021 by Thomas E. Dickey
+dnl Copyright 1997-2021,2022 by Thomas E. Dickey
 dnl
 dnl                         All Rights Reserved
 dnl
@@ -809,7 +809,7 @@
 CF_CHECK_ERRNO(errno)
 ])dnl
 dnl ---------------------------------------------------------------------------
-dnl CF_FIX_WARNINGS version: 3 updated: 2020/12/31 18:40:20
+dnl CF_FIX_WARNINGS version: 4 updated: 2021/12/16 18:22:31
 dnl ---------------
 dnl Warning flags do not belong in CFLAGS, CPPFLAGS, etc.  Any of gcc's
 dnl "-Werror" flags can interfere with configure-checks.  Those go into
@@ -821,11 +821,13 @@
 then
        case [$]$1 in
        (*-Werror=*)
-               CF_VERBOSE(repairing $1: [$]$1)
                cf_temp_flags=
                for cf_temp_scan in [$]$1
                do
                        case "x$cf_temp_scan" in
+                       (x-Werror=format*)
+                               CF_APPEND_TEXT(cf_temp_flags,$cf_temp_scan)
+                               ;;



Home | Main Index | Thread Index | Old Index