summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-08-01test: updateMarc André Tanner
2020-07-27test/vis: remove entire text object testMarc André Tanner
2020-07-26test/vis: remove z> testsMarc André Tanner
2020-07-26test/vis: remove z< testsMarc André Tanner
2020-07-26test/vis: remove z- testsMarc André Tanner
2020-07-26test/vis: remove z+ testsMarc André Tanner
2020-07-26test/vis: remove pairwise selection intersectionMarc André Tanner
2020-07-26test/vis: remove pairwise selection union z|Marc André Tanner
2020-07-26test/vis: use ~ instead of ! to complement selectionMarc André Tanner
2020-07-26test/vim: use g~ instead of ~ to swap caseMarc André Tanner
2020-07-26test/fuzz: add @ dump command to print data structureMarc André Tanner
2020-07-26test/fuzz: add % command to print data structure memory informationMarc André Tanner
2020-07-25Add basic text benchmarking infrastructureMarc André Tanner
This adds a new bench command to the interactive shell initially used for fuzzing with AFL. The syntax is: > b op pos [count] where op is either: i (insert) d (delete) r (replace) m (set/get mark) and pos is one of: ^ (start) | (middle) $ (end) % (random) - (consecutively from end to start) + (consecutively from start to end) ~ (stripes with fixed distance) Hence the following would perform 100 insertions at random positions: > b i % 100 Note however, that the used pseudo-random number generator is currently not seeded, meaning multiple execution will start with the same state, making them comparable. Timing is currently performed using monotonic clock_gettime(2).
2020-07-17test: updateMarc André Tanner
2020-07-17support for primary clipboardJeremy Bobbin
2020-07-12test/sam: set LANG=en_US.UTF-8Marc André Tanner
Conceptually C.UTF-8 would be the correct setting. However, it is currently not supported by upstream glibc (albeit patched in by various distriubtions e.g. Debian, Ubuntu and Fedora). The vis specific tests already use the same locale, hence it is not a new dependency and the Debian CI script has been adapted accordingly in martanne/vis@b0192ce. Fix #25
2020-07-11test: move failing sam tests to visMarc André Tanner
Contrary to sam we do currently not change the buffer if the external command fails. Fix #24
2020-07-11test/core: let make clean remove generated filesMarc André Tanner
Fix #23
2020-07-11vis-open: add trailing "/" for the foldersVadym Kochan
Add trailing "/" for the folder entries which allows to easy differentiate folders and the regular files. Additionally it allows easy filter only folders by simply enter "/" in the vis-open prompt. Signed-off-by: Vadym Kochan <vadim4j@gmail.com>
2020-07-11build: mark distclean and testclean targets as PHONYMarc André Tanner
2020-07-07Makefile: add testclean targetParide Legovini
The target calls `make clean` in the test submodule, if present. The target is called by the `distclean` target.
2020-07-07Makefile: add distclean targetParide Legovini
2020-06-30build: define LUA_COMPAT_5_3Christian Hesse
This is required to build with lua 5.4.x.
2020-06-28text: simplify remapping of original file contentMarc André Tanner
Use mmap with MAP_FIXED which replaces existing mappings without any race conditions between the munmap/mmap calls.
2020-06-22text: remove dead storeMarc André Tanner
2020-06-22text: code cleanup, use local variableMarc André Tanner
No functionl change.
2020-06-22text: fix typo in comments, no code changeMarc André Tanner
2020-06-20Support wayland clipboard (wl-clipboard)yory8
2020-06-07build: add git based version information backMarc André Tanner
2020-06-07build: set version to 0.6Marc André Tanner
2020-06-07ui: fix terminal UI on serial consoleMarc André Tanner
Make sure we do not override the 80x24 default terminal size with zero size as reported by an actual serial console.
2020-05-30test: updateMarc André Tanner
2020-05-30test/fuzz: simplify MakefileMarc André Tanner
2020-05-30vis: fix implicit enum conversion warningMarc André Tanner
2020-05-30build: update alpine in docker build to version 3.12Christian Hesse
2020-05-14test/fuzz: add libfuzzer target for text data structureMarc André Tanner
This reuses the existing fuzzing driver initially written for afl-fuzz. As a consequence, quite a bit of stdio code is involved which is probably not optimal.
2020-05-14test/fuzz: fix compilation by adapting to newer APIMarc André Tanner
2020-05-14test/fuzz: add missing CFLAGSMarc André Tanner
2020-05-13doc: update outdated version informationMarc André Tanner
2020-05-13doc: update sphinx configuration to python 3Marc André Tanner
This was performed automatically using: 2to3 -w conf.py
2020-05-13test: updateMarc André Tanner
2020-05-13test/vim: remove test which fails on macOSMarc André Tanner
2020-05-13test/core: add basic save/load tests involving linksMarc André Tanner
2020-05-13test/core: add basic save/load sanity testsMarc André Tanner
2020-05-13test/core: remove unused variableMarc André Tanner
2020-05-13test/core: instruct memory sanitizer to track memory originMarc André Tanner
2020-05-13test/core: fix memory leak in array testMarc André Tanner
2020-05-13text: introduce text_save_method, remove text_save_rangeMarc André Tanner
This utility function is analogous to text_load_method and allows the caller to specify how the file should be saved. It is implemented as a wrapper around the lower level text_save_{begin,write,commit} primitives. The unused text_save_range function has been removed. If needed, use the aforementioned lower level functionality.
2020-05-13test/core: update ccan tap moduleMarc André Tanner
Syncs to last upstream change d1a951b82386391b82e48b32403891f85e253565 of the tap module.
2020-05-12test: updateMarc André Tanner