Commit Graph

13 Commits

Author SHA1 Message Date
oana 4fe3b7e62d Add methods to HashList that allow adding and removing of an object with arbitrary associated hashes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6441 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-21 10:44:33 +00:00
paulc 37a72e4bc1 Added copyright notices to sources and scripts missing them.
Updated copyright notices for 2014.
Fixed end of lines in many files.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5755 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-05 11:42:17 +00:00
oana 14b1d0bb07 Added option to remove an object from a HashList using its hash.
Added function to remove an object from a HashList by its String value.



git-svn-id: http://yate.null.ro/svn/yate/trunk@5689 acf43c95-373e-0410-b603-e72c3f656dc1
2013-11-18 11:08:30 +00:00
paulc cf5d0fd71a Changed license terms in each source file to reference an external file.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5609 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-06 13:38:10 +00:00
marian 5476d7c66b Added HashList method used to find an object by pointer and hash.
A list iterator built from HashList stores object hashes and use them when needed.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5461 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-12 14:42:29 +00:00
paulc 3b49b78ecb Added a shared static list of Atom strings and an YATOM macro.
This speeds up signifficantly the Yate RTTI on compilers that HAVE_BLOCK_RETURN.
Made the String comparison operator inline to shave off a few cycles.
Fast handle the comparison in identity case.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5449 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-12 13:19:14 +00:00
marian c5f80d4401 Fixed bug: don't try to retrieve the list from object string hash when finding by pointer: it might be deleted.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5416 acf43c95-373e-0410-b603-e72c3f656dc1
2013-03-06 16:15:52 +00:00
paulc fa0269ba4f 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://yate.null.ro/svn/yate/trunk@4423 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-03 12:26:53 +00:00
paulc e39385fdd5 Use TelEngine::destruct(obj) or GenObject::destruct() wherever applicable.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1325 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-15 15:40:50 +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 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
paulc 0e09ab332c *** empty log message ***
git-svn-id: http://yate.null.ro/svn/yate/trunk@448 acf43c95-373e-0410-b603-e72c3f656dc1
2005-07-15 22:02:08 +00:00
paulc f64ca1875c Removed old Gtk-1 and Qt clients, added hashed lists.
git-svn-id: http://yate.null.ro/svn/yate/trunk@447 acf43c95-373e-0410-b603-e72c3f656dc1
2005-07-15 20:48:06 +00:00