jsg
af0d139433
drop local workarounds for gcc 4.2
2020-08-27 12:31:19 +00:00
jsg
3f2636fe13
build addrlib with -Wno-unused-variable matching meson build
2020-08-27 05:02:25 +00:00
jsg
9443087ef3
radv: Explicitly cast TIMESTAMP_NOT_READY value to uin32_t where needed.
...
From Oschowa
c310677a7563b1e2d97f8216be1d60cb21204eae in mainline mesa
reduces clang warnings
2020-08-27 04:29:06 +00:00
jsg
33e8c1dc61
aco: Use correct reference type in for-range-loop.
...
From Oschowa
663e8cb4e67f8b85186631c6a3719ed83da32151 in mainline mesa
reduces clang warnings
2020-08-27 04:26:48 +00:00
jsg
3d26db0194
aco: Don't std::move temporary object.
...
From Oschowa
7b1bc460fd6ae9bf5efeca62227bb05e0c50ee15 in mainline mesa
reduces clang warnings
2020-08-27 04:23:37 +00:00
jsg
bec5c196e7
aco: Don't declare 'Block' as class, but define as struct.
...
From Oschowa
536339b0dda33241d21a0e045681419ca46fc812 in mainline mesa
reduces clang warnings
2020-08-27 04:20:57 +00:00
jsg
952b4b274c
radv: Don't take absolute value of unsigned type.
...
From Oschowa
c2a778ef0f1720f9fb28afd40a791488648218d0 in mainline mesa
reduces clang warnings
2020-08-27 04:17:01 +00:00
jsg
d9428e1972
build with -Wno-typedef-redefinition
...
clang with -std=c99 generates warnings on typedef redefinition
likely unnoticed upstream as gcc does not do this
excessive amounts of warnings from vulkan driver headers pointed
out by deraadt@
2020-08-27 03:18:26 +00:00
jsg
dc127cd8fa
sync
2020-08-26 06:55:35 +00:00
jsg
d3580fdc06
crank glapi minor for new symbol
2020-08-26 06:54:57 +00:00
jsg
9f3ce83c68
adjust for files which are symlinks in distfile
2020-08-26 06:36:08 +00:00
jsg
7bc504799c
stop building Mesa on alpha hppa and landisk
...
a C++11 compiler is required and these archs don't have clang
ok deraadt@
2020-08-26 06:25:26 +00:00
jsg
a00174f921
sync
2020-08-26 06:17:30 +00:00
jsg
7a38a6d3be
update
2020-08-26 06:14:38 +00:00
jsg
6cd42bcb24
Merge Mesa 20.1.6
2020-08-26 06:02:31 +00:00
jsg
241b1c1308
Import Mesa 20.1.6
2020-08-26 05:26:37 +00:00
matthieu
69c74330d7
update
2020-08-25 16:04:57 +00:00
matthieu
bc29ab7850
Fix integer underflow in XRecordRegisterClients()
...
Reported by Jan-Niklas Sohn working with Trend Micro Zero Day Initiative.
2020-08-25 15:43:26 +00:00
matthieu
83d462e24d
Fix integer underflow in XkbSelectEvents()
...
Reported by Jan-Niklas Sohn working with Trend Micro Zero Day Initiative.
2020-08-25 15:42:52 +00:00
matthieu
77c86a2898
Fix an integer underflow in XIChangeHierarchy()
...
Reported by Jan-Niklas Sohn working with Trend Micro Zero Day Initiative.
2020-08-25 15:41:59 +00:00
matthieu
02b8f73518
Correct bounds checking in XkbSetNames()
...
Reported by Jan-Niklas Sohn working with Trend Micro Zero Day Initiative.
2020-08-25 15:40:59 +00:00
matthieu
c79b35190f
Fix an integer overflow in init_om() that could lead to a double free.
...
Reported by Jayden Rivers.
2020-08-25 15:39:58 +00:00
mglocker
79163eedae
Allow auto controls to be set back to auto mode explicitly.
...
From Laurence Tratt <laurie (at) tratt (dot) net>
2020-08-23 10:49:34 +00:00
matthieu
bb74146ca2
Fix a bug where some input clients can't connect to the input server.
...
FreeBSD bugzilla reference:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248549
2020-08-20 19:12:48 +00:00
matthieu
574495efdc
update
2020-08-16 15:59:10 +00:00
matthieu
f561a12735
Update to xkbcomp 1.4.3
2020-08-16 15:56:49 +00:00
mglocker
e1abe9d332
Allow the combination of '-dc' options, reset and display control values.
...
Reported by Laurence Tratt.
2020-08-11 05:35:17 +00:00
mglocker
0cbeaf0514
Remove braces for single line control statement.
2020-08-09 06:51:04 +00:00
mglocker
b1d26652c3
If a control supports auto mode and this is active, print 'auto' with -c
...
instead of printing the last set numeric value.
Initial diff from Laurence Tratt with some enhancements added.
2020-08-09 06:41:51 +00:00
matthieu
4c672aa51a
Merge from upstream X.Org : Fix size calculation in _XimAttributeToValue
...
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-06 14:28:54 +00:00
mglocker
044da0a592
Don't compare a pointer to a null character constant but to NULL.
...
With best regards from clang 10.
2020-08-05 11:34:00 +00:00
mglocker
4fa22cfd66
Add the ability to set and display video control values directly on the
...
CLI.
Initial diff from Laurence Tratt with some enhancements/changes added.
ok mpi@
2020-08-05 10:49:47 +00:00
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