Skip to content

Commit

Permalink
fixed: avoid spurious dependencies for utils/CharsetConverter.h
Browse files Browse the repository at this point in the history
from 200 files rebuilt to 56 (144 spurious)
  • Loading branch information
spiff committed Mar 31, 2013
1 parent 37e5300 commit fe8fe93
Show file tree
Hide file tree
Showing 30 changed files with 11 additions and 22 deletions.
1 change: 0 additions & 1 deletion xbmc/Application.h
Expand Up @@ -55,7 +55,6 @@ namespace MEDIA_DETECT
#include "win32/WIN32Util.h"
#endif
#include "utils/Stopwatch.h"
#include "utils/CharsetConverter.h"
#ifdef HAS_PERFORMANCE_SAMPLE
#include "utils/PerformanceStats.h"
#endif
Expand Down
1 change: 1 addition & 0 deletions xbmc/GUIInfoManager.cpp
Expand Up @@ -45,6 +45,7 @@
#include "settings/AdvancedSettings.h"
#include "settings/Settings.h"
#include "guilib/LocalizeStrings.h"
#include "utils/CharsetConverter.h"
#include "utils/CPUInfo.h"
#include "utils/StringUtils.h"
#include "utils/MathUtils.h"
Expand Down
1 change: 1 addition & 0 deletions xbmc/Util.cpp
Expand Up @@ -63,6 +63,7 @@
#include "utils/fstrcmp.h"
#include "storage/MediaManager.h"
#ifdef _WIN32
#include "utils/CharsetConverter.h"
#include <shlobj.h>
#include "WIN32Util.h"
#endif
Expand Down
1 change: 1 addition & 0 deletions xbmc/addons/AddonCallbacksAddon.cpp
Expand Up @@ -29,6 +29,7 @@
#include "utils/URIUtils.h"
#include "FileItem.h"
#include "network/Network.h"
#include "utils/CharsetConverter.h"

using namespace XFILE;

Expand Down
1 change: 1 addition & 0 deletions xbmc/cores/ExternalPlayer/ExternalPlayer.cpp
Expand Up @@ -39,6 +39,7 @@
#include "utils/log.h"
#include "cores/AudioEngine/AEFactory.h"
#if defined(_WIN32)
#include "utils/CharsetConverter.h"
#include "Windows.h"
#ifdef HAS_IRSERVERSUITE
#include "input/windows/IRServerSuite.h"
Expand Down
4 changes: 1 addition & 3 deletions xbmc/cores/dvdplayer/DVDCodecs/Overlay/DVDOverlayText.h
Expand Up @@ -21,10 +21,8 @@
*/

#include "DVDOverlay.h"
#ifdef _LINUX
#include "utils/CharsetConverter.h"
#endif
#include <string.h>
#include <stdlib.h>

