Ecosyste.ms: OpenCollective

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

github.com/neovim/libtermkey


https://github.com/neovim/libtermkey

Ensure that key->type field is properly set for all mouse encoding protocols

c3c3b7ab7b95805b232d4eda08855ea6cc891ea5 authored over 12 years ago
Documentation on new TERMKEY_TYPE_POSITION events

e01224a796976c24e4f52c66315abf04484a3939 authored over 12 years ago
Also handle CSI R; position report replies to CSI 6n

de597be1f31278b50e9b74c4b1a4c71f8173d0ff authored over 12 years ago
Neater CSI driver; dispatch command handlers from an array

373fa6e5c244c9a39c201a96c1a304555351e52d authored over 12 years ago
Always load the CSI driver because it contains cross-terminal mouse and CSI u handling

ba848e75ce664e09b51b03d4de47d0b6bddca4d3 authored over 12 years ago
Created abstract accessors for getting/setting key event line/col counts

dd4a19c860df253e5e353878f081bef14a9dab73 authored over 12 years ago
Added some notes about what mouse protocols are supported

a72f48b624cdac6d401aa36a872a586d88035ba3 authored almost 13 years ago
Also pass 'index' argument to man-to-html.pl

6f6758fd29aa478f5f69b28113c9a78e663583d9 authored almost 13 years ago
Note the limited range of mouse line/column number

3d634937596dd3d94860b98aa4f89d0df8485e08 authored almost 13 years ago
termkey_interpret_mouse takes const key, does not set modifiers, as that's already done

988e132ab0898b7217bbf2bd9eb2e6834959906c authored almost 13 years ago
Use spare bits in code.mouse[3] to store bigger mouse positions

e3dd96769343985204c003666001ecada650fe19 authored almost 13 years ago
Allow setting mouse encoding protocol from demo

684522f6b0d17281231237f5c8be71eafe99b08a authored almost 13 years ago
Recognise SGR-style mouse encoding

83442f042f79dc55e437b90d1deb3aa76bd7994d authored almost 13 years ago
Recognise rxvt-style mouse encoding

b83d146e920ad6b864be19dd83ebe875f3196a9e authored almost 13 years ago
Extract modifiers for mouse events at peekkey time

f3664c68086172a36afbedd09e8cef14c3dd680c authored almost 13 years ago
Added a unit test for mouse report events

2bc4ed1660eda43b6356fd1f8166d0d6452c50a0 authored almost 13 years ago
Created a demo to show libtermkey in a GLib-based program

3b49acb8c111ff055a0ddaf592ff79d4cdcc4bad authored almost 13 years ago
Fix manpage bug in termkey_start.3

9e9ec580ca6dccbb778d350085022ee011b1c7bb authored almost 13 years ago
Bump VERSION to 0.14

4c151c5c91a276fc47e2f636843acb023d7772d7 authored almost 13 years ago
Need to ship man/also in distribution tarball

9639d4b8dbdc6f2ca61943ec64711faaa90627a4 authored almost 13 years ago
Also pack the unit tests into the dist tarball, and allow building them in-target

226e76f5aa5f140d12f02dac3439394fd21c8fbc authored almost 13 years ago
Avoid the underscore in struct _TermKey

7fb060116ee6158bfb5b7ac959041acf6569be8b authored almost 13 years ago
Consistency updates to Makefile to make it more like libvterm's

24109945e45d1533ab4edee540ea59b930cc74a0 authored almost 13 years ago
Added documentation for termkey_{start,stop}, termkey_is_started

041584bdecb6ddd80f4ea39cad611d8ff307110f authored almost 13 years ago
Use man/also for manpage aliasing rather than duplicating the list (incorrectly) in the Makefile

f6e431029db49275e8ddac9447a6238c924161b4 authored almost 13 years ago
Have getkey/waitkey return RES_ERROR/EINVAL if stopped

