Description: rtl-objpas

This file as text.
(active) Revisions in this set:
75fe6c23a5242eddfd19537e00200bf425cfdcbc,2840e5e1fda6a4d222057f583c6a65cb08a0074d,c38b8ac28fd17072e2db87f4d008c36e68e8e0a7
eed9bc1f356acc9da3471b862ae0b35e8fca0908,e65b822a0c2a0d0dbe11ae3766dc9876accdbf28,e95572921a85a84f64ce4864544d549ad0ef5b50
ac95c20c5a0fa5387aa87a963ef224fb86bcffe7,8c5bc91855dcdb1812d0d8ad851e1eef92047187,7cde8df8c78c3e7f7af2758c53e57e2867680baa
6ffa3d4a89adc384b4bcc4459c63b30d1c0d830b,74fdf0692caf78d795585b06078f93310d7ae0cf,6084bb6d09aab6c4f337f0df1ae121f0c7149c7e
42b10196f16592cfabc4284ada2e8c3e78b44015,0bad315dafc027649333ae3ed76fbee3c1426734,4b5ffd1b2363b8853525a11d20d4ada6c8c5bc12
a7578e144d4dbb18405e80f55822e140fc049be8,ef5a32ab9531f0c6626fff54981a05d0cef3a0d0,56a906a4219bc5533335bf84c3df56250de1de37
9b783281753a1b7b76feb9b9fad04975bc7ac109,15e7dd3d9f5d94136f00c29235f9ffbcb8a5650c,5307ef07c43b0c3005f7d2a2da89b58cd2690993
f671db3fa691b70f720b266dc25c6bef77e1288c,557a324473694e56ffd934e2f9342ce64cd9b50d,74c995c06b7759bf741954b2e51ece96b9847f75
938207045477ae42af68ac7cf0b30d67de7dffb4,1ce1fcf5aeff6fe3ade196c3e4d1b1d58f80f5fd,b0fd2615194fa74e8b4de328974c9834e6ca06a4
dba81381756d73ff6bc9493bf5e6b15197d0118b,50344403834db619bdbf15f42ef88bce903d0692,2cec31d86f232e5c47fbe20dfd115d8caf2e5ba5
121f6fce223c975f5ec2d48cad8e40ae9c47cc1f,b6ccf369b97093839cdefcda2be4e46a65b27bc4,3a5db26abf2ab5fbae9577928a42d78d122e0ae7
2b0d98bf2ceb00ebe2b479f91a33bed106513791,cc81e183226bb1d36dd19b7755c51e2633be8f09,ca8d867d570f0a292fb8cb92e397926e34c9fac7
71a46465c8105ac3fa5f492d17ae73ac486b7060,476780df7710331877ee1c77af234dc75d13e8ba,9c5bfbeb780c296556b6317bdc517079c42e390a
09b0ca01ccf02d311c1a2223ac8c1c80ea16e78d,3f7cd9b8076ef8bb0f9fb3a1892d2beb944ccbdb,ba6696d9eda7872b99b9a3b3060545aa7e31051c
7589bb39b86dcb8ff1bd7a3bb4d836659062bf60,074cb3bcf4dd05140984e8f0ff1b42a2caed1ca3,54bb95da81571e745d02770318ceba5fecf4e0d2
d1432b73029b43b6f1a4746782e76c04ea75ac4a,c2176d27eaaeb68e6dc8c2a6a06cb76df6d91876,492717a25c7f4dd0a1f4f7dc98fb2697a38e6b2f
85494cdb1d831c5b0a3053bc4f9268d10ade1295,2463faf5c0b3a23d04d188e3f925960d1534d46b,9fe350bd91c0293c794a5c46e3211d29fb0e2727
ef6612170cbdd9794c3dee1bc5b10c22af57b7ff,92479574779ec3820fce0a6067a7a2bb17493d45,bc2d1cf51c4222b7cb18c93e990436df877a56b1
083e85854444fda9a392a67536d25701081f481e,78c8ca57adc378a75621a9ea921917ab57eae898,e75d97815d19b2540a5311eb0ac8f734765abfee
e67cccee374935361230e26d45ce42a01a5bfb8d,52d3a0d5e3befa86118c9dd762381cb2d20fcdea,6e03b24701771b77c804e1ca774d61d05ac8136c
91756b9e3e658799db1f34de15bfc0bd6267af3a,e7184f3126fe185c4b96edc5d8506fc08e2a97c1

