paulc
d9b07638b6
Made a lot of constructors explicit to prevent undesirable automatic conversions.
...
Fixed two undesirable automatic conversions exposed by this change.
git-svn-id: http://voip.null.ro/svn/yate@3366 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-08 15:25:05 +00:00
paulc
114685b22a
Made possible to automatically skip adding an empty value to a NamedList.
...
git-svn-id: http://voip.null.ro/svn/yate@3281 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-04 10:35:52 +00:00
paulc
9d0212f010
Added assignment operator for NamedList.
...
git-svn-id: http://voip.null.ro/svn/yate@3278 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-04 10:14:59 +00:00
paulc
42d4dded8f
Double the system idle interval when running in client mode, make it adjustable from the config file.
...
git-svn-id: http://voip.null.ro/svn/yate@3163 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-31 09:36:58 +00:00
oana
aa528b1523
Yate has been ported on Mac OS X.
...
git-svn-id: http://voip.null.ro/svn/yate@3153 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-30 11:49:43 +00:00
marian
60030b9241
A list parameter can now be removed by pointer.
...
git-svn-id: http://voip.null.ro/svn/yate@3089 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-18 12:59:50 +00:00
paulc
adbcad5373
Fixed building in Windows, added sigtransport to build and installer.
...
git-svn-id: http://voip.null.ro/svn/yate@3069 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-04 12:50:06 +00:00
paulc
65c7a2da30
Added method to set the desired SCTP protocol payload identification (PPID).
...
git-svn-id: http://voip.null.ro/svn/yate@3066 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-04 01:59:27 +00:00
andrei
a8383a13ca
Added suport for abstract SCTP Socket
...
git-svn-id: http://voip.null.ro/svn/yate@3057 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-02 14:21:02 +00:00
paulc
28c89ce0c6
Added a set of classes for evaluating C or SQL style expressions.
...
git-svn-id: http://voip.null.ro/svn/yate@3055 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-01 20:53:47 +00:00
paulc
57eedc3830
Added method to retrieve the name of the Thread currently owning a Mutex.
...
git-svn-id: http://voip.null.ro/svn/yate@3022 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-16 20:42:25 +00:00
paulc
70b8974a75
Made more Socket methods virtual to allow implementing non kernel-based sockets.
...
Removed SCTP specific methods, they will go in a separate class.
git-svn-id: http://voip.null.ro/svn/yate@2984 acf43c95-373e-0410-b603-e72c3f656dc1
2009-12-14 16:37:08 +00:00
paulc
089862b413
Added possibility to repeat the -Dm option to halve the mutex maximum wait time.
...
git-svn-id: http://voip.null.ro/svn/yate@2982 acf43c95-373e-0410-b603-e72c3f656dc1
2009-12-10 11:20:50 +00:00
paulc
c623a43b70
Fixed a missing parameter in Lock2::lock() spotted by Allan. Thanks!
...
git-svn-id: http://voip.null.ro/svn/yate@2933 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-11 20:37:27 +00:00
paulc
8d74d5d8de
String::uriEscape() takes an extra optional parameter with characters that should not be escaped, for specific cases when a protocol makes some characters unreserved.
...
git-svn-id: http://voip.null.ro/svn/yate@2816 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-01 14:32:00 +00:00
paulc
dcbd4ad675
Added NamedList constructor and method to copy subparameters from another list.
...
git-svn-id: http://voip.null.ro/svn/yate@2811 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-31 13:36:37 +00:00
paulc
c56c469f0f
Use the platform idle time in various sleeps in SIP and Jabber.
...
Fixed a compiler warning about the copy constructor of Mutex and
Semaphore.
git-svn-id: http://voip.null.ro/svn/yate@2763 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-22 15:41:28 +00:00
paulc
09b07f4b00
Added Semaphore class, made Mutex derive from (new class) Lockable, made Lock able to get a lock on any Lockable - Mutex or Semaphore.
...
Use pthread_mutex_timedlock and sem_timedwait if available on platform.
Fixed a bug in the IAX channel exposed by Mutex having virtual methods.
git-svn-id: http://voip.null.ro/svn/yate@2761 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-22 12:57:14 +00:00
paulc
17bd631324
Added an unified Thread::idle method, use it instead of arbitrary
...
sleeps.
git-svn-id: http://voip.null.ro/svn/yate@2737 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-24 16:47:29 +00:00
paulc
eb2a9cd5e0
Fixed warnings and a few minor bugs when compiling on a different architecture.
...
git-svn-id: http://voip.null.ro/svn/yate@2724 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-19 11:19:20 +00:00
paulc
712fda9139
Allow skipping mutex operations until main() on platforms where mutexes
...
are unsafe in global object constructors.
git-svn-id: http://voip.null.ro/svn/yate@2721 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-18 12:21:23 +00:00
paulc
fe1527fe74
Made some dangerous constructors explicit, fix potential problems exposed by this.
...
git-svn-id: http://voip.null.ro/svn/yate@2705 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-12 15:15:36 +00:00
paulc
fedf6b43dd
Check define of IPTOS_MINCOST separately as on some platforms it's not
...
defined to avoid an usage conflict.
git-svn-id: http://voip.null.ro/svn/yate@2674 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-01 16:37:48 +00:00
paulc
663b3ad280
Added version of String::safe that provides an user defined safe value.
...
git-svn-id: http://voip.null.ro/svn/yate@2649 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-25 14:39:50 +00:00
paulc
2626318977
Added mehod to remove and optionally destruct an ObjList item by its String value.
...
git-svn-id: http://voip.null.ro/svn/yate@2637 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-20 12:49:13 +00:00
paulc
fb529b9156
Added handy NamedList dump method.
...
git-svn-id: http://voip.null.ro/svn/yate@2627 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-13 10:13:45 +00:00
paulc
5227505c00
Added names to the Mutex class to ease debugging of deadlocks.
...
git-svn-id: http://voip.null.ro/svn/yate@2611 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-05 12:25:31 +00:00
marian
9e303b3fe0
Added remove directory method to File.
...
git-svn-id: http://voip.null.ro/svn/yate@2608 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-01 14:42:12 +00:00
paulc
dc37ede083
Added parameters to make a newly created file public readable or writable.
...
git-svn-id: http://voip.null.ro/svn/yate@2583 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-15 13:55:44 +00:00
paulc
449c7ac421
Added method to clear all parameters.
...
git-svn-id: http://voip.null.ro/svn/yate@2547 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-28 22:52:42 +00:00
paulc
a5b79ca801
Added MemoryStream class that provides basic I/O to an internal DataBlock.
...
git-svn-id: http://voip.null.ro/svn/yate@2529 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-22 20:34:33 +00:00
paulc
9d682e3cd4
Added method to take out an object from an array.
...
git-svn-id: http://voip.null.ro/svn/yate@2528 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-22 20:32:21 +00:00
marian
b9befdcb52
Added static method to File used to list directory content.
...
git-svn-id: http://voip.null.ro/svn/yate@2517 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-06 17:20:09 +00:00
paulc
4eb312b16e
Moved length() and seek() methods to the Stream class so seekable streams can be implemented.
...
git-svn-id: http://voip.null.ro/svn/yate@2513 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-05 13:10:31 +00:00
marian
0ac1dc6b1f
The URI class remembers now the extra parameters found after the uri host/port.
...
git-svn-id: http://voip.null.ro/svn/yate@2507 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-03 12:20:42 +00:00
paulc
6055af283e
Added support for SQL escaping a binary DataBlock.
...
Replacing with SQL escaping a NamedPointer parameter of a NamedList that holds a DataBlock will insert the escaped binary data instead.
git-svn-id: http://voip.null.ro/svn/yate@2475 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-06 19:37:01 +00:00
paulc
c72699bb27
Added macros to implement getObject for classes that multiple inherit GenObject.
...
git-svn-id: http://voip.null.ro/svn/yate@2448 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-21 14:50:12 +00:00
paulc
367d989d41
Added optional parameter for the default value returned by DataBlock::at().
...
git-svn-id: http://voip.null.ro/svn/yate@2446 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-20 11:44:24 +00:00
paulc
79cc8d843e
Added more data access methods to DataBlock.
...
Added unsigned indexing operator to ObjList to prevent unexpected conversions.
git-svn-id: http://voip.null.ro/svn/yate@2445 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-20 11:29:07 +00:00
marian
c3f08b847f
Added File manipulation methods. Added Time conversion methods. Thread last error string can now be obtained from the system.
...
git-svn-id: http://voip.null.ro/svn/yate@2416 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-09 14:30:05 +00:00
paulc
678a2cac87
Added new String method trimSpaces.
...
git-svn-id: http://voip.null.ro/svn/yate@2403 acf43c95-373e-0410-b603-e72c3f656dc1
2008-12-19 14:16:53 +00:00
paulc
9719934703
Added more String related utility functions.
...
git-svn-id: http://voip.null.ro/svn/yate@2372 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-26 18:33:13 +00:00
paulc
c9e6dd22b1
Added String indexing with unsigned int to provide shortest conversion.
...
git-svn-id: http://voip.null.ro/svn/yate@2365 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-25 16:20:32 +00:00
paulc
c5ed7e4b8c
Fixed minor bug in documentation generating comment.
...
git-svn-id: http://voip.null.ro/svn/yate@2291 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-28 11:47:15 +00:00
paulc
95d520743c
Added abstract Cipher class for encryption related tasks.
...
git-svn-id: http://voip.null.ro/svn/yate@2290 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-28 11:36:28 +00:00
paulc
c09ceca574
Added static empty instances of ObjList and NamedList.
...
git-svn-id: http://voip.null.ro/svn/yate@2280 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-22 13:32:25 +00:00
paulc
74a9332946
Added a copyParams version that copies all parameters of a NamedList.
...
git-svn-id: http://voip.null.ro/svn/yate@2258 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-14 10:15:01 +00:00
paulc
3620741ccf
Added methods index() to find index of objects in a list.
...
git-svn-id: http://voip.null.ro/svn/yate@2206 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-17 12:22:24 +00:00
paulc
7a39bf3396
Added method to check if a socket handle is valid for select()ing it.
...
git-svn-id: http://voip.null.ro/svn/yate@2057 acf43c95-373e-0410-b603-e72c3f656dc1
2008-07-10 17:47:49 +00:00
paulc
8cd97b316c
Added UTF-8 fixing and overlongs detection.
...
git-svn-id: http://voip.null.ro/svn/yate@1995 acf43c95-373e-0410-b603-e72c3f656dc1
2008-05-26 11:09:24 +00:00