95f3d40d543c98f08f5091fef55490bafd59c5c8 authored almost 13 years ago
Added a termkey_is_started() accessor; unit test it a bit

a363d8ffa9a1d5225b90a11ecea4633804c2b5f6 authored almost 13 years ago
Move the terminal start/stop code into their own functions, exported (undocumented for now)

922e47b1877d885ad9a4ace1458a3a30888797c9 authored almost 13 years ago
Also link to termkey_{get,set}_buffer_size(3) from termkey(7)

5456b0407f494895c078ce8afddf87b21ae5cdcd authored almost 13 years ago
Bump VERSION to 0.13

bc4371d579f7c1ce0f54a543bfebeafc97e26fcf authored almost 13 years ago
Optionally build against libncursesw if unibilium isn't present, before falling back on plain libncurses

911bc058e293deeb0fe8cc39b3ebab5bf1367817 authored almost 13 years ago
Added manpage for termkey_{get,set}_buffer_size

075f6eac3e54263c843c104b9f9c7c5f63f23c79 authored almost 13 years ago
Added (undocumented) termkey_set_buffer_size()

cd2b9cb0d8576e0fbb0813cf1d74a163633347a3 authored almost 13 years ago
Added (undocumented) termkey_get_buffer_size()

e1b6d448c1c3af78668c3dd178f7628972d45bb8 authored almost 13 years ago
Document the errors set by termkey_new(), use errno rather than fprintf() to stderr

ba5521e79c0fae2bfa6b0bfdd96149c26faee2c2 authored almost 13 years ago
Symlink manpage for termkey_new_abstract

ec77d7bfb726b06df0c481b9771aee17a4928160 authored almost 13 years ago
Use termkey_new_abstract() in unit tests

03895983660ec86911fdfab8fdd16acfd6380f56 authored almost 13 years ago
Created termkey_new_abstract()

18e55bc128ff5666bd036d420933c85284262b59 authored almost 13 years ago
Move initialisation logic out of termkey_new into a static function

cc74c43582dcf767e7848e3e28a50792505cc788 authored almost 13 years ago
Use termkey_set_flags() in constructor rather than copypasted logic

ef5cdb6fad3a7b11f924e640f46bd0095f53a92a authored almost 13 years ago
Split termkey_new() into alloc and initialise phases

b3720b9236d5586b68aa87a82400a3cd0ffff309 authored almost 13 years ago
Also mark termkey.c's modnames as static

5f1eda6d85972232cd1a357d8d58910810bc1831 authored almost 13 years ago
Mark new driver-csi internal variables as static so they don't result in linkable symbols

6d7a0c09c8af342cd415431b1f15a667b978e6e6 authored almost 13 years ago
Fix 'make dist' target for new man/ subdir

d9d30097bc140811cd714f1dbcccd3e9bcad21a5 authored almost 13 years ago
Bump VERSION to 0.12

1ff25155e33a281f5753681b503b77738d7ccb89 authored almost 13 years ago
Also mkdir MAN7DIR at install time

7dd45a25e844efccea521cec13bc329b08242954 authored almost 13 years ago
Various other minor fixes to manpages

fce4cee7987bd58ad2abb3c7d03478440996f7a9 authored almost 13 years ago
Ensure that 'make htmldocs' rebuilds built manpages

49b90a21a21f7ce03549f3cb7aaa1dc1c90f0a0b authored almost 13 years ago
Fix Makefile for manpage generation of new man/termkey.7

1240e3f167a2c721b6b9d195197e20cad4d71e1b authored almost 13 years ago
Removed note about termkey_keycmp() not canonicalising key structures, since it does in fact do exactly that

df3bd054a235572d03346d90f2f1c27088a01931 authored almost 13 years ago
Fix some typoes in termkey_set_canonflags.3

57d2a31492c712347b79ed0f5a183ee26e0ee6a3 authored almost 13 years ago
Link to termkey(7) from other manpages, delete some of the duplicated sections

