~tardypad

Recent activity

[PATCH scdoc 3/3] Fix parsing of line breaks followed by underlined text 2 months ago

From Damien Tardy-Panis to ~sircmpwn/public-inbox

---
 src/main.c       | 11 +++++++----
 test/line-breaks |  9 +++++++++
 2 files changed, 16 insertions(+), 4 deletions(-)

diff --git a/src/main.c b/src/main.c
index 08bf384..7bb6c42 100644
--- a/src/main.c
+++ b/src/main.c
@@ -176,19 +176,19 @@ static void parse_format(struct parser *p, enum formatting fmt) {
	p->flags ^= fmt;
}

static void parse_linebreak(struct parser *p) {
[message trimmed]

[PATCH scdoc 2/3] Fix parsing of line breaks without newline 2 months ago

From Damien Tardy-Panis to ~sircmpwn/public-inbox

---
 src/main.c       | 2 +-
 test/line-breaks | 8 ++++++++
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/src/main.c b/src/main.c
index 603c91e..08bf384 100644
--- a/src/main.c
+++ b/src/main.c
@@ -186,8 +186,8 @@ static void parse_linebreak(struct parser *p) {
	uint32_t lf = parser_getch(p);
	if (lf != '\n') {
		fprintf(p->output, "+");
		parser_pushch(p, lf);
[message trimmed]

[PATCH scdoc 1/3] Add basic working tests for line breaks parsing 2 months ago

From Damien Tardy-Panis to ~sircmpwn/public-inbox

---
 test/line-breaks | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100755 test/line-breaks

diff --git a/test/line-breaks b/test/line-breaks
new file mode 100755
index 0000000..c6c2fc4
--- /dev/null
+++ b/test/line-breaks
@@ -0,0 +1,29 @@
#!/bin/sh
. test/lib.sh

[message trimmed]

[PATCH scdoc] Allow subsection in preamble 5 months ago

From Damien Tardy-Panis to ~sircmpwn/public-inbox

Subsections are useful in case on name conflicts within a section.
Typically man pages in distributions are using the 'p' subsection.
They are also needed for the man pages of wrapper commands for example.
---
 src/main.c    | 27 +++++++++++++++------------
 test/preamble | 22 ++++++++++++++++++++--
 2 files changed, 35 insertions(+), 14 deletions(-)

diff --git a/src/main.c b/src/main.c
index c55cfa3..603c91e 100644
--- a/src/main.c
+++ b/src/main.c
@@ -16,31 +16,35 @@
char *strstr(const char *haystack, const char *needle);
[message trimmed]

[PATCH scdoc] Section needs to be explicitly defined 5 months ago

From Damien Tardy-Panis to ~sircmpwn/public-inbox

The absence of value between the section parentheses resulted in the
section being 0 (header files), which is unlikely to be the one wanted
---
 src/main.c    | 2 +-
 test/preamble | 6 ++++++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/main.c b/src/main.c
index 1e95838..c55cfa3 100644
--- a/src/main.c
+++ b/src/main.c
@@ -24,7 +24,7 @@ static int parse_section(struct parser *p) {
			int ret = str_append_ch(section, ch);
			assert(ret != -1);
[message trimmed]

[PATCH] Demonstrate that I can use git send-email! 5 months ago

From Damien Tardy-Panis to ~sircmpwn/email-test-drive

---
 tardypad | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 tardypad

diff --git a/tardypad b/tardypad
new file mode 100644
index 0000000..b4380e4
--- /dev/null
+++ b/tardypad
@@ -0,0 +1 @@
I'm about to try git send-email!
--
2.25.1
[message trimmed]

[PATCH] Demonstrate that I can use git send-email! 5 months ago

From Damien Tardy-Panis to ~sircmpwn/email-test-drive

---
 tardypad | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 tardypad

diff --git a/tardypad b/tardypad
new file mode 100644
index 0000000..b4380e4
--- /dev/null
+++ b/tardypad
@@ -0,0 +1 @@
I'm about to try git send-email!
--
2.25.1
[message trimmed]