Commit graph

1635 commits

Author SHA1 Message Date
Jim Derry 5a1b65d089 Move the testing repository back into the Tidy codebase.
Automate testing of any PR's.
Updated README's explaining new processes.
2021-05-21 10:43:35 -04:00
Jim Derry fa6d5b545d Bump version due to new language availability. 2021-05-21 08:39:20 -04:00
Jim Derry 596ed9391e Merge branch 'language_de' into next 2021-05-21 08:38:11 -04:00
Jim Derry 5bc1ca5670
Merge pull request #942 from htacg/mac_info_plist
Link macOS console application with required plist
2021-05-21 08:27:04 -04:00
Jim Derry c044ab323e
Update Info.plist.in 2021-05-21 08:23:10 -04:00
Doug Richardson dfd74c4803
Add muted and playsinline video attributes for HTML5. 2021-05-11 20:53:03 -07:00
Jim Derry 3230b08264 Added German language translation courtesy of michael.uplawski@uplawski.eu. 2021-04-28 16:20:14 -04:00
Jim Derry cfcf6b7667 Add support for the required Info.plist to the Tidy console application, thus enabling
notarization support that's now required on macOS.

Unlike the similar pull request on the master branch, this one ensures that the proper
version is always used, via the same mechanism that CMakeLists uses to set the version.
2021-04-28 14:47:50 -04:00
Geoff R. McLane f6376f82c8 gen-html.sh: fixes to run 'GPerl' scripts 2021-04-22 20:44:30 +02:00
Geoff McLane 2c75207c5e Is. #925, PR #932 - Bump to 5.7.47 for this merge 2021-04-15 18:23:43 +02:00
Russell Morris 7c2d950f13
Change open tag to Boolean (#932)
To address issue #925, PR #932
2021-04-15 18:21:00 +02:00
Geoff McLane a91ebf642b Is. #800 - ensure string is null terminated 2021-04-15 16:36:06 +02:00
Geoff McLane fc1943e57b Add gen-html.bat helper to gen release 2021-04-14 18:25:15 +02:00
Geoff McLane 2a9853759e Is. #681 PR #926 - Bump to 5.7.46 for this fix merged 2021-04-14 18:08:21 +02:00
Geoff McLane 957ee4a47e
Is. #681 - read-only files, and dirs (#926)
Tested in 3 majors OS'es... no problems... closes #681
2021-04-14 18:02:09 +02:00
Geoff McLane 8e70d4dfa2 Initial cut, to gen 'verhist.log' and 'x.x.x.html' 2021-03-26 21:10:48 +01:00
Geoff McLane 9f8d957e4d Is. #891 Bump to 5.7.45 for this fix. 2020-11-30 17:57:50 +01:00
Geoff McLane 0b18ab6978 Is. #891 Ensure no buffer over-run
Fixes #891
2020-11-30 17:56:09 +01:00
Geoff McLane cb03eedc91 Is. #908, PR #914 Bump to 5.7.44 for this merge 2020-11-30 16:27:47 +01:00
Caleb Callaway ba69b9e7cf
Support extended color names in HTML 5 validation (#914)
Fixes #908
2020-11-30 16:24:12 +01:00
Geoff McLane 4cf169360a Bump to 5.7.43 for these two commits 2020-11-24 20:29:10 +01:00
Geoff McLane d0869dd4bd Is. #487 - Remove duplicated warning output 2020-11-24 20:27:37 +01:00
Geoff McLane 69ade7d1c6 Fix attr def table to match enum
Error made when merging LOADING Is. #879, PR #902

And merging SLOT PR #848

Also added a BIG warning over attribute_defs table to try to avoid this
in future.
2020-11-24 20:25:38 +01:00
Geoff McLane df8ff5c2ab Is. #910 PR #912 Bump to 5.7.42 for this merge/fix 2020-11-22 19:49:35 +01:00
Caleb Callaway 20f1e3c7bc
Fix percentage validation in CheckLength (#912)
Fixes #910
2020-11-22 19:45:32 +01:00
Geoff McLane c0e6d6807e Is #903 PR #907 Bump to 5.7.41 for this merge 2020-11-22 18:05:35 +01:00
Caleb Callaway 91ae1274ac
Add SVG paint attributes (#907)
Fixes #903
2020-11-22 18:02:00 +01:00
Geoff McLane 3202273421 Is. #437 PR #645 Bump to 5.7.40 for this merge 2020-11-22 16:56:20 +01:00
Geoff McLane f49386e191
Issue #437 - re-use of 'wrap-php' option (#645)
closes #437
2020-11-22 16:44:31 +01:00
Geoff McLane a2065f8283 Is. #879 PR #902 Bump to 5.7.39 for this merge. 2020-11-21 18:11:45 +01:00
Geoff McLane e73bd626b3 Is. #879 PR #902 - Per #851 move 'LOADING' to end 2020-11-21 18:09:05 +01:00
Sid Vishnoi e5ef43f6c3
Is. #879: add loading attribute for img, iframe (#902)
Closes #879
2020-11-21 18:03:20 +01:00
Geoff McLane d6cd2538e9 PR #899 Bump to 5.7.38 for this mem leak fix 2020-11-21 17:12:12 +01:00
lutianxiong 8f0e7aa22a
Free attributes before return NULL (#899) 2020-11-21 17:10:12 +01:00
Geoff McLane 2d3ed43f4e Is. #896 PR #898 Bump to 5.7.37 for merge of fix and docs 2020-11-21 17:02:34 +01:00
Geoff McLane c6e0ccce1f
Is. #896 - make 'bear' docs match code (#898)
* Is. #896 - make 'bear' docs match code

* Is. #487 #462 add warn msg and do not get stuck until eof

The warning message could perhaps be better worded, and maybe there
should be another msg when a '>' is encountered while looking for a ']'
in a MS Word section, and perhaps the section should be discarded...

And perhaps it should be an error, to force the user to fix...

But the fix is good as it is, and these issues can be dealt with
later...

And this fix is piggy backed on this PR, but it is likewise related to
'word-2000' option...
2020-11-21 16:47:58 +01:00
Geoff McLane 7cda3aba38 Minor win build changes 2020-11-21 16:39:52 +01:00
Geoff McLane a2967d0699 Is. #848 Bump to ver 5.7.36 for this merge 2020-11-21 16:38:59 +01:00
Geoff McLane 8ca131cbec Is. #848 in line with #851 put new enum at end 2020-11-21 16:37:53 +01:00
lhchavez e51cd17c2d
Support the <slot> tag (#848)
* Support the <slot> tag

<slot> was added to the WHATWG HTML5 Living Standard on April 20, 2016.

* Also support the slot= attribute

Given that the <slot> tag by itself is not too useful, this commit also
introduces support for the global slot attribute.

* Using ParseBlock for <slot>

This is still suboptimal since ParseBlock will make it so that <slot>
always expects "Flow content", whereas the spec says that it should
have a Transparent content model.

In practice, it should allow all the cases that the spec allows for, but
it will also allow some cases that the spec does not allow. Notably, if
a <slot> tag is found in a Phrasing content (an inline context in
libtidy lingo), it will wrongly let Flow content (block tags in libtidy
lingo), whereas it shouldn't. But all in all, it's a good compromise.
2020-11-21 16:31:28 +01:00
Geoff McLane 48efad6a2b Is. #839 - 2nd look - add new message for 'blank' title
This is a compromise -

   1. Keep insertion of a blank title tag, if none.
   2. Add new warn if title tag is blank, in html5

	modified:   include/tidyenum.h
	modified:   src/language_en.h
	modified:   src/message.c
	modified:   src/parser.c
2020-10-11 17:56:08 +02:00
Geoff McLane 188988022d Fix typo, in purely DEBUG code, while exploring #863 2020-10-03 20:48:08 +02:00
Geoff McLane 4d833e9fde Merge branch 'next' of github.com:htacg/tidy-html5 into next 2020-10-02 18:34:19 +02:00
Geoff McLane 7cb5c8c6b5 Is. #895 PR #897 mod summary tag - Bump 5.7.35
Closes #895
2020-10-02 18:32:11 +02:00
Geoff McLane e0c1ce3a36 Is. #895 PR #896 mod summary tag - Bump 5.7.35 2020-10-02 18:30:32 +02:00
Geoff McLane 0145af2821
Merge pull request #897 from arrmo/issue-895
Correction for issue-895
2020-10-02 18:25:24 +02:00
Geoff McLane 1698f9b305 PR #886 cmake enhancement - bump 5.7.34 2020-10-02 18:18:29 +02:00
Geoff McLane 60ae043431
Merge pull request #886 from SvenPStarFinanz/next
COMPILE_FLAGS property only once per target, avoid overwriting.
2020-10-02 18:16:04 +02:00
Geoff McLane 2f1b3c53fd PR #884 Fix memleak in GetTokenFromStream - bump 5.7.33 2020-10-02 18:11:06 +02:00
Geoff McLane ddbcd2abd0
Merge pull request #884 from ltx2018/next
fix memleak in GetTokenFromStream
2020-10-02 18:07:33 +02:00