From e112abfea20826f56538580a2ff4183a9a3a8b54 Mon Sep 17 00:00:00 2001 From: Jim Derry Date: Sat, 31 Jan 2015 18:09:33 +0800 Subject: [PATCH] Removed unnecessary README.html (redundant). Updated README.md for legibility. Will add deleted credits to documentation. --- README.html | 125 --------- README.md | 44 ++-- .../xcode/tidy/tidy.xcodeproj/project.pbxproj | 239 ++++++++++++++++++ .../contents.xcworkspacedata | 7 + .../UserInterfaceState.xcuserstate | Bin 0 -> 4126 bytes .../xcschemes/tidy.xcscheme | 43 ++++ build/xcode/tidylib/Info.plist | 28 ++ build/xcode/tidylib/tidylib.h | 19 ++ 8 files changed, 361 insertions(+), 144 deletions(-) delete mode 100644 README.html create mode 100644 build/xcode/tidy/tidy.xcodeproj/project.pbxproj create mode 100644 build/xcode/tidy/tidy.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 build/xcode/tidy/tidy.xcodeproj/project.xcworkspace/xcuserdata/jderry.xcuserdatad/UserInterfaceState.xcuserstate create mode 100644 build/xcode/tidy/tidy.xcodeproj/xcuserdata/jderry.xcuserdatad/xcschemes/tidy.xcscheme create mode 100644 build/xcode/tidylib/Info.plist create mode 100644 build/xcode/tidylib/tidylib.h diff --git a/README.html b/README.html deleted file mode 100644 index 770c304..0000000 --- a/README.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - About tidy-html5 - - - - - -

- HTML Tidy for HTML5 -

- -

- 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. A copy of this patch is also - maintained on this site, but naturally a LOT more has been changed in this fork. -

- -

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

- -

- Building tidy with cmake -

- -

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

- - - -

- Alternatively the CMake GUI can be used. CMake options can be read from their site, and/or running # cmake --help to get help, and view the - 'generators' supported on your platform. -
- The build/cmake folder contains sample windows (batch) and unix (sh) scripts which can be - adjusted to suit your choices. -

- -

- This document has been tidied using tidy5.exe, using a configuration file, tidy5.cfg containing - - -

- -
-tidy-mark: no
-indent: yes
-break-before-br: yes
-indent-attributes: yes
-vertical-space: yes
-indent-spaces: 1
-indent-cdata: no
-wrap-asp: no
-wrap-attributes: no
-wrap-jste: no
-wrap-php: no
-wrap-script-literals: no
-wrap-sections: no
-tab-size: 4
-show-info: no
-
-

- Using the following command -
- tidy5 -o README5.html -config tidy5.cfg README.html -
- then after checking README.html is deleted, and README5.html renamed to README.html -

- -

- README.html 20141205 -

