| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-07-03 | Fix handling of multibyte characters (at start of display area) | David B. Lamkins | |
| Previously a sequence of Unicode REPLACEMENT CHARACTER was displayed. Use an explicitly initialized mbstate_t object in the call to mbrtowc(). While this should not strictly be necessary, it works around a bug in certain implementations. Closes #56. | |||
| 2015-07-03 | Add :show command to display special symbols for whitespaces | Marc André Tanner | |
| Enable/disable by setting to 0/1 respectively: :set show spaces=0 tabs=0 newlines=1 | |||
| 2015-06-30 | Fix segfault in cmd_filter | Marc André Tanner | |
| Using FD_ISSET on negative file descriptors results in breakage. Closes #55. | |||
| 2015-06-30 | Perform character prev/next movements based on Text not View | Marc André Tanner | |
| While it is slower, it allows to move to characters which are currently not visible. This will be handy when experimenting with multiple cursors. | |||
| 2015-06-30 | Cleanup insert/replace mode input handling | Marc André Tanner | |
| View should only display the file content, but not modify it. | |||
| 2015-06-28 | Do not take address of variables which go out of scope | Marc André Tanner | |
| This is a bit of a hack, since now the callers range is modified. The various cmd_* functions should probably take a const Filerange pointer as argument and modify a local Filerange variable if needed. | |||
| 2015-06-28 | Mark intentional case statement fall through | Marc André Tanner | |
| 2015-06-28 | Fix copy/paste error in text_restore | Marc André Tanner | |
| This really needs some unit tests. | |||
| 2015-06-28 | Replace a->time with a->seq in history_traverse_to | Ryan Chipman | |
| 2015-06-28 | Add seq field to Action struct | Ryan Chipman | |
| 2015-06-27 | Add more thorough description of history to README | Ryan Chipman | |
| 2015-06-27 | Make :earlier and :later accept arguments similar to vim | Marc André Tanner | |
| Currently the following arguments are accepted: {count} Go to older text state {count} times. {N}s Go to older text state about {N} seconds before. {N}m Go to older text state about {N} minutes before. {N}h Go to older text state about {N} hours before. {N}d Go to older text state about {N} days before | |||
| 2015-06-27 | Mark internal undo tree functions as static | Marc André Tanner | |
| 2015-06-27 | Edit README to reflect new history implementation | Ryan Chipman | |
| 2015-06-27 | Hook up :-commands & keybindings for earlier/later | Ryan Chipman | |
| 2015-06-27 | Core undo tree changes | Ryan Chipman | |
| 2015-06-24 | fixed some typos in comments | Ryan Chipman | |
| 2015-06-04 | Use $(MAKE) instead of directly calling `make` | Michael Reed | |
| This fixes `make debug` on OpenBSD (and possibly other systems) where /usr/bin/make isn't GNU make. | |||
| 2015-05-17 | Implement :substitute by invoking sed as a filter | Marc André Tanner | |
| 2015-05-17 | Implement :r and :r! in terms of filter commands | Marc André Tanner | |
| 2015-05-17 | Filter command :! | Marc André Tanner | |
| If no range is given then stdin is passed through which allows interactive usage as in :!ls -1 *.c | slmenu For this to work the command needs to use stderr for its user interface and write any data for vis to stdout. | |||
| 2015-05-16 | Release macro data | Marc André Tanner | |
| 2015-05-16 | Cleanup general purpose buffer API | Marc André Tanner | |
| 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. | |||
| 2015-05-16 | Let each :-command decide what to do if no range is specified | Marc André Tanner | |
| 2015-05-16 | Improve parsing of :-command name and parameters | Silvan Jegen | |
| 2015-05-14 | In command mode make the '.' range specifier match the current line | Marc André Tanner | |
| 2015-05-07 | Add '--' as end of options | Matias Linares | |
| Now it works properly, `vis -- -v` edit a file named `-v`. Also added the proper info to the man page. | |||
| 2015-05-06 | Use the command name without the Filerange in argv | Silvan Jegen | |
| Signed-off-by: Silvan Jegen <s.jegen@gmail.com> | |||
| 2015-04-29 | Move redrawing out of operator implementations | Marc André Tanner | |
| Note that currently all windows are redrawn, this could be further optimized to only redraw the affected windows. | |||
| 2015-04-29 | Make operators return new cursor position | Marc André Tanner | |
| 2015-04-23 | Update header include guard to match file name | Marc André Tanner | |
| 2015-04-22 | Cleanup line ending type detection and insertion | Marc André Tanner | |
| 2015-04-22 | Fix echo foo | vis - | Marc André Tanner | |
| A single '-' indicates read from stdin. Also adjust coding style. | |||
| 2015-04-22 | for editor command compare string, not just first character | Christian Hesse | |
| Signed-off-by: Christian Hesse <mail@eworm.de> | |||
| 2015-04-22 | make vis print version with command option -v | Christian Hesse | |
| The man page states this is possible, so add the code. Signed-off-by: Christian Hesse <mail@eworm.de> | |||
| 2015-04-22 | get version from git | Christian Hesse | |
| Signed-off-by: Christian Hesse <mail@eworm.de> | |||
| 2015-04-22 | Rename window.[ch] to view.[ch] | Marc André Tanner | |
| 2015-04-22 | Yet more renames (EditorWin -> Win) | Marc André Tanner | |
| 2015-04-22 | More renames, no functional changes | Marc André Tanner | |
| Win -> View, window_* -> view_* | |||
| 2015-04-22 | More renaming vis->win->view instead of vis->win->win | Marc André Tanner | |
| 2015-04-22 | Better variable naming (VisText -> File) | Marc André Tanner | |
| Therefore vis->win->text->data becomes vis->win->file->text. | |||
| 2015-04-21 | Remove redundant RegexMatch definition | Marc André Tanner | |
| 2015-04-21 | Improve loading of files | Marc André Tanner | |
| This fixes a segmentation fault when opening a directory. Also, opening a file you are not permitted to read, will now give an error, instead of showing the file as empty. Based on a patch by Willem van de Krol. | |||
| 2015-04-21 | Make '.' respect count | Marc André Tanner | |
| 2015-04-21 | Mark some movements as idempotent | Marc André Tanner | |
| 2015-04-21 | Make 'n', 'N', '*', '#' respect count | Marc André Tanner | |
| 2015-04-21 | Handle failure of a movement gracefully | Marc André Tanner | |
| This for example fixes movements to unset marks. | |||
| 2015-04-21 | Cleanup implementation of movements to marks | Marc André Tanner | |
| 2015-04-21 | Further clean up to/till movements | Marc André Tanner | |
| This makes them respect count i.e. something like 3f{char} should work. | |||
| 2015-04-21 | Cleanup implmentation of line and column movements | Marc André Tanner | |
