Source-Changes-HG archive

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

[xsrc/trunk]: xsrc/external/mit/xprop/dist initial import of xprop-1.2.4



details:   https://anonhg.NetBSD.org/xsrc/rev/652ccddbb52a
branches:  trunk
changeset: 10221:652ccddbb52a
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Mar 11 06:44:01 2019 +0000

description:
initial import of xprop-1.2.4

diffstat:

 external/mit/xprop/dist/ChangeLog     |  71 +++++++++++++++++++++++++++++++++++
 external/mit/xprop/dist/Makefile.am   |   2 +
 external/mit/xprop/dist/Makefile.in   |   5 +-
 external/mit/xprop/dist/README.md     |  18 ++++++++
 external/mit/xprop/dist/configure     |  36 ++++++++--------
 external/mit/xprop/dist/configure.ac  |   4 +-
 external/mit/xprop/dist/dsimple.c     |   2 +-
 external/mit/xprop/dist/man/xprop.man |   2 +-
 external/mit/xprop/dist/xprop.c       |   3 +-
 9 files changed, 118 insertions(+), 25 deletions(-)

diffs (truncated from 311 to 300 lines):

diff -r 33cfdd16702b -r 652ccddbb52a external/mit/xprop/dist/ChangeLog
--- a/external/mit/xprop/dist/ChangeLog Mon Mar 11 06:44:00 2019 +0000
+++ b/external/mit/xprop/dist/ChangeLog Mon Mar 11 06:44:01 2019 +0000
@@ -1,3 +1,74 @@
+commit e81642bacc58388c223bc157f37c2311a7dbe070
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sat Mar 9 20:31:09 2019 -0800
+
+    xprop 1.2.4
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 0c3a8c6ae1287187b7f59a53a6f0bdaf27bf9e61
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Mar 3 14:46:22 2019 -0800
+
+    Fix -Wsign-compare warning in dsimple.c
+    
+    dsimple.c:322:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
+      for (i=0; i<nchildren; i++) {
+                 ^
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 1edcd36934326eafffed6056ea54e2848738ab81
+Author: pmav99 <pmav99%gmail.com@localhost>
+Date:   Sat Feb 9 23:27:25 2019 +0000
+
+    Fix typo in xprop.man
+
+commit 5429792c7949ecc30ff445a1d123a6f3e28f3155
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Wed Nov 21 17:16:58 2018 -0800
+
+    Update configure.ac bug URL for gitlab migration
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit fa0112f9ed9f253957b467d533b2fdb351fbac93
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Fri Nov 16 22:46:14 2018 -0800
+
+    Update README for gitlab migration
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 5a13b159150bea1ebda8439ed018a3975f30786b
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sat May 5 13:26:39 2018 -0700
+
+    Add missing braces around else clause in Read_Quoted()
+    
+    Found by gcc 7.3:
+    
+    xprop.c: In function â??Read_Quotedâ??:
+    xprop.c:163:8: warning: this â??elseâ?? clause does not guard... [-Wmisleading-indentation]
+          } else
+            ^~~~
+    xprop.c:164:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the â??elseâ??
+       ptr++[0] = c; length--;
+                     ^~~~~~
+    
+    Introduced in initial commit to X Consortium RCS in 1987:
+    https://cgit.freedesktop.org/~alanc/xc-historical/commit/xc/programs/xprop/xprop.c?id=18ea83d7457743936e99a574b50e208f7697f096
+    
+    Actual effect is minimal - for every \-escaped newline in the DFORMAT
+    portion of a xprop formats file, xprop subtracted one byte too many
+    from the count of bytes still available in the buffer, which could lead
+    it to return an error of "Bad format file format: dformat too long." when
+    there was still room left.  Since the original buffer size was 10,000
+    bytes, and the current size is 500,000 bytes, it's unlikely anyone ever
+    hit this in real usage.
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
 commit ded6efa3da1ce611e4668d7766e934a239f6120c
 Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
 Date:   Fri Mar 9 18:21:47 2018 -0800
