Source-Changes-HG archive

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

[xsrc/xorg]: xsrc/external/mit/xlsatoms/dist initial import of xlsatoms-1.1.3



details:   https://anonhg.NetBSD.org/xsrc/rev/db96668df39e
branches:  xorg
changeset: 10128:db96668df39e
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Mar 03 08:16:19 2019 +0000

description:
initial import of xlsatoms-1.1.3

diffstat:

 external/mit/xlsatoms/dist/ChangeLog        |   133 +
 external/mit/xlsatoms/dist/Makefile.am      |     2 +
 external/mit/xlsatoms/dist/Makefile.in      |     7 +-
 external/mit/xlsatoms/dist/README.md        |    20 +
 external/mit/xlsatoms/dist/aclocal.m4       |  2549 ++++++++++++++------------
 external/mit/xlsatoms/dist/config.guess     |   679 +++---
 external/mit/xlsatoms/dist/config.sub       |   304 +-
 external/mit/xlsatoms/dist/configure        |    79 +-
 external/mit/xlsatoms/dist/configure.ac     |     4 +-
 external/mit/xlsatoms/dist/man/Makefile.in  |     2 +
 external/mit/xlsatoms/dist/man/xlsatoms.man |     2 +-
 external/mit/xlsatoms/dist/xlsatoms.c       |   104 +-
 12 files changed, 2130 insertions(+), 1755 deletions(-)

diffs (truncated from 5700 to 300 lines):

diff -r 066936e31c72 -r db96668df39e external/mit/xlsatoms/dist/ChangeLog
--- a/external/mit/xlsatoms/dist/ChangeLog      Sun Mar 03 08:16:17 2019 +0000
+++ b/external/mit/xlsatoms/dist/ChangeLog      Sun Mar 03 08:16:19 2019 +0000
@@ -1,3 +1,136 @@
+commit 90e2f5a00d304c8b344f42a72b4543f6e4fd4cd6
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Tue Feb 19 15:27:23 2019 -0800
+
+    xlsatoms 1.1.3
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit d7e52dc1d62164ce5a68c276d46c9f7283b5e040
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Wed Nov 21 17:13:31 2018 -0800
+
+    Update configure.ac bug URL for gitlab migration
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 4f3b875fad61a3f3457f036412cdf5b0a69fe300
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Fri Nov 16 22:33:37 2018 -0800
+
+    Update README for gitlab migration
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 1ffbd9c5be8fb61bcbe9bb06d349af54bfbb2f3b
+Author: Tobias Stoeckmann <tobias%stoeckmann.org@localhost>
+Date:   Wed Jul 4 15:33:18 2018 +0200
+
+    Adjust man page to show default format.
+    
+    The default format is %lu\t%s, not %ld\t%s, i.e. unsigned.
+    
+    Signed-off-by: Tobias Stoeckmann <tobias%stoeckmann.org@localhost>
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 52a6e57bfd7f273fc754c12a44eb94200f3de0b9
+Author: Tobias Stoeckmann <tobias%stoeckmann.org@localhost>
+Date:   Wed Jul 4 15:29:58 2018 +0200
+
+    Always use chunks when retrieving atoms.
+    
+    If a low and high range limit has been specified, all atoms are
+    retrieved at once. This is also the reason why malloc() is used:
+    All cookies are stored before collecting the data.
+    
+    By using chunks it is possible to specify a huge range or even
+    all possible atoms without running out of memory.
+    
+    Signed-off-by: Tobias Stoeckmann <tobias%stoeckmann.org@localhost>
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 3e27b6a63f3baf153bba076e12870f2a88691a13
+Author: Tobias Stoeckmann <tobias%stoeckmann.org@localhost>
+Date:   Wed Jul 4 15:29:26 2018 +0200
+
+    Actually stop after an invalid atom.
+    
+    The manual page states that if no upper range limit has been specified,
+    no higher atoms will be printed. This is not true for
+    
+    $ xlsatoms -range 0-
+    
+    This prints the first 100 atoms, even though it already encountered an
+    invalid one at 0. The reason is that say_batch works as a batch, i.e.
+    retrieves 100 atoms at a time. If one of them is invalid, the rest is
+    still printed.
+    
+    With this adjustment, xlsatoms behaves as stated in manual page.
+    
+    Signed-off-by: Tobias Stoeckmann <tobias%stoeckmann.org@localhost>
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 22a8eb00662a926cd5df52ba15851a31104ae41e
+Author: Tobias Stoeckmann <tobias%stoeckmann.org@localhost>
+Date:   Wed Jul 4 15:28:41 2018 +0200
+
+    Support xcb_atom_t in range specification.
+    
+    The data type xcb_atom_t is an unsigned int (32 bit), but the optional
+    range argument is parsed with atoi(), which returns a signed int.
+    
+    Even though it is possible to reach all values through clever casting,
+    it is more readable by properly using correct data types.
+    
+    This also fixes a segmentation fault on 32 bit systems if a range is
+    supplied which overflows size_t:
+    
+    $ xlsatoms -range 0-1073741824
+    Segmentation fault (core dumped)
+    
+    If an invalid range is supplied, an error message is printed. This is
+    new because previously an invalid range was silently accepted.
+    
+    $ xlsatoms -range 0--1
+    $ _
+    $ xlsatoms-new -range 0--1
+    xlsatoms-new:  invalid range: 0--1
+    
+    Signed-off-by: Tobias Stoeckmann <tobias%stoeckmann.org@localhost>
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit c0812822f34affaae3c3eced8a625535e515a290
+Author: Mihail Konev <k.mvc%ya.ru@localhost>
+Date:   Thu Jan 26 14:00:21 2017 +1000
+
+    autogen: add default patch prefix
+    
+    Signed-off-by: Mihail Konev <k.mvc%ya.ru@localhost>
+
+commit ba6492896481220c5a6095fbed1952ca2cecbb8e
+Author: Emil Velikov <emil.l.velikov%gmail.com@localhost>
+Date:   Mon Mar 9 12:00:52 2015 +0000
+
+    autogen.sh: use quoted string variables
+    
+    Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent
+    fall-outs, when they contain space.
+    
+    Signed-off-by: Emil Velikov <emil.l.velikov%gmail.com@localhost>
+    Reviewed-by: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+    Signed-off-by: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+
+commit 6d0ab94a3822ee6617102cb8b25a1d9dda298fb8
+Author: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+Date:   Tue Jan 24 10:32:07 2017 +1000
+
+    autogen.sh: use exec instead of waiting for configure to finish
+    
+    Syncs the invocation of configure with the one from the server.
+    
+    Signed-off-by: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+    Reviewed-by: Emil Velikov <emil.velikov%collabora.com@localhost>
+
 commit 8b773cc5ccc8568f3b089229b5ae85ebaca94836
 Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
 Date:   Thu Apr 16 23:49:40 2015 -0700
