Commit graph

1337 commits

Author SHA1 Message Date
Laurent Arnoud 4066171ea2
Generate pkgconfig file for tidy 2017-04-18 00:43:43 +02:00
lhchavez a19d271f47 Add a flag to warn on proprietary attributes
This change adds the TidyWarnPropAttrs flag (default=on) that emits a
warning every proprietary attribute it finds.
2017-04-15 03:17:16 +00:00
Geoff McLane d8839485a4 Merge branch 'next' of github.com:htacg/tidy-html5 into next 2017-04-09 02:09:19 +02:00
Geoff McLane 72612b6ca3 Issue #524 - Bump to 5.5.14 for this message change 2017-04-09 02:08:58 +02:00
Geoff McLane 219a5c797b Issue #524 - Remove obsolete message 2017-04-09 02:08:03 +02:00
Jim Derry d1e0b22be7 Removed TidyDropFontTags. Note that POs and POT were _not_ updated. 2017-04-04 14:42:47 -04:00
Jim Derry 24afc6a6fa Fixed some casting issues that Ubuntu object to.
- Test on macOS, Win10, Ubuntu.
- No version bump for this change.
2017-04-04 14:33:56 -04:00
Jim Derry ce1e638a0f Added documentation to tidy.c for potential developers to look at and
understand.

- No version bump as no API was changed; just comments and reorganization.
- Built and tested in macOS, Win10, and Ubuntu.
2017-04-04 14:07:20 -04:00
Jim Derry 19c0655333 Bump to 5.5.13 for PR. 2017-03-31 13:36:15 -04:00
Jim Derry 2ad675556d Merge pull request #517 from htacg/issue-333
Issue 333
2017-03-31 13:35:41 -04:00
Geoff McLane dfad372af0 Merge branch 'issue-333' of github.com:htacg/tidy-html5 into issue-333 2017-03-26 16:57:47 +02:00
Geoff McLane 22dcea067e Issue #335, maybe #333, to output indent char, reduce if tab 2017-03-26 16:57:29 +02:00
Geoff McLane 5f88452487 Issue #333 - create exception for span/meta 2017-03-26 16:57:29 +02:00
Geoff McLane 17354ff927 Issue #515 #516 - Bump to 5.5.12 for this change 2017-03-24 15:26:09 +01:00
Geoff McLane fe3efcd035 Merge pull request #516 from htacg/cpack-test
Cpack test
2017-03-24 15:21:17 +01:00
Geoff McLane d3e8cf3901 Make LICENSE.txt equivalent to LICENSE.md 2017-03-24 15:19:07 +01:00
Geoff McLane 04f536ec5c Merge branch 'cpack-test' of github.com:htacg/tidy-html5 into cpack-test 2017-03-23 15:19:06 +01:00
Geoff McLane 03e96e36d4 Since CPack can miss some system DLLs, make option ADD_SYSTEM_RUNTIMES, def OFF 2017-03-23 15:18:19 +01:00
Geoff McLane 29f106b483 Use one compatible license file for all 2017-03-23 15:18:19 +01:00
Geoff McLane 525fe9c134 Issue #515 - Add option to use MSVC statis runtime /MT 2017-03-23 15:18:19 +01:00
Geoff McLane ba073a2882 Issue #515 - Add system DLLs to installers 2017-03-23 15:18:19 +01:00
Geoff McLane 6b0dd4131a add LICENSE.txt for WIN32 bin package 2017-03-23 15:18:19 +01:00
Geoff McLane 22bc8da583 Since CPack can miss some system DLLs, make option ADD_SYSTEM_RUNTIMES, def OFF 2017-03-23 15:13:28 +01:00
Geoff McLane 25f51604d0 Use one compatible license file for all 2017-03-23 15:05:05 +01:00
Geoff McLane 5416bfb8ae Issue #515 - Add option to use MSVC statis runtime /MT 2017-03-23 14:53:44 +01:00
Jim Derry 1a66455052 Bumped to 5.5.11 for small API change. 2017-03-22 16:14:17 -04:00
Jim Derry 5f05add439 Continue the documentation effort!
- Many, many updates to the public header files.
- tidyenum.h was reorganized substantially in order to better generate
  documentation with Doxygen.
