Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/neovim/libtermkey


https://github.com/neovim/libtermkey

Document the TERMKEY_CHECK_VERSION macro

b05865aff5494377332d0d5fedbf3bb4dd380cc6 authored about 16 years ago
Better Makefile support for built manpages and termkey.h file

7f00e42061fb97cd728095051adea20022149626 authored about 16 years ago
Added .bzrignore patterns for other built files

4eba886854cd3761910723ebb0c217bb62057bc0 authored about 16 years ago
Added compile-vs-runtime library version checks

7c7e2427d9b370a15f97a0c22733e9f0fe6973a8 authored about 16 years ago
Store major and minor version number in Makefile; substitute #defines in termkey.h at build time

2f2dbd63634832da4e4cde5be05df969245063bd authored about 16 years ago
Compress trie nodes down to extent maps after loading, to save memory

96a8434310ac0d3430a6f50f6bb6c1761fd80228 authored about 16 years ago
Use a trie instead of a linear list of sequence strings in the terminfo driver - nicer lookup properties

ae466681c1b76f7c3bec03c2ff7a6173eca17ead authored about 16 years ago
Handle malloc() failures during setup of driver-ti

072d07e048a2edf32eecf9983284f6b878b2dd2b authored about 16 years ago
Make CSI driver's debugging output messages on unrecognised sequences conditional on #ifdef DEBUG

fd97c21bdcd33c169db7580bb0c32d7220b3312d authored about 16 years ago
CSI driver shouldn't eat sequences it doesn't understand; leave them for another driver

898ccc41de7c46a45ca94f8aff7a7f5364e9218c authored about 16 years ago
Bugfix to 'unknown CSI' case in CSI driver - neater output message to avoid uninitialised ints

97b5776679da367fe7239bd6b4a1ce7aefd14f95 authored about 16 years ago
Added documentation on termkey_{get,set}_flags()

66526c99da7ef335a09aac293d71fca60487c5eb authored about 16 years ago
Added (undocumented) termkey_{get,set}_flags() calls to API

0854ba44781613401a6e4ea7c4948ad883ddb8c1 authored about 16 years ago
CSI driver should also load when TERM=screen because of screen's stupid way of blind-forwarding keypresses it doesn't understand

01b8da1aaa9b175ed5d1e07828e338b7915fc25d authored about 16 years ago
Implemented free_driver() in terminfo driver

1a855e65b1b24c4e39e92caf12cfc7a43700d9d5 authored about 16 years ago
When debugging, also print details of a key event when applicable

f4bd9bae9ae4b694889456ac83b9dede65d3d35e authored about 16 years ago
Load terminfo triver before CSI; in case they both apply

8131fae179dd125e5cf85b0cd5ea8716d0c8d408 authored about 16 years ago
Allow stacking drivers in a linked list; try all of them at getkey() time

e0e3f14280150526c40294e58b365535f877a040 authored about 16 years ago
If debugging, print verbose output about internals of getkey operation

c29f9ac64f5eccda77fa22bcb67bd7b51e358a98 authored about 16 years ago
Driver getkey() can return TERMKEY_RES_NONE which attempts getkey_simple() afterwards

8bd5d59f38788c206028161e77e6393f89f51bc5 authored about 16 years ago
getkey_simple() should return TERMKEY_RES_NONE if no bytes available; as a safety check

6a44d3667615b4ee72357d42884570c962402409 authored about 16 years ago
Print name of driver on startup if debugging

4f3951e24adfff15c3e112670b6d5bcb72beafab authored about 16 years ago
Drivers have names

a586806eb046d0aeb9a1c606351ec76405ce9236 authored about 16 years ago
Pass driver_info as explicit void* parameter into driver methods

96591bacc3ae03cba3ff73390adeb9be79b40fd5 authored about 16 years ago
Pass 'csi' value to static helper functions in driver-csi

a72c73887f4ac04662ab212aceec3e84661a1138 authored about 16 years ago
Renamed termkey_{set,get}waittime() to termkey_{set,get}_waittime() to be more consistent

