Commit Graph

3295 Commits

Author SHA1 Message Date
Sebastian Pipping
1a01ba37f0 .github/workflows/coverage.yml: Fix broken task name 2021-05-07 15:10:37 +02:00
Sebastian Pipping
7938b88c9b
Merge pull request #475 from libexpat/restyle-doc-reference-html
Quickly restyle doc/reference.html to look a bit less like the 90s (based on a classless CSS kit)
2021-05-05 01:24:11 +02:00
Sebastian Pipping
6f47cee760 doc/reference.html: Introduce <h4> headings for API functions 2021-05-04 23:49:05 +02:00
Sebastian Pipping
30c4aa85f5 doc/reference.html: Replace footer, encourage bug reports 2021-05-04 23:49:03 +02:00
Sebastian Pipping
e13d94b426 doc/reference.html: Simplify header 2021-05-04 23:49:03 +02:00
Sebastian Pipping
3596977d9d doc/reference.html: Migrate to OK.css
Precisely this version:
ab0e43d64b/dist/ok.min.css
2021-05-04 23:49:00 +02:00
Sebastian Pipping
888566e418 doc/reference.html: Fix latest release version 2021-05-04 21:14:53 +02:00
Sebastian Pipping
f5dd8a9a5a doc/reference.html: Add missing space after "Note:" 2021-05-04 21:14:53 +02:00
Sebastian Pipping
988bff10cd doc/reference.html: Always start uppercase after "Note: " 2021-05-04 21:14:53 +02:00
Sebastian Pipping
7f7da50d9c
Merge pull request #473 from libexpat/improve-attribution
Improve attribution
2021-05-02 23:52:01 +02:00
Sebastian Pipping
7820e4137f
Merge pull request #474 from libexpat/actions-isolate-coverage
GitHub Actions: Isolate (somewhat flaky) coverage task
2021-05-02 22:40:39 +02:00
Sebastian Pipping
4a7b1d5dcf Actions: Isolate somewhat flaky coverage task 2021-05-02 20:49:51 +02:00
Sebastian Pipping
df42f935bf Increase precision in existing MIT headers based on Git history 2021-05-02 19:53:29 +02:00
Sebastian Pipping
8c6f0369db Add missing MIT headers 2021-05-02 19:53:29 +02:00
Sebastian Pipping
bb3cf96dbe Pump up oneline MIT headers to full ones 2021-05-02 19:53:29 +02:00
Sebastian Pipping
1f0b77316b .mailmap: Initialize Git mailmap 2021-05-02 19:53:29 +02:00
Sebastian Pipping
6050ed062e
Merge pull request #472 from libexpat/delete-unused-helper-printpath
conftools: Delete unused legacy helper PrintPath
2021-05-02 01:52:47 +02:00
Sebastian Pipping
ec3186f7ac conftools: Delete unused legacy helper PrintPath 2021-05-02 00:50:54 +02:00
Sebastian Pipping
c93729b961 mass-cppcheck.sh: Extract variable cppcheck_args 2021-04-30 21:09:05 +02:00
Sebastian Pipping
8755b82355 apply-clang-format.sh: Support formatting only selected files 2021-04-30 21:09:05 +02:00
Sebastian Pipping
ab8830f72c apply-clang-format.sh: Extract variable clang_format_args 2021-04-30 21:09:05 +02:00
Sebastian Pipping
af6bb52c7d
Merge pull request #470 from libexpat/issue-332-drop-clang-asan-plus-min-size-workaround
[XML_MIN_SIZE only] Fix segfault with UTF-16 CDATA (fixes #332)
2021-04-30 05:25:17 +02:00
Sebastian Pipping
ed36812db2 lib: Fix macro IS_INVALID_CHAR (for UTF-16 with macro XML_MIN_SIZE defined)
What happens is that with macro XML_MIN_SIZE defined,
for UTF-16 macro IS_INVALID_CHAR was being set to ..

> #define IS_INVALID_CHAR(enc, p, n)  (AS_NORMAL_ENCODING(enc)->isInvalid##n(enc, p))

.. which calls NULL pointers in .isInvalid{2,3,4} at runtime.

For UTF-16 we actually need what xmltok_impl.c does for macro
IS_INVALID_CHAR when it has not yet been defined:

> #  ifndef IS_INVALID_CHAR
> #    define IS_INVALID_CHAR(enc, ptr, n) (0)
> #  endif

So the fix is a combination of these two:
- Use .isInvalid{2,3,4} where needed and available and
- return 0/false for UTF-16 where .isInvalid{2,3,4} are NULL.
2021-04-26 14:18:00 +02:00
Sebastian Pipping
3b1b81f028 lib: Add comments about effect of XML_MIN_SIZE to xmltok_impl.c 2021-04-26 14:18:00 +02:00
Sebastian Pipping
841338da7f Revert "runtests.c: Fix compiler warning "unused function" with -DEXPAT_MIN_SIZE=ON"
This reverts commit 76f2beee81.
2021-04-25 22:51:23 +02:00
Sebastian Pipping
72cdab2aeb Revert "runtests.c: Workaround issue with combining XML_MIN_SIZE and ASan (#332)"
This reverts commit 48d4929bff.
2021-04-25 22:51:23 +02:00
Sebastian Pipping
444af3db23
Merge pull request #469 from libexpat/xmlwf-improve-manpage
xmlwf: Improve manpage
2021-04-25 20:30:09 +02:00
Sebastian Pipping
1a5ae0e4c0 Changes: Document improvements to the man page 2021-04-25 19:13:00 +02:00
Sebastian Pipping
1f75b7fbac xmlwf.1: Bump date of last modification 2021-04-25 19:11:14 +02:00
Sebastian Pipping
dd77046dc3 xmlwf.1: Be more precise in section "author" 2021-04-25 19:11:14 +02:00
Sebastian Pipping
de34e8ce15 xmlwf.1: Use <command>&dhpackage;</command> where missing 2021-04-25 19:11:14 +02:00
Sebastian Pipping
a1c3ac908c xmlwf.1: Improve links in section "see also" 2021-04-25 19:11:14 +02:00
Sebastian Pipping
506600c59f xmlwf.1: Drop section "alternatives" that contains only dead links 2021-04-25 19:11:14 +02:00
Sebastian Pipping
0d21b17b2c xmlwf.1: Move argument -k in place with regard to alphabetic order 2021-04-25 19:10:51 +02:00
Sebastian Pipping
83f12b5627 xmlwf.1: Pull colon out of <emphasis> 2021-04-25 19:10:51 +02:00
Sebastian Pipping
1613b6ed1f xmlwf.1: Add <replaceable> where missing 2021-04-25 19:10:51 +02:00
Sebastian Pipping
724cd4eeab
Merge pull request #468 from libexpat/xmlwf-simplify-synopsis
xmlwf: Simplify synopsis
2021-04-25 19:01:46 +02:00
Sebastian Pipping
c028d9b280 xmlwf: Simplify synopsis 2021-04-25 17:49:21 +02:00
Sebastian Pipping
b61279a1bc
Merge pull request #467 from libexpat/resolve-macro-have-expat-config-h
Resolve macro HAVE_EXPAT_CONFIG_H
2021-04-22 00:58:16 +02:00
Sebastian Pipping
8d1bd6ff2c Resolve macro HAVE_EXPAT_CONFIG_H 2021-04-22 00:11:28 +02:00
Sebastian Pipping
10d3429621
Merge pull request #463 from libexpat/small-xmlwf-refactoring
Small xmlwf refactoring
2021-04-20 13:34:54 +02:00
Sebastian Pipping
49f95cf15e
Merge pull request #465 from TomasKorbar/reference-fix
Fix doc/reference.html badly inserted ul tag (fixes #464)
2021-04-20 12:34:54 +02:00
Tomas Korbar
8f53530dea Fix reference.html badly insterted ul tag
This fix makes no visible difference but stops static code analysers
from yielding warnings about not allowed ul inside paragraph.
2021-04-20 10:40:13 +02:00
Sebastian Pipping
810e240fde xmlwf: Extract exit code constants 2021-04-19 19:32:29 +02:00
Sebastian Pipping
385aeb477b xmlwf: Extract macro XMLWF_SHIFT_ARGUMENT 2021-04-19 19:30:12 +02:00
Sebastian Pipping
2cfa1dd63f Actions: Split off Cppcheck to stop installing 13 unrelated Homebrew formulas 2021-04-06 23:52:35 +02:00
Sebastian Pipping
ae6c9b40af README.md: Extract two bullet points from a long sentence 2021-04-06 23:49:40 +02:00
Sebastian Pipping
dff64502da README.md: Emphasize lowercase and uppercase in CMake content 2021-04-06 23:48:12 +02:00
Sebastian Pipping
f9b68a6c0c Make GitHub Dependabot keep our GitHub Actions up to date 2021-04-06 23:46:11 +02:00
Sebastian Pipping
c23a17cad1
Merge pull request #459 from libexpat/issue-458-cmake-support-absolute-libdir-pkgconfig
CMake: Support absolute paths for CMAKE_INSTALL_(LIB|INCLUDE)DIR (fixes #458)
2021-04-06 22:55:21 +02:00