Commit Graph

94 Commits

Author SHA1 Message Date
marian 5ac1057ebf Now a data block can be built from a string containing hexadecimal values.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1652 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-21 14:09:14 +00:00
marian 5cf0a5b127 Added the NamedPointer class. Add NamedString::getObject()
git-svn-id: http://yate.null.ro/svn/yate/trunk@1641 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-17 15:31:48 +00:00
marian 8794692f27 Fixed bug: Lock2 contructor is now using the maxwait parameter.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1616 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-11 12:39:56 +00:00
marian 49d96c669f Added DataBlock method to append a buffer.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1606 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-09 11:06:21 +00:00
paulc 1ba837f0e2 Added an YCLASSIMP macro to help just implementing GenObject::getObject().
git-svn-id: http://yate.null.ro/svn/yate/trunk@1409 acf43c95-373e-0410-b603-e72c3f656dc1
2007-07-26 14:22:23 +00:00
paulc 958c1bc7b0 Added non-locking, protected version of ref().
git-svn-id: http://yate.null.ro/svn/yate/trunk@1355 acf43c95-373e-0410-b603-e72c3f656dc1
2007-06-07 17:53:01 +00:00
paulc 5de025800d Added virtual method to control zero reference notification before the
RefObject mutex is unlocked. Also expose said mutex through static method.


git-svn-id: http://yate.null.ro/svn/yate/trunk@1348 acf43c95-373e-0410-b603-e72c3f656dc1
2007-06-04 22:18:59 +00:00
paulc be3967072f Removed useless YATE_API that prevented compiling on VS 2005
git-svn-id: http://yate.null.ro/svn/yate/trunk@1323 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-15 13:23:29 +00:00
paulc defec8462a Moved the destroyed() method to RefObject (since its call in GenObject is
not guaranteed). Added inline helper destruct functions.


git-svn-id: http://yate.null.ro/svn/yate/trunk@1322 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-15 12:51:13 +00:00
paulc 2400f21d6f Added pre-destruction notification method.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1321 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-15 11:16:41 +00:00
paulc 81eab01b7c Added method to copy multiple parameters from a list of names.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1310 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-12 13:27:44 +00:00
paulc 20e1728c4f New String::append methods that join back an ObjList.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1234 acf43c95-373e-0410-b603-e72c3f656dc1
2007-03-26 18:18:22 +00:00
paulc ead7974941 Added formatted timestamping option, changed the API to allow more changes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1146 acf43c95-373e-0410-b603-e72c3f656dc1
2006-12-22 00:57:35 +00:00
paulc 0619862e38 Added option to display EPOCH based debugging timestamps.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1127 acf43c95-373e-0410-b603-e72c3f656dc1
2006-12-16 01:07:26 +00:00
paulc f6a6694668 Added support for hierarchical parameter names.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1120 acf43c95-373e-0410-b603-e72c3f656dc1
2006-11-30 00:53:15 +00:00
paulc 69699edb19 Added static method to get the length of a raw digest.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1081 acf43c95-373e-0410-b603-e72c3f656dc1
2006-10-19 13:14:42 +00:00
paulc f839f83f78 Added SHA1 digest class.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1080 acf43c95-373e-0410-b603-e72c3f656dc1
2006-10-19 12:52:22 +00:00
paulc 08403476e8 Added timerTick method in Socket and SocketFilter.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1064 acf43c95-373e-0410-b603-e72c3f656dc1
2006-10-03 14:24:20 +00:00
paulc fa46a927a5 Added missing parameter documentation.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1061 acf43c95-373e-0410-b603-e72c3f656dc1
2006-09-27 10:16:29 +00:00
paulc 14161da7a1 Added a socket packet data filter - preparing for a nice STUN implementation.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1058 acf43c95-373e-0410-b603-e72c3f656dc1
2006-09-26 18:26:36 +00:00
paulc 0b5e34a34a Added support for socket address reuse and connection lingering.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1032 acf43c95-373e-0410-b603-e72c3f656dc1
2006-09-13 21:42:58 +00:00
paulc d9d961cf01 On Windows wave files are opened in binary mode.
git-svn-id: http://yate.null.ro/svn/yate/trunk@918 acf43c95-373e-0410-b603-e72c3f656dc1
2006-07-01 00:02:45 +00:00
paulc b111a7ddd7 Fixed minor documentation error.
git-svn-id: http://yate.null.ro/svn/yate/trunk@896 acf43c95-373e-0410-b603-e72c3f656dc1
2006-06-21 21:22:40 +00:00
paulc 70e6f8c804 Fixed casting bug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@882 acf43c95-373e-0410-b603-e72c3f656dc1
2006-06-19 15:59:30 +00:00
paulc 82ac44663b Moved user config files to personal directory.
git-svn-id: http://yate.null.ro/svn/yate/trunk@859 acf43c95-373e-0410-b603-e72c3f656dc1
2006-06-11 16:50:04 +00:00
paulc ddfde70754 Escaped # inside comments to keep doxygen 1.4.4 happy.
git-svn-id: http://yate.null.ro/svn/yate/trunk@846 acf43c95-373e-0410-b603-e72c3f656dc1
2006-06-09 09:31:59 +00:00
paulc 10ac4a10bc API docs can be built with doxygen. Also cleaned headers to generate
proper documentation.


