Commit Graph

13 Commits

Author SHA1 Message Date
Přemysl Eric Janouch 3465d5553f Make the tests work again
Our UTF-8 parsing now behaves differently, though.
2014-09-28 13:03:04 +02:00
Paul LeoNerd Evans 8e503baed8 Added TERMKEY_FORMAT_LOWERSPACE for strpkey() also 2013-08-26 02:23:19 +01:00
Paul LeoNerd Evans a36648e172 Added TERMKEY_FORMAT_LOWERMOD 2013-08-26 01:14:35 +01:00
Paul LeoNerd Evans 24abb0c59e Added TERMKEY_FORMAT_SPACEMOD 2013-08-26 00:56:07 +01:00
Paul LeoNerd Evans 89ac8b058c Make some more things 'const' that should be 2013-07-15 01:03:35 +01:00
Paul LeoNerd Evans 50327ce6dc Use termkey_new_abstract() in unit tests 2012-01-26 12:55:34 +00:00
Paul LeoNerd Evans 6d6afe788c Allow passing fd = -1 to constructor to make an instance not associated with an fd; must use push_bytes to provide it input 2012-01-18 14:03:39 +00:00
Paul LeoNerd Evans 0a101ff71e Bugfix termkey_strpkey parsing unicode with trailing content 2011-04-07 20:19:34 +01:00
Paul LeoNerd Evans c626393aeb Assert that termkey_strpkey's return points to endofstring after parse 2011-04-07 20:14:44 +01:00
Paul LeoNerd Evans 88230407fe Adjust termkey_strpkey() API more like strptime(); return pointer to end of recognised section, allows for stream parsing 2011-04-01 13:49:20 +01:00
Paul LeoNerd Evans a3b8804018 Ensure strpkey can parse numbered function keys 2011-04-01 10:48:15 +01:00
Paul LeoNerd Evans 59800c356b Unicode codepoint is stored in key->code.codepoint, not code.number 2011-04-01 10:41:44 +01:00
Paul LeoNerd Evans 6424282c4d Partial implementation of termkey_strpkey(3); missing FORMAT_WRAPBRACKET and TYPE_FUNCTION support 2011-04-01 00:50:51 +01:00