cosmopolitan/third_party/tidy
Jōshin 2fc507c98f
Fix more vi modelines (#1006)
* modelines: tw -> sw

shiftwidth, not textwidth.

* space-surround modelines

* fix irregular modelines

* Fix modeline in titlegen.c
2023-12-13 02:28:11 -05:00
..
.tidyrc Add w3c html tidy 2022-06-09 06:51:08 -07:00
access.c Reduce header complexity 2023-11-28 14:39:42 -08:00
access.h Reduce header complexity 2023-11-28 14:39:42 -08:00
alloc.c Reduce header complexity 2023-11-28 14:39:42 -08:00
attrdict.c Reduce header complexity 2023-11-28 14:39:42 -08:00
attrdict.h Reduce header complexity 2023-11-28 14:39:42 -08:00
attrs.c Reduce header complexity 2023-11-28 14:39:42 -08:00
attrs.h Reduce header complexity 2023-11-28 14:39:42 -08:00
buffio.c Reduce header complexity 2023-11-28 14:39:42 -08:00
BUILD.mk Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
charsets.c Reduce header complexity 2023-11-28 14:39:42 -08:00
charsets.h Reduce header complexity 2023-11-28 14:39:42 -08:00
clean.c Reduce header complexity 2023-11-28 14:39:42 -08:00
clean.h Reduce header complexity 2023-11-28 14:39:42 -08:00
config.c Reduce header complexity 2023-11-28 14:39:42 -08:00
config.h Reduce header complexity 2023-11-28 14:39:42 -08:00
entities.c Reduce header complexity 2023-11-28 14:39:42 -08:00
entities.h Reduce header complexity 2023-11-28 14:39:42 -08:00
fileio.c Reduce header complexity 2023-11-28 14:39:42 -08:00
fileio.h Reduce header complexity 2023-11-28 14:39:42 -08:00
forward.h Reduce header complexity 2023-11-28 14:39:42 -08:00
gdoc.c Reduce header complexity 2023-11-28 14:39:42 -08:00
gdoc.h Reduce header complexity 2023-11-28 14:39:42 -08:00
istack.c Reduce header complexity 2023-11-28 14:39:42 -08:00
language.c Reduce header complexity 2023-11-28 14:39:42 -08:00
language.h Reduce header complexity 2023-11-28 14:39:42 -08:00
language_en.inc Reduce header complexity 2023-11-28 14:39:42 -08:00
lexer.c Reduce header complexity 2023-11-28 14:39:42 -08:00
lexer.h Reduce header complexity 2023-11-28 14:39:42 -08:00
LICENSE.md Add w3c html tidy 2022-06-09 06:51:08 -07:00
mappedio.c Reduce header complexity 2023-11-28 14:39:42 -08:00
mappedio.h Reduce header complexity 2023-11-28 14:39:42 -08:00
message.c Reduce header complexity 2023-11-28 14:39:42 -08:00
message.h Reduce header complexity 2023-11-28 14:39:42 -08:00
messageobj.c Reduce header complexity 2023-11-28 14:39:42 -08:00
messageobj.h Reduce header complexity 2023-11-28 14:39:42 -08:00
parser.c Reduce header complexity 2023-11-28 14:39:42 -08:00
parser.h Reduce header complexity 2023-11-28 14:39:42 -08:00
pprint.c Reduce header complexity 2023-11-28 14:39:42 -08:00
pprint.h Reduce header complexity 2023-11-28 14:39:42 -08:00
README.cosmo Reduce header complexity 2023-11-28 14:39:42 -08:00
sprtf.c Reduce header complexity 2023-11-28 14:39:42 -08:00
sprtf.h Reduce header complexity 2023-11-28 14:39:42 -08:00
streamio.c Reduce header complexity 2023-11-28 14:39:42 -08:00
streamio.h Reduce header complexity 2023-11-28 14:39:42 -08:00
tagask.c Reduce header complexity 2023-11-28 14:39:42 -08:00
tags.c Reduce header complexity 2023-11-28 14:39:42 -08:00
tags.h Reduce header complexity 2023-11-28 14:39:42 -08:00
tidy-int.h Reduce header complexity 2023-11-28 14:39:42 -08:00
tidy.c Reduce header complexity 2023-11-28 14:39:42 -08:00
tidy.h Reduce header complexity 2023-11-28 14:39:42 -08:00
tidybuffio.h Reduce header complexity 2023-11-28 14:39:42 -08:00
tidyenum.h Reduce header complexity 2023-11-28 14:39:42 -08:00
tidylib.c Reduce header complexity 2023-11-28 14:39:42 -08:00
tidyplatform.h Add w3c html tidy 2022-06-09 06:51:08 -07:00
tmbstr.c Reduce header complexity 2023-11-28 14:39:42 -08:00
tmbstr.h Reduce header complexity 2023-11-28 14:39:42 -08:00
utf8.c Reduce header complexity 2023-11-28 14:39:42 -08:00
utf8.h Reduce header complexity 2023-11-28 14:39:42 -08:00
version.inc Reduce header complexity 2023-11-28 14:39:42 -08:00

DESCRIPTION

  HTML Tidy is a tool for spotting errors in HTML code. It's also able
  to reformat source code in a configurable manner. It has outstanding
  support for HTML5.

PROVENANCE

  https://github.com/htacg/tidy-html5/
  Commit: d08ddc2860aa95ba8e301343a30837f157977cba
  Author: Jim Derry <balthisar@gmail.com>
  Date:   Tue Jan 25 10:17:15 2022 -0500

LICENSE

  W3C License
  This is a permissive license that only requires notice preservation in
  sources. https://en.wikipedia.org/wiki/W3C_Software_Notice_and_License
  Similar to the Apache 2.0 license any local changes must be documented

LOCAL CHANGES

  No changes to tidy program. Only platform normalization.

  - Obtain .tidyrc from /zip/.tidyrc rather than /etc/tidrc
  - Configure tidyplatform.h
  - Rename a few .h files to .inc
  - Normalize header includes for cosmopolitan repo
  - Delete ugly no-op macros, e.g. TIDY_CALL, TIDY_EXPORT, etc.
  - Delete trailing whitespace