Commit Graph

121 Commits

Author SHA1 Message Date
matthieu
2610b1cdea Fix for CVE-2007-3069 from X.Org git repository:
Don't break grab and focus state for a window when redirecting it.

    Composite uses an unmap/map cycle to trigger backing pixmap allocation
    and cliprect recomputation when a window is redirected or unredirected.
    To avoid protocol visible side effects, map and unmap events are
    disabled temporarily.  However, when a window is unmapped it is also
    removed from grabs and loses focus, but these state changes are not
    disabled.

    This change supresses the unmap side effects during the composite
    unmap/map cycle and fixes a bug where a compositing window manager
     would cause the screensaver to lose its grab when it unredirects the
    fullscreen lock window.
2008-02-20 21:25:15 +00:00
miod
7d9176c215 endianness definitions for m88k, ok matthieu@ 2008-02-20 17:47:56 +00:00
miod
5fb9099459 Don't #define DEBUG anymore 2008-02-16 21:40:44 +00:00
miod
a1df61e9c2 Remove unused global. 2008-02-16 21:40:29 +00:00
miod
b019a50e70 Disable mesa on m68k, at least until it switches to ELF; suggested by matthieu@ 2008-02-13 21:34:15 +00:00
miod
af5d7dc88a Correctly link ioperm_noop.c to the build on m68k. ok matthieu@ 2008-02-13 21:33:29 +00:00
miod
d00b6d3f21 Remove a unused static function which references a function which had been
removed in the 1.4 update, it prevents wsfb from working on platforms without
lazy binding.
2008-02-13 21:29:52 +00:00
matthieu
4bd8c8049d Remove a bunch of files that get generated during a normal build. 2008-02-11 23:05:25 +00:00
matthieu
daec730aa0 Remove empty unused files. 2008-02-11 22:59:20 +00:00
matthieu
d33aacaadc Make it possible to build dri support with XENOCARA_BUILD_DRI=yes in
/etc/mk.conf. ok oga@
2008-02-02 17:19:57 +00:00
matthieu
3d74c14585 regen 2008-01-27 15:49:14 +00:00
matthieu
37eae9b7cf Fix m68k builds. Similar to the fix that miod used. 2008-01-27 14:03:40 +00:00
matthieu
192dfccc63 3rd try... CVE-2007-6429: Always test for size+offset wrapping. From X.Org. 2008-01-21 21:38:22 +00:00
matthieu
68a7d32fea Previous shm fix for CVE-2007-6429 was incorrect.
Don't spuriously reject <8bpp shm pixmaps. From X.Org repository.
2008-01-18 20:53:51 +00:00
matthieu
4ca84ce6c5 Fix from X.Org for CVE-2008-0006 - PCF Font parser buffer overflow. 2008-01-17 15:44:49 +00:00
matthieu
5215f23408 Fix from X.Org for CVE-2007-6429 - MIT-SHM and EVI extensions integer overflows. 2008-01-17 15:43:43 +00:00
matthieu
af2f977c6b Fix from X.Org for CVE-2007-6428 - TOG-cup extension memory corruption. 2008-01-17 15:43:06 +00:00
matthieu
868ab3f2e3 Fix from X.Org for CVE-2007-6427 - Xinput extension memory corruption. 2008-01-17 15:42:19 +00:00
matthieu
19e04f544a Fix from X.Org for CVE-2007-5958 - File existence disclosure. 2008-01-17 15:41:53 +00:00
matthieu
478587a2d7 Fix from X.Org for CVE-2007-5760 - XFree86 Misc extension out of
bounds array index.
2008-01-17 15:41:18 +00:00
matthieu
dc769e8a75 Based on a suggestion and an initial patch by kettenis@, build
both the old i810 and the new intel drivers on i386, and let X
autoconfiguration code choose the one that is used based on the chipset.
Tested by landry@ and a few others.
2008-01-16 23:20:50 +00:00
jsing
6189593aff regen 2008-01-04 14:01:04 +00:00
jsing
458c03da50 Add support for xserver on OpenBSD/sgi and enable build.
ok matthieu@
2008-01-04 13:44:23 +00:00
todd
6ff94f4734 more gcc2 fixes; ok mathieu@ 2008-01-01 23:31:01 +00:00
todd
fefd79e203 fix for gcc2 (declaration 1st within each scope)
ok matthieu@
2007-12-29 03:09:26 +00:00
matthieu
067fedef2d Adapt OpenBSD/wscons kdrive drivers to changes in xserver 1.4.
Still not working but at least building again.
2007-12-23 14:28:10 +00:00
matthieu
d99925b594 Make that build with gcc 2.95 2007-12-23 08:01:09 +00:00
matthieu
460b683f36 Don't call xcalloc() in functions called by the big SIGIO handler.
Problem initially reported by sthen@, fix tested by many.
2007-12-21 06:42:23 +00:00
matthieu
eb2e8d8cbc Fix build with gcc 2.95. ok todd@. 2007-12-20 07:26:37 +00:00
matthieu
67952fe293 Add back files that I removed before import to minimize cvs noise. That
was a mistake. sorry.
2007-12-13 21:51:47 +00:00
matthieu
b29102d7af Merge xserver 1.4.0.90. This includes fixes for some of the regressions
introduced by xserver 1.4, such as the keyboad caps/num-lock leds updates.
Tested by many.
2007-12-13 21:47:48 +00:00
matthieu
2fcd9ee667 xserver 1.4.0.90 2007-12-13 21:06:02 +00:00
matthieu
10fefb5e1b Fix logic error in the new dynamic array of pci devices that made
xf86scanpci() exit early if pciInit() had been called already.
Fix tested by krw@.
2007-12-10 06:35:24 +00:00
matthieu
35aebf7135 regen 2007-12-03 12:45:41 +00:00
matthieu
c19e24c0ad Revert xf86EnableIO()/xf86DisableIO() on macpcc to NOP for now. 2007-12-03 12:45:10 +00:00
matthieu
a7908c655f Support the new AGP device. Work by oga@ and me, with some ideas from
dim@ long ago.
2007-11-25 18:41:23 +00:00
matthieu
f080297623 OpenBSD's still using the old xkb data files. So rules are called "xorg" not
"base".
2007-11-25 15:32:26 +00:00
matthieu
fa710f4099 merge xserver 1.4, 1st pass 2007-11-24 19:04:00 +00:00
matthieu
b14d6de7aa xserver 1.4 2007-11-24 17:55:21 +00:00
matthieu
f1b8f80ce9 Pull patch from X.Org bugzilla #7364 from XF4 tree: fix for
potential unaligned access on 64 bit architectures.
2007-08-06 16:15:08 +00:00
matthieu
348dc7ad3d regen 2007-08-04 19:44:30 +00:00
matthieu
f1662182e6 regen 2007-06-30 06:57:45 +00:00
matthieu
d41b593701 Fix linking on OpenBSD/a.out systems. Tested by Nick@. 2007-06-30 06:38:56 +00:00
matthieu
3ef0e68671 regen 2007-06-23 21:49:28 +00:00
matthieu
85ea868e9d swap xOrigin and yOrigin in SProcRenderSetPictureClipRectangles.
Fixes Xrender clipping rectangles when X server and client are of
different endianness, shown by xterm 225 among others.
2007-06-13 22:53:10 +00:00
matthieu
82be1a48d9 Remove debugging code that was not supposed to leak in. 2007-05-31 03:37:55 +00:00
matthieu
9dc24fdb26 More stuff, mostly copied from Xwsfb and Xvesa 2007-05-29 20:14:43 +00:00
matthieu
b9d330da8e add a TODO list in case someone wants to help 2007-05-29 20:14:08 +00:00
matthieu
81442db855 kdrive doesn't support Xinput. 2007-05-27 05:56:03 +00:00
matthieu
255c61fb6a - rename some functions for consistancy
- fill more code
2007-05-27 05:17:06 +00:00