summaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* doc: add keymap-format-text-v1.md to the HTML documentationRan Benita2021-02-271-3/+9
| | | | | | It's incomplete but might be helpful for someone. Signed-off-by: Ran Benita <ran@unusedvar.com>
* doc/keymap: some slight editingRan Benita2020-12-271-13/+11
| | | | Signed-off-by: Ran Benita <ran@unusedvar.com>
* doc/keymap: add documentation for xkb_symbols (#205)Simon Zeni2020-12-271-3/+103
|
* doc: add some disclaimer regarding user-specific key types and compat entriesPeter Hutterer2020-08-301-0/+9
| | | | | | | It's a niche use-case but basically the same as adding symbols, so let's go with a general handwavy explanation. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Add /etc/xkb as extra lookup path for system data filesPeter Hutterer2020-08-302-0/+5
| | | | | | | | | | | | | | | This completes the usual triplet of configuration locations available for most processes: - vendor-provided data files in /usr/share/X11/xkb - system-specific data files in /etc/xkb - user-specific data files in $XDG_CONFIG_HOME/xkb The default lookup order user, system, vendor, just like everything else that uses these conventions. For include directives in rules files, the '%E' resolves to that path. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* doc: ignore rxkb, RXBK prefixes in doxygenRan Benita2020-07-251-1/+3
| | | | Signed-off-by: Ran Benita <ran@unusedvar.com>
* Add libxkbregistry to query available RMLVOPeter Hutterer2020-07-061-0/+63
| | | | | | | | | | | | | | | | | | | | | This library is the replacement for clients parsing evdev.xml directly. Instead, they should use the API here so that in the future we may even be able to swap evdev.xml for a more suitable data format. The library parses through evdev.xml (using libxml2) and - if requested - through evdev.extras.xml as well. The merge approach is optimised for the default case where we have a system-installed rules XML and another file in $XDG_CONFIG_DIR that adds a few entries. We load the system file first, then append any custom ones to that. It's not possible to overwrite the MLVO list provided by the system files - if you want to do that, get the change upstream. XML validation is handled through the DTD itself which means we only need to check for a nonempty name, everything else the DTD validation should complain about. The logging system is effectively identical to xkbcommon. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* tools: move the remaining tools from test to herePeter Hutterer2020-06-251-3/+3
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* doc: correct the include path listPeter Hutterer2020-06-161-3/+3
| | | | | | | | XKB_CONFIG_ROOT (if defined) replaces the built-in system directories. Fixes 5fb2c6769b7259ba647781bc800d6a46d90cf1a9 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* doc: add documentation for user configurationPeter Hutterer2020-06-151-0/+156
| | | | | | | Most of this is currently hidden in the commit message for ca033a29d2ca, let's make it a bit more public so we have a link to point users to. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* doc: add the rules-format file (as markdown)Peter Hutterer2020-06-151-2/+8
| | | | | | | | | | | Useful to have this as part of the documentation. The rendering isn't great but at least not any worse than pure text. Markdown escapes % so explaining our use of %S and %H would require a double % - not idea. Let's just wrap it as a code block and done. Includes two typo fixes too, yay. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* doc/rules-format.txt: document include supportRan Benita2020-01-181-1/+15
| | | | Signed-off-by: Ran Benita <ran@unusedvar.com>
* build: make doxygen run from the source treeRan Benita2017-08-011-1/+3
| | | | | | I couldn't find any other way to make this work! Signed-off-by: Ran Benita <ran234@gmail.com>
* build: change doxygen target to be properly dependency-basedRan Benita2017-07-312-11/+2
| | | | | | | This hackery (thanks libinput) is clearer and more precise than the previous hackery. Signed-off-by: Ran Benita <ran234@gmail.com>
* doc/compat: correct the XKB protocol version from 1.1 to 1.0Ran Benita2017-04-291-1/+1
| | | | | | | | There is no XKB 1.1! Thanks to Oded Arbel for catching this. Signed-off-by: Ran Benita <ran234@gmail.com>
* doc/compat: (! MODIFIER) syntax is parsed but ignoredRan Benita2016-09-011-0/+1
| | | | Signed-off-by: Ran Benita <ran234@gmail.com>
* doc/compat.md: xkbcomp ignores multiple-keysyms these daysRan Benita2016-09-011-2/+1
| | | | | | https://cgit.freedesktop.org/xorg/app/xkbcomp/commit/?id=e119cbec7e750ffc4d4bd08b577db2c697035a30 Signed-off-by: Ran Benita <ran234@gmail.com>
* doc: Also mention the wayland test client in the quick guideBryce Harrington2016-06-211-0/+2
| | | | Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>
* doc: Declare keymap for wayland exampleBryce Harrington2016-06-211-0/+1
| | | | | | | keymap was defined in the X11 example, but also define it in the wayland example just to make it a bit more standalone Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>
* doc: Fix ctx type in exampleBryce Harrington2016-06-211-1/+1
| | | | | | | xkb_context_new() returns a xkb_context pointer, so change the variable definition to be consistent. Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>
* doc: Fix Doxygen include for srcdir != builddirDaniel Stone2016-03-151-9/+9
| | | | | | | | | | | | | | | Instead of giving Doxygen a series of absolute paths to the source files and a relative path to the output directory, run it from the source directory with purely relative paths to the source files, and give it an absolute path to the build directory. This fixes the parsing of README.md with a separate build directory, since the relative includes for doc/quick-guide.md and doc/compat.md don't resolve otherwise. Doxygen's INCLUDE_PATH turns out not to fix this either, since that's just a set of paths to open and parse, rather than an analogue to cpp's -I. Signed-off-by: Daniel Stone <daniels@collabora.com>
* doc: some notes about key names and aliasesRan Benita2016-01-201-0/+1
| | | | Signed-off-by: Ran Benita <ran234@gmail.com>
* doc/keymap-format-text-v1: add title and introRan Benita2015-11-231-23/+32
| | | | Signed-off-by: Ran Benita <ran234@gmail.com>
* doc/quick-guide: small improvementsRan Benita2015-11-211-13/+11
| | | | Signed-off-by: Ran Benita <ran234@gmail.com>
* doc/keymap-format-text-v1: convert to markdownRan Benita2015-11-212-354/+359
| | | | | | Make it more readable for random browsing. Signed-off-by: Ran Benita <ran234@gmail.com>
* doc/keymap-format-text-v1: update info on preserveRan Benita2015-11-211-22/+17
| | | | Signed-off-by: Ran Benita <ran234@gmail.com>
* doc/Doxyfile: explicitly set HTML_TIMESTAMP = NORan Benita2015-09-081-1/+1
| | | | | | | | | YES was the default in older version. Having a timestamp hurts reproducible builds, and serves no purpose, so remove it. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=789071 Signed-off-by: Ran Benita <ran234@gmail.com>
* doc/Doxyfile: only keep non-default valuesRan Benita2015-09-081-2341/+0
| | | | Signed-off-by: Ran Benita <ran234@gmail.com>
* doc/Doxyfile: sync with latest versionRan Benita2015-09-081-937/+1443
| | | | Signed-off-by: Ran Benita <ran234@gmail.com>
* doc/compat.md: add compose incompatibilitiesRan Benita2014-10-181-0/+9
| | | | Signed-off-by: Ran Benita <ran234@gmail.com>
* docs: make html output have a fixed width, hide footerRan Benita2014-10-182-1/+10
| | | | | | | | It's hard to read text which stretches indefinitely. The footer is not adding much. Signed-off-by: Ran Benita <ran234@gmail.com>
* doc/quick-guide: some improvementsRan Benita2014-10-181-5/+15
| | | | Signed-off-by: Ran Benita <ran234@gmail.com>
* doc/compat.md: we don't support more groups or mods yetRan Benita2014-10-181-2/+2
| | | | Signed-off-by: Ran Benita <ran234@gmail.com>
* README: move compatibility notes to their own pageRan Benita2014-10-182-0/+47
| | | | Signed-off-by: Ran Benita <ran234@gmail.com>
* compose: add xkbcommon-compose - APIRan Benita2014-10-031-1/+2
| | | | | | | | | | | | | | | | xkbcommon-compose is a Compose implementation for xkbcommon. It mostly behaves like libX11's Compose, but the support is somewhat low-level and is not transparent like in libX11. The user must add some supporting code in order to utilize it. The intended audience are users who use xkbcommon but not a full-blown input method. With this they can add Compose support in a straightforward manner, so they have a fairly complete keyboard input for Latin-like languages at least. See the header documentation for details. Signed-off-by: Ran Benita <ran234@gmail.com>
* doc: disable alphabetical data structure indexRan Benita2014-09-221-1/+1
| | | | | | It is useless - we have very little data structures. Signed-off-by: Ran Benita <ran234@gmail.com>
* doc: disable BRIEF_MEMBER_DESCRan Benita2014-09-221-1/+1
| | | | | | | | It's easier to quickly go through the functions in a module this way. The names provide enough "brief description" to get someone to click for the full description. Signed-off-by: Ran Benita <ran234@gmail.com>
* doc: disable tree viewRan Benita2014-09-221-1/+1
| | | | | | It is redundant with the header navigation. Signed-off-by: Ran Benita <ran234@gmail.com>
* quick-guide: fix xkb_state_key_get_syms() exampleRan Benita2014-09-211-1/+1
| | | | Signed-off-by: Ran Benita <ran234@gmail.com>
* quick-guide: fix Java-esque array syntaxRan Benita2014-09-211-1/+1
| | | | Signed-off-by: Ran Benita <ran234@gmail.com>
* doc: order the modules betterRan Benita2014-09-181-3/+5
| | | | | | | Explicitly specify the files in INPUT so that "X11 Support" appears after the main modules. Signed-off-by: Ran Benita <ran234@gmail.com>
* doc: fix new doxygen version warningsRan Benita2014-04-252-14/+2
| | | | Signed-off-by: Ran Benita <ran234@gmail.com>
* build: trim down generated doxygen docsRan Benita2014-03-271-1/+1
| | | | | | Remove the huge verbatim copies of the header files. Signed-off-by: Ran Benita <ran234@gmail.com>
* Reformat README markdownRan Benita2014-03-271-2/+2
| | | | | | So that github displays it as markdown, and correctly. Signed-off-by: Ran Benita <ran234@gmail.com>
* doc: add a quick guide to the libraryRan Benita2014-03-272-1/+220
| | | | | | | | | | This is a nice intro to the documentation, and also preferably gently pushes users to the "proper way" of using the library, which can be confusing. See also: http://fooishbar.org/tell-me-about/xkbcommon-intro/ Signed-off-by: Ran Benita <ran234@gmail.com>
* doc: move some file comments into txt files in doc/Ran Benita2014-02-092-0/+445
| | | | Signed-off-by: Ran Benita <ran234@gmail.com>
* doc: Update DoxyfileRan Benita2013-06-191-59/+83
| | | | | | | | | | | It gives: Warning: Tag `SYMBOL_CACHE_SIZE' at line 346 of file doc/Doxyfile has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" So run 'doxygen -u' as suggested. Signed-off-by: Ran Benita <ran234@gmail.com>
* doc: use README as doxygen main page overviewRan Benita2013-03-181-2/+2
| | | | | | | | | | | | | | | The doxygen page looked a bit dead, the README fills it nicely, and is already written in the markdown format which doxygen uses (I think?). Unfortunately the USE_MDFILE_AS_MAINPAGE doxygen config doesn't seem to do anything.. So we just add a {#mainpage} tag at the top of the README which isn't so bad. BUT we still need some config option (the no_extension=md part) so that doxygen will accept README instead of README.md or somesuch. And that requires an even newer release, 1.8.3.1, released 2013-01. But if an older version is used, it doesn't spew out warnings but just skips the README, which is fine. Signed-off-by: Ran Benita <ran234@gmail.com>
* doc: update Doxyfile template to one from newer versionRan Benita2013-03-181-28/+94
| | | | | | | | | | | | | | | | | | We want to use the USE_MDFILE_AS_MAINPAGE option which was introduced in doxygen 1.8.3 (released 2012-12). Right now the new options are commented, otherwise older doxygen spews these these warnings, which can be ignored: warning: ignoring unsupported tag `USE_MDFILE_AS_MAINPAGE =' at line 794, file doc/Doxyfile warning: ignoring unsupported tag `MATHJAX_FORMAT =' at line 1210, file doc/Doxyfile warning: ignoring unsupported tag `EXTERNAL_SEARCH =' at line 1257, file doc/Doxyfile warning: ignoring unsupported tag `SEARCHENGINE_URL =' at line 1265, file doc/Doxyfile warning: ignoring unsupported tag `SEARCHDATA_FILE =' at line 1271, file doc/Doxyfile warning: ignoring unsupported tag `EXTERNAL_SEARCH_ID =' at line 1278, file doc/Doxyfile warning: ignoring unsupported tag `EXTRA_SEARCH_MAPPINGS =' at line 1287, file doc/Doxyfile Signed-off-by: Ran Benita <ran234@gmail.com>
* doc: use JAVADOC_AUTOBRIEFRan Benita2012-10-111-1/+1
| | | | | | Don't have to type @brief all the time. Signed-off-by: Ran Benita <ran234@gmail.com>