2011-10-14 06:55  rjongbloed

	* [r26606] version.h:
	  Update version number for beta v2.10.4

2011-10-31 02:02  rjongbloed

	* [r26615] ptlib_2008.sln, revision.h.in,
	  src/ptlib/msos/Console_2005.vcproj,
	  src/ptlib/msos/Console_2008.vcproj,
	  src/ptlib/msos/Console_2010.vcxproj, svn_getrev.exe,
	  tools/svn_getrev/svn_getrev.cpp,
	  tools/svn_getrev/svn_getrev_2008.vcproj:
	  First go at fixing SVN revision number extraction when using
	  version 1.7 of SVN. Internal files changes so our previous cheat
	  no longer works. Unfortunately, current solution requires
	  TortoiseSVN to be installed to work. Note, this is for
	  Windows/DevStudio only.

2011-10-31 08:07  rjongbloed

	* [r26618] src/ptlib/msos/Console_2005.vcproj,
	  src/ptlib/msos/Console_2008.vcproj,
	  src/ptlib/msos/Console_2010.vcxproj:
	  Fixed correct dependency for SVN 1.7

2011-11-01 01:21  rjongbloed

	* [r26624] src/ptlib/msos/Console_2005.vcproj,
	  src/ptlib/msos/Console_2008.vcproj,
	  src/ptlib/msos/Console_2010.vcxproj:
	  Yet another tweak for SVN 1.7

2011-11-01 05:53  rjongbloed

	* [r26627] include/ptlib/pluginmgr.h, src/ptlib/common/osutils.cxx,
	  src/ptlib/common/pluginmgr.cxx:
	  Hack to fix for latest GLIBC static object initialisation
	  problem. It appears that when libpt.so does a dlopen() of a
	  library that uses libpt.so, say v4l2_pwplugin.so for example,
	  then all of the static object constructors are run AGAIN.
	  
	  This may or may not be a problem depending on the static, for us,
	  it is only a problem if a singleton has been instantiated before
	  the dlopen(). If not all is well, a NULL poointer is set back to
	  NULL. It is has then confusion reigns and crashes can ensue.
	  
	  Not having any idea how to prevent this behaviour short of
	  completely rewriting the audo/video device plugin system
	  (tempting, but no time ...) this is a complete hack so that the
	  plugins are loaded as early as possible to be (so far) before any
	  singletons are instantiated.
	  
	  This has the potential of going wrong in the future but, as I
	  said, no idea how to fix it outside of glibc itself!

2011-11-02 04:19  rjongbloed

	* [r26631] src/Makefile:
	  Fixed SVN revision when no SVN available.

2011-11-03 06:23  rjongbloed

	* [r26635] src/ptclib/psockbun.cxx:
	  Temporarily ignore IPv6 interfaces in UDP socket bundling, will
	  be fully supported in Eridani (> v2.11)

2011-11-03 23:57  rjongbloed

	* [r26636] include/ptlib/pluginmgr.h,
	  src/ptlib/common/pluginmgr.cxx:
	  Changed mechanism for adding directories to PPluginManager.
	  Required due to previous change to make PPluginManager always
	  first PProcessStartupFactory executed, which in turn was required
	  by glibc bug in constructing static objects.

2011-11-06 06:54  rjongbloed

	* [r26641] ., include/ptclib/url.h, src/ptclib/url.cxx,
	  src/ptlib/common/contain.cxx:
	  Added correct parsing of quoted URI parameters,
	  sip:here@there;first="this=that";second=other.
	  
	  Fixed translating string to "C" literal, did not escape a \.

2011-11-07 01:51  rjongbloed

	* [r26644] src/ptclib/url.cxx:
	  Fixed backport compatibility

2011-11-14 01:57  rjongbloed

	* [r26648] src/ptlib/common/contain.cxx:
	  Fixed reading a PString from a line via TCP. The peek() can give
	  phantom EOF's if the line is segmented by TCP into multiple IP
	  packets preventing the whole line from being read.

2011-11-17 05:26  rjongbloed

	* [r26664] include/ptclib/vxml.h, src/ptclib/vxml.cxx:
	  Fixed VXML scripts being interrupted and new ones started.

2011-11-17 06:35  rjongbloed

	* [r26665] include/ptclib/vxml.h, src/ptclib/vxml.cxx:
	  Fixed yet another race condition with VXML scripts being
	  interrupted and new ones started.