85a4b42634eaa4fb073c5b7d37908a2f91a5a8ba authored almost 13 years ago
Initial stab at termkey(7) manpage

bbc4744be37f9823fcd3bf3facd15058e834cc2c authored almost 13 years ago
Note in termkey_new(3) that the caller has to init. the terminal in abstract or pipe cases

c8ba43e9c7daae52746c41b1b6d62dcf1b61d774 authored almost 13 years ago
Don't try to write() the start/stop string if the fd is a pipe, because this will never work

542c738839d12f892e54e25dd1c60b16d4f51084 authored almost 13 years ago
Fix another printf() %c char

91e7c3c8d35ab9f56a665b15053ffd2df5e2790f authored almost 13 years ago
Handle realloc() failures when registering key names

ca5d7d650eb2b5b8b8b089be7fadc65feef16c2a authored almost 13 years ago
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

590e3efde2b75b7d7a3677fdee71228dba7b0289 authored almost 13 years ago
fprintf() %c wants char, not unsigned char

d039a4bdc5769a7c80e35e73b68146c7bc02aedd authored almost 13 years ago
sscanf() %zn ought to take a ssize_t *

7471706ae41e247f8de982df1a2ee49acd0ac944 authored almost 13 years ago
Allow {start,stop}_driver to fail, abort constructor, have driver-ti try to write the entire start/stop string or error out on -1