d5025b2d1ddc3c34ae8eb37fc829b941579182aa authored about 16 years ago
Don't document the termkey_free() function as it doesn't restore termios; document termkey_destroy() instead

911af74c168cb7dc8cce8f726e00515184133bc6 authored about 16 years ago
Include demo.c and demo-async.c in the manpages under an EXAMPLE section

de00f96d122ebcca3051c4695524bea30ca0239d authored about 16 years ago
Added asynchronous demo which uses poll()

66c010f627889815330fdf73a1a09a1f01f91322 authored about 16 years ago
Also document termkey_advisereadable()

ed25421e9b73978e2fe7a42a3ae4d1419c5edd6b authored about 16 years ago
Added manpages for (most of) the external API functions

98c4a034baaa6eb6f3f1f4afc55b213976ade900 authored about 16 years ago
Neater bitfield constants in .h file; added docs of TERMKEY_FORMAT_* constants

400988ee126b14c6438ee20dc61ac7b0d6316c7d authored about 16 years ago
Make sure all .c->.o builds depend on all .h files

e9362a2abba9be1fa7622465c74a1600e4b70baf authored about 16 years ago
Better handling of incomplete UTF-8 sequences - just emit a UTF8_INVALID if waittime is up

ea0955a988552bbc1856d8af8f08f3629b368335 authored about 16 years ago
Better handling in termkey_waitkey() of EOF conditions

032ce5a47b215915b83a67e694f8c97bd323b5e7 authored about 16 years ago
Reuse common Esc-prefix code in getkey_simple() from CSI driver; avoids code duplication

d0e2b9017e66dec999235fb3a8fdfd33ebdd1346 authored about 16 years ago
Bugfix to recursive 'meta-' getkey code - handle buffcount too

0837df3d6736151d6f53ee2195987279bd893b02 authored about 16 years ago
Some platforms need -fPIC when compiling C code for eventual use in a shared library

681182359a8af02b9d0b0458b47e70adea9fe8a0 authored about 16 years ago
Recognise 'key_mouse' as an ignored terminfo key

c4f211f23d5dbbf0976a1e8721e6a8a4e0eb7fc3 authored about 16 years ago
Install a .pc file so that pkg-config works

ded1b7f0b6bd9d98a29632ee8a0a222d9d32c389 authored about 16 years ago
Terminfo driver needs to put terminal into 'keypad_xmit' mode when starting

d792154c0a3733b026a4d606bc966ce672e0eb9a authored about 16 years ago
Added new driver virtual methods 'start_driver' and 'stop_driver'

bfa246fb24590a55e84f1c7d08f37f409923df99 authored about 16 years ago
Remeber to handle Esc-prefixed keypresses in base getkey_simple() function - involves some code duplication with CSI driver currently

d544d99cf30b90a5e507289ddcb550b723c30c22 authored about 16 years ago
Pass the 'force' value through to getkey_simple()

19dc9168a563d3633c673b72f8941993c1d39035 authored about 16 years ago
Added 'make install' target

91327e1963abfb2f3912aa131c074d1395ebfc5e authored about 16 years ago
Adjusted Makefile to build a shared library

2c2e8b3cd3dfa3a42d034a0dd76a1c1f9f386589 authored about 16 years ago
Added many more key symbols and names + translations from terminfo

e3e3e4a09536bab5cfcdd378090d6cc166e46dcf authored over 16 years ago
'int' might not be wide enough to hold any Unicode codepoint; use 'long'

7fe6d86773df1fc4269f2f000dba8987ee3b8416 authored over 16 years ago
Binary search terminfo funcname => termkey sym conversion, rather than linear

fc2a45060b6305e094471138a00ddfd6495aecc8 authored over 16 years ago
Added some TODO notes about handling realloc() failures

4ea061e6c327f975c7f3e1da3980e62b14584cf4 authored over 16 years ago
Better free() tracking in constructor failure cases

47d2f44d5bd34dd67493c0b3375b188f0708ed7b authored over 16 years ago
Respect user's CC and CFLAGS

