[ANNOUNCE] xkbcomp 1.4.7

Alan Coopersmith alan.coopersmith at oracle.com
Sat Feb 3 22:35:56 UTC 2024


The xkbcomp utility compiles an XKB keyboard description for the X server
to be able use it.

This release mainly focuses on code cleanup and improving maintainability
and making static analysis work better on this code base.  It also fixes
a bug that could cause build failures with gcc when the -ftracer option
was used.

Since this release was generated using the new GNU autoconf 2.72, this
also adds a --enable-year2038 configure flag which may allow xkbcomp to
work with files whose timestamps are later than January 19, 2038 on
32-bit platforms, but this has not been tested.

Alan Coopersmith (34):
      gitlab CI: stop requiring Signed-off-by in commits
      Eliminate 20 -Wimplicit-fallthrough warnings
      Remove register keyword from variable declarations
      Variable scope reductions
      Use C99 struct initializers
      Delete unused uTmpAlloc/uTmpFree wrappers around alloca()
      Replace uAlloc() and uTypedAlloc() with direct malloc() calls
      Replace uCalloc() and uTypedCalloc() with direct calloc() calls
      Replace uTypedRealloc() with direct reallocarray() calls
      Replace uTypedRecalloc() with direct recallocarray() calls
      Replace uFree() with direct free() calls
      Remove unnecessary checks for NULL pointers before calling free()
      Replace Opaque with direct usage of void *
      Remove unnecessary casts from memcpy() calls
      Remove unnecessary casts from bzero() calls
      Replace malloc()+bzero() pairs with calloc() calls
      Fix 106 missing-field-initializers warnings in misc.c
      Replace && with & for bitwise comparison
      Use asprintf() if the platform supports it
      Handle -Wstringop-truncation warning in HandleOverlayDef()
      Remove #ifdef sgi sections
      FindKeypadVMod: check xkb is not NULL before dereference, not after
      XkbAddDirectoryToPath: don't leak existing paths on realloc() failure
      Mark more functions and variables static
      Remove unused "no indent" (NOI) debug functions
      Only build debug infrastructure if DEBUG is defined
      Stop building more unused functions
      Use unsigned ints when shifting to create bitmasks
      Mark more pointers as const
      Replace calloc(strlen())+strcpy() pairs with strdup() calls
      xkbcomp.h: include config.h before any other headers
      configure: raise minimum autoconf requirement to 2.70
      GenerateListing: close outFile before returning
      xkbcomp 1.4.7

Leandro Nini (1):
      Avoid possibly dereferencing null pointer

git tag: xkbcomp-1.4.7

https://xorg.freedesktop.org/archive/individual/app/xkbcomp-1.4.7.tar.gz
SHA256: 00cecc490fcbe2f789cf13c408c459673c2c33ab758d802677321cffcda35373  xkbcomp-1.4.7.tar.gz
SHA512: c24d2d54897137534e3f4748da243fbaa9167a5e45c977605c24a7dd1fc9f8491dccef76c04555eebc79c264d0500a576e64f9c8f86284fb4bdd53c07e030198  xkbcomp-1.4.7.tar.gz
PGP:  https://xorg.freedesktop.org/archive/individual/app/xkbcomp-1.4.7.tar.gz.sig

https://xorg.freedesktop.org/archive/individual/app/xkbcomp-1.4.7.tar.xz
SHA256: 0a288114e5f44e31987042c79aecff1ffad53a8154b8ec971c24a69a80f81f77  xkbcomp-1.4.7.tar.xz
SHA512: 6f468dce9d2499ab1022f4288d46f66af149dac0a161fb5b9dc0c262bc70c2c3d254db2c6fb5df1e2793c822e2d55c6da5fd037ce523a555b7c3de23e35c49ef  xkbcomp-1.4.7.tar.xz
PGP:  https://xorg.freedesktop.org/archive/individual/app/xkbcomp-1.4.7.tar.xz.sig


-- 
        -Alan Coopersmith-                 alan.coopersmith at oracle.com
         Oracle Solaris Engineering - https://blogs.oracle.com/solaris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.x.org/archives/xorg/attachments/20240203/e3222e0f/attachment.sig>


More information about the xorg mailing list