head	1.2;
access;
symbols
	pkgsrc-2013Q2:1.2.0.10
	pkgsrc-2013Q2-base:1.2
	pkgsrc-2012Q4:1.2.0.8
	pkgsrc-2012Q4-base:1.2
	pkgsrc-2011Q4:1.2.0.6
	pkgsrc-2011Q4-base:1.2
	pkgsrc-2011Q2:1.2.0.4
	pkgsrc-2011Q2-base:1.2
	pkgsrc-2009Q4:1.2.0.2
	pkgsrc-2009Q4-base:1.2
	pkgsrc-2009Q2:1.1.0.4
	pkgsrc-2009Q2-base:1.1
	pkgsrc-2009Q1:1.1.0.2
	pkgsrc-2009Q1-base:1.1;
locks; strict;
comment	@# @;


1.2
date	2009.07.23.22.11.48;	author wiz;	state dead;
branches;
next	1.1;

1.1
date	2009.01.13.02.19.10;	author jmcneill;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Update to 2.6.4. Fix build with latest openssl.

2009-06-05 04:14  rjongbloed

	* [r22828] version.h:
	  Update version number for beta v2.6.4

2009-06-12 06:26  rjongbloed

	* [r22848] include/ptclib/vxml.h, src/ptclib/vxml.cxx:
	  Fixed deadlock when shutting down VXML. Also "normalised" member
	  for vxml channel pointer so cannot get out of sync with
	  underlying channel pointer.

2009-06-22 01:46  rjongbloed

	* [r22944] ., src/ptclib/url.cxx:
	  Reviewed and fixed the "safe" characters for URI translation as
	  per RFC2396

2009-06-24 01:57  rjongbloed

	* [r22960] ., configure, configure.ac, src/ptlib/unix/osutil.cxx:
	  Changed PTimer::Tick() from using gettimeofday (if possible) as
	  if an
	  RTP time sync daemon is used then the return value of
	  PTimer::Tick() can
	  leap forward or backward causing problems. It should always be
	  simple
	  monotonic increasing milliseconds from some arbitrary point,
	  exactly as
	  provided by clock_gettime() using CLOCK_MONOTONIC. So we use that
	  if it
	  is available.

2009-06-24 02:20  rjongbloed

	* [r22963] src/ptlib/unix/osutil.cxx:
	  Fixed incorrect divisor for new clock_gettime version of
	  PTimer::Tick()

2009-06-25 13:07  rjongbloed

	* [r22984] ., include/ptclib/threadpool.h,
	  src/ptclib/threadpool.cxx:
	  Change behaviour of thread pooling if a group ID is specified.
	  If a group ID is specified, work is always added to a worker
	  thread
	  of the same group ID, or a new worker thread is created

2009-06-26 05:56  rjongbloed

	* [r22992] include/ptclib/threadpool.h:
	  Reversed out previous change as it fails to be subject to thread
	  count limit, cannot just allocate new thread if have new group
	  ID.

2009-07-01 00:13  rjongbloed

	* [r23018] plugins/vidinput_v4l2/vidinput_v4l2.cxx,
	  src/ptlib/common/sockets.cxx:
	  Fixed name conflict.

2009-03-18 03:44  rjongbloed

	* [r22210] version.h:
	  Update version number for beta v2.6.2

2009-03-23 00:54  rjongbloed

	* [r22240] ., src/ptlib/msos/ethsock.cxx:
	  Patch for compiling without IPv6, thanks Michael Cronenworth

2009-03-23 03:00  rjongbloed

	* [r22242] ., configure.ac:
	  Applied patch:
	  [ 2685609 ] ptlib: --[enable|disable]-ansi-bool goes to the same
	  thanks Mounir Lamouri

2009-03-23 03:09  rjongbloed

	* [r22243] src/ptlib/common/jidctflt.cxx:
	  Applied patch ID: 2657924
	  ptlib: assembler code fails (jidctflt.cxx) with -O0
	  thanks Mounir Lamouri

2009-03-23 04:04  rjongbloed

	* [r22250] ., include/ptclib/podbc.h, src/ptclib/podbc.cxx:
	  Applied patch ID: 2656778
	  cannot build ptlib 2.6.0
	  thanks Götz Waschk

2009-03-25 09:44  rjongbloed

	* [r22284] ., src/ptlib/common/sockets.cxx:
	  Applied patch to fix NULL pointer usage under some error
	  conditions, thanks elaine.

