Commit graph

86 commits

Author SHA1 Message Date
wiz
34bd14d1f7 libX11: update to 1.8.1.
1.8.1

This release fixes the --enable-thread-safety-constructor option to the
configure script to work as intended.  In the previous release, the changes
for this option may not have been enabled when the option was not specified
or when the --enable option was specified.

While we have enabled it by default, believing that doing so will reduce
the number of bugs users encounter running libX11 clients, in some cases
it may expose bugs in which clients had previously gotten away with calling
libX11 functions while a libX11 lock is already held, and thus now deadlock,
as discussed in https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/157 .

Alan Coopersmith (2):
      configure.ac: Fix --enable-thread-safety-constructor
      libX11 1.8.1

1.8

The highlight of this release is that we now try to initialize thread
safety ourselves, rather than hope the application does it. This should
resolve a number of long-standing bugs with the libxcb integration,
since the socket handoff mechanism essentially has to be thread-safe.
But regressions are always possible, so please report any issues
introduced by this release.

Adam Jackson (2):
      global: call XInitThreads() from the library's constructor
      libX11 1.8

Alan Coopersmith (4):
      XkbUpdateKeyTypeVirtualMods: always initialize mask
      XKBgeom.h: Remove XKB_IN_SERVER section
      XKBgeom.h: Add _Xconst qualifier to char * arguments in functions
      XkbOpenDisplay: Add _Xconst qualifier to display name argument

Benno Schulenberg (7):
      nls: remove redundant Khmer digraphs, already defined in included file
      nls: remove misplaced sequences from Ethiopian and Greek compose files
      nls: remove eight pointless self-producing compose sequences
      nls: add Multi-key sequences for abovedot, diaeresis, and ogonek
      nls: make the Ethiopian compose sequences actually work
      lcCT: use the correct index for checking the second byte
      docs: add release notes for versions 1.7.3, 1.7.4, and 1.7.5
2022-07-03 09:44:13 +00:00
nia
a8aa868782 x11: adapt to new avoid-duplicate.mk usage 2022-04-10 08:53:14 +00:00
wiz
9c0ede39cf libX11: update to 1.7.5.
Matt Turner (1):
      libX11 1.7.5

Simon McVittie (1):
      Don't try to destroy NULL condition variables
2022-04-03 18:36:44 +00:00
wiz
cc25c1e4a4 libX11: update to 1.7.4.
Adam Jackson (1):
      xcb: Clarify the XInitThreads error message

Alan Coopersmith (1):
      gitlab CI: enable Static Application Security Testing (SAST)

Antti Savolainen (1):
      nls: add two compose sequences for an upwards arrow using dead_circumflex

ArenaL5 (2):
      nls: add a compose sequence for the middle dot (·) using dead_circumflex
      nls: add a compose sequence for the copyleft symbol

Benno Schulenberg (30):
      lcUTF8: remove two unneeded ifs and two elses that are never reached
      XKBMAlloc: use the correct first-key variable when extending a key range
      docs: unwrap some mistakenly wrapped lines, and correct a comment
      docs: unwrap the comments of structure elements in the man pages
      nls: remove redundant compose sequences with the deprecated 'underbar'
      nls: remove redundant compose sequences with deprecated Hebrew symbols
      nls: group some compose sequences better, and add some comments
      nls: delete some ineffective compose sequences (that were commented out)
      nls: move the block of Jamo to its logical place (ascending Unicodes)
      nls: remove the compose sequences with the deviant KP_Space symbol
      nls: fix a typo (be_BG => bg_BG) and drop an obsolete comment
      nls: put some entries in their alphabetical order, and adjust alignment
      nls: remove some obsolete Norwegian and Yugoslavian locale names
      nls: add the es_CU locale name, for Cuba
      XKBCvt: remove an if that never gets triggered
      remove a commented-out code fragment, and remove a stray blank line
      KeyBind: update the Greek case-conversion tables to Unicode Data 14.0
      KeyBind: slightly speed up some case conversions by adding missing returns
      KeyBind: reshuffle two ifs into the general order of ascending codes
      docs: add missing word, wrap line, fix typo, and trim an excess space
      nls: among the compose sequences, replace all runs of spaces with tabs
      nls: do some manual adjustment of whitespace in the compose sequences
      imDefLkup: verify that a pointer isn't NULL before using it
      nls: add compose sequences for leftward, upward and downward double arrow
      nls: use shape-based compose sequences for hammer-and-sickle instead
      nls: group the compose sequences for tilde, degree, and cedilla together
      nls: remove the mistaken eo_EO names -- EO is not a valid country code
      nls: map eo.UTF-8 directly to en_US.UTF-8 instead of using a relay alias
      nls: remove obsolete locale aliases with uppercase in the language code
      nls: add a compose sequence for the peace symbol

Christopher Chavez (2):
      Xlib.h: spelling fix in comment
      Xlib.h: fix spelling in comment

Denis Drakhnia (1):
      nls: Add ru_UA.utf8 locale alias.

Giovanni Mascellani (1):
      xcb_io: Allow jumps backwards when widening the request number.

Hodong (2):
      specs/XIM: fix a missing "EXT" in the documentation
      Fix two memory leaks in _XFreeX11XCBStructure()

Matt Turner (1):
      libX11 1.7.4

iyzana (1):
      nls: add locale alias from eo.UTF-8 to eo_XX.UTF-8
2022-03-30 21:57:26 +00:00
wiz
0968d05dd9 libX11: update to 1.7.3.1.
This release of libX11 corrects a packaging problem in 1.7.3 which caused
the m4 files needed for autoreconf to not be included in the tarballs.

(ProTip: if you have an ACLOCAL variable set in your environment, and it
 doesn't have "-I m4" ahead of any other -I options, then automake may
 assume that any m4 files found via those other -I options don't need to
 be included in the tarballs when you run "make dist".)

