Commit graph

1360 commits

Author SHA1 Message Date
Jim Derry c62127b9bd Default to NO at this point. 2016-02-13 12:33:02 +08:00
Jim Derry 8b5771cf24 Word2000
Added messages that would otherwise be missed in post-processing, after cleanup.
2016-02-13 12:26:19 +08:00
Jim Derry 2cdedb4a63 Forgot one file... 2016-02-13 11:53:53 +08:00
Jim Derry 896b00238b Forgot one file... 2016-02-13 11:53:40 +08:00
Jim Derry 2ade3357a9 Phase 2
This is a MUCH SANER approach to what I was trying to do (now that I screwed up enough internals to understand some of them!
At this point there are zero exit state reversions, and zero markup reversions! There are still 21 errout reversions; I'll
annotate and adjust as necessary.
2016-02-13 11:31:16 +08:00
Jim Derry e947d296e4 Handle some issues with misusing VERS_HTML5 in the doctype. 2016-02-12 20:49:14 +08:00
Jim Derry c81a151da5 Add VERS_STRICT to identify future strict document types. 2016-02-12 20:46:49 +08:00
Jim Derry 74604fd52b Hard-coded checks are redundant with updates to attrdict.c. 2016-02-12 20:44:03 +08:00
Jim Derry 429703dce4 Because the previous effort #350 grew too fast and there was a LOT of side effects to
my changes, I'm starting over with this. Comments in the PR thread.

This commit reduces the size of attrdict.c while causing only a single errout
regression that is justified.
2016-02-12 19:34:19 +08:00
Geoff McLane 03a643f781 Issue #341 - No token can be inserted if istacksize == 0! 2016-02-08 15:12:23 +01:00
Geoff McLane 58229b7e24 Issue #341 - Bump to version 5.1.37Test for this fix 2016-02-08 15:10:38 +01:00
Jim Derry fbde392af3 - Removed documentation generation from this repository.
- Removed documentation generation from CMake.
- These functions are now available in the api repository.
- Changed documentation directory to man to better illustrate its purpose.
2016-02-05 14:59:12 +08:00
Haikel Guemar 593e1df6ec Fix RPM generation
CPack generated RPM failed to install due to the RPM
owning directories owned by filesystem packages.
Exclude mandir directories from CPack.

Resolves https://github.com/htacg/tidy-html5/issues/364
2016-02-04 08:40:49 +01:00
Geoff McLane 0f3cab930a Issue #345 - bump to 5.1.36 for this fix 2016-02-01 20:10:23 +01:00
Geoff McLane 7d0d8a853a Issue #345 - discard leading spaces in href 2016-02-01 20:07:55 +01:00
Geoff McLane e8ca2aa5f3 Issue #342 - bump to version 5.1.35 for this fix 2016-02-01 19:45:43 +01:00
Geoff McLane 7f0d5c31e6 If no doctype, allow user doctype to reset table - Issue #342 2016-02-01 19:44:30 +01:00
Geoff McLane 6abb8b7a3c Add new primary language_en.h to sources.
Add the ever present language_en.h to the sources. This does nothing
really, but is important in MSVC IDE project source searches.

Also added win32tc.h even though it is not presently used.
2016-02-01 19:30:56 +01:00
Geoff McLane c1f94c066c Tidy up some debug only code.
After @sria91 added #360 merge, added a little more improvement...
2016-01-30 20:51:27 +01:00
Geoff McLane 328308cbb5 Merge pull request #360 from sria91/master
fixed a NULL node bug in debug build
2016-01-30 20:31:32 +01:00
Srikanth Anantharam 9a0af48a4e fixed a NULL node bug in debug build 2016-01-30 22:03:52 +05:30
Jim Derry 22998e81e8 Merge pull request #359 from htacg/localize_rc
HTML Tidy now can be localized.
2016-01-30 16:02:39 +08:00
Jim Derry dca50d4077 Version bump prior to rolling into master. 2016-01-30 16:02:00 +08:00
Jim Derry 3553cbab1f One more README update. 2016-01-30 15:52:16 +08:00
Jim Derry 9ae15f45a7 Consistent tabs
Fixed tabs in template file, and regen'd all related files.
2016-01-30 15:51:54 +08:00
Jim Derry 53f2a2da2a msgunfmt works properly with escaped hex. 2016-01-30 15:51:53 +08:00
Martin von Gagern 17e50f2642 Encode UTF-8 strings to hex escapes in header files 2016-01-30 15:51:53 +08:00
Jim Derry bf70824cc2 - Add TidyReportFilter3, which removes translation strings completely from the equation. It would be a good idea to deprecate TidyReportFilter2, which is vulnerable to changing strings in Tidy source.
- Documentation reminders for future enum changes.
- Documentation updates.
2016-01-30 15:51:53 +08:00
Jim Derry d505869910 Localization Support added to HTML Tidy
- Languages can now be added to Tidy using standard toolchains.
- Tidy's help output is improved with new options and some reorganization.
2016-01-30 15:51:53 +08:00
Jim Derry 7b09caee37 Merge pull request #351 from josephgrossberg/master
looks like a pre-processor left "; eof" in some of the outputted mark…
2016-01-21 17:05:04 +08:00
Joe Grossberg a81885d154 looks like a pre-processor left "; eof" in some of the outputted markdown files 2016-01-20 16:53:00 -08:00
Jim Derry ce6c7de2d9 Bump version for Mac OS X Fix, addresses #339. 2016-01-07 11:52:58 +08:00
Jim Derry 680adfd964 Merge pull request #340 from htacg/encoding_fixes
Fixes Mac OS X encoding issues and harmonizes output across platforms.
2016-01-07 11:51:46 +08:00
Jim Derry 26e7d9d4b0 Fixes Mac OS X encoding issues and harmonizes output across platforms.
Previously Tidy produced different output based on the compilation target, NOT based on
the file encoding and specified options. Every platform was equal except Mac OS. Now unless
the encoding is specifically set to a Mac file type, all encoding assumptions are the same
across platforms.
2015-12-31 13:57:34 +08:00
Geoff McLane 0005841cfe Drop back to 2.8.7 for Travis CI use 2015-12-23 00:51:01 +01:00
Geoff McLane 2dd699940b Add W3C validation for sample html 2015-12-08 01:29:39 +01:00
Geoff McLane 9942856164 Issue #308 - Bump version to 5.1.32 2015-12-07 12:42:13 +01:00
Geoff McLane 48fbcbfa78 Merge branch 'issue-308' to fix warning and release memory (#308) 2015-12-07 12:39:01 +01:00
Geoff McLane 0c6ccd884a Some additions to CONTRIBUTING.md 2015-12-06 18:55:03 +01:00
Geoff McLane b206331c55 Merge branch 'issue-308' of github.com:htacg/tidy-html5 into issue-308 2015-12-05 17:03:33 +01:00
Geoff McLane 902c961619 Some updates of the README.md 2015-12-05 17:01:31 +01:00
Geoff R. McLane d68e9c45d0 Merge branch 'master' of github.com:htacg/tidy-html5 2015-12-05 16:22:45 +01:00
Geoff R. McLane 59f60d1a79 update test 443576 msg 2015-12-05 16:22:18 +01:00
Geoff McLane 78f2d52cdd Issue #308 - remove bad warn, bad assert, and free discarded 2015-12-05 15:03:41 +01:00
Geoff McLane e0fdbba8b0 For test 500236 need .xml extent 2015-12-05 14:28:46 +01:00
Geoff R. McLane 8f8f40fe52 for test 500236 need .xml extent 2015-12-05 14:27:16 +01:00
Geoff McLane 7f131d3c79 Update to new INSERTING_AUTO_ATTRIBUTE message - #324 #320 2015-12-05 13:48:13 +01:00
Geoff McLane 5f8aac98df Reverted #327 bumped to 5.1.31 2015-12-05 13:02:33 +01:00
Geoff McLane 9caecb80cf Revert "Fix for head closing tag not reported (#327)"
This reverts commit 61cfcb1555.

This added an inconsistent warning about a missing optional close tag. In
general tidy does not report such optional close tags. See issue #327 for
some discussion on this.
2015-12-05 12:59:43 +01:00
Geoff McLane 121fe86bc6 Issue #326 - Bump to version 5.1.30 2015-12-04 18:32:48 +01:00