Source-Changes-HG archive

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

[xsrc/trunk]: xsrc/external/mit/xwininfo/dist initial import of xwininfo-1.1.5



details:   https://anonhg.NetBSD.org/xsrc/rev/d58d46b38c2e
branches:  trunk
changeset: 10344:d58d46b38c2e
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Jul 15 04:50:48 2019 +0000

description:
initial import of xwininfo-1.1.5

diffstat:

 external/mit/xwininfo/dist/ChangeLog        |  92 +++++++++++++++++++++++++++++
 external/mit/xwininfo/dist/Makefile.am      |   2 +-
 external/mit/xwininfo/dist/Makefile.in      |   6 +-
 external/mit/xwininfo/dist/README.md        |  18 +++++
 external/mit/xwininfo/dist/clientwin.c      |   4 +-
 external/mit/xwininfo/dist/configure        |  32 +++++-----
 external/mit/xwininfo/dist/configure.ac     |   4 +-
 external/mit/xwininfo/dist/dsimple.c        |  12 +-
 external/mit/xwininfo/dist/man/xwininfo.man |  16 ++--
 9 files changed, 149 insertions(+), 37 deletions(-)

diffs (truncated from 411 to 300 lines):

diff -r 2c7edc6007d4 -r d58d46b38c2e external/mit/xwininfo/dist/ChangeLog
--- a/external/mit/xwininfo/dist/ChangeLog      Mon Jul 15 04:50:47 2019 +0000
+++ b/external/mit/xwininfo/dist/ChangeLog      Mon Jul 15 04:50:48 2019 +0000
@@ -1,3 +1,95 @@
+commit 985a3a70918038bf2569e0a5ebe3fa14d720e4de
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Jul 14 13:51:36 2019 -0700
+
+    xwininfo 1.1.5
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 1a50edf62c9511a2bee8b7cc3b72e5185f7b593f
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Jun 9 10:21:39 2019 -0700
+
+    Clear -Wsign-compare warnings from gcc 7.3
+    
+    dsimple.c: In function â??recursive_Window_With_Nameâ??:
+    dsimple.c:298:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
+       if ((namelen == prop_name_len) &&
+                    ^~
+    dsimple.c:336:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
+       if ((namelen == prop_name_len) &&
+                    ^~
+    dsimple.c:371:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
+         for (i = 0; i < nchildren; i++) {
+                       ^
+    dsimple.c:380:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
+         for (i = 0; i < nchildren; i++) {
+                       ^
+    dsimple.c:390:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
+      for (/* keep previous i */; i < nchildren; i++) {
+                                    ^
+    dsimple.c: In function â??Get_Atomâ??:
+    dsimple.c:616:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
+         if (a->atom == -1) /* internal error */
+                     ^~
+    
+    xwininfo.c: In function â??wm_size_hints_replyâ??:
+    xwininfo.c:730:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
+         if (length > sizeof(wm_size_hints_t))
+                    ^
+    xwininfo.c: In function â??Display_Event_Maskâ??:
+    xwininfo.c:1229:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
+         for (bit=0, bit_mask=1; bit < sizeof(long)*8; bit++, bit_mask <<= 1)
+                                     ^
+    xwininfo.c: In function â??wm_hints_replyâ??:
+    xwininfo.c:1633:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
+         if (length > sizeof(wm_hints_t))
+                    ^
+    xwininfo.c: In function â??is_valid_utf8â??:
+    xwininfo.c:1843:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
+         for (i = 0; i < len; i++) {
+                       ^
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 58213a0cd39dc4ba044f48fab52ed3256ab9a9bd
+Author: Stéphane Aulery <lkppo%free.fr@localhost>
+Date:   Wed Jul 3 00:29:17 2013 +0200
+
+    Improve manpage and -h option
+    
+     - Rename windows and display args.
+     - Mention of short (-d) -display option.
+    
+    Signed-off-by: Stéphane Aulery <lkppo%free.fr@localhost>
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit d19200c0b0ff638edbb16555e711d2353625bd4a
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Wed Nov 21 17:21:49 2018 -0800
+
+    Update configure.ac bug URL for gitlab migration
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 015b29ca761102c95c722928557336e101a4a6e1
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Fri Nov 16 23:32:24 2018 -0800
+
+    Update README for gitlab migration
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit f8c9f340421883f659b820214ddf8a21d5022a3a
+Author: David Hill <dhill%mindcry.org@localhost>
+Date:   Wed Dec 11 04:05:19 2013 +0000
+
+    In Find_Client, if (win == XCB_WINDOW_NONE), roots should be freed.
+    
+    https://bugs.freedesktop.org/show_bug.cgi?id=72583
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
 commit 919665db8ceb8e2c38a1a4ce4686eb224ddf5234
 Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
 Date:   Fri Mar 9 20:41:31 2018 -0800
diff -r 2c7edc6007d4 -r d58d46b38c2e external/mit/xwininfo/dist/Makefile.am
--- a/external/mit/xwininfo/dist/Makefile.am    Mon Jul 15 04:50:47 2019 +0000
+++ b/external/mit/xwininfo/dist/Makefile.am    Mon Jul 15 04:50:48 2019 +0000
@@ -32,7 +32,7 @@
         dsimple.h \
         xwininfo.c
 
-EXTRA_DIST = strnlen.h
+EXTRA_DIST = strnlen.h README.md
 MAINTAINERCLEANFILES = ChangeLog INSTALL
 
 .PHONY: ChangeLog INSTALL
diff -r 2c7edc6007d4 -r d58d46b38c2e external/mit/xwininfo/dist/Makefile.in
--- a/external/mit/xwininfo/dist/Makefile.in    Mon Jul 15 04:50:47 2019 +0000
+++ b/external/mit/xwininfo/dist/Makefile.in    Mon Jul 15 04:50:48 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.rpath \
-       config.sub depcomp install-sh missing strnlen.c
+       ChangeLog INSTALL compile config.guess config.rpath config.sub \
+       depcomp install-sh missing strnlen.c
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 distdir = $(PACKAGE)-$(VERSION)
 top_distdir = $(distdir)
@@ -382,7 +382,7 @@
         dsimple.h \
         xwininfo.c
 
-EXTRA_DIST = strnlen.h
+EXTRA_DIST = strnlen.h README.md
 MAINTAINERCLEANFILES = ChangeLog INSTALL
 all: config.h
        $(MAKE) $(AM_MAKEFLAGS) all-recursive
diff -r 2c7edc6007d4 -r d58d46b38c2e external/mit/xwininfo/dist/README.md
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/mit/xwininfo/dist/README.md      Mon Jul 15 04:50:48 2019 +0000
@@ -0,0 +1,18 @@
+xwininfo prints information about windows on an X server.
+Various information is displayed depending on which options are selected.
+
+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/xwininfo
+
+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 2c7edc6007d4 -r d58d46b38c2e external/mit/xwininfo/dist/clientwin.c
--- a/external/mit/xwininfo/dist/clientwin.c    Mon Jul 15 04:50:47 2019 +0000
+++ b/external/mit/xwininfo/dist/clientwin.c    Mon Jul 15 04:50:48 2019 +0000
@@ -219,8 +219,10 @@
         if (subwin != roots[i])
             continue;
         win = Find_Child_At_Pointer(dpy, subwin);
-        if (win == XCB_WINDOW_NONE)
+        if (win == XCB_WINDOW_NONE) {
+            free (roots);
             return subwin;      /* No child - Return virtual root. */
+        }
         subwin = win;
         break;
     }
diff -r 2c7edc6007d4 -r d58d46b38c2e external/mit/xwininfo/dist/configure
--- a/external/mit/xwininfo/dist/configure      Mon Jul 15 04:50:47 2019 +0000
+++ b/external/mit/xwininfo/dist/configure      Mon Jul 15 04:50:48 2019 +0000
@@ -1,8 +1,8 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for xwininfo 1.1.4.
+# Generated by GNU Autoconf 2.69 for xwininfo 1.1.5.
 #
-# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
+# Report bugs to <https://gitlab.freedesktop.org/xorg/app/xwininfo/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/xwininfo/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='xwininfo'
 PACKAGE_TARNAME='xwininfo'
-PACKAGE_VERSION='1.1.4'
-PACKAGE_STRING='xwininfo 1.1.4'
-PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
+PACKAGE_VERSION='1.1.5'
+PACKAGE_STRING='xwininfo 1.1.5'
+PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xwininfo/issues'
 PACKAGE_URL=''
 
 ac_unique_file="Makefile.am"
@@ -1317,7 +1317,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 xwininfo 1.1.4 to adapt to many kinds of systems.
+\`configure' configures xwininfo 1.1.5 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1387,7 +1387,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of xwininfo 1.1.4:";;
+     short | recursive ) echo "Configuration of xwininfo 1.1.5:";;
    esac
   cat <<\_ACEOF
 
@@ -1441,7 +1441,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/xwininfo/issues>.
 _ACEOF
 ac_status=$?
 fi
@@ -1504,7 +1504,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-xwininfo configure 1.1.4
+xwininfo configure 1.1.5
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1664,7 +1664,7 @@
     { $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 ##
+## Report this to https://gitlab.freedesktop.org/xorg/app/xwininfo/issues ##
 ## ---------------------------------------------------------------------- ##"
      ) | sed "s/^/$as_me: WARNING:     /" >&2
     ;;
@@ -1919,7 +1919,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by xwininfo $as_me 1.1.4, which was
+It was created by xwininfo $as_me 1.1.5, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -4157,7 +4157,7 @@
 
 # Define the identity of the package.
  PACKAGE='xwininfo'
- VERSION='1.1.4'
+ VERSION='1.1.5'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -12669,7 +12669,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by xwininfo $as_me 1.1.4, which was
+This file was extended by xwininfo $as_me 1.1.5, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -12729,13 +12729,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/xwininfo/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="\\
-xwininfo config.status 1.1.4
+xwininfo config.status 1.1.5
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff -r 2c7edc6007d4 -r d58d46b38c2e external/mit/xwininfo/dist/configure.ac
--- a/external/mit/xwininfo/dist/configure.ac   Mon Jul 15 04:50:47 2019 +0000
+++ b/external/mit/xwininfo/dist/configure.ac   Mon Jul 15 04:50:48 2019 +0000
@@ -23,8 +23,8 @@
 



Home | Main Index | Thread Index | Old Index