Commit Graph

6751 Commits

Author SHA1 Message Date
visa
587f130e27 Fix Mesa build with clang 10 on mips64.
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-08-01 03:51:31 +00:00
matthieu
0a2f4bc72f fix for X Server Pixel Data Uninitialized Memory Information Disclosure
CVE-2020-14347

This vulnerability was discovered and reported to X.Org by Jan-Niklas
Sohn working with Trend Micro Zero Day Initiative.
2020-07-31 14:00:21 +00:00
matthieu
f22a219d59 Fixes for Heap corruption in the X input method client in libX11
CVE-2020-14344

These where reported to X.Org and patches proposed by Todd Carson.
Thanks.
2020-07-31 13:53:24 +00:00
matthieu
c7cbd7e332 Fix SHARED_LIBS 2020-07-19 17:10:17 +00:00
matthieu
297c23d57a update 2020-07-19 08:32:50 +00:00
deraadt
fd2decc482 sync 2020-07-17 22:26:17 +00:00
deraadt
b15a4619b2 sync 2020-07-17 22:21:21 +00:00
deraadt
36cc53a74e initial powerpc X sets 2020-07-17 18:34:01 +00:00
mglocker
861ff31951 Add white balance temperature control through 'w/W' keys.
From Laurence Tratt.

ok matthieu@
2020-07-17 07:51:23 +00:00
matthieu
a9988a58be update 2020-07-08 20:04:44 +00:00
matthieu
60b6a027d3 sync 2020-07-08 20:03:10 +00:00
matthieu
722049b7bf Unlink libxbui from the build. ok jsg@ 2020-07-08 20:01:53 +00:00
matthieu
ca0f9517a5 Start xconsole after setting the background.
Fixes an issue that causes xconsole to crash reported and fix tested
by Joe Gidi. Thanks.
2020-07-04 13:32:50 +00:00
feinerer
b0c69ca889 Initialize v4l2_requestbuffers for better libv4l compatibility
The VIDIOC_REQBUFS ioctl requires a v4l2_requestbuffers struct with the members
count, type, and memory. In the past only count was set as the uvideo(4) kernel
driver, via uvideo_reqbufs(), is ignoring both struct members type and memory
(pointed out by mpi@).

However, using video(1) with libv4l
(LD_PRELOAD=/usr/local/lib/v4l2convert.so video)
yields "mmap: Invalid argument" as libv4l inspects the type and memory
struct members and fails if memory != V4L2_MEMORY_MMAP.

Full initialization fixes libv4l usage which allows us to view video encodings
not directly supported by video(1), e.g., MJPEG, as libv4l can convert
encodings on the fly.

OK mglocker@
2020-07-01 06:45:24 +00:00
matthieu
5e486e4cdd Provide a lower contrast root weave as default background. 2020-06-28 15:40:48 +00:00
matthieu
c9b9b122b9 A darker login widget, providing better contrast.
liked by many.
2020-06-28 15:38:34 +00:00
matthieu
69040cca57 update 2020-06-27 09:07:12 +00:00
matthieu
6dd6f885f2 Update to freetype 2.10.2. Tested by krw@ and myself.
Adds supprot for WOFF2 fonts. No visible API/ABI changes.
2020-06-27 09:06:07 +00:00
jsg
cb3c6b9276 llvmpipe: use LLVM version string instead of re-computing it
From Eric Engestrom
7f5ef97a07d4054efb96f0d644344644023af82c in Mesa git

fixes llvmpipe renderer string showing "LLVM 16.0" with LLVM 10
2020-06-18 11:45:13 +00:00
jsg
597cbd6d39 Don't compare with string literals
From Dimitry Andric
e200d0d41ef3158ea717206c1490e499a0c07f1b in xkbcomp git

fixes build with clang 10
2020-06-18 09:04:14 +00:00
jsg
7b35d83e06 ac: fix build with recent LLVM
from Samuel Pitoiset
ee9811a0bb86d3d75fafeece368f6182048807d0 in mainline Mesa
2020-06-16 10:44:59 +00:00
matthieu
60964e1bb6 sync white space with upstream. No code change. 2020-06-14 16:02:38 +00:00
matthieu
1242f9054e Remove the (out of date) list of supported architectures. 2020-06-14 07:10:44 +00:00
jcs
6b6f912425 revert local change which removed -retro flag and adjust -br to
properly override our default behavior of stippled root.

