Adam Jackson
b677bff97b
int10: Degrade the checksum warning to X_INFO.
...
I've seen about one case in three years where this has actually been
correlated with the real cause of failure, and we've trained people to
freak out about X_WARNING, so let's be less alarmist.
2008-10-14 14:30:19 -04:00
Adam Jackson
bd9c6b3a4d
EDID: Catch even more cases of encoding aspect as size.
...
Very cute, Samsung, not only do you claim to be 16cm by 9cm in the
global size record, you also claim to be 160mm by 90mm in the detailed
timings. Grrr.
2008-10-14 14:04:01 -04:00
Nathaniel McCallum
8e368cf5b9
Xorg: add -modalias option
...
This scans the installed video drivers and prints a Linux-style modalias
listing of the devices each driver claims to support.
2008-10-14 09:50:29 -04:00
Adam Jackson
3eb52de7f2
kdrive: Hardcode a different wrong value for number of mouse buttons
...
This should really come from the input driver directly, but, kdrive.
2008-10-14 09:46:04 -04:00
Aaron Plattner
3fc4f40b6c
Restore xf86{Enable, Disable}GeneralHandler.
...
These were useful as part of the generic handler ABI, and are used by the NVIDIA
driver.
This reverts part of commit 50081d2dfb
.
2008-10-12 16:08:26 -07:00
Aaron Plattner
2217d22a76
Revert "xfree86: xf86{Enable, Disable}InputHandler can be static."
...
These were potentially useful as part of the input handler ABI, even if nobody
currently uses them.
This reverts commit 278c11f01f
.
2008-10-12 16:07:24 -07:00
Maarten Maathuis
5b336585a4
dri: don't set the dixPrivate key to NULL, as this is a staticly set variable.
...
- This breaks on the 2nd server generation.
- No other subsystem seems to NULL their key.
- This should fix bug 17982.
2008-10-10 23:28:30 +02:00
Adam Jackson
94ed0ba1b5
Move xorg_backtrace() up to the OS level so we can call it from DIX.
2008-10-10 16:28:10 -04:00
Adam Jackson
f650c1aeb0
Revert "Don't leak EDID_block"
...
This reverts commit 05cdef18ca
.
http://lists.freedesktop.org/archives/xorg/2008-October/039305.html
2008-10-10 14:07:28 -04:00
Adam Jackson
0660dd9d70
EDID: Catch monitors that encode aspect ratio for physical size.
...
This is not legal in either EDID 1.3 or 1.4, but hey, when did a little
thing like legality stop anyone.
2008-10-10 13:59:08 -04:00
Peter Hutterer
18cdd733ad
kdrive: fix dixflags so they're always defined before enqueuing events #17734
...
If absolute events were posted, dixflags got set conditionally on whether the
valuators are different from the last posted set of values.
If dixflags are undefined however, the DIX interprets them as relative
valuators. Fix this by making sure defining dixflags is always defined.
X.Org Bug 17724 <http://bugs.freedesktop.org/show_bug.cgi?id=17734 >
2008-10-10 16:58:08 +10:30
Peter Hutterer
d58f2c30c6
kdrive: lastx/y needs to be set to the event coordinates #17728
...
X.Org Bug 17728 <http://bugs.freedesktop.org/show_bug.cgi?id=17728 >
2008-10-10 16:58:08 +10:30
Peter Hutterer
0b4b683f3e
xfree86: export NewInputDeviceRequest/DeleteInputDeviceRequest
...
NIDR should be used to create a new SD from e.g. within a driver.
DIDR should be used to remove a device from the server.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
2008-10-10 16:57:32 +10:30
Peter Hutterer
5e213fe102
xfree86: cache dev->isMaster before freeing the device.
2008-10-10 16:57:32 +10:30
Zhenyu Wang
05cdef18ca
Don't leak EDID_block
2008-10-10 13:45:51 +08:00
Luc Verhaegen
2d9da7a5f3
DGA: Track client state even when using old style DGA.
...
This fixes the issue that a badly killed DGA will keep on hogging
mode/framebuffer/mouse/keyboard.
2008-10-09 22:22:53 +02:00
Luc Verhaegen
322335d5b5
DGA: Mash together xf86dga.c and xf86dga2.c.
...
This in preparation for an upcoming client state tracking fix.
2008-10-09 22:21:05 +02:00
Jeremy Huddleston
d13c3cbd43
XQuartz: Some motion made towards supporting fullscreen.
...
(cherry picked from commit 99be3d68b6
)
2008-10-08 18:45:17 -07:00
Jeremy Huddleston
dc166bf642
XQuartz: Fixed EXTRA_DIST for new GL files.
...
(cherry picked from commit a11c905203
)
2008-10-08 18:45:13 -07:00
George Staplin
8033279294
XQuartz: GL: setVisualConfigs() copied the behavior of indirect.c which is wrong, with regard to the handling of xcalloc failure.
...
Use ErrorF for an error message after an xcalloc failure, and return instead of falling through to GlxSetVisualConfigs, or abort()ing at the test branch.
(cherry picked from commit 1056700971
)
2008-10-08 18:45:09 -07:00
Jeremy Huddleston
f1fec6f323
XQuartz: Call setVisualConfigs in InitOutput, and only when GLXEXT is defined.
...
(cherry picked from commit 97173d4eda
)
2008-10-08 18:45:04 -07:00
George Staplin
52accec7db
XQuartz: GL: Add the proper license information to the new files, and add more commentary to setVisualConfigs().
...
(cherry picked from commit 190a3d5e5d
)
2008-10-08 18:44:28 -07:00
George Staplin
63abdf6115
XQuartz: GL: Add the new C code to the Makefile.am.
...
Commit the darwin.c changes I missed in the last commit, for calling
setVisualConfigs().
(cherry picked from commit eb3c014e17
)
2008-10-08 18:44:24 -07:00
George Staplin
a8f5d422c9
XQuartz: GL: Provide code for getting the capabilities of the underlying system's CGL.
...
Add a setVisualConfigs that is called before the fbScreenInit, to setup the __GLXvisualConfigs.
(cherry picked from commit fc86f9e448
)
2008-10-08 18:44:21 -07:00
Jeremy Huddleston
2998e48be3
Xquartz: Fix parallel builds
...
(cherry picked from commit 1fe7298a3b
)
2008-10-08 18:44:17 -07:00
Adam Jackson
7aa535708f
Fix more xcalloc stupidity.
...
Did I mention the hate? Pretty sure I mentioned the hate.
2008-10-08 16:25:59 -04:00
Adam Jackson
4fe80aa14a
I hate you xlib. Please die in a fire.
2008-10-08 16:22:35 -04:00
Adam Jackson
2c5332872f
s/kdDontZap/kdAllowZap/
2008-10-08 13:39:49 -04:00
Luc Verhaegen
1feb69eb63
DGA: Fix ProcXF86DGASetViewPort for missing support in driver.
...
Fixes a segfault when trying to activate a DGA mode without checking
whether DGA modesetting is at all possible.
2008-10-08 14:55:29 +02:00
Tiago Vignatti
4964a9ca6c
mi: remove deprecated and unused functions.
...
miPointerDeltaCursor, miPointerGetMotionBufferSize and
miPointerSetNewScreen.
2008-10-08 03:41:17 -03:00
Tiago Vignatti
adf3e296e2
Remove unused declarations.
...
AvailableClientInput (LBX debris) and xf86XinputFinalizeInit.
2008-10-08 03:41:17 -03:00
Tiago Vignatti
bca9fa2efe
Everyone knows that the loader is present. Silence it.
2008-10-08 03:41:17 -03:00
Zhenyu Wang
56c615368c
Check nextEnabledOutput()'s return in bestModeForAspect()
...
In case no enabled outputs, we will reference wrong index of
output array.
2008-10-08 13:33:55 +08:00
Tiago Vignatti
278c11f01f
xfree86: xf86{Enable, Disable}InputHandler can be static.
2008-10-08 01:18:49 -03:00
Tiago Vignatti
50081d2dfb
xfree86: remove xf86{Enable, Disable}GeneralHandler and others unused.
2008-10-08 01:11:38 -03:00
Tiago Vignatti
54294e15ec
xfree86: fix wrong function name message errors.
2008-10-08 00:43:22 -03:00
Daniel Stone
617933e8c2
XFree86: Fix DontZap interaction with -retro
...
-retro will now _not_ override (No)DontZap, if it's set in the config
file.
2008-10-08 02:45:59 +03:00
Daniel Stone
d80bae2237
Update docs to reflect new DontZap default
2008-10-08 02:44:08 +03:00
Adam Jackson
42e7b64bf9
-retro enables zapping
2008-10-07 20:32:02 -04:00
Daniel Stone
9d135ac10a
Input: Make DontZap the default
...
If you need to bail out the server, use Ctrl-Alt-Fx, or enable zapping
if it bothers you that much. If Ctrl-Alt-Fx is broken, nag me until
it's permanently fixed.
2008-10-08 02:30:05 +03:00
Aaron Plattner
b574365fca
Revert "Unexport (and unimplement) xf86SetAccessFuncs" for now.
...
The nvidia driver currently uses these hooks to work around problems where RAC
will disable access to the hardware at unexpected times. This change restores
these hooks until we can come up with a better API for working around RAC.
This reverts commit c1df4fbede
.
2008-10-07 13:09:11 -07:00
Aaron Plattner
fe85ec34ec
Revert "Remove unused server state change callbackery" for now.
...
The nvidia driver currently uses these callbacks to work around problems where
RAC will disable access to the hardware at unexpected times. This change
restores these hooks until we can come up with a better API for working around
RAC.
This reverts commit d7c0ba2e9e
.
Conflicts:
hw/xfree86/loader/xf86sym.c
2008-10-07 13:08:38 -07:00
Adam Jackson
94919480d8
int10: Fix a nasty memory leak.
2008-10-07 13:41:53 -04:00
Adam Jackson
a57b2f172c
int10: Don't warn when scanning for devices we don't have.
...
Some BIOSes (hi XGI!) will attempt to enumerate the PCI bus by asking
for the config space of every possible device number. This despite
perfectly functional BIOS methods to enumerate the bus exactly.
2008-10-07 13:41:53 -04:00
Adam Jackson
a65e36a873
int10: Remove useless check.
...
If you have more than one PCI device with the same d/b/d/f, you're
already in trouble.
2008-10-07 13:41:53 -04:00
Dave Airlie
e7cd5d84ed
fixup another calloc build issue
2008-10-07 16:09:17 +10:00
Adam Jackson
c6d6d3e87a
Loader: Unexport a handful of consumerless symbols from dixsym.
2008-10-06 16:18:21 -04:00
Adam Jackson
8a5b89e8e1
xalloc+memset(0) -> xcalloc
2008-10-06 15:36:51 -04:00
Adam Jackson
0b7b89fbac
xalloc+bzero -> xcalloc
2008-10-06 14:19:30 -04:00
Jeremy Huddleston
aacac3edac
XQuartz: Bumped bundle version to 2.3.2 for beta1
...
(cherry picked from commit 2021c4c4e7
)
2008-10-04 21:17:14 -07:00