[loadfile] free over-allocated memory from growing buffer
[loadfile] improve log message
[loadfile] Replace moved code in Texture.cpp with function call
CXBMCTinyXML: use direct file reading instead of streaming.
That way we could avoid double parsing of file.
XBMCTinyXML: remove old workaround
use correct setting description for weather settings
quell compiler warning if compiling without libva, vdpau or darwin
Merge pull request #2829 from alcoheca/shoddy_parenting

Shoddy parenting
Startup log: Resort XBMC info
Update AMLPlayer.cpp

Proper fixed as suggested by davilla and  Arne
Merge pull request #2997 from mvdroest/patch-2

Update AMLPlayer.cpp
Startup log: Add GCC version information
Startup log: Added debug/release build information
Startup log: fixes potential problems
Startup log: refactoring
fixed: Crash in Pictures caused by PR2890 (fixes #14500)
Fix unconditional 'true' return from StartUPnP() if HAS_UPNP is true.
Fix possible memory leak in Settings.cpp
Always close test socket in CWebServer::Start()
Convert #defines to real integral constants in SmartPlaylist.cpp

The name "group" used in these macros gets confused with the name
of the parameter "group" in various functions in this file when the
macro is expanded (See translateGroup(), etc).

This causes the sizeof() calculation to use the size of a pointer,
rather than the intended size.