| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 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. | |||||
| 2015-10-15 | ui: cleanup redrawing | Marc André Tanner | 1 | -60/+58 | |
| 2015-10-14 | view: cleanup option handling | Marc André Tanner | 1 | -10/+12 | |
| 2015-10-14 | ui: refactor syntax style definitions | Marc André Tanner | 1 | -12/+410 | |
| Styles can now be specified as strings which will make them easier to specify from outside the editor. The following style attributes can be given in a comma separated list: bold italics underlined fore:color back:color where color is either a hex value of the form #aabbcc or one of the predefined colors: black red green yellow blue magenta cyan white | |||||
| 2015-10-08 | ui: fix ressource leak (CID 114606) | Marc André Tanner | 1 | -5/+6 | |
| 2015-10-05 | vis: rework input handling using libtermkey | Marc André Tanner | 1 | -43/+41 | |
| Key bindings are now specified as symbolic key strings, this will eventually allow run time configurable key mappings. This introduces a bulid time dependency on libtermkey which can be found at: http://www.leonerd.org.uk/code/libtermkey/ | |||||
| 2015-09-06 | ui: differentiate between Ctrl-J and enter | Marc André Tanner | 1 | -0/+1 | |
| Thus enter no longer creates new cursors, use CTRL-j instead. Closes #69 | |||||
| 2015-08-18 | ui: remove translation of ^b to backspace | Marc André Tanner | 1 | -1/+0 | |
| Closes #67 | |||||
| 2015-08-12 | ui: query terminal size on stderr | Marc André Tanner | 1 | -1/+2 | |
| We always draw the editor user interface to stderr in order to allow usage as a filter e.g. $ echo Hello | vis - | grep World > out hence stdin might be redirected and we should always read the terminal size from stderr. Closes #66 | |||||
| 2015-08-09 | ui: make cursor visible when executing external programs | Marc André Tanner | 1 | -0/+2 | |
| This also affects the file open dialog. | |||||
| 2015-07-28 | ui: try to fixup unicode display issues | Marc André Tanner | 1 | -0/+7 | |
| The handling of combining characters needs to be reviewed there are still strange things going on. This only covers up some of the artifacts. | |||||
| 2015-07-26 | view: always fill out complete cell matrix | Marc André Tanner | 1 | -22/+8 | |
| 2015-07-26 | vis: add infrastructure to support multiple cursors/selections | Marc André Tanner | 1 | -10/+5 | |
| This cleans up the existing selection handling code and adds the necessary bits to eventually support multiple cursors/selections. The cursor position is kept track of using marks, which means retrieving the cursor position is no longer a constant time operation. Furthermore the terminal cursor is no longer used, instead the whole window is redrawn after every cursor movement. | |||||
| 2015-07-21 | ui: further separate curses related user interface code | Marc André Tanner | 1 | -4/+15 | |
| By now ui-curses.[hc] are the only files dealing directly with curses related functions. Integration of a proper mainloop is still pending. | |||||
| 2015-07-09 | ui: abstract curses related special keys away | Marc André Tanner | 1 | -1/+0 | |
| 2015-07-09 | ui: unify backspace handling | Marc André Tanner | 1 | -0/+13 | |
| 2015-07-09 | ui: move terminal state handling code to ui specific file | Marc André Tanner | 1 | -0/+11 | |
| 2015-07-09 | ui: move input handling code to ui specific files | Marc André Tanner | 1 | -0/+42 | |
| 2015-07-06 | Move filename from Text to File | Marc André Tanner | 1 | -15/+17 | |
| Also apply syntax rules every time the file name changes. | |||||
| 2015-07-03 | Add :show command to display special symbols for whitespaces | Marc André Tanner | 1 | -1/+3 | |
| Enable/disable by setting to 0/1 respectively: :set show spaces=0 tabs=0 newlines=1 | |||||
| 2015-04-22 | More renames, no functional changes | Marc André Tanner | 1 | -12/+12 | |
| Win -> View, window_* -> view_* | |||||
| 2015-04-11 | Remove global mode state | Marc André Tanner | 1 | -1/+1 | |
| Once again show mode in window status bar. | |||||
| 2015-04-11 | Further ui separation, eliminate global state | Marc André Tanner | 1 | -16/+33 | |
| 2015-04-07 | Set '< and '> marks | Marc André Tanner | 1 | -18/+10 | |
| 2015-04-07 | Prevent black flicker on load | John W. Trengrove | 1 | -0/+1 | |
