Commit graph

752 commits

Author SHA1 Message Date
Jim Derry cf1adc6d9d Merge pull request #366 from hguemar/master
Fix RPM generation
2016-02-16 10:16:46 +08:00
Geoff McLane a4f425546f Improve MSVC DEBUG output.
Previous only output the first 8 characters, followed by an elipse if more
than 8. Now return first up to 19 chars. If nore than 19, return first 8,
followed by an elipse, followed by the last 8 characters.

This is in the get_text_string service, which is only used if MSVC and not
NDEBUG.
2016-02-14 18:17:46 +01:00
Geoff McLane c66bb848f2 Improve tidySaveString API documentation.
This was suggested by Kevin Locke back in SF bug 917 Nov, 2009. Has taken
some time to filter through!
2016-02-13 18:38:25 +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
Geoff McLane e5038f0bc9 Issue #326 - Allow linkage choice TIDY_CONSOLE_SHARED 2015-12-04 18:31:24 +01:00
Geoff McLane 34eb16b5da Merge MinGW_build branch to version 5.1.29 (#311)
Added support for the __MINGW32__ macro of the MinGW (gcc) compiler.

Small WIN32 code changes where some MS specific defines and API
extensions needed to fall back to the normal API.

Removed the MinGW build version extension. In distribution this is a well
formed WIN32 app, perhaps renamed to tidy-MinGW.exe.
2015-12-03 19:49:24 +01:00
Geoff McLane 1c6069ae99 Remove MinGW compile rc (#311) 2015-12-03 19:36:24 +01:00
Geoff McLane 3b13cd8076 Merge branch 'mingw-build' 2015-12-03 19:18:07 +01:00
Geoff McLane 885e85d0a2 Issue #308 - remove bad warn, bad assert, and free discarded 2015-11-30 17:55:50 +01:00
Geoff McLane b2c806063a Kick '5' off name 2015-11-29 13:03:05 +01:00
Jim Derry 4c848c57bc Bumped version. 2015-11-29 13:24:01 +08:00
Jim Derry 61cfcb1555 Fix for head closing tag not reported (#327) 2015-11-29 13:21:49 +08:00