Permalink
Browse files

Merge pull request #931 from amejia1/system-tinyxml-Eden

System tinyxml eden
  • Loading branch information...
2 parents 701e543 + 565c88f commit 6f76eeef2a498208659ead18774451328754578d @amejia1 amejia1 committed May 10, 2012
Showing with 418 additions and 6,271 deletions.
  1. +0 −1 Makefile.in
  2. +1 −1 README.linux
  3. +1 −1 README.ubuntu
  4. +1 −0 configure.in
  5. +0 −9 lib/tinyXML/Makefile
  6. +0 −116 lib/tinyXML/tinystr.cpp
  7. +0 −319 lib/tinyXML/tinystr.h
  8. +0 −2,043 lib/tinyXML/tinyxml.cpp
  9. +0 −1,834 lib/tinyXML/tinyxml.h
  10. +0 −53 lib/tinyXML/tinyxmlerror.cpp
  11. +0 −1,683 lib/tinyXML/tinyxmlparser.cpp
  12. +13 −0 project/BuildDependencies/scripts/tinyxml_d.bat
  13. +2 −0 project/BuildDependencies/scripts/tinyxml_d.txt
  14. +3 −7 project/VS2010Express/XBMC.vcxproj
  15. +1 −22 project/VS2010Express/XBMC.vcxproj.filters
  16. +1 −1 xbmc/Application.cpp
  17. +3 −3 xbmc/Favourites.cpp
  18. +2 −2 xbmc/LangInfo.cpp
  19. +2 −2 xbmc/NfoFile.h
  20. +2 −2 xbmc/PasswordManager.cpp
  21. +4 −4 xbmc/addons/Addon.cpp
  22. +4 −4 xbmc/addons/Addon.h
  23. +1 −1 xbmc/addons/AddonInstaller.cpp
  24. +2 −3 xbmc/addons/AddonManager.cpp
  25. +2 −2 xbmc/addons/Repository.cpp
  26. +12 −12 xbmc/addons/Scraper.cpp
  27. +3 −4 xbmc/cores/dvdplayer/DVDInputStreams/DVDStateSerializer.cpp
  28. +2 −2 xbmc/cores/dvdplayer/Edl.cpp
  29. +1 −1 xbmc/cores/playercorefactory/PlayerCoreConfig.h
  30. +1 −1 xbmc/cores/playercorefactory/PlayerSelectionRule.cpp
  31. +1 −1 xbmc/dialogs/GUIDialogPlayEject.cpp
  32. +1 −1 xbmc/filesystem/DAVDirectory.cpp
  33. +1 −1 xbmc/filesystem/DAVDirectory.h
  34. +2 −2 xbmc/filesystem/DirectoryTuxBox.cpp
  35. +2 −2 xbmc/filesystem/LastFMDirectory.h
  36. +2 −2 xbmc/filesystem/RSSDirectory.cpp
  37. +2 −2 xbmc/filesystem/RTVDirectory.cpp
  38. +1 −1 xbmc/filesystem/Slingbox.cpp
  39. +2 −2 xbmc/guilib/GUIAudioManager.cpp
  40. +1 −1 xbmc/guilib/GUIBaseContainer.cpp
  41. +3 −3 xbmc/guilib/GUIColorManager.cpp
  42. +2 −2 xbmc/guilib/GUIColorManager.h
  43. +2 −2 xbmc/guilib/GUIControlProfiler.cpp
  44. +4 −4 xbmc/guilib/GUIFontManager.cpp
  45. +2 −2 xbmc/guilib/GUIFontManager.h
  46. +4 −4 xbmc/guilib/GUIIncludes.cpp
  47. +1 −1 xbmc/guilib/GUIListItemLayout.cpp
  48. +1 −1 xbmc/guilib/GUITextBox.cpp
  49. +2 −2 xbmc/guilib/GUIWindow.cpp
  50. +2 −2 xbmc/guilib/GUIWindow.h
  51. +1 −1 xbmc/guilib/LocalizeStrings.cpp
  52. +1 −1 xbmc/guilib/Makefile.in
  53. +1 −1 xbmc/guilib/VisibleEffect.cpp
  54. +5 −5 xbmc/input/ButtonTranslator.cpp
  55. +2 −2 xbmc/input/KeyboardLayoutConfiguration.cpp
  56. +2 −2 xbmc/interfaces/http-api/XBMCConfiguration.h
  57. +1 −1 xbmc/interfaces/info/SkinVariable.cpp
  58. +2 −2 xbmc/interfaces/python/xbmcmodule/GUIPythonWindowXML.cpp
  59. +2 −2 xbmc/interfaces/python/xbmcmodule/control.cpp
  60. +2 −2 xbmc/interfaces/python/xbmcmodule/pyutil.cpp
  61. +1 −1 xbmc/music/Album.cpp
  62. +2 −2 xbmc/music/Artist.cpp
  63. +3 −3 xbmc/music/LastFmManager.cpp
  64. +2 −2 xbmc/music/MusicDatabase.cpp
  65. +1 −1 xbmc/music/infoscanner/MusicAlbumInfo.h
  66. +1 −1 xbmc/music/infoscanner/MusicArtistInfo.h
  67. +2 −2 xbmc/network/libscrobbler/scrobbler.cpp
  68. +2 −2 xbmc/peripherals/Peripherals.cpp
  69. +3 −3 xbmc/peripherals/devices/Peripheral.cpp
  70. +2 −2 xbmc/playlists/PlayListB4S.cpp
  71. +3 −3 xbmc/playlists/PlayListPLS.cpp
  72. +2 −2 xbmc/playlists/PlayListWPL.cpp
  73. +1 −1 xbmc/playlists/PlayListXML.cpp
  74. +1 −1 xbmc/playlists/SmartPlayList.cpp
  75. +2 −2 xbmc/playlists/SmartPlayList.h
  76. +3 −3 xbmc/programs/Shortcut.cpp
  77. +1 −1 xbmc/settings/AdvancedSettings.cpp
  78. +1 −1 xbmc/settings/GUISettings.cpp
  79. +1 −1 xbmc/settings/GUIWindowSettingsCategory.cpp
  80. +11 −11 xbmc/settings/Settings.cpp
  81. +3 −3 xbmc/storage/MediaManager.cpp
  82. +2 −2 xbmc/utils/Fanart.cpp
  83. +1 −1 xbmc/utils/LCD.cpp
  84. +1 −1 xbmc/utils/LCD.h
  85. +1 −1 xbmc/utils/LangCodeExpander.cpp
  86. +1 −0 xbmc/utils/Makefile
  87. +2 −2 xbmc/utils/RssReader.h
  88. +3 −3 xbmc/utils/ScraperParser.cpp
  89. +3 −3 xbmc/utils/ScraperParser.h
  90. +2 −2 xbmc/utils/ScraperUrl.cpp
  91. +3 −3 xbmc/utils/TuxBoxUtil.cpp
  92. +1 −1 xbmc/utils/Weather.cpp
  93. +164 −0 xbmc/utils/XBMCTinyXML.cpp
  94. +52 −0 xbmc/utils/XBMCTinyXML.h
  95. +2 −2 xbmc/utils/XMLUtils.cpp
  96. +2 −3 xbmc/utils/XMLUtils.h
  97. +2 −2 xbmc/video/VideoDatabase.cpp
  98. +1 −1 xbmc/video/VideoInfoDownloader.h
  99. +3 −3 xbmc/video/VideoInfoTag.cpp
  100. +3 −3 xbmc/windowing/X11/XRandR.cpp