3c089a0300c1c283394171feda10bb6e2f1f682a authored almost 13 years ago
(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

d05fae6da76f2d3d0836c0d77a696233369ebd7d authored almost 13 years ago
\e string escape is not portable; use \033

0a1da0488eb940d8b4fa48c3833035fc3c1a160e authored about 13 years ago
Delete trailing comma in enum{} to keep C++ happy

42099a86725ef5d479cea05369c81330500fa425 authored about 13 years ago
Use only C89 commenting style in .h file, in case of C89 compilers or similar that want to link

e66ef3a16e863918bde5abcc9e058394d76cf0d2 authored about 13 years ago
More minor docs updates

5f020078c44794ba727880946552d07a81111ac7 authored about 13 years ago
Use the 'also' list for aliased pages

abea8cb1314dc88f408be76db05abed7bd6d38c5 authored about 13 years ago
Minor wording fixes to termkey_push_bytes.3 manpage

9b58a65390c0e1a7df466f229f34137535e412ea authored about 13 years ago
Fix 'htmldocs' Makefile target

32cd37ce42992a1a31c6f252d307733a8dbc36b2 authored about 13 years ago
Allow passing fd = -1 to constructor to make an instance not associated with an fd; must use push_bytes to provide it input

cecb4192cc0c1e2dff37ceff40a722310aba6c9e authored about 13 years ago
Added termkey_push_bytes(), a new API for providing input bytes

d8232917b077a0967f2e03e1c8759b62b65c35e6 authored about 13 years ago
Move the growing collection of manpages into their own man/ subdirectory

1bcfce001cafd7204240e68bc32e4827dee364fd authored about 13 years ago
Ensure that termkey_advisereadable() just fails with errno=ENOMEM rather than trying to read() zero bytes

272cd305215f669d9bf3aed5d7c76e0061dd59e0 authored about 13 years ago
Avoid push_bytes() entirely by read()ing directly into tk->buffer

f7678f2a312ba33435c5f4d2944068bbb1cf0f50 authored about 13 years ago
Provide new API function to determine how much buffer space remains in the instance

625c15bf99bfc59e3207944e665fe782323396ac authored about 13 years ago
Remove termkey_pushinput() from external API; declare static, rename it

c0420d5c17c2e05a9e516f765101c10a3a9f4fbf authored about 13 years ago
Bump VERSION to 0.11

b48349dff46930c38c27abb90805184ea7c152e6 authored about 13 years ago
Minor manpage link fixups

7772e4a380dfc2b512a7242fe1cdb4ba02501a1a authored over 13 years ago
Optionally support unibilium for reading terminfo instead of curses

aa5b14098ecc0381f1f2dd2ab6487b39f7384650 authored over 13 years ago
Abstract out ld flags in Makefile

f8713c595322a5fabc93341011fcf3e7ade2ae3d authored over 13 years ago
Neaten logic by loading terminfo strings in a separate function from the constructor

df6f80a1f40a36c89258420e55a4fac10fa57cd7 authored over 13 years ago
Bumped VERSION to 0.10

88b1182b0124414eae18d5f5f68f32077b6628bb authored over 13 years ago
Canonicalise (a local copy of) the key structures given to termkey_keycmp() before comparing them

00102a2ea11e1285f5ad50dba82839d6fa8c9b12 authored over 13 years ago
A few more DEBUG fprintf(stderr)s at construction time

21181d70e1ed05fe0db68f4f011eaa7f94c776d7 authored over 13 years ago
Handle TERMKEY_RES_ERROR in (debugging mode) res2str()

d5778026994d1676ae0f96e6637a817a08ae2601 authored over 13 years ago
Use $(VERSION) to set DISTDIR in Makefile, so make VERSION=... dist overrides its name

2e54df3d59217fb7e1bb2b41a2462ebf5a2d795f authored over 13 years ago
Allow a flag to convert ASCII DEL into Backspace

52820c1781273091fe73750bd85cad2a27548b46 authored over 13 years ago
Move canonicalisation flags into their own bitfield with their own accessor and named constants

3e41e96dfd87ad896dc7bb3f9e4861891a777fcb authored over 13 years ago
Remember to symlink termkey_get_flags(3) manpage at install time

1a9ff44d99a71a1b6fd1e7887fea4ba90c35c81b authored over 13 years ago
Provide an explicit termkey_canonicalise() function; canonicalise Space/SP in both directions

c0ac29fb87c91387be9e9c7e66118e424c37f9a9 authored over 13 years ago
Deleted legacy type name typedefs and declaration of termkey_snprint_key()

de2d768c4c0939a6e1b38d3881408581175bddb2 authored over 13 years ago
Added a unit test to assert the correct behaviour of FLAG_SPACESYMBOL from waitkey

415ef0bce8f7d7be698cd8b762530359d1f66611 authored over 13 years ago
<poll.h> on Solaris needs _XOPEN_SOURCE 600 to ensure it gets sigset_t - Petr Pavlu

c2ff4351233a77afd91a75b78f29a87cdf69d1c1 authored over 13 years ago
optarg and friends want _XOPEN_SOURCE 600, and <unistd.h> - Petr Pavlu

dedebbee2965485a0b9d44b08064923d8d5f0f40 authored over 13 years ago
strdup() needs 'define _XOPEN_SOURCE 600 - Petr Pavlu

3b42650de0a7245712c3cea286082a0999e3dd92 authored over 13 years ago
Ensure c_cc[VMIN] and c_cc[VTIME] are properly defined, because Solaris seems not to set them - Petr Pavlu

59168f8514806a9888f01b455ffdb9549a39e2f8 authored over 13 years ago
Link against -lcurses not -lncurses, because these two might be different on some OSes (e.g. Solaris) - Petr Pavlu

4390d81d7a3831251e839a2c5bdf29f92062d29e authored over 13 years ago
Bumped VERSION to 0.9

ce45c3e8431de99c77ed39c13b8a54537bdfe203 authored over 13 years ago
Provide a flag to return RES_ERROR even on signal (EINTR); without it, retry the operation

75543681ec64875ce893f3e90d51fadfb6205d35 authored over 13 years ago
Provide a new result value, TERMKEY_RES_ERROR to indicate an IO error - preserve errno

30a2783d80b66ee34f27376582a1d5e3bf38a5bd authored over 13 years ago