Commit graph

1622 commits

Author SHA1 Message Date
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
Hugo B Tiburtino 652a4add85 Add translation to TC_OPT_HELPENV and delete empty spaces at TC_OPT_HELPOPT 2020-05-19 00:16:21 +02:00
Hugo B Tiburtino f6913adb56 Add translation to some lines, e.g. MISSING_ENDTAG_OPTIONAL
Add translation to MISSING_ENDTAG_OPTIONAL, MISSING_QUOTEMARK_OPEN,
OPTION_REMOVED, OPTION_REMOVED_APPLIED, OPTION_REMOVED_UNAPPLIED,
STRING_ARGUMENT_BAD, and STRING_MUTING_TYPE.
2020-05-19 00:05:43 +02:00
Hugo B Tiburtino 1b4e863c23 Add translation to MALFORMED_COMMENT_DROPPING, EOS and WARN 2020-05-18 23:53:28 +02:00
Hugo B Tiburtino 6d99e27409 Add translation to "FOOTNOTE_TRIM_EMPTY_ELEMENT" 2020-05-18 23:44:07 +02:00
Hugo B Tiburtino b895ebc1d7 Correct: translate "warning" as "aviso", not "acesso" 2020-05-18 23:37:03 +02:00
Hugo B Tiburtino 85f0b658fd Add translation to "TidyMuteShow" 2020-05-18 23:05:15 +02:00
Hugo B Tiburtino de8eec327f Add translation to "TidyMuteReports"
And change "tabs" to "tabulações" at TidyKeepTabs.
2020-05-18 23:00:55 +02:00
Hugo B Tiburtino 4a74d6a027 Add translation to "TidyKeepTabs" 2020-05-18 22:45:33 +02:00
Eric 572538c6d7 Update clean.c
Protect against NULL in PruneSetion.
 A Null node happens when pruning unbalanced <![if ...]> <![endif]>.
