14d6bb736cUse the 'also' list for aliased pages
Paul LeoNerd Evans
2012-01-18 14:27:18 +0000
a4f9cc6d7fMinor wording fixes to termkey_push_bytes.3 manpage
Paul LeoNerd Evans
2012-01-18 14:16:45 +0000
ec82fbf29bFix 'htmldocs' Makefile target
Paul LeoNerd Evans
2012-01-18 14:11:05 +0000
6d6afe788cAllow passing fd = -1 to constructor to make an instance not associated with an fd; must use push_bytes to provide it input
Paul LeoNerd Evans
2012-01-18 14:03:39 +0000
82ad14175cAdded termkey_push_bytes(), a new API for providing input bytes
Paul LeoNerd Evans
2012-01-18 13:39:50 +0000
082b49f0f8Move the growing collection of manpages into their own man/ subdirectory
Paul LeoNerd Evans
2012-01-18 12:01:38 +0000
d64ba87edaEnsure that termkey_advisereadable() just fails with errno=ENOMEM rather than trying to read() zero bytes
Paul LeoNerd Evans
2012-01-18 10:36:50 +0000
3474a45b14Avoid push_bytes() entirely by read()ing directly into tk->buffer
Paul LeoNerd Evans
2012-01-18 10:07:36 +0000
9534330003Provide new API function to determine how much buffer space remains in the instance
Paul LeoNerd Evans
2012-01-18 10:04:15 +0000
37d8f18ab5Remove termkey_pushinput() from external API; declare static, rename it
Paul LeoNerd Evans
2012-01-18 09:36:36 +0000
3e520f30e0Bump VERSION to 0.11
Paul LeoNerd Evans
2011-11-30 17:53:38 +0000
34b5d1ec9eMinor manpage link fixups
Paul LeoNerd Evans
2011-09-29 20:18:49 +0100
e768f02219Optionally support unibilium for reading terminfo instead of curses
Paul LeoNerd Evans
2011-09-24 00:04:01 +0100
7d623be041Abstract out ld flags in Makefile
Paul LeoNerd Evans
2011-09-23 23:50:13 +0100
d8f6551972Neaten logic by loading terminfo strings in a separate function from the constructor
Paul LeoNerd Evans
2011-09-23 23:40:54 +0100
0a65f60df1Bumped VERSION to 0.10
Paul LeoNerd Evans
2011-09-06 23:02:57 +0100
8f32ac525fCanonicalise (a local copy of) the key structures given to termkey_keycmp() before comparing them
Paul LeoNerd Evans
2011-09-06 22:49:05 +0100
3008ed29d1A few more DEBUG fprintf(stderr)s at construction time
Paul LeoNerd Evans
2011-09-05 14:14:09 +0100
3fb6f398e9Handle TERMKEY_RES_ERROR in (debugging mode) res2str()
Paul LeoNerd Evans
2011-09-05 13:58:15 +0100
3a4a1b4ef0Use $(VERSION) to set DISTDIR in Makefile, so make VERSION=... dist overrides its name
Paul LeoNerd Evans
2011-09-05 13:52:58 +0100
8793934328Allow a flag to convert ASCII DEL into Backspace
Paul LeoNerd Evans
2011-08-28 17:57:57 +0100
2638499648Move canonicalisation flags into their own bitfield with their own accessor and named constants
Paul LeoNerd Evans
2011-08-28 17:50:18 +0100
7133517883Remember to symlink termkey_get_flags(3) manpage at install time
Paul LeoNerd Evans
2011-08-28 17:47:11 +0100
46eefda073Provide an explicit termkey_canonicalise() function; canonicalise Space/SP in both directions
Paul LeoNerd Evans
2011-08-27 19:59:02 +0100
83ca948d78Deleted legacy type name typedefs and declaration of termkey_snprint_key()
Paul LeoNerd Evans
2011-08-27 19:32:39 +0100
5fc3aff57aAdded a unit test to assert the correct behaviour of FLAG_SPACESYMBOL from waitkey
Paul LeoNerd Evans
2011-08-27 19:29:34 +0100
23fefe409a<poll.h> on Solaris needs _XOPEN_SOURCE 600 to ensure it gets sigset_t - Petr Pavlu
Paul LeoNerd Evans
2011-08-25 22:52:06 +0100
427a98693eoptarg and friends want _XOPEN_SOURCE 600, and <unistd.h> - Petr Pavlu
Paul LeoNerd Evans
2011-08-25 22:49:51 +0100
447a3e7ab9strdup() needs 'define _XOPEN_SOURCE 600 - Petr Pavlu
Paul LeoNerd Evans
2011-08-25 22:49:17 +0100
8efef8e088Ensure c_cc[VMIN] and c_cc[VTIME] are properly defined, because Solaris seems not to set them - Petr Pavlu
Paul LeoNerd Evans
2011-08-25 22:41:43 +0100
19122bb195Link against -lcurses not -lncurses, because these two might be different on some OSes (e.g. Solaris) - Petr Pavlu
Paul LeoNerd Evans
2011-08-25 22:39:06 +0100
0bafe17082Bumped VERSION to 0.9
Paul LeoNerd Evans
2011-08-25 19:13:21 +0100
1b8234e342Provide a flag to return RES_ERROR even on signal (EINTR); without it, retry the operation
Paul LeoNerd Evans
2011-08-25 10:48:41 +0100
7a2b79a640Provide a new result value, TERMKEY_RES_ERROR to indicate an IO error - preserve errno
Paul LeoNerd Evans
2011-08-18 11:20:41 +0100
01e5795098Include a LICENSE file
Paul LeoNerd Evans
2011-07-01 17:05:35 +0100
0686e9a51cPut LIBDIR and INCDIR directly in termkey.pc; don't indirect via PREFIX as it might be incorrect
Paul LeoNerd Evans
2011-07-01 17:04:12 +0100
b30f946117Mouse position coordinates are unsigned
Paul LeoNerd Evans
2011-06-16 17:07:47 +0100
6e99f8ab85Ignore VDSUSP as a signal-sending key too, if platform defines it
Paul LeoNerd Evans
2011-05-28 11:55:46 +0100
d3f441330bsscanf'ing a size_t requires %zn
Paul LeoNerd Evans
2011-05-28 11:53:00 +0100
650b4518b4Bumped VERSION to 0.8
Paul LeoNerd Evans
2011-05-24 18:18:57 +0100
ac14d7b504Gracefully ignore read() yielding EINTR rather than bailing out
Paul LeoNerd Evans
2011-05-24 18:17:15 +0100
dad0e5019cUse _POSIX_VDISABLE rather than hardcoded 0 to disable individual entries in termios.c_cc; most BSDs use 0xff rather than 0 for this value
Paul LeoNerd Evans
2011-05-24 16:45:10 +0100
6b17f3f620Disable ISIG mode entirely if FLAG_CTRLC is set
Paul LeoNerd Evans
2011-05-24 16:40:19 +0100
41e9e0d39eAlso handle new 'fixterms' spec CSI codepoint;modifiers u encoding
Paul LeoNerd Evans
2011-05-09 16:43:05 +0100
e90d8f45d7demo.c needs to enable CTRLC flag to shut down mouse mode on exit
Paul LeoNerd Evans
2011-04-26 08:28:26 +0100
03371bdd04Bugfix to termkey_keycmp - implement sense in correct direction
Paul LeoNerd Evans
2011-04-07 23:31:43 +0100
0a101ff71eBugfix termkey_strpkey parsing unicode with trailing content
Paul LeoNerd Evans
2011-04-07 20:19:34 +0100
c626393aebAssert that termkey_strpkey's return points to endofstring after parse
Paul LeoNerd Evans
2011-04-07 20:14:44 +0100
692ae5d6f2Bumped VERSION to 0.7
Paul LeoNerd Evans
2011-04-07 17:38:08 +0100
4ac0d752c4Solaris requires #define _XPG6
Paul LeoNerd Evans
2011-04-04 22:26:25 +0100
3b2861fac9Refer to strfkey not snprint_key; add links to termkey_keycmp
Paul LeoNerd Evans
2011-04-04 19:56:33 +0100
5b15abcd01Fixed another couple of typoes in manpages
Paul LeoNerd Evans
2011-04-04 19:06:34 +0100
f23a55ab82Various minor neatenings to manpage formatting
Paul LeoNerd Evans
2011-04-03 18:44:48 +0100
574754d5f1Bugfixes to manpage layout - no need to .br when the demo is pulled in a .nf anyway; remember to escape slashes
Paul LeoNerd Evans
2011-04-03 00:27:02 +0100
ad7d31ead8Provide termkey_keycmp() for sorting purposes
Paul LeoNerd Evans
2011-04-02 15:07:30 +0100
0468355389Docs fix for termkey_strfkey
Paul LeoNerd Evans
2011-04-01 14:05:19 +0100
d6d74d252fAdd a couple more 'const' markings to API functions where appropriate
Paul LeoNerd Evans
2011-04-01 13:55:36 +0100
88230407feAdjust termkey_strpkey() API more like strptime(); return pointer to end of recognised section, allows for stream parsing
Paul LeoNerd Evans
2011-04-01 13:49:20 +0100
dbb13defb7Provide a termkey_lookup_keyname that can do partial buffer parsing
Paul LeoNerd Evans
2011-04-01 13:26:54 +0100
6adb2324f5Initial manpage for termkey_strpkey
Paul LeoNerd Evans
2011-04-01 11:11:50 +0100
a3b8804018Ensure strpkey can parse numbered function keys
Paul LeoNerd Evans
2011-04-01 10:48:15 +0100
59800c356bUnicode codepoint is stored in key->code.codepoint, not code.number
Paul LeoNerd Evans
2011-04-01 10:41:44 +0100
6424282c4dPartial implementation of termkey_strpkey(3); missing FORMAT_WRAPBRACKET and TYPE_FUNCTION support
Paul LeoNerd Evans
2011-04-01 00:50:51 +0100
ee69b33c49Neater implementation of key modifier names for strfkey; put them in a little table
Paul LeoNerd Evans
2011-04-01 00:26:02 +0100
f1b3dff4c2Extract UTF-8 sequence parser into its own function, fix bugs, apply unit tests
Paul LeoNerd Evans
2011-03-31 23:42:52 +0100
739be0e55dAdded unit tests for UTF-8 parser
Paul LeoNerd Evans
2011-03-31 18:59:07 +0100
7c9f24fc8eUpdated manpages for function rename sprint_key -> strfkey
Paul LeoNerd Evans
2011-03-31 15:42:32 +0100
9b97244c54Added some unit tests for termkey_strfkey(3)
Paul LeoNerd Evans
2011-03-31 14:10:35 +0100
f17f21752bstrfkey should fill in the utf8 member of a key struct if it's empty
Paul LeoNerd Evans
2011-03-31 14:07:55 +0100
5a6e289d23#include termkey.h from the correct path in unit tests
Paul LeoNerd Evans
2011-03-31 13:51:21 +0100
f230bc86fbAdded some unit tests for keyname <=> sym constant conversions
Paul LeoNerd Evans
2011-03-31 13:43:16 +0100
1bf3c958b1taplib's is_str() should take const char *
Paul LeoNerd Evans
2011-03-31 13:42:27 +0100
be153dc5eeAdded some unit testing for termkey_getkey(3) and friends
Paul LeoNerd Evans
2011-03-31 12:47:09 +0100
0ea0fb331bis()-like testing for ints and strings
Paul LeoNerd Evans
2011-03-31 12:46:06 +0100
9d7f0037a8Remember to exit with exit_status() from unit testing
Paul LeoNerd Evans
2011-03-31 12:13:37 +0100
3bbda921b7Created a little Test::More-like library for TAP testing
Paul LeoNerd Evans
2011-03-31 12:11:19 +0100
620038af72bzr ignore t/*.t
Paul LeoNerd Evans
2011-03-31 11:41:14 +0100
c228335bcaCreated a unit-testing system using perl's prove
Paul LeoNerd Evans
2011-03-31 11:38:40 +0100
26ef76349eRenamed snprint_key() to strfkey(); provide redirection trampoline
Paul LeoNerd Evans
2011-03-31 11:08:43 +0100
280047e745Minor whitespace fixes in termkey.h.in
Paul LeoNerd Evans
2011-03-31 11:06:21 +0100
824e7e157aProvide guarded extern "C" { ... } wrapper for C++ compilers
Paul LeoNerd Evans
2011-03-30 20:32:51 +0100
f93587a4c7C++ compilers don't like trailing commas in enums; remove them
Paul LeoNerd Evans
2011-03-30 20:31:26 +0100
391f795c67include <curses.h> before <term.h> as it's required in that order on Solaris
Paul LeoNerd Evans
2011-03-30 20:24:06 +0100
a0f86dcd98Bumped VERSION_MINOR to 0.6
Paul LeoNerd Evans
2011-03-24 00:03:41 +0000
9f0ef4953dDon't steal Ctrl-C from the kernel by default (so leave SIGINT enabled); add a flag to take it if required
Paul LeoNerd Evans
2011-03-23 23:20:24 +0000
a71f68dd57Interpret space as Unicode by default, add a flag to make it symbolic instead
Paul LeoNerd Evans
2011-03-23 22:17:25 +0000
ba0c32e8d8Allow formatting the mouse position when rendering an event to a string
Paul LeoNerd Evans
2009-11-27 15:07:05 +0000
571e5b701fMake DEBUG=1 mode work with mouse events
Paul LeoNerd Evans
2009-11-27 14:56:38 +0000
0ae5aea7acMoved code around so DEBUG=1 actually compiles again
Paul LeoNerd Evans
2009-11-27 14:50:58 +0000
24f9711846Return opaque mouse events in the key structure; add a function to interpret this into its component fields
Paul LeoNerd Evans
2009-11-27 14:36:29 +0000
6dc2b9c72bImplement mouse catching also in CSI driver, in case xterm-alike terminal without 'key_mouse' terminfo string
Paul LeoNerd Evans
2009-11-26 00:33:30 +0000
c4bc0486d4Moved mouse parsing code out of driver-ti.c into core termkey.c
Paul LeoNerd Evans
2009-11-26 00:27:58 +0000
bdc22b8b3dRemember to zero key->modifiers for mouse events
Paul LeoNerd Evans
2009-11-25 14:46:19 +0000
ade9d760d3Supply --tag=CC to libtool to inform it we're a C library; in case it doesn't detect that (mumble openbsd mumble)
Paul LeoNerd Evans
2009-11-25 14:36:44 +0000
7d5b64ff3dBumped VERSION_MINOR to 0.4
Paul LeoNerd Evans
2009-11-25 02:31:10 +0000
f2f2c03b56Complete reworking of build system to use libtool
Paul LeoNerd Evans
2009-11-25 02:30:24 +0000
d1842f8a00Document the new mouse reporting interface
Paul LeoNerd Evans
2009-11-24 01:37:46 +0000
c9d2bd93fdImplement XTerm mouse parsing in terminfo driver
Paul LeoNerd Evans
2009-11-24 01:31:35 +0000
7459a038fbMake demo enable mouse mode if given on commandline
Paul LeoNerd Evans
2009-11-24 01:30:52 +0000
ceeaf717bdPrint Mouse() rather than shouting MOUSE()
Paul LeoNerd Evans
2009-11-24 01:25:40 +0000