diff -r 066936e31c72 -r db96668df39e external/mit/xlsatoms/dist/Makefile.am
--- a/external/mit/xlsatoms/dist/Makefile.am    Sun Mar 03 08:16:17 2019 +0000
+++ b/external/mit/xlsatoms/dist/Makefile.am    Sun Mar 03 08:16:19 2019 +0000
@@ -39,3 +39,5 @@
        $(CHANGELOG_CMD)
 
 dist-hook: ChangeLog INSTALL
+
+EXTRA_DIST = README.md
diff -r 066936e31c72 -r db96668df39e external/mit/xlsatoms/dist/Makefile.in
--- a/external/mit/xlsatoms/dist/Makefile.in    Sun Mar 03 08:16:17 2019 +0000
+++ b/external/mit/xlsatoms/dist/Makefile.in    Sun Mar 03 08:16:19 2019 +0000
@@ -203,8 +203,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)
@@ -306,6 +306,8 @@
 PACKAGE_VERSION = @PACKAGE_VERSION@
 PATH_SEPARATOR = @PATH_SEPARATOR@
 PKG_CONFIG = @PKG_CONFIG@
+PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
+PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
 SED = @SED@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
@@ -372,6 +374,7 @@
         xlsatoms.c
 
 MAINTAINERCLEANFILES = ChangeLog INSTALL
+EXTRA_DIST = README.md
 all: config.h
        $(MAKE) $(AM_MAKEFLAGS) all-recursive
 
