Tag 'xkbcommon-0.2.0' created by Daniel Stone <dan...@fooishbar.org> at 2012-10-24 01:04 +0000
Initial release, API- and ABI-stable for 0.2.x series. Changes since the dawn of time: Adam Jackson (1): Dead code removal and static markup Alan Coopersmith (1): Include strings.h in XKBcommonint.h for strcasecmp etc Cyril Brulebois (2): Get rid of unneeded <X11/Xlib.h> include. Add prototype for CheckDefaultMap(). Dan Nicholson (121): Initial autotools commit Add makekeys for creating keysym hash tables makekeys: Coding style cleanup ks_tables: Remove table-specific #ifdefs and add header guard Generate keysym tables from X and XF86 keysym definitions makekeys: Handle XF86XK_ keysyms in addition to XK_ keysyms Initial implementation of keysym handlers keysym: Coding style cleanup Fix CC_FOR_BUILD detection Testing harness for keysym functions Move makekeys to separate subdir Refactor makekeys with some convenience functions makekeys: Prepend XF86 to XFree86 keysyms makekeys: Handle aliases in convenience functions makekeys: Always continue when no alias match found makekeys: Handle XFree86 special action keys test: Add convenience functions for xkey.sh test: Consistently use upper case hex test: Add tests for XFree86 special keys makekeys: No need for strncat Use XORG_CWARNFLAGS for more warnings makekeys: Fix warning about not returning from function Use generated config.h header Ignore generated ChangeLog Use XKB alloc macros internally Use common XKB headers and add common type XkbcDescRec Add XkbDescRec initializers and destructors Rename headers to XKBcommon* and install in extensions directory alloc/galloc: Coding style cleanup Borrow atom implementation from libxkbfile atom: Coding-style cleanup and refactor Use X extern "C" guards around function declarations for public header Move ks_tables.h build into makekeys subdirectory Import xkbcomp sources for CompileKeymap Ignore ks_tables.h in makekeys directory now Ignore files for xkbcomp xkbcomp: Add non-xkbfile XkbConfigText libxkbcomp: Remove usage of client-side headers libxkbcomp: Include X.h and Xdefs.h for Atom and Bool libxkbcomp: Eradicate XkbFileInfo usage libxkbcomp: s/XkbDescPtr/XkbcDescPtr/ libxkbcomp: s/XPointer/char */ libxkbcomp: Add non-xkbfile XkbActionTypeText libxkbcomp: Drop unused format field for *Text functions libxkbcomp: s/Status/int/ since we don't have Xlib.h libxkbcomp: Use the internal Atom implementation Move *Text APIs into libxkbcommon xkbcomp: Drop unused Display argument in Atom functions Add more *Text functions from xkbfile Kill off usage of Display xkbcomp: Use xkbcommon allocation functions Expose all the geometry allocation subroutines xkbcomp: s/XStringToKeysym/XkbcStringToKeysym/ Copy XkbAddGeom* functions from XKBlib Add VMod Text functions from xkbfile Drop another unneeded format argument Add XkbModIndexText replacement Add xkbcommon macro for XkbKSIsKeypad and XkbKSIsDeadKey(k) Add geometry Compute API from XKBlib geom: Coding-style cleanup Add XKBlib API to support keytypes malloc/misc/xkb: Coding style cleanup xkbcomp: Remove listing sources Copy XkbEnsureSafeMapName from xkbfile Copy xkbfile IsUpper/IsLower macros Add XKBlib resizing functions xkbcomp: Add missing includes for Bool in xkbpath xkbcomp: Include Xdefs.h for Atom in tokens.h Generate keyboard description from components Add rules rules file parsing from xkbfile Add rules file parsing from xkbfile Compile keyboard description from XKB rules, too Merge commit 'tilt/master' xkbcomp: Kill warnings about address always evaluating as true xkbcomp: Remove duplicated macros xkbcomp: Clean up utils prototypes Add xkbcommon pkg-config file Drop keysym.h pollution from XKBcommon.h Fix install path for XKBcommon.h xkbcomp: Back out strdup warning cleanup xkbcomp: Declare global debugging vars xkbcomp: Don't segfault if the debug files aren't set xkbcomp: Ignore generated parser Fix cleanup error in names allocation Test compiler to simulate xkbcomp usage Remove trailing spaces in source files Refactor xkbpath so that it implicitly initializes rulescomp: Remove unneeded API xkbcomp: Ensure user has supplied a rules name xkbcomp: Cleanup error messages xkbcomp: Fail when converting rules to components returns an error xkbcomp: Generating components requires rules _and_ layout test: Add logging and some intentionally failing cases test: Minor refactor to allow $EXEEXT in program names xkbcomp: Refactor keymap file generator xkbcomp: Don't dereference NULL VarDefsPtr xkbcomp: Ensure at least keycodes supplied in components xkbcomp: Give keymap file empty name if none supplied xkbcomp: Don't say we're exiting when we're not test: Exercise compiling from components Coding style cleanup on key allocation functions Add action datatypes as defined in the server Require strdup and remove utils wrapper Remove KS macros available in XKBfilecommon.h now Remove all non-public API from XKBcommon.h header Change CompileKeymapFromRules to take XkbRMLVOSet Constify public API Make XkbcInitAtoms externally accessible test: Remove extraneous includes Add interface to compile keyboard description from keymap files Program and files for testing CompileKeymapFromFile Use xkbpath API for locating rules misc: Coding-style cleanup Revert "xkbcomp: Remove listing sources" xkbcomp: Fix use of removed macros Add XkbNameMatchesPattern implementation from xkbfile Scale back global variables xkbcomp: Kill unused listing code and make functions static Rewrite listing code to generate XkbComponentListPtr xkbcomp: Another fairly major rewrite of the listing mode listing: Drop unused deviceSpec argument Daniel Stone (270): test: Fix srcdir != objdir build and test failures KeySym: Actually handle NoSymbol Keysym: Fix conversion for Unicode and bare numbers Test: Keysym: Add tests for new keysym <-> string conversions XKB: Text: Use keysym <-> string conversion from keysym.c Make keysym <-> string conversion public API Keysym: Add apallingly bad API documentation for keysym <-> string XKBcommon.h: Make header self-contained Add XkbcCanonicaliseComponents Add testcase for XkbcCanonicaliseComponents xkbcomp: Replace open-coded strdup xkbcomp: vmod: Don't get and immediately intern atoms xkbcomp: Don't leak atom text and string exprs xkbcomp: expr: Use XkbcAtomText instead of GetString xkbcomp: Don't leak atom text and string exprs, again xkbcomp: Atom text and expr leak fixes part #973 xkbcomp: geometry: Plug numerous atom text & expr leaks xkbcomp: keycodes: Silence gcc warnings Expose tbGetBuffer to the rest of libxkbcommon configure.ac: Enable automake silent rules by default Atoms: Avoid allocations in XkbAtomText() xkbcomp: Lazy keysym parsing (avoid XStringToKeysym) xkbcomp: Use fread() instead of getc() Fix compilation with DEBUG xkbcomp: Don't malloc() and free() most scanned tokens Regroup actions into current vs. deprecated, resize vmod Use CARD32 instead of Atom, drag in XkbClientMapRec Copy in XkbCompatMapRec and XkbSymInterpretRec Allow external atom databases Interp: More lazy keysym resolution Use CARD32 instead of Atom, move geom headers in Add really rudimentary rules caching support fix mod size confusion Copy and duplicate XkbModsRec and XkbKTMapEntryRec Move include path from X11/extensions/ to xkbcommon/ xkbscan: Copy, rather than assign, file name Introduce xkb_keycode_t for keycodes vmod: Pass xkb_desc explicitly to vmod functions Raise keycode range to 32 bits Enable stderr debugging by default tests: Free returned XKB map Don't leak SymbolsInfo Fix xkbparse.y compilation Still more memory leak fixes Respect explicit minimum/maximum keycodes Introduce ExprResolveVModMask Remove priv arguments from ExprResolveModMask Remove priv arguments from ExprResolveFloat Remove priv arguments from ExprResolveBoolean Remove priv arguments from ExprResolveKeyName Remove priv arguments from ExprResolveKeySym Remove priv arguments from ExprResolveString Introduce ExprResolveRadioGroup helper Introduce ExprResolveLevel helper Add ExprResolveButton helper Add ExprResolveGroup helper Open-code a radio group SimpleLookup Turn ExprResolveInteger into a simple wrapper Move groupNames mask definition to its user Remove field reference lookup support Move some definitions from expr.h to expr.c Remove unused LookupPriv::priv Invert LookupModMask/LookupVModMask order Remove chaining support from LookupModMask Switch expression resolution priv from char to void Perform bounds checking in ExprResolveGroup Fix typo in ExprResolveKeyCode Perform bounds checking in ExprResolveLevel Merge remote-tracking branch 'ran/fixes' Merge remote-tracking branch 'ran/fixes-cont' Remove KcCGST names from the map Remove geometry support, again xkbcomp: Turn an array into an anonymous struct Add explicit braces Use compile_keymap in xkb_compile_keymap_from_components Convert CompileKeymap to early-return style filecomp: Fix xkbcomp warning Ensure we always have a complete keymap Stringify public name types Remove atom functions from public API Introduce xkb_keysym_t type Introduce xkb_atom_t type Remove geometry even harder Clean up xkb_keysym_to_string message Move allocation of xkb_desc into CompileKeymap Handle XkbFiles without a name Remove indirect XkbCM* and XkbSM* macros Remove half-implemented radio groups Remove overlay support as well Use XKB_COMMON_* modifier defines in ExprResolveModMask Revert "Use XKB_COMMON_* modifier defines in ExprResolveModMask" Add xkb_key_get_syms API Add a tiny bit of documentation to xkbcommon.h Remove unused control members Remove component listing code Fix leak in xkbcomp.c Add xkb_get_syms_by_level Convert interp action from xkb_any_action to xkb_action Update modifiers after building keymap Also update vmod -> indicator maps Remove more float support Plug leaks in geometry parsing Add geometry test Fix non-useModMapMods action masks More useful errors for invalid keysyms Also print group name in keysym error Small constification Remove unnecessary allocation in expr.c Don't clear real mods in action modmask Remove some rogue fprintfs Add new state API Fix (correct, but harmless) const warning Round out new state API Add a proper README Fix documentation bugs with mod/group state API Check for invalid indices in mod/group state API LEDs: Fix string comparison bug Add LED state API Rename keymap allocation API Cosmetic coding style fixups Add state serialisation API Add enum xkb_key_direction instead of bool Remove unused members of xkb_state Remove unused changes structs Remove hardcoded legacy modifier masks Remove internal API from xkbcommon.h Add include/ to makekeys include path Remove fallback strcasecmp/strncasecmp Fix build for X11 modifier masks Fix distcheck with non-recursive Makefiles Update xkb_filter_group_lock_func for xkb_key_direction Add new context API Use xkb_contexts in keymap compilation Remove unused rtrnValue declaration Don't leak include_paths in context Don't leak strings in merge declarations Parsing support for multiple keysyms per entry Full support for multiple keysyms per level Tests: Release context on failure to build keymap Fail gracefully on failure to find component include Properly document xkb_key_get_syms Add cscope output to .gitignore include resets group compatibility modifiers #43091 Remove unused device_spec Don't parse nonsense Unicode/hex keycodes Eliminate remaining gcc warnings Use xorg CFLAGS and fix AC_USE_SYSTEM_EXTENSIONS Rename xkb_desc to xkb_keymap Unconstify xkb_rules_names Dump include paths when we can't find rules Rename YYLTYPE to struct YYLTYPE Use AC_ARG_VAR for X11 header and XKB paths Reintroduce $(builddir)/src/xkbcomp include Add flags to keymap compilation entrypoints Add flags to context creation Add context flag to inhibit default include paths Add pre-defined names database Add multiple modifier state matching API Rename keysym <-> string API Change all 'xkb' xkb_keymap names to 'keymap' Make build directory includes more explicit Merge remote-tracking branch 'krh/keysyms' Remove keycode_range_is_legal Include xkbcommon-names.h from xkbcommon.h Add common LED names to xkbcommon-names.h Rename serialise to serialize Move KcCGST API to internal-only Change xkb_key_get_syms to just return a bare int Document that xkb_state_get_map doesn't take a ref Add xkbcommon-keysyms.h to Makefile.am Rename 'ctx' back to 'context' in external API Add benchmarking test to rulescomp Fix signed vs. unsigned confusion in actions Add xkb_map_get_as_string Add test for xkb_map_new_from_string Pass merge down through indicator creation stringcomp: NULL-terminate string keymap-dump: Print NoAction actions too dump Fix multiple errors when merging symbol definitions Symbols: Don't include NoSymbols in the map Revert "dump" Make xkb_map_get_as_string test more comprehensive Fix action= NoAction() printing Work around stupid automake dependency-tracking bug Use $(top_builddir) rather than relative paths Avoid duplicating keysyms for merge if possible Fix tiny memory leak in dump test Add keypad sequences to UTF-8 keysym printing Work out a default repeat for all keys Add xkb_key_repeats state: Add more comprehensive repeating test Don't ignore inactive type entries Don't set explicit repeat masks when derived Remove 'force' argument from BindIndicators Remove 'unboundRtrn' argument from BindIndicators Change BindIndicators return to void Make BindIndicators static Move test data files to test/data/keymaps Add a library of common test functions Import dataset into test/data/ Add Cyrillic and Greek to case-checking tests: Update dump.data for recent fixes rulescomp: Fix benchmark runs Add multiple-keysyms-per-level to test data FindAutomaticType: Add FIXME Run source tree through uncrustify makekeys: Add top_srcdir to include path context test: Use test_get_context() Don't create contexts with no include paths Warning fixes test: Use test_get_context() in interactive tests: Fix uninitialised-use-of-'ret' warning Add support for default rules/model/layout test: Use test_compile_*() in interactive Staticise xkb_map_new_from_kccgst Move more of xkb_map_new_from_rmlvo into compilation More useful error message on failing RMLVO -> KcCGST context: Maintain list of failed include paths Move xkb_context struct to xkb-priv.h Print failed include paths on failure to find rules Rename xkey test to keysym test: Add extremely rudimentary include path test stringcomp: Update input file for output changes test: Minimise includes Remove unused vmodmask calculation IncludeStmt: Remove useless 'path' member Always have at least one level in types stringcomp: Remove unnecessary Level1 mappings test/stringcomp: Perform full round-trip test test/dump: Remove superfluous test stringcomp: Make test more punishing Rules: mmap() rules file instead of using getc() Increase log verbosity in tests Add xkb_log_level enum rather than using syslog Add xkb_map_mod_mask_remove_consumed Move 'no symbols defined for ...' message to a warning kbproto untanglement: XkbKeyNameLength kbproto untanglement: XkbKbdNumGroups kbproto unentanglement: XkbNumIndicators kbproto unentanglement: XkbNumVirtualMods Remove deprecated actions kbproto unentanglement: action types kbproto unentanglement: XkbIM_* kbproto unentanglement: XkbLC_* kbproto unentanglement: action flags actions: Remove PointerDefault affect field kbproto unentanglement: Xkb{Wrap,Clamp,Redirect}IntoRange kbproto unentanglement: XkbMaxShiftLevel kbproto unentanglement: control actions kbproto unentanglement: XkbSI match flags kbproto unentanglement: XkbSI_AutoRepeat kbproto unentanglement: XkbExplicit*Mask kbproto unentanglement: XkbGeomPtsPerMM kbproto unentanglement: drop dependency Update Android.mk Constify keysym <-> Unicode lookup table Remove unused ExprResolveKeyName utils: Replace DEC copyright with Ran's Copyright updates Update COPYING Add xkbcommon-compat.h and compat.c Add _xkbcommon_ prefix to parser and lexer symbols API change: Rename xkb_map_* and group -> layout Promote keymap enumeration API to public Add missing declaration for _xkbcommon_parse (aka yyparse) Fix size_t vs. %d warning Add xkb_state_key_get_one_sym autogen: use --force instead of --symlink Bump to 0.2.0 David Herrmann (2): xkbcommon-keysyms: Add header protection Add xkb_keysym_from_name() flags argument for case-insensitive search Gaetan Nadon (24): config: set Autoconf minimum version required to 2.60 config: use XORG_DEFAULT_OPTION from util-macros version 1.8 config: initialize autoconf, automake and libtool config: remove AC_PROG_CC as it overrides AC_PROG_C_C99 config: .gitignore: template with default values for components #24239 config: remove m4/.gitignore now that toplevel one handles it all config: update subdirs .gitignore config: replace deprecated INCLUDES with AM_CPPFLAGS config: add the INSTALL target for installation instructions config: add the default README file. config: allow to build tarball when yacc is missing config: let Automake handle Lex and Yacc dist and cleaning config: remove PKG_PROG_PKG_CONFIG test config: relocate library functions check and comment config: use xproto pkgconfig includex11dir variable config: remove incorrectly implemented visibility compiler option config: use existing variables KEYSYMDEF_H and XF86KEYSYM_H config: makekeys prog should stand alone in the makekeys directory config: add keysymdef and xf86keysym as dependencies of ks_tables.h config: include: use nobase_include_HEADERS config: make it easier to add TEST programs config: distribute the .sh test programs and test data config: set the default xkb config root based on xkeyboard-config module config: update COPYING for software licensing Guillem Jover (1): Move doxygen comment before enum item Helio Chissini de Castro (1): Android.mk: Remove unnecessary for loop Jan Engelhardt (5): build: use AC_CONFIG_MACRO_DIR as per libtoolize warning build: use proper quoting in autogen.sh build: run autoupdate xkbscan: resolve build warning/rpmlint error Update .gitignore Jon TURNEY (1): Link with -no-undefined Kristian Høgsberg (34): Drop CARD32 and Opaque types Drop malloc wrappers Rename Xkbc*Action to struct xkb_*_action Copy over missing action structs from kbproto Use the right action structs Drop more malloc/free wrappers Make XkbcInitAtoms() call optional Constify XkbcAtomText() Fix warning from CARD32 -> uint32_t conversion Drop Xmd.h include now that we're using uint32_t Pull in enough structs and defines from XKBstr.h to only need XKB.h Compile with -fvisibility=hidden when possible Rename public entry points to lowercase and underscore Move private structs and defines to private headers Rename XkbRMLVOSet to struct xkb_rule_names Get rid of a few unused #defines in public header Drop Bool type Pull in a few #defines from libxkbfile and lower kbproto requirement Use const char * in struct xkb_rule_names Remove libxkbfile dependency for real this time Pull in XKB_COMMON_* version of modifier masks Don't return a static buffer in public API Add struct xkb_state Use flex for generating the scanner, add support for parsing from strings Restore compatible action structs Update xkb->ctrls->num_groups when copying the keysyms Don't check for xlib, we don't need it Rename XkbcInternAtom() to xkb_intern_atom() and export Revert "config: remove incorrectly implemented visibility compiler option" configure: Lower kbproto requirement to 1.0.4 Also update required kbproto version in .pc.in file Add XKB version of X11 keysyms Use our own keysyms Use $(AM_V_GEN) to prettyfi makekeys step Pekka Paalanen (7): Add xkbc_free_keymap helper makekeys: fix cross-compilation Fix out-of-tree build for config.h Use eaccess() only if available Add xkbcommon-uninstalled.pc android: add build files xkbcommon.h build fix for missing stdarg.h Ran Benita (592): Remove unused debug #defines Remove unused includes of "tokens.h" Remove ancient compatibility check makekeys: make buf local to main() makekeys: clear const and shadow warnings Remove unneeded assignments and variables Fix possible null dereferences Fix all constness warnings Fix an incorrect sizeof Fix warnings in scanner and parser Fix remaining warnings makekeys: Fix build/target word size mismatch when cross-compiling When makekeys fails to find a good hash, print error instead of divide-by-zero makekeys: Receive the keysym files as arguments makekeys: update to match the rest of libX11 makekeys Use yacc-generated header instead of tokens.h Don't check for NULL before free() Use strdup instead of strlen + malloc + strcpy Remove all uses of the register keyword Remove return's at the end of void functions Use memset instead of bzero Use strchr instead of index Remove useless casts Use limits.h to find min/max short value Constify global tables Constify some more text functions Use global tables for action string handling Remove unused global type tokens Make the sections array local to the keymap compiling function Remove unneeded freeing mechanisms Don't cache parsed files Don't cache loaded rules files Add function to free XkbFile's Free XkbFile's when no longer needed Don't leak the various *Info's names when overriding them Don't leak the "minimum"/"maximum" string Don't leak KeyNamesInfo Don't leak ActionInfo's Don't leak DoodadInfo's from GeometryInfo Don't leak the scanner's buffer Fix other misc leaks Free scanFile when no longer needed Free IncludePath when no longer needed Free all atoms along with keymap Refactor XkbFindFileInPath Fix "Could not resolve keysym" errors Mention xkb_state_new can return NULL Properly free xkb_state's Fix latin8 upper/lower case check Update gitignore for 'state' test Fix incorrect usage of && instead of & Add xkb test file to EXTRA_DIST Remove a few remaining uses of the KeySym type Fix a scanf type mismatch Move utils.{c,h} to be used by the entire project Remove useless stuff from utils Rewrite recalloc to the correct type Remove some more useless stuff Move utility macro from XKBcommonint.h to utils.h Use strcasecmp consistently instead of uStrCaseCmp Silence -Wcast-qual warnings Fix all -Wsign-compare warnings Define our own None atom value Define our own NoSymbol value and use it Make build non-recursive Handle group lock actions Make parser and scanner reentrant Avoid use of partly initialized VModInfo in error path Use straight strtok_r instead of wrapper makekeys: free strings before exiting Add a NULL check before before strcmp'ing makekeys: use correct format strings Avoid leak in CompileKeymap error path Remove useless check from xkb_intern_atom Fix bugs to allow multiple keymaps in one process Make temporary fix for stale xkb_atoms Constify a global table Fix compiler warnings Set xorg-macros CFLAGS correctly Fix KeyInfo's syms array size calculation Fix possible overflow in scanner Replace remaining use of Atom instead of xkb_atom_t Remove unused struct definition Constify a global table and function arguments Do not enable yacc trace facility unconditionally Implement missing xkb_state_ref and add return value Constify the syms_out argument to xkb_key_get_syms() Remove Xfuncproto.h and XKB.h from xkbcommon/xkbcommon.h Remove xproto and kbproto from pkg-config file Implicitly include config.h in all files Add xkb_state_get_map() Reformat actionHandler dispatch table Overhaul test suite Fix formatting in xkbcomp headers Use stdbool.h Use LT_INIT instead of deprecated AC_PROG_LIBTOOL Remove unused function XkbcNameMatchesPattern Remove unused debugging function Remove unused 'compiled' field in XkbFile Remove unused 'which' and 'merge' arguments Remove unused stuff from XKBcommonint.h Remove unused stuff from xkbrules.h Merge src/alloc.c and src/malloc.c Revert "Unconstify xkb_rules_names" Uncomment sections of test/rulescomp.c Update .gitignore for automake 1.12 Remove left over filecomp.sh file Don't use typeof Refactor Compile<component> functions Rename xkbcomp/misc.h to xkbcomp-priv.h and use it Rename XKBcommonint.h to xkb-priv.h and use it Make the context available to the parser Contextualize XkbFile IDs Make the context available to xkb_intern_atom Make the context available for XkbcAtomGetString Make the context available for XkbcAtomText Contextualize the atom table Shorten context to ctx Remove support for xkb_layout and xkb_semantics file types Fix configure check for xkbparse.c instead of parser.c Fix a memleak Various static analyzer fixes Revert "Fix KeyInfo's syms array size calculation" Remove unused allowNone from KeyInfo Remove FileHandler callback argument Change xkb_map_new_from_fd to use FILE* Create path.h for the path.c functions Don't run the benchmark by default rules: remove unused struct fields and use size_t rules: only export a single function rules: don't use custom logging functions rules: reformat input line handling rules: don't typedef the structs and rename them rules: rewrite get_index to use sscanf rules: reformat SetUpRemap and struct remap_spec rules: reformat CheckLine and break into several functions rules: use asprintf instead of _Concat function rules: reformat MakeMultiDefs rules: reformat ApplyRule rules: rewrite MatchOneOf rules: reformat CheckGroup and CheckApplyRule rules: reformat CheckApplyRules and ApplyPartialMatches rules: reformat SubstituteVars rules: reformat GetComponents rules: reformat AddRule and AddGroup rules: remove unused struct describe_vars rules: reformat LoadRules and XkbRF_Free rules: reformat components_from_rules rules: remove struct var_defs rules: allow wildcard match against "" layout/varaint rules: add test Fix incorrect indexing while freeing Constify a static variable Import darray.h for common dynamic array code rules: use darray for rules and groups rules: use darray for input line atom: use darray for the node_table context: use darray for include paths compat: use darray for sym_interprets keytypes: use darray for key types in the client map alloc: use darray in xkb_key_names keytypes: use darray for xkb_kt_map_entry's parser: use darray for keysym list symbols: use darray for KeyInfo keytypes: use darray for level names symbols: use darray for xkb_sym_map keycodes: use darray in KeyNamesInfo compat: use darray for acts and key_acts in the server map Remove fake support for global group range settings Update .gitignore Move XKB_KEY_NoSymbol to xkbcommon-keysyms.h Remove configure check for X11 keysym files test/dump: allow to run manually Unconstify a few string struct fields Comment out unused fields in xkb_controls darray: tweak parameters a bit for better memory usage darray: some changes for convenience symbols: use darray for KeyInfo syms array symbols: remove sizeSyms array from KeyInfo symbols: use darray for KeyInfo symsMapIndex symbols: use darray for KeyInfo symsMapNumEntries symbols: use darray for KeyInfo acts symbols: use darray in struct xkb_sym_map state: use darray for filters utils: remove unused recalloc and related macros Add a test for the results of key sequences Use void* instead of old style char* in CommonInfo functions keymap: simplify legal/required logic a bit Use enum for file types Use enum for merge mode compat: move some unclear code where it belongs xkbcomp: remove useless function XkbChooseMap Remove _X_EXPORT from xkb_map_new_from_kccgst rules: remove support for keymap rule Tiny reformatting state: fix base mod set/clear behavior keymap: remove redundant check rules: fix parsing of multiple options keyseq: add a failing group-switching test symbols: fix bug in symbol merging test/dump: output commentary to stderr Enlarge keysym name buffers and mention in comment dump: use KeyNameText instead of copying symbols: fix bug in modifier_map handling dump: a few more tweaks to match xkbcomp output dump: add back kccgst names compat: fix XkbSI_AllOf matching condition remove unused function xkb_canonicalise_components Move ComputeEffectiveMap code and avoid some duplication Remove xkb_kt_map_entry::active Move InitCanonicalKeyTypes to keytypes.c Remove MERGE_ALT_FORM merge mode Rename KSIsLower/Upper and move to keysym.c Move CompileKeymap into xkbcomp.c Make compile_keymap a little nicer path: fix error message Fix fileID mess Convert missed enum merge_mode variables Remove unused control num_groups Fix typo in out of range group calculation Get rid of xkb_client_map Get rid of xkb_server_map Get rid of xkb_compat_map Get rid of xkb_indicator Get rid of xkb_key_names Move per_key_repeats and enabled_ctrls to keymap symbols: split initialization code from CompileSymbols Convert indecipherable macros to inline functions Replace xkb_keycode_t 'key' variable name by 'kc' Replace KeyInfo 'key' variable name by 'keyi' Add common xkb_key struct Get rid of struct xkb_key_name Get rid of struct xkb_sym_map Get rid of group_info Remove unused 'groupInfo' in KeyTypeInfo Remove GroupsWidth macro Remove redundant keymap->keys resizes map: verifiy that the keycode is legal Pass around xkb_key's instead of keycodes symbols: remove alias info Add common linked list implementation symbols: use list for ModMapEntry's symbols: don't use CommonInfo in KeyInfo Move alias.c functions into keycodes.c keycodes: use list instead of CommonInfo in AliasInfo keycodes: use list instead of CommonInfo in IndicatorNameInfo Convert macros to inline functions Move indicators.c code into compat.c compat: use list instead of CommonInfo in SymInterpInfo Remove _X_EXPORT from xkb_key_get_group/level Use xkb_group_index_t for group variables throughout compat: use list instead of CommonInfo in LEDInfo types: move global static tok_ atoms into KeyTypesInfo types: use list instead of CommonInfo in PreserveInfo Remove haveSelf include feature Simplify HandleInclude functions types: use list instead of CommonInfo for KeyTypeInfo Remove CommonInfo Fix bison 2.6 and clang warnings build: drop the include/ directory utils: remove uTypedAlloc/Calloc utils: remove Xfuncproto.h and use our own macros utils: replace FATAL by malloc_or_die Add logging API keycodes: add keymap to KeyNamesInfo keycodes: use new log functions symbols: add keymap to SymbolsInfo symbols: use new log functions compat: add keymap to CompatInfo compat: use new log functions types: add keymap to KeyTypesInfo types: use new log functions action: use new log functions expr: use new log functions rules: use new log functions vmod: use new log functions misc: use new log functions path: use new log functions parse: use new log functions xkbcomp: use new log functions Remove old logging leftovers Add test for logging functionality expr: Remove ExprResolveFloat parse: remove unused #define keycodes: fix valgrind warnings types: fix canonical types copying expr: don't divide by zero Some atom related optimizations scanner: don't strdup key names Remove alloc.{c,h} Use xkb_mod_mask_t and xkb_mask_index_t throughout Drop Xkbc prefix of text functions utils: add/replace string equality macros Fix incorrect comparison Convert defines to enums in xkbcomp.h parser: untabify expr: drop ExprResult from ResolveKeyName expr: drop ExprResult from ResolveLhs expr: drop ExprResult from ResolveString expr: drop ExprResult from ResolveBoolean expr: drop ExprResult from ResolveKeysym expr: drop ExprResult from ResolveGroup expr: drop ExprResult from ResolveKeyCode expr: drop ExprResult from ResolveLevel expr: drop ExprResult from ResolveButton expr: drop ExprResult from ResolveInteger expr: drop ExprResult from ResolveMask expr: drop ExprResult from ResolveEnum expr: remove support for evaluating string as integer Remove ExprResult Add an interactive evdev test keymap-dump: clean up write_buf function keymap-dump: use SITextMatch keymap-dump: use ActionTypeText map: fix virtual mod index calculation map: fix incorrect return value Use only one set of core mod name-to-index functions README: s/xkb_desc/xkb_keymap vmod: remove unused fields Use xkb_led_index_t throughout Make top level Handle*File functions nicer Replace more defines with enums keyseq: use our own keysyms interactive: add support to run from keymap file filecomp: fix path and error message darray: fix formatting log: allow to resore default log function expr: constify function arguments action: drop global actionInitialized Add and use xkb_level_index_t expr: make ResolveLevel return zero-based level keycodes: add a general overview Handle key names consistently keycodes: small changes symbols: remove support for key behaviors types: add a general overview types: don't use canonical/required types Remove xproto build dependency types: small changes Fix virtual modifiers mask extraction types: move preserve directly into xkb_kt_map_entry types: remove DeleteLevel1MapEntries types: use regular array for types types: use regular array for map entries types: store atoms instead of strings for level and type names types: remove default type Add API to query whether a modifier is consumed Fix warning keymap-dump: use VModMaskText types: get rid of PreserveInfo types: don't compute effective masks here as well Fix xkb_keymap::vmods type Modernize struct xkb_mods state: use global static const for fake action Use XKB_{GROUP,LEVEL}_INVALID instead of -1 for errors map: share some code Remove AutoKeyNames feature Remove left over keycodes.h Remove xkbcomp/misc.c keycodes: save context in Info, not keymap Store actions inside struct xkb_key Remove XkbKeyTypeIndex and widen index type action: get rid of xkb_any_action Combine a couple of macros Move ISEMPTY to utils.h Allocate xkb_component_names on stack Organize xkbcomp/ header files rulescomp: remove bad failtests types: add "Effects on keymap" to overview action: convert action field type to enum compat: add general overview compat: small changes compat: ignore "locking" field in sym interprets compat: remove dead NoAutomatic code compat: ignore "index" field in indicator statements compat: get rid of BindIndicators compat: ignore "group" (compatibility) statements compat: ignore "ledDrivesKbd" in indicator statements compat: ignore "allowExplicit" in indicator statements compat: remove "flags" field from xkb_indicator_map compat: use darray instead of list for interps compat: disallow changing global defaults from within an interpret compat: only compute 'bool report' once xkbcomp: seperate keymap-copying code from Compile functions vmod: remove support for direct vmod -> real mod mapping expr: move op_type/value_type_to_string functions to ast vmod: remove support for resolving integer to virtual modifier vmod: remove useless keymap initialization vmod: ClearVModInfo doesn't need the keymap vmod: remove outdated comments symbols: remove comparison of unsigned >= 0 symbols: call deinit functions Clear instead of Free keycodes: ignore "virtual" in indicators keycodes: use array for indicator names instead of list keycodes: use darray for aliases instead of list keycodes: remove outdated comments state: fix led_update_all group mask calculation state: light indicator when either condition is satisfied state: remove unneeded optimization state: fix type confusion within xkb_state_update_mask state: fix mod_names_are_active map, state: check for KeycodeInRange only in API functions xkbcomp: clean up compile_keymap function Move enum xkb_file_type to xkbcomp/ast.h Add xkbcomp/keymap.c and move some code there keymap: refactor ApplyInterpsToKey keymap: optimize FindInterpsForKey a bit types: remove outdated comments types: use darray for KeyTypesInfo instead of list types: don't strdup a default name action: clean up formatting of extern functions action: disallow setting an action_field default for all types action: keep array of default actions, instead of list of changes action: remove redundant check action: fix LookupEntry for "lockdevbtn" log: replace "priority" by "level" everywhere Set log level for tests through env, not directly include: properly use the default map if none is found test/data/symbols: keypad can only have one default section include: document ParseIncludeMap better xkbcomp: add debug messages of the RMLVO and KcCGST Don't printf NULL strings Use XKB_MOD_INVALID instead of XkbNoModifier rules: fix check for appending '|' character when applying test: add rmlvo-to-kccgst tool test/rules-file: add benchmark atom: make type and name of the 'a' field clearer atom: separate lookup logic from atom_intern atom: add xkb_atom_lookup expr: make ResolveString return an atom Convert rest of names in xkb_keymap back to atoms Unify some string tables from xkbcomp, text and keymap-dump Fold keymap->indicator_names into keymap->indicators compat: make LEDInfo a wrapper around xkb_indicator_map rules: rewrite rules: use goto instead of state variable state: remove unused next field from xkb_filter symbols: use darray for ModMapEntry instead of list keymap-dump: don't write spaces between multiple-syms-per-level symbols: add GroupInfo symbols: consolidate group merging in MergeGroups symbols: shorten symsMapNumEntries to uint from size_t symbols: make xkb_key::syms a plain array symbols: add LevelInfo symbols: remove unneeded recursion form CopySymbolsDef symbols: remove mention of keycodes in CopySymbolsDef symbols: add CopySymbolsToKeymap symbols: fix real/alias key merge ordering bug symbols: remove CopyKeyInfo symbols: store actions from symbols in the right offset keyseq: test that de(neo) is working properly symbols: FindAutomaticType only needs the context symbols: refactor CoypSymbolsDef Clean up Init/Clear functions rules: fix mmap failure handling state, map: use keycodes only for the API functions state, map: constify references to xkb_key state: don't keep the xkb_state in the filters Rename ACTION_TYPE_LAST to _ACTION_TYPE_NUM_ENTRIES state: dispatch actions from a table state: call xkb_filter_new from the dispatcher state: move filter initialization to the dispatcher state: use filter->priv instead of modifying the action symbols: remove useless grow_alloc of keys array keycodes: ignore explicit minimum/maximum statements keycodes: rename computedMin/Max to min/max_key_code keycodes: add KeyNameInfo include: improve file-not-found error reporting Organize src/ and test/ headers keyseq: add test for repeat-shift-repeat-unshift-repeat symbols: fix buffer overflow with illegal explicit group Fix a couple of mistakes from previous commits xkbcomp/keymap: correct ACTION_MODS_LOOKUP_MODS handling state: handle ACTION_LOCK_NO_{UN,}LOCK for mods test: add print-compiled-keymap tool Don't use xkbcommon-compat names in internal code Rename private xkb_map_new to xkb_keymap_new Move xkb_state functions from map.c to state.c state, map: check XkbKey != NULL where missing Rename map.{c,h} to keymap.{c,h} Don't choke on RMLVO layout string with holes symbols: avoid reverse iteration in PrepareKeyDef symbols: remove useless identical groups optimization state: special case effective group in layout_is_active state: separate group wrapping/clamping to a function state: correctly wrap state->locked_group and ->group configure.ac: fix bug report url configure.ac: remove XORG_CHECK_MALLOC_ZERO configure.ac: add XORG_MEMORY_CHECK_FLAGS configure.ac: use XORG_TESTSET_CFLAG for -fvisibility=hidden state: missing XKB_EXPORT on xkb_state_key_get_level symbols: fold PrepareKeyDef into CopySymbolsDef symbols: disallow changing global defaults from within a key statement symbols: fix memleak from default KeyInfo symbols: convert KeyInfo->groups to darray keymap: remove XkbKeyGetKeycode API: add _context prefix to log-related functions Add support for building doxygen API documentation -- To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/e1yuph5-0001li...@moszumanska.debian.org