As a bonus, this release also includes one tiny typo fix in the XIM specs.
2021-12-10 08:54:43 +00:00
wiz
d5b2cb23e1 libX11: update to 1.7.3.
This release includes a number of bug fixes and adds support for the
_EVDEVK keysyms added in xorgproto 2021.2.

Alan Coopersmith (2):
      Build xz tarballs instead of bzip2
      libX11 1.7.3

Alex Richardson (2):
      Fix cross-compilation from macOS
      Avoid undefined behaviour after realloc()

Hodong (1):
      Fix a typo

Igor V. Kovalenko (1):
      libX11: do not crash in GetResReq() macro

Lev Korol (1):
      nls: Add en_IL locale

Liang Chang (1):
      Make Xutf8DrawString works correctly with ISO10646 fonts.

Matthieu Herrb (1):
      Avoid NULL pointer deref. Fixes issue #47.

Peter Hutterer (2):
      makekeys: handle the new _EVDEVK xorgproto symbols
      gitlab CI: update to use the ci-fairy image

Tatu Frisk (1):
      Fix hanging issue in _XReply
2021-12-07 08:38:13 +00:00
nia
965d2384ca x11: Add avoid-duplicate.mk to Xorg library packages 2021-12-01 13:01:12 +00:00
nia
ec8cda1f38 x11: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Unfetchable distfiles (fetched conditionally?):
./x11/py-qt4/distinfo PyQt4_gpl_mac-4.12.3.tar.gz
2021-10-26 11:33:42 +00:00
nia
665544c974 x11: Remove SHA1 hashes for distfiles 2021-10-07 15:13:25 +00:00
wiz
0b6e482d66 libX11: update to 1.7.2.
This is a bug fix release, correcting a regression [1] introduced by and
improving the checks from the fix for CVE-2021-31535.

[1] https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/133

Alan Coopersmith (1):
      libX11 1.7.2

Matthieu Herrb (2):
      include <limits.h> always, not if HAVE_CONFIG_H is set.
      Check for NULL strings before getting their lengths

Tobias Stoeckmann (1):
      Protect against overly long strings
2021-06-06 21:05:08 +00:00
wiz
48d9e18aa0 libX11: update to 1.7.1.
Benno Schulenberg (3):
      nls: add 'C.utf8' as an alias for 'en_US.UTF-8'
      nls: allow composing all breved letters also with a lowercase "u"
      nls: adjust three comments about the APL compose sequences

Christopher Chavez (1):
      Xlib.h: spelling fix in comment

Gaurav Ujjwal (1):
      Fix out-of-bound access in KeySymToUcs4()

Matthieu Herrb (2):
      Reject string longer than USHRT_MAX before sending them on the wire
      Version 1.7.1

