Removed trailing line feeds on Windows COM error trace log.
Fixed memory leak in STUN determination.
Put the thread ID into the default thread name for the main process thread. Handy for tracking down deadlocks.
Tiny optimisation of the PSafePtrCast function.
Tiny optimisation of the PSafePtrCast function.
Fixed perfectly correct code because GNu wouldn't compile it.
Update symbols.
Update release version number to 2.12.5
Update version number for beta v2.12.6
Fixed strange bug when printing PBYTEArray. If the stream happened to be left aligned, and we are outputting the usual 2 digit hex values for bytes, something like 02 became 20, which is monumentally confusing!
Restore old functionality where starting a PTRACE always has the stream output right aligned by default.

Also fixed the previous fix on PBYTEArray, make sure that if we set left alignment the old format flags is restored.
Applied patch #248 "Fix build PTLib with XML support.", thanks  Sysolyatin Pavel
Fixed use of Tortoise SVN SubWCRev.exe program when there are Windows soft links involved. Sopped working on a recent Tortoise upgrade. Also simplified things by SubWCRev being called from within svn_getrev.exe.
Removed some benign trace logs in Windows COM handling.
Fixed race condition in DirectShow camera where got at least one frame at old resolution when switching. Causes problems when switching up as bytes are insufficient to be converted and encoder shuts down.