2009-03-26 00:31  rjongbloed

	* [r22295] make/unix.mak, src/ptclib/pdns.cxx,
	  src/ptlib/common/osutils.cxx, src/ptlib/unix/config.cxx,
	  src/ptlib/unix/socket.cxx, src/ptlib/unix/svcproc.cxx,
	  src/ptlib/unix/tlib.cxx, src/ptlib/unix/tlibthrd.cxx:
	  Applied patch ID: 2712498 "NetBSD port", supplied by Jared D.
	  McNeill

2009-03-27 03:55  rjongbloed

	* [r22304] src/ptlib/unix/channel.cxx:
	  Added extra information to assert on multiple read in different
	  threads.

2009-03-27 23:18  rjongbloed

	* [r22311] make/common.mak, make/plugins.mak, src/Makefile,
	  src/ptlib/Nucleus++/Makefile:
	  Fixed bug ID: 2027650 "$(CFLAGS) include path overrides package
	  include
	  path", reported by Stefano Sabatini

2009-03-29 23:48  rjongbloed

	* [r22317] src/ptlib/unix/channel.cxx:
	  Fixed crash (NULL ptr access) as the "message" part of PAssert is
	  not
	  protected by the assert condition, so need to put the condition
	  outside
	  the PAssert macro.

2009-03-30 00:05  rjongbloed

	* [r22320] make/plugins.mak:
	  Make sure LDFLAGS are last in linker command line.

2009-03-30 01:31  rjongbloed

	* [r22324] ., src/ptlib/msos/sound_win32.cxx:
	  Fixed issue with empty strings for Windows sound devices being
	  returned when being used over a Remote Desktop connection.

2009-03-30 23:13  rjongbloed

	* [r22332] ., src/ptclib/pffvdev.cxx:
	  Fixed typo in pragma implementation

2009-03-31 00:32  rjongbloed

	* [r22335] ., make/common.mak:
	  Fixed bug ID: 2721897 "Still problems with the STDCCFLAGS
	  includes", patch supplied by Stefano Sabatini

2009-03-31 06:42  csoutheren

	* [r22345] src/ptlib/common/osutils.cxx,
	  src/ptlib/unix/tlibthrd.cxx:
	  Backport thread leak fixes and PTRACE changes from trunk

2009-03-31 06:43  csoutheren

	* [r22346] src/ptlib/common/osutils.cxx:
	  Remove vestigal code

2009-03-31 23:57  rjongbloed

	* [r22356] include/ptlib/pprocess.h, src/ptlib/common/osutils.cxx,
	  src/ptlib/unix/tlib.cxx:
	  Do not set Unix signal handlers if PProcess is being loaded as a
	  library, leave that up to the enclosing application.

2009-04-07 02:47  rjongbloed

	* [r22375] ., include/ptclib/delaychan.h, include/ptlib/contain.h,
	  include/ptlib/indchan.h, include/ptlib/psync.h,
	  include/ptlib/videoio.h, src/ptclib/httpsvc.cxx,
	  src/ptlib/msos/svcproc.cxx:
	  Applied patch ID: 2725084, thanks Giorgio Alfarano

2009-04-07 03:20  rjongbloed

	* [r22378] ., include/ptlib/svcproc.h, src/ptlib/msos/svcproc.cxx:
	  Fixed applied patch from patch manager, broke Unix build.

2009-04-07 03:29  rjongbloed

	* [r22380] ., src/ptlib/msos/vidinput_directx.cxx:
	  Applied patch ID: 2728435 "directx & YUY2", thanks Giorgio
	  Alfarano

2009-04-07 04:16  rjongbloed

	* [r22383] ., include/ptlib/unix/ptlib/pprocess.h,
	  src/ptlib/unix/tlibthrd.cxx:
	  Possible fix for ID: 2725546 "Crash in PInterfaceMonitor::Stop"

2009-04-07 04:43  rjongbloed

	* [r22392] ., src/ptlib/common/ptime.cxx:
	  Applied fix for ID: 2728037 "Win32 linker cannot resolve
	  _PTimeParse", thanks Michael Rickmann

2009-04-07 04:53  rjongbloed

	* [r22394] ., configure.ac, include/ptbuildopts.h.in:
	  Applied fix for ID: 2735402 "Must check for ATL in configure when
	  checking for SAPI", thanks Jan Willamowius

2009-04-07 05:05  rjongbloed

	* [r22396] ., configure.ac:
	  Applied fix for ID: 2726070 "ffvdev option needs pipechan
	  option", thanks Mounir Lamouri

2009-04-23 23:57  rjongbloed

	* [r22458] src/ptlib/common/vconvert.cxx:
	  Applied patch ID: 2778636 "YUY2toYUV420PWithResize fix", thanks
	  Giorgio Alfarano