git-svn-id: http://yate.null.ro/svn/yate/trunk@845 acf43c95-373e-0410-b603-e72c3f656dc1
2006-06-08 18:31:00 +00:00
paulc c2fe403160 Added new template class.
git-svn-id: http://yate.null.ro/svn/yate/trunk@836 acf43c95-373e-0410-b603-e72c3f656dc1
2006-06-04 18:00:46 +00:00
paulc 5f3116ebc9 Added extra methods to String
git-svn-id: http://yate.null.ro/svn/yate/trunk@833 acf43c95-373e-0410-b603-e72c3f656dc1
2006-06-03 16:08:48 +00:00
paulc 7e8b3e2dbe Constified two RefPointer accessors.
git-svn-id: http://yate.null.ro/svn/yate/trunk@827 acf43c95-373e-0410-b603-e72c3f656dc1
2006-06-01 14:36:53 +00:00
paulc cda2d9f1c2 Updated copyright and FSF address.
git-svn-id: http://yate.null.ro/svn/yate/trunk@815 acf43c95-373e-0410-b603-e72c3f656dc1
2006-05-27 15:08:43 +00:00
paulc 4a292bd06b Moved all classes in all modules in anonymous namespaces.
Added RTLD_GLOBAL dlopen()ing so symbols exported by libraries loaded by
modules will be available.


git-svn-id: http://yate.null.ro/svn/yate/trunk@813 acf43c95-373e-0410-b603-e72c3f656dc1
2006-05-27 14:53:18 +00:00
paulc b1e52e95f5 Added system usage class and uptime command.
git-svn-id: http://yate.null.ro/svn/yate/trunk@807 acf43c95-373e-0410-b603-e72c3f656dc1
2006-05-24 10:04:22 +00:00
paulc 5717e14f59 Changes to enable color debugging, based on the patch sent by maciejka.
Advanced debugging options are retained in NDEBUG build mode.


