But this seemed a good time to release 5.0.0.RC1...
This commit is contained in:
parent
daef037156
commit
1e70fc6f15
|
@ -2,7 +2,7 @@
|
||||||
# Prepare for changing the name to 'tidy'
|
# Prepare for changing the name to 'tidy'
|
||||||
cmake_minimum_required (VERSION 2.8.8)
|
cmake_minimum_required (VERSION 2.8.8)
|
||||||
|
|
||||||
set(LIB_NAME tidy5)
|
set(LIB_NAME tidy)
|
||||||
|
|
||||||
project (${LIB_NAME})
|
project (${LIB_NAME})
|
||||||
|
|
||||||
|
@ -85,6 +85,7 @@ add_definitions ( -DSUPPORT_ASIAN_ENCODINGS=1 )
|
||||||
add_definitions ( -DSUPPORT_ACCESSIBILITY_CHECKS=1 )
|
add_definitions ( -DSUPPORT_ACCESSIBILITY_CHECKS=1 )
|
||||||
add_definitions ( -DLIBTIDY_VERSION="${LIBTIDY_VERSION}" )
|
add_definitions ( -DLIBTIDY_VERSION="${LIBTIDY_VERSION}" )
|
||||||
add_definitions ( -DRELEASE_DATE="${tidy_YEAR}/${tidy_MONTH}/${tidy_DAY}" )
|
add_definitions ( -DRELEASE_DATE="${tidy_YEAR}/${tidy_MONTH}/${tidy_DAY}" )
|
||||||
|
add_definitions ( -DRC_NUMBER="RC1" )
|
||||||
|
|
||||||
# Issue #188 - Support user items in platform.h
|
# Issue #188 - Support user items in platform.h
|
||||||
if (TIDY_CONFIG_FILE)
|
if (TIDY_CONFIG_FILE)
|
||||||
|
@ -122,8 +123,8 @@ set ( CFILES
|
||||||
${SRCDIR}/tagask.c ${SRCDIR}/tmbstr.c ${SRCDIR}/utf8.c
|
${SRCDIR}/tagask.c ${SRCDIR}/tmbstr.c ${SRCDIR}/utf8.c
|
||||||
${SRCDIR}/tidylib.c ${SRCDIR}/mappedio.c ${SRCDIR}/gdoc.c )
|
${SRCDIR}/tidylib.c ${SRCDIR}/mappedio.c ${SRCDIR}/gdoc.c )
|
||||||
set ( HFILES
|
set ( HFILES
|
||||||
${INCDIR}/platform.h ${INCDIR}/tidy.h ${INCDIR}/tidyenum.h
|
${INCDIR}/tidyplatform.h ${INCDIR}/tidy.h ${INCDIR}/tidyenum.h
|
||||||
${INCDIR}/buffio.h )
|
${INCDIR}/tidybuffio.h )
|
||||||
set ( LIBHFILES
|
set ( LIBHFILES
|
||||||
${SRCDIR}/access.h ${SRCDIR}/attrs.h ${SRCDIR}/attrdict.h ${SRCDIR}/charsets.h
|
${SRCDIR}/access.h ${SRCDIR}/attrs.h ${SRCDIR}/attrdict.h ${SRCDIR}/charsets.h
|
||||||
${SRCDIR}/clean.h ${SRCDIR}/config.h ${SRCDIR}/entities.h
|
${SRCDIR}/clean.h ${SRCDIR}/config.h ${SRCDIR}/entities.h
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
@setlocal
|
@setlocal
|
||||||
@REM copy the EXE into C:\MDOS, IFF changed
|
@REM copy the EXE into C:\MDOS, IFF changed
|
||||||
@set TMPDIR=C:\MDOS
|
@set TMPDIR=C:\MDOS
|
||||||
@set TMPFIL1=tidy5.exe
|
@REM v5.0.0
|
||||||
|
@set TMPFIL1=tidy.exe
|
||||||
@set TMPFIL2=tidy5.exe
|
@set TMPFIL2=tidy5.exe
|
||||||
@set TMPSRC=Release\%TMPFIL1%
|
@set TMPSRC=Release\%TMPFIL1%
|
||||||
@if NOT EXIST %TMPSRC% goto ERR1
|
@if NOT EXIST %TMPSRC% goto ERR1
|
||||||
|
@ -13,7 +14,7 @@
|
||||||
|
|
||||||
@call :CHKCOPY
|
@call :CHKCOPY
|
||||||
|
|
||||||
@set TMPFIL1=tidy5d.exe
|
@set TMPFIL1=tidyd.exe
|
||||||
@set TMPFIL2=tidy5d.exe
|
@set TMPFIL2=tidy5d.exe
|
||||||
@set TMPSRC=Debug\%TMPFIL1%
|
@set TMPSRC=Debug\%TMPFIL1%
|
||||||
@if NOT EXIST %TMPSRC% goto ERR1
|
@if NOT EXIST %TMPSRC% goto ERR1
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "platform.h"
|
#include "tidyplatform.h"
|
||||||
|
|
||||||
#define true 1
|
#define true 1
|
||||||
#define false 0
|
#define false 0
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
\*/
|
\*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "buffio.h"
|
#include "tidybuffio.h"
|
||||||
#include "tidy.h"
|
#include "tidy.h"
|
||||||
|
|
||||||
static const char *sample =
|
static const char *sample =
|
||||||
|
|
|
@ -696,7 +696,7 @@ RECURSIVE = NO
|
||||||
# subdirectory from a directory tree whose root is specified with the INPUT tag.
|
# 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.
|
# 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
|
# 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
|
# directories that are symbolic links (a Unix file system feature) are excluded
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
|
|
||||||
#include <tidy.h>;
|
#include <tidy.h>;
|
||||||
#include <buffio.h>;
|
#include <tidybuffio.h>;
|
||||||
#include <stdio.h>;
|
#include <stdio.h>;
|
||||||
#include <errno.h>;
|
#include <errno.h>;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include "platform.h"
|
#include "tidyplatform.h"
|
||||||
#include "tidy-int.h"
|
#include "tidy-int.h"
|
||||||
|
|
||||||
#include "TidyNodeIter.h"
|
#include "TidyNodeIter.h"
|
||||||
|
|
|
@ -62,7 +62,7 @@
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "platform.h"
|
#include "tidyplatform.h"
|
||||||
#include "tidyenum.h"
|
#include "tidyenum.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
@ -263,7 +263,7 @@ The following is a short example program.
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
\#include <tidy.h>
|
\#include <tidy.h>
|
||||||
\#include <buffio.h>
|
\#include <tidybuffio.h>
|
||||||
\#include <stdio.h>
|
\#include <stdio.h>
|
||||||
\#include <errno.h>
|
\#include <errno.h>
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#ifndef __TIDY_BUFFIO_H__
|
#ifndef __TIDY_BUFFIO_H__
|
||||||
#define __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
|
(c) 1998-2007 (W3C) MIT, ERCIM, Keio University
|
||||||
See tidy.h for the copyright notice.
|
See tidy.h for the copyright notice.
|
||||||
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "platform.h"
|
#include "tidyplatform.h"
|
||||||
#include "tidy.h"
|
#include "tidy.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
|
@ -1,7 +1,7 @@
|
||||||
#ifndef __TIDY_PLATFORM_H__
|
#ifndef __TIDY_PLATFORM_H__
|
||||||
#define __TIDY_PLATFORM_H__
|
#define __TIDY_PLATFORM_H__
|
||||||
|
|
||||||
/* platform.h -- Platform specifics
|
/* tidyplatform.h -- Platform specifics
|
||||||
|
|
||||||
(c) 1998-2008 (W3C) MIT, ERCIM, Keio University
|
(c) 1998-2008 (W3C) MIT, ERCIM, Keio University
|
||||||
See tidy.h for the copyright notice.
|
See tidy.h for the copyright notice.
|
|
@ -9,7 +9,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "tidy.h"
|
#include "tidy.h"
|
||||||
#include "buffio.h"
|
#include "tidybuffio.h"
|
||||||
#include "forward.h"
|
#include "forward.h"
|
||||||
|
|
||||||
/**************
|
/**************
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "buffio.h"
|
#include "tidybuffio.h"
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "platform.h"
|
#include "tidyplatform.h"
|
||||||
#include "tidy.h"
|
#include "tidy.h"
|
||||||
|
|
||||||
/* Internal symbols are prefixed to avoid clashes with other libraries */
|
/* Internal symbols are prefixed to avoid clashes with other libraries */
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
// Debug log file output
|
// Debug log file output
|
||||||
#ifndef _SPRTF_HXX_
|
#ifndef _SPRTF_HXX_
|
||||||
#define _SPRTF_HXX_
|
#define _SPRTF_HXX_
|
||||||
#include "platform.h"
|
#include "tidyplatform.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "forward.h"
|
#include "forward.h"
|
||||||
#include "buffio.h"
|
#include "tidybuffio.h"
|
||||||
#include "fileio.h"
|
#include "fileio.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "platform.h"
|
#include "tidyplatform.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C"
|
extern "C"
|
||||||
|
|
|
@ -8,8 +8,8 @@
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "platform.h"
|
#include "tidyplatform.h"
|
||||||
#include "buffio.h"
|
#include "tidybuffio.h"
|
||||||
|
|
||||||
/* UTF-8 encoding/decoding support
|
/* UTF-8 encoding/decoding support
|
||||||
** Does not convert character "codepoints", i.e. to/from 10646.
|
** Does not convert character "codepoints", i.e. to/from 10646.
|
||||||
|
|
|
@ -11,7 +11,11 @@ static const char TY_(release_date)[] = RELEASE_DATE;
|
||||||
static const char TY_(release_date)[] = "2015/01/22";
|
static const char TY_(release_date)[] = "2015/01/22";
|
||||||
#endif
|
#endif
|
||||||
#ifdef LIBTIDY_VERSION
|
#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;
|
static const char TY_(library_version)[] = LIBTIDY_VERSION;
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
static const char TY_(library_version)[] = "5.0.0";
|
static const char TY_(library_version)[] = "5.0.0";
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
4.9.37
|
5.0.0
|
||||||
2015.06.24
|
2015.06.30
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue