Source-Changes-HG archive

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

[xsrc/trunk]: xsrc/external/mit/libXres/dist initial import of libXres-1.2.2



details:   https://anonhg.NetBSD.org/xsrc/rev/fe1a540b470d
branches:  trunk
changeset: 7316:fe1a540b470d
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Jan 08 08:50:59 2023 +0000

description:
initial import of libXres-1.2.2

diffstat:

 external/mit/libXres/dist/ChangeLog                     |    116 +-
 external/mit/libXres/dist/Makefile.in                   |     24 +-
 external/mit/libXres/dist/README.md                     |      2 +-
 external/mit/libXres/dist/aclocal.m4                    |  18419 +++++++------
 external/mit/libXres/dist/compile                       |      2 +-
 external/mit/libXres/dist/config.guess                  |   1490 +-
 external/mit/libXres/dist/config.h.in                   |     10 +-
 external/mit/libXres/dist/config.sub                    |   2885 +-
 external/mit/libXres/dist/configure                     |  12190 ++++----
 external/mit/libXres/dist/configure.ac                  |      8 +-
 external/mit/libXres/dist/depcomp                       |      2 +-
 external/mit/libXres/dist/include/X11/extensions/XRes.h |    132 +-
 external/mit/libXres/dist/ltmain.sh                     |    881 +-
 external/mit/libXres/dist/man/Makefile.in               |     10 +-
 external/mit/libXres/dist/missing                       |      2 +-
 external/mit/libXres/dist/src/Makefile.in               |     12 +-
 16 files changed, 18955 insertions(+), 17230 deletions(-)

diffs (truncated from 43739 to 300 lines):

diff -r 69a5b2352cf8 -r fe1a540b470d external/mit/libXres/dist/ChangeLog
--- a/external/mit/libXres/dist/ChangeLog       Sun Jan 08 08:50:55 2023 +0000
+++ b/external/mit/libXres/dist/ChangeLog       Sun Jan 08 08:50:59 2023 +0000
@@ -1,3 +1,109 @@
+commit f77165c819b05af27d9878efe8526a157f569b1a
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Dec 4 15:17:26 2022 -0800
+
+    libXres 1.2.2
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit bed46b55c06a3488971fda8271cf9fc0e3dd84d5
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Nov 20 11:07:30 2022 -0800
+
+    Use calloc instead of malloc to allocate arrays
+    
+    Makes code more consistent with other functions in this library
+    which already do this and adds extra protection against overflows
+    or failures to properly fill in values.
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit c71236d5ae587f6a673a8bf1b6fd5de64a3ba78c
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Nov 20 11:03:55 2022 -0800
+
+    Handle implicit conversion warnings from clang
+    
+    Clears 6 -Wimplicit-int-conversion, 6 -Wshorten-64-to-32, and
+    7 -Wsign-conversion warnings.
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 9e0db673a7869861eeb6eccbc8270a019f4aacd1
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Nov 20 10:31:39 2022 -0800
+
+    Resolve -Wsign-compare warnings from gcc
+    
+    XRes.c: In function ‘XResQueryClients’:
+    XRes.c:121:31: warning: comparison between signed and unsigned integer
+      expressions [-Wsign-compare]
+                 for (int i = 0; i < rep.num_clients; i++) {
+                                   ^
+    XRes.c: In function ‘XResQueryClientResources’:
+    XRes.c:176:31: warning: comparison between signed and unsigned integer
+      expressions [-Wsign-compare]
+                 for (int i = 0; i < rep.num_types; i++) {
+                                   ^
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit a43105c0da6613798437afaa531c2a576f8efc99
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Nov 20 10:30:10 2022 -0800
+
+    Variable scope reductions
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit b1fb8150d6adac3b564575dec470a740457f66dc
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Nov 20 10:20:59 2022 -0800
+
+    Add .git-blame-ignore-revs to hide whitespace commits from git blame
+    
+    To use this in your local repo clone, you will need to either run
+    `git blame --ignore-revs-file .git-blame-ignore-revs`
+    or set it permanently with
+    `git config blame.ignoreRevsFile .git-blame-ignore-revs`
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit fa5642244aa4b0882b8604d1e693d31882a7adda
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Nov 20 09:25:13 2022 -0800
+
+    Reformat code to X.Org standard style
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 7bb6561cb44ce8f38615d2436dae89e7ca9a773b
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Jul 17 17:44:40 2022 -0700
+
+    gitlab CI: add a basic build test
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 090026087de8961a7c49145f347e65afa1bbcb9b
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Jul 17 17:43:50 2022 -0700
+
+    Fix spelling/wording issues
+    
+    Found by using:
+        codespell --builtin clear,rare,usage,informal,code,names
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit d5031be051ea7c969e7fdf5885235ae56825b697
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Jul 17 17:43:25 2022 -0700
+
+    Build xz tarballs instead of bzip2
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
 commit c05c6d918b0e2011d4bfa370c321482e34630b17
 Author: Keith Packard <keithp%keithp.com@localhost>
 Date:   Tue Mar 30 21:36:16 2021 -0700
@@ -214,7 +320,7 @@
     Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
 
 commit 01fc6f81f0a2935741dd1114aa3fa267d8be9095
-Author: Erkki Seppälä <erkki.seppala%vincit.fi@localhost>
+Author: Erkki Seppälä < <erkki.seppala%vincit.fi@localhost>
 Date:   Wed Dec 15 13:48:09 2010 +0200
 
     Implemented second part of XResource extension v1.2: XResQueryResourceBytes
@@ -225,7 +331,7 @@
     Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
 
 commit 0f38938a27df1f865dcdda35f4d2ef191092ba42
-Author: Erkki Seppälä <erkki.seppala%vincit.fi@localhost>
+Author: Erkki Seppälä < <erkki.seppala%vincit.fi@localhost>
 Date:   Mon Nov 29 12:43:51 2010 +0200
 
     Implemented first part of XResource extension v1.2: XResQueryClientIds
@@ -731,7 +837,7 @@
     Add .cvsignore files Switch _la_CFLAGS for AM_CFLAGS to clean up directory
 
 commit c1ed34d39740625d52eca7f2c5bf5c6797f28097
-Author: Søren Sandmann Pedersen <sandmann%daimi.au.dk@localhost>
+Author: Søren Sandmann Pedersen  <sandmann%daimi.au.dk@localhost>
 Date:   Wed Jun 22 22:46:38 2005 +0000
 
     Apply these patches from Theo van Klaveren:
@@ -740,13 +846,13 @@
     to make the libraries distcheck.
 
 commit 2dbb8e41c6accaf9d86f3fdadfed5aea330da1fd
-Author: Søren Sandmann Pedersen <sandmann%daimi.au.dk@localhost>
+Author: Søren Sandmann Pedersen  <sandmann%daimi.au.dk@localhost>
 Date:   Tue Jun 14 17:31:59 2005 +0000
 
     XRes/src/Makefile.am: Add $(top_srcdir)/include to INCLUDES
 
 commit a30727351e6cdeb7ff2ffa0bddad8c3a1be9eda0
-Author: Søren Sandmann Pedersen <sandmann%daimi.au.dk@localhost>
+Author: Søren Sandmann Pedersen  <sandmann%daimi.au.dk@localhost>
 Date:   Tue Jun 7 18:51:23 2005 +0000
 
     - symlink.sh: Move XRes.h from proto/Resource to
diff -r 69a5b2352cf8 -r fe1a540b470d external/mit/libXres/dist/Makefile.in
--- a/external/mit/libXres/dist/Makefile.in     Sun Jan 08 08:50:55 2023 +0000
+++ b/external/mit/libXres/dist/Makefile.in     Sun Jan 08 08:50:59 2023 +0000
@@ -1,7 +1,7 @@
-# Makefile.in generated by automake 1.16.3 from Makefile.am.
+# Makefile.in generated by automake 1.16.5 from Makefile.am.
 # @configure_input@
 
-# Copyright (C) 1994-2020 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,
@@ -204,13 +204,11 @@
   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 \
-       $(srcdir)/xres.pc.in AUTHORS COPYING ChangeLog INSTALL compile \
-       config.guess config.sub install-sh ltmain.sh missing
+       $(srcdir)/xres.pc.in AUTHORS COPYING ChangeLog INSTALL \
+       README.md compile config.guess config.sub install-sh ltmain.sh \
+       missing
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 distdir = $(PACKAGE)-$(VERSION)
 top_distdir = $(distdir)
@@ -246,9 +244,9 @@
     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
@@ -272,8 +270,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@
@@ -287,8 +286,10 @@
 ECHO_N = @ECHO_N@
 ECHO_T = @ECHO_T@
 EGREP = @EGREP@
+ETAGS = @ETAGS@
 EXEEXT = @EXEEXT@
 FGREP = @FGREP@
+FILECMD = @FILECMD@
 FILE_MAN_DIR = @FILE_MAN_DIR@
 FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
 GREP = @GREP@
@@ -594,7 +595,6 @@
 distclean-tags:
        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
        -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
-
 distdir: $(BUILT_SOURCES)
        $(MAKE) $(AM_MAKEFLAGS) distdir-am
 
@@ -668,6 +668,7 @@
 dist-gzip: distdir
        tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
        $(am__post_remove_distdir)
+
 dist-bzip2: distdir
        tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
        $(am__post_remove_distdir)
@@ -675,7 +676,6 @@
 dist-lzip: distdir
        tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
        $(am__post_remove_distdir)
-
 dist-xz: distdir
        tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
        $(am__post_remove_distdir)
diff -r 69a5b2352cf8 -r fe1a540b470d external/mit/libXres/dist/README.md
--- a/external/mit/libXres/dist/README.md       Sun Jan 08 08:50:55 2023 +0000
+++ b/external/mit/libXres/dist/README.md       Sun Jan 08 08:50:59 2023 +0000
@@ -5,7 +5,7 @@
 
   https://lists.x.org/mailman/listinfo/xorg
 
-The master development code repository can be found at:
+The primary development code repository can be found at:
 
   https://gitlab.freedesktop.org/xorg/lib/libXRes
 
diff -r 69a5b2352cf8 -r fe1a540b470d external/mit/libXres/dist/aclocal.m4
--- a/external/mit/libXres/dist/aclocal.m4      Sun Jan 08 08:50:55 2023 +0000
+++ b/external/mit/libXres/dist/aclocal.m4      Sun Jan 08 08:50:59 2023 +0000
@@ -1,6 +1,6 @@
-# generated automatically by aclocal 1.16.3 -*- Autoconf -*-
-
-# Copyright (C) 1996-2020 Free Software Foundation, Inc.
+# generated automatically by aclocal 1.16.5 -*- Autoconf -*-
+
+# Copyright (C) 1996-2021 Free Software Foundation, Inc.
 
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -14,9067 +14,13 @@
 m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
 m4_ifndef([AC_AUTOCONF_VERSION],
   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
-m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
-[m4_warning([this file was generated for autoconf 2.69.
+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.71],,
+[m4_warning([this file was generated for autoconf 2.71.
 You have another version of autoconf.  It may work, but is not guaranteed to.
 If you have problems, you may need to regenerate the build system entirely.
 To do so, use the procedure documented by the package, typically 'autoreconf'.])])
 
-# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
-#
-#   Copyright (C) 1996-2001, 2003-2015 Free Software Foundation, Inc.
-#   Written by Gordon Matzigkeit, 1996
-#
-# This file is free software; the Free Software Foundation gives
-# unlimited permission to copy and/or distribute it, with or without
-# modifications, as long as this notice is preserved.
-
-m4_define([_LT_COPYING], [dnl
-# Copyright (C) 2014 Free Software Foundation, Inc.
-# This is free software; see the source for copying conditions.  There is NO
-# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-# GNU Libtool is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of of the License, or
-# (at your option) any later version.
-#


Home | Main Index | Thread Index | Old Index