Michael Jerris
9b14bd5dbd
fix file modes in sofia
2010-10-03 05:53:07 -04:00
Jeff Lenk
45ecbc2f61
fix warnings on windows x64 builds src and mods projects - only libsofia included on the libs side
2010-09-29 15:47:58 -05:00
Jeff Lenk
46dd24c2e9
SFSIP-220 VS2010 sofia posix problem
2010-08-21 22:39:01 -05:00
Michael Jerris
780bce83a4
Mon Jun 29 07:52:27 CDT 2009 kai.k.samposalo@nokia.com
...
* Symbian winscw build fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14193 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 00:54:04 +00:00
Michael Jerris
72210971cd
Mon Jun 29 04:13:42 CDT 2009 kai.k.samposalo@nokia.com
...
* Symbian armv5 build fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14192 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 00:52:38 +00:00
Michael Jerris
340bdda571
Fri Jun 26 01:50:56 CDT 2009 kai.k.samposalo@nokia.com
...
* Symbian build fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14190 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 00:51:27 +00:00
Michael Jerris
c60535e7a8
Tue May 19 12:00:30 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* su_uniqueid.c: Solaris misdefines PTHREAD_ONCE_INIT
Ignore-this: 9fe2247164d572901ed4a30b009353db
Solaris defines pthread_once_t as a struct containing an array. The
initializer PTHREAD_ONCE_INIT needs two levels of brackets it but only has
one. Original patch from Mike Jerris <mike@jerris.com>.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13387 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-19 17:23:16 +00:00
Michael Jerris
420e92a6f3
silence solaris warning from missing braces (SFSIP-132)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13369 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 21:21:06 +00:00
Michael Jerris
eaf0c7c8b5
libsofiasip: fix buffer overrun (SFSIP-136)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12914 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-03 23:04:42 +00:00
Michael Jerris
a26400fc4c
Tue Mar 3 12:23:35 CST 2009 Della Betta Filippo <filippo DOT dellabetta AT telecomitalia DOT it>
...
* su_uniqueid.c: srand() must be called per-thread on windows
Ignore-this: ee98b86faadc4a39186ba4991b073c40
Mon Mar 23 12:41:53 CDT 2009 Pekka Pessi <first.last@nokia.com>
* su_uniqueid.c: simple threadsafe implementation
Ignore-this: b3597fb6032b79a61b63f004f121188b
Using /dev/urandom where available, simple 64-bit prng elsewhere.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12756 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:54:18 +00:00
Michael Jerris
4d643bccc1
Wed Mar 11 11:58:14 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* sofia-sip/su_config.h: include extern in SOFIAPUBVAR
Ignore-this: 7cccd45776e8452a8e404aaf01eaeadf
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12748 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:44:33 +00:00
Michael Jerris
596a0b60cb
Mon Mar 9 12:44:03 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* su_alloc: shorten race on _su_deinit()
Ignore-this: 6d4e6edb434a96e66c9bb018a201a3c6
Make home object unusable earlier during denitialization.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12745 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:42:53 +00:00
Mathieu Rene
b342ff1b2a
Revert 12400
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12406 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-04 14:21:51 +00:00
Michael Jerris
eb218a9656
Tue Mar 3 12:23:35 CST 2009 Della Betta Filippo <filippo DOT dellabetta AT telecomitalia DOT it>
...
* su_uniqueid.c: srand() must be called per-thread on windows
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12400 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 22:02:55 +00:00
Michael Jerris
72aff5e8ab
Thu Feb 26 09:31:51 CST 2009 Michael Jerris <mike@jerris.com>
...
* su_localinfo.c: fix build on non-ipv6 hosts
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12304 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-26 18:38:34 +00:00
Brian West
d35ca59959
Tue Feb 3 10:31:33 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* su_wait.h: added su_root_clone()
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12299 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-26 18:24:05 +00:00
Brian West
38abb2ced7
Tue Feb 3 10:29:44 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* su_alloc: added su_home_parent()
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12298 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-26 18:23:05 +00:00
Michael Jerris
e591b6ce3a
Tue Feb 24 09:03:08 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* sofia-sip/heap.h: use static scope for functions given to sort()
Ignore-this: 72e91b9470ccc23300ce06eb836d56f4
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12282 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-25 19:35:59 +00:00
Michael Jerris
cf9f7888f1
Wed Feb 25 11:29:23 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* su_uniqueid.c: fixed seed array usage
Ignore-this: b6e6a195f3f34abc2119a741f8b6f5e2
Paper bags, anyone?
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12281 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-25 19:34:54 +00:00
Brian West
46c3eec39a
Fri Feb 13 09:41:52 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* su.h: define su_family via struct sockaddr
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12260 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-24 14:43:31 +00:00
Michael Jerris
2980d25a14
fix sofia initstate correctly
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12073 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-16 23:47:32 +00:00
Mathieu Rene
60671872ef
Fix sofia build on non-ipv6 hosts
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12018 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-14 23:18:53 +00:00
Michael Jerris
0919f6c9cb
only declare var if we need it (SFSIP-122)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12017 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-14 22:56:27 +00:00
Michael Jerris
314da792ca
safety first
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12005 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-13 23:45:25 +00:00
Michael Jerris
1f8d6f0e68
Thu Feb 12 15:35:06 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* sofia-sip/su_addrinfo.h: #include <netdb.h> only if bsdsock
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11965 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:37:20 +00:00
Michael Jerris
5cb1f54133
Thu Feb 12 15:14:27 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* su_addrinfo.h: #include <netdb.h>
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11963 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:29:30 +00:00
Michael Jerris
a043230c51
Thu Feb 12 15:01:10 CST 2009 Michael Jerris <mike@jerris.com>
...
* su_port.h: silenced warning in su_port_deferrable()
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11959 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:25:18 +00:00
Michael Jerris
0eceb861b0
Thu Feb 12 14:45:02 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* su_uniqueid: call initstate() with memory from heap
Ignore-this: af9e58551676e173844d0b77af0e287a
When libsofia-sip-ua.so gets unloaded, its data segment gets unloaded, but
random() still wants to use the memory.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11956 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:21:30 +00:00
Michael Jerris
33e58774bc
fix build error on bsd
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11886 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 18:58:24 +00:00
Michael Jerris
f0b3a9a427
silence warning
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11884 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 18:17:54 +00:00
Michael Jerris
16d87679e4
Wed Jan 28 12:27:47 CST 2009 Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
...
* Added a comment about suspicious timeout calculation code
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11858 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:19:49 +00:00
Michael Jerris
48c52ad5ec
Wed Jan 28 12:15:08 CST 2009 Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
...
* Merged deferrable timers from the bleeding-sofia-sip branch
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11856 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:19:01 +00:00
Michael Jerris
f26dd3daf8
Wed Jan 28 12:09:00 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* su_port.h, su_timer.c: refactored su_timer_next_expires()
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11855 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:18:37 +00:00
Michael Jerris
cc6fc1d277
Wed Jan 28 12:07:02 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* su: added API functions su_timer_is_set() and su_timer_latest()
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11853 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:17:49 +00:00
Michael Jerris
231fc1f4eb
Wed Jan 28 12:06:06 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* sofia-sip/su_wait.h: added su_timer_deferrable(), su_task_wakeup(), su_root_set_max_defer(), su_root_get_max_defer() and su_task_deferrable().
Added implementation to different main-loop implementations in
libsofia-sip-ua/su.
Fixed su_task_is_running().
In libsofia-sip-ua/su, added tests for deferred timers.
In libsofia-sip-ua-glib/su-glib/su_source.c, added su_source_wakeup() and
su_source_is_running(). Using su_base_port_send() instead of
su_source_send(). Using su_base_port_deferable() and
su_base_port_max_defer(), too.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11852 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:16:44 +00:00
Michael Jerris
fff2dd5b66
Wed Jan 28 12:02:55 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* su_timer.c: removed redundant checks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11851 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:16:05 +00:00
Michael Jerris
8247926a88
Wed Jan 28 12:01:13 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* su_timer.c: timers_remove() now set sut_heap_index to 0
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11850 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:15:37 +00:00
Michael Jerris
b3256ae861
Wed Jan 28 12:00:26 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* su_timer.c: no more type-punning
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11849 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:14:57 +00:00
Michael Jerris
5c8181cc20
Wed Jan 28 11:52:34 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* su_timer.c: using heap (instead of red-black tree) for keeping timers sorted
Re-recorded 20070704230449-65a35-f0434c75b0f58a069806e81942c0d5e0821dc9d3
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11848 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:14:33 +00:00
Michael Jerris
63ffde17b9
Fri Jan 16 13:42:21 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* torture_heap.c: fixed warnings from function declarations
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11837 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:09:14 +00:00
Michael Jerris
837f9dfbd5
Tue Jan 13 16:23:09 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* su_inet_ntop(), su_inet_pton(): added in 1.12.9
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11823 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:00:42 +00:00
Michael Jerris
2fb33f1857
Tue Jan 13 16:20:06 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* su_localinfo.c: using SU_LOCALINFO_TEST
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11819 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:57:55 +00:00
Michael Jerris
a8ee947d37
Mon Jan 12 08:27:07 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* su_port.c: added #include <sofia-sip/su_string.h>
Making poll mechanism name matching case-insensitive.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11811 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:54:20 +00:00
Michael Jerris
4d985dc0ef
Fri Jan 9 13:51:56 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* su_string.c: it is A. Not a Z.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11809 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:53:18 +00:00
Michael Jerris
85cafb105d
Thu Jan 8 12:13:38 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* su: using <sofia-sip/su_string.h>
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11792 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:45:51 +00:00
Michael Jerris
4381a94448
add missing files
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11787 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:33:51 +00:00
Michael Jerris
54c0937433
Thu Jan 8 12:08:14 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* memspn.c, memcspn.c: use functions from <sofia-sip/su_string.h>
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11785 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:27:51 +00:00
Michael Jerris
aee3e653cc
Thu Jan 8 11:55:52 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* sofia-sip/string0.h: use functions from <sofia-sip/su_string.h>
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11784 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:23:44 +00:00
Michael Jerris
1ad83d3c42
Thu Jan 8 14:11:49 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* su_string.c: fixed su_strcasestr()
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11778 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:17:58 +00:00
Michael Jerris
7e750dcf97
Thu Jan 8 12:04:21 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* sofia-sip/su_string.h: added
Adding locale-independent, NULL-safe string comparison,
matching and searching functions:
- su_strcmp()
- su_strncmp()
- su_strcasecmp()
- su_strncasecmp()
- su_strmatch()
- su_strnmatch()
- su_casematch()
- su_casenmatch()
- su_strcasestr()
- su_strnspn()
- su_strncspn()
- su_memspn()
- su_memcspn()
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11777 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:16:52 +00:00