Commit Graph

1811 Commits

Author SHA1 Message Date
oga
7b0ecc6d1f On startup, don't leak memory when we enumerate existing windows.
The behaviour until now was to ask X for the windows name (which is
malloced) then drop that on the floor and do nothing with it. Skip this
foolery and just skip the window. I don't believe I never noticed this before!

"you can has ok" okan@
2009-01-15 17:23:12 +00:00
okan
454d1e5ef5 - add missing prototypes.
- properly name, place and static private functions.
- move function which finds the xinerama screen for a coordinate to
a more appropriate place while altering its semantics to match others.
- tiny bit of style.

ok oga@
2009-01-15 00:32:35 +00:00
matthieu
6dffff99cd sync 2009-01-13 20:51:03 +00:00
matthieu
82a3ed895b adapt for version 1.99.3: add dri2tokens.h 2009-01-13 20:50:28 +00:00
matthieu
7a8cc50a5b dri2proto 1.99.3. 2009-01-13 20:49:42 +00:00
todd
6b96c02f57 note to self: no cookie, a compile started is not a compile tested 2009-01-13 19:46:28 +00:00
todd
8b1dd35d69 yet another gcc2 found bad coding practice, move variable declartion to the
top of the scope. this time found by sparc.
2009-01-13 16:30:45 +00:00
okan
b14cbfe250 better cast; noticed by ray@
ok ray@ oga@
2009-01-13 15:25:43 +00:00
miod
ad8617fbf6 Sync suggested configuration file with wsmux kernel changes. One step closer
to X.org able to run without a configuration file. ok matthieu@
2009-01-12 20:46:58 +00:00
matthieu
8d98f5900d regen 2009-01-12 20:18:51 +00:00
matthieu
369cc172f4 Update to xserver 1.5.3 + latests commits on server-1.5-branch.
tested by stsp@, david@, form@, ckuethe@, oga@. thanks.
2009-01-12 20:17:47 +00:00
oga
1b62620f13 Add -Wall to CFLAGS, it's helped find a few dodgy constructs.
ok okan@.
2009-01-11 21:48:27 +00:00
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