[PATCH 1/1] darwin: Don't leave stdin/stdout closed

2013-12-07 Thread Jeremy Huddleston Sequoia
Signed-off-by: Jeremy Huddleston Sequoia --- os/osinit.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/os/osinit.c b/os/osinit.c index 60d1069..4d48ea9 100644 --- a/os/osinit.c +++ b/os/osinit.c @@ -213,10 +213,18 @@ OsInit(void) dlinfo(RTLD_SELF, R

Re: [PATCH 1/1] darwin: Don't leave stdin/stdout closed

2013-12-07 Thread Jeremy Huddleston Sequoia
As I'm sure other platforms would get cranky if stdin or stdout are closed, is there interest in just using this approach for the !defined(__CYGWIN__) case instead of just on darwin? On Dec 7, 2013, at 01:26, Jeremy Huddleston Sequoia wrote: > > > Signed-off-by: Jeremy Huddleston Sequoia >

[PATCH 4/5] xfree86/linux: implement xf86DMIInit

2013-12-07 Thread Daniel Martin
Read DMI identifiers from sysfs (/sys/devices/virtual/dmi/id). Signed-off-by: Daniel Martin --- hw/xfree86/os-support/linux/Makefile.am | 2 +- hw/xfree86/os-support/linux/lnx_dmi.c | 136 2 files changed, 137 insertions(+), 1 deletion(-) diff --git a/hw/xfr

[PATCH 3/5] xfree86/os: add xf86DMI stubs

2013-12-07 Thread Daniel Martin
Add stubs for DMI identifier initialization, cleanup, add and matching. Signed-off-by: Daniel Martin --- hw/xfree86/common/xf86Init.c | 2 + hw/xfree86/os-support/bsd/Makefile.am | 2 + hw/xfree86/os-support/hurd/Makefile.am| 4 +- hw/xfree86/os-support/linux/Makefile.

[RFC] Add MatchDMI support in InputClass sections

2013-12-07 Thread Daniel Martin
Hi, 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. In their latest (Haswell) laptop models Lenovo decided to remove the HW buttons below the trackpoint and therefor marks

[PATCH 5/5] xfree86: add MatchDMI support in InputClass sections

2013-12-07 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. Signed-off-by: Daniel Martin --- I guess at least the change

[PATCH 2/5] xfree86/linux: cleanup Makefile.am

2013-12-07 Thread Daniel Martin
Indent source filenames with one tab and sort them. Signed-off-by: Daniel Martin --- hw/xfree86/os-support/linux/Makefile.am | 29 + 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/hw/xfree86/os-support/linux/Makefile.am b/hw/xfree86/os-support/linux/

[PATCH 1/5] misc: add xrtrim() - right-trim a string

2013-12-07 Thread Daniel Martin
Signed-off-by: Daniel Martin --- include/misc.h | 1 + os/utils.c | 16 2 files changed, 17 insertions(+) diff --git a/include/misc.h b/include/misc.h index 17de710..aab556a 100644 --- a/include/misc.h +++ b/include/misc.h @@ -246,6 +246,7 @@ padding_for_int32(const int byt