Source-Changes-HG archive

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

[xsrc/xorg]: xsrc/external/mit/libXt/dist initial import of libXt-1.3.0



details:   https://anonhg.NetBSD.org/xsrc/rev/d6a5de032ad6
branches:  xorg
changeset: 7531:d6a5de032ad6
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Jun 19 06:19:37 2023 +0000

description:
initial import of libXt-1.3.0

diffstat:

 external/mit/libXt/dist/COPYING                          |      4 +-
 external/mit/libXt/dist/ChangeLog                        |    415 +-
 external/mit/libXt/dist/Makefile.in                      |     25 +-
 external/mit/libXt/dist/README.md                        |      2 +-
 external/mit/libXt/dist/aclocal.m4                       |   2389 +-
 external/mit/libXt/dist/compile                          |      2 +-
 external/mit/libXt/dist/config.guess                     |   1210 +-
 external/mit/libXt/dist/config.h.in                      |    111 +-
 external/mit/libXt/dist/config.sub                       |    688 +-
 external/mit/libXt/dist/configure                        |  16702 ++++++------
 external/mit/libXt/dist/configure.ac                     |     53 +-
 external/mit/libXt/dist/depcomp                          |      2 +-
 external/mit/libXt/dist/include/Makefile.in              |     12 +-
 external/mit/libXt/dist/include/X11/CallbackI.h          |      6 +-
 external/mit/libXt/dist/include/X11/Intrinsic.h          |     46 +-
 external/mit/libXt/dist/include/X11/IntrinsicP.h         |     13 +-
 external/mit/libXt/dist/include/X11/ThreadsI.h           |      2 +-
 external/mit/libXt/dist/include/X11/Xtos.h               |      6 +-
 external/mit/libXt/dist/install-sh                       |    144 +-
 external/mit/libXt/dist/ltmain.sh                        |    942 +-
 external/mit/libXt/dist/m4/libtool.m4                    |    255 +-
 external/mit/libXt/dist/m4/ltoptions.m4                  |      4 +-
 external/mit/libXt/dist/m4/ltsugar.m4                    |      2 +-
 external/mit/libXt/dist/m4/ltversion.m4                  |     13 +-
 external/mit/libXt/dist/m4/lt~obsolete.m4                |      4 +-
 external/mit/libXt/dist/man/Makefile.in                  |     10 +-
 external/mit/libXt/dist/man/XtAllocateGC.man             |      4 +-
 external/mit/libXt/dist/man/XtAppError.man               |      4 +-
 external/mit/libXt/dist/man/XtAppErrorMsg.man            |      4 +-
 external/mit/libXt/dist/man/XtAppInitialize.man          |      2 +-
 external/mit/libXt/dist/man/XtAppSetTypeConverter.man    |      2 +-
 external/mit/libXt/dist/man/XtError.man                  |     12 +-
 external/mit/libXt/dist/man/XtErrorMsg.man               |     12 +-
 external/mit/libXt/dist/man/XtGetErrorDatabase.man       |      4 +-
 external/mit/libXt/dist/man/XtGetGC.man                  |      4 +-
 external/mit/libXt/dist/man/XtGetSelectionTimeout.man    |      4 +-
 external/mit/libXt/dist/man/XtInsertEventTypeHandler.man |      2 +-
 external/mit/libXt/dist/man/XtMalloc.man                 |     25 +-
 external/mit/libXt/dist/man/XtOpenApplication.man        |      2 +-
 external/mit/libXt/dist/missing                          |      2 +-
 external/mit/libXt/dist/specs/CH09.xml                   |      8 +-
 external/mit/libXt/dist/specs/Makefile.in                |     10 +-
 external/mit/libXt/dist/specs/appB.xml                   |      6 +-
 external/mit/libXt/dist/specs/appC.xml                   |      2 +-
 external/mit/libXt/dist/src/ActionHook.c                 |      2 +-
 external/mit/libXt/dist/src/Alloc.c                      |     58 +-
 external/mit/libXt/dist/src/Callback.c                   |      6 +-
 external/mit/libXt/dist/src/ClickTime.c                  |      2 +-
 external/mit/libXt/dist/src/Composite.c                  |      8 +-
 external/mit/libXt/dist/src/Constraint.c                 |      2 +-
 external/mit/libXt/dist/src/Convert.c                    |     12 +-
 external/mit/libXt/dist/src/Converters.c                 |     12 +-
 external/mit/libXt/dist/src/Core.c                       |      2 +-
 external/mit/libXt/dist/src/Create.c                     |     25 +-
 external/mit/libXt/dist/src/Destroy.c                    |     19 +-
 external/mit/libXt/dist/src/Display.c                    |     34 +-
 external/mit/libXt/dist/src/Error.c                      |      8 +-
 external/mit/libXt/dist/src/Event.c                      |     86 +-
 external/mit/libXt/dist/src/EventUtil.c                  |      9 +-
 external/mit/libXt/dist/src/Functions.c                  |      2 +-
 external/mit/libXt/dist/src/GCManager.c                  |      8 +-
 external/mit/libXt/dist/src/Geometry.c                   |      3 +-
 external/mit/libXt/dist/src/GetActKey.c                  |      2 +-
 external/mit/libXt/dist/src/GetResList.c                 |     20 +-
 external/mit/libXt/dist/src/GetValues.c                  |     10 +-
 external/mit/libXt/dist/src/Hooks.c                      |      9 +-
 external/mit/libXt/dist/src/Initialize.c                 |     24 +-
 external/mit/libXt/dist/src/Intrinsic.c                  |     11 +-
 external/mit/libXt/dist/src/Keyboard.c                   |     12 +-
 external/mit/libXt/dist/src/Makefile.in                  |     17 +-
 external/mit/libXt/dist/src/Manage.c                     |      7 +-
 external/mit/libXt/dist/src/NextEvent.c                  |     29 +-
 external/mit/libXt/dist/src/Object.c                     |     20 +-
 external/mit/libXt/dist/src/PassivGrab.c                 |     14 +-
 external/mit/libXt/dist/src/Popup.c                      |      2 +-
 external/mit/libXt/dist/src/ResConfig.c                  |     17 +-
 external/mit/libXt/dist/src/Resources.c                  |     40 +-
 external/mit/libXt/dist/src/Selection.c                  |     85 +-
 external/mit/libXt/dist/src/SetSens.c                    |      2 +-
 external/mit/libXt/dist/src/SetValues.c                  |     21 +-
 external/mit/libXt/dist/src/SetWMCW.c                    |      6 +-
 external/mit/libXt/dist/src/Shell.c                      |     21 +-
 external/mit/libXt/dist/src/TMaction.c                   |     29 +-
 external/mit/libXt/dist/src/TMgrab.c                     |      2 +-
 external/mit/libXt/dist/src/TMkey.c                      |     21 +-
 external/mit/libXt/dist/src/TMparse.c                    |     98 +-
 external/mit/libXt/dist/src/TMprint.c                    |      5 +-
 external/mit/libXt/dist/src/TMstate.c                    |    155 +-
 external/mit/libXt/dist/src/Threads.c                    |     11 +-
 external/mit/libXt/dist/src/VarCreate.c                  |      7 +-
 external/mit/libXt/dist/src/VarGet.c                     |      4 +-
 external/mit/libXt/dist/src/Varargs.c                    |      6 +-
 external/mit/libXt/dist/test-driver                      |     19 +-
 external/mit/libXt/dist/test/Alloc.c                     |    685 +-
 external/mit/libXt/dist/test/Converters.c                |     10 +-
 external/mit/libXt/dist/test/Event.c                     |     14 +-
 external/mit/libXt/dist/test/Makefile.am                 |      3 +-
 external/mit/libXt/dist/test/Makefile.in                 |     19 +-
 external/mit/libXt/dist/util/Makefile.in                 |     12 +-
 external/mit/libXt/dist/util/makestrs.c                  |      2 +
 external/mit/libXt/dist/xt.pc.in                         |      1 +
 101 files changed, 13945 insertions(+), 10996 deletions(-)