2009-04-24 18:23  csoutheren

	* [r22464] src/ptlib/unix/tlibthrd.cxx:
	  Remove potential loophole to delete wrong thread

2009-05-05 01:55  rjongbloed

	* [r22509] include/ptlib/pipechan.h, src/ptlib/msos/pipe.cxx:
	  Fixed issues with PPipeChannel reading stdout/stderr from a child
	  process on Windows:
	  data being buffered before sending in subprocess
	  read of stdout with timeout (SetReadTimeout() now works)
	  read partial amounts from stdout (ask for 1000 bytes, get the 23
	  available)

2009-05-07 08:53  csoutheren

	* [r22552] ., include/ptclib/sockagg.h,
	  include/ptclib/threadpool.h, include/ptlib/msos/AUTOEXP.DAT,
	  include/ptlib/pfactory.h, include/ptlib/safecoll.h,
	  plugins/vidinput_v4l2/Makefile.in, src/Makefile,
	  src/ptclib/sockagg.cxx, src/ptclib/threadpool.cxx,
	  src/ptlib/common/safecoll.cxx:
	  Bulk backport of patches from trunk including RTP SafePtr and
	  thread pooling

2009-05-08 04:21  rjongbloed

	* [r22565] src/ptlib/unix/channel.cxx:
	  Changed assert for multiple reads on channel to use same hex
	  format for thread ID as is used elsewhere in the logging.

2009-05-11 08:31  rjongbloed

	* [r22578] ., src/ptlib/msos/Console.vcproj,
	  src/ptlib/msos/Console_2005.vcproj,
	  src/ptlib/msos/Console_2008.vcproj:
	  Removed sockagg.*

2009-05-11 08:55  rjongbloed

	* [r22579] src/ptlib/msos/Console.vcproj,
	  src/ptlib/msos/Console_2005.vcproj,
	  src/ptlib/msos/Console_2008.vcproj:
	  Added threadpool.*

2009-05-12 06:14  rjongbloed

	* [r22583] configure, configure.ac:
	  Make sure P_64BIT is included in pkg-config options so downstream
	  compiles get it.

2009-05-12 08:51  rjongbloed

	* [r22587] src/ptlib/msos/pipe.cxx:
	  Fixed WinCE compile.

2009-05-12 12:20  rjongbloed

	* [r22591] 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/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/ptlibn_2005.dtf,
	  include/ptlib/msos/ptlibn_2005_wm.dtf,
	  include/ptlib/msos/ptlibn_2005_wm6.dtf,
	  include/ptlib/msos/ptlibn_2008.dtf:
	  Update symbols

2009-05-12 13:42  rjongbloed

	* [r22592] include/ptlib/msos/ptlib_2008.dtf,
	  include/ptlib/msos/ptlibd_2008.dtf,
	  include/ptlib/msos/ptlibn_2008.dtf:
	  Update symbols

2009-05-13 04:17  rjongbloed

	* [r22598] include/ptlib/safecoll.h:
	  Back ported test for multiple instances of an object in a safe
	  collection. This is bad, must be prevented.

2009-05-13 14:06  csoutheren

	* [r22601] src/ptlib/common/contain.cxx:
	  Use a custom allocator memory pool for PContainerReference
	  and PAbstractArray on Linux
	  This reduces memory fragmentation and allocation overhead

2009-05-13 14:07  csoutheren

	* [r22602] src/ptlib/common/osutils.cxx:
	  Add log message every time timer thread fires

2009-05-14 00:16  rjongbloed

	* [r22611] src/ptlib/common/osutils.cxx:
	  Reduced level of new trace log in timers

2009-05-14 01:58  rjongbloed

	* [r22614] ., src/ptlib/common/osutils.cxx:
	  Reduced level of new trace log in timers, again. Too noisy!

2009-05-18 06:09  rjongbloed

	* [r22629] src/ptclib/url.cxx:
	  Fixed "file:" URL handling. While it is never explicitly stated
	  anywhere in RFC1798, there is an implication in RFC 1808 that the
	  path is absolute unless the relative path rules of that RFC
	  apply. We follow that logic.

	  Also now follow the convention for Windows drive letters,
	  "C|/blah" for "C:\blah".

2009-05-18 06:19  rjongbloed

	* [r22633] src/ptclib/vxml.cxx:
	  Fixed loading of VXML file directly (when not via URL)

	  Fixed correct playing of silence delay after playing a playable
	  object.

	  Added and normalised logging.

2009-05-19 05:17  rjongbloed

	* [r22648] include/ptlib/msos/ptlib_2003.dtf,
	  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/ptlibd_2003.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/ptlibn_2003.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:
	  Update DLL symbols
