Commit Graph

122 Commits

Author SHA1 Message Date
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
paulc 1b971b9ab3 Added methods to get the length of an UTF-8 string, can be used for validation.
git-svn-id: http://voip.null.ro/svn/yate@1994 acf43c95-373e-0410-b603-e72c3f656dc1
2008-05-23 17:21:28 +00:00
paulc 70465bf47c Added YATE_API specifier to the Base64 class.
git-svn-id: http://voip.null.ro/svn/yate@1879 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-08 07:38:03 +00:00
marian 324316ea9c Added Base64 class: encode/decode data using BASE64 alphabet.
git-svn-id: http://voip.null.ro/svn/yate@1870 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-02 15:04:56 +00:00
paulc fdc6992571 Added handy parameter inspect operator[].
git-svn-id: http://voip.null.ro/svn/yate@1706 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-30 17:55:29 +00:00
marian fee206ad6c Now a data block can be built from a string containing hexadecimal values.
git-svn-id: http://voip.null.ro/svn/yate@1652 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-21 14:09:14 +00:00
marian 483cfea4a3 Added the NamedPointer class. Add NamedString::getObject()
git-svn-id: http://voip.null.ro/svn/yate@1641 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-17 15:31:48 +00:00
marian 0559e42e1e Fixed bug: Lock2 contructor is now using the maxwait parameter.
git-svn-id: http://voip.null.ro/svn/yate@1616 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-11 12:39:56 +00:00
marian f58f72fa63 Added DataBlock method to append a buffer.
git-svn-id: http://voip.null.ro/svn/yate@1606 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-09 11:06:21 +00:00
paulc f60fa28fde Added an YCLASSIMP macro to help just implementing GenObject::getObject().
git-svn-id: http://voip.null.ro/svn/yate@1409 acf43c95-373e-0410-b603-e72c3f656dc1
2007-07-26 14:22:23 +00:00
paulc 601e5dd4dd Added non-locking, protected version of ref().
git-svn-id: http://voip.null.ro/svn/yate@1355 acf43c95-373e-0410-b603-e72c3f656dc1
2007-06-07 17:53:01 +00:00
paulc 4b20366101 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://voip.null.ro/svn/yate@1348 acf43c95-373e-0410-b603-e72c3f656dc1
2007-06-04 22:18:59 +00:00
paulc 89a62ecf76 Removed useless YATE_API that prevented compiling on VS 2005
git-svn-id: http://voip.null.ro/svn/yate@1323 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-15 13:23:29 +00:00
paulc b4f8056f72 Moved the destroyed() method to RefObject (since its call in GenObject is
not guaranteed). Added inline helper destruct functions.


git-svn-id: http://voip.null.ro/svn/yate@1322 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-15 12:51:13 +00:00
paulc 02a45da0a8 Added pre-destruction notification method.
git-svn-id: http://voip.null.ro/svn/yate@1321 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-15 11:16:41 +00:00
paulc 18cb09b371 Added method to copy multiple parameters from a list of names.
git-svn-id: http://voip.null.ro/svn/yate@1310 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-12 13:27:44 +00:00
paulc 75ba48d63c New String::append methods that join back an ObjList.
git-svn-id: http://voip.null.ro/svn/yate@1234 acf43c95-373e-0410-b603-e72c3f656dc1
2007-03-26 18:18:22 +00:00
paulc e590ddde8b Added formatted timestamping option, changed the API to allow more changes.
git-svn-id: http://voip.null.ro/svn/yate@1146 acf43c95-373e-0410-b603-e72c3f656dc1
2006-12-22 00:57:35 +00:00
paulc 14f3a7848a Added option to display EPOCH based debugging timestamps.
git-svn-id: http://voip.null.ro/svn/yate@1127 acf43c95-373e-0410-b603-e72c3f656dc1
2006-12-16 01:07:26 +00:00
paulc 46f591363e Added support for hierarchical parameter names.
git-svn-id: http://voip.null.ro/svn/yate@1120 acf43c95-373e-0410-b603-e72c3f656dc1
2006-11-30 00:53:15 +00:00
paulc 8ae4144e92 Added static method to get the length of a raw digest.
git-svn-id: http://voip.null.ro/svn/yate@1081 acf43c95-373e-0410-b603-e72c3f656dc1
2006-10-19 13:14:42 +00:00
paulc cee1f6228f Added SHA1 digest class.
git-svn-id: http://voip.null.ro/svn/yate@1080 acf43c95-373e-0410-b603-e72c3f656dc1
2006-10-19 12:52:22 +00:00
paulc fdced394cb Added timerTick method in Socket and SocketFilter.
git-svn-id: http://voip.null.ro/svn/yate@1064 acf43c95-373e-0410-b603-e72c3f656dc1
2006-10-03 14:24:20 +00:00
paulc 5849ff1eaf Added missing parameter documentation.
git-svn-id: http://voip.null.ro/svn/yate@1061 acf43c95-373e-0410-b603-e72c3f656dc1
2006-09-27 10:16:29 +00:00
paulc f9d8a9c8bf Added a socket packet data filter - preparing for a nice STUN implementation.
git-svn-id: http://voip.null.ro/svn/yate@1058 acf43c95-373e-0410-b603-e72c3f656dc1
2006-09-26 18:26:36 +00:00
paulc 18ef27f883 Added support for socket address reuse and connection lingering.
git-svn-id: http://voip.null.ro/svn/yate@1032 acf43c95-373e-0410-b603-e72c3f656dc1
2006-09-13 21:42:58 +00:00
paulc bef614c844 On Windows wave files are opened in binary mode.
git-svn-id: http://voip.null.ro/svn/yate@918 acf43c95-373e-0410-b603-e72c3f656dc1
2006-07-01 00:02:45 +00:00