class CDVDOverlayText : public CDVDOverlay
{
Expand Down
Expand Up @@ -20,6 +20,7 @@

#include "DVDSubtitleTagMicroDVD.h"
#include "DVDCodecs/Overlay/DVDOverlayText.h"
#include "utils/StdString.h"

void CDVDSubtitleTagMicroDVD::ConvertLine(CDVDOverlayText* pOverlay, const char* line, int len)
{
Expand Down
1 change: 0 additions & 1 deletion xbmc/filesystem/DAVDirectory.cpp
Expand Up @@ -27,7 +27,6 @@
#include "FileItem.h"
#include "utils/RegExp.h"
#include "utils/StringUtils.h"
#include "utils/CharsetConverter.h"
#include "utils/log.h"
#include "utils/URIUtils.h"

Expand Down
1 change: 0 additions & 1 deletion xbmc/guilib/GUIButtonControl.cpp
Expand Up @@ -21,7 +21,6 @@
#include "GUIButtonControl.h"
#include "GUIWindowManager.h"
#include "GUIDialog.h"
#include "utils/CharsetConverter.h"
#include "GUIFontManager.h"
#include "Key.h"

Expand Down
1 change: 0 additions & 1 deletion xbmc/guilib/GUICheckMarkControl.cpp
Expand Up @@ -19,7 +19,6 @@
*/

#include "GUICheckMarkControl.h"
#include "utils/CharsetConverter.h"
#include "GUIFontManager.h"
#include "Key.h"

Expand Down
1 change: 0 additions & 1 deletion xbmc/guilib/GUIFadeLabelControl.cpp
Expand Up @@ -19,7 +19,6 @@
*/

#include "GUIFadeLabelControl.h"
#include "utils/CharsetConverter.h"

using namespace std;

Expand Down
1 change: 0 additions & 1 deletion xbmc/guilib/GUIInfoTypes.cpp
Expand Up @@ -19,7 +19,6 @@
*/

#include "GUIInfoTypes.h"
#include "utils/CharsetConverter.h"
#include "GUIInfoManager.h"
#include "addons/AddonManager.h"
#include "utils/log.h"
Expand Down
1 change: 0 additions & 1 deletion xbmc/guilib/GUILabel.cpp
Expand Up @@ -19,7 +19,6 @@
*/

#include "GUILabel.h"
#include "utils/CharsetConverter.h"
#include <limits>

CGUILabel::CGUILabel(float posX, float posY, float width, float height, const CLabelInfo& labelInfo, CGUILabel::OVER_FLOW overflow)
Expand Down
1 change: 0 additions & 1 deletion xbmc/guilib/GUIListLabel.cpp
Expand Up @@ -19,7 +19,6 @@
*/

#include "GUIListLabel.h"
#include "utils/CharsetConverter.h"
#include <limits>

CGUIListLabel::CGUIListLabel(int parentID, int controlID, float posX, float posY, float width, float height, const CLabelInfo& labelInfo, const CGUIInfoLabel &info, bool alwaysScroll)
Expand Down
1 change: 0 additions & 1 deletion xbmc/guilib/GUISelectButtonControl.cpp
Expand Up @@ -20,7 +20,6 @@

#include "GUISelectButtonControl.h"
#include "GUIWindowManager.h"
#include "utils/CharsetConverter.h"
#include "utils/TimeUtils.h"
#include "Key.h"

Expand Down
1 change: 0 additions & 1 deletion xbmc/guilib/GUISpinControl.cpp
Expand Up @@ -19,7 +19,6 @@
*/

#include "GUISpinControl.h"
#include "utils/CharsetConverter.h"
#include "Key.h"

using namespace std;
Expand Down
1 change: 0 additions & 1 deletion xbmc/guilib/GUITextBox.cpp
Expand Up @@ -19,7 +19,6 @@
*/

#include "GUITextBox.h"
#include "utils/CharsetConverter.h"
#include "GUIInfoManager.h"
#include "utils/XBMCTinyXML.h"
#include "utils/MathUtils.h"
Expand Down
1 change: 0 additions & 1 deletion xbmc/guilib/GUIToggleButtonControl.cpp
Expand Up @@ -21,7 +21,6 @@
#include "GUIToggleButtonControl.h"
#include "GUIWindowManager.h"
#include "GUIDialog.h"
#include "utils/CharsetConverter.h"
#include "GUIInfoManager.h"
#include "Key.h"

Expand Down
1 change: 0 additions & 1 deletion xbmc/guilib/TextureManager.cpp
Expand Up @@ -23,7 +23,6 @@
#include "AnimatedGif.h"
#include "GraphicContext.h"
#include "threads/SingleLock.h"
#include "utils/CharsetConverter.h"
#include "utils/log.h"
#include "utils/URIUtils.h"
#include "addons/Skin.h"
Expand Down
1 change: 0 additions & 1 deletion xbmc/interfaces/json-rpc/InputOperations.cpp
Expand Up @@ -28,7 +28,6 @@
#include "input/XBMC_keyboard.h"
#include "input/XBMC_vkeys.h"
#include "threads/SingleLock.h"
#include "utils/CharsetConverter.h"

using namespace JSONRPC;

Expand Down
1 change: 0 additions & 1 deletion xbmc/music/infoscanner/MusicInfoScraper.cpp
Expand Up @@ -19,7 +19,6 @@
*/

#include "MusicInfoScraper.h"
#include "utils/CharsetConverter.h"
#include "utils/log.h"
#include "filesystem/CurlFile.h"

Expand Down
1 change: 0 additions & 1 deletion xbmc/network/websocket/WebSocketV13.cpp
Expand Up @@ -24,7 +24,6 @@
#include "WebSocketV13.h"
#include "WebSocket.h"
#include "utils/Base64.h"
#include "utils/CharsetConverter.h"
#include "utils/HttpParser.h"
#include "utils/HttpResponse.h"
#include "utils/log.h"
Expand Down
1 change: 0 additions & 1 deletion xbmc/network/websocket/WebSocketV8.cpp
Expand Up @@ -25,7 +25,6 @@
#include "WebSocketV8.h"
#include "WebSocket.h"
#include "utils/Base64.h"
#include "utils/CharsetConverter.h"
#include "utils/EndianSwap.h"
#include "utils/HttpParser.h"
#include "utils/HttpResponse.h"
Expand Down
1 change: 1 addition & 0 deletions xbmc/settings/GUISettings.cpp
Expand Up @@ -31,6 +31,7 @@
#include "Application.h"
#include "AdvancedSettings.h"
#include "guilib/LocalizeStrings.h"
#include "utils/CharsetConverter.h"
#include "utils/StringUtils.h"
#include "utils/SystemInfo.h"
#include "utils/log.h"
Expand Down
1 change: 1 addition & 0 deletions xbmc/settings/Settings.cpp
Expand Up @@ -27,6 +27,7 @@
#include "URL.h"
#include "guilib/GUIFontManager.h"
#include "input/ButtonTranslator.h"
#include "utils/CharsetConverter.h"
#include "utils/XMLUtils.h"
#include "PasswordManager.h"
#include "utils/RegExp.h"
Expand Down
1 change: 1 addition & 0 deletions xbmc/settings/windows/GUIWindowSettingsCategory.cpp
Expand Up @@ -95,6 +95,7 @@
#endif
#include "guilib/LocalizeStrings.h"
#include "LangInfo.h"
#include "utils/CharsetConverter.h"
#include "utils/StringUtils.h"
#include "utils/URIUtils.h"
#include "utils/SystemInfo.h"
Expand Down
1 change: 0 additions & 1 deletion xbmc/utils/HTMLUtil.cpp
Expand Up @@ -18,7 +18,6 @@
*
*/

#include "CharsetConverter.h"
#include "HTMLUtil.h"

using namespace std;
Expand Down
1 change: 1 addition & 0 deletions xbmc/utils/Weather.cpp
Expand Up @@ -42,6 +42,7 @@
#include "log.h"
#include "addons/AddonManager.h"
#include "interfaces/python/XBPython.h"
#include "CharsetConverter.h"

using namespace std;
using namespace ADDON;
Expand Down
1 change: 0 additions & 1 deletion xbmc/video/VideoInfoTag.cpp
Expand Up @@ -26,7 +26,6 @@
#include "utils/log.h"
#include "utils/StringUtils.h"
#include "utils/Variant.h"
#include "utils/CharsetConverter.h"
#include "TextureCache.h"
#include "filesystem/File.h"

Expand Down
1 change: 1 addition & 0 deletions xbmc/win32/WIN32Util.cpp
Expand Up @@ -35,6 +35,7 @@
#include "storage/MediaManager.h"
#include "windowing/WindowingFactory.h"
#include "guilib/LocalizeStrings.h"
#include "utils/CharsetConverter.h"
#include "utils/log.h"
#include "utils/StringUtils.h"
#include "DllPaths_win32.h"
Expand Down

0 comments on commit fe8fe93

Please sign in to comment.