Commit Graph

1664 Commits

Author SHA1 Message Date
mbalmer
01d2267411 Import the xf86-video-geode driver for the AMD Geode LX graphics processor.
with and ok matthieu
2008-06-14 22:15:30 +00:00
okan
b3cbe6ba11 (mostly) proper xshape event support
ok oga@
2008-06-14 22:04:11 +00:00
okan
a880cefb2e unbreak 2008-06-14 21:59:09 +00:00
okan
b48fb0f64d slightly alter the semantics of config files:
- if no config file, continue silently and apply defaults
 - if config file, parse and move on
 - if config file specified but not found, error out

ok oga@
2008-06-14 21:51:00 +00:00
okan
4a6468a264 confable menu and window mouse bindings from rivo nurges (thanks!) with
some minor fixups, man page bits and knf.

ok oga@
2008-06-14 21:48:54 +00:00
mbalmer
c0e3e5ed7f Add amdmsr(4) to the list of privsep devices.
ok matthieu
2008-06-14 21:37:13 +00:00
matthieu
2bcb8fed1a Update to xkbcomp 1.0.5 2008-06-14 17:11:32 +00:00
matthieu
c2c271a871 Update to xfsinfo 1.0.2 2008-06-14 16:49:28 +00:00
matthieu
a1c7582f93 config.h.in was renamed xfs-config.h.in. missed in previous commit.
noticed by claudio@.
2008-06-14 13:07:28 +00:00
matthieu
cfa38e1f98 Man page update for fixed font label display change. 2008-06-14 01:07:29 +00:00
matthieu
7f2bd19b4a When displaying a multi-lines label, switch to a fixed-width font
for 2nd and following lines, to make ascii art look correct.
ok deraadt@, grunk@.
2008-06-14 01:05:04 +00:00
okan
7a45a93574 finally document functions that can be bound, removing the need to have
name_to_kbfunc[] around.

feedback jmc@, ok oga@
2008-06-13 21:22:34 +00:00
matthieu
63286dc135 update to xfs 1.0.8.
(The multiple defined symbol problem is not fixed yet)
2008-06-13 21:00:35 +00:00
matthieu
fb9de713bd Update to xdpyinfo 1.0.3 + one local change: don't print (null)
from XF86VidModeGetMonitor().
2008-06-13 17:49:12 +00:00
matthieu
657fa78569 XF86VidModeGetMonitor: don't return static strings to the caller when
the man page says it's dynamically allocated memory. Just leave the
NULL there (after discusion with Adam Jackson from X.Org).
also remove the RCS keyworks while there to ease future merge.
2008-06-13 17:30:58 +00:00
todd
6b46002c42 sync 2008-06-13 16:46:16 +00:00
matthieu
a6907fb0c2 update to sessreg 1.0.4 2008-06-13 15:43:03 +00:00
matthieu
b0098b9c1d sync 2008-06-13 15:36:15 +00:00
matthieu
3a5d11e108 Update to showfont 1.0.2 2008-06-13 05:01:00 +00:00
matthieu
f6553ec825 Update to rgb 1.0.3 2008-06-13 04:55:03 +00:00
oga
daf3b54725 Don't client_delete() on an Unmap event, only do that on a client delete event.
found by (among others) todd@ when you have a lot of clients and do something
that maps and umaps a lot of windows fast.

Debugged with aid of gdb, todd, okan and NULL pointers in a pizza place in
edmonton while waiting an inordinately long time for food.

ok okan@, todd@
2008-06-13 03:41:58 +00:00
matthieu
f275352e0c update to mkfontscale 1.0.5 2008-06-13 01:01:26 +00:00
matthieu
ab31903cb7 Update to fstobdf 1.0.3 2008-06-13 00:10:59 +00:00
matthieu
a22a0d05d6 Update to fslsfonts 1.0.2 2008-06-13 00:07:36 +00:00
matthieu
30017d821b Update to fonttosfnt version 1.0.4. 2008-06-13 00:04:06 +00:00
oga
4b526e486b change /dev/dri/card0 to /dev/drm0. Subdirs in /dev considered
irritating.
2008-06-12 22:20:24 +00:00
matthieu
6c7c865978 Actually install xorg.conf for sgi when building a release, so that
it ends up in the xetc set...
2008-06-12 21:58:28 +00:00
okan
7b8f1156d3 kill another long gone proto 2008-06-12 19:10:56 +00:00
okan
ef151e79af remove old (moved) code
ok oga@
2008-06-12 18:55:35 +00:00
oga
e21a353dbc Enable privsep support. Finally!
ok matthieu@.
2008-06-12 18:52:07 +00:00
oga
bfd8533a7d Deal with devices that need to be opened differently to what we do in
privsep ( O_NONBLOCK | O_RDWR | O_EXCL) by turning the list of allowed
devices into a struct, with the flags we're supposed to use, then using
these values with open(). Add /dev/dri/card0 there too (more'll be needed to be
added when it matters).

