CVS: cvs.openbsd.org: xenocara

2024-02-09 Thread Thomas Frohwein
CVSROOT:/cvs
Module name:xenocara
Changes by: t...@cvs.openbsd.org2024/02/09 06:17:54

Modified files:
lib/mesa/src/mesa/main: dlist.c 

Log message:
Fix off-by-one in dlist allocation when checking whether to allocate a
new block. This fixes segfaults in dlist functions that occur on
applications making heavy use of display lists that exceed BLOCK_SIZE.

ok jsg@ and stsp@, who also both helped me track down the issue.



CVS: cvs.openbsd.org: xenocara

2024-01-29 Thread Jonathan Gray
CVSROOT:/cvs
Module name:xenocara
Changes by: j...@cvs.openbsd.org2024/01/30 00:50:26

Modified files:
.  : 3RDPARTY 

Log message:
update



CVS: cvs.openbsd.org: xenocara

2024-01-29 Thread Jonathan Gray
CVSROOT:/cvs
Module name:xenocara
Changes by: j...@cvs.openbsd.org2024/01/29 23:18:20

Modified files:
distrib/sets/lists/xbase: md.amd64 md.arm64 md.armv7 md.i386 
  md.loongson md.macppc md.octeon 
  md.powerpc64 md.riscv64 md.sparc64 

Log message:
sync



CVS: cvs.openbsd.org: xenocara

2024-01-29 Thread Jonathan Gray
CVSROOT:/cvs
Module name:xenocara
Changes by: j...@cvs.openbsd.org2024/01/29 23:16:38

Modified files:
lib/libdrm : xf86drm.c xf86drm.h xf86drmMode.c xf86drmMode.h 
lib/libdrm/amdgpu: amdgpu_bo.c 
lib/libdrm/generated: generated_static_table_fourcc.h 
lib/libdrm/include/drm: drm.h 
lib/libdrm/mk/libdrm: shlib_version 
lib/libdrm/mk/libdrm_amdgpu: shlib_version 
lib/libdrm/radeon: radeon_surface.c 

Log message:
Merge libdrm 2.4.120



CVS: cvs.openbsd.org: xenocara

2024-01-29 Thread Jonathan Gray
CVSROOT:/cvs
Module name:xenocara
Changes by: j...@cvs.openbsd.org2024/01/29 23:12:16

Log message:
Import libdrm 2.4.120

Status:

Vendor Tag: libdrm
Release Tags:   libdrm_2_4_120

U xenocara/lib/libdrm/.editorconfig
U xenocara/lib/libdrm/.gitignore
U xenocara/lib/libdrm/.gitlab-ci.yml
U xenocara/lib/libdrm/Android.common.mk
U xenocara/lib/libdrm/Android.mk
U xenocara/lib/libdrm/CONTRIBUTING.rst
U xenocara/lib/libdrm/CleanSpec.mk
U xenocara/lib/libdrm/Makefile.sources
U xenocara/lib/libdrm/README.rst
U xenocara/lib/libdrm/RELEASING
U xenocara/lib/libdrm/core-symbols.txt
U xenocara/lib/libdrm/gen_table_fourcc.py
U xenocara/lib/libdrm/libdrm.pc.in
U xenocara/lib/libdrm/libdrm_lists.h
U xenocara/lib/libdrm/libdrm_macros.h
U xenocara/lib/libdrm/libsync.h
U xenocara/lib/libdrm/meson.build
U xenocara/lib/libdrm/meson_options.txt
U xenocara/lib/libdrm/symbols-check.py
U xenocara/lib/libdrm/util_double_list.h
U xenocara/lib/libdrm/util_math.h
U xenocara/lib/libdrm/xf86atomic.h
C xenocara/lib/libdrm/xf86drm.c
C xenocara/lib/libdrm/xf86drm.h
U xenocara/lib/libdrm/xf86drmHash.c
U xenocara/lib/libdrm/xf86drmHash.h
C xenocara/lib/libdrm/xf86drmMode.c
C xenocara/lib/libdrm/xf86drmMode.h
U xenocara/lib/libdrm/xf86drmRandom.c
U xenocara/lib/libdrm/xf86drmRandom.h
U xenocara/lib/libdrm/xf86drmSL.c
U xenocara/lib/libdrm/amdgpu/.editorconfig
U xenocara/lib/libdrm/amdgpu/Android.mk
U xenocara/lib/libdrm/amdgpu/Makefile.sources
U xenocara/lib/libdrm/amdgpu/amdgpu-symbols.txt
U xenocara/lib/libdrm/amdgpu/amdgpu.h
U xenocara/lib/libdrm/amdgpu/amdgpu_asic_id.c
C xenocara/lib/libdrm/amdgpu/amdgpu_bo.c
U xenocara/lib/libdrm/amdgpu/amdgpu_cs.c
U xenocara/lib/libdrm/amdgpu/amdgpu_device.c
U xenocara/lib/libdrm/amdgpu/amdgpu_gpu_info.c
U xenocara/lib/libdrm/amdgpu/amdgpu_internal.h
U xenocara/lib/libdrm/amdgpu/amdgpu_vamgr.c
U xenocara/lib/libdrm/amdgpu/amdgpu_vm.c
U xenocara/lib/libdrm/amdgpu/handle_table.c
U xenocara/lib/libdrm/amdgpu/handle_table.h
U xenocara/lib/libdrm/amdgpu/libdrm_amdgpu.pc.in
U xenocara/lib/libdrm/amdgpu/meson.build
U xenocara/lib/libdrm/android/gralloc_handle.h
U xenocara/lib/libdrm/data/Android.mk
U xenocara/lib/libdrm/data/amdgpu.ids
U xenocara/lib/libdrm/data/meson.build
U xenocara/lib/libdrm/etnaviv/Android.mk
U xenocara/lib/libdrm/etnaviv/Makefile.sources
U xenocara/lib/libdrm/etnaviv/etnaviv-symbols.txt
U xenocara/lib/libdrm/etnaviv/etnaviv_bo.c
U xenocara/lib/libdrm/etnaviv/etnaviv_bo_cache.c
U xenocara/lib/libdrm/etnaviv/etnaviv_cmd_stream.c
U xenocara/lib/libdrm/etnaviv/etnaviv_device.c
U xenocara/lib/libdrm/etnaviv/etnaviv_drm.h
U xenocara/lib/libdrm/etnaviv/etnaviv_drmif.h
U xenocara/lib/libdrm/etnaviv/etnaviv_gpu.c
U xenocara/lib/libdrm/etnaviv/etnaviv_perfmon.c
U xenocara/lib/libdrm/etnaviv/etnaviv_pipe.c
U xenocara/lib/libdrm/etnaviv/etnaviv_priv.h
U xenocara/lib/libdrm/etnaviv/libdrm_etnaviv.pc.in
U xenocara/lib/libdrm/etnaviv/meson.build
U xenocara/lib/libdrm/exynos/exynos-symbols.txt
U xenocara/lib/libdrm/exynos/exynos_drm.c
U xenocara/lib/libdrm/exynos/exynos_drm.h
U xenocara/lib/libdrm/exynos/exynos_drmif.h
U xenocara/lib/libdrm/exynos/exynos_fimg2d.c
U xenocara/lib/libdrm/exynos/exynos_fimg2d.h
U xenocara/lib/libdrm/exynos/fimg2d_reg.h
U xenocara/lib/libdrm/exynos/libdrm_exynos.pc.in
U xenocara/lib/libdrm/exynos/meson.build
U xenocara/lib/libdrm/freedreno/Android.mk
U xenocara/lib/libdrm/freedreno/Makefile.sources
U xenocara/lib/libdrm/freedreno/freedreno-symbols.txt
U xenocara/lib/libdrm/freedreno/freedreno_bo.c
U xenocara/lib/libdrm/freedreno/freedreno_bo_cache.c
U xenocara/lib/libdrm/freedreno/freedreno_device.c
U xenocara/lib/libdrm/freedreno/freedreno_drmif.h
U xenocara/lib/libdrm/freedreno/freedreno_pipe.c
U xenocara/lib/libdrm/freedreno/freedreno_priv.h
U xenocara/lib/libdrm/freedreno/freedreno_ringbuffer.c
U xenocara/lib/libdrm/freedreno/freedreno_ringbuffer.h
U xenocara/lib/libdrm/freedreno/libdrm_freedreno.pc.in
U xenocara/lib/libdrm/freedreno/meson.build
U xenocara/lib/libdrm/freedreno/kgsl/README
U xenocara/lib/libdrm/freedreno/kgsl/kgsl_bo.c
U xenocara/lib/libdrm/freedreno/kgsl/kgsl_device.c
U xenocara/lib/libdrm/freedreno/kgsl/kgsl_drm.h
U xenocara/lib/libdrm/freedreno/kgsl/kgsl_pipe.c
U xenocara/lib/libdrm/freedreno/kgsl/kgsl_priv.h
U xenocara/lib/libdrm/freedreno/kgsl/kgsl_ringbuffer.c
U xenocara/lib/libdrm/freedreno/kgsl/msm_kgsl.h
U xenocara/lib/libdrm/freedreno/msm/msm_bo.c
U xenocara/lib/libdrm/freedreno/msm/msm_device.c
U xenocara/lib/libdrm/freedreno/msm/msm_pipe.c
U xenocara/lib/libdrm/freedreno/msm/msm_priv.h
U 

CVS: cvs.openbsd.org: xenocara

2024-01-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/01/28 07:24:55

Modified files:
.  : MODULES 

Log message:
update



CVS: cvs.openbsd.org: xenocara

2024-01-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/01/28 07:01:27

Modified files:
app/xbiff  : ChangeLog Mailbox.c Makefile.in aclocal.m4 
 compile config.h.in configure configure.ac 
 install-sh xbiff.c 
app/xbiff/man  : Makefile.in xbiff.man 

Log message:
Update to xbiff 1.0.5



CVS: cvs.openbsd.org: xenocara

2024-01-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/01/28 07:00:32

Modified files:
app/xeyes  : ChangeLog Eyes.c Eyes.h EyesP.h Makefile.in 
 README.md aclocal.m4 config.h.in configure 
 configure.ac install-sh transform.h xeyes.c 
app/xeyes/man  : Makefile.in xeyes.man 

Log message:
Update to xeyes 1.3.0



CVS: cvs.openbsd.org: xenocara

2024-01-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/01/28 06:59:43

Modified files:
app/fonttosfnt : ChangeLog Makefile.in aclocal.m4 compile 
 config.h.in configure configure.ac fonttosfnt.c 
 fonttosfnt.h install-sh struct.c util.c write.c 
app/fonttosfnt/man: Makefile.in 

Log message:
Update to fonttosfnt 1.2.3



CVS: cvs.openbsd.org: xenocara

2024-01-28 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/01/28 02:58:05

Modified files:
xserver: ChangeLog configure configure.ac meson.build 
xserver/randr  : rrmonitor.c 

Log message:
Update to xserver 21.1.11.
All the security fixes have already been committed.



CVS: cvs.openbsd.org: xenocara

2024-01-22 Thread Claudio Jeker
CVSROOT:/cvs
Module name:xenocara
Changes by: clau...@cvs.openbsd.org 2024/01/22 03:13:34

