Commit graph

812 commits

Author SHA1 Message Date
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
Geoff McLane ae8314887a add 'install' of debug version also 2015-05-12 17:11:48 +02:00
Geoff R. McLane 221e067f95 Change relative path to absolute so cmake can be run anywhere.
The recommended place to run cmake is in the build/cmake directory,
but have changed a relative path to an absolute path which should
allow cmake to be run ANYWHERE!. See bottom of Issue #193

Also a few other minor tweak to CMakeLists.txt
2015-05-12 14:28:25 +02:00
Geoff McLane 21ce85afe8 Merge branch 'master' of github.com:htacg/tidy-html5 2015-05-12 13:22:03 +02:00
Geoff McLane d8a4498803 Add user option -DMAN_INSTALL_DIR=path to CMakeLists.txt - see #193
Seems this is required to accomodate different man install directories
used by Slackware, BSD and perhaps others.
2015-05-12 13:20:57 +02:00
Geoff R. McLane 4293c8cc3e Add setting the CMAKE_BUILD_TYPE to build-me.sh.
The default MUST set -DCMAKE_BUILD_TYPE=Release - without this addition
the -DNDEBUG compiler flag is NOT set, leaving 'asserts' in the code.

Asserts are good and necessary for a Debug version, for testing, but
with their brutal abort on error should NOT really be in Release code
IMHO.

And after all this is ONLY in a 'sample' build-me.sh script. Users
are free to use whatever options they desire in their own build of
tidy, and frequently do.
2015-04-29 18:29:22 +02:00
Geoff McLane b2b9f1d6f2 spelling error noted in exploration of #207 in localize.c 2015-04-26 19:19:55 +02:00
Geoff McLane f286dc4ca5 Merge pull request #206 from d1vanov/support_build_with_mingw
Support build with MinGW on Windows
2015-04-26 13:36:13 +02:00
Dmitry Ivanov 9a3f85d44c Support build with MinGW 4.9.1 2015-04-26 13:18:46 +03:00
Geoff McLane d6f9c868ec add link to WIP binaries to README.md 2015-04-25 20:37:35 +02:00
Geoff R. McLane 4a4f209c67 add x bit to testhtml5.sh 2015-04-25 19:20:16 +02:00