git-svn-id: http://yate.null.ro/svn/yate/trunk@798 acf43c95-373e-0410-b603-e72c3f656dc1
2006-05-19 15:52:05 +00:00
paulc ceb2ed78ee Added URI escape methods and using them in URI parsing.
git-svn-id: http://yate.null.ro/svn/yate/trunk@796 acf43c95-373e-0410-b603-e72c3f656dc1
2006-05-18 15:22:55 +00:00
paulc 8c6951eebb Added help file support in client.
git-svn-id: http://yate.null.ro/svn/yate/trunk@794 acf43c95-373e-0410-b603-e72c3f656dc1
2006-05-17 15:14:43 +00:00
paulc 8eb77992e6 Added support for socket shutdown and SCTP association peel-off.
git-svn-id: http://yate.null.ro/svn/yate/trunk@771 acf43c95-373e-0410-b603-e72c3f656dc1
2006-05-04 12:24:44 +00:00
paulc b849422edd Moved URI in base classes, added support for Call-Info in SIP and client.
git-svn-id: http://yate.null.ro/svn/yate/trunk@748 acf43c95-373e-0410-b603-e72c3f656dc1
2006-04-12 12:37:25 +00:00
paulc ec13d8c086 Fixes in Windows
git-svn-id: http://yate.null.ro/svn/yate/trunk@730 acf43c95-373e-0410-b603-e72c3f656dc1
2006-03-30 00:21:37 +00:00
paulc 8ba0ab46b4 Improved the external module - supports connecting on sockets, watching
message answers and option settings.


git-svn-id: http://yate.null.ro/svn/yate/trunk@729 acf43c95-373e-0410-b603-e72c3f656dc1
2006-03-29 23:05:36 +00:00
paulc c44947b6a1 Added RADIUS client module.
Applied various related and unrelated changes and fixes.


git-svn-id: http://yate.null.ro/svn/yate/trunk@714 acf43c95-373e-0410-b603-e72c3f656dc1
2006-03-22 18:22:34 +00:00
paulc aa294918c2 Added replaceParams method in NamedList.
git-svn-id: http://yate.null.ro/svn/yate/trunk@713 acf43c95-373e-0410-b603-e72c3f656dc1
2006-03-16 11:33:06 +00:00
paulc 4fb35c4015 Added the case-insensitive startSkip almost in the form suggested by Olaf Conradi.
Added methods for converting a String or Configuration entry to double.


git-svn-id: http://yate.null.ro/svn/yate/trunk@711 acf43c95-373e-0410-b603-e72c3f656dc1
2006-03-13 20:28:34 +00:00
paulc 3054913590 Undone utility function - not usable.
git-svn-id: http://yate.null.ro/svn/yate/trunk@699 acf43c95-373e-0410-b603-e72c3f656dc1
2006-02-21 16:02:59 +00:00
paulc 77ef99f5c0 Added a convenient utility function to zero and destruct a GenObject.
git-svn-id: http://yate.null.ro/svn/yate/trunk@698 acf43c95-373e-0410-b603-e72c3f656dc1
2006-02-21 15:48:49 +00:00
paulc 58b9faac12 Added copy constructors for NamedList and Message
git-svn-id: http://yate.null.ro/svn/yate/trunk@696 acf43c95-373e-0410-b603-e72c3f656dc1
2006-02-21 14:56:39 +00:00
paulc 5f972a465c Worked around a bug in older libpthread - waking up a canceled thread that
was trying to lock a mutex.


git-svn-id: http://yate.null.ro/svn/yate/trunk@682 acf43c95-373e-0410-b603-e72c3f656dc1
2006-02-09 18:49:44 +00:00
paulc 8faacfe499 Fixed a nasty bug in Linux TLS initialization.
Improved thread/mutex debugging.


git-svn-id: http://yate.null.ro/svn/yate/trunk@652 acf43c95-373e-0410-b603-e72c3f656dc1
2006-01-18 18:28:28 +00:00
paulc 0006294f42 Added a much needed Windows random function.
git-svn-id: http://yate.null.ro/svn/yate/trunk@648 acf43c95-373e-0410-b603-e72c3f656dc1
2006-01-13 05:09:50 +00:00
paulc 739bed212b Refactored locking and list iteration to solve deadlocks and race conditions.
git-svn-id: http://yate.null.ro/svn/yate/trunk@639 acf43c95-373e-0410-b603-e72c3f656dc1
2006-01-12 05:32:06 +00:00