Modified files:
app/xlockmore/xlock: privsep.c 

Log message:
Rewrite the privsep imsg code using the new ibuf API.

Properly wrap the imsg_read() / imsg_get() calls in a while loop.
Do not initialize the fd of the struct ibuf to -1 (this is already done).
Rewrite the imsg parser using imsg_get_ibuf(), ibuf_get and a local new
function ibuf_get_string() which abstracts the extraction of the strings
from the ibuf.
Properly clear and free the user, pass and style variables.

OK tb@ matthieu@



CVS: cvs.openbsd.org: xenocara

2024-01-19 Thread Mark Kettenis
CVSROOT:/cvs
Module name:xenocara
Changes by: kette...@cvs.openbsd.org2024/01/19 10:52:03

Modified files:
xserver/hw/xfree86/common: xf86AutoConfig.c 

Log message:
WSDISPLAY_TYPE_RKDRM was renamed to WSDISPLAY_TYPE_KMS



CVS: cvs.openbsd.org: xenocara

2024-01-16 Thread Mike Larkin
CVSROOT:/cvs
Module name:xenocara
Changes by: mlar...@cvs.openbsd.org 2024/01/16 12:09:37

Modified files:
xserver/Xi : Tag: OPENBSD_7_4 exevents.c xichangehierarchy.c 
 xiquerypointer.c 
xserver/dix: Tag: OPENBSD_7_4 devices.c enterleave.c 
xserver/glx: Tag: OPENBSD_7_4 glxcmds.c 
xserver/hw/kdrive/ephyr: Tag: OPENBSD_7_4 ephyrcursor.c 

Log message:
Fix multiple heap buffer overflows, out of bounds memory accesses and
memory corruption in the GLX, SELinux and Xi extensions as well as in
the main device and cursor handling code.
CVE-2023-6816 CVE-2024-0229 CVE-2024-21885 CVE-2024-21886
CVE-2024-0408 CVE-2024-0409

this is errata/7.4/012_xserver.patch.sig



CVS: cvs.openbsd.org: xenocara

2024-01-16 Thread Mike Larkin
CVSROOT:/cvs
Module name:xenocara
Changes by: mlar...@cvs.openbsd.org 2024/01/16 12:07:52

Modified files:
xserver/Xi : Tag: OPENBSD_7_3 exevents.c xichangehierarchy.c 
 xiquerypointer.c 
xserver/dix: Tag: OPENBSD_7_3 devices.c enterleave.c 
xserver/glx: Tag: OPENBSD_7_3 glxcmds.c 
xserver/hw/kdrive/ephyr: Tag: OPENBSD_7_3 ephyrcursor.c 

Log message:
Fix multiple heap buffer overflows, out of bounds memory accesses and
memory corruption in the GLX, SELinux and Xi extensions as well as in
the main device and cursor handling code.
CVE-2023-6816 CVE-2024-0229 CVE-2024-21885 CVE-2024-21886
CVE-2024-0408 CVE-2024-0409

this is errata/7.3/025_xserver.patch.sig



CVS: cvs.openbsd.org: xenocara

2024-01-16 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/01/16 06:14:26

Modified files:
.  : MODULES 3RDPARTY 

Log message:
update



CVS: cvs.openbsd.org: xenocara

2024-01-16 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/01/16 05:34:23

Modified files:
xserver/Xi : exevents.c xichangehierarchy.c xiquerypointer.c 
xserver/dix: devices.c enterleave.c 
xserver/glx: glxcmds.c 
xserver/hw/kdrive/ephyr: ephyrcursor.c 

Log message:
Multiple issues have been found in the X server and Xwayland
implementations:

1) CVE-2023-6816 can be triggered by passing an invalid array index to
DeviceFocusEvent or ProcXIQueryPointer.

2) CVE-2024-0229 can be triggered if a device has both a button and a
key class and zero buttons.

3) CVE-2024-21885 can be triggered if a device with a given ID was
removed and a new device with the same ID added both in the same
operation.

4) CVE-2024-21886 can be triggered by disabling a master device with
disabled slave devices.

5) CVE-2024-0409 can be triggered by enabling SELinux
xserver_object_manager and running a client.

6) CVE-2024-0408 can be triggered by enabling SELinux
xserver_object_manager and creating a GLX PBuffer.



CVS: cvs.openbsd.org: xenocara

2024-01-07 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/01/07 04:11:57

Modified files:
xserver: ChangeLog configure configure.ac meson.build 
xserver/hw/kdrive/ephyr: ephyrinit.c 

Log message:
Update xserver to 21.1.10.

The security fixes have already been committed.



CVS: cvs.openbsd.org: xenocara

2024-01-04 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2024/01/05 00:05:51

Modified files:
.  : 3RDPARTY MODULES 

Log message:
update



CVS: cvs.openbsd.org: xenocara

2023-12-19 Thread Todd C . Miller
CVSROOT:/cvs
Module name:xenocara
Changes by: mill...@cvs.openbsd.org 2023/12/19 13:31:21

Modified files:
app/xterm  : Makefile 

Log message:
Substitute "100" for __default_termid__ instead of "vt100".

The "vt" prefix is optional for the default terminal ID.
Fixes an instance of "vtvt100" in the installed man page.
OK matthieu@



CVS: cvs.openbsd.org: xenocara

2023-12-14 Thread Claudio Jeker
CVSROOT:/cvs
Module name:xenocara
Changes by: clau...@cvs.openbsd.org 2023/12/14 02:46:10

Modified files:
app/xlockmore/xlock: xlock.c 

Log message:
Replace another memset() with explicit_bzero() since the goal is the reason
why we have explicit_bzero().
OK matthieu@



CVS: cvs.openbsd.org: xenocara

2023-12-14 Thread Claudio Jeker
CVSROOT:/cvs
Module name:xenocara
Changes by: clau...@cvs.openbsd.org 2023/12/14 02:44:15

Modified files:
app/xlockmore/xlock: privsep.c 

Log message:
Use proper len in strndup() call for the style argument.
OK matthieu@



CVS: cvs.openbsd.org: xenocara

2023-12-12 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/12/13 00:04:30

Modified files:
xserver/randr  : Tag: OPENBSD_7_4 rrproperty.c 
 rrproviderproperty.c 

Log message:
randr: avoid integer truncation in length check of ProcRRChange*Property
CVE-2023-6478



CVS: cvs.openbsd.org: xenocara

2023-12-12 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/12/13 00:04:00

Modified files:
xserver/Xi : Tag: OPENBSD_7_4 exevents.c 
xserver/dix: Tag: OPENBSD_7_4 devices.c 

Log message:
Xi: allocate enough XkbActions for our buttons
CVE-2023-6377



CVS: cvs.openbsd.org: xenocara

2023-12-12 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/12/12 23:54:52

Modified files:
xserver/randr  : Tag: OPENBSD_7_3 rrproperty.c 
 rrproviderproperty.c 

Log message:
randr: avoid integer truncation in length check of ProcRRChange*Property
CVE-2023-6478



CVS: cvs.openbsd.org: xenocara

2023-12-12 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/12/12 23:50:41

Modified files:
xserver/Xi : Tag: OPENBSD_7_3 exevents.c 
xserver/dix: Tag: OPENBSD_7_3 devices.c 

Log message:
Xi: allocate enough XkbActions for our buttons
CVE-2023-6377



CVS: cvs.openbsd.org: xenocara

2023-12-12 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/12/12 23:34:18

Modified files:
xserver/Xi : exevents.c 

Log message:
The previous fix from X.Org was incorrect. This fixes it.
Xi: allocate enough XkbActions for our buttons
CVE-2023-6377



CVS: cvs.openbsd.org: xenocara

2023-12-12 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/12/12 23:21:57

Modified files:
xserver/randr  : rrproperty.c rrproviderproperty.c 

Log message:
randr: avoid integer truncation in length check of ProcRRChange*Property
CVE-2023-6478



CVS: cvs.openbsd.org: xenocara

2023-12-12 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/12/12 23:20:16

Modified files:
xserver/Xi : exevents.c 
xserver/dix: devices.c 

Log message:
Xi: allocate enough XkbActions for our buttons
CVE-2023-6377



CVS: cvs.openbsd.org: xenocara

2023-11-30 Thread Jonathan Gray
CVSROOT:/cvs
Module name:xenocara
Changes by: j...@cvs.openbsd.org2023/12/01 00:56:04

Modified files:
lib/mesa/src/gallium/drivers/r600/sfn: sfn_optimizer.cpp 

Log message:
r600/sfn: Don't try to re-use iterators when the set is made empty

>From Gert Wollny
c13de0509c43f9b9764dc939aa64fe70c6a80870 in mainline Mesa

fixes games/xonotic crash on r600 reported by edd@ on bugs@



CVS: cvs.openbsd.org: xenocara

2023-11-10 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/11/10 11:49:21

Modified files:
app/xenodm/config: TakeConsole.in GiveConsole.in 

Log message:
Add group handling to match fbtab(5). Suggested by and ok aja@



CVS: cvs.openbsd.org: xenocara

2023-11-09 Thread Jonathan Gray
CVSROOT:/cvs
Module name:xenocara
Changes by: j...@cvs.openbsd.org2023/11/09 20:59:40

Modified files:
lib/mesa   : meson.build 

Log message:
meson: use llvm-config instead of cmake to fix linking errors with meson 1.2.1

>From Marek Olsak
d11900d5e76922790de90ebfb89f918673759a88 in mainline Mesa



CVS: cvs.openbsd.org: xenocara

2023-10-29 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/10/29 11:29:07

Modified files:
.  : MODULES 3RDPARTY 

Log message:
update



CVS: cvs.openbsd.org: xenocara

2023-10-29 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/10/29 11:11:00

Modified files:
lib/libXrandr  : ChangeLog configure configure.ac 
lib/libXrandr/man: Makefile.am Makefile.in 
lib/libXrandr/src: XrrMonitor.c 
Added files:
lib/libXrandr/m4: libtool.m4 ltoptions.m4 ltsugar.m4 
  ltversion.m4 lt~obsolete.m4 

Log message:
Update to libXrandr 1.5.4



CVS: cvs.openbsd.org: xenocara

2023-10-29 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/10/29 11:10:21

xenocara/lib/libXrandr/m4

Update of /cvs/xenocara/lib/libXrandr/m4
In directory cvs.openbsd.org:/tmp/cvs-serv68159/m4

Log Message:
Directory /cvs/xenocara/lib/libXrandr/m4 added to the repository



CVS: cvs.openbsd.org: xenocara

2023-10-29 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/10/29 10:45:39

Modified files:
xserver: ChangeLog Makefile.in aclocal.m4 configure 
 configure.ac install-sh meson.build 
