summaryrefslogtreecommitdiff
path: root/pjlib
AgeCommit message (Collapse)Author
2007-01-23Support for Visual Studio 2005 workspaceBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@898 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-23Fixed several compilation warnings with MSVCBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@897 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-22Give more useful information when assertion fails in pj_thread_this()Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@896 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-21Implement ticket #67: added WAV playlist feature to PJMEDIABenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@895 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-21Fixed gcc warnings, especially about dereferencing type-punned pointerBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@893 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-20Fixed ticket #70: Frame timestamp not propagated correctly in PJMEDIABenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@887 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-20Removed unusable and scary warning when ioqueue cannot write packet immediatelyBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@886 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-20Fix ticket #71: When host doesn't have any NIC interfaces, pj_gethostip() ↵Benny Prijono
should return 127.0.0.1 instead of error git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@885 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-18Ticket #66: fix broken compilation with gcc 2.9x.x or olderBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@884 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-16Fix compilation error when _CRT_SECURE_NO_DEPRECATE is already declared by ↵Benny Prijono
other project in pj/compat/cc_msvc.h git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@883 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-0964bit fix for pool.h (thanks HARDOUIN Briac)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@877 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-04Just updated and improved the doxygen documentations all over the placeBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@875 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-25In relation to ticket #49: fix support for recv() flags such as PJ_MSG_PEEK ↵Benny Prijono
and PJ_MSG_OOB etc git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@860 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-25Fixed ticket #49: When socket is signaled for readability, recv()/recvfrom ↵Benny Prijono
is called with flags set to zero. It should use the flags as specified when ioqueue_recv()/ioqueue_recvfrom() was called. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@859 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-02Fixed incorrect output path in PJLIBBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@844 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-01Changed critical section in os_core_unix.c to use recursive mutexBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@840 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-01Fixed ticket #29: calling pjsua_init() to reinitialize the whole libraries ↵Benny Prijono
after pjsua_destroy() is called git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@839 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-27Bumped up version to 0.5.9Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@835 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-25Print media statistic when call is disconnected in pjsua, to assist tracing ↵Benny Prijono
media problems git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@831 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-24Updated footprint script to include new stuffs such as echo canceller and ↵Benny Prijono
tone generator git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@826 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-23Fixed crash in IoCompletionPort during unregistration. Also remove ↵Benny Prijono
WSACleanup() from pj_shutdown() since it may not be a good idea (and for one thing it crashes with Invalid Handle exception) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@821 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-22Fixed pj_list_merge_last and pj_list_merge_firstBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@820 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-21Fixed thread_test in pjlib-test: the stack buffer for pj_thread_desc may ↵Benny Prijono
contain the previous registration values, causing the next pj_thread_register() to fail (tested on Linux FC4) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@817 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-21Added pj_shutdown() on os_core_unix.cBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@816 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-21Fixed handles leak upon program exit, by introducing pj_shutdown() and ↵Benny Prijono
pj_atexit(). Also fixed handle leaks in SIP transaction layer and SIP endpoint. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@815 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-21Fixed minor memory leak in caching pool (one malloc is not freed)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@809 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-11Committed what seems like what left uncommitted in previous commit ↵Benny Prijono
(pjsua_app.c and pj/config.c) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@798 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-01Fix compilation error with memchr() on VS2005Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@790 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-16Added logging in pjsua winceBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@774 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-13Fixed bug in static buffer based pool: thread local strorage leakageBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@768 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-13Fixed bug in log length calculation (null character was included) [thanks ↵Benny Prijono
Klaus Darilion] git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@767 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-11Fixed another typo in pj\types.h comment [thanks Tomasz Ostrowski]Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@764 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-09Fixed typos in pj_*int*_t's comments [thanks Tomasz Ostrowski].Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@758 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-08Major addition to support DNS SRV resolution in PJSIP:Benny Prijono
- added DNS asynchronous/caching resolver engine in PJLIB-UTIL (resolver.[hc]) - modified SIP resolver (sip_resolve.c) to properly perform DNS SRV/A resolution when DNS resolution is enabled. - added dns_test.c in PJSIP-TEST for testing the SIP resolver. - added nameserver configuration in PJSUA-LIB - added "--nameserver" option in PJSUA. - updated project/Makefiles and doxygen documentation. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@753 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-05Changed puts() to printf() in log_writer_stdout.c, since puts() introduced ↵Benny Prijono
extra newline. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@752 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-04Fixed compilation errors when threading is disabled (PJ_HAS_THREADS=0) and ↵Benny Prijono
safe ioqueue unregistration is disabled (PJ_IOQUEUE_HAS_SAFE_UNREG=0). Also increase PJ_IOQUEUE_MAX_HANDLES for minimum config to 16 in config_sample.h [thanks Olivier Gournet]. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@750 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-04Changed fputs() to puts() in log_writer_stdout.c, since it's suspected to ↵Benny Prijono
crash GUI applications. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@749 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-03Fixed bug in the hash table size calculation. The hash table creation API ↵Benny Prijono
(pj_hash_create()) suggests that the size should be 2^n-1, and when the size is not 2^n-1, it will be rounded-up to the nearest 2^n-1, except when the size is exactly 2^n, then it will be rounded-down to 2^n-1. The bug caused the hash table size to be doubled when application gives 2^n size (instead of rounding it down to 2^n-1). Nothing dangerous happened because of the bug, it just caused hash table size to be doubled the requirement. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@748 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-03Fixed minor error in pj_thread_is_registered() API. The return value should ↵Benny Prijono
be pj_bool_t instead of pj_status_t. (Note: this change should not break anything). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@746 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-30Added initial implementation of low-level DNS packetization Benny Prijono
and parsing functions in PJLIB-UTIL/dns.h. Errors codes added for DNS formatting related errors. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@745 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-25Version 0.5.8Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@739 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-22Updated doxygen documentation for the websiteBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@736 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-22Fixed few bugs that seem to have been introduced by new dialog Benny Prijono
locking algorithm: - Fixed crash in PJSUA-API when initiating client subscription - Fixed another crash in PJSUA-API when hanging-up call Also fixed SDP negotiator: - add a=inactive when rejecting media line Also increase maximum log size from 1500 to 2000 since some SIP packet is quite large. A little bit of Warning: ** THIS MAY AFFECT APPLICATION'S STACK USAGE ** git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@734 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-22In pjsua, outgoing REFER now always put Refer-Sub: falseBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@733 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-17Added pool for allocating memory from the stack bufferBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@725 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-14Applied temporary fix to error code returned by pj_gethostbyname(). Under ↵Benny Prijono
*nix, the error code is returned in h_errno, and the error string is reported by hstrerror(). But it is a bit too complex to support this for the moment, so we just return PJ_ERESOLVE for any failure returned by gethostbyname() git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@722 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-14Fix the local IP address resolution issue in PJSIP, PJMEDIA, and PJSUA, by ↵Benny Prijono
adding a new API pj_gethostip() to resolve the default local IP address of local host. This new function will work even when local hostname resolution is not set correctly, by detecting the default IP interface in the system. Also fix compile warnings in iLBC. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@721 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-14Fixed compilation error in Linux when the legacy configure is being used: ↵Benny Prijono
multiple declaration of socklen_t. Also does similar things with os_sunos, os_darwinos, and os_rtems git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@716 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-13SIP methods are now compared case-sensitively (previously it was ↵Benny Prijono
case-insensitive) because the standard says so. There's no ill effect of the old behavior, but it's still important that we do things according to what the standard says. Also a little change in string implementation (use memcmp() instead of strncmp()), an increase the version number from 0.5.7.6 to 0.5.7.7. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@713 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-12Fixed mutex leaking in Linux: pj_mutex_destroy() will fail to destroy the ↵Benny Prijono
mutex if the mutex is currently being held. Unfortunately it is quite common in the libraries to acquire the mutex first before destroying it, causing mutexes to leak. The solution is to retry unlocking/destroying the mutex several times (currently 4) while pthread_mutex_destroy() returns EBUSY git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@708 74dad513-b988-da41-8d7b-12977e46ad98