summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--Makefile86
-rw-r--r--changelog.md7
-rw-r--r--include/u8c/ver.h2
-rw-r--r--src/u8c/ispunct.c1
5 files changed, 53 insertions, 45 deletions
diff --git a/.gitignore b/.gitignore
index 43a49ef..6d1d6d4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,6 @@
+*.gz
*.o
*.so
-*.zst
/test
/txttolit
vgcore.*
diff --git a/Makefile b/Makefile
index ee9e7b8..b5ae158 100644
--- a/Makefile
+++ b/Makefile
@@ -99,50 +99,50 @@ $(LIB): $(OBJS)
$(CC) $(LDFLAGS) $^ -o $@
$(OBJS): $(HDRS) $(HDRS_PRIV)
DOCS = \
- docs/u8c_abrt.3.zst \
- docs/u8c_col.3.zst \
- docs/u8c_dbg.3.zst \
- docs/u8c_dbgprint.3.zst \
- docs/u8c_end.3.zst \
- docs/u8c_errhandltyp.3.zst \
- docs/u8c_errtyp.3.zst \
- docs/u8c_fmt.3.zst \
- docs/u8c_fmttyp.3.zst \
- docs/u8c_geterr.3.zst \
- docs/u8c_init.3.zst \
- docs/u8c_isalnum.3.zst \
- docs/u8c_isalpha.3.zst \
- docs/u8c_iscntrl.3.zst \
- docs/u8c_isdigit.3.zst \
- docs/u8c_ispunct.3.zst \
- docs/u8c_isspace.3.zst \
- docs/u8c_isxdigit.3.zst \
- docs/u8c_print.3.zst \
- docs/u8c_println.3.zst \
- docs/u8c_regerrhandl.3.zst \
- docs/u8c_seterr.3.zst \
- docs/u8c_setfmt.3.zst \
- docs/u8c_thrdsafe.3.zst \
- docs/u8c_u8alloc.3.zst \
- docs/u8c_u8dec.3.zst \
- docs/u8c_u8enc.3.zst \
- docs/u8c_u8free.3.zst \
- docs/u8c_u32alloc.3.zst \
- docs/u8c_u32cat.3.zst \
- docs/u8c_u32cmp.3.zst \
- docs/u8c_u32cp.3.zst \
- docs/u8c_u32fndchr.3.zst \
- docs/u8c_u32fndpat.3.zst \
- docs/u8c_u32free.3.zst \
- docs/u8c_u32ins.3.zst \
- docs/u8c_u32substr.3.zst \
- docs/u8c_u32sz.3.zst \
- docs/u8c_unimax.3.zst \
- docs/u8c_ver.3.zst \
- docs/u8c_vfmt.3.zst \
- docs/u8c_vprint.3.zst
+ docs/u8c_abrt.3.gz \
+ docs/u8c_col.3.gz \
+ docs/u8c_dbg.3.gz \
+ docs/u8c_dbgprint.3.gz \
+ docs/u8c_end.3.gz \
+ docs/u8c_errhandltyp.3.gz \
+ docs/u8c_errtyp.3.gz \
+ docs/u8c_fmt.3.gz \
+ docs/u8c_fmttyp.3.gz \
+ docs/u8c_geterr.3.gz \
+ docs/u8c_init.3.gz \
+ docs/u8c_isalnum.3.gz \
+ docs/u8c_isalpha.3.gz \
+ docs/u8c_iscntrl.3.gz \
+ docs/u8c_isdigit.3.gz \
+ docs/u8c_ispunct.3.gz \
+ docs/u8c_isspace.3.gz \
+ docs/u8c_isxdigit.3.gz \
+ docs/u8c_print.3.gz \
+ docs/u8c_println.3.gz \
+ docs/u8c_regerrhandl.3.gz \
+ docs/u8c_seterr.3.gz \
+ docs/u8c_setfmt.3.gz \
+ docs/u8c_thrdsafe.3.gz \
+ docs/u8c_u8alloc.3.gz \
+ docs/u8c_u8dec.3.gz \
+ docs/u8c_u8enc.3.gz \
+ docs/u8c_u8free.3.gz \
+ docs/u8c_u32alloc.3.gz \
+ docs/u8c_u32cat.3.gz \
+ docs/u8c_u32cmp.3.gz \
+ docs/u8c_u32cp.3.gz \
+ docs/u8c_u32fndchr.3.gz \
+ docs/u8c_u32fndpat.3.gz \
+ docs/u8c_u32free.3.gz \
+ docs/u8c_u32ins.3.gz \
+ docs/u8c_u32substr.3.gz \
+ docs/u8c_u32sz.3.gz \
+ docs/u8c_unimax.3.gz \
+ docs/u8c_ver.3.gz \
+ docs/u8c_vfmt.3.gz \
+ docs/u8c_vprint.3.gz
$(DOCS):
- zstd -f $(DOCS:.zst=)
+ gzip --keep $(DOCS:.gz=)
test: $(LIB) test.c
$(CC) -std=c17 -Wall -Wextra -Wpedantic -Iinclude -O3 -g -L. -lu8c -o $@ [email protected]
.PHONY: clean docs install runtest
diff --git a/changelog.md b/changelog.md
index 2730b94..f87e9c5 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,3 +1,10 @@
+# 1↋
+
+* Add more codepoints to `u8c_ispunct`.
+* Don't use Zstandard for man page compression. Use Gzip.
+* Remove Zstandard as a dependency.
+* Update gitignore.
+
# 1↊
* Initialise error handler array.
diff --git a/include/u8c/ver.h b/include/u8c/ver.h
index e383351..454c851 100644
--- a/include/u8c/ver.h
+++ b/include/u8c/ver.h
@@ -17,5 +17,5 @@
# if !defined(u8c_sym_ver)
# define u8c_sym_ver
# include <stdint.h>
-# define u8c_ver (UINT64_C(0x17))
+# define u8c_ver (UINT64_C(0x18))
# endif
diff --git a/src/u8c/ispunct.c b/src/u8c/ispunct.c
index 0298518..eb4fb16 100644
--- a/src/u8c/ispunct.c
+++ b/src/u8c/ispunct.c
@@ -134,6 +134,7 @@ bool u8c_ispunct(uint_least8_t * const _res,char32_t const _chr) {
case UINT32_C(0x2BDA): /* HYGIEA */
case UINT32_C(0x2BDB): /* PHOLOS */
case UINT32_C(0x2BDC): /* NESSUS */
+ case UINT32_C(0x2E2E): /* INVERTED QUESTION MARK */
case UINT32_C(0x33D7): /* SQUARE PH */
case UINT32_C(0xFDFC): /* RIAL SIGN */
case UINT32_C(0x1F10D): /* CIRCLED ZERO WITH SLASH */