Commit Graph

2099 Commits

Author SHA1 Message Date
oga
b1941d120c shortcut_to_name should not be defined as static in a header file. Put
it in group.c where it it used most, and add an extern definition for
the other users of it.

Found by gcc -Wall. ok okan@
2009-01-11 21:46:48 +00:00
okan
331aeae1e7 add missing prototypes
ok oga@
2009-01-11 21:34:22 +00:00
okan
f950e7b909 better comparison idiom; found with -Wall
ok oga@
2009-01-11 21:33:45 +00:00
oga
5e89e3dfdd Oops, missed a line removal. Fix build. 2009-01-11 20:35:40 +00:00
oga
1892786361 fix use of uninitialised value in one of our local changes.
ok matthieu@
2009-01-11 20:32:31 +00:00
okan
1f1b40b2c2 - merge grab_sweep() into mousefunc_window_resize().
- merge grab_drag() into mousefunc_window_move().
- properly name, proto and static private functions.
- since we already do XMoveResizeWindow() and XMoveWindow() in (now)
mousefunc_window_resize() and mousefunc_window_move() respectively,
client_resize() and client_move() calls are unnecessary.

ok oga@
2009-01-11 18:34:46 +00:00
okan
343413a720 FcNameParse() manpage lies, cast here.
found with pcc.