2019-12-17 15:25:58 -05:00
Geoff McLane d1b906991a PR #825 #829 - Bump to 5.7.28 for doc fix 'LocalMap' to 'LocaleMap' 2019-07-08 20:52:14 +02:00
Geoff McLane cd21bb30ad
Merge pull request #829 from MrSorcus/patch-0
PR #825 #829 - Fix docs - "tidyLocalMapItem" to "tidyLocaleMapItem"
2019-07-08 20:48:57 +02:00
Geoff McLane 8ef80736a1 Is. #773 PR #823 - Bump to 5.7.27 for this fix 2019-06-07 20:54:13 +02:00
Geoff McLane e59a18decd
Merge pull request #823 from naveedpash/issue-773
PR #823 - added OS __ANDROID__ in tidyplatform.h - closes #773
2019-06-07 20:52:07 +02:00
Geoff McLane a067cc81d0 Is. #791 PR #809 - Bump to 5.7.26 for this fix 2019-06-07 20:35:52 +02:00
Geoff McLane dcf56a18ca
Merge pull request #809 from htacg/issue-791
Pr #809 - free some -xml-help allocations in tidy.c - closes #791
2019-06-07 20:31:47 +02:00
Geoff McLane d7b58cfba7 PR #793 - Bump to 5.7.25 for this small docs fix 2019-05-31 20:11:30 +02:00
Geoff McLane 654d00a7e8
Merge pull request #793 from SConaway/patch-1
Update BRANCHES.md
2019-05-31 20:08:46 +02:00
Sorcus 43901812fd Change "tidyLocalMapItem" to "tidyLocaleMapItem" 2019-05-25 13:06:54 +00:00
Geoff McLane 7bc23f0e80 Is. #761 - just deal with the 'uint' wrap 2019-05-20 21:01:13 +02:00
Naveed Aman Pasha 8fc8f745ec added OS __ANDROID__ to tidyplatform.h 2019-05-08 12:08:03 +05:00
Geoff McLane fd1fd8a388 Is #815 - Use case-insensitive test 'html' 2019-04-28 20:54:14 +02:00
Geoff McLane 0873d74f8e Is. #781, PR #782 - Bump to 5.7.24, for nl -h removal 2019-03-30 01:03:45 +01:00
Geoff McLane f7621d92fb
Merge pull request #782 from Lin-Buo-Ren/patch/fix-redundant-blank-lines-in-help
PR #782 - Drop redundant blank lines in -help - closes #781
2019-03-30 00:56:30 +01:00
Geoff McLane c80daabc4a PR #769 - Dump to 5.7.23, add 'data' tag - closes #649 2019-03-21 20:33:05 +01:00
Geoff McLane a71031f9e5
Merge pull request #769 from AntoniosHadji/issue-649
Issue #649 adding 'data' tag
2019-03-21 20:28:26 +01:00
Geoff McLane d51afe033e Switch 32-bit build to 'next' 2019-03-20 15:39:36 +01:00
Geoff McLane 68a29fb3e4 Is #797 - Bump to 5.7.21 for this fix - closes #797 2019-01-31 20:03:51 +01:00
Geoff McLane e46435fb29 Is #797 - use 'TidyRealloc' in place of raw 'realloc' 2019-01-31 20:01:02 +01:00
Geoff McLane 4b6849909d Is #752, PR #764 - Bump to 5.7.21 for this merge 2019-01-31 19:16:37 +01:00
Geoff McLane 273c25dd38
Merge pull request #764 from htacg/issue-752
Issue #752, and other items
2019-01-31 19:13:14 +01:00
Steven Conaway 492ac957e5
Update BRANCHES.md 2019-01-16 18:38:00 -08:00
Geoff McLane 0457fff59e Is. #746 PR #747 - Bump to 5.7.20 for this fix 2019-01-14 19:51:27 +01:00
Geoff McLane 68c70ae53a Is. #746 PR #747 - fix other dup 'const' modifier 2019-01-14 19:46:10 +01:00
Geoff McLane e91a1bb84e
Is. #746 - Merge PR #747 from drizt/extra-const
Fix extra const modifier
2019-01-14 19:36:19 +01:00
Geoff McLane c7d6b7c3e8 PR #762 - bump to 5.7.19 for BUILD.md fix 2019-01-12 14:59:55 +01:00
Geoff McLane be14e18e64
Merge pull request #762 from cmb69/php-build-docs
PR #762 - docs BUILD.md - PHP ≥ 7.1.0 recognizes tidy-html5
2019-01-12 14:55:52 +01:00
Geoff R. McLane 1d74ed8f27 Is. #791 - free some allocations 2019-01-09 20:55:33 +01:00
Geoff McLane 9b7205124b Is. #783 #770 #780 - Bump to 5.7.18 for this change 2019-01-08 14:54:13 +01:00
Geoff McLane 937d67c313 Is. #770 #780 maybe #790 - remove 'setlocal' from lib! 2019-01-08 14:52:13 +01:00
Geoff McLane f53ee9db90
Merge pull request #785 from Lin-Buo-Ren/patch/fix-i18n-locale-detection
Is. #783 PR #785 - Fix language detection
2019-01-08 14:41:54 +01:00
林博仁(Buo-ren Lin) 88b99acdd6 Is. #783 - Fix language detection
The `setlocale` call doesn't return a single locale name in glibc when
any of the locale category variable has a different value, instead it
returns a composite locale name which is a concatenation of the entire
list of locale name and its values, causing the language detection fail.

This patch attempts to set the language via LC_MESSAGES and LANG
environment variables which are commonly used in POSIX-like systems,
then fallbacks to `setlocale` as the last resort.
2018-12-03 22:21:14 +08:00
林博仁(Buo-ren, Lin) edc70c52be Is. #781 - Drop redundant blank lines in -help
Fixes #781.
2018-11-29 16:59:43 +08:00
Geoff McLane c6f194608f Is #726 PR #731 - Bump to 5.7.17 for this merge 2018-11-17 18:23:45 +01:00
Geoff McLane 75dd3a03f2
Merge pull request #731 from htacg/issue-726
Issue 726 upper case anchors
2018-11-17 18:20:07 +01:00
Antonios Hadjigeorgalis 5d4e46b333 Issue#649: added <data> tag
<time> tag used as model for adding <data> tag
2018-11-06 20:54:36 -05:00
Christoph M. Becker ff9550d74f PHP ≥ 7.1.0 recognizes tidy-html5
Cf. php/php-src@a552ac5bd5, which is
available as of PHP 7.1.0.
2018-10-15 15:25:39 +02:00