Source-Changes-HG archive

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

[xsrc/trunk]: xsrc/external/mit/xlsclients/dist initial import of xlsclients-...



details:   https://anonhg.NetBSD.org/xsrc/rev/1a7826a0ff69
branches:  trunk
changeset: 7267:1a7826a0ff69
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Nov 14 06:41:04 2022 +0000

description:
initial import of xlsclients-1.1.5

diffstat:

 external/mit/xlsclients/dist/ChangeLog       |   137 +-
 external/mit/xlsclients/dist/Makefile.am     |     2 +-
 external/mit/xlsclients/dist/Makefile.in     |   107 +-
 external/mit/xlsclients/dist/README.md       |    21 +
 external/mit/xlsclients/dist/aclocal.m4      |  2313 +++---
 external/mit/xlsclients/dist/compile         |    17 +-
 external/mit/xlsclients/dist/config.guess    |  1488 ++-
 external/mit/xlsclients/dist/config.h.in     |    98 +-
 external/mit/xlsclients/dist/config.sub      |  2885 ++++----
 external/mit/xlsclients/dist/configure       |  8167 +++++++++++++------------
 external/mit/xlsclients/dist/configure.ac    |     7 +-
 external/mit/xlsclients/dist/depcomp         |    10 +-
 external/mit/xlsclients/dist/install-sh      |   172 +-
 external/mit/xlsclients/dist/man/Makefile.in |    19 +-
 external/mit/xlsclients/dist/missing         |    16 +-
 external/mit/xlsclients/dist/xlsclients.c    |    34 +-
 16 files changed, 8335 insertions(+), 7158 deletions(-)

diffs (truncated from 21612 to 300 lines):