diffs (truncated from 35786 to 300 lines):

diff -r c6cbee97abd3 -r d6a5de032ad6 external/mit/libXt/dist/COPYING
--- a/external/mit/libXt/dist/COPYING   Mon Jun 19 06:19:34 2023 +0000
+++ b/external/mit/libXt/dist/COPYING   Mon Jun 19 06:19:37 2023 +0000
@@ -1,5 +1,5 @@
 
-Copyright © 2003,2019 Thomas E. Dickey
+Copyright © 2003,2019,2022 Thomas E. Dickey
 
 Permission is hereby granted, free of charge, to any person obtaining a copy of
 this software and associated documentation files (the "Software"), to deal in
@@ -39,7 +39,7 @@ DATA OR PROFITS, WHETHER IN AN ACTION OF
 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 PERFORMANCE OF THIS SOFTWARE.
 
-Copyright (c) 1993, 2011, Oracle and/or its affiliates. All rights reserved.
+Copyright (c) 1993, 2023, Oracle and/or its affiliates.
 
 Permission is hereby granted, free of charge, to any person obtaining a
 copy of this software and associated documentation files (the "Software"),
diff -r c6cbee97abd3 -r d6a5de032ad6 external/mit/libXt/dist/ChangeLog
--- a/external/mit/libXt/dist/ChangeLog Mon Jun 19 06:19:34 2023 +0000
+++ b/external/mit/libXt/dist/ChangeLog Mon Jun 19 06:19:37 2023 +0000
@@ -1,3 +1,408 @@
+commit 64fca6a2d7cf4fee28ca2277ca6a8b7b32aee66e
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Apr 9 13:42:31 2023 -0700
+
+    libXt 1.3.0
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit b3b0c1ad25a5d0f628eddd00113a40364d68480b
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Fri Mar 3 17:42:47 2023 -0800
+
+    Replace XtMalloc() calls with XtMallocArray()
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit b1b54c50d0e5851d72c1e7aff4057687be2e447e
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Fri Mar 3 16:23:20 2023 -0800
+
+    Replace XtRealloc() calls with XtReallocArray()
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 4ece1c842a08c11c1f84b95355801d41cd8435b1
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Fri Mar 3 14:55:19 2023 -0800
+
+    Add XtReallocArray() for overflow checking of multiplied args
+    
+    Uses reallocarray() if available, otherwise checks for overflow itself,
+    if overflow is possible (i.e. in ILP32 & ILP64 environments, but not LP64
+    with 32-bit ints).
+    
+    Includes unit tests and XtMallocArray() helper macro.
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 392eb1cd5f2bdb186f0ff7f51abc4dd05ec13709
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Fri Mar 3 13:28:18 2023 -0800
+
+    test: Add unit tests for XtMalloc, XtCalloc, & XtRealloc
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 6cc4dd4191b4b13bd85fe287b6067e287a85d1d2
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sat Mar 4 10:33:29 2023 -0800
+
+    configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL
+    
+    AC_PROG_LIBTOOL was replaced by LT_INIT in libtool 2 in 2008,
+    so it's time to rely on it.
+    
+    Clears autoconf warnings:
+    configure.ac:36: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
+    configure.ac:36: You should run autoupdate.
+    m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from...
+    configure.ac:36: the top level
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 444eb13db2f9bc89aba333057fb9eae5d12acf5d
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sat Feb 25 09:30:58 2023 -0800
+
+    Remove "All rights reserved" from Oracle copyright notices
+    
+    Oracle no longer includes this term in our copyright & license notices.
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 1736034c39682927830c0660a0b9587f19e53e4e
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Fri Feb 3 11:35:21 2023 -0800
+
+    TMstate.c: Handle -Wduplicated-branches warnings
+    
+    Gets rid of these messages from gcc:
+    
+    TMstate.c: In function ‘GetBranchHead’:
+    TMstate.c:128:12: warning: this condition has identical branches
+      [-Wduplicated-branches]
+             if (parseTree->branchHeadTblSize == 0)
+                ^
+    TMstate.c: In function ‘_XtGetQuarkIndex’:
+    TMstate.c:183:16: warning: this condition has identical branches
+      [-Wduplicated-branches]
+                 if (parseTree->quarkTblSize == 0)
+                    ^
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 358e6295fdc494f4f1ed6ab7b1618a82bcd4b0ac
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Fri Feb 3 11:09:22 2023 -0800
+
+    Add xfilesearchpath to xt.pc
+    
+    Make setting of --with-xfile-search-path available to other components,
+    without having to link with libXt.
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 5c617fc17d9da49f92823b78472a59bd98033611
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Mon Feb 6 16:24:31 2023 -0800
+
+    configure.ac: Replace HAVE_LIBRARY with AC_CHECK_LIB
+    
+    AC_CHECK_LIB was introduced in autoconf 2.0 (1994) to replace HAVE_LIBRARY
+    
+    Clears autoconf warnings of:
+    
+    configure.ac:108: warning: The macro `AC_HAVE_LIBRARY' is obsolete.
+    configure.ac:108: You should run autoupdate.
+    ./lib/autoconf/libs.m4:138: AC_HAVE_LIBRARY is expanded from...
+    configure.ac:108: the top level
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit e7b044c11190ed4deae2c2bb61ff3cc2c99170b2
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sat Dec 17 09:28:57 2022 -0800
+
+    tests: Replace g_assert() calls with g_assert_*() calls
+    
+    https://docs.gtk.org/glib/testing.html warns against using g_assert()
+    in test cases, since it is a no-op when compiling with G_DISABLE_ASSERT.
+    The replacement calls also give more detailed messages on failures.
+    
+    Raises the minimum required glib version for building unit tests
+    from 2.16 (released March 2008) to 2.40 (released March 2014) to
+    get support for g_assert_nonnull().
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 205e30739073d282d4401df57862ac3a5cf6a987
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sat Dec 17 09:12:05 2022 -0800
+
+    tests: Use XORG_MEMORY_CHECK_FLAGS from xorg-macros 1.16
+    
+    Replaces previous local copy which had gotten out of date.
+    Raises xorg-macros minimum version from 1.13 (released March 2011)
+    to 1.16 (Dec. 2011).
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 35eed89c651c87a5e9950f3033c1516358456425
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sat Dec 17 08:38:38 2022 -0800
+
+    tests: update g_test_bug_base url from bugzilla to gitlab
+    
+    Also adds a call to g_test_bug() for the one existing testcase
+    associated with a bug in a public bug tracker.
+    
+    Otherwise this is mostly a placeholder for now, as no other tests
+    call g_test_bug() yet to report what bugs they test for.
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 1aaf5d502027104ddd566090787780319f510278
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Thu Aug 11 19:02:20 2022 -0700
+
+    Use memcpy() instead of XtMemmove() when buffers are known to differ
+    
+    Most of these came from a mass XtBCopy() -> XtMemmove() substitution
+    in 1993 with a commit comment of "ANSIfication".
+    
+    But include/X11/IntrinsicI.h now defines XtMemmmove() as just
+    calling memcpy() as long as src & dst differ, so remove an
+    unnecessary check when we've just allocated a buffer, and reduce
+    the chance that someone thinks we'll actually call memmove() instead
+    of memcpy()
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 3c54e99864eb6dba0d0cde7fe0a23ed7c1f5875f
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Thu Aug 11 18:41:14 2022 -0700
+
+    Use memcpy() instead of memmove() when buffers are known not to overlap
+    
+    Most of these came from a mass bcopy() -> memmove() substitution
+    in 1993 with a commit comment of "ANSIfication".
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit bbe78f905da6e36ebe1fe520903c760107b92b78
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Jul 17 18:14:45 2022 -0700
+
+    gitlab CI: stop requiring Signed-off-by in commits
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit eb4fe3345af696ea5a08a44034a464a712a02fdd
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Jul 17 18:12:34 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 ff361fe5ff0e7e34c838d7d1399de62ee90096e7
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Jul 17 18:09:44 2022 -0700
+
+    Build xz tarballs instead of bzip2
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit bf57306493609b654167966eaad314048e649f9a
+Author: Thomas E. Dickey <dickey%his.com@localhost>
+Date:   Mon Jun 20 23:28:06 2022 +0000
+
+    update copyright-date
+
+commit cbbf610bfbef2f8a20c8a2886a8a9c1ec94d4a66
+Author: Keith Packard <keithp%keithp.com@localhost>
+Date:   Sun Jan 9 11:23:01 2022 -0800
+
+    Support buttons > 5 in translation tables [v2]
+    
+    Add support for arbitrary button numbers by replacing the table-driven
+    detail parsing for BtnDown/ButtonPress and BtnUp/ButtonRelease with a
+    custom parser that allows for an arbitrary button number (1-255) after
+    the 'Button' prefix.
+    
+    Document what this syntax looks like in the table of detail information.
+    
+    Signed-off-by: Keith Packard <keithp%keithp.com@localhost>
+
+commit 215b8ee1d3231dd34a9e8002832cd028a6728dc7
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Fri Jun 17 20:45:41 2022 -0400
+
+    cppcheck (revise IsDescendant() to fix possible null-dereference)
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit 806aefc8c6175b6252a300905a327e9d60939af7
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Fri Jun 17 20:44:12 2022 -0400
+
+    cppcheck fixes (const, null dereferencing, uninitialized, scope)
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit a80c543bb9955199619a2cb6280b89a879fd8811
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Thu Jun 16 16:06:42 2022 -0400
+
+    fixes for gcc13 warnings
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit a6685523e189c6330ba7007ecaf8f6d462b63024
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Tue Jun 14 20:25:20 2022 -0400
+
+    cppcheck and clang --analyze fixes
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit 248f980a67ac721882465c48d60039ac70d3fa82
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Tue Jun 14 04:03:18 2022 -0400
+
+    codespell-fixes


Home | Main Index | Thread Index | Old Index