no objection from deraadt and kettenis
2020-06-12 14:45:55 +00:00
matthieu
e151e26000 update 2020-06-07 13:40:50 +00:00
matthieu
6080f556ca Fix VT switching in EXA acceleration. 2020-05-16 14:18:52 +00:00
matthieu
25e39ca9f7 MFC: alpine: Default to 16bpp
24bpp support is going away, so since we can't do 32bpp and these cards
have basically no VRAM to begin with, drop to 16bpp.

Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2020-05-16 14:15:35 +00:00
matthieu
df4ceb2300 update 2020-05-16 09:59:01 +00:00
matthieu
39398c873c Update to xkbprint 1.0.5 2020-05-16 09:52:06 +00:00
matthieu
7c9d7b9aa7 missed README->README.md transition in 1.5.1 update. 2020-05-16 09:50:56 +00:00
matthieu
813522ca42 Update to xrandr 1.5.1 2020-05-16 09:49:44 +00:00
matthieu
8ff49d974a Update to libXxf86dga 1.1.5 2020-05-16 09:47:20 +00:00
matthieu
bf55aa2b59 Update to libXrandr 1.5.2 2020-05-16 09:45:24 +00:00
matthieu
bce19cf126 update 2020-05-16 08:50:37 +00:00
matthieu
35d1b2dbf3 sync 2020-05-16 08:50:21 +00:00
matthieu
0ed5a7f139 Update to libxcb 1.14 and xcb-proto 1.14. ok tb@ 2020-05-16 08:49:00 +00:00
matthieu
0d451cc2e3 sync 2020-04-28 07:05:59 +00:00
matthieu
39081bd51f Stop providing /usr/X11R6/README. It contains mostly oudated information
and few people found it. Discussed with schwwarze@, sthen@.
2020-04-28 07:04:49 +00:00
matthieu
7adfd269f8 update 2020-04-26 09:59:20 +00:00
tobias
c45f7648e9 Fixed memory leak in xu_get_strprop.
If a client calls XSetTextProperty for a window to clear all its
properties, then allocated memory within libX11 is not freed.

OK okan@
2020-04-25 20:07:28 +00:00
matthieu
ad9a065c46 Release unused filedescriptors in the privileged X server process.
There is no reason to keep /dev/pci* and /dev/ttyC* open in this process.
pointed to  by deraadt. ok kettenis@ deraadt@
2020-04-20 18:17:25 +00:00
matthieu
806accb3da Remove unused files. 2020-04-18 09:41:18 +00:00
tobias
493e33f3b9 Prevent out of boundary write with configuration files in which too many
quoted arguments are stored for other window managers.

The quotation handling happens within the while loop without checking if
the "end" limit has been already reached. If this happens, the final
NULL assignment leads to an out of boundary write on stack.

OK okan@
2020-04-16 17:12:49 +00:00
okan
831953a478 Allow configuring a percentage window size of the master window during
htile/vtile actions. From Uwe Werler, with a few manpage tweaks.
2020-04-16 13:32:35 +00:00
matthieu
ac0e12b4da dix: do not send focus event when grab actually does not change
upstream commit 364d64981549544213e2bca8de6ff8a5b2b5a69e

Fixes an issue in xserver 1.20 where some applications were loosing
focus. Naddy@ reported it appeards in SDL 1.2 games (burgerspace).

tested and ok naddy@
2020-04-14 17:29:21 +00:00
matthieu
e6ad4e6beb update 2020-04-13 08:29:18 +00:00
matthieu
9064f8eee5 Update to xserver 1.20.8. ok jsg@ robert@ 2020-04-13 08:06:58 +00:00
kettenis
b8fd44900b Remove #ifdef that doesn't make sense anymore; extend clang workaround to
conver __sync_val_compare_and_swap.

ok jsg@
2020-04-03 10:06:14 +00:00
kettenis
cd2d30e6df Make this build on clang architectures that don't have 64-bit atomic
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-03 07:26:18 +00:00
jsg
d1d3f7dcb4 test for 32 bit atomic builtins was incorrectly testing for 64 bit atomics
noticed when going over a macppc clang build error reported by deraadt@
2020-04-03 01:58:40 +00:00