|| croak "failed termcap lookup on $tmp_term";
> -}
> -else
> -{
> -
> -# do the same file again
> -# prevent endless recursion
> -$max-- || croak "failed termcap loop at $tmp_term";
> -$state = 1;# ok, maybe do a new file next time
> -}
> -
> -open( TERMCAP, "< $TERMCAP\0" ) || croak "open $TERMCAP: $!";
> -eval $search;
> -die $@ if $@;
> -close TERMCAP;
> +close($fh);
> + waitpid($child, 0) if defined $child;
> + next if !defined $entry;
>
> # If :tc=...: found then search this file again
> -$entry =~ s/:tc=([^:]+):/:/ && ( $tmp_term = $1, $state = 2 );
> -
> -# protect any pattern metacharacters in $tmp_term
> -$termpat = $tmp_term;
> -$termpat =~ s/(\W)/\\$1/g;
> +while ($entry =~ s/:tc=([^:]+):/:/) {
> + $tmp_term = $1;
> + if ($seen->{$tmp_term}) {
> + next;
> + }
> + $state = 2;
> + last;
> + }
> }
>
> -croak "Can't find $term" if $entry eq '';
> +if (!defined $entry) {
> + if ($self->{TERM} eq 'dumb') {
> + $entry = 'dumb|80-column dumb
> tty::am::co#80::bl=^G:cr=^M:do=^J:sf=^J:';
> + }
> +}
> +croak "Can't find $term" if !defined $entry;
> $entry =~ s/:+\s*:+/:/g;# cleanup $entry
> $entry =~ s/:+/:/g; # cleanup $entry
> $self->{TERMCAP} = $entry; # save it
>
--
Matthieu Herrb
On Sun, Oct 08, 2023 at 02:50:10PM -0300, Crystal Kolipe wrote:
> Hi,
>
> On Sun, Oct 08, 2023 at 07:07:27PM +0200, Matthieu Herrb wrote:
> > I can confirm that there's an issue here. However in my tests, I don't
> > see a garbled error message.
> > If I set MALLOC_O
lse {
if (builtinConfig[builtinIndex] == NULL)
ret = NULL;
else {
--
Matthieu Herrb
pitches[1] = tmp;
tmp *= (*h >> 1);
size += tmp;
break;
---
2.42.0
--
Matthieu Herrb
On Thu, Sep 07, 2023 at 11:58:03PM +0200, Mark Kettenis wrote:
> > Date: Thu, 7 Sep 2023 22:02:12 +0200
> > From: Matthieu Herrb
> >
> > basically just define the CARDnn types in terms on uint_nn everywhere.
> > Like for signal.h all systems still supported by X ha
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
> > > Chan
int id, void *desc, int dlen)
> @@ -74,6 +278,10 @@ hidms_setup(struct device *self, struct
> ms->sc_rawmode = 1;
>
> ms->sc_flags = quirks;
> +
> + /* We are setting up a WACOM tablet, not a mouse */
> + if (quirks == HIDMS_WACOM_SETUP)
> + return hidms_wacom_setup(self, ms, quirks, id, desc, dlen);
>
> if (!hid_locate(desc, dlen, HID_USAGE2(HUP_GENERIC_DESKTOP, HUG_X), id,
> hid_input, >sc_loc_x, ))
> Index: dev/usb/usbdevs.h
> ===
> RCS file: /cvs/src/sys/dev/usb/usbdevs.h,v
> retrieving revision 1.769
> diff -u -p -r1.769 usbdevs.h
> --- dev/usb/usbdevs.h 12 Jun 2023 11:26:54 - 1.769
> +++ dev/usb/usbdevs.h 3 Jul 2023 09:04:50 -
> @@ -1,4 +1,4 @@
> -/* $OpenBSD: usbdevs.h,v 1.769 2023/06/12 11:26:54 jsg Exp $ */
> +/* $OpenBSD$ */
>
> /*
> * THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
> @@ -2117,6 +2117,8 @@
> #define USB_PRODUCT_GARMIN_DAKOTA20 0x23c0 /* Dakota 20 */
> #define USB_PRODUCT_GARMIN_GPSMAP62S0x2459 /* GPSmap 62s */
>
> +/* Gaomon */
> +
Strange... looks like you edited the file instead of re-generating it.
--
Matthieu Herrb
t;
> if (uha->uaa->product == USB_PRODUCT_WACOM_INTUOS_DRAW) {
> @@ -174,40 +186,64 @@ uwacom_intr(struct uhidev *addr, void *buf, u_int len)
> {
> struct uwacom_softc *sc = (struct uwacom_softc *)addr;
> struct hidms *ms = >sc_ms;
> - u_int32_t buttons = 0;
> + u_int32_t pad_buttons = 0;
> + u_int32_t stylus_buttons = 0;
> uint8_t *data = (uint8_t *)buf;
> - int i, x, y, pressure;
> + int x, y, pressure,distance;
>
> + #ifdef UWACOM_DEBUG
> + UWACOM_PACKET_PRINTF(data, len);
> + #endif
> if (ms->sc_enabled == 0)
> return;
>
> - /* ignore proximity, it will cause invalid button 2 events */
> - if ((data[0] & 0xf0) == 0xc0)
> - return;
> -
> x = hid_get_data(data, len, >sc_loc_x);
> y = hid_get_data(data, len, >sc_loc_y);
> + pressure = hid_get_data(data, len, >sc_loc_z);
> + distance = hid_get_data(data, len, >sc_loc_w);
> +
> + if (!sc->sc_moved)
> + {
> + sc->sc_x = x;
> + sc->sc_y = y;
> + sc->sc_z = pressure;
> + sc->sc_w = distance;
> + sc->sc_moved = 1;
> + }
> +
> + int dx = sc->sc_x - x;
> + int dy = sc->sc_y - y;
> + int dz = sc->sc_z/32 - pressure/32; // Clamp the sensetivity to be in
> the range of -127 to 127
> + int dw = sc->sc_w - distance;
> +
> + sc->sc_x = x;
> + sc->sc_y = y;
> + sc->sc_z = pressure;
> + sc->sc_w = distance;
>
> if (sc->sc_flags & UWACOM_BIG_ENDIAN) {
> x = be16toh(x);
> y = be16toh(y);
> }
> -
> - for (i = 0; i < ms->sc_num_buttons; i++)
> - if (hid_get_data(data, len, >sc_loc_btn[i]))
> - buttons |= (1 << i);
> -
> - if (sc->sc_flags & UWACOM_USE_PRESSURE) {
> - pressure = hid_get_data(data, len, >sc_loc_tip_press);
> - if (pressure > 10)
> - buttons |= 1;
> - else
> - buttons &= ~1;
> - }
> -
> - if (x != 0 || y != 0 || buttons != ms->sc_buttons) {
> - wsmouse_position(ms->sc_wsmousedev, x, y);
> - wsmouse_buttons(ms->sc_wsmousedev, buttons);
> +
> + for (int i = 0; i < ms->sc_num_stylus_buttons; i++)
> + if (hid_get_data(data, len, >sc_loc_stylus_btn[i]))
> + stylus_buttons |= (1 << i);
> +
> + for (int i = 0; i < ms->sc_num_pad_buttons; i++)
> + if (hid_get_data(data, len, >sc_loc_pad_btn[i]))
> + pad_buttons |= (1 << i);
> +
> +
> + #ifdef UWACOM_DEBUG
> + UWACOM_BUTTON_EVENT(pad_buttons);
> + UWACOM_BUTTON_EVENT(stylus_buttons);
> + #endif
> +
> + if (x != 0 || y != 0 || pressure != 0 || distance != 0
> + || pad_buttons != ms->sc_buttons || stylus_buttons !=
> ms->sc_buttons) {
> + wsmouse_buttons(ms->sc_wsmousedev, (pad_buttons |
> stylus_buttons));
> + wsmouse_motion(ms->sc_wsmousedev, -dx, dy, dz, dw);
> wsmouse_input_sync(ms->sc_wsmousedev);
> }
> }
>
--
Matthieu Herrb
00
> @@ -307,6 +307,8 @@ conf_init(struct conf *c)
> conf_cmd_add(c, "lock", "xlock");
> conf_cmd_add(c, "term", "xterm");
> conf_wm_add(c, "cwm", "cwm");
> + conf_wm_add(c, "fvwm", "fvwm");
> + conf_wm_add(c, "twm", "twm");
>
> c->font = xstrdup("sans-serif:pixelsize=14:bold");
> c->wmname = xstrdup("CWM");
>
--
Matthieu Herrb
void merging parts of the main branch because it then makes
merging full releases more complex.
--
Matthieu Herrb
On Sun, Mar 05, 2023 at 09:59:49AM +0100, Matthieu Herrb wrote:
> On Sun, Mar 05, 2023 at 08:53:00AM +0100, Alexandre Ratchov wrote:
> > If you've an azalia(4) attaching as "AMD 17h/1xh HD Audio", please
> > test this diff and report regressions. Especially audio lock up
face 2 "Chicony Electronics
Co.,Ltd. Integrated Camera" rev 2.01/67.23 addr 3
video1 at uvideo1
sdmmc0: can't enable card
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
sd1 at scsibus3 targ 1 lun 0:
sd1: 243512MB, 512 bytes/sector, 498713727 sectors
root on sd1a (03acaca77ababaff.a) swap on sd1b dump on sd1b
iwm0: hw rev 0x320, fw ver 46.50fdb42f.0, address 7c:b2:7d:f0:d6:51
amdgpu0: PICASSO GC 9.1.0 8 CU rev 0x01
amdgpu0: 1920x1080, 32bpp
wsdisplay0 at amdgpu0 mux 1: console (std, vt100 emulation), using wskbd0
wsdisplay0: screen 1-5 added (std, vt100 emulation)
--
Matthieu Herrb
DPFPRINTF(LOG_NOTICE, "Invalid IGMP");
> REASON_SET(reason, PFRES_IPOPTIONS);
> return (PF_DROP);
>
Hi,
The expression look wrong to me again.
I read in RFC1112 that correct packets should have:
(h->ip_ttl == 1 && h->ip.ip_dst.s_addr == INADDR_ALLHOST_GROUP)
so the test to drop invalid IGMP should be:
if (h->ip_ttl != 1 || h->ip.ip_dst.s_addr != INADDR_ALLHOST_GROUP) {
...
return (PF_DROP
}
Again I may be missing something
--
Matthieu Herrb
continue;
-
- amdgpu_crtc_box(crtc, _box);
- amdgpu_box_intersect(_box, _box, );
- coverage = amdgpu_box_area(_box);
- if (coverage > best_coverage ||
- (coverage == best_coverage &&
-crtc == primary_crtc)) {
- best_crtc = crtc;
- best_coverage = coverage;
- }
- }
- if (best_crtc)
- break;
- }
-
- return best_crtc;
+ return NULL;
}
void AMDGPUInitVideo(ScreenPtr pScreen)
Index: src/compat-api.h
===
RCS file: /local/cvs/xenocara/driver/xf86-video-amdgpu/src/compat-api.h,v
retrieving revision 1.2
diff -u -p -u -r1.2 compat-api.h
--- src/compat-api.h3 Aug 2021 05:35:52 - 1.2
+++ src/compat-api.h27 Feb 2023 20:09:46 -
@@ -42,6 +42,9 @@
#define current_primary current_master
#define primary_pixmap master_pixmap
#define secondary_dst slave_dst
+#define secondary_list slave_list
+#define secondary_head slave_head
+#define is_output_secondary is_output_slave
#endif
#endif
--
Matthieu Herrb
DPFPRINTF(LOG_NOTICE, "Invalid MLD");
> REASON_SET(reason, PFRES_IPOPTIONS);
> return (PF_DROP);
>
Unless I'm missing more context, this hunk looks wrong to me. Valid
MLD packets must have a ttl of 1 *and* come from a LL address. The
initial logic seems ok to me.
--
Matthieu Herrb
On Sat, Feb 18, 2023 at 12:15:54PM +0300, Mikhail wrote:
> On Sat, Feb 18, 2023 at 08:00:26AM +0100, Matthieu Herrb wrote:
> > On Fri, Feb 17, 2023 at 11:52:44AM +, Laurence Tratt wrote:
> > > On Thu, Feb 16, 2023 at 09:29:53PM +0300, Mikhail wrote:
> >
"$startup"
else
if [ -f "$resources" ]; then
@XRDB_PROGRAM@ -load "$resources"
--
Matthieu Herrb
Hi,
The patch below updates xterm to version 378. As always testing
(especially for specific use cases) is welcome.
Apply in /usr/xenocara/app/xterm and rebuild xterm
doas make obj
doas make build
Patch #378 - 2023/01/09
* improve descriptions of XTQMODKEYS and XTQALLOWED features
On Wed, Nov 16, 2022 at 10:15:41PM +0100, Matthieu Herrb wrote:
> Below is a sample program to demonstrate how to use this with xcb.
Hmm no this exemple I sent is pure Xlib. I have an xcb based example
somewhere but I can't find it right now, sorry.
--
Matthieu Herrb
SHM with XCB generally work on OpenBSD?
> >
Since on OpenBSD the X server and client will generally not run under
the same uid (except if you use startx(1)), you will need to create
the shared memory segment with mode 666 or similar for the X server to
be able to access it (via 'oth
Hi,
Note that OpenBSD 7.2 shipped with version 2.3.4 of libXft which is
not affected by the bug.
- Forwarded message from Matthieu Herrb -
Date: Wed, 16 Nov 2022 13:25:46 -0700 (MST)
From: Matthieu Herrb
To: source-chan...@cvs.openbsd.org
Subject: CVS: cvs.openbsd.org: xenocara
On Fri, Nov 11, 2022 at 03:17:21PM +0100, Walter Alejandro Iglesias wrote:
> On Nov 11 2022, Matthieu Herrb wrote:
> > Hi,
> >
> > So the patch provided by Adam Jackson upstreams is completely buggy.
> >
> > - the logic to setup the new locking function was
On Fri, Nov 11, 2022 at 03:17:21PM +0100, Walter Alejandro Iglesias wrote:
> On Nov 11 2022, Matthieu Herrb wrote:
> > Hi,
> >
> > So the patch provided by Adam Jackson upstreams is completely buggy.
> >
> > - the logic to setup the new locking function was
dpy->lock_fns->lock_display = _XIfEventLockDisplay;
+dpy->lock_fns->unlock_display = _XIfEventUnlockDisplay;
+}
}
/*
--
Matthieu Herrb
On Mon, Nov 07, 2022 at 02:32:44PM +0100, Theo Buehler wrote:
> On Mon, Nov 07, 2022 at 12:41:14PM +0000, Matthieu Herrb wrote:
>
> [...]
>
> > Fix a small leak in pci_system_openbsd_destroy() while there.
>
> Similar leaks exist in pci_system_openbsd_create() whi
Hi again,
the patch below updates libpciaccess to version 0.17.
Most of the changes are for other operating systems.
There is a minor library version bump because a new function
pci_device_disable() has been added (not implemented for OpenBSD).
Fix a small leak in pci_system_openbsd_destroy()
5
+++ package/freebsd/Makefile7 Nov 2022 12:13:04 -
@@ -1,4 +1,4 @@
-# $XTermId: Makefile,v 1.95 2022/09/27 08:18:41 tom Exp $
+# $XTermId: Makefile,v 1.96 2022/10/21 00:45:30 tom Exp $
# $FreeBSD: head/x11/xterm/Makefile 492827 2019-02-13 06:43:36Z ehaupt $
# This is adapted from the FreeBSD port, installing as "xterm-dev" with
@@ -7,7 +7,7 @@
# and "make makesum".
PORTNAME= xterm
-PORTVERSION= 374
+PORTVERSION= 375
CATEGORIES=x11
MASTER_SITES= ftp://ftp.invisible-island.net/xterm/:src1 \
https://invisible-mirror.net/archives/xterm/:src1
Index: package/pkgsrc/Makefile
===
RCS file: /cvs/xenocara/app/xterm/package/pkgsrc/Makefile,v
retrieving revision 1.7
diff -u -p -u -r1.7 Makefile
--- package/pkgsrc/Makefile 7 Nov 2022 11:15:28 - 1.7
+++ package/pkgsrc/Makefile 7 Nov 2022 12:13:04 -
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.117 2018/03/12 11:18:00 wiz Exp $
-DISTNAME= xterm-374
+DISTNAME= xterm-375
PKGREVISION= 1
CATEGORIES=x11
MASTER_SITES= ftp://ftp.invisible-island.net/xterm/
--
Matthieu Herrb
) {
+dpy->lock_fns->lock_display = _XIfEventLockDisplay;
+ dpy->lock_fns->unlock_display = _XIfEventUnlockDisplay;
+}
}
/*
--
Matthieu Herrb
t;Intel UHCI root hub" rev 1.00/1.00
addr 1
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
uhidev0 at uhub1 port 1 configuration 1 interface 0 "QEMU QEMU USB Tablet" rev
2.00/0.00 addr 2
uhidev0: iclass 3/0
ums0 at uhidev0: 3 buttons, Z dir
wsmouse1 at ums0 mux 0
vscsi0 at root
scsibus3 at vscsi0: 256 targets
softraid0 at root
scsibus4 at softraid0: 256 targets
root on sd0a (b581cd31c0dbf4dd.a) swap on sd0b dump on sd0b
--
Matthieu Herrb
--enable-ipv6 \
--disable-composecache \
+ --disable-thread-safety-constructor \
--without-xmlto --without-fop --without-xsltproc
.include
--
Matthieu Herrb
DIM_IT(red);
+last_in = result;
+if (XQueryColor(TScreenOf(xw)->display, xw->core.colormap, ))
{
+ DIM_IT(red);
DIM_IT(green);
DIM_IT(blue);
if (allocateBestRGB(xw, )) {
Index: xterm.h
===
RCS file: /cvs/OpenBSD/xenocara/app/xterm/xterm.h,v
retrieving revision 1.50
diff -u -r1.50 xterm.h
--- xterm.h 25 Apr 2022 19:20:38 - 1.50
+++ xterm.h 2 Sep 2022 09:58:21 -
@@ -1180,7 +1180,7 @@
extern XtInputMask xtermAppPending (void);
extern XrmOptionDescRec * sortedOptDescs (XrmOptionDescRec *, Cardinal);
extern XtermWidget getXtermWidget (Widget /* w */);
-extern XVisualInfo *getVisualInfo (XtermWidget /* xw */);
+extern int getVisualInfo (XtermWidget /* xw */);
extern char *udk_lookup (XtermWidget /* xw */, int /* keycode */, int * /* len
*/);
extern char *xtermEnvEncoding (void);
extern char *xtermFindShell (char * /* leaf */, Bool /* warning */);
--
Matthieu Herrb
+pPicture->pSourcePict = (SourcePictPtr) malloc(sizeof(SourcePict));
if (!pPicture->pSourcePict) {
*error = BadAlloc;
free(pPicture);
@@ -936,7 +936,7 @@ CreateRadialGradientPicture(Picture pid,
}
pPicture->id = pid;
-pPicture->pSourcePict = (SourcePictPtr) malloc(sizeof(PictRadialGradient));
+pPicture->pSourcePict = (SourcePictPtr) malloc(sizeof(SourcePict));
if (!pPicture->pSourcePict) {
*error = BadAlloc;
free(pPicture);
@@ -979,7 +979,7 @@ CreateConicalGradientPicture(Picture pid
}
pPicture->id = pid;
-pPicture->pSourcePict = (SourcePictPtr)
malloc(sizeof(PictConicalGradient));
+pPicture->pSourcePict = (SourcePictPtr) malloc(sizeof(SourcePict));
if (!pPicture->pSourcePict) {
*error = BadAlloc;
free(pPicture);
--
Matthieu Herrb
On Mon, Aug 15, 2022 at 11:12:20AM +0200, Matthieu Herrb wrote:
> Hi,
>
> the patch below updates fontconfig to version 2.14.0.
>
> It contains bug fixes but also a few changes in the default config
> files. So the way you favourite application displays them m
; + if (priv_pw_check(user, pass, buffer))
> + return True;
> + *--pass = ':';
> }
> - return priv_pw_check(user, pass, style);
> + return priv_pw_check(user, buffer, NULL);
> #elif defined(BSD_AUTH)
> char *pass;
> char *style;
> --
> 2.37.2
>
--
Matthieu Herrb
ok ?
(although I didn't get an answer from Jean-Michel yet, I'm quite sure
the issue is real and the fix correct).
- Forwarded message from Matthieu Herrb -
Date: Tue, 23 Aug 2022 11:08:28 +0200
From: Matthieu Herrb
To: BESSOT Jean-Michel
Cc: b...@openbsd.org
Subject: Re: xlock don't
On Sun, Jul 17, 2022 at 10:38:53AM +0200, Matthieu Herrb wrote:
> Hi,
>
> twm(1) is the original X11R5 window manager. It has not been update to
> support any of the extended window manager hints and still only knows
> how to handle the legacy bitmapped fonts rendered
ihmo.
I'm suggesting here to drop twm from xenocara (ie xbase).
Anyone willing to keep it around is welcome to submit a port for it.
ok ?
--
Matthieu Herrb
ot;r") == -1)
> + err(1, "unveil %s", _PATH_LOGIN_CONF_D);
> if (unveil(_PATH_AUTHPROGDIR, "rx") == -1)
> - err(1, "unveil");
> + err(1, "unveil %s", _PATH_AUTHPROGDIR);
> if (pledge("stdio rpath getpw proc exec", NULL) == -1)
> err(1, "pledge");
>
>
> With it, I don't have unveil(2) violation anymore when running xlock(1).
>
> Comments or OK ?
> --
> Sebastien Marie
>
--
Matthieu Herrb
\fP, \fBexec\-selectable()\fP and
+\fBspawn\-new\-terminal()\fP.
--
Matthieu Herrb
On Sun, Mar 27, 2022 at 10:54:43AM +0200, Matthieu Herrb wrote:
> Hi,
>
> the patch below updates xterm to version 372. Please test, especially
> if you use or depend on less common features, and report any issues.
> Note that the new status line code is not enabled in Xenocara
you
mean '-Wno-unused-const-variablé? [-Werror,-Wunknown-warning-option]
*** Error 1 in /usr/src/sys/arch/amd64/compile/GENERIC.MP
(Makefile:1955 'assym.h')
--
Matthieu Herrb
.
+to send synchronisation messages.
.Ar synctarget
can be either an IPv4 address for unicast messages
or a network interface name followed optionally by a colon and a numeric TTL
--
Matthieu Herrb
+
Mode->VDisplay = libxcvt_mode_info->vdisplay;
Mode->HDisplay = libxcvt_mode_info->hdisplay;
Mode->Clock = libxcvt_mode_info->dot_clock;
--
Matthieu Herrb
On Sun, Nov 14, 2021 at 05:25:32PM +0100, Matthieu Herrb wrote:
> Hi,
>
> after the upgrade to X server 21.1.1, some people reported crashes in
> the radeon driver when using xrandr(1) or a similar utility.
>
> If you are seeing these crashes, please test the patch below (copi
On Tue, Nov 16, 2021 at 11:26:40PM +0100, Matthieu Herrb wrote:
> Hi,
>
> I think I found the bug that causes crashes in X for some people.
>
> If X started crashing since you upgraded to the last snapshots, can
> you try the patch below ?
>
> get /usr/xenocara fr
t */ ,
+ InternalEvent * /* event */ ,
WindowPtr /* ancestor */ );
extern void
--
Matthieu Herrb
ompositePicture(PictOpSrc,
src, NULL, dst,
extents.x1, extents.y1, 0, 0, extents.x1,
--
Matthieu Herrb
the resolution
manually to the previous default.
You can also fiddle with the X resources (~/.Xresources ) to fix
font sizes in invidual applications. Older X applications are more
likely to mis-behave and need the global dpi fix.
--
Matthieu Herrb
dpyinfo/configure, dmx library could be detected as
> build time.
>
> I suppose the host used to build the snapshots still has old dmx
> library in path, and the build of xdpyinfo detected it and link to it,
> whereas the library isn't in sets anymore.
>
I've just committed a fix to xdpyinfo build system to explicitely
disable dmx support in that case.
--
Matthieu Herrb
of several
X servers running on different machine). The server part has been
disabled for years and is known to be broken even under Linux.
--
Matthieu Herrb
On Thu, Jul 08, 2021 at 05:29:01PM +1000, Jonathan Gray wrote:
> The latest xf86-video-amdgpu release was in 2019.
>
> xf86-video-amdgpu-19.1.0..origin/master
Hi,
Works so far here on my X395 (Vega Mobile 8) with -current.
--
Matthieu Herrb
However some legitimate remote users get their addresses added to the
ssh-bruteforce table from time to time.
I'd like to be able to figure out the reason (ie which condtion
triggers the overload). Is there a way to have it logged somewhere
that I'm missing ?
Thanks in avance,
--
Matthieu Herrb
On Sat, Mar 27, 2021 at 10:22:15AM +0100, Matthieu Herrb wrote:
> Patch #367 - 2021/03/26
>
> ok ? comments ?
Hi,
I could use some actual test results. I'd like to commit the update.
--
Matthieu Herrb
ing X not being treated as its own device because X
> would need to open that device directly. That can't easily be
> solved right now.)
Hi,
yes this makes sense and can help in some situations. I don't see any
practical drawbacks.
ok matthieu@
--
Matthieu Herrb
Patch #367 - 2021/03/26
* add OSC 22 to allow programs to select different pointer cursor at
runtime.
* change configuration for no-return functions to use _Noreturn when
it is available, because clang --analyze does not properly handle
gt; MIN_DPMS ?
> noff : MIN_DPMS)));
> + (nstandby <= 0 ? 0 : nstandby),
> + (nsuspend <= 0 ? 0 : nsuspend),
> + (noff <= 0 ? 0 : noff));
> }
> }
--
Matthieu Herrb
++ xenodm/server.c 8 Mar 2021 20:05:11 -
@@ -86,6 +86,8 @@ StartServerOnce (struct display *d)
snprintf (arg, sizeof(arg), "-auth %s", d->authFile);
argv = parseArgs (argv, arg);
}
+ if (d->listenTcp)
+ argv = parseArgs(argv, "-listen tcp");
if (!argv) {
LogError ("StartServer: no arguments\n");
sleep ((unsigned) d->openDelay);
--
Matthieu Herrb
On Sat, Mar 06, 2021 at 09:52:58PM +0300, Vadim Zhukov wrote:
> сб, 6 мар. 2021 г. в 21:30, Theo de Raadt :
> >
> > Matthieu Herrb wrote:
> >
> > > Linux, systemd and XDG have inventend this /run/user/$uid tmpfs that
> > > is created automagic
md and XDG have inventend this /run/user/$uid tmpfs that
is created automagically and they use that in place of /tmp for
volatile things that don't beloing to $HOME, but this is not a can of
worms I want to open now.
--
Matthieu Herrb
On Sat, Mar 06, 2021 at 09:56:34AM -0700, Theo de Raadt wrote:
> Matthieu Herrb wrote:
>
> > On Fri, Mar 05, 2021 at 09:10:32PM +0300, Vadim Zhukov wrote:
> > > чт, 4 мар. 2021 г. в 02:02, Vadim Zhukov :
> > > >
> > > > Hello all.
> > > >
th './ssh-*' -o -path ./.X11-unix -o -path ./.ICE-unix \
> > - -o -path './tmux-*' \) \
> > + -o -path './tmux-*' -o -path './.Xauth*' \) \
> > -prune -o -type f -atime +7 -delete 2>/dev/null
> > find -x . -type d -mtime +1 ! -path ./vi.recover ! -path
> > ./.X11-unix \
> > ! -path ./.ICE-unix ! -name . \
>
> --
> WBR,
> Vadim Zhukov
--
Matthieu Herrb
ing/driver.c 18 Feb 2021 10:02:03
> -
> @@ -226,7 +226,7 @@ open_hw(const char *dev)
> else {
> dev = getenv("KMSDEVICE");
> if ((NULL == dev) || ((fd = priv_open_device(dev)) == -1)) {
> -dev = "/dev/drm0";
> +dev = "/dev/dri/card0";
> fd = priv_open_device(dev);
> }
> }
--
Matthieu Herrb
serSel single
+#*SshChoice Default Default on "same user"
+#*SshChoice CustomCustomoff "user:"
+*SshText "(Userid:"
+*SshInputUserName 10 ""
+*SshText ")"
+*SshLine center
+*SshText "FG:"
+*SshInputFgColor 15 ""
+*SshText "BG:"
+*SshInputBgColor 15 ""
+*SshLine expand
+*SshButton quit "Login" ^M
+*SshCommand Exec xterm $(FgColor?-fg $(FgColor)) $(BgColor?-bg $(BgColor)) -T
xterm@$(HostName) -e $(RL?ssh) $(TN?telnet) $(HostName) $(UserName?-l
$(UserName))
+*SshButton restart "Clear"
+*SshCommand Beep
+*SshButton quit "Cancel"
+*SshCommand Nop
# FvwmForm alias - query exit ala mwm
*QuitVerifyGrabServer
--
Matthieu Herrb
On Thu, Jan 14, 2021 at 02:20:38PM +0100, Theo Buehler wrote:
> On Thu, Jan 14, 2021 at 01:32:41PM +0100, Matthieu Herrb wrote:
> > Hi,
> >
> > I'm trying to debug strange beahaviour changes with certificates on a
> > systemc after upgrading it from 6.7 to 6.8..
chain mycert->CA
With the same commands on 6.8, I don't get the CA certificate.
Is this a known issue, and how can I get the chain with 6.8 ?
(my real application is sendmail...)
--
Matthieu Herrb
macppc
> +.if ${MACHINE} == amd64 || ${MACHINE} == arm64 || ${MACHINE} == armv7 \
> +|| ${MACHINE} == i386 || ${MACHINE} == macppc || ${MACHINE} == powerpc64
> DEFAULT_VT= --with-default-vt=vt05
> .endif
>
--
Matthieu Herrb
R6/lib/X11/fonts/misc/cursor.bdf
it looks like a typo in cursor-misc/Makefile.{am,in} (BDF_FILES
intead of OTB_FILES)
--
Matthieu Herrb
If nothing happens on
the xorg side in the next 3 days, then ok to commit the changes
locally.
--
Matthieu Herrb
lse {
> + masks.red = 0x1f;
> + masks.green = 0x3f << 5;
> + masks.blue = 0x1f << 11;
> + }
> + break;
> default:
> masks.red = 0;
> masks.green = 0;
--
Matthieu Herrb
;;
*) _cmds[${#_cmds[*]}]="ifconfig $_if ${_c[@]}"
;;
--
Matthieu Herrb
the command
line syntax was more regular with audio or wscons control programs.
--
Matthieu Herrb
10 Jul 2020 06:04:41 - 1.1047
> +++ faq/current.html 11 Jul 2020 14:17:46 -
> @@ -106,7 +106,7 @@ It should be manually removed.
>
> # rm /usr/X11R6/lib/libxkbui.*
> # rm /usr/X11R6/lib/pkgconfig/xkbui.pc
> -# rm /usr/X11R6/include/extenstions/XKBui.h
> +# rm /usr/X11R6/include/X11/extensions/XKBui.h
>
>
--
Matthieu Herrb
g works if I set wg0 in rdomain1 and keep my re0 interface in
rdomain 0, but as soon as I set rdomain 1 for re0 and rdomain 0 for
wg0, the VPN cannot come up (and I see the UDP packets to port 51820
trying to go out through wg0).
Thanks for your work on wireguard !
--
Matthieu Herrb
will update the address
after receiving a correctly authenticated packet.
--
Matthieu Herrb
On Mon, Jun 01, 2020 at 03:28:52PM +0200, Stéphane Aulery wrote:
> Hello,
>
> Le 01/06/2020 14:55, Matthieu Herrb a écrit :
> >
> > >
> > > (I have just tried with a test user with nothing configured besides
> > > LC_CTYPE=en_US.UTF-8, w
ied with a test user with nothing configured besides
> LC_CTYPE=en_US.UTF-8, without which xterm/vim doesn't show proper characters)
I'm using a real US keyboard with AltGr or the Menu Key (depending on
the actual keyboard) set as Compose and typing full compose sequences
to get diacritics. ieand so on.
--
Matthieu Herrb
dditional graphics modules in the future not
> effectively rendering the i386 port useless for anything else than pure CLI,
> router or headless systems, and, shouldn't , in that case, an explicit
> warning be added to release notes/installer/sysupgrade ?
Too late unfortunatly. 6.6 was release 6 month ago.
--
Matthieu Herrb
On Sun, Mar 22, 2020 at 08:13:11PM +0100, Matthieu Herrb wrote:
> Hi,
>
> the patch below updates XCB (xcb-proto and libxcb) to version 1.14.0.
>
> I've been running this on amd64 for a while. Comments ? ok ?
>
> Note that it goes together with an update to the x11/py-x
Hi,
The patch below updates the X server to version 1.20.8.
Apply the patch in ${XSRCDIR}/xserver with patch -p0 -E and then
rebuild Xenocara according to release(8).
Comments, ok ?
Index: ChangeLog
===
RCS file:
ago for I don't know
what reason.
Fixed now. Thanks.
>
> This does explain the failures of tightvnc on some bulk machines.
> By default, proot does NOT copy xserv in the chroot, and I believe
> it's correct.
--
Matthieu Herrb
size = 0
self.lenfield_parent = [self]
-self.fds = []
# get required_start_alignment
required_start_align_element = elt.find("required_start_align")
Index: distrib/sets/lists/xbase/mi
===
RCS file: /cvs/OpenBSD/xenocara/distrib/sets/lists/xbase/mi,v
retrieving revision 1.125
diff -u -p -u -r1.125 mi
--- distrib/sets/lists/xbase/mi 4 Jan 2020 18:04:05 - 1.125
+++ distrib/sets/lists/xbase/mi 22 Mar 2020 19:05:03 -
@@ -358,7 +358,7 @@
./usr/X11R6/lib/libxcb-res.a
./usr/X11R6/lib/libxcb-res.so.1.1
./usr/X11R6/lib/libxcb-screensaver.a
-./usr/X11R6/lib/libxcb-screensaver.so.1.1
+./usr/X11R6/lib/libxcb-screensaver.so.2.0
./usr/X11R6/lib/libxcb-shape.a
./usr/X11R6/lib/libxcb-shape.so.1.1
./usr/X11R6/lib/libxcb-shm.a
@@ -388,7 +388,7 @@
./usr/X11R6/lib/libxcb-xvmc.a
./usr/X11R6/lib/libxcb-xvmc.so.1.0
./usr/X11R6/lib/libxcb.a
-./usr/X11R6/lib/libxcb.so.4.0
+./usr/X11R6/lib/libxcb.so.4.1
./usr/X11R6/lib/libxkbfile.a
./usr/X11R6/lib/libxkbfile.la
./usr/X11R6/lib/libxkbfile.so.6.0
--
Matthieu Herrb
> if (cold || sc->sc_poll || (flags & I2C_F_POLL))
> Index: piixreg.h
> ===
> RCS file: /cvs/src/sys/dev/pci/piixreg.h,v
> retrieving revision 1.5
> diff -u -p -r1.5 piixreg.h
> --- piixreg.h 16 Dec 2019 21:39:40 - 1.5
> +++ piixreg.h 7 Jan 2020 11:12:29 -
> @@ -70,8 +70,11 @@
> #define SB800_PMREG_SIZE 2 /* index/data pair */
> #define SB800_PMREG_SMB0EN 0x2c/* 16-bit register */
> #define SB800_PMREG_SMB0SEL 0x2e/* bus selection */
> +#define SB800_PMREG_SMB0SELEN0x2f/* bus selection enable */
> #define SB800_SMB0EN_EN 0x0001
> #define SB800_SMB0EN_BASE_MASK 0xffe0
> +#define SB800_SMB0EN_PORT_MASK 0x06
> +#define SB800_SMB0SELEN_EN 0x01
>
> #define SB800_SMB_HOSTC 0x10/* I2C bus configuration */
> #define SB800_SMB_HOSTC_SMI (1 << 0)/* SMI */
--
Matthieu Herrb
.
+
+Reading past the memory boundary could reveal sensitive information
+to external DNS servers, because a lookup will be performed.
+
+Signed-off-by: Tobias Stoeckmann
+Reviewed-by: Matthieu Herrb
+
+commit 28015d91e284ee4b797a6e99ec16d53147c0ddb6
+Author: Mihail Konev
+Date: Thu
return 0;
@@ -1661,6 +1688,7 @@ do_add(const char *inputfilename, int li
fprintf (stderr, "unable to merge in added record\n");
return 1;
}
+sort_entries(_head);
xauth_modified = True;
return 0;
Index: test-driver
===
RCS file: /cvs/OpenBSD/xenocara/app/xauth/test-driver,v
retrieving revision 1.2
diff -u -p -u -r1.2 test-driver
--- test-driver 19 Feb 2017 17:30:58 - 1.2
+++ test-driver 15 Aug 2019 17:06:03 -
@@ -1,9 +1,9 @@
#! /bin/sh
# test-driver - basic testsuite driver script.
-scriptversion=2013-07-13.22; # UTC
+scriptversion=2018-03-07.03; # UTC
-# Copyright (C) 2011-2014 Free Software Foundation, Inc.
+# Copyright (C) 2011-2018 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -16,7 +16,7 @@ scriptversion=2013-07-13.22; # UTC
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
+# along with this program. If not, see <https://www.gnu.org/licenses/>.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
@@ -140,9 +140,9 @@ echo ":copy-in-global-log: $gcopy" >> $t
# Local Variables:
# mode: shell-script
# sh-indentation: 2
-# eval: (add-hook 'write-file-hooks 'time-stamp)
+# eval: (add-hook 'before-save-hook 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-time-zone: "UTC"
+# time-stamp-time-zone: "UTC0"
# time-stamp-end: "; # UTC"
# End:
--
Matthieu Herrb
ing for configure to finish
+
+Syncs the invocation of configure with the one from the server.
+
+Signed-off-by: Peter Hutterer
+Reviewed-by: Emil Velikov
+
commit 1fab5e81fd761f628fb68d22934615536dbd0220
Author: Matthieu Herrb
Date: Mon Dec 12 23:09:52 2016 +0100
In
hould report available profiles and entrypoints for
> VA-API.
>Example of successful execution:
Hi,
I won't be able to look at this before the 28th, being busy for work
and then away for vacation.
Thaks for this work.
--
Matthieu Herrb
Hi,
The diff below update the X server to version 1.20.6.
See ChangeLog for changes.
Testing and oks are welcome.
Index: ChangeLog
===
RCS file: /cvs/OpenBSD/xenocara/xserver/ChangeLog,v
retrieving revision 1.33
diff -u -p -u
cara/driver/xf86-video-ati/src/radeon_present.c,v
retrieving revision 1.6
diff -u -p -u -r1.6 radeon_present.c
--- driver/xf86-video-ati/src/radeon_present.c 8 Mar 2019 21:59:57 -
1.6
+++ driver/xf86-video-ati/src/radeon_present.c 19 Oct 2019 16:23:21 -
@@ -254,6 +254,7 @@ radeon_present_check_flip(RRCrtcPtr crtc
xf86CrtcPtr xf86_crtc = crtc->devPrivate;
ScreenPtr screen = window->drawable.pScreen;
ScrnInfoPtr scrn = xf86_crtc->scrn;
+struct radeon_pixmap *priv = radeon_get_pixmap_private(pixmap);
xf86CrtcConfigPtr config = XF86_CRTC_CONFIG_PTR(scrn);
RADEONInfoPtr info = RADEONPTR(scrn);
PixmapPtr screen_pixmap = screen->GetScreenPixmap(screen);
@@ -276,6 +277,23 @@ radeon_present_check_flip(RRCrtcPtr crtc
if (pixmap->devKind != screen_pixmap->devKind)
return FALSE;
#endif
+
+if (priv && priv->fb_failed)
+ return FALSE;
+
+if (!radeon_pixmap_get_fb(pixmap)) {
+ if (!priv)
+ priv = radeon_get_pixmap_private(pixmap);
+
+ if (priv && !priv->fb_failed) {
+ xf86DrvMsg(scrn->scrnIndex, X_WARNING,
+ "Cannot get FB for Present flip (may be "
+ "normal if using PRIME render offloading)\n");
+ priv->fb_failed = TRUE;
+ }
+
+ return FALSE;
+}
/* The kernel driver doesn't handle flipping between BOs with different
* tiling parameters correctly yet
--
Matthieu Herrb
On Thu, Sep 05, 2019 at 11:00:06PM +0200, Matthieu Herrb wrote:
> Hi,
>
> on my redundant firealls I have an " admin" interface in rdomain 1
> with a sshd listening, used to be able to access the slave machine and
> let it access the internet to be able to run syspatch or
{daemon_class} -s /bin/sh ${daemon_user} -c"
-[ "${daemon_rtable}" -eq "$(id -R)" ] ||
- rcexec="route -T ${daemon_rtable} exec ${rcexec}"
+rcexec="route -T ${daemon_rtable} exec ${rcexec}"
--
Matthieu Herrb
t;own" the shared IPv6
address of the carp interface.
Is there a way to configure rad to avoid these errors?
How do other people handle the situation?
Thanks in advance,
--
Matthieu Herrb
inline. Sorry. This is the checksum
of the file :
SHA256 (freetype-2.10.1-full.diff) =
884e1b38691d15e582934f077b2b2b45fa7e79fe353130b4f9cf825e82bb97e6
ok, comments ?
--
Matthieu Herrb
his diff you can use:
>
> boot> set tty fb0
>
> to override that default.
>
> ok?
Hi,
This works great on my PineBook 11" HD
--
Matthieu Herrb
On Sun, Jul 14, 2019 at 06:31:13PM +0200, Matthieu Herrb wrote:
> Hi,
>
> the patch below updates libxtrans to version 1.4.0. Since there is one
> removed in a generated file used by other libs, there are also libX11
> and libICE major bumps.
Ping.
In particular, how is the sch
uYbA85wgn: No such file or directory
*** Error 1 in /share/OpenBSD/src/usr.sbin/ldomd (:35
'/usr/share/man/man5/sparc64/ldom.conf.5')
--
Matthieu Herrb
:27 -
@@ -22,7 +22,7 @@
# Initialize Autoconf
AC_PREREQ([2.60])
-AC_INIT([libXdmcp], [1.1.2],
+AC_INIT([libXdmcp], [1.1.3],
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [libXdmcp])
AC_CONFIG_SRCDIR([Makefile.am])
AC_CONFIG_HEADERS([config.h])
@@ -55,9 +55,17 @@
# Checks for libraries.
AC_SEARCH_LIBS([recvfrom],[socket])
+case $host_os in
+ *mingw*)
+AC_CHECK_LIB([ws2_32],[main])
+;;
+ *)
+;;
+esac
+
# Checks for library functions.
AC_CHECK_LIB([bsd], [arc4random_buf])
-AC_CHECK_FUNCS([srand48 lrand48 arc4random_buf])
+AC_CHECK_FUNCS([srand48 lrand48 arc4random_buf getentropy])
# Obtain compiler/linker options for depedencies
PKG_CHECK_MODULES(XDMCP, xproto)
Index: doc/xdmcp.xml
===
RCS file: /cvs/OpenBSD/xenocara/lib/libXdmcp/doc/xdmcp.xml,v
retrieving revision 1.2
diff -u -r1.2 xdmcp.xml
--- doc/xdmcp.xml 10 Mar 2012 13:58:12 - 1.2
+++ doc/xdmcp.xml 14 Jul 2019 21:09:27 -
@@ -23,7 +23,7 @@
X Display Manager Control Protocol
X.Org Standard
- X Version 11, Release
+ X Version 11
Version 1.1
--
Matthieu Herrb
free happens.
+
+In order to exploit this, an attacker must change environment variables
+between each call, namely ICEAUTHORITY or HOME. It also takes subsequent
+calls. Due to these limitations, I don't consider this to be of high
+priority.
+
+Reviewed-by: Matthieu H
o->colors[i].screen = draw->screen;
+ XRenderFillRectangle (dpy, PictOpSrc,
+ info->colors[i].pict,
+ >color, 0, 0, 1, 1);
}
-/*
- * Set to the new color
- */
info->colors[i].color = color->color;
info->colors[i].screen = draw->screen;
-XRenderFillRectangle (dpy, PictOpSrc,
- info->colors[i].pict,
- >color, 0, 0, 1, 1);
+
return info->colors[i].pict;
}
Index: src/xftint.h
===
RCS file: /cvs/OpenBSD/xenocara/lib/libXft/src/xftint.h,v
retrieving revision 1.4
diff -u -p -u -r1.4 xftint.h
--- src/xftint.h11 Jun 2012 19:23:03 - 1.4
+++ src/xftint.h10 Jun 2019 16:52:02 -
@@ -245,6 +245,7 @@ typedef struct _XftDisplayInfo {
XExtCodes *codes;
FcPattern *defaults;
FcBool hasRender;
+FcBool hasSolid;
XftFont*fonts;
XRenderPictFormat *solidFormat;
unsigned long glyph_memory;
--
Matthieu Herrb
Hi,
the patch below updates libxtrans to version 1.4.0. Since there is one
removed in a generated file used by other libs, there are also libX11
and libICE major bumps.
comments, oks ?
Index: lib/libICE/Makefile.bsd-wrapper
===
RCS
On Sun, Jun 16, 2019 at 09:55:24PM +1000, Damien Miller wrote:
>
>
> On Sun, 16 Jun 2019, Matthieu Herrb wrote:
>
> > On Sun, Jun 09, 2019 at 04:47:53PM +0200, Matthieu Herrb wrote:
> > > Hi,
> > >
> > > ssh-askpass(1) is trying to be clever
1 - 100 of 341 matches
Mail list logo