Commit Graph

279 Commits

Author SHA1 Message Date
Benny Prijono d6388acc29 Fix compilation error when PJSIP_AUTH_HEADER_CACHING and PJSIP_AUTH_AUTO_SEND_NEXT is disabled, and set the default for both to disabled. Also fixed the error message in pjsua when invalid arguments are specified.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@695 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-09 13:23:09 +00:00
Benny Prijono a3cbb1c4bb Yet another documentation/doxygen update
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@691 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-25 12:41:05 +00:00
Benny Prijono 97b87175bc Just updated doxygen documentation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@690 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-24 14:25:14 +00:00
Benny Prijono c4c61d0216 Finishing autoconf work, also fixed compilation error in publish.h
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@689 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-20 20:47:34 +00:00
Benny Prijono 3a5e1ab170 Support for PUBLISH (RFC 3903):
- API BREAK: pjsua_pres_create_uac() API CHANGED!! Added
  options in the function, to allow creating SUBSCRIBE without
  ";id=" parameter in the Event header.
- the generic event publication in pjsip-simple/publish.[hc]
- split PIDF and X-PIDF body generation and parsing into
  pjsip-simple/presence_body.c.
- allow NULL in module parameter in pjsip_endpt_add_capability()
- added "--publish" option in PJSUA.
- by default, PJSUA-LIB will not add ";id=" parameter in Event
  header in the SUBSCRIBE request since lots of server and
  user agents don't support this correctly.
- Set version to 0.5.7.6.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@685 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-15 20:26:34 +00:00
Benny Prijono d3296a5108 Fixed yet another bug for 64bit target: error in initializing caching pool because internal pool size is too small. Increased by 256 bytes.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@684 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-15 20:25:42 +00:00
Benny Prijono f862897cb8 Improved logging consistency and added more logging info in verbosity 6
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@675 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-12 13:58:56 +00:00
Benny Prijono d6b90f5082 Added pj_thread_is_registered
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@674 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-11 19:25:17 +00:00
Benny Prijono 0016d0c021 Increased width for sender column in log message, and added additional check in pj_thread_register()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@672 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-11 12:42:06 +00:00
Benny Prijono 411b2bef82 Removed copyright info from pj_timer_heap [hc], and explain more about ACE
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@669 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-10 08:45:17 +00:00
Benny Prijono fd27c6699a Changed WinCE demo app to automatically answer incoming calls.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@667 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-09 11:59:26 +00:00
Benny Prijono 7ca96da54f Added --auto-conf options in pjsua, also enable speex/3200, and set quality 5 to use large resampling filter
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@659 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-07 12:11:40 +00:00
Benny Prijono edba079f23 Echo suppressor tuning and testing on WincE, and also added config_site_sample.h
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@656 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-06 18:23:56 +00:00
Benny Prijono 8f9faaea40 Fixed complilation error in config.h for ARM target.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@647 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-04 17:18:37 +00:00
Benny Prijono d79f25c3aa Fix compilation error in MacOS because of recent changes in config.h, also disable AEC by default in pjsua-lib, and added ec-tail option in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@643 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-02 19:41:37 +00:00
Benny Prijono c4c8f24cb4 Fix PJLIB on WinCE:
- Added CPU and OS autodetection feature in config.h. 
  For target CPU type, now we don't need to specify PJ_M_*
  anymore.
- Fix stricmp_alnum() link error on WinCE
- Exclude error message test on WincE, since WinCE doesn't
  have full error reporting capability as Win32.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@640 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-01 23:01:55 +00:00