Walter Harms (8):
      FIX: warning: macro `Pn' not defined
      FIX: warning: macro `hN' not defined
      fix warning: macro `s' not defined
      FIX: warning: macro `IN' not defined
      FIX: warning: macro `hN' not defined
      fix broken nroff coding for code comments
      Fix some roff code add see also
      fix same roff code
2021-05-18 16:31:33 +00:00
nia
4dd213c6b5 libX11: fix building with older gcc versions 2021-01-20 09:42:55 +00:00
wiz
23ac55d314 libX11: update to 1.7.0.
libX11 version 1.7.0 includes a new API, hence the change from the 1.6
series to 1.7:

 * XSetIOErrorExitHandler which provides a mechanism for applications
   to recover from I/O error conditions instead of being forced to
   exit. Thanks to Carlos Garnacho for this.

This release includes a bunch of bug fixes, some which have been pending for over three years:

 * A bunch of nls cleanups to remove obsolete entries and clean up
   formatting of the ist. Thanks to Benno Schulenberg for these.

 * Warning fixes and other cleanups across a huge swath of the
   library. Thanks to Alan Coopersmith for these.

 * Memory allocation bugs, including leaks and use after free in the
   locale code. Thanks to Krzesimir Nowak, Jacek Caban and Vittorio
   Zecca for these.

 * Thread safety fixes in the locale code. Thanks to Jacek Caban for
   these.

 * poll_for_response race condition fix. Thanks to Frediano Ziglio for
   the bulk of this effort, and to Peter Hutterer for careful review
   and improvements.

Version 1.7.0 includes a couple of new locales:

 * ia and ie locales. Thanks to Carmina16 for these.

There are also numerous compose entries added, including:

 * |^ or ^| for ↑, |v or v| for ↓, ~~ for ≈. Thanks to Antti
    Savolainen for this.

 * Allowing use of 'v' for caron, in addition to 'c', so things like
   vC for Č, vc for č. Thanks to Benno Schulenberg for this.

 * Compose sequences LT, lt for '<', and GT, gt for '>' for keyboards
   where those are difficult to access. Thanks to Jonathan Belsewir
   for this.
2020-11-20 20:42:53 +00:00
wiz
e0985818ef libX11: update to 1.6.12.
Christopher Chavez (1):
      Fix typo GCCLipYOrigin -> GCClipYOrigin in XCreateGC() manpage

Felix Yan (1):
      Correct a typo in GetStCmap.c

Matthieu Herrb (2):
      Fix an integer overflow in init_om()
      libX11 1.6.12

Maya Rashish (1):
      Avoid the use of "register" keyword in XkbTranslateKeySym.

Niclas Zeising (1):
      Fix input clients connecting to server
2020-08-26 10:28:03 +00:00
wiz
da62b1b75b libX11: update to 1.6.11.
Alan Coopersmith (1):
      libX11 1.6.11

Yichao Yu (1):
      Fix size calculation in `_XimAttributeToValue`.
2020-08-07 20:20:40 +00:00
maya
1d9a063402 libX11: backport patch fixing regression from upstream. bump PKGREVISION 2020-08-04 15:50:19 +00:00
maya
5e9060bb80 libX11: update to 1.6.10
Heap corruption in the X input method client in libX11
======================================================

CVE-2020-14344

The X Input Method (XIM) client implementation in libX11 has some
integer overflows and signed/unsigned comparison issues that can lead
to heap corruption when handling malformed messages from an input
method.

Patches
=======

Patches for these issues have been commited to the libX11 git repository.
libX11 1.6.10 will be released shortly and will include those patches.

https://gitlab.freedesktop.org/xorg/lib/libx11

commit 1703b9f3435079d3c6021e1ee2ec34fd4978103d (HEAD -> master)

    Change the data_len parameter of _XimAttributeToValue() to CARD16

    It's coming from a length in the protocol (unsigned) and passed
    to functions that expect unsigned int parameters (_XCopyToArg()
    and memcpy()).

commit 1a566c9e00e5f35c1f9e7f3d741a02e5170852b2

    Zero out buffers in functions

    It looks like uninitialized stack or heap memory can leak
    out via padding bytes.


commit 2fcfcc49f3b1be854bb9085993a01d17c62acf60

    Fix more unchecked lengths

commit 388b303c62aa35a245f1704211a023440ad2c488

    fix integer overflows in _XimAttributeToValue()


commit 0e6561efcfaa0ae7b5c74eac7e064b76d687544e

    Fix signed length values in _XimGetAttributeID()

    The lengths are unsigned according to the specification. Passing
    negative values can lead to data corruption.

Thanks
======

X.Org thanks Todd Carson for reporting these issues to our security
team and assisting them in understanding them and providing fixes.
2020-07-31 16:36:55 +00:00
rillig
b686dd9180 all: migrate several HOMEPAGEs to https
pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.
2020-01-18 23:30:43 +00:00
wiz
b7de5822c0 libX11: update to 1.6.9.
1.6.9

A collection of build and documentation fixes, one preparatory change
for a new xorgproto release, and a fix for a deadlock bug in _XReply.
Thanks to all who contributed.

Adam Jackson (3):
      makekeys: Detach ourselves from X headers entirely
      xkb: Provide <X11/extensions/XKBgeom.h> ourselves
      libX11 1.6.9

Dmitry Osipenko (1):
      Fix lockup in _XReply() caused by recursive synchronization

Ross Burton (1):
      src/util/Makefile: explicitly reset LINK to not use libtool

Thomas E. Dickey (6):
      the last commit overlooked some fake-quote pairs
      another fake-quote fix
      trim trailing whitespace from manpages
      split lines at sentence endings
      fix a substitution error from recent commit, e.g, "s/^\.EE/XDe/"
      improve some formatting

Walter Harms (8):
      note that we can handle kbd==NULL
      remove in-text macros
      replace home grown .ZN with std, .B and .BR
      fix TBL format
      Replace home-grown .Ds .De macro with man page .EX/.EE macro
      remove all private macro defines
      get rid of ``fake quotes''
      fix ``fake quotes'' in text

1.6.8

Adam Jackson (2):
      _XDefaultIOError: Reformat to be less ugly
      _XDefaultIOError: Do better at detecting explicit shutdown

Alan Coopersmith (23):
      Remove documentation of obsolete B16 & B32 tags in specs/libX11
      Update README for gitlab migration
      Import reallocarray() from OpenBSD
      Convert main src directory to use reallocarray()
      Convert src/XKB to use reallocarray()
      Convert src/xcms to use reallocarray()
      Add some missing allocation failure checks in src/xcms
      Replace _XkbTypedRealloc & _XkbClearElems with new _XkbResizeArray
      Replace Xmalloc+strcpy pairs with strdup calls
      Convert src/xlibi18n to use reallocarray()
      Fix out-of-tree builds after commit 8a62e26515e528bb47917ec4a55cc2b492419eeb
      Remove no-longer-used name variable in _XGetAtomName
      Fix implicit conversion warnings in _XlcCreateDefaultCharSet
      Avoid use-after-free in _XimProtoSetIMValues()
      Fix man page typo: XkbAllBellNotifyMask -> XkbAllBellEventsMask
      XkbAllocGeomOverlayKey man page should be named XkbAllocGeomOverlayKeys
      specs/XKB: Fix misprint in documentation of XkbGetNamedGeometry()
      specs/XKB: Fix misprint in documentation of XkbAllocGeomOverlayRows()
      specs/XKB: Fix misprint in documentation of XkbAllocGeomOverlayKeys()
      specs/XKB: Fix misprint in documentation of XkbFreeGeomOverlayKeys()
      XlibInt.c: include headers needed for ioctl(...FIONREAD...) on Solaris
      Include reallocarray.h in tarballs so "make distcheck" passes
      Add missing close paren to XrmGetStringDatabase synopsis in man page

Albert Astals Cid (2):
      compose.dir: Add ast_ES.UTF-8
      locale.dir: Add ast_ES.UTF-8

Jon Turney (4):
      Add autoconf checks for headers we include for FIONREAD
      Remove makekeys dependency on X headers
      Use EXEEXT_FOR_BUILD for makekeys
      Avoid using libtool wrapper for makekeys

Josh Triplett (1):
      compose.dir.pre: Give the C.UTF-8 locale a full set of UTF-8 compose sequences

Matt Turner (2):
      Use AC_SYS_LARGEFILE
      libX11 1.6.8

Matthias Dieter Wallnöfer (5):
      locale.dir.pre - fix the de_LI latin15 locale
      Update locale.alias.pre - introduce the de_LI aliases (equivalent to de_CH)
      compose.dir.pre - add de_IT locale
      locale.dir.pre - add the de_IT locale
      locale.alias.pre - add the de_IT locale

Pavel Labath (1):
      Fix a leak in XCreateFontSet

Ran Benita (1):
      Compose.man: fix escaped hexadecimal char description

Samuel Thibault (1):
      Braille: Fix typing quickly

Tapani Pälli (1):
      Protect colormap add/removal with display lock

ojab (1):
      Compose sequences for rouble sign
2019-11-13 21:59:51 +00:00
rillig
121d00ed27 x11: align variable assignments
pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
2019-11-03 09:14:06 +00:00
rillig
ac265811da x11/libX11: remove unrecognized configure options 2019-04-28 10:53:03 +00:00
wiz
c5528dbe1c libX11: update to 1.6.7.
Bhavi Dhingra (1):
     XcmsLookupColor: fully initialize XColor structs passed to _XColor_to_XcmsRGB

Matt Turner (1):
     libX11 1.6.7

Michel Dänzer (2):
     poll_for_response: Call poll_for_event again if xcb_poll_for_reply fails
     poll_for_event: Allow using xcb_poll_for_queued_event
2018-10-10 20:01:56 +00:00
wiz
b40700e1c5 libX11: update to 1.6.6.
Security fix release.

Alan Coopersmith (6):
      Make Xkb{Get,Set}NamedIndicator spec & manpages match code
      Clarify state parameter to XkbSetNamedDeviceIndicator
      Improve table formatting in XkbChangeControls & XkbKeyNumGroups man pages
      If XGetImage fails to create image, don't dereference it to bounds check
      Use size_t for buffer sizes in SetHints.c
      Change fall through comment in lcDB.c to match gcc's requirements

Arthur Huillet (1):
      _XDefaultError: set XlibDisplayIOError flag before calling exit

Bhavi Dhingra (1):
      Fix possible memory leak in cmsProp.c:140

Martin Natano (1):
      Don't rebuild ks_tables.h if nothing changed.

Matthieu Herrb (2):
      Remove statement with no effect.
      libX11 1.6.6

Michal Srb (1):
      Use flexible array member instead of fake size.

Ryan C. Gordon (1):
      Valgrind fix for XStoreColor and XStoreColors.

Samuel Thibault (1):
      XkbOpenDisplay.3: fix typo

Tobias Stoeckmann (4):
      Validation of server response in XListHosts.
      Fixed off-by-one writes (CVE-2018-14599).
      Fixed out of boundary write (CVE-2018-14600).
      Fixed crash on invalid reply (CVE-2018-14598).

walter harms (13):
      fix shadow warning
      _XIOError(dpy); will never return so remore dead
      remove argument check for free() adjust one inden
      fix shadow char_size
      fix more shadow warning
      no need to check argument for _XkbFree()
      remove stray extern
      no need to check args for Xfree()
      fix memleak in error path
      fix memleak in error path
      no need to check XFree arguments
      mark _XDefaultIOError as no_return
      Fixes: warning: variable 'req' set but not,used

wharms (3):
      add _X_UNUSED to avoid unused variable warnings
      remove empty line
      silence gcc warning assignment discards 'const' qualifier from pointer target type
2018-08-21 19:29:48 +00:00
wiz
380b6ec244 xorgproto: use xorgproto instead of separate *proto packages
Remove now obsolete packages.
2018-03-07 11:57:28 +00:00
rillig
17e39f419d Fix indentation in buildlink3.mk files.
The actual fix as been done by "pkglint -F */*/buildlink3.mk", and was
reviewed manually.

There are some .include lines that still are indented with zero spaces
although the surrounding .if is indented. This is existing practice.
2018-01-07 13:03:53 +00:00
wiz
064d1fd652 Updated libX11 to 1.6.5.
Adam Jackson (1):
      Revert "Compose sequences for rouble sign"

Alan Coopersmith (6):
      specs/libX11: More synopsis fixes
      specs/libX11: Fix paramdef entries listing multiple parameters
      specs/libX11: Make paramdef spacing more consistent
      specs/libX11: Add missing parameter types for XGetWindowProperty()
      specs/libX11: Fix broken synopsis for Data/Data16/Data32
      specs/libX11: Update Portability Considerations for the 21st century

Emil Velikov (1):
      autogen.sh: use quoted string variables

Emilio Pozuelo Monfort (1):
      Plug a memory leak

Julien Cristau (1):
      Fix wrong Xfree in XListFonts failure path

Lucien Gentis (1):
      Typos in "Xlib - C Language X Interface" document - Chapter 02

Matt Turner (1):
      libX11 1.6.5

Mihail Konev (2):
      autogen: add default patch prefix
      Compose sequences for rouble sign

Peter Hutterer (1):
      autogen.sh: use exec instead of waiting for configure to finish

Petr Písař (1):
      Revert cs_CZ.UTF-8 XLC_LOCALE to en_US.UTF-8
2017-02-27 09:09:50 +00:00
joerg
f08737cd20 Requires a newer xcb version. 2016-10-08 23:26:56 +00:00
wiz
c422799a45 Updated libX11 to 1.6.4.
Alan Coopersmith (20):
      Move Compose \ o / to be with other emoji compose sequences
      Replace Xmalloc+memset pairs with Xcalloc calls
      Get rid of some extraneous ; at the end of C source lines
      Remove unused definition of XCONN_CHECK_FREQ
      Bug 93184: read_EncodingInfo invalid free
      Bug 93183: _XDefaultOpenIM memory leaks in out-of-memory error paths
      Delete #if 0 hunks of code
      Use strdup instead of Xmalloc+strcpy in _XDefaultOpenIM
      XDefaultOMIF: replace strlen+Xmalloc+strcpy with strdup
      XDefaultOMIF: additional code simplification
      XDefaultOMIF: Remove comments referring to ancient Sun bug ids
      XlcDL.c: replace strcpy+strcat sequences with snprintf
      XlcDL.c: reduce code duplication
      lcPubWrap: replace malloc(strlen) + strcpy with strdup
      Stop checking XTRANS_SECURE_RPC_FLAGS since we no longer use them
      Stop checking for preferred order of local transports
      Don't need to link libX11-xcb against libX11
      xcms: use size_t for strlen/sizeof values instead of converting to int & back
      xcms: use unsigned indexes when looping through unsigned values
      xcms: use size_t for pointer offsets passed to strncmp

Bhavi Dhingra (1):
      omGeneric.c: Correct the parameter usage of sizeof

Christian Linhart (1):
      fix for Xlib 32-bit request number issues

Daniel Albers (1):
      Add Compose sequence for U+1F4A9.

Dominik Muth (1):
      Xlib.h: Fix macros imitating C functions.

Gunnar Hjalmarsson (1):
      Add compose file for pt_PT similar to pt_BR

James Cloos (2):
      Fix missing update in cf4d5989383a
      Fix another missing update in cf4d5989383a

Julien Cristau (1):
      Mark _XNextRequest as hidden

Mats Blakstad (1):
      New compose keys for local languages in Togo

Matthew D. Fuller (1):
      Fixup param specification for XChangeProperty()

Matthieu Herrb (1):
      libX11 1.6.4

Mike FABIAN (3):
      add be_BY.UTF-8@latin and sr_RS.UTF-8@latin to locale.dir
      fix spelling mistakes in ks_IN and sd_IN devanagari locales
      Fix spelling mistake introduced by 748d47e69f5c12d8557d56a8a8ec166588da7b93

Olivier Fourdan (1):
      XKB: fix XkbGetKeyboardByName with Xming server

Peter Hutterer (3):
      Fix potential memory leak
      Fix an indentation issue
      Fix three "use of uninitialized variable" coverity warnings

Ross Burton (1):
      Add missing NULL checks to ICWrap

Thomas Klausner (2):
      Do not return() after exit().
      Ignore test-driver (used by newer autoconf).

Tobias Stoeckmann (2):
      The validation of server responses avoids out of boundary accesses.
      Validation of server responses in XGetImage()

walter harms (1):
      XFree will accept NULL as argument
2016-10-04 21:58:10 +00:00
jperkin
02201cb05b Use OPSYSVARS. 2016-02-26 10:57:45 +00:00
agc
d8f09469bb Add SHA512 digests for distfiles for x11 category
Problems found locating distfiles:
        Package modular-xorg-server: missing distfile xorg-server-1.17.4.tar.bz2
        Package py-qt4: missing distfile PyQt-mac-gpl-4.11.1.tar.gz
        Package xservers: missing distfile xservers-3.3.6.5.tar.bz2
        Package xview-clients: missing distfile xview3.2p1-X11R6.tar.gz
        Package xview-lib: missing distfile xview3.2p1-X11R6.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-04 03:28:24 +00:00
wiz
753b49a479 Update to 1.6.3:
This release of libX11 looks bigger than it is, due to a lot of spec/doc
cleanup work that doesn't affect the code itself.  There is still a good
deal of bug fixes, code cleanup, locale improvements, and compose key table
additions, including new UTF-8 compose sequences for:

<Multi_key> <R> <equal>      : "<U+20B9>" U20b9 # INDIAN RUPEE SIGN
<Multi_key> <S> <semicolon>  : "Ș"   U0218  # LATIN CAPITAL LETTER S WITH COMMA BELOW
<Multi_key> <s> <semicolon>  : "ș"   U0219  # LATIN SMALL LETTER S WITH COMMA BELOW
<Multi_key> <T> <semicolon>  : "Ț"   U021A  # LATIN CAPITAL LETTER T WITH COMMA BELOW
<Multi_key> <t> <semicolon>  : "ț"   U021B  # LATIN SMALL LETTER T WITH COMMA BELOW
<Multi_key> <F> <U>          : "<U+1F595>"  U1F595 # REVERSED HAND WITH MIDDLE FINGER EXTENDED
<Multi_key> <L> <L> <A> <P>  : "<U+1F596>"  U1F596 # RAISED HAND WITH PART BETWEEN MIDDLE AND RING FINGERS

Alan Coopersmith (77):
      Xcms file parsing should not require the impossible to succeed
      Drop X_LOCALE fallback for OS'es without setlocale()
      unifdef -UISC
      XkbSelectEventDetails: remove unnecessary assignments
      _XkbReadGeomOverlay: check for NULL first, then use pointer
      Remove unused ETEST & ESZTEST macros from XlibInt.c
      Add RANDR 1.4 requests & events to XErrorDB
      Fix typos in Xrm.c comments
      Fix "follwing" typo in en_US.UTF-8/Compose comment
      XCreateGC.man: simplify table to work with Solaris tbl
      Add missing .TE tags to end tables in Xkb man pages
      Start adding Unicode 7.0 support to compose table
      specs/libX11: Fix x & y in parameter lists to be two separate parameters
      specs/libX11: Fix height & width in parameter lists to be two separate entries
      specs/libX11: Add missing spaces to 'unsignedint' & 'unsignedlong' types
      Fix map->num_types check in XkbAddKeyType()
      Fix validation of ctrls parameter to XkbGetPerClientControls()
      Use C99 named initializers to fill in events passed to XSendEvent
      specs/libX11: Correct value of IconicState to match Xutil.h
      specs/libX11: disengender a user reference
      specs/XKB: Convert header filenames to filename tags
      specs/XKB: Fix various markup issues in functiondecl tables
      specs/XKB: Add index
      specs/XKB: Convert to funcsynopsis+variablelist instead of informaltable
      specs/XKB: normalize <emphasis> layout in xml files
      specs/XKB: Markup function names as <function> instead of <emphasis>
      specs/XKB: Apply <emphasis> to semantic tag transformations from Xlib spec
      specs/XKB: Turn Chapter references into xref links
      specs/XKB: Turn section references into xref links
      specs/XKB: Turn Table references into links
      specs/XKB: Add <figure> tags and make Figure references link to them
      specs/XKB: make olinks to xkbproto for references in section 10.13
      specs/XKB: Remove remaining xref comments
      specs/XKB: re-normalize <emphasis> layout in xml files
      specs/XKB: manually fixup some more emphasis tagging mismatches
      specs/XKB: Convert remaining error names to errorname tags
      specs/XKB: Markup function args as <parameter> instead of <emphasis>
      specs/XKB: Markup NULL as <symbol> instead of <emphasis>
      specs/XKB: Markup keysyms as <keysym> instead of <emphasis>
      specs/XKB: Use ° instead of o for degrees.
      specs/XKB: Markup XKB macros as <symbol> instead of <emphasis>
      specs/XKB: Markup *Rec as <structname> instead of <emphasis>
      specs/XKB: Markup *Ptr as <type> instead of <emphasis>
      specs/XKB: Markup symbol names in table entries too
      specs/XKB: Markup structs as <struct{name,field}> instead of <emphasis>
      specs/XKB: Markup characters & strings as <literal> instead of <emphasis>
      specs/XKB: Markup keyboard keys as <keycap> instead of <emphasis>
      specs/XKB: Markup protocol requests as <systemitem> instead of <emphasis>
      specs/XKB: Manual fixup of function name markup
      specs/XKB: Manual fixup of symbol name markup
      specs/XKB: Manual fixup of struct name/field markup
      specs/XKB: Manual fixup of parameter markup
      specs/XKB: Manual fixup of type markup
      specs/XKB: Markup key terms as <firstterm> instead of <emphasis>
      specs/XKB: fixup newlines between tags and parens
      specs/XKB: fixup newlines between tags and punctuation
      specs/XKB: Markup quoted terms as <quote> instead of with ""
      specs/XKB: make sure all files have DOCTYPEs so standard entities work
      specs/XKB: Markup some subtractions with &minus; instead of -
      specs/XKB: Markup some ranges with &ndash; instead of -
      specs/XKB: replace =&gt; with &rArr; for double arrows
      specs/XKB: replace -&gt; with &rarr; when used as arrow, not in C structs
      specs/XKB: remove unwanted white space around C -&gt; struct references
      specs/XKB: Table 4.1: remove page numbers & unnecessary para tags
      specs/XKB: add links to more tables listing section references
      specs/XKB: add links for terms in definition list under figure 1.1
      specs/XKB: add some more links by hand
      specs/XKB: fixup various formatting issues in <literallayout>s
      specs/XKB: fixup various formatting issues in <programlisting>s
      specs/XKB: add some more indexterms by hand
      specs/XKB: Fix miscelleanous typos & spelling errors
      specs/XKB: Add olinks to libX11 for "X Library Functions Affected by Xkb"
      specs/XKB: Trim leading spaces off text lines
      specs/XKB: acknowledge my contributions
      specs/XKB: Markup fractions as <{super,sub}script> instead of <emphasis>
      Fix source paths for out-of-tree lintlib builds
      libX11 1.6.3

Andreas Schwab (1):
      Restore lost tabs in sed commands

Benno Schulenberg (15):
      nls: Fix transposed locale identifier for Khmer.
      nls: Allowing Romanian Ă and ă to be composed also with lowercase <u>.
      nls: Adding compose sequences (with <parenleft> first) that GTK also has.
      nls: Ordering some compose sequences in a more customary way.
      nls: Adding accessible compose sequences for Ș and Ț (with comma below).
      nls: Adding the missing postfix sequences for composing vowels with ogoneks.
      nls: Adding the missing compose sequences with <comma> for O with ogonek.
      nls: Transform Brazilian compose file to an include plus three overrides.
      nls: Grouping the compose sequences for Dstroke/dstroke together.
      nls: Grouping a lone superscript minus together with its mates.
      nls: Adding the visual composing characters to two comment lines.
      nls: Add one lowercase compose variant for ®, to mirror those for ©.
      nls: Add a comment to the block of accented Hebrew letters.
      nls: Remove a duplicate locale name, and sort some others more strictly.
      nls: Sorting compose sequences rigorously in mirroring pairs, as is custom.

Gabriel Souza Franco (1):
      Add double-arrow compose sequence

Gaetan Nadon (1):
      makekeys: don't need to use target-specific CFLAGS

Gioele Barabucci (1):
      Add compose sequence for U+20B9 INDIAN RUPEE SIGN

Ingo Schwarze (1):
      Fix pasto in XkbGetKeyBehaviors(3) manual

James Cloos (4):
      nls/en_US.UTF-8/Compose.pre: Fix typo.
      Revert "nls: Adding compose sequences (with <parenleft> first) that GTK also has."
      Add nls for cs_CZ.UTF-8
      Add cs_CZ.UTF-8 locale to configure.ac

Jon TURNEY (1):
      Don't try so hard to find a matching font with the given encoding

Joonas Javanainen (1):
      Fix XErrorEvent struct field order in man page

Marko Myllynen (1):
      Annotate Finnish Compose map with Unicode code points

Owen W. Taylor (1):
      Fix XNextRequest() after direct usage of XCB

Peter Hutterer (1):
      man: fix man page for XkbGetMap

Ran Benita (5):
      nls: remove duplicate 'ohorn' and 'uhorn' compose sequences
      nls: always use XCOMM instead of # for comments in Compose.pre files
      Remove dead USE_OWN_COMPOSE-protected code
      xkb: fix misleading comment about consumed modifiers
      compose: fix the description of modifiers in compose sequences

Reuben Thomas (1):
      en_US.UTF-8/Compose: Fix apparent copy-paste-o, changing capital to small A.

Teemu Likonen (1):
      Fix "RING ABOVE" key in the Finnish compose file

walter harms (8):
      libX11/lcGenConv.c fix: dereferenced before check
      libX11/XKBNames.c fix: dereferenced before check
      libX11/lcUTF8.c fix: dereferenced before check
      Remove redundant null checks before free
      Remove more redundant null checks before Xfree()
      libX11: rm redundante NULL checks
      rm redundant null checks
      lcDefConv.c: fix use before check
2015-03-10 07:16:26 +00:00
wiz
cda18437be Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles. 2014-10-09 14:05:50 +00:00
jperkin
9f5deef43b Don't append LIBABISUFFIX to X11_LDFLAGS when using pkgsrc libX11. 2014-07-30 20:34:50 +00:00
wiz
6d78fcb426 Add patch from upstream to silence qt5 warning:
nls/en_US.UTF-8/Compose.pre: Fix typo.

    Fix typo added in 215ce6a67863, s/actute/acute/.

    Fixes bug #69476.  Reported by Jean Krohn.

    Signed-off-by: James Cloos <cloos@jhcloos.com>

Bump PKGREVISION.
2014-05-30 12:51:29 +00:00
rodent
f35c689221 libXext build failure on OpenBSD exposed libX11 test failing during
configure due to missing pthread library. Buildlink pthread. Don't hardcode
-pthread for OSF1, MirBSD, and OpenBSD, but use PTHREAD_{C,LD}FLAGS
instead. Add pthread in bl3, but for the above targets.
2014-05-27 04:45:33 +00:00
obache
20014042a9 require xproto>=7.0.17 2014-04-29 10:27:33 +00:00
obache
8031ce34c4 Remove legacy builtin detection.
This builtin.mk is only used with modular X (using pkgconfig files),
and legacy detection prevent to detect sufficient version with *.pc file.
2014-04-29 07:45:42 +00:00
jperkin
9d5b1e7ac2 Search for pkgconfig files in lib${LIBABISUFFIX} and share directories
as appropriate.  This is required for X11_TYPE=native on Red Hat Linux.
2014-03-10 11:05:51 +00:00
wiz
ced1f026b6 PLIST update for 1.6.2. 2013-09-09 09:45:52 +00:00
wiz
574dbdebb7 Update to 1.6.2:
This release of libX11 includes a number of fixes to handle realloc() failure
better, resolves a number of compiler & static analyzer warnings, fixes several
bugs in the X Input Method framework, and cleans up the XKB code to be a little
more maintainable.

Alan Coopersmith (28):
      Fix file leak on malloc error in XlcDL.c:resolve_object()
      lcfile: skip over any null entries in args list
      xlibi18n: convert sprintf calls to snprintf
      ximcp/imRm.c: convert sprintf calls to snprintf
      omGeneric.c: convert sprintf calls to snprintf
      Avoid memory leak/corruption if realloc fails in XlcDL.c:resolve_object()
      lcDB.c: ensure buffer size is updated correctly if realloc fails
      Avoid memory leak/corruption if realloc fails in imLcPrs.c:parseline()
      Avoid memory leak/corruption if realloc fails in Xregion.h:MEMCHECK macro
      miRegionCopy(): handle realloc failure better
      miRegionOp(): ensure region size is not updated if realloc fails
      Delete unused XKB_INSURE_SIZE macro from XKBlibint.h
      init_om: remove unneeded extra copy of string to local buffer
      Constify lc_name argument to _XlcLocaleDirName() & _XlcLocaleLibDirName()
      Fix const handling in XSetLocaleModifiers
      xlibi18n: Fix a bunch of const cast warnings
      i18n modules: Fix some const cast warnings
      xlibi18n: fix argsize argument to _XlcParsePath
      Remove even more casts of return values from Xmalloc/Xrealloc
      Don't cast sizeof() results to unsigned when passing to Xmalloc/Xcalloc
      Remove unnecessary casts of pointers to (char *) in calls to Xfree()
      Remove long unused src/udcInf.c
      Fix overflow checks in _XkbReadKeySyms when key_sym_map is already created
      Reindent XKB code to X.Org standard style
      Rearrange some variable declarations & initializations in XKB
      Stop checking for HAVE_DIX_CONFIG_H on the client side
      Bug 68413 - [Bisected]Error in `xterm': realloc(): invalid next size
      libX11 1.6.2

