| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2015-07-09 | ui: unify backspace handling | Marc André Tanner | 2 | -9/+17 | |
| 2015-07-09 | ui: move terminal state handling code to ui specific file | Marc André Tanner | 3 | -3/+15 | |
| 2015-07-09 | ui: move input handling code to ui specific files | Marc André Tanner | 4 | -37/+50 | |
| 2015-07-09 | vis: improve handling of linewise deletion at end of file | Marc André Tanner | 1 | -3/+6 | |
| dd on the last line now moves the cursor to the start of the preceding line. | |||||
| 2015-07-08 | vis: make J (join) behave like in vim when given a count | Marc André Tanner | 1 | -0/+2 | |
| 2015-07-08 | vis: only read file content from stdin if - was specified | Marc André Tanner | 1 | -1/+1 | |
| This allows to feed keyboard input from a file as in: cat keyboard-input | vis input-file which will be used for testing purposes. | |||||
| 2015-07-07 | text: safer temporary file creation | Marc André Tanner | 1 | -1/+4 | |
| Set umask before calling mkstemp. According to POSIX 2008 this is not necessary since the temporary file is guaranteed to be created with permission restricted to the current user. However this is more secure on non-conforming systems and safe as long as we do not use multiple threads. Fixes Coverity CID 101333. | |||||
| 2015-07-07 | view: properly NUL terminate whitespace replacement symbols | Marc André Tanner | 1 | -3/+3 | |
| This should not be a problem in practice, since cell->data is large enough anyway. | |||||
| 2015-07-07 | text: avoid double close in error case | Marc André Tanner | 1 | -0/+1 | |
| 2015-07-07 | text: remove left over debugging code | Marc André Tanner | 1 | -6/+0 | |
| 2015-07-06 | Make selection contiguous over whitespace symbols | Marc André Tanner | 1 | -2/+3 | |
| 2015-07-06 | Warn when saving a file which has been changed outside the editor | Marc André Tanner | 5 | -2/+24 | |
| 2015-07-06 | text: remove text_load_fd and text_fd_get | Marc André Tanner | 5 | -64/+33 | |
| 2015-07-06 | Move filename from Text to File | Marc André Tanner | 8 | -65/+58 | |
| Also apply syntax rules every time the file name changes. | |||||
| 2015-07-06 | text: overhaul file load implementation | Marc André Tanner | 1 | -3/+34 | |
| Files smaller than 8M are now copied into an internal buffer upon load. Thus they can be safely truncated. Larger files are memory mapped and use the file/virtual memory system as caching layer. Hence truncating them will corrupt the file content. Eventually the resulting SIGBUS should be handled gracefully. | |||||
| 2015-07-06 | text: overhaul save implemenation | Marc André Tanner | 2 | -39/+207 | |
| Try to do an atomic save using rename(2) unless * the file is a symbolic link * the file is a hard link * file ownership can not be preserved * file group can not be preserved * POSXI ACL can not be preserved (if enabled) * SELinux security context can not be preserved (if enabled) in which case the file is overwritten in place. However a failure to do so results in data loss. Closes #47. | |||||
| 2015-07-05 | make: only call uname once in config.mk | Marc André Tanner | 1 | -6/+8 | |
| 2015-07-05 | text: store buffer allocation type (mmap or malloc) | Marc André Tanner | 1 | -16/+33 | |
| 2015-07-03 | Add movements to next/previous character within same line | Marc André Tanner | 3 | -0/+25 | |
| These movements always keep the cursor on the same line and do not move over newlines. | |||||
| 2015-07-03 | Do not take a snapshot in text_range_write | Silvan Jegen | 1 | -2/+0 | |
| Since text_range_write is called several times in cmd_filter, the undo command does not undo the whole filter operation but only up to the last call of text_range_write. Removing the snapshot-taking code solves this issue. | |||||
| 2015-07-03 | Remove text dump debugging code | Marc André Tanner | 2 | -19/+0 | |
| Instead use the text-dump git branch if necessary. | |||||
| 2015-07-03 | Fix handling of multibyte characters (at start of display area) | David B. Lamkins | 1 | -1/+3 | |
| 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 | 6 | -17/+149 | |
| 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 | 1 | -3/+3 | |
| 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 | 3 | -44/+2 | |
| 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 | 6 | -120/+69 | |
| 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 | 1 | -4/+4 | |
| 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 | 1 | -3/+3 | |
| 2015-06-28 | Fix copy/paste error in text_restore | Marc André Tanner | 1 | -1/+1 | |
| This really needs some unit tests. | |||||
| 2015-06-28 | Replace a->time with a->seq in history_traverse_to | Ryan Chipman | 1 | -3/+3 | |
| 2015-06-28 | Add seq field to Action struct | Ryan Chipman | 1 | -0/+8 | |
| 2015-06-27 | Add more thorough description of history to README | Ryan Chipman | 1 | -11/+16 | |
| 2015-06-27 | Make :earlier and :later accept arguments similar to vim | Marc André Tanner | 4 | -31/+90 | |
| 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 | 1 | -4/+4 | |
| 2015-06-27 | Edit README to reflect new history implementation | Ryan Chipman | 1 | -6/+10 | |
| 2015-06-27 | Hook up :-commands & keybindings for earlier/later | Ryan Chipman | 2 | -0/+45 | |
| 2015-06-27 | Core undo tree changes | Ryan Chipman | 2 | -50/+132 | |
| 2015-06-24 | fixed some typos in comments | Ryan Chipman | 1 | -2/+2 | |
| 2015-06-04 | Use $(MAKE) instead of directly calling `make` | Michael Reed | 1 | -1/+1 | |
| 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 | 1 | -2/+5 | |
| 2015-05-17 | Implement :r and :r! in terms of filter commands | Marc André Tanner | 2 | -26/+21 | |
| 2015-05-17 | Filter command :! | Marc André Tanner | 3 | -0/+219 | |
| 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 | 2 | -1/+5 | |
| 2015-05-16 | Cleanup general purpose buffer API | Marc André Tanner | 6 | -21/+30 | |
| 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 | 1 | -1/+2 | |
| 2015-05-16 | Improve parsing of :-command name and parameters | Silvan Jegen | 1 | -8/+16 | |
| 2015-05-14 | In command mode make the '.' range specifier match the current line | Marc André Tanner | 1 | -1/+5 | |
| 2015-05-07 | Add '--' as end of options | Matias Linares | 2 | -1/+8 | |
| 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 | 1 | -1/+1 | |
| Signed-off-by: Silvan Jegen <s.jegen@gmail.com> | |||||
| 2015-04-29 | Move redrawing out of operator implementations | Marc André Tanner | 1 | -13/+15 | |
| Note that currently all windows are redrawn, this could be further optimized to only redraw the affected windows. | |||||