ok oga@
2009-01-11 18:32:08 +00:00
matthieu
d07bcc99c9 Those directories were removed in xf86-video-ati 6.9.0. 2009-01-11 18:30:41 +00:00
okan
7b276c6791 remove unused variables
ok oga@
2009-01-11 18:25:49 +00:00
todd
525be53fbe sync 2009-01-10 23:38:26 +00:00
matthieu
3901872bea sync 2009-01-10 18:09:53 +00:00
matthieu
52d6539f3c xterm 239
correct a cast in input.c, which broke translation of numeric
keypad codes to pageup, pagedown, etc., on 64-bit platform (Debian
#511138, report by Larry Doolittle).
2009-01-10 18:08:42 +00:00
oga
cc283d3c86 De-autoconf libdrm.
Now that xenocara has been made clean with respect to using kernel headers
instead of those provided with libdrm, remove the copy of the headers included
here. Since it is now very simple, move it over to using standard bsd makefiles
instead of autoconf.

ok matthieu@
2009-01-10 16:29:26 +00:00
oga
f89935ff4d Switch over to using the kernel *_drm.h headers instead of the copies
thereof provided with libdrm. This has been annoying me forever, and it
a blight caused by developing widely used drivers out of the kernel
tree.

ok matthieu@
2009-01-10 16:06:51 +00:00
oga
fb552d1643 Fix substitutions for the pkg-config files. A couple of fields were
missed out, and one was looking for the wrong thing.

ok matthieu@
2009-01-10 16:04:43 +00:00
oga
cd1fdaad7a Don't build intel_bufmgr_ttm.c anymore, the rest of the ttm code has
been removed.

ok matthieu@
2009-01-10 16:02:04 +00:00
oga
34ca8034ae Don't build the "unichrome" driver. We don't have the kernel headers for
it, and we're about to switch to using kernel headers instead of the
ones packaged with libdrm. If the unichrome driver gets rewritten (or I
eventually get time), then it'll come back.

ok matthieu@
2009-01-10 16:01:10 +00:00
oga
7efd4e6855 Remove ttm entrypoints. That memory manager interface isn't going to see the
light of day and has already been removed in mesa master (ages ago).

As a bonus, removes the annoying "falling back to classic" message on
launching a gl application.

ok matthieu@.
2009-01-10 15:56:13 +00:00
oga
64d859dd9e remove the triple buffering support from the intel driver, the support
from this was removed from the kernel and is very much deprecated.
Pageflipping is also probably broken and should not be used. Similar
change happened in mesa master a while back.

ok matthieu@
2009-01-10 15:27:14 +00:00
oga
89ec318c9a Remove "old style" DRI2 entrypoints.
ok matthieu@.
2009-01-10 15:12:43 +00:00
oga
dce0e78b94 Remove the ARB_occlusion_query support in the intel drivers. It was racy and
broken and the kernel ioctl doesn't exist anymore. GEM has a much better
solution for this.

ok matthieu (as part of a larger diff)
2009-01-10 15:09:50 +00:00
oga
9ae8285f50 Don't map the mmio region via the drm. This was only passed onto the
mesa dri driver, which hasn't needed this for a while.

ok matthieu@.
2009-01-10 15:06:18 +00:00
oga
f8be68d9a2 don't map the mmio registers via the drm in the radeon DDX either
(companion commit to the mesa one I just made)

ok matthieu@
2009-01-10 15:01:25 +00:00
oga
3dcdb7063b For the radeon mesa driver, don't try and map the card's mmio region. We
really don't need it. There's one case where it's used, and that is on
``older'' drms, newer ones provide that one value via a parameter.

This is the first stage in my project to stop all cards mapping
registers. This does mean that drivers that depend on this may
eventually die (tdfx, i'm looking at you!).

ok matthieu@
2009-01-10 14:59:52 +00:00
matthieu
c7b145c654 update 2009-01-08 21:40:49 +00:00
oga
d6ad440728 If the mousebutton is unknown when we go to grab, don't just print a
warning, but also skip the XGrabButton call. Noticed by code inspection
by okan@, but we agreed my fix was cleaner.

ok okan.
2009-01-08 21:35:19 +00:00
oga
90bf659960 openchrome doesn't build if you have an xserver with DRI compiled in,
but you disable dri on in the driver build and don't have the via_drm.h
it wants in dri mode. Work around this by changing the #define used to
an openchrome only one, instead of overloading the XF86DRI identifier.

Also disable the DRI build unconditionally.

This is needed here since we don't provide the via DRM module, and i'm
moving libdrm over to using the kernel headers (instead of libdrms own
private copy of same... This is why kernel modules should be developed
in kernel). We won't provide a via drm driver until it is re-written,
since it is full of linuxisms (like futex).

ok matthieu@, discussed with a few. tested by grange@ to prove it was a
no-op functionality wise.
2009-01-08 20:28:57 +00:00
gilles
3780b5d731 add GeForce 9300 GE to the list of known chipsets, enough to get it working
for me.  ok matthieu@
2009-01-06 22:37:13 +00:00
matthieu
7a43c97042 Disable allowFontOps, allowTcapOps and allowWindowOps by default
on OpenBSD.
2009-01-06 20:31:59 +00:00
matthieu
7d6f399c75 xterm 238. includes fix for CVE-2008-2383. 2009-01-06 20:10:20 +00:00
okan
32b6a0bc15 remove "search should ignore the current window" from list, for the
current behavior is better...

ok oga@
2009-01-06 00:41:09 +00:00
okan
4d0c216b55 HasXinerama is an int
ok oga@
2009-01-06 00:19:55 +00:00
okan
f7e5fe5537 remove unused code
ok oga@
2009-01-06 00:18:07 +00:00
matthieu
1e738a86ae Add 2 missing chunks from the 2.1.12 update. This adds support for
a bunch of new chipsets. Problem noticed by Greg Jones.
2009-01-05 20:05:54 +00:00
matthieu
ea3c465f2e Avoid infinit loop on make clean. Problem found by mglocker@. 2009-01-03 17:55:00 +00:00
matthieu
c5ed399a02 Replace option "iBookHack" with option "MacModel" "ibook".
From Nicolas Legrand.
2009-01-03 08:18:10 +00:00
miod
daccd55ae8 Build xf86-video-wildcatfb on OpenBSD/sparc64, and explain how to configure it. 2009-01-01 19:30:20 +00:00
miod
5e6c45d3d3 Simple unaccelerated driver for ifb(4) frame buffer, using a the X11 shadowfb
code to carry changes to both overlay areas.

ok matthieu@
2009-01-01 19:29:21 +00:00
matthieu
6cc8d9324a xedit 1.1.2 2009-01-01 15:30:40 +00:00
matthieu
6e75710066 mkfontscale 1.0.6 2009-01-01 15:24:14 +00:00
todd
d4e576edb8 sync 2008-12-27 06:24:59 +00:00
todd
b967f9f705 clean /tmp propery like other scripts; prodded by deraadt@ 2008-12-24 00:15:24 +00:00
david
3befc7bd1e unbreak build: -liboldX 2008-12-23 21:55:41 +00:00
matthieu
56555c5689 - move wsfb(4) to where it belongs.
- also rename via -> openchrome.
2008-12-23 11:04:49 +00:00
matthieu
594af7d8f5 - i810 -> intel, noticed by mpf@ (already fixed in -current X.Org)
- add a reference to wsfb(4).
2008-12-23 11:03:25 +00:00
matthieu
0701108301 sync 2008-12-23 09:28:02 +00:00
matthieu
beb286a122 I said remove deprecated library. 2008-12-23 09:26:02 +00:00
matthieu
ae53c41783 remove deprected library. 2008-12-23 09:24:35 +00:00
matthieu
4d25e1130e Remove deprecated driver. 2008-12-23 09:17:55 +00:00
matthieu
c71f48b5c2 Remove deprecated drivers that have been disabled for a while. 2008-12-23 09:13:14 +00:00