@
text
@$NetBSD: patch-aj,v 1.1 2009/01/13 02:19:10 jmcneill Exp $

--- src/ptlib/unix/svcproc.cxx.orig	2009-01-12 21:12:44.000000000 -0500
+++ src/ptlib/unix/svcproc.cxx	2009-01-12 21:13:12.000000000 -0500
@@@@ -165,7 +165,7 @@@@ void PSystemLog::Output(Level level, con
 #elif defined(BE_THREADS)
       thread_id tid = ::find_thread(NULL);
 #else
-      unsigned tid = (unsigned) pthread_self();
+      unsigned tid = (uintptr_t) pthread_self();
 #endif
       *out << "ThreadID=0x"
            << setfill('0') << ::hex
@@@@ -719,7 +719,7 @@@@ void PServiceProcess::PXOnAsyncSignal(in
 #elif defined(BE_THREADS)
   thread_id tid = ::find_thread(NULL);
 #else
-  unsigned tid = (unsigned) pthread_self();
+  unsigned tid = (uintptr_t) pthread_self();
 #endif
   PThread * thread_ptr = activeThreads.GetAt(tid);
 
@


1.1
log
@Update ptlib to 2.4.4.

2008-11-27 07:47  rjongbloed

	* [r21638] version.h:
	  Update version number for beta v2.4.4

2008-12-01 22:59  rjongbloed

	* [r21668] ., configure.ac, include/ptbuildopts.h.in:
	  Fix for Microsoft SAPI moving libraries.

2008-12-04 02:01  rjongbloed

	* [r21695] ., include/ptclib/psockbun.h, src/ptclib/psockbun.cxx:
	  Split socket bundling mutexes so can access interface list while
	  the client list is locked. Preventing deadlock.

	  Fixed handling of "interface only" form of binding, i.e. one that
	  is "%interfaces" and has no address. Now correctly starts up if
	  the interface happens to be down at initialisation time.

2008-12-04 04:09  rjongbloed

	* [r21699] ., include/ptlib/msos/ptlib/vidinput_directx.h,
	  samples/vidtest/main.cxx, samples/vidtest/vidtest_2005.vcproj,
	  src/ptlib/msos/vidinput_directx.cxx:
	  Added support for camera grabbing on Windows Mobile using
	  DirectShow.

	  Enhanced video test application so can work with OS that has no
	  console.

2008-12-05 07:05  rjongbloed

	* [r21707] ., include/ptbuildopts.h.in,
	  include/ptlib/msos/ptlib/contain.h, include/ptlib/wince/cevfw.h,
	  include/ptlib/wm/cevfw.h, src/ptlib/common/pglobalstatic.cxx,
	  src/ptlib/msos/Console_2005.vcproj, src/ptlib/msos/vfw.cxx,
	  src/ptlib/wince/ConsoleCE/cevfw.cpp, src/ptlib/wm/cevfw.cpp:
	  Removed Video for Windows empty functions that make it look like
	  Windows Mobile supports VfW when it doesn't. Should just not
	  support it!

2008-12-10 01:39  rjongbloed

	* [r21744] src/ptlib/msos/vfw.cxx:
	  Added ability to have fixed size video output window, with image
	  scaled to fit. Useful when screen real estate is limited like on
	  PDAs.

2008-12-10 02:03  rjongbloed

	* [r21746] src/ptlib/common/vconvert.cxx,
	  src/ptlib/common/videoio.cxx, src/ptlib/msos/PTLib_2005.vcproj,
	  src/ptlib/msos/vidinput_directx.cxx:
	  Fixes for camera grabbing on Windows Mobile, MEDIASUBTYPE_YV12
	  appears to be identical to YUV420P even though documentation
	  implies V & U planes are reversed.

2008-12-10 07:42  rjongbloed

	* [r21763] src/ptlib/msos/vfw.cxx:
	  If Video Output window position is not specified, centre window
	  on parent window, or screen if no parent.

2008-12-17 06:52  csoutheren

	* [r21822] src/ptlib/common/collect.cxx:
	  Prevent uninitialised variables error in valgrind cause by not
	  copying deleteKeys flag across when cloning sets and
	  dictionaries.
	  Backport from head

2008-10-17 09:03  rjongbloed

	* [r21382] version.h:
	  Update version number for beta v2.4.3

2008-10-21 08:54  csoutheren

	* [r21398] src/ptclib/pvidfile.cxx:
	  Added assert if constructed regexes do not compile
	  Backport from trunk

2008-10-21 08:56  csoutheren

	* [r21399] src/ptlib/common/contain.cxx:
	  Added assert if constructed regexes do not compile
	  Back port from trunk

2008-10-21 08:57  csoutheren

	* [r21400] src/ptclib/pvfiledev.cxx:
	  Remove incorrect use of extended regexes that don't work on Linux

2008-10-26 19:57  ms30002000

	* [r21412] make/plugins.mak:
	  Fix plugins linking with --as-needed thanks to Vitaly Lipatov.

2008-10-27 01:48  csoutheren

	* [r21414] src/ptlib/unix/osutil.cxx:
	  Bring over Windows implementation of PTextFile functions.
	  Backport from head

2008-10-28 17:53  ms30002000

	* [r21416] include/ptlib/msos/ptlib/sound_win32.h,
	  src/ptlib/msos/sound_win32.cxx:
	  Fix ugly crash in PSoundchannelWin32 -
	  When using the "Default" device os_handles = -1 seem
	  to be used, leading to crashes when the PSoundchannelWin32
	  object is being destroyed but the buffers are still being
	  accessed...

2008-11-07 02:15  rjongbloed

	* [r21467] include/ptclib/psockbun.h, include/ptlib/ipsock.h,
	  src/ptclib/psockbun.cxx, src/ptlib/msos/ethsock.cxx,
	  src/ptlib/unix/socket.cxx:
	  Added function to wait for route table or network interface
	  change. Currently only a Windows implementation.

	  Changed socket bundling code (with a both of a clean up) to use
	  the above function.

	  Added ability for external applications to speed up the interface
	  detection by calling PInterfaceMonitor::GetInstance().Start() at
	  any time they like.

2008-11-07 05:58  rjongbloed

	* [r21471] src/ptlib/msos/ethsock.cxx:
	  Fixed new route table change function to be compatible with older
	  versions of Windows.

2008-11-07 06:00  rjongbloed

	* [r21472] include/ptlib/msos/ptlib/sound_directsound.h,
	  src/ptlib/msos/sound_directsound.cxx:
	  Added missing function to get opened DirectSound device name.

2008-11-07 06:53  rjongbloed

	* [r21475] ., src/ptlib/common/videoio.cxx:
	  Back ported from trunk the improved default video selection
	  algorithm.

2008-11-11 13:22  csoutheren

	* [r21501] src/ptlib/common/sockets.cxx:
	  Remove obsolete requirement for hostnames to start with alpha
	  char
	  Backport from trunk

2008-11-12 23:48  rjongbloed

	* [r21506] include/ptlib/msos/ptlib/vidinput_directx.h,
	  include/ptlib/videoio.h, ptlib_samples_2005.sln,
	  samples/vidtest/main.cxx, samples/vidtest/vidtest_2005.vcproj,
	  src/ptlib/common/vconvert.cxx, src/ptlib/common/videoio.cxx,
	  src/ptlib/msos/vidinput_directx.cxx:
	  Major rewrite of DirectSHow camera grabber code, in an attempt to
	  a) make it more understandable and b) support Windows Mobile.

	  Added (partial) support for YVU420P format, aka YV12. Same as
	  YUV420P but V/U planes swapped.

	  Added GetDeviceCapabilities() for an already open Video Input
	  device.

	  Enhanced and updated the PTLib sample for video testing.