diff -r 33cfdd16702b -r 652ccddbb52a external/mit/xprop/dist/Makefile.am
--- a/external/mit/xprop/dist/Makefile.am       Mon Mar 11 06:44:00 2019 +0000
+++ b/external/mit/xprop/dist/Makefile.am       Mon Mar 11 06:44:01 2019 +0000
@@ -51,3 +51,5 @@
 lint:
        $(LINT) $(ALL_LINT_FLAGS) $(xprop_SOURCES)
 endif LINT
+
+EXTRA_DIST = README.md
diff -r 33cfdd16702b -r 652ccddbb52a external/mit/xprop/dist/Makefile.in
--- a/external/mit/xprop/dist/Makefile.in       Mon Mar 11 06:44:00 2019 +0000
+++ b/external/mit/xprop/dist/Makefile.in       Mon Mar 11 06:44:01 2019 +0000
@@ -204,8 +204,8 @@
 CSCOPE = cscope
 DIST_SUBDIRS = $(SUBDIRS)
 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in COPYING \
-       ChangeLog INSTALL README compile config.guess config.sub \
-       depcomp install-sh missing
+       ChangeLog INSTALL compile config.guess config.sub depcomp \
+       install-sh missing
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 distdir = $(PACKAGE)-$(VERSION)
 top_distdir = $(distdir)
@@ -384,6 +384,7 @@
 @LINT_TRUE@ALL_LINT_FLAGS = $(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
 @LINT_TRUE@            $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS)
 
+EXTRA_DIST = README.md
 all: config.h
        $(MAKE) $(AM_MAKEFLAGS) all-recursive
 
diff -r 33cfdd16702b -r 652ccddbb52a external/mit/xprop/dist/README.md
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/mit/xprop/dist/README.md Mon Mar 11 06:44:01 2019 +0000
@@ -0,0 +1,18 @@
+xprop is a command line tool to display and/or set window and font
+properties of an X server.
+
+All questions regarding this software should be directed at the
+Xorg mailing list:
+
+  https://lists.x.org/mailman/listinfo/xorg
+
+The master development code repository can be found at:
+
+  https://gitlab.freedesktop.org/xorg/app/xprop
+
+Please submit bug reports and requests to merge patches there.
+
+For patch submission instructions, see:
+
+  https://www.x.org/wiki/Development/Documentation/SubmittingPatches
+
diff -r 33cfdd16702b -r 652ccddbb52a external/mit/xprop/dist/configure
--- a/external/mit/xprop/dist/configure Mon Mar 11 06:44:00 2019 +0000
+++ b/external/mit/xprop/dist/configure Mon Mar 11 06:44:01 2019 +0000
@@ -1,8 +1,8 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for xprop 1.2.3.
+# Generated by GNU Autoconf 2.69 for xprop 1.2.4.
 #
-# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
+# Report bugs to <https://gitlab.freedesktop.org/xorg/app/xprop/issues>.
 #
 #
 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
@@ -267,7 +267,7 @@
     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
   else
     $as_echo "$0: Please tell bug-autoconf%gnu.org@localhost and
-$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
+$0: https://gitlab.freedesktop.org/xorg/app/xprop/issues
 $0: about your system, including any error possibly output
 $0: before this message. Then install a modern shell, or
 $0: manually run the script under such a shell if you do
@@ -581,9 +581,9 @@
 # Identity of this package.
 PACKAGE_NAME='xprop'
 PACKAGE_TARNAME='xprop'
-PACKAGE_VERSION='1.2.3'
-PACKAGE_STRING='xprop 1.2.3'
-PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
+PACKAGE_VERSION='1.2.4'
+PACKAGE_STRING='xprop 1.2.4'
+PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xprop/issues'
 PACKAGE_URL=''
 
 ac_unique_file="Makefile.am"
