Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[xsrc-public/xorg]: xsrc-public/external/mit/xterm/dist initial import of xte...
details: https://anonhg.NetBSD.org/xsrc-public/rev/63bdc95517fd
branches: xorg
changeset: 6939:63bdc95517fd
user: mrg <mrg%NetBSD.org@localhost>
date: Sun Jan 09 09:15:26 2022 +0000
description:
initial import of xterm-370
diffstat:
external/mit/xterm/dist/INSTALL | 6 +-
external/mit/xterm/dist/MANIFEST | 32 +-
external/mit/xterm/dist/NEWS | 45 +-
external/mit/xterm/dist/THANKS | 6 +-
external/mit/xterm/dist/aclocal.m4 | 78 +-
external/mit/xterm/dist/button.c | 40 +-
external/mit/xterm/dist/cachedGCs.c | 11 +-
external/mit/xterm/dist/charproc.c | 228 +-
external/mit/xterm/dist/config.guess | 1095 ++-
external/mit/xterm/dist/config.sub | 55 +-
external/mit/xterm/dist/configure | 5681 ++++++++++----------
external/mit/xterm/dist/configure.in | 6 +-
external/mit/xterm/dist/ctlseqs.ms | 382 +-
external/mit/xterm/dist/ctlseqs.txt | 370 +-
external/mit/xterm/dist/fontutils.c | 38 +-
external/mit/xterm/dist/graphics.c | 4 +-
external/mit/xterm/dist/graphics_sixel.c | 12 +-
external/mit/xterm/dist/html.c | 9 +-
external/mit/xterm/dist/input.c | 19 +-
external/mit/xterm/dist/linedata.c | 8 +-
external/mit/xterm/dist/main.c | 5 +-
external/mit/xterm/dist/main.h | 12 +-
external/mit/xterm/dist/misc.c | 362 +-
external/mit/xterm/dist/package/debian/changelog | 12 +
external/mit/xterm/dist/package/freebsd/Makefile | 4 +-
external/mit/xterm/dist/package/pkgsrc/Makefile | 4 +-
external/mit/xterm/dist/package/xterm.spec | 4 +-
external/mit/xterm/dist/ptyx.h | 58 +-
external/mit/xterm/dist/run-tic.sh | 4 +-
external/mit/xterm/dist/screen.c | 253 +-
external/mit/xterm/dist/svg.c | 6 +-
external/mit/xterm/dist/terminfo | 118 +-
external/mit/xterm/dist/trace.c | 9 +-
external/mit/xterm/dist/util.c | 187 +-
external/mit/xterm/dist/version.h | 6 +-
external/mit/xterm/dist/vttests/acs.pl | 77 +
external/mit/xterm/dist/vttests/altchars.sh | 62 +
external/mit/xterm/dist/vttests/blink.pl | 138 +
external/mit/xterm/dist/vttests/bold-italics.pl | 72 +
external/mit/xterm/dist/vttests/bounce.sh | 56 +
external/mit/xterm/dist/vttests/ctlpix.sh | 41 +
external/mit/xterm/dist/vttests/cursor.pl | 184 +
external/mit/xterm/dist/vttests/decsed.pl | 160 +
external/mit/xterm/dist/vttests/dl.sh | 67 +
external/mit/xterm/dist/vttests/erase.pl | 169 +
external/mit/xterm/dist/vttests/halves.pl | 195 +
external/mit/xterm/dist/vttests/il.sh | 67 +
external/mit/xterm/dist/vttests/insdelln.pl | 259 +
external/mit/xterm/dist/vttests/iso2022.pl | 101 +
external/mit/xterm/dist/vttests/lrmm-scroll.pl | 365 +
external/mit/xterm/dist/vttests/nrcs.pl | 164 +
external/mit/xterm/dist/vttests/palettes.pl | 1072 +++
external/mit/xterm/dist/vttests/pointer-shapes.sh | 118 +
external/mit/xterm/dist/vttests/print-vt-chars.pl | 2 +-
external/mit/xterm/dist/vttests/query-status.pl | 77 +-
external/mit/xterm/dist/vttests/scroll.pl | 259 +
external/mit/xterm/dist/vttests/setpos.pl | 322 +
external/mit/xterm/dist/vttests/tab0.sh | 118 +
external/mit/xterm/dist/vttests/titlestack.pl | 614 ++
external/mit/xterm/dist/vttests/unascii.sh | 48 +
external/mit/xterm/dist/vttests/under-latin.pl | 127 +
external/mit/xterm/dist/vttests/utf8.pl | 73 +
external/mit/xterm/dist/vttests/version.sh | 65 +
external/mit/xterm/dist/vttests/vt52chars.pl | 109 +
external/mit/xterm/dist/vttests/wrap.pl | 165 +
external/mit/xterm/dist/vttests/xorblink.pl | 243 +
external/mit/xterm/dist/vttests/xtra-scroll.pl | 539 +
external/mit/xterm/dist/wcwidth.c | 393 +-
external/mit/xterm/dist/xterm.appdata.xml | 2 +-
external/mit/xterm/dist/xterm.h | 31 +-
external/mit/xterm/dist/xterm.log.html | 203 +-
external/mit/xterm/dist/xterm.man | 43 +-
external/mit/xterm/dist/xtermcfg.hin | 4 +-
73 files changed, 11529 insertions(+), 4444 deletions(-)
diffs (truncated from 26994 to 300 lines):
diff -r 559e45be5f3c -r 63bdc95517fd external/mit/xterm/dist/INSTALL
--- a/external/mit/xterm/dist/INSTALL Sun Jan 09 09:15:25 2022 +0000
+++ b/external/mit/xterm/dist/INSTALL Sun Jan 09 09:15:26 2022 +0000
@@ -1,4 +1,4 @@
--- $XTermId: INSTALL,v 1.187 2021/03/24 00:39:41 tom Exp $
+-- $XTermId: INSTALL,v 1.188 2021/08/22 20:00:36 tom Exp $
-------------------------------------------------------------------------------
-- Copyright 1997-2020,2021 by Thomas E. Dickey
--
@@ -165,9 +165,7 @@
--disable-fifo-lines enable FIFO-storage for saved-lines
- With patch #244, xterm by default stores saved-lines in a FIFO
- (circular buffer), which improves performance when the number of saved
- lines is large. Disable this option to revert to the pre-244 layout.
+ (this option is deprecrated)
--disable-freetype disable freetype library-support
diff -r 559e45be5f3c -r 63bdc95517fd external/mit/xterm/dist/MANIFEST
--- a/external/mit/xterm/dist/MANIFEST Sun Jan 09 09:15:25 2022 +0000
+++ b/external/mit/xterm/dist/MANIFEST Sun Jan 09 09:15:26 2022 +0000
@@ -1,4 +1,4 @@
-MANIFEST for xterm-368, version xterm-368
+MANIFEST for xterm-370, version xterm-370
--------------------------------------------------------------------------------
MANIFEST this file
256colres.h resource-definitions for 256-color mode
@@ -203,16 +203,34 @@
vttests/88colors2.pl sample script showing 88-colors
vttests/8colors.sh test-script to illustrate 8-colors
vttests/acolors.sh demonstrate changing the ANSI colors
+vttests/acs.pl simple test for mapping alternate-character-set
+vttests/altchars.sh simple test for alternate-character-set
+vttests/blink.pl test scrollback of blinking text
+vttests/bold-italics.pl Test bold-italics for single- and double-width characters.
+vttests/bounce.sh iconify/deiconify, recording the window properties
vttests/closest-rgb.pl demo of color-distances
+vttests/ctlpix.sh display control/picture codes
+vttests/cursor.pl exercise cursor-movement, to check color-contrasts
+vttests/decsed.pl exercise DECSED with/without DECSCA
+vttests/dl.sh simple test for delete-line with margins
vttests/doublechars.sh test script to demonstrate doublesize chars
vttests/dynamic.pl demo for dynamic colors
vttests/dynamic.sh script to illustrate the dynamic colors control sequence
vttests/dynamic2.sh complete example of dynamic colors
+vttests/erase.pl Generate a test-pattern, erasing parts of the text on each line.
vttests/fonts.sh script to demonstrate font-switching sequences
+vttests/halves.pl test partial-update of double-cell characters
+vttests/il.sh simple test for insert-line with margins
+vttests/insdelln.pl Tests insert/delete-line feature in xterm.
+vttests/iso2022.pl show ISO-2022 characters, by default GL and GR, optionally G1/G2/G3
+vttests/lrmm-scroll.pl Tests scroll left/right feature in xterm, optionally using margins.
vttests/modify-keys.pl illustrate modifyOtherKeys with a table
vttests/mouse-codes demo script for mouse-codes
+vttests/nrcs.pl a more direct way of exercising character sets than vttest.
vttests/other-sgr.sh demonstrate non-VTxx SGRs
+vttests/palettes.pl Demonstrate how to set palette colors using xterm's control sequences.
vttests/paste64.pl script to test base64-selection option
+vttests/pointer-shapes.sh exercise xterm's pointer-shape control
vttests/print-vt-chars.pl demo-script
vttests/query-color.pl demonstrate OSC 4
vttests/query-dynamic.pl demonstrate OSC 10 to OSC 19
@@ -222,7 +240,19 @@
vttests/report-sgr.pl demonstrate report-sgr
vttests/resize.pl translated resize.sh to perl since it is easy to test, and I needed
vttests/resize.sh script to demonstrate resizing
+vttests/scroll.pl Tests insert/delete-line feature in xterm.
+vttests/setpos.pl Exercise CSI 3/13 t which set/get the window position.
vttests/sgrPushPop.pl demonstrate xterm SGR push/pop
vttests/sgrPushPop2.pl demonstrate xterm SGR push/pop for colors
+vttests/tab0.sh Demonstrate hard-tabs.
vttests/tcapquery.pl script to test tcap-query option
vttests/title.sh test-script to show title of xterm in action
+vttests/titlestack.pl Test the title-stack and title-mode options of xterm.
+vttests/unascii.sh display the characters recognized by xterm in AsciiEquivs
+vttests/under-latin.pl Print a text-test pattern using Latin-1 characters.
+vttests/utf8.pl display the given Unicode characters, given their hex or decimal values.
+vttests/version.sh Demonstrate version-string from xterm #354
+vttests/vt52chars.pl show the vt52 graphic characters, annotatated in a table.
+vttests/wrap.pl Generates a series of wrapping lines, according to the terminal width.
+vttests/xorblink.pl walk through the different states of cursor-blinking, with annotation
+vttests/xtra-scroll.pl Interactively test screen-updates, e.g., cdXtraScroll and and tiXtraScroll
diff -r 559e45be5f3c -r 63bdc95517fd external/mit/xterm/dist/NEWS
--- a/external/mit/xterm/dist/NEWS Sun Jan 09 09:15:25 2022 +0000
+++ b/external/mit/xterm/dist/NEWS Sun Jan 09 09:15:26 2022 +0000
@@ -1,15 +1,40 @@
The NEWS file was generated from xterm.log.html, which serves as the changelog
for xterm.
--------------------------------------------------------------------------------
- Patch #368 - 2021/06/07
+ Patch #370 - 2021/11/13
- * add DefaultOff option to RenderFont resource, as part of the
- session-management feature.
- * add auto-scroll-lock feature (patch by add Stelios Bounanos).
- * update the window-size information returned via TIOCGWINSZ when
- rows/columns are unchanged but the font-size changes (report by
- Nick Black).
- * improve session-management feature by saving/restoring the font
- settings.
- * update config.guess, config.sub
+ * 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).
diff -r 559e45be5f3c -r 63bdc95517fd external/mit/xterm/dist/THANKS
--- a/external/mit/xterm/dist/THANKS Sun Jan 09 09:15:25 2022 +0000
+++ b/external/mit/xterm/dist/THANKS Sun Jan 09 09:15:26 2022 +0000
@@ -1,4 +1,4 @@
--- $XTermId: THANKS,v 1.31 2021/03/01 22:00:49 tom Exp $
+-- $XTermId: THANKS,v 1.32 2021/09/12 23:14:32 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.
@@ -72,6 +72,7 @@
David Wood
David Yeo
Denis Zaitsev
+Dennis Filder
Dennis Preiser
Dennis Schneider
Dimitrios Christidis
@@ -137,12 +138,14 @@
Leandro Lupori
Lee Olsen
Loïc Minier
+Luis Javier Merino
Marc Bevand
Marc La France
Marco Peereboom
Marius Tolzmann
Mark Waggoner
Markus Kuhn
+Martijn van Duren
Martin Hostettler
Martin Pirker
Martin Tournoij
@@ -213,6 +216,7 @@
Slava Semushin
Stefan Assmann
Stefan Dirsch
+Stelios Bounanos
Stephen P Wall
Stuart Lissaman
Sven Joachim
diff -r 559e45be5f3c -r 63bdc95517fd external/mit/xterm/dist/aclocal.m4
--- a/external/mit/xterm/dist/aclocal.m4 Sun Jan 09 09:15:25 2022 +0000
+++ b/external/mit/xterm/dist/aclocal.m4 Sun Jan 09 09:15:26 2022 +0000
@@ -1,4 +1,4 @@
-dnl $XTermId: aclocal.m4,v 1.488 2021/06/07 21:41:21 tom Exp $
+dnl $XTermId: aclocal.m4,v 1.491 2021/09/07 00:26:55 tom Exp $
dnl
dnl ---------------------------------------------------------------------------
dnl
@@ -221,6 +221,25 @@
CF_VERBOSE(...after $LIBS)
])dnl
dnl ---------------------------------------------------------------------------
+dnl CF_APPEND_CFLAGS version: 3 updated: 2021/09/05 17:25:40
+dnl ----------------
+dnl Use CF_ADD_CFLAGS after first checking for potential redefinitions.
+dnl $1 = flags to add
+dnl $2 = if given makes this macro verbose.
+define([CF_APPEND_CFLAGS],
+[
+for cf_add_cflags in $1
+do
+ case "x$cf_add_cflags" in
+ (x-[[DU]]*)
+ CF_REMOVE_CFLAGS($cf_add_cflags,CFLAGS,[$2])
+ CF_REMOVE_CFLAGS($cf_add_cflags,CPPFLAGS,[$2])
+ ;;
+ esac
+ CF_ADD_CFLAGS([$cf_add_cflags],[$2])
+done
+])dnl
+dnl ---------------------------------------------------------------------------
dnl CF_APPEND_TEXT version: 1 updated: 2017/02/25 18:58:55
dnl --------------
dnl use this macro for appending text without introducing an extra blank at
@@ -458,10 +477,10 @@
CF_CHECK_EXTERN_DATA($1,ifelse([$2],,int,[$2]))
])dnl
dnl ---------------------------------------------------------------------------
-dnl CF_CHECK_EXTERN_DATA version: 4 updated: 2015/04/18 08:56:57
+dnl CF_CHECK_EXTERN_DATA version: 5 updated: 2021/09/04 06:35:04
dnl --------------------
dnl Check for existence of external data in the current set of libraries. If
-dnl we can modify it, it's real enough.
+dnl we can modify it, it is real enough.
dnl $1 = the name to check
dnl $2 = its type
AC_DEFUN([CF_CHECK_EXTERN_DATA],
@@ -641,9 +660,9 @@
AC_SUBST(DESKTOP_FLAGS)
])
dnl ---------------------------------------------------------------------------
-dnl CF_DISABLE_ECHO version: 13 updated: 2015/04/18 08:56:57
+dnl CF_DISABLE_ECHO version: 14 updated: 2021/09/04 06:35:04
dnl ---------------
-dnl You can always use "make -n" to see the actual options, but it's hard to
+dnl You can always use "make -n" to see the actual options, but it is hard to
dnl pick out/analyze warning messages when the compile-line is long.
dnl
dnl Sets:
@@ -1893,19 +1912,29 @@
echo "${as_me:-configure}:__oline__: testing $* ..." 1>&AC_FD_CC
])dnl
dnl ---------------------------------------------------------------------------
-dnl CF_NO_LEAKS_OPTION version: 8 updated: 2021/01/05 20:05:09
+dnl CF_NO_LEAKS_OPTION version: 9 updated: 2021/06/13 19:45:41
dnl ------------------
dnl see CF_WITH_NO_LEAKS
+dnl
+dnl $1 = option/name
+dnl $2 = help-text
+dnl $3 = symbol to define if the option is set
+dnl $4 = additional actions to take if the option is set
AC_DEFUN([CF_NO_LEAKS_OPTION],[
AC_MSG_CHECKING(if you want to use $1 for testing)
AC_ARG_WITH($1,
[$2],
- [AC_DEFINE_UNQUOTED($3,1,"Define to 1 if you want to use $1 for testing.")ifelse([$4],,[
+ [case "x$withval" in
+ (x|xno) ;;
+ (*)
+ : "${with_cflags:=-g}"
+ : "${enable_leaks:=no}"
+ with_$1=yes
+ AC_DEFINE_UNQUOTED($3,1,"Define to 1 if you want to use $1 for testing.")ifelse([$4],,[
$4
])
- : "${with_cflags:=-g}"
- : "${enable_leaks:=no}"
- with_$1=yes],
+ ;;
+ esac],
[with_$1=])
AC_MSG_RESULT(${with_$1:-no})
@@ -2409,6 +2438,24 @@
esac
])dnl
dnl ---------------------------------------------------------------------------
+dnl CF_REMOVE_CFLAGS version: 3 updated: 2021/09/05 17:25:40
+dnl ----------------
+dnl Remove a given option from CFLAGS/CPPFLAGS
+dnl $1 = option to remove
+dnl $2 = variable to update
+dnl $3 = nonempty to allow verbose message
+define([CF_REMOVE_CFLAGS],
+[
+cf_tmp_cflag=`echo "x$1" | sed -e 's/^.//' -e 's/=.*//'`
+while true
+do
+ cf_old_cflag=`echo "x[$]$2" | sed -e 's/^.//' -e 's/[[ ]][[ ]]*-/ -/g' -e "s%$cf_tmp_cflag\\(=[[^ ]][[^ ]]*\\)\?%%" -e 's/^[[ ]]*//' -e 's%[[ ]][[ ]]*-D% -D%g' -e 's%[[ ]][[ ]]*-I%
-I%g'`
+ test "[$]$2" != "$cf_old_cflag" || break
+ ifelse([$3],,,[CF_VERBOSE(removing old option $1 from $2)])
+ $2="$cf_old_cflag"
+done
+])dnl
+dnl ---------------------------------------------------------------------------
dnl CF_REMOVE_DEFINE version: 3 updated: 2010/01/09 11:05:50
dnl ----------------
dnl Remove all -U and -D options that refer to the given symbol from a list
@@ -2928,7 +2975,7 @@
fi
Home |
Main Index |
Thread Index |
Old Index