| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2015-11-23 | vis: improve replacement of combining characters | Marc André Tanner | 3 | -6/+32 | |
| 2015-11-23 | view: fix cell placement of combining characters | Marc André Tanner | 2 | -9/+20 | |
| They now belong to the cell holding the corresponding regular (i.e. non-combining) character. This also means that at least in theory a cell could hold arbitrary amounts of data, in practice it is limited to 16 bytes. | |||||
| 2015-11-23 | text: introduce functions to iterate over graphemes | Marc André Tanner | 3 | -7/+65 | |
| They currently consider any character for which wcwidth(3) return 0 as a combining character. | |||||
| 2015-11-20 | buffer: tweak memory allocation strategy | Marc André Tanner | 1 | -4/+1 | |
| Do not simply double the requested size. Instead take the maximum of - the requested size - double the current buffer size This will use less memory for large register operations (e.g. deleting the whole file). | |||||
| 2015-11-20 | text: get modification time after replacing file content in place | Marc André Tanner | 1 | -0/+2 | |
| At the start of text_save_range we stat(2) the file to check whether we have currently mmap(2)-ed it. Then we proceed to write the new file content which changes modification time. Hence we have to stat(2) again to retrieve it. This should fix spurious warnings about file changes outside the editor when editing e.g. symlinked files. | |||||
| 2015-11-19 | vis: improve <C-p> in visual mode | Marc André Tanner | 1 | -0/+1 | |
| Make sure that the (new) primary cursor is visible after removing the last matched selection. | |||||
| 2015-11-19 | vis: fix <C-n> in visual mode for partial matches | Marc André Tanner | 1 | -1/+1 | |
| We need to properly skip partial matches (i.e. not whole words). Closes #118 | |||||
| 2015-11-19 | buffer: add some comments to clarify allocation strategy | Marc André Tanner | 2 | -4/+9 | |
| Closes #116 | |||||
| 2015-11-17 | vis: put in visual mode should replace the current selection | Marc André Tanner | 1 | -2/+8 | |
| There are some combinations (e.g. line wise selection / character wise register content) which should probably be improved further. Also since vis currently neither supports the numbered registers "0 - "9 nor the small delete register "- the deleted text is not stored in any register. Notice that we can't call op_delete in the implementation because it would overwrite the register content we want to paste. Closes #113 | |||||
| 2015-11-17 | ui: improve fallback code in case of unknown term | Marc André Tanner | 2 | -2/+2 | |
| If the current $TERM value indicates 256 color support fall back to xterm-256color otherwise try xterm. Improves upon 43605fded457cec954600b688d54242341eedc7c Closes #105 | |||||
| 2015-11-14 | view: increase range to consider for syntax highlighting | David B. Lamkins | 1 | -1/+1 | |
| Increase the number of bytes to consider for syntax highligthing before the visisble area. This should improve the handling of long block comments. Closes #110 | |||||
| 2015-11-13 | lexer: improve pure lexer | David B. Lamkins | 1 | -11/+18 | |
| Closes #109 | |||||
| 2015-11-11 | ui: fall back to xterm-256color if term initialization fails | Marc André Tanner | 1 | -2/+5 | |
| This improves behaviour for unknwown/unrecognized terminals as is the case for self contained binaries built with "make standalone" which only includes a fixed set of terminal descriptions. Of course the terminal capabilities won't match, which will likely cause some display issues. | |||||
| 2015-11-11 | lexer: add lexer for pure | David B. Lamkins | 2 | -0/+55 | |
| Ref: http://purelang.bitbucket.org/ Closes #106 | |||||
| 2015-11-10 | build: do not clutter dependency/install with manual pages | Marc André Tanner | 1 | -1/+1 | |
| 2015-11-10 | Update .gitignore | Marc André Tanner | 1 | -2/+2 | |
| Closes #104 | |||||
| 2015-11-10 | lexer: fix some more color specifications | Marc André Tanner | 2 | -3/+3 | |
| 2015-11-10 | build: try to fix make standalone for multiarch systems | Marc André Tanner | 1 | -1/+1 | |
| Force ncurses libdir to be /usr/lib not /usr/lib64. | |||||
| 2015-11-10 | lexers: fix color specification in diff lexer | David B. Lamkins | 1 | -3/+3 | |
| Closes #102 | |||||
| 2015-11-09 | view: improve window redrawing for shared files/split windows | Marc André Tanner | 1 | -1/+1 | |
| When a file was being displayed in multiple windows changes in one could confuse the other. | |||||
| 2015-11-09 | view: correctly redraw window content | Marc André Tanner | 1 | -1/+4 | |
| If a change occured on the very first shown character, it was not properly reflected in the view. | |||||
| 2015-11-08 | ui: warn if theme loading failed | Marc André Tanner | 1 | -2/+8 | |
| 2015-11-08 | Clarify build dependencies in README | Marc André Tanner | 1 | -2/+2 | |
| 2015-11-08 | Fix warnings found by static analyzer | Marc André Tanner | 4 | -6/+5 | |
| 2015-11-08 | Mention make local in README | Marc André Tanner | 2 | -2/+5 | |
| 2015-11-08 | Update year numbers in Copyright clause | Marc André Tanner | 7 | -8/+20 | |
| 2015-11-08 | Remove trailing white space from source files | Marc André Tanner | 7 | -25/+25 | |
| 2015-11-08 | Mention new source files in README | Marc André Tanner | 1 | -2/+9 | |
| 2015-11-08 | Delete now obsolete syntax.h | Marc André Tanner | 5 | -22/+14 | |
| 2015-11-08 | vis: map <F1> to :help | Marc André Tanner | 1 | -0/+1 | |
| 2015-11-08 | vis: reindent config.def.h (no functional changes) | Marc André Tanner | 2 | -283/+285 | |
| 2015-11-08 | Tweak manual page | Marc André Tanner | 1 | -2/+24 | |
| 2015-11-08 | view: do not highlight matching symbols if selection is active | Marc André Tanner | 1 | -1/+1 | |
| 2015-11-08 | ui: try to make sure that selected text is still visible | Marc André Tanner | 1 | -1/+1 | |
| 2015-11-08 | theme: updated low color theme | Marc André Tanner | 1 | -9/+7 | |
| 2015-11-08 | theme: add default low color theme | Marc André Tanner | 2 | -0/+33 | |
| The theme was contributed by David B. Lamkins | |||||
| 2015-11-08 | ui: load syntax theme based on the number of supported colors | Marc André Tanner | 3 | -1/+3 | |
| The theme to use can be overriden via the $VIS_THEME environment variable. $ VIS_THEME=solarized vis | |||||
| 2015-11-08 | vis: introduce vis namespace for lua objects | Marc André Tanner | 3 | -11/+15 | |
| For now the vis table has only one member "lexers". | |||||
| 2015-11-08 | build: add VIS_PATH=. to suggested execution after make local | Marc André Tanner | 1 | -1/+1 | |
| 2015-11-08 | build: explicitly link againgst dl | Marc André Tanner | 1 | -1/+1 | |
| For musl this is a nop, it contains the relevant code in libc and provides and empty libdl archive for compatibility. However certain glibc based system need it. | |||||
| 2015-11-08 | lexer: add ledger lexer | Charles Lehner | 2 | -0/+58 | |
| 2015-11-08 | theme: increase contrast by setting background color to black | Marc André Tanner | 1 | -1/+1 | |
| 2015-11-08 | lexer: new lexer for man/roff format | David B. Lamkins | 2 | -0/+36 | |
| 2015-11-08 | lexer: new APL lexer | David B. Lamkins | 2 | -0/+69 | |
| 2015-11-08 | vis: try to support all lua versions >= 5.1 | Marc André Tanner | 4 | -7/+7 | |
| Make lpeg module table explicitly global, which should work with the different module loading semantics. | |||||
| 2015-11-08 | vis: implement :set colorcolumn | Marc André Tanner | 7 | -0/+36 | |
| 2015-11-08 | ui: make default selection visible | Marc André Tanner | 1 | -1/+4 | |
| 2015-11-08 | Add lexer specific README file | Marc André Tanner | 1 | -0/+48 | |
| 2015-11-08 | travis: try to fix build by using local built dependencies | Marc André Tanner | 1 | -2/+2 | |
| 2015-11-08 | ui: redo syntax coloring after resize | Marc André Tanner | 1 | -0/+1 | |
