summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2020-08-26Merge Mesa 20.1.6Jonathan Gray
2020-08-26Import Mesa 20.1.6Jonathan Gray
2020-08-25Fix an integer overflow in init_om() that could lead to a double free.Matthieu Herrb
Reported by Jayden Rivers.
2020-08-20Fix a bug where some input clients can't connect to the input server.Matthieu Herrb
FreeBSD bugzilla reference: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248549
2019-05-23Import Mesa 19.0.5Jonathan Gray
2019-01-29Import Mesa 18.3.2Jonathan Gray
2018-10-23Import Mesa 17.3.9Jonathan Gray
2018-10-23Import Mesa 17.3.9Jonathan Gray
2018-10-23Import Mesa 17.3.9Jonathan Gray
2016-12-11Import Mesa 13.0.2Jonathan Gray
2016-12-11Import Mesa 13.0.2Jonathan Gray
2016-05-29Import Mesa 11.2.2Jonathan Gray
2015-11-22import Mesa 11.0.6Jonathan Gray
2015-11-22import Mesa 11.0.6Jonathan Gray
2015-11-22import Mesa 11.0.6Jonathan Gray
2015-11-22import Mesa 11.0.6Jonathan Gray
2020-08-06Merge from upstream X.Org : Fix size calculation in `_XimAttributeToValue`Matthieu Herrb
The check here guards the read below. For `XimType_XIMStyles`, these are `num` of `CARD32` and for `XimType_XIMHotKeyTriggers` these are `num` of `XIMTRIGGERKEY` ref[1] which is defined as 3 x `CARD32`. (There are data after the `XIMTRIGGERKEY` according to the spec but they are not read by this function and doesn't need to be checked.) The old code here used the native datatype size instead of the wire protocol size causing the check to always fail. Also fix the size calculation for the header (size). It is 2 x CARD16 for both types despite the unused `CARD16` for `XimType_XIMStyles`. This fixes a regression caused by previous commit.
2020-08-01Fix Mesa build with clang 10 on mips64.Visa Hankala
On mips64, the compiler does not allow use of non-zero argument with __builtin_frame_address(). However, the returned frame address is only used when PIPE_ARCH_X86 is defined. The compile error can be avoided by making #ifdef PIPE_ARCH_X86 cover the getting of frame address too. The argument checking of __builtin_frame_address() has been present as a debug assert in clang 8. In clang 10, there is a proper runtime check for the argument. This is why the build has not failed before. OK jsg@
2020-07-31Fixes for Heap corruption in the X input method client in libX11Matthieu Herrb
CVE-2020-14344 These where reported to X.Org and patches proposed by Todd Carson. Thanks.
2020-07-19Fix SHARED_LIBSMatthieu Herrb
2014-04-14Import xcb-util-wm 0.4.1Matthieu Herrb
2020-07-08Unlink libxbui from the build. ok jsg@Matthieu Herrb
2020-06-27Update to freetype 2.10.2. Tested by krw@ and myself.Matthieu Herrb
Adds supprot for WOFF2 fonts. No visible API/ABI changes.
2020-06-18llvmpipe: use LLVM version string instead of re-computing itJonathan Gray
From Eric Engestrom 7f5ef97a07d4054efb96f0d644344644023af82c in Mesa git fixes llvmpipe renderer string showing "LLVM 16.0" with LLVM 10
2020-06-16ac: fix build with recent LLVMJonathan Gray
from Samuel Pitoiset ee9811a0bb86d3d75fafeece368f6182048807d0 in mainline Mesa
2020-05-16Update to libXxf86dga 1.1.5Matthieu Herrb
2020-05-16Update to libXrandr 1.5.2Matthieu Herrb
2020-05-16Update to libxcb 1.14 and xcb-proto 1.14. ok tb@Matthieu Herrb
2020-04-03Remove #ifdef that doesn't make sense anymore; extend clang workaround toMark Kettenis
conver __sync_val_compare_and_swap. ok jsg@
2020-04-03Make this build on clang architectures that don't have 64-bit atomicMark Kettenis
instructions. Clang doesn't allow redeclaration (and therefore redefinition) of the __sync_* builtins. Use #pragma redefine_extname to work around that restriction. Clang also turns __sync_add_and_fetch into __sync_fetch_and_add (and __sync_sub_and_fetch into __sync_fetch_and_sub) in certain cases, so provide these functions as well. ok jsg@
2020-04-03test for 32 bit atomic builtins was incorrectly testing for 64 bit atomicsJonathan Gray
noticed when going over a macppc clang build error reported by deraadt@
2020-02-21add mips64, mips64el and powerpc to the list of archs with -O0 in CFLAGSJonathan Gray
builds were running out of memory requested by deraadt@
2020-02-20regenJonathan Gray
2020-02-20use futexes in Mesa on archs with atomicsJonathan Gray
tested by matthieu@ naddy@ and myself
2020-02-05Add sanity checks to futex_wait()Matthieu Herrb
- handle the NULL timeout pointer case - avoid negative cases. Suggested by cheloha@ ok cheloha@, jsg@
2020-02-04Fix absolute to relative timeout computation. ok jsg@, mpi@Matthieu Herrb
2020-01-30Zap stray #warning introduced in last commitJeremie Courreges-Anglas
Grrr, sorry about that.
2020-01-30Better checks for static_assert availabilityJeremie Courreges-Anglas
When not in c++ or c11 mode: - check for _Static_assert support in clang with __has_extension - gcc implements _Static_assert starting with 4.6.0 - as a fallback, use a forward decl instead of ((void)0) so that static_assert can be used at file scope (scope issue pointed out by guenther@) ok jsg@
2020-01-28Avoid _Static_assert in Mesa/libEGL on non-clang archsJeremie Courreges-Anglas
Temporary workaround while we find a better solution. Linking errors in ports reported by cwen@, "Please commit" jsg@
2020-01-26Update to libepoxy 1.5.4. ok jsg@Matthieu Herrb
2020-01-22fix some things which got broken in mergeJonathan Gray
2020-01-22add files generated by python scripts which stopped being shipped withJonathan Gray
distfiles when upstream removed autotools
2020-01-22add back autotools files removed upstreamJonathan Gray
2020-01-22Merge Mesa 19.2.8Jonathan Gray
2020-01-22Import Mesa 19.2.8Jonathan Gray
2020-01-14Oops fix previous.Matthieu Herrb
2020-01-14Remove support for XA_IP_ADDRESS from XmuConvertStandardSelection()Matthieu Herrb
This cause problems with pledged applications like xterm, as reported by Benjamin Baier and also lacks support for IPv6 as shown in Xorg bug #7611 https://bugs.freedesktop.org/show_bug.cgi?id=7611 Discussed with jca@ and deraadt@ and submitted upstreams
2020-01-14Update to libXmu 1.1.3Matthieu Herrb
2020-01-14Update to libXt 1.2.0. Tested by tb@Matthieu Herrb
2020-01-04Update to libXpm 3.5.13.Matthieu Herrb