summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2008-06-13Make devPrivates lookup functions ABI instead of static inlines.Eamon Walsh1-53/+8
This is required to preserve compatibility across changes to the internal representation of the privates list.
2008-06-13Fix unterminated endif.Adam Jackson1-0/+2
2008-06-13Death to mfb.Adam Jackson1-171/+5
Anyone still interested in 1 or 4 bpp framebuffers, talk to fb.
2008-06-12Remove xgl.Adam Jackson1-14/+0
This code hasn't been updated with anything even resembling what anyone is shipping in nearly thirty months. It hasn't built out of the box since 7.1. Most of its features over AIGLX are accomplished with DRI2 and friends.
2008-06-11CopyGetMasterEvent() can be static.Tiago Vignatti1-5/+0
2008-06-02xkb: delete default rules when devices are closed.Peter Hutterer1-0/+4
We only have one set of default rules options in xkb. When the second keyboard is brought up with Xkb options specified, these new options overwrite the old. In future server generations, the rules used for the VCK are a mixture of the default ones and ones previously specified for other keyboards. Simply resetting the xkb default rules to NULL avoids this issue. Reproducable by setting XkbLayout "de" and XkbVariant "nodeadkeys". In the second server generation, the VCK has "us(nodeadkeys)". This again produces a SIGABRT when the first key is hit. I could not figure out why the SIGABRT happens. This patch is avoiding the issue rather than fixing it.
2008-05-30Add xkbstr.h and xkbsrv.h to sdk_HEADERSJulien Cristau1-1/+3
2008-05-26input: change dxremaind, dyremaind to floats for better acceleration #9156Simon Thum1-1/+1
X.Org Bug 9156 <http://bugs.freedesktop.org/show_bug.cgi?id=9156> Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au>
2008-05-26Merge branch 'master' into mpxPeter Hutterer3-7/+3
2008-05-26If core motion history is required, scale back to screen coords and INT16.Peter Hutterer1-1/+2
2008-05-26Ensure the motion history is merged for master devices.Peter Hutterer1-1/+1
Add each event to the master's MH as well as to the SDs. In the MD, store min/max and the actual value. When retrieving the MH, rescale all coordinates to the current coordinate range and only post those valuators that are currently active on the device.
2008-05-26dix: Allocate MD's motion history to be large enough for potential valuatorsPeter Hutterer1-3/+3
Since we can't predict how many valuators may be in a future SD attached to an MD, we need to preallocate a history buffer that is large enough to keep MAX_VALUATORS coordinates per event. In addition, the history buffer needs to memorize the coordinate ranges at the time, thus requiring MDs to store (min_val, max_val, current_val, time) instead of (current_val, time) for each motion history entry. This commit only fixes the allocation.
2008-05-25Remove GetMotionProc from ValuatorClassRec.Peter Hutterer2-11/+1
With the MD/SD device hierarchy we need control over the generation of the motion history as well as the conversion later before posting it to the client. So let's not let the drivers change it. No x.org driver currently uses it anyway, linuxwacom doesn't either so dumping it seems safe enough.
2008-05-23XQuartz: Don't need launchd checking in configure.ac anymore since its ↵Jeremy Huddleston1-3/+0
functionality has been removed from libxtrans and into the mach startup code. (cherry picked from commit 1e1f4fb717d2f3a3227be2a034d28d6a4f29b5d1)
2008-05-23dix: more device scaling insanity.Peter Hutterer1-0/+2
Assuming master->last.valuators is in screen coords, SD's are always in device coordinates. 1. If an event comes in, scale masters->last to the device, drop into device's last->valuators. 2. Apply motion from the actual event 3. Scale back to screen coords, check if we may need to cross screens 4. Drop screen coords into master->last 5. Rescale to device coords, drop into deviceValuator event and SD->last 6. Drop screen coords into ev->root_x/y Whoopee...
2008-05-23input: instead of lastx/y, use a last.valuators[] array on the device.Peter Hutterer2-2/+9
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-22int10: add pci_device_enable support on LinuxDave Airlie1-0/+3
2008-05-21drop xprint remnants: InitGlobalsGeorge Sapountzis1-4/+0
2008-05-20Merge branch 'master' into mpxPeter Hutterer5-6/+10
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-17XQuartz: Added functionality to add a file descriptor to the connection list ↵Jeremy Huddleston1-0/+4
after the server is already running. (cherry picked from commit 543c2cd68d1ffef65d4644b860faad7191c6b9da)
2008-05-14Simplify default font path setup.Adam Jackson1-1/+0
2008-05-14Remove global argc/argv variables.Adam Jackson1-2/+0
Was only used in the logging code anymore, and uselessly so there.
2008-05-14dix: InitAndStartDevices doesn't need a window parameter.Peter Hutterer1-3/+1
Leftover from the old pointer-keyboard pairing code, obsolete and gone now.
2008-05-12Check for strcasestr and workaround it on systems without itAlan Coopersmith1-0/+3
2008-05-13Remove UndisplayCursor API.Peter Hutterer1-5/+0
We can achieve the same thing by simply displaying a NullCursor, there's no need for a separate API.
2008-05-12X n'est pas une print API.Adam Jackson1-3/+0
2008-05-06Allow using libmd instead of libcrypto for SHA1 hashing in render/glyph.cAlan Coopersmith1-0/+3
Builders can force one or the other by passing SHA1_LIB & SHA1_CFLAGS to configure
2008-05-02Merge branch 'master' into mpxPeter Hutterer2-2/+33
Conflicts: Xi/exevents.c dix/devices.c
2008-04-30Add M32R architecture support (bug #10020)Kazuhiro Inaoka1-0/+20
Still needs autotools support, so this won't actually _build_: it's just a starting point.
2008-04-30input: replace -1 as default axis limit with NO_AXIS_LIMIT define.Peter Hutterer1-0/+2
This allows easier refacturing of the coordinate limit handling. Grepping for -1 is boring.
2008-04-29include: add declaration for CopyGetMasterEvent to shut up compiler warning.Peter Hutterer1-0/+6
2008-04-29Xi: change UpdateDeviceState to be _X_EXPORT.Peter Hutterer1-0/+6
2008-04-29Xi: apply ValuatorEvent data to the device's valuators.Peter Hutterer1-1/+1
After UpdateDeviceState, the device has the current position in absolute coordinates, the event has the correct valuator data to be delivered to the client.
2008-04-26Xi: add versioning support.Peter Hutterer1-0/+9
Remember the version the client sent to us, so we can adjust our replies accordingly. This requires the client to use the {major|minor}Version fields in the GetExtensionVersion request. However, they were padding before, so we must assume they are garbage if nbytes is non-zero. If nbytes is zero, the client is probably a new client and we can handle it correctly.
2008-04-25Remove all traces of #ifdef XINPUT and the matching bits from the configure.acPeter Hutterer3-11/+0
2008-04-25Xi: remove RemoveOtherCoreGrabs()Peter Hutterer1-4/+0
PickPointer() returns grabbed devices, so we can't get a double grab anyway.
2008-04-25dix: remove obsolete InitWindowPrivates().Peter Hutterer1-2/+0
2008-04-24Added missing HAVE_LAUNCHD to dix-config.h.inJeremy Huddleston1-0/+3
(cherry picked from commit 1b4b73cefbc2f3e3f6d0cb84ea202f84fb60abb5)
2008-04-23xephyr: XEPHYR_DRI is identical to XF86DRIGeorge Sapountzis1-2/+0
2008-04-22Add support for AVR32Ross Burton1-0/+10
2008-04-22Merge branch 'master' into mpxPeter Hutterer6-41/+5
Conflicts: Xext/EVI.c Xext/appgroup.c Xext/cup.c Xext/mitmisc.c Xext/sampleEVI.c dix/window.c
2008-04-20Revert "Removed XWin DDX"Jeremy Huddleston1-0/+24
This reverts commit 6550078b0925f754e3eec3bbce94dbfe5de8c419. Doctor, I'm starting to get a pulse...
2008-04-19Removed XWin DDXJeremy Huddleston1-24/+0
2008-04-18Revert "Optimize dixLookupPrivate for repeated lookups of the same private."Daniel Stone1-12/+5
The patch was wildly unsafe for SIGIO, and made everything full of crashy crashy fail. This reverts commit 9b30cc524867a0ad3d0d2227e167f4284830ab4e.
2008-04-18XQuartz: Handled sanitization of namespace betterJeremy Huddleston1-1/+1
(cherry picked from commit 8cb23d672177da919257c885804cecd18cf9af88)
2008-04-18random flailingBen Byer1-1/+1
(cherry picked from commit 7fb9b2dc615a3bd1a3c087438af7a8b88265cfaa)
2008-04-18Death to TOG-CUP.Adam Jackson2-7/+0
If you still care about 8bpp visuals that much, fix Composite to provide synthetic visuals.
2008-04-18Nuke the MIT-SUNDRY-NONSTANDARD extension.Eric Anholt3-10/+0
This extension provided bug-compatibility with pre-X11R6, but has been stubbed out in our server since 2006 to return BadRequest when you actually asked for it.
2008-04-18Death to APPGROUP.Adam Jackson3-10/+1
2008-04-18Death to Extended Visual Information.Adam Jackson2-7/+0