| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2016-05-22 | ui: s/UiStyles/UiStyle/g | Marc André Tanner | 1 | -1/+1 | |
| 2016-05-10 | Revert "vis: clean up interaction between vis and ui" | Marc André Tanner | 1 | -5/+15 | |
| This caused issues on OpenBSD where it crashed the terminal. Also on Mac OS X suspend via ^Z (Ctrl-Z) was missing a \r i.e. the shell prompt was not properly redrawn. While in principle user interfaces should not have to depend on libtermkey, in practice this won't be an issue unless we are adding a non-terminal based UI (which won't happen anytime soon). This reverts commit 8f92b98848f9366e78c7aa824615bade83971513. Close #311 | |||||
| 2016-05-04 | vis: enable large file optimizations for files with long lines | Marc André Tanner | 1 | -3/+11 | |
| 2016-05-04 | vis: clean up cursor column display | Marc André Tanner | 1 | -7/+11 | |
| 2016-05-04 | vis: clean up interaction between vis and ui | Marc André Tanner | 1 | -15/+5 | |
| A concrete user interface implementation should not have to depend on libtermkey. Therefore the vis core now uses an independent instance to parse keys. | |||||
| 2016-05-04 | vis: re-open stdin as /dev/tty when reaching EOF | Marc André Tanner | 1 | -3/+40 | |
| This handles (notices the missing - at the end of the command line): $ printf ":new\n" | vis more gracefully. This instructs vis to read commands (not file content) from stdin. Once all input from stdin is consumed we open /dev/tty and start processing regular keyboard input instead. | |||||
| 2016-04-17 | vis: indicate primary cursor by using a different color instead of blinking | Marc André Tanner | 1 | -4/+1 | |
| Blinking caused more problems (#251, #202) than it solved. Blank cells were especially problematic. | |||||
| 2016-04-08 | vis: let :e recreate a window at the same location as the old one | Marc André Tanner | 1 | -0/+31 | |
| Close #224 | |||||
| 2016-04-08 | vis: indicate primary cursor number in status bar | Marc André Tanner | 1 | -6/+12 | |
| If there exist multiple cursors, [n/m] is added to the status bar. Meaning the n-th cursor out of the existing m cursors is currently the primary one. | |||||
| 2016-03-23 | Remove identically replicated copyright comments from source files | Marc André Tanner | 1 | -15/+1 | |
| 2016-03-12 | ui/view: general code cleanup | Marc André Tanner | 1 | -5/+10 | |
| 2016-03-12 | ui: use correct default cell style | Marc André Tanner | 1 | -1/+4 | |
| This is important for files without associated syntax highlighting. The selections should now again be visible. | |||||
| 2016-03-12 | ui: make primary cursor blink even if no lua theme has been loaded | Marc André Tanner | 1 | -4/+4 | |
| 2016-03-11 | ui: also blink primary cursor if it is on a blank cell | Marc André Tanner | 1 | -1/+4 | |
| 2016-03-10 | view: add query function for multiple cursors | Marc André Tanner | 1 | -1/+1 | |
| 2016-03-10 | ui: make primary cursor blink | Marc André Tanner | 1 | -1/+5 | |
| 2016-03-10 | ui: add support for blink style attribute | Marc André Tanner | 1 | -0/+4 | |
| 2016-02-12 | Improve large file support | Marc André Tanner | 1 | -7/+10 | |
| Disable absolute line numbers for large files (currently anything bigger than 32MiB). This speeds up moving around with for example nn% since no new lines need to be calculated. Of course movements like :nn will be unaffected. The optimizations can be disabled by explicitly enabling absolute line numbers as in :set number | |||||
| 2016-01-30 | Improve Lua error reporting | Marc André Tanner | 1 | -0/+6 | |
| Display Lua errors in a dedicated window/file. A typo or missing dependency (e.g. lpeg) in visrc.lua will no longer silently fail without any indication. The Lua integration in view.h is not yet converted. | |||||
| 2016-01-17 | ui: display current line number instead of relative 0 | Marc André Tanner | 1 | -3/+5 | |
| 2016-01-17 | ui: support color definitions in terms of the 256 color palette | Marc André Tanner | 1 | -0/+3 | |
| 2016-01-13 | Implement command/search prompt history as a regular file | Marc André Tanner | 1 | -76/+50 | |
| 2016-01-13 | ui: make statusbar configurable | Marc André Tanner | 1 | -9/+13 | |
| 2016-01-10 | Simplify code by using text_bytes_alloc0 | Marc André Tanner | 1 | -6/+1 | |
| 2015-12-26 | vis: refactor Lua integration | Marc André Tanner | 1 | -1/+2 | |
| Lua support can now be disabled at compile time using: $ make CONFIG_LUA=0 This commit also adds an initial Lua API and provides a few default hooks. We now also require Lua >= 5.2 due to the uservalue constructs. In principle the same functionality could be implemented using function environments from Lua 5.1. | |||||
| 2015-12-20 | vis: fix forceful redraw <C-l> | Marc André Tanner | 1 | -0/+6 | |
| 2015-11-17 | ui: improve fallback code in case of unknown term | Marc André Tanner | 1 | -1/+1 | |
| If the current $TERM value indicates 256 color support fall back to xterm-256color otherwise try xterm. Improves upon 43605fded457cec954600b688d54242341eedc7c Closes #105 | |||||
| 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-08 | ui: warn if theme loading failed | Marc André Tanner | 1 | -2/+8 | |
| 2015-11-08 | Fix warnings found by static analyzer | Marc André Tanner | 1 | -2/+2 | |
| 2015-11-08 | Update year numbers in Copyright clause | Marc André Tanner | 1 | -2/+14 | |
| 2015-11-08 | Remove trailing white space from source files | Marc André Tanner | 1 | -5/+5 | |
| 2015-11-08 | ui: try to make sure that selected text is still visible | Marc André Tanner | 1 | -1/+1 | |
| 2015-11-08 | ui: load syntax theme based on the number of supported colors | Marc André Tanner | 1 | -0/+3 | |
| The theme to use can be overriden via the $VIS_THEME environment variable. $ VIS_THEME=solarized vis | |||||
| 2015-11-08 | vis: implement :set colorcolumn | Marc André Tanner | 1 | -0/+1 | |
| 2015-11-08 | ui: make default selection visible | Marc André Tanner | 1 | -1/+4 | |
| 2015-11-08 | ui: redo syntax coloring after resize | Marc André Tanner | 1 | -0/+1 | |
| 2015-11-08 | vis: implement :set cursorline | Marc André Tanner | 1 | -0/+13 | |
| 2015-11-08 | vis: experimental support for lua/lpeg based syntax highlighting | Marc André Tanner | 1 | -22/+56 | |
| The lua based lexers are searched in the following order: $VIS_PATH/lexers $HOME/.vis/lexers /usr/share/vis/lexers followed by the standard lua package.path | |||||
| 2015-11-07 | vis: API documentation and cleanup | Marc André Tanner | 1 | -1/+0 | |
| 2015-11-03 | vis: let libtermkey map <DEL> to <Backspace> | Marc André Tanner | 1 | -1/+1 | |
| 2015-10-27 | ui: make color parsing more robust | Marc André Tanner | 1 | -0/+2 | |
| 2015-10-27 | ui: properly restore terminal state upon exit | Marc André Tanner | 1 | -2/+5 | |
| 2015-10-27 | vis: make Vis an opaque type, hide implementaton details | Marc André Tanner | 1 | -5/+5 | |
| 2015-10-27 | vis: introduce vis_macro_recording API | Marc André Tanner | 1 | -1/+1 | |
| 2015-10-26 | vis: move key handling functions to main.c | Marc André Tanner | 1 | -1/+2 | |
| 2015-10-26 | vis: merge editor.c into vis.c | Marc André Tanner | 1 | -4/+4 | |
| 2015-10-22 | ui: introduce and use ui specific die(...) function | Marc André Tanner | 1 | -0/+7 | |
| 2015-10-22 | vis: improve :help text, add separate status mode names | Marc André Tanner | 1 | -1/+1 | |
| 2015-10-15 | ui: add uniform function prefix | Marc André Tanner | 1 | -22/+22 | |
| Not strictly necessary since those are static, but still nicer. | |||||