- - diff --git a/README.md b/README.md index fa903da..e8185cf 100644 --- a/README.md +++ b/README.md @@ -1,31 +1,37 @@ # HTML Tidy with HTML5 support -This repo is a fork of the code from [w3c.github.com/tidy-html5][3], which itself -is a fork of [tidy.sourceforge.net][1]. +This repository consists of the stable and development branches of HTML Tidy. -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]. + - branch **develop-\*\*\*** consists of the current development and release candidate + for **HTML Tidy**. Release Candidates can be identified with git tags. - [1]: http://tidy.sourceforge.net - - [2]: http://lists.w3.org/Archives/Public/www-archive/2011Nov/0007.html - -For more information, see [w3c.github.com/tidy-html5][3] - - [3]: http://w3c.github.com/tidy-html5/ + - branch **master** consists of the current, stable release of **HTML Tidy**. ## Build the tidy library and command line tool - 1. cd build/cmake + 1. `cd build/cmake` - 2. cmake ../.. [-DCMAKE_INSTALL_PREFIX=/path/for/install] + 2. `cmake ../.. [-DCMAKE_INSTALL_PREFIX=/path/for/install]` - 3. Windows: cmake --build . --config Release - Unix/OSX: make + 3. Windows: `cmake --build . --config Release` + Unix/OS X: `make` - 4. Install, if desired - Windows: cmake --build . --config Release --target INSTALL - UNix/OSX: [sudo] make install + 4. Install, if desired: + Windows: `cmake --build . --config Release --target INSTALL` + Unix/OS X: `[sudo] make install` + + +## History + +This repository should be considered canonical for HTML Tidy as of 2015-January-15. + + - This repository originally transferred from [w3c.github.com/tidy-html5][1]. + + - First moved to Github from [tidy.sourceforge.net][2]. + + + [1]: http://w3c.github.com/tidy-html5/ + + [2]: http://tidy.sourceforge.net -;eof diff --git a/build/xcode/tidy/tidy.xcodeproj/project.pbxproj b/build/xcode/tidy/tidy.xcodeproj/project.pbxproj new file mode 100644 index 0000000..808524c --- /dev/null +++ b/build/xcode/tidy/tidy.xcodeproj/project.pbxproj @@ -0,0 +1,239 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + D03019FF1A7CAEEF00D9DCB5 /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = D03019FE1A7CAEEF00D9DCB5 /* main.c */; }; +/* End PBXBuildFile section */ + +/* Begin PBXCopyFilesBuildPhase section */ + D03019F91A7CAEEF00D9DCB5 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + D03019FB1A7CAEEF00D9DCB5 /* tidy */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = tidy; sourceTree = BUILT_PRODUCTS_DIR; }; + D03019FE1A7CAEEF00D9DCB5 /* main.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + D03019F81A7CAEEF00D9DCB5 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + D03019F21A7CAEEF00D9DCB5 = { + isa = PBXGroup; + children = ( + D03019FD1A7CAEEF00D9DCB5 /* tidy */, + D03019FC1A7CAEEF00D9DCB5 /* Products */, + ); + sourceTree = ""; + }; + D03019FC1A7CAEEF00D9DCB5 /* Products */ = { + isa = PBXGroup; + children = ( + D03019FB1A7CAEEF00D9DCB5 /* tidy */, + ); + name = Products; + sourceTree = ""; + }; + D03019FD1A7CAEEF00D9DCB5 /* tidy */ = { + isa = PBXGroup; + children = ( + D03019FE1A7CAEEF00D9DCB5 /* main.c */, + ); + path = tidy; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + D03019FA1A7CAEEF00D9DCB5 /* tidy */ = { + isa = PBXNativeTarget; + buildConfigurationList = D0301A021A7CAEEF00D9DCB5 /* Build configuration list for PBXNativeTarget "tidy" */; + buildPhases = ( + D03019F71A7CAEEF00D9DCB5 /* Sources */, + D03019F81A7CAEEF00D9DCB5 /* Frameworks */, + D03019F91A7CAEEF00D9DCB5 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = tidy; + productName = tidy; + productReference = D03019FB1A7CAEEF00D9DCB5 /* tidy */; + productType = "com.apple.product-type.tool"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + D03019F31A7CAEEF00D9DCB5 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0610; + ORGANIZATIONNAME = HTACG; + TargetAttributes = { + D03019FA1A7CAEEF00D9DCB5 = { + CreatedOnToolsVersion = 6.1.1; + }; + }; + }; + buildConfigurationList = D03019F61A7CAEEF00D9DCB5 /* Build configuration list for PBXProject "tidy" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = D03019F21A7CAEEF00D9DCB5; + productRefGroup = D03019FC1A7CAEEF00D9DCB5 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + D03019FA1A7CAEEF00D9DCB5 /* tidy */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXSourcesBuildPhase section */ + D03019F71A7CAEEF00D9DCB5 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + D03019FF1A7CAEEF00D9DCB5 /* main.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + D0301A001A7CAEEF00D9DCB5 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = 10.10; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = macosx; + }; + name = Debug; + }; + D0301A011A7CAEEF00D9DCB5 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = YES; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = 10.10; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = macosx; + }; + name = Release; + }; + D0301A031A7CAEEF00D9DCB5 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + D0301A041A7CAEEF00D9DCB5 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + D03019F61A7CAEEF00D9DCB5 /* Build configuration list for PBXProject "tidy" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + D0301A001A7CAEEF00D9DCB5 /* Debug */, + D0301A011A7CAEEF00D9DCB5 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + D0301A021A7CAEEF00D9DCB5 /* Build configuration list for PBXNativeTarget "tidy" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + D0301A031A7CAEEF00D9DCB5 /* Debug */, + D0301A041A7CAEEF00D9DCB5 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; +/* End XCConfigurationList section */ + }; + rootObject = D03019F31A7CAEEF00D9DCB5 /* Project object */; +} diff --git a/build/xcode/tidy/tidy.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/build/xcode/tidy/tidy.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..b28659b --- /dev/null +++ b/build/xcode/tidy/tidy.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/build/xcode/tidy/tidy.xcodeproj/project.xcworkspace/xcuserdata/jderry.xcuserdatad/UserInterfaceState.xcuserstate b/build/xcode/tidy/tidy.xcodeproj/project.xcworkspace/xcuserdata/jderry.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000000000000000000000000000000000000..ac86642b4c71f01764ea96f815f09f90c25992ca GIT binary patch literal 4126 zcma)9dw3Mp6+dTYcka%el`Ie-yi7u3KuluZ38*n|437}ANeBV5Y&Mf*V6(f-?h-;o zuY&ruYSsF{3TP5&p`W!>saElAE%s~ssk{-jN+~Kn;#)x}_RdarVbwoOzHjGo&pqdN z&iS2l?z9KIS}>H8a{v$o5WxagkdWc^E$OROJ*fG8E$ROD6{;r`T%7LKJ>43A-IyNo z2gU&2G_cdL5(wB}EF{7>m<}`GVwee+Kqh2CHe3q%FdHs|E1?ow8TcFQ zfmh&Fcn$swC*WOp58j89@Bw@XAHgX&4d23da0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 100644 index 0000000..b59f83d --- /dev/null +++ b/build/xcode/tidy/tidy.xcodeproj/xcuserdata/jderry.xcuserdatad/xcschemes/tidy.xcscheme @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + diff --git a/build/xcode/tidylib/Info.plist b/build/xcode/tidylib/Info.plist new file mode 100644 index 0000000..48f32ec --- /dev/null +++ b/build/xcode/tidylib/Info.plist @@ -0,0 +1,28 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + org.htacg.$(PRODUCT_NAME:rfc1034identifier) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + NSHumanReadableCopyright + Copyright © 2015 HTACG. All rights reserved. + NSPrincipalClass + + + diff --git a/build/xcode/tidylib/tidylib.h b/build/xcode/tidylib/tidylib.h new file mode 100644 index 0000000..46d41ca --- /dev/null +++ b/build/xcode/tidylib/tidylib.h @@ -0,0 +1,19 @@ +// +// tidylib.h +// tidylib +// +// Created by Jim Derry on 1/31/15. +// Copyright (c) 2015 HTACG. All rights reserved. +// + +#import + +//! Project version number for tidylib. +FOUNDATION_EXPORT double tidylibVersionNumber; + +//! Project version string for tidylib. +FOUNDATION_EXPORT const unsigned char tidylibVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + +