Commit graph

472 commits

Author SHA1 Message Date
Geoff R. McLane 8dff34cbdc add convenient pub binaries script 2015-06-04 19:12:25 +02:00
Geoff McLane a1da576946 Add some convenient bats to publish binaries 2015-06-04 18:01:29 +02:00
Geoff McLane 50c213f37a Update verhist.log 2015-06-04 17:42:28 +02:00
Geoff McLane 544f9876cc Issue #212 - bump version for this additional change 2015-06-04 13:21:00 +02:00
Geoff McLane 326f2414fd Issue #212 - Further fix to set MixedContent in some cases.
In certain circumstances a leading space has to be preverved to allow it
to be used to create a text space node to insert before this element to
preserve the view in a browser.

And added a note asking why is ParseTag called with a hardcoded
IgnoreWhitespace when some effort above has set the mode variable to
MixedContent in certain cases, but need to think about this 2nd change.

Also added some MSVC Debug output when this leading text is used to insert
such a created text node before the element just to be reminded of this
special event.
2015-06-04 13:12:05 +02:00
Geoff McLane a278b04a19 Add debug display of text modes.
Note this ONLY effects a MSVC Debug build!
2015-06-04 12:59:02 +02:00
Geoff McLane 0c96ed8af4 Bump version for issue #217 fix 2015-06-03 20:27:01 +02:00
Geoff McLane c18f27a587 Issue #217 - avoid len going negative, ever... 2015-06-03 20:26:03 +02:00
Geoff McLane 0fb7ccdfc6 Add some mem alloc and free debug to chase Issue #217
Such debug is OFF by default, and only added by defining DEBUG_MEMORY. And
is only available for the Debug configuration compiled with MSVC, but this
could be easily extended...
2015-06-03 20:24:41 +02:00
Geoff McLane fc696636e2 Merge branch 'master' of github.com:htacg/tidy-html5 2015-06-02 20:44:28 +02:00
Geoff McLane 944b412fe6 Need extra include if UNICODE is defines 2015-06-02 20:44:00 +02:00
Geoff McLane 5e9eb0b7fd Small fix in platform.h, just for windows (WIN32)
Not sure how this has lasted so long, but I guess there are not too many
users wanting to specifically use the static tidy library.

Now it is possible to define TIDY_STATIC and the TIDY_EXPORT macro will
just be 'external', suitable for linking with the static library, instead
of adding the _imp_ MSVC __declspec( dllimport )...

This fix does not effect other than the WIN32 platform build.
2015-06-02 20:41:11 +02:00
Geoff R. McLane c266d36fad keep a recent gen'ed quickref.html in documentation 2015-06-02 17:15:05 +02:00
Geoff McLane b8bc88522c small fix for indent-with-tabs to have a default xml value 2015-05-25 16:48:39 +02:00
Geoff McLane d9113957d8 Reverse option wording to reflect new default ON 2015-05-25 13:33:32 +02:00
Geoff McLane fb637608fb Fix README.md to show now both shared and static libraries are built 2015-05-25 13:24:50 +02:00
Ionel Roiban e13a535a0c Merge pull request #216 from denji/patch-1
5.0.0
2015-05-24 16:51:31 -04:00
Denis Denisov 5a28d5f010 5.0.0
htacg/tidy-html5#190
2015-05-24 23:49:00 +03:00
Geoff McLane dde78c2dbf bump to 4.9.30 adding build shared and static 2015-05-24 15:23:59 +02:00
Geoff McLane efb8e37664 Build both static and shared libraries.
First many other projects do this, and it seems a good choice.

Due mainly to windows where the static and shared libraries have the same
name, appended an 's' to the static library.

The tidy console app will use the static library, since to build the man
page tidy may need to be run before the shared libraries are installed.
And this makes the windows tidy exe a stand-alone app. No DLL install
issue.

