paul
|
5b9adfd0df
generics: store generic type with '<,>' symbols to prevent hiding of regular types with the same name and hiding generics with the same name but different type parameters, search them using '<,>' symbols, in inline specialization do search with look ahead.
|
14 роки тому |
florian
|
6b42ba170b
+ TFPGObjectList.GetEnumerator and TFPGInterfacedObjectList.GetEnumerator, resolves #18094
|
15 роки тому |
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!
|
15 роки тому |
florian
|
3d13c2e2be
* cleaned up ver2_0 defines
|
15 роки тому |
florian
|
ef0899425b
* adds assign methods to the fgl classes based on a patch by Aleksa Todorovic, resolves #10479
|
15 роки тому |
ivost
|
e770bc597f
* fixed refcounting problem. When copy an item over an existing one, the existing one was not dereferenced
|
15 роки тому |
paul
|
dbbe861797
rtl: make fgl compilable with 2.4.0
|
15 роки тому |
paul
|
790f6b0a4b
compiler: use delphi syntax for type, const and var section declarations in classes instead of fpc generics syntax
|
15 роки тому |
ivost
|
efc3054644
* commented "deprecated". specialization is not working
|
15 роки тому |
ivost
|
2f20f6efc1
* marked old OnCompare properties as deprecated. use OnKeyCompare or OnDataCompare instead.
|
15 роки тому |
ivost
|
0637586076
* extended TFPGMap so that it's possible to add a custom compare function for data. Default compare function is binary compare.
|
15 роки тому |
ivost
|
02b4a626de
* changed some var parameters to out. the context allows that. it's required to prevent "not initialized variable" warning.
|
15 роки тому |
micha
|
215823c88f
* rtl: fix TFPGList Add/Insert hang/crash (issue #15500)
|
15 роки тому |
paul
|
64b6700c61
rtl: add enumerator for the TFPGList type
|
16 роки тому |
ivost
|
f18a2ab69c
* fixed bug in TFPSList.SetCount. Deref was not called when shrinking the list.
|
16 роки тому |
ivost
|
b340822af2
* added FreeObjects property to TFPGObjectList (as known from TObjectList in contnrs)
|
16 роки тому |
ivost
|
f38c6c609d
* implemented TFPGInterfacedObjectList. it's the same as TFPGObjectList but ref counted.
|
16 роки тому |
ivost
|
e98850c5c5
* added TFPGObjectList
|
16 роки тому |
micha
|
b3548b4673
* fix TFPGMap key compare (fixes issue #11354)
|
17 роки тому |
yury
|
79a1b1a485
* Converted user defined note to info message.
|
18 роки тому |
yury
|
4b3015802a
* Removed workaround for bug #9827, since it was fixed.
|
18 роки тому |
yury
|
b52338d0bd
* Converted user defined note to info message.
|
18 роки тому |
yury
|
9e9716f95e
* Changed user warnings to notes.
|
18 роки тому |
yury
|
6a36ac786a
* Fixed warnings.
|
18 роки тому |
florian
|
de47ba3ac8
* fixed GetKeyData
|
18 роки тому |
micha
|
f48e51c380
* fix TFPSMap.GetKeyData on non-sorted map (#9672)
|
18 роки тому |
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
|
18 роки тому |
tom_at_work
|
f88c5e1324
* fix memory leak of TFPSList.Clear()
|
18 роки тому |
micha
|
3a1b633325
+ revive generics based tfplist/tstringlist implementation for generics testing; build with FPC_TESTGENERICS
|
18 роки тому |
micha
|
467cd39091
* optimize fpglist.indexof, indexed array generates more optimal code than manual index multiplication
|
19 роки тому |