Re: Moving the X11 socket to XDG_RUNTIME_DIR

2025-09-04 Thread Antoine Martin
I had suggested something similar 13 years ago: https://lists.x.org/archives/xorg-devel/2012-October/033883.html Basically allowing users to put the X11 socket wherever they like. This is even more relevant nowadays with containers, bind mounts, etc point of discussion being -> let's sort out ho

Re: Moving the X11 socket to XDG_RUNTIME_DIR

2025-07-19 Thread Artur Manuel
On Fri Jul 4, 2025 at 7:33 AM BST, Carsten Haitzler wrote: > On Fri, 04 Jul 2025 01:07:23 +0100 "Artur Manuel" said: > >> On Thu Jul 3, 2025 at 7:44 AM BST, Carsten Haitzler wrote: >> > so do you propose the xserver sets up these symlinks? if x is running as >> > $USER then putting it in the xdg r

Re: History repeats: Redhat censored me on freedesktop.org - Xlibre fork release coming in few days

2025-07-04 Thread chaosesquet...@yahoo.com
Now you know who your enemies are. The first woke banning of opensource code was in 2007 or 2009, I remember. Only RMS and ESR spoke out against it. Everyone else was silent or cheered. On Friday, June 6, 2025 at 09:52:01 AM EDT, Enrico Weigelt, metux IT consult wrote: Hello everybo

Re: Moving the X11 socket to XDG_RUNTIME_DIR

2025-07-03 Thread Carsten Haitzler
On Fri, 04 Jul 2025 01:07:23 +0100 "Artur Manuel" said: > On Thu Jul 3, 2025 at 7:44 AM BST, Carsten Haitzler wrote: > > so do you propose the xserver sets up these symlinks? if x is running as > > $USER then putting it in the xdg runtime dir makes sense. but then... you > > have issues with mult

Re: Moving the X11 socket to XDG_RUNTIME_DIR

2025-07-03 Thread Artur Manuel
On Thu Jul 3, 2025 at 7:44 AM BST, Carsten Haitzler wrote: > so do you propose the xserver sets up these symlinks? if x is running as $USER > then putting it in the xdg runtime dir makes sense. but then... you have > issues > with multiple users fighting over /tmp/.X11-unix for the compat symlinks

Re: Moving the X11 socket to XDG_RUNTIME_DIR

2025-07-02 Thread Carsten Haitzler
On Wed, 02 Jul 2025 19:40:13 +0100 "Artur Manuel" said: > Hello, hope this email comes in good faith. > > I was thinking of any benefits that could arise from moving the X11 > socket from /tmp/.X11-unix to $XDG_RUNTIME_DIR/.X11-unix and I thought > of a few. This thought was inspired by Wayland

Re: X.Org Security Advisory: multiple security issues X.Org X server and Xwayland

2025-06-18 Thread Olivier Fourdan
Addendum to yesterday's X.Org Security Advisory for CVE-2025-49176: On 17/06/2025 15:43, Olivier Fourdan wrote: [...] == 2) CVE-2025-49176: Integer overflow in Big Requests Extension The Big Requests extension allows requests

Re: Fullscreen mode for X, without seeing next to current WM?

2025-05-14 Thread Rob Arthan
[Nick: oops! I forgot to do Reply All, so you’ll see this twice.] I’m not quite sure why you started a new thread for this. In any case, If you use X Quartz and select the Full Screen option in the Output tab in the settings, then you will achieve this. You may need to quit X Quartz and restart

Re: Fullscreen mode for X, without seeing next to current WM?

2025-05-13 Thread Nick
That’s exactly what I was looking for. xterm -fullscreen is fullscreen now like a terminal. Thanks! > On May 13, 2025, at 2:55 PM, Rob Arthan wrote: > > [Nick: oops! I forgot to do Reply All, so you’ll see this twice.] > > I’m not quite sure why you started a new thread for this. > > In any

Re: Full Screen Xterm Window?

2025-05-13 Thread Nick
Comments > On May 13, 2025, at 3:09 AM, Carsten Haitzler wrote: > > On Tue, 13 May 2025 02:08:49 -0400 Atod Notbora said: > >> When using XQuartz on MacOS is there a way to make an xterm window >> completely full screen, without the top title bar or dock below? Like a >> terminal? >> >> At t

Re: Full Screen Xterm Window?

2025-05-13 Thread Cheng-Yang Tan
If you want to start an xterm fullscreen, you can, from a terminal, execute: xterm -fullscreen Is this what you want? cytan On Tuesday, May 13, 2025 at 02:09:02 PM GMT+8, Atod Notbora via X11-users wrote: When using XQuartz on MacOS is there a way to make an xterm window completely ful

Re: Full Screen Xterm Window?

2025-05-13 Thread Carsten Haitzler
On Tue, 13 May 2025 02:08:49 -0400 Atod Notbora said: > When using XQuartz on MacOS is there a way to make an xterm window > completely full screen, without the top title bar or dock below? Like a > terminal? > > At the moment, it appears my XQuartz session uses an Aqua style > WM. I'm wonderi

Re: Xorg: MRs on sbus cleanups

