Re: [PATCH 0/3] linux: Allow console switching to work without root rights

2014-01-22 Thread Hans de Goede
Hi, On 01/22/2014 03:17 AM, Peter Hutterer wrote: On Tue, Jan 21, 2014 at 09:47:31AM +0100, Hans de Goede wrote: Hi, On 01/21/2014 05:44 AM, Peter Hutterer wrote: On Thu, Jan 16, 2014 at 11:24:48AM +0100, Hans de Goede wrote: This patch-set makes it possible to run without as non-root

Re: [PATCH 0/3] linux: Allow console switching to work without root rights

2014-01-22 Thread Peter Hutterer
On 22/01/2014 18:40 , Hans de Goede wrote: Hi, On 01/22/2014 03:17 AM, Peter Hutterer wrote: On Tue, Jan 21, 2014 at 09:47:31AM +0100, Hans de Goede wrote: Hi, On 01/21/2014 05:44 AM, Peter Hutterer wrote: On Thu, Jan 16, 2014 at 11:24:48AM +0100, Hans de Goede wrote: This patch-set makes

RFC: dummy driver RandR improvements?

2014-01-22 Thread Antoine Martin
Hi, To get xpra[1] to mirror the client's screen configuration, we use the dummy driver as Xdummy[2]. This works well enough generally, but there are a number of niggling issues we would like to fix: * Limited RandR support:

Re: [PATCH 0/3] linux: Allow console switching to work without root rights