2011-11-21 05:26  rjongbloed

	* [r26672] src/ptclib/ptts.cxx:
	  Added ability to set the "voice" with SAPI text to speech, thanks
	  Marco Rullo of Imagicle

2011-11-21 08:34  rjongbloed

	* [r26674] src/ptclib/vxml.cxx:
	  Fixed yet another race condition with VXML scripts being
	  interrupted and new ones started.

2011-11-24 02:22  rjongbloed

	* [r26686] include/ptlib/vconvert.h, src/ptclib/pvfiledev.cxx,
	  src/ptclib/pvidfile.cxx, src/ptlib/common/vconvert.cxx:
	  Added a lot of extra logging to track down video errors.

2011-11-25 22:39  rjongbloed

	* [r26697] src/ptlib/msos/win32.cxx:
	  Fixed incorrect test in PThread::SetAutoDelete() preventing it
	  from ever setting it, found by J.C Mercier

2011-11-30 03:13  rjongbloed

	* [r26706] src/ptlib/msos/sound_directsound.cxx:
	  Fixed opening direct sound device if has service name prefix on
	  device name.

2011-11-30 03:43  rjongbloed

	* [r26708] include/ptlib/msos/ptlib/sound_directsound.h,
	  src/ptlib/msos/sound_directsound.cxx:
	  Fixed race condition when stopping direct audio while
	  reading/writing in another thread.

2011-11-30 05:56  rjongbloed

	* [r26711] src/ptlib/unix/channel.cxx:
	  Increased log level for write blocking.

2011-12-06 02:45  rjongbloed

	* [r26748] src/Makefile:
	  Fixed typo in SVN revision number extraction.

2011-12-07 00:52  rjongbloed

	* [r26758] include/ptlib/msos/ptlib/contain.h,
	  include/ptlib/msos/ptlib/pprocess.h,
	  include/ptlib/msos/ptlib/svcproc.h, include/ptlib/pprocess.h:
	  Fixed bug ID: 3448074 "Bug in PCREATE_PROCESS macro", found by
	  Valeriy V. Argunov
	  
	  Related to function signature for WinMain which is platform
	  dependent (WinCE/Win32) but not Unicode dependant.

2011-12-07 01:16  rjongbloed

	* [r26764] src/ptlib/msos/vidinput_app.cxx:
	  Applied patch ID: 3434959 "PVideoInputDevice_Application
	  incorrectly handle color depth", thanks Anonymous

2011-12-07 01:19  rjongbloed

	* [r26766] src/ptlib/common/jidctflt.cxx,
	  src/ptlib/common/tinyjpeg.cxx:
	  Applied patch ID: 3437210 "Solaris build is broken due to missing
	  stdint.h", thanks ojab

2011-12-07 06:34  rjongbloed

	* [r26771] include/ptclib/psnmp.h, include/ptlib/object.h,
	  src/ptclib/snmpserv.cxx, src/ptlib/common/object.cxx:
	  Fixed ID: 3437294 "Explicitly cast the pointer in memcpyto
	  silence clan warning", found by ojab.
	  
	  Note, fix is more complicated than it seems as the "obj"
	  parameter should really be checked for being a compatible derived
	  class before trying to do the memcmp. The dynamic_cast does this
	  with a static function, but the new code cannot be used with
	  classes that are multiply inherited with PObject as command
	  ancestor. This is generally a "bad idea" so that code was changed
	  too.

2011-12-07 06:43  rjongbloed

	* [r26773] include/ptclib/psnmp.h, src/ptclib/snmpserv.cxx:
	  Back ported trunks version of SNMP server that removes multiple
	  inheritance.

2011-12-07 22:09  rjongbloed

	* [r26774] ., plugins/sound_pulse/sound_pulse.cxx,
	  plugins/sound_pulse/sound_pulse.h:
	  Merged revision(s) 26757 from ptlib/trunk:
	  Applied path ID: 3431256 "Asynchronous pluse plugin", thanks
	  Anonymous.

2011-12-08 23:41  rjongbloed

	* [r26785] include/ptlib/object.h:
	  Fixed compilation on some random version of GNU

2011-12-17 07:23  rjongbloed

	* [r26804] include/ptlib/msos/ptlib.ignore,
	  include/ptlib/msos/ptlib/sound_directsound.h,
	  include/ptlib/sound.h, src/ptclib/pwavfile.cxx,
	  src/ptlib/common/sound.cxx, src/ptlib/msos/sound_directsound.cxx:
	  Applied patches ID:
	  3440153 "Recording Volume Control for DirectSound"
	  3460384 "DirectSound Revision"
	  3460393 "WaveFile Read EOF"
	  thank you very much Ted Szoczei

