Eric Anholt
988f446fe0
[EDID] Ignore reserved bits in deciding monitor vs detailed timing descriptor.
...
Even though they're defined to zero by the spec, we've seen an EDID block
where the (empty) ASCII strings were stuffed in a byte early, leading to the
descriptor being considered a detailed timing instead.
2007-09-24 20:26:31 -07:00
Daniel Stone
27ad5d74c2
Input: Generate XKB mapping changes for all core-sending devices (bug #12523 )
...
When we change the mapping on a core device, make sure we propagate this
through to XKB for all extended devices as well.
2007-09-23 17:17:20 +03:00
Daniel Stone
0e800ca465
GetKeyboardEvents: Reject out-of-range keycodes (bug #12528 )
...
We can only deal with keycodes between 8 and 255, so make sure that we never
accept anything out of this range.
2007-09-23 12:43:31 +03:00
Alex Deucher
e1860f241b
Document xf86_crtc_clip_video_helper better.
2007-09-22 17:54:51 -04:00
Alex Deucher
19d30c1c77
Revert "Fix possible crash if Xv window is outside of either crtc"
...
This reverts commit 9235531410
.
This changes ABI. False means there was a memory failure of some kind,
not that the video shouldn't be displayed
2007-09-22 17:51:27 -04:00
Michel Dänzer
9235531410
Fix possible crash if Xv window is outside of either crtc
2007-09-22 14:25:02 -04:00
Tilman Sauerbeck
edd8817083
EXA: Check ABI compatibility earlier.
...
If the driver isn't compatible to the server, all bets are off anyway wrt
the contents of the fields that we're validating, which can lead to bogus
error messages.
2007-09-22 13:52:56 +02:00
Ben Byer
abe0a51f3f
So, like, checking return codes of system calls (signal, etc) is good.
...
Also, only restore an old signal handler if one was actually set
(prevents the server from dying on OS X).
2007-09-21 17:07:36 -07:00
Ben Byer
eb82b19aa7
XDarwin: build fix for X11.app
2007-09-20 19:55:48 -07:00
Ben Byer
5b08932bfb
XDarwin: pulling in Indirect GLX fixes from downstream
2007-09-20 19:27:31 -07:00
Ben Byer
742d5d6adc
XDarwin: Fixes to quartzKeyboard.c to prevent a crash using certain non-US keyboards
2007-09-20 18:03:51 -07:00
Ben Byer
374bd88d10
XDarwin: Merging misc changes from downstream.
...
The only functional changes in this patch are a removal of use of
Xtrans internals -- replaced by xcb, which doesn't seem to be used
elsewhere in the server? Pity.
Also, a fix to make all X11 windows pop to the front of the display
when the X11.app icon is clicked -- currently takes two clicks,
not sure why.
2007-09-20 16:51:06 -07:00
Aaron Plattner
3a965fdadc
Don't segfault on shutdown if we never managed to connect to dbus.
2007-09-20 16:22:24 -07:00
Aaron Plattner
50fa8722d3
Set noCompositeExtension to TRUE when failing to initialize the extension (e.g. when Xinerama is enabled).
2007-09-20 14:00:33 -07:00
Eamon Walsh
a247886b08
xace: add hooks + new access codes: XF86-Bigfont extension
2007-09-20 13:06:38 -04:00
Eamon Walsh
f6532a81ee
xace: add hooks + new access codes: APPGROUP extension
2007-09-20 12:17:17 -04:00
Eamon Walsh
82f7195a62
xace: modifications to ChangeWindowAttributes special case: separate
...
Receive and SetAttr. Refer to 963e69b8ef
2007-09-20 09:17:09 -04:00
Eamon Walsh
661b1328cf
xace: add hooks + new access codes: SYNC extension
...
May need to revisit this extension in the future, depending on observed use.
2007-09-20 09:14:09 -04:00
Eamon Walsh
90bacdef72
xace: add hooks + new access codes: MIT-SHM extension
2007-09-20 06:53:51 -04:00
Eamon Walsh
e93cff52fe
xace: add hooks + new access codes: DOUBLE-BUFFER extension
2007-09-19 14:48:20 -04:00
Eamon Walsh
082c0f7fb3
devPrivates rework: move devPrivates field in drawable structure types
...
to just below the DrawableRec. Wish there were a better way to do this
but it has to be in the same place for all drawable types.
2007-09-19 13:59:35 -04:00
Eamon Walsh
5b36b64192
xace: add missing argument to hook call.
2007-09-19 11:11:54 -04:00
Eamon Walsh
963e69b8ef
xace: add special-case for just setting the event mask on a window,
...
this should only check "receive" permission, not "setattr" permission.
2007-09-19 11:11:41 -04:00
Ben Byer
c140d20f4a
XDarwin: mass change from using xorg-config.h to dix-config.h cuz we're not using the X.org ddx anymore
2007-09-19 05:58:22 -07:00
Ben Byer
bcb5e3e627
XDARWIN: More fixes to Makefile.am
...
At least on my system (10.5 with the latest and greatest modules),
Xquartz now builds out of the box. It doesn't quite work yet, but
hey -- you have to start somewhere. ;)
2007-09-19 04:46:10 -07:00
Eamon Walsh
97c150b61b
Merge branch 'master' into XACE-SELINUX
...
Conflicts:
afb/afbpntwin.c
afb/afbscrinit.c
afb/afbwindow.c
cfb/cfb.h
cfb/cfballpriv.c
cfb/cfbscrinit.c
cfb/cfbwindow.c
configure.ac
fb/wfbrename.h
hw/xfree86/xf4bpp/ppcIO.c
hw/xfree86/xf4bpp/ppcPntWin.c
hw/xfree86/xf4bpp/ppcWindow.c
hw/xfree86/xf8_32bpp/cfbscrinit.c
mfb/mfb.h
mfb/mfbpntwin.c
mfb/mfbscrinit.c
mfb/mfbwindow.c
mi/miexpose.c
Note: conflicts caused by devPrivates rework vs. paintwindow changes.
2007-09-19 07:25:55 -04:00
Ben Byer
5e209b21f3
XNEST: removed obsolete hack to build under Darwin
2007-09-19 03:44:46 -07:00
Ben Byer
378c7ebef4
XVFB: Removed obsolete hack to build on Darwin
2007-09-19 03:43:40 -07:00
Ben Byer
7813392d1c
XDarwin: changes to Makefile.am to use new conditionals
2007-09-19 01:53:18 -07:00
Dodji Seketeli
170fc77d9e
xserver: don't force DTRACE detection by default
...
this fixes a breakage caused by 7a4ec34e25
.
When running a non DTRACE aware system that is not darwin*, DTRACE was getting
required. Now it is not anymore.
2007-09-19 09:54:09 +02:00
Ben Byer
9b4f515717
XDarwin: We build many many different targets, let's break them out into autoconf conditionals
2007-09-18 21:40:32 -07:00
Ben Byer
7a4ec34e25
XDarwin: Disable dtrace support on Darwin 9 (since it doesn't work ... yet ...)
2007-09-18 20:37:09 -07:00
Ben Byer
3c19ec47b4
XDarwin: changed XF86BigFont support default from yes to auto so XDarwin can disable it
2007-09-18 20:15:44 -07:00
Michel Dänzer
547ad2125e
EXA: Make sure driver hooks get correct offscreen offsets from exaCopyDirty.
...
This should ensure the driver UploadTo/DownloadFromScreen hooks can always
work as intended.
2007-09-17 20:40:13 +02:00
Alan Hourihane
56cc24ffb2
EXA: Don't crash in ExaCheckPolyArc.
...
See https://bugs.freedesktop.org/show_bug.cgi?id=12286 .
2007-09-17 20:40:06 +02:00
Michel Dänzer
7ac89060e0
EXA: Don't crash in exaGetImage when swapped out.
2007-09-17 20:39:59 +02:00
Tilman Sauerbeck
3876c6c805
EXA: Fixed compiler warnings.
2007-09-17 18:47:45 +02:00
Tilman Sauerbeck
d5738ff2e0
EXA: Added missing exaPrepare/FinishAccess calls in ExaCheckPushPixels.
2007-09-17 17:42:55 +02:00
Tilman Sauerbeck
a0dafd95e1
Removed hw/xwin/winpntwin.c from Makefile.am.
...
winpntwin.c was removed in e4d11e58ce
.
2007-09-17 17:40:28 +02:00
Tilman Sauerbeck
7bd6557701
Initialize output->pendingProperties.
2007-09-15 14:01:57 +02:00
Eric Anholt
b9f7aeb200
Merge remote branch 'origin/master' into paint-window
...
Conflicts:
mi/miexpose.c
2007-09-13 00:15:45 +00:00
Eric Anholt
e4d11e58ce
Remove the PaintWindow optimization.
...
This was an attempt to avoid scratch gc creation and validation for paintwin
because that was expensive. This is not the case in current servers, and the
danger of failure to implement it correctly (as seen in all previous
implementations) is high enough to justify removing it. No performance
difference detected with x11perf -create -move -resize -circulate on Xvfb.
Leave the screen hooks for PaintWindow* in for now to avoid ABI change.
2007-09-13 00:08:53 +00:00
Keith Packard
06d27f8045
Try again to fix drawable and tile offsets in miPaintWindow
...
Many coordinate spaces are hard. Let's go drinking.
2007-09-12 23:57:30 +01:00
Keith Packard
dd3992eb86
miPaintWindow draw to window for background.
...
Instead of drawing to window pixmap for everything, draw to window for
background as that works for Xnest and Xdmx; draw to pixmap for borders
which neither of those X servers use.
2007-09-12 22:40:02 +01:00
Eric Anholt
6da39c6790
Fix build on FreeBSD after Popen changes.
2007-09-12 13:23:13 +00:00
Keith Packard
257c8ed17f
Rewrite miPaintWindow to draw to window pixmap.
...
miPaintWindow was drawing to the root window, or (sometimes) drawing to the
window after smashing the window clip list. This is losing, and easily fixed
by just drawing to the window pixmap.
2007-09-12 12:12:22 +01:00
Brice Goglin
43dc410347
Replace a non-ascii char with the corresponding groff escape in exa.man.pre
2007-09-12 01:43:37 +02:00
Adam Jackson
a5b8053606
Ignore - not just block - SIGALRM around Popen()/Pclose().
...
Because our "popen" implementation uses stdio, and because nobody's stdio
library is capable of surviving signals, we need to make absolutely sure
that we hide the SIGALRM from the smart scheduler. Otherwise, when you
open a menu in openoffice, and it recompiles XKB to deal with the
accelerators, and you popen xkbcomp because we suck, then the scheduler
will tell you you're taking forever doing something stupid, and the
wait() code will get confused, and input will hang and your CPU usage
slams to 100%. Down, not across.
2007-09-11 11:37:06 -04:00
Dodji Seketeli
2e3e08d31e
xserver: test presence of strlcpy in configure
...
* configure.ac: define HAVE_STRLCPY when function strlcat is present
this serves at least to unbreak libxtrans code compilation.
2007-09-11 08:50:41 +02:00
Dodji Seketeli
e8c73ac697
Xephyr: fix compilation breakage.
...
* hw/kdrive/ephyr/ephyr_draw.c:
(exaDDXDriverInit): pExaScr->hideOffscreenPixmapData does not exist
anymore, so don't set it.
2007-09-11 00:20:45 +02:00