about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2015-10-12 16:47:47 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2015-10-12 16:47:47 +0200
commitc301899112b2a0559e0f65e3b371a907e9e5c097 (patch)
tree9ce6cc660d33403aa5a4e9223cd0ca3a2e2da2ea
parentmd2html: use pure python (diff)
downloadcgit-pink-c301899112b2a0559e0f65e3b371a907e9e5c097.tar.gz
cgit-pink-c301899112b2a0559e0f65e3b371a907e9e5c097.zip
filters: misc cleanups
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rwxr-xr-xfilters/html-converters/man2html1
-rwxr-xr-xfilters/html-converters/rst2html2
2 files changed, 1 insertions, 2 deletions
diff --git a/filters/html-converters/man2html b/filters/html-converters/man2html
index 1b28437..0ef7884 100755
--- a/filters/html-converters/man2html
+++ b/filters/html-converters/man2html
@@ -2,4 +2,3 @@
 echo "<div style=\"font-family: monospace\">"
 groff -mandoc -T html -P -r -P -l | egrep -v '(<html>|<head>|<meta|<title>|</title>|</head>|<body>|</body>|</html>|<!DOCTYPE|"http://www.w3.org)'
 echo "</div>"
-
diff --git a/filters/html-converters/rst2html b/filters/html-converters/rst2html
index 756a4e1..02d90f8 100755
--- a/filters/html-converters/rst2html
+++ b/filters/html-converters/rst2html
@@ -1,2 +1,2 @@
 #!/bin/bash
-rst2html.py --template <(echo -e "%(stylesheet)s\n%(body_pre_docinfo)s\n%(docinfo)s\n%(body)s")
+exec rst2html.py --template <(echo -e "%(stylesheet)s\n%(body_pre_docinfo)s\n%(docinfo)s\n%(body)s")
td/> 2022-02-19Factor out input handling to input.cJune McEnroe 2022-02-19Factor out window management to window.cJune McEnroe 2022-02-19Enable -Wmissing-prototypesJune McEnroe In other words, warn when a function is missing static. I don't see why this isn't in -Wextra. 2022-02-19Fix edit.[ch] license notice additional permissionsJune McEnroe 2022-02-19Run line editing testsJune McEnroe I know, it feels wrong. 2022-02-18Implement new line editing "library"June McEnroe Losing tab complete and text macros, for now. This new implementation works on an instance of a struct and does not interact with the rest of catgirl, making it possible to copy into another project. Unlike existing line editing libraries, this one is entirely abstract and can be rendered externally. My goal with this library is to be able to implement vi mode. Since it operates on struct instances rather than globals, it might also be possible to give catgirl separate line editing buffers for each window, which would be a nice UX improvement. 2022-02-18Simplify cursor positioning in inputJune McEnroe Do some extra work by adding the portion before the cursor to the input window twice, but simplify the interaction with the split point. This fixes the awkward behaviour when moving the cursor across colour codes where the code would be partially interpreted up to the cursor. 2022-02-18Fix M-f orderingJune McEnroe 2022-02-12Move sandman build to scripts/MakefileJune McEnroe 2022-02-12Use compat_readpassphrase.c on LinuxJune McEnroe 2022-02-12Copy RPP defines from oconfigureJune McEnroe