Paul LeoNerd Evans
|
c4bc0486d4
|
Moved mouse parsing code out of driver-ti.c into core termkey.c
|
2009-11-26 00:27:58 +00:00 |
Paul LeoNerd Evans
|
bdc22b8b3d
|
Remember to zero key->modifiers for mouse events
|
2009-11-25 14:46:19 +00:00 |
Paul LeoNerd Evans
|
ade9d760d3
|
Supply --tag=CC to libtool to inform it we're a C library; in case it doesn't detect that (mumble openbsd mumble)
|
2009-11-25 14:36:44 +00:00 |
Paul LeoNerd Evans
|
7d5b64ff3d
|
Bumped VERSION_MINOR to 0.4
|
2009-11-25 02:31:10 +00:00 |
Paul LeoNerd Evans
|
f2f2c03b56
|
Complete reworking of build system to use libtool
|
2009-11-25 02:30:24 +00:00 |
Paul LeoNerd Evans
|
d1842f8a00
|
Document the new mouse reporting interface
|
2009-11-24 01:37:46 +00:00 |
Paul LeoNerd Evans
|
c9d2bd93fd
|
Implement XTerm mouse parsing in terminfo driver
|
2009-11-24 01:31:35 +00:00 |
Paul LeoNerd Evans
|
7459a038fb
|
Make demo enable mouse mode if given on commandline
|
2009-11-24 01:30:52 +00:00 |
Paul LeoNerd Evans
|
ceeaf717bd
|
Print Mouse() rather than shouting MOUSE()
|
2009-11-24 01:25:40 +00:00 |
Paul LeoNerd Evans
|
2ba9849ab5
|
Public interface for MOUSE support
|
2009-11-24 01:22:55 +00:00 |
Paul LeoNerd Evans
|
513e0ac59b
|
Bugfix to termkey_format_key() in FORMAT_CARETCTRL case when formatting Ctrl-Letter
|
2009-11-23 23:59:46 +00:00 |
Paul LeoNerd Evans
|
83c7c3f668
|
Cope with building distdir at minor versions .3 (otherwise it clashes with *.3)
|
2009-07-15 20:52:35 +01:00 |
Paul LeoNerd Evans
|
be998cef1b
|
Renamed all type names to CamelCaseNames for visual distinctness, separate from variables/functions
|
2009-07-15 20:40:44 +01:00 |
Paul LeoNerd Evans
|
af50967d12
|
Substitute version into termkey.pc.in at 'make dist' time
|
2008-12-15 20:49:59 +00:00 |
Paul LeoNerd Evans
|
51ed20590a
|
Bump VERSION_MAJOR to 0.2
|
2008-12-12 00:43:52 +00:00 |
Paul LeoNerd Evans
|
215b02e77f
|
Represent Ctrl-letter in lowercase in the struct, so as one day to be able to do Ctrl-Shift-letter. Make sure ^X notation is still capital
|
2008-12-10 01:34:40 +00:00 |
Paul LeoNerd Evans
|
9f1e7b34eb
|
Resort back to using GNU sed in .sh built manpages, as we only need them at 'make dist' time now; doesn't matter that BSD can't run them
|
2008-12-10 01:03:43 +00:00 |
Paul LeoNerd Evans
|
696c145599
|
Make termkey_getkey() set a peeked key structure if it returns TERMKEY_RET_AGAIN
|
2008-12-10 00:38:21 +00:00 |
Paul LeoNerd Evans
|
ef669c134d
|
Complete change of driver internals - peek and return size but don't eat bytes; eat later in getkey()
|
2008-12-10 00:23:47 +00:00 |
Paul LeoNerd Evans
|
eee8ddcee3
|
Linefeed properly in main() in demo files
|
2008-12-08 22:54:14 +00:00 |
Paul LeoNerd Evans
|
d54b7b4274
|
Documentation fix for termkey_get_fd - returns int, not void
|
2008-12-02 23:06:08 +00:00 |
Paul LeoNerd Evans
|
c10d6f02e4
|
Make sure only to slide buffer down when returning a real key to the user, or else it might upset the meta-key logic when it returns
|
2008-12-06 00:03:48 +00:00 |
Paul LeoNerd Evans
|
97a47e9b16
|
Make common static function getkey(), roll functionallity of termkey_getkey{,_force}() into it
|
2008-12-05 23:55:44 +00:00 |
Paul LeoNerd Evans
|
43a99e64f2
|
strdup() the terminfo keypad_local and keypad_xmit strings at construct time, in case multiple instances and they change beneath us
|
2008-12-03 20:19:15 +00:00 |
Paul LeoNerd Evans
|
2c1bea4f15
|
Use a C99 flexible array member rather than the [0] hack
|
2008-12-02 01:05:47 +00:00 |
Paul LeoNerd Evans
|
2fba93b690
|
Added termkey_keyname2sym() to API
|
2008-12-02 00:56:43 +00:00 |
Paul LeoNerd Evans
|
f75bdf1516
|
Added termkey_get_fd() to API
|
2008-12-01 22:36:14 +00:00 |
Paul LeoNerd Evans
|
8737046c4d
|
Extra documentation about the three types of key event structure, and what the code members mean
|
2008-11-30 12:43:13 +00:00 |
Paul LeoNerd Evans
|
39b810f0b8
|
Use shell natively to embed demo .c files in manpages rather than invoking sed, because OpenBSD's sed doesn't seem to like this
|
2008-11-28 19:58:16 +00:00 |
Paul LeoNerd Evans
|
d245285df2
|
Cast 'term' to (non-const) char* when passing to setupterm() because terminfo's prototypes don't use const
|
2008-11-28 19:48:41 +00:00 |
Paul LeoNerd Evans
|
fef558eeb4
|
Use sizeof() on assigned variables rather than types, to make code a little less fragile to type changes
|
2008-11-24 22:15:43 +00:00 |
Paul LeoNerd Evans
|
2cfa31e610
|
Make on_key() static in demo-async.c to shut up silly GCC warnings
|
2008-11-24 22:07:13 +00:00 |
Paul LeoNerd Evans
|
c6ff878411
|
Fixed another signed-vs-unsigned int comparison in driver-ti.c
|
2008-11-24 22:06:14 +00:00 |
Paul LeoNerd Evans
|
85be2846c3
|
Make sure l is always initialised in termkey_snprint_key()
|
2008-11-24 22:05:06 +00:00 |
Paul LeoNerd Evans
|
c8011f4bfd
|
Make termkey_new_full() static for now until we expose the API fully
|
2008-11-24 22:03:23 +00:00 |
Paul LeoNerd Evans
|
f3f4519561
|
Fixed some signed/unsigned integer mismatches, including one important bug
|
2008-11-24 21:58:55 +00:00 |
Paul LeoNerd Evans
|
a40e9961d9
|
Export a gzip rather than bzip2 archive
|
2008-11-24 21:47:18 +00:00 |
Paul LeoNerd Evans
|
5c428818dd
|
Bump VERSION_MINOR to 0.1
|
2008-11-18 16:58:37 +00:00 |
Paul LeoNerd Evans
|
0dc23ed684
|
Remove actual .so file on 'make clean'
|
2008-11-18 16:24:28 +00:00 |
Paul LeoNerd Evans
|
69196bcf1f
|
Install to SONAME.MINOR and symlink to SONAME and basename
|
2008-11-18 15:57:59 +00:00 |
Paul LeoNerd Evans
|
14561e2a30
|
Only print about unrecognised terminfo variable names when debugging
|
2008-11-18 15:55:29 +00:00 |
Paul LeoNerd Evans
|
56634d0c82
|
Also added 'make dist' target to build distribution tarball
|
2008-11-18 15:46:29 +00:00 |
Paul LeoNerd Evans
|
223d5b19a2
|
Split Makefile into two halves; added 'make distdir' target for building distribution tarballs
|
2008-11-18 15:37:37 +00:00 |
Paul LeoNerd Evans
|
c41763c60a
|
Document the TERMKEY_CHECK_VERSION macro
|
2008-11-18 12:19:29 +00:00 |
Paul LeoNerd Evans
|
297cec0681
|
Better Makefile support for built manpages and termkey.h file
|
2008-11-18 11:55:08 +00:00 |
Paul LeoNerd Evans
|
480e30539b
|
Added .bzrignore patterns for other built files
|
2008-11-16 12:44:02 +00:00 |
Paul LeoNerd Evans
|
4f73b850c5
|
Added compile-vs-runtime library version checks
|
2008-11-16 12:40:14 +00:00 |
Paul LeoNerd Evans
|
c2dd9675d6
|
Store major and minor version number in Makefile; substitute #defines in termkey.h at build time
|
2008-11-16 12:28:38 +00:00 |
Paul LeoNerd Evans
|
4a108d4916
|
Compress trie nodes down to extent maps after loading, to save memory
|
2008-11-12 23:58:20 +00:00 |
Paul LeoNerd Evans
|
754214c200
|
Use a trie instead of a linear list of sequence strings in the terminfo driver - nicer lookup properties
|
2008-11-12 16:32:17 +00:00 |