opalvoip-svn Mailing List for OpalVOIP (Page 6)
Brought to you by:
csoutheren,
rjongbloed
You can subscribe to this list here.
| 2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(71) |
Nov
(241) |
Dec
(143) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2008 |
Jan
(210) |
Feb
(263) |
Mar
(214) |
Apr
(290) |
May
(203) |
Jun
(160) |
Jul
(128) |
Aug
(158) |
Sep
(376) |
Oct
(234) |
Nov
(227) |
Dec
(216) |
| 2009 |
Jan
(99) |
Feb
(151) |
Mar
(234) |
Apr
(143) |
May
(271) |
Jun
(244) |
Jul
(173) |
Aug
(124) |
Sep
(246) |
Oct
(178) |
Nov
(85) |
Dec
(77) |
| 2010 |
Jan
(101) |
Feb
(79) |
Mar
(92) |
Apr
(134) |
May
(125) |
Jun
(121) |
Jul
(61) |
Aug
(70) |
Sep
(86) |
Oct
(81) |
Nov
(65) |
Dec
(75) |
| 2011 |
Jan
(110) |
Feb
(119) |
Mar
(267) |
Apr
(154) |
May
(296) |
Jun
(177) |
Jul
(149) |
Aug
(124) |
Sep
(120) |
Oct
(116) |
Nov
(99) |
Dec
(121) |
| 2012 |
Jan
(78) |
Feb
(161) |
Mar
(323) |
Apr
(154) |
May
(190) |
Jun
(207) |
Jul
(176) |
Aug
(165) |
Sep
(137) |
Oct
(85) |
Nov
(112) |
Dec
(100) |
| 2013 |
Jan
(341) |
Feb
(102) |
Mar
(240) |
Apr
(216) |
May
(233) |
Jun
(226) |
Jul
(139) |
Aug
(192) |
Sep
(183) |
Oct
(211) |
Nov
(220) |
Dec
(110) |
| 2014 |
Jan
(203) |
Feb
(205) |
Mar
(100) |
Apr
(178) |
May
(194) |
Jun
(249) |
Jul
(136) |
Aug
(241) |
Sep
(226) |
Oct
(200) |
Nov
(94) |
Dec
(46) |
| 2015 |
Jan
(94) |
Feb
(74) |
Mar
(89) |
Apr
(78) |
May
(65) |
Jun
(70) |
Jul
(113) |
Aug
(176) |
Sep
(140) |
Oct
(154) |
Nov
(99) |
Dec
(115) |
| 2016 |
Jan
(102) |
Feb
(69) |
Mar
(97) |
Apr
(53) |
May
(42) |
Jun
(13) |
Jul
(42) |
Aug
(30) |
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <rjo...@us...> - 2016-05-02 08:05:57
|
Revision: 34801
http://sourceforge.net/p/opalvoip/code/34801
Author: rjongbloed
Date: 2016-05-02 08:05:54 +0000 (Mon, 02 May 2016)
Log Message:
-----------
Merged revision(s) 34796 from ptlib/trunk:
fix segfault: if prefixbits == 0, i goes to -1, causing an out of bounds read
Modified Paths:
--------------
ptlib/branches/v2_16/src/ptlib/unix/socket.cxx
Property Changed:
----------------
ptlib/branches/v2_16/
Index: ptlib/branches/v2_16
===================================================================
--- ptlib/branches/v2_16 2016-05-01 17:46:57 UTC (rev 34800)
+++ ptlib/branches/v2_16 2016-05-02 08:05:54 UTC (rev 34801)
Property changes on: ptlib/branches/v2_16
___________________________________________________________________
Modified: svn:mergeinfo
## -10,4 +10,4 ##
/ptlib/branches/v2_4:21086,21094,21147,21160,21185,21281,21296,21305,21322,21337,21363,21467,21471-21472,21506,21508,21623,21695,21744,21746,21763,22241,22958,23045-23046,23061,23066,23712
/ptlib/branches/v2_6:22195,22243,22295,22304,22311,22317,22320,22356,22458,22509,22587,22601-22602,22611,22629,22633,22673,22681,22729,22731-22732,22736,22742,22848,22960,22992,23161,23163,23167,23169,23177,23239,23291,23298,23336,23429,23595,23823,23827,23873,24816
/ptlib/branches/v2_8:24034,24044,24046,24054,24060,24065,24084,24090,24113,24136,24142,24165-24166,24168,24172,24367,24372,24410,24540,24992
-/ptlib/trunk:34109-34115,34121,34140,34142-34143,34146-34149,34152-34154,34169,34171-34172,34180,34182,34184,34194,34219,34221,34231-34232,34244-34245,34254,34267-34268,34280-34284,34298-34315,34335,34344-34345,34347,34354-34356,34366,34379,34398,34405-34411,34418-34423,34493-34508,34581,34584,34722,34740-34745,34774,34792-34793
+/ptlib/trunk:34109-34115,34121,34140,34142-34143,34146-34149,34152-34154,34169,34171-34172,34180,34182,34184,34194,34219,34221,34231-34232,34244-34245,34254,34267-34268,34280-34284,34298-34315,34335,34344-34345,34347,34354-34356,34366,34379,34398,34405-34411,34418-34423,34493-34508,34581,34584,34722,34740-34745,34774,34792-34793,34796
\ No newline at end of property
Modified: ptlib/branches/v2_16/src/ptlib/unix/socket.cxx
===================================================================
--- ptlib/branches/v2_16/src/ptlib/unix/socket.cxx 2016-05-01 17:46:57 UTC (rev 34800)
+++ ptlib/branches/v2_16/src/ptlib/unix/socket.cxx 2016-05-02 08:05:54 UTC (rev 34801)
@@ -727,7 +727,7 @@
memset(&fullmask, 0, sizeof(fullmask));
memcpy(&fullmask, mask, std::min((size_t)masklen, sizeof(fullmask)));
}
- for(unsigned i=128; i >= prefixbits; --i) {
+ for(unsigned i=128; i > prefixbits; --i) {
ResetBit(i, fullmask);
}
return PIPSocket::Address(16, (BYTE*)&fullmask);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rjo...@us...> - 2016-05-01 17:46:59
|
Revision: 34800
http://sourceforge.net/p/opalvoip/code/34800
Author: rjongbloed
Date: 2016-05-01 17:46:57 +0000 (Sun, 01 May 2016)
Log Message:
-----------
partial fix for 64 bit atomic operations on pre GCC 4.6 compilers and ARM platform. Now checks kernel version and if helper not available then fakes it with non-atomic operations. Prevents hang due to endless loop.
Modified Paths:
--------------
ptlib/branches/v2_16/src/ptlib/unix/osutil.cxx
Modified: ptlib/branches/v2_16/src/ptlib/unix/osutil.cxx
===================================================================
--- ptlib/branches/v2_16/src/ptlib/unix/osutil.cxx 2016-04-29 15:24:05 UTC (rev 34799)
+++ ptlib/branches/v2_16/src/ptlib/unix/osutil.cxx 2016-05-01 17:46:57 UTC (rev 34800)
@@ -185,36 +185,60 @@
#if defined(__arm__) && !defined(__llvm__) && (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 6))
-// ARM build doesn't link before v4.6
-// This code shamelessly stolen from GCC 4.6 source
-typedef int (__kernel_cmpxchg64_t) (const long long* oldval,
- const long long* newval,
- long long *ptr);
-#define __kernel_cmpxchg64 (*(__kernel_cmpxchg64_t *) 0xffff0f60)
+// ARM build doesn't link before GCC v4.6
+// This code mostly, and shamelessly, stolen from 4.6 source
+typedef int (*__kernel_cmpxchg64_t)(const uint64_t * oldval,
+ const uint64_t * newval,
+ volatile void * ptr);
+
+static int dummy_cmpxchg64(const uint64_t *,
+ const uint64_t * newval,
+ volatile void * ptr)
+{
+ // Do it without memory barrier
+ *(uint64_t *)ptr = *newval;
+ return 0;
+}
+
+static __kernel_cmpxchg64_t get_kernel_cmpxchg64()
+{
+ if (*(unsigned int *)0xffff0ffc >= 5) // kernel_helper_version
+ return (__kernel_cmpxchg64_t)0xffff0f60;
+
+ static const char err[] = "WARNING: __kernel_cmpxchg64 helper not in kernel, no 64 bit atomic operations.\n";
+ if (write(2, err, sizeof(err)-1) != sizeof(err) - 1)
+ abort();
+ return dummy_cmpxchg64;
+}
+
extern "C" {
- long long __sync_lock_test_and_set_8(long long * ptr, long long val)
+ uint64_t __sync_lock_test_and_set_8(volatile void * ptr, uint64_t val)
{
+ static __kernel_cmpxchg64_t kernel_cmpxchg64 = get_kernel_cmpxchg64();
+
int failure;
- long long oldval;
+ uint64_t oldval;
do {
- oldval = *ptr;
- failure = __kernel_cmpxchg64(&oldval, &val, ptr);
+ oldval = *(uint64_t *)ptr;
+ failure = kernel_cmpxchg64(&oldval, &val, ptr);
} while (failure != 0);
return oldval;
}
- long long __sync_add_and_fetch_8(long long * ptr, long long val)
+ uint64_t __sync_add_and_fetch_8(volatile void * ptr, uint64_t val)
{
+ static __kernel_cmpxchg64_t kernel_cmpxchg64 = get_kernel_cmpxchg64();
+
int failure;
- long long tmp1,tmp2;
+ uint64_t tmp1,tmp2;
do {
- tmp1 = *ptr;
+ tmp1 = *(uint64_t *)ptr;
tmp2 = tmp1 + val;
- failure = __kernel_cmpxchg64(&tmp1, &tmp2, ptr);
+ failure = kernel_cmpxchg64(&tmp1, &tmp2, ptr);
} while (failure != 0);
return tmp2;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rjo...@us...> - 2016-04-29 15:24:08
|
Revision: 34799
http://sourceforge.net/p/opalvoip/code/34799
Author: rjongbloed
Date: 2016-04-29 15:24:05 +0000 (Fri, 29 Apr 2016)
Log Message:
-----------
Fixed maximum Opus complexity value.
Modified Paths:
--------------
opal/trunk/plugins/audio/Opus/OpusCodec.cpp
Modified: opal/trunk/plugins/audio/Opus/OpusCodec.cpp
===================================================================
--- opal/trunk/plugins/audio/Opus/OpusCodec.cpp 2016-04-29 15:16:05 UTC (rev 34798)
+++ opal/trunk/plugins/audio/Opus/OpusCodec.cpp 2016-04-29 15:24:05 UTC (rev 34799)
@@ -175,7 +175,7 @@
NULL,
NULL,
0,
- "0","100" // percentage
+ "0","10"
};
static struct PluginCodec_Option const * const MyOptions[] = {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rjo...@us...> - 2016-04-29 15:16:08
|
Revision: 34798
http://sourceforge.net/p/opalvoip/code/34798
Author: rjongbloed
Date: 2016-04-29 15:16:05 +0000 (Fri, 29 Apr 2016)
Log Message:
-----------
Changed default Opus complexity value to what was the previous default.
Modified Paths:
--------------
opal/trunk/plugins/audio/Opus/OpusCodec.cpp
Modified: opal/trunk/plugins/audio/Opus/OpusCodec.cpp
===================================================================
--- opal/trunk/plugins/audio/Opus/OpusCodec.cpp 2016-04-28 13:25:53 UTC (rev 34797)
+++ opal/trunk/plugins/audio/Opus/OpusCodec.cpp 2016-04-29 15:16:05 UTC (rev 34798)
@@ -171,7 +171,7 @@
"Complexity",
false,
PluginCodec_NoMerge,
- "0",
+ "9",
NULL,
NULL,
0,
@@ -369,10 +369,8 @@
virtual bool Construct()
{
int error;
- if ((m_encoder = opus_encoder_create(m_sampleRate, m_channels, OPUS_APPLICATION_VOIP, &error)) != NULL) {
- opus_encoder_ctl(m_encoder, OPUS_GET_COMPLEXITY(&m_complexity));
+ if ((m_encoder = opus_encoder_create(m_sampleRate, m_channels, OPUS_APPLICATION_VOIP, &error)) != NULL)
return true;
- }
PTRACE(1, MY_CODEC_LOG, "Encoder create error " << error << ' ' << opus_strerror(error));
return false;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rjo...@us...> - 2016-04-28 13:25:55
|
Revision: 34797
http://sourceforge.net/p/opalvoip/code/34797
Author: rjongbloed
Date: 2016-04-28 13:25:53 +0000 (Thu, 28 Apr 2016)
Log Message:
-----------
Added ability to set Opus encoder complexity via OpalMediaOption.
Modified Paths:
--------------
opal/trunk/plugins/audio/Opus/OpusCodec.cpp
Modified: opal/trunk/plugins/audio/Opus/OpusCodec.cpp
===================================================================
--- opal/trunk/plugins/audio/Opus/OpusCodec.cpp 2016-04-27 01:43:05 UTC (rev 34796)
+++ opal/trunk/plugins/audio/Opus/OpusCodec.cpp 2016-04-28 13:25:53 UTC (rev 34797)
@@ -165,6 +165,19 @@
"0","100" // percentage
};
+static struct PluginCodec_Option const Complexity =
+{
+ PluginCodec_IntegerOption,
+ "Complexity",
+ false,
+ PluginCodec_NoMerge,
+ "0",
+ NULL,
+ NULL,
+ 0,
+ "0","100" // percentage
+};
+
static struct PluginCodec_Option const * const MyOptions[] = {
&UseInBandFEC,
&UseDTX,
@@ -173,6 +186,7 @@
&PlaybackStereo,
&CaptureStereo,
&DynamicPacketLoss,
+ &Complexity,
NULL
};
@@ -330,6 +344,7 @@
unsigned m_dynamicPacketLoss;
bool m_useDTX;
unsigned m_bitRate;
+ opus_int32 m_complexity;
public:
OpusPluginEncoder(const PluginCodec_Definition * defn)
@@ -338,6 +353,7 @@
, m_dynamicPacketLoss(0)
, m_useDTX(false)
, m_bitRate(12000)
+ , m_complexity(0)
{
PTRACE(4, MY_CODEC_LOG, "Encoder created: $Revision$, version \"" << opus_get_version_string() << '"');
}
@@ -353,8 +369,10 @@
virtual bool Construct()
{
int error;
- if ((m_encoder = opus_encoder_create(m_sampleRate, m_channels, OPUS_APPLICATION_VOIP, &error)) != NULL)
+ if ((m_encoder = opus_encoder_create(m_sampleRate, m_channels, OPUS_APPLICATION_VOIP, &error)) != NULL) {
+ opus_encoder_ctl(m_encoder, OPUS_GET_COMPLEXITY(&m_complexity));
return true;
+ }
PTRACE(1, MY_CODEC_LOG, "Encoder create error " << error << ' ' << opus_strerror(error));
return false;
@@ -376,6 +394,9 @@
if (strcasecmp(optionName, PLUGINCODEC_OPTION_TARGET_BIT_RATE) == 0)
return SetOptionUnsigned(m_bitRate, optionValue, 6000, 510000);
+ if (strcasecmp(optionName, Complexity.m_name) == 0)
+ return SetOptionUnsigned(m_complexity, optionValue, 0, 10);
+
// Base class sets bit rate and frame time
return OpusPluginCodec::SetOption(optionName, optionValue);
}
@@ -391,11 +412,13 @@
opus_encoder_ctl(m_encoder, OPUS_SET_PACKET_LOSS_PERC(m_dynamicPacketLoss));
opus_encoder_ctl(m_encoder, OPUS_SET_DTX(m_useDTX));
opus_encoder_ctl(m_encoder, OPUS_SET_BITRATE(m_bitRate));
+ opus_encoder_ctl(m_encoder, OPUS_SET_COMPLEXITY(m_complexity));
PTRACE(4, MY_CODEC_LOG, "Encoder options set:"
" fec=" << std::boolalpha << m_useInBandFEC << ","
" pkt-loss=" << m_dynamicPacketLoss << "%,"
" dtx=" << m_useDTX << ","
- " bitrate=" << m_bitRate);
+ " bitrate=" << m_bitRate << ","
+ " complexity=" << m_complexity);
return true;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <wil...@us...> - 2016-04-27 01:43:07
|
Revision: 34796
http://sourceforge.net/p/opalvoip/code/34796
Author: willamowius
Date: 2016-04-27 01:43:05 +0000 (Wed, 27 Apr 2016)
Log Message:
-----------
fix segfault: if prefixbits == 0, i goes to -1, causing an out of bounds read
Modified Paths:
--------------
ptlib/trunk/src/ptlib/unix/socket.cxx
Modified: ptlib/trunk/src/ptlib/unix/socket.cxx
===================================================================
--- ptlib/trunk/src/ptlib/unix/socket.cxx 2016-04-26 10:50:14 UTC (rev 34795)
+++ ptlib/trunk/src/ptlib/unix/socket.cxx 2016-04-27 01:43:05 UTC (rev 34796)
@@ -725,7 +725,7 @@
memset(&fullmask, 0, sizeof(fullmask));
memcpy(&fullmask, mask, std::min((size_t)masklen, sizeof(fullmask)));
}
- for(unsigned i=128; i >= prefixbits; --i) {
+ for(unsigned i=128; i > prefixbits; --i) {
ResetBit(i, fullmask);
}
return PIPSocket::Address(16, (BYTE*)&fullmask);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rjo...@us...> - 2016-04-26 10:50:17
|
Revision: 34795
http://sourceforge.net/p/opalvoip/code/34795
Author: rjongbloed
Date: 2016-04-26 10:50:14 +0000 (Tue, 26 Apr 2016)
Log Message:
-----------
Fixed crash if something else in the system happens to use FFMPEG independent of PTLib/OPAL
Modified Paths:
--------------
opal/trunk/plugins/video/common/ffmpeg.cxx
Modified: opal/trunk/plugins/video/common/ffmpeg.cxx
===================================================================
--- opal/trunk/plugins/video/common/ffmpeg.cxx 2016-04-25 13:19:10 UTC (rev 34794)
+++ opal/trunk/plugins/video/common/ffmpeg.cxx 2016-04-26 10:50:14 UTC (rev 34795)
@@ -91,7 +91,7 @@
(len == 2 && isxdigit(buffer[1])))
level = 6;
- if (avcl != NULL && strcmp((*(AVClass**)avcl)->class_name, "AVCodecContext") == 0)
+ if (avcl != NULL && strcmp((*(AVClass**)avcl)->class_name, "AVCodecContext") == 0 && static_cast<AVCodecContext *>(avcl)->opaque != NULL)
static_cast<FFMPEGCodec *>(static_cast<AVCodecContext *>(avcl)->opaque)->ErrorCallback(level, buffer);
else
PTRACE(level, "FFMPEG", buffer);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rjo...@us...> - 2016-04-25 13:19:13
|
Revision: 34794
http://sourceforge.net/p/opalvoip/code/34794
Author: rjongbloed
Date: 2016-04-25 13:19:10 +0000 (Mon, 25 Apr 2016)
Log Message:
-----------
Merged revision(s) 34792-34793 from ptlib/trunk:
Fixed tiny race condition where PThread::IsTerminated() could return true when thread is starting up.
Modified Paths:
--------------
ptlib/branches/v2_16/src/ptlib/unix/tlibthrd.cxx
Property Changed:
----------------
ptlib/branches/v2_16/
Index: ptlib/branches/v2_16
===================================================================
--- ptlib/branches/v2_16 2016-04-25 13:15:43 UTC (rev 34793)
+++ ptlib/branches/v2_16 2016-04-25 13:19:10 UTC (rev 34794)
Property changes on: ptlib/branches/v2_16
___________________________________________________________________
Modified: svn:mergeinfo
## -10,4 +10,4 ##
/ptlib/branches/v2_4:21086,21094,21147,21160,21185,21281,21296,21305,21322,21337,21363,21467,21471-21472,21506,21508,21623,21695,21744,21746,21763,22241,22958,23045-23046,23061,23066,23712
/ptlib/branches/v2_6:22195,22243,22295,22304,22311,22317,22320,22356,22458,22509,22587,22601-22602,22611,22629,22633,22673,22681,22729,22731-22732,22736,22742,22848,22960,22992,23161,23163,23167,23169,23177,23239,23291,23298,23336,23429,23595,23823,23827,23873,24816
/ptlib/branches/v2_8:24034,24044,24046,24054,24060,24065,24084,24090,24113,24136,24142,24165-24166,24168,24172,24367,24372,24410,24540,24992
-/ptlib/trunk:34109-34115,34121,34140,34142-34143,34146-34149,34152-34154,34169,34171-34172,34180,34182,34184,34194,34219,34221,34231-34232,34244-34245,34254,34267-34268,34280-34284,34298-34315,34335,34344-34345,34347,34354-34356,34366,34379,34398,34405-34411,34418-34423,34493-34508,34581,34584,34722,34740-34745,34774
+/ptlib/trunk:34109-34115,34121,34140,34142-34143,34146-34149,34152-34154,34169,34171-34172,34180,34182,34184,34194,34219,34221,34231-34232,34244-34245,34254,34267-34268,34280-34284,34298-34315,34335,34344-34345,34347,34354-34356,34366,34379,34398,34405-34411,34418-34423,34493-34508,34581,34584,34722,34740-34745,34774,34792-34793
\ No newline at end of property
Modified: ptlib/branches/v2_16/src/ptlib/unix/tlibthrd.cxx
===================================================================
--- ptlib/branches/v2_16/src/ptlib/unix/tlibthrd.cxx 2016-04-25 13:15:43 UTC (rev 34793)
+++ ptlib/branches/v2_16/src/ptlib/unix/tlibthrd.cxx 2016-04-25 13:19:10 UTC (rev 34794)
@@ -791,8 +791,15 @@
if (m_type == e_IsProcess)
return false; // Process is always still running
- if (PX_state == PX_finished)
- return true;
+ switch (PX_state) {
+ case PX_starting :
+ case PX_firstResume :
+ return false;
+ case PX_finished:
+ return true;
+ default :
+ break;
+ }
// See if thread is still running, copy variable in case changes between two statements
pthread_t id = m_threadId;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rjo...@us...> - 2016-04-25 13:15:45
|
Revision: 34793
http://sourceforge.net/p/opalvoip/code/34793
Author: rjongbloed
Date: 2016-04-25 13:15:43 +0000 (Mon, 25 Apr 2016)
Log Message:
-----------
Fixed typo
Modified Paths:
--------------
ptlib/trunk/src/ptlib/unix/tlibthrd.cxx
Modified: ptlib/trunk/src/ptlib/unix/tlibthrd.cxx
===================================================================
--- ptlib/trunk/src/ptlib/unix/tlibthrd.cxx 2016-04-25 13:12:57 UTC (rev 34792)
+++ ptlib/trunk/src/ptlib/unix/tlibthrd.cxx 2016-04-25 13:15:43 UTC (rev 34793)
@@ -798,7 +798,7 @@
case PX_finished:
return true;
default :
- break:
+ break;
}
// See if thread is still running, copy variable in case changes between two statements
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rjo...@us...> - 2016-04-25 13:12:59
|
Revision: 34792
http://sourceforge.net/p/opalvoip/code/34792
Author: rjongbloed
Date: 2016-04-25 13:12:57 +0000 (Mon, 25 Apr 2016)
Log Message:
-----------
Fixed tiny race condition where PThread::IsTerminated() could return true when thread is starting up.
Modified Paths:
--------------
ptlib/trunk/src/ptlib/unix/tlibthrd.cxx
Modified: ptlib/trunk/src/ptlib/unix/tlibthrd.cxx
===================================================================
--- ptlib/trunk/src/ptlib/unix/tlibthrd.cxx 2016-04-23 13:12:10 UTC (rev 34791)
+++ ptlib/trunk/src/ptlib/unix/tlibthrd.cxx 2016-04-25 13:12:57 UTC (rev 34792)
@@ -791,8 +791,15 @@
if (m_type == e_IsProcess)
return false; // Process is always still running
- if (PX_state == PX_finished)
- return true;
+ switch (PX_state) {
+ case PX_starting :
+ case PX_firstResume :
+ return false;
+ case PX_finished:
+ return true;
+ default :
+ break:
+ }
// See if thread is still running, copy variable in case changes between two statements
pthread_t id = m_threadId;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rjo...@us...> - 2016-04-23 13:12:12
|
Revision: 34791
http://sourceforge.net/p/opalvoip/code/34791
Author: rjongbloed
Date: 2016-04-23 13:12:10 +0000 (Sat, 23 Apr 2016)
Log Message:
-----------
Applied patch to fix divide by zero error in media stream with some media types, thanks Harald Karner
Modified Paths:
--------------
opal/branches/v3_16/src/rtp/rtp_stream.cxx
Modified: opal/branches/v3_16/src/rtp/rtp_stream.cxx
===================================================================
--- opal/branches/v3_16/src/rtp/rtp_stream.cxx 2016-04-23 13:07:25 UTC (rev 34790)
+++ opal/branches/v3_16/src/rtp/rtp_stream.cxx 2016-04-23 13:12:10 UTC (rev 34791)
@@ -320,7 +320,7 @@
RTP_Timestamp packetTime = m_jitterBuffer->GetPacketTime();
if (packetTime > 0)
timestamp += packetTime;
- else
+ else if (m_frameTime > 0)
timestamp += ((20*GetMediaFormat().GetTimeUnits() + m_frameTime - 1)/m_frameTime) * m_frameTime;
packet.SetTimestamp(timestamp);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rjo...@us...> - 2016-04-23 13:07:27
|
Revision: 34790
http://sourceforge.net/p/opalvoip/code/34790
Author: rjongbloed
Date: 2016-04-23 13:07:25 +0000 (Sat, 23 Apr 2016)
Log Message:
-----------
Fixed compile issues with Ubuntu 15.10
Modified Paths:
--------------
ptlib/trunk/plugins/sound_oss/sound_oss.cxx
ptlib/trunk/src/ptlib/unix/tlibthrd.cxx
Modified: ptlib/trunk/plugins/sound_oss/sound_oss.cxx
===================================================================
--- ptlib/trunk/plugins/sound_oss/sound_oss.cxx 2016-04-23 12:30:27 UTC (rev 34789)
+++ ptlib/trunk/plugins/sound_oss/sound_oss.cxx 2016-04-23 13:07:25 UTC (rev 34790)
@@ -512,7 +512,7 @@
}
while (!ConvertOSError(::write(os_handle, resampleBuffer, dst - resampleBuffer))) {
if (GetErrorCode() != Interrupted) {
- SetLastWriteCount(len - srcEnd + src);
+ SetLastWriteCount(src - srcStart);
return false;
}
}
@@ -571,8 +571,8 @@
PINDEX bufLen = PMIN(resampleBuffer.GetSize(), srcBytes);
while (!ConvertOSError(bytes = ::read(os_handle, resampleBuffer.GetPointer(), bufLen))) {
if (GetErrorCode() != Interrupted) {
- SetLastReadCount(len - dstEnd + dst);
- PTRACE(6, "OSS\tRead completed short - " << len - dstEnd + dst << " vs " << len);
+ SetLastReadCount(dst - (dstEnd - len));
+ PTRACE(6, "OSS\tRead completed short - " << GetLastReadCount() << " vs " << len);
return false;
}
}
Modified: ptlib/trunk/src/ptlib/unix/tlibthrd.cxx
===================================================================
--- ptlib/trunk/src/ptlib/unix/tlibthrd.cxx 2016-04-23 12:30:27 UTC (rev 34789)
+++ ptlib/trunk/src/ptlib/unix/tlibthrd.cxx 2016-04-23 13:07:25 UTC (rev 34790)
@@ -389,7 +389,7 @@
#if defined(P_LINUX)
struct sched_param sched_params;
- PAssertPTHREAD(pthread_attr_setschedpolicy, (&threadAttr, GetSchedParam(PX_priority, sched_params)));
+ PAssertPTHREAD(pthread_attr_setschedpolicy, (&threadAttr, GetSchedParam((Priority)PX_priority.load(), sched_params)));
PAssertPTHREAD(pthread_attr_setschedparam, (&threadAttr, &sched_params));
#elif defined(P_RTEMS)
pthread_attr_setinheritsched(&threadAttr, PTHREAD_EXPLICIT_SCHED);
@@ -566,7 +566,7 @@
void PThread::SetPriority(Priority priorityLevel)
{
PTRACE(4, "PTLib", "Setting thread priority to " << priorityLevel);
- PX_priority = priorityLevel;
+ PX_priority.store(priorityLevel);
if (IsTerminated())
return;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rjo...@us...> - 2016-04-23 12:30:30
|
Revision: 34789
http://sourceforge.net/p/opalvoip/code/34789
Author: rjongbloed
Date: 2016-04-23 12:30:27 +0000 (Sat, 23 Apr 2016)
Log Message:
-----------
Fixed bug #553 Comma in angle brackets & macro PCLASSINFO, thanks Clemens Fischer
Modified Paths:
--------------
ptlib/branches/v2_16/include/ptlib/object.h
Modified: ptlib/branches/v2_16/include/ptlib/object.h
===================================================================
--- ptlib/branches/v2_16/include/ptlib/object.h 2016-04-21 09:30:50 UTC (rev 34788)
+++ ptlib/branches/v2_16/include/ptlib/object.h 2016-04-23 12:30:27 UTC (rev 34789)
@@ -1818,7 +1818,7 @@
of compatibility with documentation systems.
*/
-#define PCLASSINFO(cls, par) PCLASSINFO_ALIGNED(cls, par, 0)
+#define PCLASSINFO(cls, par) PCLASSINFO_ALIGNED(cls, (par), 0)
/// Declare all the standard PTLib class information, plus Clone().
#define PCLASSINFO_WITH_CLONE(cls, par) \
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rjo...@us...> - 2016-04-21 09:30:52
|
Revision: 34788
http://sourceforge.net/p/opalvoip/code/34788
Author: rjongbloed
Date: 2016-04-21 09:30:50 +0000 (Thu, 21 Apr 2016)
Log Message:
-----------
Tiny code optimisation, only do video frame type determination in media patch when no transcoders involved.
Modified Paths:
--------------
opal/trunk/src/opal/patch.cxx
Modified: opal/trunk/src/opal/patch.cxx
===================================================================
--- opal/trunk/src/opal/patch.cxx 2016-04-20 10:32:27 UTC (rev 34787)
+++ opal/trunk/src/opal/patch.cxx 2016-04-21 09:30:50 UTC (rev 34788)
@@ -973,15 +973,16 @@
if (m_stream->IsPaused())
return true;
+ if (bypassing || m_primaryCodec == NULL) {
#if OPAL_VIDEO
- OpalVideoFormat::FrameType frameType;
- if (m_videoFormat.IsValid())
- frameType = m_videoFormat.GetFrameType(sourceFrame.GetPayloadPtr(), sourceFrame.GetPayloadSize(), m_keyFrameDetector);
- else
- frameType = OpalVideoFormat::e_UnknownFrameType;
+ // Must be done before the WritePacket() which could encrypt the packet
+ OpalVideoFormat::FrameType frameType;
+ if (m_videoFormat.IsValid())
+ frameType = m_videoFormat.GetFrameType(sourceFrame.GetPayloadPtr(), sourceFrame.GetPayloadSize(), m_keyFrameDetector);
+ else
+ frameType = OpalVideoFormat::e_UnknownFrameType;
#endif // OPAL_VIDEO
- if (bypassing || m_primaryCodec == NULL) {
if (!m_stream->WritePacket(sourceFrame))
return false;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rjo...@us...> - 2016-04-20 10:32:29
|
Revision: 34787
http://sourceforge.net/p/opalvoip/code/34787
Author: rjongbloed
Date: 2016-04-20 10:32:27 +0000 (Wed, 20 Apr 2016)
Log Message:
-----------
Fixed audio decoder in pcap file reader returning "is data" return code when decoded audio PCM payload size is zero. Not sure why decoder is doing this, but it does, so need to deal with it.
Modified Paths:
--------------
opal/trunk/src/rtp/pcapfile.cxx
Modified: opal/trunk/src/rtp/pcapfile.cxx
===================================================================
--- opal/trunk/src/rtp/pcapfile.cxx 2016-04-19 15:47:49 UTC (rev 34786)
+++ opal/trunk/src/rtp/pcapfile.cxx 2016-04-20 10:32:27 UTC (rev 34787)
@@ -318,7 +318,7 @@
return 0;
decodedRTP = output.front();
- return 1;
+ return decodedRTP.GetPayloadSize() > 0 ? 1 : 0;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rjo...@us...> - 2016-04-19 15:47:51
|
Revision: 34786
http://sourceforge.net/p/opalvoip/code/34786
Author: rjongbloed
Date: 2016-04-19 15:47:49 +0000 (Tue, 19 Apr 2016)
Log Message:
-----------
Fixed minor trace log error in video encode path.
Modified Paths:
--------------
opal/trunk/src/codec/opalpluginmgr.cxx
Modified: opal/trunk/src/codec/opalpluginmgr.cxx
===================================================================
--- opal/trunk/src/codec/opalpluginmgr.cxx 2016-04-19 15:08:36 UTC (rev 34785)
+++ opal/trunk/src/codec/opalpluginmgr.cxx 2016-04-19 15:47:49 UTC (rev 34786)
@@ -943,7 +943,7 @@
m_lastFrameWasIFrame = false;
bool foreIFrame = m_encodingIntraFrameControl.RequireIntraFrame();
- PTRACE_IF(4, foreIFrame, "OpalPlugin\tI-Frame forced from video codec at frame " << m_totalFrames);
+ PTRACE_IF(4, foreIFrame, "OpalPlugin\tI-Frame forced from video codec at frame " << m_totalFrames+1);
do {
// Some plug ins a very rude and use more memory than we say they can, so add an extra 1k
RTP_DataFrame * dst = new RTP_DataFrame((PINDEX)0, outputDataSize+1024);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rjo...@us...> - 2016-04-19 15:08:38
|
Revision: 34785
http://sourceforge.net/p/opalvoip/code/34785
Author: rjongbloed
Date: 2016-04-19 15:08:36 +0000 (Tue, 19 Apr 2016)
Log Message:
-----------
Removed extraneous debug trace log
Modified Paths:
--------------
opal/trunk/src/codec/vidcodec.cxx
Modified: opal/trunk/src/codec/vidcodec.cxx
===================================================================
--- opal/trunk/src/codec/vidcodec.cxx 2016-04-19 13:32:13 UTC (rev 34784)
+++ opal/trunk/src/codec/vidcodec.cxx 2016-04-19 15:08:36 UTC (rev 34785)
@@ -230,7 +230,6 @@
RTP_Timestamp delta = ts - m_lastTimestamp;
m_lastTimestamp = ts;
-PTRACE(4, "ts=" << ts << ' ' << delta);
if (delta == 0)
delta = outputMediaFormat.GetFrameTime();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rjo...@us...> - 2016-04-19 13:32:15
|
Revision: 34784
http://sourceforge.net/p/opalvoip/code/34784
Author: rjongbloed
Date: 2016-04-19 13:32:13 +0000 (Tue, 19 Apr 2016)
Log Message:
-----------
Fixed termination pseudo deadlock issue, if one media session transport subchannel fails, close them all, or the remaining open ones take a long time for their threads to terminate, effectively deadlocking.
Modified Paths:
--------------
opal/trunk/include/opal/mediasession.h
opal/trunk/src/opal/mediasession.cxx
Modified: opal/trunk/include/opal/mediasession.h
===================================================================
--- opal/trunk/include/opal/mediasession.h 2016-04-19 13:25:10 UTC (rev 34783)
+++ opal/trunk/include/opal/mediasession.h 2016-04-19 13:32:13 UTC (rev 34784)
@@ -455,6 +455,7 @@
void SetRemoteBehindNAT();
protected:
+ virtual void InternalClose();
virtual void InternalStop();
PString m_name;
@@ -476,7 +477,6 @@
);
void ThreadMain();
bool HandleUnavailableError();
- void Close();
typedef PNotifierListTemplate<PBYTEArray> NotifierList;
NotifierList m_notifiers;
Modified: opal/trunk/src/opal/mediasession.cxx
===================================================================
--- opal/trunk/src/opal/mediasession.cxx 2016-04-19 13:25:10 UTC (rev 34783)
+++ opal/trunk/src/opal/mediasession.cxx 2016-04-19 13:32:13 UTC (rev 34784)
@@ -697,7 +697,7 @@
PTRACE(2, m_owner, *m_owner << m_subchannel << " timed out (" << m_channel->GetReadTimeout() << "s), other subchannels running");
else {
PTRACE(1, m_owner, *m_owner << m_subchannel << " timed out (" << m_owner->m_mediaTimeout << "s), closing");
- Close();
+ m_owner->InternalClose();
}
break;
@@ -705,7 +705,7 @@
PTRACE(1, m_owner, *m_owner << m_subchannel
<< " read error (" << m_channel->GetErrorNumber(PChannel::LastReadError) << "): "
<< m_channel->GetErrorText(PChannel::LastReadError));
- Close();
+ m_owner->InternalClose();
break;
}
}
@@ -732,23 +732,25 @@
PTRACE(2, m_owner, *m_owner << m_subchannel << ' ' << m_owner->m_maxNoTransmitTime
<< " seconds of transmit fails to " << m_owner->GetRemoteAddress(m_subchannel));
- Close();
+ m_owner->InternalClose();
return false;
}
-void OpalMediaTransport::Transport::Close()
+void OpalMediaTransport::InternalClose()
{
- if (m_channel == NULL)
+ if (!LockReadOnly())
return;
- PChannel * base = m_channel->GetBaseReadChannel();
- if (base == NULL)
- return;
+ for (vector<Transport>::iterator it = m_subchannels.begin(); it != m_subchannels.end(); ++it) {
+ if (it->m_channel != NULL) {
+ PChannel * base = it->m_channel->GetBaseReadChannel();
+ if (base != NULL)
+ base->Close();
+ }
+ }
- base->Close();
- m_owner->m_opened = false;
- m_owner->InternalRxData(m_subchannel, PBYTEArray());
+ UnlockReadOnly();
}
@@ -801,10 +803,7 @@
void OpalMediaTransport::InternalStop()
{
PTRACE(4, *this << "stopping " << m_subchannels.size() << "subchannels.");
- LockReadOnly();
- for (vector<Transport>::iterator it = m_subchannels.begin(); it != m_subchannels.end(); ++it)
- it->Close();
- UnlockReadOnly();
+ InternalClose();
for (vector<Transport>::iterator it = m_subchannels.begin(); it != m_subchannels.end(); ++it) {
if (it->m_thread != NULL) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rjo...@us...> - 2016-04-19 13:25:12
|
Revision: 34783
http://sourceforge.net/p/opalvoip/code/34783
Author: rjongbloed
Date: 2016-04-19 13:25:10 +0000 (Tue, 19 Apr 2016)
Log Message:
-----------
Fixed rare, and relatively trivial, race condition where an RTCP report could go out after a BYE was sent.
Modified Paths:
--------------
opal/trunk/src/rtp/rtp_session.cxx
Modified: opal/trunk/src/rtp/rtp_session.cxx
===================================================================
--- opal/trunk/src/rtp/rtp_session.cxx 2016-04-19 13:23:04 UTC (rev 34782)
+++ opal/trunk/src/rtp/rtp_session.cxx 2016-04-19 13:25:10 UTC (rev 34783)
@@ -2390,17 +2390,19 @@
{
PTRACE(3, *this << "closing RTP.");
+ m_reportTimer.Stop(true);
+ m_endpoint.RegisterLocalRTP(this, true);
+
if (IsOpen() && LockReadOnly()) {
for (SyncSourceMap::iterator it = m_SSRC.begin(); it != m_SSRC.end(); ++it) {
- if (it->second->m_direction == e_Sender && it->second->m_packets > 0)
- it->second->SendBYE();
+ if ( it->second->m_direction == e_Sender &&
+ it->second->m_packets > 0 &&
+ it->second->SendBYE() == e_AbortTransport)
+ break;
}
UnlockReadOnly();
}
- m_reportTimer.Stop(true);
- m_endpoint.RegisterLocalRTP(this, true);
-
return OpalMediaSession::Close();
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rjo...@us...> - 2016-04-19 13:23:06
|
Revision: 34782
http://sourceforge.net/p/opalvoip/code/34782
Author: rjongbloed
Date: 2016-04-19 13:23:04 +0000 (Tue, 19 Apr 2016)
Log Message:
-----------
Make sure the embedded PMutex objects inside the PReadWriteMutex are also named.
Modified Paths:
--------------
ptlib/trunk/src/ptlib/common/osutils.cxx
Modified: ptlib/trunk/src/ptlib/common/osutils.cxx
===================================================================
--- ptlib/trunk/src/ptlib/common/osutils.cxx 2016-04-18 17:12:43 UTC (rev 34781)
+++ ptlib/trunk/src/ptlib/common/osutils.cxx 2016-04-19 13:23:04 UTC (rev 34782)
@@ -3191,8 +3191,11 @@
, m_wait(false)
#else
, m_readerSemaphore(1, 1)
+ , m_readerMutex(name, line, timeout)
, m_readerCount(0)
+ , m_starvationPreventer(name, line, timeout)
, m_writerSemaphore(1, 1)
+ , m_writerMutex(name, line, timeout)
, m_writerCount(0)
#endif
{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rjo...@us...> - 2016-04-18 17:12:45
|
Revision: 34781
http://sourceforge.net/p/opalvoip/code/34781
Author: rjongbloed
Date: 2016-04-18 17:12:43 +0000 (Mon, 18 Apr 2016)
Log Message:
-----------
Applied patch for #551 "Incorrect initialisation order in PTraceInfo; No output to syslog", thanks David Jaschuk
Modified Paths:
--------------
ptlib/branches/v2_16/src/ptlib/common/osutils.cxx
Modified: ptlib/branches/v2_16/src/ptlib/common/osutils.cxx
===================================================================
--- ptlib/branches/v2_16/src/ptlib/common/osutils.cxx 2016-04-18 16:58:08 UTC (rev 34780)
+++ ptlib/branches/v2_16/src/ptlib/common/osutils.cxx 2016-04-18 17:12:43 UTC (rev 34781)
@@ -654,9 +654,9 @@
if (m_rolloverPattern.IsEmpty())
m_rolloverPattern = DefaultRollOverPattern;
m_lastRotate = GetRotateVal(options);
+ m_thresholdLevel = level;
AdjustOptions(options, UINT_MAX);
OpenTraceFile(filename, level > 0);
- m_thresholdLevel = level;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rjo...@us...> - 2016-04-18 16:58:10
|
Revision: 34780
http://sourceforge.net/p/opalvoip/code/34780
Author: rjongbloed
Date: 2016-04-18 16:58:08 +0000 (Mon, 18 Apr 2016)
Log Message:
-----------
Fixed compiler warning.
Modified Paths:
--------------
ptlib/branches/v2_16/include/ptlib/osutil.inl
Modified: ptlib/branches/v2_16/include/ptlib/osutil.inl
===================================================================
--- ptlib/branches/v2_16/include/ptlib/osutil.inl 2016-04-18 12:59:06 UTC (rev 34779)
+++ ptlib/branches/v2_16/include/ptlib/osutil.inl 2016-04-18 16:58:08 UTC (rev 34780)
@@ -176,7 +176,7 @@
{ return PNEW PTime(*this); }
PINLINE PBoolean PTime::IsValid() const
- { return m_microSecondsSinceEpoch.load() > 46800000000; }
+ { return m_microSecondsSinceEpoch.load() > 46800000000LL; }
PINLINE PInt64 PTime::GetTimestamp() const
{ return m_microSecondsSinceEpoch.load(); }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rjo...@us...> - 2016-04-18 12:59:08
|
Revision: 34779
http://sourceforge.net/p/opalvoip/code/34779
Author: rjongbloed
Date: 2016-04-18 12:59:06 +0000 (Mon, 18 Apr 2016)
Log Message:
-----------
Update configure script
Modified Paths:
--------------
opal/branches/v3_16/configure
Modified: opal/branches/v3_16/configure
===================================================================
--- opal/branches/v3_16/configure 2016-04-18 12:48:47 UTC (rev 34778)
+++ opal/branches/v3_16/configure 2016-04-18 12:59:06 UTC (rev 34779)
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for OPAL 3.17beta1.
+# Generated by GNU Autoconf 2.69 for OPAL 3.16beta2.
#
#
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
@@ -577,8 +577,8 @@
# Identity of this package.
PACKAGE_NAME='OPAL'
PACKAGE_TARNAME='opal'
-PACKAGE_VERSION='3.17beta1'
-PACKAGE_STRING='OPAL 3.17beta1'
+PACKAGE_VERSION='3.16beta2'
+PACKAGE_STRING='OPAL 3.16beta2'
PACKAGE_BUGREPORT=''
PACKAGE_URL=''
@@ -1451,7 +1451,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures OPAL 3.17beta1 to adapt to many kinds of systems.
+\`configure' configures OPAL 3.16beta2 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1517,7 +1517,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of OPAL 3.17beta1:";;
+ short | recursive ) echo "Configuration of OPAL 3.16beta2:";;
esac
cat <<\_ACEOF
@@ -1698,7 +1698,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-OPAL configure 3.17beta1
+OPAL configure 3.16beta2
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2314,7 +2314,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by OPAL $as_me 3.17beta1, which was
+It was created by OPAL $as_me 3.16beta2, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -11205,6 +11205,8 @@
if test "x$OPAL_PLUGINS" = "xyes" ; then
subdirs="$subdirs plugins"
+else
+ touch plugins/plugin_config.mak plugins/plugin_config.h
fi
@@ -11764,7 +11766,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by OPAL $as_me 3.17beta1, which was
+This file was extended by OPAL $as_me 3.16beta2, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -11830,7 +11832,7 @@
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-OPAL config.status 3.17beta1
+OPAL config.status 3.16beta2
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rjo...@us...> - 2016-04-18 12:48:50
|
Revision: 34778
http://sourceforge.net/p/opalvoip/code/34778
Author: rjongbloed
Date: 2016-04-18 12:48:47 +0000 (Mon, 18 Apr 2016)
Log Message:
-----------
Merged revision(s) 34775 from opal/trunk:
Make sure output files are created when --disable-plugins in play so Makefile dependencies do not file all the time.
Modified Paths:
--------------
opal/branches/v3_16/configure.ac
Property Changed:
----------------
opal/branches/v3_16/
Index: opal/branches/v3_16
===================================================================
--- opal/branches/v3_16 2016-04-18 12:45:53 UTC (rev 34777)
+++ opal/branches/v3_16 2016-04-18 12:48:47 UTC (rev 34778)
Property changes on: opal/branches/v3_16
___________________________________________________________________
Modified: svn:mergeinfo
## -14,6 +14,6 ##
/opal/branches/v3_4:21060,21062,21088,21092,21111,21113,21115,21119,21143,21148,21151-21152,21155,21158,21184,21188,21253,21265-21266,21283-21284,21298,21300,21303,21307,21309,21311,21327,21331,21333,21359,21367,21369,21488,21556,21564-21565,21568,21570,21620,21625,21631,21748,21751,21756,21759,21761,21767,21770,22246,23044,23140,23143,23286
/opal/branches/v3_6:22169,22178,22184,22186,22197,22204,22216,22251,22253,22255,22258,22260,22291,22296,22300,22306,22308,22313,22319,22336,22353,22358,22436,22447,22449,22497,22511,22517,22519-22521,22527,22536,22538,22589,22596,22599,22617,22620,22622,22630,22640,22655,22675,22682,22726-22728,22730,22733,22738,22745-22746,22800,22820-22821,22842,22844-22845,22851,22853,22889,22896,22902,22904,22906,22918,22924,22928,22946,22965,22967,22976,22978,22980,22982,22994,23028,23123,23125-23126,23128,23157,23165,23173,23175,23183,23294,23341,23465,23467,23474,23521,23829,24346,24809
/opal/branches/v3_8:24025,24027,24029,24036,24038,24040,24042,24048,24050,24058,24061,24068,24071,24074,24076,24080,24082,24086-24087,24092,24099,24101,24105,24107,24109,24111,24114,24116-24117,24120-24121,24125,24127,24130,24132,24134,24138,24140,24144,24146,24148,24150-24151,24154,24156,24158,24162,24170,24218,24245,24257,24261,24340,24362-24363,24365,24369,24373,24422,24440,24442,24447,24489,24504,24506,24532,24536,24545,24547,24552,24554,24614,24678,24687,24699,24705,24775,24833,24861,24903,25146
-/opal/trunk:34112-34116,34118-34120,34122,34137-34139,34155-34156,34161-34165,34168,34170,34173,34177,34187-34190,34208,34218,34222,34237-34238,34246-34252,34269-34271,34281-34288,34297,34300,34303-34316,34333,34346,34365,34375,34377,34382-34384,34390,34393-34394,34399,34417-34421,34424,34430,34432,34435-34437,34440,34442,34455-34456,34480,34483-34484,34487-34488,34490-34491,34502-34503,34506,34588-34589,34718,34735,34746
+/opal/trunk:34112-34116,34118-34120,34122,34137-34139,34155-34156,34161-34165,34168,34170,34173,34177,34187-34190,34208,34218,34222,34237-34238,34246-34252,34269-34271,34281-34288,34297,34300,34303-34316,34333,34346,34365,34375,34377,34382-34384,34390,34393-34394,34399,34417-34421,34424,34430,34432,34435-34437,34440,34442,34455-34456,34480,34483-34484,34487-34488,34490-34491,34502-34503,34506,34588-34589,34718,34735,34746,34775
/ptlib/branches/v2_8:24136
/ptlib/trunk:20820
\ No newline at end of property
Modified: opal/branches/v3_16/configure.ac
===================================================================
--- opal/branches/v3_16/configure.ac 2016-04-18 12:45:53 UTC (rev 34777)
+++ opal/branches/v3_16/configure.ac 2016-04-18 12:48:47 UTC (rev 34778)
@@ -534,6 +534,8 @@
OPAL_SIMPLE_OPTION([plugins],[OPAL_PLUGINS], [plugin support])
if test "x$OPAL_PLUGINS" = "xyes" ; then
AC_CONFIG_SUBDIRS(plugins)
+else
+ touch plugins/plugin_config.mak plugins/plugin_config.h
fi
dnl Construct the plugins install path
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rjo...@us...> - 2016-04-18 12:45:55
|
Revision: 34777
http://sourceforge.net/p/opalvoip/code/34777
Author: rjongbloed
Date: 2016-04-18 12:45:53 +0000 (Mon, 18 Apr 2016)
Log Message:
-----------
Regenerate configure script
Modified Paths:
--------------
ptlib/branches/v2_16/configure
Modified: ptlib/branches/v2_16/configure
===================================================================
--- ptlib/branches/v2_16/configure 2016-04-18 12:44:31 UTC (rev 34776)
+++ ptlib/branches/v2_16/configure 2016-04-18 12:45:53 UTC (rev 34777)
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for PTLib 2.15alpha1.
+# Generated by GNU Autoconf 2.69 for PTLib 2.16beta2.
#
#
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
@@ -577,8 +577,8 @@
# Identity of this package.
PACKAGE_NAME='PTLib'
PACKAGE_TARNAME='ptlib'
-PACKAGE_VERSION='2.15alpha1'
-PACKAGE_STRING='PTLib 2.15alpha1'
+PACKAGE_VERSION='2.16beta2'
+PACKAGE_STRING='PTLib 2.16beta2'
PACKAGE_BUGREPORT=''
PACKAGE_URL=''
@@ -1602,7 +1602,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures PTLib 2.15alpha1 to adapt to many kinds of systems.
+\`configure' configures PTLib 2.16beta2 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1668,7 +1668,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of PTLib 2.15alpha1:";;
+ short | recursive ) echo "Configuration of PTLib 2.16beta2:";;
esac
cat <<\_ACEOF
@@ -1912,7 +1912,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-PTLib configure 2.15alpha1
+PTLib configure 2.16beta2
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2838,7 +2838,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by PTLib $as_me 2.15alpha1, which was
+It was created by PTLib $as_me 2.16beta2, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -7331,11 +7331,13 @@
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking checking if pragma implementation should be used" >&5
-$as_echo_n "checking checking if pragma implementation should be used... " >&6; }
-
gcc_version=`$CC -dumpversion`
if test "x$gcc_version" != "x" ; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: $CC version is $gcc_version" >&5
+$as_echo "$as_me: $CC version is $gcc_version" >&6;};
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking checking if pragma implementation should be used" >&5
+$as_echo_n "checking checking if pragma implementation should be used... " >&6; }
if test `echo $gcc_version | sed 's/\..*$//'` -lt 4 ; then
CPPFLAGS="$CPPFLAGS -DP_USE_PRAGMA"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
@@ -7343,9 +7345,18 @@
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking checking if bogus warning on strict aliasing" >&5
+$as_echo_n "checking checking if bogus warning on strict aliasing... " >&6; }
+ if test `echo $gcc_version | sed -e 's/^4\.//' -e 's/\..*$//'` -le 4 ; then
+ CPPFLAGS="$CPPFLAGS -Wno-strict-aliasing"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ fi
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: $CC version is $gcc_version" >&5
-$as_echo "$as_me: $CC version is $gcc_version" >&6;};
fi
@@ -19969,7 +19980,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by PTLib $as_me 2.15alpha1, which was
+This file was extended by PTLib $as_me 2.16beta2, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -20035,7 +20046,7 @@
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-PTLib config.status 2.15alpha1
+PTLib config.status 2.16beta2
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|