Porting NX: 64bit problems

2015-08-31 Thread Ulrich Sibiller
Hello, I am currently trying to port the (old) code of NoMachine NX to modular X. The code as released by NoMachine and maintained t the x2go project [1] is mostly based on the Xorg 6.9 tree. My first goal is to port that code to Xorg 7.0 as 6.9 and 7.0 share the same code (after that updating

Re: Porting NX: 64bit problems

2015-09-21 Thread Ulrich Sibiller
On Thu, Sep 17, 2015 at 4:30 PM, Adam Jackson <a...@nwnk.net> wrote: > On Tue, 2015-09-01 at 00:09 +0200, Ulrich Sibiller wrote: >> So I am looking for some advice how to solve this in a clean fashion. >> Is there a document describing how to cleanly use libX11 c

Re: [PATCH libX11 3/4] Fixes: warning: variable 'req' set but not, used

2016-10-18 Thread Ulrich Sibiller
On Sat, Jun 4, 2016 at 5:19 PM, walter harms wrote: > Fixes: warning: variable 'req' set but not used [-Wunused-but-set-variable] >by marking req _X_UNUSED > Solution was discussed on xorg-devel ML >Peter Hutter, Alan Coopersmith > Re: [PATCH libX11

Re: xorg-xserver/Xext/shm.c - missing swapped case?

2019-05-06 Thread Ulrich Sibiller
On Mon, May 6, 2019 at 6:28 PM Alan Coopersmith wrote: > > On 5/6/19 9:20 AM, Ulrich Sibiller wrote: > > Since that code is really old (the PANORAMIX stuff came in with > > XFree86 4.3.0.1 in November 2003) I am wondering if this really a bug > > or if am missing somet

xorg-xserver/Xext/shm.c - missing swapped case?

2019-05-06 Thread Ulrich Sibiller
Hello, it seems to me that the shm code in the xserver's Xext code is incomplte for the swapped case. In ProcShmDispatch() we have: case X_ShmPutImage: #ifdef PANORAMIX if (!noPanoramiXExtension) return ProcPanoramiXShmPutImage(client); #endif return

libXfont2 - how to prevent memory leak?

2020-10-17 Thread Ulrich Sibiller
Hello, I have some Xserver fork that uses a slightly adapted version of dix/dixfonts.c:doListFontsAndAliases() for xorg-xserver. Generally both the original and my version are working like this: - init using FontFileStartListFonts(...,) - loop until FontFileListNextFontOrAlias(...,private)

Re: libXfont2 - how to prevent memory leak?

2020-10-30 Thread Ulrich Sibiller
ping On Sat, Oct 17, 2020 at 11:14 PM Ulrich Sibiller wrote: > > Hello, > > I have some Xserver fork that uses a slightly adapted version of > dix/dixfonts.c:doListFontsAndAliases() for xorg-xserver. > > Generally both the original and my version are working like

[PATCH libX11 1/2] Indention fixes around recent dpy->in_ifevent changes

2022-11-30 Thread Ulrich Sibiller
>From 35072d172d0bfecb24fdd8437ecdcd0e391e1f14 Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Wed, 30 Nov 2022 22:18:42 +0100 Subject: [PATCH libX11 1/2] Indention fixes around recent dpy->in_ifevent changes Use the same indention as the surrounding code. Signed-off-by: Ulrich Si

[PATCH libX11 1/2] Indention fixes around recent dpy->in_ifevent changes

2022-11-30 Thread Ulrich Sibiller
Resent due to gmail mangling tabs.. Seems impossible nowadays to send a plaintext mail unmodifed using gmail's web interface... From 35072d172d0bfecb24fdd8437ecdcd0e391e1f14 Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Wed, 30 Nov 2022 22:18:42 +0100 Subject: [PATCH libX11 1/2

Re: [PATCH libX11 1/2] Indention fixes around recent dpy->in_ifevent changes

2022-11-30 Thread Ulrich Sibiller
instead of this ML hassle... ;-) Uli On Thu, Dec 1, 2022 at 12:37 AM Alan Coopersmith < alan.coopersm...@oracle.com> wrote: > On 11/30/22 14:42, Ulrich Sibiller wrote: > > Resent due to gmail mangling tabs.. Seems impossible nowadays to send a > plaintext mail unmodifed using gma

PATCH libX11 2/2] ChkIfEv.c: fix wrong handling of dpy->in_ifevent

2022-11-30 Thread Ulrich Sibiller
From 9d6bb3d179427d832d811e61fb6e4ebb9d004283 Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Wed, 30 Nov 2022 22:19:15 +0100 Subject: [PATCH libX11 2/2] ChkIfEv.c: fix wrong handling of dpy->in_ifevent Is no longer a bool but a counter. Signed-off-by: Ulrich Sibiller --- src/ChkIfE