Commit graph

1659 commits

Author SHA1 Message Date
Jim Derry fe451eaa7d Address #452. 2017-05-06 19:18:01 -04:00
Jim Derry fd77312175 Attempt to address issue #352. This patch correctly address the specific issues
in #352, but I'm worried that there's some over-reach here.

Currently only implemented as a warning, with no switch to turn it off, which
maintains current behavior other than the warning.

In general, we're treating any string as a complete URL, rather than breaking
URL's into component parts. Thus the `IsURLCodePoint()` check includes a few
other generic characters that strictly speaking aren't valid codepoints, but
are valid as escape characters and delimiters.

When addressing #338, I ran into a similar situation in not having a built-in
method to separate path components (although a simple generalized solution was
good enough in that case).

Thus without introducing a new structure and functions to deconstruct a URL
into scheme, authority, path, parameters, etc., some variation of this patch
will have to be used to address #352.
2017-05-06 18:54:42 -04:00
Jim Derry 09d1802298 Merge branch 'next' into deprecations 2017-05-06 14:34:48 -04:00
Geoff McLane fd2400d55b Merge pull request #543 from htacg/issue-436
Small documentation change to close #436
2017-05-06 15:44:45 +02:00
Geoff McLane 61d19c9a86 Merge #537 - Bump 5.5.18 for this gdoc fix 2017-05-06 15:37:56 +02:00
Geoff McLane d4978608e7 Merge pull request #537 from deathbaba/next
Correctly process 'bookmarks' in html exported from Google Doc.
2017-05-06 15:35:57 +02:00
Geoff McLane 1257a49823 Merge #541 - Bump to 5.5.17 - Closes #338 2017-05-06 15:26:09 +02:00
Geoff McLane 6839dfe601 Merge pull request #541 from htacg/issue_338
Issue #338 - fix 3 spurious access level 3 warnings...
2017-05-06 15:20:55 +02:00
Geoff McLane 594275712c Merge #532 - Bump to version 5.5.16 for new 'warn-proprietary-attributes' 2017-05-06 14:51:19 +02:00
Geoff McLane 6da0fff256 Merge pull request #532 from lhchavez/add-warn-prop-attrs
Add a flag to warn on proprietary attributes
2017-05-06 14:48:36 +02:00
Geoff McLane f9edab1c33 Merge #540 - Bump to 5.5.15 - closes #461 2017-05-06 14:21:13 +02:00
Geoff McLane 6e8fcaa0e5 Merge pull request #540 from htacg/issue-461
Issue #461 - alternative patch for this issue
2017-05-06 14:19:17 +02:00
Jim Derry 846b3cde55 Address #436 just to close it. 2017-05-04 13:45:06 -04:00
Geoff McLane d142527a8e Issue #338 - Deal with two other spurious access warnings 2017-05-04 17:36:39 +02:00
Jim Derry bbaad8356d Fix macOS issue with make package. 2017-05-04 09:53:42 -04:00
Jim Derry 7f8394e050 Merge pull request #534 from spk/cmake-pkg-config
Generate pkgconfig file for tidy
2017-05-04 09:53:14 -04:00
Jim Derry 14f5980117 macOS fixes. 2017-05-04 09:50:36 -04:00
Jim Derry 49b833f63b WIP 2017-05-03 18:16:03 -04:00
Jim Derry 8b2f92f625 Issue #338 occurs because the existing routines assume that any URI with an
extension is a file, and so links to TLD's ending with .pl, .au, etc., will
cause accessibility warnings. This fix attempts to distinguish between URI's
that are likely to be files versus links to domains.
2017-05-03 16:15:44 -04:00
Laurent Arnoud 3333ca7d69
Fix pkgconfig install path on package 2017-05-02 20:28:48 +02:00
Geoff McLane b03598652f Issue #461 - alternative patch for this issue 2017-05-02 19:39:16 +02:00
Alexander Zolotarev 87169d8953 Correctly process 'bookmarks' in html exported from Google Doc. 2017-04-19 14:47:27 -10:00
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