Commit Graph

76 Commits

Author SHA1 Message Date
ivost
0637586076 * extended TFPGMap so that it's possible to add a custom compare function for data. Default compare function is binary compare.
git-svn-id: trunk@14888 -
2010-02-11 20:45:14 +00:00
ivost
02b4a626de * changed some var parameters to out. the context allows that. it's required to prevent "not initialized variable" warning.
git-svn-id: trunk@14886 -
2010-02-11 15:52:37 +00:00
micha
215823c88f * rtl: fix TFPGList Add/Insert hang/crash (issue #15500)
git-svn-id: trunk@14718 -
2010-01-17 15:34:45 +00:00
paul
64b6700c61 rtl: add enumerator for the TFPGList type
git-svn-id: trunk@14245 -
2009-11-21 18:51:48 +00:00
ivost
f18a2ab69c * fixed bug in TFPSList.SetCount. Deref was not called when shrinking the list.
git-svn-id: trunk@13851 -
2009-10-12 21:23:38 +00:00
ivost
b340822af2 * added FreeObjects property to TFPGObjectList (as known from TObjectList in contnrs)
git-svn-id: trunk@13108 -
2009-05-06 22:50:25 +00:00
ivost
f38c6c609d * implemented TFPGInterfacedObjectList. it's the same as TFPGObjectList but ref counted.
git-svn-id: trunk@13102 -
2009-05-05 12:26:42 +00:00
ivost
e98850c5c5 * added TFPGObjectList
git-svn-id: trunk@12834 -
2009-03-01 00:08:27 +00:00
micha
b3548b4673 * fix TFPGMap key compare (fixes issue #11354)
git-svn-id: trunk@11138 -
2008-05-31 13:12:39 +00:00
yury
79a1b1a485 * Converted user defined note to info message.
git-svn-id: trunk@9551 -
2007-12-27 23:29:52 +00:00
yury
4b3015802a * Removed workaround for bug #9827, since it was fixed.
git-svn-id: trunk@9549 -
2007-12-27 22:56:19 +00:00
yury
b52338d0bd * Converted user defined note to info message.
git-svn-id: trunk@9548 -
2007-12-27 22:49:05 +00:00
yury
9e9716f95e * Changed user warnings to notes.
git-svn-id: trunk@9505 -
2007-12-21 22:57:59 +00:00
yury
6a36ac786a * Fixed warnings.
git-svn-id: trunk@9095 -
2007-11-03 10:36:27 +00:00
florian
de47ba3ac8 * fixed GetKeyData
git-svn-id: trunk@8729 -
2007-10-03 11:13:27 +00:00
micha
f48e51c380 * fix TFPSMap.GetKeyData on non-sorted map (#9672)
+ add test for issue #9672

git-svn-id: trunk@8485 -
2007-09-14 20:48:29 +00:00
tom_at_work
ddc0ac9a43 * better fix for TFPGSList memory leak: avoid changing allocation behavior (adds one temp entry used for various operations), and clean up in the destructor
git-svn-id: trunk@8433 -
2007-09-11 22:23:33 +00:00
tom_at_work
f88c5e1324 * fix memory leak of TFPSList.Clear()
git-svn-id: trunk@8431 -
2007-09-11 21:43:27 +00:00
micha
3a1b633325 + revive generics based tfplist/tstringlist implementation for generics testing; build with FPC_TESTGENERICS
git-svn-id: trunk@7001 -
2007-03-25 19:19:04 +00:00
micha
467cd39091 * optimize fpglist.indexof, indexed array generates more optimal code than manual index multiplication
git-svn-id: trunk@5751 -
2006-12-30 19:14:11 +00:00
micha
f9e7a99405 * speedup generic list, esp. remove
git-svn-id: trunk@5746 -
2006-12-29 22:23:28 +00:00
micha
2e7dbbda80 * fix generic list add
git-svn-id: trunk@5638 -
2006-12-18 22:03:36 +00:00
micha
efd7073959 * zero allocated memory for usage as dynamic type
git-svn-id: trunk@5631 -
2006-12-17 22:04:07 +00:00
micha
b1c1b6fd3d + generic implementation of list and map; adapt TList/TStringList to use it
git-svn-id: trunk@5624 -
2006-12-17 15:52:42 +00:00
florian
ca6f992504 * enabled type and var keywords in objects for generics
git-svn-id: trunk@5062 -
2006-10-29 14:20:21 +00:00
florian
3b152ad791 + initial commit, derived from tfplist, draft, non working yet, needs more compiler support
git-svn-id: trunk@4484 -
2006-08-22 20:17:59 +00:00