[Orxonox-commit 1903] r6620 - code/trunk/src/external/tinyxml

rgrieder at orxonox.net rgrieder at orxonox.net
Thu Mar 25 23:03:20 CET 2010


Author: rgrieder
Date: 2010-03-25 23:03:20 +0100 (Thu, 25 Mar 2010)
New Revision: 6620

Modified:
   code/trunk/src/external/tinyxml/VERSION
   code/trunk/src/external/tinyxml/tinyxml.cpp
   code/trunk/src/external/tinyxml/tinyxml.h
   code/trunk/src/external/tinyxml/tinyxmlparser.cpp
Log:
Updated TinyXML++ to the latest trunk revision.
Only adds a function and corrects a parenthesis bug.

Modified: code/trunk/src/external/tinyxml/VERSION
===================================================================
--- code/trunk/src/external/tinyxml/VERSION	2010-03-25 19:03:17 UTC (rev 6619)
+++ code/trunk/src/external/tinyxml/VERSION	2010-03-25 22:03:20 UTC (rev 6620)
@@ -1 +1 @@
-TinyXML++ trunk checkout revision 98. Built on top of TinyXML 2.5.3
+TinyXML++ trunk checkout revision 106. Built on top of TinyXML 2.5.3

Modified: code/trunk/src/external/tinyxml/tinyxml.cpp
===================================================================
--- code/trunk/src/external/tinyxml/tinyxml.cpp	2010-03-25 19:03:17 UTC (rev 6619)
+++ code/trunk/src/external/tinyxml/tinyxml.cpp	2010-03-25 22:03:20 UTC (rev 6620)
@@ -1540,6 +1540,7 @@
 	return clone;
 }
 
+
 void TiXmlUnknown::Print( FILE* cfile, int depth ) const
 {
 	for ( int i=0; i<depth; i++ )
@@ -1959,3 +1960,10 @@
 	return true;
 }
 
+bool TiXmlPrinter::Visit( const TiXmlStylesheetReference& stylesheet )
+{
+	    DoIndent();
+	    stylesheet.Print( 0, 0, &buffer );
+	    DoLineBreak();
+	    return true;
+}

Modified: code/trunk/src/external/tinyxml/tinyxml.h
===================================================================
--- code/trunk/src/external/tinyxml/tinyxml.h	2010-03-25 19:03:17 UTC (rev 6619)
+++ code/trunk/src/external/tinyxml/tinyxml.h	2010-03-25 22:03:20 UTC (rev 6620)
@@ -1827,6 +1827,7 @@
 	virtual bool Visit( const TiXmlText& text );
 	virtual bool Visit( const TiXmlComment& comment );
 	virtual bool Visit( const TiXmlUnknown& unknown );
+	virtual bool Visit( const TiXmlStylesheetReference& stylesheet );
 
 	/** Set the indent characters for printing. By default 4 spaces
 		but tab (\t) is also useful, or null/empty string for no indentation.

Modified: code/trunk/src/external/tinyxml/tinyxmlparser.cpp
===================================================================
--- code/trunk/src/external/tinyxml/tinyxmlparser.cpp	2010-03-25 19:03:17 UTC (rev 6619)
+++ code/trunk/src/external/tinyxml/tinyxmlparser.cpp	2010-03-25 22:03:20 UTC (rev 6620)
@@ -354,7 +354,7 @@
 	}
 	else
 	{
-		while ( *p && IsWhiteSpace( *p ) || *p == '\n' || *p =='\r' )
+		while ( ( *p && IsWhiteSpace( *p ) ) || *p == '\n' || *p =='\r' )
 			++p;
 	}
 




More information about the Orxonox-commit mailing list