@@ -1314,7 +1314,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures xprop 1.2.3 to adapt to many kinds of systems.
+\`configure' configures xprop 1.2.4 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1384,7 +1384,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of xprop 1.2.3:";;
+     short | recursive ) echo "Configuration of xprop 1.2.4:";;
    esac
   cat <<\_ACEOF
 
@@ -1434,7 +1434,7 @@
 Use these variables to override the choices made by `configure' or to help
 it to find libraries and programs with nonstandard names/locations.
 
-Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
+Report bugs to <https://gitlab.freedesktop.org/xorg/app/xprop/issues>.
 _ACEOF
 ac_status=$?
 fi
@@ -1497,7 +1497,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-xprop configure 1.2.3
+xprop configure 1.2.4
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1821,9 +1821,9 @@
 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
-( $as_echo "## ---------------------------------------------------------------------- ##
-## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
-## ---------------------------------------------------------------------- ##"
+( $as_echo "## ------------------------------------------------------------------- ##
+## Report this to https://gitlab.freedesktop.org/xorg/app/xprop/issues ##
+## ------------------------------------------------------------------- ##"
      ) | sed "s/^/$as_me: WARNING:     /" >&2
     ;;
 esac
@@ -1845,7 +1845,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by xprop $as_me 1.2.3, which was
+It was created by xprop $as_me 1.2.4, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2713,7 +2713,7 @@
 
 # Define the identity of the package.
  PACKAGE='xprop'
- VERSION='1.2.3'
+ VERSION='1.2.4'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -11452,7 +11452,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by xprop $as_me 1.2.3, which was
+This file was extended by xprop $as_me 1.2.4, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -11512,13 +11512,13 @@
 Configuration commands:
 $config_commands
 
-Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
+Report bugs to <https://gitlab.freedesktop.org/xorg/app/xprop/issues>."
 
 _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-xprop config.status 1.2.3
+xprop config.status 1.2.4
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff -r 33cfdd16702b -r 652ccddbb52a external/mit/xprop/dist/configure.ac
--- a/external/mit/xprop/dist/configure.ac      Mon Mar 11 06:44:00 2019 +0000
+++ b/external/mit/xprop/dist/configure.ac      Mon Mar 11 06:44:01 2019 +0000
@@ -22,8 +22,8 @@
 
 # Initialize Autoconf
 AC_PREREQ([2.60])
-AC_INIT([xprop], [1.2.3],
-        [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [xprop])
+AC_INIT([xprop], [1.2.4],
+        [https://gitlab.freedesktop.org/xorg/app/xprop/issues], [xprop])
 AC_CONFIG_SRCDIR([Makefile.am])
 AC_CONFIG_HEADERS([config.h])
 
diff -r 33cfdd16702b -r 652ccddbb52a external/mit/xprop/dist/dsimple.c
--- a/external/mit/xprop/dist/dsimple.c Mon Mar 11 06:44:00 2019 +0000
+++ b/external/mit/xprop/dist/dsimple.c Mon Mar 11 06:44:01 2019 +0000
@@ -309,7 +309,7 @@
 {
        Window *children, dummy;
        unsigned int nchildren;
-       int i;
+       unsigned int i;
        Window w=0;
        char *window_name;
 
diff -r 33cfdd16702b -r 652ccddbb52a external/mit/xprop/dist/man/xprop.man
--- a/external/mit/xprop/dist/man/xprop.man     Mon Mar 11 06:44:00 2019 +0000
+++ b/external/mit/xprop/dist/man/xprop.man     Mon Mar 11 06:44:01 2019 +0000
@@ -122,7 +122,7 @@
 Examine window properties forever, looking for property change events.
 .PP
 .TP 8
-.B "-verson"
+.B "-version"
 Print program version information and exit.
 .PP
 .TP 8
diff -r 33cfdd16702b -r 652ccddbb52a external/mit/xprop/dist/xprop.c
--- a/external/mit/xprop/dist/xprop.c   Mon Mar 11 06:44:00 2019 +0000
+++ b/external/mit/xprop/dist/xprop.c   Mon Mar 11 06:44:01 2019 +0000



Home | Main Index | Thread Index | Old Index