Commit graph

503 commits

Author SHA1 Message Date
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
Geoff R. McLane 35c8a12a8f add /usr to build-me.sh 2015-04-25 19:19:24 +02:00
Geoff McLane 4a654c07c4 add convenient binary build batch files 2015-04-25 19:17:27 +02:00
Geoff McLane bfd22e84fa update .gitignore to ignore more built components 2015-04-25 18:45:18 +02:00
Geoff McLane 6b66b65ec8 PR #202 - bumped version for #198 #199 fixes by lacombar 2015-04-22 21:27:23 +02:00
Geoff McLane 2f6b3d49b6 Merge pull request #202 from aerilon/master
Please pull fix for #198 and #199
2015-04-22 21:24:12 +02:00
Geoff McLane 032bf4264d Issue #193 - install tidy doc in share/man/man1 2015-04-15 15:05:45 +02:00
Geoff McLane a8e98412b5 Issue #192 - no need to check architecture 2015-04-14 02:12:22 +02:00
Geoff McLane f5eb2cf26a Issue #196 - expand comment and bump version.
Thanks to @willydee for this PR.
2015-04-11 15:25:07 +02:00
willydee 253a7e54c3 Fix for #196: HTML5 allows block elements in <CAPTION> 2015-04-11 15:06:35 +02:00