Source-Changes-HG archive

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

[xsrc/trunk]: xsrc/external/mit/libXft/dist initial import of libXft-2.3.5



details:   https://anonhg.NetBSD.org/xsrc/rev/2ff65591a487
branches:  trunk
changeset: 7153:2ff65591a487
user:      mrg <mrg%NetBSD.org@localhost>
date:      Fri Sep 09 23:17:48 2022 +0000

description:
initial import of libXft-2.3.5

diffstat:

 external/mit/libXft/dist/ChangeLog                        |    499 +-
 external/mit/libXft/dist/Makefile.in                      |     38 +-
 external/mit/libXft/dist/NEWS                             |     10 +-
 external/mit/libXft/dist/README.md                        |      2 +-
 external/mit/libXft/dist/aclocal.m4                       |   6667 +++---
 external/mit/libXft/dist/compile                          |      6 +-
 external/mit/libXft/dist/config.guess                     |   1490 +-
 external/mit/libXft/dist/config.h.in                      |     10 +-
 external/mit/libXft/dist/config.sub                       |   2896 +-
 external/mit/libXft/dist/configure                        |  11875 +++++------
 external/mit/libXft/dist/configure.ac                     |      4 +-
 external/mit/libXft/dist/depcomp                          |      2 +-
 external/mit/libXft/dist/include/X11/Xft/Xft.h            |     31 +-
 external/mit/libXft/dist/include/X11/Xft/Xft.h.in         |     29 +-
 external/mit/libXft/dist/install-sh                       |    157 +-
 external/mit/libXft/dist/ltmain.sh                        |    254 +-
 external/mit/libXft/dist/man/Makefile.am                  |     94 +-
 external/mit/libXft/dist/man/Makefile.in                  |    101 +-
 external/mit/libXft/dist/man/Xft.man                      |   1747 +-
 external/mit/libXft/dist/man/XftCharExists.man            |      1 +
 external/mit/libXft/dist/man/XftCharFontSpecRender.man    |      1 +
 external/mit/libXft/dist/man/XftCharIndex.man             |      1 +
 external/mit/libXft/dist/man/XftCharSpecRender.man        |      1 +
 external/mit/libXft/dist/man/XftColorAllocName.man        |      1 +
 external/mit/libXft/dist/man/XftColorAllocValue.man       |      1 +
 external/mit/libXft/dist/man/XftColorFree.man             |      1 +
 external/mit/libXft/dist/man/XftDefaultHasRender.man      |      1 +
 external/mit/libXft/dist/man/XftDefaultSet.man            |      1 +
 external/mit/libXft/dist/man/XftDefaultSubstitute.man     |      1 +
 external/mit/libXft/dist/man/XftDrawChange.man            |      1 +
 external/mit/libXft/dist/man/XftDrawCharFontSpec.man      |      1 +
 external/mit/libXft/dist/man/XftDrawCharSpec.man          |      1 +
 external/mit/libXft/dist/man/XftDrawColormap.man          |      1 +
 external/mit/libXft/dist/man/XftDrawCreate.man            |      1 +
 external/mit/libXft/dist/man/XftDrawCreateAlpha.man       |      1 +
 external/mit/libXft/dist/man/XftDrawCreateBitmap.man      |      1 +
 external/mit/libXft/dist/man/XftDrawDestroy.man           |      1 +
 external/mit/libXft/dist/man/XftDrawDisplay.man           |      1 +
 external/mit/libXft/dist/man/XftDrawDrawable.man          |      1 +
 external/mit/libXft/dist/man/XftDrawGlyphFontSpec.man     |      1 +
 external/mit/libXft/dist/man/XftDrawGlyphSpec.man         |      1 +
 external/mit/libXft/dist/man/XftDrawGlyphs.man            |      1 +
 external/mit/libXft/dist/man/XftDrawPicture.man           |      1 +
 external/mit/libXft/dist/man/XftDrawRect.man              |      1 +
 external/mit/libXft/dist/man/XftDrawSetClip.man           |      1 +
 external/mit/libXft/dist/man/XftDrawSetClipRectangles.man |      1 +
 external/mit/libXft/dist/man/XftDrawSetSubwindowMode.man  |      1 +
 external/mit/libXft/dist/man/XftDrawSrcPicture.man        |      1 +
 external/mit/libXft/dist/man/XftDrawString16.man          |      1 +
 external/mit/libXft/dist/man/XftDrawString32.man          |      1 +
 external/mit/libXft/dist/man/XftDrawString8.man           |      1 +
 external/mit/libXft/dist/man/XftDrawStringUtf16.man       |      1 +
 external/mit/libXft/dist/man/XftDrawStringUtf8.man        |      1 +
 external/mit/libXft/dist/man/XftDrawVisual.man            |      1 +
 external/mit/libXft/dist/man/XftFontCheckGlyph.man        |      1 +
 external/mit/libXft/dist/man/XftFontClose.man             |      1 +
 external/mit/libXft/dist/man/XftFontCopy.man              |      1 +
 external/mit/libXft/dist/man/XftFontInfoCreate.man        |      1 +
 external/mit/libXft/dist/man/XftFontInfoDestroy.man       |      1 +
 external/mit/libXft/dist/man/XftFontInfoEqual.man         |      1 +
 external/mit/libXft/dist/man/XftFontInfoHash.man          |      1 +
 external/mit/libXft/dist/man/XftFontLoadGlyphs.man        |      1 +
 external/mit/libXft/dist/man/XftFontMatch.man             |      1 +
 external/mit/libXft/dist/man/XftFontOpen.man              |      1 +
 external/mit/libXft/dist/man/XftFontOpenInfo.man          |      1 +
 external/mit/libXft/dist/man/XftFontOpenName.man          |      1 +
 external/mit/libXft/dist/man/XftFontOpenPattern.man       |      1 +
 external/mit/libXft/dist/man/XftFontOpenXlfd.man          |      1 +
 external/mit/libXft/dist/man/XftFontUnloadGlyphs.man      |      1 +
 external/mit/libXft/dist/man/XftGetVersion.man            |      1 +
 external/mit/libXft/dist/man/XftGlyphExtents.man          |      1 +
 external/mit/libXft/dist/man/XftGlyphFontSpecRender.man   |      1 +
 external/mit/libXft/dist/man/XftGlyphRender.man           |      1 +
 external/mit/libXft/dist/man/XftGlyphSpecRender.man       |      1 +
 external/mit/libXft/dist/man/XftInit.man                  |      1 +
 external/mit/libXft/dist/man/XftInitFtLibrary.man         |      1 +
 external/mit/libXft/dist/man/XftListFonts.man             |      1 +
 external/mit/libXft/dist/man/XftLockFace.man              |      1 +
 external/mit/libXft/dist/man/XftNameParse.man             |      1 +
 external/mit/libXft/dist/man/XftNameUnparse.man           |      1 +
 external/mit/libXft/dist/man/XftTextExtents16.man         |      1 +
 external/mit/libXft/dist/man/XftTextExtents32.man         |      1 +
 external/mit/libXft/dist/man/XftTextExtents8.man          |      1 +
 external/mit/libXft/dist/man/XftTextExtentsUtf16.man      |      1 +
 external/mit/libXft/dist/man/XftTextExtentsUtf8.man       |      1 +
 external/mit/libXft/dist/man/XftTextRender16.man          |      1 +
 external/mit/libXft/dist/man/XftTextRender16BE.man        |      1 +
 external/mit/libXft/dist/man/XftTextRender16LE.man        |      1 +
 external/mit/libXft/dist/man/XftTextRender32.man          |      1 +
 external/mit/libXft/dist/man/XftTextRender32BE.man        |      1 +
 external/mit/libXft/dist/man/XftTextRender32LE.man        |      1 +
 external/mit/libXft/dist/man/XftTextRender8.man           |      1 +
 external/mit/libXft/dist/man/XftTextRenderUtf16.man       |      1 +
 external/mit/libXft/dist/man/XftTextRenderUtf8.man        |      1 +
 external/mit/libXft/dist/man/XftUnlockFace.man            |      1 +
 external/mit/libXft/dist/man/XftXlfdParse.man             |      1 +
 external/mit/libXft/dist/missing                          |      2 +-
 external/mit/libXft/dist/src/Makefile.in                  |     11 +-
 external/mit/libXft/dist/src/xftcolor.c                   |      8 +-
 external/mit/libXft/dist/src/xftcore.c                    |     44 +-
 external/mit/libXft/dist/src/xftdraw.c                    |     44 +-
 external/mit/libXft/dist/src/xftextent.c                  |     25 +-
 external/mit/libXft/dist/src/xftfont.c                    |      2 +-
 external/mit/libXft/dist/src/xftfreetype.c                |    111 +-
 external/mit/libXft/dist/src/xftinit.c                    |     45 +-
 external/mit/libXft/dist/src/xftint.h                     |    111 +-
 external/mit/libXft/dist/src/xftlist.c                    |      6 +-
 external/mit/libXft/dist/src/xftname.c                    |      6 +-
 external/mit/libXft/dist/src/xftrender.c                  |    289 +-
 external/mit/libXft/dist/src/xftstr.c                     |      2 +-
 external/mit/libXft/dist/src/xftxlfd.c                    |     10 +-
 111 files changed, 13799 insertions(+), 12906 deletions(-)

