Binary files tidy/bin/tab2space and tidy-new/bin/tab2space differ Binary files tidy/bin/tidy and tidy-new/bin/tidy differ Binary files tidy/build/gmake/obj/access.o and tidy-new/build/gmake/obj/access.o differ Binary files tidy/build/gmake/obj/alloc.o and tidy-new/build/gmake/obj/alloc.o differ Binary files tidy/build/gmake/obj/attrask.o and tidy-new/build/gmake/obj/attrask.o differ Binary files tidy/build/gmake/obj/attrdict.o and tidy-new/build/gmake/obj/attrdict.o differ Binary files tidy/build/gmake/obj/attrget.o and tidy-new/build/gmake/obj/attrget.o differ Binary files tidy/build/gmake/obj/attrs.o and tidy-new/build/gmake/obj/attrs.o differ Binary files tidy/build/gmake/obj/buffio.o and tidy-new/build/gmake/obj/buffio.o differ Binary files tidy/build/gmake/obj/clean.o and tidy-new/build/gmake/obj/clean.o differ Binary files tidy/build/gmake/obj/config.o and tidy-new/build/gmake/obj/config.o differ Binary files tidy/build/gmake/obj/entities.o and tidy-new/build/gmake/obj/entities.o differ Binary files tidy/build/gmake/obj/fileio.o and tidy-new/build/gmake/obj/fileio.o differ Binary files tidy/build/gmake/obj/istack.o and tidy-new/build/gmake/obj/istack.o differ Binary files tidy/build/gmake/obj/lexer.o and tidy-new/build/gmake/obj/lexer.o differ Binary files tidy/build/gmake/obj/localize.o and tidy-new/build/gmake/obj/localize.o differ Binary files tidy/build/gmake/obj/parser.o and tidy-new/build/gmake/obj/parser.o differ Binary files tidy/build/gmake/obj/pprint.o and tidy-new/build/gmake/obj/pprint.o differ Binary files tidy/build/gmake/obj/streamio.o and tidy-new/build/gmake/obj/streamio.o differ Binary files tidy/build/gmake/obj/tagask.o and tidy-new/build/gmake/obj/tagask.o differ Binary files tidy/build/gmake/obj/tags.o and tidy-new/build/gmake/obj/tags.o differ Binary files tidy/build/gmake/obj/tidylib.o and tidy-new/build/gmake/obj/tidylib.o differ Binary files tidy/build/gmake/obj/tmbstr.o and tidy-new/build/gmake/obj/tmbstr.o differ Binary files tidy/build/gmake/obj/utf8.o and tidy-new/build/gmake/obj/utf8.o differ Binary files tidy/lib/libtidy.a and tidy-new/lib/libtidy.a differ diff -urN tidy/src/pprint.c tidy-new/src/pprint.c --- tidy/src/pprint.c 2005-03-23 02:58:09.000000000 -0500 +++ tidy-new/src/pprint.c 2005-07-05 17:34:24.000000000 -0400 @@ -40,7 +40,7 @@ static int TextEndsWithNewline( Lexer *lexer, Node *node, uint mode ); static int TextStartsWithWhitespace( Lexer *lexer, Node *node, uint start, uint mode ); static Bool InsideHead( TidyDocImpl* doc, Node *node ); -static Bool ShouldIndent( TidyDocImpl* doc, Node *node ); +Bool ShouldIndent( TidyDocImpl* doc, Node *node ); #if SUPPORT_ASIAN_ENCODINGS /* #431953 - start RJ Wraplen adjusted for smooth international ride */ @@ -708,7 +708,7 @@ } } -static void PPrintChar( TidyDocImpl* doc, uint c, uint mode ) +void PPrintChar( TidyDocImpl* doc, uint c, uint mode ) { tmbchar entity[128]; ctmbstr p; @@ -943,7 +943,7 @@ to UTF-8 is deferred to the WriteChar() routine called to flush the line buffer. */ -static void PPrintText( TidyDocImpl* doc, uint mode, uint indent, +void PPrintText( TidyDocImpl* doc, uint mode, uint indent, Node* node ) { uint start = node->start; @@ -984,13 +984,11 @@ } } -#if 0 -static void PPrintString( TidyDocImpl* doc, uint indent, ctmbstr str ) +void PPrintString( TidyDocImpl* doc, uint indent, ctmbstr str ) { while ( *str != '\0' ) AddChar( &doc->pprint, *str++ ); } -#endif /* 0 */ static void PPrintAttrValue( TidyDocImpl* doc, uint indent, @@ -1414,7 +1412,7 @@ AddChar( pprint, '>' ); } -static void PPrintComment( TidyDocImpl* doc, uint indent, Node* node ) +void PPrintComment( TidyDocImpl* doc, uint indent, Node* node ) { TidyPrintImpl* pprint = &doc->pprint; @@ -1501,7 +1499,7 @@ PCondFlushLine( doc, indent ); } -static void PPrintPI( TidyDocImpl* doc, uint indent, Node *node ) +void PPrintPI( TidyDocImpl* doc, uint indent, Node *node ) { TidyPrintImpl* pprint = &doc->pprint; tchar c; @@ -1532,7 +1530,7 @@ PCondFlushLine( doc, indent ); } -static void PPrintXmlDecl( TidyDocImpl* doc, uint indent, Node *node ) +void PPrintXmlDecl( TidyDocImpl* doc, uint indent, Node *node ) { AttVal* att; uint saveWrap; @@ -1620,7 +1618,7 @@ WrapOn( doc, saveWrap ); } -static void PPrintCDATA( TidyDocImpl* doc, uint indent, Node *node ) +void PPrintCDATA( TidyDocImpl* doc, uint indent, Node *node ) { uint saveWrap; TidyPrintImpl* pprint = &doc->pprint; @@ -1639,7 +1637,7 @@ WrapOn( doc, saveWrap ); /* restore wrapping */ } -static void PPrintSection( TidyDocImpl* doc, uint indent, Node *node ) +void PPrintSection( TidyDocImpl* doc, uint indent, Node *node ) { TidyPrintImpl* pprint = &doc->pprint; Bool wrapSect = cfgBool( doc, TidyWrapSection ); @@ -1856,7 +1854,7 @@ -static Bool ShouldIndent( TidyDocImpl* doc, Node *node ) +Bool ShouldIndent( TidyDocImpl* doc, Node *node ) { TidyTriState indentContent = cfgAutoBool( doc, TidyIndentContent ); if ( indentContent == TidyNoState )