Benno Schulenberg (1):
      nls: Adding more accessible compose sequences for J́ and j́.

Egbert Eich (2):
      XIM: Fix race on focus change: set 'FABRICATED' only when keyev filters in place.
      XIM: Fix sync problem on focus change.

ISHIKAWA,chiaki (1):
      Fix bogus timestamp generated by XIM

Julien Cristau (1):
      Add missing locales to configure.ac
2013-09-09 09:44:41 +00:00
wiz
82a6c24e53 Update to 1.6.1:
This release includes fixes to the code, docs & build system.
It makes both clang & doclifter happier.  It includes patches
upstreamed from Ubuntu, NetBSD, and Solaris.

Alan Coopersmith (10):
      Update README to reflect where to find the Xlib specs now
      specs/libX11: correct prototype for XListPixmapFormats/XImageByteOrder
      troff macro expansion in specs/libX11
      Require ANSI C89 pre-processor, drop pre-C89 token pasting support
      XSetModifierMapping: Use Data instead of GetReqExtra
      Refactor common code from XAddHost & XRemoveHost into single function
      omGeneric: remove space between struct name & member name
      Add ku_TR.UTF-8 (Kurdish language, Turkey region) to compose/locale.dir
      Fix undefined XCMSDIR error when building lint library
      libX11 1.6.1

