Eamon Walsh
5c03d13181
xace: add new hooks + access controls: XInput extension.
...
Introduces new dix API to lookup a device, dixLookupDevice(), which
replaces LookupDeviceIntRec and LookupDevice.
2007-09-28 08:02:00 -04:00
Eamon Walsh
27612748e0
Merge branch 'master' into XACE-SELINUX
...
Conflicts:
dix/devices.c
2007-09-26 07:47:29 -04:00
Eamon Walsh
3b114f2603
Input: Properly swap DevicePresenceNotify events.
2007-09-26 07:26:59 -04:00
Eamon Walsh
31a7994ac7
Input: Return errors to the dispatcher instead of sending them ourself.
...
Also fixed two "unused variable: stuff" warnings.
2007-09-26 07:26:59 -04:00
Tilman Sauerbeck
56ffc381d3
EXA: Removed duplicated exaGetDrawablePixmap() calls.
2007-09-26 16:52:27 +02:00
Dodji Seketeli
aa0325db7e
Xephyr: fix compiler warnings
...
* hw/kdrive/ephyr/ephyr_draw.c:
(ephyrDownloadFromScreen),
(ephyrUploadToScreen): fix compiler warnings
2007-09-26 15:26:42 +02:00
Tilman Sauerbeck
ae8b4f7dcf
EXA: Added pitch limitations.
...
Drivers can now specify the max pitches that the accelerator supports.
2007-09-25 16:43:06 +02:00
Eamon Walsh
b61461425e
xace: add hooks + new access codes: XV extension.
...
May need to revisit this extension in the future, depending on observed use.
2007-09-25 09:56:00 -04:00
Eamon Walsh
9bd04055a2
xace: change prototype of VALIDATE_DRAWABLE_AND_GC macro to allow access
...
mode to be passed to dixLookupDrawable.
2007-09-25 09:33:51 -04:00
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