- This was also a good time to clean up all of the various enums for languages
  and strings. Everything is simple and in a single enum now, other than a
  couple of cases (TidyOptionId, for example, doesn't need to be redefined).
- A full and complete audit of the strings meant some opportunities to delete
  useless strings.
- Reorganized the order of the strings in language_en.h in order to better
  find things when programmers want to make changes. There are a lot fewer
  internal "sections" now, and everything has been painstakingly sorted within
  the remaining sections.
- Consequently rebased all of the PO's, POT, and other language files.
- Updated several of the READMEs with the newest information.
- Made the READMEs easier to copy into the Doxygen project by changing some of
  the code format for compatibility, mainly the use of tildes instead of
  backslashes for code blocks.
- Added tidyGetMessageCode() to message API. Despite the huge diff, this is the
  only externally-visible change, other than removing some enums (but not their
  values!).
- Passing `next` tests on Mac, Linux, Win10.
2017-03-22 16:05:13 -04:00
Geoff McLane ce7b5cd55e Issue #515 - Add system DLLs to installers 2017-03-22 04:11:32 +01:00
Geoff McLane 187545771b add LICENSE.txt for WIN32 bin package 2017-03-22 04:10:13 +01:00
Geoff McLane 8de67cf4d6 Some improvement to 'build-bins.bat' - no bump 2017-03-22 02:45:43 +01:00
Geoff McLane bbb37b6354 Issue #335, maybe #333, to output indent char, reduce if tab 2017-03-20 18:40:59 +01:00
Jim Derry be5e80f5a7 Bump to 5.5.10 for small API change. 2017-03-20 12:22:45 -04:00
Jim Derry 929575afb4 Picklist enums should all start at zero for external LibTidy user compatibility.
Restore the new custom-tags enum to this state, and add separate string keys.
Updated PO's to reflect; no change to headers.
2017-03-20 12:20:51 -04:00
Geoff McLane b9d1e1f037 Issue #333 - create exception for span/meta 2017-03-20 16:54:50 +01:00
Jim Derry 0be7ed8e33 Removed TODO comment; no version bump. 2017-03-19 16:39:13 -04:00
Jim Derry 3b9fd6bd5e Bumped version to 5.5.9 to reflect latest commit. 2017-03-19 15:44:18 -04:00
Jim Derry a4f752f274 Implement TODO:
- tidyDetectedHtmlVersion()
- tidyDetectedXhtml()
- added two new fields to W3C_Doctypes[] in order to simplify this.
- added TY_(HTMLVersionNumberFromCode)() to enable lookup.
- Implement tidyDetectedGenericXml()
- Added a warning message if an XML declaration exists but the document is not
  XHTML.
- Remove dead commented code.
- Updated POs and POT. Headers not affected, but translators should check
  their translations.
- Testing is clean on Mac OS X, Ubuntu 16.04, and Windows 10.
2017-03-19 15:41:51 -04:00
Jim Derry 068e6bf42a Bumped to 5.5.8 because two new methods added during documentation updates. 2017-03-19 09:53:16 -04:00
Jim Derry 13122e8862 Added tidyErrorCodeFromKey()
Added tidyGetMessageDoc()
Improved the Public API documentation.
2017-03-19 08:15:32 -04:00
Jim Derry 1dbacc9c43 Bumped to 5.5.7 to support custom tags. 2017-03-19 08:09:43 -04:00
Jim Derry b3d6dc3d8a Merge pull request #514 from htacg/custom_tags
Support custom tags
2017-03-19 08:08:58 -04:00
Geoff McLane c8f366b76e Issue #119 - Remove 3 newline chars, that crept in... 2017-03-18 18:52:48 +01:00
Jim Derry 89e4a0215a Fixed the enum, which has TidyCustomTags and TidyUseCustomTags documented backwards. 2017-03-18 11:20:56 -04:00
Geoff McLane 73f68e2b2a Issue #119 - remove old debug code 2017-03-17 18:02:11 +01:00
Jim Derry da55a6e4ac Removed unused declaration. 2017-03-16 08:00:05 -04:00
Jim Derry 0c5550b06f I think the messages are where I want them to be. Will generate test cases
for comparison. Also regen'd all pots and language headers.
2017-03-15 17:36:05 -04:00
Geoff McLane 61692401ce Issue #119 - be able to set RC number during lib build 2017-03-15 19:57:47 +01:00
Jim Derry 5606f32f13 WIP; messaging much more logical, except @todo noted. 2017-03-14 21:50:10 -04:00
Jim Derry 66ade9def4 Still noisy, but adds HTML5 dependent output message upon detection. 2017-03-14 16:27:11 -04:00
Jim Derry ed5a1d84ea Add TY_(nodeIsAutonomousCustomTag), so we can use it elsewhere. 2017-03-14 15:44:46 -04:00