Commit graph

337 commits

Author SHA1 Message Date
Pedro c013fa97d9 Make man filename into a cmake variable 2015-03-07 22:28:58 +00:00
Pedro 3f8a95601e Make man filename into a cmake variable 2015-03-07 22:27:02 +00:00
Pedro b39a953f69 Add note re using manpath 2015-03-07 22:11:51 +00:00
Pedro b6caf8f7a5 Create man page as part of cmake build 2015-03-07 22:08:39 +00:00
Geoff McLane fd7b4f8589 just some more DEBUG on text nodes 2015-03-06 19:28:52 +01:00
Geoff McLane 90c9e81ba1 bump version for furhter fix on #167 2015-03-06 19:14:24 +01:00
Geoff McLane c0cad3aeba Issue #167 - further fixes for HTML5 mode 2015-03-06 19:13:06 +01:00
Geoff McLane 389ce17814 add attr to dbg_show_node 2015-03-06 18:36:01 +01:00
Geoff McLane 592f81b606 ignore some cpack built items 2015-03-06 16:52:45 +01:00
Geoff McLane 01d35cb22d add txt and html, since md not supported by WiX (MSI) 2015-03-06 15:36:42 +01:00
Geoff McLane 59aad805e5 Initial cpack building releases.
Thanks to pedromorgan PR #174 for the initial addition of this to
CMakeLists.txt.
2015-03-06 15:31:34 +01:00
Geoff McLane 960f875824 Merge branch 'pedromorgan-cpack' 2015-03-06 13:59:20 +01:00
Geoff McLane 6c04febc88 Merge branch 'cpack' of https://github.com/pedromorgan/tidy-html5 into pedromorgan-cpack 2015-03-06 13:44:51 +01:00
Geoff McLane 7ffcce2241 bump version for fix of issues #167 and #169 2015-03-06 13:09:12 +01:00
Geoff McLane 0dc68d6cb1 Issue #167 & #169 - default to HTML5 mode.
Revert TidyTag_A to HTML5 mode, but allow the table to be modified if the
DOCTYPE given is found to NOT be HTML5, through a service TY_(AdjustTags).
Care is taken to clear any previous hash cached tags.

At present this only effects the anchor tag, but could be applied to
others that need to change their parsing due to an identified DOCTYPE.
2015-03-06 12:55:24 +01:00
Pedro 648b20e622 Create zips and tarballs 2015-03-05 22:20:46 +00:00
Pedro ae49dab6e7 Create deb and rpm packages using cpack 2015-03-05 22:08:54 +00:00
Geoff McLane 50e8d7fe69 Issue #168 alter 2 cases, 5-5-1-3 and 5-6-1-3 to expect what is output now.
Sometime long ago, prior 2009, tidy cleaned ALL leading, trailing spaces
from attribute values, thus can no longer distinguish between a fully
blank value like "", and a value consisting of all spaces like "   ".

So in these two tests, there is a preceeding test which tests the blank case,
and tidy reports it as blank, but will no longer report the all spaces as
all spaces, but repeats the blank case.

Have amended the accesscases.txt to reflect what tidy has output for more
than the last 6+ years...
2015-03-05 13:36:59 +01:00
Geoff McLane 606ffebd47 Issue #168 - Fix for access test 5.2.1.2 2015-03-04 19:38:59 +01:00
Geoff McLane 2fef5ba820 Adjust to new exe cmake build location 2015-03-04 19:33:34 +01:00
Geoff McLane 2e383c6029 bump version for fix of Issue #167 2015-02-28 20:32:38 +01:00
Geoff McLane 86f626cd67 Issue #167 - revert anchor tag to inline only 2015-02-28 20:30:56 +01:00
Geoff McLane 0b4fc1b6bb Small fix in test 505770 2015-02-27 18:36:38 +01:00
Geoff McLane 6497e7b201 correct spelling and add options 2015-02-27 17:50:43 +01:00
Geoff McLane fb29686a2e merge of develop-500 into master 2015-02-27 12:53:53 +01:00
Geoff McLane a9361a1c5b bump version for #162 fix 2015-02-24 17:53:58 +01:00
Geoff McLane 4b2943edb3 Issue #162 - fix for this while hopefully maintaining #111 fix.
The fix for #111 added an end tag for all StartEnd tags, when outputting
HTML5, but there should be some exceptions to this.