xserver/Xext   : Makefile.in 
xserver/Xi : Makefile.in 
xserver/composite: Makefile.in 
xserver/config : Makefile.in 
xserver/damageext: Makefile.in 
xserver/dbe: Makefile.in 
xserver/dix: Makefile.in 
xserver/doc: Makefile.in 
xserver/doc/dtrace: Makefile.in 
xserver/dri3   : Makefile.in 
xserver/exa: Makefile.in 
xserver/fb : Makefile.in 
xserver/glamor : Makefile.in 
xserver/glx: Makefile.in 
xserver/hw : Makefile.in 
xserver/hw/kdrive: Makefile.in 
xserver/hw/kdrive/ephyr: Makefile.in 
xserver/hw/kdrive/ephyr/man: Makefile.in 
xserver/hw/kdrive/src: Makefile.in 
xserver/hw/vfb : Makefile.in 
xserver/hw/vfb/man: Makefile.in 
xserver/hw/xfree86: Makefile.in 
xserver/hw/xfree86/common: Makefile.in 
xserver/hw/xfree86/ddc: Makefile.in 
xserver/hw/xfree86/dixmods: Makefile.in 
xserver/hw/xfree86/doc: Makefile.in 
xserver/hw/xfree86/dri: Makefile.in 
xserver/hw/xfree86/dri2: Makefile.in 
xserver/hw/xfree86/dri2/pci_ids: Makefile.in 
xserver/hw/xfree86/drivers: Makefile.in 
xserver/hw/xfree86/drivers/inputtest: Makefile.in 
xserver/hw/xfree86/drivers/modesetting: Makefile.in 
xserver/hw/xfree86/exa: Makefile.in 
xserver/hw/xfree86/exa/man: Makefile.in 
xserver/hw/xfree86/fbdevhw: Makefile.in 
xserver/hw/xfree86/fbdevhw/man: Makefile.in 
xserver/hw/xfree86/glamor_egl: Makefile.in 
xserver/hw/xfree86/i2c: Makefile.in 
xserver/hw/xfree86/int10: Makefile.in 
xserver/hw/xfree86/loader: Makefile.in 
xserver/hw/xfree86/man: Makefile.in 
xserver/hw/xfree86/modes: Makefile.in 
xserver/hw/xfree86/os-support: Makefile.in 
xserver/hw/xfree86/os-support/bsd: Makefile.in 
xserver/hw/xfree86/os-support/bus: Makefile.in 
xserver/hw/xfree86/os-support/hurd: Makefile.in 
xserver/hw/xfree86/os-support/linux: Makefile.in 
xserver/hw/xfree86/os-support/misc: Makefile.in 
xserver/hw/xfree86/os-support/solaris: Makefile.in 
xserver/hw/xfree86/os-support/stub: Makefile.in 
xserver/hw/xfree86/parser: Makefile.in 
xserver/hw/xfree86/ramdac: Makefile.in 
xserver/hw/xfree86/shadowfb: Makefile.in 
xserver/hw/xfree86/utils: Makefile.in 
xserver/hw/xfree86/utils/gtf: Makefile.in 
xserver/hw/xfree86/utils/man: Makefile.in 
xserver/hw/xfree86/vgahw: Makefile.in 
xserver/hw/xfree86/x86emu: Makefile.in 
xserver/hw/xfree86/xkb: Makefile.in 
xserver/hw/xnest: Makefile.in 
xserver/hw/xnest/man: Makefile.in 
xserver/hw/xquartz: Makefile.in 
xserver/hw/xquartz/GL: Makefile.in 
xserver/hw/xquartz/bundle: Makefile.in 
xserver/hw/xquartz/mach-startup: Makefile.in 
xserver/hw/xquartz/man: Makefile.in 
xserver/hw/xquartz/pbproxy: Makefile.in 
xserver/hw/xquartz/xpr: Makefile.in 
xserver/hw/xwin: Makefile.in 
xserver/hw/xwin/dri: Makefile.in 
xserver/hw/xwin/glx: Makefile.in 
xserver/hw/xwin/man: Makefile.in 
xserver/hw/xwin/winclipboard: Makefile.in 
xserver/include: Makefile.in do-not-use-config.h.in os.h 
xserver/man: Makefile.in 
xserver/mi : Makefile.in 
xserver/miext  : Makefile.in 
xserver/miext/damage: Makefile.in 
xserver/miext/rootless: Makefile.in 
xserver/miext/shadow: Makefile.in 
xserver/miext/sync: Makefile.in 
xserver/os : Makefile.in auth.c 
xserver/present: Makefile.in present_event.c present_priv.h 
 present_screen.c 
xserver/pseudoramiX: Makefile.in 
xserver/randr  : Makefile.in 
xserver/record : Makefile.in 
xserver/render : Makefile.in 
xserver/test   : Makefile.in 
xserver/xfixes : Makefile.in 
xserver/xkb: Makefile.in 

Log message:
Update to xserver 21.1.9.

All the security patches have already been committed.
Udated autoconf to 2.71 explains the large build infrastructure diff.



CVS: cvs.openbsd.org: xenocara

2023-10-29 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/10/29 10:17:22

Modified files:
proto/xorgproto: COPYING-compositeproto COPYING-evieproto 
 COPYING-fixesproto COPYING-printproto 
 COPYING-x11proto Makefile.am aclocal.m4 
 configure configure.ac dri3proto.txt 
 fixesproto.pc.in fixesproto.txt meson.build 
 presentproto.pc.in presentproto.txt 
 randrproto.txt 
proto/xorgproto/include/X11: Sunkeysym.h Xfuncproto.h Xos.h 
 keysymdef.h 
proto/xorgproto/include/X11/extensions: Print.h Printstr.h 
XvMCproto.h composite.h 
compositeproto.h 
evieproto.h 
presenttokens.h 
xfixesproto.h 
xfixeswire.h 

Log message:
Update to xorgproto 2023.2



CVS: cvs.openbsd.org: xenocara

2023-10-25 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:xenocara
Changes by: bl...@cvs.openbsd.org   2023/10/25 02:14:42

Modified files:
xserver/Xi : Tag: OPENBSD_7_3 xiproperty.c 
xserver/dix: Tag: OPENBSD_7_3 enterleave.h 
xserver/fb : Tag: OPENBSD_7_3 fb.h fbscreen.c 
xserver/hw/vfb : Tag: OPENBSD_7_3 InitOutput.c 
xserver/include: Tag: OPENBSD_7_3 eventstr.h 
xserver/mi : Tag: OPENBSD_7_3 mipointer.c miscrinit.c 
xserver/randr  : Tag: OPENBSD_7_3 rrproperty.c 

Log message:
Fix several input validation errors in the X server
CVE-2023-5367 CVE-2023-5380 CVE-2023-5574
from matthieu@

this is errata/7.3/018_xserver.patch.sig



CVS: cvs.openbsd.org: xenocara

2023-10-25 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:xenocara
Changes by: bl...@cvs.openbsd.org   2023/10/25 02:13:24

Modified files:
xserver/Xi : Tag: OPENBSD_7_4 xiproperty.c 
xserver/dix: Tag: OPENBSD_7_4 enterleave.h 
xserver/fb : Tag: OPENBSD_7_4 fb.h fbscreen.c 
xserver/hw/vfb : Tag: OPENBSD_7_4 InitOutput.c 
xserver/include: Tag: OPENBSD_7_4 eventstr.h 
xserver/mi : Tag: OPENBSD_7_4 mipointer.c miscrinit.c 
xserver/randr  : Tag: OPENBSD_7_4 rrproperty.c 

Log message:
Fix several input validation errors in the X server
CVE-2023-5367 CVE-2023-5380 CVE-2023-5574
from matthieu@

this is errata/7.4/001_xserver.patch.sig



CVS: cvs.openbsd.org: xenocara

2023-10-24 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/10/24 23:16:40

Modified files:
xserver/Xi : xiproperty.c 
xserver/dix: enterleave.h 
xserver/fb : fb.h fbscreen.c 
xserver/hw/vfb : InitOutput.c 
xserver/include: eventstr.h 
xserver/mi : mipointer.c miscrinit.c 
xserver/randr  : rrproperty.c 

Log message:
Fix several input validation errors in the X server
CVE-2023-5367 CVE-2023-5380 CVE-2023-5574



CVS: cvs.openbsd.org: xenocara

2023-10-17 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/10/17 07:08:36

Modified files:
distrib/sets/lists/xbase: mi 

Log message:
sync



CVS: cvs.openbsd.org: xenocara

2023-10-17 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/10/17 07:08:08

Modified files:
lib/libXaw : Makefile.bsd-wrapper 

Log message:
Bump major version after libXpm bump



CVS: cvs.openbsd.org: xenocara

2023-10-17 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/10/17 07:07:33

Modified files:
lib/libXpm : ChangeLog Makefile.bsd-wrapper configure.ac 
lib/libXpm/include/X11: xpm.h 
lib/libXpm/m4  : libtool.m4 
lib/libXpm/src : RdFToBuf.c RdFToI.c WrFFrBuf.c WrFFrI.c XpmI.h 
 rgb.c 
lib/libXpm/test: TestAllFiles.h XpmRead.c XpmWrite.c rgb.c 
Removed files:
lib/libXpm : CHANGES 

Log message:
Update libXpm to version 3.5.17. ok tb@



CVS: cvs.openbsd.org: xenocara

2023-10-12 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/10/12 13:30:50

Modified files:
.  : MODULES 3RDPARTY 

Log message:
update



CVS: cvs.openbsd.org: xenocara

2023-10-03 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:xenocara
Changes by: bl...@cvs.openbsd.org   2023/10/03 10:01:10

Modified files:
lib/libX11/src : Tag: OPENBSD_7_2 CrPixmap.c ImUtil.c PutImage.c 
lib/libX11/src/xkb: Tag: OPENBSD_7_2 XKBGetMap.c 
lib/libXpm/src : Tag: OPENBSD_7_2 CrPFrBuf.c CrPFrDat.c CrPFrI.c 
 RdFToP.c XpmI.h create.c data.c 

Log message:
Fix several input validation errors in libX11 and libXpm.
CVE-2023-43785 CVE-2023-43786 CVE-2023-43787 CVE-2023-43788 CVE-2023-43789

this is errata/7.2/039_xlibs.patch.sig



CVS: cvs.openbsd.org: xenocara

2023-10-03 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:xenocara
Changes by: bl...@cvs.openbsd.org   2023/10/03 09:58:51

Modified files:
lib/libX11/src : Tag: OPENBSD_7_3 CrPixmap.c ImUtil.c PutImage.c 
lib/libX11/src/xkb: Tag: OPENBSD_7_3 XKBGetMap.c 
lib/libXpm/src : Tag: OPENBSD_7_3 CrPFrBuf.c CrPFrDat.c CrPFrI.c 
 RdFToP.c XpmI.h create.c data.c 

Log message:
Fix several input validation errors in libX11 and libXpm.
CVE-2023-43785 CVE-2023-43786 CVE-2023-43787 CVE-2023-43788 CVE-2023-43789

this is errata/7.3/017_xlibs.patch.sig



CVS: cvs.openbsd.org: xenocara

2023-10-03 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:xenocara
Changes by: bl...@cvs.openbsd.org   2023/10/03 09:55:58

Modified files:
lib/libX11/src : CrPixmap.c ImUtil.c PutImage.c 
lib/libX11/src/xkb: XKBGetMap.c 
lib/libXpm/src : CrPFrBuf.c CrPFrDat.c CrPFrI.c RdFToP.c XpmI.h 
 create.c data.c 

