| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2017-02-20 | buffer: add buffer_grow | Marc André Tanner | 1 | -2/+2 | |
| 2017-02-20 | buffer: rename buffer_grow to buffer_reserve | Marc André Tanner | 1 | -2/+2 | |
| 2017-02-05 | vis: add file argument to vis_pipe | Marc André Tanner | 1 | -3/+5 | |
| 2016-12-15 | vis: always store registers values NUL terminated | Marc André Tanner | 1 | -4/+6 | |
| Previously we only made sure that the register content is NUL terminated when reading it out. This made it impossible to distinguish between an empty register and one which stores a single NUL byte. Now the in memory representation of a non-empty register is always NUL terminated. When appending we temporarily remove the trailing NUL byte and restore it later. This should fix put commands of a previously yanked single NUL byte. | |||||
| 2016-11-25 | vis: fix I/O redirection bugs, cleanup vis_pipe | Marc André Tanner | 1 | -2/+2 | |
| The `:!` command did redirect stdout to a pipe which was used by `vis-menu` to return the selected entry. However, this breaks other interactive commands such as `:!/bin/sh` where command output was never displayed. Instead we modified `vis-menu` to re-open /dev/tty for its user interface which makes it work as a regular filter `:|` This patch also obsoletes the interactive flag previously passed to the vis_pipe function. Interactive mode is instead enabled by piping an invalid range. | |||||
| 2016-05-18 | vis: add #define for VIS_MENU | Marc André Tanner | 1 | -4/+0 | |
| 2016-05-18 | vis: add an interactive mode to vis_pipe{,_collect}(...) | Marc André Tanner | 1 | -2/+2 | |
| Previously the interactive mode was implicitly enabled by passing an invalid range. However for some use cases (e.g. completion) we need to be able to pipe a given text range to an external process without also redirecting stderr (which is used to draw the slmenu interface on top of vis). | |||||
| 2016-04-14 | vis: add #defines to ease overriding of utility names | Marc André Tanner | 1 | -2/+6 | |
| This should ease packaging for systems with an existing vis(1) binary. | |||||
| 2016-04-03 | vis: change vis_pipe API and cleanup related code | Marc André Tanner | 1 | -33/+13 | |
| 2016-04-01 | vis: cleanup vis_pipe API | Marc André Tanner | 1 | -2/+2 | |
| 2016-03-23 | vis: use vis-clipboard instead of vis-{copy,paste} scripts | Marc André Tanner | 1 | -2/+2 | |
| 2016-03-15 | vis: slightly cleanup register related code | Marc André Tanner | 1 | -0/+4 | |
| 2016-03-12 | register: add function to set register content to arbitrary data | Marc André Tanner | 1 | -0/+4 | |
| 2016-03-12 | register: make sure returned register content is always NUL terminated | Marc André Tanner | 1 | -1/+4 | |
| 2016-03-12 | register: rename register put related functions | Marc André Tanner | 1 | -3/+3 | |
| 2016-02-25 | vis: ignore trailing NUL byte of register content by default | Marc André Tanner | 1 | -1/+1 | |
| This is handy when editing registers used for macros. | |||||
| 2016-01-30 | Implement "A - "Z registers | Marc André Tanner | 1 | -0/+2 | |
| 2016-01-30 | Implement system clipboard registers "* and "+ | Marc André Tanner | 1 | -4/+56 | |
| Both registers are currently treated identically. The actual system integration is performed by two shell scripts vis-copy and vis-paste. | |||||
| 2016-01-30 | Implement blackhole register "_ | Marc André Tanner | 1 | -10/+33 | |
| 2016-01-30 | Cleanup register implementation | Marc André Tanner | 1 | -8/+12 | |
| 2015-05-16 | Cleanup general purpose buffer API | Marc André Tanner | 1 | -4/+4 | |
| Introduce buffer_init to initialize a stack allocated buffer. Rename buffer_{alloc,free} functions because they do something different than the usual convention. They operate on the underlying buffer data but do not allocate/free an actual Buffer struct. | |||||
| 2014-12-18 | Macro support | Marc André Tanner | 1 | -25/+5 | |
| At some point this should be optimized further at the moment there is some 20 byte overhead for each entered key. | |||||
| 2014-09-10 | Add comments where appropriate | Marc André Tanner | 1 | -9/+1 | |
| 2014-09-03 | Rudimentary support for copy / paste via registers | Marc André Tanner | 1 | -6/+0 | |
| 2014-08-31 | Add rudimentary register implementation | Marc André Tanner | 1 | -0/+62 | |