2025-05-04 Thread Michael
Hello, On Fri, 2 May 2025 13:09:20 +0200 "Enrico Weigelt, metux IT consult" wrote: > * https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1940 > >-> removes probing for several sbus cards that we don't have any > drivers anymore >-> we (Xorg) never had a driver for MGX

Re: xf86: VGA arbiter lock on CloseScreen() still needed ?

2025-05-02 Thread Enrico Weigelt, metux IT consult
On 29.04.25 15:27, Michel Dänzer wrote: In most cases, that's really simple and straightforward, [...] That contradicts my experience working on the X server code for over two decades. Sorry, most cases, I've converted so far. (just speaking about what's in that queue) Of course there also

Re: xf86: VGA arbiter lock on CloseScreen() still needed ?

2025-04-29 Thread Michel Dänzer
On 2025-04-29 13:13, Enrico Weigelt, metux IT consult wrote: > Hello folks, > > > I'm currently working on simplifying hooking into ScreenRec proc's: > > Instead of anybody directly manipulating the individual proc vectors > and forming a daisy chain, now using the generic callback mechanism > w

Re: [Cin] "Competitors" or do we want to stay alive?

2025-04-09 Thread Andrew Randrianasulu
вт, 8 апр. 2025 г., 10:59 Pekka Paalanen : > On Mon, 7 Apr 2025 18:31:17 +0300 > Andrew Randrianasulu wrote: > > > пн, 7 апр. 2025 г., 17:18 Pekka Paalanen : > > > > > On Mon, 7 Apr 2025 14:44:25 +0300 > > > Andrew Randrianasulu wrote: > > > > > > > пн, 7 апр. 2025 г., 14:19 Pekka Paalanen < > p

Re: [Cin] "Competitors" or do we want to stay alive?

2025-04-08 Thread Andrew Randrianasulu
пн, 7 апр. 2025 г., 17:18 Pekka Paalanen : > On Mon, 7 Apr 2025 14:44:25 +0300 > Andrew Randrianasulu wrote: > > > пн, 7 апр. 2025 г., 14:19 Pekka Paalanen : > > > > > On Fri, 4 Apr 2025 22:14:10 +0300 > > > Andrew Randrianasulu wrote: > > > > > > > пт, 4 апр. 2025 г., 21:35 Andrea paz : > > > >

Re: [Cin] "Competitors" or do we want to stay alive?

2025-04-08 Thread Pekka Paalanen
On Mon, 7 Apr 2025 18:31:17 +0300 Andrew Randrianasulu wrote: > пн, 7 апр. 2025 г., 17:18 Pekka Paalanen : > > > On Mon, 7 Apr 2025 14:44:25 +0300 > > Andrew Randrianasulu wrote: > > > > > пн, 7 апр. 2025 г., 14:19 Pekka Paalanen : > > > > > > > On Fri, 4 Apr 2025 22:14:10 +0300 > > > > And

Re: [Cin] "Competitors" or do we want to stay alive?

2025-04-08 Thread Andrew Randrianasulu
пн, 7 апр. 2025 г., 14:19 Pekka Paalanen : > On Fri, 4 Apr 2025 22:14:10 +0300 > Andrew Randrianasulu wrote: > > > пт, 4 апр. 2025 г., 21:35 Andrea paz : > > > > > @Georgy > > > X11 supports CMS more or less well. Even I was able to profile the > > > monitor and install it with colord. It's not f

Re: [Cin] "Competitors" or do we want to stay alive?

2025-04-07 Thread Pekka Paalanen
On Mon, 7 Apr 2025 14:44:25 +0300 Andrew Randrianasulu wrote: > пн, 7 апр. 2025 г., 14:19 Pekka Paalanen : > > > On Fri, 4 Apr 2025 22:14:10 +0300 > > Andrew Randrianasulu wrote: > > > > > пт, 4 апр. 2025 г., 21:35 Andrea paz : > > > ... > > > > A theoretical question: can CinGG be adapte

Re: [Cin] "Competitors" or do we want to stay alive?

2025-04-07 Thread Pekka Paalanen
On Fri, 4 Apr 2025 22:14:10 +0300 Andrew Randrianasulu wrote: > пт, 4 апр. 2025 г., 21:35 Andrea paz : > > > @Georgy > > X11 supports CMS more or less well. Even I was able to profile the > > monitor and install it with colord. It's not full support like Windows > > or Apple has, but it's doable

Re: [Cin] "Competitors" or do we want to stay alive?

2025-04-07 Thread Andrew Randrianasulu
пт, 4 апр. 2025 г., 21:35 Andrea paz : > @Georgy > X11 supports CMS more or less well. Even I was able to profile the > monitor and install it with colord. It's not full support like Windows > or Apple has, but it's doable. > For Wayland the big problem, why they didn't want to make a CMS, is > it

Re: RFC: new namespae based security extension

2025-03-21 Thread Enrico Weigelt, metux IT consult
On 12.03.25 13:29, Enrico Weigelt, metux IT consult wrote: hello friends, That's one of the more tricky things, especially since there's more than clipboard protocol ;-) here's a little update: 1. xselections are now fully isolated: * namespace's IDs are internally prefixed to selection n

