summaryrefslogtreecommitdiff
path: root/xkb
AgeCommit message (Collapse)AuthorFilesLines
2006-11-08xkb: warning fixDaniel Stone1-1/+1
2006-11-08XkbCopyKeymap: don't iterate broken types, or dereference null pointersDaniel Stone1-33/+49
Don't iterate invalid destination types (>= num_types) when coping key types. Don't free key_aliases if it's NULL (theoretical, but sure). Make sure dst's label_font gets allocated if it's NULL. (Thanks, Chris Lee.)
2006-11-08xkb: fix uninitialised warningDaniel Stone1-0/+4
Fix uninitialised warning with memset(); we never actually use it uninitialised, but gcc doesn't know that.
2006-11-02xkb: note that we allow full xi interactionDaniel Stone2-16/+15
We now allow maps to be set (etc) on different keyboards, so stop putting XkbXI_KeyboardsMask in unsupported.
2006-11-02XkbCopyKeymap: be more careful with levels, allocate compat/geomDaniel Stone1-41/+70
Take various extra precautions with copying levels across (thanks Chris Lee for a gdb session), including allocating when we don't already have a coherent map. Only free type components if they're present. Allocate geometry and compat components if we don't already have them in the dest map.
2006-10-23XkbCopyKeymap: increment shapes and outlines when copyingDaniel Stone1-2/+2
Remember to increment the source and destination shapes when copying, instead of just endlessly copying the first one.
2006-10-16xkb: fix virtual modmap size computationDaniel Stone1-1/+1
Compute virtual modmap size bounded by nVModMapKeys-1, rather than nVModMapKeys. This is sort of a best guess. The other way seems a little more logical, but also leads to segfaults pretty quickly if you hammer GetMap hard enough. So let's try this one.
2006-10-15XkbCopyKeymap: copy server vmods, and name atomsDaniel Stone1-0/+16
Copy server->vmods, and all the atoms in names.
2006-10-15xkb: make sure we set the map on the right device, not necessarily coreDaniel Stone1-5/+6
Forgot that all XKB requests took a device spec: the comparison of 'if working on the core keyboard, does this device send core events; or, is this device the core keyboard?' was broken. Instead, what we want is 'if working on the core keyboard, does this device send core events; or, is this device the one we're working on?'.
2006-10-14xkb: better support of XkbDfltXIIdDaniel Stone1-0/+4
XKB.h specifies that XkbDfltXIId should be used where the client doesn't care about the device identifier. We take this to mean core devices, where practical.
2006-10-14XkbCopyKeymap: add geometry supportDaniel Stone1-5/+486
Add a first cut at geometry support, which seems to generally work.
2006-10-08xkb: remove random broken vendor workaroundsDaniel Stone3-60/+2
2006-10-08xkb: add FIXMEs to procedures which need to act on all core devicesDaniel Stone1-0/+9
Add FIXME comments above request handlers which need to act on all core-sending devices if called on the core keyboard.
2006-10-06xkb: make XkbSetControls work on all core-sending devicesDaniel Stone1-146/+194
2006-10-06xkb: remove unused #ifndefDaniel Stone1-2/+5
2006-10-06xkb: simplify core device loop in GetKeyboardByNameDaniel Stone1-36/+20
2006-10-06xkb: make LatchLockGroup work on all core-sending devicesDaniel Stone1-38/+49
Apply the settings to all devices sending core events, if we're working on the core keyboard.
2006-10-06xkb: update all core-sending keyboards on GetKeyboardByNameDaniel Stone1-1/+32
Update the keymaps of all keyboards which send core events on GetKeyboardByName; still a few other procedures which need this treatment.
2006-10-02xkb: remove the world's most staggeringly broken vendor workaroundDaniel Stone1-24/+0
Certain versions of LynxOS needed to sleep up to five seconds for closing a pipe to actually, y'know, be useful.
2006-10-02Merge branch 'input-hotplug' of ↵Daniel Stone3-2/+612
git+ssh://git.freedesktop.org/git/xorg/xserver into input-hotplug
2006-10-02xkb: fix wrapping when switching between groupsIvan Pascal1-4/+4
Use XkbCharToInt as that's what we're doing.
2006-09-29Merge branch 'input-hotplug' of ↵Daniel Stone1-1/+1
git+ssh://git.freedesktop.org/git/xorg/xserver into input-hotplug
2006-09-24Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into ↵Daniel Stone1-1/+1
input-hotplug
2006-09-21Close with Pclose() that which we open with Popen().Adam Jackson1-1/+1
2006-09-10Warning fix, and a syntax fix in a #if 0 section of code.Zephaniah E. Hull1-1/+1
2006-09-07XkbCopyKeymap/SrvXkbCopyKeymap: free geom harder, add cheery commentsDaniel Stone2-3/+13
Unconditionally free geometry when copying the keymap (so we have none on core, oh well), add a couple of heartening comments.
2006-08-29[PATCH] XkbCopyKeymap: still more range fixesDaniel Stone1-31/+62
Make sure we don't stomp preserve if it doesn't already exist, and fix a couple of range-related thinkos in level name copying.
2006-08-24XkbCopyKeymap: fix various range issuesDaniel Stone1-33/+122
Fix a bunch of range issues caused by incorrect assumptions (e.g. that the design was at least halfway sensible), and copy types by hand, instead of just blindly memcpy()ing the lot, since it itself cleverly contains a ton of allocated pointers.
2006-08-23XkbCopyKeymap: use correct range for MapNotifyDaniel Stone1-13/+13
We haven't copied {min,max}_key_code by the time the notifies run, so use src instead of dst to determine number of keys, et al.
2006-08-23XkbCopyKeymap: optionally send NewKeyboardNotify/MapNotify eventsDaniel Stone2-3/+75
Optionally send a NewKeyboardNotify or MapNotify event when copying the keymap; modify GetKeyboardValuatorEvents to make use of this.
2006-08-23xkb/gkve: copy XKB map, not pointer-assignDaniel Stone2-0/+408
Write a new function to copy an XKB map (does everything but geometry at the moment), and use that instead of nasty pointer assignments.
2006-08-12remove obsolete vendor definesDaniel Stone1-4/+0
Remove random behaviour changes for SGI and MetroLink.
2006-07-28Revert xkb changes that broke XkbGetKeyboard()Kevin E Martin5-105/+2806
2006-07-21Remove RCS tags. Fix Xprint makefile braindamage.Adam Jackson32-61/+0
2006-07-18get rid of XFree86LOADER, XFree86Server, XFree86Module, and IN_MODULEDaniel Stone2-5/+1
Get rid of almost all uses of these definitions. They're still defined for delinquent out-of-tree drivers, and also for the Mesa build. As well as for miinitext.c. But largely gone.
2006-07-08Bug #7097: do case-insensitive comparison for some hotkeys.Tilman Sauerbeck2-27/+5
xkb's strcasecmp implementation has been moved to the dix so it's now safe to just use strcasecmp().
2006-06-01Simplify the unsupported XI function list.Daniel Stone2-81/+26
2006-05-29Remove -xkbmap argument.Daniel Stone2-66/+1
2006-05-29Minor #include cleanups.Daniel Stone3-19/+3
2006-05-24Remove tolower() which was missed in the _XkbStrCaseCmp/strcmp changes.Jeremy C. Reed1-1/+1
2006-04-10Fix stupid thinko.Daniel Stone1-1/+1
2006-04-10Coverity #826: Fix potential memory leak.Daniel Stone1-1/+4
2006-04-09Coverity #340: Fix potential NULL dereference. Clean up proliferation ofDaniel Stone1-121/+116
'register int n' in loops of ProcXkbGetNames.
2006-04-09Coverity #324: Fix potential NULL dereference. (Alan Coopersmith)Daniel Stone1-0/+1
2006-04-09Coverity #169: Fix potential fgets() into NULL (?!?).Daniel Stone1-4/+7
2006-04-07Coverity #844, #845, #846: Fix memory leaks.Daniel Stone1-3/+19
2006-04-07Coverity #987: Avoid potential NULL dereference.Daniel Stone1-0/+4
2006-04-03Bug #1358: Make ISO_Prev_Group cycle/wrap as ISO_Next_Group does.Daniel Stone1-2/+2
2006-04-01Bug #6428: Fix off-by-one error when walking off the end of the vmodmapDaniel Stone1-1/+1
list.
2006-03-31Simplify XkbWriteXKBKeymapForNames a bit, and remove debug spew.Daniel Stone1-26/+10