nickysn
730f7c82b7
* some fixes, intended to get units fgl and classes to compile on 16-bit cpus
...
git-svn-id: trunk@24649 -
2013-05-30 18:58:25 +00:00
svenbarth
bb5dc545f8
rtl/objpas/fgl.pp:
...
Fix typo in comment; fixes Mantis #23352
git-svn-id: trunk@23036 -
2012-11-19 19:23:58 +00:00
florian
39aef35bdc
* pass not only exception address but also frame to raise:
...
if an address is passed the compiler cannot know a good
value for the frame so it passed nil and no stack trace is printed, resolves #12528
git-svn-id: trunk@22932 -
2012-11-04 20:40:21 +00:00
marco
262ff83658
* binary compare data compared data1 with itself, mantis #22241 Patch by ...
...
git-svn-id: trunk@21576 -
2012-06-10 09:30:11 +00:00
marco
6b93cbcbea
* Fix for #21636 , TFPSList.Pack several fixes.
...
git-svn-id: trunk@21039 -
2012-04-25 17:25:00 +00:00
florian
4c95e9fce5
* commented pdata type as proposed in #20004 by Michalis Kamburelis, resolves #20004
...
git-svn-id: trunk@18244 -
2011-08-17 11:47:41 +00:00
florian
ae8c250c3e
* fix indention
...
git-svn-id: trunk@18238 -
2011-08-17 09:20:28 +00:00
florian
9b88297389
* patch by Michalis Kamburelis to keep the ending of TFPSList filled with zeros (space between count and capacity), resolves #20005
...
git-svn-id: trunk@18237 -
2011-08-17 09:05:58 +00:00
florian
6cb6d9ffaf
* patch by Michalis Kamburelis to make FGL lists First and Last properties that are settable, resolves #19874
...
git-svn-id: trunk@18223 -
2011-08-16 17:11:48 +00:00
florian
3787ed993c
* made some fields in fgl.pp private as proposed by Michalis Kamburelis, resolves #19873
...
git-svn-id: trunk@18210 -
2011-08-14 19:52:01 +00:00
florian
4a34192510
* fix TFPGList.Extract to return the correct values by a patch by Michalis Kamburelis, resolves #19960
...
git-svn-id: trunk@18205 -
2011-08-14 13:57:33 +00:00
marco
079831b50e
* Deref old content of node in FPSList.put. Mantis #19854
...
git-svn-id: trunk@18063 -
2011-08-02 15:15:27 +00:00
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