diff --git a/.gitignore b/.gitignore index 8f086cb..d3f45f6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,19 +1,3 @@ -/build/gmake/obj/ -/bin/ -/build/msvc2010/Obj/ -/build/msvc2010/Debugtidydll/ -/build/msvc2010/Debugtidylib/ -/build/msvc2010/Debug/ -/build/msvc2010/Releasetidydll/ -/build/msvc2010/Releasetidylib/ -/build/msvc2010/Release/ -/build/msvc2010/ipch/ -/build/msvc2010/tidy.opensdf -/htmldoc/tidy-config.xml -/htmldoc/tidy-help.xml -/htmldoc/tidy.1 -/htmldoc/quickref.html -/lib/ /autom4te.cache/ /console/.deps/ /console/.libs/ @@ -22,3 +6,11 @@ *.user *.suo *.sdf +/test/testall.log +/test/tmp/ +/test/tmp2/ +*~ +temp* +*.bak +.DS_Store +.idea diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..2f783af --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,173 @@ +# CMakeLists.txt - 20150130 - 20140801 - for github htacg/tidy-html5 +cmake_minimum_required (VERSION 2.8) + +project (tidy5) + +# ### NOTE: *** Adjust version.txt when required *** +# read 'version' file into a variable (stripping any newlines or spaces) +file(READ version.txt versionFile) +if (NOT versionFile) + message(FATAL_ERROR "Unable to determine libtidy version. version.txt file is missing.") +endif() +string(STRIP "${versionFile}" LIBTIDY_VERSION) +string(REPLACE "." ";" VERSION_LIST ${LIBTIDY_VERSION}) +list(GET VERSION_LIST 0 TIDY_MAJOR_VERSION) +list(GET VERSION_LIST 1 TIDY_MINOR_VERSION) +list(GET VERSION_LIST 2 TIDY_POINT_VERSION) + +# Allow developer to select is Dynamic or static library built +set( LIB_TYPE STATIC ) # set default static +option( BUILD_SHARED_LIB "Set ON to build Shared (DLL) Library" OFF ) +option( BUILD_TAB2SPACE "Set ON to build utility app, tab2space" OFF ) +option( BUILD_SAMPLE_CODE "Set ON to build the sample code" OFF ) + +if (CMAKE_SIZEOF_VOID_P EQUAL 8) + message(STATUS "*** Have SIZEOF void * = 8, so 64-bit") + set( IS_64_BIT 1 ) +else () + message(STATUS "*** SIZEOF void * != 8, so not 64-bit") +endif () + +if(CMAKE_COMPILER_IS_GNUCXX) + set( WARNING_FLAGS -Wall ) +endif(CMAKE_COMPILER_IS_GNUCXX) + +if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang") + set( WARNING_FLAGS "-Wall -Wno-overloaded-virtual" ) +endif() + +if(WIN32 AND MSVC) + # turn off various warnings + set(WARNING_FLAGS "${WARNING_FLAGS} /wd4996") + # C4090: 'function' : different 'const' qualifiers + # C4244: '=' : conversion from '__int64' to 'uint', possible loss of data + # C4267: 'function' : conversion from 'size_t' to 'uint', possible loss of data + # foreach(warning 4244 4251 4267 4275 4290 4786 4305) + foreach(warning 4090 4244 4267) + set(WARNING_FLAGS "${WARNING_FLAGS} /wd${warning}") + endforeach() + set( MSVC_FLAGS "-DNOMINMAX -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -D__CRT_NONSTDC_NO_WARNINGS" ) + if (IS_64_BIT) + set( MSVC_FLAGS "${MSVC_FLAGS} -DWIN64" ) + endif () + # if (${MSVC_VERSION} EQUAL 1600) + # set( MSVC_LD_FLAGS "/FORCE:MULTIPLE" ) + # endif (${MSVC_VERSION} EQUAL 1600) + # set( NOMINMAX 1 ) + # to distinguish between debug and release lib in windows + set( CMAKE_DEBUG_POSTFIX "d" ) # little effect in unix +else() + # add any gcc flags +endif() + +set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${WARNING_FLAGS} ${MSVC_FLAGS} -D_REENTRANT" ) +set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${WARNING_FLAGS} ${MSVC_FLAGS} -D_REENTRANT" ) +set( CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${MSVC_LD_FLAGS}" ) + +add_definitions ( -DHAVE_CONFIG_H ) +add_definitions ( -DSUPPORT_UTF16_ENCODINGS=1 ) +add_definitions ( -DSUPPORT_ASIAN_ENCODINGS=1 ) +add_definitions ( -DSUPPORT_ACCESSIBILITY_CHECKS=1 ) +add_definitions ( -DLIBTIDY_VERSION="${LIBTIDY_VERSION}" ) + +if(BUILD_SHARED_LIB) + set(LIB_TYPE SHARED) + message("*** Building DLL library ${LIB_TYPE}, version ${LIBTIDY_VERSION}") +else(BUILD_SHARED_LIB) + message("*** Building static library ${LIB_TYPE}, version ${LIBTIDY_VERSION}") +endif(BUILD_SHARED_LIB) + +include_directories ( "${PROJECT_SOURCE_DIR}/include" "${PROJECT_SOURCE_DIR}/src" ) + +############################################################################## +### tidy library +# file locations +set ( SRCDIR src ) +set ( INCDIR include ) +# file lists +set ( CFILES + ${SRCDIR}/access.c ${SRCDIR}/attrs.c ${SRCDIR}/istack.c + ${SRCDIR}/parser.c ${SRCDIR}/tags.c ${SRCDIR}/entities.c + ${SRCDIR}/lexer.c ${SRCDIR}/pprint.c ${SRCDIR}/charsets.c ${SRCDIR}/clean.c + ${SRCDIR}/localize.c ${SRCDIR}/config.c ${SRCDIR}/alloc.c + ${SRCDIR}/attrask.c ${SRCDIR}/attrdict.c ${SRCDIR}/attrget.c + ${SRCDIR}/buffio.c ${SRCDIR}/fileio.c ${SRCDIR}/streamio.c + ${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 ) +set ( LIBHFILES + ${SRCDIR}/access.h ${SRCDIR}/attrs.h ${SRCDIR}/attrdict.h ${SRCDIR}/charsets.h + ${SRCDIR}/clean.h ${SRCDIR}/config.h ${SRCDIR}/entities.h + ${SRCDIR}/fileio.h ${SRCDIR}/forward.h ${SRCDIR}/lexer.h + ${SRCDIR}/mappedio.h ${SRCDIR}/message.h ${SRCDIR}/parser.h + ${SRCDIR}/pprint.h ${SRCDIR}/streamio.h ${SRCDIR}/tags.h + ${SRCDIR}/tmbstr.h ${SRCDIR}/utf8.h ${SRCDIR}/tidy-int.h + ${SRCDIR}/version.h ${SRCDIR}/gdoc.h ) +if (MSVC) + list(APPEND CFILES ${SRCDIR}/sprtf.c) + list(APPEND LIBHFILES ${SRCDIR}/sprtf.h) +endif () +set(name lib-tidy) +add_library ( ${name} ${LIB_TYPE} ${CFILES} ${HFILES} ${LIBHFILES} ) +set_target_properties( ${name} PROPERTIES + OUTPUT_NAME tidy5 + ) +set_target_properties( ${name} PROPERTIES + VERSION ${LIBTIDY_VERSION} + SOVERSION ${TIDY_MAJOR_VERSION} ) +if (BUILD_SHARED_LIB) +set_target_properties( ${name} PROPERTIES + COMPILE_FLAGS "-DBUILD_SHARED_LIB" + ) +set_target_properties( ${name} PROPERTIES + COMPILE_FLAGS "-DBUILDING_SHARED_LIB" + ) +endif () +list ( APPEND add_LIBS ${name} ) +install(TARGETS ${name} + RUNTIME DESTINATION bin + ARCHIVE DESTINATION lib + LIBRARY DESTINATION lib + ) +install( FILES ${HFILES} DESTINATION include ) + +########################################################## +### main executable +set(name tidy5) +set ( BINDIR console ) +add_executable( ${name} ${BINDIR}/tidy.c ) +target_link_libraries( ${name} ${add_LIBS} ) +if (MSVC) + set_target_properties( ${name} PROPERTIES DEBUG_POSTFIX d ) +endif () +if (BUILD_SHARED_LIB) +set_target_properties( ${name} PROPERTIES + COMPILE_FLAGS "-DBUILD_SHARED_LIB" + ) +endif () +install (TARGETS ${name} DESTINATION bin) + +if (BUILD_TAB2SPACE) + set(name tab2space) + add_executable( ${name} ${BINDIR}/tab2space.c ) + if (MSVC) + set_target_properties( ${name} PROPERTIES DEBUG_POSTFIX d ) + endif () + # no INSTALL of this 'local' tool +endif () + +if (BUILD_SAMPLE_CODE) + set(name test71) + set(dir console) + add_executable( ${name} ${dir}/${name}.cxx ) + if (MSVC) + set_target_properties( ${name} PROPERTIES DEBUG_POSTFIX d ) + endif () + target_link_libraries( ${name} ${add_LIBS} ) + # no INSTALL of this 'local' sample +endif () + +# eof + diff --git a/license.html b/LICENSE.md similarity index 80% rename from license.html rename to LICENSE.md index 3e704e0..7e461d3 100644 --- a/license.html +++ b/LICENSE.md @@ -1,14 +1,6 @@ - - - - HTML Tidy License - +# HTML Tidy - -
-HTML Tidy
-
-HTML parser and pretty printer
+## HTML parser and pretty printer
 
 Copyright (c) 1998-2003 World Wide Web Consortium
 (Massachusetts Institute of Technology, European Research 
@@ -34,17 +26,12 @@ for any purpose, without fee, subject to the following restrictions:
 
 1. The origin of this source code must not be misrepresented.
 2. Altered versions must be plainly marked as such and must
-   not be misrepresented as being the original source.
+not be misrepresented as being the original source.
 3. This Copyright notice may not be removed or altered from any
-   source or altered source distribution.
- 
+source or altered source distribution.
+
 The copyright holders and contributing author(s) specifically
 permit, without fee, and encourage the use of this source code
 as a component for supporting the Hypertext Markup Language in
 commercial products. If you use this source code in a product,
-acknowledgment is not required but would be appreciated.
-
- - - - +acknowledgement is not required but would be appreciated. diff --git a/Makefile b/Makefile deleted file mode 100644 index f45e72b..0000000 --- a/Makefile +++ /dev/null @@ -1,37 +0,0 @@ -HTML2MARKDOWN=html2text -GIT=git -GITFLAGS= -DOXYGEN=doxygen -DOXYGENFLAGS= - -.PHONEY: api-docs -all: bin/tidy - -bin/tidy: - $(MAKE) -C build/gmake - $(MAKE) -C build/gmake doc - -.FORCE: -# dummy target to force other targets to always get remade - -README.md: README.html .FORCE - $(HTML2MARKDOWN) $(HTML2MARKDOWNFLAGS) $< > $@ - -src/version.h: .FORCE - $(GIT) $(GITFLAGS) log --pretty=format:'static const char TY_(release_date)[] = "https://github.com/w3c/tidy-html5/tree/%h";' -n 1 > $@ - -quickref.html: htmldoc/quickref.html .FORCE - cp $< $@ - -api-docs: - $(DOXYGEN) $(DOXYGENFLAGS) htmldoc/doxygen.cfg - -install: - sudo $(MAKE) install -C build/gmake - -version: all src/version.h README.md quickref.html - -clean: - $(MAKE) clean -C build/gmake - $(RM) test/testall.log - $(RM) -r test/tmp diff --git a/README.html b/README.html deleted file mode 100644 index 05a1eaa..0000000 --- a/README.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - About tidy-html5 - - - -

HTML Tidy for HTML5 (experimental)

-

This repo is an experimental fork of the code from - tidy.sourceforge.net. -This source code in this version supports processing of HTML5 documents. -The changes for HTML5 support started from a - patch developed by Björn Höhrmann.

- -

For more information, see - w3c.github.com/tidy-html5 - -

Building the tidy command-line tool

-

For Linux/BSD/OSX platforms, you can build and install the -tidy command-line tool from the source code using the -following steps.

- -
    -
  1. make -C build/gmake/
  2. -
  3. make install -C build/gmake/
  4. -
- -

Note that you will either need to run make install as root, -or with sudo make install.

- -

Building the libtidy shared library

-

For Linux/BSD/OSX platforms, you can build and install the -tidylib shared library (for use in building other -applications) from the source code using the following steps.

- -
    -
  1. sh build/gnuauto/setup.sh && ./configure && make
  2. -
  3. make install
  4. -
- -

Note that you will either need to run make install as root, -or with sudo make install.

diff --git a/README.md b/README.md index 7bd5410..822f77b 100644 --- a/README.md +++ b/README.md @@ -1,44 +1,44 @@ -# Important notice +# HTML Tidy with HTML5 support -Current development is taking place in the `develop-500` branch of this repository. -_This is a temporay measure_, and the plan is move all current activity back to -`Master` within a day or two (now=2015-02-12UTC+08:00). +## Prerequisites -# HTML Tidy for HTML5 (experimental) + 1. git - http://git-scm.com/book/en/v2/Getting-Started-Installing-Git + + 2. cmake - http://www.cmake.org/download/ + + 3. appropriate build tools for the platform + +CMake comes in two forms - command line and gui. Some installations only install one or the other, but sometimes both. The build commands below are only for the command line use. -This repo is an experimental fork of the code from [tidy.sourceforge.net][1]. -This source code in this version supports processing of HTML5 documents. The -changes for HTML5 support started from a [patch developed by Björn Höhrmann][2]. +Also the actual build tools vary for each platform. But that is one of the great features of cmake, it can generate variuous 'native' build files. Running cmake without any paramaters will list the generators available on that platform. For sure one of the common ones is "Unix Makefiles", which needs autotools make installed, but many other generators are supported. - [1]: http://tidy.sourceforge.net +In windows cmake offers various versions of MSVC. Again below only the command line use of MSVC is shown, but the tiyd solution (*.sln) file can be loaded into the MSVC IDE, and the building done in there. - [2]: http://lists.w3.org/Archives/Public/www-archive/2011Nov/0007.html -For more information, see [w3c.github.com/tidy-html5][3] +## Build the tidy library and command line tool - [3]: http://w3c.github.com/tidy-html5/ + 1. `cd build/cmake` -## Building the tidy command-line tool + 2. `cmake ../.. [-DCMAKE_INSTALL_PREFIX=/path/for/install]` -For Linux/BSD/OSX platforms, you can build and install the `tidy` command-line -tool from the source code using the following steps. + 3. Windows: `cmake --build . --config Release` + Unix/OS X: `make` - 1. `make -C build/gmake/` + 4. Install, if desired: + Windows: `cmake --build . --config Release --target INSTALL` + Unix/OS X: `[sudo] make install` - 2. `make install -C build/gmake/` -Note that you will either need to run `make install` as root, or with `sudo make -install`. +## History -## Building the libtidy shared library +This repository should be considered canonical for HTML Tidy as of 2015-January-15. -For Linux/BSD/OSX platforms, you can build and install the `tidylib` shared -library (for use in building other applications) from the source code using the -following steps. + - This repository originally transferred from [w3c.github.com/tidy-html5][1]. + + - First moved to Github from [tidy.sourceforge.net][2]. - 1. `sh build/gnuauto/setup.sh && ./configure && make` - 2. `make install` + [1]: http://w3c.github.com/tidy-html5/ + + [2]: http://tidy.sourceforge.net -Note that you will either need to run `make install` as root, or with `sudo make -install`. diff --git a/build/cmake/.gitignore b/build/cmake/.gitignore new file mode 100644 index 0000000..c291fdf --- /dev/null +++ b/build/cmake/.gitignore @@ -0,0 +1,21 @@ +*.vcxproj +*.filters +CMakeCache.txt +CMakeFiles/* +Debug/* +Release/* +Win32/* +bldlog-1.txt +cmake_install.cmake +*.dir/ +*.sln +temp* +*.opensdf +ipch/* +Makefile +tab2space +tidy5 +libtidy5* +install_manifest.txt +test71 + diff --git a/build/cmake/build-me.bat b/build/cmake/build-me.bat new file mode 100644 index 0000000..41394c5 --- /dev/null +++ b/build/cmake/build-me.bat @@ -0,0 +1,118 @@ +@setlocal + +@set TMPVER=1 +@set TMPPRJ=tidy5 +@set TMPSRC=..\.. +@set TMPBGN=%TIME% +@set TMPINS=..\..\..\3rdParty +@set DOTINST=0 +@set TMPLOG=bldlog-1.txt + +@set TMPOPTS=-DCMAKE_INSTALL_PREFIX=%TMPINS% +:RPT +@if "%~1x" == "x" goto GOTCMD +@set TMPOPTS=%TMPOPTS% %1 +@shift +@goto RPT +:GOTCMD + +@call chkmsvc %TMPPRJ% + +@echo Build %DATE% %TIME% > %TMPLOG% + +@if NOT EXIST %TMPSRC%\nul goto NOSRC + +@echo Build source %TMPSRC%... all output to build log %TMPLOG% +@echo Build source %TMPSRC%... all output to build log %TMPLOG% >> %TMPLOG% + +@if EXIST build-cmake.bat ( +@call build-cmake >> %TMPLOG% +) + +@if NOT EXIST %TMPSRC%\CMakeLists.txt goto NOCM + +cmake %TMPSRC% %TMPOPTS% >> %TMPLOG% 2>&1 +@if ERRORLEVEL 1 goto ERR1 + +cmake --build . --config Debug >> %TMPLOG% 2>&1 +@if ERRORLEVEL 1 goto ERR2 + +cmake --build . --config Release >> %TMPLOG% 2>&1 +@if ERRORLEVEL 1 goto ERR3 + +@fa4 "***" %TMPLOG% +@call elapsed %TMPBGN% +@echo Appears a successful build... see %TMPLOG% + +@if "%DOTINST%x" == "0x" goto DNTINST +@echo Building installation zips... moment... +@call build-zips Debug +@call build-zips Release +@echo Done installation zips... +:DNTINST + +@echo. +@echo No install at this time, but there is a updexe.bat to copy the EXE to c:\MDOS... +@goto END + + +@echo Continue with install? Only Ctrl+c aborts... + +@pause + +cmake --build . --config Debug --target INSTALL >> %TMPLOG% 2>&1 +@if EXIST install_manifest.txt ( +@copy install_manifest.txt install_manifest_dbg.txt >nul +@echo. >> %TMPINS%/installed.txt +@echo = %TMPRJ% Debug install %DATE% %TIME% >> %TMPINS%/installed.txt +@type install_manifest.txt >> %TMPINS%/installed.txt +) + +cmake --build . --config Release --target INSTALL >> %TMPLOG% 2>&1 +@if EXIST install_manifest.txt ( +@copy install_manifest.txt install_manifest_rel.txt >nul +@echo. >> %TMPINS%/installed.txt +@echo = %TMPRJ% Release install %DATE% %TIME% >> %TMPINS%/installed.txt +@type install_manifest.txt >> %TMPINS%/installed.txt +) + +@call elapsed %TMPBGN% +@echo All done... see %TMPLOG% + +@goto END + +:NOSRC +@echo Can NOT locate source %TMPSRC%! *** FIX ME *** +@echo Can NOT locate source %TMPSRC%! *** FIX ME *** >> %TMPLOG% +@goto ISERR + +:NOCM +@echo Can NOT locate %TMPSRC%\CMakeLists.txt! +@echo Can NOT locate %TMPSRC%\CMakeLists.txt! >> %TMPLOG% +@goto ISERR + +:ERR1 +@echo cmake configuration or generations ERROR +@echo cmake configuration or generations ERROR >> %TMPLOG% +@goto ISERR + +:ERR2 +@echo ERROR: Cmake build Debug FAILED! +@echo ERROR: Cmake build Debug FAILED! >> %TMPLOG% +@goto ISERR + +:ERR1 +@echo ERROR: Cmake build Release FAILED! +@echo ERROR: Cmake build Release FAILED! >> %TMPLOG% +@goto ISERR + +:ISERR +@echo See %TMPLOG% for details... +@endlocal +@exit /b 1 + +:END +@endlocal +@exit /b 0 + +@REM eof diff --git a/build/cmake/build-me.sh b/build/cmake/build-me.sh new file mode 100755 index 0000000..28384ef --- /dev/null +++ b/build/cmake/build-me.sh @@ -0,0 +1,49 @@ +#!/bin/sh +#< build-me.sh - 20150212 - 20140804 +BN=`basename $0` + +TMPSRC="../.." +BLDLOG="bldlog-1.txt" + +if [ -f "$BLDLOG" ]; then + rm -f $BLDLOG +fi + +TMPOPTS="" +############################################## +### ***** NOTE THIS INSTALL LOCATION ***** ### +### Change to suit your taste, environment ### +############################################## +# TMPINST="$HOME/projects/install/tidy" +# TMPOPTS="-DCMAKE_INSTALL_PREFIX=$TMPINST" +############################################# +# To build SHARED library +# TMPOPTS="$TMPOPTS -DBUILD_SHARED_LIB:BOOL=TRUE" + +for arg in $@; do + TMPOPTS="$TMPOPTS $arg" +done + + +echo "$BN: Doing: 'cmake $TMPSRC $TMPOPTS' to $BLDLOG" +cmake $TMPSRC $TMPOPTS >> $BLDLOG 2>&1 +if [ ! "$?" = "0" ]; then + echo "$BN: cmake confiuration, generation error" + exit 1 +fi + +echo "$BN: Doing: 'make' to $BLDLOG" +make >> $BLDLOG 2>&1 +if [ ! "$?" = "0" ]; then + echo "$BN: make error - see $BLDLOG for details" + exit 1 +fi + +echo "" +echo "$BN: appears a successful build... see $BLDLOG for details" +echo "" +echo "$BN: Time for '[sudo] make install' IFF desired..." +echo "" + +# eof + diff --git a/build/cmake/cmake-clean.txt b/build/cmake/cmake-clean.txt new file mode 100644 index 0000000..654bb44 --- /dev/null +++ b/build/cmake/cmake-clean.txt @@ -0,0 +1,9 @@ +bldlog-1.txt +libtidy5.a +tab2space +tidy5 +libtidy5.so +libtidy5.so.5 +libtidy5.so.5.0.0 +install_manifest.txt + diff --git a/build/cmake/updexe.bat b/build/cmake/updexe.bat new file mode 100644 index 0000000..e75b686 --- /dev/null +++ b/build/cmake/updexe.bat @@ -0,0 +1,57 @@ +@setlocal +@REM copy the EXE into C:\MDOS, IFF changed +@set TMPDIR=C:\MDOS +@set TMPFIL1=tidy5.exe +@set TMPFIL2=tidy5-32.exe +@set TMPSRC=Release\%TMPFIL1% +@if NOT EXIST %TMPSRC% goto ERR1 +@echo Current source %TMPSRC% +@call dirmin %TMPSRC% + +@if NOT EXIST %TMPDIR%\nul goto ERR2 +@set TMPDST=%TMPDIR%\%TMPFIL2% +@if NOT EXIST %TMPDST% goto DOCOPY + +@echo Current destination %TMPDST% +@call dirmin %TMPDST% + +@REM Compare +@fc4 -q -v0 -b %TMPSRC% %TMPDST% >nul +@if ERRORLEVEL 2 goto NOFC4 +@if ERRORLEVEL 1 goto DOCOPY +@echo. +@echo Files are the SAME... Nothing done... +@echo. +@goto END + +:NOFC4 +@echo Can NOT run fc4! so doing copy... +:DOCOPY +copy %TMPSRC% %TMPDST% +@if NOT EXIST %TMPDST% goto ERR3 +@call dirmin %TMPDST% +@echo Done file update... +@goto END + +:ERR1 +@echo Source %TMPSRC% does NOT exist! Has it been built? *** FIX ME *** +@goto ISERR + +:ERR2 +@echo Destination %TMPDIR% does NOT exist! +@goto ISERR + +:ERR3 +@echo Copy of %TMPSRC% to %TMPDST% FAILED! +@goto ISERR + +:ISERR +@endlocal +@exit /b 1 + +:END +@endlocal +@exit /b 0 + +@REM eof + diff --git a/build/documentation/README.md b/build/documentation/README.md new file mode 100644 index 0000000..fb83b9d --- /dev/null +++ b/build/documentation/README.md @@ -0,0 +1,101 @@ +# DOCUMENTATION HOW-TO + +**HTML Tidy** provides several types of documentation to suit different purposes. This +document describes how to generate the following: + +- `tidylib_api/` (directory) + + - This collection of documents describes the **TidyLib** API and is generated from the + comments and code in the **Tidy** source code. + +- `quickref.html` + + - This document provides a nice, readable HTML document describing all of the options and + settings that you can use with **Tidy** and internally in **TidyLib**. + +- `tidy.1` + + - This document is a Mac/Linux/Unix standard `man` page. + + +## The easy way + +In this directory you can find the shell script `build_docs.sh`, and that will build all +of the documentation into the `temp/` directory (i.e., `{tidy}/build/documentation/temp`). + +Please note these prerequisites: + +- It's a Mac/Linux/Unix shell script. +- Doxygen is required to generate the API documentation. +- xsltproc is required to generate the man page and the `quickref.html` file. + +If you prefer to understand how to do this manually (for example, for integration into +other scripts, build systems, or IDEs), read on. + + +## Manually + + +### `tidylib_api/` (directory) + +If you want to build the API documentation you must have [doxygen][1] installed. +You can clone the [repository from github][2] if it is not currently installed. + +Building as simple as: + +~~~ +cd {tidy}/build/documentation/ +doxygen doxygen.cfg +~~~ + +This will result in a document set in `{tidy}/build/documentation/temp/tidylib_api`, +where you can find the main `index.html` file. + + +### `quickref.html` + +Note that these instructions require the standard `xsltproc` utility to build the file, +but any XSLT processor of your choice should work, too. + +- `tidy -xml-config > "tidy-config.xml"` + + - This uses your up-to-date version of **Tidy** to generate an XML file containing all + of **Tidy**’s built-in settings and their descriptions. This file is only temporary, + as it will be transformed in the next step. + +- `xsltproc "quickref.xsl" "tidy-config.xml" > "quickref.html"` + + - This examples uses the `xsltproc` command to transform `tidy-config.xml` using the + rules in the `quickref.xsl` stylesheet, and output it to `quickref.html`. + + + +### `tidy.1` + +Note that these instructions require the standard `xsltproc` utility to build the file, +but any XSLT processor of your choice should work, too. + +- `tidy -xml-config > "tidy-config.xml"` + + - This uses your up-to-date version of **Tidy** to generate an XML file containing all + of **Tidy**’s built-in settings and their descriptions. This file is only temporary, + as it will be transformed in the third step. + +- `tidy -xml-help > "tidy-help.xml"` + + - This uses your up-to-date version of **Tidy** to generate an XML file containing all + of **Tidy**’s built-in help information. This file is only temporary, + as it will be transformed in the next step. + +- `xsltproc "tidy1.xsl" "tidy-help.xml" > "tidy.1"` + + - This examples uses the `xsltproc` command to transform `tidy-help.xml` using the + rules in the `tidy1.xsl` stylesheet, and output it to `tidy.1`. + + Note that `tidy1.xls` includes the file `tidy-config.xml` as part of the stylesheet, + and so although it does not appear in the command invocation, it is indeed required. + + + + [1]: http://www.stack.nl/~dimitri/doxygen/ + [2]: https://github.com/doxygen/doxygen diff --git a/build/documentation/build_docs.sh b/build/documentation/build_docs.sh new file mode 100755 index 0000000..a378471 --- /dev/null +++ b/build/documentation/build_docs.sh @@ -0,0 +1,119 @@ +#!/bin/sh + +# See cat << HEREDOC for file description. + + +# Set this to the complete path of the tidy for which you want to generate +# documentation. Relative path is okay. You shouldn't have to change this +# too often if your compiler always puts tidy in the same place. + +TIDY_PATH="./tidy5" # Current directory. + + +cat << HEREDOC + + Build 'tidy.1', which is a man page suitable for installation + in all Unix-like operating systems. This script will build + it, but not install it. + + Build 'quickref.html'. This is distributed with the + the Tidy source code and also used on Tidy's website. + Be sure to distribute it with 'quickref.css' as well. + + Build the 'tidylib_api' directory, which contains a website + with the documentation for TidyLib’s headers. + + These files will be built into '{current_dir}/temp'. + +HEREDOC + + +# Output and flags' declarations. +DOXY_CFG="doxygen.cfg" +OUTP_DIR="temp" +BUILD_XSLT=1 +BUILD_API=1 + + +## +# Ensure the output dir exists. +## +if [ ! -d "$OUTP_DIR" ]; then + mkdir $OUTP_DIR +fi + + +## +# Preflight +## + +# Check for a valid tidy. +if [ ! -x "$TIDY_PATH" ]; then + BUILD_XSLT=0 + echo "- '$TIDY_PATH' not found. You should set TIDY_PATH in this script." +fi + +# Check for xsltproc dependency. +hash xsltproc 2>/dev/null || { echo "- xsltproc not found. You require an XSLT processor."; BUILD_XSLT=0; } + + +## +# Build 'quickref.html' and 'tidy.1'. +## + +if [ "$BUILD_XSLT" -eq 1 ]; then + # Use the designated tidy to get its config and help. + # These temporary files will be cleaned up later. + $TIDY_PATH -xml-config > "tidy-config.xml" + $TIDY_PATH -xml-help > "tidy-help.xml" + + # 'quickref.html' + xsltproc "quickref.xsl" "tidy-config.xml" > "$OUTP_DIR/quickref.html" + + # 'tidy.1' + xsltproc "tidy1.xsl" "$tidy-help.xml" > "$OUTP_DIR/tidy.1" + + # Cleanup - Note: to avoid issues with the tidy1.xsl finding the tidy-config.xml + # document, they are created and read from the source directory instead of temp. + rm "tidy-config.xml" + rm "tidy-help.xml" + + echo "'quickref.html' and 'tidy.1' have been built.\n" +else + echo "* tidy.1 was skipped because not all dependencies were satisfied." +fi + + +## +# Preflight +## + +# Check for the doxygen.cfg file. +if [ ! -f "$DOXY_CFG" ]; then + BUILD_API=0 + echo "- 'DOXY_CFG' not found. It is required to configure doxygen." +fi + +# Check for doxygen dependency. +hash doxygen 2>/dev/null || { echo "- doxygen not found. This script requires doxygen."; BUILD_XSLT=0; } + + +## +# Build the doxygen project. +## + +if [ "$BUILD_API" -eq 1 ]; then + echo "The following is doxygen's stderr output. It doesn't indicate errors with this script:\n" + doxygen "$DOXY_CFG" > /dev/null + echo "\nTidyLib API documentation has been built." +else + echo "* $OUTP_DIR/tidylib_api/ was skipped because not all dependencies were satisfied." +fi + + +## +# Done +## + +echo "\nDone.\n" + diff --git a/htmldoc/doxygen.cfg b/build/documentation/doxygen.cfg similarity index 88% rename from htmldoc/doxygen.cfg rename to build/documentation/doxygen.cfg index c2692ff..6aee6f7 100644 --- a/htmldoc/doxygen.cfg +++ b/build/documentation/doxygen.cfg @@ -1,4 +1,4 @@ -# Doxyfile 1.7.5.1 +# Doxyfile 1.8.9.1 # This file describes the settings to be used by the documentation system # doxygen (www.doxygen.org) for a project. @@ -32,13 +32,13 @@ PROJECT_NAME = "HTML Tidy" # This could be handy for archiving the generated documentation or # if some version control system is used. -PROJECT_NUMBER = 0.1 +PROJECT_NUMBER = 4.9.15 # Using the PROJECT_BRIEF tag one can provide an optional one line description # for a project that appears at the top of each page and should give viewer # a quick idea about the purpose of the project. Keep the description short. -PROJECT_BRIEF = +PROJECT_BRIEF = "The HTACG Tidy HTML Project" # With the PROJECT_LOGO tag one can specify an logo or icon that is # included in the documentation. The maximum height of the logo should not @@ -52,7 +52,7 @@ PROJECT_LOGO = # If a relative path is entered, it will be relative to the location # where doxygen was started. If left blank the current directory will be used. -OUTPUT_DIRECTORY = htmldoc +OUTPUT_DIRECTORY = temp # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create # 4096 sub-directories (in 2 levels) under the output directory of each output @@ -63,6 +63,13 @@ OUTPUT_DIRECTORY = htmldoc CREATE_SUBDIRS = NO +# If the ALLOW_UNICODE_NAMES tag is set to YES, doxygen will allow +# non-ASCII characters to appear in the names of generated files. +# If set to NO, non-ASCII characters will be escaped, for example +# _xE3_x81_x84 will be used for Unicode U+3044. + +ALLOW_UNICODE_NAMES = NO + # The OUTPUT_LANGUAGE tag is used to specify the language in which all # documentation generated by doxygen is written. Doxygen will use this # information to generate all constant output in the proper language. @@ -184,7 +191,7 @@ SEPARATE_MEMBER_PAGES = NO # The TAB_SIZE tag can be used to set the number of spaces in a tab. # Doxygen uses this value to replace tabs by spaces in code fragments. -TAB_SIZE = 8 +TAB_SIZE = 4 # This tag can be used to specify a number of aliases that acts # as commands in the documentation. An alias has the form "name=value". @@ -233,6 +240,24 @@ OPTIMIZE_OUTPUT_VHDL = NO EXTENSION_MAPPING = +# If the MARKDOWN_SUPPORT tag is enabled then doxygen pre-processes all comments +# according to the Markdown format, which allows for more readable documentation. +# See http://daringfireball.net/projects/markdown/ for details. The output of +# markdown processing is further processed by doxygen, so you can mix doxygen, +# HTML, and XML commands with Markdown formatting. Disable only in case of backward +# compatibilities issues. +# The default value is: YES. + +MARKDOWN_SUPPORT = YES + +# When enabled doxygen tries to link words that correspond to documented classes, +# or namespaces to their corresponding documentation. Such a link can be prevented +# in individual cases by putting a % sign in front of the word or globally by +# setting AUTOLINK_SUPPORT to NO. +# The default value is: YES. + +AUTOLINK_SUPPORT = YES + # If you use STL classes (i.e. std::string, std::vector, etc.) but do not want # to include (a tag file for) the STL sources as input, then you should # set this tag to YES in order to let doxygen match functions declarations and @@ -303,21 +328,18 @@ INLINE_SIMPLE_STRUCTS = NO TYPEDEF_HIDES_STRUCT = NO -# The SYMBOL_CACHE_SIZE determines the size of the internal cache use to -# determine which symbols to keep in memory and which to flush to disk. -# When the cache is full, less often used symbols will be written to disk. -# For small to medium size projects (<1000 input files) the default value is -# probably good enough. For larger projects a too small cache size can cause -# doxygen to be busy swapping symbols to and from disk most of the time -# causing a significant performance penalty. -# If the system has enough physical memory increasing the cache will improve the -# performance by keeping more symbols in memory. Note that the value works on -# a logarithmic scale so increasing the size by one will roughly double the -# memory usage. The cache size is given by this formula: -# 2^(16+SYMBOL_CACHE_SIZE). The valid range is 0..9, the default is 0, -# corresponding to a cache size of 2^16 = 65536 symbols +# The size of the symbol lookup cache can be set using LOOKUP_CACHE_SIZE. This +# cache is used to resolve symbols given their name and scope. Since this can +# be an expensive process and often the same symbol appears multiple times in +# the code, doxygen keeps a cache of pre-resolved symbols. If the cache is too +# small doxygen will become slower. If the cache is too large, memory is wasted. +# The cache size is given by this formula: $2^{(16+\mbox{LOOKUP\_CACHE\_SIZE})}$. +# The valid range is 0..9, the default is 0, corresponding to a cache size of +# $2^{16} = 65536$ symbols. At the end of a run doxygen will report the cache +# usage and suggest the optimal cache size from a speed point of view. +# Minimum value: 0, maximum value: 9, default value: 0. -SYMBOL_CACHE_SIZE = 0 +LOOKUP_CACHE_SIZE = 0 #--------------------------------------------------------------------------- # Build related configuration options @@ -335,6 +357,12 @@ EXTRACT_ALL = NO EXTRACT_PRIVATE = NO +# If the EXTRACT_PACKAGE tag is set to YES, all members with package or +# internal scope will be included in the documentation. +# The default value is: NO. + +EXTRACT_PACKAGE = NO + # If the EXTRACT_STATIC tag is set to YES all static members of a file # will be included in the documentation. @@ -411,12 +439,26 @@ CASE_SENSE_NAMES = YES HIDE_SCOPE_NAMES = NO +# If the HIDE_COMPOUND_REFERENCE tag is set to NO (default) then doxygen will +# append additional text to a page's title, such as Class Reference. If set to +# YES the compound reference will be hidden. +# The default value is: NO. + +HIDE_COMPOUND_REFERENCE = NO + # If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen # will put a list of the files that are included by a file in the documentation # of that file. SHOW_INCLUDE_FILES = YES +# If the SHOW_GROUPED_MEMB_INC tag is set to YES then Doxygen will add for each +# grouped member an include statement to the documentation, telling the reader +# which file to include in order to use the member. +# The default value is: NO. + +SHOW_GROUPED_MEMB_INC = NO + # If the FORCE_LOCAL_INCLUDES tag is set to YES then Doxygen # will list include files with double quotes in the documentation # rather than with sharp brackets. @@ -522,12 +564,6 @@ MAX_INITIALIZER_LINES = 30 SHOW_USED_FILES = YES -# If the sources in your project are distributed over multiple directories -# then setting the SHOW_DIRECTORIES tag to YES will show the directory hierarchy -# in the documentation. The default is NO. - -SHOW_DIRECTORIES = NO - # Set the SHOW_FILES tag to NO to disable the generation of the Files page. # This will remove the Files entry from the Quick Index and from the # Folder Tree View (if specified). The default is YES. @@ -629,7 +665,7 @@ WARN_LOGFILE = # directories like "/usr/src/myproject". Separate the files or directories # with spaces. -INPUT = include +INPUT = "../../include" # This tag can be used to specify the character encoding of the source files # that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is @@ -660,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/platform.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 @@ -746,6 +782,13 @@ FILTER_SOURCE_FILES = NO FILTER_SOURCE_PATTERNS = +# If the USE_MDFILE_AS_MAINPAGE tag refers to the name of a markdown file that +# is part of the input, its contents will be placed on the main page (index.html). +# This can be useful if you have a project on for instance GitHub and want to +# reuse the introduction page also for the doxygen output. + +USE_MDFILE_AS_MAINPAGE = + #--------------------------------------------------------------------------- # configuration options related to source browsing #--------------------------------------------------------------------------- @@ -788,6 +831,16 @@ REFERENCES_RELATION = YES REFERENCES_LINK_SOURCE = YES +# If SOURCE_TOOLTIPS is enabled (the default) then hovering a hyperlink +# in the source code will show a tooltip with additional information +# such as prototype, brief description and links to the definition and +# documentation. Since this will make the HTML file larger and loading +# of large files a bit slower, you can opt to disable this feature. +# The default value is: YES. +# This tag requires that the tag SOURCE_BROWSER is set to YES. + +SOURCE_TOOLTIPS = YES + # If the USE_HTAGS tag is set to YES then the references to source code # will point to the HTML generated by the htags(1) tool instead of doxygen # built-in source browser. The htags tool is part of GNU's global source @@ -802,6 +855,25 @@ USE_HTAGS = NO VERBATIM_HEADERS = YES + +# If the CLANG_ASSISTED_PARSING tag is set to YES then doxygen will use +# the clang parser for more accurate parsing at the cost of reduced +# performance. This can be particularly helpful with template rich C++ +# code for which doxygen's built-in parser lacks the necessary type information. +# Note: The availability of this option depends on whether or not doxygen +# was compiled with the --with-libclang option. +# The default value is: NO. + +# CLANG_ASSISTED_PARSING = NO + +# If clang assisted parsing is enabled you can provide the compiler with command +# line options that you would normally use when invoking the compiler. Note that +# the include paths will already be set by doxygen for the files and directories +# specified with INPUT and INCLUDE_PATH. +# This tag requires that the tag CLANG_ASSISTED_PARSING is set to YES. + +# CLANG_OPTIONS = + #--------------------------------------------------------------------------- # configuration options related to the alphabetical class index #--------------------------------------------------------------------------- @@ -838,7 +910,7 @@ GENERATE_HTML = YES # If a relative path is entered the value of OUTPUT_DIRECTORY will be # put in front of it. If left blank `html' will be used as the default path. -HTML_OUTPUT = api +HTML_OUTPUT = "tidylib_api" # The HTML_FILE_EXTENSION tag can be used to specify the file extension for # each generated HTML page (for example: .htm,.php,.asp). If it is left blank @@ -874,6 +946,15 @@ HTML_FOOTER = HTML_STYLESHEET = +# The HTML_EXTRA_STYLESHEET tag can be used to specify additional user-defined +# cascading style sheets that are included after the standard style sheets +# created by doxygen. Using this option one can overrule certain style aspects. +# This is preferred over using HTML_STYLESHEET since it does not replace the +# standard style sheet and is therefore more robust against future updates. +# Doxygen will copy the style sheet files to the output directory. + +HTML_EXTRA_STYLESHEET = + # The HTML_EXTRA_FILES tag can be used to specify one or more extra images or # other source files which should be copied to the HTML output directory. Note # that these files will be copied to the base HTML output directory. Use the @@ -914,12 +995,6 @@ HTML_COLORSTYLE_GAMMA = 80 HTML_TIMESTAMP = YES -# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes, -# files or namespaces will be aligned in HTML using tables. If set to -# NO a bullet list will be used. - -HTML_ALIGN_MEMBERS = YES - # If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML # documentation will contain sections that can be hidden and shown after the # page has loaded. For this to work a browser that supports @@ -928,6 +1003,19 @@ HTML_ALIGN_MEMBERS = YES HTML_DYNAMIC_SECTIONS = NO +# With HTML_INDEX_NUM_ENTRIES one can control the preferred number of entries +# shown in the various tree structured indices initially; the user can expand +# and collapse entries dynamically later on. Doxygen will expand the tree to +# such a level that at most the specified number of entries are visible (unless +# a fully collapsed tree already exceeds this amount). So setting the number +# of entries 1 will produce a full collapsed tree by default. 0 is a special +# value representing an infinite number of entries and will result in a full +# expanded tree by default. +# Minimum value: 0, maximum value: 9999, default value: 100. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_INDEX_NUM_ENTRIES = + # If the GENERATE_DOCSET tag is set to YES, additional index files # will be generated that can be used as input for Apple's Xcode 3 # integrated development environment, introduced with OSX 10.5 (Leopard). @@ -1085,13 +1173,6 @@ ECLIPSE_DOC_ID = org.doxygen.Project DISABLE_INDEX = YES -# The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values -# (range [0,1..20]) that doxygen will group on one line in the generated HTML -# documentation. Note that a value of 0 will completely suppress the enum -# values from appearing in the overview section. - -ENUM_VALUES_PER_LINE = 1 - # The GENERATE_TREEVIEW tag is used to specify whether a tree-like index # structure should be generated to display hierarchical information. # If the tag value is set to YES, a side panel will be generated @@ -1102,10 +1183,12 @@ ENUM_VALUES_PER_LINE = 1 GENERATE_TREEVIEW = YES -# By enabling USE_INLINE_TREES, doxygen will generate the Groups, Directories, -# and Class Hierarchy pages using a tree view instead of an ordered list. +# The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values +# (range [0,1..20]) that doxygen will group on one line in the generated HTML +# documentation. Note that a value of 0 will completely suppress the enum +# values from appearing in the overview section. -USE_INLINE_TREES = NO +ENUM_VALUES_PER_LINE = 1 # If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be # used to set the initial width (in pixels) of the frame in which the tree @@ -1143,6 +1226,15 @@ FORMULA_TRANSPARENT = YES USE_MATHJAX = NO +# When MathJax is enabled you can set the default output format to be used +# for the MathJax output. See the MathJax site for more details. +# Possible values are: HTML-CSS (which is slower, but has the best compatibility), +# NativeMML (i.e. MathML) and SVG. +# The default value is: HTML-CSS. +# This tag requires that the tag USE_MATHJAX is set to YES. + +MATHJAX_FORMAT = HTML-CSS + # When MathJax is enabled you need to specify the location relative to the # HTML output directory using the MATHJAX_RELPATH option. The destination # directory should contain the MathJax.js script. For instance, if the mathjax @@ -1159,6 +1251,12 @@ MATHJAX_RELPATH = http://www.mathjax.org/mathjax MATHJAX_EXTENSIONS = +# The MATHJAX_CODEFILE tag can be used to specify a file with javascript pieces +# of code that will be used on startup of the MathJax code. +# See the MathJax site for more details. + +MATHJAX_CODEFILE = + # When the SEARCHENGINE tag is enabled doxygen will generate a search box # for the HTML output. The underlying search engine uses javascript # and DHTML and should work on any modern browser. Note that when using @@ -1179,6 +1277,55 @@ SEARCHENGINE = NO SERVER_BASED_SEARCH = NO +# When EXTERNAL_SEARCH tag is enabled doxygen will no longer generate the PHP +# script for searching. Instead the search results are written to an XML file +# which needs to be processed by an external indexer. Doxygen will invoke an +# external search engine pointed to by the SEARCHENGINE_URL option to obtain +# the search results. +# Doxygen ships with an example indexer (doxyindexer) and search engine (doxysearch.cgi) +# which are based on the open source search engine library Xapian. +# See the section External Indexing and Searching for details. +# The default value is: NO. +# This tag requires that the tag SEARCHENGINE is set to YES. + +EXTERNAL_SEARCH = NO + +# The SEARCHENGINE_URL should point to a search engine hosted by a web server +# which will return the search results when EXTERNAL_SEARCH is enabled. +# Doxygen ships with an example indexer (doxyindexer) and search engine +# (doxysearch.cgi) which are based on the open source search engine library +# Xapian. See the section External Indexing and Searching for details. +# This tag requires that the tag SEARCHENGINE is set to YES. + +SEARCHENGINE_URL = + +# When SERVER_BASED_SEARCH and EXTERNAL_SEARCH are both enabled the unindexed +# search data is written to a file for indexing by an external tool. With the +# SEARCHDATA_FILE tag the name of this file can be specified. +# The default file is: searchdata.xml. +# This tag requires that the tag SEARCHENGINE is set to YES. + +SEARCHDATA_FILE = + +# When SERVER_BASED_SEARCH and EXTERNAL_SEARCH are both enabled the +# EXTERNAL_SEARCH_ID tag can be used as an identifier for the project. This is +# useful in combination with EXTRA_SEARCH_MAPPINGS to search through multiple +# projects and redirect the results back to the right project. +#This tag requires that the tag SEARCHENGINE is set to YES. + +EXTERNAL_SEARCH_ID = + +# The EXTRA_SEARCH_MAPPINGS tag can be used to enable searching through doxygen +# projects other than the one defined by this configuration file, but that are all +# added to the same external search index. Each project needs to have a unique id +# set via EXTERNAL_SEARCH_ID. The search mapping then maps the id of to a relative +# location where the documentation can be found. +# The format is: +# EXTRA_SEARCH_MAPPINGS = tagname1=loc1 tagname2=loc2 ... +# This tag requires that the tag SEARCHENGINE is set to YES. + +EXTRA_SEARCH_MAPPINGS = + #--------------------------------------------------------------------------- # configuration options related to the LaTeX output #--------------------------------------------------------------------------- @@ -1338,7 +1485,7 @@ MAN_OUTPUT = man # The MAN_EXTENSION tag determines the extension that is added to # the generated man pages (default is the subroutine's section .3) -MAN_EXTENSION = .3 +MAN_EXTENSION = .1 # If the MAN_LINKS tag is set to YES and Doxygen generates man output, # then it will generate one additional man file for each entity @@ -1368,13 +1515,13 @@ XML_OUTPUT = xml # which can be used by a validating XML parser to check the # syntax of the XML files. -XML_SCHEMA = +# XML_SCHEMA = # The XML_DTD tag can be used to specify an XML DTD, # which can be used by a validating XML parser to check the # syntax of the XML files. -XML_DTD = +# XML_DTD = # If the XML_PROGRAMLISTING tag is set to YES Doxygen will # dump the program listings (including syntax highlighting @@ -1536,6 +1683,13 @@ ALLEXTERNALS = NO EXTERNAL_GROUPS = YES +# If the EXTERNAL_PAGES tag is set to YES, all external pages will be listed +# in the related pages index. If set to NO, only the current project's pages +# will be listed. +# The default value is: YES. + +EXTERNAL_PAGES = + # The PERL_PATH should be the absolute path and name of the perl script # interpreter (i.e. the result of `which perl'). @@ -1562,6 +1716,13 @@ CLASS_DIAGRAMS = NO MSCGEN_PATH = +# You can include diagrams made with dia in doxygen documentation. Doxygen will +# then run dia to produce the diagram and insert it in the documentation. +# The DIA_PATH tag allows you to specify the directory where the dia binary +# resides. If left empty dia is assumed to be found in the default search path. + +DIA_PATH = + # If set to YES, the inheritance and collaboration graphs will hide # inheritance and usage relations if the target is undocumented # or is not a class. diff --git a/htmldoc/quickref-html.xsl b/build/documentation/quickref.xsl similarity index 50% rename from htmldoc/quickref-html.xsl rename to build/documentation/quickref.xsl index aaf5004..d016d88 100644 --- a/htmldoc/quickref-html.xsl +++ b/build/documentation/quickref.xsl @@ -24,7 +24,7 @@ HTML Tidy Configuration Options Quick Reference - + @@ -32,7 +32,7 @@

HTML Tidy Configuration Options

-

Version:

+

Version:

HTML, XHTML, XML
Diagnostics
@@ -229,6 +229,340 @@ + + + + diff --git a/htmldoc/tidy1.xsl b/build/documentation/tidy1.xsl similarity index 95% rename from htmldoc/tidy1.xsl rename to build/documentation/tidy1.xsl index 414eb53..5058b97 100644 --- a/htmldoc/tidy1.xsl +++ b/build/documentation/tidy1.xsl @@ -41,7 +41,7 @@ - .\" tidy man page for the HTML5 fork of Tidy + .\" tidy man page for the HTML Tidy .TH TIDY 1 "" "HTML Tidy" "" @@ -56,7 +56,7 @@ .SH SYNOPSIS \fBtidy\fR [option ...] [file ...] [option ...] [file ...] .SH DESCRIPTION -Tidy reads HTML(5), XHTML(5) and XML files and writes cleaned-up markup. For HTML variants, it detects, reports, and corrects many common coding errors and strives to produce visually equivalent markup that is both conformant to the HTML specifications and that works in most browsers. +Tidy reads HTML, XHTML, and XML files and writes cleaned-up markup. For HTML variants, it detects, reports, and corrects many common coding errors and strives to produce visually equivalent markup that is both conformant to the HTML specifications and that works in most browsers. .LP A common use of Tidy is to convert plain HTML to XHTML. For generic XML files, Tidy is limited to correcting basic well-formedness errors and pretty printing. .LP @@ -348,10 +348,10 @@ appearing in content with another backslash. .SH SEE ALSO -For more information about the experimental HTML5 fork of Tidy: +For more information about HTML Tidy: .RS 4 .LP -http://w3c.github.com/tidy-html5/ +http://www.html-tidy.org/ .RE .LP For more information on HTML: @@ -369,10 +369,10 @@ http://dev.w3.org/html5/markup/ For bug reports and comments: .RS 4 .LP -https://github.com/w3c/tidy-html5/issues/ +https://github.com/htacg/tidy-html5/issues/ .RE .LP -Or send questions and comments to \fBhtml-tidy@w3.org\fR +Or send questions and comments to \fBpublic-htacg@w3.org\fR. .LP Validate your HTML documents using the \fBW3C Nu Markup Validator\fR: .RS 4 @@ -380,9 +380,10 @@ Validate your HTML documents using the \fBW3C Nu Markup Validator\fR: http://validator.w3.org/nu/ .RE .SH AUTHOR -\fBTidy\fR was written by \fBDave Raggett\fR <dsr@w3.org>, and subsequently maintained by a team at http://tidy.sourceforge.net/ +\fBTidy\fR was written by \fBDave Raggett\fR <dsr@w3.org>, and subsequently maintained by a team at http://tidy.sourceforge.net/, +and now maintained by \fBHTACG\fR (http://www.htacg.org). .LP -The sources for the HTML5 fork of \fBTidy\fR are available at https://github.com/w3c/tidy-html5/ under the MIT Licence. +The sources for \fBHTML Tidy\fR are available at https://github.com/htacg/tidy-html5/ under the MIT Licence. diff --git a/build/gmake/Makefile b/build/gmake/Makefile deleted file mode 100644 index 6d79840..0000000 --- a/build/gmake/Makefile +++ /dev/null @@ -1,231 +0,0 @@ -# Makefile - for tidy - HTML parser and pretty printer -# -# Copyright (c) 1998-2008 World Wide Web Consortium -# (Massachusetts Institute of Technology, European Research -# Consortium for Informatics and Mathematics, Keio University). -# All Rights Reserved. -# -# Contributing Author(s): -# -# Dave Raggett -# Terry Teague -# Pradeep Padala -# -# The contributing author(s) would like to thank all those who -# helped with testing, bug fixes, and patience. This wouldn't -# have been possible without all of you. -# -# COPYRIGHT NOTICE: -# -# This software and documentation is provided "as is," and -# the copyright holders and contributing author(s) make no -# representations or warranties, express or implied, including -# but not limited to, warranties of merchantability or fitness -# for any particular purpose or that the use of the software or -# documentation will not infringe any third party patents, -# copyrights, trademarks or other rights. -# -# The copyright holders and contributing author(s) will not be -# liable for any direct, indirect, special or consequential damages -# arising out of any use of the software or documentation, even if -# advised of the possibility of such damage. -# -# Permission is hereby granted to use, copy, modify, and distribute -# this source code, or portions hereof, documentation and executables, -# for any purpose, without fee, subject to the following restrictions: -# -# 1. The origin of this source code must not be misrepresented. -# 2. Altered versions must be plainly marked as such and must -# not be misrepresented as being the original source. -# 3. This Copyright notice may not be removed or altered from any -# source or altered source distribution. -# -# The copyright holders and contributing author(s) specifically -# permit, without fee, and encourage the use of this source code -# as a component for supporting the Hypertext Markup Language in -# commercial products. If you use this source code in a product, -# acknowledgment is not required but would be appreciated. -# - -SHELL=/bin/sh - -PROJECT=tidy - -# Installation variables. Spaces OK, only dir create and file copy operations. -runinst_prefix=/usr/local -devinst_prefix=/usr/local - -bininst = ${runinst_prefix}/bin -libinst = ${devinst_prefix}/lib -incinst = ${devinst_prefix}/include/$(PROJECT) -maninst = ${devinst_prefix}/man - -# Internal variables. - No spaces allowed: libtool chokes on spaces in directory names. -TOPDIR = ../.. -INCDIR = ${TOPDIR}/include -APPDIR = ${TOPDIR}/console -SRCDIR = ${TOPDIR}/src -OBJDIR = ./obj -LIBDIR = ${TOPDIR}/lib -BINDIR = ${TOPDIR}/bin -DOCDIR = ${TOPDIR}/htmldoc - -# Note about shared library and exported symbols: -# With gcc, one can control the exported symbols by either using -# "-fvisibility=hidden -DTIDY_EXPORT='__attribute__((visibility("default")))'" -# or using a linker map (see GNU ld "--version-script"). - -# Lookup based on hash table can be disabled with -# "-DELEMENT_HASH_LOOKUP=0 -DATTRIBUTE_HASH_LOOKUP=0" - -# Memory mapped i/o can be disabled with -DSUPPORT_POSIX_MAPPED_FILES=0 -# - -# CFLAGS etc.. -# For optimised builds, flags such as "-O2" should be added and -D_DEBUG=1 -# disabled. -CC= gcc -CFLAGS= -g -pedantic -Wall -I $(INCDIR) -# flags only supported with gcc 3.x -CFLAGS += -Wunused-parameter - -OTHERCFLAGS= -OTHERCFLAGS+= -D_DEBUG=1 -D_MSC_VER=1400 -# OTHERCFLAGS+= -fvisibility=hidden -DTIDY_EXPORT='__attribute__((visibility("default")))' -ifdef SUPPORT_UTF16_ENCODINGS -CFLAGS += -DSUPPORT_UTF16_ENCODINGS=$(SUPPORT_UTF16_ENCODINGS) -endif -ifdef SUPPORT_ASIAN_ENCODINGS -CFLAGS += -DSUPPORT_ASIAN_ENCODINGS=$(SUPPORT_ASIAN_ENCODINGS) -endif -ifdef SUPPORT_ACCESSIBILITY_CHECKS -CFLAGS += -DSUPPORT_ACCESSIBILITY_CHECKS=$(SUPPORT_ACCESSIBILITY_CHECKS) -endif - -DEBUGFLAGS=-g -ifdef DMALLOC -DEBUGFLAGS += -DDMALLOC -endif - -LIBS= -DEBUGLIBS=-ldmalloc - -# Tidy lib related variables -TIDY_MAJOR = 1 -TIDY_MINOR = 0 - -# This will come from autoconf again -LIBPREFIX = lib -LIBSUFFIX = .a -OBJSUF = .o - -LIBRARY = $(LIBDIR)/$(LIBPREFIX)$(PROJECT)$(LIBSUFFIX) -AR=ar -r - -XSLTPROC = xsltproc - -EXES = $(BINDIR)/$(PROJECT) $(BINDIR)/tab2space - -DOCS = $(DOCDIR)/quickref.html $(DOCDIR)/tidy.1 - -CONFIGXML = $(DOCDIR)/tidy-config.xml -HELPXML = $(DOCDIR)/tidy-help.xml - -OBJFILES=\ - $(OBJDIR)/access$(OBJSUF) $(OBJDIR)/attrs$(OBJSUF) $(OBJDIR)/istack$(OBJSUF) \ - $(OBJDIR)/parser$(OBJSUF) $(OBJDIR)/tags$(OBJSUF) $(OBJDIR)/entities$(OBJSUF) \ - $(OBJDIR)/lexer$(OBJSUF) $(OBJDIR)/pprint$(OBJSUF) $(OBJDIR)/clean$(OBJSUF) \ - $(OBJDIR)/localize$(OBJSUF) $(OBJDIR)/config$(OBJSUF) $(OBJDIR)/alloc$(OBJSUF) \ - $(OBJDIR)/attrask$(OBJSUF) $(OBJDIR)/attrdict$(OBJSUF) $(OBJDIR)/attrget$(OBJSUF) \ - $(OBJDIR)/buffio$(OBJSUF) $(OBJDIR)/fileio$(OBJSUF) $(OBJDIR)/streamio$(OBJSUF) \ - $(OBJDIR)/tagask$(OBJSUF) $(OBJDIR)/tmbstr$(OBJSUF) $(OBJDIR)/utf8$(OBJSUF) \ - $(OBJDIR)/tidylib$(OBJSUF) $(OBJDIR)/mappedio$(OBJSUF) $(OBJDIR)/gdoc$(OBJSUF) - -CFILES= \ - $(SRCDIR)/access.c $(SRCDIR)/attrs.c $(SRCDIR)/istack.c \ - $(SRCDIR)/parser.c $(SRCDIR)/tags.c $(SRCDIR)/entities.c \ - $(SRCDIR)/lexer.c $(SRCDIR)/pprint.c $(SRCDIR)/clean.c \ - $(SRCDIR)/localize.c $(SRCDIR)/config.c $(SRCDIR)/alloc.c \ - $(SRCDIR)/attrask.c $(SRCDIR)/attrdict.c $(SRCDIR)/attrget.c \ - $(SRCDIR)/buffio.c $(SRCDIR)/fileio.c $(SRCDIR)/streamio.c \ - $(SRCDIR)/tagask.c $(SRCDIR)/tmbstr.c $(SRCDIR)/utf8.c \ - $(SRCDIR)/tidylib.c $(SRCDIR)/mappedio.c $(SRCDIR)/gdoc.c - -HFILES= $(INCDIR)/platform.h $(INCDIR)/tidy.h $(INCDIR)/tidyenum.h \ - $(INCDIR)/buffio.h - -LIBHFILES= \ - $(SRCDIR)/access.h $(SRCDIR)/attrs.h $(SRCDIR)/attrdict.h \ - $(SRCDIR)/clean.h $(SRCDIR)/config.h $(SRCDIR)/entities.h \ - $(SRCDIR)/fileio.h $(SRCDIR)/forward.h $(SRCDIR)/lexer.h \ - $(SRCDIR)/mappedio.h $(SRCDIR)/message.h $(SRCDIR)/parser.h \ - $(SRCDIR)/pprint.h $(SRCDIR)/streamio.h $(SRCDIR)/tags.h \ - $(SRCDIR)/tmbstr.h $(SRCDIR)/utf8.h $(SRCDIR)/tidy-int.h \ - $(SRCDIR)/gdoc.h $(SRCDIR)/version.h - - - -all: $(LIBRARY) $(EXES) - -doc: $(DOCS) - -$(LIBRARY): $(OBJFILES) - if [ ! -d $(LIBDIR) ]; then mkdir $(LIBDIR); fi - $(AR) $@ $(OBJFILES) -ifdef RANLIB - $(RANLIB) $@ -endif - -$(OBJDIR)/%$(OBJSUF): $(SRCDIR)/%.c $(HFILES) $(LIBHFILES) Makefile - if [ ! -d $(OBJDIR) ]; then mkdir $(OBJDIR); fi - $(CC) $(CFLAGS) $(OTHERCFLAGS) -o $@ -c $< - -$(BINDIR)/$(PROJECT): $(APPDIR)/tidy.c $(HFILES) $(LIBRARY) - if [ ! -d $(BINDIR) ]; then mkdir $(BINDIR); fi - $(CC) $(CFLAGS) $(OTHERCFLAGS) -o $@ $(APPDIR)/tidy.c -I$(INCDIR) $(LIBRARY) - -$(BINDIR)/tab2space: $(APPDIR)/tab2space.c - if [ ! -d $(BINDIR) ]; then mkdir $(BINDIR); fi - $(CC) $(CFLAGS) $(OTHERCFLAGS) -o $@ $(APPDIR)/tab2space.c $(LIBS) - -$(HELPXML): $(BINDIR)/$(PROJECT) - $(BINDIR)/$(PROJECT) -xml-help > $@ - -$(CONFIGXML): $(BINDIR)/$(PROJECT) - $(BINDIR)/$(PROJECT) -xml-config > $@ - -$(DOCDIR)/quickref.html: $(DOCDIR)/quickref-html.xsl $(CONFIGXML) - $(XSLTPROC) -o $@ $(DOCDIR)/quickref-html.xsl $(CONFIGXML) - -$(DOCDIR)/tidy.1: $(DOCDIR)/tidy1.xsl $(HELPXML) $(CONFIGXML) - $(XSLTPROC) -o $@ $(DOCDIR)/tidy1.xsl $(HELPXML) - -debug: - @$(MAKE) CFLAGS='$(CFLAGS) $(DEBUGFLAGS)' LIBS='$(LIBS) $(DEBUGLIBS)' all - -clean: - rm -f $(OBJFILES) $(EXES) $(LIBRARY) $(DOCS) $(HELPXML) $(CONFIGXML) $(OBJDIR)/*.lo - rm -rf $(BINDIR)/tidy.dSYM $(BINDIR)/tab2space.dSYM - if [ -d $(OBJDIR)/.libs ]; then rmdir $(OBJDIR)/.libs; fi - if [ -d $(LIBDIR)/.libs ]; then rmdir $(LIBDIR)/.libs; fi - if [ "$(OBJDIR)" != "$(TOPDIR)" -a -d $(OBJDIR) ]; then rmdir $(OBJDIR); fi - if [ "$(LIBDIR)" != "$(TOPDIR)" -a -d $(LIBDIR) ]; then rmdir $(LIBDIR); fi - if [ "$(BINDIR)" != "$(TOPDIR)" -a -d $(BINDIR) ]; then rmdir $(BINDIR); fi - -installhdrs: $(HFILES) - if [ ! -d "$(incinst)" ]; then mkdir -p "$(incinst)"; fi - cp -f $(HFILES) "$(incinst)/" - -installib: $(LIBRARY) - if [ ! -d "$(libinst)" ]; then mkdir -p "$(libinst)"; fi - cp -f $(LIBRARY) "$(libinst)/" - -installexes: $(EXES) - if [ ! -d "$(bininst)" ]; then mkdir -p "$(bininst)"; fi - cp -f $(EXES) "$(bininst)/" - -installmanpage: $(DOCDIR)/tidy.1 - if [ ! -d "$(maninst)/man1" ]; then mkdir -p "$(maninst)/man1"; fi; - cp -f $(DOCDIR)/tidy.1 "$(maninst)/man1/tidy.1"; - -install: installhdrs installib installexes installmanpage diff --git a/build/gmake/readme.txt b/build/gmake/readme.txt deleted file mode 100644 index 7e83cb3..0000000 --- a/build/gmake/readme.txt +++ /dev/null @@ -1,16 +0,0 @@ -This Makefile works on most Unix platforms. Although, by default, it -runs gcc, by setting the CC macro, it runs with many C compilers. - -You can override the default build options by setting environment -variables of the same name as the corresponding macro: DMALLOC, -SUPPORT_ACCESSIBILITY_CHECKS, SUPPORT_UTF16_ENCODINGS and -SUPPORT_ASIAN_ENCODINGS. - -$ DMALLOC=1 gmake - -Note this Makefile will only run with gmake. But you should be able -to easily locate a pre-built executable for your platform. - -To customize the location of output files or install locations, just -edit the Makefile. There are variable definitions for just about -everything, so you shouldn't have to alter the build rules. diff --git a/build/gnuauto/Makefile.am b/build/gnuauto/Makefile.am deleted file mode 100644 index 6dfa33e..0000000 --- a/build/gnuauto/Makefile.am +++ /dev/null @@ -1,57 +0,0 @@ -# Makefile [Makefile.am] - for tidy - HTML parser and pretty printer -# -# Copyright (c) 1998-2003 World Wide Web Consortium -# (Massachusetts Institute of Technology, European Research -# Consortium for Informatics and Mathematics, Keio University). -# All Rights Reserved. -# -# Contributing Author(s): -# -# Dave Raggett -# Terry Teague -# Pradeep Padala -# -# The contributing author(s) would like to thank all those who -# helped with testing, bug fixes, and patience. This wouldn't -# have been possible without all of you. -# -# COPYRIGHT NOTICE: -# -# This software and documentation is provided "as is," and -# the copyright holders and contributing author(s) make no -# representations or warranties, express or implied, including -# but not limited to, warranties of merchantability or fitness -# for any particular purpose or that the use of the software or -# documentation will not infringe any third party patents, -# copyrights, trademarks or other rights. -# -# The copyright holders and contributing author(s) will not be -# liable for any direct, indirect, special or consequential damages -# arising out of any use of the software or documentation, even if -# advised of the possibility of such damage. -# -# Permission is hereby granted to use, copy, modify, and distribute -# this source code, or portions hereof, documentation and executables, -# for any purpose, without fee, subject to the following restrictions: -# -# 1. The origin of this source code must not be misrepresented. -# 2. Altered versions must be plainly marked as such and must -# not be misrepresented as being the original source. -# 3. This Copyright notice may not be removed or altered from any -# source or altered source distribution. -# -# The copyright holders and contributing author(s) specifically -# permit, without fee, and encourage the use of this source code -# as a component for supporting the Hypertext Markup Language in -# commercial products. If you use this source code in a product, -# acknowledgment is not required but would be appreciated. -# - -SUBDIRS = src console include - -#TODO: Pull man page from htmldoc -#installmanpage: -# if [ -f "$(TOPDIR)/htmldoc/man_page.txt" ] ; then \ -# if [ ! -d "$(maninst)/man1" ]; then mkdir -p "$(maninst)/man1"; fi; \ -# cp -f $(TOPDIR)/htmldoc/man_page.txt "$(maninst)/man1/tidy.1"; \ -# fi diff --git a/build/gnuauto/configure.in b/build/gnuauto/configure.in deleted file mode 100644 index b2e5065..0000000 --- a/build/gnuauto/configure.in +++ /dev/null @@ -1,127 +0,0 @@ -# configure.in - HTML TidyLib GNU autoconf input file -# -# Copyright (c) 2003-2004 World Wide Web Consortium -# (Massachusetts Institute of Technology, European Research -# Consortium for Informatics and Mathematics, Keio University). -# All Rights Reserved. -# - -AC_INIT([include/tidy.h]) - -# Making releases: -# -# TIDY_MICRO_VERSION += 1; -# TIDY_INTERFACE_AGE += 1; -# TIDY_BINARY_AGE += 1; -# -# if any functions have been added, set TIDY_INTERFACE_AGE to 0. -# if backwards compatibility has been broken, -# set TIDY_BINARY_AGE and TIDY_INTERFACE_AGE to 0. -# -TIDY_MAJOR_VERSION=0 -TIDY_MINOR_VERSION=99 -TIDY_MICRO_VERSION=0 -TIDY_INTERFACE_AGE=0 -TIDY_BINARY_AGE=0 - -LIBTIDY_VERSION=$TIDY_MAJOR_VERSION.$TIDY_MINOR_VERSION.$TIDY_MICRO_VERSION - -AC_SUBST(LIBTIDY_VERSION) - -# libtool versioning -# -LT_RELEASE=$TIDY_MAJOR_VERSION.$TIDY_MINOR_VERSION -LT_CURRENT=`expr $TIDY_MICRO_VERSION - $TIDY_INTERFACE_AGE` -LT_REVISION=$TIDY_INTERFACE_AGE -LT_AGE=`expr $TIDY_BINARY_AGE - $TIDY_INTERFACE_AGE` - -AC_SUBST(LT_RELEASE) -AC_SUBST(LT_CURRENT) -AC_SUBST(LT_REVISION) -AC_SUBST(LT_AGE) - -AM_INIT_AUTOMAKE(tidy,$LIBTIDY_VERSION) - -# Checks for programs. - -# ============================================= -# AC_PROG_CC has a habit of adding -g to CFLAGS -# -save_cflags="$CFLAGS" - -AC_PROG_CC -if test "x$GCC" = "xyes"; then - WARNING_CFLAGS="-Wall" -else - WARNING_CFLAGS="" -fi -AC_SUBST(WARNING_CFLAGS) - -debug_build=no -AC_ARG_ENABLE(debug,[ --enable-debug add -g (instead of -O2) to CFLAGS],[ - if test "x$enableval" = "xyes"; then - debug_build=yes - fi -]) -if test $debug_build = yes; then - CFLAGS="$save_cflags -g" -else - CFLAGS="-O2 $save_cflags" -fi -# -# ============================================= - -AC_PROG_CPP -AC_PROG_CXX -AC_PROG_INSTALL -AC_PROG_LN_S -AC_PROG_LIBTOOL -AC_PROG_MAKE_SET - -support_access=yes -AC_ARG_ENABLE(access,[ --enable-access support accessibility checks],[ - if test "x$enableval" = "xno"; then - support_access=no - fi -]) -if test $support_access = yes; then - AC_DEFINE(SUPPORT_ACCESSIBILITY_CHECKS,1) -else - AC_DEFINE(SUPPORT_ACCESSIBILITY_CHECKS,0) -fi - -support_utf16=yes -AC_ARG_ENABLE(utf16,[ --enable-utf16 support UTF-16 encoding],[ - if test "x$enableval" = "xno"; then - support_utf16=no - fi -]) -if test $support_utf16 = yes; then - AC_DEFINE(SUPPORT_UTF16_ENCODINGS,1) -else - AC_DEFINE(SUPPORT_UTF16_ENCODINGS,0) -fi - -support_asian=yes -AC_ARG_ENABLE(asian,[ --enable-asian support asian encodings],[ - if test "x$enableval" = "xno"; then - support_asian=no - fi -]) -if test $support_asian = yes; then - AC_DEFINE(SUPPORT_ASIAN_ENCODINGS,1) -else - AC_DEFINE(SUPPORT_ASIAN_ENCODINGS,0) -fi - -# TODO: this defines "WITH_DMALLOC" but tidy expects "DMALLOC" -# need to do: #if defined(DMALLOC) || defined(WITH_DMALLOC) -# -AM_WITH_DMALLOC - -AC_OUTPUT([ - Makefile - src/Makefile - console/Makefile - include/Makefile -]) diff --git a/build/gnuauto/console/Makefile.am b/build/gnuauto/console/Makefile.am deleted file mode 100644 index b550730..0000000 --- a/build/gnuauto/console/Makefile.am +++ /dev/null @@ -1,58 +0,0 @@ -# Makefile [Makefile.am] - for tidy - HTML parser and pretty printer -# -# Copyright (c) 1998-2008 World Wide Web Consortium -# (Massachusetts Institute of Technology, European Research -# Consortium for Informatics and Mathematics, Keio University). -# All Rights Reserved. -# -# Contributing Author(s): -# -# Dave Raggett -# Terry Teague -# Pradeep Padala -# -# The contributing author(s) would like to thank all those who -# helped with testing, bug fixes, and patience. This wouldn't -# have been possible without all of you. -# -# COPYRIGHT NOTICE: -# -# This software and documentation is provided "as is," and -# the copyright holders and contributing author(s) make no -# representations or warranties, express or implied, including -# but not limited to, warranties of merchantability or fitness -# for any particular purpose or that the use of the software or -# documentation will not infringe any third party patents, -# copyrights, trademarks or other rights. -# -# The copyright holders and contributing author(s) will not be -# liable for any direct, indirect, special or consequential damages -# arising out of any use of the software or documentation, even if -# advised of the possibility of such damage. -# -# Permission is hereby granted to use, copy, modify, and distribute -# this source code, or portions hereof, documentation and executables, -# for any purpose, without fee, subject to the following restrictions: -# -# 1. The origin of this source code must not be misrepresented. -# 2. Altered versions must be plainly marked as such and must -# not be misrepresented as being the original source. -# 3. This Copyright notice may not be removed or altered from any -# source or altered source distribution. -# -# The copyright holders and contributing author(s) specifically -# permit, without fee, and encourage the use of this source code -# as a component for supporting the Hypertext Markup Language in -# commercial products. If you use this source code in a product, -# acknowledgment is not required but would be appreciated. -# - -AM_CFLAGS = @CFLAGS@ @WARNING_CFLAGS@ - -INCLUDES = -I$(top_srcdir)/include - -bin_PROGRAMS = tidy tab2space - -tidy_LDADD = $(top_builddir)/src/libtidy.la - -tab2space_LDADD = $(top_builddir)/src/libtidy.la diff --git a/build/gnuauto/include/Makefile.am b/build/gnuauto/include/Makefile.am deleted file mode 100644 index eedb63e..0000000 --- a/build/gnuauto/include/Makefile.am +++ /dev/null @@ -1,55 +0,0 @@ -# Makefile [Makefile.am] - for tidy - HTML parser and pretty printer -# -# Copyright (c) 1998-2006 World Wide Web Consortium -# (Massachusetts Institute of Technology, European Research -# Consortium for Informatics and Mathematics, Keio University). -# All Rights Reserved. -# -# Contributing Author(s): -# -# Dave Raggett -# Terry Teague -# Pradeep Padala -# -# The contributing author(s) would like to thank all those who -# helped with testing, bug fixes, and patience. This wouldn't -# have been possible without all of you. -# -# COPYRIGHT NOTICE: -# -# This software and documentation is provided "as is," and -# the copyright holders and contributing author(s) make no -# representations or warranties, express or implied, including -# but not limited to, warranties of merchantability or fitness -# for any particular purpose or that the use of the software or -# documentation will not infringe any third party patents, -# copyrights, trademarks or other rights. -# -# The copyright holders and contributing author(s) will not be -# liable for any direct, indirect, special or consequential damages -# arising out of any use of the software or documentation, even if -# advised of the possibility of such damage. -# -# Permission is hereby granted to use, copy, modify, and distribute -# this source code, or portions hereof, documentation and executables, -# for any purpose, without fee, subject to the following restrictions: -# -# 1. The origin of this source code must not be misrepresented. -# 2. Altered versions must be plainly marked as such and must -# not be misrepresented as being the original source. -# 3. This Copyright notice may not be removed or altered from any -# source or altered source distribution. -# -# The copyright holders and contributing author(s) specifically -# permit, without fee, and encourage the use of this source code -# as a component for supporting the Hypertext Markup Language in -# commercial products. If you use this source code in a product, -# acknowledgment is not required but would be appreciated. -# - -#tidyincdir = $(includedir)/tidy -tidyincdir = $(includedir) - -tidyinc_HEADERS = \ - platform.h \ - tidy.h tidyenum.h buffio.h diff --git a/build/gnuauto/readme.txt b/build/gnuauto/readme.txt deleted file mode 100644 index 365d9d4..0000000 --- a/build/gnuauto/readme.txt +++ /dev/null @@ -1,24 +0,0 @@ -To use GNU "Auto" tools (AutoConf/AutoMake/LibTool), run -/bin/sh build/gnuauto/setup.sh from the top-level Tidy -directory. This script will copy the appropriate -Makefile.am files into each source directory, along with -configure.in. - -If the script was successful you should now be able -to build in the usual way: - - $ ./configure --prefix=/usr - $ make - $ make install - -to get a list of configure options type: ./configure --help - -Alternatively, you should be able to build outside of the source -tree. e.g.: - - $ mkdir ../build-tidy - $ cd ../build-tidy - $ ../tidy/configure --prefix=/usr - $ make - $ make install - diff --git a/build/gnuauto/setup.sh b/build/gnuauto/setup.sh deleted file mode 100644 index b720dc6..0000000 --- a/build/gnuauto/setup.sh +++ /dev/null @@ -1,56 +0,0 @@ -#!/bin/sh - -if ! test -f build/gnuauto/setup.sh; then - - echo "" - echo "* * * Execute this script from the top source directory, e.g.:" - echo "" - echo " $ /bin/sh build/gnuauto/setup.sh" - echo "" - -else - - for i in libtoolize glibtoolize - do - ( $i --version) < /dev/null > /dev/null 2>&1 && - LIBTOOLIZE=$i - done - if test -z "$LIBTOOLIZE" ; then - echo "You need libtoolize to continue" - exit 1; - fi - top_srcdir=`pwd` - echo "" - echo "Generating the build system in $top_srcdir" - echo "" - echo "copying files into place: cd build/gnuauto && cp -R -f * $top_srcdir" - (cd build/gnuauto && cp -R -f * $top_srcdir) - echo "running: $LIBTOOLIZE --force --copy" - $LIBTOOLIZE --force --copy - echo "running: aclocal" - aclocal - echo "running: automake -a -c --foreign" - automake -a -c --foreign - echo "running: autoconf" - autoconf - echo "" - echo "If the above commands were successful you should now be able" - echo "to build in the usual way:" - echo "" - echo " $ ./configure --prefix=/usr" - echo " $ make" - echo " $ make install" - echo "" - echo "to get a list of configure options type: ./configure --help" - echo "" - echo "Alternatively, you should be able to build outside of the source" - echo "tree. e.g.:" - echo "" - echo " $ mkdir ../build-tidy" - echo " $ cd ../build-tidy" - echo " $ ../tidy/configure --prefix=/usr" - echo " $ make" - echo " $ make install" - echo "" - -fi diff --git a/build/gnuauto/src/Makefile.am b/build/gnuauto/src/Makefile.am deleted file mode 100644 index db315fc..0000000 --- a/build/gnuauto/src/Makefile.am +++ /dev/null @@ -1,75 +0,0 @@ -# Makefile [Makefile.am] - for tidy - HTML parser and pretty printer -# -# Copyright (c) 1998-2008 World Wide Web Consortium -# (Massachusetts Institute of Technology, European Research -# Consortium for Informatics and Mathematics, Keio University). -# All Rights Reserved. -# -# Contributing Author(s): -# -# Dave Raggett -# Terry Teague -# Pradeep Padala -# -# The contributing author(s) would like to thank all those who -# helped with testing, bug fixes, and patience. This wouldn't -# have been possible without all of you. -# -# COPYRIGHT NOTICE: -# -# This software and documentation is provided "as is," and -# the copyright holders and contributing author(s) make no -# representations or warranties, express or implied, including -# but not limited to, warranties of merchantability or fitness -# for any particular purpose or that the use of the software or -# documentation will not infringe any third party patents, -# copyrights, trademarks or other rights. -# -# The copyright holders and contributing author(s) will not be -# liable for any direct, indirect, special or consequential damages -# arising out of any use of the software or documentation, even if -# advised of the possibility of such damage. -# -# Permission is hereby granted to use, copy, modify, and distribute -# this source code, or portions hereof, documentation and executables, -# for any purpose, without fee, subject to the following restrictions: -# -# 1. The origin of this source code must not be misrepresented. -# 2. Altered versions must be plainly marked as such and must -# not be misrepresented as being the original source. -# 3. This Copyright notice may not be removed or altered from any -# source or altered source distribution. -# -# The copyright holders and contributing author(s) specifically -# permit, without fee, and encourage the use of this source code -# as a component for supporting the Hypertext Markup Language in -# commercial products. If you use this source code in a product, -# acknowledgment is not required but would be appreciated. -# - -AM_CFLAGS = @CFLAGS@ @WARNING_CFLAGS@ - -INCLUDES = -I$(top_srcdir)/include - -lib_LTLIBRARIES = libtidy.la - -libtidy_la_SOURCES = \ - access.c attrs.c istack.c parser.c \ - tags.c entities.c lexer.c pprint.c \ - clean.c localize.c config.c alloc.c \ - attrask.c attrdict.c attrget.c buffio.c \ - fileio.c streamio.c tagask.c tmbstr.c \ - utf8.c tidylib.c mappedio.c gdoc.c - -libtidy_la_LDFLAGS = \ - -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \ - -release $(LT_RELEASE) -no-undefined -export-dynamic - -HFILES = \ - access.h attrdict.h attrs.h clean.h \ - config.h entities.h fileio.h forward.h \ - lexer.h mappedio.h message.h parser.h \ - pprint.h streamio.h tags.h tmbstr.h \ - utf8.h tidy-int.h version.h gdoc.h - -EXTRA_DIST = $(HFILES) diff --git a/build/msvc/tidy.def b/build/msvc/tidy.def deleted file mode 100755 index 4aa732d..0000000 --- a/build/msvc/tidy.def +++ /dev/null @@ -1,304 +0,0 @@ -LIBRARY libtidy - EXPORTS - tidyCreate @1001 - tidyRelease @1002 - tidySetAppData @1003 - tidyGetAppData @1004 - tidyReleaseDate @1005 - tidyStatus @1006 - tidyDetectedHtmlVersion @1007 - tidyDetectedXhtml @1008 - tidyDetectedGenericXml @1009 - tidyErrorCount @1010 - tidyWarningCount @1011 - tidyAccessWarningCount @1012 - tidyConfigErrorCount @1013 - tidyLoadConfig @1014 - tidyLoadConfigEnc @1015 - tidyFileExists @1016 - tidySetCharEncoding @1017 - tidySetInCharEncoding @1018 - tidySetOutCharEncoding @1019 - tidySetOptionCallback @1020 - tidyOptGetIdForName @1021 - tidyGetOptionList @1022 - tidyGetNextOption @1023 - tidyGetOption @1024 - tidyGetOptionByName @1025 - tidyOptGetId @1026 - tidyOptGetName @1027 - tidyOptGetType @1028 - tidyOptIsReadOnly @1029 - tidyOptGetCategory @1030 - tidyOptGetDefault @1031 - tidyOptGetDefaultInt @1032 - tidyOptGetDefaultBool @1033 - tidyOptGetPickList @1034 - tidyOptGetNextPick @1035 - tidyOptGetValue @1036 - tidyOptSetValue @1037 - tidyOptParseValue @1038 - tidyOptGetInt @1039 - tidyOptSetInt @1040 - tidyOptGetBool @1041 - tidyOptSetBool @1042 - tidyOptResetToDefault @1043 - tidyOptResetAllToDefault @1044 - tidyOptSnapshot @1045 - tidyOptResetToSnapshot @1046 - tidyOptDiffThanDefault @1047 - tidyOptDiffThanSnapshot @1048 - tidyOptCopyConfig @1049 - tidyOptGetEncName @1050 - tidyOptGetCurrPick @1051 - tidyOptGetDeclTagList @1052 - tidyOptGetNextDeclTag @1053 - tidyOptGetDoc @1054 - tidyOptGetDocLinksList @1055 - tidyOptGetNextDocLinks @1056 - tidyInitSource @1057 - tidyGetByte @1058 - tidyUngetByte @1059 - tidyIsEOF @1060 - tidyInitSink @1061 - tidyPutByte @1062 - tidySetReportFilter @1063 - tidySetErrorFile @1064 - tidySetErrorBuffer @1065 - tidySetErrorSink @1066 - tidySetMallocCall @1067 - tidySetReallocCall @1068 - tidySetFreeCall @1069 - tidySetPanicCall @1070 - tidyParseFile @1071 - tidyParseStdin @1072 - tidyParseString @1073 - tidyParseBuffer @1074 - tidyParseSource @1075 - tidyCleanAndRepair @1076 - tidyRunDiagnostics @1077 - tidySaveFile @1078 - tidySaveStdout @1079 - tidySaveBuffer @1080 - tidySaveString @1081 - tidySaveSink @1082 - tidyOptSaveFile @1083 - tidyOptSaveSink @1084 - tidyErrorSummary @1085 - tidyGeneralInfo @1086 - tidyGetRoot @1087 - tidyGetHtml @1088 - tidyGetHead @1089 - tidyGetBody @1090 - tidyGetParent @1091 - tidyGetChild @1092 - tidyGetNext @1093 - tidyGetPrev @1094 - tidyAttrFirst @1095 - tidyAttrNext @1096 - tidyAttrName @1097 - tidyAttrValue @1098 - tidyNodeGetType @1099 - tidyNodeGetName @1100 - tidyNodeIsText @1101 - tidyNodeIsProp @1102 - tidyNodeIsHeader @1103 - tidyNodeHasText @1104 - tidyNodeGetText @1105 - tidyNodeGetId @1106 - tidyNodeLine @1107 - tidyNodeColumn @1108 - tidyNodeIsHTML @1109 - tidyNodeIsHEAD @1110 - tidyNodeIsTITLE @1111 - tidyNodeIsBASE @1112 - tidyNodeIsMETA @1113 - tidyNodeIsBODY @1114 - tidyNodeIsFRAMESET @1115 - tidyNodeIsFRAME @1116 - tidyNodeIsIFRAME @1117 - tidyNodeIsNOFRAMES @1118 - tidyNodeIsHR @1119 - tidyNodeIsH1 @1120 - tidyNodeIsH2 @1121 - tidyNodeIsPRE @1122 - tidyNodeIsLISTING @1123 - tidyNodeIsP @1124 - tidyNodeIsUL @1125 - tidyNodeIsOL @1126 - tidyNodeIsDL @1127 - tidyNodeIsDIR @1128 - tidyNodeIsLI @1129 - tidyNodeIsDT @1130 - tidyNodeIsDD @1131 - tidyNodeIsTABLE @1132 - tidyNodeIsCAPTION @1133 - tidyNodeIsTD @1134 - tidyNodeIsTH @1135 - tidyNodeIsTR @1136 - tidyNodeIsCOL @1137 - tidyNodeIsCOLGROUP @1138 - tidyNodeIsBR @1139 - tidyNodeIsA @1140 - tidyNodeIsLINK @1141 - tidyNodeIsB @1142 - tidyNodeIsI @1143 - tidyNodeIsSTRONG @1144 - tidyNodeIsEM @1145 - tidyNodeIsBIG @1146 - tidyNodeIsSMALL @1147 - tidyNodeIsPARAM @1148 - tidyNodeIsOPTION @1149 - tidyNodeIsOPTGROUP @1150 - tidyNodeIsIMG @1151 - tidyNodeIsMAP @1152 - tidyNodeIsAREA @1153 - tidyNodeIsNOBR @1154 - tidyNodeIsWBR @1155 - tidyNodeIsFONT @1156 - tidyNodeIsLAYER @1157 - tidyNodeIsSPACER @1158 - tidyNodeIsCENTER @1159 - tidyNodeIsSTYLE @1160 - tidyNodeIsSCRIPT @1161 - tidyNodeIsNOSCRIPT @1162 - tidyNodeIsFORM @1163 - tidyNodeIsTEXTAREA @1164 - tidyNodeIsBLOCKQUOTE @1165 - tidyNodeIsAPPLET @1166 - tidyNodeIsOBJECT @1167 - tidyNodeIsDIV @1168 - tidyNodeIsSPAN @1169 - tidyNodeIsINPUT @1170 - tidyNodeIsQ @1171 - tidyNodeIsLABEL @1172 - tidyNodeIsH3 @1173 - tidyNodeIsH4 @1174 - tidyNodeIsH5 @1175 - tidyNodeIsH6 @1176 - tidyNodeIsADDRESS @1177 - tidyNodeIsXMP @1178 - tidyNodeIsSELECT @1179 - tidyNodeIsBLINK @1180 - tidyNodeIsMARQUEE @1181 - tidyNodeIsEMBED @1182 - tidyNodeIsBASEFONT @1183 - tidyNodeIsISINDEX @1184 - tidyNodeIsS @1185 - tidyNodeIsSTRIKE @1186 - tidyNodeIsU @1187 - tidyNodeIsMENU @1188 - tidyAttrGetId @1189 - tidyAttrIsEvent @1190 - tidyAttrIsProp @1191 - tidyAttrIsHREF @1192 - tidyAttrIsSRC @1193 - tidyAttrIsID @1194 - tidyAttrIsNAME @1195 - tidyAttrIsSUMMARY @1196 - tidyAttrIsALT @1197 - tidyAttrIsLONGDESC @1198 - tidyAttrIsUSEMAP @1199 - tidyAttrIsISMAP @1200 - tidyAttrIsLANGUAGE @1201 - tidyAttrIsTYPE @1202 - tidyAttrIsVALUE @1203 - tidyAttrIsCONTENT @1204 - tidyAttrIsTITLE @1205 - tidyAttrIsXMLNS @1206 - tidyAttrIsDATAFLD @1207 - tidyAttrIsWIDTH @1208 - tidyAttrIsHEIGHT @1209 - tidyAttrIsFOR @1210 - tidyAttrIsSELECTED @1211 - tidyAttrIsCHECKED @1212 - tidyAttrIsLANG @1213 - tidyAttrIsTARGET @1214 - tidyAttrIsHTTP_EQUIV @1215 - tidyAttrIsREL @1216 - tidyAttrIsOnMOUSEMOVE @1217 - tidyAttrIsOnMOUSEDOWN @1218 - tidyAttrIsOnMOUSEUP @1219 - tidyAttrIsOnCLICK @1220 - tidyAttrIsOnMOUSEOVER @1221 - tidyAttrIsOnMOUSEOUT @1222 - tidyAttrIsOnKEYDOWN @1223 - tidyAttrIsOnKEYUP @1224 - tidyAttrIsOnKEYPRESS @1225 - tidyAttrIsOnFOCUS @1226 - tidyAttrIsOnBLUR @1227 - tidyAttrIsBGCOLOR @1228 - tidyAttrIsLINK @1229 - tidyAttrIsALINK @1230 - tidyAttrIsVLINK @1231 - tidyAttrIsTEXT @1232 - tidyAttrIsSTYLE @1233 - tidyAttrIsABBR @1234 - tidyAttrIsCOLSPAN @1235 - tidyAttrIsROWSPAN @1236 - tidyAttrGetById @1237 - tidyAttrGetHREF @1238 - tidyAttrGetSRC @1239 - tidyAttrGetID @1240 - tidyAttrGetNAME @1241 - tidyAttrGetSUMMARY @1242 - tidyAttrGetALT @1243 - tidyAttrGetLONGDESC @1244 - tidyAttrGetUSEMAP @1245 - tidyAttrGetISMAP @1246 - tidyAttrGetLANGUAGE @1247 - tidyAttrGetTYPE @1248 - tidyAttrGetVALUE @1249 - tidyAttrGetCONTENT @1250 - tidyAttrGetTITLE @1251 - tidyAttrGetXMLNS @1252 - tidyAttrGetDATAFLD @1253 - tidyAttrGetWIDTH @1254 - tidyAttrGetHEIGHT @1255 - tidyAttrGetFOR @1256 - tidyAttrGetSELECTED @1257 - tidyAttrGetCHECKED @1258 - tidyAttrGetLANG @1259 - tidyAttrGetTARGET @1260 - tidyAttrGetHTTP_EQUIV @1261 - tidyAttrGetREL @1262 - tidyAttrGetOnMOUSEMOVE @1263 - tidyAttrGetOnMOUSEDOWN @1264 - tidyAttrGetOnMOUSEUP @1265 - tidyAttrGetOnCLICK @1266 - tidyAttrGetOnMOUSEOVER @1267 - tidyAttrGetOnMOUSEOUT @1268 - tidyAttrGetOnKEYDOWN @1269 - tidyAttrGetOnKEYUP @1270 - tidyAttrGetOnKEYPRESS @1271 - tidyAttrGetOnFOCUS @1272 - tidyAttrGetOnBLUR @1273 - tidyAttrGetBGCOLOR @1274 - tidyAttrGetLINK @1275 - tidyAttrGetALINK @1276 - tidyAttrGetVLINK @1277 - tidyAttrGetTEXT @1278 - tidyAttrGetSTYLE @1279 - tidyAttrGetABBR @1280 - tidyAttrGetCOLSPAN @1281 - tidyAttrGetROWSPAN @1282 - tidyCreateWithAllocator @1283 - - tidyInitInputBuffer @2001 - tidyInitOutputBuffer @2002 - tidyBufInit @2003 - tidyBufAlloc @2004 - tidyBufCheckAlloc @2005 - tidyBufFree @2006 - tidyBufClear @2007 - tidyBufAttach @2008 - tidyBufDetach @2009 - tidyBufAppend @2010 - tidyBufPutByte @2011 - tidyBufPopByte @2012 - tidyBufGetByte @2013 - tidyBufEndOfInput @2014 - tidyBufUngetByte @2015 - tidyBufInitWithAllocator @2016 - tidyBufAllocWithAllocator @2017 - tidyNodeGetValue @2018 diff --git a/build/msvc/tidy.dsp b/build/msvc/tidy.dsp deleted file mode 100644 index f405688..0000000 --- a/build/msvc/tidy.dsp +++ /dev/null @@ -1,94 +0,0 @@ -# Microsoft Developer Studio Project File - Name="tidy" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=tidy - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "tidy.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "tidy.mak" CFG="tidy - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "tidy - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "tidy - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "tidy - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MT /Za /W3 /GX /O2 /I "..\..\include" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D SUPPORT_UTF16_ENCODINGS=1 /D SUPPORT_ASIAN_ENCODINGS=1 /D SUPPORT_ACCESSIBILITY_CHECKS=1 /D TIDYDLL_EXPORT=__declspec(dllimport) /D _CRT_SECURE_NO_DEPRECATE /YX /FD /c -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /profile /map /machine:I386 - -!ELSEIF "$(CFG)" == "tidy - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /MTd /Za /W3 /Gm /GX /ZI /Od /I "..\..\include" /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D SUPPORT_UTF16_ENCODINGS=1 /D SUPPORT_ASIAN_ENCODINGS=1 /D SUPPORT_ACCESSIBILITY_CHECKS=1 /D TIDYDLL_EXPORT=__declspec(dllimport) /D _CRT_SECURE_NO_DEPRECATE /YX /FD /GZ /c -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "tidy - Win32 Release" -# Name "tidy - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=..\..\console\tidy.c -# End Source File -# End Group -# End Target -# End Project diff --git a/build/msvc/tidy.dsw b/build/msvc/tidy.dsw deleted file mode 100644 index 0567970..0000000 --- a/build/msvc/tidy.dsw +++ /dev/null @@ -1,56 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "tidy"=.\tidy.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name tidylib - End Project Dependency -}}} - -############################################################################### - -Project: "tidydll"=.\tidydll.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "tidylib"=.\tidylib.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/build/msvc/tidydll.dsp b/build/msvc/tidydll.dsp deleted file mode 100644 index 41548ea..0000000 --- a/build/msvc/tidydll.dsp +++ /dev/null @@ -1,296 +0,0 @@ -# Microsoft Developer Studio Project File - Name="tidydll" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 - -CFG=tidydll - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "tidydll.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "tidydll.mak" CFG="tidydll - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "tidydll - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "tidydll - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "tidydll - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "tidydll___Win32_Release" -# PROP BASE Intermediate_Dir "tidydll___Win32_Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "ReleaseDLL" -# PROP Intermediate_Dir "ReleaseDLL" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "TIDYDLL_EXPORTS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "TIDYDLL_EXPORTS" /D SUPPORT_UTF16_ENCODINGS=1 /D SUPPORT_ASIAN_ENCODINGS=1 /D SUPPORT_ACCESSIBILITY_CHECKS=1 /YX /FD /c -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"ReleaseDLL/libtidy.dll" - -!ELSEIF "$(CFG)" == "tidydll - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "tidydll___Win32_Debug" -# PROP BASE Intermediate_Dir "tidydll___Win32_Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "DebugDLL" -# PROP Intermediate_Dir "DebugDLL" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "TIDYDLL_EXPORTS" /YX /FD /GZ /c -# ADD CPP /nologo /MDd /W3 /ZI /Od /I "..\..\include" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D SUPPORT_UTF16_ENCODINGS=1 /D SUPPORT_ASIAN_ENCODINGS=1 /D SUPPORT_ACCESSIBILITY_CHECKS=1 /FD /GZ /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"DebugDLL/libtidy.dll" /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "tidydll - Win32 Release" -# Name "tidydll - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=..\..\src\access.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\alloc.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\attrask.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\attrdict.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\attrget.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\attrs.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\buffio.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\clean.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\config.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\entities.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\fileio.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\istack.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\lexer.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\localize.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\mappedio.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\parser.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\pprint.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\streamio.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\tagask.c -# End Source File -# Begin Source File - -SOURCE=.\tidy.def -# End Source File -# Begin Source File - -SOURCE=..\..\src\tags.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\tidylib.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\tmbstr.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\utf8.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\win32tc.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=..\..\src\access.h -# End Source File -# Begin Source File - -SOURCE=..\..\src\attrdict.h -# End Source File -# Begin Source File - -SOURCE=..\..\src\attrs.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\buffio.h -# End Source File -# Begin Source File - -SOURCE=..\..\src\clean.h -# End Source File -# Begin Source File - -SOURCE=..\..\src\config.h -# End Source File -# Begin Source File - -SOURCE=..\..\src\entities.h -# End Source File -# Begin Source File - -SOURCE=..\..\src\fileio.h -# End Source File -# Begin Source File - -SOURCE=..\..\src\forward.h -# End Source File -# Begin Source File - -SOURCE=..\..\src\lexer.h -# End Source File -# Begin Source File - -SOURCE=..\..\src\mappedio.h -# End Source File -# Begin Source File - -SOURCE=..\..\src\message.h -# End Source File -# Begin Source File - -SOURCE=..\..\src\parser.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\platform.h -# End Source File -# Begin Source File - -SOURCE=..\..\src\pprint.h -# End Source File -# Begin Source File - -SOURCE=..\..\src\streamio.h -# End Source File -# Begin Source File - -SOURCE=..\..\src\tags.h -# End Source File -# Begin Source File - -SOURCE="..\..\src\tidy-int.h" -# End Source File -# Begin Source File - -SOURCE=..\..\include\tidy.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\tidyenum.h -# End Source File -# Begin Source File - -SOURCE=..\..\src\tmbstr.h -# End Source File -# Begin Source File - -SOURCE=..\..\src\utf8.h -# End Source File -# Begin Source File - -SOURCE=..\..\src\version.h -# End Source File -# Begin Source File - -SOURCE=..\..\src\win32tc.h -# End Source File -# End Group -# End Target -# End Project diff --git a/build/msvc/tidylib.dsp b/build/msvc/tidylib.dsp deleted file mode 100644 index 3e9dd65..0000000 --- a/build/msvc/tidylib.dsp +++ /dev/null @@ -1,295 +0,0 @@ -# Microsoft Developer Studio Project File - Name="tidylib" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Static Library" 0x0104 - -CFG=tidylib - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "tidylib.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "tidylib.mak" CFG="tidylib - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "tidylib - Win32 Release" (based on "Win32 (x86) Static Library") -!MESSAGE "tidylib - Win32 Debug" (based on "Win32 (x86) Static Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "tidylib - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "Release" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c -# ADD CPP /nologo /MT /W4 /GX /O2 /I "../../include" /D "NDEBUG" /D "_LIB" /D "WIN32" /D "_MBCS" /D "SUPPORT_UTF16_ENCODINGS" /D "SUPPORT_ASIAN_ENCODINGS" /D "SUPPORT_ACCESSIBILITY_CHECKS" /FD /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo /out:"Release\libtidy.lib" - -!ELSEIF "$(CFG)" == "tidylib - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c -# ADD CPP /nologo /MTd /Za /W4 /Gm /ZI /Od /I "../../include" /D "_DEBUG" /D "_WIN32" /D "_LIB" /D "WIN32" /D "_MBCS" /D "SUPPORT_UTF16_ENCODINGS" /D "SUPPORT_ASIAN_ENCODINGS" /D "SUPPORT_ACCESSIBILITY_CHECKS" /U "WINDOWS" /FD /GZ /c -# SUBTRACT CPP /YX -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo /out:"Debug\libtidy.lib" - -!ENDIF - -# Begin Target - -# Name "tidylib - Win32 Release" -# Name "tidylib - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=..\..\src\access.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\alloc.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\attrask.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\attrdict.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\attrget.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\attrs.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\buffio.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\clean.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\config.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\entities.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\fileio.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\istack.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\lexer.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\localize.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\mappedio.c - -!IF "$(CFG)" == "tidylib - Win32 Release" - -!ELSEIF "$(CFG)" == "tidylib - Win32 Debug" - -# ADD CPP /Ze - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\..\src\parser.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\pprint.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\streamio.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\tagask.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\tags.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\tidylib.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\tmbstr.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\utf8.c -# End Source File -# Begin Source File - -SOURCE=..\..\src\win32tc.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=..\..\src\access.h -# End Source File -# Begin Source File - -SOURCE=..\..\src\attrdict.h -# End Source File -# Begin Source File - -SOURCE=..\..\src\attrs.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\buffio.h -# End Source File -# Begin Source File - -SOURCE=..\..\src\clean.h -# End Source File -# Begin Source File - -SOURCE=..\..\src\config.h -# End Source File -# Begin Source File - -SOURCE=..\..\src\entities.h -# End Source File -# Begin Source File - -SOURCE=..\..\src\fileio.h -# End Source File -# Begin Source File - -SOURCE=..\..\src\forward.h -# End Source File -# Begin Source File - -SOURCE=..\..\src\lexer.h -# End Source File -# Begin Source File - -SOURCE=..\..\src\mappedio.h -# End Source File -# Begin Source File - -SOURCE=..\..\src\message.h -# End Source File -# Begin Source File - -SOURCE=..\..\src\parser.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\platform.h -# End Source File -# Begin Source File - -SOURCE=..\..\src\pprint.h -# End Source File -# Begin Source File - -SOURCE=..\..\src\streamio.h -# End Source File -# Begin Source File - -SOURCE=..\..\src\tags.h -# End Source File -# Begin Source File - -SOURCE="..\..\src\tidy-int.h" -# End Source File -# Begin Source File - -SOURCE=..\..\include\tidy.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\tidyenum.h -# End Source File -# Begin Source File - -SOURCE=..\..\src\tmbstr.h -# End Source File -# Begin Source File - -SOURCE=..\..\src\utf8.h -# End Source File -# Begin Source File - -SOURCE=..\..\src\version.h -# End Source File -# Begin Source File - -SOURCE=..\..\src\win32tc.h -# End Source File -# End Group -# End Target -# End Project diff --git a/build/msvc2010/tidy.def b/build/msvc2010/tidy.def deleted file mode 100644 index 317b540..0000000 --- a/build/msvc2010/tidy.def +++ /dev/null @@ -1,304 +0,0 @@ -LIBRARY libtidy - EXPORTS - tidyCreate @1001 - tidyRelease @1002 - tidySetAppData @1003 - tidyGetAppData @1004 - tidyReleaseDate @1005 - tidyStatus @1006 - tidyDetectedHtmlVersion @1007 - tidyDetectedXhtml @1008 - tidyDetectedGenericXml @1009 - tidyErrorCount @1010 - tidyWarningCount @1011 - tidyAccessWarningCount @1012 - tidyConfigErrorCount @1013 - tidyLoadConfig @1014 - tidyLoadConfigEnc @1015 - tidyFileExists @1016 - tidySetCharEncoding @1017 - tidySetInCharEncoding @1018 - tidySetOutCharEncoding @1019 - tidySetOptionCallback @1020 - tidyOptGetIdForName @1021 - tidyGetOptionList @1022 - tidyGetNextOption @1023 - tidyGetOption @1024 - tidyGetOptionByName @1025 - tidyOptGetId @1026 - tidyOptGetName @1027 - tidyOptGetType @1028 - tidyOptIsReadOnly @1029 - tidyOptGetCategory @1030 - tidyOptGetDefault @1031 - tidyOptGetDefaultInt @1032 - tidyOptGetDefaultBool @1033 - tidyOptGetPickList @1034 - tidyOptGetNextPick @1035 - tidyOptGetValue @1036 - tidyOptSetValue @1037 - tidyOptParseValue @1038 - tidyOptGetInt @1039 - tidyOptSetInt @1040 - tidyOptGetBool @1041 - tidyOptSetBool @1042 - tidyOptResetToDefault @1043 - tidyOptResetAllToDefault @1044 - tidyOptSnapshot @1045 - tidyOptResetToSnapshot @1046 - tidyOptDiffThanDefault @1047 - tidyOptDiffThanSnapshot @1048 - tidyOptCopyConfig @1049 - tidyOptGetEncName @1050 - tidyOptGetCurrPick @1051 - tidyOptGetDeclTagList @1052 - tidyOptGetNextDeclTag @1053 - tidyOptGetDoc @1054 - tidyOptGetDocLinksList @1055 - tidyOptGetNextDocLinks @1056 - tidyInitSource @1057 - tidyGetByte @1058 - tidyUngetByte @1059 - tidyIsEOF @1060 - tidyInitSink @1061 - tidyPutByte @1062 - tidySetReportFilter @1063 - tidySetErrorFile @1064 - tidySetErrorBuffer @1065 - tidySetErrorSink @1066 - tidySetMallocCall @1067 - tidySetReallocCall @1068 - tidySetFreeCall @1069 - tidySetPanicCall @1070 - tidyParseFile @1071 - tidyParseStdin @1072 - tidyParseString @1073 - tidyParseBuffer @1074 - tidyParseSource @1075 - tidyCleanAndRepair @1076 - tidyRunDiagnostics @1077 - tidySaveFile @1078 - tidySaveStdout @1079 - tidySaveBuffer @1080 - tidySaveString @1081 - tidySaveSink @1082 - tidyOptSaveFile @1083 - tidyOptSaveSink @1084 - tidyErrorSummary @1085 - tidyGeneralInfo @1086 - tidyGetRoot @1087 - tidyGetHtml @1088 - tidyGetHead @1089 - tidyGetBody @1090 - tidyGetParent @1091 - tidyGetChild @1092 - tidyGetNext @1093 - tidyGetPrev @1094 - tidyAttrFirst @1095 - tidyAttrNext @1096 - tidyAttrName @1097 - tidyAttrValue @1098 - tidyNodeGetType @1099 - tidyNodeGetName @1100 - tidyNodeIsText @1101 - tidyNodeIsProp @1102 - tidyNodeIsHeader @1103 - tidyNodeHasText @1104 - tidyNodeGetText @1105 - tidyNodeGetId @1106 - tidyNodeLine @1107 - tidyNodeColumn @1108 - tidyNodeIsHTML @1109 - tidyNodeIsHEAD @1110 - tidyNodeIsTITLE @1111 - tidyNodeIsBASE @1112 - tidyNodeIsMETA @1113 - tidyNodeIsBODY @1114 - tidyNodeIsFRAMESET @1115 - tidyNodeIsFRAME @1116 - tidyNodeIsIFRAME @1117 - tidyNodeIsNOFRAMES @1118 - tidyNodeIsHR @1119 - tidyNodeIsH1 @1120 - tidyNodeIsH2 @1121 - tidyNodeIsPRE @1122 - tidyNodeIsLISTING @1123 - tidyNodeIsP @1124 - tidyNodeIsUL @1125 - tidyNodeIsOL @1126 - tidyNodeIsDL @1127 - tidyNodeIsDIR @1128 - tidyNodeIsLI @1129 - tidyNodeIsDT @1130 - tidyNodeIsDD @1131 - tidyNodeIsTABLE @1132 - tidyNodeIsCAPTION @1133 - tidyNodeIsTD @1134 - tidyNodeIsTH @1135 - tidyNodeIsTR @1136 - tidyNodeIsCOL @1137 - tidyNodeIsCOLGROUP @1138 - tidyNodeIsBR @1139 - tidyNodeIsA @1140 - tidyNodeIsLINK @1141 - tidyNodeIsB @1142 - tidyNodeIsI @1143 - tidyNodeIsSTRONG @1144 - tidyNodeIsEM @1145 - tidyNodeIsBIG @1146 - tidyNodeIsSMALL @1147 - tidyNodeIsPARAM @1148 - tidyNodeIsOPTION @1149 - tidyNodeIsOPTGROUP @1150 - tidyNodeIsIMG @1151 - tidyNodeIsMAP @1152 - tidyNodeIsAREA @1153 - tidyNodeIsNOBR @1154 - tidyNodeIsWBR @1155 - tidyNodeIsFONT @1156 - tidyNodeIsLAYER @1157 - tidyNodeIsSPACER @1158 - tidyNodeIsCENTER @1159 - tidyNodeIsSTYLE @1160 - tidyNodeIsSCRIPT @1161 - tidyNodeIsNOSCRIPT @1162 - tidyNodeIsFORM @1163 - tidyNodeIsTEXTAREA @1164 - tidyNodeIsBLOCKQUOTE @1165 - tidyNodeIsAPPLET @1166 - tidyNodeIsOBJECT @1167 - tidyNodeIsDIV @1168 - tidyNodeIsSPAN @1169 - tidyNodeIsINPUT @1170 - tidyNodeIsQ @1171 - tidyNodeIsLABEL @1172 - tidyNodeIsH3 @1173 - tidyNodeIsH4 @1174 - tidyNodeIsH5 @1175 - tidyNodeIsH6 @1176 - tidyNodeIsADDRESS @1177 - tidyNodeIsXMP @1178 - tidyNodeIsSELECT @1179 - tidyNodeIsBLINK @1180 - tidyNodeIsMARQUEE @1181 - tidyNodeIsEMBED @1182 - tidyNodeIsBASEFONT @1183 - tidyNodeIsISINDEX @1184 - tidyNodeIsS @1185 - tidyNodeIsSTRIKE @1186 - tidyNodeIsU @1187 - tidyNodeIsMENU @1188 - tidyAttrGetId @1189 - tidyAttrIsEvent @1190 - tidyAttrIsProp @1191 - tidyAttrIsHREF @1192 - tidyAttrIsSRC @1193 - tidyAttrIsID @1194 - tidyAttrIsNAME @1195 - tidyAttrIsSUMMARY @1196 - tidyAttrIsALT @1197 - tidyAttrIsLONGDESC @1198 - tidyAttrIsUSEMAP @1199 - tidyAttrIsISMAP @1200 - tidyAttrIsLANGUAGE @1201 - tidyAttrIsTYPE @1202 - tidyAttrIsVALUE @1203 - tidyAttrIsCONTENT @1204 - tidyAttrIsTITLE @1205 - tidyAttrIsXMLNS @1206 - tidyAttrIsDATAFLD @1207 - tidyAttrIsWIDTH @1208 - tidyAttrIsHEIGHT @1209 - tidyAttrIsFOR @1210 - tidyAttrIsSELECTED @1211 - tidyAttrIsCHECKED @1212 - tidyAttrIsLANG @1213 - tidyAttrIsTARGET @1214 - tidyAttrIsHTTP_EQUIV @1215 - tidyAttrIsREL @1216 - tidyAttrIsOnMOUSEMOVE @1217 - tidyAttrIsOnMOUSEDOWN @1218 - tidyAttrIsOnMOUSEUP @1219 - tidyAttrIsOnCLICK @1220 - tidyAttrIsOnMOUSEOVER @1221 - tidyAttrIsOnMOUSEOUT @1222 - tidyAttrIsOnKEYDOWN @1223 - tidyAttrIsOnKEYUP @1224 - tidyAttrIsOnKEYPRESS @1225 - tidyAttrIsOnFOCUS @1226 - tidyAttrIsOnBLUR @1227 - tidyAttrIsBGCOLOR @1228 - tidyAttrIsLINK @1229 - tidyAttrIsALINK @1230 - tidyAttrIsVLINK @1231 - tidyAttrIsTEXT @1232 - tidyAttrIsSTYLE @1233 - tidyAttrIsABBR @1234 - tidyAttrIsCOLSPAN @1235 - tidyAttrIsROWSPAN @1236 - tidyAttrGetById @1237 - tidyAttrGetHREF @1238 - tidyAttrGetSRC @1239 - tidyAttrGetID @1240 - tidyAttrGetNAME @1241 - tidyAttrGetSUMMARY @1242 - tidyAttrGetALT @1243 - tidyAttrGetLONGDESC @1244 - tidyAttrGetUSEMAP @1245 - tidyAttrGetISMAP @1246 - tidyAttrGetLANGUAGE @1247 - tidyAttrGetTYPE @1248 - tidyAttrGetVALUE @1249 - tidyAttrGetCONTENT @1250 - tidyAttrGetTITLE @1251 - tidyAttrGetXMLNS @1252 - tidyAttrGetDATAFLD @1253 - tidyAttrGetWIDTH @1254 - tidyAttrGetHEIGHT @1255 - tidyAttrGetFOR @1256 - tidyAttrGetSELECTED @1257 - tidyAttrGetCHECKED @1258 - tidyAttrGetLANG @1259 - tidyAttrGetTARGET @1260 - tidyAttrGetHTTP_EQUIV @1261 - tidyAttrGetREL @1262 - tidyAttrGetOnMOUSEMOVE @1263 - tidyAttrGetOnMOUSEDOWN @1264 - tidyAttrGetOnMOUSEUP @1265 - tidyAttrGetOnCLICK @1266 - tidyAttrGetOnMOUSEOVER @1267 - tidyAttrGetOnMOUSEOUT @1268 - tidyAttrGetOnKEYDOWN @1269 - tidyAttrGetOnKEYUP @1270 - tidyAttrGetOnKEYPRESS @1271 - tidyAttrGetOnFOCUS @1272 - tidyAttrGetOnBLUR @1273 - tidyAttrGetBGCOLOR @1274 - tidyAttrGetLINK @1275 - tidyAttrGetALINK @1276 - tidyAttrGetVLINK @1277 - tidyAttrGetTEXT @1278 - tidyAttrGetSTYLE @1279 - tidyAttrGetABBR @1280 - tidyAttrGetCOLSPAN @1281 - tidyAttrGetROWSPAN @1282 - tidyCreateWithAllocator @1283 - - tidyInitInputBuffer @2001 - tidyInitOutputBuffer @2002 - tidyBufInit @2003 - tidyBufAlloc @2004 - tidyBufCheckAlloc @2005 - tidyBufFree @2006 - tidyBufClear @2007 - tidyBufAttach @2008 - tidyBufDetach @2009 - tidyBufAppend @2010 - tidyBufPutByte @2011 - tidyBufPopByte @2012 - tidyBufGetByte @2013 - tidyBufEndOfInput @2014 - tidyBufUngetByte @2015 - tidyBufInitWithAllocator @2016 - tidyBufAllocWithAllocator @2017 - tidyNodeGetValue @2018 diff --git a/build/msvc2010/tidy.sln b/build/msvc2010/tidy.sln deleted file mode 100644 index 0d41875..0000000 --- a/build/msvc2010/tidy.sln +++ /dev/null @@ -1,35 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 11.00 -# Visual Studio 2010 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tidy", "tidy.vcxproj", "{86771E17-F0DB-445E-AFE9-33EC8AA1E002}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tidydll", "tidydll.vcxproj", "{C9371CCA-E73B-4661-847C-EB45A234C5C7}" - ProjectSection(ProjectDependencies) = postProject - {A3EA53A3-86BB-4D0A-B999-D1EC9411DDD4} = {A3EA53A3-86BB-4D0A-B999-D1EC9411DDD4} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tidylib", "tidylib.vcxproj", "{A3EA53A3-86BB-4D0A-B999-D1EC9411DDD4}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Release|Win32 = Release|Win32 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {86771E17-F0DB-445E-AFE9-33EC8AA1E002}.Debug|Win32.ActiveCfg = Debug|Win32 - {86771E17-F0DB-445E-AFE9-33EC8AA1E002}.Debug|Win32.Build.0 = Debug|Win32 - {86771E17-F0DB-445E-AFE9-33EC8AA1E002}.Release|Win32.ActiveCfg = Release|Win32 - {86771E17-F0DB-445E-AFE9-33EC8AA1E002}.Release|Win32.Build.0 = Release|Win32 - {C9371CCA-E73B-4661-847C-EB45A234C5C7}.Debug|Win32.ActiveCfg = Debug|Win32 - {C9371CCA-E73B-4661-847C-EB45A234C5C7}.Debug|Win32.Build.0 = Debug|Win32 - {C9371CCA-E73B-4661-847C-EB45A234C5C7}.Release|Win32.ActiveCfg = Release|Win32 - {C9371CCA-E73B-4661-847C-EB45A234C5C7}.Release|Win32.Build.0 = Release|Win32 - {A3EA53A3-86BB-4D0A-B999-D1EC9411DDD4}.Debug|Win32.ActiveCfg = Debug|Win32 - {A3EA53A3-86BB-4D0A-B999-D1EC9411DDD4}.Debug|Win32.Build.0 = Debug|Win32 - {A3EA53A3-86BB-4D0A-B999-D1EC9411DDD4}.Release|Win32.ActiveCfg = Release|Win32 - {A3EA53A3-86BB-4D0A-B999-D1EC9411DDD4}.Release|Win32.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/build/msvc2010/tidy.vcxproj b/build/msvc2010/tidy.vcxproj deleted file mode 100644 index 95a3dfc..0000000 --- a/build/msvc2010/tidy.vcxproj +++ /dev/null @@ -1,138 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - - {86771E17-F0DB-445E-AFE9-33EC8AA1E002} - tidy - - - - Application - false - MultiByte - - - Application - false - MultiByte - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - false - true - AllRules.ruleset - - - AllRules.ruleset - - - - - - .\Release/tidy.tlb - - - - - MaxSpeed - OnlyExplicitInline - ..\..\include;%(AdditionalIncludeDirectories) - NDEBUG;WIN32;_CONSOLE;SUPPORT_UTF16_ENCODINGS=1;SUPPORT_ASIAN_ENCODINGS=1;SUPPORT_ACCESSIBILITY_CHECKS=1;TIDYDLL_EXPORT=__declspec(dllimport);_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions) - true - MultiThreaded - true - true - Level3 - true - - - NDEBUG;%(PreprocessorDefinitions) - 0x0409 - - - true - true - Console - false - - - MachineX86 - - - true - - - - - .\Debug/tidy.tlb - - - - - Disabled - ..\..\include;%(AdditionalIncludeDirectories) - _DEBUG;WIN32;_CONSOLE;SUPPORT_UTF16_ENCODINGS=1;SUPPORT_ASIAN_ENCODINGS=1;SUPPORT_ACCESSIBILITY_CHECKS=1;TIDYDLL_EXPORT=__declspec(dllimport);_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebug - true - Level3 - true - EditAndContinue - - - _DEBUG;%(PreprocessorDefinitions) - 0x0409 - - - true - true - Console - false - - - MachineX86 - - - true - - - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - - - {a3ea53a3-86bb-4d0a-b999-d1ec9411ddd4} - false - - - - - - \ No newline at end of file diff --git a/build/msvc2010/tidydll.vcxproj b/build/msvc2010/tidydll.vcxproj deleted file mode 100644 index 7d77b5c..0000000 --- a/build/msvc2010/tidydll.vcxproj +++ /dev/null @@ -1,316 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - - {C9371CCA-E73B-4661-847C-EB45A234C5C7} - tidydll - - - - DynamicLibrary - false - MultiByte - - - DynamicLibrary - false - MultiByte - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(SolutionDir)$(Configuration)$(MSBuildProjectName)\ - Obj\$(Configuration)$(MSBuildProjectName)\ - true - $(SolutionDir)$(Configuration)$(MSBuildProjectName)\ - Obj\$(Configuration)$(MSBuildProjectName)\ - false - AllRules.ruleset - - - AllRules.ruleset - - - libtidy.dll - libtidy - - - - _DEBUG;%(PreprocessorDefinitions) - true - true - Win32 - .\DebugDLL/tidydll.tlb - - - - - Disabled - ..\..\include;%(AdditionalIncludeDirectories) - _DEBUG;WIN32;_WINDOWS;_USRDLL;SUPPORT_UTF16_ENCODINGS=1;SUPPORT_ASIAN_ENCODINGS=1;SUPPORT_ACCESSIBILITY_CHECKS=1;%(PreprocessorDefinitions) - EnableFastChecks - MultiThreadedDebugDLL - Level3 - true - EditAndContinue - - - _DEBUG;%(PreprocessorDefinitions) - 0x0409 - - - true - .\tidy.def - true - false - - - MachineX86 - - - true - - - - - NDEBUG;%(PreprocessorDefinitions) - true - true - Win32 - .\ReleaseDLL/tidydll.tlb - - - - - MaxSpeed - OnlyExplicitInline - ..\..\include;%(AdditionalIncludeDirectories) - NDEBUG;WIN32;_WINDOWS;_USRDLL;TIDYDLL_EXPORTS;SUPPORT_UTF16_ENCODINGS=1;SUPPORT_ASIAN_ENCODINGS=1;SUPPORT_ACCESSIBILITY_CHECKS=1;%(PreprocessorDefinitions) - true - MultiThreadedDLL - true - Level3 - true - - - NDEBUG;%(PreprocessorDefinitions) - 0x0409 - - - true - .\tidy.def - false - - - MachineX86 - - - true - - - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/build/msvc2010/tidylib.vcxproj b/build/msvc2010/tidylib.vcxproj deleted file mode 100644 index 7116907..0000000 --- a/build/msvc2010/tidylib.vcxproj +++ /dev/null @@ -1,311 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - - {A3EA53A3-86BB-4D0A-B999-D1EC9411DDD4} - tidylib - - - - StaticLibrary - false - MultiByte - - - StaticLibrary - false - MultiByte - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(SolutionDir)$(Configuration)$(MSBuildProjectName)\ - $(Configuration)$(MSBuildProjectName)\ - AllRules.ruleset - - - AllRules.ruleset - - - libtidy - libtidy - $(SolutionDir)$(Configuration)$(MSBuildProjectName)\ - $(Configuration)$(MSBuildProjectName)\ - - - - MaxSpeed - OnlyExplicitInline - ../../include;%(AdditionalIncludeDirectories) - NDEBUG;_LIB;WIN32;SUPPORT_UTF16_ENCODINGS;SUPPORT_ASIAN_ENCODINGS;SUPPORT_ACCESSIBILITY_CHECKS;%(PreprocessorDefinitions) - true - MultiThreaded - true - Level4 - true - - - NDEBUG;%(PreprocessorDefinitions) - 0x0409 - - - true - - - true - - - - - Disabled - ../../include;%(AdditionalIncludeDirectories) - _DEBUG;_WIN32;_LIB;WIN32;SUPPORT_UTF16_ENCODINGS;SUPPORT_ASIAN_ENCODINGS;SUPPORT_ACCESSIBILITY_CHECKS;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebug - true - Level4 - true - EditAndContinue - WINDOWS;%(UndefinePreprocessorDefinitions) - - - _DEBUG;%(PreprocessorDefinitions) - 0x0409 - - - true - - - true - - - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(UndefinePreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(UndefinePreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(UndefinePreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(UndefinePreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(UndefinePreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(UndefinePreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(UndefinePreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(UndefinePreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(UndefinePreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(UndefinePreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(UndefinePreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(UndefinePreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(UndefinePreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(UndefinePreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - false - %(UndefinePreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(UndefinePreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(UndefinePreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(UndefinePreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(UndefinePreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(UndefinePreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(UndefinePreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(UndefinePreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(UndefinePreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(UndefinePreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(UndefinePreprocessorDefinitions) - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/build/readme.txt b/build/readme.txt deleted file mode 100644 index af94f18..0000000 --- a/build/readme.txt +++ /dev/null @@ -1,40 +0,0 @@ -Tidy Build Files - -Each subdirectory contains input files to a selected -build system for TidyLib and the command line driver. -Some build systems are cross-platform (gmake, autoconf), -others (msvc) are platform specific. For details -on any given build system, see the readme file for -that system. - -Directory System Comments ---------- -------------------- -------------------------- -gmake GNU Make Used for "official" builds - -gnuauto GNU AutoConf Supports shared lib builds - -msvc MS Visual C++ v6 Win32 only - -msvc2010 MS Visual Studio 2010 win32 only - -rpm Script for packages For Linux distribution supporting rpm - - -Common Build Options - -There are some basic build options for TidyLib, independent -of platform and build system. Typically, these options can -be enabled or disabled by setting a macro value within the -Makefile or its equivalent. An option may be disabled by -setting its value to "0". Enable by setting to "1". Again, -consult the directions for each build system for details -on how to enable/disable each option. - -Option Default Description ----------------------------- -------- --------------------------------- -DMALLOC Disabled Use dmalloc for memory debugging -SUPPORT_ACCESSIBILITY_CHECKS Enabled Support W3C WAI checks -SUPPORT_UTF16_ENCODINGS Enabled Support Unicode documents -SUPPORT_ASIAN_ENCODINGS Enabled Support Big5 and ShiftJIS docs - - diff --git a/build/rpm/readme.txt b/build/rpm/readme.txt deleted file mode 100644 index eb90528..0000000 --- a/build/rpm/readme.txt +++ /dev/null @@ -1,40 +0,0 @@ -# Script for Building tidy rpm packages - - -# To build the RPM packages for tidy on Redhat and other distros which support rpm. -# For making Debian packages, first create rpm package and then generate -# debian package by command "rpm2deb filename" - - - -The steps are as follows: - - -1. Let's suppose TIDY_VERSION you are building is 02October2003 - - -2. Unpack original source tree - tar zxvf tidy_src.tgz - This will extract to a directory called tidy - - -3. mv tidy tidy-02October2003 - Edit the tidy.spec file inside directory tidy-02October2003 - and make sure the Version variable is changed to 02October2003. - Also edit the Makefile and change prefix to "exactly" say this: - runinst_prefix=${RPMTMP} - devinst_prefix=${RPMTMP} - - -4. tar zcvf tidy-02October2003.tgz tidy-02October2003 - - -5. rpmbuild -ta tidy-02October2003.tgz - - -6. rm tidy-02October2003.tgz - - -7. To derive Debian package for tidy run command on created rpm packages - rpm2deb tidy-02October2003-1.rpm - diff --git a/build/rpm/tidy.spec b/build/rpm/tidy.spec deleted file mode 100644 index aa76c91..0000000 --- a/build/rpm/tidy.spec +++ /dev/null @@ -1,148 +0,0 @@ -# RPM spec file for tidy -# -# (c) 2006 (W3C) MIT, ERCIM, Keio University -# See tidy.h for the copyright notice. -# -# Contributing Author(s): -# Sierk Bornemann -# -# norootforbuild -# neededforbuild doxygen libxslt libtool - -BuildRequires: doxygen libxslt libtool - -Name: tidy -Version: 1.0 -Release: YYMMDD -%define docrelease YYMMDD -Summary: Utility to clean up and pretty print HTML/XHTML/XML -Group: Applications/Tools -License: W3C Software License, MIT Licence, Other License(s), see package -Autoreqprov: on -URL: http://tidy.sourceforge.net/ -Source0: http://sourceforge.net/cvs/?group_id=27659 -Source1: http://tidy.sourceforge.net/src/tidy_src.tgz -Source2: http://tidy.sourceforge.net/docs/tidy_docs.tgz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-build - - -%description -When editing HTML it's easy to make mistakes. Wouldn't it be nice if -there was a simple way to fix these mistakes automatically and tidy up -sloppy editing into nicely layed out markup? Well now there is! Dave -Raggett's HTML TIDY is a free utility for doing just that. It also -works great on the atrociously hard to read markup generated by -specialized HTML editors and conversion tools, and can help you -identify where you need to pay further attention on making your pages -more accessible to people with disabilities. - -Tidy is able to fix up a wide range of problems and to bring to your -attention things that you need to work on yourself. Each item found is -listed with the line number and column so that you can see where the -problem lies in your markup. Tidy won't generate a cleaned up version -when there are problems that it can't be sure of how to handle. These -are logged as "errors" rather than "warnings". - - -Authors: --------- - - Tidy was written by Dave Raggett and is now maintained - and developed by the Tidy team at http://tidy.sourceforge.net/. - - -%package -n libtidy -Summary: Shared library for tidy -Group: Development/Libraries -Autoreqprov: on - -%description -n libtidy - -This package contains the library needed to run programs dynamically -linked with tidy. - - -%package -n libtidy-devel -Summary: Development files for tidy -Group: Development/Libraries -Requires: libtidy = %{version}-%{release} -Autoreqprov: on - - -%description -n libtidy-devel - -This package contains the headers, the shared libraries and the API -documentation which programmers will need to develop applications based on -tidy. - -%debug_package -%prep -%setup -q -n %{name} -b 1 -mv htmldoc/doxygen.cfg Doxyfile - - -%build -export CFLAGS="$RPM_OPT_FLAGS" -/bin/sh build/gnuauto/setup.sh - -%configure --disable-dependency-tracking \ - --includedir=%{_includedir}/%{name} -make %{?_smp_mflags} all -make -C build/gmake/ doc -doxygen - - -%install -rm -rf $RPM_BUILD_ROOT _api -make install DESTDIR=$RPM_BUILD_ROOT -# Manpage -install -Dpm 644 htmldoc/tidy.1 $RPM_BUILD_ROOT%{_mandir}/man1/tidy.1 -# Quick Reference -install -Dpm 644 htmldoc/quickref.html $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/quickref.html -# Move API directory out of the way -mv htmldoc/api _api - - -%clean -if ! test -f /.buildenv; then - rm -rf $RPM_BUILD_ROOT; -fi - - -%post -n lib%{name} -p /sbin/ldconfig - -%postun -n lib%{name} -p /sbin/ldconfig - - -%files -%defattr(-, root, root) -%doc htmldoc/* -%{_bindir}/tidy -%{_bindir}/tab2space -%{_mandir}/man1/tidy.1* - - -%files -n libtidy -%defattr(-, root, root) -%doc htmldoc/license.html -%{_libdir}/libtidy*.so.* - - -%files -n libtidy-devel -%defattr(-, root, root) -%doc _api/* -%{_includedir}/%{name}/*.h -%{_libdir}/libtidy.so -%{_libdir}/libtidy.a -%exclude %{_libdir}/libtidy.la - - -%changelog -n tidy -* Thu Feb 22 2006 - Sierk Bornemann - Rewritten RPM Spec file: - - respects filesystem layout of current FHS-compliant linux distributions. - - respects current tidy Makefile and - creation of tidy docs (XSL transformation from tidy's XML output). - -* Mon Oct 25 2003 - Al Dev (Alavoor Vasudevan) - - Initial version of %{name} rpm diff --git a/build/win64/.gitignore b/build/win64/.gitignore new file mode 100644 index 0000000..dca3bdc --- /dev/null +++ b/build/win64/.gitignore @@ -0,0 +1,14 @@ +*.vcxproj +*.filters +CMakeCache.txt +CMakeFiles/* +Debug/* +Release/* +bldlog-1.txt +cmake_install.cmake +*.dir/* +*.sln +x64/* +ipch/* +*.opensdf + diff --git a/build/win64/build-me.bat b/build/win64/build-me.bat new file mode 100644 index 0000000..7e3bdff --- /dev/null +++ b/build/win64/build-me.bat @@ -0,0 +1,156 @@ +@setlocal +@set TMPPRJ=tidy5 +@echo Build %TMPPRJ% project, in 64-bits +@set TMPLOG=bldlog-1.txt +@set BLDDIR=%CD% +@set TMPROOT=F:\Projects +@set SET_BAT=%ProgramFiles(x86)%\Microsoft Visual Studio 10.0\VC\vcvarsall.bat +@if NOT EXIST "%SET_BAT%" goto NOBAT +@if NOT EXIST %TMPROOT%\nul goto NOROOT +@set TMPSRC=%TMPROOT%\tidy-html5 +@if NOT EXIST %TMPSRC%\CMakeLists.txt goto NOCM + +@if /I "%PROCESSOR_ARCHITECTURE%" EQU "AMD64" ( +@set TMPINST=%TMPROOT%\software.x64 +) ELSE ( + @if /I "%PROCESSOR_ARCHITECTURE%" EQU "x86_64" ( +@set TMPINST=%TMPROOT%\software.x64 + ) ELSE ( +@echo ERROR: Appears 64-bit is NOT available... aborting... +@goto ISERR + ) +) +@if NOT EXIST %TMPINST%\nul goto NOINST + +@echo Doing build output to %TMPLOG% +@echo Doing build output to %TMPLOG% > %TMPLOG% + +@echo Doing: 'call "%SET_BAT%" %PROCESSOR_ARCHITECTURE%' +@echo Doing: 'call "%SET_BAT%" %PROCESSOR_ARCHITECTURE%' >> %TMPLOG% +@call "%SET_BAT%" %PROCESSOR_ARCHITECTURE% >> %TMPLOG% 2>&1 +@if ERRORLEVEL 1 goto ERR0 +@REM call setupqt64 +@cd %BLDDIR% + +:DNARCH + +@REM ############################################ +@REM NOTE: SPECIAL INSTALL LOCATION +@REM Adjust to suit your environment +@REM ########################################## +@REM set TMPINST=F:\Projects\software.x64 +@set TMPOPTS=-DCMAKE_INSTALL_PREFIX=%TMPINST% +@set TMPOPTS=%TMPOPTS% -G "Visual Studio 10 Win64" + +:RPT +@if "%~1x" == "x" goto GOTCMD +@set TMPOPTS=%TMPOPTS% %1 +@shift +@goto RPT +:GOTCMD + +@call chkmsvc %TMPPRJ% + +@echo Begin %DATE% %TIME%, output to %TMPLOG% +@echo Begin %DATE% %TIME% >> %TMPLOG% + +@echo Doing: 'cmake %TMPSRC% %TMPOPTS%' +@echo Doing: 'cmake %TMPSRC% %TMPOPTS%' >> %TMPLOG% +@cmake %TMPSRC% %TMPOPTS% >> %TMPLOG% 2>&1 +@if ERRORLEVEL 1 goto ERR1 + +@echo Doing: 'cmake --build . --config debug' +@echo Doing: 'cmake --build . --config debug' >> %TMPLOG% +@cmake --build . --config debug >> %TMPLOG% +@if ERRORLEVEL 1 goto ERR2 + +@echo Doing: 'cmake --build . --config release' +@echo Doing: 'cmake --build . --config release' >> %TMPLOG% +@cmake --build . --config release >> %TMPLOG% 2>&1 +@if ERRORLEVEL 1 goto ERR3 +:DNREL + +@echo Appears a successful build +@echo. +@REM echo No INSTALL configured at this time +@REM goto END + +@echo Note install location %TMPINST% +@ask *** CONTINUE with install? *** Only y continues +@if ERRORLEVEL 2 goto NOASK +@if ERRORLEVEL 1 goto DOINST +@echo Skipping install to %TMPINST% at this time... +@echo. +@goto END +:NOASK +@echo ask not found in path... +@echo *** CONTINUE with install? *** Only y continues +@pause + +:DOINST +@REM cmake -P cmake_install.cmake +@echo Doing: 'cmake --build . --config debug --target INSTALL' +@echo Doing: 'cmake --build . --config debug --target INSTALL' >> %TMPLOG% +@cmake --build . --config debug --target INSTALL >> %TMPLOG% 2>&1 + +@echo Doing: 'cmake --build . --config release --target INSTALL' +@echo Doing: 'cmake --build . --config release --target INSTALL' >> %TMPLOG% +@cmake --build . --config release --target INSTALL >> %TMPLOG% 2>&1 + +@fa4 " -- " %TMPLOG% + +@echo Done build and install of %TMPPRJ%... + +@goto END + +:NOBAT +@echo Can NOT locate MSVC setup batch "%SET_BAT%"! *** FIX ME *** +@goto ISERR + +:NOROOT +@echo Can NOT locate %TMPROOT%! *** FIX ME *** +@goto ISERR + +:NOCM +@echo Can NOT locate %TMPSRC%\CMakeLists.txt! *** FIX ME *** +@goto ISERR + +:NOINST +@echo Can NOT locate directory %TMPINST%! *** FIX ME *** +@goto ISERR + +:ERR0 +@echo MSVC 10 setup error +@goto ISERR + +:ERR1 +@echo cmake config, generation error +@goto ISERR + +:ERR2 +@echo debug build error +@goto ISERR + +:ERR3 +@fa4 "mt.exe : general error c101008d:" %TMPLOG% >nul +@if ERRORLEVEL 1 goto ERR32 +:ERR33 +@echo release build error +@goto ISERR +:ERR32 +@echo Stupid error... trying again... +@echo Doing: 'cmake --build . --config release' +@echo Doing: 'cmake --build . --config release' >> %TMPLOG% +@cmake --build . --config release >> %TMPLOG% 2>&1 +@if ERRORLEVEL 1 goto ERR33 +@goto DNREL + +:ISERR +@endlocal +@exit /b 1 + +:END +@endlocal +@exit /b 0 + +@REM eof diff --git a/build/win64/cmake-clean.txt b/build/win64/cmake-clean.txt new file mode 100644 index 0000000..f222242 --- /dev/null +++ b/build/win64/cmake-clean.txt @@ -0,0 +1 @@ +bldlog-1.txt diff --git a/build/win64/updexe.bat b/build/win64/updexe.bat new file mode 100644 index 0000000..e8920e9 --- /dev/null +++ b/build/win64/updexe.bat @@ -0,0 +1,56 @@ +@setlocal +@REM copy the EXE into C:\MDOS, IFF changed +@set TMPDIR=C:\MDOS +@set TMPFIL1=tidy5.exe +@set TMPFIL2=tidy5.exe +@set TMPSRC=Release\%TMPFIL1% +@if NOT EXIST %TMPSRC% goto ERR1 +@echo Current source %TMPSRC% +@call dirmin %TMPSRC% + +@if NOT EXIST %TMPDIR%\nul goto ERR2 +@set TMPDST=%TMPDIR%\%TMPFIL2% +@if NOT EXIST %TMPDST% goto DOCOPY + +@echo Current destination %TMPDST% +@call dirmin %TMPDST% + +@REM Compare +@fc4 -q -v0 -b %TMPSRC% %TMPDST% >nul +@if ERRORLEVEL 2 goto NOFC4 +@if ERRORLEVEL 1 goto DOCOPY +@echo. +@echo Files are the SAME... Nothing done... +@echo. +@goto END + +:NOFC4 +@echo Can NOT run fc4! so doing copy... +:DOCOPY +copy %TMPSRC% %TMPDST% +@if NOT EXIST %TMPDST% goto ERR3 +@call dirmin %TMPDST% +@echo Done file update... +@goto END + +:ERR1 +@echo Source %TMPSRC% does NOT exist! Has it been built? *** FIX ME *** +@goto ISERR + +:ERR2 +@echo Destination %TMPDIR% does NOT exist! +@goto ISERR + +:ERR3 +@echo Copy of %TMPSRC% to %TMPDST% FAILED! +@goto ISERR + +:ISERR +@endlocal +@exit /b 1 + +:END +@endlocal +@exit /b 0 + +@REM eof diff --git a/console/test71.cxx b/console/test71.cxx new file mode 100644 index 0000000..08bbff9 --- /dev/null +++ b/console/test71.cxx @@ -0,0 +1,44 @@ +/*\ + * 20150206 - Test app for Issue #71 + * + * A simple API example of getting the body text, first as html, + * and then as a raw stream. + * + * Note: This simple test app has no error checking + * +\*/ + +#include +#include "buffio.h" +#include "tidy.h" + +static const char *sample = + "\n" + "\n" + "\n" + "Test app for Issue #71\n" + "something & escaped\n" + ""; + +int main() { + printf("\nSimple example of HTML Tidy API use.\n"); + TidyDoc tdoc = tidyCreate(); + TidyBuffer buff; + tidyBufInit(&buff); + tidyBufAppend(&buff, (void *)sample, strlen(sample)); + tidyParseBuffer(tdoc, &buff); + TidyNode body = tidyGetBody(tdoc); + TidyNode text_node = tidyGetChild(body); + TidyBuffer buff2; + tidyBufInit(&buff2); + printf("This is the 'escaped' text, from tidyNodeGetText(...), suitable for html use...\n"); + tidyNodeGetText(tdoc, text_node, &buff2); + fwrite(buff2.bp, buff2.size, 1, stdout); + printf("This is the 'raw' lexer values, from tidyNodeGetValue(...).\n"); + tidyNodeGetValue(tdoc, text_node, &buff2); + fwrite(buff2.bp, buff2.size, 1, stdout); + printf("\n"); + return 0; +} + +// eof diff --git a/console/tidy.c b/console/tidy.c index b1376a8..430df55 100644 --- a/console/tidy.c +++ b/console/tidy.c @@ -9,6 +9,13 @@ */ #include "tidy.h" +#if !defined(NDEBUG) && defined(_MSC_VER) +#include "sprtf.h" +#endif + +#ifndef SPRTF +#define SPRTF printf +#endif static FILE* errout = NULL; /* set to stderr */ /* static FILE* txtout = NULL; */ /* set to stdout */ @@ -405,19 +412,32 @@ static void print_xml_help_option( void ) static void xml_help( void ) { printf( "\n" - "\n", tidyReleaseDate()); + "\n", tidyLibraryVersion()); print_xml_help_option(); printf( "\n" ); } +static ctmbstr get_final_name( ctmbstr prog ) +{ + ctmbstr name = prog; + int c; + size_t i, len = strlen(prog); + for (i = 0; i < len; i++) { + c = prog[i]; + if ((( c == '/' ) || ( c == '\\' )) && prog[i+1]) + name = &prog[i+1]; + } + return name; +} + static void help( ctmbstr prog ) { - printf( "%s [option...] [file...] [option...] [file...]\n", prog ); - printf( "Utility to clean up and pretty print HTML/XHTML/XML\n"); + printf( "\n"); + printf( "%s [options...] [file...] [options...] [file...]\n", get_final_name(prog) ); + printf( "Utility to clean up and pretty print HTML/XHTML/XML.\n"); printf( "\n"); - printf( "This is an HTML5-aware experimental fork of HTML Tidy.\n"); - printf( "%s\n", tidyReleaseDate() ); + printf( "This is modern HTML Tidy version %s.\n", tidyLibraryVersion() ); printf( "\n"); #ifdef PLATFORM_NAME @@ -438,8 +458,8 @@ static void help( ctmbstr prog ) printf( "Single letter options apart from -f may be combined\n"); printf( "as in: tidy -f errs.txt -imu foo.html\n"); printf( "\n"); - printf( "For more information on this HTML5-aware experimental fork of Tidy,\n" ); - printf( "see http://w3c.github.com/tidy-html5/\n" ); + printf( "For more information about HTML Tidy, see\n" ); + printf( " http://www.html-tidy.org/\n" ); printf( "\n"); printf( "For more information on HTML, see the following:\n" ); printf( "\n"); @@ -449,13 +469,13 @@ static void help( ctmbstr prog ) printf( " HTML: The Markup Language (an HTML language reference)\n" ); printf( " http://dev.w3.org/html5/markup/\n" ); printf( "\n"); - printf( "File bug reports at https://github.com/w3c/tidy-html5/issues/\n" ); - printf( "or send questions and comments to html-tidy@w3.org\n" ); + printf( "File bug reports at https://github.com/htacg/tidy-html5/issues/\n" ); + printf( "or send questions and comments to public-htacg@w3.org.\n" ); printf( "\n"); printf( "Validate your HTML documents using the W3C Nu Markup Validator:\n" ); printf( "\n"); printf( " http://validator.w3.org/nu/" ); - printf( "\n"); + printf( "\n\n"); } static Bool isAutoBool( TidyOption topt ) @@ -495,6 +515,7 @@ ctmbstr ConfigCategoryName( TidyConfigCategory id ) fprintf(stderr, "Fatal error: impossible value for id='%d'.\n", (int)id); assert(0); abort(); + return "never_here"; /* only for the compiler warning */ } /* Description of an option */ @@ -760,7 +781,7 @@ void printXMLOption( TidyDoc tdoc, TidyOption topt, OptionDesc *d ) static void XMLoptionhelp( TidyDoc tdoc ) { printf( "\n" - "\n", tidyReleaseDate()); + "\n", tidyLibraryVersion()); ForEachOption( tdoc, printXMLOption ); printf( "\n" ); } @@ -921,10 +942,10 @@ static void optionvalues( TidyDoc tdoc ) static void version( void ) { #ifdef PLATFORM_NAME - printf( "HTML Tidy for HTML5 (experimental) for %s %s\n", - PLATFORM_NAME, tidyReleaseDate() ); + printf( "HTML Tidy for %s version %s\n", + PLATFORM_NAME, tidyLibraryVersion() ); #else - printf( "HTML Tidy for HTML5 (experimental) %s\n", tidyReleaseDate() ); + printf( "HTML Tidy version %s\n", tidyLibraryVersion() ); #endif } @@ -946,6 +967,10 @@ int main( int argc, char** argv ) errout = stderr; /* initialize to stderr */ status = 0; +#if !defined(NDEBUG) && defined(_MSC_VER) + set_log_file((char *)"temptidy.txt", 0); + // add_append_log(1); +#endif #ifdef TIDY_CONFIG_FILE if ( tidyFileExists( tdoc, TIDY_CONFIG_FILE) ) @@ -1267,6 +1292,9 @@ int main( int argc, char** argv ) if ( argc > 1 ) { htmlfil = argv[1]; +#if (!defined(NDEBUG) && defined(_MSC_VER)) + SPRTF("Tidying '%s'\n", htmlfil); +#endif // DEBUG outout if ( tidyOptGetBool(tdoc, TidyEmacs) ) tidyOptSetValue( tdoc, TidyEmacsFile, htmlfil ); status = tidyParseFile( tdoc, htmlfil ); @@ -1280,9 +1308,18 @@ int main( int argc, char** argv ) if ( status >= 0 ) status = tidyCleanAndRepair( tdoc ); - if ( status >= 0 ) + if ( status >= 0 ) { status = tidyRunDiagnostics( tdoc ); + if ( !tidyOptGetBool(tdoc, TidyQuiet) ) { + /* NOT quiet, show DOCTYPE, if not already shown */ + if (!tidyOptGetBool(tdoc, TidyShowInfo)) { + tidyOptSetBool( tdoc, TidyShowInfo, yes ); + tidyReportDoctype( tdoc ); /* FIX20140913: like warnings, errors, ALWAYS report DOCTYPE */ + tidyOptSetBool( tdoc, TidyShowInfo, no ); + } + } + } if ( status > 1 ) /* If errors, do we want to force output? */ status = ( tidyOptGetBool(tdoc, TidyForceOutput) ? status : -1 ); @@ -1293,10 +1330,18 @@ int main( int argc, char** argv ) else { ctmbstr outfil = tidyOptGetValue( tdoc, TidyOutFile ); - if ( outfil ) + if ( outfil ) { status = tidySaveFile( tdoc, outfil ); - else + } else { +#if !defined(NDEBUG) && defined(_MSC_VER) + static char tmp_buf[264]; + sprintf(tmp_buf,"%s.html",get_log_file()); + status = tidySaveFile( tdoc, tmp_buf ); + SPRTF("Saved tidied content to '%s'\n",tmp_buf); +#else status = tidySaveStdout( tdoc ); +#endif + } } } diff --git a/htmldoc/api/annotated.html b/htmldoc/api/annotated.html deleted file mode 100644 index 65c9bf0..0000000 --- a/htmldoc/api/annotated.html +++ /dev/null @@ -1,90 +0,0 @@ - - - - - -HTML Tidy: Data Structures - - - - - - - - - - - - -

- - -
- - - - - - - - - - - - - -
-
HTML Tidy -  0.1 -
- -
-
- - -
-
- -
-
-
- -
-
-
-
Data Structures
-
-
-
Here are the data structures with brief descriptions:
- - - - - - - - - -
_TidyAllocator
_TidyAllocatorVtbl
_TidyBuffer
_TidyInputSource
_TidyOutputSink
TidyAttr
TidyDoc
TidyNode
TidyOption
-
-
- - - - - diff --git a/htmldoc/api/annotated.js b/htmldoc/api/annotated.js deleted file mode 100644 index 19e529e..0000000 --- a/htmldoc/api/annotated.js +++ /dev/null @@ -1,12 +0,0 @@ -var annotated = -[ - [ "_TidyAllocator", "struct__TidyAllocator.html", "struct__TidyAllocator" ], - [ "_TidyAllocatorVtbl", "struct__TidyAllocatorVtbl.html", "struct__TidyAllocatorVtbl" ], - [ "_TidyBuffer", "struct__TidyBuffer.html", "struct__TidyBuffer" ], - [ "_TidyInputSource", "struct__TidyInputSource.html", "struct__TidyInputSource" ], - [ "_TidyOutputSink", "struct__TidyOutputSink.html", "struct__TidyOutputSink" ], - [ "TidyAttr", "structTidyAttr.html", null ], - [ "TidyDoc", "structTidyDoc.html", null ], - [ "TidyNode", "structTidyNode.html", null ], - [ "TidyOption", "structTidyOption.html", null ] -]; \ No newline at end of file diff --git a/htmldoc/api/bc_s.png b/htmldoc/api/bc_s.png deleted file mode 100644 index e401862..0000000 Binary files a/htmldoc/api/bc_s.png and /dev/null differ diff --git a/htmldoc/api/bdwn.png b/htmldoc/api/bdwn.png deleted file mode 100644 index d0b575b..0000000 Binary files a/htmldoc/api/bdwn.png and /dev/null differ diff --git a/htmldoc/api/buffio_8h.html b/htmldoc/api/buffio_8h.html deleted file mode 100644 index ea33349..0000000 --- a/htmldoc/api/buffio_8h.html +++ /dev/null @@ -1,550 +0,0 @@ - - - - - -HTML Tidy: buffio.h File Reference - - - - - - - - - - - - -
- - -
- - - - - - - - - - - - - -
-
HTML Tidy -  0.1 -
- -
-
- - -
-
- -
-
-
- -
-
- -
-
buffio.h File Reference
-
-
- -

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - -

-Data Structures

struct  _TidyBuffer

-Functions

void TIDY_CALL tidyBufInit (TidyBuffer *buf)
void TIDY_CALL tidyBufInitWithAllocator (TidyBuffer *buf, TidyAllocator *allocator)
void TIDY_CALL tidyBufAlloc (TidyBuffer *buf, uint allocSize)
void TIDY_CALL tidyBufAllocWithAllocator (TidyBuffer *buf, TidyAllocator *allocator, uint allocSize)
void TIDY_CALL tidyBufCheckAlloc (TidyBuffer *buf, uint allocSize, uint chunkSize)
void TIDY_CALL tidyBufFree (TidyBuffer *buf)
void TIDY_CALL tidyBufClear (TidyBuffer *buf)
void TIDY_CALL tidyBufAttach (TidyBuffer *buf, byte *bp, uint size)
void TIDY_CALL tidyBufDetach (TidyBuffer *buf)
void TIDY_CALL tidyBufAppend (TidyBuffer *buf, void *vp, uint size)
void TIDY_CALL tidyBufPutByte (TidyBuffer *buf, byte bv)
int TIDY_CALL tidyBufPopByte (TidyBuffer *buf)
int TIDY_CALL tidyBufGetByte (TidyBuffer *buf)
Bool TIDY_CALL tidyBufEndOfInput (TidyBuffer *buf)
void TIDY_CALL tidyBufUngetByte (TidyBuffer *buf, byte bv)
void TIDY_CALL tidyInitInputBuffer (TidyInputSource *inp, TidyBuffer *buf)
void TIDY_CALL tidyInitOutputBuffer (TidyOutputSink *outp, TidyBuffer *buf)
-

Detailed Description

-
    -
  • Treat buffer as an I/O stream.
  • -
-

(c) 1998-2007 (W3C) MIT, ERCIM, Keio University See tidy.h for the copyright notice.

-

CVS Info :

-
Author:
arnaud02
-
Date:
2007/01/23 11:17:45
-
Revision:
1.9
-

Requires buffer to automatically grow as bytes are added. Must keep track of current read and write points.

-

Function Documentation

- -
-
- - - - - - - - -
void TIDY_CALL tidyBufInit (TidyBufferbuf)
-
-
-

Initialize data structure using the default allocator

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void TIDY_CALL tidyBufInitWithAllocator (TidyBufferbuf,
TidyAllocatorallocator 
)
-
-
-

Initialize data structure using the given custom allocator

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void TIDY_CALL tidyBufAlloc (TidyBufferbuf,
uint allocSize 
)
-
-
-

Free current buffer, allocate given amount, reset input pointer, use the default allocator

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void TIDY_CALL tidyBufAllocWithAllocator (TidyBufferbuf,
TidyAllocatorallocator,
uint allocSize 
)
-
-
-

Free current buffer, allocate given amount, reset input pointer, use the given custom allocator

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void TIDY_CALL tidyBufCheckAlloc (TidyBufferbuf,
uint allocSize,
uint chunkSize 
)
-
-
-

Expand buffer to given size. Chunk size is minimum growth. Pass 0 for default of 256 bytes.

- -
-
- -
-
- - - - - - - - -
void TIDY_CALL tidyBufFree (TidyBufferbuf)
-
-
-

Free current contents and zero out

- -
-
- -
-
- - - - - - - - -
void TIDY_CALL tidyBufClear (TidyBufferbuf)
-
-
-

Set buffer bytes to 0

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void TIDY_CALL tidyBufAttach (TidyBufferbuf,
byte * bp,
uint size 
)
-
-
-

Attach to existing buffer

- -
-
- -
-
- - - - - - - - -
void TIDY_CALL tidyBufDetach (TidyBufferbuf)
-
-
-

Detach from buffer. Caller must free.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void TIDY_CALL tidyBufAppend (TidyBufferbuf,
void * vp,
uint size 
)
-
-
-

Append bytes to buffer. Expand if necessary.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void TIDY_CALL tidyBufPutByte (TidyBufferbuf,
byte bv 
)
-
-
-

Append one byte to buffer. Expand if necessary.

- -
-
- -
-
- - - - - - - - -
int TIDY_CALL tidyBufPopByte (TidyBufferbuf)
-
-
-

Get byte from end of buffer

- -
-
- -
-
- - - - - - - - -
int TIDY_CALL tidyBufGetByte (TidyBufferbuf)
-
-
-

Get byte from front of buffer. Increment input offset.

- -
-
- -
-
- - - - - - - - -
Bool TIDY_CALL tidyBufEndOfInput (TidyBufferbuf)
-
-
-

At end of buffer?

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void TIDY_CALL tidyBufUngetByte (TidyBufferbuf,
byte bv 
)
-
-
-

Put a byte back into the buffer. Decrement input offset.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void TIDY_CALL tidyInitInputBuffer (TidyInputSourceinp,
TidyBufferbuf 
)
-
-
-

Initialize a buffer input source

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void TIDY_CALL tidyInitOutputBuffer (TidyOutputSinkoutp,
TidyBufferbuf 
)
-
-
-

Initialize a buffer output sink

- -
-
-
-
- - - - - diff --git a/htmldoc/api/buffio_8h.js b/htmldoc/api/buffio_8h.js deleted file mode 100644 index 0567423..0000000 --- a/htmldoc/api/buffio_8h.js +++ /dev/null @@ -1,20 +0,0 @@ -var buffio_8h = -[ - [ "tidyBufInit", "buffio_8h.html#a3cf251a96f69f05495744af6c9d0339b", null ], - [ "tidyBufInitWithAllocator", "buffio_8h.html#aff43ddd9fc78532617d88db55b164f5e", null ], - [ "tidyBufAlloc", "buffio_8h.html#a896654bd99113bfe5e86b924836aacc3", null ], - [ "tidyBufAllocWithAllocator", "buffio_8h.html#a57c832b4ddbc19a329a5ab9936eb5826", null ], - [ "tidyBufCheckAlloc", "buffio_8h.html#a7a66ba1f574955d1fc1de57476e849f2", null ], - [ "tidyBufFree", "buffio_8h.html#a65aae9ae4b499e62038700f4792849fc", null ], - [ "tidyBufClear", "buffio_8h.html#aa94e59f613a495b17e90c1c4778c3911", null ], - [ "tidyBufAttach", "buffio_8h.html#ac5909e78d98583cb245dd2004469bb93", null ], - [ "tidyBufDetach", "buffio_8h.html#a8da2bf473b14e6bdd5cd40fc47c29903", null ], - [ "tidyBufAppend", "buffio_8h.html#ad59b32f81789b634758274f34be4d25b", null ], - [ "tidyBufPutByte", "buffio_8h.html#af48af586ada5ff264501fe9ef4c67dd1", null ], - [ "tidyBufPopByte", "buffio_8h.html#af8b1e8fbe3c29d08250794d7e4925ea6", null ], - [ "tidyBufGetByte", "buffio_8h.html#a5a2e0c47b4b14b5beb17ac982fa21eeb", null ], - [ "tidyBufEndOfInput", "buffio_8h.html#a7e7d8e58623c8bde00d66141edb2cae0", null ], - [ "tidyBufUngetByte", "buffio_8h.html#a1d1f2039b769381d418ac1187b50b292", null ], - [ "tidyInitInputBuffer", "buffio_8h.html#a73da3182aea89939af1d98504a3b2df0", null ], - [ "tidyInitOutputBuffer", "buffio_8h.html#a882a92590a9e6ecce16d5b8e8db19fbb", null ] -]; \ No newline at end of file diff --git a/htmldoc/api/buffio_8h_source.html b/htmldoc/api/buffio_8h_source.html deleted file mode 100644 index 4d0d543..0000000 --- a/htmldoc/api/buffio_8h_source.html +++ /dev/null @@ -1,198 +0,0 @@ - - - - - -HTML Tidy: buffio.h Source File - - - - - - - - - - - - -
- - -
- - - - - - - - - - - - - -
-
HTML Tidy -  0.1 -
- -
-
- - -
-
- -
-
-
- -
-
-
-
buffio.h
-
-
-Go to the documentation of this file.
00001 #ifndef __TIDY_BUFFIO_H__
-00002 #define __TIDY_BUFFIO_H__
-00003 
-00004 /** @file buffio.h - Treat buffer as an I/O stream.
-00005 
-00006   (c) 1998-2007 (W3C) MIT, ERCIM, Keio University
-00007   See tidy.h for the copyright notice.
-00008 
-00009   CVS Info :
-00010 
-00011     $Author: arnaud02 $ 
-00012     $Date: 2007/01/23 11:17:45 $ 
-00013     $Revision: 1.9 $ 
-00014 
-00015   Requires buffer to automatically grow as bytes are added.
-00016   Must keep track of current read and write points.
-00017 
-00018 */
-00019 
-00020 #include "platform.h"
-00021 #include "tidy.h"
-00022 
-00023 #ifdef __cplusplus
-00024 extern "C" {
-00025 #endif
-00026 
-00027 /** TidyBuffer - A chunk of memory */
-00028 TIDY_STRUCT
-00029 struct _TidyBuffer 
-00030 {
-00031     TidyAllocator* allocator;  /**< Memory allocator */
-00032     byte* bp;           /**< Pointer to bytes */
-00033     uint  size;         /**< # bytes currently in use */
-00034     uint  allocated;    /**< # bytes allocated */ 
-00035     uint  next;         /**< Offset of current input position */
-00036 };
-00037 
-00038 /** Initialize data structure using the default allocator */
-00039 TIDY_EXPORT void TIDY_CALL tidyBufInit( TidyBuffer* buf );
-00040 
-00041 /** Initialize data structure using the given custom allocator */
-00042 TIDY_EXPORT void TIDY_CALL tidyBufInitWithAllocator( TidyBuffer* buf, TidyAllocator* allocator );
-00043 
-00044 /** Free current buffer, allocate given amount, reset input pointer,
-00045     use the default allocator */
-00046 TIDY_EXPORT void TIDY_CALL tidyBufAlloc( TidyBuffer* buf, uint allocSize );
-00047 
-00048 /** Free current buffer, allocate given amount, reset input pointer,
-00049     use the given custom allocator */
-00050 TIDY_EXPORT void TIDY_CALL tidyBufAllocWithAllocator( TidyBuffer* buf,
-00051                                                       TidyAllocator* allocator,
-00052                                                       uint allocSize );
-00053 
-00054 /** Expand buffer to given size. 
-00055 **  Chunk size is minimum growth. Pass 0 for default of 256 bytes.
-00056 */
-00057 TIDY_EXPORT void TIDY_CALL tidyBufCheckAlloc( TidyBuffer* buf,
-00058                                               uint allocSize, uint chunkSize );
-00059 
-00060 /** Free current contents and zero out */
-00061 TIDY_EXPORT void TIDY_CALL tidyBufFree( TidyBuffer* buf );
-00062 
-00063 /** Set buffer bytes to 0 */
-00064 TIDY_EXPORT void TIDY_CALL tidyBufClear( TidyBuffer* buf );
-00065 
-00066 /** Attach to existing buffer */
-00067 TIDY_EXPORT void TIDY_CALL tidyBufAttach( TidyBuffer* buf, byte* bp, uint size );
-00068 
-00069 /** Detach from buffer.  Caller must free. */
-00070 TIDY_EXPORT void TIDY_CALL tidyBufDetach( TidyBuffer* buf );
-00071 
-00072 
-00073 /** Append bytes to buffer.  Expand if necessary. */
-00074 TIDY_EXPORT void TIDY_CALL tidyBufAppend( TidyBuffer* buf, void* vp, uint size );
-00075 
-00076 /** Append one byte to buffer.  Expand if necessary. */
-00077 TIDY_EXPORT void TIDY_CALL tidyBufPutByte( TidyBuffer* buf, byte bv );
-00078 
-00079 /** Get byte from end of buffer */
-00080 TIDY_EXPORT int TIDY_CALL  tidyBufPopByte( TidyBuffer* buf );
-00081 
-00082 
-00083 /** Get byte from front of buffer.  Increment input offset. */
-00084 TIDY_EXPORT int TIDY_CALL  tidyBufGetByte( TidyBuffer* buf );
-00085 
-00086 /** At end of buffer? */
-00087 TIDY_EXPORT Bool TIDY_CALL tidyBufEndOfInput( TidyBuffer* buf );
-00088 
-00089 /** Put a byte back into the buffer.  Decrement input offset. */
-00090 TIDY_EXPORT void TIDY_CALL tidyBufUngetByte( TidyBuffer* buf, byte bv );
-00091 
-00092 
-00093 /**************
-00094    TIDY
-00095 **************/
-00096 
-00097 /* Forward declarations
-00098 */
-00099 
-00100 /** Initialize a buffer input source */
-00101 TIDY_EXPORT void TIDY_CALL tidyInitInputBuffer( TidyInputSource* inp, TidyBuffer* buf );
-00102 
-00103 /** Initialize a buffer output sink */
-00104 TIDY_EXPORT void TIDY_CALL tidyInitOutputBuffer( TidyOutputSink* outp, TidyBuffer* buf );
-00105 
-00106 #ifdef __cplusplus
-00107 }
-00108 #endif
-00109 #endif /* __TIDY_BUFFIO_H__ */
-00110 
-00111 /*
-00112  * local variables:
-00113  * mode: c
-00114  * indent-tabs-mode: nil
-00115  * c-basic-offset: 4
-00116  * eval: (c-set-offset 'substatement-open 0)
-00117  * end:
-00118  */
-
-
- - - - - diff --git a/htmldoc/api/classes.html b/htmldoc/api/classes.html deleted file mode 100644 index a721813..0000000 --- a/htmldoc/api/classes.html +++ /dev/null @@ -1,89 +0,0 @@ - - - - - -HTML Tidy: Data Structure Index - - - - - - - - - - - - -
- - -
- - - - - - - - - - - - - -
-
HTML Tidy -  0.1 -
- -
-
- - -
-
- -
-
-
- -
-
-
-
Data Structure Index
-
-
-
T | _
- - - - - -
  T  
-
TidyDoc   
  _  
-
_TidyAllocatorVtbl   _TidyOutputSink   
TidyNode   _TidyBuffer   
TidyAttr   TidyOption   _TidyAllocator   _TidyInputSource   
-
T | _
-
-
- - - - - diff --git a/htmldoc/api/closed.png b/htmldoc/api/closed.png deleted file mode 100644 index b7d4bd9..0000000 Binary files a/htmldoc/api/closed.png and /dev/null differ diff --git a/htmldoc/api/deprecated.html b/htmldoc/api/deprecated.html deleted file mode 100644 index 5f6aa0c..0000000 --- a/htmldoc/api/deprecated.html +++ /dev/null @@ -1,93 +0,0 @@ - - - - - -HTML Tidy: Deprecated List - - - - - - - - - - - - -
- - -
- - - - - - - - - - - - - -
-
HTML Tidy -  0.1 -
- -
-
- - -
-
- -
-
-
- -
-
-
-
Deprecated List
-
-
-
-
Group AttrGetAttributeName
-

The functions tidyAttrGet{AttributeName} are deprecated and should be replaced by tidyAttrGetById. For instance, tidyAttrGetID( TidyNode tnod ) can be replaced by tidyAttrGetById( TidyNode tnod, TidyAttr_ID ). This avoids a potential name clash with tidyAttrGetId for case-insensitive languages.

-

-
-
Group AttrIsAttributeName
-

The functions tidyAttrIs{AttributeName} are deprecated and should be replaced by tidyAttrGetId.

-

-
-
Group NodeIsElementName
-

The functions tidyNodeIs{ElementName} are deprecated and should be replaced by tidyNodeGetId.

-

-
-
-
-
- - - - - diff --git a/htmldoc/api/doxygen.css b/htmldoc/api/doxygen.css deleted file mode 100644 index c151fde..0000000 --- a/htmldoc/api/doxygen.css +++ /dev/null @@ -1,1012 +0,0 @@ -/* The standard CSS for doxygen */ - -body, table, div, p, dl { - font-family: Lucida Grande, Verdana, Geneva, Arial, sans-serif; - font-size: 13px; - line-height: 1.3; -} - -/* @group Heading Levels */ - -h1 { - font-size: 150%; -} - -.title { - font-size: 150%; - font-weight: bold; - margin: 10px 2px; -} - -h2 { - font-size: 120%; -} - -h3 { - font-size: 100%; -} - -dt { - font-weight: bold; -} - -div.multicol { - -moz-column-gap: 1em; - -webkit-column-gap: 1em; - -moz-column-count: 3; - -webkit-column-count: 3; -} - -p.startli, p.startdd, p.starttd { - margin-top: 2px; -} - -p.endli { - margin-bottom: 0px; -} - -p.enddd { - margin-bottom: 4px; -} - -p.endtd { - margin-bottom: 2px; -} - -/* @end */ - -caption { - font-weight: bold; -} - -span.legend { - font-size: 70%; - text-align: center; -} - -h3.version { - font-size: 90%; - text-align: center; -} - -div.qindex, div.navtab{ - background-color: #EBEFF6; - border: 1px solid #A3B4D7; - text-align: center; -} - -div.qindex, div.navpath { - width: 100%; - line-height: 140%; -} - -div.navtab { - margin-right: 15px; -} - -/* @group Link Styling */ - -a { - color: #3D578C; - font-weight: normal; - text-decoration: none; -} - -.contents a:visited { - color: #4665A2; -} - -a:hover { - text-decoration: underline; -} - -a.qindex { - font-weight: bold; -} - -a.qindexHL { - font-weight: bold; - background-color: #9CAFD4; - color: #ffffff; - border: 1px double #869DCA; -} - -.contents a.qindexHL:visited { - color: #ffffff; -} - -a.el { - font-weight: bold; -} - -a.elRef { -} - -a.code, a.code:visited { - color: #4665A2; -} - -a.codeRef, a.codeRef:visited { - color: #4665A2; -} - -/* @end */ - -dl.el { - margin-left: -1cm; -} - -.fragment { - font-family: monospace, fixed; - font-size: 105%; -} - -pre.fragment { - border: 1px solid #C4CFE5; - background-color: #FBFCFD; - padding: 4px 6px; - margin: 4px 8px 4px 2px; - overflow: auto; - word-wrap: break-word; - font-size: 9pt; - line-height: 125%; -} - -div.ah { - background-color: black; - font-weight: bold; - color: #ffffff; - margin-bottom: 3px; - margin-top: 3px; - padding: 0.2em; - border: solid thin #333; - border-radius: 0.5em; - -webkit-border-radius: .5em; - -moz-border-radius: .5em; - box-shadow: 2px 2px 3px #999; - -webkit-box-shadow: 2px 2px 3px #999; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; - background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444)); - background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000); -} - -div.groupHeader { - margin-left: 16px; - margin-top: 12px; - font-weight: bold; -} - -div.groupText { - margin-left: 16px; - font-style: italic; -} - -body { - background-color: white; - color: black; - margin: 0; -} - -div.contents { - margin-top: 10px; - margin-left: 8px; - margin-right: 8px; -} - -td.indexkey { - background-color: #EBEFF6; - font-weight: bold; - border: 1px solid #C4CFE5; - margin: 2px 0px 2px 0; - padding: 2px 10px; - white-space: nowrap; - vertical-align: top; -} - -td.indexvalue { - background-color: #EBEFF6; - border: 1px solid #C4CFE5; - padding: 2px 10px; - margin: 2px 0px; -} - -tr.memlist { - background-color: #EEF1F7; -} - -p.formulaDsp { - text-align: center; -} - -img.formulaDsp { - -} - -img.formulaInl { - vertical-align: middle; -} - -div.center { - text-align: center; - margin-top: 0px; - margin-bottom: 0px; - padding: 0px; -} - -div.center img { - border: 0px; -} - -address.footer { - text-align: right; - padding-right: 12px; -} - -img.footer { - border: 0px; - vertical-align: middle; -} - -/* @group Code Colorization */ - -span.keyword { - color: #008000 -} - -span.keywordtype { - color: #604020 -} - -span.keywordflow { - color: #e08000 -} - -span.comment { - color: #800000 -} - -span.preprocessor { - color: #806020 -} - -span.stringliteral { - color: #002080 -} - -span.charliteral { - color: #008080 -} - -span.vhdldigit { - color: #ff00ff -} - -span.vhdlchar { - color: #000000 -} - -span.vhdlkeyword { - color: #700070 -} - -span.vhdllogic { - color: #ff0000 -} - -blockquote { - background-color: #F7F8FB; - border-left: 2px solid #9CAFD4; - margin: 0 24px 0 4px; - padding: 0 12px 0 16px; -} - -/* @end */ - -/* -.search { - color: #003399; - font-weight: bold; -} - -form.search { - margin-bottom: 0px; - margin-top: 0px; -} - -input.search { - font-size: 75%; - color: #000080; - font-weight: normal; - background-color: #e8eef2; -} -*/ - -td.tiny { - font-size: 75%; -} - -.dirtab { - padding: 4px; - border-collapse: collapse; - border: 1px solid #A3B4D7; -} - -th.dirtab { - background: #EBEFF6; - font-weight: bold; -} - -hr { - height: 0px; - border: none; - border-top: 1px solid #4A6AAA; -} - -hr.footer { - height: 1px; -} - -/* @group Member Descriptions */ - -table.memberdecls { - border-spacing: 0px; - padding: 0px; -} - -.mdescLeft, .mdescRight, -.memItemLeft, .memItemRight, -.memTemplItemLeft, .memTemplItemRight, .memTemplParams { - background-color: #F9FAFC; - border: none; - margin: 4px; - padding: 1px 0 0 8px; -} - -.mdescLeft, .mdescRight { - padding: 0px 8px 4px 8px; - color: #555; -} - -.memItemLeft, .memItemRight, .memTemplParams { - border-top: 1px solid #C4CFE5; -} - -.memItemLeft, .memTemplItemLeft { - white-space: nowrap; -} - -.memItemRight { - width: 100%; -} - -.memTemplParams { - color: #4665A2; - white-space: nowrap; -} - -/* @end */ - -/* @group Member Details */ - -/* Styles for detailed member documentation */ - -.memtemplate { - font-size: 80%; - color: #4665A2; - font-weight: normal; - margin-left: 9px; -} - -.memnav { - background-color: #EBEFF6; - border: 1px solid #A3B4D7; - text-align: center; - margin: 2px; - margin-right: 15px; - padding: 2px; -} - -.mempage { - width: 100%; -} - -.memitem { - padding: 0; - margin-bottom: 10px; - margin-right: 5px; -} - -.memname { - white-space: nowrap; - font-weight: bold; - margin-left: 6px; -} - -.memproto, dl.reflist dt { - border-top: 1px solid #A8B8D9; - border-left: 1px solid #A8B8D9; - border-right: 1px solid #A8B8D9; - padding: 6px 0px 6px 0px; - color: #253555; - font-weight: bold; - text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); - /* opera specific markup */ - box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - border-top-right-radius: 8px; - border-top-left-radius: 8px; - /* firefox specific markup */ - -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; - -moz-border-radius-topright: 8px; - -moz-border-radius-topleft: 8px; - /* webkit specific markup */ - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - -webkit-border-top-right-radius: 8px; - -webkit-border-top-left-radius: 8px; - background-image:url('nav_f.png'); - background-repeat:repeat-x; - background-color: #E2E8F2; - -} - -.memdoc, dl.reflist dd { - border-bottom: 1px solid #A8B8D9; - border-left: 1px solid #A8B8D9; - border-right: 1px solid #A8B8D9; - padding: 2px 5px; - background-color: #FBFCFD; - border-top-width: 0; - /* opera specific markup */ - border-bottom-left-radius: 8px; - border-bottom-right-radius: 8px; - box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - /* firefox specific markup */ - -moz-border-radius-bottomleft: 8px; - -moz-border-radius-bottomright: 8px; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; - background-image: -moz-linear-gradient(center top, #FFFFFF 0%, #FFFFFF 60%, #F7F8FB 95%, #EEF1F7); - /* webkit specific markup */ - -webkit-border-bottom-left-radius: 8px; - -webkit-border-bottom-right-radius: 8px; - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - background-image: -webkit-gradient(linear,center top,center bottom,from(#FFFFFF), color-stop(0.6,#FFFFFF), color-stop(0.60,#FFFFFF), color-stop(0.95,#F7F8FB), to(#EEF1F7)); -} - -dl.reflist dt { - padding: 5px; -} - -dl.reflist dd { - margin: 0px 0px 10px 0px; - padding: 5px; -} - -.paramkey { - text-align: right; -} - -.paramtype { - white-space: nowrap; -} - -.paramname { - color: #602020; - white-space: nowrap; -} -.paramname em { - font-style: normal; -} - -.params, .retval, .exception, .tparams { - border-spacing: 6px 2px; -} - -.params .paramname, .retval .paramname { - font-weight: bold; - vertical-align: top; -} - -.params .paramtype { - font-style: italic; - vertical-align: top; -} - -.params .paramdir { - font-family: "courier new",courier,monospace; - vertical-align: top; -} - - - - -/* @end */ - -/* @group Directory (tree) */ - -/* for the tree view */ - -.ftvtree { - font-family: sans-serif; - margin: 0px; -} - -/* these are for tree view when used as main index */ - -.directory { - font-size: 9pt; - font-weight: bold; - margin: 5px; -} - -.directory h3 { - margin: 0px; - margin-top: 1em; - font-size: 11pt; -} - -/* -The following two styles can be used to replace the root node title -with an image of your choice. Simply uncomment the next two styles, -specify the name of your image and be sure to set 'height' to the -proper pixel height of your image. -*/ - -/* -.directory h3.swap { - height: 61px; - background-repeat: no-repeat; - background-image: url("yourimage.gif"); -} -.directory h3.swap span { - display: none; -} -*/ - -.directory > h3 { - margin-top: 0; -} - -.directory p { - margin: 0px; - white-space: nowrap; -} - -.directory div { - display: none; - margin: 0px; -} - -.directory img { - vertical-align: -30%; -} - -/* these are for tree view when not used as main index */ - -.directory-alt { - font-size: 100%; - font-weight: bold; -} - -.directory-alt h3 { - margin: 0px; - margin-top: 1em; - font-size: 11pt; -} - -.directory-alt > h3 { - margin-top: 0; -} - -.directory-alt p { - margin: 0px; - white-space: nowrap; -} - -.directory-alt div { - display: none; - margin: 0px; -} - -.directory-alt img { - vertical-align: -30%; -} - -/* @end */ - -div.dynheader { - margin-top: 8px; -} - -address { - font-style: normal; - color: #2A3D61; -} - -table.doxtable { - border-collapse:collapse; - margin-top: 4px; - margin-bottom: 4px; -} - -table.doxtable td, table.doxtable th { - border: 1px solid #2D4068; - padding: 3px 7px 2px; -} - -table.doxtable th { - background-color: #374F7F; - color: #FFFFFF; - font-size: 110%; - padding-bottom: 4px; - padding-top: 5px; -} - -table.fieldtable { - width: 100%; - margin-bottom: 10px; - border: 1px solid #A8B8D9; - border-spacing: 0px; - -moz-border-radius: 4px; - -webkit-border-radius: 4px; - border-radius: 4px; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; - -webkit-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); - box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); -} - -.fieldtable td, .fieldtable th { - padding: 3px 7px 2px; -} - -.fieldtable td.fieldtype, .fieldtable td.fieldname { - white-space: nowrap; - border-right: 1px solid #A8B8D9; - border-bottom: 1px solid #A8B8D9; - vertical-align: top; -} - -.fieldtable td.fielddoc { - border-bottom: 1px solid #A8B8D9; - width: 100%; -} - -.fieldtable tr:last-child td { - border-bottom: none; -} - -.fieldtable th { - background-image:url('nav_f.png'); - background-repeat:repeat-x; - background-color: #E2E8F2; - font-size: 90%; - color: #253555; - padding-bottom: 4px; - padding-top: 5px; - text-align:left; - -moz-border-radius-topleft: 4px; - -moz-border-radius-topright: 4px; - -webkit-border-top-left-radius: 4px; - -webkit-border-top-right-radius: 4px; - border-top-left-radius: 4px; - border-top-right-radius: 4px; - border-bottom: 1px solid #A8B8D9; -} - - -.tabsearch { - top: 0px; - left: 10px; - height: 36px; - background-image: url('tab_b.png'); - z-index: 101; - overflow: hidden; - font-size: 13px; -} - -.navpath ul -{ - font-size: 11px; - background-image:url('tab_b.png'); - background-repeat:repeat-x; - height:30px; - line-height:30px; - color:#8AA0CC; - border:solid 1px #C2CDE4; - overflow:hidden; - margin:0px; - padding:0px; -} - -.navpath li -{ - list-style-type:none; - float:left; - padding-left:10px; - padding-right:15px; - background-image:url('bc_s.png'); - background-repeat:no-repeat; - background-position:right; - color:#364D7C; -} - -.navpath li.navelem a -{ - height:32px; - display:block; - text-decoration: none; - outline: none; -} - -.navpath li.navelem a:hover -{ - color:#6884BD; -} - -.navpath li.footer -{ - list-style-type:none; - float:right; - padding-left:10px; - padding-right:15px; - background-image:none; - background-repeat:no-repeat; - background-position:right; - color:#364D7C; - font-size: 8pt; -} - - -div.summary -{ - float: right; - font-size: 8pt; - padding-right: 5px; - width: 50%; - text-align: right; -} - -div.summary a -{ - white-space: nowrap; -} - -div.ingroups -{ - margin-left: 5px; - font-size: 8pt; - padding-left: 5px; - width: 50%; - text-align: left; -} - -div.ingroups a -{ - white-space: nowrap; -} - -div.header -{ - background-image:url('nav_h.png'); - background-repeat:repeat-x; - background-color: #F9FAFC; - margin: 0px; - border-bottom: 1px solid #C4CFE5; -} - -div.headertitle -{ - padding: 5px 5px 5px 7px; -} - -dl -{ - padding: 0 0 0 10px; -} - -/* dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated, dl.todo, dl.test, dl.bug */ -dl.section -{ - border-left:4px solid; - padding: 0 0 0 6px; -} - -dl.note -{ - border-color: #D0C000; -} - -dl.warning, dl.attention -{ - border-color: #FF0000; -} - -dl.pre, dl.post, dl.invariant -{ - border-color: #00D000; -} - -dl.deprecated -{ - border-color: #505050; -} - -dl.todo -{ - border-color: #00C0E0; -} - -dl.test -{ - border-color: #3030E0; -} - -dl.bug -{ - border-color: #C08050; -} - -dl.section dd { - margin-bottom: 6px; -} - - -#projectlogo -{ - text-align: center; - vertical-align: bottom; - border-collapse: separate; -} - -#projectlogo img -{ - border: 0px none; -} - -#projectname -{ - font: 300% Tahoma, Arial,sans-serif; - margin: 0px; - padding: 2px 0px; -} - -#projectbrief -{ - font: 120% Tahoma, Arial,sans-serif; - margin: 0px; - padding: 0px; -} - -#projectnumber -{ - font: 50% Tahoma, Arial,sans-serif; - margin: 0px; - padding: 0px; -} - -#titlearea -{ - padding: 0px; - margin: 0px; - width: 100%; - border-bottom: 1px solid #5373B4; -} - -.image -{ - text-align: center; -} - -.dotgraph -{ - text-align: center; -} - -.mscgraph -{ - text-align: center; -} - -.caption -{ - font-weight: bold; -} - -div.zoom -{ - border: 1px solid #90A5CE; -} - -dl.citelist { - margin-bottom:50px; -} - -dl.citelist dt { - color:#334975; - float:left; - font-weight:bold; - margin-right:10px; - padding:5px; -} - -dl.citelist dd { - margin:2px 0; - padding:5px 0; -} - -div.toc { - padding: 14px 25px; - background-color: #F4F6FA; - border: 1px solid #D8DFEE; - border-radius: 7px 7px 7px 7px; - float: right; - height: auto; - margin: 0 20px 10px 10px; - width: 200px; -} - -div.toc li { - background: url("bdwn.png") no-repeat scroll 0 5px transparent; - font: 10px/1.2 Verdana,DejaVu Sans,Geneva,sans-serif; - margin-top: 5px; - padding-left: 10px; - padding-top: 2px; -} - -div.toc h3 { - font: bold 12px/1.2 Arial,FreeSans,sans-serif; - color: #4665A2; - border-bottom: 0 none; - margin: 0; -} - -div.toc ul { - list-style: none outside none; - border: medium none; - padding: 0px; -} - -div.toc li.level1 { - margin-left: 0px; -} - -div.toc li.level2 { - margin-left: 15px; -} - -div.toc li.level3 { - margin-left: 30px; -} - -div.toc li.level4 { - margin-left: 45px; -} - - -@media print -{ - #top { display: none; } - #side-nav { display: none; } - #nav-path { display: none; } - body { overflow:visible; } - h1, h2, h3, h4, h5, h6 { page-break-after: avoid; } - .summary { display: none; } - .memitem { page-break-inside: avoid; } - #doc-content - { - margin-left:0 !important; - height:auto !important; - width:auto !important; - overflow:inherit; - display:inline; - } - pre.fragment - { - overflow: visible; - text-wrap: unrestricted; - white-space: -moz-pre-wrap; /* Moz */ - white-space: -pre-wrap; /* Opera 4-6 */ - white-space: -o-pre-wrap; /* Opera 7 */ - white-space: pre-wrap; /* CSS3 */ - word-wrap: break-word; /* IE 5.5+ */ - } -} - diff --git a/htmldoc/api/doxygen.png b/htmldoc/api/doxygen.png deleted file mode 100644 index 635ed52..0000000 Binary files a/htmldoc/api/doxygen.png and /dev/null differ diff --git a/htmldoc/api/files.html b/htmldoc/api/files.html deleted file mode 100644 index 9364f78..0000000 --- a/htmldoc/api/files.html +++ /dev/null @@ -1,85 +0,0 @@ - - - - - -HTML Tidy: File List - - - - - - - - - - - - -
- - -
- - - - - - - - - - - - - -
-
HTML Tidy -  0.1 -
- -
-
- - -
-
- -
-
-
- -
-
-
-
File List
-
-
-
Here is a list of all documented files with brief descriptions:
- - - - -
buffio.h [code]
platform.h [code]
tidy.h [code]
tidyenum.h [code]
-
-
- - - - - diff --git a/htmldoc/api/files.js b/htmldoc/api/files.js deleted file mode 100644 index cd6740b..0000000 --- a/htmldoc/api/files.js +++ /dev/null @@ -1,7 +0,0 @@ -var files = -[ - [ "buffio.h", "buffio_8h.html", "buffio_8h" ], - [ "platform.h", null, null ], - [ "tidy.h", "tidy_8h.html", "tidy_8h" ], - [ "tidyenum.h", null, null ] -]; \ No newline at end of file diff --git a/htmldoc/api/ftv2blank.png b/htmldoc/api/ftv2blank.png deleted file mode 100644 index 3b7a29c..0000000 Binary files a/htmldoc/api/ftv2blank.png and /dev/null differ diff --git a/htmldoc/api/ftv2doc.png b/htmldoc/api/ftv2doc.png deleted file mode 100644 index 310e441..0000000 Binary files a/htmldoc/api/ftv2doc.png and /dev/null differ diff --git a/htmldoc/api/ftv2folderclosed.png b/htmldoc/api/ftv2folderclosed.png deleted file mode 100644 index 79aeaf7..0000000 Binary files a/htmldoc/api/ftv2folderclosed.png and /dev/null differ diff --git a/htmldoc/api/ftv2folderopen.png b/htmldoc/api/ftv2folderopen.png deleted file mode 100644 index 1b703dd..0000000 Binary files a/htmldoc/api/ftv2folderopen.png and /dev/null differ diff --git a/htmldoc/api/ftv2lastnode.png b/htmldoc/api/ftv2lastnode.png deleted file mode 100644 index 3b7a29c..0000000 Binary files a/htmldoc/api/ftv2lastnode.png and /dev/null differ diff --git a/htmldoc/api/ftv2link.png b/htmldoc/api/ftv2link.png deleted file mode 100644 index 310e441..0000000 Binary files a/htmldoc/api/ftv2link.png and /dev/null differ diff --git a/htmldoc/api/ftv2mlastnode.png b/htmldoc/api/ftv2mlastnode.png deleted file mode 100644 index ec51f17..0000000 Binary files a/htmldoc/api/ftv2mlastnode.png and /dev/null differ diff --git a/htmldoc/api/ftv2mnode.png b/htmldoc/api/ftv2mnode.png deleted file mode 100644 index ec51f17..0000000 Binary files a/htmldoc/api/ftv2mnode.png and /dev/null differ diff --git a/htmldoc/api/ftv2node.png b/htmldoc/api/ftv2node.png deleted file mode 100644 index 3b7a29c..0000000 Binary files a/htmldoc/api/ftv2node.png and /dev/null differ diff --git a/htmldoc/api/ftv2plastnode.png b/htmldoc/api/ftv2plastnode.png deleted file mode 100644 index 270a965..0000000 Binary files a/htmldoc/api/ftv2plastnode.png and /dev/null differ diff --git a/htmldoc/api/ftv2pnode.png b/htmldoc/api/ftv2pnode.png deleted file mode 100644 index 270a965..0000000 Binary files a/htmldoc/api/ftv2pnode.png and /dev/null differ diff --git a/htmldoc/api/ftv2splitbar.png b/htmldoc/api/ftv2splitbar.png deleted file mode 100644 index f60a527..0000000 Binary files a/htmldoc/api/ftv2splitbar.png and /dev/null differ diff --git a/htmldoc/api/ftv2vertline.png b/htmldoc/api/ftv2vertline.png deleted file mode 100644 index 3b7a29c..0000000 Binary files a/htmldoc/api/ftv2vertline.png and /dev/null differ diff --git a/htmldoc/api/functions.html b/htmldoc/api/functions.html deleted file mode 100644 index 274e683..0000000 --- a/htmldoc/api/functions.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - -HTML Tidy: Data Fields - - - - - - - - - - - - -
- - -
- - - - - - - - - - - - - -
-
HTML Tidy -  0.1 -
- -
-
- - -
-
- -
-
-
- -
-
-
Here is a list of all documented struct and union fields with links to the struct/union documentation for each field:
-
-
- - - - - diff --git a/htmldoc/api/functions_func.html b/htmldoc/api/functions_func.html deleted file mode 100644 index 8daa20e..0000000 --- a/htmldoc/api/functions_func.html +++ /dev/null @@ -1,86 +0,0 @@ - - - - - -HTML Tidy: Data Fields - Functions - - - - - - - - - - - - -
- - -
- - - - - - - - - - - - - -
-
HTML Tidy -  0.1 -
- -
-
- - -
-
- -
-
-
- -
-
-
-
- - - - - diff --git a/htmldoc/api/functions_vars.html b/htmldoc/api/functions_vars.html deleted file mode 100644 index b74b6fc..0000000 --- a/htmldoc/api/functions_vars.html +++ /dev/null @@ -1,110 +0,0 @@ - - - - - -HTML Tidy: Data Fields - Variables - - - - - - - - - - - - -
- - -
- - - - - - - - - - - - - -
-
HTML Tidy -  0.1 -
- -
-
- - -
-
- -
-
-
- -
-
-
-
- - - - - diff --git a/htmldoc/api/globals.html b/htmldoc/api/globals.html deleted file mode 100644 index 55aeef4..0000000 --- a/htmldoc/api/globals.html +++ /dev/null @@ -1,425 +0,0 @@ - - - - - -HTML Tidy: Globals - - - - - - - - - - - - -
- - -
- - - - - - - - - - - - - -
-
HTML Tidy -  0.1 -
- -
-
- - -
-
- -
-
-
- -
-
-
Here is a list of all documented functions, variables, defines, enums, and typedefs with links to the documentation:
- -

- e -

- - -

- t -

    -
  • tidyAccessWarningCount() -: tidy.h -
  • -
  • TidyAllocator -: tidy.h -
  • -
  • TidyAllocatorVtbl -: tidy.h -
  • -
  • tidyBufAlloc() -: buffio.h -
  • -
  • tidyBufAllocWithAllocator() -: buffio.h -
  • -
  • tidyBufAppend() -: buffio.h -
  • -
  • tidyBufAttach() -: buffio.h -
  • -
  • tidyBufCheckAlloc() -: buffio.h -
  • -
  • tidyBufClear() -: buffio.h -
  • -
  • tidyBufDetach() -: buffio.h -
  • -
  • tidyBufEndOfInput() -: buffio.h -
  • -
  • tidyBufFree() -: buffio.h -
  • -
  • tidyBufGetByte() -: buffio.h -
  • -
  • tidyBufInit() -: buffio.h -
  • -
  • tidyBufInitWithAllocator() -: buffio.h -
  • -
  • tidyBufPopByte() -: buffio.h -
  • -
  • tidyBufPutByte() -: buffio.h -
  • -
  • tidyBufUngetByte() -: buffio.h -
  • -
  • tidyCleanAndRepair() -: tidy.h -
  • -
  • tidyConfigErrorCount() -: tidy.h -
  • -
  • tidyDetectedGenericXml() -: tidy.h -
  • -
  • tidyDetectedHtmlVersion() -: tidy.h -
  • -
  • tidyDetectedXhtml() -: tidy.h -
  • -
  • TidyEOFFunc -: tidy.h -
  • -
  • tidyErrorCount() -: tidy.h -
  • -
  • tidyErrorSummary() -: tidy.h -
  • -
  • TidyFree -: tidy.h -
  • -
  • tidyGeneralInfo() -: tidy.h -
  • -
  • tidyGetAppData() -: tidy.h -
  • -
  • tidyGetByte() -: tidy.h -
  • -
  • TidyGetByteFunc -: tidy.h -
  • -
  • tidyGetNextOption() -: tidy.h -
  • -
  • tidyGetOption() -: tidy.h -
  • -
  • tidyGetOptionByName() -: tidy.h -
  • -
  • tidyGetOptionList() -: tidy.h -
  • -
  • tidyInitInputBuffer() -: buffio.h -
  • -
  • tidyInitOutputBuffer() -: buffio.h -
  • -
  • tidyInitSink() -: tidy.h -
  • -
  • tidyInitSource() -: tidy.h -
  • -
  • TidyInputSource -: tidy.h -
  • -
  • tidyIsEOF() -: tidy.h -
  • -
  • tidyLoadConfig() -: tidy.h -
  • -
  • tidyLoadConfigEnc() -: tidy.h -
  • -
  • TidyMalloc -: tidy.h -
  • -
  • TidyOptCallback -: tidy.h -
  • -
  • tidyOptCopyConfig() -: tidy.h -
  • -
  • tidyOptDiffThanDefault() -: tidy.h -
  • -
  • tidyOptDiffThanSnapshot() -: tidy.h -
  • -
  • tidyOptGetBool() -: tidy.h -
  • -
  • tidyOptGetCategory() -: tidy.h -
  • -
  • tidyOptGetCurrPick() -: tidy.h -
  • -
  • tidyOptGetDeclTagList() -: tidy.h -
  • -
  • tidyOptGetDefault() -: tidy.h -
  • -
  • tidyOptGetDefaultBool() -: tidy.h -
  • -
  • tidyOptGetDefaultInt() -: tidy.h -
  • -
  • tidyOptGetDoc() -: tidy.h -
  • -
  • tidyOptGetDocLinksList() -: tidy.h -
  • -
  • tidyOptGetEncName() -: tidy.h -
  • -
  • tidyOptGetId() -: tidy.h -
  • -
  • tidyOptGetIdForName() -: tidy.h -
  • -
  • tidyOptGetInt() -: tidy.h -
  • -
  • tidyOptGetName() -: tidy.h -
  • -
  • tidyOptGetNextDeclTag() -: tidy.h -
  • -
  • tidyOptGetNextDocLinks() -: tidy.h -
  • -
  • tidyOptGetNextPick() -: tidy.h -
  • -
  • tidyOptGetPickList() -: tidy.h -
  • -
  • tidyOptGetType() -: tidy.h -
  • -
  • tidyOptGetValue() -: tidy.h -
  • -
  • tidyOptIsReadOnly() -: tidy.h -
  • -
  • tidyOptParseValue() -: tidy.h -
  • -
  • tidyOptResetAllToDefault() -: tidy.h -
  • -
  • tidyOptResetToDefault() -: tidy.h -
  • -
  • tidyOptResetToSnapshot() -: tidy.h -
  • -
  • tidyOptSaveFile() -: tidy.h -
  • -
  • tidyOptSaveSink() -: tidy.h -
  • -
  • tidyOptSetBool() -: tidy.h -
  • -
  • tidyOptSetInt() -: tidy.h -
  • -
  • tidyOptSetValue() -: tidy.h -
  • -
  • tidyOptSnapshot() -: tidy.h -
  • -
  • TidyOutputSink -: tidy.h -
  • -
  • TidyPanic -: tidy.h -
  • -
  • tidyParseBuffer() -: tidy.h -
  • -
  • tidyParseFile() -: tidy.h -
  • -
  • tidyParseSource() -: tidy.h -
  • -
  • tidyParseStdin() -: tidy.h -
  • -
  • tidyParseString() -: tidy.h -
  • -
  • tidyPutByte() -: tidy.h -
  • -
  • TidyPutByteFunc -: tidy.h -
  • -
  • TidyRealloc -: tidy.h -
  • -
  • tidyReleaseDate() -: tidy.h -
  • -
  • TidyReportFilter -: tidy.h -
  • -
  • tidyRunDiagnostics() -: tidy.h -
  • -
  • tidySaveBuffer() -: tidy.h -
  • -
  • tidySaveFile() -: tidy.h -
  • -
  • tidySaveSink() -: tidy.h -
  • -
  • tidySaveStdout() -: tidy.h -
  • -
  • tidySaveString() -: tidy.h -
  • -
  • tidySetAppData() -: tidy.h -
  • -
  • tidySetCharEncoding() -: tidy.h -
  • -
  • tidySetErrorBuffer() -: tidy.h -
  • -
  • tidySetErrorFile() -: tidy.h -
  • -
  • tidySetErrorSink() -: tidy.h -
  • -
  • tidySetFreeCall() -: tidy.h -
  • -
  • tidySetInCharEncoding() -: tidy.h -
  • -
  • tidySetMallocCall() -: tidy.h -
  • -
  • tidySetOutCharEncoding() -: tidy.h -
  • -
  • tidySetPanicCall() -: tidy.h -
  • -
  • tidySetReallocCall() -: tidy.h -
  • -
  • tidySetReportFilter() -: tidy.h -
  • -
  • tidyStatus() -: tidy.h -
  • -
  • tidyUngetByte() -: tidy.h -
  • -
  • TidyUngetByteFunc -: tidy.h -
  • -
  • tidyWarningCount() -: tidy.h -
  • -
-
-
- - - - - diff --git a/htmldoc/api/globals_defs.html b/htmldoc/api/globals_defs.html deleted file mode 100644 index 4848989..0000000 --- a/htmldoc/api/globals_defs.html +++ /dev/null @@ -1,80 +0,0 @@ - - - - - -HTML Tidy: Globals - - - - - - - - - - - - -
- - -
- - - - - - - - - - - - - -
-
HTML Tidy -  0.1 -
- -
-
- - -
-
- -
-
-
- -
-
-
-
- - - - - diff --git a/htmldoc/api/globals_func.html b/htmldoc/api/globals_func.html deleted file mode 100644 index 6a1fc9d..0000000 --- a/htmldoc/api/globals_func.html +++ /dev/null @@ -1,376 +0,0 @@ - - - - - -HTML Tidy: Globals - - - - - - - - - - - - -
- - -
- - - - - - - - - - - - - -
-
HTML Tidy -  0.1 -
- -
-
- - -
-
- -
-
-
- -
-
-  - -

- t -

    -
  • tidyAccessWarningCount() -: tidy.h -
  • -
  • tidyBufAlloc() -: buffio.h -
  • -
  • tidyBufAllocWithAllocator() -: buffio.h -
  • -
  • tidyBufAppend() -: buffio.h -
  • -
  • tidyBufAttach() -: buffio.h -
  • -
  • tidyBufCheckAlloc() -: buffio.h -
  • -
  • tidyBufClear() -: buffio.h -
  • -
  • tidyBufDetach() -: buffio.h -
  • -
  • tidyBufEndOfInput() -: buffio.h -
  • -
  • tidyBufFree() -: buffio.h -
  • -
  • tidyBufGetByte() -: buffio.h -
  • -
  • tidyBufInit() -: buffio.h -
  • -
  • tidyBufInitWithAllocator() -: buffio.h -
  • -
  • tidyBufPopByte() -: buffio.h -
  • -
  • tidyBufPutByte() -: buffio.h -
  • -
  • tidyBufUngetByte() -: buffio.h -
  • -
  • tidyCleanAndRepair() -: tidy.h -
  • -
  • tidyConfigErrorCount() -: tidy.h -
  • -
  • tidyDetectedGenericXml() -: tidy.h -
  • -
  • tidyDetectedHtmlVersion() -: tidy.h -
  • -
  • tidyDetectedXhtml() -: tidy.h -
  • -
  • tidyErrorCount() -: tidy.h -
  • -
  • tidyErrorSummary() -: tidy.h -
  • -
  • tidyGeneralInfo() -: tidy.h -
  • -
  • tidyGetAppData() -: tidy.h -
  • -
  • tidyGetByte() -: tidy.h -
  • -
  • tidyGetNextOption() -: tidy.h -
  • -
  • tidyGetOption() -: tidy.h -
  • -
  • tidyGetOptionByName() -: tidy.h -
  • -
  • tidyGetOptionList() -: tidy.h -
  • -
  • tidyInitInputBuffer() -: buffio.h -
  • -
  • tidyInitOutputBuffer() -: buffio.h -
  • -
  • tidyInitSink() -: tidy.h -
  • -
  • tidyInitSource() -: tidy.h -
  • -
  • tidyIsEOF() -: tidy.h -
  • -
  • tidyLoadConfig() -: tidy.h -
  • -
  • tidyLoadConfigEnc() -: tidy.h -
  • -
  • tidyOptCopyConfig() -: tidy.h -
  • -
  • tidyOptDiffThanDefault() -: tidy.h -
  • -
  • tidyOptDiffThanSnapshot() -: tidy.h -
  • -
  • tidyOptGetBool() -: tidy.h -
  • -
  • tidyOptGetCategory() -: tidy.h -
  • -
  • tidyOptGetCurrPick() -: tidy.h -
  • -
  • tidyOptGetDeclTagList() -: tidy.h -
  • -
  • tidyOptGetDefault() -: tidy.h -
  • -
  • tidyOptGetDefaultBool() -: tidy.h -
  • -
  • tidyOptGetDefaultInt() -: tidy.h -
  • -
  • tidyOptGetDoc() -: tidy.h -
  • -
  • tidyOptGetDocLinksList() -: tidy.h -
  • -
  • tidyOptGetEncName() -: tidy.h -
  • -
  • tidyOptGetId() -: tidy.h -
  • -
  • tidyOptGetIdForName() -: tidy.h -
  • -
  • tidyOptGetInt() -: tidy.h -
  • -
  • tidyOptGetName() -: tidy.h -
  • -
  • tidyOptGetNextDeclTag() -: tidy.h -
  • -
  • tidyOptGetNextDocLinks() -: tidy.h -
  • -
  • tidyOptGetNextPick() -: tidy.h -
  • -
  • tidyOptGetPickList() -: tidy.h -
  • -
  • tidyOptGetType() -: tidy.h -
  • -
  • tidyOptGetValue() -: tidy.h -
  • -
  • tidyOptIsReadOnly() -: tidy.h -
  • -
  • tidyOptParseValue() -: tidy.h -
  • -
  • tidyOptResetAllToDefault() -: tidy.h -
  • -
  • tidyOptResetToDefault() -: tidy.h -
  • -
  • tidyOptResetToSnapshot() -: tidy.h -
  • -
  • tidyOptSaveFile() -: tidy.h -
  • -
  • tidyOptSaveSink() -: tidy.h -
  • -
  • tidyOptSetBool() -: tidy.h -
  • -
  • tidyOptSetInt() -: tidy.h -
  • -
  • tidyOptSetValue() -: tidy.h -
  • -
  • tidyOptSnapshot() -: tidy.h -
  • -
  • tidyParseBuffer() -: tidy.h -
  • -
  • tidyParseFile() -: tidy.h -
  • -
  • tidyParseSource() -: tidy.h -
  • -
  • tidyParseStdin() -: tidy.h -
  • -
  • tidyParseString() -: tidy.h -
  • -
  • tidyPutByte() -: tidy.h -
  • -
  • tidyReleaseDate() -: tidy.h -
  • -
  • tidyRunDiagnostics() -: tidy.h -
  • -
  • tidySaveBuffer() -: tidy.h -
  • -
  • tidySaveFile() -: tidy.h -
  • -
  • tidySaveSink() -: tidy.h -
  • -
  • tidySaveStdout() -: tidy.h -
  • -
  • tidySaveString() -: tidy.h -
  • -
  • tidySetAppData() -: tidy.h -
  • -
  • tidySetCharEncoding() -: tidy.h -
  • -
  • tidySetErrorBuffer() -: tidy.h -
  • -
  • tidySetErrorFile() -: tidy.h -
  • -
  • tidySetErrorSink() -: tidy.h -
  • -
  • tidySetFreeCall() -: tidy.h -
  • -
  • tidySetInCharEncoding() -: tidy.h -
  • -
  • tidySetMallocCall() -: tidy.h -
  • -
  • tidySetOutCharEncoding() -: tidy.h -
  • -
  • tidySetPanicCall() -: tidy.h -
  • -
  • tidySetReallocCall() -: tidy.h -
  • -
  • tidySetReportFilter() -: tidy.h -
  • -
  • tidyStatus() -: tidy.h -
  • -
  • tidyUngetByte() -: tidy.h -
  • -
  • tidyWarningCount() -: tidy.h -
  • -
-
-
- - - - - diff --git a/htmldoc/api/globals_type.html b/htmldoc/api/globals_type.html deleted file mode 100644 index 9ba995b..0000000 --- a/htmldoc/api/globals_type.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - -HTML Tidy: Globals - - - - - - - - - - - - -
- - -
- - - - - - - - - - - - - -
-
HTML Tidy -  0.1 -
- -
-
- - -
-
- -
-
-
- -
-
-
-
- - - - - diff --git a/htmldoc/api/group__AttrGet.html b/htmldoc/api/group__AttrGet.html deleted file mode 100644 index bd73113..0000000 --- a/htmldoc/api/group__AttrGet.html +++ /dev/null @@ -1,93 +0,0 @@ - - - - - -HTML Tidy: Attribute Retrieval - - - - - - - - - - - - -
- - -
- - - - - - - - - - - - - -
-
HTML Tidy -  0.1 -
- -
-
- - -
-
- -
-
-
- -
-
- -
-
Attribute Retrieval
-
-
- - - - - -

-Modules

 Deprecated attribute retrieval per AttrId

-Functions

-TidyAttr TIDY_CALL tidyAttrGetById (TidyNode tnod, TidyAttrId attId)
-

Detailed Description

-

Lookup an attribute from a given node

-
-
- - - - - diff --git a/htmldoc/api/group__AttrGet.js b/htmldoc/api/group__AttrGet.js deleted file mode 100644 index 762fb82..0000000 --- a/htmldoc/api/group__AttrGet.js +++ /dev/null @@ -1,5 +0,0 @@ -var group__AttrGet = -[ - [ "Deprecated attribute retrieval per AttrId", "group__AttrGetAttributeName.html", "group__AttrGetAttributeName" ], - [ "tidyAttrGetById", "group__AttrGet.html#ga5391e01ca5a2b497a7c044a25080468e", null ] -]; \ No newline at end of file diff --git a/htmldoc/api/group__AttrGetAttributeName.html b/htmldoc/api/group__AttrGetAttributeName.html deleted file mode 100644 index 54a8ead..0000000 --- a/htmldoc/api/group__AttrGetAttributeName.html +++ /dev/null @@ -1,177 +0,0 @@ - - - - - -HTML Tidy: Deprecated attribute retrieval per AttrId - - - - - - - - - - - - -
- - -
- - - - - - - - - - - - - -
-
HTML Tidy -  0.1 -
- -
-
- - -
-
- -
-
-
- -
-
- -
-
Deprecated attribute retrieval per AttrId
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

-TidyAttr TIDY_CALL tidyAttrGetHREF (TidyNode tnod)
-TidyAttr TIDY_CALL tidyAttrGetSRC (TidyNode tnod)
-TidyAttr TIDY_CALL tidyAttrGetID (TidyNode tnod)
-TidyAttr TIDY_CALL tidyAttrGetNAME (TidyNode tnod)
-TidyAttr TIDY_CALL tidyAttrGetSUMMARY (TidyNode tnod)
-TidyAttr TIDY_CALL tidyAttrGetALT (TidyNode tnod)
-TidyAttr TIDY_CALL tidyAttrGetLONGDESC (TidyNode tnod)
-TidyAttr TIDY_CALL tidyAttrGetUSEMAP (TidyNode tnod)
-TidyAttr TIDY_CALL tidyAttrGetISMAP (TidyNode tnod)
-TidyAttr TIDY_CALL tidyAttrGetLANGUAGE (TidyNode tnod)
-TidyAttr TIDY_CALL tidyAttrGetTYPE (TidyNode tnod)
-TidyAttr TIDY_CALL tidyAttrGetVALUE (TidyNode tnod)
-TidyAttr TIDY_CALL tidyAttrGetCONTENT (TidyNode tnod)
-TidyAttr TIDY_CALL tidyAttrGetTITLE (TidyNode tnod)
-TidyAttr TIDY_CALL tidyAttrGetXMLNS (TidyNode tnod)
-TidyAttr TIDY_CALL tidyAttrGetDATAFLD (TidyNode tnod)
-TidyAttr TIDY_CALL tidyAttrGetWIDTH (TidyNode tnod)
-TidyAttr TIDY_CALL tidyAttrGetHEIGHT (TidyNode tnod)
-TidyAttr TIDY_CALL tidyAttrGetFOR (TidyNode tnod)
-TidyAttr TIDY_CALL tidyAttrGetSELECTED (TidyNode tnod)
-TidyAttr TIDY_CALL tidyAttrGetCHECKED (TidyNode tnod)
-TidyAttr TIDY_CALL tidyAttrGetLANG (TidyNode tnod)
-TidyAttr TIDY_CALL tidyAttrGetTARGET (TidyNode tnod)
-TidyAttr TIDY_CALL tidyAttrGetHTTP_EQUIV (TidyNode tnod)
-TidyAttr TIDY_CALL tidyAttrGetREL (TidyNode tnod)
-TidyAttr TIDY_CALL tidyAttrGetOnMOUSEMOVE (TidyNode tnod)
-TidyAttr TIDY_CALL tidyAttrGetOnMOUSEDOWN (TidyNode tnod)
-TidyAttr TIDY_CALL tidyAttrGetOnMOUSEUP (TidyNode tnod)
-TidyAttr TIDY_CALL tidyAttrGetOnCLICK (TidyNode tnod)
-TidyAttr TIDY_CALL tidyAttrGetOnMOUSEOVER (TidyNode tnod)
-TidyAttr TIDY_CALL tidyAttrGetOnMOUSEOUT (TidyNode tnod)
-TidyAttr TIDY_CALL tidyAttrGetOnKEYDOWN (TidyNode tnod)
-TidyAttr TIDY_CALL tidyAttrGetOnKEYUP (TidyNode tnod)
-TidyAttr TIDY_CALL tidyAttrGetOnKEYPRESS (TidyNode tnod)
-TidyAttr TIDY_CALL tidyAttrGetOnFOCUS (TidyNode tnod)
-TidyAttr TIDY_CALL tidyAttrGetOnBLUR (TidyNode tnod)
-TidyAttr TIDY_CALL tidyAttrGetBGCOLOR (TidyNode tnod)
-TidyAttr TIDY_CALL tidyAttrGetLINK (TidyNode tnod)
-TidyAttr TIDY_CALL tidyAttrGetALINK (TidyNode tnod)
-TidyAttr TIDY_CALL tidyAttrGetVLINK (TidyNode tnod)
-TidyAttr TIDY_CALL tidyAttrGetTEXT (TidyNode tnod)
-TidyAttr TIDY_CALL tidyAttrGetSTYLE (TidyNode tnod)
-TidyAttr TIDY_CALL tidyAttrGetABBR (TidyNode tnod)
-TidyAttr TIDY_CALL tidyAttrGetCOLSPAN (TidyNode tnod)
-TidyAttr TIDY_CALL tidyAttrGetROWSPAN (TidyNode tnod)
-

Detailed Description

-
Deprecated:
The functions tidyAttrGet{AttributeName} are deprecated and should be replaced by tidyAttrGetById. For instance, tidyAttrGetID( TidyNode tnod ) can be replaced by tidyAttrGetById( TidyNode tnod, TidyAttr_ID ). This avoids a potential name clash with tidyAttrGetId for case-insensitive languages.
-
-
- - - - - diff --git a/htmldoc/api/group__AttrGetAttributeName.js b/htmldoc/api/group__AttrGetAttributeName.js deleted file mode 100644 index a9c74ad..0000000 --- a/htmldoc/api/group__AttrGetAttributeName.js +++ /dev/null @@ -1,48 +0,0 @@ -var group__AttrGetAttributeName = -[ - [ "tidyAttrGetHREF", "group__AttrGetAttributeName.html#ga32edc3c33e5aadcdd83efd60d3ac2a3e", null ], - [ "tidyAttrGetSRC", "group__AttrGetAttributeName.html#ga7869ea78760d5d62509940fc1f2c21ac", null ], - [ "tidyAttrGetID", "group__AttrGetAttributeName.html#gae3b3b79328600053c21dcb14cbc0ffa8", null ], - [ "tidyAttrGetNAME", "group__AttrGetAttributeName.html#gaab8e86c4006c219832438ee0db0daf28", null ], - [ "tidyAttrGetSUMMARY", "group__AttrGetAttributeName.html#ga8f4d4e6e768186d11e516cc0e6b2407a", null ], - [ "tidyAttrGetALT", "group__AttrGetAttributeName.html#ga0b3704beb81b411038692cd6a50a6812", null ], - [ "tidyAttrGetLONGDESC", "group__AttrGetAttributeName.html#gafbeef23c8d7946a771c2179e41324e81", null ], - [ "tidyAttrGetUSEMAP", "group__AttrGetAttributeName.html#ga33e4dde55f16c04f7b2decbbf7b4d4a2", null ], - [ "tidyAttrGetISMAP", "group__AttrGetAttributeName.html#ga13d19afccb2d2a369bbf93c6127adb1c", null ], - [ "tidyAttrGetLANGUAGE", "group__AttrGetAttributeName.html#ga643d43c8c735054a60d5443fbed8a240", null ], - [ "tidyAttrGetTYPE", "group__AttrGetAttributeName.html#ga4ad1d50bf2ba65bb32617e2fa2c41c67", null ], - [ "tidyAttrGetVALUE", "group__AttrGetAttributeName.html#ga044e7be2a5353e64aaa4b2a71089e10b", null ], - [ "tidyAttrGetCONTENT", "group__AttrGetAttributeName.html#gaf29497f73685e92521ab620f65cb3140", null ], - [ "tidyAttrGetTITLE", "group__AttrGetAttributeName.html#ga3da405f3a9e87534fd828cf081c58d03", null ], - [ "tidyAttrGetXMLNS", "group__AttrGetAttributeName.html#ga5d1fd6265f41c08ed5427c80316caa03", null ], - [ "tidyAttrGetDATAFLD", "group__AttrGetAttributeName.html#ga232436e2e4087c67502a12e8782e172e", null ], - [ "tidyAttrGetWIDTH", "group__AttrGetAttributeName.html#ga08bbf26729bf8a3f6c1390d26d3666d0", null ], - [ "tidyAttrGetHEIGHT", "group__AttrGetAttributeName.html#gae148f282af56270d6e811b97268bca64", null ], - [ "tidyAttrGetFOR", "group__AttrGetAttributeName.html#gafe94b5b5ae7288d6d866f7b82703b82a", null ], - [ "tidyAttrGetSELECTED", "group__AttrGetAttributeName.html#ga048e47b2b4c2f14512c3d7f585b2d004", null ], - [ "tidyAttrGetCHECKED", "group__AttrGetAttributeName.html#ga94406af9c9c20b1942cce43c506ecf61", null ], - [ "tidyAttrGetLANG", "group__AttrGetAttributeName.html#ga992d84e0b6b5b3f25c0e40c7b25bd13f", null ], - [ "tidyAttrGetTARGET", "group__AttrGetAttributeName.html#gafda31fbe48294c6feeef15449629341a", null ], - [ "tidyAttrGetHTTP_EQUIV", "group__AttrGetAttributeName.html#gad023e11b117601b6abdc4373db879d34", null ], - [ "tidyAttrGetREL", "group__AttrGetAttributeName.html#ga28306ff6130eab4c88fce32674326280", null ], - [ "tidyAttrGetOnMOUSEMOVE", "group__AttrGetAttributeName.html#ga9fed89179a23ad83c73948c045507095", null ], - [ "tidyAttrGetOnMOUSEDOWN", "group__AttrGetAttributeName.html#ga5c723febdf97b14e7339dede87b410e7", null ], - [ "tidyAttrGetOnMOUSEUP", "group__AttrGetAttributeName.html#gaa218ed968a4b8fa50b43a4a549209077", null ], - [ "tidyAttrGetOnCLICK", "group__AttrGetAttributeName.html#ga38fe84b14dafb84b3f40968dc27b86e3", null ], - [ "tidyAttrGetOnMOUSEOVER", "group__AttrGetAttributeName.html#ga66be75bf699308d87172e0bf03100363", null ], - [ "tidyAttrGetOnMOUSEOUT", "group__AttrGetAttributeName.html#ga0b13bb4f3475afbded6e4ae6a2bdcf2b", null ], - [ "tidyAttrGetOnKEYDOWN", "group__AttrGetAttributeName.html#gaabfd3fbdaf97f83fe2da402d0cbe9e8e", null ], - [ "tidyAttrGetOnKEYUP", "group__AttrGetAttributeName.html#ga73473cc4d39d2fd70b860ebebcdc4815", null ], - [ "tidyAttrGetOnKEYPRESS", "group__AttrGetAttributeName.html#ga6beda5d89c91f6b387929b930832fb57", null ], - [ "tidyAttrGetOnFOCUS", "group__AttrGetAttributeName.html#ga4fd4f5b38f99d395b8a7e253cc45ef28", null ], - [ "tidyAttrGetOnBLUR", "group__AttrGetAttributeName.html#ga5a038e1439320c57c983da87efe64c3e", null ], - [ "tidyAttrGetBGCOLOR", "group__AttrGetAttributeName.html#gadcde1dd3d87752162067bdac5d2dd785", null ], - [ "tidyAttrGetLINK", "group__AttrGetAttributeName.html#gae8e7d8d65a20f14d6aa875493b195329", null ], - [ "tidyAttrGetALINK", "group__AttrGetAttributeName.html#ga49e3f791908e26561566587b0f15b37d", null ], - [ "tidyAttrGetVLINK", "group__AttrGetAttributeName.html#gae46a7c41114c29766f9fa95c10b36f9d", null ], - [ "tidyAttrGetTEXT", "group__AttrGetAttributeName.html#ga5c4b94ac9cfcbd403ce02690c9196388", null ], - [ "tidyAttrGetSTYLE", "group__AttrGetAttributeName.html#gaa90006fbac322f2577db885c913c7d19", null ], - [ "tidyAttrGetABBR", "group__AttrGetAttributeName.html#gaae1595d000373dd64c9dfe0a89d03597", null ], - [ "tidyAttrGetCOLSPAN", "group__AttrGetAttributeName.html#gafd6746350a6e8d7e324d0c309777f059", null ], - [ "tidyAttrGetROWSPAN", "group__AttrGetAttributeName.html#ga837b3be1dc949e7989dcbf25deaf5b36", null ] -]; \ No newline at end of file diff --git a/htmldoc/api/group__AttrIsAttributeName.html b/htmldoc/api/group__AttrIsAttributeName.html deleted file mode 100644 index 9d410c9..0000000 --- a/htmldoc/api/group__AttrIsAttributeName.html +++ /dev/null @@ -1,177 +0,0 @@ - - - - - -HTML Tidy: Deprecated attribute interrogation per AttrId - - - - - - - - - - - - -
- - -
- - - - - - - - - - - - - -
-
HTML Tidy -  0.1 -
- -
-
- - -
-
- -
-
-
- -
-
- -
-
Deprecated attribute interrogation per AttrId
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

-Bool TIDY_CALL tidyAttrIsHREF (TidyAttr tattr)
-Bool TIDY_CALL tidyAttrIsSRC (TidyAttr tattr)
-Bool TIDY_CALL tidyAttrIsID (TidyAttr tattr)
-Bool TIDY_CALL tidyAttrIsNAME (TidyAttr tattr)
-Bool TIDY_CALL tidyAttrIsSUMMARY (TidyAttr tattr)
-Bool TIDY_CALL tidyAttrIsALT (TidyAttr tattr)
-Bool TIDY_CALL tidyAttrIsLONGDESC (TidyAttr tattr)
-Bool TIDY_CALL tidyAttrIsUSEMAP (TidyAttr tattr)
-Bool TIDY_CALL tidyAttrIsISMAP (TidyAttr tattr)
-Bool TIDY_CALL tidyAttrIsLANGUAGE (TidyAttr tattr)
-Bool TIDY_CALL tidyAttrIsTYPE (TidyAttr tattr)
-Bool TIDY_CALL tidyAttrIsVALUE (TidyAttr tattr)
-Bool TIDY_CALL tidyAttrIsCONTENT (TidyAttr tattr)
-Bool TIDY_CALL tidyAttrIsTITLE (TidyAttr tattr)
-Bool TIDY_CALL tidyAttrIsXMLNS (TidyAttr tattr)
-Bool TIDY_CALL tidyAttrIsDATAFLD (TidyAttr tattr)
-Bool TIDY_CALL tidyAttrIsWIDTH (TidyAttr tattr)
-Bool TIDY_CALL tidyAttrIsHEIGHT (TidyAttr tattr)
-Bool TIDY_CALL tidyAttrIsFOR (TidyAttr tattr)
-Bool TIDY_CALL tidyAttrIsSELECTED (TidyAttr tattr)
-Bool TIDY_CALL tidyAttrIsCHECKED (TidyAttr tattr)
-Bool TIDY_CALL tidyAttrIsLANG (TidyAttr tattr)
-Bool TIDY_CALL tidyAttrIsTARGET (TidyAttr tattr)
-Bool TIDY_CALL tidyAttrIsHTTP_EQUIV (TidyAttr tattr)
-Bool TIDY_CALL tidyAttrIsREL (TidyAttr tattr)
-Bool TIDY_CALL tidyAttrIsOnMOUSEMOVE (TidyAttr tattr)
-Bool TIDY_CALL tidyAttrIsOnMOUSEDOWN (TidyAttr tattr)
-Bool TIDY_CALL tidyAttrIsOnMOUSEUP (TidyAttr tattr)
-Bool TIDY_CALL tidyAttrIsOnCLICK (TidyAttr tattr)
-Bool TIDY_CALL tidyAttrIsOnMOUSEOVER (TidyAttr tattr)
-Bool TIDY_CALL tidyAttrIsOnMOUSEOUT (TidyAttr tattr)
-Bool TIDY_CALL tidyAttrIsOnKEYDOWN (TidyAttr tattr)
-Bool TIDY_CALL tidyAttrIsOnKEYUP (TidyAttr tattr)
-Bool TIDY_CALL tidyAttrIsOnKEYPRESS (TidyAttr tattr)
-Bool TIDY_CALL tidyAttrIsOnFOCUS (TidyAttr tattr)
-Bool TIDY_CALL tidyAttrIsOnBLUR (TidyAttr tattr)
-Bool TIDY_CALL tidyAttrIsBGCOLOR (TidyAttr tattr)
-Bool TIDY_CALL tidyAttrIsLINK (TidyAttr tattr)
-Bool TIDY_CALL tidyAttrIsALINK (TidyAttr tattr)
-Bool TIDY_CALL tidyAttrIsVLINK (TidyAttr tattr)
-Bool TIDY_CALL tidyAttrIsTEXT (TidyAttr tattr)
-Bool TIDY_CALL tidyAttrIsSTYLE (TidyAttr tattr)
-Bool TIDY_CALL tidyAttrIsABBR (TidyAttr tattr)
-Bool TIDY_CALL tidyAttrIsCOLSPAN (TidyAttr tattr)
-Bool TIDY_CALL tidyAttrIsROWSPAN (TidyAttr tattr)
-

Detailed Description

-
Deprecated:
The functions tidyAttrIs{AttributeName} are deprecated and should be replaced by tidyAttrGetId.
-
-
- - - - - diff --git a/htmldoc/api/group__AttrIsAttributeName.js b/htmldoc/api/group__AttrIsAttributeName.js deleted file mode 100644 index 412ac8e..0000000 --- a/htmldoc/api/group__AttrIsAttributeName.js +++ /dev/null @@ -1,48 +0,0 @@ -var group__AttrIsAttributeName = -[ - [ "tidyAttrIsHREF", "group__AttrIsAttributeName.html#ga7c5dab5750d48c0849fb5afddcaf6ef1", null ], - [ "tidyAttrIsSRC", "group__AttrIsAttributeName.html#ga9e42faa67c4c67d1f20b17494bcd85ae", null ], - [ "tidyAttrIsID", "group__AttrIsAttributeName.html#ga40eb7812272130ee672347252f8d2803", null ], - [ "tidyAttrIsNAME", "group__AttrIsAttributeName.html#ga30a54710b484eac706e936a69fb95e29", null ], - [ "tidyAttrIsSUMMARY", "group__AttrIsAttributeName.html#gab2b19098f9cf2e7c74d8b424e086df43", null ], - [ "tidyAttrIsALT", "group__AttrIsAttributeName.html#gad621c0fd59bdacd162dfdd769a62ef27", null ], - [ "tidyAttrIsLONGDESC", "group__AttrIsAttributeName.html#ga0a99b0a5db896cb47c8b40ef110370c8", null ], - [ "tidyAttrIsUSEMAP", "group__AttrIsAttributeName.html#gaeb125294c12e461615f32d9ffdb9bbd7", null ], - [ "tidyAttrIsISMAP", "group__AttrIsAttributeName.html#ga33c5307a710a27f636ca150112de3f7b", null ], - [ "tidyAttrIsLANGUAGE", "group__AttrIsAttributeName.html#gac903236acff81674020778300c3a3862", null ], - [ "tidyAttrIsTYPE", "group__AttrIsAttributeName.html#ga7a9c5c70693337edf09b36f483229fe5", null ], - [ "tidyAttrIsVALUE", "group__AttrIsAttributeName.html#ga9454a023bc9f5663c56b8404ec8406c8", null ], - [ "tidyAttrIsCONTENT", "group__AttrIsAttributeName.html#gac97bd371ff8401f13a333273e5e3bf22", null ], - [ "tidyAttrIsTITLE", "group__AttrIsAttributeName.html#ga6a47ddd81d777ff5a086bedc4e951040", null ], - [ "tidyAttrIsXMLNS", "group__AttrIsAttributeName.html#ga1147ae3c7c35ba4d4241832733859b78", null ], - [ "tidyAttrIsDATAFLD", "group__AttrIsAttributeName.html#ga3e3baf9e8a4ebe112b1865f3eb4b51fe", null ], - [ "tidyAttrIsWIDTH", "group__AttrIsAttributeName.html#ga7c62cdc314ebba251cf25f0eeec02f56", null ], - [ "tidyAttrIsHEIGHT", "group__AttrIsAttributeName.html#gaeb9e235fbc570a2fd73584e9c5a992be", null ], - [ "tidyAttrIsFOR", "group__AttrIsAttributeName.html#ga9eb541ed5e3b751a5d1fc1350443b5e6", null ], - [ "tidyAttrIsSELECTED", "group__AttrIsAttributeName.html#ga8a6824904535e40e3bdc2b17c4cf9dd2", null ], - [ "tidyAttrIsCHECKED", "group__AttrIsAttributeName.html#gae55a371bf3b146788b217be62499aa35", null ], - [ "tidyAttrIsLANG", "group__AttrIsAttributeName.html#gae8f47e206721fffc4eda7ca4af79e01e", null ], - [ "tidyAttrIsTARGET", "group__AttrIsAttributeName.html#ga315f297329d38bd0b69307e329699bd6", null ], - [ "tidyAttrIsHTTP_EQUIV", "group__AttrIsAttributeName.html#gaee94d3e34dd79b67e82c738e35076818", null ], - [ "tidyAttrIsREL", "group__AttrIsAttributeName.html#ga58a482b3e743570dcb88b64b9c93f172", null ], - [ "tidyAttrIsOnMOUSEMOVE", "group__AttrIsAttributeName.html#gad69f1e1cf8a7cf6d70359b7344839e79", null ], - [ "tidyAttrIsOnMOUSEDOWN", "group__AttrIsAttributeName.html#ga1df15af0e642d1c1bd1bbc64ffd894e9", null ], - [ "tidyAttrIsOnMOUSEUP", "group__AttrIsAttributeName.html#ga71c648c7d945d5d1a1da686813ef4149", null ], - [ "tidyAttrIsOnCLICK", "group__AttrIsAttributeName.html#ga4e70306e72db98316ff36c07058667ec", null ], - [ "tidyAttrIsOnMOUSEOVER", "group__AttrIsAttributeName.html#gadea7c51060ca59643fe1c4be493f70f8", null ], - [ "tidyAttrIsOnMOUSEOUT", "group__AttrIsAttributeName.html#gadba041c3573d5457fbee24356d4f59fc", null ], - [ "tidyAttrIsOnKEYDOWN", "group__AttrIsAttributeName.html#ga5699e85b46e535b657c70b47306a08db", null ], - [ "tidyAttrIsOnKEYUP", "group__AttrIsAttributeName.html#gaf4d69efe322c065fef448b5d5b48b8f7", null ], - [ "tidyAttrIsOnKEYPRESS", "group__AttrIsAttributeName.html#ga9b08c6cf7ec3f3605722486c4ba42b4f", null ], - [ "tidyAttrIsOnFOCUS", "group__AttrIsAttributeName.html#ga54437cfd33daef01fd9d9e63b79a20f5", null ], - [ "tidyAttrIsOnBLUR", "group__AttrIsAttributeName.html#gab704326c008f437a30878b8dd632ecca", null ], - [ "tidyAttrIsBGCOLOR", "group__AttrIsAttributeName.html#gad75eb36382a280b90761cba07fcf1895", null ], - [ "tidyAttrIsLINK", "group__AttrIsAttributeName.html#ga5d88a7dcf98264502e1a2a18014f58a7", null ], - [ "tidyAttrIsALINK", "group__AttrIsAttributeName.html#ga73acdbe07d9f4263897c2d7ef2f55a8d", null ], - [ "tidyAttrIsVLINK", "group__AttrIsAttributeName.html#ga502ead90e7b121fd1ae1b034a2a046da", null ], - [ "tidyAttrIsTEXT", "group__AttrIsAttributeName.html#ga7c6fde56b1bb05a07043ac1b69a72db8", null ], - [ "tidyAttrIsSTYLE", "group__AttrIsAttributeName.html#ga93224d5a31b94c82a4f97577338c3a59", null ], - [ "tidyAttrIsABBR", "group__AttrIsAttributeName.html#ga763c7d67faa40b48a0485d4aaeddf694", null ], - [ "tidyAttrIsCOLSPAN", "group__AttrIsAttributeName.html#ga69119cd18a1fb79bb02b78f8bf145f81", null ], - [ "tidyAttrIsROWSPAN", "group__AttrIsAttributeName.html#gaee7e2dfe999d6831d3af1e826dcf3c22", null ] -]; \ No newline at end of file diff --git a/htmldoc/api/group__Attribute.html b/htmldoc/api/group__Attribute.html deleted file mode 100644 index dc581f0..0000000 --- a/htmldoc/api/group__Attribute.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - - -HTML Tidy: Attribute Interrogation - - - - - - - - - - - - -
- - -
- - - - - - - - - - - - - -
-
HTML Tidy -  0.1 -
- -
-
- - -
-
- -
-
-
- -
-
- -
-
Attribute Interrogation
-
-
- - - - - - - -

-Modules

 Deprecated attribute interrogation per AttrId

-Functions

-TidyAttrId TIDY_CALL tidyAttrGetId (TidyAttr tattr)
-Bool TIDY_CALL tidyAttrIsEvent (TidyAttr tattr)
-Bool TIDY_CALL tidyAttrIsProp (TidyAttr tattr)
-

Detailed Description

-

Get information about any given attribute.

-
-
- - - - - diff --git a/htmldoc/api/group__Attribute.js b/htmldoc/api/group__Attribute.js deleted file mode 100644 index 36dfafb..0000000 --- a/htmldoc/api/group__Attribute.js +++ /dev/null @@ -1,7 +0,0 @@ -var group__Attribute = -[ - [ "Deprecated attribute interrogation per AttrId", "group__AttrIsAttributeName.html", "group__AttrIsAttributeName" ], - [ "tidyAttrGetId", "group__Attribute.html#ga42c5074e590ed76a7a641dfd179471d9", null ], - [ "tidyAttrIsEvent", "group__Attribute.html#ga1e4d8ec29e240a6415b2caa7fff2b502", null ], - [ "tidyAttrIsProp", "group__Attribute.html#ga9f52a0de76388df02294718c573911bd", null ] -]; \ No newline at end of file diff --git a/htmldoc/api/group__Basic.html b/htmldoc/api/group__Basic.html deleted file mode 100644 index 2d8b534..0000000 --- a/htmldoc/api/group__Basic.html +++ /dev/null @@ -1,609 +0,0 @@ - - - - - -HTML Tidy: Basic Operations - - - - - - - - - - - - -
- - -
- - - - - - - - - - - - - -
-
HTML Tidy -  0.1 -
- -
-
- - -
-
- -
-
-
- -
-
- -
-
Basic Operations
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

-TidyDoc TIDY_CALL tidyCreate (void)
-TidyDoc TIDY_CALL tidyCreateWithAllocator (TidyAllocator *allocator)
-void TIDY_CALL tidyRelease (TidyDoc tdoc)
void TIDY_CALL tidySetAppData (TidyDoc tdoc, void *appData)
void *TIDY_CALL tidyGetAppData (TidyDoc tdoc)
ctmbstr TIDY_CALL tidyReleaseDate (void)
int TIDY_CALL tidyStatus (TidyDoc tdoc)
int TIDY_CALL tidyDetectedHtmlVersion (TidyDoc tdoc)
Bool TIDY_CALL tidyDetectedXhtml (TidyDoc tdoc)
Bool TIDY_CALL tidyDetectedGenericXml (TidyDoc tdoc)
uint TIDY_CALL tidyErrorCount (TidyDoc tdoc)
uint TIDY_CALL tidyWarningCount (TidyDoc tdoc)
uint TIDY_CALL tidyAccessWarningCount (TidyDoc tdoc)
uint TIDY_CALL tidyConfigErrorCount (TidyDoc tdoc)
int TIDY_CALL tidyLoadConfig (TidyDoc tdoc, ctmbstr configFile)
int TIDY_CALL tidyLoadConfigEnc (TidyDoc tdoc, ctmbstr configFile, ctmbstr charenc)
-Bool TIDY_CALL tidyFileExists (TidyDoc tdoc, ctmbstr filename)
int TIDY_CALL tidySetCharEncoding (TidyDoc tdoc, ctmbstr encnam)
int TIDY_CALL tidySetInCharEncoding (TidyDoc tdoc, ctmbstr encnam)
int TIDY_CALL tidySetOutCharEncoding (TidyDoc tdoc, ctmbstr encnam)
int TIDY_CALL tidyOptSaveFile (TidyDoc tdoc, ctmbstr cfgfil)
int TIDY_CALL tidyOptSaveSink (TidyDoc tdoc, TidyOutputSink *sink)
void TIDY_CALL tidyErrorSummary (TidyDoc tdoc)
void TIDY_CALL tidyGeneralInfo (TidyDoc tdoc)
-

Detailed Description

-

Tidy public interface

-

Several functions return an integer document status:

-
- 0    -> SUCCESS
- >0   -> 1 == TIDY WARNING, 2 == TIDY ERROR
- <0   -> SEVERE ERROR
- 

The following is a short example program.

-
-

include <tidy.h>

-
-

include <buffio.h>

-
-

include <stdio.h>

-
-

include <errno.h>

-
int main(int argc, char **argv )
-{
-  const char* input = "&lt;title&gt;Foo&lt;/title&gt;&lt;p&gt;Foo!";
-  TidyBuffer output;
-  TidyBuffer errbuf;
-  int rc = -1;
-  Bool ok;
 TidyDoc tdoc = tidyCreate();                     // Initialize "document"
-  tidyBufInit( &output );
-  tidyBufInit( &errbuf );
-  printf( "Tidying:\t\%s\\n", input );
 ok = tidyOptSetBool( tdoc, TidyXhtmlOut, yes );  // Convert to XHTML
-  if ( ok )
-    rc = tidySetErrorBuffer( tdoc, &errbuf );      // Capture diagnostics
-  if ( rc >= 0 )
-    rc = tidyParseString( tdoc, input );           // Parse the input
-  if ( rc >= 0 )
-    rc = tidyCleanAndRepair( tdoc );               // Tidy it up!
-  if ( rc >= 0 )
-    rc = tidyRunDiagnostics( tdoc );               // Kvetch
-  if ( rc > 1 )                                    // If error, force output.
-    rc = ( tidyOptSetBool(tdoc, TidyForceOutput, yes) ? rc : -1 );
-  if ( rc >= 0 )
-    rc = tidySaveBuffer( tdoc, &output );          // Pretty Print
 if ( rc >= 0 )
-  {
-    if ( rc > 0 )
-      printf( "\\nDiagnostics:\\n\\n\%s", errbuf.bp );
-    printf( "\\nAnd here is the result:\\n\\n\%s", output.bp );
-  }
-  else
-    printf( "A severe error (\%d) occurred.\\n", rc );
 tidyBufFree( &output );
-  tidyBufFree( &errbuf );
-  tidyRelease( tdoc );
-  return rc;
-}
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
void TIDY_CALL tidySetAppData (TidyDoc tdoc,
void * appData 
)
-
-
-

Let application store a chunk of data w/ each Tidy instance. Useful for callbacks.

- -
-
- -
-
- - - - - - - - -
void* TIDY_CALL tidyGetAppData (TidyDoc tdoc)
-
-
-

Get application data set previously

- -
-
- -
-
- - - - - - - - -
ctmbstr TIDY_CALL tidyReleaseDate (void )
-
-
-

Get release date (version) for current library

- -
-
- -
-
- - - - - - - - -
int TIDY_CALL tidyStatus (TidyDoc tdoc)
-
-
-

Get status of current document.

- -
-
- -
-
- - - - - - - - -
int TIDY_CALL tidyDetectedHtmlVersion (TidyDoc tdoc)
-
-
-

Detected HTML version: 0, 2, 3 or 4

- -
-
- -
-
- - - - - - - - -
Bool TIDY_CALL tidyDetectedXhtml (TidyDoc tdoc)
-
-
-

Input is XHTML?

- -
-
- -
-
- - - - - - - - -
Bool TIDY_CALL tidyDetectedGenericXml (TidyDoc tdoc)
-
-
-

Input is generic XML (not HTML or XHTML)?

- -
-
- -
-
- - - - - - - - -
uint TIDY_CALL tidyErrorCount (TidyDoc tdoc)
-
-
-

Number of Tidy errors encountered. If > 0, output is suppressed unless TidyForceOutput is set.

- -
-
- -
-
- - - - - - - - -
uint TIDY_CALL tidyWarningCount (TidyDoc tdoc)
-
-
-

Number of Tidy warnings encountered.

- -
-
- -
-
- - - - - - - - -
uint TIDY_CALL tidyAccessWarningCount (TidyDoc tdoc)
-
-
-

Number of Tidy accessibility warnings encountered.

- -
-
- -
-
- - - - - - - - -
uint TIDY_CALL tidyConfigErrorCount (TidyDoc tdoc)
-
-
-

Number of Tidy configuration errors encountered.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
int TIDY_CALL tidyLoadConfig (TidyDoc tdoc,
ctmbstr configFile 
)
-
-
-

Load an ASCII Tidy configuration file

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
int TIDY_CALL tidyLoadConfigEnc (TidyDoc tdoc,
ctmbstr configFile,
ctmbstr charenc 
)
-
-
-

Load a Tidy configuration file with the specified character encoding

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
int TIDY_CALL tidySetCharEncoding (TidyDoc tdoc,
ctmbstr encnam 
)
-
-
-

Set the input/output character encoding for parsing markup. Values include: ascii, latin1, raw, utf8, iso2022, mac, win1252, utf16le, utf16be, utf16, big5 and shiftjis. Case in-sensitive.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
int TIDY_CALL tidySetInCharEncoding (TidyDoc tdoc,
ctmbstr encnam 
)
-
-
-

Set the input encoding for parsing markup. As for tidySetCharEncoding but only affects the input encoding

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
int TIDY_CALL tidySetOutCharEncoding (TidyDoc tdoc,
ctmbstr encnam 
)
-
-
-

Set the output encoding.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
int TIDY_CALL tidyOptSaveFile (TidyDoc tdoc,
ctmbstr cfgfil 
)
-
-
-

Save current settings to named file. Only non-default values are written.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
int TIDY_CALL tidyOptSaveSink (TidyDoc tdoc,
TidyOutputSinksink 
)
-
-
-

Save current settings to given output sink. Only non-default values are written.

- -
-
- -
-
- - - - - - - - -
void TIDY_CALL tidyErrorSummary (TidyDoc tdoc)
-
-
-

Write more complete information about errors to current error sink.

- -
-
- -
-
- - - - - - - - -
void TIDY_CALL tidyGeneralInfo (TidyDoc tdoc)
-
-
-

Write more general information about markup to current error sink.

- -
-
-
-
- - - - - diff --git a/htmldoc/api/group__Basic.js b/htmldoc/api/group__Basic.js deleted file mode 100644 index 0d3aca1..0000000 --- a/htmldoc/api/group__Basic.js +++ /dev/null @@ -1,27 +0,0 @@ -var group__Basic = -[ - [ "tidyCreate", "group__Basic.html#ga728e98da5985ecb26de7c6c45f7fcaf2", null ], - [ "tidyCreateWithAllocator", "group__Basic.html#gaf58ea992501470e0998182a1c75df2aa", null ], - [ "tidyRelease", "group__Basic.html#gacc380c1451088b89898a85337b113713", null ], - [ "tidySetAppData", "group__Basic.html#gaa1a9f78be3542868ac10481e2efa8708", null ], - [ "tidyGetAppData", "group__Basic.html#ga1319c9757d4f8c596615e0fdcfcf2504", null ], - [ "tidyReleaseDate", "group__Basic.html#gab7b404ada690635341d2e2d332102b36", null ], - [ "tidyStatus", "group__Basic.html#gaf45a8fb57fb9bfce89c42e1cc9d3e760", null ], - [ "tidyDetectedHtmlVersion", "group__Basic.html#ga8fbec4bc2b67c4f525440cfc7196b443", null ], - [ "tidyDetectedXhtml", "group__Basic.html#gaf3279c9a0506629d2ae766c31c1de48d", null ], - [ "tidyDetectedGenericXml", "group__Basic.html#ga8dd761b5e230119f8eb6c412f12fdec2", null ], - [ "tidyErrorCount", "group__Basic.html#ga3617548e3669d00ad074daaaa8f3460d", null ], - [ "tidyWarningCount", "group__Basic.html#ga29b0c36f75584a2a26422b021561f19c", null ], - [ "tidyAccessWarningCount", "group__Basic.html#ga56ad617084cdcbb485f06f597de7dedb", null ], - [ "tidyConfigErrorCount", "group__Basic.html#gac17c01a0dbb8f73bdee29df48e499988", null ], - [ "tidyLoadConfig", "group__Basic.html#ga2dec710c0d4927e76a7b0d338b11693a", null ], - [ "tidyLoadConfigEnc", "group__Basic.html#gac677de148c6f00fc96a682c21433ab1c", null ], - [ "tidyFileExists", "group__Basic.html#gac10c770d6ea5a0610159ad17f8427943", null ], - [ "tidySetCharEncoding", "group__Basic.html#ga2612e184472c2a59ca822a37d030e9af", null ], - [ "tidySetInCharEncoding", "group__Basic.html#ga05203a9193542a67b8396cf6ca8acf59", null ], - [ "tidySetOutCharEncoding", "group__Basic.html#ga9b6bd07e38bf320cf88663a29967f1e9", null ], - [ "tidyOptSaveFile", "group__Basic.html#gaaa6e0510b0d7ca0524c928143488c6ca", null ], - [ "tidyOptSaveSink", "group__Basic.html#gabf30cc37e3e7aa07dd351f083ab747ee", null ], - [ "tidyErrorSummary", "group__Basic.html#ga4c050ea7d2746db948ad45edb2264d70", null ], - [ "tidyGeneralInfo", "group__Basic.html#ga28384bf13bf6962c8ef0bcab9b4b7971", null ] -]; \ No newline at end of file diff --git a/htmldoc/api/group__Clean.html b/htmldoc/api/group__Clean.html deleted file mode 100644 index 34bbd70..0000000 --- a/htmldoc/api/group__Clean.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -HTML Tidy: Diagnostics and Repair - - - - - - - - - - - - -
- - -
- - - - - - - - - - - - - -
-
HTML Tidy -  0.1 -
- -
-
- - -
-
- -
-
-
- -
-
- -
-
Diagnostics and Repair
-
-
- - - - -

-Functions

int TIDY_CALL tidyCleanAndRepair (TidyDoc tdoc)
int TIDY_CALL tidyRunDiagnostics (TidyDoc tdoc)
-

Function Documentation

- -
-
- - - - - - - - -
int TIDY_CALL tidyCleanAndRepair (TidyDoc tdoc)
-
-
-

Execute configured cleanup and repair operations on parsed markup

- -
-
- -
-
- - - - - - - - -
int TIDY_CALL tidyRunDiagnostics (TidyDoc tdoc)
-
-
-

Run configured diagnostics on parsed and repaired markup. Must call tidyCleanAndRepair() first.

- -
-
-
-
- - - - - diff --git a/htmldoc/api/group__Clean.js b/htmldoc/api/group__Clean.js deleted file mode 100644 index e4222ab..0000000 --- a/htmldoc/api/group__Clean.js +++ /dev/null @@ -1,5 +0,0 @@ -var group__Clean = -[ - [ "tidyCleanAndRepair", "group__Clean.html#ga11fd23eeb4acfaa0f9501effa0c21269", null ], - [ "tidyRunDiagnostics", "group__Clean.html#ga6170500974cc02114f6e4a29d44b7d77", null ] -]; \ No newline at end of file diff --git a/htmldoc/api/group__Configuration.html b/htmldoc/api/group__Configuration.html deleted file mode 100644 index b788b43..0000000 --- a/htmldoc/api/group__Configuration.html +++ /dev/null @@ -1,1020 +0,0 @@ - - - - - -HTML Tidy: Configuration Options - - - - - - - - - - - - -
- - -
- - - - - - - - - - - - - -
-
HTML Tidy -  0.1 -
- -
-
- - -
-
- -
-
-
- -
-
- -
-
Configuration Options
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Typedefs

typedef Bool(TIDY_CALL * TidyOptCallback )(ctmbstr option, ctmbstr value)

-Functions

-Bool TIDY_CALL tidySetOptionCallback (TidyDoc tdoc, TidyOptCallback pOptCallback)
TidyOptionId TIDY_CALL tidyOptGetIdForName (ctmbstr optnam)
TidyIterator TIDY_CALL tidyGetOptionList (TidyDoc tdoc)
TidyOption TIDY_CALL tidyGetNextOption (TidyDoc tdoc, TidyIterator *pos)
TidyOption TIDY_CALL tidyGetOption (TidyDoc tdoc, TidyOptionId optId)
TidyOption TIDY_CALL tidyGetOptionByName (TidyDoc tdoc, ctmbstr optnam)
TidyOptionId TIDY_CALL tidyOptGetId (TidyOption opt)
ctmbstr TIDY_CALL tidyOptGetName (TidyOption opt)
TidyOptionType TIDY_CALL tidyOptGetType (TidyOption opt)
Bool TIDY_CALL tidyOptIsReadOnly (TidyOption opt)
TidyConfigCategory TIDY_CALL tidyOptGetCategory (TidyOption opt)
ctmbstr TIDY_CALL tidyOptGetDefault (TidyOption opt)
ulong TIDY_CALL tidyOptGetDefaultInt (TidyOption opt)
Bool TIDY_CALL tidyOptGetDefaultBool (TidyOption opt)
TidyIterator TIDY_CALL tidyOptGetPickList (TidyOption opt)
ctmbstr TIDY_CALL tidyOptGetNextPick (TidyOption opt, TidyIterator *pos)
ctmbstr TIDY_CALL tidyOptGetValue (TidyDoc tdoc, TidyOptionId optId)
Bool TIDY_CALL tidyOptSetValue (TidyDoc tdoc, TidyOptionId optId, ctmbstr val)
Bool TIDY_CALL tidyOptParseValue (TidyDoc tdoc, ctmbstr optnam, ctmbstr val)
ulong TIDY_CALL tidyOptGetInt (TidyDoc tdoc, TidyOptionId optId)
Bool TIDY_CALL tidyOptSetInt (TidyDoc tdoc, TidyOptionId optId, ulong val)
Bool TIDY_CALL tidyOptGetBool (TidyDoc tdoc, TidyOptionId optId)
Bool TIDY_CALL tidyOptSetBool (TidyDoc tdoc, TidyOptionId optId, Bool val)
Bool TIDY_CALL tidyOptResetToDefault (TidyDoc tdoc, TidyOptionId opt)
Bool TIDY_CALL tidyOptResetAllToDefault (TidyDoc tdoc)
Bool TIDY_CALL tidyOptSnapshot (TidyDoc tdoc)
Bool TIDY_CALL tidyOptResetToSnapshot (TidyDoc tdoc)
Bool TIDY_CALL tidyOptDiffThanDefault (TidyDoc tdoc)
Bool TIDY_CALL tidyOptDiffThanSnapshot (TidyDoc tdoc)
Bool TIDY_CALL tidyOptCopyConfig (TidyDoc tdocTo, TidyDoc tdocFrom)
ctmbstr TIDY_CALL tidyOptGetEncName (TidyDoc tdoc, TidyOptionId optId)
ctmbstr TIDY_CALL tidyOptGetCurrPick (TidyDoc tdoc, TidyOptionId optId)
TidyIterator TIDY_CALL tidyOptGetDeclTagList (TidyDoc tdoc)
ctmbstr TIDY_CALL tidyOptGetNextDeclTag (TidyDoc tdoc, TidyOptionId optId, TidyIterator *iter)
ctmbstr TIDY_CALL tidyOptGetDoc (TidyDoc tdoc, TidyOption opt)
TidyIterator TIDY_CALL tidyOptGetDocLinksList (TidyDoc tdoc, TidyOption opt)
TidyOption TIDY_CALL tidyOptGetNextDocLinks (TidyDoc tdoc, TidyIterator *pos)
-

Detailed Description

-

Functions for getting and setting Tidy configuration options.

-

Typedef Documentation

- -
-
- - - - -
typedef Bool(TIDY_CALL * TidyOptCallback)(ctmbstr option, ctmbstr value)
-
-
-

Applications using TidyLib may want to augment command-line and configuration file options. Setting this callback allows an application developer to examine command-line and configuration file options after TidyLib has examined them and failed to recognize them.

- -
-
-

Function Documentation

- -
-
- - - - - - - - -
TidyOptionId TIDY_CALL tidyOptGetIdForName (ctmbstr optnam)
-
-
-

Get option ID by name

- -
-
- -
-
- - - - - - - - -
TidyIterator TIDY_CALL tidyGetOptionList (TidyDoc tdoc)
-
-
-

Get iterator for list of option Example:

-
-TidyIterator itOpt = tidyGetOptionList( tdoc );
-while ( itOpt )
-{
-  TidyOption opt = tidyGetNextOption( tdoc, &itOpt );
-  .. get/set option values ..
-}
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
TidyOption TIDY_CALL tidyGetNextOption (TidyDoc tdoc,
TidyIterator * pos 
)
-
-
-

Get next Option

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
TidyOption TIDY_CALL tidyGetOption (TidyDoc tdoc,
TidyOptionId optId 
)
-
-
-

Lookup option by ID

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
TidyOption TIDY_CALL tidyGetOptionByName (TidyDoc tdoc,
ctmbstr optnam 
)
-
-
-

Lookup option by name

- -
-
- -
-
- - - - - - - - -
TidyOptionId TIDY_CALL tidyOptGetId (TidyOption opt)
-
-
-

Get ID of given Option

- -
-
- -
-
- - - - - - - - -
ctmbstr TIDY_CALL tidyOptGetName (TidyOption opt)
-
-
-

Get name of given Option

- -
-
- -
-
- - - - - - - - -
TidyOptionType TIDY_CALL tidyOptGetType (TidyOption opt)
-
-
-

Get datatype of given Option

- -
-
- -
-
- - - - - - - - -
Bool TIDY_CALL tidyOptIsReadOnly (TidyOption opt)
-
-
-

Is Option read-only?

- -
-
- -
-
- - - - - - - - -
TidyConfigCategory TIDY_CALL tidyOptGetCategory (TidyOption opt)
-
-
-

Get category of given Option

- -
-
- -
-
- - - - - - - - -
ctmbstr TIDY_CALL tidyOptGetDefault (TidyOption opt)
-
-
-

Get default value of given Option as a string

- -
-
- -
-
- - - - - - - - -
ulong TIDY_CALL tidyOptGetDefaultInt (TidyOption opt)
-
-
-

Get default value of given Option as an unsigned integer

- -
-
- -
-
- - - - - - - - -
Bool TIDY_CALL tidyOptGetDefaultBool (TidyOption opt)
-
-
-

Get default value of given Option as a Boolean value

- -
-
- -
-
- - - - - - - - -
TidyIterator TIDY_CALL tidyOptGetPickList (TidyOption opt)
-
-
-

Iterate over Option "pick list"

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
ctmbstr TIDY_CALL tidyOptGetNextPick (TidyOption opt,
TidyIterator * pos 
)
-
-
-

Get next string value of Option "pick list"

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
ctmbstr TIDY_CALL tidyOptGetValue (TidyDoc tdoc,
TidyOptionId optId 
)
-
-
-

Get current Option value as a string

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Bool TIDY_CALL tidyOptSetValue (TidyDoc tdoc,
TidyOptionId optId,
ctmbstr val 
)
-
-
-

Set Option value as a string

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Bool TIDY_CALL tidyOptParseValue (TidyDoc tdoc,
ctmbstr optnam,
ctmbstr val 
)
-
-
-

Set named Option value as a string. Good if not sure of type.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
ulong TIDY_CALL tidyOptGetInt (TidyDoc tdoc,
TidyOptionId optId 
)
-
-
-

Get current Option value as an integer

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Bool TIDY_CALL tidyOptSetInt (TidyDoc tdoc,
TidyOptionId optId,
ulong val 
)
-
-
-

Set Option value as an integer

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
Bool TIDY_CALL tidyOptGetBool (TidyDoc tdoc,
TidyOptionId optId 
)
-
-
-

Get current Option value as a Boolean flag

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Bool TIDY_CALL tidyOptSetBool (TidyDoc tdoc,
TidyOptionId optId,
Bool val 
)
-
-
-

Set Option value as a Boolean flag

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
Bool TIDY_CALL tidyOptResetToDefault (TidyDoc tdoc,
TidyOptionId opt 
)
-
-
-

Reset option to default value by ID

- -
-
- -
-
- - - - - - - - -
Bool TIDY_CALL tidyOptResetAllToDefault (TidyDoc tdoc)
-
-
-

Reset all options to their default values

- -
-
- -
-
- - - - - - - - -
Bool TIDY_CALL tidyOptSnapshot (TidyDoc tdoc)
-
-
-

Take a snapshot of current config settings

- -
-
- -
-
- - - - - - - - -
Bool TIDY_CALL tidyOptResetToSnapshot (TidyDoc tdoc)
-
-
-

Reset config settings to snapshot (after document processing)

- -
-
- -
-
- - - - - - - - -
Bool TIDY_CALL tidyOptDiffThanDefault (TidyDoc tdoc)
-
-
-

Any settings different than default?

- -
-
- -
-
- - - - - - - - -
Bool TIDY_CALL tidyOptDiffThanSnapshot (TidyDoc tdoc)
-
-
-

Any settings different than snapshot?

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
Bool TIDY_CALL tidyOptCopyConfig (TidyDoc tdocTo,
TidyDoc tdocFrom 
)
-
-
-

Copy current configuration settings from one document to another

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
ctmbstr TIDY_CALL tidyOptGetEncName (TidyDoc tdoc,
TidyOptionId optId 
)
-
-
-

Get character encoding name. Used with TidyCharEncoding, TidyOutCharEncoding, TidyInCharEncoding

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
ctmbstr TIDY_CALL tidyOptGetCurrPick (TidyDoc tdoc,
TidyOptionId optId 
)
-
-
-

Get current pick list value for option by ID. Useful for enum types.

- -
-
- -
-
- - - - - - - - -
TidyIterator TIDY_CALL tidyOptGetDeclTagList (TidyDoc tdoc)
-
-
-

Iterate over user declared tags

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
ctmbstr TIDY_CALL tidyOptGetNextDeclTag (TidyDoc tdoc,
TidyOptionId optId,
TidyIterator * iter 
)
-
-
-

Get next declared tag of specified type: TidyInlineTags, TidyBlockTags, TidyEmptyTags, TidyPreTags

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
ctmbstr TIDY_CALL tidyOptGetDoc (TidyDoc tdoc,
TidyOption opt 
)
-
-
-

Get option description

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
TidyIterator TIDY_CALL tidyOptGetDocLinksList (TidyDoc tdoc,
TidyOption opt 
)
-
-
-

Iterate over a list of related options

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
TidyOption TIDY_CALL tidyOptGetNextDocLinks (TidyDoc tdoc,
TidyIterator * pos 
)
-
-
-

Get next related option

- -
-
-
-
- - - - - diff --git a/htmldoc/api/group__Configuration.js b/htmldoc/api/group__Configuration.js deleted file mode 100644 index 6109547..0000000 --- a/htmldoc/api/group__Configuration.js +++ /dev/null @@ -1,41 +0,0 @@ -var group__Configuration = -[ - [ "TidyOptCallback", "group__Configuration.html#gaee8a8bcb6091bd36f6fc20507a4544fc", null ], - [ "tidySetOptionCallback", "group__Configuration.html#gab94961700088d2daf8dcc012a5e33e49", null ], - [ "tidyOptGetIdForName", "group__Configuration.html#ga500f31ba81d015b8ce9dad6f2a6ade75", null ], - [ "tidyGetOptionList", "group__Configuration.html#gab92a35ffbd3b0b668534d63f94d2486f", null ], - [ "tidyGetNextOption", "group__Configuration.html#ga1a3088dacc539487e00f1eb4009dafc0", null ], - [ "tidyGetOption", "group__Configuration.html#ga030c695d6407b2756856eb1862642cfe", null ], - [ "tidyGetOptionByName", "group__Configuration.html#gaeae2e147645697fc54234ff2526a8108", null ], - [ "tidyOptGetId", "group__Configuration.html#ga51cf095b76921b4e290e14814998f096", null ], - [ "tidyOptGetName", "group__Configuration.html#gaf370cd2ea113747f50da185fda24adcb", null ], - [ "tidyOptGetType", "group__Configuration.html#ga06e2685cc2950b182ff2f7136d170a34", null ], - [ "tidyOptIsReadOnly", "group__Configuration.html#ga6aba2ccdb1237a70f5fe1393fee0ce4d", null ], - [ "tidyOptGetCategory", "group__Configuration.html#ga1d8b72e64e4d949dc21599fa788e842f", null ], - [ "tidyOptGetDefault", "group__Configuration.html#gab9e02c9927fe2c382ec5f81b4acf9cb4", null ], - [ "tidyOptGetDefaultInt", "group__Configuration.html#gafc8df35e864dd3a24f23aca3c2f8bd9d", null ], - [ "tidyOptGetDefaultBool", "group__Configuration.html#gadadea4da66e3718e02b720c2b59d170b", null ], - [ "tidyOptGetPickList", "group__Configuration.html#ga31f815fe2b5bf1e00d6b50be62edd0ab", null ], - [ "tidyOptGetNextPick", "group__Configuration.html#gad1366c5c458f38d2a9c6a6335e6704d9", null ], - [ "tidyOptGetValue", "group__Configuration.html#ga0fbe23ab1e4ec374fa38e6f514617e4d", null ], - [ "tidyOptSetValue", "group__Configuration.html#gaf37bdad3b6809d8cb78e7d6316d4ba69", null ], - [ "tidyOptParseValue", "group__Configuration.html#gad09fbcbbaf83fbf93e0d7be9c9bb30c0", null ], - [ "tidyOptGetInt", "group__Configuration.html#ga7ff683612d446b07318517e564cccc7a", null ], - [ "tidyOptSetInt", "group__Configuration.html#gad9e75a64c8dcbc54e791959cf934e1ad", null ], - [ "tidyOptGetBool", "group__Configuration.html#ga09e6c999e9e7ebc94ea3d9cf5d674125", null ], - [ "tidyOptSetBool", "group__Configuration.html#gac9de7e155bea5c28713f2bfb93614472", null ], - [ "tidyOptResetToDefault", "group__Configuration.html#ga2aa45ad67758ca0b18d14eafa37fe080", null ], - [ "tidyOptResetAllToDefault", "group__Configuration.html#ga874ce26884f0eeaf692c30758688888a", null ], - [ "tidyOptSnapshot", "group__Configuration.html#ga4beb2c73c90c3e2ae589c2642478cebd", null ], - [ "tidyOptResetToSnapshot", "group__Configuration.html#gae6212b8f32990763cc18a6d3f05eb191", null ], - [ "tidyOptDiffThanDefault", "group__Configuration.html#ga083cb42d6f4413604240b5c1b3aa2070", null ], - [ "tidyOptDiffThanSnapshot", "group__Configuration.html#ga793bc9e177aa90301802e44c4fc22e0e", null ], - [ "tidyOptCopyConfig", "group__Configuration.html#ga0b6cb26ab5dbbe0a0841d605fbd06fad", null ], - [ "tidyOptGetEncName", "group__Configuration.html#ga47f8502cc202fc7423937647957955a3", null ], - [ "tidyOptGetCurrPick", "group__Configuration.html#ga0785047cc73d5fbc88691861a0fa9c78", null ], - [ "tidyOptGetDeclTagList", "group__Configuration.html#ga55f30cf9e507f8fc66330ec3b0132620", null ], - [ "tidyOptGetNextDeclTag", "group__Configuration.html#gacec933eef8f9eec3dfa4382e05cab251", null ], - [ "tidyOptGetDoc", "group__Configuration.html#gafca3ed506463e192187133ff646a643d", null ], - [ "tidyOptGetDocLinksList", "group__Configuration.html#gaeed1ef5cb5329f3f5aca0a8ad7e8ea4f", null ], - [ "tidyOptGetNextDocLinks", "group__Configuration.html#ga1db79a95067d6364c02263d9492fa9e8", null ] -]; \ No newline at end of file diff --git a/htmldoc/api/group__IO.html b/htmldoc/api/group__IO.html deleted file mode 100644 index d0e10f0..0000000 --- a/htmldoc/api/group__IO.html +++ /dev/null @@ -1,517 +0,0 @@ - - - - - -HTML Tidy: I/O and Messages - - - - - - - - - - - - -
- - -
- - - - - - - - - - - - - -
-
HTML Tidy -  0.1 -
- -
-
- - -
-
- -
-
-
- -
-
- -
-
I/O and Messages
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - -

-Data Structures

struct  _TidyInputSource
struct  _TidyOutputSink

-Defines

#define EndOfStream   (~0u)

-Typedefs

typedef int(TIDY_CALL * TidyGetByteFunc )(void *sourceData)
typedef void(TIDY_CALL * TidyUngetByteFunc )(void *sourceData, byte bt)
typedef Bool(TIDY_CALL * TidyEOFFunc )(void *sourceData)
typedef TIDY_STRUCT struct
-_TidyInputSource 
TidyInputSource
typedef void(TIDY_CALL * TidyPutByteFunc )(void *sinkData, byte bt)
typedef TIDY_STRUCT struct
-_TidyOutputSink 
TidyOutputSink
typedef Bool(TIDY_CALL * TidyReportFilter )(TidyDoc tdoc, TidyReportLevel lvl, uint line, uint col, ctmbstr mssg)

-Functions

Bool TIDY_CALL tidyInitSource (TidyInputSource *source, void *srcData, TidyGetByteFunc gbFunc, TidyUngetByteFunc ugbFunc, TidyEOFFunc endFunc)
uint TIDY_CALL tidyGetByte (TidyInputSource *source)
void TIDY_CALL tidyUngetByte (TidyInputSource *source, uint byteValue)
Bool TIDY_CALL tidyIsEOF (TidyInputSource *source)
Bool TIDY_CALL tidyInitSink (TidyOutputSink *sink, void *snkData, TidyPutByteFunc pbFunc)
void TIDY_CALL tidyPutByte (TidyOutputSink *sink, uint byteValue)
Bool TIDY_CALL tidySetReportFilter (TidyDoc tdoc, TidyReportFilter filtCallback)
FILE *TIDY_CALL tidySetErrorFile (TidyDoc tdoc, ctmbstr errfilnam)
int TIDY_CALL tidySetErrorBuffer (TidyDoc tdoc, TidyBuffer *errbuf)
int TIDY_CALL tidySetErrorSink (TidyDoc tdoc, TidyOutputSink *sink)
-

Detailed Description

-

By default, Tidy will define, create and use instances of input and output handlers for standard C buffered I/O (i.e. FILE* stdin, FILE* stdout and FILE* stderr for content input, content output and diagnostic output, respectively. A FILE* cfgFile input handler will be used for config files. Command line options will just be set directly.

-

Define Documentation

- -
-
- - - - -
#define EndOfStream   (~0u)
-
-
-

End of input "character"

- -
-
-

Typedef Documentation

- -
-
- - - - -
typedef int(TIDY_CALL * TidyGetByteFunc)(void *sourceData)
-
-
-

Input Callback: get next byte of input

- -
-
- -
-
- - - - -
typedef void(TIDY_CALL * TidyUngetByteFunc)(void *sourceData, byte bt)
-
-
-

Input Callback: unget a byte of input

- -
-
- -
-
- - - - -
typedef Bool(TIDY_CALL * TidyEOFFunc)(void *sourceData)
-
-
-

Input Callback: is end of input?

- -
-
- -
-
- - - - -
typedef TIDY_STRUCT struct _TidyInputSource TidyInputSource
-
-
-

TidyInputSource - Delivers raw bytes of input

- -
-
- -
-
- - - - -
typedef void(TIDY_CALL * TidyPutByteFunc)(void *sinkData, byte bt)
-
-
-

Output callback: send a byte to output

- -
-
- -
-
- - - - -
typedef TIDY_STRUCT struct _TidyOutputSink TidyOutputSink
-
-
-

TidyOutputSink - accepts raw bytes of output

- -
-
- -
-
- - - - -
typedef Bool(TIDY_CALL * TidyReportFilter)(TidyDoc tdoc, TidyReportLevel lvl, uint line, uint col, ctmbstr mssg)
-
-
-

Callback to filter messages by diagnostic level: info, warning, etc. Just set diagnostic output handler to redirect all diagnostics output. Return true to proceed with output, false to cancel.

- -
-
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Bool TIDY_CALL tidyInitSource (TidyInputSourcesource,
void * srcData,
TidyGetByteFunc gbFunc,
TidyUngetByteFunc ugbFunc,
TidyEOFFunc endFunc 
)
-
-
-

Facilitates user defined source by providing an entry point to marshal pointers-to-functions. Needed by .NET and possibly other language bindings.

- -
-
- -
-
- - - - - - - - -
uint TIDY_CALL tidyGetByte (TidyInputSourcesource)
-
-
-

Helper: get next byte from input source

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void TIDY_CALL tidyUngetByte (TidyInputSourcesource,
uint byteValue 
)
-
-
-

Helper: unget byte back to input source

- -
-
- -
-
- - - - - - - - -
Bool TIDY_CALL tidyIsEOF (TidyInputSourcesource)
-
-
-

Helper: check if input source at end

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Bool TIDY_CALL tidyInitSink (TidyOutputSinksink,
void * snkData,
TidyPutByteFunc pbFunc 
)
-
-
-

Facilitates user defined sinks by providing an entry point to marshal pointers-to-functions. Needed by .NET and possibly other language bindings.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void TIDY_CALL tidyPutByte (TidyOutputSinksink,
uint byteValue 
)
-
-
-

Helper: send a byte to output

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
Bool TIDY_CALL tidySetReportFilter (TidyDoc tdoc,
TidyReportFilter filtCallback 
)
-
-
-

Give Tidy a filter callback to use

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
FILE* TIDY_CALL tidySetErrorFile (TidyDoc tdoc,
ctmbstr errfilnam 
)
-
-
-

Set error sink to named file

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
int TIDY_CALL tidySetErrorBuffer (TidyDoc tdoc,
TidyBuffererrbuf 
)
-
-
-

Set error sink to given buffer

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
int TIDY_CALL tidySetErrorSink (TidyDoc tdoc,
TidyOutputSinksink 
)
-
-
-

Set error sink to given generic sink

- -
-
-
-
- - - - - diff --git a/htmldoc/api/group__IO.js b/htmldoc/api/group__IO.js deleted file mode 100644 index f4c18bb..0000000 --- a/htmldoc/api/group__IO.js +++ /dev/null @@ -1,23 +0,0 @@ -var group__IO = -[ - [ "_TidyInputSource", "struct__TidyInputSource.html", null ], - [ "_TidyOutputSink", "struct__TidyOutputSink.html", null ], - [ "EndOfStream", "group__IO.html#ga9a078b706ec6f37cce40958f6f68585a", null ], - [ "TidyGetByteFunc", "group__IO.html#ga6951f79d4b50288e96a3896ab01393d6", null ], - [ "TidyUngetByteFunc", "group__IO.html#ga298b882c5fc7cc969ef58fb187bdd371", null ], - [ "TidyEOFFunc", "group__IO.html#ga9f8e1bb4c4740ffb399ec424594c4972", null ], - [ "TidyInputSource", "group__IO.html#ga86fcc3c86bd63b26a559938bc38d34bb", null ], - [ "TidyPutByteFunc", "group__IO.html#ga63bcce5aa5f52e4e2e22aedd750b8bbc", null ], - [ "TidyOutputSink", "group__IO.html#ga6bdd15de48364d2b5dbf2141109d3f98", null ], - [ "TidyReportFilter", "group__IO.html#ga29c5bee28b95924a97ea4fbb81668c5e", null ], - [ "tidyInitSource", "group__IO.html#gab446af273e331cb0440dd01b6990d2d0", null ], - [ "tidyGetByte", "group__IO.html#gadba396ffec9f29b27d73a23264dcfa0b", null ], - [ "tidyUngetByte", "group__IO.html#ga0c8d46de315cabb0ac7d2cf01ca183d7", null ], - [ "tidyIsEOF", "group__IO.html#ga399df5ba17614205964a665f7b1726a6", null ], - [ "tidyInitSink", "group__IO.html#ga7e93289be3a7253cdf99a96285e6a2d4", null ], - [ "tidyPutByte", "group__IO.html#ga2a34772782d7b786e37012fce4cd2425", null ], - [ "tidySetReportFilter", "group__IO.html#ga51e02523601388bb83c2555b995e68b0", null ], - [ "tidySetErrorFile", "group__IO.html#ga669758031bbd5d4ba957b19e77229c8b", null ], - [ "tidySetErrorBuffer", "group__IO.html#ga5e5cffe93edf4bea0d3214be70d6f77b", null ], - [ "tidySetErrorSink", "group__IO.html#gad47c75f3af85e7927e7ac18918ec6363", null ] -]; \ No newline at end of file diff --git a/htmldoc/api/group__Memory.html b/htmldoc/api/group__Memory.html deleted file mode 100644 index fa596e2..0000000 --- a/htmldoc/api/group__Memory.html +++ /dev/null @@ -1,270 +0,0 @@ - - - - - -HTML Tidy: Memory Allocation - - - - - - - - - - - - -
- - -
- - - - - - - - - - - - - -
-
HTML Tidy -  0.1 -
- -
-
- - -
-
- -
-
-
- -
-
- -
-
Memory Allocation
-
-
- - - - - - - - - - - - - - - - -

-Data Structures

struct  _TidyAllocatorVtbl
struct  _TidyAllocator

-Typedefs

typedef struct _TidyAllocatorVtbl TidyAllocatorVtbl
typedef struct _TidyAllocator TidyAllocator
typedef void *(TIDY_CALL * TidyMalloc )(size_t len)
typedef void *(TIDY_CALL * TidyRealloc )(void *buf, size_t len)
typedef void(TIDY_CALL * TidyFree )(void *buf)
typedef void(TIDY_CALL * TidyPanic )(ctmbstr mssg)

-Functions

Bool TIDY_CALL tidySetMallocCall (TidyMalloc fmalloc)
Bool TIDY_CALL tidySetReallocCall (TidyRealloc frealloc)
Bool TIDY_CALL tidySetFreeCall (TidyFree ffree)
Bool TIDY_CALL tidySetPanicCall (TidyPanic fpanic)
-

Detailed Description

-

Tidy uses a user provided allocator for all memory allocations. If this allocator is not provided, then a default allocator is used which simply wraps standard C malloc/free calls. These wrappers call the panic function upon any failure. The default panic function prints an out of memory message to stderr, and calls exit(2).

-

For applications in which it is unacceptable to abort in the case of memory allocation, then the panic function can be replaced with one which longjmps() out of the tidy code. For this to clean up completely, you should be careful not to use any tidy methods that open files as these will not be closed before panic() is called.

-

TODO: associate file handles with tidyDoc and ensure that tidyDocRelease() can close them all.

-

Calling the withAllocator() family ( tidyCreateWithAllocator, tidyBufInitWithAllocator, tidyBufAllocWithAllocator) allow settings custom allocators).

-

All parts of the document use the same allocator. Calls that require a user provided buffer can optionally use a different allocator.

-

For reference in designing a plug-in allocator, most allocations made by tidy are less than 100 bytes, corresponding to attribute names/values, etc.

-

There is also an additional class of much larger allocations which are where most of the data from the lexer is stored. (It is not currently possible to use a separate allocator for the lexer, this would be a useful extension).

-

In general, approximately 1/3rd of the memory used by tidy is freed during the parse, so if memory usage is an issue then an allocator that can reuse this memory is a good idea.

-

Typedef Documentation

- -
-
- - - - -
typedef struct _TidyAllocatorVtbl TidyAllocatorVtbl
-
-
-

The allocators function table

- -
-
- -
-
- - - - -
typedef struct _TidyAllocator TidyAllocator
-
-
-

The allocator

- -
-
- -
-
- - - - -
typedef void*(TIDY_CALL * TidyMalloc)(size_t len)
-
-
-

Callback for "malloc" replacement

- -
-
- -
-
- - - - -
typedef void*(TIDY_CALL * TidyRealloc)(void *buf, size_t len)
-
-
-

Callback for "realloc" replacement

- -
-
- -
-
- - - - -
typedef void(TIDY_CALL * TidyFree)(void *buf)
-
-
-

Callback for "free" replacement

- -
-
- -
-
- - - - -
typedef void(TIDY_CALL * TidyPanic)(ctmbstr mssg)
-
-
-

Callback for "out of memory" panic state

- -
-
-

Function Documentation

- -
-
- - - - - - - - -
Bool TIDY_CALL tidySetMallocCall (TidyMalloc fmalloc)
-
-
-

Give Tidy a malloc() replacement

- -
-
- -
-
- - - - - - - - -
Bool TIDY_CALL tidySetReallocCall (TidyRealloc frealloc)
-
-
-

Give Tidy a realloc() replacement

- -
-
- -
-
- - - - - - - - -
Bool TIDY_CALL tidySetFreeCall (TidyFree ffree)
-
-
-

Give Tidy a free() replacement

- -
-
- -
-
- - - - - - - - -
Bool TIDY_CALL tidySetPanicCall (TidyPanic fpanic)
-
-
-

Give Tidy an "out of memory" handler

- -
-
-
-
- - - - - diff --git a/htmldoc/api/group__Memory.js b/htmldoc/api/group__Memory.js deleted file mode 100644 index c69f2dd..0000000 --- a/htmldoc/api/group__Memory.js +++ /dev/null @@ -1,15 +0,0 @@ -var group__Memory = -[ - [ "_TidyAllocatorVtbl", "struct__TidyAllocatorVtbl.html", null ], - [ "_TidyAllocator", "struct__TidyAllocator.html", null ], - [ "TidyAllocatorVtbl", "group__Memory.html#ga3fe8c5ac7d658618c732565776940ed8", null ], - [ "TidyAllocator", "group__Memory.html#ga78e96524a88db0c09e766795265863da", null ], - [ "TidyMalloc", "group__Memory.html#ga3bd3cc4d0c837a4cd10ab472ba671430", null ], - [ "TidyRealloc", "group__Memory.html#ga9d9a5625817932dbbb39dd33de678edd", null ], - [ "TidyFree", "group__Memory.html#ga27931c443e424937ba47f0d4795aa35f", null ], - [ "TidyPanic", "group__Memory.html#ga0770be41d9935a3e2933ba0be3c7725c", null ], - [ "tidySetMallocCall", "group__Memory.html#gab55079374527525e3374ebc4d2a1e625", null ], - [ "tidySetReallocCall", "group__Memory.html#ga446b538da3ee3f2e5a3827b877665b30", null ], - [ "tidySetFreeCall", "group__Memory.html#ga70e707b7df86effb5727b0b9ff64eed7", null ], - [ "tidySetPanicCall", "group__Memory.html#gab12cc0435bacec1a8c725e02357acc00", null ] -]; \ No newline at end of file diff --git a/htmldoc/api/group__NodeAsk.html b/htmldoc/api/group__NodeAsk.html deleted file mode 100644 index a954afd..0000000 --- a/htmldoc/api/group__NodeAsk.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - - -HTML Tidy: Node Interrogation - - - - - - - - - - - - -
- - -
- - - - - - - - - - - - - -
-
HTML Tidy -  0.1 -
- -
-
- - -
-
- -
-
-
- -
-
- -
-
Node Interrogation
-
-
- - - - - - - - - - - - - - - -

-Modules

 Deprecated node interrogation per TagId

-Functions

-TidyNodeType TIDY_CALL tidyNodeGetType (TidyNode tnod)
-ctmbstr TIDY_CALL tidyNodeGetName (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsText (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsProp (TidyDoc tdoc, TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsHeader (TidyNode tnod)
-Bool TIDY_CALL tidyNodeHasText (TidyDoc tdoc, TidyNode tnod)
-Bool TIDY_CALL tidyNodeGetText (TidyDoc tdoc, TidyNode tnod, TidyBuffer *buf)
-Bool TIDY_CALL tidyNodeGetValue (TidyDoc tdoc, TidyNode tnod, TidyBuffer *buf)
-TidyTagId TIDY_CALL tidyNodeGetId (TidyNode tnod)
-uint TIDY_CALL tidyNodeLine (TidyNode tnod)
-uint TIDY_CALL tidyNodeColumn (TidyNode tnod)
-

Detailed Description

-

Get information about any givent node.

-
-
- - - - - diff --git a/htmldoc/api/group__NodeAsk.js b/htmldoc/api/group__NodeAsk.js deleted file mode 100644 index 17f2168..0000000 --- a/htmldoc/api/group__NodeAsk.js +++ /dev/null @@ -1,15 +0,0 @@ -var group__NodeAsk = -[ - [ "Deprecated node interrogation per TagId", "group__NodeIsElementName.html", "group__NodeIsElementName" ], - [ "tidyNodeGetType", "group__NodeAsk.html#gaa9786b1ce44061e2811d1ecbcd76d318", null ], - [ "tidyNodeGetName", "group__NodeAsk.html#ga5ea4ecef06555a58f942b2c500722156", null ], - [ "tidyNodeIsText", "group__NodeAsk.html#ga446c2a5ed55a75685074585f007b52c5", null ], - [ "tidyNodeIsProp", "group__NodeAsk.html#ga2eb2b4a0ee75c74215de9859467d17f1", null ], - [ "tidyNodeIsHeader", "group__NodeAsk.html#ga69c929ff5987273560e683e44b2515eb", null ], - [ "tidyNodeHasText", "group__NodeAsk.html#ga4abc910dd180773665c6e2e4e30ea2d7", null ], - [ "tidyNodeGetText", "group__NodeAsk.html#ga174176952045d3a79500451eae0322d6", null ], - [ "tidyNodeGetValue", "group__NodeAsk.html#ga775c446f1fd1ffa25eb688af6c56853c", null ], - [ "tidyNodeGetId", "group__NodeAsk.html#ga30307d5b9937c7f0aad1f37d7cf7848c", null ], - [ "tidyNodeLine", "group__NodeAsk.html#ga98658b8c02e0d2000a6c7da5d916ced4", null ], - [ "tidyNodeColumn", "group__NodeAsk.html#ga00fb1f74d89419ad97f345660cd8876f", null ] -]; \ No newline at end of file diff --git a/htmldoc/api/group__NodeIsElementName.html b/htmldoc/api/group__NodeIsElementName.html deleted file mode 100644 index c689979..0000000 --- a/htmldoc/api/group__NodeIsElementName.html +++ /dev/null @@ -1,247 +0,0 @@ - - - - - -HTML Tidy: Deprecated node interrogation per TagId - - - - - - - - - - - - -
- - -
- - - - - - - - - - - - - -
-
HTML Tidy -  0.1 -
- -
-
- - -
-
- -
-
-
- -
-
- -
-
Deprecated node interrogation per TagId
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

-Bool TIDY_CALL tidyNodeIsHTML (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsHEAD (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsTITLE (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsBASE (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsMETA (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsBODY (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsFRAMESET (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsFRAME (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsIFRAME (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsNOFRAMES (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsHR (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsH1 (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsH2 (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsPRE (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsLISTING (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsP (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsUL (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsOL (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsDL (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsDIR (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsLI (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsDT (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsDD (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsTABLE (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsCAPTION (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsTD (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsTH (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsTR (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsCOL (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsCOLGROUP (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsBR (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsA (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsLINK (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsB (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsI (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsSTRONG (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsEM (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsBIG (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsSMALL (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsPARAM (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsOPTION (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsOPTGROUP (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsIMG (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsMAP (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsAREA (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsNOBR (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsWBR (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsFONT (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsLAYER (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsSPACER (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsCENTER (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsSTYLE (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsSCRIPT (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsNOSCRIPT (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsFORM (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsTEXTAREA (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsBLOCKQUOTE (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsAPPLET (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsOBJECT (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsDIV (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsSPAN (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsINPUT (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsQ (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsLABEL (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsH3 (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsH4 (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsH5 (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsH6 (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsADDRESS (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsXMP (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsSELECT (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsBLINK (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsMARQUEE (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsEMBED (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsBASEFONT (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsISINDEX (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsS (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsSTRIKE (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsU (TidyNode tnod)
-Bool TIDY_CALL tidyNodeIsMENU (TidyNode tnod)
-

Detailed Description

-
Deprecated:
The functions tidyNodeIs{ElementName} are deprecated and should be replaced by tidyNodeGetId.
-
-
- - - - - diff --git a/htmldoc/api/group__NodeIsElementName.js b/htmldoc/api/group__NodeIsElementName.js deleted file mode 100644 index 202c4f3..0000000 --- a/htmldoc/api/group__NodeIsElementName.js +++ /dev/null @@ -1,83 +0,0 @@ -var group__NodeIsElementName = -[ - [ "tidyNodeIsHTML", "group__NodeIsElementName.html#gaf692f1ed40027be3f3cd5d198abc3ad2", null ], - [ "tidyNodeIsHEAD", "group__NodeIsElementName.html#ga59e3d8737230aaf6aefd38923b2d9938", null ], - [ "tidyNodeIsTITLE", "group__NodeIsElementName.html#ga41c163de846f0a5f0a06f8e8ba1559cc", null ], - [ "tidyNodeIsBASE", "group__NodeIsElementName.html#ga9c09a80c0fbb47c46c48816217058067", null ], - [ "tidyNodeIsMETA", "group__NodeIsElementName.html#gaeecc06fcf1ead446d89e2da189124a84", null ], - [ "tidyNodeIsBODY", "group__NodeIsElementName.html#gacba5807618c3f9e55cc03ff87de9b7ce", null ], - [ "tidyNodeIsFRAMESET", "group__NodeIsElementName.html#gae1ea58f48b98e27dc9e4489937f17755", null ], - [ "tidyNodeIsFRAME", "group__NodeIsElementName.html#gacb9bcd9b662a2089064a3c240062c99f", null ], - [ "tidyNodeIsIFRAME", "group__NodeIsElementName.html#ga816d167ba4cb8b3787967ec3dbde5ec5", null ], - [ "tidyNodeIsNOFRAMES", "group__NodeIsElementName.html#ga8320b595afb1e7e167b7c1a79b0dc366", null ], - [ "tidyNodeIsHR", "group__NodeIsElementName.html#ga51ace62a3ec1c51035cabf4a2605d898", null ], - [ "tidyNodeIsH1", "group__NodeIsElementName.html#gac28ca322aabade5ec3a7a7601c72ee16", null ], - [ "tidyNodeIsH2", "group__NodeIsElementName.html#gaa6f4c167e5934e14fd2bc016cbcb5abd", null ], - [ "tidyNodeIsPRE", "group__NodeIsElementName.html#ga0603085c30d94973f5d9d5b5de2ff200", null ], - [ "tidyNodeIsLISTING", "group__NodeIsElementName.html#gafc3aadf1d5eaab9c59ce47bfc2b6ceae", null ], - [ "tidyNodeIsP", "group__NodeIsElementName.html#gafd77569c4993bcd4ded3b97608248b9e", null ], - [ "tidyNodeIsUL", "group__NodeIsElementName.html#gadde0e35eef49567f98c385a736588409", null ], - [ "tidyNodeIsOL", "group__NodeIsElementName.html#ga52d9c5612a982cc71602b5088f415879", null ], - [ "tidyNodeIsDL", "group__NodeIsElementName.html#gadb2e0e0fbeac0da447fd96fc75158f54", null ], - [ "tidyNodeIsDIR", "group__NodeIsElementName.html#gaac81f7e14fa7e59aa4fa8d4aa6d06268", null ], - [ "tidyNodeIsLI", "group__NodeIsElementName.html#gac6269b21e8ad6e21d66bd5addd77eb87", null ], - [ "tidyNodeIsDT", "group__NodeIsElementName.html#ga3a0c0bc0925bd40677da0286d8b27d7b", null ], - [ "tidyNodeIsDD", "group__NodeIsElementName.html#ga8517c2217955d3602426c2bda1da6402", null ], - [ "tidyNodeIsTABLE", "group__NodeIsElementName.html#gad88dbaf421328ad0026a0f6c5b471a28", null ], - [ "tidyNodeIsCAPTION", "group__NodeIsElementName.html#ga2493322b8c7ec6e7001e928bd71fc1b6", null ], - [ "tidyNodeIsTD", "group__NodeIsElementName.html#ga7de8f8de16a810da710ff0981a08d43d", null ], - [ "tidyNodeIsTH", "group__NodeIsElementName.html#gae4f6572db3d4bce835660e21f18b1983", null ], - [ "tidyNodeIsTR", "group__NodeIsElementName.html#ga6d2aafe8789a16ab429c5fdf9deb0da7", null ], - [ "tidyNodeIsCOL", "group__NodeIsElementName.html#ga4638800893b9ae5a70cdb74c06c6a79c", null ], - [ "tidyNodeIsCOLGROUP", "group__NodeIsElementName.html#ga385a0cd988f64c8a4bd67d9b198d2ea7", null ], - [ "tidyNodeIsBR", "group__NodeIsElementName.html#gaf0950a14b5b1ab4789b9b0a5bac0b18e", null ], - [ "tidyNodeIsA", "group__NodeIsElementName.html#gae73ab4feaf47cba0fe76ad6ceaaf45a5", null ], - [ "tidyNodeIsLINK", "group__NodeIsElementName.html#gac798ba0aa726aee5cbcf3262624c0458", null ], - [ "tidyNodeIsB", "group__NodeIsElementName.html#ga95af7c22df42cdc104858b6ef545c356", null ], - [ "tidyNodeIsI", "group__NodeIsElementName.html#gafe4ee40e682872ae83dfce0dd4a8d0c3", null ], - [ "tidyNodeIsSTRONG", "group__NodeIsElementName.html#ga15ea33b5dc08b426720d0c57cbecaced", null ], - [ "tidyNodeIsEM", "group__NodeIsElementName.html#ga445cccfc6c19f8f3b73ebd06a361bd48", null ], - [ "tidyNodeIsBIG", "group__NodeIsElementName.html#ga22e67a4b6c14214d35ad295a82509842", null ], - [ "tidyNodeIsSMALL", "group__NodeIsElementName.html#ga48af9e160f669f778de274336096e2eb", null ], - [ "tidyNodeIsPARAM", "group__NodeIsElementName.html#ga48067f28cfe217c9fc060650d0e3aca4", null ], - [ "tidyNodeIsOPTION", "group__NodeIsElementName.html#ga7f8b52642e3255b0480f48075dab8d6f", null ], - [ "tidyNodeIsOPTGROUP", "group__NodeIsElementName.html#gafe0455c4b138bffa99a913b8f3a9104f", null ], - [ "tidyNodeIsIMG", "group__NodeIsElementName.html#gafa4f741c56492e05bd351af1f0111f4e", null ], - [ "tidyNodeIsMAP", "group__NodeIsElementName.html#ga99beb2cb511391d1aca45fb85cedf27a", null ], - [ "tidyNodeIsAREA", "group__NodeIsElementName.html#gac266b333729c7430b5c73c61769f2786", null ], - [ "tidyNodeIsNOBR", "group__NodeIsElementName.html#ga6f0a957c81b4013ced6cbc4e7d8db2af", null ], - [ "tidyNodeIsWBR", "group__NodeIsElementName.html#ga89ed82add2b5524bb5cf08f382eb5116", null ], - [ "tidyNodeIsFONT", "group__NodeIsElementName.html#ga53c827624431293012ca7cfde97c937e", null ], - [ "tidyNodeIsLAYER", "group__NodeIsElementName.html#gaf238482802b2fb6e9e0b5b041d3b7611", null ], - [ "tidyNodeIsSPACER", "group__NodeIsElementName.html#ga445b2216e08962ebc2cf2013dd911969", null ], - [ "tidyNodeIsCENTER", "group__NodeIsElementName.html#ga6195cdbb5617b5240519b5a993f69592", null ], - [ "tidyNodeIsSTYLE", "group__NodeIsElementName.html#ga3e7e0649d24765c37404b64837dde32b", null ], - [ "tidyNodeIsSCRIPT", "group__NodeIsElementName.html#ga86627d1d0706847ff3087e196819706f", null ], - [ "tidyNodeIsNOSCRIPT", "group__NodeIsElementName.html#ga19d096d6eff710ef6c7a154ba8e4c71c", null ], - [ "tidyNodeIsFORM", "group__NodeIsElementName.html#ga507a029656b570eac822ea40122571d8", null ], - [ "tidyNodeIsTEXTAREA", "group__NodeIsElementName.html#ga8bd6a34ea2f61d687d24f12a49c51128", null ], - [ "tidyNodeIsBLOCKQUOTE", "group__NodeIsElementName.html#gabbbd873b72e446a8668c7c69582404e2", null ], - [ "tidyNodeIsAPPLET", "group__NodeIsElementName.html#gadfa5afb9f719c21667e98df09f043dd6", null ], - [ "tidyNodeIsOBJECT", "group__NodeIsElementName.html#gaf8c3d48a3d23f49a9d6e373ae18456c4", null ], - [ "tidyNodeIsDIV", "group__NodeIsElementName.html#gae423fbaf8bb2b2d7faf427ebb853159e", null ], - [ "tidyNodeIsSPAN", "group__NodeIsElementName.html#ga86ade270327fb3afa6d8f881fda3089e", null ], - [ "tidyNodeIsINPUT", "group__NodeIsElementName.html#ga648890464b129cbceaf749f912f6527e", null ], - [ "tidyNodeIsQ", "group__NodeIsElementName.html#ga6ef21bfc5033fd69c9f94e794d536fdb", null ], - [ "tidyNodeIsLABEL", "group__NodeIsElementName.html#ga7e4e65b0819e33ffdc38183f5dbf2785", null ], - [ "tidyNodeIsH3", "group__NodeIsElementName.html#ga4d49e513f271e3c1de40a2ca5bb507a5", null ], - [ "tidyNodeIsH4", "group__NodeIsElementName.html#ga8efaa17098b9b4c7be3f4c8a9edd5f37", null ], - [ "tidyNodeIsH5", "group__NodeIsElementName.html#gaa929252184f6d11fde69ee76f212822a", null ], - [ "tidyNodeIsH6", "group__NodeIsElementName.html#ga4b3bad82463198c3893c901aa20af219", null ], - [ "tidyNodeIsADDRESS", "group__NodeIsElementName.html#ga5ba4012b1bf4eb54b5042832f9a138e0", null ], - [ "tidyNodeIsXMP", "group__NodeIsElementName.html#ga25aba7bafb8f63d71fb54c143d053fd1", null ], - [ "tidyNodeIsSELECT", "group__NodeIsElementName.html#gaea4d09d1203e94c3010c56672ea6d711", null ], - [ "tidyNodeIsBLINK", "group__NodeIsElementName.html#gac03b2963ecda6cc08653294370baf8d8", null ], - [ "tidyNodeIsMARQUEE", "group__NodeIsElementName.html#ga16bca9ae0e87d001ed4242a83618f404", null ], - [ "tidyNodeIsEMBED", "group__NodeIsElementName.html#gab9e88a5cd07c8645db3293062fbb2a51", null ], - [ "tidyNodeIsBASEFONT", "group__NodeIsElementName.html#ga334efee28622bff3384c9eda4bb4eec5", null ], - [ "tidyNodeIsISINDEX", "group__NodeIsElementName.html#ga6c18dbdbb887968b79753ae455f2c90a", null ], - [ "tidyNodeIsS", "group__NodeIsElementName.html#gac62bc0004bfc655a7a21b6b98ddc5e6c", null ], - [ "tidyNodeIsSTRIKE", "group__NodeIsElementName.html#ga9d56a0c1da9fdf018cb6db4398260295", null ], - [ "tidyNodeIsU", "group__NodeIsElementName.html#gab28ee4ca158cb9122022719fdc08ec08", null ], - [ "tidyNodeIsMENU", "group__NodeIsElementName.html#ga41c2551e386adc53cd9ab0e00f707558", null ] -]; \ No newline at end of file diff --git a/htmldoc/api/group__Opaque.html b/htmldoc/api/group__Opaque.html deleted file mode 100644 index 48972ad..0000000 --- a/htmldoc/api/group__Opaque.html +++ /dev/null @@ -1,102 +0,0 @@ - - - - - -HTML Tidy: Opaque Types - - - - - - - - - - - - -
- - -
- - - - - - - - - - - - - -
-
HTML Tidy -  0.1 -
- -
-
- - -
-
- -
-
-
- -
-
- -
-
Opaque Types
-
-
- - - - - - - - - - - -

-Data Structures

struct  TidyDoc
struct  TidyOption
struct  TidyNode
struct  TidyAttr

-Functions

opaque_type (TidyDoc)
opaque_type (TidyOption)
opaque_type (TidyNode)
opaque_type (TidyAttr)
-

Detailed Description

-

Cast to implementation types within lib. Reduces inter-dependencies/conflicts w/ application code.

-
-
- - - - - diff --git a/htmldoc/api/group__Opaque.js b/htmldoc/api/group__Opaque.js deleted file mode 100644 index a587a59..0000000 --- a/htmldoc/api/group__Opaque.js +++ /dev/null @@ -1,11 +0,0 @@ -var group__Opaque = -[ - [ "TidyDoc", "structTidyDoc.html", null ], - [ "TidyOption", "structTidyOption.html", null ], - [ "TidyNode", "structTidyNode.html", null ], - [ "TidyAttr", "structTidyAttr.html", null ], - [ "opaque_type", "group__Opaque.html#ga1b209c260854e89f73101c18fe835516", null ], - [ "opaque_type", "group__Opaque.html#gafdaa7208b82ae763fbccb646035f9391", null ], - [ "opaque_type", "group__Opaque.html#gaa8d1f990e71bf7d6bc1b17974b7788a4", null ], - [ "opaque_type", "group__Opaque.html#ga236c416d715827e6db5691ce66415c2f", null ] -]; \ No newline at end of file diff --git a/htmldoc/api/group__Parse.html b/htmldoc/api/group__Parse.html deleted file mode 100644 index d2b815e..0000000 --- a/htmldoc/api/group__Parse.html +++ /dev/null @@ -1,223 +0,0 @@ - - - - - -HTML Tidy: Document Parse - - - - - - - - - - - - -
- - -
- - - - - - - - - - - - - -
-
HTML Tidy -  0.1 -
- -
-
- - -
-
- -
-
-
- -
-
- -
-
Document Parse
-
-
- - - - - - - -

-Functions

int TIDY_CALL tidyParseFile (TidyDoc tdoc, ctmbstr filename)
int TIDY_CALL tidyParseStdin (TidyDoc tdoc)
int TIDY_CALL tidyParseString (TidyDoc tdoc, ctmbstr content)
int TIDY_CALL tidyParseBuffer (TidyDoc tdoc, TidyBuffer *buf)
int TIDY_CALL tidyParseSource (TidyDoc tdoc, TidyInputSource *source)
-

Detailed Description

-

Parse markup from a given input source. String and filename functions added for convenience. HTML/XHTML version determined from input.

-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
int TIDY_CALL tidyParseFile (TidyDoc tdoc,
ctmbstr filename 
)
-
-
-

Parse markup in named file

- -
-
- -
-
- - - - - - - - -
int TIDY_CALL tidyParseStdin (TidyDoc tdoc)
-
-
-

Parse markup from the standard input

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
int TIDY_CALL tidyParseString (TidyDoc tdoc,
ctmbstr content 
)
-
-
-

Parse markup in given string

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
int TIDY_CALL tidyParseBuffer (TidyDoc tdoc,
TidyBufferbuf 
)
-
-
-

Parse markup in given buffer

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
int TIDY_CALL tidyParseSource (TidyDoc tdoc,
TidyInputSourcesource 
)
-
-
-

Parse markup in given generic input source

- -
-
-
-
- - - - - diff --git a/htmldoc/api/group__Parse.js b/htmldoc/api/group__Parse.js deleted file mode 100644 index 107ff42..0000000 --- a/htmldoc/api/group__Parse.js +++ /dev/null @@ -1,8 +0,0 @@ -var group__Parse = -[ - [ "tidyParseFile", "group__Parse.html#ga5ec263f2e430dd9c9e10437f067b2a28", null ], - [ "tidyParseStdin", "group__Parse.html#ga96b41ff6e6a7f9d0b9b0e901e33ad31d", null ], - [ "tidyParseString", "group__Parse.html#ga50c02fa244dcd120ae339719c2132ff9", null ], - [ "tidyParseBuffer", "group__Parse.html#gaa28ce34c95750f150205843885317851", null ], - [ "tidyParseSource", "group__Parse.html#gaa65dad2a4ca5fa97d267ddefe1180e0e", null ] -]; \ No newline at end of file diff --git a/htmldoc/api/group__Save.html b/htmldoc/api/group__Save.html deleted file mode 100644 index 52b7657..0000000 --- a/htmldoc/api/group__Save.html +++ /dev/null @@ -1,229 +0,0 @@ - - - - - -HTML Tidy: Document Save Functions - - - - - - - - - - - - -
- - -
- - - - - - - - - - - - - -
-
HTML Tidy -  0.1 -
- -
-
- - -
-
- -
-
-
- -
-
- -
-
Document Save Functions
-
-
- - - - - - - -

-Functions

int TIDY_CALL tidySaveFile (TidyDoc tdoc, ctmbstr filename)
int TIDY_CALL tidySaveStdout (TidyDoc tdoc)
int TIDY_CALL tidySaveBuffer (TidyDoc tdoc, TidyBuffer *buf)
int TIDY_CALL tidySaveString (TidyDoc tdoc, tmbstr buffer, uint *buflen)
int TIDY_CALL tidySaveSink (TidyDoc tdoc, TidyOutputSink *sink)
-

Detailed Description

-

Save currently parsed document to the given output sink. File name and string/buffer functions provided for convenience.

-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
int TIDY_CALL tidySaveFile (TidyDoc tdoc,
ctmbstr filename 
)
-
-
-

Save to named file

- -
-
- -
-
- - - - - - - - -
int TIDY_CALL tidySaveStdout (TidyDoc tdoc)
-
-
-

Save to standard output (FILE*)

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
int TIDY_CALL tidySaveBuffer (TidyDoc tdoc,
TidyBufferbuf 
)
-
-
-

Save to given TidyBuffer object

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
int TIDY_CALL tidySaveString (TidyDoc tdoc,
tmbstr buffer,
uint * buflen 
)
-
-
-

Save document to application buffer. If buffer is not big enough, ENOMEM will be returned and the necessary buffer size will be placed in *buflen.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
int TIDY_CALL tidySaveSink (TidyDoc tdoc,
TidyOutputSinksink 
)
-
-
-

Save to given generic output sink

- -
-
-
-
- - - - - diff --git a/htmldoc/api/group__Save.js b/htmldoc/api/group__Save.js deleted file mode 100644 index 91dc711..0000000 --- a/htmldoc/api/group__Save.js +++ /dev/null @@ -1,8 +0,0 @@ -var group__Save = -[ - [ "tidySaveFile", "group__Save.html#ga19ee6e2ee0e719a97cff443ebb19ae44", null ], - [ "tidySaveStdout", "group__Save.html#ga6638d1800ee63fc6bea19bc2bf582be2", null ], - [ "tidySaveBuffer", "group__Save.html#ga7e8642262c8c4d34cf7cc426647d29f0", null ], - [ "tidySaveString", "group__Save.html#gaf684fefd3e42f459cf0a4ebe937ce12b", null ], - [ "tidySaveSink", "group__Save.html#gaea985b28470453d0218092b137f71e77", null ] -]; \ No newline at end of file diff --git a/htmldoc/api/group__Tree.html b/htmldoc/api/group__Tree.html deleted file mode 100644 index c1a4e28..0000000 --- a/htmldoc/api/group__Tree.html +++ /dev/null @@ -1,147 +0,0 @@ - - - - - -HTML Tidy: Document Tree - - - - - - - - - - - - -
- - -
- - - - - - - - - - - - - -
-
HTML Tidy -  0.1 -
- -
-
- - -
-
- -
-
-
- -
-
- -
-
Document Tree
-
-
- - - - - - - - - - - - - - -

-Functions

-TidyNode TIDY_CALL tidyGetRoot (TidyDoc tdoc)
-TidyNode TIDY_CALL tidyGetHtml (TidyDoc tdoc)
-TidyNode TIDY_CALL tidyGetHead (TidyDoc tdoc)
-TidyNode TIDY_CALL tidyGetBody (TidyDoc tdoc)
-TidyNode TIDY_CALL tidyGetParent (TidyNode tnod)
-TidyNode TIDY_CALL tidyGetChild (TidyNode tnod)
-TidyNode TIDY_CALL tidyGetNext (TidyNode tnod)
-TidyNode TIDY_CALL tidyGetPrev (TidyNode tnod)
-TidyAttr TIDY_CALL tidyAttrFirst (TidyNode tnod)
-TidyAttr TIDY_CALL tidyAttrNext (TidyAttr tattr)
-ctmbstr TIDY_CALL tidyAttrName (TidyAttr tattr)
-ctmbstr TIDY_CALL tidyAttrValue (TidyAttr tattr)
-

Detailed Description

-

A parsed and, optionally, repaired document is represented by Tidy as a Tree, much like a W3C DOM. This tree may be traversed using these functions. The following snippet gives a basic idea how these functions can be used.

-
-void dumpNode( TidyNode tnod, int indent )
-{
-  TidyNode child;
 for ( child = tidyGetChild(tnod); child; child = tidyGetNext(child) )
-  {
-    ctmbstr name;
-    switch ( tidyNodeGetType(child) )
-    {
-    case TidyNode_Root:       name = "Root";                    break;
-    case TidyNode_DocType:    name = "DOCTYPE";                 break;
-    case TidyNode_Comment:    name = "Comment";                 break;
-    case TidyNode_ProcIns:    name = "Processing Instruction";  break;
-    case TidyNode_Text:       name = "Text";                    break;
-    case TidyNode_CDATA:      name = "CDATA";                   break;
-    case TidyNode_Section:    name = "XML Section";             break;
-    case TidyNode_Asp:        name = "ASP";                     break;
-    case TidyNode_Jste:       name = "JSTE";                    break;
-    case TidyNode_Php:        name = "PHP";                     break;
-    case TidyNode_XmlDecl:    name = "XML Declaration";         break;
   case TidyNode_Start:
-    case TidyNode_End:
-    case TidyNode_StartEnd:
-    default:
-      name = tidyNodeGetName( child );
-      break;
-    }
-    assert( name != NULL );
-    printf( "\%*.*sNode: \%s\\n", indent, indent, " ", name );
-    dumpNode( child, indent + 4 );
-  }
-}
void dumpDoc( TidyDoc tdoc )
-{
-  dumpNode( tidyGetRoot(tdoc), 0 );
-}
void dumpBody( TidyDoc tdoc )
-{
-  dumpNode( tidyGetBody(tdoc), 0 );
-}
-
-
- - - - - diff --git a/htmldoc/api/group__Tree.js b/htmldoc/api/group__Tree.js deleted file mode 100644 index c5157ec..0000000 --- a/htmldoc/api/group__Tree.js +++ /dev/null @@ -1,15 +0,0 @@ -var group__Tree = -[ - [ "tidyGetRoot", "group__Tree.html#gac70f893c5cd5805bf76b393ad07c93c6", null ], - [ "tidyGetHtml", "group__Tree.html#gae539f5031bd1e039458a7fffb07a2b7a", null ], - [ "tidyGetHead", "group__Tree.html#ga8bc403902d8535a6dab3efc29519d970", null ], - [ "tidyGetBody", "group__Tree.html#ga860430a9ae7b9d347f0f7eb4204b3046", null ], - [ "tidyGetParent", "group__Tree.html#ga0da0a16a07321623bda6a02a397111ca", null ], - [ "tidyGetChild", "group__Tree.html#ga0ef21eb446a56c3874a993b6f3966e73", null ], - [ "tidyGetNext", "group__Tree.html#ga60f48e1a0981ccfa027e62f73f0b1e7d", null ], - [ "tidyGetPrev", "group__Tree.html#ga7a277d67c8143a8dd66d6c4796e5afa2", null ], - [ "tidyAttrFirst", "group__Tree.html#ga7247560b46127ac69780b938d8bca177", null ], - [ "tidyAttrNext", "group__Tree.html#ga8af1c83f5c33e767ca40561341089bae", null ], - [ "tidyAttrName", "group__Tree.html#ga32dff6f721a553a54cee0324cda15ba7", null ], - [ "tidyAttrValue", "group__Tree.html#gaeb8f272e8135e744b9b3f006517f1073", null ] -]; \ No newline at end of file diff --git a/htmldoc/api/index.html b/htmldoc/api/index.html deleted file mode 100644 index 4d818b5..0000000 --- a/htmldoc/api/index.html +++ /dev/null @@ -1,91 +0,0 @@ - - - - - -HTML Tidy: Main Page - - - - - - - - - - - - -
- - -
- - - - - - - - - - - - - -
-
HTML Tidy -  0.1 -
- -
-
- - -
-
- -
-
-
- -
-
-
-
HTML Tidy Documentation
-
- -
- - - - - diff --git a/htmldoc/api/jquery.js b/htmldoc/api/jquery.js deleted file mode 100644 index bcad7a8..0000000 --- a/htmldoc/api/jquery.js +++ /dev/null @@ -1,111 +0,0 @@ -/* - * jQuery JavaScript Library v1.3.2 - * http://jquery.com/ - * - * Copyright (c) 2009 John Resig - * Dual licensed under the MIT and GPL licenses. - * http://docs.jquery.com/License - * - * Date: 2009-02-19 17:34:21 -0500 (Thu, 19 Feb 2009) - * Revision: 6246 - */ -(function(){var l=this,g,y=l.jQuery,p=l.$,o=l.jQuery=l.$=function(E,F){return new o.fn.init(E,F)},D=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,f=/^.[^:#\[\.,]*$/;o.fn=o.prototype={init:function(E,H){E=E||document;if(E.nodeType){this[0]=E;this.length=1;this.context=E;return this}if(typeof E==="string"){var G=D.exec(E);if(G&&(G[1]||!H)){if(G[1]){E=o.clean([G[1]],H)}else{var I=document.getElementById(G[3]);if(I&&I.id!=G[3]){return o().find(E)}var F=o(I||[]);F.context=document;F.selector=E;return F}}else{return o(H).find(E)}}else{if(o.isFunction(E)){return o(document).ready(E)}}if(E.selector&&E.context){this.selector=E.selector;this.context=E.context}return this.setArray(o.isArray(E)?E:o.makeArray(E))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(E){return E===g?Array.prototype.slice.call(this):this[E]},pushStack:function(F,H,E){var G=o(F);G.prevObject=this;G.context=this.context;if(H==="find"){G.selector=this.selector+(this.selector?" ":"")+E}else{if(H){G.selector=this.selector+"."+H+"("+E+")"}}return G},setArray:function(E){this.length=0;Array.prototype.push.apply(this,E);return this},each:function(F,E){return o.each(this,F,E)},index:function(E){return o.inArray(E&&E.jquery?E[0]:E,this)},attr:function(F,H,G){var E=F;if(typeof F==="string"){if(H===g){return this[0]&&o[G||"attr"](this[0],F)}else{E={};E[F]=H}}return this.each(function(I){for(F in E){o.attr(G?this.style:this,F,o.prop(this,E[F],G,I,F))}})},css:function(E,F){if((E=="width"||E=="height")&&parseFloat(F)<0){F=g}return this.attr(E,F,"curCSS")},text:function(F){if(typeof F!=="object"&&F!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(F))}var E="";o.each(F||this,function(){o.each(this.childNodes,function(){if(this.nodeType!=8){E+=this.nodeType!=1?this.nodeValue:o.fn.text([this])}})});return E},wrapAll:function(E){if(this[0]){var F=o(E,this[0].ownerDocument).clone();if(this[0].parentNode){F.insertBefore(this[0])}F.map(function(){var G=this;while(G.firstChild){G=G.firstChild}return G}).append(this)}return this},wrapInner:function(E){return this.each(function(){o(this).contents().wrapAll(E)})},wrap:function(E){return this.each(function(){o(this).wrapAll(E)})},append:function(){return this.domManip(arguments,true,function(E){if(this.nodeType==1){this.appendChild(E)}})},prepend:function(){return this.domManip(arguments,true,function(E){if(this.nodeType==1){this.insertBefore(E,this.firstChild)}})},before:function(){return this.domManip(arguments,false,function(E){this.parentNode.insertBefore(E,this)})},after:function(){return this.domManip(arguments,false,function(E){this.parentNode.insertBefore(E,this.nextSibling)})},end:function(){return this.prevObject||o([])},push:[].push,sort:[].sort,splice:[].splice,find:function(E){if(this.length===1){var F=this.pushStack([],"find",E);F.length=0;o.find(E,this[0],F);return F}else{return this.pushStack(o.unique(o.map(this,function(G){return o.find(E,G)})),"find",E)}},clone:function(G){var E=this.map(function(){if(!o.support.noCloneEvent&&!o.isXMLDoc(this)){var I=this.outerHTML;if(!I){var J=this.ownerDocument.createElement("div");J.appendChild(this.cloneNode(true));I=J.innerHTML}return o.clean([I.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else{return this.cloneNode(true)}});if(G===true){var H=this.find("*").andSelf(),F=0;E.find("*").andSelf().each(function(){if(this.nodeName!==H[F].nodeName){return}var I=o.data(H[F],"events");for(var K in I){for(var J in I[K]){o.event.add(this,K,I[K][J],I[K][J].data)}}F++})}return E},filter:function(E){return this.pushStack(o.isFunction(E)&&o.grep(this,function(G,F){return E.call(G,F)})||o.multiFilter(E,o.grep(this,function(F){return F.nodeType===1})),"filter",E)},closest:function(E){var G=o.expr.match.POS.test(E)?o(E):null,F=0;return this.map(function(){var H=this;while(H&&H.ownerDocument){if(G?G.index(H)>-1:o(H).is(E)){o.data(H,"closest",F);return H}H=H.parentNode;F++}})},not:function(E){if(typeof E==="string"){if(f.test(E)){return this.pushStack(o.multiFilter(E,this,true),"not",E)}else{E=o.multiFilter(E,this)}}var F=E.length&&E[E.length-1]!==g&&!E.nodeType;return this.filter(function(){return F?o.inArray(this,E)<0:this!=E})},add:function(E){return this.pushStack(o.unique(o.merge(this.get(),typeof E==="string"?o(E):o.makeArray(E))))},is:function(E){return !!E&&o.multiFilter(E,this).length>0},hasClass:function(E){return !!E&&this.is("."+E)},val:function(K){if(K===g){var E=this[0];if(E){if(o.nodeName(E,"option")){return(E.attributes.value||{}).specified?E.value:E.text}if(o.nodeName(E,"select")){var I=E.selectedIndex,L=[],M=E.options,H=E.type=="select-one";if(I<0){return null}for(var F=H?I:0,J=H?I+1:M.length;F=0||o.inArray(this.name,K)>=0)}else{if(o.nodeName(this,"select")){var N=o.makeArray(K);o("option",this).each(function(){this.selected=(o.inArray(this.value,N)>=0||o.inArray(this.text,N)>=0)});if(!N.length){this.selectedIndex=-1}}else{this.value=K}}})},html:function(E){return E===g?(this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null):this.empty().append(E)},replaceWith:function(E){return this.after(E).remove()},eq:function(E){return this.slice(E,+E+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))},map:function(E){return this.pushStack(o.map(this,function(G,F){return E.call(G,F,G)}))},andSelf:function(){return this.add(this.prevObject)},domManip:function(J,M,L){if(this[0]){var I=(this[0].ownerDocument||this[0]).createDocumentFragment(),F=o.clean(J,(this[0].ownerDocument||this[0]),I),H=I.firstChild;if(H){for(var G=0,E=this.length;G1||G>0?I.cloneNode(true):I)}}if(F){o.each(F,z)}}return this;function K(N,O){return M&&o.nodeName(N,"table")&&o.nodeName(O,"tr")?(N.getElementsByTagName("tbody")[0]||N.appendChild(N.ownerDocument.createElement("tbody"))):N}}};o.fn.init.prototype=o.fn;function z(E,F){if(F.src){o.ajax({url:F.src,async:false,dataType:"script"})}else{o.globalEval(F.text||F.textContent||F.innerHTML||"")}if(F.parentNode){F.parentNode.removeChild(F)}}function e(){return +new Date}o.extend=o.fn.extend=function(){var J=arguments[0]||{},H=1,I=arguments.length,E=false,G;if(typeof J==="boolean"){E=J;J=arguments[1]||{};H=2}if(typeof J!=="object"&&!o.isFunction(J)){J={}}if(I==H){J=this;--H}for(;H-1}},swap:function(H,G,I){var E={};for(var F in G){E[F]=H.style[F];H.style[F]=G[F]}I.call(H);for(var F in G){H.style[F]=E[F]}},css:function(H,F,J,E){if(F=="width"||F=="height"){var L,G={position:"absolute",visibility:"hidden",display:"block"},K=F=="width"?["Left","Right"]:["Top","Bottom"];function I(){L=F=="width"?H.offsetWidth:H.offsetHeight;if(E==="border"){return}o.each(K,function(){if(!E){L-=parseFloat(o.curCSS(H,"padding"+this,true))||0}if(E==="margin"){L+=parseFloat(o.curCSS(H,"margin"+this,true))||0}else{L-=parseFloat(o.curCSS(H,"border"+this+"Width",true))||0}})}if(H.offsetWidth!==0){I()}else{o.swap(H,G,I)}return Math.max(0,Math.round(L))}return o.curCSS(H,F,J)},curCSS:function(I,F,G){var L,E=I.style;if(F=="opacity"&&!o.support.opacity){L=o.attr(E,"opacity");return L==""?"1":L}if(F.match(/float/i)){F=w}if(!G&&E&&E[F]){L=E[F]}else{if(q.getComputedStyle){if(F.match(/float/i)){F="float"}F=F.replace(/([A-Z])/g,"-$1").toLowerCase();var M=q.getComputedStyle(I,null);if(M){L=M.getPropertyValue(F)}if(F=="opacity"&&L==""){L="1"}}else{if(I.currentStyle){var J=F.replace(/\-(\w)/g,function(N,O){return O.toUpperCase()});L=I.currentStyle[F]||I.currentStyle[J];if(!/^\d+(px)?$/i.test(L)&&/^\d/.test(L)){var H=E.left,K=I.runtimeStyle.left;I.runtimeStyle.left=I.currentStyle.left;E.left=L||0;L=E.pixelLeft+"px";E.left=H;I.runtimeStyle.left=K}}}}return L},clean:function(F,K,I){K=K||document;if(typeof K.createElement==="undefined"){K=K.ownerDocument||K[0]&&K[0].ownerDocument||document}if(!I&&F.length===1&&typeof F[0]==="string"){var H=/^<(\w+)\s*\/?>$/.exec(F[0]);if(H){return[K.createElement(H[1])]}}var G=[],E=[],L=K.createElement("div");o.each(F,function(P,S){if(typeof S==="number"){S+=""}if(!S){return}if(typeof S==="string"){S=S.replace(/(<(\w+)[^>]*?)\/>/g,function(U,V,T){return T.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?U:V+">"});var O=S.replace(/^\s+/,"").substring(0,10).toLowerCase();var Q=!O.indexOf("",""]||!O.indexOf("",""]||O.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"","
"]||!O.indexOf("",""]||(!O.indexOf("",""]||!O.indexOf("",""]||!o.support.htmlSerialize&&[1,"div
","
"]||[0,"",""];L.innerHTML=Q[1]+S+Q[2];while(Q[0]--){L=L.lastChild}if(!o.support.tbody){var R=/"&&!R?L.childNodes:[];for(var M=N.length-1;M>=0;--M){if(o.nodeName(N[M],"tbody")&&!N[M].childNodes.length){N[M].parentNode.removeChild(N[M])}}}if(!o.support.leadingWhitespace&&/^\s/.test(S)){L.insertBefore(K.createTextNode(S.match(/^\s*/)[0]),L.firstChild)}S=o.makeArray(L.childNodes)}if(S.nodeType){G.push(S)}else{G=o.merge(G,S)}});if(I){for(var J=0;G[J];J++){if(o.nodeName(G[J],"script")&&(!G[J].type||G[J].type.toLowerCase()==="text/javascript")){E.push(G[J].parentNode?G[J].parentNode.removeChild(G[J]):G[J])}else{if(G[J].nodeType===1){G.splice.apply(G,[J+1,0].concat(o.makeArray(G[J].getElementsByTagName("script"))))}I.appendChild(G[J])}}return E}return G},attr:function(J,G,K){if(!J||J.nodeType==3||J.nodeType==8){return g}var H=!o.isXMLDoc(J),L=K!==g;G=H&&o.props[G]||G;if(J.tagName){var F=/href|src|style/.test(G);if(G=="selected"&&J.parentNode){J.parentNode.selectedIndex}if(G in J&&H&&!F){if(L){if(G=="type"&&o.nodeName(J,"input")&&J.parentNode){throw"type property can't be changed"}J[G]=K}if(o.nodeName(J,"form")&&J.getAttributeNode(G)){return J.getAttributeNode(G).nodeValue}if(G=="tabIndex"){var I=J.getAttributeNode("tabIndex");return I&&I.specified?I.value:J.nodeName.match(/(button|input|object|select|textarea)/i)?0:J.nodeName.match(/^(a|area)$/i)&&J.href?0:g}return J[G]}if(!o.support.style&&H&&G=="style"){return o.attr(J.style,"cssText",K)}if(L){J.setAttribute(G,""+K)}var E=!o.support.hrefNormalized&&H&&F?J.getAttribute(G,2):J.getAttribute(G);return E===null?g:E}if(!o.support.opacity&&G=="opacity"){if(L){J.zoom=1;J.filter=(J.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(K)+""=="NaN"?"":"alpha(opacity="+K*100+")")}return J.filter&&J.filter.indexOf("opacity=")>=0?(parseFloat(J.filter.match(/opacity=([^)]*)/)[1])/100)+"":""}G=G.replace(/-([a-z])/ig,function(M,N){return N.toUpperCase()});if(L){J[G]=K}return J[G]},trim:function(E){return(E||"").replace(/^\s+|\s+$/g,"")},makeArray:function(G){var E=[];if(G!=null){var F=G.length;if(F==null||typeof G==="string"||o.isFunction(G)||G.setInterval){E[0]=G}else{while(F){E[--F]=G[F]}}}return E},inArray:function(G,H){for(var E=0,F=H.length;E0?this.clone(true):this).get();o.fn[F].apply(o(L[K]),I);J=J.concat(I)}return this.pushStack(J,E,G)}});o.each({removeAttr:function(E){o.attr(this,E,"");if(this.nodeType==1){this.removeAttribute(E)}},addClass:function(E){o.className.add(this,E)},removeClass:function(E){o.className.remove(this,E)},toggleClass:function(F,E){if(typeof E!=="boolean"){E=!o.className.has(this,F)}o.className[E?"add":"remove"](this,F)},remove:function(E){if(!E||o.filter(E,[this]).length){o("*",this).add([this]).each(function(){o.event.remove(this);o.removeData(this)});if(this.parentNode){this.parentNode.removeChild(this)}}},empty:function(){o(this).children().remove();while(this.firstChild){this.removeChild(this.firstChild)}}},function(E,F){o.fn[E]=function(){return this.each(F,arguments)}});function j(E,F){return E[0]&&parseInt(o.curCSS(E[0],F,true),10)||0}var h="jQuery"+e(),v=0,A={};o.extend({cache:{},data:function(F,E,G){F=F==l?A:F;var H=F[h];if(!H){H=F[h]=++v}if(E&&!o.cache[H]){o.cache[H]={}}if(G!==g){o.cache[H][E]=G}return E?o.cache[H][E]:H},removeData:function(F,E){F=F==l?A:F;var H=F[h];if(E){if(o.cache[H]){delete o.cache[H][E];E="";for(E in o.cache[H]){break}if(!E){o.removeData(F)}}}else{try{delete F[h]}catch(G){if(F.removeAttribute){F.removeAttribute(h)}}delete o.cache[H]}},queue:function(F,E,H){if(F){E=(E||"fx")+"queue";var G=o.data(F,E);if(!G||o.isArray(H)){G=o.data(F,E,o.makeArray(H))}else{if(H){G.push(H)}}}return G},dequeue:function(H,G){var E=o.queue(H,G),F=E.shift();if(!G||G==="fx"){F=E[0]}if(F!==g){F.call(H)}}});o.fn.extend({data:function(E,G){var H=E.split(".");H[1]=H[1]?"."+H[1]:"";if(G===g){var F=this.triggerHandler("getData"+H[1]+"!",[H[0]]);if(F===g&&this.length){F=o.data(this[0],E)}return F===g&&H[1]?this.data(H[0]):F}else{return this.trigger("setData"+H[1]+"!",[H[0],G]).each(function(){o.data(this,E,G)})}},removeData:function(E){return this.each(function(){o.removeData(this,E)})},queue:function(E,F){if(typeof E!=="string"){F=E;E="fx"}if(F===g){return o.queue(this[0],E)}return this.each(function(){var G=o.queue(this,E,F);if(E=="fx"&&G.length==1){G[0].call(this)}})},dequeue:function(E){return this.each(function(){o.dequeue(this,E)})}}); -/* - * Sizzle CSS Selector Engine - v0.9.3 - * Copyright 2009, The Dojo Foundation - * Released under the MIT, BSD, and GPL Licenses. - * More information: http://sizzlejs.com/ - */ -(function(){var R=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,L=0,H=Object.prototype.toString;var F=function(Y,U,ab,ac){ab=ab||[];U=U||document;if(U.nodeType!==1&&U.nodeType!==9){return[]}if(!Y||typeof Y!=="string"){return ab}var Z=[],W,af,ai,T,ad,V,X=true;R.lastIndex=0;while((W=R.exec(Y))!==null){Z.push(W[1]);if(W[2]){V=RegExp.rightContext;break}}if(Z.length>1&&M.exec(Y)){if(Z.length===2&&I.relative[Z[0]]){af=J(Z[0]+Z[1],U)}else{af=I.relative[Z[0]]?[U]:F(Z.shift(),U);while(Z.length){Y=Z.shift();if(I.relative[Y]){Y+=Z.shift()}af=J(Y,af)}}}else{var ae=ac?{expr:Z.pop(),set:E(ac)}:F.find(Z.pop(),Z.length===1&&U.parentNode?U.parentNode:U,Q(U));af=F.filter(ae.expr,ae.set);if(Z.length>0){ai=E(af)}else{X=false}while(Z.length){var ah=Z.pop(),ag=ah;if(!I.relative[ah]){ah=""}else{ag=Z.pop()}if(ag==null){ag=U}I.relative[ah](ai,ag,Q(U))}}if(!ai){ai=af}if(!ai){throw"Syntax error, unrecognized expression: "+(ah||Y)}if(H.call(ai)==="[object Array]"){if(!X){ab.push.apply(ab,ai)}else{if(U.nodeType===1){for(var aa=0;ai[aa]!=null;aa++){if(ai[aa]&&(ai[aa]===true||ai[aa].nodeType===1&&K(U,ai[aa]))){ab.push(af[aa])}}}else{for(var aa=0;ai[aa]!=null;aa++){if(ai[aa]&&ai[aa].nodeType===1){ab.push(af[aa])}}}}}else{E(ai,ab)}if(V){F(V,U,ab,ac);if(G){hasDuplicate=false;ab.sort(G);if(hasDuplicate){for(var aa=1;aa":function(Z,U,aa){var X=typeof U==="string";if(X&&!/\W/.test(U)){U=aa?U:U.toUpperCase();for(var V=0,T=Z.length;V=0)){if(!V){T.push(Y)}}else{if(V){U[X]=false}}}}return false},ID:function(T){return T[1].replace(/\\/g,"")},TAG:function(U,T){for(var V=0;T[V]===false;V++){}return T[V]&&Q(T[V])?U[1]:U[1].toUpperCase()},CHILD:function(T){if(T[1]=="nth"){var U=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(T[2]=="even"&&"2n"||T[2]=="odd"&&"2n+1"||!/\D/.test(T[2])&&"0n+"+T[2]||T[2]);T[2]=(U[1]+(U[2]||1))-0;T[3]=U[3]-0}T[0]=L++;return T},ATTR:function(X,U,V,T,Y,Z){var W=X[1].replace(/\\/g,"");if(!Z&&I.attrMap[W]){X[1]=I.attrMap[W]}if(X[2]==="~="){X[4]=" "+X[4]+" "}return X},PSEUDO:function(X,U,V,T,Y){if(X[1]==="not"){if(X[3].match(R).length>1||/^\w/.test(X[3])){X[3]=F(X[3],null,null,U)}else{var W=F.filter(X[3],U,V,true^Y);if(!V){T.push.apply(T,W)}return false}}else{if(I.match.POS.test(X[0])||I.match.CHILD.test(X[0])){return true}}return X},POS:function(T){T.unshift(true);return T}},filters:{enabled:function(T){return T.disabled===false&&T.type!=="hidden"},disabled:function(T){return T.disabled===true},checked:function(T){return T.checked===true},selected:function(T){T.parentNode.selectedIndex;return T.selected===true},parent:function(T){return !!T.firstChild},empty:function(T){return !T.firstChild},has:function(V,U,T){return !!F(T[3],V).length},header:function(T){return/h\d/i.test(T.nodeName)},text:function(T){return"text"===T.type},radio:function(T){return"radio"===T.type},checkbox:function(T){return"checkbox"===T.type},file:function(T){return"file"===T.type},password:function(T){return"password"===T.type},submit:function(T){return"submit"===T.type},image:function(T){return"image"===T.type},reset:function(T){return"reset"===T.type},button:function(T){return"button"===T.type||T.nodeName.toUpperCase()==="BUTTON"},input:function(T){return/input|select|textarea|button/i.test(T.nodeName)}},setFilters:{first:function(U,T){return T===0},last:function(V,U,T,W){return U===W.length-1},even:function(U,T){return T%2===0},odd:function(U,T){return T%2===1},lt:function(V,U,T){return UT[3]-0},nth:function(V,U,T){return T[3]-0==U},eq:function(V,U,T){return T[3]-0==U}},filter:{PSEUDO:function(Z,V,W,aa){var U=V[1],X=I.filters[U];if(X){return X(Z,W,V,aa)}else{if(U==="contains"){return(Z.textContent||Z.innerText||"").indexOf(V[3])>=0}else{if(U==="not"){var Y=V[3];for(var W=0,T=Y.length;W=0)}}},ID:function(U,T){return U.nodeType===1&&U.getAttribute("id")===T},TAG:function(U,T){return(T==="*"&&U.nodeType===1)||U.nodeName===T},CLASS:function(U,T){return(" "+(U.className||U.getAttribute("class"))+" ").indexOf(T)>-1},ATTR:function(Y,W){var V=W[1],T=I.attrHandle[V]?I.attrHandle[V](Y):Y[V]!=null?Y[V]:Y.getAttribute(V),Z=T+"",X=W[2],U=W[4];return T==null?X==="!=":X==="="?Z===U:X==="*="?Z.indexOf(U)>=0:X==="~="?(" "+Z+" ").indexOf(U)>=0:!U?Z&&T!==false:X==="!="?Z!=U:X==="^="?Z.indexOf(U)===0:X==="$="?Z.substr(Z.length-U.length)===U:X==="|="?Z===U||Z.substr(0,U.length+1)===U+"-":false},POS:function(X,U,V,Y){var T=U[2],W=I.setFilters[T];if(W){return W(X,V,U,Y)}}}};var M=I.match.POS;for(var O in I.match){I.match[O]=RegExp(I.match[O].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var E=function(U,T){U=Array.prototype.slice.call(U);if(T){T.push.apply(T,U);return T}return U};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(N){E=function(X,W){var U=W||[];if(H.call(X)==="[object Array]"){Array.prototype.push.apply(U,X)}else{if(typeof X.length==="number"){for(var V=0,T=X.length;V";var T=document.documentElement;T.insertBefore(U,T.firstChild);if(!!document.getElementById(V)){I.find.ID=function(X,Y,Z){if(typeof Y.getElementById!=="undefined"&&!Z){var W=Y.getElementById(X[1]);return W?W.id===X[1]||typeof W.getAttributeNode!=="undefined"&&W.getAttributeNode("id").nodeValue===X[1]?[W]:g:[]}};I.filter.ID=function(Y,W){var X=typeof Y.getAttributeNode!=="undefined"&&Y.getAttributeNode("id");return Y.nodeType===1&&X&&X.nodeValue===W}}T.removeChild(U)})();(function(){var T=document.createElement("div");T.appendChild(document.createComment(""));if(T.getElementsByTagName("*").length>0){I.find.TAG=function(U,Y){var X=Y.getElementsByTagName(U[1]);if(U[1]==="*"){var W=[];for(var V=0;X[V];V++){if(X[V].nodeType===1){W.push(X[V])}}X=W}return X}}T.innerHTML="";if(T.firstChild&&typeof T.firstChild.getAttribute!=="undefined"&&T.firstChild.getAttribute("href")!=="#"){I.attrHandle.href=function(U){return U.getAttribute("href",2)}}})();if(document.querySelectorAll){(function(){var T=F,U=document.createElement("div");U.innerHTML="

";if(U.querySelectorAll&&U.querySelectorAll(".TEST").length===0){return}F=function(Y,X,V,W){X=X||document;if(!W&&X.nodeType===9&&!Q(X)){try{return E(X.querySelectorAll(Y),V)}catch(Z){}}return T(Y,X,V,W)};F.find=T.find;F.filter=T.filter;F.selectors=T.selectors;F.matches=T.matches})()}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){(function(){var T=document.createElement("div");T.innerHTML="
";if(T.getElementsByClassName("e").length===0){return}T.lastChild.className="e";if(T.getElementsByClassName("e").length===1){return}I.order.splice(1,0,"CLASS");I.find.CLASS=function(U,V,W){if(typeof V.getElementsByClassName!=="undefined"&&!W){return V.getElementsByClassName(U[1])}}})()}function P(U,Z,Y,ad,aa,ac){var ab=U=="previousSibling"&&!ac;for(var W=0,V=ad.length;W0){X=T;break}}}T=T[U]}ad[W]=X}}}var K=document.compareDocumentPosition?function(U,T){return U.compareDocumentPosition(T)&16}:function(U,T){return U!==T&&(U.contains?U.contains(T):true)};var Q=function(T){return T.nodeType===9&&T.documentElement.nodeName!=="HTML"||!!T.ownerDocument&&Q(T.ownerDocument)};var J=function(T,aa){var W=[],X="",Y,V=aa.nodeType?[aa]:aa;while((Y=I.match.PSEUDO.exec(T))){X+=Y[0];T=T.replace(I.match.PSEUDO,"")}T=I.relative[T]?T+"*":T;for(var Z=0,U=V.length;Z0||T.offsetHeight>0};F.selectors.filters.animated=function(T){return o.grep(o.timers,function(U){return T===U.elem}).length};o.multiFilter=function(V,T,U){if(U){V=":not("+V+")"}return F.matches(V,T)};o.dir=function(V,U){var T=[],W=V[U];while(W&&W!=document){if(W.nodeType==1){T.push(W)}W=W[U]}return T};o.nth=function(X,T,V,W){T=T||1;var U=0;for(;X;X=X[V]){if(X.nodeType==1&&++U==T){break}}return X};o.sibling=function(V,U){var T=[];for(;V;V=V.nextSibling){if(V.nodeType==1&&V!=U){T.push(V)}}return T};return;l.Sizzle=F})();o.event={add:function(I,F,H,K){if(I.nodeType==3||I.nodeType==8){return}if(I.setInterval&&I!=l){I=l}if(!H.guid){H.guid=this.guid++}if(K!==g){var G=H;H=this.proxy(G);H.data=K}var E=o.data(I,"events")||o.data(I,"events",{}),J=o.data(I,"handle")||o.data(I,"handle",function(){return typeof o!=="undefined"&&!o.event.triggered?o.event.handle.apply(arguments.callee.elem,arguments):g});J.elem=I;o.each(F.split(/\s+/),function(M,N){var O=N.split(".");N=O.shift();H.type=O.slice().sort().join(".");var L=E[N];if(o.event.specialAll[N]){o.event.specialAll[N].setup.call(I,K,O)}if(!L){L=E[N]={};if(!o.event.special[N]||o.event.special[N].setup.call(I,K,O)===false){if(I.addEventListener){I.addEventListener(N,J,false)}else{if(I.attachEvent){I.attachEvent("on"+N,J)}}}}L[H.guid]=H;o.event.global[N]=true});I=null},guid:1,global:{},remove:function(K,H,J){if(K.nodeType==3||K.nodeType==8){return}var G=o.data(K,"events"),F,E;if(G){if(H===g||(typeof H==="string"&&H.charAt(0)==".")){for(var I in G){this.remove(K,I+(H||""))}}else{if(H.type){J=H.handler;H=H.type}o.each(H.split(/\s+/),function(M,O){var Q=O.split(".");O=Q.shift();var N=RegExp("(^|\\.)"+Q.slice().sort().join(".*\\.")+"(\\.|$)");if(G[O]){if(J){delete G[O][J.guid]}else{for(var P in G[O]){if(N.test(G[O][P].type)){delete G[O][P]}}}if(o.event.specialAll[O]){o.event.specialAll[O].teardown.call(K,Q)}for(F in G[O]){break}if(!F){if(!o.event.special[O]||o.event.special[O].teardown.call(K,Q)===false){if(K.removeEventListener){K.removeEventListener(O,o.data(K,"handle"),false)}else{if(K.detachEvent){K.detachEvent("on"+O,o.data(K,"handle"))}}}F=null;delete G[O]}}})}for(F in G){break}if(!F){var L=o.data(K,"handle");if(L){L.elem=null}o.removeData(K,"events");o.removeData(K,"handle")}}},trigger:function(I,K,H,E){var G=I.type||I;if(!E){I=typeof I==="object"?I[h]?I:o.extend(o.Event(G),I):o.Event(G);if(G.indexOf("!")>=0) -{I.type=G=G.slice(0,-1);I.exclusive=true}if(!H){I.stopPropagation();if(this.global[G]){o.each(o.cache,function(){if(this.events&&this.events[G]){o.event.trigger(I,K,this.handle.elem)}})}}if(!H||H.nodeType==3||H.nodeType==8){return g}I.result=g;I.target=H;K=o.makeArray(K);K.unshift(I)}I.currentTarget=H;var J=o.data(H,"handle");if(J){J.apply(H,K)}if((!H[G]||(o.nodeName(H,"a")&&G=="click"))&&H["on"+G]&&H["on"+G].apply(H,K)===false){I.result=false}if(!E&&H[G]&&!I.isDefaultPrevented()&&!(o.nodeName(H,"a")&&G=="click")){this.triggered=true;try{H[G]()}catch(L){}}this.triggered=false;if(!I.isPropagationStopped()){var F=H.parentNode||H.ownerDocument;if(F){o.event.trigger(I,K,F,true)}}},handle:function(K){var J,E;K=arguments[0]=o.event.fix(K||l.event);K.currentTarget=this;var L=K.type.split(".");K.type=L.shift();J=!L.length&&!K.exclusive;var I=RegExp("(^|\\.)"+L.slice().sort().join(".*\\.")+"(\\.|$)");E=(o.data(this,"events")||{})[K.type];for(var G in E){var H=E[G];if(J||I.test(H.type)){K.handler=H;K.data=H.data;var F=H.apply(this,arguments);if(F!==g){K.result=F;if(F===false){K.preventDefault();K.stopPropagation()}}if(K.isImmediatePropagationStopped()){break}}}},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(H){if(H[h]){return H}var F=H;H=o.Event(F);for(var G=this.props.length,J;G;){J=this.props[--G];H[J]=F[J]}if(!H.target){H.target=H.srcElement||document}if(H.target.nodeType==3){H.target=H.target.parentNode}if(!H.relatedTarget&&H.fromElement){H.relatedTarget=H.fromElement==H.target?H.toElement:H.fromElement}if(H.pageX==null&&H.clientX!=null){var I=document.documentElement,E=document.body;H.pageX=H.clientX+(I&&I.scrollLeft||E&&E.scrollLeft||0)-(I.clientLeft||0);H.pageY=H.clientY+(I&&I.scrollTop||E&&E.scrollTop||0)-(I.clientTop||0)}if(!H.which&&((H.charCode||H.charCode===0)?H.charCode:H.keyCode)){H.which=H.charCode||H.keyCode}if(!H.metaKey&&H.ctrlKey){H.metaKey=H.ctrlKey}if(!H.which&&H.button){H.which=(H.button&1?1:(H.button&2?3:(H.button&4?2:0)))}return H},proxy:function(F,E){E=E||function(){return F.apply(this,arguments)};E.guid=F.guid=F.guid||E.guid||this.guid++;return E},special:{ready:{setup:B,teardown:function(){}}},specialAll:{live:{setup:function(E,F){o.event.add(this,F[0],c)},teardown:function(G){if(G.length){var E=0,F=RegExp("(^|\\.)"+G[0]+"(\\.|$)");o.each((o.data(this,"events").live||{}),function(){if(F.test(this.type)){E++}});if(E<1){o.event.remove(this,G[0],c)}}}}}};o.Event=function(E){if(!this.preventDefault){return new o.Event(E)}if(E&&E.type){this.originalEvent=E;this.type=E.type}else{this.type=E}this.timeStamp=e();this[h]=true};function k(){return false}function u(){return true}o.Event.prototype={preventDefault:function(){this.isDefaultPrevented=u;var E=this.originalEvent;if(!E){return}if(E.preventDefault){E.preventDefault()}E.returnValue=false},stopPropagation:function(){this.isPropagationStopped=u;var E=this.originalEvent;if(!E){return}if(E.stopPropagation){E.stopPropagation()}E.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=u;this.stopPropagation()},isDefaultPrevented:k,isPropagationStopped:k,isImmediatePropagationStopped:k};var a=function(F){var E=F.relatedTarget;while(E&&E!=this){try{E=E.parentNode}catch(G){E=this}}if(E!=this){F.type=F.data;o.event.handle.apply(this,arguments)}};o.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(F,E){o.event.special[E]={setup:function(){o.event.add(this,F,a,E)},teardown:function(){o.event.remove(this,F,a)}}});o.fn.extend({bind:function(F,G,E){return F=="unload"?this.one(F,G,E):this.each(function(){o.event.add(this,F,E||G,E&&G)})},one:function(G,H,F){var E=o.event.proxy(F||H,function(I){o(this).unbind(I,E);return(F||H).apply(this,arguments)});return this.each(function(){o.event.add(this,G,E,F&&H)})},unbind:function(F,E){return this.each(function(){o.event.remove(this,F,E)})},trigger:function(E,F){return this.each(function(){o.event.trigger(E,F,this)})},triggerHandler:function(E,G){if(this[0]){var F=o.Event(E);F.preventDefault();F.stopPropagation();o.event.trigger(F,G,this[0]);return F.result}},toggle:function(G){var E=arguments,F=1;while(F=0){var E=G.slice(I,G.length);G=G.slice(0,I)}var H="GET";if(J){if(o.isFunction(J)){K=J;J=null}else{if(typeof J==="object"){J=o.param(J);H="POST"}}}var F=this;o.ajax({url:G,type:H,dataType:"html",data:J,complete:function(M,L){if(L=="success"||L=="notmodified"){F.html(E?o("
").append(M.responseText.replace(//g,"")).find(E):M.responseText)}if(K){F.each(K,[M.responseText,L,M])}}});return this},serialize:function(){return o.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?o.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password|search/i.test(this.type))}).map(function(E,F){var G=o(this).val();return G==null?null:o.isArray(G)?o.map(G,function(I,H){return{name:F.name,value:I}}):{name:F.name,value:G}}).get()}});o.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(E,F){o.fn[F]=function(G){return this.bind(F,G)}});var r=e();o.extend({get:function(E,G,H,F){if(o.isFunction(G)){H=G;G=null}return o.ajax({type:"GET",url:E,data:G,success:H,dataType:F})},getScript:function(E,F){return o.get(E,null,F,"script")},getJSON:function(E,F,G){return o.get(E,F,G,"json")},post:function(E,G,H,F){if(o.isFunction(G)){H=G;G={}}return o.ajax({type:"POST",url:E,data:G,success:H,dataType:F})},ajaxSetup:function(E){o.extend(o.ajaxSettings,E)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return l.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest()},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(M){M=o.extend(true,M,o.extend(true,{},o.ajaxSettings,M));var W,F=/=\?(&|$)/g,R,V,G=M.type.toUpperCase();if(M.data&&M.processData&&typeof M.data!=="string"){M.data=o.param(M.data)}if(M.dataType=="jsonp"){if(G=="GET"){if(!M.url.match(F)){M.url+=(M.url.match(/\?/)?"&":"?")+(M.jsonp||"callback")+"=?"}}else{if(!M.data||!M.data.match(F)){M.data=(M.data?M.data+"&":"")+(M.jsonp||"callback")+"=?"}}M.dataType="json"}if(M.dataType=="json"&&(M.data&&M.data.match(F)||M.url.match(F))){W="jsonp"+r++;if(M.data){M.data=(M.data+"").replace(F,"="+W+"$1")}M.url=M.url.replace(F,"="+W+"$1");M.dataType="script";l[W]=function(X){V=X;I();L();l[W]=g;try{delete l[W]}catch(Y){}if(H){H.removeChild(T)}}}if(M.dataType=="script"&&M.cache==null){M.cache=false}if(M.cache===false&&G=="GET"){var E=e();var U=M.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+E+"$2");M.url=U+((U==M.url)?(M.url.match(/\?/)?"&":"?")+"_="+E:"")}if(M.data&&G=="GET"){M.url+=(M.url.match(/\?/)?"&":"?")+M.data;M.data=null}if(M.global&&!o.active++){o.event.trigger("ajaxStart")}var Q=/^(\w+:)?\/\/([^\/?#]+)/.exec(M.url);if(M.dataType=="script"&&G=="GET"&&Q&&(Q[1]&&Q[1]!=location.protocol||Q[2]!=location.host)){var H=document.getElementsByTagName("head")[0];var T=document.createElement("script");T.src=M.url;if(M.scriptCharset){T.charset=M.scriptCharset}if(!W){var O=false;T.onload=T.onreadystatechange=function(){if(!O&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){O=true;I();L();T.onload=T.onreadystatechange=null;H.removeChild(T)}}}H.appendChild(T);return g}var K=false;var J=M.xhr();if(M.username){J.open(G,M.url,M.async,M.username,M.password)}else{J.open(G,M.url,M.async)}try{if(M.data){J.setRequestHeader("Content-Type",M.contentType)}if(M.ifModified){J.setRequestHeader("If-Modified-Since",o.lastModified[M.url]||"Thu, 01 Jan 1970 00:00:00 GMT")}J.setRequestHeader("X-Requested-With","XMLHttpRequest");J.setRequestHeader("Accept",M.dataType&&M.accepts[M.dataType]?M.accepts[M.dataType]+", */*":M.accepts._default)}catch(S){}if(M.beforeSend&&M.beforeSend(J,M)===false){if(M.global&&!--o.active){o.event.trigger("ajaxStop")}J.abort();return false}if(M.global){o.event.trigger("ajaxSend",[J,M])}var N=function(X){if(J.readyState==0){if(P){clearInterval(P);P=null;if(M.global&&!--o.active){o.event.trigger("ajaxStop")}}}else{if(!K&&J&&(J.readyState==4||X=="timeout")){K=true;if(P){clearInterval(P);P=null}R=X=="timeout"?"timeout":!o.httpSuccess(J)?"error":M.ifModified&&o.httpNotModified(J,M.url)?"notmodified":"success";if(R=="success"){try{V=o.httpData(J,M.dataType,M)}catch(Z){R="parsererror"}}if(R=="success"){var Y;try{Y=J.getResponseHeader("Last-Modified")}catch(Z){}if(M.ifModified&&Y){o.lastModified[M.url]=Y}if(!W){I()}}else{o.handleError(M,J,R)}L();if(X){J.abort()}if(M.async){J=null}}}};if(M.async){var P=setInterval(N,13);if(M.timeout>0){setTimeout(function(){if(J&&!K){N("timeout")}},M.timeout)}}try{J.send(M.data)}catch(S){o.handleError(M,J,null,S)}if(!M.async){N()}function I(){if(M.success){M.success(V,R)}if(M.global){o.event.trigger("ajaxSuccess",[J,M])}}function L(){if(M.complete){M.complete(J,R)}if(M.global){o.event.trigger("ajaxComplete",[J,M])}if(M.global&&!--o.active){o.event.trigger("ajaxStop")}}return J},handleError:function(F,H,E,G){if(F.error){F.error(H,E,G)}if(F.global){o.event.trigger("ajaxError",[H,F,G])}},active:0,httpSuccess:function(F){try{return !F.status&&location.protocol=="file:"||(F.status>=200&&F.status<300)||F.status==304||F.status==1223}catch(E){}return false},httpNotModified:function(G,E){try{var H=G.getResponseHeader("Last-Modified");return G.status==304||H==o.lastModified[E]}catch(F){}return false},httpData:function(J,H,G){var F=J.getResponseHeader("content-type"),E=H=="xml"||!H&&F&&F.indexOf("xml")>=0,I=E?J.responseXML:J.responseText;if(E&&I.documentElement.tagName=="parsererror"){throw"parsererror"}if(G&&G.dataFilter){I=G.dataFilter(I,H)}if(typeof I==="string"){if(H=="script"){o.globalEval(I)}if(H=="json"){I=l["eval"]("("+I+")")}}return I},param:function(E){var G=[];function H(I,J){G[G.length]=encodeURIComponent(I)+"="+encodeURIComponent(J)}if(o.isArray(E)||E.jquery){o.each(E,function(){H(this.name,this.value)})}else{for(var F in E){if(o.isArray(E[F])){o.each(E[F],function(){H(F,this)})}else{H(F,o.isFunction(E[F])?E[F]():E[F])}}}return G.join("&").replace(/%20/g,"+")}});var m={},n,d=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function t(F,E){var G={};o.each(d.concat.apply([],d.slice(0,E)),function() -{G[this]=F});return G}o.fn.extend({show:function(J,L){if(J){return this.animate(t("show",3),J,L)}else{for(var H=0,F=this.length;H").appendTo("body");K=I.css("display");if(K==="none"){K="block"}I.remove();m[G]=K}o.data(this[H],"olddisplay",K)}}for(var H=0,F=this.length;H=0;H--){if(G[H].elem==this){if(E){G[H](true)}G.splice(H,1)}}});if(!E){this.dequeue()}return this}});o.each({slideDown:t("show",1),slideUp:t("hide",1),slideToggle:t("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(E,F){o.fn[E]=function(G,H){return this.animate(F,G,H)}});o.extend({speed:function(G,H,F){var E=typeof G==="object"?G:{complete:F||!F&&H||o.isFunction(G)&&G,duration:G,easing:F&&H||H&&!o.isFunction(H)&&H};E.duration=o.fx.off?0:typeof E.duration==="number"?E.duration:o.fx.speeds[E.duration]||o.fx.speeds._default;E.old=E.complete;E.complete=function(){if(E.queue!==false){o(this).dequeue()}if(o.isFunction(E.old)){E.old.call(this)}};return E},easing:{linear:function(G,H,E,F){return E+F*G},swing:function(G,H,E,F){return((-Math.cos(G*Math.PI)/2)+0.5)*F+E}},timers:[],fx:function(F,E,G){this.options=E;this.elem=F;this.prop=G;if(!E.orig){E.orig={}}}});o.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(o.fx.step[this.prop]||o.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(F){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var E=parseFloat(o.css(this.elem,this.prop,F));return E&&E>-10000?E:parseFloat(o.curCSS(this.elem,this.prop))||0},custom:function(I,H,G){this.startTime=e();this.start=I;this.end=H;this.unit=G||this.unit||"px";this.now=this.start;this.pos=this.state=0;var E=this;function F(J){return E.step(J)}F.elem=this.elem;if(F()&&o.timers.push(F)&&!n){n=setInterval(function(){var K=o.timers;for(var J=0;J=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var E=true;for(var F in this.options.curAnim){if(this.options.curAnim[F]!==true){E=false}}if(E){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(o.css(this.elem,"display")=="none"){this.elem.style.display="block"}}if(this.options.hide){o(this.elem).hide()}if(this.options.hide||this.options.show){for(var I in this.options.curAnim){o.attr(this.elem.style,I,this.options.orig[I])}}this.options.complete.call(this.elem)}return false}else{var J=G-this.startTime;this.state=J/this.options.duration;this.pos=o.easing[this.options.easing||(o.easing.swing?"swing":"linear")](this.state,J,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};o.extend(o.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(E){o.attr(E.elem.style,"opacity",E.now)},_default:function(E){if(E.elem.style&&E.elem.style[E.prop]!=null){E.elem.style[E.prop]=E.now+E.unit}else{E.elem[E.prop]=E.now}}}});if(document.documentElement.getBoundingClientRect){o.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return o.offset.bodyOffset(this[0])}var G=this[0].getBoundingClientRect(),J=this[0].ownerDocument,F=J.body,E=J.documentElement,L=E.clientTop||F.clientTop||0,K=E.clientLeft||F.clientLeft||0,I=G.top+(self.pageYOffset||o.boxModel&&E.scrollTop||F.scrollTop)-L,H=G.left+(self.pageXOffset||o.boxModel&&E.scrollLeft||F.scrollLeft)-K;return{top:I,left:H}}}else{o.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return o.offset.bodyOffset(this[0])}o.offset.initialized||o.offset.initialize();var J=this[0],G=J.offsetParent,F=J,O=J.ownerDocument,M,H=O.documentElement,K=O.body,L=O.defaultView,E=L.getComputedStyle(J,null),N=J.offsetTop,I=J.offsetLeft;while((J=J.parentNode)&&J!==K&&J!==H){M=L.getComputedStyle(J,null);N-=J.scrollTop,I-=J.scrollLeft;if(J===G){N+=J.offsetTop,I+=J.offsetLeft;if(o.offset.doesNotAddBorder&&!(o.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(J.tagName))){N+=parseInt(M.borderTopWidth,10)||0,I+=parseInt(M.borderLeftWidth,10)||0}F=G,G=J.offsetParent}if(o.offset.subtractsBorderForOverflowNotVisible&&M.overflow!=="visible"){N+=parseInt(M.borderTopWidth,10)||0,I+=parseInt(M.borderLeftWidth,10)||0}E=M}if(E.position==="relative"||E.position==="static"){N+=K.offsetTop,I+=K.offsetLeft}if(E.position==="fixed"){N+=Math.max(H.scrollTop,K.scrollTop),I+=Math.max(H.scrollLeft,K.scrollLeft)}return{top:N,left:I}}}o.offset={initialize:function(){if(this.initialized){return}var L=document.body,F=document.createElement("div"),H,G,N,I,M,E,J=L.style.marginTop,K='
';M={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(E in M){F.style[E]=M[E]}F.innerHTML=K;L.insertBefore(F,L.firstChild);H=F.firstChild,G=H.firstChild,I=H.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(G.offsetTop!==5);this.doesAddBorderForTableAndCells=(I.offsetTop===5);H.style.overflow="hidden",H.style.position="relative";this.subtractsBorderForOverflowNotVisible=(G.offsetTop===-5);L.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=(L.offsetTop===0);L.style.marginTop=J;L.removeChild(F);this.initialized=true},bodyOffset:function(E){o.offset.initialized||o.offset.initialize();var G=E.offsetTop,F=E.offsetLeft;if(o.offset.doesNotIncludeMarginInBodyOffset){G+=parseInt(o.curCSS(E,"marginTop",true),10)||0,F+=parseInt(o.curCSS(E,"marginLeft",true),10)||0}return{top:G,left:F}}};o.fn.extend({position:function(){var I=0,H=0,F;if(this[0]){var G=this.offsetParent(),J=this.offset(),E=/^body|html$/i.test(G[0].tagName)?{top:0,left:0}:G.offset();J.top-=j(this,"marginTop");J.left-=j(this,"marginLeft");E.top+=j(G,"borderTopWidth");E.left+=j(G,"borderLeftWidth");F={top:J.top-E.top,left:J.left-E.left}}return F},offsetParent:function(){var E=this[0].offsetParent||document.body;while(E&&(!/^body|html$/i.test(E.tagName)&&o.css(E,"position")=="static")){E=E.offsetParent}return o(E)}});o.each(["Left","Top"],function(F,E){var G="scroll"+E;o.fn[G]=function(H){if(!this[0]){return null}return H!==g?this.each(function(){this==l||this==document?l.scrollTo(!F?H:o(l).scrollLeft(),F?H:o(l).scrollTop()):this[G]=H}):this[0]==l||this[0]==document?self[F?"pageYOffset":"pageXOffset"]||o.boxModel&&document.documentElement[G]||document.body[G]:this[0][G]}});o.each(["Height","Width"],function(I,G){var E=I?"Left":"Top",H=I?"Right":"Bottom",F=G.toLowerCase();o.fn["inner"+G]=function(){return this[0]?o.css(this[0],F,false,"padding"):null};o.fn["outer"+G]=function(K){return this[0]?o.css(this[0],F,false,K?"margin":"border"):null};var J=G.toLowerCase();o.fn[J]=function(K){return this[0]==l?document.compatMode=="CSS1Compat"&&document.documentElement["client"+G]||document.body["client"+G]:this[0]==document?Math.max(document.documentElement["client"+G],document.body["scroll"+G],document.documentElement["scroll"+G],document.body["offset"+G],document.documentElement["offset"+G]):K===g?(this.length?o.css(this[0],J):null):this.css(J,typeof K==="string"?K:K+"px")}})})(); - -/* - * jQuery hashchange event - v1.3 - 7/21/2010 - * http://benalman.com/projects/jquery-hashchange-plugin/ - * - * Copyright (c) 2010 "Cowboy" Ben Alman - * Dual licensed under the MIT and GPL licenses. - * http://benalman.com/about/license/ - */ -(function($,e,b){var c="hashchange",h=document,f,g=$.event.special,i=h.documentMode,d="on"+c in e&&(i===b||i>7);function a(j){j=j||location.href;return"#"+j.replace(/^[^#]*#?(.*)$/,"$1")}$.fn[c]=function(j){return j?this.bind(c,j):this.trigger(c)};$.fn[c].delay=50;g[c]=$.extend(g[c],{setup:function(){if(d){return false}$(f.start)},teardown:function(){if(d){return false}$(f.stop)}});f=(function(){var j={},p,m=a(),k=function(q){return q},l=k,o=k;j.start=function(){p||n()};j.stop=function(){p&&clearTimeout(p);p=b};function n(){var r=a(),q=o(m);if(r!==m){l(m=r,q);$(e).trigger(c)}else{if(q!==m){location.href=location.href.replace(/#.*/,"")+q}}p=setTimeout(n,$.fn[c].delay)}$.browser.msie&&!d&&(function(){var q,r;j.start=function(){if(!q){r=$.fn[c].src;r=r&&r+a();q=$('