cosmopolitan/third_party/tidy
Justine Tunney 7b26b42769 Pay off more technical debt
This makes breaking changes to add underscores to many non-standard
function names provided by the c library. MODE=tiny is now tinier and
we now use smaller locks that are better for tiny apps in this mode.
Some headers have been renamed to be in the same folder as the build
package, so it'll be easier to know which build dependency is needed.
Certain old misguided interfaces have been removed. Intel intrinsics
headers are now listed in libc/isystem (but not in the amalgamation)
to help further improve open source compatibility. Header complexity
has also been reduced. Lastly, more shell scripts are now available.

Compared to 6f7d0cb1c3, some tiny corrections were made in libc/intrin/g_fds.c and libc/zipos/open.c including double semi colons and incorrect indentation for existing vista changes that were manually pulled from this commit previously.
2023-03-20 21:07:01 -04:00
..
.tidyrc Add w3c html tidy 2022-06-09 06:51:08 -07:00
access.c Add w3c html tidy 2022-06-09 06:51:08 -07:00
access.h Add w3c html tidy 2022-06-09 06:51:08 -07:00
alloc.c Unbloat the build 2022-08-11 00:15:29 -07:00
attrdict.c Remove unsafe emacs config from tidy 2022-06-19 00:59:58 -07:00
attrdict.h Add w3c html tidy 2022-06-09 06:51:08 -07:00
attrs.c Remove unsafe emacs config from tidy 2022-06-19 00:59:58 -07:00
attrs.h Add w3c html tidy 2022-06-09 06:51:08 -07:00
buffio.c Remove unsafe emacs config from tidy 2022-06-19 00:59:58 -07:00
charsets.c Remove unsafe emacs config from tidy 2022-06-19 00:59:58 -07:00
charsets.h Add w3c html tidy 2022-06-09 06:51:08 -07:00
clean.c Remove unsafe emacs config from tidy 2022-06-19 00:59:58 -07:00
clean.h Add w3c html tidy 2022-06-09 06:51:08 -07:00
config.c Pay off more technical debt 2023-03-20 21:07:01 -04:00
config.h Add w3c html tidy 2022-06-09 06:51:08 -07:00
entities.c Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
entities.h Add w3c html tidy 2022-06-09 06:51:08 -07:00
fileio.c Remove unsafe emacs config from tidy 2022-06-19 00:59:58 -07:00
fileio.h Add w3c html tidy 2022-06-09 06:51:08 -07:00
forward.h Unbloat the build 2022-08-11 00:15:29 -07:00
gdoc.c Remove unsafe emacs config from tidy 2022-06-19 00:59:58 -07:00
gdoc.h Add w3c html tidy 2022-06-09 06:51:08 -07:00
istack.c Remove unsafe emacs config from tidy 2022-06-19 00:59:58 -07:00
language.c Add w3c html tidy 2022-06-09 06:51:08 -07:00
language.h Add w3c html tidy 2022-06-09 06:51:08 -07:00
language_en.inc Add w3c html tidy 2022-06-09 06:51:08 -07:00
lexer.c Add w3c html tidy 2022-06-09 06:51:08 -07:00
lexer.h Add w3c html tidy 2022-06-09 06:51:08 -07:00
LICENSE.md Add w3c html tidy 2022-06-09 06:51:08 -07:00
mappedio.c Unbloat the build 2022-08-11 00:15:29 -07:00
mappedio.h Add w3c html tidy 2022-06-09 06:51:08 -07:00
message.c Remove unsafe emacs config from tidy 2022-06-19 00:59:58 -07:00
message.h Add w3c html tidy 2022-06-09 06:51:08 -07:00
messageobj.c Add w3c html tidy 2022-06-09 06:51:08 -07:00
messageobj.h Add w3c html tidy 2022-06-09 06:51:08 -07:00
parser.c Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
parser.h Add w3c html tidy 2022-06-09 06:51:08 -07:00
pprint.c Add w3c html tidy 2022-06-09 06:51:08 -07:00
pprint.h Add w3c html tidy 2022-06-09 06:51:08 -07:00
README.cosmo Add w3c html tidy 2022-06-09 06:51:08 -07:00
sprtf.c Refactor gettimeofday() 2022-08-05 02:13:41 -07:00
sprtf.h Add w3c html tidy 2022-06-09 06:51:08 -07:00
streamio.c Remove unsafe emacs config from tidy 2022-06-19 00:59:58 -07:00
streamio.h Add w3c html tidy 2022-06-09 06:51:08 -07:00
tagask.c Remove unsafe emacs config from tidy 2022-06-19 00:59:58 -07:00
tags.c Remove unsafe emacs config from tidy 2022-06-19 00:59:58 -07:00
tags.h Add w3c html tidy 2022-06-09 06:51:08 -07:00
tidy-int.h Add w3c html tidy 2022-06-09 06:51:08 -07:00
tidy.c Fold LIBC_ALG into LIBC_MEM 2022-08-13 08:32:34 -07:00
tidy.h Remove unsafe emacs config from tidy 2022-06-19 00:59:58 -07:00
tidy.mk Restore zip.com and .symtab files 2022-08-21 00:17:20 -07:00
tidybuffio.h Remove unsafe emacs config from tidy 2022-06-19 00:59:58 -07:00
tidyenum.h Add w3c html tidy 2022-06-09 06:51:08 -07:00
tidylib.c Remove unsafe emacs config from tidy 2022-06-19 00:59:58 -07:00
tidyplatform.h Add w3c html tidy 2022-06-09 06:51:08 -07:00
tmbstr.c Remove unsafe emacs config from tidy 2022-06-19 00:59:58 -07:00
tmbstr.h Add w3c html tidy 2022-06-09 06:51:08 -07:00
utf8.c Remove unsafe emacs config from tidy 2022-06-19 00:59:58 -07:00
utf8.h Add w3c html tidy 2022-06-09 06:51:08 -07:00
version.inc Add w3c html tidy 2022-06-09 06:51:08 -07: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.
  - Add clang-format off directives
  - Delete trailing whitespace