Clicking a revision will expand files
 


* FreeRTOS: adapated packages to build
Commit consists out of
  • M packages/libgd/fpmake.pp
  • M packages/rtl-extra/fpmake.pp
  • M packages/rtl-objpas/fpmake.pp
  • M packages/rtl-unicode/fpmake.pp
  • M packages/sdl/fpmake.pp


* fix for Mantis 0036895: the new epoll_pwait was missing the size parameter for the sigmask parameter
Commit consists out of
  • M rtl/linux/linux.pp


sinclairql: enable most of rtl-objpas and rtl-extra on the QL
Commit consists out of
  • M packages/rtl-extra/fpmake.pp
  • M packages/rtl-objpas/fpmake.pp


+ enabled several rtl-objpas units for the WASI target
Commit consists out of
  • M packages/rtl-objpas/fpmake.pp


+ add type helpers for the remaining Boolean types (QWordBool and Boolean{8,16,32,64})
Commit consists out of
  • M packages/rtl-objpas/src/inc/syshelpers.pp
  • M rtl/objpas/sysutils/syshelp.inc
  • M rtl/objpas/sysutils/syshelph.inc


* i386 callback implementation: only skip the result argument if it was detected as one from the parameters
Commit consists out of
  • M packages/rtl-objpas/src/i386/invoke.inc


* Add examples for syshelpers from Zeljko Avramovic. Fix issue gitlab 0039541
Commit consists out of
  • A packages/rtl-objpas/examples/syshelpersdemo.lpi
  • A packages/rtl-objpas/examples/syshelpersdemo.pas


+ tests for convutils unit by Bart B, resolves gitlab 0039793
Commit consists out of
  • M tests/Makefile
  • M tests/Makefile.fpc


Add loongarch64 packages support
Commit consists out of
  • M packages/fcl-res/src/elfconsts.pp
  • M packages/fcl-res/src/elfreader.pp
  • M packages/fcl-res/src/elfsubwriter.inc
  • M packages/fcl-res/src/elfwriter.pp
  • M packages/fpmkunit/src/fpmkunit.pp
  • M packages/gtk2/src/glib/glib2.pas
  • M packages/ide/fpmake.pp
  • M packages/libffi/src/ffi.pp
  • M packages/rtl-extra/src/linux/unixsock.inc
  • M packages/rtl-extra/src/unix/ipc.pp
  • M packages/rtl-generics/src/generics.hashes.pas
  • M packages/rtl-objpas/src/inc/rtti.pp
  • M utils/fpcres/fpcres.pas
  • M utils/fpcres/target.pas


* Char -> AnsiChar
Commit consists out of
  • M rtl/unix/bunxh.inc
  • M rtl/unix/bunxovl.inc
  • M rtl/unix/bunxovlh.inc
  • M rtl/unix/cwstraix.inc
  • M rtl/unix/cwstring.pp
  • M rtl/unix/dl.pp
  • M rtl/unix/dos.pp
  • M rtl/unix/dynlibs.inc
  • M rtl/unix/genfunch.inc
  • M rtl/unix/genfuncs.inc
  • M rtl/unix/oscdecl.inc
  • M rtl/unix/oscdeclh.inc
  • M rtl/unix/syscgen.inc
  • M rtl/unix/sysdir.inc
  • M rtl/unix/sysfile.inc
  • M rtl/unix/sysunixh.inc
  • M rtl/unix/sysutils.pp
  • M rtl/unix/timezone.inc
  • M rtl/unix/unix.pp
  • M rtl/unix/unixutil.pp
  • M rtl/unix/unxdeclh.inc
  • M rtl/unix/unxovl.inc
  • M rtl/unix/x86.pp


* string -> shortstring
Commit consists out of
  • M rtl/unix/bunxovl.inc
  • M rtl/unix/genfunch.inc
  • M rtl/unix/genfuncs.inc
  • M rtl/unix/termiosh.inc
  • M rtl/unix/timezone.inc
  • M rtl/unix/ttyname.inc


