Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/xsrc/rev/d949eb0b7212
branches:  trunk
changeset: 7068:d949eb0b7212
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Jul 12 01:22:04 2022 +0000

description:
initial import of libXcursor-1.2.1

diffstat:

 external/mit/libXcursor/dist/COPYING                             |     2 +-
 external/mit/libXcursor/dist/ChangeLog                           |   375 +++-
 external/mit/libXcursor/dist/Makefile.in                         |     6 +-
 external/mit/libXcursor/dist/README.md                           |     2 +-
 external/mit/libXcursor/dist/configure                           |    22 +-
 external/mit/libXcursor/dist/configure.ac                        |     6 +-
 external/mit/libXcursor/dist/include/X11/Xcursor/Xcursor.h       |     5 +-
 external/mit/libXcursor/dist/include/X11/Xcursor/Xcursor.h.in    |     3 +-
 external/mit/libXcursor/dist/man/Makefile.am                     |    70 +-
 external/mit/libXcursor/dist/man/Makefile.in                     |    70 +-
 external/mit/libXcursor/dist/man/Xcursor.man                     |  1081 +++++++--
 external/mit/libXcursor/dist/man/XcursorAnimateCreate.man        |     1 +
 external/mit/libXcursor/dist/man/XcursorAnimateDestroy.man       |     1 +
 external/mit/libXcursor/dist/man/XcursorAnimateNext.man          |     1 +
 external/mit/libXcursor/dist/man/XcursorCommentCreate.man        |     1 +
 external/mit/libXcursor/dist/man/XcursorCommentDestroy.man       |     1 +
 external/mit/libXcursor/dist/man/XcursorCommentsCreate.man       |     1 +
 external/mit/libXcursor/dist/man/XcursorCommentsDestroy.man      |     1 +
 external/mit/libXcursor/dist/man/XcursorFileLoad.man             |     1 +
 external/mit/libXcursor/dist/man/XcursorFileLoadAllImages.man    |     1 +
 external/mit/libXcursor/dist/man/XcursorFileLoadImage.man        |     1 +
 external/mit/libXcursor/dist/man/XcursorFileLoadImages.man       |     1 +
 external/mit/libXcursor/dist/man/XcursorFileSave.man             |     1 +
 external/mit/libXcursor/dist/man/XcursorFileSaveImages.man       |     1 +
 external/mit/libXcursor/dist/man/XcursorFilenameLoadCursors.man  |     1 +
 external/mit/libXcursor/dist/man/XcursorGetThemeCore.man         |     1 +
 external/mit/libXcursor/dist/man/XcursorImageHash.man            |     1 +
 external/mit/libXcursor/dist/man/XcursorImageLoadCursor.man      |     1 +
 external/mit/libXcursor/dist/man/XcursorImagesLoadCursor.man     |     1 +
 external/mit/libXcursor/dist/man/XcursorImagesLoadCursors.man    |     1 +
 external/mit/libXcursor/dist/man/XcursorImagesSetName.man        |     1 +
 external/mit/libXcursor/dist/man/XcursorLibraryPath.man          |     1 +
 external/mit/libXcursor/dist/man/XcursorLibraryShape.man         |     1 +
 external/mit/libXcursor/dist/man/XcursorNoticeCreateBitmap.man   |     1 +
 external/mit/libXcursor/dist/man/XcursorNoticePutBitmap.man      |     1 +
 external/mit/libXcursor/dist/man/XcursorSetThemeCore.man         |     1 +
 external/mit/libXcursor/dist/man/XcursorSupportsAnim.man         |     1 +
 external/mit/libXcursor/dist/man/XcursorTryShapeBitmapCursor.man |     1 +
 external/mit/libXcursor/dist/man/XcursorTryShapeCursor.man       |     1 +
 external/mit/libXcursor/dist/src/cursor.c                        |    87 +-
 external/mit/libXcursor/dist/src/display.c                       |    10 +-
 external/mit/libXcursor/dist/src/file.c                          |    80 +-
 external/mit/libXcursor/dist/src/library.c                       |   155 +-
 external/mit/libXcursor/dist/src/xlib.c                          |    10 +-
 44 files changed, 1513 insertions(+), 499 deletions(-)

diffs (truncated from 3097 to 300 lines):