3306dc0e5778e0a5b4fa82823a698f39eaec8f9f authored over 16 years ago
Gracefully handle constructor failure rather than SEGV

97e1e9a9fdba61c6a36910b4379ba36c4c60e0de authored over 16 years ago
Pass 'term' string into new_driver virtual method; have drivers sensitive to it and return NULL if they can't handle. Try CSI driver first; only for xterm-alikes

6d418a9536219fe698a575d49176e06d3d4cb4b5 authored over 16 years ago
Adjustment to demo.c; just print the vim style format

38c32ba790a86d1a7906702e11ba36383ccfddce authored over 16 years ago
Added initial attempt at a terminfo-driven driver

e9d97a32ec6f591124b25671a81b3f5e315bf09e authored over 16 years ago
Moved all of the keynames out from driver-csi into termkey; where they belong

4934e555116598803ea23452f96ac27510bf0269 authored over 16 years ago
Register keynames using a more extensible internal array; easier to add new ones

419007aa65e1a7460fbe11ab6152868a5807eeb6 authored over 16 years ago
Tiny bugfix to termkey.c's initialiser; actually handle multiple driver search properly

9e6c8e705e3e75e9f5811faea983d57b0ecedab3 authored over 16 years ago
Pass an explicit 'force' parameter into driver's getkey rather than relying on non-zero waittime

c1e17859d71181ff47cf2580c5145b3e77f1d2cd authored over 16 years ago
Moved single byte and UTF-8 sequence recombiner out of driver-csi.c back into termkey.c

b3539fcf2a5c14ecfa6880232d9f382054af9bad authored over 16 years ago
Moved all of the C0 registration and 'do_codepoint' logic out of driver-csi back into termkey via another protected method 'emit_codepoint'

a7d27bd78ec00df483864133d0a07215d9398428 authored over 16 years ago
s/eatbytes/eat_bytes/ - nicer API name

66b48077ea436e64b02c30051b46561d1a793165 authored over 16 years ago
Moved 'eatbytes' back into core code, put a code ptr in the termkey struct as a "protected" method

0b407edd7dd7112f1e61cd40baf3475ccd648480 authored over 16 years ago
Support a list of potential backend drivers

2749d089b6df97a967a77053dacba2499219ed5b authored over 16 years ago
Moved CSI key registration code to be private to CSI driver

7b8415746f653ea303f7e25c7f577b1303fb87ea authored over 16 years ago
Use vtable in driver to indirect calls to the CSI driver

cfe662f0880d0338d66239a69023df86f93b1afc authored over 16 years ago
Moved CSI-related code out of termkey.c into new driver-csi.c

689be47cc4d709800f5eddb7459ec0c28d98ae01 authored over 16 years ago
Makefile now sensitive to DEBUG=1

a8769ebb0ab30672001d0c747b8413e6006c75aa authored over 16 years ago
Define 'TERMKEY_FORMAT_VIM' as a shortcut to make it format keys like Vim does

2287cfe8acab21dfd0551dc2c287e595a63f9b5d authored over 16 years ago
Print Alt/Meta before Ctrl

f670b53b845c210efd2f308fb5212ded0d4b67aa authored over 16 years ago
Added TERMKEY_FORMAT_WRAPBRACKET

44c28412cab4d284e1b7a20ff831b32664ea08f1 authored over 16 years ago
Added two more formatting options; CARETCTRL and ALTISMETA

5641bf2c26c586261caa7f0f380189199481d19f authored over 16 years ago
snprint_key() now takes a bitmask format, not a single boolean

a8fba34115204f7400e2a8782e4031c3638d1ba5 authored over 16 years ago
Added termkey_snprint_key() to render nice string outputs of key events

1396f1d51a8b09554a834cbbdac6ad3b35391f15 authored over 16 years ago
Reworked events to be type/code/mod rather than flags/code/mod; make F[n] keys their own (parametric) type, rather than using keysyms for them