Eric S. Raymond (2):
      Remove call to undefined macro.
      Remove call to undefined macro.

Kees Cook (2):
      libX11: check size of GetReqExtra after XFlush
      libX11: check "req" when calling GetReqExtra

Thomas Klausner (6):
      Deal with the limited range of VAX floating point numbers when compiling for VAX.
      Stop truncating source to destination length if it is larger.
      Use newer callback-based API for XIM.
      Check for symbol existence with #ifdef, not #if
      Fix out-of-range comparison in _XF86BigfontQueryFont
      Tighten out-of-range comparisons.
2013-07-30 07:09:01 +00:00
obache
7e3be9fc97 preprocessor is a tool. 2013-06-16 13:34:30 +00:00
joerg
d501b58eb1 Consistently use devel/tradcpp as preprocessor. 2013-06-13 22:30:41 +00:00
wiz
4eb89e91ed Update to 1.6.0:
Changes since libX11 1.5 (found in the release candidates) include fixes
for the recently announced security issues CVE-2013-1981, CVE-2013-1997,
and CVE-2013-2004; the addition of the _XEatDataWords API for use by
Xlib-based extension libraries, to help them avoid integer overflows when
it is necessary to discard data; removal of ancient, unused, incomplete
support for the Cray Unicos OS, and the DECnet and TLI transport types;
numerous improvements to compose files and locale data; man page macro
cleanups to improve compatibility with doclifter; and various other
code cleanups and compiler warning fixes.

