summaryrefslogtreecommitdiff
path: root/dix/dispatch.c
AgeCommit message (Collapse)AuthorFilesLines
2008-11-04Purge device-based WindowAccess code.Peter Hutterer1-1/+0
Really, this was a bad idea. It's not security, the UI features that would have been cool (e.g. clicking through windows) aren't implemented anyway, and there's nothing you can't achieve just by using plain XI anyway. Requires inputproto 1.9.99.6.
2008-10-22dix: init remaining three xkb fields to zero in a new client.Peter Hutterer1-0/+2
2008-10-06Loader: Unexport a handful of consumerless symbols from dixsym.Adam Jackson1-1/+1
2008-10-06xalloc+bzero -> xcallocAdam Jackson1-4/+2
2008-09-02Don't try to destroy a NULL pixmap.Daniel Drake1-1/+1
2008-08-20Centralize declaration of ConnectionInfo.Adam Jackson1-1/+0
2008-08-11The smart scheduler is not optional.Mathieu BĂ©rard1-16/+0
2008-07-24Shape extension is built-in and mandatory.Adam Jackson1-4/+0
2008-05-20Merge branch 'master' into mpxPeter Hutterer1-6/+0
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-12X n'est pas une print API.Adam Jackson1-6/+0
2008-04-22Merge branch 'master' into mpxPeter Hutterer1-9/+0
Conflicts: Xext/EVI.c Xext/appgroup.c Xext/cup.c Xext/mitmisc.c Xext/sampleEVI.c dix/window.c
2008-04-18Death to APPGROUP.Adam Jackson1-9/+0
2008-04-07Merge branch 'master' into dcdc_reworkPeter Hutterer1-275/+0
Conflicts: Xext/xevie.c dix/dispatch.c
2008-03-04Merge branch 'master' into mpxPeter Hutterer1-15/+13
This merge reverts Magnus' device coorindate scaling changes. MPX core event generation is very different, so we can't scale in GetPointerEvents. Conflicts: Xi/opendev.c dix/devices.c dix/dixfonts.c dix/getevents.c dix/resource.c dix/window.c hw/xfree86/common/xf86Xinput.c mi/mipointer.c xkb/ddxBeep.c xkb/ddxCtrls.c xkb/ddxKeyClick.c xkb/ddxList.c xkb/ddxLoad.c xkb/xkb.c xkb/xkbAccessX.c xkb/xkbEvents.c xkb/xkbInit.c xkb/xkbPrKeyEv.c xkb/xkbUtils.c
2008-02-29dix: Refactoring of selection code to allow for polyinstantiation.Eamon Walsh1-274/+0
Introduces dixLookupSelection() API. Removes NumCurrentSelections from API.
2008-02-14requestingClient is an xprintism, hide it for other servers.Adam Jackson1-0/+4
2008-02-14Simplify critical output flushing.Adam Jackson1-6/+2
2008-02-12XACE: Move the selection access hook to its own function.Eamon Walsh1-6/+4
2008-02-07XACE: Correct some protocol error values in the colormap routines.Eamon Walsh1-3/+3
2008-01-26Merge branch 'master' into mpxPeter Hutterer1-2/+3
Conflicts: Xext/sampleEVI.c
2008-01-25XACE: Stop using fake requestVectors in favor of a simple hook call.Eamon Walsh1-2/+3
2008-01-18dix: remove inputInfo.pointer reference in TryClientEvents.Peter Hutterer1-4/+5
Unfortunately, this requires a change in the TCE API, and thus a change in all callers. Tough luck.
2008-01-10Merge branch 'master' into mpxPeter Hutterer1-0/+2
2008-01-03Merge branch 'master' into mpxPeter Hutterer1-401/+341
Conflicts: XTrap/xtrapddmi.c Xext/security.c Xext/xprint.c Xext/xtest.c Xext/xvdisp.c Xi/exevents.c Xi/grabdevb.c Xi/grabdevk.c Xi/opendev.c Xi/ungrdev.c Xi/ungrdevb.c Xi/ungrdevk.c dix/cursor.c dix/devices.c dix/dixutils.c dix/events.c dix/getevents.c dix/main.c dix/window.c hw/xfree86/ramdac/xf86Cursor.c include/dix.h include/input.h include/inputstr.h mi/midispcur.c mi/miinitext.c mi/misprite.c render/animcur.c xfixes/cursor.c xkb/xkbAccessX.c
2008-01-02Restore include & typedef needed by dtraceAlan Coopersmith1-0/+2
996b621bec1bbc4fb21970c75eaec62053bc6ccb deleted a couple lines too many
2007-12-03dix: Remove RegisterPairingClient and UnregisterPairingClient.Peter Hutterer1-1/+0
2007-11-26registry: add missing include statement.Eamon Walsh1-0/+1
2007-11-26registry: swap out the DTRACE XErrorDB stuff for the new registry call.Eamon Walsh1-73/+2
2007-11-19Merge branch 'master' into XACE-SELINUXEamon Walsh1-2/+2
Conflicts: hw/xnest/Pixmap.c include/dix.h
2007-11-19xace: restore the old SaveScreens function and introduce new API, since theEamon Walsh1-1/+1
old version is called from drivers...
2007-11-15Small static cleanups on dix/Adam Jackson1-2/+2
2007-11-14Merge branch 'master' into XACE-SELINUXEamon Walsh1-2/+2
Conflicts: Xext/xace.c Xext/xace.h
2007-11-07Merge branch 'master' into mpxPeter Hutterer1-22/+22
Conflicts: Xi/extinit.c Xi/grabdev.c Xi/setmode.c Xi/ungrdev.c dix/devices.c dix/events.c dix/getevents.c include/dix.h mi/midispcur.c mi/misprite.c xkb/xkbActions.c xkb/xkbEvents.c xkb/xkbPrKeyEv.c
2007-11-06Modified performance patches from Arjan van de Ven <arjan@infradead.org>Eamon Walsh1-2/+2
Subject: [PATCH] fix some performance gaps in Xace The XaceHook function is used in several hotpaths. The problem with it (performance wise) is twofold: * The XaceHook function has a big switch() statement for the hook number in it * The XaceHook function uses varargs to reassemble the final dispatch arguments again Both are expensive operations... for something that is known at compile time This patch turns the hotpath XaceHook call into a direct call to avoid the switch and varargs; this gives me over 10% performance gain on the x11perf benchmark.
2007-11-05Merge branch 'master' into XACE-SELINUXEamon Walsh1-20/+20
Conflicts: dix/dispatch.c dix/property.c hw/xfree86/common/xf86VidMode.c include/xkbsrv.h render/glyph.c xkb/xkbActions.c
2007-11-05DIX: Remove last alloca callDaniel Stone1-2/+2
Replace with heap allocations.
2007-11-05changing ALLOCATE_LOCAL to xalloc to prevent stack overflowBen Byer1-17/+17
2007-11-04Add CreatePixmap allocation hints.Aaron Plattner1-1/+1
These hints allow an acceleration architecture to optimize allocation of certain types of pixmaps, such as pixmaps that will serve as backing pixmaps for redirected windows.
2007-10-23xace: Still more changes to selection code. Removed the SelectionPtr fromEamon Walsh1-23/+33
the hook - the hook only needs the Atom to control access to the selection object. Upgraded the SelectionCallback to take a client argument and additional type codes so that it can be used for redirection.
2007-10-19xace: Bug fixes, name changes to selection access hooks and fields.Eamon Walsh1-13/+12
2007-09-28xace: remove obsoleted DRAWABLE_ACCESS hook.Eamon Walsh1-2/+1
2007-09-25xace: change prototype of VALIDATE_DRAWABLE_AND_GC macro to allow accessEamon Walsh1-14/+14
mode to be passed to dixLookupDrawable.
2007-09-20xace: modifications to ChangeWindowAttributes special case: separateEamon Walsh1-3/+3
Receive and SetAttr. Refer to 963e69b8efc39369915e7f0c6f370ac0d5d2b60f
2007-09-19xace: add special-case for just setting the event mask on a window,Eamon Walsh1-3/+5
this should only check "receive" permission, not "setattr" permission.
2007-09-05xace: add new fields to resource access hook to allow parent resource objectsEamon Walsh1-1/+1
to be passed in at create time. Also added a missing devPrivates initializer.
2007-08-30xace: add hooks + new access codes: XFixes extension.Eamon Walsh1-14/+18
Required a new name argument to the selection access hook to handle XFixesSelectSelectionInput.
2007-08-28devPrivates rework: since API is already broken, switch everythingEamon Walsh1-55/+3
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-16xace: add hooks + new access codes: core protocol selection requestsEamon Walsh1-4/+13
2007-08-16xace: add hooks + new access codes: core protocol pixmap requestsEamon Walsh1-7/+15
2007-08-16xace: add hooks + new access codes: core protocol font requestsEamon Walsh1-27/+24