Commit graph

1618 commits

Author SHA1 Message Date
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
Geoff McLane a26e3033ec PR #881 trans language_pt_br.po - bump 5.7.32 2020-10-02 18:00:10 +02:00
Geoff McLane ebfc930190
Merge pull request #881 from hugotiburtino/complete_pt_br_translation
Complete pt_br translation
2020-10-02 17:57:48 +02:00
Geoff McLane e166e5afe5 PR #853 word-2000 PruneSection fix - bump 5.7.31 2020-10-02 17:51:45 +02:00
Geoff McLane 089d14a19f
Merge pull request #853 from esclim/next
Protect against NULL in PruneSection.
2020-10-02 17:48:06 +02:00
Geoff McLane f7e9de6c07 Is. #761 PR #830 - Bump to 5.7.30 for this fix. Closes #761 2020-10-02 17:23:23 +02:00
Geoff McLane 3dafcf1341
Merge pull request #830 from htacg/issue-761-1
Is. #761 - just deal with the 'uint' wrap
2020-10-02 17:16:45 +02:00
Russell Morris 34cb411dd5 Correction for issue-895
As proposed by @geoffmcl - thanks!
2020-09-30 19:57:08 -05:00
Geoff McLane ed28a4541f Is. #815, PR #832 - no-case 'html' - bump to 5.7.29 2020-09-28 20:31:04 +02:00
Geoff McLane 4b2d5db743
Merge pull request #832 from htacg/issue-815
Is #815 - Use case-insensitive test 'html'
2020-09-28 20:27:20 +02:00
Geoff McLane e10f647f2b Is. #876: add legacy qual. to 'quote-ampersand' opt. 2020-09-28 19:47:37 +02:00
Geoff McLane 442e46f634 Is. #892: correct typo closes #892 2020-09-28 19:39:18 +02:00
Geoff McLane 0473972c46 Update cmake/32 and win64/64 builds 2020-09-28 16:07:35 +02:00
Sven Paschukat 74a7b2ee9d COMPILE_FLAGS property only once per target, avoid overwriting. 2020-06-29 09:02:37 +02:00
lutianxiong 4377ab84a4
fix memleak in GetTokenFromStream
check asp & php if ParseAttribute return NULL
2020-06-20 09:19:17 +08:00
Hugo B Tiburtino 469dc09ac0 Add translation to TC_TXT_HELP_ENV_1A, B and C 2020-05-19 00:42:54 +02:00
Hugo B Tiburtino 1f29bbe803 Add translation to TC_TXT_HELP_3A and TC_TXT_HELP_CONFIG 2020-05-19 00:33:35 +02:00
Hugo B Tiburtino 3a4f1193f8 Add translation to TC_OPT_EXP_CFG and DEF 2020-05-19 00:19:55 +02:00