diffs (truncated from 35154 to 300 lines):

diff -r 8081e4ab95df -r 2ff65591a487 external/mit/libXft/dist/ChangeLog
--- a/external/mit/libXft/dist/ChangeLog        Fri Sep 09 06:58:24 2022 +0000
+++ b/external/mit/libXft/dist/ChangeLog        Fri Sep 09 23:17:48 2022 +0000
@@ -1,3 +1,496 @@
+commit c6309d4c8fcb5f4879cc25cf81b649f5eb665413
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Mon Sep 5 15:23:18 2022 -0400
+
+    libXft 2.3.5
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit 4356b583f8c23575a9ac25d49e7d224930107ef5
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Sat Jul 9 12:25:28 2022 -0400
+
+    update copyright notice
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit 1f610967afc221b296036849d0c17aea495ab50c
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Sat Jul 9 12:23:57 2022 -0400
+
+    add a null-pointer check
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit 16b87600d545b7c0e8f4b6629f553eb235f19f0c
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Sat Jul 9 09:58:58 2022 -0400
+
+    fix new gcc warnings
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit a87be5ae94148f163a7b009df3d41a26a478d800
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Sat Jul 9 09:28:29 2022 -0400
+
+    build-fix
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit 3ca7a7c375a8c022c068e2534c5a6861e547eaef
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Sat Jul 9 09:04:18 2022 -0400
+
+    merge changes by Christian Werner
+    
+    see note in libXft merge-request #1 at #note_1222314
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit c53a1bc27c11e0c3cdf54e2beffd6cc220703a0b
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Mon May 30 20:11:14 2022 -0400
+
+    cleanup new compiler warnings
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit 68c6a862409028d9b62ca601df02f345d60f969e
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Mon May 30 18:30:55 2022 -0400
+
+    build-fix for c89
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit 6a08279ee80dbd1a226592d7f18c862c2e4a7d3a
+Author: Maxime Coste <mawww%kakoune.org@localhost>
+Date:   Tue Oct 22 22:46:49 2019 +1100
+
+    Add support for BGRA glyphs display and scaling
+    
+    Display is done using an XRender Picture, as XRender
+    glyphs are incompatible with BGRA rendering due to
+    their use of the glyph bitmap as a mask.
+    
+    Scaling is done by averaging all relevant pixel, which gives
+    much better result than nearest pixel sampling while staying
+    simple enough and not too computationally expensive.
+    
+    This enables color emoji rendering support.
+    
+    Fixes: #6
+    
+    Signed-off-by: Maxime Coste <mawww%kakoune.org@localhost>
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit 2cbb9597e0b10d87fa9fc506910f69b9199320f0
+Author: Maxime Coste <mawww%kakoune.org@localhost>
+Date:   Thu Jan 28 20:05:13 2021 +1100
+
+    Introduce a _XftCompositeText helper function
+    
+    Dispatch to XRenderCompositeText{8,16,32} based off the given width.
+    
+    Signed-off-by: Maxime Coste <mawww%kakoune.org@localhost>
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit cac2fd528dd0ba9ed2308f6dda4598993c51cf64
+Author: Maxime Coste <mawww%kakoune.org@localhost>
+Date:   Thu Jan 28 19:59:10 2021 +1100
+
+    Introduce a _XftCompositeString helper function
+    
+    Dispatch to XRenderCompositeString{8,16,32} based off the given width.
+    
+    Signed-off-by: Maxime Coste <mawww%kakoune.org@localhost>
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit 10b53d1fa37615e81d1e3b6e4d2d2e25e4342c15
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Tue Jul 5 20:13:42 2022 -0400
+
+    errata (cppcheck, clang --analyze, manpage credit)
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit 6fc03611ed2b103b6b5a2f0c6b610087879325e4
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Tue Jul 5 04:14:07 2022 -0400
+
+    document new features for glyph memory-tracking
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit 36a8474813aba2be263f9de88ad9adfe85c0daf1
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Mon Jul 4 20:08:58 2022 -0400
+
+    improve glyph management by relinking to unload least-recently used glyphs
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit 01d44d70e9bd770ac365c88e09c5e432d2e517ad
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Mon Jul 4 18:31:24 2022 -0400
+
+    when tracking glyph memory usage, unload the oldest glyph rather than randomly
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit 698e205b657f9192df07962e7823a2eae80e1c17
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Mon Jul 4 18:10:32 2022 -0400
+
+    cppcheck/gcc-stricter warnings about printf-formats and operator precedence
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit 949295d665b030eb451fa590940293ada84c9bfe
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Mon Jul 4 15:30:24 2022 -0400
+
+    fix delinkage of last glyph in font, improve debug-trace
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit 058d7237068b2a698098c68c171bbbfd04a51b48
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Mon Jul 4 07:56:46 2022 -0400
+
+    add asserts (to help with debugging), update copyright notices
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit 318c6984baba0ea02147dc72a97e331234b6baf7
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Mon Jul 4 07:41:12 2022 -0400
+
+    refactor _XftFontUncacheGlyph, separate the two types of loop for readability
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit 33c1e1e3a5c08b690e145cc193d52fc13869af7b
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Sun Jul 3 20:53:23 2022 -0400
+
+    validate linked-list updates with _XftValidateGlyphUsage
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit 114db90eac2c0f32f6b662d916a5af6a8990bf36
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Fri Jul 1 04:25:10 2022 -0400
+
+    add option for tracking glyph memory-usage on a linked list
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit 442bbb084a1316aa6b25b29e17889bc71c1e4235
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Mon Jun 27 03:54:58 2022 -0400
+
+    add "trackmemusage" property to use in improved _XftFontUncacheGlyph
+    
+    The linear search used for randomly selecting a glyph to discard is
+    inefficient.  This commit provides for a doubly-linked list which
+    could be maintained by the library to quickly discard the least
+    recently used glyph.
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit d4a554c9795b109085ec31eedacba6532c18d802
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Fri Jun 24 20:26:31 2022 -0400
+
+    reduce clutter with macros for allocating arrays
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit 42c6616499e6ca193a0b764576a6ed8650dd3d7b
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Tue Jun 21 20:29:05 2022 -0400
+
+    add debugging trace for XftDefaultSet()
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit 908a5e43bc37ea3b80985683369a27b4e607aecf
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Mon Jun 13 15:59:12 2022 -0400
+
+    add section of functions managing XftColor
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit 5f809521ad2d1080710670602619582de8fd6b0c
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Sat Jun 11 10:55:40 2022 -0400
+
+    add a section on the XFT_DEBUG environment variable
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit 5a1768ac1071bd05a731d9e744dbf8bb20ccf2b0
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Sat Jun 11 10:24:26 2022 -0400
+
+    add a table of the "families" of functions
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit 936bbafb612c5fb2ac838e94fb4e9a92da1d600c
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Sat Jun 11 09:50:28 2022 -0400
+
+    document XftGlyphFontSpecRender() and related functions.
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit c76339229144ab6342315a27ee67a7ade1f43464
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Fri Jun 10 10:08:10 2022 -0400
+
+    reduce clutter for external data-types by documenting them one time
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit 58b1fed139c6dfd1a20a8b6090181f43aaffcc59
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Fri Jun 10 09:27:36 2022 -0400
+
+    document the clipping-functions
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit 73e1c4dc886079e87b0aaa6e3b6fa468b9ba2af2
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Wed Jun 8 20:11:25 2022 -0400
+
+    add section on manipulating font data
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit 5ac7ca85151515f5f03f5c0389f96f202e9cd6bb
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Wed Jun 8 04:27:48 2022 -0400
+
+    add section on manipulating font patterns
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit 57892d1b735dcb5e019790b271df79d7a4b89e61
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Wed Jun 8 04:01:50 2022 -0400
+
+    remove remaining internal prototypes for obsolete xftcompat.c
+    
+    Signed-off-by: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+
+commit 81944f3796dc1cc1a9529233cec3f3b2c2d546b3
+Author: Thomas E. Dickey <dickey%invisible-island.net@localhost>
+Date:   Wed Jun 8 03:52:47 2022 -0400
+
+    move prototype for XftNameUnparse to Xft.h
+    



Home | Main Index | Thread Index | Old Index