aboutsummaryrefslogtreecommitdiff
path: root/t
Commit message (Collapse)AuthorAgeFilesLines
* Have getkey/waitkey return RES_ERROR/EINVAL if stoppedPaul LeoNerd Evans2012-03-081-1/+7
|
* Added a termkey_is_started() accessor; unit test it a bitPaul LeoNerd Evans2012-03-081-1/+10
|
* Added (undocumented) termkey_set_buffer_size()Paul LeoNerd Evans2012-02-131-0/+32
|
* Added (undocumented) termkey_get_buffer_size()Paul LeoNerd Evans2012-02-131-1/+3
|
* Use termkey_new_abstract() in unit testsPaul LeoNerd Evans2012-01-269-20/+10
|
* \e string escape is not portable; use \033Paul LeoNerd Evans2012-01-182-3/+3
|
* Allow passing fd = -1 to constructor to make an instance not associated with ↵Paul LeoNerd Evans2012-01-189-9/+9
| | | | an fd; must use push_bytes to provide it input
* Added termkey_push_bytes(), a new API for providing input bytesPaul LeoNerd Evans2012-01-184-77/+102
|
* Provide new API function to determine how much buffer space remains in the ↵Paul LeoNerd Evans2012-01-181-1/+25
| | | | instance
* Canonicalise (a local copy of) the key structures given to termkey_keycmp() ↵Paul LeoNerd Evans2011-09-061-1/+13
| | | | before comparing them
* Allow a flag to convert ASCII DEL into BackspacePaul LeoNerd Evans2011-08-281-1/+17
|
* Move canonicalisation flags into their own bitfield with their own accessor ↵Paul LeoNerd Evans2011-08-281-1/+1
| | | | and named constants
* Provide an explicit termkey_canonicalise() function; canonicalise Space/SP ↵Paul LeoNerd Evans2011-08-271-0/+51
| | | | in both directions
* Added a unit test to assert the correct behaviour of FLAG_SPACESYMBOL from ↵Paul LeoNerd Evans2011-08-271-0/+41
| | | | waitkey
* Bugfix to termkey_keycmp - implement sense in correct directionPaul LeoNerd Evans2011-04-071-8/+8
|
* Bugfix termkey_strpkey parsing unicode with trailing contentPaul LeoNerd Evans2011-04-071-1/+9
|
* Assert that termkey_strpkey's return points to endofstring after parsePaul LeoNerd Evans2011-04-071-11/+22
|
* Provide termkey_keycmp() for sorting purposesPaul LeoNerd Evans2011-04-021-0/+50
|
* Adjust termkey_strpkey() API more like strptime(); return pointer to end of ↵Paul LeoNerd Evans2011-04-011-30/+19
| | | | recognised section, allows for stream parsing
* Provide a termkey_lookup_keyname that can do partial buffer parsingPaul LeoNerd Evans2011-04-011-1/+15
|
* Ensure strpkey can parse numbered function keysPaul LeoNerd Evans2011-04-012-2/+21
|
* Unicode codepoint is stored in key->code.codepoint, not code.numberPaul LeoNerd Evans2011-04-012-13/+13
|
* Partial implementation of termkey_strpkey(3); missing FORMAT_WRAPBRACKET and ↵Paul LeoNerd Evans2011-04-011-0/+90
| | | | TYPE_FUNCTION support
* Extract UTF-8 sequence parser into its own function, fix bugs, apply unit testsPaul LeoNerd Evans2011-03-311-1/+92
|
* Added unit tests for UTF-8 parserPaul LeoNerd Evans2011-03-311-0/+78
|
* Added some unit tests for termkey_strfkey(3)Paul LeoNerd Evans2011-03-311-0/+85
|
* #include termkey.h from the correct path in unit testsPaul LeoNerd Evans2011-03-313-3/+3
|
* Added some unit tests for keyname <=> sym constant conversionsPaul LeoNerd Evans2011-03-311-0/+24
|
* taplib's is_str() should take const char *Paul LeoNerd Evans2011-03-312-2/+2
|
* Added some unit testing for termkey_getkey(3) and friendsPaul LeoNerd Evans2011-03-311-0/+60
|
* is()-like testing for ints and stringsPaul LeoNerd Evans2011-03-312-0/+36
|
* Remember to exit with exit_status() from unit testingPaul LeoNerd Evans2011-03-311-1/+1
|
* Created a little Test::More-like library for TAP testingPaul LeoNerd Evans2011-03-313-4/+30
|
* Created a unit-testing system using perl's provePaul LeoNerd Evans2011-03-311-0/+20