| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2014-10-25 | Change return type of text_save | Marc André Tanner | 1 | -4/+4 | |
| 2014-10-24 | Do not crash when given an invalid search pattern | Marc André Tanner | 1 | -1/+4 | |
| 2014-10-23 | Move feature test macros to config.mk | Marc André Tanner | 1 | -2/+0 | |
| 2014-10-19 | Preserve file permissions when saving | Stephen Paul Weber | 1 | -3/+10 | |
| 2014-10-17 | Make editor usable as a filter: echo foo | vis - | cat | Marc André Tanner | 1 | -1/+31 | |
| The terminal output is by default redirected to stderr, making stdout available for communications purposes. If a file is "opened" from stdin (i.e. vis is given '-' as argument) and a subsequent write without a filename is performed as in ":wq" the output is written to stdout. | |||||
| 2014-10-17 | Read stdin when given - as filename | Marc André Tanner | 1 | -0/+12 | |
| 2014-09-28 | More helpful error when trying to open a non file | Marc André Tanner | 1 | -1/+3 | |
| This is not really correct e.g. vis /dev/zero will print a misleading error. | |||||
| 2014-09-28 | Make '.' repeat last insertion | Marc André Tanner | 1 | -0/+13 | |
| 2014-09-28 | Fix typo in piece table caching layer | Marc André Tanner | 1 | -1/+1 | |
| This resulted in uneccesary pieces of size 1. | |||||
| 2014-09-28 | Improve argument validation in text_insert | Marc André Tanner | 1 | -0/+2 | |
| 2014-09-22 | Add support for the '<', '>' marks | Marc André Tanner | 1 | -1/+1 | |
| 2014-09-19 | This fixes warning with latest glibc (>= 2.19.90), which deprecated _BSD_SOURCE | Christian Hesse | 1 | -0/+1 | |
| warning: _BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE Commit 4f537d8e4bd9707a0048289f296510b76ce6d642 just fixed one of three cases. Fix the remaining. | |||||
| 2014-09-19 | Remove some TODO items | Marc André Tanner | 1 | -3/+0 | |
| 2014-09-19 | Support files with Windows style newlines \r\n | Marc André Tanner | 1 | -0/+15 | |
| 2014-09-19 | Windows style newlines are actually \r\n not \n\r | Marc André Tanner | 1 | -4/+1 | |
| This is fiddely stuff, hopefully it doesn't break too much | |||||
| 2014-09-16 | Fix editing of files with length 0 | Gregor Best | 1 | -3/+5 | |
| Signed-off-by: Gregor Best <gbe@unobtanium.de> | |||||
| 2014-09-14 | Fix save to absolute paths | Marc André Tanner | 1 | -9/+14 | |
| The save logic still needs changes to restore file permissions, ownership (if run as root) etc. | |||||
| 2014-09-14 | Make byte based iterator API handle the whole range [0, size] | Marc André Tanner | 1 | -5/+28 | |
| Before this commit the valid range was [0, size) which represents the file content. For the position at EOF (=size) a NUL byte is returned which is not actually part of the underlying file. This should fix various movements / editing operations at the end of the file. For example Ctrl+w at the end of the command prompt. | |||||
| 2014-09-14 | Use EPOS where appropriate | Marc André Tanner | 1 | -4/+4 | |
| 2014-09-14 | All *_free(...) functions should accept a NULL argument | Marc André Tanner | 1 | -0/+2 | |
| 2014-09-14 | Fix clang static analyzer warnings | Marc André Tanner | 1 | -0/+8 | |
| 2014-09-13 | Introduce some helper functions dealing with Filerange | Marc André Tanner | 1 | -0/+19 | |
| 2014-09-13 | Rename text_insert_raw to text_insert | Marc André Tanner | 1 | -5/+1 | |
| 2014-09-13 | Introduce and use EPOS instead of (size_t)-1 | Marc André Tanner | 1 | -4/+4 | |
| 2014-09-12 | Make sure that the state is consistent after an undo operation | Marc André Tanner | 1 | -0/+2 | |
| When performing an undo operation, further changes should not be accounted to the then active action. Therefore take a snapshot which resets txt->current_action to NULL. | |||||
| 2014-09-12 | Remove outdated comments | Marc André Tanner | 1 | -2/+0 | |
| 2014-09-12 | Introduce text_filename_set | Marc André Tanner | 1 | -2/+6 | |
| This can be used to associate a given filename to a currently unnamed text. | |||||
| 2014-09-12 | Rename text_filename to text_filename_get | Marc André Tanner | 1 | -1/+1 | |
| 2014-09-12 | Restore cursor position after an undo/redo | Marc André Tanner | 1 | -11/+17 | |
| 2014-09-11 | Avoid segfault if no previous search has been performed | Marc André Tanner | 1 | -1/+5 | |
| 2014-09-10 | If text has been created from an empty file, store filename upon first save | Marc André Tanner | 1 | -0/+2 | |
| 2014-09-10 | Add comments where appropriate | Marc André Tanner | 1 | -2/+2 | |
| 2014-09-09 | Fix a few memory leaks | Marc André Tanner | 1 | -0/+1 | |
| 2014-09-08 | Hook up search as a movement | Marc André Tanner | 1 | -2/+4 | |
| 2014-09-08 | Unify variable naming | Marc André Tanner | 1 | -195/+195 | |
| Only textual substitution no functional changes. | |||||
| 2014-09-08 | Use named struct initializers where appropriate | Marc André Tanner | 1 | -14/+6 | |
| 2014-08-28 | text: fix iterator_char{prev,next} to accept NULL argument | Marc André Tanner | 1 | -2/+4 | |
| 2014-08-25 | Move motion related stuff into own file | Marc André Tanner | 1 | -0/+4 | |
| 2014-08-24 | Add license header | Marc André Tanner | 1 | -0/+15 | |
| 2014-08-23 | Share common macros in util.h | Marc André Tanner | 1 | -7/+1 | |
| 2014-08-23 | text: invalidate line <-> pos mapping upon undo/redo | Marc André Tanner | 1 | -0/+2 | |
| 2014-08-23 | text: redesing mark implementation | Marc André Tanner | 1 | -20/+16 | |
| Previously a mark was a byte offset from the start of the file which required updates whenever a text modification happened before it. Now it is simply a pointer into the underlying (mostly) append only buffer which remains valid throughout the whole life cycle. | |||||
| 2014-08-23 | text: refactor piece_get | Marc André Tanner | 1 | -20/+29 | |
| 2014-08-14 | Remove useless replace API | Marc André Tanner | 1 | -10/+0 | |
| The removed junk might not have the same length as the newly inserted one. | |||||
| 2014-08-14 | Rename files editor.[ch] -> text.[ch] | Marc André Tanner | 1 | -0/+1094 | |