Alan Coopersmith (1):
      libX11 1.6.0

Thomas Klausner (2):
      XCreateGC man page: Avoid .TS H and .TH macros
      cmsMath.c: Add missing stdio header for printf(3) in DEBUG build.
2013-06-04 07:57:13 +00:00
riastradh
65e8a1fbdd Fix and tweak libX11 cross-build.
- Tool-depend on xproto for data for a tool that libX11 builds and
  runs.

- No need to pass CPPFLAGS_FOR_BUILD=-I${PREFIX}/include.

- Pass CC_FOR_BUILD=${NATIVE_CC:Q} in CONFIGURE_ENV, not MAKE_ENV.
2013-05-10 22:38:31 +00:00
asau
8aba7e3fbf Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-29 05:06:05 +00:00
tron
2a2e83c60e Increase the minium required version of the "x11/libxcb" package to 1.6.
There are at least two packages ("graphics/cairo" and "x11/xlsclients")
which require this. And we definitely want to avoid the situation where
both the based and "pkgsrc" version get used at the same time.

Bump all the packages which use the "x11/libxcb" package except the two
which already require version 1.6. For those package remove the manually
set minimum required version.

Change discussed with Thomas Klausner in private e-mail.
2012-10-02 12:09:40 +00:00
mef
eea650b868 Update from 1.3.5 to 1.5.0 based on PR pkg/46183
[ANNOUNCE] libX11 1.5.0
------------------------
 At long last, the stable release of Xlib 1.5.0.

 While it only strictly requires libxcb 1.2, it's recommended that libxcb 1.8.1
 be used to get the fix for network connection fallback from Unix sockets to
 TCP that replaces the code previously found in libX11.

 Since there have been no changes since the final release candidate,
 here's the full list of changes since libX11 1.4.4:

    ( Some 150 lines omitted, see following URL for detail )
 http://lists.x.org/archives/xorg-announce/2012-June/001970.html

