Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[xsrc/xorg]: xsrc/external/mit/xkbcomp/dist initial import of xkbcomp-1.4.5
details: https://anonhg.NetBSD.org/xsrc/rev/4a617b8fac4a
branches: xorg
changeset: 10687:4a617b8fac4a
user: mrg <mrg%NetBSD.org@localhost>
date: Tue Apr 27 01:45:59 2021 +0000
description:
initial import of xkbcomp-1.4.5
diffstat:
external/mit/xkbcomp/dist/COPYING | 30 +-
external/mit/xkbcomp/dist/ChangeLog | 244 ++
external/mit/xkbcomp/dist/Makefile.am | 6 +-
external/mit/xkbcomp/dist/Makefile.in | 161 +-
external/mit/xkbcomp/dist/README | 2 +-
external/mit/xkbcomp/dist/aclocal.m4 | 255 +-
external/mit/xkbcomp/dist/action.c | 129 +-
external/mit/xkbcomp/dist/action.h | 18 +-
external/mit/xkbcomp/dist/alias.c | 30 +-
external/mit/xkbcomp/dist/alias.h | 18 +-
external/mit/xkbcomp/dist/compat.c | 44 +-
external/mit/xkbcomp/dist/compile | 12 +-
external/mit/xkbcomp/dist/config.guess | 640 +++---
external/mit/xkbcomp/dist/config.sub | 2752 ++++++++++++++--------------
external/mit/xkbcomp/dist/configure | 321 +-
external/mit/xkbcomp/dist/configure.ac | 13 +-
external/mit/xkbcomp/dist/depcomp | 8 +-
external/mit/xkbcomp/dist/expr.c | 98 +-
external/mit/xkbcomp/dist/expr.h | 18 +-
external/mit/xkbcomp/dist/geometry.c | 226 +-
external/mit/xkbcomp/dist/indicators.c | 42 +-
external/mit/xkbcomp/dist/indicators.h | 18 +-
external/mit/xkbcomp/dist/install-sh | 58 +-
external/mit/xkbcomp/dist/keycodes.c | 98 +-
external/mit/xkbcomp/dist/keycodes.h | 18 +-
external/mit/xkbcomp/dist/keymap.c | 34 +-
external/mit/xkbcomp/dist/keytypes.c | 106 +-
external/mit/xkbcomp/dist/listing.c | 38 +-
external/mit/xkbcomp/dist/man/Makefile.in | 14 +-
external/mit/xkbcomp/dist/misc.c | 66 +-
external/mit/xkbcomp/dist/misc.h | 18 +-
external/mit/xkbcomp/dist/missing | 14 +-
external/mit/xkbcomp/dist/parseutils.c | 24 +-
external/mit/xkbcomp/dist/parseutils.h | 18 +-
external/mit/xkbcomp/dist/symbols.c | 179 +-
external/mit/xkbcomp/dist/tokens.h | 18 +-
external/mit/xkbcomp/dist/utils.c | 6 +-
external/mit/xkbcomp/dist/utils.h | 42 +-
external/mit/xkbcomp/dist/vmod.c | 30 +-
external/mit/xkbcomp/dist/vmod.h | 18 +-
external/mit/xkbcomp/dist/xkbcomp.c | 139 +-
external/mit/xkbcomp/dist/xkbcomp.h | 18 +-
external/mit/xkbcomp/dist/xkbcomp.pc.in | 1 -
external/mit/xkbcomp/dist/xkbparse.c | 2263 +++++++++++-----------
external/mit/xkbcomp/dist/xkbparse.y | 36 +-
external/mit/xkbcomp/dist/xkbpath.c | 32 +-
external/mit/xkbcomp/dist/xkbscan.c | 18 +-
external/mit/xkbcomp/dist/ylwrap | 8 +-
48 files changed, 4361 insertions(+), 4038 deletions(-)
diffs (truncated from 15011 to 300 lines):
diff -r 402b37df801c -r 4a617b8fac4a external/mit/xkbcomp/dist/COPYING
--- a/external/mit/xkbcomp/dist/COPYING Tue Apr 27 01:45:58 2021 +0000
+++ b/external/mit/xkbcomp/dist/COPYING Tue Apr 27 01:45:59 2021 +0000
@@ -5,19 +5,19 @@
fee is hereby granted, provided that the above copyright
notice appear in all copies and that both that copyright
notice and this permission notice appear in supporting
-documentation, and that the name of Silicon Graphics not be
-used in advertising or publicity pertaining to distribution
+documentation, and that the name of Silicon Graphics not be
+used in advertising or publicity pertaining to distribution
of the software without specific prior written permission.
-Silicon Graphics makes no representation about the suitability
+Silicon Graphics makes no representation about the suitability
of this software for any purpose. It is provided "as is"
without any express or implied warranty.
-SILICON GRAPHICS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
-SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
+SILICON GRAPHICS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
+SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON
-GRAPHICS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
-DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
-DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
+GRAPHICS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
+DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
+DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH
THE USE OR PERFORMANCE OF THIS SOFTWARE.
@@ -49,13 +49,13 @@
All Rights Reserved
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose and without fee is hereby granted,
+Permission to use, copy, modify, and distribute this software and its
+documentation for any purpose and without fee is hereby granted,
provided that the above copyright notice appear in all copies and that
-both that copyright notice and this permission notice appear in
+both that copyright notice and this permission notice appear in
supporting documentation, and that the name of Digital not be
used in advertising or publicity pertaining to distribution of the
-software without specific, written prior permission.
+software without specific, written prior permission.
DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
@@ -73,8 +73,8 @@
THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE AND
SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT CORPORATION.
-DIGITAL MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THIS SOFTWARE
-FOR ANY PURPOSE. IT IS SUPPLIED "AS IS" WITHOUT EXPRESS OR IMPLIED
+DIGITAL MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THIS SOFTWARE
+FOR ANY PURPOSE. IT IS SUPPLIED "AS IS" WITHOUT EXPRESS OR IMPLIED
WARRANTY.
IF THE SOFTWARE IS MODIFIED IN A MANNER CREATING DERIVATIVE COPYRIGHT
@@ -86,5 +86,5 @@
that the above copyright notice appear in all copies and that both that
copyright notice and this permission notice appear in supporting
documentation, and that the name of Digital Equipment Corporation not be
-used in advertising or publicity pertaining to distribution of the
+used in advertising or publicity pertaining to distribution of the
software without specific, written prior permission.
diff -r 402b37df801c -r 4a617b8fac4a external/mit/xkbcomp/dist/ChangeLog
--- a/external/mit/xkbcomp/dist/ChangeLog Tue Apr 27 01:45:58 2021 +0000
+++ b/external/mit/xkbcomp/dist/ChangeLog Tue Apr 27 01:45:59 2021 +0000
@@ -1,3 +1,247 @@
+commit f8b240e897ed68b90c116ce4c2f8814e71e5aa97
+Author: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+Date: Wed Mar 17 15:39:53 2021 +1000
+
+ xkbcomp 1.4.5
+
+ Signed-off-by: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+
+commit da810f10d732a312ccee88652141c1d165efc114
+Author: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+Date: Thu Jan 21 13:24:00 2021 +1000
+
+ keycodes: compress the high keycode warning
+
+ No point spending 3 lines on this, especially given that this warning is
+ always triggered.
+
+ Signed-off-by: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+
+commit 80398db098b2a2214c5bef28d09cefd58beac43d
+Author: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+Date: Thu Jan 21 13:20:40 2021 +1000
+
+ keycodes: downgrade the >255 keycode warning to an info
+
+ This warning will be triggered all the time now that xkeyboard-config has
+ started adding keycodes > 255. Downgrade to an info, there's nothing the user
+ can do about this warning anyway.
+
+ Signed-off-by: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+
+commit 1955a2645670eeea83d6d163653749249cd839f2
+Author: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+Date: Thu Jan 21 13:16:53 2021 +1000
+
+ Downgrade the warning for missing symbols to info
+
+ In the interest of maintainability, it's easier to include as many keycodes as
+ possible and then have the symbols mapping specific to the layout. This is
+ particularly true for evdev where the kernel takes care of device-specifics
+ and every keyboard has the same set of keycodes anyway.
+
+ So let's downgrade this from a warning to a mere info, virtually every
+ keyboard right now triggers this warning for a number of keys.
+
+ Signed-off-by: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+
+commit 9510dedad875099c32993246188050ea73ab1a9f
+Author: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+Date: Thu Jan 21 13:08:25 2021 +1000
+
+ Replace WARN[1-9], ERROR[1-9], etc. with their unnumbered version
+
+ Those macros date back to when varargs weren't a thing but they've
+ been #defined to the same value for 17 years now.
+
+ Patch generated with:
+ for action in WARN INFO ERROR ACTION FATAL WSGO; do
+ sed -i "s/${action}[1-9]/${action}/g" `git ls-files`
+ done
+
+ Signed-off-by: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+
+commit ff6a19ed8898ee8c79b2b2a2f87806353d89f5d4
+Author: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+Date: Thu Jan 21 13:46:01 2021 +1000
+
+ gitlab CI: add basic build test
+
+ Copied from xorgproto
+
+ Signed-off-by: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+
+commit 3b3d25dd32ba48fd6d15ca98baf7109af21e1d97
+Author: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+Date: Thu Jan 21 13:24:51 2021 +1000
+
+ Remove trailing whitespaces
+
+ Let's clean this up so I don't have to fight vim and git in removing them.
+
+ Signed-off-by: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+
+commit 790b998647ec171133bf196a3d84c5153cd64840
+Author: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+Date: Thu Nov 5 14:24:24 2020 +1000
+
+ xkbcomp 1.4.4
+
+ Signed-off-by: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+
+commit a0a4f112c5858ac2b932247dba2d85061bb59145
+Author: Miroslav Koškár <mk%mkoskar.com@localhost>
+Date: Mon Jul 6 07:48:48 2020 +0200
+
+ Fix lockdevbtn to be XkbSA_LockDeviceBtn action
+
+commit 101d5f2bce9ee13521fe9cb47b7cfd00d01f5914
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Thu Jul 23 10:25:08 2020 -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 c8cfca25ab2ed65013448f7502bae933c66390ae
+Author: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+Date: Fri Jun 5 14:23:09 2020 +1000
+
+ Don't pretend unresolved symbols are an error
+
+ Whenever xkeyboard-config is newer than xorgproto, or libX11 just hasn't yet
+ been rebuilt against the protocol we end up with some unresolved symbols.
+ That's not an error, it just happens. Let's downgrade this to a warning
+ instead.
+
+ Signed-off-by: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+
+commit dcaa947c488b4cb458946ab9c19579f7c866cbd4
+Author: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+Date: Wed Jul 17 15:07:14 2019 +1000
+
+ For -R and after chdir, add the current directory to the path
+
+ This restores the behavior pre 1aecdffaa0db7bbf85bc0aae9043e9437b25c30d, at
+ least when -R is given. For a normal invocation without -R we don't add the
+ current directory, because 1aecdff isn't totally wrong about whether that's a
+ good idea.
+
+ Fixes https://gitlab.freedesktop.org/xorg/app/xkbcomp/issues/3
+
+commit d373c9b434c603bf6a5eb442b6427992d23ef874
+Author: Matt Turner <mattst88%gmail.com@localhost>
+Date: Thu Feb 20 09:47:30 2020 -0800
+
+ xkbcomp 1.4.3
+
+ Signed-off-by: Matt Turner <mattst88%gmail.com@localhost>
+
+commit e200d0d41ef3158ea717206c1490e499a0c07f1b
+Author: Dimitry Andric <dimitry%andric.com@localhost>
+Date: Wed Feb 19 21:24:59 2020 +0100
+
+ Don't compare with string literals
+
+ xkbcomp.c:228:37: error: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Werror,-Wstring-compare]
+ if ((argv[i][0] != '-') || (uStringEqual(argv[i], "-")))
+ ^~~~~~~~~~~~~~~~~~~~~~~~~~
+ ./utils.h:195:30: note: expanded from macro 'uStringEqual'
+ ^~~~~~~~~~~~~~~~~~~~~
+ ./utils.h:198:38: note: expanded from macro 'uStringCompare'
+ (s1)!=(s2):strcmp(s1,s2))
+ ^ ~~~~
+
+ Don't attempt to do this macro trickery, and simply use strcmp instead,
+ where it applies.
+
+ Bug: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244235
+
+commit 29fda8e50e4a4a127348e63fcf9f47600beab93c
+Author: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+Date: Thu Jun 13 12:29:19 2019 +1000
+
+ Error out if we have no default path
+
+ The path is set through configure.ac/Makefile.am and always defined anyway.
+ Let's not re-define it here with a different value than our default.
+
+ Signed-off-by: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+
+commit ff0e59084d6b9f2e7085fc88ba68916150085afb
+Author: Andreas Wettstein <wettstein509%solnet.ch@localhost>
+Date: Sat Feb 15 17:34:41 2014 +0100
+
+ xkbcomp Fix missing support for "affect" and incorrect modifier handling for ISOLock
+
+ Add missing support for "affect" flag to selectively affect locking or
+ unlocking for for modifier locking, control locking, and ISOLock.
+ Fix some incorrect masking and modifier handling for ISOLock.
+
+ Signed-off-by: Andreas Wettstein <wettstein509%solnet.ch@localhost>
+ Reviewed-By: Ran Benita <ran234%gmail.com@localhost>
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 9edd61b91a02bda31fc6edd2c32c553e872b6ea2
+Author: Miroslav Koškár <mk%mkoskar.com@localhost>
+Date: Fri Jan 18 20:01:01 2019 +0100
+
+ Fix invalid error report on F_Accel field
+
+ F_Accel is valid MovePtr field yet following error is reported:
+
+ > Error: Field accel is not defined for an action of type MovePtr
+ > Action definition ignored
+
+ Signed-off-by: Miroslav Koškár <mk%mkoskar.com@localhost>
+
+commit 7ffec6583ae92fe81402870eb89dea21ca34e933
+Author: Andreas Boll <andreas.boll.dev%gmail.com@localhost>
+Date: Mon Feb 11 21:44:51 2019 +0100
+
+ configure: Remove unused AC_SUBST([REQUIRED_MODULES])
+
+ v2: Add square brackets back.
+
+ Signed-off-by: Andreas Boll <andreas.boll.dev%gmail.com@localhost>
+
+commit 4683410b6b072bd55dbdc661c76a5ba30bae608e
+Author: Andreas Boll <andreas.boll.dev%gmail.com@localhost>
+Date: Mon Feb 11 21:31:19 2019 +0100
+
+ pkgconfig: Remove unneeded Requires.private
+
+ Fixes "pkg-config --exists xkbcomp" without installed pkg-config files
+ for x11, xkbfile, and xproto >= 7.0.17.
+
+ xkbcomp works fine without those pkg-config files.
+
+ https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=913359
+
+ Signed-off-by: Andreas Boll <andreas.boll.dev%gmail.com@localhost>
+
+commit 1fdbacbe34742328b2a95742982b6017f60a1342
+Author: Adam Jackson <ajax%redhat.com@localhost>
+Date: Wed Oct 17 11:44:37 2018 -0400
+
Home |
Main Index |
Thread Index |
Old Index