| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2016-03-28 | vis: support right alignment of selections in visual mode with <S-Tab> | Marc André Tanner | |
| 2016-03-28 | vis: support count for {Meta-Ctrl,Ctrl}-{j,k} | Marc André Tanner | |
| Create count new cursors on the lines above/below. | |||
| 2016-03-28 | vis: fix changing of primary cursor via Ctrl-{u,d} | Marc André Tanner | |
| 2016-03-28 | vis: let Meta-Ctrl-{j,k} create new cursor | Marc André Tanner | |
| on the line above/below the first/last existing cursor. | |||
| 2016-03-28 | vis: align selections with <Tab> in visual mode | Marc André Tanner | |
| 2016-03-28 | vis: support column based alignment | Marc André Tanner | |
| That is when multiple cursors are on the same line, the first cursor on every line is aligned, then the second one and so on. | |||
| 2016-03-28 | view: add infrastructure to iterate through cursor columns | Marc André Tanner | |
| The number of columns i.e. maximal number of cursors located on the same line can be obtained by view_cursors_column_count. Column addressing is zero based, valid indexes are [0, max-1]. Assuming there is a cursor on every letter: a b c d e f g h i max column would be 3, and the following would iterate over the cursors forming the second column [c, e, h]: for (Cursor *c = view_cursors_column(view, 1); c; c = view_cursors_column_next(c, 1)) ... | |||
| 2016-03-28 | view: maintain ordering relation among cursors | Marc André Tanner | |
| This is currently only enforced upon creation i.e. we assume that after creation a cursor can not change its relative ordering with respect to its neighbors. The existing code assumes that when iterating through cursors with: for (Cursor *c = view_cursors(view); c; c = view_cursors_next(c)) ... new cursors created with view_cursors_new do not show up. This assumption is preserved under the following conditions: * it only holds for the most recent view_cursors call As a consequence when doing nested iterations new cursors will be yielded once the inner view_cursors call was performed. * view_cursors_primary_get is not called | |||
| 2016-03-28 | view: change cursor creation API to take an initial position | Marc André Tanner | |
| 2016-03-26 | fix linker flags | Christian Hesse | |
| fixes #214 | |||
| 2016-03-25 | Set version to 0.2 | Marc André Tanner | |
| 2016-03-25 | vis: remove __DATE__ and __TIME__ references to aid with reproducible builds | Marc André Tanner | |
| 2016-03-25 | vis: do not crash when using vis:command without active window | Marc André Tanner | |
| 2016-03-25 | configure: fix probing of hardening flags | Marc André Tanner | |
| 2016-03-24 | build: use order only dependencies for build folder | Marc André Tanner | |
| This prevents unecessary rebuilds when doing consecutive make standalone builds. | |||
| 2016-03-24 | build: expose make dependency-local target | Marc André Tanner | |
| Remove more stuff when switching between make local and make standalone. | |||
| 2016-03-24 | Mention libutf in LICENSE | Marc André Tanner | |
| 2016-03-24 | handle patch as usual source | Christian Hesse | |
| 2016-03-24 | make sure build directory exists | Christian Hesse | |
| Signed-off-by: Christian Hesse <mail@eworm.de> | |||
| 2016-03-23 | build: fix make local, improve make standalone | Marc André Tanner | |
| 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 | |
| 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 | |
| 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 | |
| 2016-03-23 | fix dependencies for standalone build | Christian Hesse | |
| 2016-03-23 | fix install prefix for standalone build | Christian Hesse | |
| 2016-03-23 | configure: use capital letters for variable names | Christian Hesse | |
| 2016-03-23 | configure: default to cc instead of c99 | Marc André Tanner | |
| 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 | |
| 2016-03-23 | configure: fix detection of libtermkey | Marc André Tanner | |
| 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 | |
| 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 | |
| 2016-03-23 | Remove identically replicated copyright comments from source files | Marc André Tanner | |
| 2016-03-23 | vis: use vis-clipboard instead of vis-{copy,paste} scripts | Marc André Tanner | |
| 2016-03-23 | Add vis-clipboard script | Richard Burke | |
| 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 | |
| 2016-03-22 | configure: exchange _{BSD,DARWIN_C}_SOURCE defines | Marc André Tanner | |
| 2016-03-21 | Remove bashisms from configure script. | Richard Burke | |
| 2016-03-21 | vis: also lookup Lua support files relative to the binary location | Marc André Tanner | |
| 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 | |
| 2016-03-21 | configure: probe for size optimizing flags (disabled for now) | Marc André Tanner | |
| 2016-03-21 | build: reorder some variables | Marc André Tanner | |
| 2016-03-21 | build: create empty config.mk if it does not exist | Marc André Tanner | |
| 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 | |
| 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 | |
| 2016-03-21 | configure: make man and share directories configurable | Christian Hesse | |
| 2016-03-21 | configure: fix install prefix for man and share directories | Christian Hesse | |
| 2016-03-21 | configure: fix condition for libselinux | Christian Hesse | |
| 2016-03-21 | configure: fix condition for libacl | Christian Hesse | |
| 2016-03-21 | configure: fix condition for liblua | Christian Hesse | |
| 2016-03-21 | configure: fix condition for libtermkey | Christian Hesse | |