This gives privsep with dri a chance to work.

ok matthieu
2008-06-12 18:50:19 +00:00
okan
ad2ae8461f instead of forcing the ptr in the middle everytime, be more 'calm'; keep
the ptr still unless it moves out-of-bounds, then just follow the edge.

brought up by todd@

ok oga@
2008-06-12 18:32:06 +00:00
matthieu
5f0dea08be Update to xfree86-type1-1.0.1. 2008-06-12 13:49:35 +00:00
okan
94f0aa5a59 place the pointer in the middle of the window after resizing with grab,
just like keyboard resize.

from Edd Barrett

ok oga@
2008-06-12 05:10:24 +00:00
okan
84aeb967ba ignore if non-zero expose events, for we could be covered by multiple
windows; merely an optimization.

ok oga@
2008-06-12 05:01:13 +00:00
okan
0d911cac19 re-work client_placecalc()
- make sure new clients sit inside the current screen
- respect 'gap' placement on new clients

ok oga@
2008-06-12 04:59:51 +00:00
matthieu
8bb8ef1786 sync 2008-06-12 04:22:42 +00:00
matthieu
8d46f8e4f0 Update to libX11 1.1.4. I've carefully checked that there's no API/ABI
change in this version. Only small bug fixes, manual page fixes and
some more data in the i18n tables.
2008-06-11 20:55:41 +00:00
matthieu
5f1431f613 Fix from X.Org for a possible, non-exploitable crash in the DBE extension.
Reported to iDefense by regenrecht. Patch from Dave Airlie.
2008-06-11 16:15:28 +00:00
matthieu
52218799b8 Fixes for various integer overflow problems from X.Org:
CVE-2008-2360 - RENDER Extension heap buffer overflow
CVE-2008-2361 - RENDER Extension crash
CVE-2008-2362 - RENDER Extension memory corruption
CVE-2008-1379 - MIT-SHM arbitrary memory read
CVE-2008-1377 - RECORD and Security extensions memory corruption
2008-06-11 15:39:26 +00:00
mbalmer
ef9d4b4b8c Pull in a patch from X.Org-current to let X11 run on AMD Geode LX
CPUs in basic VESA mode:

X86EMU: handle CPUID instruction

Starting X on an AMD Geode LX system such as an Alix board with VGA
connector, the Xorg driver attempts to issue INT 10/0 to go to mode
3 (VGA).  The emulator, running the BIOS code, would then spit out:

	c000:0282: A2 ILLEGAL EXTENDED X86 OPCODE!

The opcode was 0F A2, or CPUID; it was not implemented in the
emulator. With this patch it handles the CPUID instruction in one of
two ways:

1) if ran on __i386__ or __x86_64__ then it calls the CPUID instruction
   directly.

2) if ran elsewhere it returns a canned 486dx4 set of values for function 1.

Tested with & ok matthieu
2008-06-10 22:31:30 +00:00
matthieu
f01cdd7229 - actually zero the memory returned by realloc().
- set the return value for the pthread_once() stub.
2008-06-10 22:01:31 +00:00
oga
eb88ad3f01 Include stdlib.h so we have the prototype for realloc. This means that we don't
assume realloc returns an int. This causes problems...

This took me hours to find.

Ok matthieu@.
2008-06-10 21:24:16 +00:00
phessler
f80be2c38a Remove the special case for amd64 using MTRR. Wasn't compiled in in the
first place, and didn't work anyways.

ok deraadt, oga, matthieu
2008-06-09 22:55:10 +00:00
okan
45b2fad725 Enter -> Return, to be consistant and correct.
found the hard way by johan and discovered by oga.

"do it" oga@
2008-06-05 14:29:01 +00:00
okan
f42ad31e00 prevent trying to exec a null char; could potentially happen with a
canceled or empty searchstr.

ok oga@
2008-06-05 04:01:37 +00:00
okan
9005249c59 actually honor termpath and lockpath if specified in cwmrc.
"now" oga@
2008-06-05 00:07:05 +00:00
okan
2abd40cbdb "Meta is a perfectly well defined concept in X (The keys bound to the
Meta_L or Meta_R keysysm).  no need to redefine it roughly there" - matthieu@
2008-06-03 21:27:47 +00:00
matthieu
c6b3b52580 Revert to 1.4.2.1. The change that pulls Xmd.h in more headers is
causing too much problems in ports. requested by espie@ and deraadt@
2008-06-03 05:13:48 +00:00
todd
35417f08d8 sync 2008-06-01 20:50:40 +00:00