diff -r 066936e31c72 -r db96668df39e external/mit/xlsatoms/dist/README.md
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/mit/xlsatoms/dist/README.md      Sun Mar 03 08:16:19 2019 +0000
@@ -0,0 +1,20 @@
+xlsatoms lists the interned atoms defined on an X11 server
+
+Version 1.1 and later of xlsatoms use (and require) libxcb instead
+of libX11, for less latency when communicating with the 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/xlsatoms
+
+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 066936e31c72 -r db96668df39e external/mit/xlsatoms/dist/aclocal.m4
--- a/external/mit/xlsatoms/dist/aclocal.m4     Sun Mar 03 08:16:17 2019 +0000
+++ b/external/mit/xlsatoms/dist/aclocal.m4     Sun Mar 03 08:16:19 2019 +0000
@@ -20,1165 +20,71 @@
 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'.])])
 
-# Copyright (C) 2002-2014 Free Software Foundation, Inc.
-#
-# 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.
-
-# AM_AUTOMAKE_VERSION(VERSION)
-# ----------------------------
-# Automake X.Y traces this macro to ensure aclocal.m4 has been
-# generated from the m4 files accompanying Automake X.Y.
-# (This private macro should not be called outside this file.)
-AC_DEFUN([AM_AUTOMAKE_VERSION],
-[am__api_version='1.15'
-dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
-dnl require some minimum version.  Point them to the right macro.
-m4_if([$1], [1.15], [],
-      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
-])
-
-# _AM_AUTOCONF_VERSION(VERSION)
-# -----------------------------
-# aclocal traces this macro to find the Autoconf version.
-# This is a private macro too.  Using m4_define simplifies
-# the logic in aclocal, which can simply ignore this definition.
-m4_define([_AM_AUTOCONF_VERSION], [])
-
-# AM_SET_CURRENT_AUTOMAKE_VERSION
-# -------------------------------
-# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
-# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
-AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
-[AM_AUTOMAKE_VERSION([1.15])dnl
-m4_ifndef([AC_AUTOCONF_VERSION],
-  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
-_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
-
-# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
-
-# Copyright (C) 2001-2014 Free Software Foundation, Inc.
-#
-# 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.
-
-# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
-# $ac_aux_dir to '$srcdir/foo'.  In other projects, it is set to
-# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
-#
-# Of course, Automake must honor this variable whenever it calls a
-# tool from the auxiliary directory.  The problem is that $srcdir (and
-# therefore $ac_aux_dir as well) can be either absolute or relative,
-# depending on how configure is run.  This is pretty annoying, since
-# it makes $ac_aux_dir quite unusable in subdirectories: in the top
-# source directory, any form will work fine, but in subdirectories a
-# relative path needs to be adjusted first.
-#
-# $ac_aux_dir/missing
-#    fails when called from a subdirectory if $ac_aux_dir is relative
-# $top_srcdir/$ac_aux_dir/missing
-#    fails if $ac_aux_dir is absolute,
-#    fails when called from a subdirectory in a VPATH build with
-#          a relative $ac_aux_dir
-#
-# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
-# are both prefixed by $srcdir.  In an in-source build this is usually
-# harmless because $srcdir is '.', but things will broke when you
-# start a VPATH build or use an absolute $srcdir.
-#
-# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
-# iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
-#   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
-# and then we would define $MISSING as
-#   MISSING="\${SHELL} $am_aux_dir/missing"
-# This will work as long as MISSING is not called from configure, because
-# unfortunately $(top_srcdir) has no meaning in configure.
-# However there are other variables, like CC, which are often used in
-# configure, and could therefore not use this "fixed" $ac_aux_dir.
-#
-# Another solution, used here, is to always expand $ac_aux_dir to an
-# absolute PATH.  The drawback is that using absolute paths prevent a
-# configured tree to be moved without reconfiguration.
-
-AC_DEFUN([AM_AUX_DIR_EXPAND],
-[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
-# Expand $ac_aux_dir to an absolute path.
-am_aux_dir=`cd "$ac_aux_dir" && pwd`
-])
-
-# AM_CONDITIONAL                                            -*- Autoconf -*-



Home | Main Index | Thread Index | Old Index