Rename two headers. Issues #224 #223 #221

But this seemed a good time to release 5.0.0.RC1...
This commit is contained in:
Geoff McLane 2015-06-30 19:59:00 +02:00
parent daef037156
commit 1e70fc6f15
19 changed files with 32 additions and 25 deletions

View file

@ -2,7 +2,7 @@
# Prepare for changing the name to 'tidy'
cmake_minimum_required (VERSION 2.8.8)
set(LIB_NAME tidy5)
set(LIB_NAME tidy)
project (${LIB_NAME})
@ -85,6 +85,7 @@ add_definitions ( -DSUPPORT_ASIAN_ENCODINGS=1 )
add_definitions ( -DSUPPORT_ACCESSIBILITY_CHECKS=1 )
add_definitions ( -DLIBTIDY_VERSION="${LIBTIDY_VERSION}" )
add_definitions ( -DRELEASE_DATE="${tidy_YEAR}/${tidy_MONTH}/${tidy_DAY}" )
add_definitions ( -DRC_NUMBER="RC1" )
# Issue #188 - Support user items in platform.h
if (TIDY_CONFIG_FILE)
@ -122,8 +123,8 @@ set ( CFILES
${SRCDIR}/tagask.c ${SRCDIR}/tmbstr.c ${SRCDIR}/utf8.c
${SRCDIR}/tidylib.c ${SRCDIR}/mappedio.c ${SRCDIR}/gdoc.c )
set ( HFILES
${INCDIR}/platform.h ${INCDIR}/tidy.h ${INCDIR}/tidyenum.h
${INCDIR}/buffio.h )
${INCDIR}/tidyplatform.h ${INCDIR}/tidy.h ${INCDIR}/tidyenum.h
${INCDIR}/tidybuffio.h )
set ( LIBHFILES
${SRCDIR}/access.h ${SRCDIR}/attrs.h ${SRCDIR}/attrdict.h ${SRCDIR}/charsets.h
${SRCDIR}/clean.h ${SRCDIR}/config.h ${SRCDIR}/entities.h

View file

@ -1,7 +1,8 @@
@setlocal
@REM copy the EXE into C:\MDOS, IFF changed
@set TMPDIR=C:\MDOS
@set TMPFIL1=tidy5.exe
@REM v5.0.0
@set TMPFIL1=tidy.exe
@set TMPFIL2=tidy5.exe
@set TMPSRC=Release\%TMPFIL1%
@if NOT EXIST %TMPSRC% goto ERR1
@ -13,7 +14,7 @@
@call :CHKCOPY
@set TMPFIL1=tidy5d.exe
@set TMPFIL1=tidyd.exe
@set TMPFIL2=tidy5d.exe
@set TMPSRC=Debug\%TMPFIL1%
@if NOT EXIST %TMPSRC% goto ERR1

View file

@ -2,7 +2,7 @@
#include <stdlib.h>
#include <string.h>
#include "platform.h"
#include "tidyplatform.h"
#define true 1
#define false 0

View file

@ -9,7 +9,7 @@
\*/
#include <stdio.h>
#include "buffio.h"
#include "tidybuffio.h"
#include "tidy.h"
static const char *sample =

View file

@ -696,7 +696,7 @@ RECURSIVE = NO
# subdirectory from a directory tree whose root is specified with the INPUT tag.
# Note that relative paths are relative to directory from which doxygen is run.
EXCLUDE = ../include/platform.h
EXCLUDE = ../include/tidyplatform.h
# The EXCLUDE_SYMLINKS tag can be used select whether or not files or
# directories that are symbolic links (a Unix file system feature) are excluded

View file

@ -1,7 +1,7 @@
#include <tidy.h>;
#include <buffio.h>;
#include <tidybuffio.h>;
#include <stdio.h>;
#include <errno.h>;

View file

@ -1,4 +1,4 @@
#include "platform.h"
#include "tidyplatform.h"
#include "tidy-int.h"
#include "TidyNodeIter.h"

View file

@ -62,7 +62,7 @@
*/
#include "platform.h"
#include "tidyplatform.h"
#include "tidyenum.h"
#ifdef __cplusplus
@ -263,7 +263,7 @@ The following is a short example program.
<pre>
\#include &lt;tidy.h&gt;
\#include &lt;buffio.h&gt;
\#include &lt;tidybuffio.h&gt;
\#include &lt;stdio.h&gt;
\#include &lt;errno.h&gt;

View file

@ -1,7 +1,7 @@
#ifndef __TIDY_BUFFIO_H__
#define __TIDY_BUFFIO_H__
/** @file buffio.h - Treat buffer as an I/O stream.
/** @file tidybuffio.h - Treat buffer as an I/O stream.
(c) 1998-2007 (W3C) MIT, ERCIM, Keio University
See tidy.h for the copyright notice.
@ -11,7 +11,7 @@
*/
#include "platform.h"
#include "tidyplatform.h"
#include "tidy.h"
#ifdef __cplusplus

View file

@ -1,7 +1,7 @@
#ifndef __TIDY_PLATFORM_H__
#define __TIDY_PLATFORM_H__
/* platform.h -- Platform specifics
/* tidyplatform.h -- Platform specifics
(c) 1998-2008 (W3C) MIT, ERCIM, Keio University
See tidy.h for the copyright notice.

View file

@ -9,7 +9,7 @@
*/
#include "tidy.h"
#include "buffio.h"
#include "tidybuffio.h"
#include "forward.h"
/**************

View file

@ -11,7 +11,7 @@
*/
#include "buffio.h"
#include "tidybuffio.h"
#ifdef __cplusplus
extern "C" {
#endif

View file

@ -15,7 +15,7 @@
*/
#include "platform.h"
#include "tidyplatform.h"
#include "tidy.h"
/* Internal symbols are prefixed to avoid clashes with other libraries */

View file

@ -27,7 +27,7 @@
// Debug log file output
#ifndef _SPRTF_HXX_
#define _SPRTF_HXX_
#include "platform.h"
#include "tidyplatform.h"
#ifdef __cplusplus
extern "C" {

View file

@ -14,7 +14,7 @@
*/
#include "forward.h"
#include "buffio.h"
#include "tidybuffio.h"
#include "fileio.h"
#ifdef __cplusplus

View file

@ -8,7 +8,7 @@
*/
#include "platform.h"
#include "tidyplatform.h"
#ifdef __cplusplus
extern "C"

View file

@ -8,8 +8,8 @@
*/
#include "platform.h"
#include "buffio.h"
#include "tidyplatform.h"
#include "tidybuffio.h"
/* UTF-8 encoding/decoding support
** Does not convert character "codepoints", i.e. to/from 10646.

View file

@ -11,7 +11,11 @@ static const char TY_(release_date)[] = RELEASE_DATE;
static const char TY_(release_date)[] = "2015/01/22";
#endif
#ifdef LIBTIDY_VERSION
#ifdef RC_NUMBER
static const char TY_(library_version)[] = LIBTIDY_VERSION "." RC_NUMBER;
#else
static const char TY_(library_version)[] = LIBTIDY_VERSION;
#endif
#else
static const char TY_(library_version)[] = "5.0.0";
#endif

View file

@ -1,2 +1,3 @@
4.9.37
2015.06.24
5.0.0
2015.06.30