436 Commits (master)
 

Author SHA1 Message Date
Paul LeoNerd Evans d64ba87eda Ensure that termkey_advisereadable() just fails with errno=ENOMEM rather than trying to read() zero bytes 12 years ago
Paul LeoNerd Evans 3474a45b14 Avoid push_bytes() entirely by read()ing directly into tk->buffer 12 years ago
Paul LeoNerd Evans 9534330003 Provide new API function to determine how much buffer space remains in the instance 12 years ago
Paul LeoNerd Evans 37d8f18ab5 Remove termkey_pushinput() from external API; declare static, rename it 12 years ago
Paul LeoNerd Evans 3e520f30e0 Bump VERSION to 0.11 12 years ago
Paul LeoNerd Evans 34b5d1ec9e Minor manpage link fixups 12 years ago
Paul LeoNerd Evans e768f02219 Optionally support unibilium for reading terminfo instead of curses 12 years ago
Paul LeoNerd Evans 7d623be041 Abstract out ld flags in Makefile 12 years ago
Paul LeoNerd Evans d8f6551972 Neaten logic by loading terminfo strings in a separate function from the constructor 12 years ago
Paul LeoNerd Evans 0a65f60df1 Bumped VERSION to 0.10 12 years ago
Paul LeoNerd Evans 8f32ac525f Canonicalise (a local copy of) the key structures given to termkey_keycmp() before comparing them 12 years ago
Paul LeoNerd Evans 3008ed29d1 A few more DEBUG fprintf(stderr)s at construction time 12 years ago
Paul LeoNerd Evans 3fb6f398e9 Handle TERMKEY_RES_ERROR in (debugging mode) res2str() 12 years ago
Paul LeoNerd Evans 3a4a1b4ef0 Use $(VERSION) to set DISTDIR in Makefile, so make VERSION=... dist overrides its name 12 years ago
Paul LeoNerd Evans 8793934328 Allow a flag to convert ASCII DEL into Backspace 12 years ago
Paul LeoNerd Evans 2638499648 Move canonicalisation flags into their own bitfield with their own accessor and named constants 12 years ago
Paul LeoNerd Evans 7133517883 Remember to symlink termkey_get_flags(3) manpage at install time 12 years ago
Paul LeoNerd Evans 46eefda073 Provide an explicit termkey_canonicalise() function; canonicalise Space/SP in both directions 12 years ago
Paul LeoNerd Evans 83ca948d78 Deleted legacy type name typedefs and declaration of termkey_snprint_key() 12 years ago
Paul LeoNerd Evans 5fc3aff57a Added a unit test to assert the correct behaviour of FLAG_SPACESYMBOL from waitkey 12 years ago
Paul LeoNerd Evans 23fefe409a <poll.h> on Solaris needs _XOPEN_SOURCE 600 to ensure it gets sigset_t - Petr Pavlu 12 years ago
Paul LeoNerd Evans 427a98693e optarg and friends want _XOPEN_SOURCE 600, and <unistd.h> - Petr Pavlu 12 years ago
Paul LeoNerd Evans 447a3e7ab9 strdup() needs 'define _XOPEN_SOURCE 600 - Petr Pavlu 12 years ago
Paul LeoNerd Evans 8efef8e088 Ensure c_cc[VMIN] and c_cc[VTIME] are properly defined, because Solaris seems not to set them - Petr Pavlu 12 years ago
Paul LeoNerd Evans 19122bb195 Link against -lcurses not -lncurses, because these two might be different on some OSes (e.g. Solaris) - Petr Pavlu 12 years ago
Paul LeoNerd Evans 0bafe17082 Bumped VERSION to 0.9 12 years ago
Paul LeoNerd Evans 1b8234e342 Provide a flag to return RES_ERROR even on signal (EINTR); without it, retry the operation 12 years ago
Paul LeoNerd Evans 7a2b79a640 Provide a new result value, TERMKEY_RES_ERROR to indicate an IO error - preserve errno 12 years ago
Paul LeoNerd Evans 01e5795098 Include a LICENSE file 12 years ago
Paul LeoNerd Evans 0686e9a51c Put LIBDIR and INCDIR directly in termkey.pc; don't indirect via PREFIX as it might be incorrect 12 years ago
Paul LeoNerd Evans b30f946117 Mouse position coordinates are unsigned 12 years ago
Paul LeoNerd Evans 6e99f8ab85 Ignore VDSUSP as a signal-sending key too, if platform defines it 12 years ago
Paul LeoNerd Evans d3f441330b sscanf'ing a size_t requires %zn 12 years ago
Paul LeoNerd Evans 650b4518b4 Bumped VERSION to 0.8 12 years ago
Paul LeoNerd Evans ac14d7b504 Gracefully ignore read() yielding EINTR rather than bailing out 12 years ago
Paul LeoNerd Evans dad0e5019c Use _POSIX_VDISABLE rather than hardcoded 0 to disable individual entries in termios.c_cc; most BSDs use 0xff rather than 0 for this value 12 years ago
Paul LeoNerd Evans 6b17f3f620 Disable ISIG mode entirely if FLAG_CTRLC is set 12 years ago
Paul LeoNerd Evans 41e9e0d39e Also handle new 'fixterms' spec CSI codepoint;modifiers u encoding 12 years ago
Paul LeoNerd Evans e90d8f45d7 demo.c needs to enable CTRLC flag to shut down mouse mode on exit 12 years ago
Paul LeoNerd Evans 03371bdd04 Bugfix to termkey_keycmp - implement sense in correct direction 12 years ago
Paul LeoNerd Evans 0a101ff71e Bugfix termkey_strpkey parsing unicode with trailing content 12 years ago
Paul LeoNerd Evans c626393aeb Assert that termkey_strpkey's return points to endofstring after parse 12 years ago
Paul LeoNerd Evans 692ae5d6f2 Bumped VERSION to 0.7 12 years ago
Paul LeoNerd Evans 4ac0d752c4 Solaris requires #define _XPG6 12 years ago
Paul LeoNerd Evans 3b2861fac9 Refer to strfkey not snprint_key; add links to termkey_keycmp 12 years ago
Paul LeoNerd Evans 5b15abcd01 Fixed another couple of typoes in manpages 12 years ago
Paul LeoNerd Evans f23a55ab82 Various minor neatenings to manpage formatting 12 years ago
Paul LeoNerd Evans 574754d5f1 Bugfixes to manpage layout - no need to .br when the demo is pulled in a .nf anyway; remember to escape slashes 12 years ago
Paul LeoNerd Evans ad7d31ead8 Provide termkey_keycmp() for sorting purposes 12 years ago
Paul LeoNerd Evans 0468355389 Docs fix for termkey_strfkey 12 years ago