e049ad03008afecd341a5dd854ff6282b5a2b552 authored over 16 years ago
Renamed .h file's include guard to avoid a C reserved identifier space

46ff64dfae2515b39c43811e21f8e4f244f01de2 authored almost 17 years ago
Cope correctly with XTerm's modified Unicode reporting of Ctrl-C for termination

b2077e6baa67ccd8c36b57cb5b536e8219f22652 authored almost 17 years ago
Preserve modifiers on XTerm's CSI 27 ~ modified Unicode sequence

21d10520d1c81fae92469d2785f4b5e6c7279d19 authored almost 17 years ago
Renamed describe_sym to get_keyname

0ea528cd9a603caf5837ae69554d68835d4e6609 authored almost 17 years ago
Moved termios magic out of demo.c into termkey.c where it belongs

64706fe3de9fe1b84dbebef15e6a882ac69c4a26 authored almost 17 years ago
Implemented termkey_free()

3effe3782d39bb5da8f2cd8dadf5391c3e37fbfd authored almost 17 years ago
More termios settings on startup, to ensure reporting of signal, flow control, and NL/CR keys

9decb7d9a11a48e0e79f68d2f6ca53058cc7cc4a authored almost 17 years ago
Make sure to initialise key->modifiers on unmodified CSIs

3d89574617db7fc7f62cfc1e7f702e4dc9db34eb authored almost 17 years ago
Nicer names for modifiers on printed output

8dc669f4c43c2fd9a9401172b02c6835b2f49d11 authored almost 17 years ago
Rearranged Home/End keys to better suit rxvt's naming, note 1/4 are now Find/Select

7baf40fcf6bcfaa738518344577324d2a73f9760 authored almost 17 years ago
Recognise full CSIfuncs list of F1 to F20 keys

7362592b0fde67ede26c4badfa3a4c24ce347b5b authored almost 17 years ago
Bugfix for unknown CSIfuncs

446bf917481fa11e8fd1bfc2eaeb42d13355d1a8 authored almost 17 years ago
Implement growing the buffer after input

37ba0a8c982be2ec158c97a5b8f941acd7deaf45 authored almost 17 years ago
More robust eatbytes() that guards against the buffer going negative, because size_t is not signed

b5022c9818b4ca5bf0ab858faada99914c719aa5 authored almost 17 years ago
Implement waittime polling to try to distinguish Esc, 1 from A-1, etc.. on slow terminals

ddc83617b7f4f5b57fa97850f454f4737f536916 authored almost 17 years ago
Have 'termkey_advisereadable' return a value indicating if it's likely useful to call it again

c86b5e391aa5215a86153cc0832bb56440f9da42 authored almost 17 years ago
Avoid a memmove() every character by storing an intial offset for the input buffer, and only moving when it's more than half way across

d9470de666bb7a957e3affa09871184520446383 authored almost 17 years ago
Allow registered keyinfo for C0/CSI/SS3/CSIfunc to override modifier bits; use this to implement Shift-Tab as CSI Z

2432b31d9acf973f0f8cab6b3730508e91ee2b93 authored almost 17 years ago
Also register 0x0d as another version of the ENTER key

684860af606098ad8dae568e8fa9c21223452529 authored almost 17 years ago
Interpret XTerm's CSI 27 ~ as modified generic key, report keypresses as appropriate

97a32e20e37039836195fb594d2040507204d75b authored almost 17 years ago
Move most functionallity from getkey to 'do_codepoint()'

e3098adc81f3f32be13c7699105b92dec24befef authored almost 17 years ago
Bugfix to fill_utf8() to make it actually work right

42c4ff93724401b5a8bea48b80d0d1e86d465cb9 authored almost 17 years ago
Allow C0 codes to be registered names like the CSI/SS3s

0abbfbcac3db4f9e3e20e8be9d9c7be95bea5476 authored almost 17 years ago
Define an 'int' typedef called termkey_keysym to use as keysym values

122ac94a75f97e2547f7772c8a2b314221b50a35 authored almost 17 years ago