This addresses issue #194, and possibly #190
2015-05-24 15:21:30 +02:00
Geoff McLane bb35166ed0 update the verhist.log 2015-05-22 19:06:17 +02:00
Geoff McLane 3686bc5390 Issue #108 - merged indent-with-tabs branch into master.
Thought there may be some comments on this but nothing for a week.
So have merged to master hoping more people will test it, and any
remaining issues resolved.

Now it will be present from version 4.9.29 onwards.
2015-05-22 16:33:20 +02:00
Geoff McLane 843bfae523 Merge branch 'indent-with-tabs' of github.com:htacg/tidy-html5 into indent-with-tabs 2015-05-22 16:06:48 +02:00
Geoff McLane 3f33ba2d88 Issue #108 - make sure the version indicates this with tabs 2015-05-22 16:06:13 +02:00
Geoff McLane d923dd7b2d Issue #108 - first cut new option --indent-with-tabs yes. 2015-05-22 16:06:12 +02:00
Geoff McLane cb790c37ab add version history log, verhist.log 2015-05-22 15:59:51 +02:00
Geoff McLane 8a2a5cc013 Add a check for the 'master' branch 2015-05-20 20:09:57 +02:00
Geoff McLane e98a17a672 correct install location, and build shared library 2015-05-20 14:07:39 +02:00
Geoff McLane 47df85550c clean up some more build components 2015-05-20 14:06:30 +02:00
Geoff R. McLane aab1e46cb7 ignore some doc building conponents 2015-05-19 16:53:29 +02:00
Geoff R. McLane 65d230a167 add documentation target 2015-05-19 16:51:15 +02:00
Geoff McLane 763c6a28a6 Issue #108 - make sure the version indicates this with tabs 2015-05-15 16:17:46 +02:00
Geoff McLane 231061e90a Issue #108 - first cut new option --indent-with-tabs yes. 2015-05-15 15:08:53 +02:00
Geoff McLane 97853993ec add the new testinfo.txt file decription 2015-05-14 15:03:36 +02:00
Geoff McLane 0851069320 add a brief description of each test 2015-05-14 15:02:46 +02:00
Geoff McLane 0c65b1c410 fix goto target type 2015-05-14 14:52:05 +02:00
Geoff McLane 59f25fe32a Likewise, add info is onetest2.bat is run 2015-05-14 14:47:02 +02:00
Geoff McLane 83fe261d58 More informative output if onetest.cmd run singularly.
It was not intended that this cmd file be run separately. It is invoked by
alltest1.cmd which in turn is invoked by alltest.cmd. This 'chain' is
requierd to set up the appropriate environmnet variables.
2015-05-14 14:38:13 +02:00
Geoff McLane 8523bb9be5 small addition to test/README.md 2015-05-13 14:25:29 +02:00
Geoff McLane 90d3ae3be5 add README.md to test folder 2015-05-13 14:13:35 +02:00
Geoff McLane d0a83f1032 add another test set that includes a compare to testbase 2015-05-13 14:12:03 +02:00
Geoff McLane 3ce92cc406 make input = current output in hope git sees no change 2015-05-13 14:10:29 +02:00
Geoff McLane 79055838d7 add a testbase output set of file 2015-05-13 13:38:40 +02:00
Geoff McLane 6f36698268 fix up the xmltest.cmd 2015-05-13 13:22:11 +02:00
Geoff McLane 40824e9a68 and also use @ to suppress command output 2015-05-13 12:40:46 +02:00
Geoff McLane 761964caa8 change access test log to tempacc.txt ignored by git 2015-05-13 12:38:50 +02:00
Geoff McLane 1c9970deb4 bump version for #212 fix 2015-05-13 12:37:20 +02:00
Geoff McLane 5d5e689f1a For issue #212, retain mixed mode block parsing.
This is particularly for the anchor tag which in html5 mode is parsed in
ParseBlock. That is retain a leading space, in case it needs to be
moved to in front of the block to keep space rendering.
2015-05-13 12:35:06 +02:00
Geoff McLane 963caf0741 add counter for in ParseBlock 2015-05-12 17:14:09 +02:00
Geoff McLane c1a3100cb9 add conveninet break point based on row and column 2015-05-12 17:13:23 +02:00