| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2016-03-25 | vis: remove __DATE__ and __TIME__ references to aid with reproducible builds | Marc André Tanner | 2 | -2/+2 | |
| 2016-03-25 | vis: do not crash when using vis:command without active window | Marc André Tanner | 1 | -1/+8 | |
| 2016-03-25 | configure: fix probing of hardening flags | Marc André Tanner | 1 | -3/+3 | |
| 2016-03-24 | build: use order only dependencies for build folder | Marc André Tanner | 1 | -10/+11 | |
| This prevents unecessary rebuilds when doing consecutive make standalone builds. | |||||
| 2016-03-24 | build: expose make dependency-local target | Marc André Tanner | 1 | -4/+9 | |
| Remove more stuff when switching between make local and make standalone. | |||||
| 2016-03-24 | Mention libutf in LICENSE | Marc André Tanner | 1 | -0/+3 | |
| 2016-03-24 | handle patch as usual source | Christian Hesse | 1 | -4/+8 | |
| 2016-03-24 | make sure build directory exists | Christian Hesse | 1 | -6/+9 | |
| Signed-off-by: Christian Hesse <mail@eworm.de> | |||||
| 2016-03-23 | build: fix make local, improve make standalone | Marc André Tanner | 1 | -5/+27 | |
| The local target should use the system curses library not a custom build one. Also the two targets are now compatible with each other, meaning that the relevant libraries are correctly rebuilt from scratch against the correct libc. | |||||
| 2016-03-23 | build: rename package specific targets used for make local/standalone | Marc André Tanner | 1 | -27/+27 | |
| All targets start with the package name which allows to easily rebuild a package by removing everything matching the shell pattern dependency/build/$package* | |||||
| 2016-03-23 | visrc: Move filetype detection to separate function | Josh Wainwright | 1 | -2/+7 | |
| I hadn't noticed the `return;` line when a filetype match is found so couldn't get my additions to this function to work. Moving the detection to a separate function keeps that isolated and indicates that other functions can be called from the same `vis.events.win_open` hook. | |||||
| 2016-03-23 | do not link lua against ncurses | Christian Hesse | 1 | -1/+1 | |
| 2016-03-23 | fix dependencies for standalone build | Christian Hesse | 1 | -1/+1 | |
| 2016-03-23 | fix install prefix for standalone build | Christian Hesse | 1 | -0/+6 | |
| 2016-03-23 | configure: use capital letters for variable names | Christian Hesse | 1 | -26/+26 | |
| 2016-03-23 | configure: default to cc instead of c99 | Marc André Tanner | 1 | -1/+1 | |
| Using -std=c99 in combination with c99 does not make sense. Some versions of Mac OS seem to have a broken wrapper implementing the c99 utility which always generates 32-bit code instead of targeting the native architecture. http://stackoverflow.com/questions/4182413 Also add clang to the list of compilers to try. | |||||
| 2016-03-23 | Make vis-clipboard executable | Marc André Tanner | 1 | -0/+0 | |
| 2016-03-23 | configure: fix detection of libtermkey | Marc André Tanner | 1 | -1/+1 | |
| On Cygwin the configure check for libtermkey fails due to unresolved symbols from libcurses. The pkg-config file of libtermkey lacks a reference to its dependencies (either curses or unibilium). Since we depend on curses anyway we can fix this by adding $LDFLAGS_CURSES to the configure check. | |||||
| 2016-03-23 | configure: use temporary file instead of /dev/null for compiler output | Marc André Tanner | 1 | -12/+13 | |
| This should fix configure checks on Cygwin whereas before gcc would attempt (and fail) to write to /dev/null.exe | |||||
| 2016-03-23 | Add missing word | Marc André Tanner | 1 | -1/+1 | |
| 2016-03-23 | Remove identically replicated copyright comments from source files | Marc André Tanner | 7 | -103/+34 | |
| 2016-03-23 | vis: use vis-clipboard instead of vis-{copy,paste} scripts | Marc André Tanner | 5 | -29/+6 | |
| 2016-03-23 | Add vis-clipboard script | Richard Burke | 1 | -0/+104 | |
| Originally written for the wed editor by Richard Burke, released under the ISC license for vis. | |||||
| 2016-03-22 | configure: clear ${C,LD}FLAGS_LUA in error case | Marc André Tanner | 1 | -0/+2 | |
| 2016-03-22 | configure: exchange _{BSD,DARWIN_C}_SOURCE defines | Marc André Tanner | 1 | -2/+2 | |
| 2016-03-21 | Remove bashisms from configure script. | Richard Burke | 1 | -4/+7 | |
| 2016-03-21 | vis: also lookup Lua support files relative to the binary location | Marc André Tanner | 5 | -5/+23 | |
| This simplifies deployment of vis on remote systems without root access. The idea is to extract a statically linked binary together with the lexer syntax files into some directory, adjust $PATH to include it and have everything just work. For now this uses /proc/self/exe and thus only works on Linux based systems. | |||||
| 2016-03-21 | configure: probe for hardening flags | Marc André Tanner | 1 | -1/+8 | |
| 2016-03-21 | configure: probe for size optimizing flags (disabled for now) | Marc André Tanner | 1 | -0/+3 | |
| 2016-03-21 | build: reorder some variables | Marc André Tanner | 2 | -6/+8 | |
| 2016-03-21 | build: create empty config.mk if it does not exist | Marc André Tanner | 1 | -0/+3 | |
| This should fix `make local` (as used on travis-ci) and `make standalone` in cases where `configure` was not run successfully due to missing dependencies. | |||||
| 2016-03-21 | configure: make vis depend on config.mk | Christian Hesse | 1 | -1/+1 | |
| We want vis to be rebuilt when configuration changes, so make vis depend on config.mk. | |||||
| 2016-03-21 | build: add vis subdirectory to $SHAREPREFIX | Marc André Tanner | 1 | -5/+5 | |
| 2016-03-21 | configure: make man and share directories configurable | Christian Hesse | 1 | -2/+8 | |
| 2016-03-21 | configure: fix install prefix for man and share directories | Christian Hesse | 1 | -0/+2 | |
| 2016-03-21 | configure: fix condition for libselinux | Christian Hesse | 1 | -2/+2 | |
| 2016-03-21 | configure: fix condition for libacl | Christian Hesse | 1 | -2/+2 | |
| 2016-03-21 | configure: fix condition for liblua | Christian Hesse | 1 | -4/+4 | |
| 2016-03-21 | configure: fix condition for libtermkey | Christian Hesse | 1 | -2/+2 | |
| 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 | |