2014-01-22 Thread Mouse
that's the same when it's on stdout of course (well, worse, since you can't filter at all). Can't? Is there anything x.org runs on that doesn't support something greppish? /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTML

Re: [PATCH 0/3] linux: Allow console switching to work without root rights

2014-01-22 Thread Hans de Goede
Hi, On 01/22/2014 11:41 AM, Peter Hutterer wrote: On 22/01/2014 18:40 , Hans de Goede wrote: Hi, On 01/22/2014 03:17 AM, Peter Hutterer wrote: On Tue, Jan 21, 2014 at 09:47:31AM +0100, Hans de Goede wrote: Hi, On 01/21/2014 05:44 AM, Peter Hutterer wrote: On Thu, Jan 16, 2014 at

[PATCH v2 0/2] linux: Allow console switching to work without root rights

2014-01-22 Thread Hans de Goede
Hi All, Here is v2 of my Allow console switching to work without root rights patch-set. Changes: -Drop linux: xf86OpenConsole: open vt before detaching from terminal This causes the server to not get its vt as controlling tty when started without a controlling tty (as gdm does), which in turn

[PATCH v2 2/2] linux: xf86OpenConsole: Don't detach from controlling tty when it is our vt

2014-01-22 Thread Hans de Goede
Detaching from our controllling tty makes little sense when it is the same as the vt we're asked to run on. So automatically assume -keeptty in this case. This is useful to do because when not running as root the server can only make various VT related ioctls when it does not detach from the tty.

[PATCH v2 1/2] linux: xf86OpenConsole remove root-rights check for keeptty option

2014-01-22 Thread Hans de Goede
There is no reason why keeptty cannot be used without root-rights. Signed-off-by: Hans de Goede hdego...@redhat.com Reviewed-by: Peter Hutterer peter.hutte...@who-t.net --- hw/xfree86/os-support/linux/lnx_init.c | 6 -- 1 file changed, 6 deletions(-) diff --git

Re: [PATCH] Windows/Cygwin: Add support through the WinIo library

2014-01-22 Thread Jon TURNEY
On 21/01/2014 23:16, Martin Peres wrote: On 18/01/2014 17:19, Samuel Pitoiset wrote: V2: - Add support for unmapping - Add a README.cygwin Reviewed-by: Martin Peres martin.peres-ganu6spq...@public.gmane.org Ping It would be helpful if the subject mentioned this is a patch to libpciaccess.

Re: [PATCH] Replace 'pointer' with the equivalent 'void *'.

2014-01-22 Thread Keith Packard
Knut Petersen knut_peter...@t-online.de writes: I assume there´s not only a fontsproto patch as this patch alone breaks libXfont for obvious reasons. Indeed, another un-reviewed patch in libXfont. From a2e24231571cfc6cce2dbdce91c86203dc68d9bc Mon Sep 17 00:00:00 2001 From: Keith Packard

Re: [PATCH] Replace 'pointer' with the equivalent 'void *'.

2014-01-22 Thread Keith Packard
Gaetan Nadon mems...@videotron.ca writes: Now applies correctly, Reviewed-by: Gaetan Nadon mems...@videotron.ca I've pushed just this patch (having swapped the order of the two patches locally). d84789d..431a426 master - master Did you want for your review to apply to the const pattern

Re: [PATCH] Replace 'pointer' with the equivalent 'void *'.

2014-01-22 Thread Gaetan Nadon
On 14-01-22 12:45 PM, Keith Packard wrote: Gaetan Nadon mems...@videotron.ca writes: Now applies correctly, Reviewed-by: Gaetan Nadon mems...@videotron.ca I've pushed just this patch (having swapped the order of the two patches locally). d84789d..431a426 master - master Did you want

Re: [PATCH] dix: Fix Client starvation with SmartScheduler priorities

2014-01-22 Thread Keith Packard
Chris Wilson ch...@chris-wilson.co.uk writes: The solution employed here is to undo the busy demotion after a period of idleness. Currently the idle boost is applied only once for a fresh client when it becomes selectable. The change is to apply that boost for all clients that remain ready

Re: [PATCH RESEND xserver] libtool: bump minimum required version to 2.2

2014-01-22 Thread Keith Packard
Gaetan Nadon mems...@videotron.ca writes: LT_PREREQ([2.2]) LT_INIT Merged. 2d2d49d..1d4dbc2 master - master -- keith.pack...@intel.com pgp9HaD_RxBsQ.pgp Description: PGP signature ___ xorg-devel@lists.x.org: X.Org development Archives:

Re: [RFC] Add MatchDMI support in InputClass sections

2014-01-22 Thread Keith Packard
Daniel Martin consume.no...@gmail.com writes: this series adds support to match on DMI identifiers in InputClass sections. Its main purpose is to be able to workaround the shortcomings of synaptics touch- and clickpads. I haven't seen an updated patch series with review posted for merging

Re: [PATCH RESEND] xfree86: Keep a non-seat0 X server from touching VTs (#71258)

2014-01-22 Thread Keith Packard
Hans de Goede hdego...@redhat.com writes: After the 1.15 release I'll send a pull request for this to get added into xserver git master. I haven't seen a pull request for this yet? -- keith.pack...@intel.com pgpk5civ__U2A.pgp Description: PGP signature

Re: [PATCH xserver 0/5] fix various autoconf warnings

2014-01-22 Thread Keith Packard
Gaetan Nadon mems...@videotron.ca writes: Gaetan Nadon (5): autoconf: fix warning by replacing deprecated AC_HELP_STRING autoconf: fix warning, replace AC_TRY_LINK with AC_LINK_IFELSE autoconf: fix warning, replace AC_TRY_COMPILE with AC_COMPILE_IFELSE xorg-tls: fix warning, replace

Re: [PULL] glx loader unifdeffing.

2014-01-22 Thread Keith Packard
Eric Anholt e...@anholt.net writes: Eric Anholt (2): glx: unifdef for DRI2 dri_interface.h things in mesa 9.2. glx: unifdef swrast dri_interface.h values from Mesa 7.1. Merged. 1d76b02..0b932cf master - master -- keith.pack...@intel.com pgpxt3_sc4Uu9.pgp Description: PGP

Re: [PULL] glamor import

2014-01-22 Thread Keith Packard
Eric Anholt e...@anholt.net writes: Here's a pull request for the glamor series I originally wrote, plus the code Zhigang Gong wrote inside the X Server tree that I was able to find, plus a rebase of the external glamor tree onto that so that it's all inside of the X Server with the most

Re: [PATCH] If EAGAIN == EWOULDBLOCK, only need to check errno for one of them

2014-01-22 Thread Keith Packard
Alan Coopersmith alan.coopersm...@oracle.com writes: Solaris sys/errno.h has: #define EWOULDBLOCK EAGAIN so checking (errno == EAGAIN || errno == EWOULDBLOCK) is overkill. This leads cppcheck 1.62 to complain: [xserver/os/io.c:365] - [xserver/os/io.c:365]: (style) Same expression on

Re: [PULL] XQuartz hardening and static analysis cleanup

2014-01-22 Thread Keith Packard
Jeremy Huddleston Sequoia jerem...@apple.com writes: Jeremy Huddleston Sequoia (11): XQuartz: Silence some static analyzer warnings by annotating referencing counts XQuartz: Fix darwinfb.h header guard XQuartz: Fix get_proc_address signature XQuartz: Mark

Re: [PULL updated] grab fixes, display name restriction, xephyr grab

2014-01-22 Thread Keith Packard
Peter Hutterer peter.hutte...@who-t.net writes: Alan Coopersmith (3): If AllocGrab() fails to set up grab, don't copy to a NULL grab GrabDevice() needs to handle NULL return value from AllocGrab() CheckPassiveGrabsOnWindow() needs to handle NULL return value from

Re: [PULL] 4k enabling

2014-01-22 Thread Keith Packard
Damien Lespiau damien.lesp...@intel.com writes: Damien Lespiau (3): xfree86: Add a xf86MonitorFindHDMIBlock() xfree86: Refactor xf86MonitorIsHDMI() using xf86MonitorFindHDMIBlock() xfree86: Use the TMDS maximum frequency to prune modes Merged. 457bc83..409e8e2 master -

Re: [PATCH] Replace 'pointer' with the equivalent 'void *'.

2014-01-22 Thread Julien Cristau
On Wed, Jan 22, 2014 at 09:41:41 -0800, Keith Packard wrote: Knut Petersen knut_peter...@t-online.de writes: I assume there´s not only a fontsproto patch as this patch alone breaks libXfont for obvious reasons. Indeed, another un-reviewed patch in libXfont. From

Re: [PATCH:libXfont 1/3] Correct comment in configure.ac about scalable font support

2014-01-22 Thread Eric Anholt
Alan Coopersmith alan.coopersm...@oracle.com writes: Bitstream Speedo support was removed in commit d50de26430c1a114a. All scalable font support now goes through FreeType, which can also handle some bitmap font formats as well. This series is: Reviewed-by: Eric Anholt e...@anholt.net

[PATCH] inputproto: Allow library users to avoid having the 'Pointer' typedef declared

2014-01-22 Thread Keith Packard
'Pointer' collides with too many other application names, so stop using it locally and allow applications to avoid having it in the API. Signed-off-by: Keith Packard kei...@keithp.com --- XIproto.h | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/XIproto.h b/XIproto.h

Re: [PATCH] inputproto: Allow library users to avoid having the 'Pointer' typedef declared

2014-01-22 Thread Eric Anholt
Keith Packard kei...@keithp.com writes: 'Pointer' collides with too many other application names, so stop using it locally and allow applications to avoid having it in the API. Some googling didn't find anyone using Pointer with a 'P', so: Reviewed-by: Eric Anholt e...@anholt.net

Re: [PATCH 0/3] linux: Allow console switching to work without root rights

2014-01-22 Thread James Cloos
PH == Peter Hutterer peter.hutte...@who-t.net writes: HdG == Hans de Goede hdego...@redhat.com writes: PH how about $XDG_DATA_HOME/xorg/Xorg.#.log? That has a defined PH default as well. HdG I wanted to lookup in the xdg spec what the proper xdg path would HdG be, but I see you've already

Re: [PATCH] glx: Remove left-over glthread.c

2014-01-22 Thread Eric Anholt
Jon TURNEY jon.tur...@dronecode.org.uk writes: Commit be668096 glx: convert to direct GL dispatch (v2) removes glthread.c from Makefile.am along with the rest of the dispatch table code, but doesn't remove glthread.c itself. Signed-off-by: Jon TURNEY jon.tur...@dronecode.org.uk Cc: Adam

[PULL 1.14 and 1.15] XQuartz Hardening

2014-01-22 Thread Jeremy Huddleston Sequoia
The 1.14 pull request is below. Please also pull changes for 1.15 when that branch opens up, at git://people.freedesktop.org/~jeremyhu/xserver server-1.15-branch --- The following changes since commit 200f98894a43114586eb2d4405e766e8a4a59221: bump version from 1.14.4.901 to 1.14.5

Re: How do we want to deal with 4k tiled displays?

2014-01-22 Thread Andy Ritger
On Sun, Jan 19, 2014 at 01:26:07PM -0800, Keith Packard wrote: Aaron Plattner aplatt...@nvidia.com writes: 1. Hide the presence of the second tile in the X server. Somehow combine the two tiles into a single logical output at the RandR protocol level. The X server would be

Re: How do we want to deal with 4k tiled displays?

2014-01-22 Thread Keith Packard
Andy Ritger arit...@nvidia.com writes: Keith, did you mean to say driver or X server? Well, I meant to say 'driver', but I can see reasons for wanting to at least have some code in hw/xfree86/modes that could help out. In any case, definitely within the X server, but beyond that I'd say we

Re: How do we want to deal with 4k tiled displays?

2014-01-22 Thread Alexander E. Patrakov
2014/1/23 Keith Packard kei...@keithp.com: Andy Ritger arit...@nvidia.com writes: Keith, did you mean to say driver or X server? Well, I meant to say 'driver', but I can see reasons for wanting to at least have some code in hw/xfree86/modes that could help out. In any case, definitely

Re: How do we want to deal with 4k tiled displays?

2014-01-22 Thread Alexander E. Patrakov
Keith Packard wrote: Alexander E. Patrakov patra...@gmail.com writes: What's wrong with my proposal to report mirrored screens to clients even though the outputs are not really mirrors? In this case, each mirror can get one EDID, implementing option (1). We'd have to report both at the

Re: [PATCH] Replace 'pointer' with the equivalent 'void *'.

2014-01-22 Thread Knut Petersen
Hi Gaetan! Keith pushed xserver 60014a4 and broke building of xserver master. Keith's first fontproto patch didn´t apply as it was based on another patch. Both patches together fixed xserver but broke libXfont and xfs. At that time FONT_PATH_ELEMENT_NAME_CONST was defined in fontstruct.h Then