e3d0baa846Bugfix to snprint_cameltospaces() when given a short buffer [thanks Romain Chossart]
Paul LeoNerd Evans
2013-08-26 18:46:01 +0100
e9a1302e4cDelete trailing whitespace in code
Paul LeoNerd Evans
2013-08-26 02:35:40 +0100
f4770f2d8eDocs fix - fullstop at end of sentence
Paul LeoNerd Evans
2013-08-26 02:33:49 +0100
d58faf55b4Fix comment about 'n' in strpncmp_camel()
Paul LeoNerd Evans
2013-08-26 02:30:43 +0100
a86f23588bMinor doc update - strpkey expects strings, doesn't use them
Paul LeoNerd Evans
2013-08-26 02:27:24 +0100
8e503baed8Added TERMKEY_FORMAT_LOWERSPACE for strpkey() also
Paul LeoNerd Evans
2013-08-26 02:23:19 +0100
3b2d8eb813Added TERMKEY_FORMAT_LOWERSPACE for strfkey() only
Paul LeoNerd Evans
2013-08-26 01:32:35 +0100
a36648e172Added TERMKEY_FORMAT_LOWERMOD
Paul LeoNerd Evans
2013-08-26 01:14:35 +0100
24abb0c59eAdded TERMKEY_FORMAT_SPACEMOD
Paul LeoNerd Evans
2013-08-26 00:56:07 +0100
89ac8b058cMake some more things 'const' that should be
Paul LeoNerd Evans
2013-07-15 01:03:35 +0100
b4067d8afbUpdated shared taplib
Paul LeoNerd Evans
2013-01-04 17:39:41 +0000
5190963f1bMake sure to implement newer event types in debug function
Paul LeoNerd Evans
2012-12-06 02:09:03 +0000
58850dbac2Bump VERSION to 0.16
Paul LeoNerd Evans
2012-11-30 17:10:07 +0000
1cdeff872fFurther documentation clarifications on the 'code' field of a key event
Paul LeoNerd Evans
2012-11-30 17:06:14 +0000
0be6f18019Handle ANSI and DEC mode report CSIs
Paul LeoNerd Evans
2012-11-30 16:34:47 +0000
c00f6cd3c6Only recognise DECCPR as a position report, so it is distinct from F3
Paul LeoNerd Evans
2012-11-30 16:12:26 +0000
efc5b7e088Try to handle position reports -and- F3 concurrently.. somehow.. argh
Paul LeoNerd Evans
2012-11-30 15:36:06 +0000
8152f9e018Bugfix to argless CSIs; present 0 arguments, not 1 whose value is -1
Paul LeoNerd Evans
2012-11-30 15:31:04 +0000
d08c0844a4Slightly more generic custom CSI handling - name functions just after the letter they parse, so we can multiplex on 'cmd' or other things
Paul LeoNerd Evans
2012-11-30 15:23:41 +0000
fdb44d9796Moved the other termkey_interpret_*() functions into driver-csi.c where they arguably belong
Paul LeoNerd Evans
2012-11-30 15:01:20 +0000
b87ca771bfMake the generated termkey.h file readonly
Paul LeoNerd Evans
2012-11-30 15:00:21 +0000
d5c3d9c8feAlso interpret an intermediate CSI byte if present
Paul LeoNerd Evans
2012-11-30 14:43:00 +0000
26912d989bUnit test that CSI initial command also works
Paul LeoNerd Evans
2012-11-30 14:37:28 +0000
7b3dc4be71Return a real key type for unrecognised CSI sequences; allow accessing them by termkey_interpret_csi()
Paul LeoNerd Evans
2012-11-30 14:35:23 +0000
d241d6216aSplit out the actual CSI parser into its own function, separate from peekkey_csi
Paul LeoNerd Evans
2012-11-30 13:52:56 +0000
29298167d1Install library using libtool install rather than libtool cp --remove-destination because the latter is non-portable
Paul LeoNerd Evans
2012-05-10 16:00:01 +0100
1c816b753dMake sure to 'make clean' includes demo-glib
Paul LeoNerd Evans
2012-04-25 19:45:52 +0100
06fd040119Bugfix to POSITION reporting - swap line<=>col
Paul LeoNerd Evans
2012-04-25 18:34:47 +0100
ca4d98b0f7Have demo.c request cursor position on '?'; print position reports and mouse nicer
Paul LeoNerd Evans
2012-04-25 18:32:18 +0100
af3c0bf378Many small manpage markup fixes
Paul LeoNerd Evans
2012-04-25 00:59:13 +0100
cd57c39191Bump VERSION to 0.15
Paul LeoNerd Evans
2012-04-25 00:17:20 +0100
f06cd325a2Ensure that key->type field is properly set for all mouse encoding protocols
Paul LeoNerd Evans
2012-04-24 17:42:01 +0100
c944b95696Documentation on new TERMKEY_TYPE_POSITION events
Paul LeoNerd Evans
2012-04-24 17:34:12 +0100
f5cbf9eb57Also handle CSI R; position report replies to CSI 6n
Paul LeoNerd Evans
2012-04-24 17:27:48 +0100
6645ee9718Neater CSI driver; dispatch command handlers from an array
Paul LeoNerd Evans
2012-04-24 16:33:13 +0100
a6aa8c433bAlways load the CSI driver because it contains cross-terminal mouse and CSI u handling
Paul LeoNerd Evans
2012-04-24 15:58:37 +0100
f33513282aCreated abstract accessors for getting/setting key event line/col counts
Paul LeoNerd Evans
2012-04-24 15:25:17 +0100
3b3a7c2f45Added some notes about what mouse protocols are supported
Paul LeoNerd Evans
2012-04-12 19:21:31 +0100
72d9819a93Also pass 'index' argument to man-to-html.pl
Paul LeoNerd Evans
2012-04-12 19:21:03 +0100
fedda1bdd4Note the limited range of mouse line/column number
Paul LeoNerd Evans
2012-04-12 18:05:05 +0100
7d6a41eabatermkey_interpret_mouse takes const key, does not set modifiers, as that's already done
Paul LeoNerd Evans
2012-04-12 18:03:07 +0100
8cf0858276Use spare bits in code.mouse[3] to store bigger mouse positions
Paul LeoNerd Evans
2012-04-12 17:02:45 +0100
84378bcba8Allow setting mouse encoding protocol from demo
Paul LeoNerd Evans
2012-04-12 01:08:12 +0100
60b4bfaf72Recognise SGR-style mouse encoding
Paul LeoNerd Evans
2012-04-12 00:19:10 +0100
ff99b29b96Recognise rxvt-style mouse encoding
Paul LeoNerd Evans
2012-04-12 00:12:19 +0100
789a5a3c9dExtract modifiers for mouse events at peekkey time
Paul LeoNerd Evans
2012-04-05 18:54:30 +0100
5f942e9e3eAdded a unit test for mouse report events
Paul LeoNerd Evans
2012-04-05 17:57:13 +0100
a29d9f0f3cCreated a demo to show libtermkey in a GLib-based program
Paul LeoNerd Evans
2012-04-01 20:04:01 +0100
6070de26f1Fix manpage bug in termkey_start.3
Paul LeoNerd Evans
2012-03-26 19:07:56 +0100
36ab3ba8eaBump VERSION to 0.14
Paul LeoNerd Evans
2012-03-26 18:56:57 +0100
4c9a4cab6bNeed to ship man/also in distribution tarball
Paul LeoNerd Evans
2012-03-26 18:55:59 +0100
a3fecd8767Also pack the unit tests into the dist tarball, and allow building them in-target
Paul LeoNerd Evans
2012-03-26 18:49:45 +0100
85d44442e9Avoid the underscore in struct _TermKey
Paul LeoNerd Evans
2012-03-26 18:30:04 +0100
d3e56776b7Consistency updates to Makefile to make it more like libvterm's
Paul LeoNerd Evans
2012-03-12 19:47:30 +0000
775806d32bAdded documentation for termkey_{start,stop}, termkey_is_started
Paul LeoNerd Evans
2012-03-08 21:58:27 +0000
24fd4f668dUse man/also for manpage aliasing rather than duplicating the list (incorrectly) in the Makefile
Paul LeoNerd Evans
2012-03-08 21:51:42 +0000
8237f3a1bcHave getkey/waitkey return RES_ERROR/EINVAL if stopped
Paul LeoNerd Evans
2012-03-08 21:31:16 +0000
cb00476f09Added a termkey_is_started() accessor; unit test it a bit
Paul LeoNerd Evans
2012-03-08 21:24:39 +0000
43a83e6e96Move the terminal start/stop code into their own functions, exported (undocumented for now)
Paul LeoNerd Evans
2012-03-08 21:15:25 +0000
f7e4986849Also link to termkey_{get,set}_buffer_size(3) from termkey(7)
Paul LeoNerd Evans
2012-03-08 14:35:47 +0000
8e45515710Bump VERSION to 0.13
Paul LeoNerd Evans
2012-03-08 13:54:44 +0000
80fd6a2346Optionally build against libncursesw if unibilium isn't present, before falling back on plain libncurses
Paul LeoNerd Evans
2012-03-08 12:05:27 +0000
5d44c08ecfAdded manpage for termkey_{get,set}_buffer_size
Paul LeoNerd Evans
2012-02-13 23:56:59 +0000
e252c497aeAdded (undocumented) termkey_set_buffer_size()
Paul LeoNerd Evans
2012-02-13 23:40:42 +0000
5779ec3cd1Added (undocumented) termkey_get_buffer_size()
Paul LeoNerd Evans
2012-02-13 21:57:33 +0000
ee12c698daDocument the errors set by termkey_new(), use errno rather than fprintf() to stderr
Paul LeoNerd Evans
2012-01-29 16:13:38 +0000
9b20346dc3Symlink manpage for termkey_new_abstract
Paul LeoNerd Evans
2012-01-26 15:27:42 +0000
50327ce6dcUse termkey_new_abstract() in unit tests
Paul LeoNerd Evans
2012-01-26 12:55:34 +0000
ea2d3073acCreated termkey_new_abstract()
Paul LeoNerd Evans
2012-01-26 12:55:16 +0000
63f37cecd6Move initialisation logic out of termkey_new into a static function
Paul LeoNerd Evans
2012-01-26 10:13:03 +0000
8b46e65aa3Use termkey_set_flags() in constructor rather than copypasted logic
Paul LeoNerd Evans
2012-01-26 10:07:23 +0000
f9fe338e3eSplit termkey_new() into alloc and initialise phases
Paul LeoNerd Evans
2012-01-26 10:06:05 +0000
4cf544f26cAlso mark termkey.c's modnames as static
Paul LeoNerd Evans
2012-01-22 18:56:08 +0000
2a82ab2f1bMark new driver-csi internal variables as static so they don't result in linkable symbols
Paul LeoNerd Evans
2012-01-22 18:54:17 +0000
429ecf0f1aFix 'make dist' target for new man/ subdir
Paul LeoNerd Evans
2012-01-22 15:52:19 +0000
6b256e961eBump VERSION to 0.12
Paul LeoNerd Evans
2012-01-22 15:47:21 +0000
56b2612908Also mkdir MAN7DIR at install time
Paul LeoNerd Evans
2012-01-22 15:46:55 +0000
948e48d56aVarious other minor fixes to manpages
Paul LeoNerd Evans
2012-01-21 23:26:47 +0000
cfb0480c1aEnsure that 'make htmldocs' rebuilds built manpages
Paul LeoNerd Evans
2012-01-21 01:06:48 +0000
fa36d8a97bFix Makefile for manpage generation of new man/termkey.7
Paul LeoNerd Evans
2012-01-21 01:06:01 +0000
107587744cRemoved note about termkey_keycmp() not canonicalising key structures, since it does in fact do exactly that
Paul LeoNerd Evans
2012-01-21 00:56:08 +0000
61e304c6b4Fix some typoes in termkey_set_canonflags.3
Paul LeoNerd Evans
2012-01-21 00:53:35 +0000
dc5ce23316Link to termkey(7) from other manpages, delete some of the duplicated sections
Paul LeoNerd Evans
2012-01-21 00:52:13 +0000
c3de4f7801Initial stab at termkey(7) manpage
Paul LeoNerd Evans
2012-01-21 00:36:00 +0000
7ec2107f47Note in termkey_new(3) that the caller has to init. the terminal in abstract or pipe cases
Paul LeoNerd Evans
2012-01-20 20:07:59 +0000
2ed8bae4f6Don't try to write() the start/stop string if the fd is a pipe, because this will never work
Paul LeoNerd Evans
2012-01-20 20:01:11 +0000
62b8773108Fix another printf() %c char
Paul LeoNerd Evans
2012-01-20 18:13:37 +0000
229792aad7Handle realloc() failures when registering key names
Paul LeoNerd Evans
2012-01-20 18:03:08 +0000
08b7eaa5b7Since CSI key info is the same for every CSI driver, just store one static copy of it rather than one for every termkey instance - simplifies construct-time allocation
Paul LeoNerd Evans
2012-01-20 18:01:19 +0000
4f5d529760fprintf() %c wants char, not unsigned char
Paul LeoNerd Evans
2012-01-20 17:03:54 +0000
541a4328dbsscanf() %zn ought to take a ssize_t *
Paul LeoNerd Evans
2012-01-20 17:01:38 +0000
052738b8f4Allow {start,stop}_driver to fail, abort constructor, have driver-ti try to write the entire start/stop string or error out on -1
Paul LeoNerd Evans
2012-01-20 17:00:09 +0000
8d2fa34a52(void)-cast calls to write() in driver-ti start/stop since we don't -really- care if they fail, there's not much we can do about it
Paul LeoNerd Evans
2012-01-20 16:44:33 +0000
6bc3f8a378\e string escape is not portable; use \033
Paul LeoNerd Evans
2012-01-18 16:36:10 +0000
3981920938Delete trailing comma in enum{} to keep C++ happy
Paul LeoNerd Evans
2012-01-18 16:29:29 +0000
242da047a0Use only C89 commenting style in .h file, in case of C89 compilers or similar that want to link
Paul LeoNerd Evans
2012-01-18 15:16:13 +0000
0486ca8212More minor docs updates
Paul LeoNerd Evans
2012-01-18 14:31:25 +0000