summaryrefslogtreecommitdiff
path: root/pjlib
AgeCommit message (Collapse)Author
2017-01-26Changed version to 2.6Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5550 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-24Misc (re #1945): Fixed compile warnings on Android 64bit platforms, e.g: ↵Nanang Izzuddin
dereferencing type-punned pointer, using uninitialized var. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5544 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-24Misc (re #1945): Automatically define macro PJ_ANDROID=1 on Android ↵Nanang Izzuddin
platforms (previously should be defined manually via config_site_sample.h or config_site.h). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5543 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-23Re #1900: Reintegrated works in UWP branch to trunk.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5539 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-23Close #1932: Support OpenSSL 1.1.0.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5537 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-19Re #1513: Applied the new API pj_pool_safe_release().Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5534 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-19Close #1513: Added pj_pool_safe_release() API.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5533 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-17Re #1945 (misc): move default setting of number of supported video device ↵Liong Sauw Ming
format to pjmedia-videodev config instead of config_site_sample, since not everybody will use the sample. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5524 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-11Re 1989: Implement pj_strtok()/pj_strtok() as a replacement to strtok().Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5520 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-10Re #1975: Riza Sulistyo
- Change autoconf detection in r5483 to compile time check. - Don't use tls1_ec_nid2curve_id()/tls1_ec_curve_id2nid() since they are not public API. Thanks to Alexander Traud for the suggestions. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5517 74dad513-b988-da41-8d7b-12977e46ad98
2016-12-19Misc (re #1945): Fixed various compile warnings.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5501 74dad513-b988-da41-8d7b-12977e46ad98
2016-12-07Fixed #1984: Remove the implementation of PJ_HASH_USE_OWN_TOLOWERLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5494 74dad513-b988-da41-8d7b-12977e46ad98
2016-11-17Fixed #1979: Add support to parse address string with scope IDLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5485 74dad513-b988-da41-8d7b-12977e46ad98
2016-11-16Re #1975: Add autoconf detection of OpenSSL elliptic curve and sigalg supportLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5483 74dad513-b988-da41-8d7b-12977e46ad98
2016-11-15Re #1961: Fallback to CLOCK_MONOTONIC if /dev/alarm is not found, or getting ↵Liong Sauw Ming
ANDROID_ALARM_ELAPSED_REALTIME fails. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5482 74dad513-b988-da41-8d7b-12977e46ad98
2016-11-14Re #1945 (misc): Disable local host resolution ↵Liong Sauw Ming
(PJ_GETHOSTIP_DISABLE_LOCAL_RESOLUTION) for macOS as well (instead of for iOS only). Please refer to #1342 for more details. Thanks to Jeff Anderson for the report and the fix. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5480 74dad513-b988-da41-8d7b-12977e46ad98
2016-10-27Fixed #1975: Add support to select elliptic curve and signature algorithm ↵Liong Sauw Ming
for TLS git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5472 74dad513-b988-da41-8d7b-12977e46ad98
2016-10-24Misc (re #1945): Avoid calling memchr() or memcpy() with NULL pointer ↵Nanang Izzuddin
(thanks Kal from the patch). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5468 74dad513-b988-da41-8d7b-12977e46ad98
2016-10-13Re #1969: Fix crash on using an already destroyed SSL socket.Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5459 74dad513-b988-da41-8d7b-12977e46ad98
2016-10-13Re #1945 (misc): Use localtime_r() instead of localtime() (if available) ↵Riza Sulistyo
since localtime() is not thread safe. This fixes a data race in pj_time_decode() which is called from multiple threads. Thanks to Kal (b17 c0de) for the patch. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5458 74dad513-b988-da41-8d7b-12977e46ad98
2016-10-10Re #1961: Updated Android pj_gettimestamp() implementation to use ↵Nanang Izzuddin
ANDROID_ALARM_ELAPSED_REALTIME. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5457 74dad513-b988-da41-8d7b-12977e46ad98
2016-10-06Fix #1961: Updated Android timestamp to use CLOCK_BOOTTIME (or ↵Nanang Izzuddin
ANDROID_ALARM_ELAPSED_REALTIME for older NDK version), to avoid suspended clock when CPU is in deep sleep. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5447 74dad513-b988-da41-8d7b-12977e46ad98
2016-10-05Re #1964: Implement QoS for darwin OS which supports SO_NET_SERVICE_TYPE.Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5445 74dad513-b988-da41-8d7b-12977e46ad98
2016-10-05Re #1963: Implement QoS for IPv6 for platform that supports IPV6_TCLASS.Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5444 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-18Misc (re #1945): Added PJ_HAS_IPV6 in pj_dump_config(), thanks Alexei ↵Nanang Izzuddin
Gradinari for the suggestion, also updated the year in copyright line. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5421 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-17Fixed #1953: Skip IPv6 socket in resolver on system without IPv6 support.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5420 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-02Re #1945 (misc): Set IPv6 sockets to be IPv6 onlyLiong Sauw Ming
Auto-detect in configure script if this option is supported, and if yes, Set IPv6 sockets to be IPv6 only. Thanks to Alexander Traud for the patch. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5403 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-21Changed version to 2.5.5-svnLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5396 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-21Changed version to 2.5.5Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5394 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-13Re #1928: Change the cipher on pjlib-test since DES_CBC_SHA might not beRiza Sulistyo
supported on newer openssl. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5381 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-05Misc (re #1928): Reverted back some dirty changes in r5376 about address ↵Nanang Izzuddin
info indexing. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5377 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-05Misc (re #1928): pj_getaddrinfo() is better to return error when no address ↵Nanang Izzuddin
is found, some codes in the library seem to expect pj_getaddrinfo() to behave this way. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5376 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-29Re #1930: Fixing stuck issue or server socket not closed after an incoming ↵Nanang Izzuddin
connection fails, e.g: due to no shared cipher, and timer heap is not set. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5367 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-15Re #1930: Revert back the change to comment do_handshake() in ↵Liong Sauw Ming
on_accept_complete() committed in r5343. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5344 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-14Re #1930: Fixed race condition when more than one thread try to close the ↵Liong Sauw Ming
same activesock. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5343 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-08Close #1930: Race condition in OpenSSL socketLiong Sauw Ming
A workaround to solve the race condition based on ticket #985. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5338 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-02Changed version to 2.5.1-svnRiza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5334 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-02Changed version to 2.5.1Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5332 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-01Re 1917(misc): Fix silly mistake on r5330.Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5331 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-01Re #1917(misc): Fix failed purity_test() on pjlib-test since getaddrinfo() ↵Riza Sulistyo
might return multiple addrinfo. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5330 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-31Re #1917 (misc): Fix failed pjlib-test when built using Visual Studio 2015 ↵Riza Sulistyo
caused by defined EINVAL with different string error. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5328 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-25Misc (re #1917): Disable ALSA audio device backend on BB10 in ↵Nanang Izzuddin
config_site_sample.h. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5320 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-25Fix #1925: pj_getaddrinfo() should invoke getaddrinfo() even when IP address ↵Nanang Izzuddin
is inputted, except on Windows Mobile platforms (see #458). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5319 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-25Re #1917 (misc): Suppress empty-body warning and "logical not is only ↵Liong Sauw Ming
applied to the left hand side of this comparison" warning git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5317 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-20Re #1917(misc): Fix tpipv6.h not found when enabling IPv6 on Visual Studio.Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5312 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-20Re #1922: Replace IPv4 specific APIs as per Apple's recommendationsLiong Sauw Ming
https://developer.apple.com/library/ios/documentation/NetworkingInternetWeb/Conceptual/NetworkingOverview/UnderstandingandPreparingfortheIPv6Transition/UnderstandingandPreparingfortheIPv6Transition.html#//apple_ref/doc/uid/TP40010220-CH213-SW27 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5311 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-13Re #1917 (misc): Fixed pj_getaddrinfo()'s CFHost version (such as on iOS) ↵Liong Sauw Ming
which may return truncated IP address if (af == PJ_AF_UNSPEC) and the address is of IPv6 family. Thanks to Johan Lantz for the fix. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5295 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-11Changed version to 2.5-svnNanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5294 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-11Changed version to 2.5Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5292 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-10Misc (re #1882): Fixed buffer size not sufficient when setting cipher list.Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5285 74dad513-b988-da41-8d7b-12977e46ad98