aboutsummaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2020-12-08build: add git based version information backMarc André Tanner1-1/+1
2020-12-08Set version to 0.7Marc André Tanner1-1/+1
2020-10-10text: move higher level utility functions to separate fileMarc André Tanner1-0/+1
The moved functions do not need access to internals of text.c, but instead use the public interfaces. Splitting them out should facilitate experimentation with different core text management data structures.
2020-10-10text: move generic iterator functionality to separate fileMarc André Tanner1-0/+1
2020-10-10text: move I/O related code to separate fileMarc André Tanner1-0/+1
This groups all I/O related code together to make it reusable in different core text data structure implementations.
2020-10-10build: list source files on separate linesMarc André Tanner1-4/+22
2020-07-11build: mark distclean and testclean targets as PHONYMarc André Tanner1-1/+1
2020-07-07Makefile: add testclean targetParide Legovini1-1/+5
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 Legovini1-1/+5
2020-06-07build: add git based version information backMarc André Tanner1-1/+1
2020-06-07build: set version to 0.6Marc André Tanner1-1/+1
2020-02-26build: provide install-strip make targetMarc André Tanner1-5/+7
Do not strip executables by default. Fix #811
2020-02-03build: properly kill docker containerChristian Hesse1-3/+6
We keep a running docker container in the background. If the build process fails this becomes dangling. Make sure the container is properly killed.
2020-02-03build: explicitly specify working directory for dockerMarc André Tanner1-2/+2
Otherwise the config.mk file generated by ./configure does not end up in the source tree and has no effect. Our Makefile does currently not support out of tree builds. Previously this worked because the WORKDIR within the Dockerfile was set to the vis source (and build) directory.
2020-01-30build: explicitly list configure options for docker buildsMarc André Tanner1-1/+4
This should catch Alpine package changes such as the one fixed in 0ba252f08e9ef7b62c442eb91b36822d654f5b04.
2020-01-30build: allow to replace dockerChristian Hesse1-10/+11
This allows to build with docker-compatible container engine: make DOCKER=podman docker
2020-01-30build: add target docker-cleanChristian Hesse1-1/+4
This removes the docker image and volume `vis` and thus purges everything we added in docker.
2020-01-30build: clean up docker buildChristian Hesse1-5/+4
2020-01-28build: fix generation of HTML man pagesMarc André Tanner1-1/+1
Starting with mandoc version 1.14.2 the xhtml format is no longer an alias for html.
2020-01-16build: force enable acl for docker buildsChristian Hesse1-1/+1
This makes sure the feature is enabled as expected.
2018-03-25build: add git based version information backMarc André Tanner1-1/+1
2018-03-25build: set version to 0.5Marc André Tanner1-1/+1
2018-03-19build: build standalone binary against latest Alpine packagesMarc André Tanner1-1/+2
2018-03-14build: try to use POSIX tools/options for vis-single targetMarc André Tanner1-2/+4
2017-07-23build: add git based version information backMarc André Tanner1-1/+1
2017-07-23build: set version to 0.4Marc André Tanner1-1/+1
2017-07-10vis: implement jump list in terms of marksMarc André Tanner1-1/+1
2017-07-08vis: cleanup marks implementationMarc André Tanner1-1/+1
We now use ' to refer to marks. Mark a is set using 'am and restored using 'aM while this is slightly harder to type than ma and 'a it is consistent with register usage for yank/put and allows a default mark to be used which is handy for quick selection manipulation primitives.
2017-07-04Remove conditional initialization from MakefileGeorge Brown1-7/+0
No longer needed after standalone build target was removed.
2017-06-03build: port self-contained executable to libuntarMarc André Tanner1-1/+1
It is currently not packaged by Alpine which is why we are building it during docker image creation. Also cleanup vis-single.
2017-06-02port self-contained executable to libtarChristian Hesse1-1/+1
libarchive is nice, but adds a lot of bloat we carry around without using it. So port to libtar.
2017-06-01build: produce reproducible self contained executableChristian Hesse1-3/+3
Giving tar the parameter '--sort=name' sorts direcory entries, but keeps single files as-is. So instead sort the list retrieved by find. Also set the file mode... Works for me. [TM] :D
2017-06-01Merge branch 'strip' of https://github.com/eworm-de/visMarc André Tanner1-0/+1
2017-06-01build: strip vis-single by defaultChristian Hesse1-0/+1
2017-06-01build: use single threaded compression for reproducible buildsChristian Hesse1-1/+1
2017-06-01build: inject the version into docker imageChristian Hesse1-0/+1
2017-05-31build: try to make docker build reproducibleMarc André Tanner1-1/+2
2017-05-31build: add a make docker targetMarc André Tanner1-1/+11
This should produce a self-contained vis binary for x86_64 Linux.
2017-05-31build: cleanup self contained executableMarc André Tanner1-8/+8
Set $PATH and $TERMINFO_DIRS environment variables, use chdir(2) to simplify extraction logic, improve error handling.
2017-05-31build: allow to build self-contained executableChristian Hesse1-1/+15
2017-04-20vis: start cleaning up register related codeMarc André Tanner1-2/+2
Now that register.h is no longer used by view.h we can move the struct and function declarations to vis-core.h.
2017-04-14build: install miscellaneous documentationDavid B. Lamkins1-0/+13
2017-04-11build: tweak CFLAGS for profiling targetMarc André Tanner1-1/+1
2017-04-09text: add mem{r,}chr(3) based byte search functionsMarc André Tanner1-1/+4
These are generally implemented efficiently in libc. While memrchr(3) is non-standard, it is a common extension. If it is not available, we use a simple C implementation from musl.
2017-03-27build: add git based version information backMarc André Tanner1-1/+1
2017-03-25build: set version to 0.3Marc André Tanner1-1/+1
2017-03-14Add experimental raw vt100 UI backendMarc André Tanner1-0/+2
The intention of this is not to slowly reimplement curses but to provide a minimal working terminal UI backend which can also be used for debugging, fuzzing and in environments where curses is not available. Currently no attempt is made to optimize terminal output. The amount of flickering will depend on the smartness of your terminal emulator.
2017-03-14Restructure display codeMarc André Tanner1-1/+1
Use pull instead of push based model for display code. Previously view.c was calling into the ui frontend code, with the new scheme this switches around: the necessary data is fetched by the ui as necessary. The UI independent display code is moved out of view.c/ui-curses.c into vis.c. The cell styles are now directly embedded into the Cell struct. New UI styles are introduced for: - status bar (focused / non-focused) - info message - window separator - EOF symbol You will have to update your color themes. The terminal output code is further abstracted into a generic ui-terminal.c part which keeps track of the whole in-memory cell matrix and #includes ui-terminal-curses.c for the actual terminal output. This architecture currently assumes that there are no overlapping windows. It will also allow non-curses based terminal user interfaces.
2017-03-05lua: fix more luacheck warningsMarc André Tanner1-1/+1
2017-03-03build: add luacheck make targetMarc André Tanner1-1/+4