* Some forgotten string -> shortstring instances
Commit consists out of
  • M rtl/inc/lineinfo.pp
  • M rtl/inc/lnfodwrf.pp
  • M rtl/unix/dos.pp
  • M rtl/unix/timezone.inc


* Some fixes in INtToBin, XorDecode/XorEncode
Commit consists out of
  • M packages/rtl-objpas/src/inc/strutils.pp


* Fix TDateTimeInfoRec
Commit consists out of
  • M rtl/objpas/sysutils/filutilh.inc
  • M rtl/win/sysutils.pp


* Dotted filenames for package rtl-objpas
Commit consists out of
  • A packages/rtl-objpas/namespaced/Data.FMTBcd.pp
  • A packages/rtl-objpas/namespaced/System.ConvUtils.pp
  • A packages/rtl-objpas/namespaced/System.DateUtils.pp
  • A packages/rtl-objpas/namespaced/System.Nullable.pp
  • A packages/rtl-objpas/namespaced/System.Rtti.pp
  • A packages/rtl-objpas/namespaced/System.StdConvs.pp
  • A packages/rtl-objpas/namespaced/System.StrUtils.pp
  • A packages/rtl-objpas/namespaced/System.Syshelpers.pp
  • A packages/rtl-objpas/namespaced/System.System.timespan.pp
  • A packages/rtl-objpas/namespaced/System.System.uitypes.pp
  • A packages/rtl-objpas/namespaced/System.VarUtils.pp
  • A packages/rtl-objpas/namespaced/System.Variants.pp
  • A packages/rtl-objpas/namespaced/System.WideStrUtils.pp
  • A packages/rtl-objpas/namespaces.lst
  • M packages/rtl-objpas/src/common/varutils.pp
  • M packages/rtl-objpas/src/inc/convutil.inc
  • M packages/rtl-objpas/src/inc/dateutil.inc
  • M packages/rtl-objpas/src/inc/fmtbcd.pp
  • M packages/rtl-objpas/src/inc/nullable.pp
  • M packages/rtl-objpas/src/inc/rtti.pp
  • M packages/rtl-objpas/src/inc/stdconvs.pp
  • M packages/rtl-objpas/src/inc/strutils.pp
  • M packages/rtl-objpas/src/inc/syshelpers.pp
  • M packages/rtl-objpas/src/inc/system.timespan.pp
  • M packages/rtl-objpas/src/inc/system.uitypes.pp
  • M packages/rtl-objpas/src/inc/variants.pp
  • M packages/rtl-objpas/src/inc/widestrutils.pp
  • M packages/rtl-objpas/src/win/varutils.pp


Fix compilation for msdos targets
Commit consists out of
  • M packages/rtl-objpas/src/inc/system.timespan.pp


Fix order of parameters of FillChar
Commit consists out of
  • M rtl/objpas/sysutils/dati.inc


* Hex2Bin Delphi-compatible overloads. Fixes issue gitlab 0038712
Commit consists out of
  • M packages/rtl-objpas/src/inc/strutils.pp
  • A tests/test/units/strutils/struth2b.pp
  • A tests/test/units/strutils/struth2bu.pp


* Redirect posex to pos, patch from rika. Fixes issue gitlab 0040389
Commit consists out of
  • M packages/rtl-objpas/src/inc/strutils.pp


* patch and test by Rika: Redirect StrUtils.RPos to StrUtils.RPosEx, fix a bit, improve a bit, resolves gitlab 0040394
Commit consists out of
  • M packages/rtl-objpas/src/inc/strutils.pp
  • A tests/test/units/strutils/trpos.pp


bypass `real` → `integer` conversion → `real` promotion in `dateUtils.dateOf`

The `dateUtils.dateOf` function takes one `tDateTime` value, a `real` value,
converts it to an `integer` using `trunc`, and then the value is automatically
promoted to a `real` value again (because of result data type `tDateTime`).

This is unnecessary (unless an error is the desired behavior).
You can use just `system.int` to obtain the integral (= date) part of `tDateTime`.
Commit consists out of
  • M packages/rtl-objpas/src/inc/dateutil.inc


+ simple test for Dateutils.DateOf
Commit consists out of
  • A packages/rtl-objpas/tests/tdateof.pp


