summaryrefslogtreecommitdiff
path: root/Xext
AgeCommit message (Collapse)AuthorFilesLines
2008-10-30xselinux: send more specific message types to libaudit.Eamon Walsh1-1/+13
2008-10-26Xext: Fix compiler warningsJulien Cristau1-1/+2
Make GEClientGone static and include registry.h, to fix the following warnings: geext.c:225: warning: no previous prototype for 'GEClientGone' geext.c: In function 'GEExtensionInit': geext.c:280: warning: implicit declaration of function 'RegisterResourceName' geext.c:280: warning: nested extern declaration of 'RegisterResourceName'
2008-10-06xalloc+memset(0) -> xcallocAdam Jackson1-3/+1
2008-10-02Unifdef ISCAdam Jackson1-1/+1
2008-09-21Fix panoramiX request and reply swappingPeter Harris1-4/+13
Fix panoramiX request and reply swapping Set window and screen values in panoramix replies Prevent buffer overrun in ProcPanoramiXGetScreenSize
2008-09-01Xevie: swap replies as necessaryJulien Cristau1-0/+27
2008-09-01Xevie: always initialize rep.length (bug#17394)Thorvald Natvig1-0/+4
The XEvIE extension doesn't clear the rep.length field for any reply but the version check. Hence, if there is junk data in it and that is sent to the client, it hangs. X.Org bug#17394 (http://bugs.freedesktop.org/show_bug.cgi?id=17394)
2008-08-28Attempt getpeercon() on remote sockets as well as local ones.Eamon Walsh1-11/+10
2008-08-28Prepare for array-index based devPrivates.Tomas Carnecky10-15/+30
TODO: static indices can be made just an int; some indices can be combined.
2008-08-28Build fix.Adam Jackson1-1/+1
2008-08-28MIT-SHM pixmaps, if they exist, are ZPixmap.Adam Jackson2-22/+1
2008-08-28Reimplement ShmPutImage.Adam Jackson2-66/+23
There's no reason to not just dispatch this straight into the GC. As a bonus, if you do so, damage wraps correctly, and thus swcursor works. The side effect is it's no longer possible to override ShmPutImage with ShmRegisterFuncs(). Also remove the (broken) damage tracking for same from EXA, since it didn't work right, and is now superfluous.
2008-08-20Centralize declaration of ConnectionInfo.Adam Jackson1-1/+0
2008-08-13Eviscerate save-under support.Adam Jackson1-9/+3
Use a compositing manager already. Plus I really wanted to use 'eviscerate' in a commit message.
2008-08-05Redefine WindowTable as a fixed arrayTomas Carnecky1-2/+1
Instead of xalloc'ing it every server generation. The array is always the same size (MAXSCREENS), anyway.
2008-07-30Make shmint.h part of the SDK.Aaron Plattner2-4/+4
This includes ShmRegisterFuncs, ShmSetPixmapFormat, fbShmPutImage, and ShmRegisterFbFuncs. Note that fbShmPutImage was already exported.
2008-07-24Sync is built-in and mandatory.Adam Jackson1-5/+5
2008-07-24XC-MISC is built-in and mandatory.Adam Jackson1-2/+2
2008-07-24Remove all empty extension reset hooks, replace with NULL.Adam Jackson10-94/+10
2008-07-24Bigreqs are built-in and mandatory.Adam Jackson1-1/+1
2008-07-24Shape extension is built-in and mandatory.Adam Jackson2-5/+0
2008-07-18Drop the FONTCACHE extension.Adam Jackson2-329/+0
This appears to have been dead code since X-TT was merged.
2008-07-17Drop a bunch of #ifdef Lynx.Mathieu Bérard4-12/+2
2008-07-10Xext: store the GenericMasks in the resource system.Peter Hutterer2-6/+51
This fixes a severe issue - when the client died the event mask didn't get unregistered and a future event would dereference dangling pointers. By storing the event masks in the resource system we can free them when the client dies.
2008-06-17SELinux: Add an extension alias under the OS-agnostic "Flask" name.Eamon Walsh1-0/+2
2008-06-13Fix "warning: no previous prototype for ‘XevieExtensionInit’".Eamon Walsh1-0/+1
2008-06-11Un-K&R shm extension.Kristian Høgsberg1-66/+34
2008-06-11CVE-2008-1379 - MIT-SHM arbitrary memory readMatthieu Herrb1-2/+11
An integer overflow in the validation of the parameters of the ShmPutImage() request makes it possible to trigger the copy of arbitrary server memory to a pixmap that can subsequently be read by the client, to read arbitrary parts of the X server memory space.
2008-06-11CVE-2008-1377 - RECORD and Security extensions memory corruptionMatthieu Herrb1-3/+7
Lack of validation of the parameters of the SProcSecurityGenerateAuthorization SProcRecordCreateContext functions makes it possible for a specially crafted request to trigger the swapping of bytes outside the parameter of these requests, causing memory corruption.
2008-06-11Xext: init firstValuator to zero, otherwise core XTest events may get lost.Peter Hutterer1-1/+1
2008-05-31Xext: use GPE/GKE from XTestFakeInput #16145Peter Hutterer1-201/+109
This commit fixes two problems: 1) XTFI used to assemble the event itself, then passed it to the device. It's much easier to just pass the variables into GPE/GKE and let the DIX do the rest. 2) XTFI would pass the VCP/VCK as default device to event processing. As a result, updating LEDs would be updated on the VCK, not on the actual keyboard. Instead, we now pass the events through the last-used SD, thus toggling the LEDs on the last keyboard that sent through this MD. Also some cleanup in XTFI to merge validity checks a bit closer together rather than having several different sections. This breaks XTestFakeMotion with Xinerama though. X.Org Bug 16145 <http://bugs.freedesktop.org/show_bug.cgi?id=16145>
2008-05-29Xext: only free events in case of core motion events.Peter Hutterer1-1/+1
2008-05-26Merge branch 'master' into mpxPeter Hutterer1-4/+4
2008-05-23input: instead of lastx/y, use a last.valuators[] array on the device.Peter Hutterer1-4/+4
During GetPointerEvents (and others), we need to access the last coordinates posted for this device from the driver (not as posted to the client!). Lastx/y is ok if we only have two axes, but with more complex devices we also need to transition between all other axes. ABI break, recompile your input drivers.
2008-05-21Replace UniSA with full Uni name in Author affiliation.Peter Hutterer2-2/+2
Big boss says UniSA isn't unique enough. Who am I to argue?
2008-05-20Short-circuit PanoramiXTranslateVisualID after verifying that the visual ↵Aaron Plattner1-4/+4
actually exists first. This allows using PanoramiXTranslateVisualID to test whether a given visual made it through PanoramiXVisualConsolidate.
2008-05-20Merge branch 'master' into mpxPeter Hutterer4-2636/+31
Conflicts: Xext/xprint.c (removed in master) config/hal.c dix/main.c hw/kdrive/ati/ati_cursor.c (removed in master) hw/kdrive/i810/i810_cursor.c (removed in master) hw/xprint/ddxInit.c (removed in master) xkb/ddxLoad.c
2008-05-16Xext: fix typo in condition.Peter Hutterer1-1/+1
Fall-out from dc3aba8a559d4304844ee1cc306c577a63b82762. We must free the event if it is NOT an extension event.
2008-05-13Xext: emulate XI events from core events when faking input.Peter Hutterer1-0/+25
We need XI events for event processing, so lets get rid of the pure core events ASAP.
2008-05-13Xext: core button events have rootX/Y unset too.Peter Hutterer1-6/+3
2008-05-12Bug #14692: Allow drivers to have a say in Xinerama visual consolidation.Aaron Plattner2-12/+31
Create a new exported global variable, XineramaVisualsEqualPtr. Use this pointer to decide whether two visuals are equal during visual consolidation. This pointer can be wrapped, which allows drivers and extensions to control which visuals are consolidated. A wrapper can reject the visuals without calling down, but must call down and return that result if it deems the visuals equal. This ensures that all layers agree that the visuals are equal. Pass the screen of the other visual into the VisualsEqual callchain. Don't free PanoramiXVisuals since we need it for PanoramiXTranslateVisualID. Don't skip the first visual on the other screen in PanoramiXMaybeAddVisual. Skip the loop in PanoramiXTranslateVisualID if screen is 0.
2008-05-12X n'est pas une print API.Adam Jackson2-2624/+0
2008-05-02Merge branch 'master' into mpxPeter Hutterer1-58/+0
Conflicts: Xi/exevents.c dix/devices.c
2008-04-25Standardise copyright headers for all new files created as part of MPX.Peter Hutterer2-54/+46
2008-04-24Xext: XGE: change function definition to have return value on separate line.Peter Hutterer1-15/+19
This seems to be the common style in most parts of the server.
2008-04-24Xext: add a few lines of comments to XGE.Peter Hutterer1-5/+14
2008-04-24Xext: re-do the XGE versioning handling.Peter Hutterer1-15/+18
Basically the same approach RandR takes. Remember which one the client requested, send back the one the server supports. Also divide XGE server version (now defined in geext.c) and the client's version (still in the protocol definition).
2008-04-24Xext: remove trailing whitespaces in geext.{c|h}Peter Hutterer3-23/+23
2008-04-23drop EVI remnantsGeorge Sapountzis1-58/+0
2008-04-22Merge branch 'master' into mpxPeter Hutterer9-1694/+1
Conflicts: Xext/EVI.c Xext/appgroup.c Xext/cup.c Xext/mitmisc.c Xext/sampleEVI.c dix/window.c