diff -r 96619395afd3 -r d949eb0b7212 external/mit/libXcursor/dist/COPYING
--- a/external/mit/libXcursor/dist/COPYING      Tue Jul 12 01:13:15 2022 +0000
+++ b/external/mit/libXcursor/dist/COPYING      Tue Jul 12 01:22:04 2022 +0000
@@ -1,4 +1,4 @@
-Copyright © 2002 Keith Packard
+Copyright © 2002 Keith Packard
 
 Permission to use, copy, modify, distribute, and sell this software and its
 documentation for any purpose is hereby granted without fee, provided that
diff -r 96619395afd3 -r d949eb0b7212 external/mit/libXcursor/dist/ChangeLog
--- a/external/mit/libXcursor/dist/ChangeLog    Tue Jul 12 01:13:15 2022 +0000
+++ b/external/mit/libXcursor/dist/ChangeLog    Tue Jul 12 01:22:04 2022 +0000
@@ -1,3 +1,372 @@
+commit 27adb16027fa99d83818a0ed9f6623cb03f0c574
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Apr 3 09:55:44 2022 -0700
+
+    libXcursor 1.2.1
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit e864ad83068016c121962a0bbe8dde26755bf26f
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Apr 3 09:43:29 2022 -0700
+
+    gitlab CI: add a basic build test
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit f0d8a59186d415101040e7761b6cc6adfce36c5d
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Apr 3 09:22:14 2022 -0700
+
+    Build xz tarballs instead of bzip2
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit d223fce4c7b2792ccc32e4b68090ac2d92d49f09
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Apr 3 09:21:29 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 66accad188420c40f0d62b409bfd2af605bb6f05
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Apr 3 09:19:14 2022 -0700
+
+    Convert COPYING from ISO-8859-1 to UTF-8
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 801925839d26e7c8d942c5e02c4897652ead26c8
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Thu May 6 20:10:41 2021 -0400
+
+    more cppcheck-style fixes
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit f807ac9c786714ef4e86ad7edfa60f92baf0b4a6
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Mon May 3 20:25:43 2021 -0400
+
+    cppcheck style-fixes
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit 13ca987eafed426d5347bafdf274ad59e2641650
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Tue May 4 04:20:14 2021 -0400
+
+    mention "Inherits=" lists
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit 6edf1caf6fe6826b3727ab19ba9e4d7ad163a48e
+Author: Tobias Stoeckmann <tobias%stoeckmann.org@localhost>
+Date:   Tue May 4 18:30:53 2021 +0200
+
+    fix XcursorTheme loop regression
+    
+    Handle themes with multiple inherit entries. Although the previous
+    commit keeped track of inherited themes, it only handled multiple theme
+    entries on the highest level.
+    
+    This fix unconditionally checks if the next upper level contains a line.
+    If it does, it processes contained themes (i.e. the current theme had an
+    inherited entry in its index file).
+    
+    If the upper level has no more themes, it goes down a level and
+    processes the next theme there. If no next theme exists, it moves down
+    another level and so on until it reaches level 0, i.e. the initially
+    supplied theme.
+    
+    The lowest level (d = 0) is treated specially because we must not modify
+    the supplied theme, which could happen when calling _XcursorNextPath.
+    
+    Signed-off-by: Tobias Stoeckmann <tobias%stoeckmann.org@localhost>
+
+commit b47ca9858ee11bdbd08f1e31102116ff51cb6be5
+Author: Tobias Stoeckmann <tobias%stoeckmann.org@localhost>
+Date:   Sun May 2 16:00:25 2021 +0200
+
+    Handle more theme loop situations
+    
+    This is a follow up for commit f64a8cc1a65dcad4294e2988b402a34175019663
+    resulting from https://bugs.freedesktop.org/show_bug.cgi?id=3603
+    
+    The current loop detection only works for direct self references but not
+    for transitive ones. Limiting the inheritance depth fixes this issue as
+    suggested by Keith Packard.
+    
+    I avoided the introduction of a recursion function. Instead I modified
+    XcursorScanTheme to work iterative.
+    
+    The current recursion code adds the "Inherits=..." line to heap and has
+    an iteration variable to go through all themes listed in that line per
+    recursion. This is covered with the newly introduced XcursorInherit
+    struct with its fields "line" and "theme". Since "theme" points into
+    "line", only "line" has to be freed eventually.
+    
+    If a fixed inheritage limit of 32 is reached, the code stops processing
+    and returns NULL. It also returns NULL if it detects the initial theme
+    in one of the inheritages to break the loop early on.
+    
+    Last but not least I removed the printf statement. The only situation in
+    which libXcursor writes to stdout is when it is explicitly requested.
+    
+    Signed-off-by: Tobias Stoeckmann <tobias%stoeckmann.org@localhost>
+
+commit 403bb32d5fb0dbb9e83ec7a5743b2fee75445ea7
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Fri Mar 19 17:08:42 2021 -0400
+
+    eliminate special escaping for "/*" which produces look-alike Unicode for
+    newer groff (making select/paste useless), but is not necessary with
+    groff, mandoc or Solaris 10 nroff.
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit 1ab5ffa9e394bf51f90893210fc6f1e3849891ab
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Thu Mar 18 10:29:49 2021 -0400
+
+    fix a typo and a style issue
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit 9898afadfbe000159cbaaa0c4dc11c1fb09bde5b
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Wed Mar 17 19:07:19 2021 -0400
+
+    update copyright notice
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit d64dda62def8318ddf613918f6b7a652aafb1471
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Wed Mar 17 18:52:16 2021 -0400
+
+    fix raggedy prototypes and structure declarations using tabstops in appropriate macros
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit 8560016436dc521b373c5bb25860e009fa4e291d
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Tue Mar 16 20:36:15 2021 -0400
+
+    document the API called from libX11
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit bacd41c0c068c5f55b635a4887b4185ad2e3ea10
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Tue Mar 16 19:34:51 2021 -0400
+
+    document the cursor-comments functions
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit 821254578e15440d2177fff0b61f73590ae29869
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Tue Mar 16 18:21:47 2021 -0400
+
+    document the animation support functions
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit 2695829868243d41db5b47c9269423caca8dd1b4
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Tue Mar 16 18:00:22 2021 -0400
+
+    improve explanation of Xcursor's search algorithm
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit 80cd802e0c2bf3af730dc7f852cb80c713e9db6c
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Tue Mar 16 16:40:03 2021 -0400
+
+    start on the animated cursors; fixup whitespace
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit 36650c9455428f007f4feb682ecbc9385e31ce71
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Tue Mar 16 15:52:39 2021 -0400
+
+    update ".so" links, and fix a special case for "const char *" in parsing function-names
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit 23a0faa12948bfd9cc18ecb95025007c9261c2dd
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Tue Mar 16 04:25:38 2021 -0400
+
+    document the cursor-load functions
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit 5b15abee96488c4771228ac6020c67c0d59d5100
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Tue Mar 16 03:58:23 2021 -0400
+
+    add see-also section
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit 8ca8885d3153d6091e7c7b0a8c9510cd487cd583
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Mon Mar 15 20:24:39 2021 -0400
+
+    document the library-attributes
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit 61adeda1d32b1f298551d51616286bff104fcd69
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Mon Mar 15 19:49:27 2021 -0400
+
+    document the theme_core setter/getter functions
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit f5b6dc1af2398ce2e55d0e71d91b12e6612e1f3e
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Mon Mar 15 19:32:12 2021 -0400
+
+    improve explanation for functions which load images
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit bd591012ed1521d4d6dd602f831f13bd57d6782b
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Mon Mar 15 19:00:14 2021 -0400
+
+    italicize parameter names, for readability
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit 438e798b34c7ef7c52455247cb5361eab728fe76
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Mon Mar 15 18:47:03 2021 -0400
+
+    correct a prototype
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit a383f6cc5d64715012e7c53c70a624c303103d4d
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Sun Mar 14 19:24:48 2021 -0400
+
+    further formatting fixes.  added script to create/find ".so" files which are missing
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit 1fd32263c0d11310b7d04f34f43051f802cc8ea7
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Sun Mar 14 17:18:59 2021 -0400
+
+    make the function-prototypes easier to read, by eliminating hyphenation and filling
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit 979809b752773eacba6737095b1a4174cd5cf744
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Thu Mar 11 20:17:08 2021 -0500
+
+    document the other environment variables
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit fb377b9a71dbc0a6d52d61eed4d47f99bb06d584
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Thu Mar 11 18:28:05 2021 -0500



Home | Main Index | Thread Index | Old Index