* Add system.actions unit for Delphi compatibility
Commit consists out of
  • M packages/rtl-objpas/fpmake.pp
  • A packages/rtl-objpas/src/inc/system.actions.pp

needs anonymous methods



* Add system.math.vectors for Delphi compatibility.
Commit consists out of
  • M packages/rtl-objpas/fpmake.pp
  • A packages/rtl-objpas/src/inc/system.math.vectors.pp
  • M packages/rtl-objpas/tests/testrunner.rtlobjpas.pp
  • A packages/rtl-objpas/tests/tv.dpr
  • A packages/rtl-objpas/tests/utcmatrix.pp
  • A packages/rtl-objpas/tests/utcmatrix3d.pp
  • A packages/rtl-objpas/tests/utcpoint.pp
  • A packages/rtl-objpas/tests/utcquaternion.pp
  • A packages/rtl-objpas/tests/utcvector.pp
  • A packages/rtl-objpas/tests/utmathvectorbase.pas


Refactor and fix a bug in Boyer-Moore.
Commit consists out of
  • M packages/rtl-objpas/src/inc/strutils.pp
  • M tests/test/packages/rtl-objpas/tboyer.pp


* Patch from Rika to fix broken test (tw39885)
Commit consists out of
  • M packages/rtl-objpas/src/inc/strutils.pp


* Correct permissions
Commit consists out of
  • M packages/rtl-objpas/src/inc/system.actions.pp
  • M packages/rtl-objpas/src/inc/system.math.vectors.pp


Refactor promotional features of StrUtils.
Commit consists out of
  • M packages/rtl-objpas/src/inc/strutils.pp
  • A tests/test/tstrutils3.pp


* Fix compilation of unicode RTL after patch by Rika
Commit consists out of
  • M packages/rtl-objpas/src/inc/strutils.pp


* correct aDelta size
Commit consists out of
  • M packages/rtl-objpas/src/inc/strutils.pp


* Fix typo, missing brackets
Commit consists out of
  • M packages/rtl-objpas/src/inc/strutils.pp


* patch by Евгений Савин to make Variant to string convertion use CurrToStr for varCurrency, resolves gitlab 0040624
Commit consists out of
  • M packages/rtl-objpas/src/inc/cvarutil.inc
  • A tests/webtbs/tw40624.pp


* Add TRttiEnumerationType for Delphi compatibility
Commit consists out of
  • M packages/rtl-objpas/src/inc/rtti.pp


* Add TTouchTracking for Delphi compatibility
Commit consists out of
  • M packages/rtl-objpas/src/inc/system.uitypes.pp


* Virtual key definitions added
Commit consists out of
  • M packages/rtl-objpas/src/inc/system.uitypes.pp


* Get extended methods, fields and property info.
Commit consists out of
  • M packages/rtl-objpas/src/inc/rtti.pp
  • M packages/rtl-objpas/tests/testrunner.rtlobjpas.pp
  • M packages/rtl-objpas/tests/tests.rtti.pas
  • M packages/rtl-objpas/tests/tests.rtti.types.pas


Fix msdos compilation failure by using CodePointer type for GetCodeAddress TRttiRecordMethod function
Commit consists out of
  • M packages/rtl-objpas/src/inc/rtti.pp


* Add TPageType
Commit consists out of
  • M packages/rtl-objpas/src/inc/system.uitypes.pp


* Return delphi-compatible output for TValue.ToString when empty
Commit consists out of
  • M packages/rtl-objpas/src/inc/rtti.pp


+ Add Simple MonitorSupport implementation
Commit consists out of
  • A packages/rtl-objpas/examples/monex.pp
  • M packages/rtl-objpas/fpmake.pp
  • A packages/rtl-objpas/namespaced/System.MonitorSupport.pp
  • M packages/rtl-objpas/namespaces.lst
  • A packages/rtl-objpas/src/inc/fpmonitor.pp
  • A packages/rtl-objpas/tests/testrunner.rtlobjpas
  • A packages/rtl-objpas/tests/testrunner.rtlobjpas.lpi
  • M packages/rtl-objpas/tests/testrunner.rtlobjpas.pp
  • A packages/rtl-objpas/tests/utcfpmonitor.pas


