Description: classes unit
This file as text.
(active) Revisions in this set:
c6d8bd73f7343b8fa6ae514e6187786542468b4c,706d89d6cc695c0740db66e5f141f21d787210d0,38cde3817754458936db1662687ae37498500da5
e99c9ddd7522d2d07c1bf4f736ea33aa0d0bba55,61cd38e6db176dd006be6adb8c6c350011a8b108,e27ea76b8887c6d4c597054edf5beddc40100867
22101432395ad7c81f2334e4f6db5079a7fd9a64,d6a26f2c28a494b068bd21664b84430c6375636b,042eb7e8c196b6a0c8f6016af9985b8b3062703b
7097a1030f0df9196a2b9d9142f5c1b6827522e4,2a19e152b70ffc0ff673e1bea07c836eb98d0c4b,59a7024d73b9345d667b839532200735255d1fac
5ca52bcab1b61b5cd47325be5f5e4d3f3581f3b1,712823eb6c53fb9fec5843c796bd60560ea6212e,7243befdb7fdb80e4257009497a4321f5241a3c7
9c8f362accb973d6b1ea109e2b71b29649301d3b,d23fa5a87f000e16f8687e83e68a4fe58e6b4c24,98cdab52003cb8de54ff90bd2d908288f6963f86
b641c564c6dff6785fec81e38c4d29b1d0767988,68db04d89e0ebeb32317a39769b7312e2bd30c2d,b0f5d5a4e19e6f1cd5bca6a1c0e00440c725999d
c1f39603889e52ffc0eb9a392ff9b4f8b093de74,ea4768456f894c4b9dfb65a5dc5a0c04d0ea4791,ec65ed9e648c08ad1b5f461abb6b96cb2630005b
fdea66d2171915c3b3ec135bf391a442c9e3169b,f9a96e5e63a93340d2c9406023f2a5ac0581581d,c3c3bd347112393a0de03a7efeb8bae127a619bf
0e2102e17249645b441c377219a9e7c69bf32e24,b2b2606e36f0c4e4d9b24b85cacfff4d82be019f,e774a6275c99cf57f11a046de42b59d35364f270
1eca53a681301256bbf41d4bd551e55fdb91a480,e8546a9e41f471041c0c7dd89302d567eb9a2670,c7109674d167868bc027558f0906b376bafb4c23
36a2835f8c95290fbd3002700726d4bfb2ac006c,c48c816e498436cf89c0539cf26551ad6ab39872,113add75cc3c95acf1bddb87d95034a7fa0c6c1f
ab4db7f4751419cd487f095e7dbc3b759090afae,08821f94223f639076beca70eb6bf111453e7b8b,e4ebf46df3e1139215ca5cd6f7bc64f6e2f9f50c
594090b2157717710c8520272a555637aadef96f,094f8a7be7468a6465981de4f6fc4398110a7581,8179aadb2c28ec3ca76a88f879b70bafaa023334
972b5181eb6501c54ce8194c71ce67469a0a5fe1,d2f3426bda0753986075c88b558c5cb7e9d8f8da,54d692c7d657dd6a7da2b1c9984b9a6cf2deb080
386f31ef4c2ac15fa101addb4f93cb7c4599ebd5,14e9446c087db914ab224e4f11c9140d16bf69ee,b9ef7416f05391d8133bed83311230256732e6f9
2444c5ec790862b948d919d2c35e94fbcfc68ac1,9b9623b289073b875c8cfad7b43fc1a901f0a462,29e2277d98fae1246789babafcd0585590d3f3f4
49100cc42ba9d0af33afb711e5d4478a204927e2,af3ebf1464224ee159be03d74ab2c73c7f092eef,d1b7a49700eea1eafaa8ec37c1d8470b7f68ec39
2d9ef694dd57e49ccc2644e2c9d2ef9a328b59d2,7506277dc1618bc9c1f1f6f5cb8a4cb56185f356,186f93a8c9dbe75bfe1d852f4aa262e799002657
6d49f7db7b65c5c561c6f99bd78d4adeada01b49,a320464afed535d22686bf5831452fdb8b5b51d2,d51a0c6b3ca6064b71360a12e580bdb8afb22e49
689fae7dd902b1ab37b9c5a723ded2e5c75db90c,6edfaed0ac70bffcb02e7a9e7ca20fce0f6f4100,055740e2b33101b7dc647c7dbbc4fc7967d8033a
58560d333eaae261ed84ccdb8fb59166a922c5ce,d7352e7b663fb94b38ffba53adbb94db3e2799ba,8139c0a8bd2470ef84212f1fef9ffce1290a3f97
aec11012e81c937e0fc5ffd791e75a14dc518aa7,6e73a3b0e1e2c813785f9e104f4230988f065a0b,6f5f567087c78419d5c23de88e0618dddeb97ad7
73287c1fa8d38d37faa60af49531ef75faff677c,a8345da53fe85245995fc4c41ec000a3ce04dfd1,3b8a4137a5504cb04cb1b4be5b36c1139f91243a
4b04608a4465649d7d4e7e09a4611342cc50a3aa,cc20d1fe0657ea4a149e8eee6082e159d62c35a0,bfefdb67c3be4318ba52be7e603c8dea90299da2
628d035b503dabec85b2b227db116a3563d6f568,ae0d1c3ae73d8a5de55ba790d8166fbc673f287c,82368b65cdb0b223048784ca00fa49f44508a671
ecd7888fc803859f10deff391de220d1201a0049,36dda1724559cf9aa7cc47c279e0150b364ce22d,d72449d461d87649a7627511b2ba8357672afa35
4585fe43236197c42c486e5c6e16009b33d186c0,c8813fcb20845e7db66932bd01f195dc7917bbc9,bc4b38a526f37103e75dba00eb7c6624366d12fc
fa097d1ab0561c637dd2c907783f31a5ee410e46,5d7d5f6d8368182bd603cf384de2124c54dc8086,9c3be3351f8811ff5ebbc84731a22a26579df8ae
4a59ff048b97e18a45ca004f68e9d9d4889fb5da,6fda9b58ba275b3305400ce3e9dd922f515566b9,bea570ead89ecb6b08d012b46fa92a8903522e74
4284e61fccd5c66948772364576b5aeff28b6cb2,a2a5c3c915f61dfd3e3ff47e563f73dfa792591c,7774e3c736158edefd0cb43a20a88afa4552ab7d
fef8e309caf92fb305d6bb142f0a316bc67ba9d2,4c4ead3abb2eed920f9025c2cec1a39484b6ac3f,1d664955b7156d7ea73b5f2c9bc338c0115d6cdb
0b8b93e1cea96dea6cdd8805457b8256e1213324,bc4842d19b3e42ae27c505d2d4d6f79bbf4cd8ac,254debcdf1fc077778d63920964270b1bd372b85
cc1966bfb1aa57cb2505c1aef1a732be93a7ef88,8508872105cfccc6a9408b4a84272514224321ba,7a1aa47ec5f964ff515b4416483956876cf6a212
7a4c1b0960a3a63bf1ea2acd67ae2568824b86af
Clicking a revision will expand files
* Patch from Serge Anvarov with some optimizations (bug
Mantis 0036143)
* GlobalNameSpace must EndWrite before it is released to unlock the critical section
* make TProxyStream.Check an abstract method; as it is right now one had to override it anyway because it always raised an exception
* Add deprecation message
* Fixed Issue ID38920: twriter crashes on readonly nil component
The TStream.ReadBuffer and TStream.WriteBuffer methods have changed the Count parameter type to NativeInt.
Changed the implementation of ReadBuffer, WriteBuffer so that the size of the blocks when calling Read and Write does not exceed High(Longint).
Notes:
- Thanks to this change, for example, a file larger than 2GB can be loaded into TMemoryStream.
- The fact that the Count parameter has the NativeInt type is compatible with the latest versions of Delphi.
fix wording of error message when field not found during reading of lfm file
* Small safety precaution
* Add some delphi compatibility enumerateds to TShiftState
* more robust calculation of TBITS_SHIFT
rtl: TReader: FindComponentClass using field name and classname
* Adapt classes to Unicode RTL : Give string/char correct type depending on case
rtl: TBinaryObjectWriter.Version
rtl: added overload GetClass(UnitName,ClassName), implemented UnregisterClass, overload TStream.WriteComponent(Instance,WriteUnitName)
rtl: ObjectBinaryToText, ObjectTextToBinary: support unitname/classname
* Better Ansi/WideString support for TStream. Fix StringStream with unicode to be delphi compatible
rtl: added TBinaryObjectReader.BeginComponent
* Avoid useless exceptions by checking existence of resource
* Fix windows compilation
* Resource handle is not resource ID
+ add function reference suitable overload of TThread.ForceQueue()
* change Result of CheckSynchronize to true when at least one method was executed (matches with both FPC and Delphi documentation)
+ support 16-bit pointers in TFPList.IndexOf
rtl: classes: added parameter aName to TFindComponentClassExEvent
* (modified) patch by Jinyang He to handle alignment in FindInFieldTable correctly, resolves
gitlab 0040400
* Fix OnChange being fired twice when adding an object. Fixes issue 40261
* Some delphi compatibility types and consts
* Add delphi-compatible observers to classes
* Add GetMulticastObserver
* Add TStreamOriginalFormat for Delphi compatibility
* Add SkipValue to TReader
* Add TReader.ReadPrefix for Delphi compatibility
* Not all OSes have NilHandle
* Fix wince/nativent compilation
* Add CreateAnonymousThread with anonymous procedure
* Add Current and CurrentIsMain
* Change GetSystemTimes signature to be delphi compatible, implement for linux
* Move move free notifications to separate procedure. Fixes issue
gitlab 0040638
* Make TComponent.GetObservers virtual and protected for Delphi compatibility
* Add TReader.SetName for Delphi compatibility
* Add support for vaDouble
* Add TReader.ReadStr for Delphi compatibility
* Fix signature of TReader.SetName
* Overloads for TResourcestream.Create
Remove most of the VER3_0 conditionals.
* Properly nest beginupdate/endupdate in doaddobject
* Remove superfluous initialization of local variable. Fixes issue
gitlab 0040917
* Patch from Alfred Glänzer, fix FindComponentClass to use actual typinfo structures. Fixes issue
gitlab 0041000
* Patch from Amexander Bagel to restore Delphi-compatible behaviour in TThread.Queue. Fixes issue
gitlab 0041043
* TBasicActionLink.Update must always return value. Fix issue
gitlab 0041070
* Small optimization. Use SameText instead of uppercasing both strings
* Result needs to be assigned when doing FindInFieldTable
* Parser buffer are ansichars
* Make sure BOM marker is correctly compared
Add Contains() to lists and stringlist
* Add ContainsObject to TStrings. Patch from Bart. Fixes issue
gitlab 0041405
* Use SizeInt when checking inside strings. Fixes issue
gitlab 0041414
* Add delay parameter to ForceQueue for Delphi compatibility
* Allow Reverse to be used on Self. Copy objects as well. Fixes issue
gitlab 0041508
* Handle OwnsObjects when doing revert on self
* More efficient algorithm for reverse in case Self is passed. By BrunoK
* Use new pause intrinsic for platforms that support it in TThread.SpinWait
Fix compilation with release compiler
* use also fpc_riscv_pause
* Add intrinsics unit for ARM platforms
Replace unused AARCH macro by AARCH64
Fix LLVM rtl compilation by disabling yield/pause inside TThread.SpinWait method
Add intrinsics dependency in classes unit for several OSes
Only add intrinsics unit dependency for trunk branch
Add fpc_ppc_yield call for powerpc/powerpc64 CPU
Add intrinsics unit dependency for powerpc and powerpc64 CPUs
Use FPC_USE_INTRINSICS macro to use compiler pause/yield intrinsics function
Set FPC_USE_INTRINSICS when appropriate for most platforms
Do not use FPC_USE_INTRINSICS on some old target OSes
Set FPC_USE_INTRINSICS after _USES clause for i386 and x86_64
Fix syntax error (missing $endif)
Also disable FPC_USE_INTRINSICS on i386 and x86_64 if LLVM or for version < 3.3.1
Fix erroneous double inclusion of classesh.inc file