Re: [PATCH app-xcalc] Replace signal_t with void

2013-12-17 Thread Alan Coopersmith
On 12/17/13 08:33 AM, Gaetan Nadon wrote: Now that Imake SIGNALRETURNSINT has been removed, the signal handler function return type can only be void. Signed-off-by: Gaetan Nadon Reviewed-by: Alan Coopersmith -- -Alan Coopersmith- alan.coopersm...@oracle.com Ora

Re: [PATCH app-xsm] Remove obsolete Imake SIGNALRETURNSINT

2013-12-17 Thread Alan Coopersmith
On 12/17/13 08:33 AM, Gaetan Nadon wrote: Assume signal handlers return void, as C89 requires Signed-off-by: Gaetan Nadon --- signals.c | 16 ++-- 1 file changed, 2 insertions(+), 14 deletions(-) Reviewed-by: Alan Coopersmith -- -Alan Coopersmith- alan

Re: [PATCH app-xedit] Remove obsolete Imake SIGNALRETURNSINT

2013-12-17 Thread Alan Coopersmith
On 12/17/13 08:32 AM, Gaetan Nadon wrote: Assume signal handlers return void, as C89 requires Signed-off-by: Gaetan Nadon --- ispell.c | 19 --- lisp/lisp.c| 15 +-- lisp/private.h |5 - lisp/xedit.c | 14 +- 4 files change

Re: [v2 6/6] xfree86: add MatchDMI support in InputClass sections

2013-12-17 Thread Peter Hutterer
On Tue, Dec 17, 2013 at 11:35:59PM +0100, Daniel Martin wrote: > This adds support for MatchDMI entries in InputClass sections. > > It can be used to match on DMI identifiers applied to the maschine. This > might be usefull when it's not sufficient or possible to match on device > tags or somethin

Re: [v2 5/6] xfree86/linux: implement xf86DMIInit

2013-12-17 Thread Peter Hutterer
On Tue, Dec 17, 2013 at 11:35:58PM +0100, Daniel Martin wrote: > Read DMI identifiers from sysfs (/sys/devices/virtual/dmi/id). > > Signed-off-by: Daniel Martin > --- > v2: get_value returns a strduped string, fixed typos > > hw/xfree86/os-support/linux/Makefile.am | 2 +- > hw/xfree86/os-sup

Re: [v2 4/6] xfree86/os: add xf86DMI stubs

2013-12-17 Thread Peter Hutterer
On Tue, Dec 17, 2013 at 11:35:57PM +0100, Daniel Martin wrote: > Add stubs for DMI identifier initialization, cleanup, add and matching. > > Signed-off-by: Daniel Martin > --- > v2: xf86DMIAdd: don't assert, log values on verbose=10 > xf86DMIMatchToken: comment on "if (xorg_list_is_empty(patt

Re: [v2 3/6] xfree86/linux: cleanup Makefile.am

2013-12-17 Thread Peter Hutterer
On Tue, Dec 17, 2013 at 11:35:56PM +0100, Daniel Martin wrote: > Remove $(srcdir), indent source filenames with one tab and sort them. > > Signed-off-by: Daniel Martin Reviewed-by: Peter Hutterer Cheers, Peter > --- > v2: Walter H. asked for a shortcut for $(srcdir)/../shared/. And this >

Re: [v2 2/6] misc: add xstrrtrim and xstrnrtrim - right-trim a string

2013-12-17 Thread Peter Hutterer
On Tue, Dec 17, 2013 at 11:35:55PM +0100, Daniel Martin wrote: > Add xstrrtrim() and xstrnrtrim() to right-trim a string and a test for > both functions to test/xstr.c. > > Signed-off-by: Daniel Martin > --- > v2: Prefixed functions with "xstr" and added tests. > > include/misc.h | 2 ++ > os/

Re: [v2 1/6] test/os: add xstrtokenize test

2013-12-17 Thread Peter Hutterer
On Tue, Dec 17, 2013 at 11:35:54PM +0100, Daniel Martin wrote: > Signed-off-by: Daniel Martin > --- > First patch and highly unrelated, but the next one adds tests here too. > And imo having tests doesn't hurt. Reviewed-by: Peter Hutterer with a few nitpicks below > > test/Makefile.am | 15 ++

[v2 5/6] xfree86/linux: implement xf86DMIInit

2013-12-17 Thread Daniel Martin
Read DMI identifiers from sysfs (/sys/devices/virtual/dmi/id). Signed-off-by: Daniel Martin --- v2: get_value returns a strduped string, fixed typos hw/xfree86/os-support/linux/Makefile.am | 2 +- hw/xfree86/os-support/linux/lnx_dmi.c | 118 2 files changed,

[v2 3/6] xfree86/linux: cleanup Makefile.am

2013-12-17 Thread Daniel Martin
Remove $(srcdir), indent source filenames with one tab and sort them. Signed-off-by: Daniel Martin --- v2: Walter H. asked for a shortcut for $(srcdir)/../shared/. And this was shorted form that works here. ;) hw/xfree86/os-support/linux/Makefile.am | 31 ++- 1 f

[v2 6/6] xfree86: add MatchDMI support in InputClass sections

2013-12-17 Thread Daniel Martin
This adds support for MatchDMI entries in InputClass sections. It can be used to match on DMI identifiers applied to the maschine. This might be usefull when it's not sufficient or possible to match on device tags or something similar. One has to add a 'MatchDMI "key:value"' line into the InputCl