* Get Field Attributes + tests
Commit consists out of
  • M packages/rtl-objpas/src/inc/rtti.pp
  • M packages/rtl-objpas/tests/testrunner.rtlobjpas.lpi
  • M packages/rtl-objpas/tests/testrunner.rtlobjpas.pp
  • A packages/rtl-objpas/tests/tests.rtti.attrtypes.pas
  • M packages/rtl-objpas/tests/tests.rtti.pas
  • M packages/rtl-objpas/tests/tests.rtti.types.pas


Create TMonitorData initialized.
Commit consists out of
  • M packages/rtl-objpas/src/inc/fpmonitor.pp


Set ‘TMonitorData’s without locking.
Commit consists out of
  • M packages/rtl-objpas/src/inc/fpmonitor.pp
  • M rtl/inc/monitor.inc
  • M rtl/inc/objpas.inc
  • M rtl/inc/objpash.inc


Manage ‘TPulseData’s as linked list of structures allocated in ‘Wait’ stack frames.
Commit consists out of
  • M packages/rtl-objpas/src/inc/fpmonitor.pp


‘LockCount’ does not require atomics.
Commit consists out of
  • M packages/rtl-objpas/src/inc/fpmonitor.pp


TMonitor.Wait temporarily unlocks through recursive calls.
Commit consists out of
  • M packages/rtl-objpas/src/inc/fpmonitor.pp


Use exponential backoff in timeouted ‘TMonitor.Enter’ and explain why it’s still a bad solution.
Commit consists out of
  • M packages/rtl-objpas/src/inc/fpmonitor.pp


* Do not prefix with unit name unless necessary
Commit consists out of
  • M packages/rtl-objpas/src/inc/fpmonitor.pp


* Fix wrong type for threadID
Commit consists out of
  • M packages/rtl-objpas/src/inc/fpmonitor.pp


* Implement TRttiField.(G|S)etValue
Commit consists out of
  • M packages/rtl-objpas/src/inc/rtti.pp


Alternative implementation of TMonitor for Windows Vista+.
Commit consists out of
  • M packages/rtl-objpas/fpmake.pp
  • A packages/rtl-objpas/namespaced/System.WindowsMonitorSupport.pp
  • M packages/rtl-objpas/namespaces.lst
  • M packages/rtl-objpas/src/inc/fpmonitor.pp
  • A packages/rtl-objpas/src/win/fpwinmonitor.pp
  • M packages/rtl-objpas/tests/utcfpmonitor.pas


* Implement GetCodeAddress for TRttiInstanceMethod
Commit consists out of
  • M packages/rtl-objpas/src/inc/rtti.pp


* Fix memory leaks
Commit consists out of
  • M packages/rtl-objpas/src/inc/rtti.pp


* Remove additional memleak
Commit consists out of
  • M packages/rtl-objpas/src/inc/rtti.pp


* Fix duplicate registration of existing RTTI
Commit consists out of
  • M packages/rtl-objpas/src/inc/rtti.pp


* Fix ref count of interface during cast
Commit consists out of
  • M packages/rtl-objpas/src/inc/rtti.pp


* Synchronize Method/Field treatment. Correct parent for fields
Commit consists out of
  • M packages/rtl-objpas/src/inc/rtti.pp
  • M packages/rtl-objpas/tests/tests.rtti.pas
  • M packages/rtl-objpas/tests/tests.rtti.types.pas


* Complete erroneously partial commit
Commit consists out of
  • M packages/rtl-objpas/src/inc/rtti.pp


* Allow to call constructor using Invoke()
Commit consists out of
  • M packages/rtl-objpas/src/inc/rtti.pp
  • M packages/rtl-objpas/tests/tests.rtti.invoke.pas
  • M packages/rtl-objpas/tests/tests.rtti.invoketypes.pas


* Remove debug statement
Commit consists out of
  • M packages/rtl-objpas/src/inc/rtti.pp


* Attributes for methods
Commit consists out of
  • M packages/rtl-objpas/src/inc/rtti.pp


* Properly pass on FUsePublishedOnly to properties. Fixes issue gitlab 0040702
Commit consists out of
  • M packages/rtl-objpas/src/inc/rtti.pp