Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace flex scanner with a hand-written one | Ran Benita | 2013-04-01 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | | | | | | | The scanner is very similar in structure to the one in xkbcomp/rules.c. It avoids copying and has nicer error reporting. It uses gperf to generate a hashtable for the keywords, which gives a nice speed boost (compared to the naive strcasecmp method at least). But since there's hardly a reason to regenerate it every time and require people to install gperf, the output (keywords.c) is added here as well. Here are some stats from test/rulescomp: Before: compiled 1000 keymaps in 4.052939625s ==22063== total heap usage: 101,101 allocs, 101,101 frees, 11,840,834 bytes allocated After: compiled 1000 keymaps in 3.519665434s ==26505== total heap usage: 99,945 allocs, 99,945 frees, 7,033,608 bytes allocated Signed-off-by: Ran Benita <ran234@gmail.com> | ||||
* | Rename xkbcomp/misc.h to xkbcomp-priv.h and use it | Ran Benita | 2012-05-08 | 1 | -3/+3 |
| | | | | | | | | | | The include dependencies were quite convoluted, where you change the order and get a ton of errors. Instead, change one file to act as the internal interface for the xkbcomp files, and make every file use it. Also drop the pointless "xkb" prefix to file names. Signed-off-by: Ran Benita <ran234@gmail.com> | ||||
* | Use yacc-generated header instead of tokens.h | Ran Benita | 2012-02-26 | 1 | -0/+1 |
| | | | | | | | | The yacc implementation can generate all the necessary token definitions itself; there is no need to maintain a hand written file for that. Signed-off-by: Ran Benita <ran234@gmail.com> | ||||
* | config: update subdirs .gitignore | Gaetan Nadon | 2010-12-07 | 1 | -1/+1 |
| | | | | Signed-off-by: Gaetan Nadon <memsize@videotron.ca> | ||||
* | xkbcomp: Ignore generated parser | Dan Nicholson | 2009-04-03 | 1 | -0/+1 |
| | |||||
* | Ignore files for xkbcomp | Dan Nicholson | 2009-03-27 | 1 | -0/+1 |