Description: rtl/objpas minus sysutils and classes (active) Revisions in this set 5153a288dc63937a3b79d305f72cab94e5ab99e3,788d976f3a2d89bbf59721280c4d6dc193f6624b,c17dafc2f932c23033c990232e776f374b19cc81,affa9f9d9ca31c0e28cb61b084617ae4b3d6875c,8cd1f1973bfcf432f87e5df74beb23cd45b03c93,a3a39e164040751afc38637a02a5624063048be0,73acb4d1c134f218af71d06adbf3a980202647d0,1a67ffdd22de1d5e5ebe07a328db8806d9831ebb,707e05d131eae05c11007aa6cd58a64baf73e938,2dc771b7baba950cc451ff4c1c4cdae9c770cd23,7e1607e095b2c271a636993186e26a5d32fbf06f,5ead23513d29a185a71dfa0fc3f5314e4fc7aad5,b8f186dab2e09afc589407a2f1a0dd2db2cb2d89,8d95da3feafcffcd7b2bf539bfdf4b90a09c2963,9a01bcf3dc185dac2d310d178b62d5e48e608529,7b6f273023059d3a905fd35897f2db9eb5bf46d0,c4069b5fe8d22d55bc667804aa0301fd00a308ef,d1f999100b449adf175104b355b9e52ae2441fb4,2767a9c979eb181ffdfcb27569b92875c43ea643,54338a12b32d8d2ed1cb1ccacb2be1b00971d175,efb204d5e7f3676be2345272876dc1f83a95b137,6f4ade6abef6ee2d35c4209a4501a88cd5b30e7b,d40a2dbb1271ca1964fdfd8b34efb55c580724b9,a224f8ded7c0bc2b0e17c2536d56bb0fda1c5149,70282826ade9305b7aa0046efb0dea3b84089ace,90f902c7d4a6d95e40eedeb813cab74fe3e4e73d,ceddc2aec32441f2b62ad23625d78efd0472952a,a748d7279c85b9bccc82d5ef55dd8812f22bb9d7,44cf5d776f92fc30a581e6bbf8571b07eccf02aa,be0e06bd505738535a51f22c96f7f235ba977af4,05348107034f51b869079ec1b82913fe9b561ff8,972b961f2b3a2a61a87cbbffda80b70a9b82d86d,7eea850726ab34bbc2a164dedc7d185f18f05f10,c74441323ac9712f0a1f08349debcffe580734d1,21ffa221e697c791912949b130191838def3e81d,cde58d66fc1df01c4f61bee5dab1ca082778a698,f6ce76b638a08a19d58f35a0aeaeab0a6462e24a,b7e8dd62682379c4c24b9d4731fca095aee40cd3,ad93958e5bcf3dc799f9b324e859e93fa958d69f,bd2b0c8dca2897736d1c265bc53d2f5ed5e5ba3a,8527cb17f829b85a1ea2ec4a0c09bfdf35140f23,06601d5e6015fcde5118be97457897d7941aabc0,8665e038863650a6fd90ac1160d7ca1fa5011bbe,a0cae50af6831b5be48866bce27fffa3d1c4196f,617d56f23af75d9060a7ad70d95b812b334f99c2,0b4d9a673293fd940fb90dd672014839542c72d5,68acd786405462b0f27d38cb7a125f9d5c4afb2f,1a32b53f2c98b680f35a05633e64064a12a74849,e2d58b8b944227a6b1911c62bb59cbc686da0ac2,9a7a8f0d5c184e9909b95cccf53f9883137e7a97,b590ad70d810e29146a2e70b406b2ac7addd8808,8d6b823d4e1d335308bcdac2e4618e3de5501c23,c18c56024d13ad2436699eac907618acefa35da8,53762fe897cf30a2b517a4be42e16d3bed459006,a9e735f2575d13fe42c43ccd0c94596baef0d547,a8953e08326b9521f5521c71cab2c2daff53a28f,74028317a78d5bbec0936e64f5dcaae1197e323c,5eaa53faa18b6d7fbdfe4900966824abc61eca88,c177cf7da27bc8ce44246876029d24aade4738ea,477da86f77577a1fe85db303fa64eaa9df8af681,dd35057d80a6e3d0e736062bf2b5a98c34345cb8,7b088f9484df06d283eb1ef1334815a970781d91 commit 5153a288dc63937a3b79d305f72cab94e5ab99e3 Author: svenbarth Date: Fri Jul 12 22:05:33 2019 +0000 * it's more correct for GetPropAttribute to return a TCustomAttribute instead of a TObject git-svn-id: trunk@42366 - M rtl/objpas/typinfo.pp --- commit 788d976f3a2d89bbf59721280c4d6dc193f6624b Author: svenbarth Date: Fri Jul 12 22:05:39 2019 +0000 * use a Word instead of a Byte for the attribute index (after all the compiler writes a Word to the count field) git-svn-id: trunk@42367 - M rtl/objpas/typinfo.pp --- commit c17dafc2f932c23033c990232e776f374b19cc81 Author: svenbarth Date: Fri Jul 12 22:05:51 2019 +0000 * fix TClassData by including the AttributeTable at the right location git-svn-id: trunk@42370 - M rtl/objpas/typinfo.pp --- commit affa9f9d9ca31c0e28cb61b084617ae4b3d6875c Author: svenbarth Date: Fri Jul 12 22:06:44 2019 +0000 * to be on the safe side: don't include AttributeTable fields when cycling git-svn-id: trunk@42385 - M rtl/objpas/typinfo.pp --- commit 8cd1f1973bfcf432f87e5df74beb23cd45b03c93 Author: svenbarth Date: Fri Jul 12 22:06:48 2019 +0000 - remove unneeded local variable git-svn-id: trunk@42386 - M rtl/objpas/typinfo.pp --- commit a3a39e164040751afc38637a02a5624063048be0 Author: nickysn Date: Tue Jul 23 11:57:20 2019 +0000 * i8086 compilation fix after changeset 42390 git-svn-id: trunk@42485 - M rtl/objpas/typinfo.pp --- commit 73acb4d1c134f218af71d06adbf3a980202647d0 Author: florian Date: Tue Jul 23 19:59:34 2019 +0000 * fixes TInterfaceRawData to match TTypeData git-svn-id: trunk@42486 - M rtl/objpas/typinfo.pp --- commit 1a67ffdd22de1d5e5ebe07a328db8806d9831ebb Author: florian Date: Sun Jul 28 12:43:15 2019 +0000 * fix alignment of ParamList * fix test for architectures using aligned rtti git-svn-id: trunk@42516 - M rtl/objpas/typinfo.pp M tests/webtbs/tw12038.pp --- commit 707e05d131eae05c11007aa6cd58a64baf73e938 Author: svenbarth Date: Thu Aug 22 20:45:48 2019 +0000 * check for CPUM68k instead of M68K; the latter should only be defined when building the compiler, so I wonder how that ever worked... git-svn-id: trunk@42765 - M rtl/objpas/typinfo.pp --- commit 2dc771b7baba950cc451ff4c1c4cdae9c770cd23 Author: svenbarth Date: Sat Aug 24 23:08:33 2019 +0000 * TClassData also needs alignment dummies git-svn-id: trunk@42807 - M rtl/objpas/typinfo.pp --- commit 7e1607e095b2c271a636993186e26a5d32fbf06f Author: svenbarth Date: Sat Aug 24 23:08:36 2019 +0000 * correct alignment for the property table git-svn-id: trunk@42808 - M rtl/objpas/typinfo.pp --- commit 5ead23513d29a185a71dfa0fc3f5314e4fc7aad5 Author: florian Date: Sat Nov 2 16:21:43 2019 +0000 * more overloads for Math.Min/Max, resolves #36161 git-svn-id: trunk@43366 - M .gitattributes M rtl/objpas/math.pp A tests/webtbs/tw36161.pp --- commit b8f186dab2e09afc589407a2f1a0dd2db2cb2d89 Author: florian Date: Sun Nov 3 14:42:02 2019 +0000 * reverted r43366 git-svn-id: trunk@43382 - M .gitattributes M rtl/objpas/math.pp D tests/webtbs/tw36161.pp --- commit 8d95da3feafcffcd7b2bf539bfdf4b90a09c2963 Author: yury Date: Thu Apr 23 12:38:42 2020 +0000 * Windows: Reworked handling of command line arguments to properly support Unicode: - Use the CommandLineToArgvW API function to parse the Unicode command line (we can use it since Win9x is not supported anymore). - Implemented non-public functions ParamStrA and ParamStrU which are exposed in the objpas and uuchar units to provide correct AnsiString and UnicodeString versions of ParamStr(). - The cleanup code is moved from InternalExit to the finalization section of the System unit. git-svn-id: trunk@45037 - M rtl/inc/system.inc M rtl/inc/uuchar.pp M rtl/objpas/objpas.pp M rtl/win/sysos.inc M rtl/win/syswin.inc M rtl/win/syswinh.inc M rtl/win32/system.pp M rtl/win64/system.pp --- commit 9a01bcf3dc185dac2d310d178b62d5e48e608529 Author: yury Date: Thu Aug 20 10:31:56 2020 +0000 * Changed Integer to Longint in definitions of RTTI structures. It fixes typinfo for 16-bit CPUs. git-svn-id: trunk@46503 - M rtl/objpas/typinfo.pp --- commit 7b6f273023059d3a905fd35897f2db9eb5bf46d0 Author: Michaël Van Canneyt Date: Sat Aug 21 09:05:23 2021 +0200 * Remove spurious var, prevents fpdoc from handling record M rtl/objpas/types.pp --- commit c4069b5fe8d22d55bc667804aa0301fd00a308ef Author: Michaël Van Canneyt Date: Sat Aug 21 09:05:23 2021 +0200 * Remove spurious var, prevents fpdoc from handling record M rtl/objpas/types.pp --- commit d1f999100b449adf175104b355b9e52ae2441fb4 Author: Ondrej Pokorny Date: Sun Dec 18 14:22:35 2022 +0100 Add SetToArray and ArrayToSet functions for more general RTTI Set handling M rtl/objpas/typinfo.pp A tests/test/trtti24.pp --- commit 2767a9c979eb181ffdfcb27569b92875c43ea643 Author: Michael VAN CANNEYT Date: Thu Dec 22 15:18:17 2022 +0100 * Char -> AnsiChar M rtl/objpas/fpwidestring.pp --- commit 54338a12b32d8d2ed1cb1ccacb2be1b00971d175 Author: Michael VAN CANNEYT Date: Thu Dec 22 15:19:11 2022 +0100 * Char -> AnsiChar M rtl/objpas/objpas.pp --- commit efb204d5e7f3676be2345272876dc1f83a95b137 Author: Michael VAN CANNEYT Date: Thu Dec 22 15:20:03 2022 +0100 * Char -> AnsiChar M rtl/objpas/sysconst.pp --- commit 6f4ade6abef6ee2d35c4209a4501a88cd5b30e7b Author: Michael VAN CANNEYT Date: Thu Dec 22 15:20:40 2022 +0100 * Char -> AnsiChar M rtl/objpas/typinfo.pp --- commit d40a2dbb1271ca1964fdfd8b34efb55c580724b9 Author: Sven/Sarah Barth Date: Mon Mar 6 23:03:06 2023 +0100 + add generic utility function ConstParamIsRef<> to determine whether a specific type is passed by-value or by-reference as a const parameter M rtl/objpas/rtlconst.inc M rtl/objpas/typinfo.pp --- commit a224f8ded7c0bc2b0e17c2536d56bb0fda1c5149 Author: Michaël Van Canneyt Date: Tue May 30 17:13:05 2023 +0200 * Extended RTTI Type info routines and data structures M rtl/objpas/typinfo.pp --- commit 70282826ade9305b7aa0046efb0dea3b84089ace Author: Michaël Van Canneyt Date: Tue Jul 4 18:26:54 2023 +0200 * Parent class for hidden TVirtualInterface thunking class M rtl/inc/objpas.inc M rtl/inc/objpash.inc M rtl/objpas/typinfo.pp --- commit 90f902c7d4a6d95e40eedeb813cab74fe3e4e73d Author: Michaël Van Canneyt Date: Tue Jul 11 11:10:35 2023 +0200 * Invoke helper definition, allow calling it M rtl/objpas/typinfo.pp --- commit ceddc2aec32441f2b62ad23625d78efd0472952a Author: Michaël Van Canneyt Date: Sat Jul 22 15:30:30 2023 +0200 * TArray is now in system unit M rtl/inc/objpash.inc M rtl/objpas/objpas.pp --- commit a748d7279c85b9bccc82d5ef55dd8812f22bb9d7 Author: Michaël Van Canneyt Date: Thu Aug 24 14:58:22 2023 +0200 * Re-add comment M rtl/objpas/typinfo.pp --- commit 44cf5d776f92fc30a581e6bbf8571b07eccf02aa Author: Michaël Van Canneyt Date: Mon Oct 30 09:54:43 2023 +0100 * Add some constants for Delphi compatibility M rtl/objpas/rtlconst.inc --- commit be0e06bd505738535a51f22c96f7f235ba977af4 Author: Michaël Van Canneyt Date: Fri Nov 3 11:08:20 2023 +0100 * Delphi compatibility methods, unicode character type helper M rtl/objpas/character.pas --- commit 05348107034f51b869079ec1b82913fe9b561ff8 Author: Michaël Van Canneyt Date: Wed Nov 8 12:07:06 2023 +0100 * Additional Delphi-compatible constant M rtl/objpas/rtlconst.inc --- commit 972b961f2b3a2a61a87cbbffda80b70a9b82d86d Author: Michaël Van Canneyt Date: Thu Nov 9 11:23:13 2023 +0100 * Add delphi compatible constant M rtl/objpas/rtlconst.inc --- commit 7eea850726ab34bbc2a164dedc7d185f18f05f10 Author: Sven/Sarah Barth Date: Sun Dec 31 17:03:00 2023 +0100 * TVmtFieldEntry.FieldOffset needs to be SizeUInt instead of PtrUInt, so that it works correctly on the various memory models of i8086 as well + added test M rtl/objpas/typinfo.pp A tests/test/trtti25.pp --- commit c74441323ac9712f0a1f08349debcffe580734d1 Author: Sven/Sarah Barth Date: Mon Jan 1 18:12:56 2024 +0100 + add descriptive comment regarding the TVmtField* types M rtl/objpas/typinfo.pp --- commit 21ffa221e697c791912949b130191838def3e81d Author: Sven/Sarah Barth Date: Mon Jan 15 23:13:39 2024 +0100 * fix #40595: correctly access the list of parameters of the extended method table + added test M rtl/objpas/typinfo.pp A tests/webtbs/tw40595.pp --- commit cde58d66fc1df01c4f61bee5dab1ca082778a698 Author: Michaël Van Canneyt Date: Tue Feb 6 18:04:29 2024 +0100 * Make GetEnumName safer, check actual type. Allow passing an integer M rtl/objpas/typinfo.pp --- commit f6ce76b638a08a19d58f35a0aeaeab0a6462e24a Author: Michaël Van Canneyt Date: Sat Feb 17 23:58:42 2024 +0100 * Fix in overloads of GetFieldList M rtl/objpas/typinfo.pp --- commit b7e8dd62682379c4c24b9d4731fca095aee40cd3 Author: Michaël Van Canneyt Date: Sun Feb 18 21:34:46 2024 +0100 * Add optional parameter to get methods of only current class M rtl/objpas/typinfo.pp --- commit ad93958e5bcf3dc799f9b324e859e93fa958d69f Author: Michaël Van Canneyt Date: Tue Feb 20 11:08:39 2024 +0100 * Add delphi-compatible constant (including the typo in the name ;)) M rtl/objpas/rtlconst.inc --- commit bd2b0c8dca2897736d1c265bc53d2f5ed5e5ba3a Author: Michaël Van Canneyt Date: Sun Feb 25 10:34:41 2024 +0100 * Fix use of wrong memory size when getting extended property info M rtl/objpas/typinfo.pp --- commit 8527cb17f829b85a1ea2ec4a0c09bfdf35140f23 Author: Michaël Van Canneyt Date: Sun Feb 25 19:56:03 2024 +0100 * Fix overflow in initialization of return value M rtl/objpas/typinfo.pp --- commit 06601d5e6015fcde5118be97457897d7941aabc0 Author: Michaël Van Canneyt Date: Mon Feb 26 15:19:18 2024 +0100 * Fix TExtendedVmtFieldEntry.GetTail M rtl/objpas/typinfo.pp --- commit 8665e038863650a6fd90ac1160d7ca1fa5011bbe Author: Michaël Van Canneyt Date: Mon Mar 11 13:51:27 2024 +0100 * Add parameter to skip inherited fields M rtl/objpas/typinfo.pp --- commit a0cae50af6831b5be48866bce27fffa3d1c4196f Author: florian Date: Wed May 1 23:15:12 2024 +0200 * rtl part of #35433 M rtl/arm/arm.inc M rtl/i386/i386.inc M rtl/inc/compproc.inc M rtl/inc/generic.inc M rtl/inc/mathh.inc M rtl/inc/systemh.inc M rtl/java/jcompproc.inc M rtl/objpas/math.pp M rtl/objpas/types.pp M rtl/powerpc/powerpc.inc M rtl/powerpc64/powerpc64.inc M rtl/riscv64/riscv64.inc M rtl/sparc/sparc.inc M rtl/sparc64/sparc64.inc M rtl/x86_64/x86_64.inc --- commit 617d56f23af75d9060a7ad70d95b812b334f99c2 Author: Ondrej Pokorny Date: Wed Jul 10 11:38:42 2024 +0200 Move EqualsValue/LessThanValue/GreaterThanValue to unit Types, refer to them in the Math unit M rtl/objpas/math.pp M rtl/objpas/types.pp --- commit 0b4d9a673293fd940fb90dd672014839542c72d5 Author: Michaël Van Canneyt Date: Thu Jul 11 11:43:32 2024 +0200 * Some utility routines M rtl/objpas/types.pp --- commit 68acd786405462b0f27d38cb7a125f9d5c4afb2f Author: Michaël Van Canneyt Date: Tue Aug 13 10:32:29 2024 +0200 * Add SMEnuSeparator for Delphi compatibility M rtl/objpas/rtlconst.inc --- commit 1a32b53f2c98b680f35a05633e64064a12a74849 Author: Michaël Van Canneyt Date: Tue Mar 4 18:01:47 2025 +0100 * Add GetTypeName, GetPropName M rtl/objpas/typinfo.pp --- commit e2d58b8b944227a6b1911c62bb59cbc686da0ac2 Author: Michaël Van Canneyt Date: Mon May 12 11:29:39 2025 +0200 * add TScoped for auto-destroying classes, based on an idea of Loïc Touraine M rtl/objpas/types.pp A tests/test/units/types/ttscoped.pp --- commit 9a7a8f0d5c184e9909b95cccf53f9883137e7a97 Author: Michaël Van Canneyt Date: Mon May 12 20:06:50 2025 +0200 * Capitalize TScoped.Assign M rtl/objpas/types.pp --- commit b590ad70d810e29146a2e70b406b2ac7addd8808 Author: Michaël Van Canneyt Date: Sun May 18 10:11:00 2025 +0200 * Make tscoped.assign the less expensive operation M rtl/objpas/types.pp --- commit 8d6b823d4e1d335308bcdac2e4618e3de5501c23 Author: Ondrej Pokorny Date: Mon Jul 28 19:47:07 2025 +0200 GetInt64Prop: return unsigned value for ULong M rtl/objpas/typinfo.pp --- commit c18c56024d13ad2436699eac907618acefa35da8 Author: Nikolay Nikolov Date: Wed Sep 24 03:14:00 2025 +0300 * refactor nested ifdefs by using if/elseif chain. No functional changes. M rtl/objpas/fpwidestring.pp --- commit 53762fe897cf30a2b517a4be42e16d3bed459006 Author: Michaël Van Canneyt Date: Thu Oct 16 14:45:14 2025 +0200 * Allow to retrieve info about last invalid type cast M rtl/inc/except.inc M rtl/inc/objpas.inc M rtl/inc/objpash.inc M rtl/objpas/sysconst.pp A tests/test/units/system/tcastc2c.pp A tests/test/units/system/tcastc2i.pp A tests/test/units/system/tcasti2c.pp A tests/test/units/system/tcasti2i.pp A tests/test/units/sysutils/tcstec2c.pp --- commit a9e735f2575d13fe42c43ccd0c94596baef0d547 Author: florian Date: Thu Nov 13 23:03:23 2025 +0100 * first approach on better exception handling on hyperbolic harmonic functions, might need more fine-grained checking for good performance M rtl/objpas/math.pp --- commit a8953e08326b9521f5521c71cab2c2daff53a28f Author: florian Date: Fri Nov 14 22:58:05 2025 +0100 * attempt to fix overflow handling in hyperbolic harmonic functions better, still not there I think M rtl/objpas/math.pp --- commit 74028317a78d5bbec0936e64f5dcaae1197e323c Author: florian Date: Thu Nov 20 22:48:04 2025 +0100 * avoid overflow in tanh M rtl/objpas/math.pp --- commit 5eaa53faa18b6d7fbdfe4900966824abc61eca88 Author: florian Date: Sat Nov 22 23:41:24 2025 +0100 * also avoid overflow in tanh() M rtl/objpas/math.pp --- commit c177cf7da27bc8ce44246876029d24aade4738ea Author: florian Date: Sun Nov 23 22:49:06 2025 +0100 * avoid overflow for tanh() as well, was an oversight M rtl/objpas/math.pp --- commit 477da86f77577a1fe85db303fa64eaa9df8af681 Author: Bi0T1N <9175580-Bi0T1N@users.noreply.gitlab.com> Date: Sat Dec 20 17:03:52 2025 +0100 Add TSizeF.Zero for Delphi compatibility M rtl/objpas/types.pp --- commit dd35057d80a6e3d0e736062bf2b5a98c34345cb8 Author: Michaël Van Canneyt Date: Mon Dec 22 14:32:22 2025 +0100 * Fix logic error, resulting in overwriting previous buffer content M rtl/objpas/fpwidestring.pp --- commit 7b088f9484df06d283eb1ef1334815a970781d91 Author: Michaël Van Canneyt Date: Sun Feb 15 18:02:26 2026 +0100 * Free Translated resource strings, patch by Christoph. Fixes issue #41372 M rtl/objpas/objpas.pp