diff -r 3ecdac487745 -r 1a7826a0ff69 external/mit/xlsclients/dist/ChangeLog
--- a/external/mit/xlsclients/dist/ChangeLog    Mon Nov 14 06:41:02 2022 +0000
+++ b/external/mit/xlsclients/dist/ChangeLog    Mon Nov 14 06:41:04 2022 +0000
@@ -1,3 +1,138 @@
+commit 1050104d4aef1d09d61e31f313fe484b161fad23
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Nov 13 09:45:35 2022 -0800
+
+    xlsclients 1.1.5
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 0cf445b33e15df1c194f2a8e2683ba5b1b2e4254
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Mon Oct 24 18:11:31 2022 -0700
+
+    Resolve implicit conversion warnings from clang
+    
+    xlsclients.c:303:47: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
+        qt_reply = malloc(sizeof(*qt_reply) * cs->list_length);
+                                            ~ ~~~~^~~~~~~~~~~
+    xlsclients.c:323:31: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
+        cs = malloc(sizeof(*cs) + child_count * (sizeof(*cs->prop_cookie) + sizeof(*cs->tree_cookie) + sizeof(*cs->win)));
+                                  ^~~~~~~~~~~ ~
+    xlsclients.c:515:38: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
+                class_len = wm_class->value_len - name_len;
+                          ~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
+    xlsclients.c:515:40: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
+                class_len = wm_class->value_len - name_len;
+                                                ~ ^~~~~~~~
+    xlsclients.c:514:56: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
+                name_len = strnlen(res_name, wm_class->value_len) + 1;
+                         ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
+    xlsclients.c:520:15: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
+                    class_len = strlen(res_class);
+                              ~ ^~~~~~~~~~~~~~~~~
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 70b32490063a227e48fe06ec2e0e2c976b6eff12
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Mon Oct 24 18:02:18 2022 -0700
+
+    usage: add cold & noreturn attributes to function
+    
+    As suggested by clang:
+    xlsclients.c:69:1: warning: function 'usage' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
+    {
+    ^
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 99c7b421dbd083c3c16158982eabb28758868188
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Mon Oct 24 17:58:51 2022 -0700
+
+    Handle -Wsign-compare warnings
+    
+    xlsclients.c: In function ‘show_client_properties’:
+    xlsclients.c:485:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
+      485 |     for (i = 0; i < command->value_len && charsleft > 0; ) {
+          |                   ^
+    xlsclients.c:488:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
+      488 |         if (i < command->value_len && charsleft > 0) {
+          |               ^
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 977636f190306bddbe3d09123283484ff5bd1b33
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Mon Oct 24 17:55:37 2022 -0700
+
+    Quiet -Wmaybe-uninitialized warnings from gcc
+    
+    I think these were false positives, as the accesses were all inside
+    "if (cs->verbose)" checks, matching the initialization case for them,
+    but this makes gcc stop warning.
+    
+    xlsclients.c:531:13: warning: ‘wm_class’ may be used uninitialized [-Wmaybe-uninitialized]
+      531 |             free(wm_class);
+          |             ^~~~~~~~~~~~~~
+    xlsclients.c:440:31: note: ‘wm_class’ was declared here
+      440 |     xcb_get_property_reply_t *wm_class;
+          |                               ^~~~~~~~
+    xlsclients.c:475:35: warning: ‘icon_name’ may be used uninitialized [-Wmaybe-uninitialized]
+      475 |         if (icon_name && icon_name->type)
+          |                          ~~~~~~~~~^~~~~~
+    xlsclients.c:439:31: note: ‘icon_name’ was declared here
+      439 |     xcb_get_property_reply_t *icon_name;
+          |                               ^~~~~~~~~
+    xlsclients.c:527:13: warning: ‘name’ may be used uninitialized [-Wmaybe-uninitialized]
+      527 |             free(name);
+          |             ^~~~~~~~~~
+    xlsclients.c:438:31: note: ‘name’ was declared here
+      438 |     xcb_get_property_reply_t *name;
+          |                               ^~~~
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit c8d8a4e66279130605b73b5dcef61c31ae414d57
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Thu Jul 28 17:30:21 2022 -0700
+
+    gitlab CI: stop requiring Signed-off-by in commits
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit c9c4b05c3acf831a1ec96bb71dc685bdf643d015
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Mon Dec 6 15:28:41 2021 -0800
+
+    Build xz tarballs instead of bzip2
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 226f6b378937ad4569b20657bf8f53a72c2b77e0
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Mon Dec 6 15:28:38 2021 -0800
+
+    gitlab CI: add a basic build test
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 7d58bc3084517a1cc40364feece4b268a8bef3f7
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Wed Nov 21 17:13:44 2018 -0800
+
+    Update configure.ac bug URL for gitlab migration
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit bbf3525171ac7d643aba3202b47ea482a7fe481f
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Fri Nov 16 22:34:29 2018 -0800
+
+    Update README for gitlab migration
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
 commit e2d28acf38c77cdc95dc7cae558188a472ddab47
 Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
 Date:   Fri Mar 9 17:54:25 2018 -0800
@@ -602,7 +737,7 @@
         configure cache, you cache it, and the cached value is probably wrong.
 
 commit bc737d5ade74d17b7b7af4d83b3a03cd570061c3
-Author: Søren Sandmann Pedersen <sandmann%daimi.au.dk@localhost>
+Author: Søren Sandmann Pedersen  <sandmann%daimi.au.dk@localhost>
 Date:   Tue Jul 5 22:51:10 2005 +0000
 
     Add build systems for xlogo, xlsatoms, xlsclients, xmag, xman, xmessage,
diff -r 3ecdac487745 -r 1a7826a0ff69 external/mit/xlsclients/dist/Makefile.am
--- a/external/mit/xlsclients/dist/Makefile.am  Mon Nov 14 06:41:02 2022 +0000
+++ b/external/mit/xlsclients/dist/Makefile.am  Mon Nov 14 06:41:04 2022 +0000
@@ -28,7 +28,7 @@
 xlsclients_SOURCES =   \
         xlsclients.c
 
-EXTRA_DIST = strnlen.h
+EXTRA_DIST = strnlen.h README.md
 MAINTAINERCLEANFILES = ChangeLog INSTALL
 
 .PHONY: ChangeLog INSTALL
diff -r 3ecdac487745 -r 1a7826a0ff69 external/mit/xlsclients/dist/Makefile.in
--- a/external/mit/xlsclients/dist/Makefile.in  Mon Nov 14 06:41:02 2022 +0000
+++ b/external/mit/xlsclients/dist/Makefile.in  Mon Nov 14 06:41:04 2022 +0000
@@ -1,7 +1,7 @@
-# Makefile.in generated by automake 1.15 from Makefile.am.
+# Makefile.in generated by automake 1.16.5 from Makefile.am.
 # @configure_input@
 
-# Copyright (C) 1994-2014 Free Software Foundation, Inc.
+# Copyright (C) 1994-2021 Free Software Foundation, Inc.
 
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -143,7 +143,8 @@
 am__v_at_1 = 
 DEFAULT_INCLUDES = -I.@am__isrc@
 depcomp = $(SHELL) $(top_srcdir)/depcomp
-am__depfiles_maybe = depfiles
+am__maybe_remake_depfiles = depfiles
+am__depfiles_remade = $(DEPDIR)/strnlen.Po ./$(DEPDIR)/xlsclients.Po
 am__mv = mv -f
 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
@@ -179,9 +180,9 @@
   $(RECURSIVE_CLEAN_TARGETS) \
   $(am__extra_recursive_targets)
 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
-       cscope distdir dist dist-all distcheck
-am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
-       $(LISP)config.h.in
+       cscope distdir distdir-am dist dist-all distcheck
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) \
+       config.h.in
 # Read a list of newline-separated strings from the standard input,
 # and print each of them once, without duplicates.  Input order is
 # *not* preserved.
@@ -198,12 +199,9 @@
   unique=`for i in $$list; do \
     if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
   done | $(am__uniquify_input)`
-ETAGS = etags
-CTAGS = ctags
-CSCOPE = cscope
 DIST_SUBDIRS = $(SUBDIRS)
 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in COPYING \
-       ChangeLog INSTALL README compile config.guess config.sub \
+       ChangeLog INSTALL README.md compile config.guess config.sub \
        depcomp install-sh missing strnlen.c
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 distdir = $(PACKAGE)-$(VERSION)
@@ -240,9 +238,11 @@
     dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
   done; \
   reldir="$$dir2"
-DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
+DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.xz
 GZIP_ENV = --best
-DIST_TARGETS = dist-bzip2 dist-gzip
+DIST_TARGETS = dist-xz dist-gzip
+# Exists only to be overridden by the user if desired.
+AM_DISTCHECK_DVI_TARGET = dvi
 distuninstallcheck_listfiles = find . -type f -print
 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
   | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
@@ -263,8 +263,9 @@
 CCDEPMODE = @CCDEPMODE@
 CFLAGS = @CFLAGS@
 CHANGELOG_CMD = @CHANGELOG_CMD@
-CPP = @CPP@
 CPPFLAGS = @CPPFLAGS@
+CSCOPE = @CSCOPE@
+CTAGS = @CTAGS@
 CWARNFLAGS = @CWARNFLAGS@
 CYGPATH_W = @CYGPATH_W@
 DEFS = @DEFS@
@@ -274,11 +275,10 @@
 ECHO_C = @ECHO_C@
 ECHO_N = @ECHO_N@
 ECHO_T = @ECHO_T@
-EGREP = @EGREP@
+ETAGS = @ETAGS@
 EXEEXT = @EXEEXT@
 FILE_MAN_DIR = @FILE_MAN_DIR@
 FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
-GREP = @GREP@
 INSTALL = @INSTALL@
 INSTALL_CMD = @INSTALL_CMD@
 INSTALL_DATA = @INSTALL_DATA@
@@ -359,6 +359,7 @@
 prefix = @prefix@
 program_transform_name = @program_transform_name@
 psdir = @psdir@
+runstatedir = @runstatedir@
 sbindir = @sbindir@
 sharedstatedir = @sharedstatedir@
 srcdir = @srcdir@
@@ -373,7 +374,7 @@
 xlsclients_SOURCES = \
         xlsclients.c
 
-EXTRA_DIST = strnlen.h
+EXTRA_DIST = strnlen.h README.md
 MAINTAINERCLEANFILES = ChangeLog INSTALL
 all: config.h
        $(MAKE) $(AM_MAKEFLAGS) all-recursive
@@ -401,8 +402,8 @@
            echo ' $(SHELL) ./config.status'; \
            $(SHELL) ./config.status;; \
          *) \
-           echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
-           cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
+           echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
+           cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
        esac;
 
 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
@@ -481,8 +482,14 @@
 distclean-compile:
        -rm -f *.tab.c
 
-@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/strnlen.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xlsclients.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/strnlen.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xlsclients.Po@am__quote@ # am--include-marker
+
+$(am__depfiles_remade):
+       @$(MKDIR_P) $(@D)
+       @echo '# dummy' >$@-t && $(am__mv) $@-t $@
+
+am--depfiles: $(am__depfiles_remade)
 
 .c.o:
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
@@ -603,8 +610,10 @@
 distclean-tags:
        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
        -rm -f cscope.out cscope.in.out cscope.po.out cscope.files


Home | Main Index | Thread Index | Old Index