[v2 2/6] misc: add xstrrtrim and xstrnrtrim - right-trim a string

2013-12-17 Thread Daniel Martin
Add xstrrtrim() and xstrnrtrim() to right-trim a string and a test for both functions to test/xstr.c. Signed-off-by: Daniel Martin --- v2: Prefixed functions with "xstr" and added tests. include/misc.h | 2 ++ os/utils.c | 32 test/xstr.c| 28 ++

[v2 4/6] xfree86/os: add xf86DMI stubs

2013-12-17 Thread Daniel Martin
Add stubs for DMI identifier initialization, cleanup, add and matching. Signed-off-by: Daniel Martin --- v2: xf86DMIAdd: don't assert, log values on verbose=10 xf86DMIMatchToken: comment on "if (xorg_list_is_empty(patterns))" xf86DMIValidKey: renamed to xf86DMIIsValidKey removed unnec

[v2 1/6] test/os: add xstrtokenize test

2013-12-17 Thread Daniel Martin
Signed-off-by: Daniel Martin --- First patch and highly unrelated, but the next one adds tests here too. And imo having tests doesn't hurt. test/Makefile.am | 15 ++- test/xstr.c | 36 2 files changed, 50 insertions(+), 1 deletion(-) create

[v2] Add MatchDMI support in InputClass sections

2013-12-17 Thread Daniel Martin
Hi *, this is the second version of my patches to make it possible to match on DMI identifiers from within an InputClass section to be able to work around shortcomings we've to face with certain hardware (i.e. synaptics touchpads). v2: - based on Keiths warning-fixes branch - uses '|' as logical

[PATCH modular] jhbuild: remove deprecated input modules aiptek and acecad

2013-12-17 Thread Gaetan Nadon
These were removed from build.sh a couple of years ago by their maintainer. http://cgit.freedesktop.org/xorg/util/modular/commit/build.sh? id=75659f3405299fd2475c75c9cd18bfe4931a7cb0 No chances of ever coming back, so also removed the modules definition. Signed-off-by: Gaetan Nadon --- xorg.mod

[PATCH modular] build.sh: add xf86-video-nested driver

2013-12-17 Thread Gaetan Nadon
Just been missing for quite a while. Signed-off-by: Gaetan Nadon --- build.sh |1 + 1 file changed, 1 insertion(+) diff --git a/build.sh b/build.sh index d102a48..6eac65d 100755 --- a/build.sh +++ b/build.sh @@ -1231,6 +1231,7 @@ build_all_modules() { build driver xf86-video-mga

Re: [PATCH] exa: only draw valid trapezoids

2013-12-17 Thread Julien Cristau
On Wed, Oct 2, 2013 at 15:47:54 +0200, Maarten Lankhorst wrote: > Fixes freedesktop.org bug https://bugs.freedesktop.org/show_bug.cgi?id=67484 > > If t->bottom is close to MIN_INT, removing top can wraparound, so do the > check properly. Does the underflow affect users of xTrapezoidValid other

[PATCH modular] build.sh: add the glamor driver

2013-12-17 Thread Gaetan Nadon
A recent addition and a prereq to ati driver. It is already in jhbuild Signed-off-by: Gaetan Nadon --- build.sh |1 + 1 file changed, 1 insertion(+) diff --git a/build.sh b/build.sh index 3500a70..d102a48 100755 --- a/build.sh +++ b/build.sh @@ -1174,6 +1174,7 @@ build_all_modules() {

Re: Xorg server crash at fbblt.c:178 when incresing resolution

2013-12-17 Thread Felix Miata
On 2013-12-17 01:47 (GMT-0800) prabhakar_puj...@dell.com composed: ... End of assembler dump. ... Dell - Internal Use - Confidential Please find attached backtrace RHEL 6.5 display tool ( i.e system -> preference -> Display ) No kernel command line not included "nomodeset" ... When I increa

[PATCH app-xsm] Remove obsolete Imake SIGNALRETURNSINT

2013-12-17 Thread Gaetan Nadon
Assume signal handlers return void, as C89 requires Signed-off-by: Gaetan Nadon --- signals.c | 16 ++-- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/signals.c b/signals.c index 248e9ca..55600c6 100644 --- a/signals.c +++ b/signals.c @@ -74,12 +74,6 @@ in this Sof

[PATCH app-xcalc] Replace signal_t with void

2013-12-17 Thread Gaetan Nadon
Now that Imake SIGNALRETURNSINT has been removed, the signal handler function return type can only be void. Signed-off-by: Gaetan Nadon --- math.c |4 ++-- xcalc.h |7 ++- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/math.c b/math.c index abd189f..aff9c6e 100644 --

[PATCH app-xedit] Remove obsolete Imake SIGNALRETURNSINT

2013-12-17 Thread Gaetan Nadon
Assume signal handlers return void, as C89 requires Signed-off-by: Gaetan Nadon --- ispell.c | 19 --- lisp/lisp.c| 15 +-- lisp/private.h |5 - lisp/xedit.c | 14 +- 4 files changed, 2 insertions(+), 51 deletions(-) diff --git a

Re: HDMI 4k - Use the TMDS maximum frequency to check mode dot clock (v3)

2013-12-17 Thread Chris Wilson
On Mon, Dec 16, 2013 at 03:17:44PM +, Damien Lespiau wrote: > This is the 3rd instance of the series to enable 4k displays. For the series, Reviewed-by: Chris Wilson -Chris -- Chris Wilson, Intel Open Source Technology Centre ___ xorg-devel@lists.