Commit Graph

2204 Commits

Author SHA1 Message Date
matthieu
05a9a57cca Replace xorgconfig with Xorg -configure. 2009-09-15 19:04:12 +00:00
matthieu
e10bf73c09 Same fix as in wsfb:
Call shadowRemove() in wsfbCloseScreen(). This fixes a free
memory dereference on exit. Hint by Daniel Stone. Thanks.
2009-09-13 19:46:47 +00:00
matthieu
5331f4bab2 Call shadowRemove() in wsfbCloseScreen(). This fixes a free
memory dereference on exit. Hint by Daniel Stone. Thanks.
2009-09-13 19:33:49 +00:00
matthieu
00a307f8e4 Do not use 'deprecated' attribute on gcc < 3.1.
It causes lots of spurious warnings in build logs.
suggestion to make the test gcc >= 3.1 millert@, ok todd@, miod@
2009-09-13 15:02:03 +00:00
matthieu
93a6b2b0b1 update 2009-09-12 17:05:22 +00:00
todd
1baa75fb76 sync 2009-09-11 22:50:31 +00:00
matthieu
888f50b07a Don't unconditionnally add a "sunffb" device in autoconfig mode
on OpenBSD. It will be added by sparcDriverName() if a ffb card
is present.
2009-09-11 22:12:50 +00:00
matthieu
e706500795 Bring Xnest back.
I had to disable its build during xserver 1.6 development because it
wasn't building for a while. But all problems are now fixed. ok todd@.
2009-09-11 06:17:29 +00:00
matthieu
a0536c6048 Completely disable xserver on vax, it generates a gcc segmentation
violation in xkb/xkbEvents.c. ok todd@
2009-09-10 19:28:23 +00:00
oga
f0cd9e3a73 backport a bugfix from upstream:
Fix 945GM VT switch in UMS

	Bug #19578. We should set private intel_crtc state according to
	current, as fail to do so pipe A needs active won't be taken
	care of. Also make sure pipe swap operation always set during VT
	switch.

