Commit Graph

14 Commits

Author SHA1 Message Date
Ioana Stanciu c56216f5a8 Updated copyright notices. 2023-05-23 17:01:06 +03:00
oana 100d644ce6 Add methods to HashList that allow adding and removing of an object with arbitrary associated hashes.
git-svn-id: http://voip.null.ro/svn/yate@6441 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-21 10:44:33 +00:00
paulc d56cecb40e 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://voip.null.ro/svn/yate@5755 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-05 11:42:17 +00:00
oana 38b3ae1969 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://voip.null.ro/svn/yate@5689 acf43c95-373e-0410-b603-e72c3f656dc1
2013-11-18 11:08:30 +00:00
paulc 18e10bfd69 Changed license terms in each source file to reference an external file.
git-svn-id: http://voip.null.ro/svn/yate@5609 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-06 13:38:10 +00:00
marian 0e7fff55b6 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://voip.null.ro/svn/yate@5461 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-12 14:42:29 +00:00
paulc 7c8b2d4c38 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://voip.null.ro/svn/yate@5449 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-12 13:19:14 +00:00
marian 2b24b9ce08 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://voip.null.ro/svn/yate@5416 acf43c95-373e-0410-b603-e72c3f656dc1
2013-03-06 16:15:52 +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 b4350bddd5 Use TelEngine::destruct(obj) or GenObject::destruct() wherever applicable.
git-svn-id: http://voip.null.ro/svn/yate@1325 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-15 15:40:50 +00:00
paulc 3a1938c2c7 Updated copyright and FSF address.
git-svn-id: http://voip.null.ro/svn/yate@815 acf43c95-373e-0410-b603-e72c3f656dc1
2006-05-27 15:08:43 +00:00
paulc 3490d2d891 Refactored locking and list iteration to solve deadlocks and race conditions.
git-svn-id: http://voip.null.ro/svn/yate@639 acf43c95-373e-0410-b603-e72c3f656dc1
2006-01-12 05:32:06 +00:00
paulc 0af6d0078c *** empty log message ***
git-svn-id: http://voip.null.ro/svn/yate@448 acf43c95-373e-0410-b603-e72c3f656dc1
2005-07-15 22:02:08 +00:00
paulc 0bcd7af586 Removed old Gtk-1 and Qt clients, added hashed lists.
git-svn-id: http://voip.null.ro/svn/yate@447 acf43c95-373e-0410-b603-e72c3f656dc1
2005-07-15 20:48:06 +00:00