Benny Prijono d345a65007 Fixed bug in registring external thread: thread descriptor is not large enough because of recent enlargement on PJ_MAX_OBJ_NAME.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@636 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-31 15:10:36 +00:00
Benny Prijono e85bc4114b Another take at fixing 64bit problems. PJ_MAX_OBJ_NAME is increased to 32 chars (from 16), and check all those sprintf's especially the ones with "%p" format.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@635 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-29 20:29:24 +00:00
Benny Prijono 53c367748e Removed pj/compat/sprintf.h from MSVC workspace, also changed "make size" to calculate .bss and .data as well.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@634 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-29 11:15:34 +00:00
Benny Prijono a9b372ae96 Added initial implementation of autoconf script (aconfigure)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@625 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-24 02:07:11 +00:00
Benny Prijono 7db431e40c Added 64bit Linux target (x86_64), also fixed compilation warnings when compiling for this target
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@624 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-23 14:38:49 +00:00
Benny Prijono b699fe28f2 Improvement/bug fix in hash table lookup to allow user to specify the hash value, and modify transaction to take advantage of this feature
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@623 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-23 10:10:35 +00:00
Benny Prijono 92ac447ad2 Changed all public header files to compile correctly when -ansi and -pedantic is used, also when g++ is used
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@622 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-22 13:42:56 +00:00
Benny Prijono 399188f44c Increased version number to 0.5.7!
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@614 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-18 17:54:19 +00:00
Benny Prijono 2bbd710f64 Fixed several bugs related to TCP:
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@610 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-18 00:10:53 +00:00
Benny Prijono ceb12607c8 Attempt to get some applications linked for RTEMS target, just to get the footprint calculation working
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@604 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-14 15:20:00 +00:00
Benny Prijono 9c025ebd0a Fixed several bugs in WinNT IOCP: (1) accept() does not return correct addresses, (2) handle error condition when accept() returns -1 as the new socket
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@599 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-10 21:35:27 +00:00
Benny Prijono b4a17c942d Fixed bug in PJSUA API re: account selection and Contact header for accounts
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@597 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-10 14:40:21 +00:00
Benny Prijono c6e165f8d1 Added feature to report peak memory used in caching pool
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@594 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-09 10:05:46 +00:00
Benny Prijono 63ab356dbb Attempted to fix epoll for Linux
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@592 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-08 19:46:43 +00:00
Benny Prijono fe9c9b66b7 Fixed link errors in ioqueue epoll backend
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@590 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-06 20:43:07 +00:00
Benny Prijono 53e3ffdee3 Improve the search for correct size in caching pool
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@588 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-06 14:27:31 +00:00
Benny Prijono b6eab2cc6d Various performance improvements in PJSIP: (1) optimizing for common case to minimize stricmp() calls (header names, method, URI schemes), (2) added functionality in scanner to parse and unescape in-place, (3) etc..
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@583 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-03 22:08:47 +00:00
Benny Prijono ac623b3bca Change all pj_memset to pj_bzero(), where applicable
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@582 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-03 15:19:31 +00:00
Benny Prijono 1479b65e53 Fixed minor bug in pool_caching.c that prevent pool from being reused if the capacity has changed when the pool is released
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@581 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-03 14:18:17 +00:00
Benny Prijono 9df1d09d6d PJLIB will print the exception name when there is an unhandled exception
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@577 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-03 01:09:20 +00:00
Benny Prijono d28101325a In VC6 workspace, set PJLIB to use IoCompletionPort instead of select() on Release build
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@566 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-29 09:45:39 +00:00
Benny Prijono e93e287b5c Major improvements in PJSIP to support TCP. The changes fall into these categories: (1) the TCP transport implementation itself (*.[hc]), (2) bug-fix in SIP transaction when using reliable transports, (3) support for TCP transport in PJSUA-LIB/PJSUA, and (4) changes in PJSIP-TEST to support TCP testing.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@563 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-28 16:46:49 +00:00
Benny Prijono ae44a76dea Added PJ_INT64() and PJ_UINT64() macro to construct 64bit constants in portable manner
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@560 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-28 15:26:43 +00:00
Benny Prijono 01de33bed9 Fixed bug in ioqueue IOCP: accept() callback is called with new socket handle already reset to -1
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@559 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-28 15:23:18 +00:00
Benny Prijono 0e25e7c36f Fixed bug in sockaddr_in: the sin_zero part of the sockaddr_in is not zeroed, causing SIP transport hash table to behave erraticly
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@557 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-28 11:10:02 +00:00
Benny Prijono 9f0a523919 Added OSERR_ENOTCONN to compat/socket.h
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@553 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-26 10:03:09 +00:00
Benny Prijono 522cd2988b Added Winsock error code to the error message
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@552 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-26 10:02:28 +00:00
Benny Prijono 67b0d6209f Minor fix to doxygen documentation to ioqueue.h
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@548 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-23 15:03:04 +00:00
Benny Prijono 402125864f Fixed bug: ioqueue should return error when send()/sendto() is called while previous operation on the same op_key has not finished
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@536 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-22 18:41:28 +00:00
Benny Prijono 7eaa0fd360 Added the error code into error messages
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@534 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-22 18:30:13 +00:00
Benny Prijono 6e996dd648 Set log message level to error (=1) when message is too long
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@522 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-19 12:08:27 +00:00
Benny Prijono 312aff9600 Modifications all over the place, but mainly only to update Doxygen documentation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@515 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-17 04:08:30 +00:00
Benny Prijono 294c2533fd Fixed pjlib doxygen documentation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@514 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-16 16:52:51 +00:00
Benny Prijono c78c3a3544 Optimizations mostly in the conference bridge (gained more than 3x faster)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@513 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-16 15:54:43 +00:00
Benny Prijono d841053682 Cleanup misc compilation warnings with gcc
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@509 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-15 11:04:33 +00:00
Benny Prijono eebe9af098 -- REWRITE OF PJSUA API --
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@503 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-13 22:57:13 +00:00
Benny Prijono ba063626cf Changed codec priority to use integer with value between 0-255 instead of enum
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@497 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-11 23:19:43 +00:00
Benny Prijono ab668ed1b7 Added "#undef s_addr" in sock.h to fix build error on some Windows platforms
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@484 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-01 11:38:40 +00:00
Benny Prijono 0c59feaf87 Added README-RTEMS and tweaked the makefiles
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@477 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-27 13:11:32 +00:00
Benny Prijono 385153d476 Cleanup warnings with MSVC 2003
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@472 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-24 10:25:34 +00:00
Benny Prijono 1ae7945e84 Fixed MacOS X build
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@468 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-21 23:20:54 +00:00
Benny Prijono 4100342690 Removed VSS traces from .dsp files
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@458 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-19 21:06:04 +00:00
Benny Prijono cdf3c11519 Changed PJ_ASSERT_RETURN to evaluate the expression in the pj_assert, so that the message is displayed when the program stops
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@456 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-19 15:54:09 +00:00
Benny Prijono 0c38badf16 Fixed broken make on Linux etc because of missing os_timestamp_linux.c (was renamed to os_timestamp_posix.c)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@447 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-16 12:33:52 +00:00
Benny Prijono ed8c0fc17f Changed default sound back-end on Win32 to own DirectSound
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@445 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-14 21:29:53 +00:00
Benny Prijono 8befd9fe99 Another major modifications in PJMEDIA:
- handle multiple frames in one packet
- split stream creation into two steps to allow customization
- PLC framework and implementation with G.711 and speex
- stream returns NO_FRAME correctly.
- added ptime argument in pjsua



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@438 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-13 22:46:23 +00:00
Benny Prijono 8845e2a767 Removed rwmutex implementation to os_rwmutex.c
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@434 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-11 10:33:19 +00:00
Benny Prijono 42c5b9e200 Merge-in RTEMS port patch by Phil Torre <ptorre@zetron.com>, alpha release.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@433 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-10 19:24:40 +00:00
Benny Prijono 0382cd8135 Updated Makefiles, defined $TARGET as shortcut for ($MACHINE_NAME-$OS_NAME-$CC_NAME)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@431 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-04 08:43:02 +00:00
Benny Prijono 1d8d6087c1 Fixed bug in event subscription when it is challenged/authenticated
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@424 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-29 12:38:25 +00:00
Benny Prijono c67cbde997 Released version 0.5.5
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@423 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-29 10:03:39 +00:00
Benny Prijono b8c251830a Improve codec handling in pjsua cmd-line options, and add URI to call
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@422 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-29 08:31:09 +00:00
Benny Prijono b9cd54e3d0 Increase the maximum number of formats in SDP media line (from 16 to 32)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@419 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-28 15:37:12 +00:00
Benny Prijono dca7a3365e Set version to 0.5.4.11
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@418 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-28 15:17:01 +00:00
Benny Prijono c850d8107a Set pjproject version to 0.5.4.10
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@400 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-09 17:31:53 +00:00
Benny Prijono e2eea447d0 Added experimental code to handle QueryPerformanceCounter leaping bug on Win32
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@396 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-09 10:37:09 +00:00
Benny Prijono 2a81634f62 Don't use rdtsc for high res timestamp on Linux as it's highly inaccurate (for now)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@387 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-05 19:04:34 +00:00
Benny Prijono 4fda1ebb07 Added timestamp frequency accuracy test in pjlib-test
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@386 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-05 18:42:13 +00:00
Benny Prijono 5accbd0457 Fixed race condition bug in ioqueue unregistration for select and Win32 IOCP backend
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@365 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-30 16:32:18 +00:00
Benny Prijono 8508aa0ce4 Added ability to have custom pool backend (needed for pool debugging facility)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@364 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-30 15:56:01 +00:00
Benny Prijono ac52df49f1 Fixed bug in ioqueue: crashed when key is unregistered while another thread is running a callback
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@363 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-25 10:06:00 +00:00
Benny Prijono c8c4d1ef96 Added byte order swapping utilities
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@362 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-24 20:45:22 +00:00
Benny Prijono 03fefff190 Fixed build error on Linux
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@356 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-23 22:06:20 +00:00
Benny Prijono dcf299626b Set default option to exclude pj_stricmp_alnum()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@354 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-23 18:03:40 +00:00
Benny Prijono 2cab3a5943 Added a little more threading test and put more info in ioqueue test log
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@351 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-22 19:08:19 +00:00
Benny Prijono 8d317a0c67 Fixed bug in ioqueue with IO Completion Port backend, where events may still be called after key is unregistered
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@349 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-22 11:49:19 +00:00
Benny Prijono 7a4cf159ef Added pj_inet_addr2()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@348 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-22 11:48:33 +00:00
Benny Prijono 6908edd0e2 Fixed build error on mingw
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@345 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-20 20:57:51 +00:00
Benny Prijono e67d99a58a Ported pjlib to PowerPC/MacOS
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@338 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-20 12:39:24 +00:00
Benny Prijono 11852996f5 Fixed or added misc flags to enable build selection via compile time macro
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@331 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-18 12:28:03 +00:00
Benny Prijono 3ba816ebd0 Added option to disable error message altogether, to save space footprint
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@330 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-18 12:26:55 +00:00
Benny Prijono b8f63d6f05 Added <stdio.h> in this file
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@326 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-17 17:59:16 +00:00
Benny Prijono 4381efe1db Added misc flags and modify Makefiles to allow exclusion of PortAudio and specific codec during compilation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@320 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-16 14:24:26 +00:00
Benny Prijono ed811d7b04 Fixed compilation and run warnings/errors with MSVC 2005
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@315 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-10 12:57:12 +00:00
Benny Prijono edb566ca95 Updated MSVC projects to use os_time_win32.c, as os_time_ansi.c caused problems in VC2005
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@313 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-09 10:21:30 +00:00
Benny Prijono 8a02d01537 Version 0.5.4 (web release)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@307 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-07 15:15:19 +00:00
Benny Prijono 45a5ff22af Fixed bug in writing log when pj_init() is called
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@304 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-06 16:25:30 +00:00
Benny Prijono 247fd9e22b Added version info on pj_init()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@298 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-06 15:13:51 +00:00
Benny Prijono c0dcc6370b Tested Speex codecs (narrowband, wideband, ultrawideband)!
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@294 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-06 13:36:38 +00:00
Benny Prijono 6aa5c2a83f Added PJ_EEOF in pjlib errno.h
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@289 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-05 13:37:41 +00:00
Benny Prijono d081350ef2 Fixed Speex warnings, and set version to 0.5.3.1
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@279 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-05 07:54:08 +00:00
Benny Prijono d2e84d50be Fixed compilation warnings and errors in pjsip-perf
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@271 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-02 21:26:09 +00:00
Benny Prijono 942452ba36 Added pj_strdup2_with_null
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@263 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-02 21:12:28 +00:00
Benny Prijono 6492081bc7 Fixed bug in timer, where poll() can return negative time, causing havoc with other polling function that depends on the value
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@251 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-01 19:27:06 +00:00
Benny Prijono 09413ca1df Temporary fix: added sleep() when epoll returns non-zero while no descriptor is actually set!
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@244 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-27 23:52:06 +00:00
Benny Prijono e1a3de544e Fixed warning about _WIN32_WINNT redefined when compiled on Mingw
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@239 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-27 00:39:44 +00:00
Benny Prijono cb0758a3b6 Fixed bug pj_thread_register() when same thread is re-registered with different descriptor
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@233 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-26 21:20:52 +00:00
Benny Prijono c8322f372d Added mutex protection for caching pool
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@232 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-26 21:18:42 +00:00
Benny Prijono 1eaeb7d6ee Version 0.5.1.3
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@231 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-25 21:17:07 +00:00
Benny Prijono 8c715611b6 Synched with documentation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@228 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-25 02:04:42 +00:00
Benny Prijono 64f851ea57 Added support for NULL frame in rtp stream, fixed bugs here and there in INVITE (e.g. dont send SDP on 180), and set version to 0.5.1.2
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@223 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-23 13:49:28 +00:00
Benny Prijono b2343c79bb Register pjlib-util errno, and update pjlib version
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@218 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-22 22:12:16 +00:00
Benny Prijono c5784c1b4a Added pj_ansi/native/unicode_snprintf, and added comment in errno.h
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@206 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-21 23:40:16 +00:00
Benny Prijono f80b1bf19e Fixing Makefiles for the new pjmedia-codec and pjsip-simple libraries
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@198 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-19 02:24:27 +00:00
Benny Prijono a915cd1a83 Added assert in timer if entry is scheduled more than once
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@193 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-19 01:28:55 +00:00
Benny Prijono a5f4ff2b39 Added pj_list_size()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@192 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-19 01:28:21 +00:00
Benny Prijono ace0093c22 Changed the unicode string API and ported to ARM/WinCE
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@182 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-14 21:04:47 +00:00
Benny Prijono 6139641e5a Changed the unicode functions
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@181 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-14 21:03:15 +00:00
Benny Prijono 5a9091c374 Added pj_strcat2
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@180 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-14 20:59:53 +00:00
Benny Prijono 9c43b2bd0c Changed PJ_ASSERT_RETURN implementation, to prevent expr from being evaluated twice
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@161 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-08 22:45:21 +00:00
Benny Prijono 3643cc281c Fixed compilation error in ioqueue_epoll when TCP is disabled
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@158 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-08 11:25:21 +00:00
Benny Prijono 3d3273034d Fixed build errors when PJ_OS_HAS_CHECK_STACK or PJ_HAS_TCP is disabled
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@153 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-08 11:14:03 +00:00
Benny Prijono 8054de09b0 Implement rwlock for Linux
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@150 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-07 22:17:55 +00:00
Benny Prijono 37685d55e8 Fixed warning about isblank() redefinition on cygwin
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@143 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-07 19:02:30 +00:00
Benny Prijono ccf9562ebf Tested initial implementation: basic UAC, client registration, authentication, etc
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@141 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-07 18:48:01 +00:00
Benny Prijono d47401e27e Added PJ_ERR_MSG_SIZE in errno.h and updated VC7 project files
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@138 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-07 12:32:59 +00:00
Benny Prijono 7d433ecd6c Added gcov-report build target and fixed bug in string test under gcov
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@136 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-03 15:23:28 +00:00
Benny Prijono dcc2952edd Added framework for attaching custom error message handler
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@128 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-02 19:15:03 +00:00
Benny Prijono 40f2f64536 Finished implementation of UA layer (to be tested)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@127 74dad513-b988-da41-8d7b-12977e46ad98
2006-01-30 18:40:05 +00:00
Benny Prijono 37e8d3397b Completed testing for WinCE port
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@126 74dad513-b988-da41-8d7b-12977e46ad98
2006-01-20 21:03:36 +00:00
Benny Prijono 9cf138e9d3 Initial, quick and dirty WinCE port with EVC4
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@125 74dad513-b988-da41-8d7b-12977e46ad98
2006-01-19 03:58:29 +00:00
Benny Prijono bb80436f5a Updated VisualC++ 7 projects
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@124 74dad513-b988-da41-8d7b-12977e46ad98
2006-01-19 00:04:51 +00:00
Benny Prijono ac9d142655 Fixed minor warnings/mismatched comments mainly in pjlib++
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@122 74dad513-b988-da41-8d7b-12977e46ad98
2006-01-18 23:32:27 +00:00
Benny Prijono 8220f90610 Fixed bugs and added tests to handle NULL and zero length strings
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@118 74dad513-b988-da41-8d7b-12977e46ad98
2006-01-09 17:20:59 +00:00
Benny Prijono 30a48c61f7 Timer heap checks if callback is NULL
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@114 74dad513-b988-da41-8d7b-12977e46ad98
2006-01-08 23:55:09 +00:00
Benny Prijono c81dfef6b0 Changed loggin to level 6 (from 5)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@108 74dad513-b988-da41-8d7b-12977e46ad98
2006-01-07 18:41:22 +00:00
Benny Prijono fa73e3e159 Added loop transport to test transaction
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@107 74dad513-b988-da41-8d7b-12977e46ad98
2006-01-05 23:35:46 +00:00
Benny Prijono 0ca04b62f6 Basic module, transport, and sending messages
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@106 74dad513-b988-da41-8d7b-12977e46ad98
2005-12-30 23:50:15 +00:00
Benny Prijono f81cd06b8b Modify transport to use generic sockaddr address
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@105 74dad513-b988-da41-8d7b-12977e46ad98
2005-12-26 12:52:19 +00:00
Benny Prijono e986c8c183 Win32 IOCP ioqueue calls multiple connect completion on a single poll
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@83 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-25 10:54:54 +00:00
Benny Prijono af12bfcc65 Fixed unused arg warning when logging is disabled
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@78 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-23 11:23:12 +00:00
Benny Prijono cec5f4ae2c More optimizations for msg parser etc.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@77 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-22 23:51:50 +00:00
Benny Prijono 33723ce705 Added more info for pj_dump_config
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@75 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-22 01:05:59 +00:00
Benny Prijono a7944bb257 Added pj_stricmp_alnum() to speedup the parser!!!
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@72 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-21 17:01:50 +00:00
Benny Prijono 4f2be314a1 Fixed MSVC compilation warnings in release build
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@71 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-21 17:01:06 +00:00
Benny Prijono 99683ae5d6 Added rdtsc option for win32 timestamp and added pj_elapsed_msec
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@70 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-21 16:59:47 +00:00
Benny Prijono d493480140 Small optimization in pool (removed used_size)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@69 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-21 16:58:03 +00:00
Benny Prijono d0d44f51be Changed syntax to support Windows SEH
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@68 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-21 16:57:02 +00:00
Benny Prijono 9033e31911 Set svn:eol-style for all files
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@66 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-21 02:08:39 +00:00
Benny Prijono 5dcb38d909 Set svn:eol-style property
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@65 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-21 01:55:47 +00:00
Benny Prijono e9ed389fd1 Added hex character conversion utility in ctype
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@62 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-20 19:55:42 +00:00
Benny Prijono 73f7133826 Added PJ_IOQUEUE_ALWAYS_ASYNC flag
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@55 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-19 13:19:28 +00:00
Benny Prijono e0312a7f30 Pretty comments
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@51 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-18 00:16:43 +00:00
Benny Prijono e722461aef Applying license to pjproject
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@49 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-13 19:40:44 +00:00