Commit Graph

531 Commits

Author SHA1 Message Date
Benny Prijono 37fc9de7fd Fixed build error on FreeBSD (cannot use <netinet/ip.h> if <netinet/in_systm.h> is not included)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2190 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-04 14:45:02 +00:00
Benny Prijono bd344ff0ba Added new active socket API's to specify application buffers in start_read() and start_recv() functions
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2187 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-04 09:59:02 +00:00
Benny Prijono 417d6054a7 Initial work for ticket #579: added option to make the active socket sends all the (TCP) data before calling completion callback
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2185 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-29 20:15:15 +00:00
Benny Prijono 901a2c3f8d Added PJ_LOG_HAS_LEVEL_TEXT logging flag to display the log verbosity level (thanks Ondrej Sterbak for the patch)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2181 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-28 21:15:04 +00:00
Benny Prijono 1dd5420a03 Fixed linking errors in pjnath when TCP is disabled in PJLIB
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2177 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-25 10:45:34 +00:00
Benny Prijono 6ee5fb133e pj_strtoul() should stop the conversion as soon as it finds a non-digit character in the input
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2169 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-23 13:26:33 +00:00
Benny Prijono b726d268a6 Fixed build error with some Mingw configuration related to socklen_t
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2160 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-19 18:05:04 +00:00
Benny Prijono d6e362a2b5 Ticket #571: Coloring for logs in Linux/UNIX, two more spaces in logs and runtime log colors configuration (thanks Ondrej.Sterbak)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2159 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-19 17:53:47 +00:00
Benny Prijono 40032fd449 More ticket #559: added PJ_POOL_SIZE macro in pool_alt.h to make it work with some pjlib-test files
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2137 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-14 16:48:13 +00:00
Benny Prijono d7c6d050a5 Ticket 559 (minor): Update the pool alternative API (pool_alt.h) with the latest pool API
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2123 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-12 09:31:34 +00:00
Benny Prijono 90cc76e9ac Fixed gcc function is not a prototype warnings
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2121 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-11 00:56:07 +00:00
Benny Prijono 1d6b8955c6 Configuration option to include/exclude loopback interface in enum_ip_interface(), and always include loopback address in the proxy sample (thanks Filippo Zangheri for the suggestion)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2112 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-07 21:31:02 +00:00
Benny Prijono 32177c0418 Large changeset to replace all occurences of year 2007 with 2008 in the copyright notice
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2039 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-20 22:44:47 +00:00
Benny Prijono 5b64b8df4b Updated doxygen documentations
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2037 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-20 21:39:02 +00:00
Benny Prijono ba5d8e06b1 Clarified in the pj_create_random_string() comment that the output string is not NULL terminated
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2030 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-19 13:49:20 +00:00
Nanang Izzuddin 9dbad15b00 Updated default speex quality settings and reenabled pjsua to set Speex codec quality based on media quality config
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2004 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-10 18:56:10 +00:00
Benny Prijono ea8e436fe1 More ticket #531: added user_data parameter in activesocket creation API to make it more robust against programming errors
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1986 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-06 14:12:23 +00:00
Nanang Izzuddin 6a6392f927 More ticket #61: enabled SRTP on Symbian
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1979 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-02 18:30:15 +00:00
Nanang Izzuddin 1ec45bf00a Added another WSOLA implementation, PJMEDIA_WSOLA_IMP_WSOLA_LITE, this is used by small devices by default (replacing PJMEDIA_WSOLA_IMP_NULL)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1971 74dad513-b988-da41-8d7b-12977e46ad98
2008-05-30 11:24:37 +00:00
Nanang Izzuddin 829ac0206e Changed build optimizations settings for Speex, pjmedia, and symbian_sound for Symbian. Speex/8000 now also runs on Symbian!
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1965 74dad513-b988-da41-8d7b-12977e46ad98
2008-05-27 00:24:26 +00:00
Nanang Izzuddin 2d4ee7d379 More on ticket #535: updated files using and related to math.h
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1961 74dad513-b988-da41-8d7b-12977e46ad98
2008-05-17 14:54:18 +00:00
Nanang Izzuddin 415fc6fedf Ticket #535: added initial source of math.h
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1960 74dad513-b988-da41-8d7b-12977e46ad98
2008-05-17 14:43:46 +00:00
Benny Prijono b58b3e420e Modified pj_list_size() to take const argument instead
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1958 74dad513-b988-da41-8d7b-12977e46ad98
2008-05-16 13:27:46 +00:00
Benny Prijono 4bac2c1389 Implement ticket #531: active socket abstraction to make ioqueue programming easier
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1953 74dad513-b988-da41-8d7b-12977e46ad98
2008-05-11 18:12:16 +00:00
Benny Prijono 842754c26e Added pj_sockaddr_cp()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1952 74dad513-b988-da41-8d7b-12977e46ad98
2008-05-11 18:11:32 +00:00
Benny Prijono 93713fb585 Added nios2 processor settings PJLIB in config.h (thanks F)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1949 74dad513-b988-da41-8d7b-12977e46ad98
2008-05-07 13:28:06 +00:00
Benny Prijono 6780ae0251 More ticket #497: added configuration to disable WSOLA and set default to disabled on WinCE and Symbian
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1941 74dad513-b988-da41-8d7b-12977e46ad98
2008-04-23 16:07:37 +00:00
Benny Prijono 36922711b4 Removed setting PJ_IOQUEUE_HAS_SAFE_UNREG to zero in config_site_sample.h as it is currently not supported
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1911 74dad513-b988-da41-8d7b-12977e46ad98
2008-04-07 13:25:49 +00:00
Benny Prijono a95e929199 Changed PJ_IOQUEUE_MAX_HANDLES count when PJ_CONFIG_MINIMAL_SIZE is set from 16 to 32 as it caused assertion in sock_select.c on Maemo
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1910 74dad513-b988-da41-8d7b-12977e46ad98
2008-04-07 13:16:02 +00:00
Benny Prijono 9969d18114 Ticket #520: Race condition may cause ioqueue corruption (thanks Philippe Leuba)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1905 74dad513-b988-da41-8d7b-12977e46ad98
2008-04-02 18:36:35 +00:00
Benny Prijono 7ffd7752fd Ticket #507: committed and tested g722 patch on Windows
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1870 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-17 14:07:53 +00:00
Benny Prijono 6111193217 Added missing PJ_INT64() macro for Symbian compilers
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1858 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-11 13:38:37 +00:00
Benny Prijono 8f7adf70cf Ticket #500: Added function to set thread priority in PJLIB
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1841 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-04 14:45:19 +00:00
Benny Prijono 8389c31c97 Ticket #412: increased randomness of guid_simple.c to 192-bits, and seed random number generator in pjsua_core.c
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1815 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-21 21:36:34 +00:00
Benny Prijono 57affd0332 Build error when PJ_IOQUEUE_MAX_HANDLES is declared to large value on Visual Studio (thanks Truong Thanh Quang)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1803 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-18 12:22:15 +00:00
Benny Prijono 0e2c646639 Ticket #475: ported GSM codec to Symbian OS
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1793 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-14 13:39:24 +00:00
Benny Prijono e3f79fd62c Ticket #474: option in ioqueue to control concurrency (to allow/disallow simultaneous/multiple callback calls)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1789 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-13 15:17:28 +00:00
Benny Prijono 40fe908e12 More ticket #472: Fixed problem when building on Mingw. Now PJ_FD_SETSIZE_SETABLE is only enabled when winsock.h is present
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1788 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-08 15:21:41 +00:00
Benny Prijono c2e348130d More ticket #470: semaphore got disabled on Mingw because semaphore.h is not present
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1787 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-08 15:18:20 +00:00
Benny Prijono aa99eef0c4 Related to ticket #61: disable SRTP on Symbian while it is not ported yet
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1784 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-08 08:49:24 +00:00
Benny Prijono 1c5f4e479e Ticket #470, #471, and #472: Compile error when semaphore.h is not present, Compilation error if pthread_mutexattr_set_type() is not present, and Problem with setting up FD_SETSIZE
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1783 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-07 13:11:39 +00:00
Benny Prijono bc2219bc48 Added pj_strstr() and pj_stristr() in pjlib
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1757 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-26 10:45:52 +00:00
Benny Prijono a7b376bc7c Fixed doxygen comments everywhere
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1748 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-25 16:06:33 +00:00
Benny Prijono 1d481ab125 More ticket #61: SRTP will try to use /dev/urandom as RNG if fcntl.h and unistd.h is present. If it fails, it will fallback to using rand()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1738 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-24 15:27:30 +00:00
Benny Prijono fdafd40578 Merged from SRTP branch: added stdint.h header detection in autoconf. Result is in PJ_HAS_STDINT_H macro
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1729 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-23 14:34:46 +00:00
Benny Prijono 22e6832b94 Tweak config_site_sample.h for Symbian
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1650 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-02 07:57:23 +00:00
Benny Prijono 467edf0aea Added PJ_OS_HAS_CHECK_STACK default configuration in pjlib/config.h, at least to document it in doxygen
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1649 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-02 07:56:38 +00:00
Benny Prijono 5df8bb65f0 Ticket #435: Fixed and tested audio on Symbian device
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1641 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-28 18:55:02 +00:00
Benny Prijono ab168dd878 Add doxygen comment in pj_log_func() to inform that the data is NULL terminated
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1627 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-12 14:06:31 +00:00
Benny Prijono 40c2633fc6 More ticket #415: Added pj_sockaddr_cmp(), pj_sockaddr_copy_addr(), and pj_sockaddr_print()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1613 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-03 14:33:39 +00:00
Benny Prijono 1d65f70709 Fixed IP interface enumeration Linux to work with IPv6 (see ticket #415)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1612 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-03 04:03:17 +00:00
Benny Prijono 7ebdb3e3ba Fixed compilation errors/warnings on Linux with the recent IPv6 commits
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1611 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-03 00:40:58 +00:00
Benny Prijono 80025dbdb8 More ticket #415: Added pj_sockaddr_get_len() and pj_inet_ntop2(), and fixed Symbian combilation warnings with gcce
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1608 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-02 15:36:46 +00:00
Benny Prijono 62b86ebd8f More ticket #415: more IPv6 and some reorganization of the source codes
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1601 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-01 08:52:57 +00:00
Benny Prijono 4c8fb53749 Fixed pj_gethostip() returns 0.0.0.0. Also how it returns the first interface if else fails
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1599 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-26 05:36:18 +00:00
Benny Prijono 31ff4d3ed1 Added information about building pjsip as DLL in the doxygen documentation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1595 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-23 03:49:20 +00:00
Benny Prijono 83c3897fa0 Ticket #417: added pjlib API to retrieve the native thread handle from pj_thread_t
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1589 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-21 14:12:01 +00:00
Benny Prijono c16c6e34ae Ticket #415: implement IPv6 support in PJLIB
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1585 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-18 14:53:47 +00:00
Benny Prijono 0ae59ae610 Ticket #414: Implement IP interface enumeration on Linux/Unix with SIOCGIFCONF ioctl() call to a socket
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1584 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-17 10:27:34 +00:00
Benny Prijono 225b22252a Fixed bug in PJ_DECL_NO_RETURN macro which prevents building libraries as DLL
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1581 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-16 03:49:01 +00:00
Benny Prijono ccc313c6ef Updated doxygen documentation to 0.8.0
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1580 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-12 13:56:41 +00:00
Benny Prijono e285e05e72 Changed version to 0.8.0
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1576 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-11 09:00:22 +00:00
Benny Prijono 337fb5e986 Fixed warnings in PJLIB string_i.h about variable may not get initialized
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1527 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-26 09:02:28 +00:00
Benny Prijono 7d3e12c860 Ticket #403: Ability to specify RConnection instance etc in PJLIB Symbian
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1525 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-26 05:25:35 +00:00
Benny Prijono 19a351710a Fixed build warnings/errors for Symbian target
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1504 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-17 06:21:44 +00:00
Benny Prijono 4ab9fbbd57 Ticket #399: Initial implementation of tool to perform NAT type detection/classification
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1495 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-12 12:14:27 +00:00
Benny Prijono 1f7767b66e Ticket 5: Support for SIP UPDATE (RFC 3311) and fix the offer/answer negotiation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1469 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-03 18:28:49 +00:00
Benny Prijono 2501e1345a Ticket #382: Updated ICE from draft-ietf-mmusic-ice-14 to ice-18 specification, and also done some other tweaks as well
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1450 74dad513-b988-da41-8d7b-12977e46ad98
2007-09-24 19:46:41 +00:00
Benny Prijono 1f61a8f8af Ticket #354: continuing work to port the Symbian libraries to .DSO format
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1417 74dad513-b988-da41-8d7b-12977e46ad98
2007-08-16 10:11:44 +00:00
Benny Prijono d51a37a496 Continue work on ticket #354: changed pjlib-util and pjnath libraries to .DSO (DLL) in Symbian
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1410 74dad513-b988-da41-8d7b-12977e46ad98
2007-07-28 02:44:55 +00:00
Benny Prijono 8ab968fd0d Ticket #354: build PJLIB as dynamic libraries (.DSO) in Symbian
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1405 74dad513-b988-da41-8d7b-12977e46ad98
2007-07-20 08:08:30 +00:00
Benny Prijono 18a051b8c0 Fixed ticket #348: various bugs in string comparison functions
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1397 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-28 00:50:10 +00:00
Benny Prijono aae2b1cab1 Implement ticket #315: ability to override pj_assert()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1334 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-01 09:58:57 +00:00
Benny Prijono ba4abc9de1 Implement ticket #314: Added PJ_SAFE_POOL configuration in PJLIB to track down memory corruptions
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1333 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-01 07:26:21 +00:00
Benny Prijono 17e58ed63a Fixed ticket #304: Memory alignment error for hash entry buffer causing crash on ARM (thanks ChenHuan)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1307 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-28 11:49:46 +00:00
Benny Prijono 4e48b516da Fixed ticet #277: GUID generation cannot generate more than 2^16 unique numbers (thanks Igor Sobinov)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1282 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-16 13:41:00 +00:00
Benny Prijono 06ac3cf05b Define PJSIP_SAFE_MODULE=0 for Symbian
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1270 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-12 16:38:06 +00:00
Benny Prijono a0c8b5cef4 Symbian fixes to compile on GCCE (nested callbacks etc)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1269 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-12 15:03:23 +00:00
Benny Prijono 14d3f411c6 Added null_audio project for Symbian
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1253 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-04 15:12:42 +00:00
Benny Prijono b2c9682de8 Implemented ticket #246, #247, #261, #268, #250 for Symbian
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1246 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-03 13:31:21 +00:00
Benny Prijono 72a81aad63 More Symbian fixes
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1245 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-02 23:06:11 +00:00
Benny Prijono 5d54264893 Errno and memory size tweaking for Symbian
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1244 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-02 18:54:19 +00:00
Benny Prijono ba5926a822 PJSUA-LIB was ported to Symbian and added simple Symbian app. Testing follows
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1242 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-02 11:29:37 +00:00
Benny Prijono 5feee2eb30 PJSDP port to Symbian
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1240 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-01 16:54:54 +00:00
Benny Prijono f260e46ce4 Initial Symbian integration to trunk for pjlib
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1235 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-30 21:03:32 +00:00
Benny Prijono c7434f6699 Ticket #223: Added pj_strtoul2()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1194 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-15 09:58:48 +00:00
Benny Prijono 6f86e7ce96 Added pj_cmp_timestamp()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1124 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-02 11:28:41 +00:00
Benny Prijono b681a2f671 ICE (work in progress): use single socket for all candidates in component, and implemented IP interface enumeration on Win32
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1104 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-25 18:44:51 +00:00
Benny Prijono b01897b505 Changed pj_sockaddr structure and added pjnath project for ICE/STUN stuffs
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1080 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-18 17:39:27 +00:00
Benny Prijono ee73871ef3 Implemented ticket #185: Added pj_file_flush() to file I/O API to flush file buffers
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1074 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-16 09:25:47 +00:00
Benny Prijono bd09302551 Fixed link error (multiple symbols) with pj_log_max_level with C++ build
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1061 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-14 11:50:02 +00:00
Benny Prijono d59717461e Completed and tested (simple test) the TURN server and command line STUN/TURN client
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1054 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-10 23:15:36 +00:00
Benny Prijono 505e82ef0d Optimization on the log and add tracing on mutex trylock
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1042 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-05 21:08:01 +00:00
Benny Prijono 7cd1622fe5 Implemented new STUN server framework
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1040 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-05 00:58:24 +00:00
Benny Prijono 14c2b8609d Merged the ICE branch into the trunk
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@992 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-21 00:40:05 +00:00
Benny Prijono 54a4f3d728 Fixed ticket #117: Bug in pj_array_insert() when position is equal to count-1
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@986 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-20 14:58:40 +00:00
Benny Prijono a771a51a61 Ticket #110: HUGE HUGE changeset to replace all occurence of year 2006 with 2007 in copyright notice in all sources
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@974 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-19 01:13:53 +00:00
Benny Prijono 87a0089345 Implement ticket #83: socket TOS abstraction
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@920 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-01 00:33:12 +00:00
Benny Prijono e80cdf0b87 Updated doxygen documentation to version 0.5.10
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@905 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-25 01:38:03 +00:00
Benny Prijono a66c331766 Implement ticket #67: added WAV playlist feature to PJMEDIA
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@895 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-21 23:12:40 +00:00
Benny Prijono c357d64b0a Fixed ticket #70: Frame timestamp not propagated correctly in PJMEDIA
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@887 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-20 05:14:24 +00:00
Benny Prijono ad91043089 Ticket #66: fix broken compilation with gcc 2.9x.x or older
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@884 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-18 17:33:31 +00:00
Benny Prijono 08b5309793 Fix compilation error when _CRT_SECURE_NO_DEPRECATE is already declared by other project in pj/compat/cc_msvc.h
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@883 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-16 03:30:42 +00:00
Benny Prijono 472f2f51d4 64bit fix for pool.h (thanks HARDOUIN Briac)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@877 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-09 15:02:00 +00:00
Benny Prijono b5388cfa9c Just updated and improved the doxygen documentations all over the place
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@875 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-04 22:45:08 +00:00
Benny Prijono 57dc48b582 In relation to ticket #49: fix support for recv() flags such as PJ_MSG_PEEK and PJ_MSG_OOB etc
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@860 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-25 06:39:33 +00:00
Benny Prijono f762ee7376 Fixed ticket #29: calling pjsua_init() to reinitialize the whole libraries after pjsua_destroy() is called
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@839 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-01 11:14:37 +00:00
Benny Prijono 4a92299d8e Updated footprint script to include new stuffs such as echo canceller and tone generator
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@826 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-24 09:31:22 +00:00
Benny Prijono 8badb013ee Fixed pj_list_merge_last and pj_list_merge_first
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@820 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-22 14:47:45 +00:00
Benny Prijono af1bb1e09f Fixed handles leak upon program exit, by introducing pj_shutdown() and pj_atexit(). Also fixed handle leaks in SIP transaction layer and SIP endpoint.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@815 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-21 12:39:31 +00:00
Benny Prijono 31333b6667 Fixed minor memory leak in caching pool (one malloc is not freed)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@809 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-21 08:36:12 +00:00
Benny Prijono 33cb24a868 Fix compilation error with memchr() on VS2005
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@790 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-01 07:13:45 +00:00
Benny Prijono 4e05b47e23 Added logging in pjsua wince
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@774 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-16 15:52:31 +00:00
Benny Prijono ba74777cfc Fixed another typo in pj\types.h comment [thanks Tomasz Ostrowski]
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@764 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-11 16:37:02 +00:00
Benny Prijono 4784d77264 Fixed typos in pj_*int*_t's comments [thanks Tomasz Ostrowski].
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@758 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-09 20:11:31 +00:00
Benny Prijono 3059eb6a44 Fixed compilation errors when threading is disabled (PJ_HAS_THREADS=0) and 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: https://svn.pjsip.org/repos/pjproject/trunk@750 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-04 20:46:27 +00:00
Benny Prijono 3ae5f064d2 Fixed bug in the hash table size calculation. The hash table creation API (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: https://svn.pjsip.org/repos/pjproject/trunk@748 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-03 17:13:22 +00:00
Benny Prijono e71c360511 Fixed minor error in pj_thread_is_registered() API. The return value should be pj_bool_t instead of pj_status_t. (Note: this change should not break anything).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@746 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-03 17:00:00 +00:00
Benny Prijono d424f5bc49 Added initial implementation of low-level DNS packetization
and parsing functions in PJLIB-UTIL/dns.h. Errors codes
added for DNS formatting related errors.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@745 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-30 11:39:17 +00:00
Benny Prijono 5ee1f2eb96 Updated doxygen documentation for the website
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@736 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-22 20:43:00 +00:00
Benny Prijono dc752ca112 Fixed few bugs that seem to have been introduced by new dialog
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: https://svn.pjsip.org/repos/pjproject/trunk@734 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-22 16:55:42 +00:00
Benny Prijono 7d93d4e8b5 Added pool for allocating memory from the stack buffer
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@725 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-17 19:54:23 +00:00
Benny Prijono cca32816b5 Applied temporary fix to error code returned by pj_gethostbyname(). Under *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: https://svn.pjsip.org/repos/pjproject/trunk@722 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-14 21:16:11 +00:00
Benny Prijono 594e4c5f29 Fix the local IP address resolution issue in PJSIP, PJMEDIA, and PJSUA, by 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: https://svn.pjsip.org/repos/pjproject/trunk@721 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-14 18:51:01 +00:00
Benny Prijono 893628d18b Fixed compilation error in Linux when the legacy configure is being used: multiple declaration of socklen_t. Also does similar things with os_sunos, os_darwinos, and os_rtems
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@716 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-14 11:26:37 +00:00
Benny Prijono ea4296c385 SIP methods are now compared case-sensitively (previously it was 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: https://svn.pjsip.org/repos/pjproject/trunk@713 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-13 22:48:37 +00:00
Benny Prijono 1d97162692 Fixed autoconf in various other systems (IA64, x86_64, BSD/FreeBSD)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@700 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-10 22:27:40 +00:00
Benny Prijono c5b6dbf81f Fixed autoconf in mingw
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@699 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-10 16:33:48 +00:00
Benny Prijono b466e23e8f Fixed autoconf on MacOS X
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@698 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-10 08:53:59 +00:00
Benny Prijono 30f85c66a6 Added PJ_HAS_SOCKLEN_T test in configure script (some MacOS X have it, some dont)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@697 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-09 20:05:33 +00:00
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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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
Benny Prijono ea6655e89a Updated pjlib docs
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@48 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-13 16:11:05 +00:00
Benny Prijono f010e69c41 First clean compile of pjsip
git-svn-id: https://svn.pjsip.org/repos/pjproject/main@43 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-11 19:01:31 +00:00
Benny Prijono 12e13b7bb6 Test pj++ proactor (compile only)
git-svn-id: https://svn.pjsip.org/repos/pjproject/main@37 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-09 15:51:49 +00:00
Benny Prijono 85d3f45399 Rework pjlib++
git-svn-id: https://svn.pjsip.org/repos/pjproject/main@36 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-09 15:37:19 +00:00
Benny Prijono 0e64113b96 Linux alpha test
git-svn-id: https://svn.pjsip.org/repos/pjproject/main@35 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-08 12:46:10 +00:00
Benny Prijono e91bf77a9f Initial configuration for pjlib-util
git-svn-id: https://svn.pjsip.org/repos/pjproject/main@32 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-08 11:31:55 +00:00
Benny Prijono 80f260c01c Split PJLIB utilities into pjutil
git-svn-id: https://svn.pjsip.org/repos/pjproject/main@29 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-08 09:51:21 +00:00
Benny Prijono 40ce3fbdc8 UDP echo testing in Linux
git-svn-id: https://svn.pjsip.org/repos/pjproject/main@19 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-07 18:14:08 +00:00
Benny Prijono a7f64a3bca Added file I/O and file access API
git-svn-id: https://svn.pjsip.org/repos/pjproject/main@18 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-07 15:47:28 +00:00
Benny Prijono bc9861568a Tested new ioqueue framework on Linux with select and epoll
git-svn-id: https://svn.pjsip.org/repos/pjproject/main@14 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-06 16:50:38 +00:00
Benny Prijono 4d974f306c Put common ioqueue functionalities in separate file to be used by both select() and epoll
git-svn-id: https://svn.pjsip.org/repos/pjproject/main@12 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-06 13:32:11 +00:00
Benny Prijono a9946d5902 Changed ioqueue to allow simultaneous operations on the same key
git-svn-id: https://svn.pjsip.org/repos/pjproject/main@11 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-06 09:37:47 +00:00
Benny Prijono d31369ce77 Updated doxygen documentation
git-svn-id: https://svn.pjsip.org/repos/pjproject/main@8 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-02 13:06:17 +00:00
Benny Prijono 48a9f4c6fa Final commit before 0.3-pre3
git-svn-id: https://svn.pjsip.org/repos/pjproject/main@6 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-02 12:50:58 +00:00
Benny Prijono 005e456f51 Changed atomic interface and fixed bugs in echo test client
git-svn-id: https://svn.pjsip.org/repos/pjproject/main@5 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-01 21:46:17 +00:00
Benny Prijono bf6d942629 Adding keyword expansion for Id
git-svn-id: https://svn.pjsip.org/repos/pjproject/main@4 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-01 18:19:33 +00:00
Benny Prijono 4766ffe101 Just changing keyword expansion
git-svn-id: https://svn.pjsip.org/repos/pjproject/main@3 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-01 17:56:59 +00:00
Benny Prijono dd859a62f4 Added suppor /and fix things for SunOS port
git-svn-id: https://svn.pjsip.org/repos/pjproject/main@2 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-01 16:42:51 +00:00
Benny Prijono 0a749f11c7 initial import
git-svn-id: https://svn.pjsip.org/repos/pjproject/main@1 74dad513-b988-da41-8d7b-12977e46ad98
2005-10-31 21:02:30 +00:00