Log message:
Fix several input validation errors in libX11 and libXpm.
CVE-2023-43785 CVE-2023-43786 CVE-2023-43787 CVE-2023-43788 CVE-2023-43789



CVS: cvs.openbsd.org: xenocara

2023-09-20 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/09/20 12:27:00

Modified files:
xserver/glamor : glamor_xv.c 

Log message:
Fix out of bounds write in glamor_xv_query_image_attributes for NV12
image format. This is a format with num_planes == 2, so we have only 2
elements in offsets[] and pitches[].

Bug found by otto@ using his strict malloc checking.



CVS: cvs.openbsd.org: xenocara

2023-09-07 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/09/07 23:44:27

Modified files:
driver/xf86-video-amdgpu/src: amdgpu_present.c drmmode_display.h 
xserver/glamor : glamor.h glamor_egl.c 

Log message:
Revert previous:
unbreak build with clang-16 by fixing up function definitions to match
the whole CARD64 vs uint64_t issue needs more thinking.
Suggested by kettenis@



CVS: cvs.openbsd.org: xenocara

2023-09-07 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/09/07 23:40:10

Modified files:
proto/xorgproto/include/X11: Xmd.h 

Log message:
Revert previous. Needs more thinking. suggested by kettenis@



Re: CVS: cvs.openbsd.org: xenocara

2023-09-07 Thread Matthieu Herrb
On Thu, Sep 07, 2023 at 03:54:21PM -0600, Matthieu Herrb wrote:
> CVSROOT:  /cvs
> Module name:  xenocara
> Changes by:   matth...@cvs.openbsd.org2023/09/07 15:54:21
> 
> Modified files:
>   proto/xorgproto/include/X11: Xmd.h 
> 
> Log message:
> Fix the build after recent CARD64 / unsigned long fises for llvm 16
> 
> There are many places in X drivers where CARD64 is used mixed with uint64_t
> and CARD32 mixed with uint32_t.
> Initially the CARD* types were only meant to be used in the X protocol
> definition and implementation. Later they got used in driver for fixed-
> length unsigned integers as synonyms for uintxx_t types.
> Unfortunatly on OpenBSD the definition of uint64_t and CARD64 don't match.
> So take the bull by the horns and fix the CARDxx definitions using the
> corresponding uintxx_t types from stdint.h.
> 
this was ok tb@
-- 
Matthieu Herrb



CVS: cvs.openbsd.org: xenocara

2023-09-07 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/09/07 15:54:21

Modified files:
proto/xorgproto/include/X11: Xmd.h 

Log message:
Fix the build after recent CARD64 / unsigned long fises for llvm 16

There are many places in X drivers where CARD64 is used mixed with uint64_t
and CARD32 mixed with uint32_t.
Initially the CARD* types were only meant to be used in the X protocol
definition and implementation. Later they got used in driver for fixed-
length unsigned integers as synonyms for uintxx_t types.
Unfortunatly on OpenBSD the definition of uint64_t and CARD64 don't match.
So take the bull by the horns and fix the CARDxx definitions using the
corresponding uintxx_t types from stdint.h.



Re: CVS: cvs.openbsd.org: xenocara

2023-09-07 Thread Theo Buehler
On Thu, Sep 07, 2023 at 10:02:12PM +0200, Matthieu Herrb wrote:
> On Thu, Sep 07, 2023 at 05:24:56PM +0200, Matthieu Herrb wrote:
> > On Thu, Sep 07, 2023 at 07:11:40AM +0200, Anton Lindqvist wrote:
> > > On Wed, Sep 06, 2023 at 05:42:37AM -0600, Robert Nagy wrote:
> > > > CVSROOT:/cvs
> > > > Module name:xenocara
> > > > Changes by: rob...@cvs.openbsd.org  2023/09/06 05:42:37
> > > > 
> > > > Modified files:
> > > > driver/xf86-video-amdgpu/src: amdgpu_present.c 
> > > > drmmode_display.h 
> > > > xserver/glamor : glamor.h glamor_egl.c 
> > > > 
> > > > Log message:
> > > > unbreak build with clang-16 by fixing up function definitions to match
> > > > 
> > > > our uint64_t is an unsinged long long, but CARD64 is defined as 
> > > > unsigned long
> > > > so the function pointer types in both glamor and xf86-video-amdgpu were
> > > > mismatched and clang-16 treats that as an error
> > > > 
> > > > ok matthieu@
> > > 
> > > This broke the tree. Here's a potential fix.
> > 
> > Hmm no, this one reverts parts of the llvm 16 diffs.
> > 
> > What about this that gets rid of CARD64 completely in this context ?
> > 
> > hint for the X developpers: CARD64 and friends are normally reserved
> > for the X protocol specification and implementation
> > 
> > All other uses as cheap substites for uint64_t or similar are just
> > historical artefacts from an era where there was no standard integer
> > types with known fixed lengths.
> 
> This is still not enough.
> 
> I've deciced to cure the problem at its root.
> 
> Whith this patch, the tree builds with both base llvm and llvm 16 on
> amd64. I've started a build i386 to double check 32 bit arches.
> 
> And it will allow to revert some other patches to reduce the number of
> local changes. I also think that it has some chances to be accepted
> upstreams.
> 
> basically just define the CARDnn types in terms on uint_nn everywhere.
> Like for signal.h all systems still supported by X have stdint and the
> uintnn_t types.
> 

If this builds please land it.

