| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2016-03-21 | configure: fix condition for ncurses | Christian Hesse | 1 | -4/+4 | |
| 2016-03-21 | build: overhaul build system auto detect stuff using a configure script | Marc André Tanner | 6 | -254/+663 | |
| The new build instructions are: $ ./configure && make && sudo make install The configure script tries to auto detect support for various libraries and compiler options. These choices can be overwritten by explicitly specifing --{en,dis}able-{lua,selinux,acl}. See ./configure --help for all supported options. The configure script generates config.mk which should allow portable (among GNU and BSD make) Makefiles. Manually editing config.mk is still supported. | |||||
| 2016-03-15 | vis: do not segfault when given a NULL command to process | Marc André Tanner | 1 | -0/+2 | |
| 2016-03-15 | vis: do properly replay ": and "/ registers | Marc André Tanner | 2 | -1/+9 | |
| This makes @: (and @/) work. | |||||
| 2016-03-15 | vis: slightly cleanup register related code | Marc André Tanner | 4 | -7/+12 | |
| 2016-03-15 | vis: add support for command register ": | Marc André Tanner | 4 | -0/+5 | |
| 2016-03-15 | text: improve ENOSPC handling when saving | Marc André Tanner | 1 | -0/+3 | |
| The default atomic save method using rename(2) would correctly fail, but the calling code would wrongly assume it was because of dealing with a special (e.g. hard or symlink) file or that some other properties (e.g. POSIX ACL, SELinux labels, permissions etc) could not be restored. It would then go on to ftruncate(2) the file, if the following writes then fail (which is likely if the new file content is bigger or some other process has used up disk space in the mean time) we lose data. This should fix it for the common case i.e. regular file where the rename(2) based method is used. The problem persits when directly overwriting a file. It is unclear whether this could be improved/fixed by: 1) first appending the new file content to the old one 2) fsync the data (old||new) 3) deleteing the original file content by overwritting it with the previously appended new file content. That is essentially moving the new file content from the end of the file to the start. 4) ftruncate to the new file size 5) fsync the data (new) if during 1) or 2) an error would occur we could revert the operation by doing a ftruncate to the original file size. An error in steps 3-5 would still be fatal. Another option would be to first write a backup file somewhere. | |||||
| 2016-03-14 | text-regex: fix possible infinite loop when searching backwards | Marc André Tanner | 1 | -1/+11 | |
| 2016-03-13 | Update README to include recent changes to supported registers | Marc André Tanner | 1 | -3/+2 | |
| 2016-03-13 | vis: convert gn and gN text objects to use "/ register content | Marc André Tanner | 4 | -7/+13 | |
| 2016-03-12 | ui/view: general code cleanup | Marc André Tanner | 3 | -14/+19 | |
| 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 | view: cleanup default ui style handling | Marc André Tanner | 1 | -28/+25 | |
| 2016-03-12 | vis-lua: allow to set window.syntax = nil | Marc André Tanner | 2 | -1/+6 | |
| This will load the default lua color theme. | |||||
| 2016-03-12 | view: also load lua theme for windows without syntax highlighting | Marc André Tanner | 1 | -7/+7 | |
| This for example affects the default background color and cursor related settings. | |||||
| 2016-03-12 | ui: make primary cursor blink even if no lua theme has been loaded | Marc André Tanner | 1 | -4/+4 | |
| 2016-03-12 | vis: overhaul search related code, support "/ register | Marc André Tanner | 5 | -19/+51 | |
| 2016-03-12 | register: add function to set register content to arbitrary data | Marc André Tanner | 2 | -0/+5 | |
| 2016-03-12 | register: make sure returned register content is always NUL terminated | Marc André Tanner | 1 | -1/+4 | |
| 2016-03-12 | register: rename register put related functions | Marc André Tanner | 3 | -8/+8 | |
| 2016-03-11 | Update README to reflect changes in multiple cursor support | Marc André Tanner | 1 | -3/+8 | |
| 2016-03-11 | ui: also blink primary cursor if it is on a blank cell | Marc André Tanner | 2 | -1/+5 | |
| 2016-03-11 | vis: respect count for <C-d> and <C-u> | Marc André Tanner | 1 | -10/+13 | |
| 2016-03-10 | view: add query function for multiple cursors | Marc André Tanner | 4 | -6/+11 | |
| 2016-03-10 | ui: make primary cursor blink | Marc André Tanner | 5 | -1/+12 | |
| 2016-03-10 | ui: add support for blink style attribute | Marc André Tanner | 1 | -0/+4 | |
| 2016-03-10 | vis: let <C-u> and <C-d> in visual mode move to prev/next cursor | Marc André Tanner | 2 | -4/+40 | |
| We do currently not enforce a strict ordering among cursors. Hence these key bindings can move you to an arbitray position. In practice it somewhat works because most of the time cursors are created in "top-down" i.e from the start of the file towards the end. | |||||
| 2016-03-10 | view: clean up API functions related to primary cursor handling | Marc André Tanner | 4 | -10/+23 | |
| The currently visible display port is always adjusted in a way that the primary cursor is visible. | |||||
| 2016-03-10 | vis: let /^pattern match at the start of the line | Marc André Tanner | 1 | -1/+1 | |
| 2016-03-08 | Merge branch 'master' of https://github.com/xomachine/vis | Marc André Tanner | 1 | -2/+2 | |
| 2016-03-08 | Add missing angle brackets around broken C-p key binding | Marc André Tanner | 1 | -1/+1 | |
| 2016-03-08 | Workaround for #199 | xomachine | 1 | -2/+2 | |
| 2016-03-08 | Added page up and down keys for visual mode | Erlend Fagerheim | 1 | -0/+4 | |
| 2016-03-08 | vis: handle lexer module load failure even more gracefully | Marc André Tanner | 1 | -2/+3 | |
| Close #197 | |||||
| 2016-03-06 | vis: gracefully handle lpeg module load failure | Marc André Tanner | 1 | -1/+7 | |
| 2016-03-06 | build: remove hardening compiler flags for now | Marc André Tanner | 1 | -9/+0 | |
| They do not seem to be supported on all platforms (e.g. FreeBSD). Users who know what they are doing can still provide them via the regular $CFLAGS mechanism. Eventually these should be tested by a handwritten configure script and added to config.mk iff they are supported by the toolchain. | |||||
| 2016-02-28 | build: do not modify $CFLAGS directly | Marc André Tanner | 1 | -5/+10 | |
| These are picked-up by configure when building dependencies during make standalone. | |||||
| 2016-02-28 | build: update make standalone to use musl-1.1.14 | Marc André Tanner | 1 | -2/+2 | |
| 2016-02-25 | vis: ignore trailing NUL byte of register content by default | Marc André Tanner | 3 | -1/+10 | |
| This is handy when editing registers used for macros. | |||||
| 2016-02-25 | vis: use standard registers for macro recordings | Marc André Tanner | 5 | -69/+52 | |
| Also support upper case register to append to an existing macro. | |||||
| 2016-02-23 | Make f, F, t, T motion work when replaying a macro | Marc André Tanner | 1 | -6/+9 | |
| 2016-02-23 | Merge branch 'line-motions' of https://github.com/rgburke/vis | Marc André Tanner | 1 | -0/+2 | |
| 2016-02-22 | Added + and - motions | Richard Burke | 1 | -0/+2 | |
| 2016-02-22 | initized variables | Christian Hesse | 1 | -2/+2 | |
| 2016-02-22 | remove unused function cmd() | Christian Hesse | 1 | -7/+0 | |
| 2016-02-21 | vis: only move to start of yanked range if it is not line wise | Marc André Tanner | 1 | -1/+1 | |
| Otherwise this completely breaks the common case of yanking a whole line with yy. This also means that the beavior in visual line mode is different than in vim. Partially reverts ff57c0b8598a60617983ebe25d34c79a9c6bc511. | |||||
| 2016-02-21 | vis: insert missing new line when putting at the end of file | Marc André Tanner | 1 | -0/+3 | |
| Something like ifoo<Escape>yyp should produce foo foo not foofoo as was the case before. | |||||
| 2016-02-21 | Cleanup new line insertion code | Marc André Tanner | 3 | -20/+15 | |
| 2016-02-20 | vis: move cursor to next char after ~ in normal mode | Marc André Tanner | 1 | -1/+1 | |
| This will not work as expected when given a count. Close #181 | |||||
| 2016-02-20 | vis: reject obviously recursive key bindings | Marc André Tanner | 1 | -0/+3 | |
| This does only detect the simplest cases. | |||||
