oana
ea72399baf
Fixed 64-bit formatting for Mac OS X x64.
...
git-svn-id: http://voip.null.ro/svn/yate@4988 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-04 10:50:29 +00:00
paulc
3d1f0fcf05
Added a DebugTest level always visible and displayed white on blue background.
...
git-svn-id: http://voip.null.ro/svn/yate@4949 acf43c95-373e-0410-b603-e72c3f656dc1
2012-03-01 12:14:10 +00:00
paulc
0ca4590818
Added proper implementation of RefObject::getObject().
...
git-svn-id: http://voip.null.ro/svn/yate@4928 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-20 14:17:59 +00:00
paulc
e88762e14f
Added String method that converts to long integer.
...
git-svn-id: http://voip.null.ro/svn/yate@4899 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-13 08:27:48 +00:00
paulc
a7198f5e6b
Added support for holding in memory and retrieving events from startup or arbitrary sources.
...
git-svn-id: http://voip.null.ro/svn/yate@4887 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-10 13:59:36 +00:00
paulc
28c07865cb
Added class that creates a vector of objects from a list.
...
git-svn-id: http://voip.null.ro/svn/yate@4881 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-10 11:22:54 +00:00
paulc
5396e49f98
Removed scripting classes from main library.
...
git-svn-id: http://voip.null.ro/svn/yate@4833 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-04 18:01:49 +00:00
paulc
daeadc676d
Added an optional user context pointer to expression evaluations.
...
git-svn-id: http://voip.null.ro/svn/yate@4808 acf43c95-373e-0410-b603-e72c3f656dc1
2012-01-17 18:11:45 +00:00
paulc
14f0dc082d
Constified ExpEvaluator::getPrecedence() as it should be.
...
git-svn-id: http://voip.null.ro/svn/yate@4805 acf43c95-373e-0410-b603-e72c3f656dc1
2012-01-16 12:17:26 +00:00
paulc
c543a4baf3
Made ExpEvaluator::popOne() static and public, it is really a helper method.
...
git-svn-id: http://voip.null.ro/svn/yate@4737 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-06 15:45:23 +00:00
paulc
275a0ddf2d
Constified ExpEvaluator methods used during evaluation stage.
...
git-svn-id: http://voip.null.ro/svn/yate@4687 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-10 14:18:47 +00:00
paulc
4c26bc0772
Support timestamping logs in local timezone format.
...
git-svn-id: http://voip.null.ro/svn/yate@4684 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-09 12:41:00 +00:00
paulc
b88d2cbd9e
Moved the debug timestamping to a separate method.
...
git-svn-id: http://voip.null.ro/svn/yate@4683 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-09 10:55:27 +00:00
paulc
55e3261c5f
Detect and use atomic integer operations for RefObject reference counter.
...
Note that GCC supports them on specific architectures, on some platforms -march=... must be set in CFLAGS.
git-svn-id: http://voip.null.ro/svn/yate@4682 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-07 17:10:32 +00:00
paulc
7ad49ca553
Removed some unused RefObject methods.
...
git-svn-id: http://voip.null.ro/svn/yate@4679 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-04 18:24:51 +00:00
paulc
40abd053c0
Fixed meaning of parameter: clump -> clamp.
...
git-svn-id: http://voip.null.ro/svn/yate@4563 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-23 15:47:01 +00:00
marian
4fc28f755c
String to integer conversion can now check the result against allowed min/max values. Use it in sip module.
...
git-svn-id: http://voip.null.ro/svn/yate@4562 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-23 15:14:28 +00:00
marian
90272f0a7d
Removed unused function declarations.
...
git-svn-id: http://voip.null.ro/svn/yate@4560 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-23 09:57:52 +00:00
marian
b6355eecd6
Added Resolver class to engine. Use it in jabber library.
...
git-svn-id: http://voip.null.ro/svn/yate@4548 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-19 13:04:53 +00:00
andrei
cf4cf8e44c
Added setParams method for Socket.
...
Reimplement setParam method to set SCTP specific parameters.
git-svn-id: http://voip.null.ro/svn/yate@4483 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-12 14:07:57 +00:00
paulc
07132042d0
Added class for pseudo random number generation.
...
Replace library ::random() and ::rand() calls with shared Random method.
git-svn-id: http://voip.null.ro/svn/yate@4470 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-29 11:19:02 +00:00
marian
f1ecb27e2c
Added method used to retrieve an Array's column list.
...
git-svn-id: http://voip.null.ro/svn/yate@4442 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-07 11:45:18 +00:00
marian
efe5976bfc
Added missing storage class attribute to MutexPool class.
...
git-svn-id: http://voip.null.ro/svn/yate@4429 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-03 14:35:13 +00:00
paulc
471dd0d96d
New YSTRING macro that creates an ad-hoc static const String to speed up comparations and conversions from literal strings.
...
On unsupported compilers the literal string is returned unchanged.
git-svn-id: http://voip.null.ro/svn/yate@4423 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-03 12:26:53 +00:00
paulc
dcadd1f961
Added methods to extract a fragment of a String up to a separator.
...
git-svn-id: http://voip.null.ro/svn/yate@4229 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-28 16:18:45 +00:00
paulc
1a05c4d824
Added to NamedList::copySubParams() the option of not skipping over the matched prefix in parameter names.
...
git-svn-id: http://voip.null.ro/svn/yate@4191 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-17 19:46:26 +00:00
marian
f2463726a0
Added method used to check if a non blocking operation is in progress. Added method used to update the socket error when a non blocking operation completed.
...
git-svn-id: http://voip.null.ro/svn/yate@4148 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-02 14:29:05 +00:00
paulc
b249ad15df
Added a fast unsafe iterator for parameters of NamedList.
...
git-svn-id: http://voip.null.ro/svn/yate@4124 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-23 10:06:00 +00:00
paulc
c58818b390
Added API and -Dd command line parameter to disable taking the global mutex when (un)locking a Mutex or Semaphore.
...
This provides better performance and reduces mutex contention on expense of some thread safety and ease of debugging.
git-svn-id: http://voip.null.ro/svn/yate@3801 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-09 19:52:51 +00:00
paulc
e2377b3c1d
Added method to (re)assign a list to an iterator and a method to clear the iterator.
...
git-svn-id: http://voip.null.ro/svn/yate@3799 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-05 17:25:29 +00:00
paulc
3853b37773
Added static method to check at runtime if Socket::select() is efficient.
...
Use select() on the MGCP reader socket if it worths.
git-svn-id: http://voip.null.ro/svn/yate@3798 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-05 16:08:11 +00:00
marian
acb41d1a50
Added resize method used to re-alloc a DataBlock if it doesn't have a required length.
...
git-svn-id: http://voip.null.ro/svn/yate@3762 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-02 08:54:58 +00:00
paulc
131f9dc787
Fixed a compile bug on platforms where a pointer does not fit in an int.
...
git-svn-id: http://voip.null.ro/svn/yate@3761 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-01 20:57:15 +00:00
marian
e93dca85c5
Added MutexPool class implementing a fixed size array of mutexes. Replaced the global mutex protecting the RefObject counter changes with a mutex pool.
...
git-svn-id: http://voip.null.ro/svn/yate@3760 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-01 14:54:53 +00:00
paulc
8fed2ca200
Add O_LARGEFILE to the log file flags to allow it to grow more than 2GB on systems that support it.
...
Apart from the initial O_APPEND the log file is never seek()ed anyway.
git-svn-id: http://voip.null.ro/svn/yate@3705 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-11 11:00:35 +00:00
paulc
c80d0eca1d
Added a new debug level DebugConf with text CONF for reporting configuration problems.
...
Limit the minimum debug level so CONF and GOON are always visible besides FAIL.
git-svn-id: http://voip.null.ro/svn/yate@3680 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-29 15:28:27 +00:00
paulc
7023dcca5a
Allow a circular offset of the items in a ListIterator so all elements are iterated but starting with a specific one.
...
git-svn-id: http://voip.null.ro/svn/yate@3616 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-01 07:50:57 +00:00
paulc
d0239ce08a
Fixed the YOBJECT macro evaluating twice the pointer by using a static helper method of GenObject.
...
Fixed the way linksets keep links referenced so they clean up properly.
git-svn-id: http://voip.null.ro/svn/yate@3504 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-24 12:27:40 +00:00
marian
25e288711c
Added abstract Compressor class for data (de)compression.
...
git-svn-id: http://voip.null.ro/svn/yate@3423 acf43c95-373e-0410-b603-e72c3f656dc1
2010-07-09 10:20:08 +00:00
paulc
56a86e22cd
Made the private pointer of Regexp mutable so compile() and matches() can be made const.
...
Part of a patch by Allan Sandfeld Jensen.
git-svn-id: http://voip.null.ro/svn/yate@3390 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-17 11:36:52 +00:00
paulc
e5e9753e15
Added a YNOCOPY macro that declares private inaccessible assignment operator and copy constructor to prevent using the compiler generated ones.
...
Fixed a bug exposed by this change.
git-svn-id: http://voip.null.ro/svn/yate@3375 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-11 15:46:06 +00:00
paulc
6e23c56d28
Spelling cleanup of a very common error: Retrive -> Retrieve
...
git-svn-id: http://voip.null.ro/svn/yate@3371 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-11 11:25:10 +00:00
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