View
@@ -26,7 +26,6 @@ DIRECTORY_ARCHIVES=$(DVDPLAYER_ARCHIVES) \
lib/libXDAAP/libxdaap.a \
lib/libhts/libhts.a \
lib/libsquish/libsquish.a \
- lib/tinyXML/tinyxml.a \
lib/xbmc-dll-symbols/dll-symbols.a \
xbmc/addons/addons.a \
xbmc/cdrip/cdrip.a \
View
@@ -55,7 +55,7 @@ Build-Depends: debhelper (>= 7.0.50~), python-support, cmake,
libbluetooth-dev, zlib1g-dev, libsmbclient-dev, libboost-thread-dev
libiso9660-dev, libssl-dev, lsb-release, libvdpau-dev, libmicrohttpd-dev,
libmodplug-dev, librtmp-dev, libcrystalhd-dev, curl, python-dev, libyajl-dev,
- libplist-dev, libusb-dev, libudev-dev, libltdl-dev
+ libplist-dev, libusb-dev, libudev-dev, libltdl-dev, libtinyxml-dev
*** For developers and anyone else who compiles frequently it is recommended to
use ccache
View
@@ -44,7 +44,7 @@ Two methods exist to install the required Ubuntu packages:
For Ubuntu (all versions >= 7.04):
- # sudo apt-get install git-core make g++ gcc gawk pmount libtool nasm yasm automake cmake gperf zip unzip bison libsdl-dev libsdl-image1.2-dev libsdl-gfx1.2-dev libsdl-mixer1.2-dev libfribidi-dev liblzo2-dev libfreetype6-dev libsqlite3-dev libogg-dev libasound2-dev python-sqlite libglew-dev libcurl3 libcurl4-gnutls-dev libxrandr-dev libxrender-dev libmad0-dev libogg-dev libvorbisenc2 libsmbclient-dev libmysqlclient-dev libpcre3-dev libdbus-1-dev libhal-dev libhal-storage-dev libjasper-dev libfontconfig-dev libbz2-dev libboost-dev libenca-dev libxt-dev libxmu-dev libpng-dev libjpeg-dev libpulse-dev mesa-utils libcdio-dev libsamplerate-dev libmpeg3-dev libflac-dev libiso9660-dev libass-dev libssl-dev fp-compiler gdc libmpeg2-4-dev libmicrohttpd-dev libmodplug-dev libssh-dev gettext cvs python-dev libyajl-dev libboost-thread-dev libplist-dev libusb-dev libudev-dev
+ # sudo apt-get install git-core make g++ gcc gawk pmount libtool nasm yasm automake cmake gperf zip unzip bison libsdl-dev libsdl-image1.2-dev libsdl-gfx1.2-dev libsdl-mixer1.2-dev libfribidi-dev liblzo2-dev libfreetype6-dev libsqlite3-dev libogg-dev libasound2-dev python-sqlite libglew-dev libcurl3 libcurl4-gnutls-dev libxrandr-dev libxrender-dev libmad0-dev libogg-dev libvorbisenc2 libsmbclient-dev libmysqlclient-dev libpcre3-dev libdbus-1-dev libhal-dev libhal-storage-dev libjasper-dev libfontconfig-dev libbz2-dev libboost-dev libenca-dev libxt-dev libxmu-dev libpng-dev libjpeg-dev libpulse-dev mesa-utils libcdio-dev libsamplerate-dev libmpeg3-dev libflac-dev libiso9660-dev libass-dev libssl-dev fp-compiler gdc libmpeg2-4-dev libmicrohttpd-dev libmodplug-dev libssh-dev gettext cvs python-dev libyajl-dev libboost-thread-dev libplist-dev libusb-dev libudev-dev libtinyxml-dev
For >= 10.10:
# sudo apt-get install autopoint libltdl-dev
View
@@ -719,6 +719,7 @@ AC_CHECK_LIB([mysqlclient], [main],, AC_MSG_ERROR($missing_library))
AC_CHECK_LIB([ssh], [sftp_tell64],, AC_MSG_RESULT([Could not find suitable version of libssh]))
AC_CHECK_LIB([bluetooth], [hci_devid],, AC_MSG_RESULT([Could not find suitable version of libbluetooth]))
AC_CHECK_LIB([yajl], [main],, AC_MSG_ERROR($missing_library))
+AC_CHECK_LIB([tinyxml], [main],, AC_MSG_ERROR($missing_library))
PKG_CHECK_MODULES([FONTCONFIG], [fontconfig],
[INCLUDES="$INCLUDES $FONTCONFIG_CFLAGS"; LIBS="$LIBS $FONTCONFIG_LIBS"],
@@ -1,9 +0,0 @@
-INCLUDES=-I. -I../../xbmc -I../../xbmc/linux
-SRCS=tinystr.cpp \
- tinyxml.cpp \
- tinyxmlerror.cpp \
- tinyxmlparser.cpp
-LIB=tinyxml.a
-
-include ../../Makefile.include
--include $(patsubst %.cpp,%.P,$(patsubst %.c,%.P,$(SRCS)))
@@ -1,116 +0,0 @@
-/*
-www.sourceforge.net/projects/tinyxml
-Original file by Yves Berquin.
-
-This software is provided 'as-is', without any express or implied
-warranty. In no event will the authors be held liable for any
-damages arising from the use of this software.
-
-Permission is granted to anyone to use this software for any
-purpose, including commercial applications, and to alter it and
-redistribute it freely, subject to the following restrictions:
-
-1. The origin of this software must not be misrepresented; you must
-not claim that you wrote the original software. If you use this
-software in a product, an acknowledgment in the product documentation
-would be appreciated but is not required.
-
-2. Altered source versions must be plainly marked as such, and
-must not be misrepresented as being the original software.
-
-3. This notice may not be removed or altered from any source
-distribution.
-*/
-
-/*
- * THIS FILE WAS ALTERED BY Tyge Løvset, 7. April 2005.
- */
-
-
-#ifndef TIXML_USE_STL
-
-#include "tinystr.h"
-
-// Error value for find primitive
-const TiXmlString::size_type TiXmlString::npos = static_cast< TiXmlString::size_type >(-1);
-
-
-// Null rep.
-TiXmlString::Rep TiXmlString::nullrep_ = { 0, 0, { '\0' } };
-
-
-void TiXmlString::reserve (size_type cap)
-{
- if (cap > capacity())
- {
- TiXmlString tmp;
- tmp.init(length(), cap);
- memcpy(tmp.start(), data(), length());
- swap(tmp);
- }
-}
-
-
-TiXmlString& TiXmlString::assign(const char* str, size_type len)
-{
- size_type cap = capacity();
- if (len > cap || cap > 3*(len + 8))
- {
- TiXmlString tmp;
- tmp.init(len);
- memcpy(tmp.start(), str, len);
- swap(tmp);
- }
- else
- {
- memmove(start(), str, len);
- set_size(len);
- }
- return *this;
-}
-
-
-TiXmlString& TiXmlString::append(const char* str, size_type len)
-{
- size_type newsize = length() + len;
- if (newsize > capacity())
- {
- reserve (newsize + capacity());
- }
- memmove(finish(), str, len);
- set_size(newsize);
- return *this;
-}
-
-
-TiXmlString operator + (const TiXmlString & a, const TiXmlString & b)
-{
- TiXmlString tmp;
- tmp.reserve(a.length() + b.length());
- tmp += a;
- tmp += b;
- return tmp;
-}
-
-TiXmlString operator + (const TiXmlString & a, const char* b)
-{
- TiXmlString tmp;
- TiXmlString::size_type b_len = static_cast<TiXmlString::size_type>( strlen(b) );
- tmp.reserve(a.length() + b_len);
- tmp += a;
- tmp.append(b, b_len);
- return tmp;
-}
-
-TiXmlString operator + (const char* a, const TiXmlString & b)
-{
- TiXmlString tmp;
- TiXmlString::size_type a_len = static_cast<TiXmlString::size_type>( strlen(a) );
- tmp.reserve(a_len + b.length());
- tmp.append(a, a_len);
- tmp += b;
- return tmp;
-}
-
-
-#endif // TIXML_USE_STL
Oops, something went wrong.

0 comments on commit 6f76eee

Please sign in to comment.