Dan Nicholson
62482b9614
Add geometry Compute API from XKBlib
...
A small needed subset from libX11/src/xkb/XKBGeom.c.
2009-03-28 16:08:46 -07:00
Dan Nicholson
28de09e515
Add xkbcommon macro for XkbKSIsKeypad and XkbKSIsDeadKey(k)
...
IsKeypad is used in symbols, but we'll just grab them both. It might be
better to split parts of XKBfile.h out eventually.
2009-03-28 15:51:06 -07:00
Dan Nicholson
a53b9b1ed3
Add XkbModIndexText replacement
...
Now, I think we should have all the *Text functions we need.
2009-03-28 15:32:51 -07:00
Dan Nicholson
54aea7fe8b
Add VMod Text functions from xkbfile
2009-03-28 15:12:30 -07:00
Dan Nicholson
46e5e164d6
Copy XkbAddGeom* functions from XKBlib
...
These are needed by the geometry compiler in xkbcomp.
2009-03-28 14:22:42 -07:00
Dan Nicholson
1f08ae1e56
Expose all the geometry allocation subroutines
...
We need a couple in xkbcomp, but they might also be needed externally,
too.
2009-03-28 14:22:41 -07:00
Dan Nicholson
2671b777cf
Add more *Text functions from xkbfile
...
This should cover all the usage in xkbcomp. The format arguments were
dropped except for the special case of XkbModMaskText, which needs to
write in XkbCFile format in HandleVModDef. This was just changed to a
Bool to avoid the need for the macros in XKBfile.h.
The function prefixes have been renamed to be unique from xkbfile.
2009-03-28 14:22:41 -07:00
Dan Nicholson
72df9bb35f
Move *Text APIs into libxkbcommon
...
These seem like they might be generally useful, and more will be needed
from xkbfile.
2009-03-28 12:01:36 -07:00
Dan Nicholson
4859304f65
Use X extern "C" guards around function declarations for public header
2009-03-25 20:06:39 -07:00
Dan Nicholson
c88c0ba725
Borrow atom implementation from libxkbfile
...
We need an atom implementation not relying on XInternAtom and friends.
The original code is in
libxkbfile/src/xkbatom.c
2009-03-25 20:06:39 -07:00
Dan Nicholson
1ff77ecd36
Rename headers to XKBcommon* and install in extensions directory
...
Following the kbproto convention, the headers will be named XKBcommon.h
and XKBcommonint.h. Furthermore, they'll be installed in X11/extensions
directory with the rest of the XKB headers.
2009-03-25 19:40:57 -07:00