Commit Graph

736 Commits

Author SHA1 Message Date
Michaël Van Canneyt
5669fa1a19 * Open array also needs arg name. Fixes issue #38934 2026-02-14 22:00:48 +01:00
Curtis Hamilton
6b17f81e78 Rebased with trunk to fix inadvertent revisions 2026-01-15 12:17:15 -05:00
Curtis Hamilton
9438768270 Merge branch source:main into main 2026-01-07 22:34:24 +00:00
Pierre Muller
7582554ba2 Enable fpmonitor compilation for wince targets 2026-01-07 20:55:39 +00:00
Curtis Hamilton
26a7cb69be Merge branch source:main into main 2026-01-02 01:04:35 +00:00
Margers
2073531058 Mass typo fixes in comments for packages part 5/5. 2026-01-01 23:37:42 +00:00
Curtis Hamilton
6c82ee9bd2 Merge branch source:main into main 2026-01-01 17:25:03 +00:00
Margers
34696de6e7 Mass trailing space removal for packages (part 5). 2026-01-01 15:22:29 +00:00
Margers
f02fb76c77 Mass typo fixes in comments for packages part 4/5. 2026-01-01 14:17:04 +00:00
Curtis Hamilton
b829348b48 Update repository 2025-12-30 11:39:21 -05:00
Curtis Hamilton
b3e2705226 Update repository 2025-12-27 12:58:13 -05:00
florian
744ff6ee80 * patch by Werner Palmer to fix Inc<datetime>, resolves #38424
+ test
2025-12-26 22:50:53 +01:00
Karoly Balogh
7e5278a40b * fix the build after 090df8e6 2025-12-25 04:30:44 +01:00
Sven/Sarah Barth
aa78225be0 + add tests for casts from Variant to the various string types 2025-12-24 16:21:21 +01:00
Sven/Sarah Barth
343bb09187 * handle tkAString, not tkLString as the former is for AnsiString while the later is for the not fully implemented ShortString-like LongString type 2025-12-24 16:21:20 +01:00
Sven/Sarah Barth
4a31be4153 - remove unnecessary case-header 2025-12-24 16:21:19 +01:00
Sven/Sarah Barth
090df8e689 * more handling of varUString in Variant utility functions 2025-12-24 16:21:19 +01:00
Sven/Sarah Barth
8b6de92c9c + add utility function to retrieve a UnicodeString from a Variant 2025-12-24 16:21:18 +01:00
Sven/Sarah Barth
341a33f4ba * CodeTools does not yet like the "deprecated" for method pointers so protect them with InLazIDE 2025-12-24 16:18:58 +01:00
Sven/Sarah Barth
3889b7ddd0 * readd adjusted comment regarding InLazIDE which can still have its use 2025-12-24 16:18:58 +01:00
Sven/Sarah Barth
8e79959f0c * TValue.AsChar needs to return Char, not AnsiChar 2025-12-24 16:18:58 +01:00
Sven/Sarah Barth
0fe6f3116c + add Delphi-compatible overload for TRttiInvokableType.CreateImplementation (at the same time also provides a more correct implementation of the TCallback one) 2025-10-31 16:21:44 +01:00
Sven/Sarah Barth
dbccf5e844 * adjust TMethodImplementation, TRttiMethod and TRttiInvokableType to use a function reference instead of a method or function variable
(the old types are still there, but deprecated as the compiler should be able to pass them to the new CreateImplementation() methods nevertheless)
2025-10-31 16:03:11 +01:00
Yuri Serebrennikov
5d67d92a91 Fix a memory leak in the SetPropValue method for tkDynArray type properties. 2025-10-09 09:54:21 +00:00
Michaël Van Canneyt
22720790fa * Fix wrongly placed define 2025-09-25 09:02:10 +02:00
Nikolay Nikolov
239d4fe7b7 + added explicit check for a nil function parameter in ConvUtils.RegisterConversionType, in order to fix the units/convutils/tconv1 test on the WASI platform 2025-09-24 12:59:13 +03:00
Michaël Van Canneyt
bd9caa2ab2 * Allow to hook into QueryInterface for thunk objects 2025-09-24 10:54:02 +02:00
Nikolay Nikolov
a5059d4c1f * install a widestring manager on the WASI platform in testrunner.rtlobjpas.pp 2025-09-24 10:41:12 +03:00
Nikolay Nikolov
f53b738089 * fixed compilation of tests.rtti.attrtypes2.pp on the WASI platform 2025-09-24 10:30:29 +03:00
Nikolay Nikolov
da2dcb57e9 * fixed compilation of testrunner.rtlobjpas.pp on platforms that don't have HAS_MONITOR defined 2025-09-24 10:27:29 +03:00
Pierre Muller
b50284466f Fix 1f3a013f8f for unix target, by using system.TTime (to avoid using TTime also defined in baseunix unit) 2025-09-23 23:48:20 +02:00
Sven/Sarah Barth
20022beca8 + add = and <> operators to TValue based on the existing SameValue() 2025-09-22 23:46:01 +02:00
Sven/Sarah Barth
1f3a013f8f + add implicit assignment operators from TDateTime, TDate and TTime to TValue so that the later will have the correct type information 2025-09-22 23:28:06 +02:00
Pierre Muller
bf533ab2ac Fix compilation for target without threading feature 2025-09-10 07:10:52 +02:00
Rika Ichinose
c856b5c5bf Make use of the automatic TRttiContext management. 2025-09-09 05:33:00 +03:00
Rika Ichinose
c19d76f976 Fix TRttiContext thread safety. 2025-09-09 05:32:59 +03:00
Michaël Van Canneyt
5f5fb3febb * Again timezone fixes 2025-08-18 15:37:06 +02:00
Michaël Van Canneyt
f8e45083d0 * TLocalTimeZone.FixDoGetOffsetsAndType 2025-08-14 20:43:50 +02:00
Michaël Van Canneyt
8a738d3253 * Some Delphi compatibility fixes 2025-08-13 15:00:11 +02:00
Michaël Van Canneyt
64e57de183 * Add format method for Delphi compatibility 2025-08-13 15:00:11 +02:00
Rika Ichinose
afc676511f Use the MemPos approach in IsWordPresent. 2025-08-01 20:31:26 +00:00
Rika Ichinose
2ff4fb0e15 Fix a leak in StrUtils.StringsReplace, change StrUtils.IsWordPresent to work like Pos, and make a few more minor adjustments. 2025-07-24 11:57:13 +00:00
Michaël Van Canneyt
cb74a8d2da * Allow to compare variant arrays. Fixes issue #39630 2025-07-24 09:01:31 +02:00
Michaël Van Canneyt
2b823c4d17 * Fix EVariantTypeCastError for array with QWord values. Fixes issue #40287 2025-07-23 22:57:01 +02:00
Michaël Van Canneyt
083a059043 * Patch from Lacak to add support for densely packed decimal64 format 2025-06-19 10:10:14 +02:00
Pierre Muller
c7275d0bde Set USE_MSWINDOWS_OLE macro on Windows OSes supporting OLE strings, and use it 2025-06-16 13:58:20 +00:00
marcoonthegit
134e964514 * ported mechanism from unit activex to deal with ansi/unicode -> widestring conversion.
* 2nd attempt, now under $IFDEF MSWINDOWS
2025-06-15 12:08:23 +02:00
Marco Van de Voort
f23dbc2ecb Revert "* ported mechanism from unit activex to deal with ansi/unicode -> widestring conversion."
This reverts commit 1208f4d5b9
2025-06-12 19:19:55 +02:00
marcoonthegit
1208f4d5b9 * ported mechanism from unit activex to deal with ansi/unicode -> widestring conversion.
Targeted at bug #41235
2025-06-12 19:11:53 +02:00
Pierre Muller
0c02585c62 Add macosclassic to several sets listing OSes for specific units 2025-05-28 08:31:58 +00:00