Added a new service, isVoidElement(node) for the void elements. Perhaps
this service could be further optimised.
2015-02-24 17:51:59 +01:00
Geoff McLane 25d38e1dcf bump version for fix to Issue #166 2015-02-24 15:07:36 +01:00
Geoff McLane cfffe7765f Issue #166 - repeated main element.
With this fix introduced two new services, FindNodeById and
FindNodeWithId. The former does a total tree search for a TidyTagId.

Maybe there is a way to optimise this search...

Also change the uint badForm from an on/off to a bit field, so could be
extended to other document format errors.
2015-02-24 15:04:19 +01:00
Geoff McLane a5629443e6 Just improve some debug output 2015-02-24 13:20:26 +01:00
Geoff McLane 70d7e58d8d Add macro nodeIsMAIN(n) 2015-02-22 20:53:14 +01:00
Geoff McLane 0aa81eb256 Issue #130 - MathML attr and entity fix!
This is a set of kludgy fixes for MathML attribute and entities support.

It is intended that a full HTML5 entity table be added at some time, but
at present ALL entities are accepted as written when within the math
element.

Likewise all attributes are accepted on MathML elements without any check
of their name or value, even if they match attributes outside MathML.

And in the pprinter such entities are written as is from the lexer, using
a new PPrintMathML service added, using the new mode OtherNameSpace.

It is hoped all these fixes will NOT effect tidy outside the math element.

ALL fixes in the set a clearly marked '#130 - MathML attr and entity fix!'
for easy searching, and improving if possible.
2015-02-22 18:58:55 +01:00
Geoff McLane 84f1f4351b add install to build 2015-02-22 18:42:55 +01:00
Geoff McLane 3871707d6b Merge pull request #165 from fred-wang/lang-rang
Use HTML5 mapping for entities ⟨ and ⟩
2015-02-22 13:25:17 +01:00
Frédéric Wang fe51244d4a Use HTML5 mapping for entities ⟨ and ⟩ (http://www.w3.org/TR/xml-entity-names/#diff-xhtml1). #130 2015-02-21 19:33:24 +01:00
Geoff McLane 339f493e0d remove destructive drop-fonts-tags option from default 2015-02-19 19:17:13 +01:00
Geoff McLane b144b834cd Add a show_all_nodes debug service 2015-02-19 19:14:40 +01:00
Jim Derry 94c38e4d2b .gitignore cleanup 2015-02-14 13:55:39 +08:00
Jim Derry acc116477d Github hates definition lists. 2015-02-14 13:50:05 +08:00
Jim Derry 698768391e Removed obsolete output directory. 2015-02-14 13:39:37 +08:00
Jim Derry 96349aedd5 Simplified document build system to single file. Updated README. 2015-02-14 13:38:16 +08:00
Jim Derry 07f90ccc81 Moved htmldoc to build/documentation 2015-02-14 12:12:15 +08:00
Jim Derry 99eb5c9e3e Removed unneeded quickref.css -- now built into the xslt. 2015-02-14 12:08:18 +08:00
Jim Derry 0b910e0420 Removed in-source build of documentation. 2015-02-14 12:07:29 +08:00
Jim Derry fc0ec7c1cf Removed external stylesheet dependency. 2015-02-14 12:06:58 +08:00
Geoff McLane 6e3b293985 Issue #130 - Add TidyAttr_DISPLAY for math tag 2015-02-13 18:37:07 +01:00
Jim Derry cb0b61da70 Access test tidy path. 2015-02-13 19:43:40 +08:00
Jim Derry ca2324ac7c Changed text to point to html-tidy.org 2015-02-13 19:19:51 +08:00
Jim Derry 04f68a032f Changed text to point to html-tidy.org 2015-02-13 19:17:25 +08:00
Jim Derry 212db633f8 New API documentation generated. README with instructions. Updated doxygen.cfg to current version. Fixed broken doxygen paths. Added shell scripts to build quickref and tidy.1. 2015-02-13 15:13:31 +08:00