This also fixes the *other* x40 lid problem (which happens when you suspend,
then you shut the lid in dont'-suspend-on-lid mode.

the reasoning for the PipeA quirk I finally found:

	On some platforms, the firmware may read & write GPU registers
	on lid close, suspend/resume time or during various SMM events.
	If one of the graphics pipes is disabled at that time, the GPU
	may hang due to the programming dependencies of the various
	registers.

So essentially, without this patch, if you have this quirk and you shut
the lid, you're hosed, but y'know drivers in userland are great. So are
BIOS writers.

requested by deraadt@, who keeps getting this issue when he's on a plane.
2009-09-10 02:30:26 +00:00
oga
f142b782ba undo a bit of overzealous backporting from the DRI2 bits, this chunk
isn't strictly needed and it causes GL apps to segfault on exit on the
965 with dri1 and xserver 1.6.

ok matthieu@
2009-09-08 23:31:10 +00:00
matthieu
0026b7ed04 restore version 1.12 of privsep.c which got accidentally reverted
by my xserver 1.6 merge. noticed by oga@
2009-09-08 19:52:26 +00:00
matthieu
768012be84 sparcDeviceName: do not fall back to wsfb if no hw specific driver
was found. This is done in the caller already.
While there change to a switch() construct to prepare for potential
future drivers addition.
2009-09-08 06:56:28 +00:00
todd
8ac1a9e654 sync 2009-09-07 03:41:10 +00:00
matthieu
88f6f3ea75 update to xserver 1.6.4rc1. Tested by many, ok oga@. 2009-09-06 19:44:18 +00:00
matthieu
b1c6b32ab5 On powerpc, only set "UseFBDev" option to true by default on Linux. 2009-09-06 15:45:43 +00:00
matthieu
f090af278c MFC: enable build with recent input ABI. 2009-09-06 12:22:42 +00:00
matthieu
e17ea6bcfe update 2009-09-05 16:07:42 +00:00
matthieu
23f548aa24 update to xterm 247, a small bug fix over version 246. 2009-09-05 16:06:57 +00:00
okan
d1b60130a8 re-introduce the intention of the change from rev 1.4 in menu.c here
instead, by moving the check for '\0' to only the places that it
matters.  hint and 50% of the diff from oga@, prodded by todd@

ok oga@
2009-09-05 16:06:15 +00:00
matthieu
3af530ab2b update to xterm 246. Has been in snapshots for some time. 2009-09-05 15:58:09 +00:00
matthieu
86fe704ca5 update to xcb-util 0.3.6. Tested on a packages bulk build by naddy@. 2009-09-05 15:55:46 +00:00
matthieu
e9d6b4f7bf Update to libxcb 1.4. tested by naddy@ on a packages bulk build. 2009-09-05 15:54:43 +00:00
matthieu
8d2fbc2a36 update 2009-09-05 15:49:29 +00:00
tobias
6e4f4540c2 style
ok oga
2009-09-05 14:10:11 +00:00
todd
96c773e112 sync 2009-09-02 01:08:45 +00:00
matthieu
d0027b4c73 update 2009-08-29 14:24:11 +00:00
okan
c3064dbf27 unroll the CCTOSC macro; from Thomas Pfaff
ok oga@
2009-08-27 01:38:08 +00:00
matthieu
7370432720 Remove compat directories that are not needed here. ok oga@. 2009-08-25 19:08:29 +00:00
matthieu
f74c2dba55 update do xf86-video-ati 6.12.2
This has been in snapshots for weeks. ok oga@, todd@.
2009-08-25 18:51:44 +00:00
okan
2f17ef273a static; ok oga@ 2009-08-25 12:05:11 +00:00
okan
1facf8e143 we are not doing access control here, so replace the "check if file is
executable" goo with access(2).

originally from jacekm@ long time ago.

"i can live with that" oga@
2009-08-25 02:02:59 +00:00
oga
1a74c54fd8 Reduce duplciation of code for checking modifiers in key/mouse bindings.
shaves a bunch of bytes.

ok okan@
2009-08-25 01:44:39 +00:00
oga
9924c77a57 Instead of calling conf_bind*() 50 gazillion times in a row, store an
array with all the parameters in and just loop over that to setup the
default keybindings - it's so much easier to read.

okan@ "love love love"ed this
2009-08-25 01:42:05 +00:00
oga
78deb6c3b0 Instead of messing around everytime we do a resize, just clamp the
resize increments to a minimum of one, and use it unconditionally.

"you've convinced me, do it!" okan@
2009-08-25 01:32:40 +00:00
okan
30e985c9db unroll macro; ok oga@ 2009-08-25 01:26:09 +00:00
oga
081d2deacd Add a keybinding to allow horizontal maximisation of a window (CMS-enter).
based on a diff by Thomas Pfaff; thanks!

ok okan@
2009-08-24 23:54:41 +00:00
okan
5111e27310 bring together gathering, calculating and applying of size hints;
additionally, respect aspect ratio hints.

ok oga@
2009-08-24 23:49:04 +00:00
oga
67c21c1d1a Instead of having a function that just calls TAILQ_INIT on a global, use
TAILQ_HEAD_INITIALIZER() and drop the function.

ok okan@
2009-08-24 21:22:48 +00:00
matthieu
4588004a34 updates 2009-08-24 19:16:03 +00:00
oga
5407ee5608 instead of checking for flags in the client context, then removing them.
e.g.:

if (flags & flags_we_care_about)
	flags &= ~(flags_we_care_about);

just whack the flags unconditionally, it's simpler.

okan@ agrees.
2009-08-24 17:04:39 +00:00
todd
578cc6364e sync 2009-08-24 14:51:03 +00:00
matthieu
7771e1d22c update to libXt 1.0.6 2009-08-23 15:56:08 +00:00
matthieu
b821fafa65 update to libSM 1.1.1 2009-08-23 14:08:00 +00:00
matthieu
3e1072ee96 update to libFS 1.0.2 2009-08-23 14:00:11 +00:00
matthieu
06111d4dcb updates 2009-08-18 20:46:33 +00:00
todd
774210547f sync 2009-08-09 01:51:30 +00:00
okan
a75b749328 remove unnecessary Ar macros
ok jmc@
2009-08-08 17:27:51 +00:00
okan
fb65a7fcc0 remove unnecessary Dq macro; based on a diff from Martin Toft
feedback and ok jmc@, martynas@
2009-08-08 00:25:52 +00:00
oga
5f44320c03 Pull in some code from 2.8 and current so that dri2 works correctly with
xserver 1.6.2. When dri2 is not in use, this commit does nothing.

ok matthieu@
2009-08-06 16:02:07 +00:00