[ANNOUNCE] libX11 1.4.4
-----------------------
Thu, 28 Jul 2011 20:05:49 -0700 by  Alan Coopersmith

Another bug fix release of libX11 brings another large set of fixes
found by static analysis or to ease further static analysis, many
documentation fixes and improvments, and improved assertions to
help users and developers figure out why Xlib just crashed on them.

[ANNOUNCE] libX11 1.4.3
-----------------------
Tue Apr 5 14:18:18 PDT 2011 by Alan Coopersmith

A minor release of libX11 to add support for the Sinhala keysyms required
by the recent xkb-config 2.2 release.   Note that to get full support for
these keysyms you will also need to upgrade to x11proto 7.0.21 before
building the new libX11.

[ANNOUNCE] libX11 1.4.2
-----------------------
This bugfix release pulls in a ton of fixes for problems found by code static
analysis tools.  Many thanks to everyone who has helped find and fix these
issues before they turned into nasty problems.

Additionally, Jamey Sharp has provided some fixes for Display lock handling
that caused some deadlocks when using xcb for transport (which was optional
in 1.3.x and is required in 1.4.x), so this update is highly recomended to
users of multi-threaded Xlib applications.

[ANNOUNCE] libX11 1.4.1
------------------------
Tue, 11 Jan 2011 22:35:19 -0800 by Alan Coopersmith