2011-12-22 01:10  rjongbloed

	* [r26827] src/ptlib/msos/sound_directsound.cxx:
	  Quick and dirty fix for race condition in closing direct sound
	  channel, needs closer examination.

2012-01-08 07:01  rjongbloed

	* [r26837] include/ptclib/mime.h, include/ptlib/msos/ptlib.ignore,
	  include/ptlib/pstring.h, src/ptclib/inetprot.cxx:
	  Added ctors for the various string dictionary types
	  (PStringOptions and PMIMEInfo) so can be interchangeably
	  assigned.
	  
	  Also added ability to get standard format MIME info as a string
	  in to/out of dictionary. Short cut for having to create
	  PStringStream, ReadFrom() etc.

2012-01-08 09:33  rjongbloed

	* [r26847] include/ptclib/url.h, include/ptlib/pstring.h:
	  Make sure PStringOption makes instance unique (breaks reference)
	  when it is changed. Then make URL's use that. Prevents some very
	  strange behaviour.

2012-01-15 12:29  rjongbloed

	* [r26861] include/ptlib/msos/ptlib/ipsock.h,
	  src/ptlib/msos/win32.cxx:
	  Fixed WinSock error to "C" errno value conversion with later MSVC
	  compilers.

2012-01-17 15:04  ededu

	* [r26863] include/ptlib/msos/ptlib/ipsock.h,
	  src/ptlib/msos/win32.cxx:
	  Fix compile error with mingw32

2012-01-20 04:19  rjongbloed

	* [r26872] src/ptlib/msos/win32.cxx:
	  Applied patch ID: 3476444 "Fix for bug #3476428", thanks Valeriy
	  V. Argunov

2012-01-21 04:14  rjongbloed

	* [r26876] include/ptlib/msos/ptlib_2010.dtf,
	  include/ptlib/msos/ptlibn_2010.dtf,
	  src/ptlib/msos/PTLib_2010.vcxproj,
	  src/ptlib/msos/PTLib_2010.vcxproj.filters:
	  Fixed error in Windows DLL creation for release versions.

2012-01-25 20:57  rjongbloed

	* [r26888] include/ptlib/msos/ptlib/sound_directsound.h,
	  src/ptlib/msos/sound_directsound.cxx:
	  Applied patch ID: 3478022 "DirectSound Hardening", thanks
	  ted szoczei
	  
	  Device enumeration uses char versions rather than _T
	  Remove primaryPlaybackBuffer, not necessary
	  Rename SOUNDEVENT_CLOSE to SOUNDEVENT_ABORT
	  Default buffers to 1 second
	  Extract OpenPlayback, OpenCapture & OpenMixer from Open
	  Remove buffer closing from Abort
	  Extract ClosePlayback,CloseCapture & CloseMixer from Close
	  Extract SetWaveFormat function from SetFormat
	  Add OpenxBuffer calls to SetFormat (to avoid closing)
	  Extract SetBufferSections from SetBuffers
	  Add OpenxBuffer calls to SetBuffers (to avoid closing)
	  Rename InitPlaybackBuffer to OpenPlaybackBuffer
	  Revise WaitForPlayBufferFree to SetErrorValues and Stop on Abort
	  Revise Write to check for closure first and to use
	  WaitForPlayBufferFree's return Error
	  Add Starting Trace
	  Revise PlayFile to use new SetFormat and SetBuffers
	  Rename InitCaptureBuffer to OpenCaptureBuffer
	  Remove InitCaptureBuffer from StartRecording
	  Rename CheckRecordBuffer to CheckCaptureBuffer
	  Add SetErrorValues to CheckCaptureBuffer
	  Add SetErrorValues to WaitForRecordBufferFull
	  Revise Read to check for closure first and to use
	  WaitForRecordBufferFull's return Error
	  Remove StartRecording because WaitForRecordBufferFull does that
	  Revise Volume to use wave for Playback and Record
	  Local variable naming revisions for conformance

2012-01-25 21:16  rjongbloed

	* [r26890] src/ptlib/common/osutils.cxx:
	  Applied patch ID: 3477660 "Incorrect timers stopping (race
	  condition on destruction)", thanks Valeriy V. Argunov