2008-11-12 23:57  rjongbloed

	* [r21508] src/ptlib/common/osutils.cxx:
	  Fixed Windows Mobile trace log to debugstream being double
	  spaced.

2008-11-20 04:36  csoutheren

	* [r21572] include/ptclib/url.h, src/ptclib/url.cxx:
	  Ensure copied PURLs get unique query and parameter lists
	  Backport from head

2008-11-20 05:31  csoutheren

	* [r21579] include/ptlib/svcproc.h, src/ptlib/common/osutils.cxx:
	  Backport code from trunk to remove warnings

2008-11-20 05:32  rjongbloed

	* [r21580] ., src/ptlib/msos/ethsock.cxx:
	  Disable global optimization in MSVC for one function to avoid a
	  crash. Who knows why?

2008-11-20 12:56  rjongbloed

	* [r21583] ., include/ptlib/svcproc.h, src/ptlib/msos/svcproc.cxx:
	  Fixed compiler/streams compatibility.

2008-11-24 08:18  rjongbloed

	* [r21612] src/Makefile, src/ptlib/unix/svcproc.cxx:
	  Fixed issues with strange link errors to do with Service Process
	  logging. Why now? Who knows?

2008-11-26 01:22  rjongbloed

	* [r21623] src/ptlib/unix/socket.cxx:
	  Fixed hang on Linux (at least with gcc 4.3.1), thanks Jan
	  Willamowius
@
text
@d1 1
a1 1
$NetBSD$
@