This bugfix release corrects two small issues in Xlib event handling,
and provides, for the first time ever, the XKB API spec in DocBook format.

[ANNOUNCE] libX11 1.4.0
------------------------
Sun Nov 21 14:38:32 PST 2010 by Alan Coopersmith

After 3 release candidates, it's finally done - libX11 1.4 is released.

As previously warned, libX11 1.4 *requires* libxcb.   The Xlib 1.3 branch
continues to support the --without-xcb option for the benefit of any
remaining distributors who do not yet ship XCB in their stable releases.

[ANNOUNCE] libX11 1.3.6
------------------------
2010-09-20 6:16:18 by Daniel Stone

Just a small maintenance release for libX11; pending any catastrophic
bugs, this will probably be the last release from the 1.3.x branch.  The
XStringToKeysym changes should provide a not-insignificant speedup for
X server and application startup.
2012-07-10 03:03:01 +00:00
bsiegert
491aaa2662 Add -pthread on MirBSD, fixes build of dependent packages like libXpm.
I think that patch-aa is incorrect, at least on MirBSD. It supposes that
pthread_self is already in libc. However, I won't touch the patches
during the freeze.
2011-09-18 11:55:22 +00:00
bsiegert
86169ce9ef Add a pthread option for MirBSD, regenerate patch-ac using autoconf-2.65nb1
to minimize its size.

No change for other platforms, thus no package revision bump.
2011-09-15 19:50:14 +00:00