Eamon Walsh
baabae623b
xselinux: Started reworking extension using new XACE hooks.
2007-10-17 13:54:56 -04:00
Eamon Walsh
db66e66dbf
xace: Add an access_mode field to the extension structure.
...
This allows the same callback to be used for both extension hooks.
2007-10-17 13:51:11 -04:00
Eamon Walsh
853ea337bd
registry: Register XvMC extension protocol names.
2007-10-15 22:13:02 -04:00
Eamon Walsh
58c3240fcb
registry: Register MIT-SCREEN-SAVER extension protocol names.
2007-10-15 22:09:47 -04:00
Eamon Walsh
4e274e90e1
registry: Register SHAPE extension protocol names.
2007-10-15 22:04:20 -04:00
Eamon Walsh
9f597f6c87
registry: Register SYNC extension protocol names.
2007-10-15 22:01:20 -04:00
Eamon Walsh
b504678ba5
registry: Register APPGROUP extension protocol names.
2007-10-15 21:55:09 -04:00
Eamon Walsh
6ec35a8cf5
registry: Register BigRequests extension protocol names.
2007-10-15 21:46:56 -04:00
Eamon Walsh
1254cc399c
registry: Register Fontcache extension protocol names.
2007-10-15 21:43:06 -04:00
Eamon Walsh
e987648cf2
registry: Register EVI extension protocol names.
2007-10-15 21:38:56 -04:00
Eamon Walsh
f6226d3bfe
registry: Register TOG-CUP extension protocol names.
2007-10-15 21:35:12 -04:00
Eamon Walsh
7e182a5d89
registry: Register MIT-MISC extension protocol names.
2007-10-15 21:13:39 -04:00
Eamon Walsh
32f6171862
registry: Register XF86Bigfont extension protocol names.
2007-10-15 21:10:14 -04:00
Eamon Walsh
12766c5b5f
registry: Register Xv extension protocol names.
2007-10-15 21:00:46 -04:00
Eamon Walsh
35ae03871a
registry: Register XC-MISC extension protocol names.
2007-10-15 20:50:26 -04:00
Eamon Walsh
32fe282d5b
registry: Register XTest extension protocol names.
2007-10-15 20:45:18 -04:00
Eamon Walsh
3877faf7d9
registry: Register Multibuffer extension protocol names.
2007-10-15 20:35:13 -04:00
Eamon Walsh
16764a2d29
registry: Register DPMS extension protocol names.
2007-10-15 20:29:23 -04:00
Eamon Walsh
f077578e42
registry: Register XPrint extension protocol names.
2007-10-15 19:43:02 -04:00
Eamon Walsh
5c8b1a9172
registry: Register Resource extension protocol names.
2007-10-15 19:35:04 -04:00
Eamon Walsh
48891d5696
registry: Register EVIE extension protocol names.
2007-10-15 19:32:01 -04:00
Eamon Walsh
2c9646ad4e
registry: Register SHM extension protocol names.
2007-10-15 19:18:03 -04:00
Eamon Walsh
b9f5ab98c8
registry: Register XINERAMA extension protocol names.
2007-10-15 16:18:37 -04:00
Eamon Walsh
6adeba1730
dix: Add a new "registry" mechanism for registering string names of things.
...
Supports protocol requests, events, and errors, and resource names.
Modify XRES extension to use it.
2007-10-11 14:18:59 -04:00
Eamon Walsh
473bc6ec4c
xace: remove the special-cased "ignore" functionality from the property code.
...
There will be no more faking of Success to hide things. XACE does not
provide polyinstantiation.
2007-10-10 19:43:12 -04:00
Eamon Walsh
b77d272d75
xace: add hooks + new access codes: XTEST extension
2007-10-02 13:21:53 -04:00
Eamon Walsh
50551ec693
xace: remove obsoleted DRAWABLE_ACCESS hook.
2007-09-28 15:04:33 -04:00
Eamon Walsh
8b54865720
xace: add hooks + new access codes: XKB extension.
...
Removes "LookupKeyboardDevice" and "LookupPointerDevice" in favor of
inputInfo.keyboard and inputInfo.pointer, respectively; all use cases
are non-XI compliant anyway.
2007-09-28 13:34:18 -04:00
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
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
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
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
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
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
Eamon Walsh
0003ccfcdf
xace: add new fields to resource access hook to allow parent resource objects
...
to be passed in at create time. Also added a missing devPrivates initializer.
2007-09-05 11:18:36 -04:00
Matthieu Herrb
4062db4020
typo in comment
2007-09-04 22:39:14 +02:00
Eamon Walsh
53f346b158
xace: add hooks + new access codes: SHAPE extension
2007-08-30 13:20:04 -04:00
Eamon Walsh
766c693ef3
xace: add hooks + new access codes: MIT-SCREEN-SAVER extension
2007-08-30 13:06:28 -04:00
Eamon Walsh
cda92bbf12
xace: add hooks + new access codes: XFixes extension.
...
Required a new name argument to the selection access hook to handle
XFixesSelectSelectionInput.
2007-08-30 11:48:45 -04:00
Eamon Walsh
4795df6245
xace: add hooks + new access codes: TOG-CUP extension.
2007-08-29 14:40:10 -04:00
Eamon Walsh
e39694789e
xace: drop map-window checking hook, add new hooks for controlling the
...
delivery of events to windows and clients.
This is tentative. It's likely that an additional last-resort hook will
be necessary for code that calls TryClientEvents or WriteEventsToClient
directly. It's also possible that new xace machinery will be necessary
to classify events and pull useful resource ID's out of them.
The failure case also needs some thinking through. Should event delivery
"succeed" or should it report undeliverable?
Finally, XKB appears to call WriteToClient to pass events. Sigh.
2007-08-29 14:16:46 -04:00
Eamon Walsh
41355a53c2
xace: add hooks + new access codes: core protocol input requests
2007-08-28 15:10:20 -04:00
Eamon Walsh
4017d31902
devPrivates rework: since API is already broken, switch everything
...
over to new system.
Need to update documentation and address some remaining vestiges of
old system such as CursorRec structure, fb "offman" structure, and
FontRec privates.
2007-08-28 09:28:25 -04:00
Eamon Walsh
8554707326
Merge branch 'master' into XACE-SELINUX
...
Conflicts:
include/miscstruct.h
mi/mibstore.c
mi/midispcur.c
os/Makefile.am
2007-08-28 07:25:21 -04:00
Adam Jackson
ae7f71a8b3
Implement core protocol backing store exclusively in terms of Composite.
...
Composite's automatic redirection is a more general mechanism than the
ad-hoc BS machinery, so it's much prettier to implement the one in terms
of the other. Composite now wraps ChangeWindowAttributes and activates
automatic redirection for windows with backing store requested. The old
backing store infrastructure is completely gutted: ABI-visible structures
retain the function pointers, but they never get called, and all the
open-coded conditionals throughout the DIX layer to implement BS are gone.
Note that this is still not a strictly complete implementation of backing
store, since Composite will throw the bits away on unmap and therefore
WhenMapped and Always hints are equivalent.
2007-08-25 15:08:20 -04:00
Michel Dänzer
6085522d91
Export fbShmPutImage to modules.
...
To be used by EXA.
2007-08-24 14:02:35 +02:00
Eamon Walsh
b2b7817497
devPrivates rework: use camelcase standard for name of key type.
2007-08-16 15:33:58 -04:00