florian
|
6b42ba170b
|
+ TFPGObjectList.GetEnumerator and TFPGInterfacedObjectList.GetEnumerator, resolves #18094
git-svn-id: trunk@16471 -
|
2010-11-28 20:32:35 +00:00 |
|
ivost
|
5f39d255e1
|
* added TFPGMapInterfacedObjectData: This generic class expects a TInterfacedObject as type of TData. The advantage over TFPGMap is, that refcounting is used. It's compareable to TFPGInterfacedObjectList. Note that this only works within the TData part, TKey is not refcounted!
git-svn-id: trunk@16455 -
|
2010-11-27 16:02:01 +00:00 |
|
florian
|
3d13c2e2be
|
* cleaned up ver2_0 defines
git-svn-id: trunk@16430 -
|
2010-11-25 14:28:31 +00:00 |
|
florian
|
ef0899425b
|
* adds assign methods to the fgl classes based on a patch by Aleksa Todorovic, resolves #10479
git-svn-id: trunk@16429 -
|
2010-11-25 14:12:13 +00:00 |
|
ivost
|
e770bc597f
|
* fixed refcounting problem. When copy an item over an existing one, the existing one was not dereferenced
* removed some old (useless) commented code
git-svn-id: trunk@16424 -
|
2010-11-24 23:08:12 +00:00 |
|
paul
|
dbbe861797
|
rtl: make fgl compilable with 2.4.0
git-svn-id: trunk@15658 -
|
2010-07-29 01:47:57 +00:00 |
|
paul
|
790f6b0a4b
|
compiler: use delphi syntax for type, const and var section declarations in classes instead of fpc generics syntax
rtl: fix fgl to use the new syntax
tests: fix generics tests to use the new syntax
git-svn-id: trunk@15646 -
|
2010-07-27 00:59:32 +00:00 |
|
ivost
|
efc3054644
|
* commented "deprecated". specialization is not working
git-svn-id: trunk@14894 -
|
2010-02-13 00:29:22 +00:00 |
|
ivost
|
2f20f6efc1
|
* marked old OnCompare properties as deprecated. use OnKeyCompare or OnDataCompare instead.
git-svn-id: trunk@14889 -
|
2010-02-11 20:48:35 +00:00 |
|
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 |
|