Commit Graph

  • 4fd397af2c Invoke libtool cc instead of libtool gcc, for those platforms now using clang (FreeBSD 10) Paul LeoNerd Evans 2014-01-05 19:48:42 +0000
  • d97617963d Look for \.UTF-8 only in the first env. var found from LANG, LC_MESSAGES, LC_ALL Paul LeoNerd Evans 2014-01-05 18:23:46 +0000
  • 8bed1fdbf0 Add TERMKEY_FORMAT_URWID shortcut [thanks Romain Chossart] Paul LeoNerd Evans 2013-08-26 18:51:29 +0100
  • e3d0baa846 Bugfix to snprint_cameltospaces() when given a short buffer [thanks Romain Chossart] Paul LeoNerd Evans 2013-08-26 18:46:01 +0100
  • e9a1302e4c Delete trailing whitespace in code Paul LeoNerd Evans 2013-08-26 02:35:40 +0100
  • f4770f2d8e Docs fix - fullstop at end of sentence Paul LeoNerd Evans 2013-08-26 02:33:49 +0100
  • d58faf55b4 Fix comment about 'n' in strpncmp_camel() Paul LeoNerd Evans 2013-08-26 02:30:43 +0100
  • a86f23588b Minor doc update - strpkey expects strings, doesn't use them Paul LeoNerd Evans 2013-08-26 02:27:24 +0100
  • 8e503baed8 Added TERMKEY_FORMAT_LOWERSPACE for strpkey() also Paul LeoNerd Evans 2013-08-26 02:23:19 +0100
  • 3b2d8eb813 Added TERMKEY_FORMAT_LOWERSPACE for strfkey() only Paul LeoNerd Evans 2013-08-26 01:32:35 +0100
  • a36648e172 Added TERMKEY_FORMAT_LOWERMOD Paul LeoNerd Evans 2013-08-26 01:14:35 +0100
  • 24abb0c59e Added TERMKEY_FORMAT_SPACEMOD Paul LeoNerd Evans 2013-08-26 00:56:07 +0100
  • 89ac8b058c Make some more things 'const' that should be Paul LeoNerd Evans 2013-07-15 01:03:35 +0100
  • b4067d8afb Updated shared taplib Paul LeoNerd Evans 2013-01-04 17:39:41 +0000
  • 5190963f1b Make sure to implement newer event types in debug function Paul LeoNerd Evans 2012-12-06 02:09:03 +0000
  • 58850dbac2 Bump VERSION to 0.16 Paul LeoNerd Evans 2012-11-30 17:10:07 +0000
  • 1cdeff872f Further documentation clarifications on the 'code' field of a key event Paul LeoNerd Evans 2012-11-30 17:06:14 +0000
  • 0be6f18019 Handle ANSI and DEC mode report CSIs Paul LeoNerd Evans 2012-11-30 16:34:47 +0000
  • c00f6cd3c6 Only recognise DECCPR as a position report, so it is distinct from F3 Paul LeoNerd Evans 2012-11-30 16:12:26 +0000
  • efc5b7e088 Try to handle position reports -and- F3 concurrently.. somehow.. argh Paul LeoNerd Evans 2012-11-30 15:36:06 +0000
  • 8152f9e018 Bugfix to argless CSIs; present 0 arguments, not 1 whose value is -1 Paul LeoNerd Evans 2012-11-30 15:31:04 +0000
  • d08c0844a4 Slightly 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
  • fdb44d9796 Moved the other termkey_interpret_*() functions into driver-csi.c where they arguably belong Paul LeoNerd Evans 2012-11-30 15:01:20 +0000
  • b87ca771bf Make the generated termkey.h file readonly Paul LeoNerd Evans 2012-11-30 15:00:21 +0000
  • d5c3d9c8fe Also interpret an intermediate CSI byte if present Paul LeoNerd Evans 2012-11-30 14:43:00 +0000
  • 26912d989b Unit test that CSI initial command also works Paul LeoNerd Evans 2012-11-30 14:37:28 +0000
  • 7b3dc4be71 Return 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
  • d241d6216a Split out the actual CSI parser into its own function, separate from peekkey_csi Paul LeoNerd Evans 2012-11-30 13:52:56 +0000
  • 29298167d1 Install 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
  • 1c816b753d Make sure to 'make clean' includes demo-glib Paul LeoNerd Evans 2012-04-25 19:45:52 +0100
  • 06fd040119 Bugfix to POSITION reporting - swap line<=>col Paul LeoNerd Evans 2012-04-25 18:34:47 +0100
  • ca4d98b0f7 Have demo.c request cursor position on '?'; print position reports and mouse nicer Paul LeoNerd Evans 2012-04-25 18:32:18 +0100
  • af3c0bf378 Many small manpage markup fixes Paul LeoNerd Evans 2012-04-25 00:59:13 +0100
  • cd57c39191 Bump VERSION to 0.15 Paul LeoNerd Evans 2012-04-25 00:17:20 +0100
  • f06cd325a2 Ensure that key->type field is properly set for all mouse encoding protocols Paul LeoNerd Evans 2012-04-24 17:42:01 +0100
  • c944b95696 Documentation on new TERMKEY_TYPE_POSITION events Paul LeoNerd Evans 2012-04-24 17:34:12 +0100
  • f5cbf9eb57 Also handle CSI R; position report replies to CSI 6n Paul LeoNerd Evans 2012-04-24 17:27:48 +0100
  • 6645ee9718 Neater CSI driver; dispatch command handlers from an array Paul LeoNerd Evans 2012-04-24 16:33:13 +0100
  • a6aa8c433b Always load the CSI driver because it contains cross-terminal mouse and CSI u handling Paul LeoNerd Evans 2012-04-24 15:58:37 +0100
  • f33513282a Created abstract accessors for getting/setting key event line/col counts Paul LeoNerd Evans 2012-04-24 15:25:17 +0100
  • 3b3a7c2f45 Added some notes about what mouse protocols are supported Paul LeoNerd Evans 2012-04-12 19:21:31 +0100
  • 72d9819a93 Also pass 'index' argument to man-to-html.pl Paul LeoNerd Evans 2012-04-12 19:21:03 +0100
  • fedda1bdd4 Note the limited range of mouse line/column number Paul LeoNerd Evans 2012-04-12 18:05:05 +0100
  • 7d6a41eaba termkey_interpret_mouse takes const key, does not set modifiers, as that's already done Paul LeoNerd Evans 2012-04-12 18:03:07 +0100
  • 8cf0858276 Use spare bits in code.mouse[3] to store bigger mouse positions Paul LeoNerd Evans 2012-04-12 17:02:45 +0100
  • 84378bcba8 Allow setting mouse encoding protocol from demo Paul LeoNerd Evans 2012-04-12 01:08:12 +0100
  • 60b4bfaf72 Recognise SGR-style mouse encoding Paul LeoNerd Evans 2012-04-12 00:19:10 +0100
  • ff99b29b96 Recognise rxvt-style mouse encoding Paul LeoNerd Evans 2012-04-12 00:12:19 +0100
  • 789a5a3c9d Extract modifiers for mouse events at peekkey time Paul LeoNerd Evans 2012-04-05 18:54:30 +0100
  • 5f942e9e3e Added a unit test for mouse report events Paul LeoNerd Evans 2012-04-05 17:57:13 +0100
  • a29d9f0f3c Created a demo to show libtermkey in a GLib-based program Paul LeoNerd Evans 2012-04-01 20:04:01 +0100
  • 6070de26f1 Fix manpage bug in termkey_start.3 Paul LeoNerd Evans 2012-03-26 19:07:56 +0100
  • 36ab3ba8ea Bump VERSION to 0.14 Paul LeoNerd Evans 2012-03-26 18:56:57 +0100
  • 4c9a4cab6b Need to ship man/also in distribution tarball Paul LeoNerd Evans 2012-03-26 18:55:59 +0100
  • a3fecd8767 Also pack the unit tests into the dist tarball, and allow building them in-target Paul LeoNerd Evans 2012-03-26 18:49:45 +0100
  • 85d44442e9 Avoid the underscore in struct _TermKey Paul LeoNerd Evans 2012-03-26 18:30:04 +0100
  • d3e56776b7 Consistency updates to Makefile to make it more like libvterm's Paul LeoNerd Evans 2012-03-12 19:47:30 +0000
  • 775806d32b Added documentation for termkey_{start,stop}, termkey_is_started Paul LeoNerd Evans 2012-03-08 21:58:27 +0000
  • 24fd4f668d Use man/also for manpage aliasing rather than duplicating the list (incorrectly) in the Makefile Paul LeoNerd Evans 2012-03-08 21:51:42 +0000
  • 8237f3a1bc Have getkey/waitkey return RES_ERROR/EINVAL if stopped Paul LeoNerd Evans 2012-03-08 21:31:16 +0000
  • cb00476f09 Added a termkey_is_started() accessor; unit test it a bit Paul LeoNerd Evans 2012-03-08 21:24:39 +0000
  • 43a83e6e96 Move the terminal start/stop code into their own functions, exported (undocumented for now) Paul LeoNerd Evans 2012-03-08 21:15:25 +0000
  • f7e4986849 Also link to termkey_{get,set}_buffer_size(3) from termkey(7) Paul LeoNerd Evans 2012-03-08 14:35:47 +0000
  • 8e45515710 Bump VERSION to 0.13 Paul LeoNerd Evans 2012-03-08 13:54:44 +0000
  • 80fd6a2346 Optionally build against libncursesw if unibilium isn't present, before falling back on plain libncurses Paul LeoNerd Evans 2012-03-08 12:05:27 +0000
  • 5d44c08ecf Added manpage for termkey_{get,set}_buffer_size Paul LeoNerd Evans 2012-02-13 23:56:59 +0000
  • e252c497ae Added (undocumented) termkey_set_buffer_size() Paul LeoNerd Evans 2012-02-13 23:40:42 +0000
  • 5779ec3cd1 Added (undocumented) termkey_get_buffer_size() Paul LeoNerd Evans 2012-02-13 21:57:33 +0000
  • ee12c698da Document the errors set by termkey_new(), use errno rather than fprintf() to stderr Paul LeoNerd Evans 2012-01-29 16:13:38 +0000
  • 9b20346dc3 Symlink manpage for termkey_new_abstract Paul LeoNerd Evans 2012-01-26 15:27:42 +0000
  • 50327ce6dc Use termkey_new_abstract() in unit tests Paul LeoNerd Evans 2012-01-26 12:55:34 +0000
  • ea2d3073ac Created termkey_new_abstract() Paul LeoNerd Evans 2012-01-26 12:55:16 +0000
  • 63f37cecd6 Move initialisation logic out of termkey_new into a static function Paul LeoNerd Evans 2012-01-26 10:13:03 +0000
  • 8b46e65aa3 Use termkey_set_flags() in constructor rather than copypasted logic Paul LeoNerd Evans 2012-01-26 10:07:23 +0000
  • f9fe338e3e Split termkey_new() into alloc and initialise phases Paul LeoNerd Evans 2012-01-26 10:06:05 +0000
  • 4cf544f26c Also mark termkey.c's modnames as static Paul LeoNerd Evans 2012-01-22 18:56:08 +0000
  • 2a82ab2f1b Mark 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
  • 429ecf0f1a Fix 'make dist' target for new man/ subdir Paul LeoNerd Evans 2012-01-22 15:52:19 +0000
  • 6b256e961e Bump VERSION to 0.12 Paul LeoNerd Evans 2012-01-22 15:47:21 +0000
  • 56b2612908 Also mkdir MAN7DIR at install time Paul LeoNerd Evans 2012-01-22 15:46:55 +0000
  • 948e48d56a Various other minor fixes to manpages Paul LeoNerd Evans 2012-01-21 23:26:47 +0000
  • cfb0480c1a Ensure that 'make htmldocs' rebuilds built manpages Paul LeoNerd Evans 2012-01-21 01:06:48 +0000
  • fa36d8a97b Fix Makefile for manpage generation of new man/termkey.7 Paul LeoNerd Evans 2012-01-21 01:06:01 +0000
  • 107587744c Removed 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
  • 61e304c6b4 Fix some typoes in termkey_set_canonflags.3 Paul LeoNerd Evans 2012-01-21 00:53:35 +0000
  • dc5ce23316 Link to termkey(7) from other manpages, delete some of the duplicated sections Paul LeoNerd Evans 2012-01-21 00:52:13 +0000
  • c3de4f7801 Initial stab at termkey(7) manpage Paul LeoNerd Evans 2012-01-21 00:36:00 +0000
  • 7ec2107f47 Note 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
  • 2ed8bae4f6 Don'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
  • 62b8773108 Fix another printf() %c char Paul LeoNerd Evans 2012-01-20 18:13:37 +0000
  • 229792aad7 Handle realloc() failures when registering key names Paul LeoNerd Evans 2012-01-20 18:03:08 +0000
  • 08b7eaa5b7 Since 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
  • 4f5d529760 fprintf() %c wants char, not unsigned char Paul LeoNerd Evans 2012-01-20 17:03:54 +0000
  • 541a4328db sscanf() %zn ought to take a ssize_t * Paul LeoNerd Evans 2012-01-20 17:01:38 +0000
  • 052738b8f4 Allow {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
  • 3981920938 Delete trailing comma in enum{} to keep C++ happy Paul LeoNerd Evans 2012-01-18 16:29:29 +0000
  • 242da047a0 Use 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
  • 0486ca8212 More minor docs updates Paul LeoNerd Evans 2012-01-18 14:31:25 +0000