cosmopolitan/third_party/tidy
Justine Tunney a6baba1b07
Stop using .com extension in monorepo
The WIN32 CreateProcess() function does not require an .exe or .com
suffix in order to spawn an executable. Now that we have Cosmo bash
we're no longer so dependent on the cmd.exe prompt.
2024-03-03 03:12:19 -08: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 Stop using .com extension in monorepo 2024-03-03 03:12:19 -08: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 Bring back gc() function 2024-01-08 10:26:28 -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