2012-02-02 00:48  rjongbloed

	* [r26929] include/ptclib/vxml.h, src/ptclib/vxml.cxx:
	  Simplified mutexes in VXML engine to avoid a deadlock when have a
	  paused OPAL media stream.

2012-02-03 03:17  rjongbloed

	* [r26933] include/ptclib/vxml.h, include/ptlib/indchan.h,
	  src/ptclib/delaychan.cxx, src/ptclib/memfile.cxx,
	  src/ptclib/vxml.cxx, src/ptlib/common/pchannel.cxx:
	  Fixed further deadlock issues with VXML engine, needing a bit a
	  rewrite of how the channels and indirect channels are handled. It
	  then included:
	  Allowing PIndirectChannel::SetReadChannel() to be able to
	  overwrite existing read channel.
	  Make sure PDelayChannel delays for a time based on the actual
	  data read and not what it requested.
	  Make sure PMemoryFile channel is "always open" instead of always
	  closed.

2012-02-08 02:27  rjongbloed

	* [r26949] include/ptclib/memfile.h, src/ptclib/memfile.cxx:
	  Fixed PMemoryFile overrides of PFile functionality accidentally
	  activated by fixing it's always being closed issue.

2012-02-08 21:46  rjongbloed

	* [r26958] ., src/ptlib/common/osutils.cxx:
	  Merged revision(s) 26815 from ptlib/trunk:
	  Added hex version of thread id to deadlock trace log to help when
	  matching othre thread id output in trace file.

2012-02-08 23:56  rjongbloed

	* [r26959] src/ptclib/inetprot.cxx, src/ptlib/common/contain.cxx:
	  Fixed PString::ReadFrom() so do not get bogus failbit set in
	  istream.

2012-02-11 00:35  rjongbloed

	* [r26965] src/ptclib/vxml.cxx:
	  Applied patch ID: 3486136 "PVXMLPlayableStop issue", thanks
	  Valeriy V. Argunov

2012-02-11 00:38  rjongbloed

	* [r26967] configure.ac:
	  Applied patch ID: 3486097 "Using expat in Windows / VC++", thanks
	  Valeriy V. Argunov

2012-02-13 23:44  rjongbloed

	* [r26978] src/ptlib/common/contain.cxx:
	  Fixed semantic difference between MSVCRT and libstdc++

2012-02-14 00:28  rjongbloed

	* [r26981] src/ptlib/common/contain.cxx:
	  Fixed MSVC warning.

2012-02-14 00:47  rjongbloed

	* [r26982] src/ptlib/msos/sound_directsound.cxx:
	  Fixed warnings when compiled with no tracing.

2012-02-14 02:41  rjongbloed

	* [r26984] include/ptlib/msos/ptlib_2005.dtf,
	  include/ptlib/msos/ptlib_2005_wm.dtf,
	  include/ptlib/msos/ptlib_2005_wm6.dtf,
	  include/ptlib/msos/ptlib_2008.dtf,
	  include/ptlib/msos/ptlib_2010.dtf,
	  include/ptlib/msos/ptlibd_2005.dtf,
	  include/ptlib/msos/ptlibd_2005_wm.dtf,
	  include/ptlib/msos/ptlibd_2005_wm6.dtf,
	  include/ptlib/msos/ptlibd_2008.dtf,
	  include/ptlib/msos/ptlibd_2010.dtf,
	  include/ptlib/msos/ptlibn_2005.dtf,
	  include/ptlib/msos/ptlibn_2005_wm.dtf,
	  include/ptlib/msos/ptlibn_2005_wm6.dtf,
	  include/ptlib/msos/ptlibn_2008.dtf,
	  include/ptlib/msos/ptlibn_2010.dtf:
	  Update symbols

2012-02-18 02:25  rjongbloed

	* [r26999] src/ptclib/vxml.cxx:
	  Applied variant of patch ID: 3488161 "Memory leaks in
	  PVXMLSession / PVXMLChannel", thanks Valeriy V. Argunov

2012-02-19 23:41  rjongbloed

	* [r27005] src/ptclib/vxml.cxx:
	  Fix VXML issue with <error> tag in <transfer> when fails.

2012-02-21 02:44  rjongbloed

	* [r27019] src/ptclib/vxml.cxx:
	  Applied patch ID: 3489562 "Double delete in
	  PVXMLChannel::QueueData", thanks Valeriy V. Argunov

