Commit graph

55 commits

Author SHA1 Message Date
Geoff McLane 0005841cfe Drop back to 2.8.7 for Travis CI use 2015-12-23 00:51:01 +01:00
Geoff McLane e5038f0bc9 Issue #326 - Allow linkage choice TIDY_CONSOLE_SHARED 2015-12-04 18:31:24 +01:00
Geoff McLane 1c6069ae99 Remove MinGW compile rc (#311) 2015-12-03 19:36:24 +01:00
Geoff McLane 77e053d582 Issue #311 - Add MinGW to the version 2015-11-28 15:25:24 +01:00
Rex Dieter d0abe84cb3 support INCLUDE_INSTALL_DIR too 2015-11-13 13:19:10 -06:00
Rex Dieter ea7828fca3 allow modified install paths
and make them consistent between static/shared builds.

Long term, consider using:
https://cmake.org/cmake/help/v3.0/module/GNUInstallDirs.html

issue #295
2015-11-13 12:33:27 -06:00
Jim Derry 4ac07978df Fix CMakeLists references to old paths. 2015-10-31 10:58:28 +08:00
Geoff McLane f01cfaab9e Issue #65 - Merge issue-65 to master, and drop RC_NUMBER 2015-10-28 16:10:06 +01:00
Geoff McLane a94df6c0f9 Issue #285 - Bump to 5.1.15.EXP3 for this fix 2015-10-14 16:57:41 +02:00
Geoff McLane 55060018b3 Issue #64 - bump version to .EXP2 for this fix 2015-10-08 17:07:52 +02:00
Geoff McLane 4e3f853e36 Add RC_NUMBER EXP1 for this #65 and #280 fix 2015-10-07 15:13:29 +02:00
Geoff R. McLane d529b4cd83 #279 - remove creation of a new 'documentation' folder 2015-10-02 14:21:15 +02:00
King_DuckZ e2ec0e96a0 Use tidy.xsl from documentation/ instead of build/documentation. 2015-09-30 16:06:13 +02:00
King_DuckZ 9be7264e6a Fix cmake for use as subproject. 2015-09-29 23:39:08 +02:00
Geoff McLane 87e0e11b49 Merge of issue-228 to master 2015-09-04 15:03:08 +02:00
Geoff McLane d639181afc Make it clear this is RC_VERSION=D231 running 2015-07-30 14:47:59 +02:00
Geoff McLane 97c7065177 Remove RC_NUMBER from development master branch 2015-07-13 12:42:19 +02:00
Geoff McLane 1e70fc6f15 Rename two headers. Issues #224 #223 #221
But this seemed a good time to release 5.0.0.RC1...
2015-06-30 20:06:02 +02:00
Geoff McLane 250ce1c6d0 Issue #190 & #148 - Restore tidyReleaseDate() function.
There was an idea to mark this function deprecated, such that if used the
developer would see a warning. But this was never implemented in a cross
platform way.

So for now revert to circa Jan 2015 when Jim added a build date to the
version.txt file. And now both LIBTIDY_VERSION and RELEASE_DATE macros are
established in CMakeLists.txt, and picked up in version.h.

The idea is the date will now march forward with the version number, side
by side in version.txt. Although have left tidy.c only emitting the
version on the --version command.

After this function has been marked deprecated for several release periods,
only then should consideration be given to potentially removing it.
2015-06-09 12:29:51 +02:00
Geoff McLane d9113957d8 Reverse option wording to reflect new default ON 2015-05-25 13:33:32 +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 R. McLane 65d230a167 add documentation target 2015-05-19 16:51:15 +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 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 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 26f1d93379 prepare for changing the lib name 2015-04-02 13:17:14 +02:00
Geoff McLane 17cb520f58 add windows zip binary installer 2015-03-20 13:56:20 +01:00
Geoff R. McLane 12b0fc74a9 Issue #187 - correction for unix man page 2015-03-19 18:06:49 +01:00
Geoff McLane 47df5fddbc Issue #188 - Add some user config items 2015-03-19 16:32:19 +01:00
Geoff R. McLane f4071047e9 Output only to build folder 2015-03-08 12:35:41 +01:00
Jim Derry e0833dc8ab Fixed #183 2015-03-08 15:39:48 +08:00
Jim Derry 08d037b6af Fix for Cmake > 3.0.0 2015-03-08 13:39:46 +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 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
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 4bb9418c7c add small 'sample' API use, optional build 2015-02-07 15:33:13 +01:00
Jim Derry de97628f8f Deprecated tidyReleaseDate(). Returns epoch time (tdb). Removed dates from help, manpage, output, cmake, etc. 2015-02-01 14:20:41 +08:00
Jim Derry 362c71ee2e Added build date to version.txt and use CMakeLists.txt to build that, too. 2015-01-31 18:11:26 +08:00
Geoff McLane e2cbd9e89f Move version out to a version.txt file 2015-01-29 18:25:57 +01:00
Geoff McLane 85070acd8c fix windows DLL build 2015-01-28 17:15:44 +01:00
Geoff McLane d905b1037f Back up version to 4.9.1
Need to be able to clearly separate versions as we move forward towards
the final 5.0.0 release... Will try to remember to bump the point
as each fix is added so issue reports can be clear in which
version the problem exists.
2015-01-27 19:13:37 +01:00
Geoff McLane ef69056959 seems windows has no problem with unix set_target_properties 2015-01-24 13:21:33 +01:00
Geoff R. McLane aa32c5e557 change library name to 'tidy5' 2015-01-24 13:14:12 +01:00
Geoff McLane 4a3f5ecf07 make this version 5.0.0 2015-01-22 13:40:50 +01:00
Geoff McLane 0fc8029600 adjust the version 2015-01-20 18:09:01 +01:00