Re: RFC: new namespae based security extension

2025-03-12 Thread Enrico Weigelt, metux IT consult
On 11.03.25 19:46, Alan Coopersmith wrote: Hi, This sounds partially similar to the Trusted Solaris extension, which in Solaris 10 and later relied on Solaris zones for the client isolation for each "label", and returned fake success messages to reduce the breakage on client applications (which

Re: RFC: new namespae based security extension

2025-03-11 Thread Alan Coopersmith
On 3/11/25 11:02, Enrico Weigelt, metux IT consult wrote: Hello folks, I'd like to let you know I'm working on a new Xserver extension that's putting clients into different "namespaces", so they can be isolated from each other. The idea is a bit similar to Linux namespaces (containers), where p

Re: [PATCH] More robust MCOOKIE handling

2025-03-10 Thread Alan Coopersmith
On 3/8/25 20:55, B. Wilson wrote: Hello, When mcookie is not found at configure time, we were failing to correctly set HAS_COOKIE_MAKER and MK_COOKIE, which ends up causing startx to think it should run a command called MK_COOKIE. The attached patch fixes this case. Additionally, when MCOOKIE i

Re: xterm: incorrect behavior with meta keys? rxvt and gnome-terminal behave correctly.

2025-03-10 Thread Thomas Dickey
- Original Message - | From: "Nick" | To: "xorg-devel" | Sent: Monday, March 10, 2025 12:27:46 AM | Subject: xterm: incorrect behavior with meta keys? rxvt and gnome-terminal behave correctly. | Does anyone know why Emacs-like keybindings such as Meta-b (back word) and | Meta-f (forward

Re: xf86-video-intel is broken and with MRs disables we can't fix it

2025-02-10 Thread Enrico Weigelt, metux IT consult
On 07.02.25 22:25, Ville Syrjälä wrote: Hi, xf86-video-intel driver is currently cannot be compiled with released versions of X server. Simple reproduction steps: create Debian Bookworm container, download module sources and all required dependencies and try to build. Builds fine on my Gentoo

Re: xf86-video-intel is broken and with MRs disables we can't fix it

2025-02-10 Thread Povilas Kanapickas
On 2025-02-07 23:25, Ville Syrjälä wrote: > On Fri, Feb 07, 2025 at 08:57:34PM +0200, Povilas Kanapickas wrote: >> Hi, >> >> xf86-video-intel driver is currently cannot be compiled with released >> versions of X server. Simple reproduction steps: create Debian Bookworm >> container, download module

Re: xf86-video-intel is broken and with MRs disables we can't fix it

2025-02-07 Thread Povilas Kanapickas
Hi Ville, Thanks for quick response. Turns out due to multiple factors leading to my confusion most parts of the email are plainly wrong. Apologies for going to public mailing list without more research and discussion. On 2025-02-07 23:25, Ville Syrjälä wrote: > On Fri, Feb 07, 2025 at 08:57:34P

Re: xf86-video-intel is broken and with MRs disables we can't fix it

2025-02-07 Thread Ville Syrjälä
On Fri, Feb 07, 2025 at 08:57:34PM +0200, Povilas Kanapickas wrote: > Hi, > > xf86-video-intel driver is currently cannot be compiled with released > versions of X server. Simple reproduction steps: create Debian Bookworm > container, download module sources and all required dependencies and try >

Re: Non-upstreamed drivers from NetBSD

2025-02-03 Thread nia
On Wed, Jan 29, 2025 at 01:48:06PM +0100, Enrico Weigelt, metux IT consult wrote: > On 20.11.24 15:19, nia wrote: > > Hi, > > sorry for the long dalay. > > > All of the code is under the X11 license and unlikely > > to compile on non-NetBSD without a little patching, > > at the very least due t

Re: Non-upstreamed drivers from NetBSD

2025-02-03 Thread nia
On Thu, Jan 30, 2025 at 01:29:52PM +0100, Enrico Weigelt, metux IT consult wrote: > > I'd assume you wanted to mirror the repositories on > > git.freedesktop.org, > > Not necessarily, but at least let xorg-testing build all these > drivers on NetBSD target. > > > since we keep everything in a cv

Re: Building xorg for the first time

2025-02-03 Thread Enrico Weigelt, metux IT consult
On 05.12.24 07:57, Chris Ward wrote: I am trying to build the xorg Xserver (because I want to profile it with -p or -pg) and getting build breaks. After getting past several of the libs requiring an empty 'm4' directory, The first is a complaint that 'fontconfig' is installed in a non-standard pa

Re: autotools to meson: policy?

2025-02-03 Thread Enrico Weigelt, metux IT consult
On 14.12.24 08:06, tlaro...@kergis.com wrote: I still liked to have a Xorg developers' expressed policy about these points: - Has the meson framework to provide at least the configuration flexibility provided by autotools, so that whoever is compiling Xorg could, in the future, configure it the

Re: Non-upstreamed drivers from NetBSD

2025-01-31 Thread Enrico Weigelt, metux IT consult
On 20.11.24 15:19, nia wrote: xf86-input-ws Input driver for mice, touchscreens, and touchpads shared with OpnBSD https://github.com/NetBSD/xsrc/tree/trunk/external/mit/xf86-input-ws Aproos input devices: What's the status of libinput on NetBSD ? (FreeBSD seems to have it). Could we just wri

Re: autotools to meson: policy?

2025-01-30 Thread Enrico Weigelt, metux IT consult
On 29.01.25 18:51, tlaro...@kergis.com wrote: Hi, Theoretically, python is interpreted, so byte-compiling should not be necessary. Yes, and IIRC it's only a cache (for reducing startup time) anyways. Some distros to package them, but for good reasons they've got their special build machinerie

Re: Non-upstreamed drivers from NetBSD

2025-01-30 Thread Enrico Weigelt, metux IT consult
On 29.01.25 19:16, nia wrote: Hi, By the way: I still like to add netbsd to the CI - major blocker is lack of a suitable cloud image, where we can directly ssh into w/o any authentication. (f.d.o folks don't like to host custom images that cant be automatically reproduced - we'd need some "offi

Re: autotools to meson: policy?

2025-01-29 Thread tlaronde
On Wed, Jan 29, 2025 at 01:40:20PM +0100, Enrico Weigelt, metux IT consult wrote: > On 14.12.24 08:06, tlaro...@kergis.com wrote: > > I still liked to have a Xorg developers' expressed policy about these > > points: > > > > - Has the meson framework to provide at least the configuration > > flexi

Re: Non-upstreamed drivers from NetBSD

2025-01-29 Thread Enrico Weigelt, metux IT consult
On 20.11.24 15:19, nia wrote: Hi, sorry for the long dalay. All of the code is under the X11 license and unlikely to compile on non-NetBSD without a little patching, at the very least due to using wscons-specific ioctls. Would it be hard to make it just compile on other platforms ? Rational

Re: autotools to meson: policy?

2024-12-23 Thread tlaronde
On Sat, Dec 14, 2024 at 11:21:40AM -0800, Alan Coopersmith wrote: > On 12/13/24 23:06, tlaro...@kergis.com wrote: > > - Has the meson framework to provide at least the configuration > > flexibility provided by autotools, so that whoever is compiling Xorg > > could, in the future, configure it the w

Re: autotools to meson: policy?

2024-12-14 Thread Alan Coopersmith
On 12/13/24 23:06, tlaro...@kergis.com wrote: - Has the meson framework to provide at least the configuration flexibility provided by autotools, so that whoever is compiling Xorg could, in the future, configure it the way it managed to do with autotools? => See: http://notes.kergis.com/x1

Re: evdev: workaround for missing ABS_X/Y on multitouch devices (mostly Android)

2024-11-28 Thread md Sohag

Re: libinput TabletToolAreaRatio pins cursor to 0,0

2024-11-04 Thread Peter Hutterer
Hi Edmund, Please file a bug against the xorg libinput driver here: https://gitlab.freedesktop.org/xorg/driver/xf86-input-libinput/ This feature is implemented in that driver so any bug will be in that code. Description is good enough, you can copy/paste that in there but it'll be easier to hand

Re: buillding error xorg-server 21.1.4

2024-11-01 Thread Alan Coopersmith
On 11/1/24 03:50, Fungal-net wrote: Thank you very much, the patch worked. Initially I misinterpreted that you were still working on more patches. I assume this fix will be included in >= 21.1.15 I was working on another patch that I found was needed to build with IPv6 disabled on Solaris -

Re: buillding error xorg-server 21.1.4

2024-10-30 Thread Alan Coopersmith
On 10/30/24 12:28, Fungal-net wrote: I get the following error trying to build version 21.1.4 same build dependencies used for 21.1.3 (4/13/24) but different versions gcc 14.2.1+r134 glibc 2.40+r16 binutils 2.43+r4 libtool 2.5.3 arch linux like system without systemd ../xorg-server/os/access.c:

Re: buillding error xorg-server 21.1.4

2024-10-30 Thread Alan Coopersmith
On 10/30/24 10:52, Fungal-net wrote: I get the following error trying to build version 21.1.4 same build dependencies used for 21.1.3 (4/13/24) but different versions gcc 14.2.1+r134 glibc 2.40+r16 binutils 2.43+r4 libtool 2.5.3 arch linux like system without systemd ../xorg-server/os/access.

Re: buillding error xorg-server 21.1.4

2024-10-30 Thread Alan Coopersmith
On 10/30/24 05:38, Fungal-net wrote: I get the following error trying to build version 21.1.4 same build dependencies used for 21.1.3 (4/13/24) but different versions gcc 14.2.1+r134 glibc 2.40+r16 binutils 2.43+r4 libtool 2.5.3 arch linux like system without systemd ../xorg-server/os/access.

Re: AW: XORG_CHECK_MALLOC_ZERO: stop testing malloc, assume the worst

2024-10-29 Thread tlaronde
On Tue, Oct 29, 2024 at 09:13:57AM -0700, Alan Coopersmith wrote: > On 10/29/24 04:29, Walter Harms wrote: > > hello, > > if i rember correctly there is a whole wrapper for malloc in libX11. > > It's a pretty thin wrapper - just a #define which varies depending on the > setting of XORG_CHECK_MALLO

Re: AW: XORG_CHECK_MALLOC_ZERO: stop testing malloc, assume the worst

2024-10-29 Thread Alan Coopersmith
On 10/29/24 04:29, Walter Harms wrote: hello, if i rember correctly there is a whole wrapper for malloc in libX11. It's a pretty thin wrapper - just a #define which varies depending on the setting of XORG_CHECK_MALLOC_ZERO: https://gitlab.freedesktop.org/xorg/lib/libx11/-/blob/libX11-1.8.10/in

Re: XORG_CHECK_MALLOC_ZERO: stop testing malloc, assume the worst

2024-10-25 Thread Keith Packard
> It's been sitting in gitlab for 2 weeks without comment - I figured I'd > give a larger audience a chance to chime in before I go ahead and merge > it - but if I don't hear anything soon, I'll do just that. I'm down for this plan. I poked the 'approved' button and everything. -- -keith sign

Re: XORG_CHECK_MALLOC_ZERO: stop testing malloc, assume the worst

2024-10-25 Thread tlaronde
On Thu, Oct 24, 2024 at 03:14:01PM -0700, Alan Coopersmith wrote: > After a recent conversation on Mastodon about how checking if a malloc() > implementation returns NULL for malloc(0) at build time can give different > answers than you may get at runtime if an application or LD_PRELOAD has > inter

Re: CI hardware sponsoring for Xorg / Freedesktop

2024-09-11 Thread Simona Vetter
Hi Enrico We'd need to check with fd.o admins whether this technically makes sense, and they expect from CI runners. Adding sitewranglers for that. Also I guess a rough guesstimate of the power costs would be needed for the board to approve. Cheers, Sima On Fri, 6 Sept 2024 at 16:32, Enrico Weig

Re: Does anyone still feel strongly about -Wdeclaration-after-statement ?

2024-09-01 Thread Alan Coopersmith
On 8/15/24 01:15, Matthieu Herrb wrote: On Tue, Aug 13, 2024 at 01:56:14PM +0200, Enrico Weigelt, metux IT consult wrote: On 08.08.24 13:37, Matthieu Herrb wrote: But also try to avoid gratuitous churn. I'm opposed to commit to just move variable declaration around "because we can". You're

Re: X11 Specification process

2024-08-23 Thread Alan Coopersmith
On 8/23/24 03:40, Enrico Weigelt, metux IT consult wrote: hi folks, I'm curious how the protocol specification process practically works these days. Demi proposed some interesting things (*1), which IMHO should be formally specificed. How's the decision exact process for such proposals ? I

Re: xcb docs @x.org broken

2024-08-20 Thread tlaronde
On Tue, Aug 20, 2024 at 08:12:16AM -0700, Alan Coopersmith wrote: > On 8/20/24 02:46, Enrico Weigelt, metux IT consult wrote: > > Hi folks, > > > > > > I've seen the xcb docs at x.org are pretty broken, eg. > > > > https://www.x.org/releases/current/doc/man/man3/xcb_query_font.3.xhtml > > > > I

Re: xcb docs @x.org broken

2024-08-20 Thread Alan Coopersmith
On 8/20/24 02:46, Enrico Weigelt, metux IT consult wrote: Hi folks, I've seen the xcb docs at x.org are pretty broken, eg. https://www.x.org/releases/current/doc/man/man3/xcb_query_font.3.xhtml It is still maintained ? It's been many years since I last updated them, and I don't remember how

Re: xcb docs @x.org broken

2024-08-20 Thread tlaronde
On Tue, Aug 20, 2024 at 11:46:25AM +0200, Enrico Weigelt, metux IT consult wrote: > Hi folks, > > > I've seen the xcb docs at x.org are pretty broken, eg. > > https://www.x.org/releases/current/doc/man/man3/xcb_query_font.3.xhtml > > It is still maintained ? There is a spurious "" line 77. Th

Re: Does anyone still feel strongly about -Wdeclaration-after-statement ?

2024-08-16 Thread Enrico Weigelt, metux IT consult
On 15.08.24 10:15, Matthieu Herrb wrote: There have been enough security issues in the past in this area (and I sure there are still a lot waiting to be "discovered", because there is no currently active effort beside yours to and the work by ZDI to audit and fix issues actively. Well, that's

Re: Found and fixed a 20 years old bug in Xserver :)

2024-08-15 Thread Alan Coopersmith
On 8/15/24 06:40, Enrico Weigelt, metux IT consult wrote: Seriously, I don't have any clue what that really supposed to mean. Unfortunately, we don't have any explaination in the git history - it came from a big X11R6.6 snapshot, 20 years ago. We don't have full history for all of X, but for th

RE: xcb: list & padding

2024-08-15 Thread Peter Harris
>> https://gitlab.freedesktop.org/xorg/lib/libxcb/-/merge_requests/14 changes >> it so that lists always require explicit padding (and therefore allows >> unpadded lists). This MR is stalled. With a little review, I think it can be >> merged. > > oh, it's laying around there for 3 years now, nob

Re: xcb: list & padding

2024-08-15 Thread Enrico Weigelt, metux IT consult
On 13.08.24 15:29, Peter Harris wrote: Hi, https://gitlab.freedesktop.org/xorg/lib/libxcb/-/merge_requests/14 changes it so that lists always require explicit padding (and therefore allows unpadded lists). This MR is stalled. With a little review, I think it can be merged. oh, it's laying a

Re: Does anyone still feel strongly about -Wdeclaration-after-statement ?

2024-08-15 Thread Matthieu Herrb
On Tue, Aug 13, 2024 at 01:56:14PM +0200, Enrico Weigelt, metux IT consult wrote: > On 08.08.24 13:37, Matthieu Herrb wrote: > > > But also try to avoid gratuitous churn. I'm opposed to commit to just > > move variable declaration around "because we can". > > You're referring to me, right ? Not

Re: Does anyone still feel strongly about -Wdeclaration-after-statement ?

2024-08-14 Thread Enrico Weigelt, metux IT consult
On 08.08.24 13:37, Matthieu Herrb wrote: But also try to avoid gratuitous churn. I'm opposed to commit to just move variable declaration around "because we can". You're referring to me, right ? See my other mail and ticket #1701: the MRs in question are preparational work for other things in

RE: Does anyone still feel strongly about -Wdeclaration-after-statement ?

2024-08-13 Thread Peter Harris
> Using __attribute__((cleanup)) plus a bit macro magic gives us a little taste > of > golang's defer. > > Is there any strong reason for not using it ? Not all compilers support __attribute__((cleanup)). I don't know if anybody still uses Sun Studio or IBM's XLC, but I still use MSVC to build.

RE: xcb: list & padding

2024-08-13 Thread Peter Harris
https://gitlab.freedesktop.org/xorg/lib/libxcb/-/merge_requests/14 changes it so that lists always require explicit padding (and therefore allows unpadded lists). This MR is stalled. With a little review, I think it can be merged. As long as you're looking at xkb, see also https://gitlab.freede

Re: Does anyone still feel strongly about -Wdeclaration-after-statement ?

2024-08-13 Thread Enrico Weigelt, metux IT consult
On 08.08.24 05:32, Peter Hutterer wrote: I feel fairly strongly about removing that warning, i.e. allowing declarations after statements. There's a reason all modern languages allow this. It makes the code clearer and less buggy in many instances, esp. in regards to variables that don't need to

Re: merge requests to Geode

2024-08-13 Thread Enrico Weigelt, metux IT consult
On 13.08.24 08:41, Martin-Éric Racine wrote: Enrico, do you think that you could help Connor finalize this MR? last time I checked (any replied), i've been fine with this. just been a bit naggling about esthetic aspects - suggested splitting it a bit to make it easier for the reader of the pa

Re: Does anyone still feel strongly about -Wdeclaration-after-statement ?

2024-08-08 Thread Keith Packard
> > Having said that, sticking with the local code style still trumps > > anything, if you have 6 temp variables declared at the top mixed with 5 > > declared later that's more confusing than if all were at the top. > > But also try to avoid gratuitous churn. I'm opposed to commit to just > move

Re: Does anyone still feel strongly about -Wdeclaration-after-statement ?

2024-08-08 Thread Matthieu Herrb
://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1601 > > > > Do we want to keep insisting on this as part of our style, or have people > > gotten used to it from other languages/projects now and are willing to > > accept it in X.Org code? > > > > Is i

Re: Does anyone still feel strongly about -Wdeclaration-after-statement ?

2024-08-07 Thread Peter Hutterer
ed a number of merge requests that use it to > simplify some of our previous code, such as: > https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1601 > > Do we want to keep insisting on this as part of our style, or have people > gotten used to it from other language

Re: difference between XFillRectangles() and xcb_poly_fill_rectangle()

2024-08-04 Thread Goran
Sorry, wrong subject. Am Montag, dem 05.08.2024 um 01:44 +0200 schrieb Goran: > Is this good or bad for X? > > https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 > > Am Freitag, dem 02.08.2024 um 14:54 +0200 schrieb Enrico Weigelt, > metux > IT consult: > > On 01.08.24 20:36, Enrico

Re: difference between XFillRectangles() and xcb_poly_fill_rectangle()

2024-08-04 Thread Goran
Is this good or bad for X? https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 Am Freitag, dem 02.08.2024 um 14:54 +0200 schrieb Enrico Weigelt, metux IT consult: > On 01.08.24 20:36, Enrico Weigelt, metux IT consult wrote: > > ... answering myself: >   > Is there something subtle in

Re: difference between XFillRectangles() and xcb_poly_fill_rectangle()

2024-08-02 Thread Enrico Weigelt, metux IT consult
On 01.08.24 20:36, Enrico Weigelt, metux IT consult wrote: ... answering myself: > Is there something subtle in here that I've overseen ? (something XGC's internal state maybe ?) Xlib indeed has a write-back cache for GC attributes, which is written out by all functions that need (server side

Re: Does anyone still feel strongly about -Wdeclaration-after-statement ?

2024-07-31 Thread Olivier Fourdan
Hey, On Mon, Jul 29, 2024 at 2:49 AM Alan Coopersmith < alan.coopersm...@oracle.com> wrote: > […] > Do we want to keep insisting on this as part of our style, or have people > gotten used to it from other languages/projects now and are willing to > accept it in X.Org code? > I reckon having the

Re: Does anyone still feel strongly about -Wdeclaration-after-statement ?

2024-07-31 Thread Ismael Luceno
On 31/Jul/2024 00:31, Jeremy Sequoia wrote: <...> > I'd even go farther and say that we should allow code that requires C11. C11 might be slightly problematic in some platforms, but C99 is currently widely available and has 99% of the interesting stuff...

Re: Does anyone still feel strongly about -Wdeclaration-after-statement ?

2024-07-31 Thread Jeremy Sequoia
if someone happens to re-order some code and doesn't realize that they introduced a read before initialization. Yes, that can be caught with static analysis, but still... don't rely on complex solutions when simpler solutions are available. > On Jul 28, 2024, at 17:48, Alan Coopersmi

Re: Adding a new label "Regression" to xorg/xserver gitlab project

2024-07-29 Thread Enrico Weigelt, metux IT consult
On 23.07.24 11:44, Olivier Fourdan wrote: Hi all, The master branch of the xserver is seeing a lot of changes, and people are sometimes reporting regressions. I am proposing to add a new label "Regression" that would help quickly identifying such issues in gitlab so the relevant people can focu

Re: Does anyone still feel strongly about -Wdeclaration-after-statement ?

2024-07-28 Thread Keith Packard
> Do we want to keep insisting on this as part of our style, or have people > gotten used to it from other languages/projects now and are willing to > accept it in X.Org code? Yeah, a lot of style comments and one worry about older toolchains. Are all of the *BSDs are on C99 compilers now? Linux

Re: Adding a new label "Regression" to xorg/xserver gitlab project

2024-07-24 Thread Olivier Fourdan
On Wed, Jul 24, 2024 at 12:20 PM Peter Hutterer wrote: > On Tue, Jul 23, 2024 at 11:44:11AM +0200, Olivier Fourdan wrote: > > Hi all, > > > > The master branch of the xserver is seeing a lot of changes, and people > are > > sometimes reporting regressions. > > > > I am proposing to add a new labe

Re: Adding a new label "Regression" to xorg/xserver gitlab project

2024-07-24 Thread Peter Hutterer
On Tue, Jul 23, 2024 at 11:44:11AM +0200, Olivier Fourdan wrote: > Hi all, > > The master branch of the xserver is seeing a lot of changes, and people are > sometimes reporting regressions. > > I am proposing to add a new label "Regression" that would help quickly > identifying such issues in git

Re: Announce: Xorg testing ground v0.0.4 -- adding Illumos/OpenSolaris support

2024-07-23 Thread Enrico Weigelt, metux IT consult
Hello friends, I've just released v0.0.4 of the Xorg testing ground kit, which is now also supporting Illumos (OpenIndiana). [ Special call out to the Solaris community: I'd love to also support other distros (eg. Tribblix), as well as the commerial Solaris, but that's a bit overreaching my

Re: [PATCH] fbdevhw: fix sysfs path PCI device detection

2024-07-19 Thread Enrico Weigelt, metux IT consult
On 18.07.24 09:47, Thomas Zimmermann wrote: Hi, Reviewed-by: Thomas Zimmermann by me, too. He's absolutely right: the current implementation relies on an accidential artifact of the older kernel versions - this aspect has never been any part of uapi. It might be more effective to open a m

Re: [PATCH] fbdevhw: fix sysfs path PCI device detection

2024-07-18 Thread Thomas Zimmermann
Hi Am 15.07.24 um 12:21 schrieb Tj: Linux kernel v6.9 has changed the symlink to point to the parent device. This breaks fbdev_open() detection logic. Change it to use the subsystem symlink instead which will remain stable. Kernel v6.8: [14.067] (II) fbdev_open() sysfs_path=/sys/class/gr

Re: FixesSelectSelectionInput

2024-07-01 Thread Michel Dänzer
On 2024-06-30 09:30, Po Lu wrote: > A recent "security fix" in ProcXFixesSelectSelectionInput hamstrings > this request in the event that no ownership has yet been asserted over > the selection. > > The proximate cause is thus: dixLookupSelection returns error > indications when no selection data

Re: [PING^3] xcbproto Meson added, CI passed

2024-06-28 Thread tlaronde
On Fri, Jun 28, 2024 at 03:05:45PM -0700, Alan Coopersmith wrote: > You might get more attention by mailing the xcb-specific mailing list, > as noted on https://xcb.freedesktop.org/ and in the xcbproto/README.md. > > But then again, you may just find that there are so few developers left, > that t

Re: [PING^3] xcbproto Meson added, CI passed

2024-06-28 Thread Alan Coopersmith
You might get more attention by mailing the xcb-specific mailing list, as noted on https://xcb.freedesktop.org/ and in the xcbproto/README.md. But then again, you may just find that there are so few developers left, that there is no one who has both the knowledge and time to review something like

Re: Do we still need server generations ?

2024-06-26 Thread Mark Kettenis
> Date: Wed, 26 Jun 2024 18:36:16 +0200 > From: "Enrico Weigelt, metux IT consult" > > Hi folks, > > I wonder whether we really still need server generations. > > I've always fonud that *very* confusing that it does some internal > restart (including VT switch, because graphics also reinitializ

Re: [PING] xcbproto Meson added, CI passed

2024-06-23 Thread tlaronde
Hello, Could I have some feedback please ? TIA On Tue, Jun 18, 2024 at 09:33:21AM +0200, tlaro...@kergis.com wrote: > Is it OK? If there are things that someone doesn't think I have done > right, please give feedback---I have, I think, answered about Python > handling knowing that on OSes python

Re: Announce: Xorg testing ground v0.0.3 -- adding OpenBSD support

2024-06-20 Thread Enrico Weigelt, metux IT consult
Hello friends, I've just released v0.0.3 of the Xorg testing ground kit, which is now also supporting OpenBSD 7.5. As like with the other platforms, it automatically detects the host type via uname and automatically selects OpenBSD as target platform (unless explicitly configured otherwise). Cu

Re: [PING] Merge request: xcbproto Meson added, CI passed

2024-06-19 Thread Enrico Weigelt, metux IT consult
On 18.06.24 09:33, tlaro...@kergis.com wrote: Hi, Is it OK? If there are things that someone doesn't think I have done right, please give feedback---I have, I think, answered about Python handling knowing that on OSes python third partie packages handling is not a simple matter. sorry, didn't

Re: announce: canonical CI pipelines for drivers + FreeBSD builds

2024-06-18 Thread Enrico Weigelt, metux IT consult
Update: There's no need for having an own copy of the scripts in each individual driver repo anymore - all pulled from a central location now. Here's an MR for putting this into `modular` repo. If it should go to somewhere else instead, just let me know: https://gitlab.freedesktop.org/xorg/

Re: [PING] Merge request: xcbproto Meson added, CI passed

2024-06-18 Thread tlaronde
Hello, On Tue, Jun 18, 2024 at 10:46:27AM +0200, Enrico Weigelt, metux IT consult wrote: > On 18.06.24 09:33, tlaro...@kergis.com wrote: > > Hi, > > > Is it OK? If there are things that someone doesn't think I have done > > right, please give feedback---I have, I think, answered about Python >

Re: Merge request for auto-meson-pc-cmp.sh + Meson and CI for xcbproto

2024-06-12 Thread tlaronde
I have closed the merge request since this wasn't the problem: I made a blunder in the directories passed as arguments. Since one was not foudn (the script tests), if failed as it should. For Meson with python and the rest (for xcbproto), I have debugged several blunders (setting prefix instead of

Re: consolidating CI builds

2024-06-11 Thread Peter Hutterer
On Tue, Jun 11, 2024 at 10:49:35AM +0200, Enrico Weigelt, metux IT consult wrote: > On 11.06.24 09:09, Peter Hutterer wrote: > > hi folks, > > > With my ci-templates maintainer hat on: no to xorg-specific templates in > > there, it gets too messy. > > Indeed that would be the most wrong place.

Re: consolidating CI builds

2024-06-11 Thread Enrico Weigelt, metux IT consult
On 11.06.24 10:49, Enrico Weigelt, metux IT consult wrote: As things are now, moving that all out to separate repo just doesn't work: cbuild (when building the container images) makes it's own git clone of the project's repo, and we don't have any means for injecting extra steps. So, when $FDO

Re: X11 crashes

2024-06-11 Thread Enrico Weigelt, metux IT consult
On 11.06.24 14:41, Rathnavel J N wrote: Tried build the master branch stuck compiling it , Throws ../include contains GC already defined in /usr/include/xlib/xlib.h Can you send us a complete log ? thx. --mtx On Tue, 11 Jun 2024 at 18:08, Enrico Weigelt, metux IT consult mailto:i...@met

Re: X11 crashes

2024-06-11 Thread Enrico Weigelt, metux IT consult
On 11.06.24 10:39, Rathnavel J N wrote: Hi, Xsererver version is X -version X.Org X Server 1.20.13 Maybe try building from master branch. https://gitlab.freedesktop.org/xorg/xserver I believe that should alreay been fixed there. See: https://gitlab.freedesktop.org/xorg/xserver/-/commit/8c

Re: consolidating CI builds

2024-06-11 Thread Enrico Weigelt, metux IT consult
On 11.06.24 09:09, Peter Hutterer wrote: hi folks, With my ci-templates maintainer hat on: no to xorg-specific templates in there, it gets too messy. Indeed that would be the most wrong place. Note that you can include any file from another repo (I think) so in theory we could ship the temp

Re: consolidating CI builds

2024-06-11 Thread Peter Hutterer
On Mon, Jun 10, 2024 at 12:11:56PM -0700, Alan Coopersmith wrote: > On 5/24/24 03:12, Enrico Weigelt, metux IT consult wrote: > > So, I'm thinking about creating some standard templates that all drivers > > can use. The interesting question now becomes: where to put these ? > > > > Abuse xorg/util

  1   2   3   4   5   6   7   8   9   10   >