Commit graph

355 commits

Author SHA1 Message Date
Jim Derry d5d880279e Merge pull request #181 from pedromorgan/man
Create man page as part of cmake build
2015-03-08 13:37:45 +08:00
Jim Derry 6d84c5a6ec Merge branch 'pedromorgan-pedro' 2015-03-08 11:52:17 +08:00
Jim Derry 6099f132e7 Tweaked the colors a bit to eliminate the illegible text shadow effect. 2015-03-08 11:51:54 +08:00
Jim Derry 6e2411120e Add another examples directory. 2015-03-08 11:35:59 +08:00
Jim Derry 817c775209 Use the temporary directory variable. 2015-03-08 11:35:46 +08:00
Jim Derry 424c9d782b Removed unused reference causing warnings. 2015-03-08 11:34:49 +08:00
Jim Derry 52ef5f89ce Squelch documentation building errors. 2015-03-08 11:34:17 +08:00
Jim Derry 9a5ba3a4e8 Moved generated output to temp 2015-03-08 11:12:36 +08:00
Jim Derry f2cecf7564 Merge git://github.com/pedromorgan/tidy-html5 into pedromorgan-pedro 2015-03-08 11:01:33 +08:00
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
Pedro 04beaeed02 extract example.c into its own file and include 2015-03-05 05:30:48 +00:00
Pedro 81187629c3 extract more api data via some doxy settings and test to comments 2015-03-05 05:14:21 +00:00
Pedro 4a5b360847 home sweet home 2015-03-05 03:07:36 +00:00
Pedro 1af91f985c add example 2015-03-05 02:03:48 +00:00
Pedro f62049e4d2 add basic pages and install 2015-03-05 01:19:03 +00:00
Pedro 334a09b1cf Add quickref.html to doxygen build site 2015-03-04 23:36:33 +00:00
Pedro 1e60415120 Add layout dile for doxygen with links to websites 2015-03-04 22:58:32 +00:00
Pedro 9488c2fdb7 Read doxygen version from version.txt file 2015-03-04 22:38:56 +00:00
Pedro c8506c3095 Read doxygen version from version.txt file 2015-03-04 22:36:10 +00: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