Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/neovim/libtermkey
https://github.com/neovim/libtermkey
Include a LICENSE file
605d4900f2a08d28f722be28a317a296ce364036 authored over 13 years ago
605d4900f2a08d28f722be28a317a296ce364036 authored over 13 years ago
Put LIBDIR and INCDIR directly in termkey.pc; don't indirect via PREFIX as it might be incorrect
548b35f723da72d9a8adfe2d04332dfdf5c24b21 authored over 13 years ago
548b35f723da72d9a8adfe2d04332dfdf5c24b21 authored over 13 years ago
Mouse position coordinates are unsigned
071cdb9b2adf0fcd69c2eb42229064f33174d235 authored over 13 years ago
071cdb9b2adf0fcd69c2eb42229064f33174d235 authored over 13 years ago
Ignore VDSUSP as a signal-sending key too, if platform defines it
c14844afc9968e961beb0da37beb6a1e17c3b972 authored over 13 years ago
c14844afc9968e961beb0da37beb6a1e17c3b972 authored over 13 years ago
sscanf'ing a size_t requires %zn
fb8147451b7c2bae2c0887d3a3fd68caef753ec8 authored over 13 years ago
fb8147451b7c2bae2c0887d3a3fd68caef753ec8 authored over 13 years ago
Bumped VERSION to 0.8
5662317c66901633df569ca38a28301385291269 authored over 13 years ago
5662317c66901633df569ca38a28301385291269 authored over 13 years ago
Gracefully ignore read() yielding EINTR rather than bailing out
b6cee8873df3cd500fde50b45a6cd93af633b1c1 authored over 13 years ago
b6cee8873df3cd500fde50b45a6cd93af633b1c1 authored over 13 years ago
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
1b9ddc276ccff033a5b0268627726cbfdbdf82c4 authored over 13 years ago
1b9ddc276ccff033a5b0268627726cbfdbdf82c4 authored over 13 years ago
Disable ISIG mode entirely if FLAG_CTRLC is set
dfc51c3ebbf30a14a73fba7237b1ee2ec4eb8649 authored over 13 years ago
dfc51c3ebbf30a14a73fba7237b1ee2ec4eb8649 authored over 13 years ago
Also handle new 'fixterms' spec CSI codepoint;modifiers u encoding
1baa5e0ef26556c66e22d02bc59da7d39b7170f3 authored over 13 years ago
1baa5e0ef26556c66e22d02bc59da7d39b7170f3 authored over 13 years ago
demo.c needs to enable CTRLC flag to shut down mouse mode on exit
44e14e39e53ee968ed2e67a214b049782c7e0ce6 authored over 13 years ago
44e14e39e53ee968ed2e67a214b049782c7e0ce6 authored over 13 years ago
Bugfix to termkey_keycmp - implement sense in correct direction
eaa766457966a8cfa84a9f5b26edbea4cbbbca26 authored almost 14 years ago
eaa766457966a8cfa84a9f5b26edbea4cbbbca26 authored almost 14 years ago
Bugfix termkey_strpkey parsing unicode with trailing content
7b9e731b2e8eb8778f389274a88e0e9e3a2c022c authored almost 14 years ago
7b9e731b2e8eb8778f389274a88e0e9e3a2c022c authored almost 14 years ago
Assert that termkey_strpkey's return points to endofstring after parse
cb7a14e89161d0c24ac91a94888bdcfbbc8916d5 authored almost 14 years ago
cb7a14e89161d0c24ac91a94888bdcfbbc8916d5 authored almost 14 years ago
Bumped VERSION to 0.7
d5d575fc0895404d433a118878a5c2c6b1e20125 authored almost 14 years ago
d5d575fc0895404d433a118878a5c2c6b1e20125 authored almost 14 years ago
Solaris requires #define _XPG6
9ae90bc4abd44c62fe91b67d56ac2f2570601280 authored almost 14 years ago
9ae90bc4abd44c62fe91b67d56ac2f2570601280 authored almost 14 years ago
Refer to strfkey not snprint_key; add links to termkey_keycmp
857ea289e921f8f3d6df8020a0dde56a39fd0190 authored almost 14 years ago
857ea289e921f8f3d6df8020a0dde56a39fd0190 authored almost 14 years ago
Fixed another couple of typoes in manpages
dba3ad7d514b5f1c287cfffad751d41a216e5065 authored almost 14 years ago
dba3ad7d514b5f1c287cfffad751d41a216e5065 authored almost 14 years ago
Various minor neatenings to manpage formatting
394e01b86c81f9459313d28aec8e11cdbc7a93a3 authored almost 14 years ago
394e01b86c81f9459313d28aec8e11cdbc7a93a3 authored almost 14 years ago
Bugfixes to manpage layout - no need to .br when the demo is pulled in a .nf anyway; remember to escape slashes
15ec7d972ec04e4c138718e341ce5d11d588587e authored almost 14 years ago
15ec7d972ec04e4c138718e341ce5d11d588587e authored almost 14 years ago
Provide termkey_keycmp() for sorting purposes
865423e8a5955b693568a402c42f272dc701481f authored almost 14 years ago
865423e8a5955b693568a402c42f272dc701481f authored almost 14 years ago
Docs fix for termkey_strfkey
3aa284bdd63b3e4e7e6252f4031f23c2b11a4248 authored almost 14 years ago
3aa284bdd63b3e4e7e6252f4031f23c2b11a4248 authored almost 14 years ago
Add a couple more 'const' markings to API functions where appropriate
787cb4a07af630230d5d8040599f44838a9dec79 authored almost 14 years ago
787cb4a07af630230d5d8040599f44838a9dec79 authored almost 14 years ago
Adjust termkey_strpkey() API more like strptime(); return pointer to end of recognised section, allows for stream parsing
ad5dfb2499acb61f8ac9b098b3bff8d80c2a66b2 authored almost 14 years ago
ad5dfb2499acb61f8ac9b098b3bff8d80c2a66b2 authored almost 14 years ago
Provide a termkey_lookup_keyname that can do partial buffer parsing
72edae51b9f29b1667a59ecce19e5f807f267e06 authored almost 14 years ago
72edae51b9f29b1667a59ecce19e5f807f267e06 authored almost 14 years ago
Initial manpage for termkey_strpkey
7a48f6bfc09c10d0551e3450739601ef765fb235 authored almost 14 years ago
7a48f6bfc09c10d0551e3450739601ef765fb235 authored almost 14 years ago
Ensure strpkey can parse numbered function keys
3d639dfd98a3a60a0a51ed89d47a66ef5bee5f2c authored almost 14 years ago
3d639dfd98a3a60a0a51ed89d47a66ef5bee5f2c authored almost 14 years ago
Unicode codepoint is stored in key->code.codepoint, not code.number
476a46d8521a227c8fe6850b488a2851cdb898f7 authored almost 14 years ago
476a46d8521a227c8fe6850b488a2851cdb898f7 authored almost 14 years ago
Partial implementation of termkey_strpkey(3); missing FORMAT_WRAPBRACKET and TYPE_FUNCTION support
6f250049db0d2793cbdaf5e5d5f57f6fc5645ef1 authored almost 14 years ago
6f250049db0d2793cbdaf5e5d5f57f6fc5645ef1 authored almost 14 years ago
Neater implementation of key modifier names for strfkey; put them in a little table
c9a82cf0414793f9d6ba59a08079c57921ae6cab authored almost 14 years ago
c9a82cf0414793f9d6ba59a08079c57921ae6cab authored almost 14 years ago
Extract UTF-8 sequence parser into its own function, fix bugs, apply unit tests
b082ba0e2517592b6c6df68d49b7b1a8c294cff0 authored almost 14 years ago
b082ba0e2517592b6c6df68d49b7b1a8c294cff0 authored almost 14 years ago
Added unit tests for UTF-8 parser
1b4bfa90578c4f64b5556fee0e73c4c317292bdd authored almost 14 years ago
1b4bfa90578c4f64b5556fee0e73c4c317292bdd authored almost 14 years ago
Updated manpages for function rename sprint_key -> strfkey
cd11e88854bd6afc88b07c9fd0ea6dd41f469877 authored almost 14 years ago
cd11e88854bd6afc88b07c9fd0ea6dd41f469877 authored almost 14 years ago
Added some unit tests for termkey_strfkey(3)
ee292ef8a7d771f7693ed03e642da0bd3ae7e363 authored almost 14 years ago
ee292ef8a7d771f7693ed03e642da0bd3ae7e363 authored almost 14 years ago
strfkey should fill in the utf8 member of a key struct if it's empty
d1a3c32c00f1d4db1abbbb2e5af2c6b36f4abafc authored almost 14 years ago
d1a3c32c00f1d4db1abbbb2e5af2c6b36f4abafc authored almost 14 years ago
#include termkey.h from the correct path in unit tests
c7c40596c29de89b7d7d53ef4b7879bda6324b5c authored almost 14 years ago
c7c40596c29de89b7d7d53ef4b7879bda6324b5c authored almost 14 years ago
Added some unit tests for keyname <=> sym constant conversions
a8b0e277f072ff0d723f46b512976e838bbfa919 authored almost 14 years ago
a8b0e277f072ff0d723f46b512976e838bbfa919 authored almost 14 years ago
taplib's is_str() should take const char *
85fbce6b04d60b0f457ea41b2b4820cedc7f499f authored almost 14 years ago
85fbce6b04d60b0f457ea41b2b4820cedc7f499f authored almost 14 years ago
Added some unit testing for termkey_getkey(3) and friends
3d9e8d05dcc1b12a0b04c1e7885b6ec06dbea11f authored almost 14 years ago
3d9e8d05dcc1b12a0b04c1e7885b6ec06dbea11f authored almost 14 years ago
is()-like testing for ints and strings
6dc717b61cec6e06e7eebac149e9a2e1667820f4 authored almost 14 years ago
6dc717b61cec6e06e7eebac149e9a2e1667820f4 authored almost 14 years ago
Remember to exit with exit_status() from unit testing
24d32a8df0945e75417922df9e2576934c47030c authored almost 14 years ago
24d32a8df0945e75417922df9e2576934c47030c authored almost 14 years ago
Created a little Test::More-like library for TAP testing
e06f0720e47dfa5c00284361d6276840aa41a203 authored almost 14 years ago
e06f0720e47dfa5c00284361d6276840aa41a203 authored almost 14 years ago
bzr ignore t/*.t
05c387358fcc7836f5a392c3303bd08d43203670 authored almost 14 years ago
05c387358fcc7836f5a392c3303bd08d43203670 authored almost 14 years ago
Created a unit-testing system using perl's prove
1643f404baebeff3cfabc5fed13d1046e1f0e067 authored almost 14 years ago
1643f404baebeff3cfabc5fed13d1046e1f0e067 authored almost 14 years ago
Renamed snprint_key() to strfkey(); provide redirection trampoline
fe330d2a0b0429bcb49e6205240e341585292df6 authored almost 14 years ago
fe330d2a0b0429bcb49e6205240e341585292df6 authored almost 14 years ago
Minor whitespace fixes in termkey.h.in
2bd3974638b52cceeeec543dfb76eaeb1bf92124 authored almost 14 years ago
2bd3974638b52cceeeec543dfb76eaeb1bf92124 authored almost 14 years ago
Provide guarded extern "C" { ... } wrapper for C++ compilers
2e9f91406948c80cc09d3ece9693205adef8876e authored almost 14 years ago
2e9f91406948c80cc09d3ece9693205adef8876e authored almost 14 years ago
C++ compilers don't like trailing commas in enums; remove them
1ba8fdbaf1749fdc56bd79147ce3570eedea8f8b authored almost 14 years ago
1ba8fdbaf1749fdc56bd79147ce3570eedea8f8b authored almost 14 years ago
include <curses.h> before <term.h> as it's required in that order on Solaris
37bd86ea52a44c6e5fd399f37294c2804b8d7b96 authored almost 14 years ago
37bd86ea52a44c6e5fd399f37294c2804b8d7b96 authored almost 14 years ago
Bumped VERSION_MINOR to 0.6
c93b44fced6799b086525a9c2cd289b6d2c6868a authored almost 14 years ago
c93b44fced6799b086525a9c2cd289b6d2c6868a authored almost 14 years ago
Don't steal Ctrl-C from the kernel by default (so leave SIGINT enabled); add a flag to take it if required
99ce94a0533cd3bf7022877c51c8556928787153 authored almost 14 years ago
99ce94a0533cd3bf7022877c51c8556928787153 authored almost 14 years ago
Interpret space as Unicode by default, add a flag to make it symbolic instead
78499b7a97d4b06a31236bc91be3744f51b86270 authored almost 14 years ago
78499b7a97d4b06a31236bc91be3744f51b86270 authored almost 14 years ago
Allow formatting the mouse position when rendering an event to a string
665d015aacddfd13ea5fd47773e640f7e365b792 authored about 15 years ago
665d015aacddfd13ea5fd47773e640f7e365b792 authored about 15 years ago
Make DEBUG=1 mode work with mouse events
9815dbeb45b6fd8ad0db10e7da78d79f9df2cef7 authored about 15 years ago
9815dbeb45b6fd8ad0db10e7da78d79f9df2cef7 authored about 15 years ago
Moved code around so DEBUG=1 actually compiles again
b7c4327b7abb7be6b7ab9549ea76ddb26b785fcc authored about 15 years ago
b7c4327b7abb7be6b7ab9549ea76ddb26b785fcc authored about 15 years ago
Return opaque mouse events in the key structure; add a function to interpret this into its component fields
614e7290167c07a0bf8dfa7844fbe28c4186e0b4 authored about 15 years ago
614e7290167c07a0bf8dfa7844fbe28c4186e0b4 authored about 15 years ago
Implement mouse catching also in CSI driver, in case xterm-alike terminal without 'key_mouse' terminfo string
fe3142bb2da526b8daf0eaf7779a68d057265818 authored about 15 years ago
fe3142bb2da526b8daf0eaf7779a68d057265818 authored about 15 years ago
Moved mouse parsing code out of driver-ti.c into core termkey.c
63ab9aebe5de225ef7586aab11de88b3adc50cde authored about 15 years ago
63ab9aebe5de225ef7586aab11de88b3adc50cde authored about 15 years ago
Remember to zero key->modifiers for mouse events
2f6230857642990de31c018eb5d20936ee7eb523 authored about 15 years ago
2f6230857642990de31c018eb5d20936ee7eb523 authored about 15 years ago
Supply --tag=CC to libtool to inform it we're a C library; in case it doesn't detect that (mumble openbsd mumble)
fe708e116cd17650580af9b74c07168c682bc1d9 authored about 15 years ago
fe708e116cd17650580af9b74c07168c682bc1d9 authored about 15 years ago
Bumped VERSION_MINOR to 0.4
36889663d741bd484e75428b40e0973ed8790a9a authored about 15 years ago
36889663d741bd484e75428b40e0973ed8790a9a authored about 15 years ago
Complete reworking of build system to use libtool
b72b45f856d89c602b0ee30036f26ec914c2380f authored about 15 years ago
b72b45f856d89c602b0ee30036f26ec914c2380f authored about 15 years ago
Document the new mouse reporting interface
63ea0fa5da0b11d2af2f8b9c923053cf4a08f333 authored about 15 years ago
63ea0fa5da0b11d2af2f8b9c923053cf4a08f333 authored about 15 years ago
Implement XTerm mouse parsing in terminfo driver
5774f4d2abe7d874105dd83e9ada1f220a82a1dd authored about 15 years ago
5774f4d2abe7d874105dd83e9ada1f220a82a1dd authored about 15 years ago
Make demo enable mouse mode if given on commandline
1b2c34d5893eed3d19489d16473c7ec761db9dd0 authored about 15 years ago
1b2c34d5893eed3d19489d16473c7ec761db9dd0 authored about 15 years ago
Print Mouse() rather than shouting MOUSE()
0dba472bc71592b3c66ef1bb4405bd88f85c6b29 authored about 15 years ago
0dba472bc71592b3c66ef1bb4405bd88f85c6b29 authored about 15 years ago
Public interface for MOUSE support
7dd7514fde5d92ada0ce530263614a866c9f20ee authored about 15 years ago
7dd7514fde5d92ada0ce530263614a866c9f20ee authored about 15 years ago
Bugfix to termkey_format_key() in FORMAT_CARETCTRL case when formatting Ctrl-Letter
56144095c94a4b172f4523f70c28ace1a89cf26b authored about 15 years ago
56144095c94a4b172f4523f70c28ace1a89cf26b authored about 15 years ago
Cope with building distdir at minor versions .3 (otherwise it clashes with *.3)
f4896bdc4cc4e8379112ed101efad130a57fed93 authored over 15 years ago
f4896bdc4cc4e8379112ed101efad130a57fed93 authored over 15 years ago
Renamed all type names to CamelCaseNames for visual distinctness, separate from variables/functions
c929f7b3f514c2068da4d2b41706e4eefc20c8b7 authored over 15 years ago
c929f7b3f514c2068da4d2b41706e4eefc20c8b7 authored over 15 years ago
Substitute version into termkey.pc.in at 'make dist' time
70b990569e4daea6ed481c3e7759ac12af831a40 authored about 16 years ago
70b990569e4daea6ed481c3e7759ac12af831a40 authored about 16 years ago
Bump VERSION_MAJOR to 0.2
e3a5b8ac11d0cc6c76562fa8acc8a75cb0ab149d authored about 16 years ago
e3a5b8ac11d0cc6c76562fa8acc8a75cb0ab149d authored about 16 years ago
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
294a21de98b94ac36e29a7beff3ca7dc1050733e authored about 16 years ago
294a21de98b94ac36e29a7beff3ca7dc1050733e authored about 16 years ago
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
618078542e0c4734abc81ac2e9e405dc38711c2b authored about 16 years ago
618078542e0c4734abc81ac2e9e405dc38711c2b authored about 16 years ago
Make termkey_getkey() set a peeked key structure if it returns TERMKEY_RET_AGAIN
47694a2a76d0a2351d1c2cd4c559f45c6b1d477b authored about 16 years ago
47694a2a76d0a2351d1c2cd4c559f45c6b1d477b authored about 16 years ago
Complete change of driver internals - peek and return size but don't eat bytes; eat later in getkey()
88612a707f0a7b27c43a5dce8b5390488de0753d authored about 16 years ago
88612a707f0a7b27c43a5dce8b5390488de0753d authored about 16 years ago
Linefeed properly in main() in demo files
c3e0065fa9c75679284ad5e06a9ddc1721149fb5 authored about 16 years ago
c3e0065fa9c75679284ad5e06a9ddc1721149fb5 authored about 16 years ago
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
ed18f0882e4de34b7339f7849d90dc1aab9cc58d authored about 16 years ago
ed18f0882e4de34b7339f7849d90dc1aab9cc58d authored about 16 years ago
Make common static function getkey(), roll functionallity of termkey_getkey{,_force}() into it
c005ac44e9486deb9ed523a170cd4cb0473c1876 authored about 16 years ago
c005ac44e9486deb9ed523a170cd4cb0473c1876 authored about 16 years ago
strdup() the terminfo keypad_local and keypad_xmit strings at construct time, in case multiple instances and they change beneath us
d88c7c374470a02298fb48dcf993405bde469eb8 authored about 16 years ago
d88c7c374470a02298fb48dcf993405bde469eb8 authored about 16 years ago
Documentation fix for termkey_get_fd - returns int, not void
ec8623e93ce0b987e1ad68d2e2e2f40e0cf1905a authored about 16 years ago
ec8623e93ce0b987e1ad68d2e2e2f40e0cf1905a authored about 16 years ago
Use a C99 flexible array member rather than the [0] hack
d7e4e5db4734d878083638250dca56ccd0bc8ce0 authored about 16 years ago
d7e4e5db4734d878083638250dca56ccd0bc8ce0 authored about 16 years ago
Added termkey_keyname2sym() to API
5e733a97d5d0f7d978bcbc4a4aa330b07e0de9ac authored about 16 years ago
5e733a97d5d0f7d978bcbc4a4aa330b07e0de9ac authored about 16 years ago
Added termkey_get_fd() to API
f131559d2ddb5b0f6b96ceba0a22593aad126d63 authored about 16 years ago
f131559d2ddb5b0f6b96ceba0a22593aad126d63 authored about 16 years ago
Extra documentation about the three types of key event structure, and what the code members mean
4533d4806ad2ccb532310f9727ec52bbcedb2ada authored about 16 years ago
4533d4806ad2ccb532310f9727ec52bbcedb2ada authored about 16 years ago
Use shell natively to embed demo .c files in manpages rather than invoking sed, because OpenBSD's sed doesn't seem to like this
f310b9b67eadee4c5547b8670ae6e596db26d7d8 authored about 16 years ago
f310b9b67eadee4c5547b8670ae6e596db26d7d8 authored about 16 years ago
Cast 'term' to (non-const) char* when passing to setupterm() because terminfo's prototypes don't use const
e708d3c57d1ec8cc67c21500e822ba9c42d27f13 authored about 16 years ago
e708d3c57d1ec8cc67c21500e822ba9c42d27f13 authored about 16 years ago
Use sizeof() on assigned variables rather than types, to make code a little less fragile to type changes
fb16c2b2c9aefbfc42731902ba2c89a5964931f0 authored about 16 years ago
fb16c2b2c9aefbfc42731902ba2c89a5964931f0 authored about 16 years ago
Make on_key() static in demo-async.c to shut up silly GCC warnings
8af7f848d471878fad09bd4966aabdddc86d65fe authored about 16 years ago
8af7f848d471878fad09bd4966aabdddc86d65fe authored about 16 years ago
Fixed another signed-vs-unsigned int comparison in driver-ti.c
4bbb6ecb193d1c6eca16b2840e66390d0f0f448e authored about 16 years ago
4bbb6ecb193d1c6eca16b2840e66390d0f0f448e authored about 16 years ago
Make sure l is always initialised in termkey_snprint_key()
0f7896dc85d8a4dd8dc72ffe2c95b23278da1788 authored about 16 years ago
0f7896dc85d8a4dd8dc72ffe2c95b23278da1788 authored about 16 years ago
Make termkey_new_full() static for now until we expose the API fully
66696bda49869b0de1b3cba432613b6b30f7362f authored about 16 years ago
66696bda49869b0de1b3cba432613b6b30f7362f authored about 16 years ago
Fixed some signed/unsigned integer mismatches, including one important bug
114bb7f87b7b9cc22e7f964677405346b38fe20f authored about 16 years ago
114bb7f87b7b9cc22e7f964677405346b38fe20f authored about 16 years ago
Export a gzip rather than bzip2 archive
984930134dff44a82d6f06ac6f5318d4c5f573c3 authored about 16 years ago
984930134dff44a82d6f06ac6f5318d4c5f573c3 authored about 16 years ago
Bump VERSION_MINOR to 0.1
5cbb553464727c5138d05a3c77b24fadaf31e350 authored about 16 years ago
5cbb553464727c5138d05a3c77b24fadaf31e350 authored about 16 years ago
Remove actual .so file on 'make clean'
082ef3a22f316b3742fbd11c88b2231cb19800e7 authored about 16 years ago
082ef3a22f316b3742fbd11c88b2231cb19800e7 authored about 16 years ago
Install to SONAME.MINOR and symlink to SONAME and basename
1cb891b1fcaaf588253fd95e0f080b6050441cfc authored about 16 years ago
1cb891b1fcaaf588253fd95e0f080b6050441cfc authored about 16 years ago
Only print about unrecognised terminfo variable names when debugging
b80e1fbe22021a162a18bbb3d274a2ae7ac43d75 authored about 16 years ago
b80e1fbe22021a162a18bbb3d274a2ae7ac43d75 authored about 16 years ago
Also added 'make dist' target to build distribution tarball
c72c74dd4eb9c7bbf16404a2120b68b868d0bdc5 authored about 16 years ago
c72c74dd4eb9c7bbf16404a2120b68b868d0bdc5 authored about 16 years ago
Split Makefile into two halves; added 'make distdir' target for building distribution tarballs
e4763c1f95c7ad83886951aa470b389dfde47b30 authored about 16 years ago
e4763c1f95c7ad83886951aa470b389dfde47b30 authored about 16 years ago