> 
> Index: proto/xorgproto/include/X11/Xmd.h
> ===
> RCS file: /local/cvs/xenocara/proto/xorgproto/include/X11/Xmd.h,v
> retrieving revision 1.2
> diff -u -p -u -r1.2 Xmd.h
> --- proto/xorgproto/include/X11/Xmd.h 11 Nov 2021 08:55:42 -  1.2
> +++ proto/xorgproto/include/X11/Xmd.h 7 Sep 2023 16:20:01 -
> @@ -57,6 +57,8 @@ SOFTWARE.
>  #  include  /* Solaris: defines _LP64 if necessary */
>  # endif
>  
> +#include 
> +
>  #if defined(__SIZEOF_LONG__)
>  # if __SIZEOF_LONG__ == 8
>  #  define LONG64 /* 32/64-bit architecture */
> @@ -107,15 +109,10 @@ typedef short INT16;
>  
>  typedef signed charINT8;
>  
> -# ifdef LONG64
> -typedef unsigned long CARD64;
> -typedef unsigned int CARD32;
> -# else
> -typedef unsigned long long CARD64;
> -typedef unsigned long CARD32;
> -# endif
> -typedef unsigned short CARD16;
> -typedef unsigned char  CARD8;
> +typedef uint64_t CARD64;
> +typedef uint32_t CARD32;
> +typedef uint16_t CARD16;
> +typedef uint8_t  CARD8;
>  
>  typedef CARD32   BITS32;
>  typedef CARD16   BITS16;
> 
> > 
> > Index: src/drmmode_display.c
> > ===
> > RCS file: 
> > /local/cvs/xenocara/driver/xf86-video-amdgpu/src/drmmode_display.c,v
> > retrieving revision 1.4
> > diff -u -p -u -r1.4 drmmode_display.c
> > --- src/drmmode_display.c   5 Dec 2022 16:41:17 -   1.4
> > +++ src/drmmode_display.c   7 Sep 2023 15:20:36 -
> > @@ -197,7 +197,7 @@ drmmode_wait_vblank(xf86CrtcPtr crtc, dr
> >   * version and DRM kernel module configuration, the vblank
> >   * timestamp can either be in real time or monotonic time
> >   */
> > -int drmmode_get_current_ust(int drm_fd, CARD64 * ust)
> > +int drmmode_get_current_ust(int drm_fd, uint64_t * ust)
> >  {
> > uint64_t cap_value;
> > int ret;
> > @@ -211,14 +211,14 @@ int drmmode_get_current_ust(int drm_fd, 
> > ret = clock_gettime(CLOCK_MONOTONIC, );
> > if (ret)
> > return ret;
> > -   *ust = ((CARD64) now.tv_sec * 100) + ((CARD64) now.tv_nsec / 1000);
> > +   *ust = ((uint64_t) now.tv_sec * 100) + ((uint64_t) now.tv_nsec / 
> > 1000);
> > return 0;
> >  }
> >  
> >  /*
> >   * Get current frame count and frame count timestamp of the crtc.
> >   */
> > -int drmmode_crtc_get_ust_msc(xf86CrtcPtr crtc, CARD64 *ust, CARD64 *msc)
> > +int drmmode_crtc_get_ust_msc(xf86CrtcPtr crtc, uint64_t *ust, uint64_t 
> > *msc)
> >  {
> > ScrnInfoPtr scrn = crtc->scrn;
> > uint32_t seq;
> > @@ -303,7 +303,7 @@ drmmode_do_crtc_dpms(xf86CrtcPtr crtc, i
> > drmmode_crtc_private_ptr drmmode_crtc = crtc->driver_private;
> > ScrnInfoPtr scrn = crtc->scrn;
> > AMDGPUEntPtr pAMDGPUEnt = AMDGPUEntPriv(scrn);
> > -   CARD64 ust;
> > +   uint64_t ust;
> > int ret;
> >  
> > if 

Re: CVS: cvs.openbsd.org: xenocara

2023-09-07 Thread Matthieu Herrb
On Thu, Sep 07, 2023 at 05:24:56PM +0200, Matthieu Herrb wrote:
> On Thu, Sep 07, 2023 at 07:11:40AM +0200, Anton Lindqvist wrote:
> > On Wed, Sep 06, 2023 at 05:42:37AM -0600, Robert Nagy wrote:
> > > CVSROOT:  /cvs
> > > Module name:  xenocara
> > > Changes by:   rob...@cvs.openbsd.org  2023/09/06 05:42:37
> > > 
> > > Modified files:
> > >   driver/xf86-video-amdgpu/src: amdgpu_present.c drmmode_display.h 
> > >   xserver/glamor : glamor.h glamor_egl.c 
> > > 
> > > Log message:
> > > unbreak build with clang-16 by fixing up function definitions to match
> > > 
> > > our uint64_t is an unsinged long long, but CARD64 is defined as unsigned 
> > > long
> > > so the function pointer types in both glamor and xf86-video-amdgpu were
> > > mismatched and clang-16 treats that as an error
> > > 
> > > ok matthieu@
> > 
> > This broke the tree. Here's a potential fix.
> 
> Hmm no, this one reverts parts of the llvm 16 diffs.
> 
> What about this that gets rid of CARD64 completely in this context ?
> 
> hint for the X developpers: CARD64 and friends are normally reserved
> for the X protocol specification and implementation
> 
> All other uses as cheap substites for uint64_t or similar are just
> historical artefacts from an era where there was no standard integer
> types with known fixed lengths.

This is still not enough.

I've deciced to cure the problem at its root.

Whith this patch, the tree builds with both base llvm and llvm 16 on
amd64. I've started a build i386 to double check 32 bit arches.

And it will allow to revert some other patches to reduce the number of
local changes. I also think that it has some chances to be accepted
upstreams.

basically just define the CARDnn types in terms on uint_nn everywhere.
Like for signal.h all systems still supported by X have stdint and the
uintnn_t types.


Index: proto/xorgproto/include/X11/Xmd.h
===
RCS file: /local/cvs/xenocara/proto/xorgproto/include/X11/Xmd.h,v
retrieving revision 1.2
diff -u -p -u -r1.2 Xmd.h
--- proto/xorgproto/include/X11/Xmd.h   11 Nov 2021 08:55:42 -  1.2
+++ proto/xorgproto/include/X11/Xmd.h   7 Sep 2023 16:20:01 -
@@ -57,6 +57,8 @@ SOFTWARE.
 #  include  /* Solaris: defines _LP64 if necessary */
 # endif
 
+#include 
+
 #if defined(__SIZEOF_LONG__)
 # if __SIZEOF_LONG__ == 8
 #  define LONG64   /* 32/64-bit architecture */
@@ -107,15 +109,10 @@ typedef short INT16;
 
 typedef signed charINT8;
 
-# ifdef LONG64
-typedef unsigned long CARD64;
-typedef unsigned int CARD32;
-# else
-typedef unsigned long long CARD64;
-typedef unsigned long CARD32;
-# endif
-typedef unsigned short CARD16;
-typedef unsigned char  CARD8;
+typedef uint64_t CARD64;
+typedef uint32_t CARD32;
+typedef uint16_t CARD16;
+typedef uint8_t  CARD8;
 
 typedef CARD32 BITS32;
 typedef CARD16 BITS16;

> 
> Index: src/drmmode_display.c
> ===
> RCS file: /local/cvs/xenocara/driver/xf86-video-amdgpu/src/drmmode_display.c,v
> retrieving revision 1.4
> diff -u -p -u -r1.4 drmmode_display.c
> --- src/drmmode_display.c 5 Dec 2022 16:41:17 -   1.4
> +++ src/drmmode_display.c 7 Sep 2023 15:20:36 -
> @@ -197,7 +197,7 @@ drmmode_wait_vblank(xf86CrtcPtr crtc, dr
>   * version and DRM kernel module configuration, the vblank
>   * timestamp can either be in real time or monotonic time
>   */
> -int drmmode_get_current_ust(int drm_fd, CARD64 * ust)
> +int drmmode_get_current_ust(int drm_fd, uint64_t * ust)
>  {
>   uint64_t cap_value;
>   int ret;
> @@ -211,14 +211,14 @@ int drmmode_get_current_ust(int drm_fd, 
>   ret = clock_gettime(CLOCK_MONOTONIC, );
>   if (ret)
>   return ret;
> - *ust = ((CARD64) now.tv_sec * 100) + ((CARD64) now.tv_nsec / 1000);
> + *ust = ((uint64_t) now.tv_sec * 100) + ((uint64_t) now.tv_nsec / 
> 1000);
>   return 0;
>  }
>  
>  /*
>   * Get current frame count and frame count timestamp of the crtc.
>   */
> -int drmmode_crtc_get_ust_msc(xf86CrtcPtr crtc, CARD64 *ust, CARD64 *msc)
> +int drmmode_crtc_get_ust_msc(xf86CrtcPtr crtc, uint64_t *ust, uint64_t *msc)
>  {
>   ScrnInfoPtr scrn = crtc->scrn;
>   uint32_t seq;
> @@ -303,7 +303,7 @@ drmmode_do_crtc_dpms(xf86CrtcPtr crtc, i
>   drmmode_crtc_private_ptr drmmode_crtc = crtc->driver_private;
>   ScrnInfoPtr scrn = crtc->scrn;
>   AMDGPUEntPtr pAMDGPUEnt = AMDGPUEntPriv(scrn);
> - CARD64 ust;
> + uint64_t ust;
>   int ret;
>  
>   if (drmmode_crtc->dpms_mode == DPMSModeOn && mode != DPMSModeOn) {
> @@ -321,7 +321,7 @@ drmmode_do_crtc_dpms(xf86CrtcPtr crtc, i
>  "%s cannot get last vblank counter\n",
>  __func__);
>   else {
> - CARD64 nominal_frame_rate, pix_in_frame;
> + uint64_t 

Re: CVS: cvs.openbsd.org: xenocara

2023-09-07 Thread Anton Lindqvist
On Thu, Sep 07, 2023 at 05:24:35PM +0200, Matthieu Herrb wrote:
> On Thu, Sep 07, 2023 at 07:11:40AM +0200, Anton Lindqvist wrote:
> > On Wed, Sep 06, 2023 at 05:42:37AM -0600, Robert Nagy wrote:
> > > CVSROOT:  /cvs
> > > Module name:  xenocara
> > > Changes by:   rob...@cvs.openbsd.org  2023/09/06 05:42:37
> > > 
> > > Modified files:
> > >   driver/xf86-video-amdgpu/src: amdgpu_present.c drmmode_display.h 
> > >   xserver/glamor : glamor.h glamor_egl.c 
> > > 
> > > Log message:
> > > unbreak build with clang-16 by fixing up function definitions to match
> > > 
> > > our uint64_t is an unsinged long long, but CARD64 is defined as unsigned 
> > > long
> > > so the function pointer types in both glamor and xf86-video-amdgpu were
> > > mismatched and clang-16 treats that as an error
> > > 
> > > ok matthieu@
> > 
> > This broke the tree. Here's a potential fix.
> 
> Hmm no, this one reverts parts of the llvm 16 diffs.
> 
> What about this that gets rid of CARD64 completely in this context ?
> 
> hint for the X developpers: CARD64 and friends are normally reserved
> for the X protocol specification and implementation
> 
> All other uses as cheap substites for uint64_t or similar are just
> historical artefacts from an era where there was no standard integer
> types with known fixed lengths.

ok anton@ fwiw



Re: CVS: cvs.openbsd.org: xenocara

2023-09-07 Thread Matthieu Herrb
On Thu, Sep 07, 2023 at 07:11:40AM +0200, Anton Lindqvist wrote:
> On Wed, Sep 06, 2023 at 05:42:37AM -0600, Robert Nagy wrote:
> > CVSROOT:/cvs
> > Module name:xenocara
> > Changes by: rob...@cvs.openbsd.org  2023/09/06 05:42:37
> > 
> > Modified files:
> > driver/xf86-video-amdgpu/src: amdgpu_present.c drmmode_display.h 
> > xserver/glamor : glamor.h glamor_egl.c 
> > 
> > Log message:
> > unbreak build with clang-16 by fixing up function definitions to match
> > 
> > our uint64_t is an unsinged long long, but CARD64 is defined as unsigned 
> > long
> > so the function pointer types in both glamor and xf86-video-amdgpu were
> > mismatched and clang-16 treats that as an error
> > 
> > ok matthieu@
> 
> This broke the tree. Here's a potential fix.

Hmm no, this one reverts parts of the llvm 16 diffs.

What about this that gets rid of CARD64 completely in this context ?

hint for the X developpers: CARD64 and friends are normally reserved
for the X protocol specification and implementation

All other uses as cheap substites for uint64_t or similar are just
historical artefacts from an era where there was no standard integer
types with known fixed lengths.

Index: src/drmmode_display.c
===
RCS file: /local/cvs/xenocara/driver/xf86-video-amdgpu/src/drmmode_display.c,v
retrieving revision 1.4
diff -u -p -u -r1.4 drmmode_display.c
--- src/drmmode_display.c   5 Dec 2022 16:41:17 -   1.4
+++ src/drmmode_display.c   7 Sep 2023 15:20:36 -
@@ -197,7 +197,7 @@ drmmode_wait_vblank(xf86CrtcPtr crtc, dr
  * version and DRM kernel module configuration, the vblank
  * timestamp can either be in real time or monotonic time
  */
-int drmmode_get_current_ust(int drm_fd, CARD64 * ust)
+int drmmode_get_current_ust(int drm_fd, uint64_t * ust)
 {
uint64_t cap_value;
int ret;
@@ -211,14 +211,14 @@ int drmmode_get_current_ust(int drm_fd, 
ret = clock_gettime(CLOCK_MONOTONIC, );
if (ret)
return ret;
-   *ust = ((CARD64) now.tv_sec * 100) + ((CARD64) now.tv_nsec / 1000);
+   *ust = ((uint64_t) now.tv_sec * 100) + ((uint64_t) now.tv_nsec / 
1000);
return 0;
 }
 
 /*
  * Get current frame count and frame count timestamp of the crtc.
  */
-int drmmode_crtc_get_ust_msc(xf86CrtcPtr crtc, CARD64 *ust, CARD64 *msc)
+int drmmode_crtc_get_ust_msc(xf86CrtcPtr crtc, uint64_t *ust, uint64_t *msc)
 {
ScrnInfoPtr scrn = crtc->scrn;
uint32_t seq;
@@ -303,7 +303,7 @@ drmmode_do_crtc_dpms(xf86CrtcPtr crtc, i
drmmode_crtc_private_ptr drmmode_crtc = crtc->driver_private;
ScrnInfoPtr scrn = crtc->scrn;
AMDGPUEntPtr pAMDGPUEnt = AMDGPUEntPriv(scrn);
-   CARD64 ust;
+   uint64_t ust;
int ret;
 
if (drmmode_crtc->dpms_mode == DPMSModeOn && mode != DPMSModeOn) {
@@ -321,7 +321,7 @@ drmmode_do_crtc_dpms(xf86CrtcPtr crtc, i
   "%s cannot get last vblank counter\n",
   __func__);
else {
-   CARD64 nominal_frame_rate, pix_in_frame;
+   uint64_t nominal_frame_rate, pix_in_frame;
 
drmmode_crtc->dpms_last_ust = ust;
drmmode_crtc->dpms_last_seq = seq;
@@ -347,7 +347,7 @@ drmmode_do_crtc_dpms(xf86CrtcPtr crtc, i
xf86DrvMsg(scrn->scrnIndex, X_ERROR,
   "%s cannot get current time\n", __func__);
else if (drmmode_crtc->dpms_last_ust) {
-   CARD64 time_elapsed, delta_seq;
+   uint64_t time_elapsed, delta_seq;
time_elapsed = ust - drmmode_crtc->dpms_last_ust;
delta_seq = time_elapsed * drmmode_crtc->dpms_last_fps;
delta_seq /= 100;
Index: src/drmmode_display.h
===
RCS file: /local/cvs/xenocara/driver/xf86-video-amdgpu/src/drmmode_display.h,v
retrieving revision 1.5
diff -u -p -u -r1.5 drmmode_display.h
--- src/drmmode_display.h   6 Sep 2023 11:42:37 -   1.5
+++ src/drmmode_display.h   7 Sep 2023 15:20:36 -
@@ -127,7 +127,7 @@ typedef struct {
PixmapPtr prime_scanout_pixmap;
 
int dpms_mode;
-   CARD64 dpms_last_ust;
+   uint64_t dpms_last_ust;
uint32_t dpms_last_seq;
int dpms_last_fps;
uint32_t interpolated_vblanks;
@@ -285,7 +285,7 @@ Bool amdgpu_do_pageflip(ScrnInfoPtr scrn
enum drmmode_flip_sync flip_sync,
uint32_t target_msc);
 int drmmode_crtc_get_ust_msc(xf86CrtcPtr crtc, uint64_t *ust, uint64_t *msc);
-int drmmode_get_current_ust(int drm_fd, CARD64 * ust);
+int drmmode_get_current_ust(int drm_fd, uint64_t * ust);
 void drmmode_crtc_set_vrr(xf86CrtcPtr crtc, Bool enabled);
 
 Bool 

CVS: cvs.openbsd.org: xenocara

2023-09-07 Thread Robert Nagy
CVSROOT:/cvs
Module name:xenocara
Changes by: rob...@cvs.openbsd.org  2023/09/07 03:13:51

Modified files:
driver/xf86-input-usbtablet/src: usbtablet.c 

Log message:
unbreak build with clang-16 by not using non-existent functions and by
using correct types where needed; this also removes some unnecessary casts
and some ancient compat defines

parts from and ok jsg@



Re: CVS: cvs.openbsd.org: xenocara

2023-09-06 Thread Anton Lindqvist
On Wed, Sep 06, 2023 at 05:42:37AM -0600, Robert Nagy wrote:
> CVSROOT:  /cvs
> Module name:  xenocara
> Changes by:   rob...@cvs.openbsd.org  2023/09/06 05:42:37
> 
> Modified files:
>   driver/xf86-video-amdgpu/src: amdgpu_present.c drmmode_display.h 
>   xserver/glamor : glamor.h glamor_egl.c 
> 
> Log message:
> unbreak build with clang-16 by fixing up function definitions to match
> 
> our uint64_t is an unsinged long long, but CARD64 is defined as unsigned long
> so the function pointer types in both glamor and xf86-video-amdgpu were
> mismatched and clang-16 treats that as an error
> 
> ok matthieu@

This broke the tree. Here's a potential fix.

Index: src/drmmode_display.c
===
RCS file: /cvs/xenocara/driver/xf86-video-amdgpu/src/drmmode_display.c,v
retrieving revision 1.4
diff -u -p -r1.4 drmmode_display.c
--- src/drmmode_display.c   5 Dec 2022 16:41:17 -   1.4
+++ src/drmmode_display.c   7 Sep 2023 04:49:05 -
@@ -161,7 +161,7 @@ drmmode_ConvertToKMode(ScrnInfoPtr scrn,
  */
 Bool
 drmmode_wait_vblank(xf86CrtcPtr crtc, drmVBlankSeqType type,
-   uint32_t target_seq, unsigned long signal, uint64_t *ust,
+   uint32_t target_seq, unsigned long signal, CARD64 *ust,
uint32_t *result_seq)
 {
int crtc_id = drmmode_get_crtc_id(crtc);
Index: src/drmmode_display.h
===
RCS file: /cvs/xenocara/driver/xf86-video-amdgpu/src/drmmode_display.h,v
retrieving revision 1.5
diff -u -p -r1.5 drmmode_display.h
--- src/drmmode_display.h   6 Sep 2023 11:42:37 -   1.5
+++ src/drmmode_display.h   7 Sep 2023 04:49:05 -
@@ -284,13 +284,13 @@ Bool amdgpu_do_pageflip(ScrnInfoPtr scrn
amdgpu_drm_abort_proc abort,
enum drmmode_flip_sync flip_sync,
uint32_t target_msc);
-int drmmode_crtc_get_ust_msc(xf86CrtcPtr crtc, uint64_t *ust, uint64_t *msc);
+int drmmode_crtc_get_ust_msc(xf86CrtcPtr crtc, CARD64 *ust, CARD64 *msc);
 int drmmode_get_current_ust(int drm_fd, CARD64 * ust);
 void drmmode_crtc_set_vrr(xf86CrtcPtr crtc, Bool enabled);
 
 Bool drmmode_wait_vblank(xf86CrtcPtr crtc, drmVBlankSeqType type,
 uint32_t target_seq, unsigned long signal,
-uint64_t *ust, uint32_t *result_seq);
+CARD64 *ust, uint32_t *result_seq);
 
 
 extern miPointerSpriteFuncRec drmmode_sprite_funcs;



CVS: cvs.openbsd.org: xenocara

2023-09-06 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/09/06 14:36:50

Modified files:
lib/libxcvt: Makefile 

Log message:
fix libxcvt.pc



CVS: cvs.openbsd.org: xenocara

2023-09-06 Thread Robert Nagy
CVSROOT:/cvs
Module name:xenocara
Changes by: rob...@cvs.openbsd.org  2023/09/06 05:42:37

Modified files:
driver/xf86-video-amdgpu/src: amdgpu_present.c drmmode_display.h 
xserver/glamor : glamor.h glamor_egl.c 

Log message:
unbreak build with clang-16 by fixing up function definitions to match

our uint64_t is an unsinged long long, but CARD64 is defined as unsigned long
so the function pointer types in both glamor and xf86-video-amdgpu were
mismatched and clang-16 treats that as an error

ok matthieu@



CVS: cvs.openbsd.org: xenocara

2023-09-06 Thread Jonathan Gray
CVSROOT:/cvs
Module name:xenocara
Changes by: j...@cvs.openbsd.org2023/09/06 03:29:26

Modified files:
app/xlockmore/xlock: logout.c 

Log message:
include signal.h for kill(2)

Remove an ifdef that prevented this.  signal.h is part of posix
and dtucker@ notes OpenSSH portable uses it without ifdefs.

ok matthieu@ robert@



CVS: cvs.openbsd.org: xenocara

2023-09-05 Thread Robert Nagy
CVSROOT:/cvs
Module name:xenocara
Changes by: rob...@cvs.openbsd.org  2023/09/05 09:35:17

Modified files:
lib/libGLU/src/libnurbs/internals: varray.cc 

Log message:
fix ISO C++17 does not allow 'register' storage class specifier error with 
clang16

pulled from upstream: 
https://gitlab.freedesktop.org/mesa/glu/-/merge_requests/10

ok jsg@



CVS: cvs.openbsd.org: xenocara

2023-08-12 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/08/12 10:48:44

Modified files:
driver/xf86-input-ws/src: ws.c 

Log message:
Avoid close(-1). ok miod@

wsClose() is called twice on X server exit, so this test is needed to
avoid calling close a 2nd time with -1.



CVS: cvs.openbsd.org: xenocara

2023-08-12 Thread Miod Vallat
CVSROOT:/cvs
Module name:xenocara
Changes by: m...@cvs.openbsd.org2023/08/12 10:16:25

Modified files:
xserver/hw/xfree86/os-support/bsd: bsd_init.c 

Log message:
Make sure we don't close(-1); buglet introduced in 1.26.
ok matthieu@



CVS: cvs.openbsd.org: xenocara

2023-08-04 Thread Kenji Aoyama
CVSROOT:/cvs
Module name:xenocara
Changes by: aoy...@cvs.openbsd.org  2023/08/04 17:49:45

Modified files:
driver/xf86-video-wsfb/src: wsfb_driver.c 

Log message:
Support 8bpp X server on LUNA.

LUNA's frame buffer is 'planar' type, not packed pixel. So use
shadowUpdateAfb8 as shadow framebuffer procedure to work 8bpp X
server.

It took 10 years to make X server colored on LUNA.

Originally inspired by NetBSD/amiga.

ok miod@



CVS: cvs.openbsd.org: xenocara

2023-08-02 Thread Kenji Aoyama
CVSROOT:/cvs
Module name:xenocara
Changes by: aoy...@cvs.openbsd.org  2023/08/02 07:57:24

Modified files:
lib/libXi/src  : XExtInt.c 

Log message:
Add pad_to_double() when the function allocates memories for 'double'
internally.

The functions wireToRawEvent() and copyRawEvent() get memories first,
then allocate memory blocks sequentially for several objects include
'double' from there.

On m88k, the memory area for 'double' should be 8-byte aligned, but
sizeof(XIRawEvent) is 60 and sizeof(out->valuators.mask_len) is 8.
In this case, allocated 'double' memory was not 8-byte aligned.

Because of this, 'xeyes' on luna88k was aborted with Bus Error right
after moving mouse for several years with sys/arch/m88k/m88k/trap.c
r.127.

Tested by me on luna88k, ok matthieu@



CVS: cvs.openbsd.org: xenocara

2023-08-01 Thread Kenji Aoyama
CVSROOT:/cvs
Module name:xenocara
Changes by: aoy...@cvs.openbsd.org  2023/08/01 05:06:13

Modified files:
driver/xf86-video-wsfb/src: wsfb_driver.c 

Log message:
Fix mmap'ing size for LUNA framebuffer.

LUNA's video memory has 'linebytes * fPtr->info.height' bytes per 1
plane and the real visible area begins at 'offset' within that video
memory area, so it does not need to add 'offset' when mmap'ing video
memory.

Noticed by nono emulator.

ok miod@



CVS: cvs.openbsd.org: xenocara

2023-07-20 Thread Okan Demirmen
CVSROOT:/cvs
Module name:xenocara
Changes by: o...@cvs.openbsd.org2023/07/20 08:39:34

Modified files:
app/cwm: calmwm.h conf.c cwm.1 cwmrc.5 kbfunc.c 

Log message:
Allow cwm(1) to cycle through windows of the same window class as the
active window; default key binding to M-grave, respectively Alt-Tilde,
like other window managers have as well.

from Simon Dassow



CVS: cvs.openbsd.org: xenocara

2023-07-06 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/07/06 01:21:30

Modified files:
lib/libdrm : xf86drm.c 

Log message:
fix drmGetMinorNameForFD(). tweaks and ok jsg@.
For the gpu n, the main device node is /dev/dri/card and the
render device node is /dev/dri/renderD not
/dev/dri/renderD
and miod@ checked that no port should be affected.



CVS: cvs.openbsd.org: xenocara

2023-07-05 Thread Theo Buehler
CVSROOT:/cvs
Module name:xenocara
Changes by: t...@cvs.openbsd.org2023/07/05 09:52:50

Modified files:
lib/pixman : Makefile.bsd-wrapper 

Log message:
Disable neon asm on aarch64 to unbreak the build

with/ok matthieu



CVS: cvs.openbsd.org: xenocara

2023-07-03 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/07/03 13:04:51

Modified files:
.  : MODULES 3RDPARTY 

Log message:
update



CVS: cvs.openbsd.org: xenocara

2023-07-03 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/07/03 07:53:54

Modified files:
util/makedepend: ChangeLog Makefile.in aclocal.m4 configure 
 configure.ac include.c install-sh 
 makedepend-config.h.in makedepend.man 

Log message:
Update makedepend to version 1.0.8



CVS: cvs.openbsd.org: xenocara

2023-07-03 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/07/03 07:43:54

Modified files:
distrib/sets/lists/xbase: mi 

Log message:
sync



CVS: cvs.openbsd.org: xenocara

2023-07-03 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/07/03 07:18:53

Modified files:
dist/fontconfig: README configure.ac meson.build 
 meson_options.txt 
dist/fontconfig/conf.d: Makefile.am link_confs.py meson.build 
dist/fontconfig/doc: FcAtomicCreate.3 FcAtomicDeleteNew.3 
 FcAtomicDestroy.3 FcAtomicLock.3 
 FcAtomicNewFile.3 FcAtomicOrigFile.3 
 FcAtomicReplaceOrig.3 FcAtomicUnlock.3 
 FcBlanksAdd.3 FcBlanksCreate.3 
 FcBlanksDestroy.3 FcBlanksIsMember.3 
 FcCacheCopySet.3 FcCacheCreateTagFile.3 
 FcCacheDir.3 FcCacheNumFont.3 
 FcCacheNumSubdir.3 FcCacheSubdir.3 
 FcCharSetAddChar.3 FcCharSetCopy.3 
 FcCharSetCount.3 FcCharSetCoverage.3 
 FcCharSetCreate.3 FcCharSetDelChar.3 
 FcCharSetDestroy.3 FcCharSetEqual.3 
 FcCharSetFirstPage.3 FcCharSetHasChar.3 
 FcCharSetIntersect.3 
 FcCharSetIntersectCount.3 
 FcCharSetIsSubset.3 FcCharSetMerge.3 
 FcCharSetNew.3 FcCharSetNextPage.3 
 FcCharSetSubtract.3 
 FcCharSetSubtractCount.3 FcCharSetUnion.3 
 FcConfigAppFontAddDir.3 
 FcConfigAppFontAddFile.3 
 FcConfigAppFontClear.3 FcConfigBuildFonts.3 
 FcConfigCreate.3 FcConfigDestroy.3 
 FcConfigEnableHome.3 
 FcConfigFileInfoIterGet.3 
 FcConfigFileInfoIterInit.3 
 FcConfigFileInfoIterNext.3 
 FcConfigFilename.3 FcConfigGetBlanks.3 
 FcConfigGetCache.3 FcConfigGetCacheDirs.3 
 FcConfigGetConfigDirs.3 
 FcConfigGetConfigFiles.3 
 FcConfigGetCurrent.3 FcConfigGetFilename.3 
 FcConfigGetFontDirs.3 FcConfigGetFonts.3 
 FcConfigGetRescanInterval.3 
 FcConfigGetSysRoot.3 FcConfigHome.3 
 FcConfigParseAndLoad.3 
 FcConfigParseAndLoadFromMemory.3 
 FcConfigReference.3 FcConfigSetCurrent.3 
 FcConfigSetRescanInterval.3 
 FcConfigSetSysRoot.3 FcConfigSubstitute.3 
 FcConfigSubstituteWithPat.3 
 FcConfigUptoDate.3 FcDefaultSubstitute.3 
 FcDirCacheClean.3 FcDirCacheCreateUUID.3 
 FcDirCacheDeleteUUID.3 FcDirCacheLoad.3 
 FcDirCacheLoadFile.3 FcDirCacheRead.3 
 FcDirCacheRescan.3 FcDirCacheUnlink.3 
 FcDirCacheUnload.3 FcDirCacheValid.3 
 FcDirSave.3 FcDirScan.3 FcFileIsDir.3 
 FcFileScan.3 FcFini.3 FcFontList.3 
 FcFontMatch.3 FcFontRenderPrepare.3 
 FcFontSetAdd.3 FcFontSetCreate.3 
 FcFontSetDestroy.3 FcFontSetList.3 
 FcFontSetMatch.3 FcFontSetPrint.3 
 FcFontSetSort.3 FcFontSetSortDestroy.3 
 FcFontSort.3 FcFreeTypeCharIndex.3 
 FcFreeTypeCharSet.3 
 FcFreeTypeCharSetAndSpacing.3 
 FcFreeTypeQuery.3 FcFreeTypeQueryAll.3 
 FcFreeTypeQueryFace.3 FcGetDefaultLangs.3 
 FcGetLangs.3 FcGetVersion.3 FcInit.3 
 FcInitBringUptoDate.3 FcInitLoadConfig.3 
 FcInitLoadConfigAndFonts.3 
 FcInitReinitialize.3 FcIsLower.3 
 FcIsUpper.3 FcLangGetCharSet.3 
 FcLangNormalize.3 FcLangSetAdd.3 
 FcLangSetCompare.3 FcLangSetContains.3 
 FcLangSetCopy.3 FcLangSetCreate.3 
 FcLangSetDel.3 FcLangSetDestroy.3 
 FcLangSetEqual.3 FcLangSetGetLangs.3 
 FcLangSetHasLang.3 FcLangSetHash.3 
 FcLangSetSubtract.3 FcLangSetUnion.3 
 FcMatrixCopy.3 FcMatrixEqual.3 
  

CVS: cvs.openbsd.org: xenocara

2023-07-03 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/07/03 07:09:25

Modified files:
lib/pixman : Makefile.am Makefile.in README compile 
 config.h.in configure configure.ac meson.build 
 meson_options.txt test-driver 
lib/pixman/demos: Makefile.in dither.c gtk-utils.c scale.c 
lib/pixman/pixman: Makefile.am Makefile.in meson.build 
   pixman-arm-neon.c pixman-arm.c 
   pixman-bits-image.c pixman-compiler.h 
   pixman-fast-path.c pixman-implementation.c 
   pixman-ppc.c pixman-private.h pixman-region.c 
   pixman-sse2.c pixman.h 
lib/pixman/test: Makefile.in utils.c 
Added files:
lib/pixman : a64-neon-test.S 
lib/pixman/pixman: pixman-arma64-neon-asm-bilinear.S 
   pixman-arma64-neon-asm.S 
   pixman-arma64-neon-asm.h 

Log message:
Update to pixman 0.42.2



CVS: cvs.openbsd.org: xenocara

2023-07-03 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/07/03 06:53:59

Modified files:
lib/libxtrans  : COPYING ChangeLog Makefile.in README.md 
 Xtrans.c Xtrans.h Xtransint.h Xtranslcl.c 
 Xtranssock.c Xtransutil.c aclocal.m4 compile 
 configure install-sh xtrans.m4 
lib/libxtrans/doc: Makefile.in xtrans.xml 

Log message:
Update to xtrans 1.5.0



CVS: cvs.openbsd.org: xenocara

2023-07-03 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/07/03 05:30:14

Modified files:
lib/libXaw : ChangeLog Makefile.in README.md aclocal.m4 
 config.h.in configure configure.ac install-sh 
lib/libXaw/include: Makefile.in 
lib/libXaw/include/X11/Xaw: AsciiSinkP.h AsciiSrcP.h 
AsciiTextP.h BoxP.h CommandP.h 
DialogP.h FormP.h GripP.h LabelP.h 
List.h ListP.h MenuButtoP.h 
MultiSinkP.h MultiSrc.h MultiSrcP.h 
Paned.h PanedP.h PannerP.h 
PortholeP.h RepeaterP.h ScrollbarP.h 
SimpleMenP.h SimpleP.h SmeBSBP.h 
SmeLineP.h SmeP.h StripCharP.h 
Text.h TextP.h TextSink.h 
TextSinkP.h TextSrc.h TextSrcP.h 
ToggleP.h TreeP.h VendorEP.h 
ViewportP.h 
lib/libXaw/man : Makefile.am Makefile.in Xaw.man 
lib/libXaw/old-doc: CHANGES Changelog 
lib/libXaw/specs: Dialog.xml Makefile.in Repeater.xml 
lib/libXaw/src : Actions.c AsciiSink.c AsciiSrc.c Box.c 
 Converters.c DisplayList.c Form.c Label.c 
 List.c Makefile.in MultiSink.c MultiSrc.c 
 Paned.c Panner.c Pixmap.c Scrollbar.c 
 SimpleMenu.c Sme.c StripChart.c Text.c 
 TextAction.c TextPop.c TextSink.c TextSrc.c 
 Tip.c Toggle.c Viewport.c XawIm.c 
Added files:
lib/libXaw/m4  : libtool.m4 ltoptions.m4 ltsugar.m4 ltversion.m4 
 lt~obsolete.m4 

Log message:
Update libXaw to version 1.0.15



CVS: cvs.openbsd.org: xenocara

2023-07-03 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/07/03 05:29:14

xenocara/lib/libXaw/m4

Update of /cvs/xenocara/lib/libXaw/m4
In directory cvs.openbsd.org:/tmp/cvs-serv90813/m4

Log Message:
Directory /cvs/xenocara/lib/libXaw/m4 added to the repository



CVS: cvs.openbsd.org: xenocara

2023-07-03 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/07/03 03:23:03

Modified files:
distrib/sets/lists/xbase: mi 

Log message:
sync



CVS: cvs.openbsd.org: xenocara

2023-07-03 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/07/03 03:20:47

Modified files:
lib/libXt  : COPYING ChangeLog Makefile.bsd-wrapper 
 Makefile.in README.md aclocal.m4 compile 
 config.h.in configure configure.ac install-sh 
 test-driver xt.pc.in 
lib/libXt/include: Makefile.in 
lib/libXt/include/X11: CallbackI.h ConvertI.h Intrinsic.h 
   IntrinsicP.h ThreadsI.h Xtos.h 
lib/libXt/man  : Makefile.in XtAllocateGC.man XtAppError.man 
 XtAppErrorMsg.man XtAppInitialize.man 
 XtAppSetTypeConverter.man XtError.man 
 XtErrorMsg.man XtGetErrorDatabase.man 
 XtGetGC.man XtGetSelectionTimeout.man 
 XtInsertEventTypeHandler.man XtMalloc.man 
 XtOpenApplication.man 
lib/libXt/specs: CH09.xml Makefile.in appB.xml appC.xml 
lib/libXt/src  : ActionHook.c Alloc.c ArgList.c Callback.c 
 ClickTime.c Composite.c Constraint.c Convert.c 
 Converters.c Core.c Create.c Destroy.c 
 Display.c Error.c Event.c EventUtil.c 
 Functions.c GCManager.c Geometry.c GetActKey.c 
 GetResList.c GetValues.c HookObj.c Hooks.c 
 Initialize.c Intrinsic.c Keyboard.c Makefile.in 
 Manage.c NextEvent.c Object.c PassivGrab.c 
 Pointer.c Popup.c PopupCB.c RectObj.c 
 ResConfig.c Resources.c Selection.c SetSens.c 
 SetValues.c SetWMCW.c Shell.c TMaction.c 
 TMgrab.c TMkey.c TMparse.c TMprint.c TMstate.c 
 Threads.c VarCreate.c VarGet.c Varargs.c 
 Vendor.c sharedlib.c 
lib/libXt/test : Alloc.c Converters.c Event.c Makefile.am 
 Makefile.in 
lib/libXt/util : Makefile.in makestrs.c 

Log message:
Update to libXt 1.3.0.
minor bump because XtReallocArray() was added.



CVS: cvs.openbsd.org: xenocara

2023-07-03 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/07/03 03:07:44

Modified files:
lib/xcb-util   : ChangeLog Makefile.am Makefile.in NEWS 
 aclocal.m4 autogen.sh compile config.h.in 
 configure configure.ac install-sh 
lib/xcb-util/m4: xcb_util_common.m4 
lib/xcb-util/src: Makefile.in atoms.c xcb_aux.c 
Added files:
lib/xcb-util   : README.md 
Removed files:
lib/xcb-util   : README 

Log message:
Update to xcb-util 0.4.1



CVS: cvs.openbsd.org: xenocara

2023-07-03 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/07/03 02:57:57

Modified files:
lib/libxshmfence: ChangeLog Makefile.in aclocal.m4 config.h.in 
  configure configure.ac install-sh 
lib/libxshmfence/src: Makefile.in 
lib/libxshmfence/test: Makefile.in 

Log message:
Update to libxshmfence 1.3.2



CVS: cvs.openbsd.org: xenocara

2023-07-03 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/07/03 02:44:04

Modified files:
lib/libXvMC: ChangeLog Makefile.am Makefile.in README.md 
 XvMC_API.txt aclocal.m4 compile config.h.in 
 configure configure.ac install-sh 
 xvmc-wrapper.pc.in xvmc.pc.in 
lib/libXvMC/include: Makefile.in 
lib/libXvMC/include/X11: Makefile.in 
lib/libXvMC/include/X11/extensions: Makefile.in 
lib/libXvMC/src: Makefile.in XvMC.c 
lib/libXvMC/wrapper: Makefile.in XvMCWrapper.c 
Added files:
lib/libXvMC: meson.build 

Log message:
Update to libXvMC 1.0.13



CVS: cvs.openbsd.org: xenocara

2023-07-03 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/07/03 02:37:44

Removed files:
lib/libXv  : README 

Log message:
remove file missed in previous commit



CVS: cvs.openbsd.org: xenocara

2023-07-03 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/07/03 02:36:58

Modified files:
lib/libXv  : ChangeLog Makefile.am Makefile.in aclocal.m4 
 compile config.h.in configure configure.ac 
 install-sh 
lib/libXv/include: Makefile.in 
lib/libXv/include/X11: Makefile.in 
lib/libXv/include/X11/extensions: Makefile.in 
lib/libXv/man  : Makefile.in xv-library-v2.2.txt 
lib/libXv/src  : Makefile.in Xv.c Xvlibint.h 
Added files:
lib/libXv  : README.md 

Log message:
Update to libXv 1.0.12



CVS: cvs.openbsd.org: xenocara

2023-07-03 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/07/03 02:31:22

Modified files:
lib/libXrandr  : ChangeLog Makefile.in README.md aclocal.m4 
 compile config.h.in configure configure.ac 
 install-sh 
lib/libXrandr/include/X11/extensions: Xrandr.h 
lib/libXrandr/man: Makefile.in 
lib/libXrandr/src: Makefile.in Xrandr.c Xrandrint.h XrrConfig.c 
   XrrCrtc.c XrrMonitor.c XrrOutput.c 
   XrrProperty.c XrrProvider.c 
   XrrProviderProperty.c XrrScreen.c 

Log message:
Update to libXrandr 1.5.3



CVS: cvs.openbsd.org: xenocara

2023-07-03 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/07/03 02:26:45

Modified files:
lib/libXi  : ChangeLog Makefile.in README.md aclocal.m4 
 compile configure configure.ac install-sh 
lib/libXi/include/X11/extensions: XInput.h 
lib/libXi/man  : Makefile.in XAllowDeviceEvents.man 
 XChangeDeviceDontPropagateList.man 
 XChangeKeyboardDevice.man 
 XChangePointerDevice.man XDeviceBell.man 
 XGetDeviceControl.man XGetDeviceKeyMapping.man 
 XGetDeviceModifierMapping.man 
 XGetDeviceMotionEvents.man 
 XGetDeviceProperty.man XGetExtensionVersion.man 
 XGetFeedbackControl.man XGrabDevice.man 
 XGrabDeviceButton.man XGrabDeviceKey.man 
 XIAllowEvents.man XIBarrierReleasePointer.man 
 XIChangeHierarchy.man XIChangeProperty.man 
 XIDefineCursor.man XIGrabButton.man 
 XIGrabDevice.man XIGrabEnter.man 
 XIListProperties.man XIQueryDevice.man 
 XIQueryPointer.man XIQueryVersion.man 
 XISelectEvents.man XISetClientPointer.man 
 XISetFocus.man XIWarpPointer.man 
 XListDeviceProperties.man XListInputDevices.man 
 XOpenDevice.man XQueryDeviceState.man 
 XSelectExtensionEvent.man 
 XSendExtensionEvent.man 
 XSetDeviceButtonMapping.man XSetDeviceFocus.man 
 XSetDeviceMode.man XSetDeviceValuators.man 
lib/libXi/specs: Makefile.in library.xml 
lib/libXi/src  : Makefile.in XChgFCtl.c XExtInt.c config.h.in 
Added files:
lib/libXi/m4   : libtool.m4 ltoptions.m4 ltsugar.m4 ltversion.m4 
 lt~obsolete.m4 

Log message:
Update to libXi 1.8.1



CVS: cvs.openbsd.org: xenocara

2023-07-03 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/07/03 02:25:11

xenocara/lib/libXi/m4

Update of /cvs/xenocara/lib/libXi/m4
In directory cvs.openbsd.org:/tmp/cvs-serv37861/m4

Log Message:
Directory /cvs/xenocara/lib/libXi/m4 added to the repository



CVS: cvs.openbsd.org: xenocara

2023-07-03 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/07/03 02:21:09

Modified files:
lib/libXfixes  : COPYING ChangeLog Makefile.am Makefile.in 
 README.md aclocal.m4 compile config.h.in 
 configure configure.ac install-sh 
lib/libXfixes/include/X11/extensions: Xfixes.h 
lib/libXfixes/man: Makefile.am Makefile.in 
lib/libXfixes/src: Cursor.c Disconnect.c Makefile.in Region.c 
   SaveSet.c Selection.c Xfixes.c Xfixesint.h 
Added files:
lib/libXfixes/m4: libtool.m4 ltoptions.m4 ltsugar.m4 
  ltversion.m4 lt~obsolete.m4 

Log message:
Update to libXfixes 6.0.1



CVS: cvs.openbsd.org: xenocara

2023-07-03 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/07/03 02:19:15

xenocara/lib/libXfixes/m4

Update of /cvs/xenocara/lib/libXfixes/m4
In directory cvs.openbsd.org:/tmp/cvs-serv25429/m4

Log Message:
Directory /cvs/xenocara/lib/libXfixes/m4 added to the repository



CVS: cvs.openbsd.org: xenocara

2023-07-03 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/07/03 02:16:49

Modified files:
lib/libXdamage : ChangeLog Makefile.in README.md aclocal.m4 
 config.h.in configure configure.ac install-sh 
lib/libXdamage/src: Makefile.in Xdamage.c 

Log message:
Update to libXdamage 1.1.6



CVS: cvs.openbsd.org: xenocara

2023-07-03 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/07/03 02:13:41

Modified files:
lib/libXcomposite: ChangeLog Makefile.in README.md aclocal.m4 
   config.h.in configure configure.ac install-sh 
lib/libXcomposite/man: Makefile.in Xcomposite.man 
lib/libXcomposite/src: Makefile.in Xcomposite.c xcompositeint.h 

Log message:
Update to libXcomposite 0.4.6



CVS: cvs.openbsd.org: xenocara

2023-07-03 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/07/03 02:00:43

Modified files:
driver/xf86-video-r128: ChangeLog Makefile.in README aclocal.m4 
config.h.in configure configure.ac 
install-sh 
driver/xf86-video-r128/src: r128.h r128_accel.c r128_crtc.c 
r128_driver.c r128_probe.c 
r128_probe.h r128_reg.h r128_sarea.h 

Log message:
Update to xf86-video-r128 6.12.1



CVS: cvs.openbsd.org: xenocara

2023-07-03 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/07/03 01:50:30

Modified files:
driver/xf86-video-ati: ChangeLog Makefile.in README.md 
   aclocal.m4 config.h.in configure 
   configure.ac install-sh 
driver/xf86-video-ati/conf: Makefile.in 
driver/xf86-video-ati/man: Makefile.in 
driver/xf86-video-ati/src: Makefile.in cayman_shader.h 
   drmmode_display.c evergreen_shader.h 
   r600_shader.h radeon_dri2.c 
   radeon_exa_render.c 
   radeon_glamor_wrappers.c 
   radeon_present.c 
   radeon_textured_videofuncs.c 
   simple_list.h 

Log message:
Update xf86-video-ati to 22.0.0

All the important changes where already imported from upstreams.



CVS: cvs.openbsd.org: xenocara

2023-07-03 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/07/03 01:28:54

Modified files:
driver/xf86-input-mouse: COPYING ChangeLog Makefile.in 
 aclocal.m4 config.h.in configure 
 configure.ac install-sh 
driver/xf86-input-mouse/include: Makefile.in 
 xf86-mouse-properties.h 
driver/xf86-input-mouse/man: Makefile.am Makefile.in 
driver/xf86-input-mouse/src: Makefile.in sun_mouse.c 

Log message:
Update to xf86-input-mouse 1.9.5



CVS: cvs.openbsd.org: xenocara

2023-07-03 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/07/03 01:17:28

Modified files:
app/xwd: ChangeLog Makefile.in README.md aclocal.m4 
 config.h.in configure configure.ac dsimple.c 
 dsimple.h install-sh list.c multiVis.c 
 wsutils.h xwd.c 
app/xwd/man: Makefile.in 

Log message:
Update xwd to version 1.0.9



CVS: cvs.openbsd.org: xenocara

2023-07-03 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/07/03 01:03:55

Modified files:
app/xrdb   : ChangeLog Makefile.in aclocal.m4 compile 
 config.h.in configure configure.ac install-sh 
 xrdb.c 
app/xrdb/man   : Makefile.in 

Log message:
Update xrdb to version 1.2.2



CVS: cvs.openbsd.org: xenocara

2023-07-03 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/07/03 00:55:45

Modified files:
app/setxkbmap  : ChangeLog Makefile.in aclocal.m4 config.h.in 
 configure configure.ac install-sh setxkbmap.c 
app/setxkbmap/man: Makefile.in 

Log message:
Update setxkbmap to version 1.3.4



CVS: cvs.openbsd.org: xenocara

2023-06-15 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/06/15 10:38:05

Modified files:
.  : MODULES 3RDPARTY 

Log message:
update



CVS: cvs.openbsd.org: xenocara

2023-06-15 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:xenocara
Changes by: bl...@cvs.openbsd.org   2023/06/15 10:30:35

Modified files:
lib/libX11/src : Tag: OPENBSD_7_2 InitExt.c 

Log message:
Fixes CVE-2023-3138: X servers could return values from XQueryExtension
that would cause Xlib to write entries out-of-bounds of the arrays to
store them, though this would only overwrite other parts of the Display
struct, not outside the bounds allocated for that structure.
from matthieu@

this is errata/7.2/027_libx11.patch.sig



CVS: cvs.openbsd.org: xenocara

2023-06-15 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:xenocara
Changes by: bl...@cvs.openbsd.org   2023/06/15 10:29:29

Modified files:
lib/libX11/src : Tag: OPENBSD_7_3 InitExt.c 

Log message:
Fixes CVE-2023-3138: X servers could return values from XQueryExtension
that would cause Xlib to write entries out-of-bounds of the arrays to
store them, though this would only overwrite other parts of the Display
struct, not outside the bounds allocated for that structure.
from matthieu@

this is errata/7.3/005_libx11.patch.sig



  1   2   3   4   5   6   7   8   9   10   >