Commit Graph

69326 Commits

Author SHA1 Message Date
florian
3cf7890352 * don't throw an internalerror in case of an illegal assignment to an open array, resolves #40662 2024-02-22 22:35:18 +01:00
Michaël Van Canneyt
9c5bfbeb78 * Return delphi-compatible output for TValue.ToString when empty 2024-02-22 14:41:51 +01:00
Michaël Van Canneyt
cbc938900f * Fix wrong assigned check pointed out by Gareth Moreton 2024-02-22 09:17:44 +01:00
Rika Ichinose
e87e14c7cc Make some i386.inc functions “nostackframe”. 2024-02-21 21:08:36 +00:00
florian
b8bf295cd1 * patch by Rika: Fold repetitive scandir.pas cases, resolves #40660 2024-02-21 22:01:44 +01:00
Jonas Maebe
8baa4f41db JVM: fix system unit compilation error
Apply same change as to systemh.inc in bccc0b195e
2024-02-21 21:48:29 +01:00
Michaël Van Canneyt
97495e93b8 * Delphi compatible TCollection.Sort() using helper 2024-02-21 10:31:29 +01:00
Sven/Sarah Barth
5c890b59e3 * fix #40655: apply changes to packrecords, packenum and setalloc using the recordpending*() functions so that they are applied correctly in case of them being used directly after a {$POP}{$PUSH} sequence
+ added test
2024-02-20 23:52:52 +01:00
florian
bccc0b195e * allow type = type ... ; syntax only for previously declared types, avoids also internal error for #40566 2024-02-20 23:14:31 +01:00
Michaël Van Canneyt
b61a0fab97 * CurveKappa, CurveKappaInv 2024-02-20 17:50:10 +01:00
Michaël Van Canneyt
9a344568df * RectWidth was not public 2024-02-20 17:48:26 +01:00
Michaël Van Canneyt
31b978f3b7 * Add UnicodeFromLocaleChars for Delphi compatibility 2024-02-20 17:09:35 +01:00
Michaël Van Canneyt
476780df77 * Add TPageType 2024-02-20 16:35:05 +01:00
Michaël Van Canneyt
dfa22fb53a * Add function reference version of TComparer.Construct 2024-02-20 16:12:14 +01:00
marcoonthegit
5c1997b3d5 * fix ident and executable note in profiler file 2024-02-20 15:49:09 +01:00
Michaël Van Canneyt
30a20cc209 * Add operators to TMethod, for Delphi compatibility 2024-02-20 15:36:18 +01:00
Michaël Van Canneyt
bc714c0fd7 * Added Delphi-compatible overload for ToString with UpdateCapacity argument 2024-02-20 14:49:13 +01:00
Michaël Van Canneyt
852cd355e4 * Use correct error number for missing widestring manager 2024-02-20 14:32:45 +01:00
Michaël Van Canneyt
ad93958e5b * Add delphi-compatible constant (including the typo in the name ;)) 2024-02-20 11:08:39 +01:00
Michaël Van Canneyt
8f8ce13b41 * Add IsUniqueGlobalComponentName 2024-02-20 11:01:35 +01:00
Michaël Van Canneyt
6f25cccda9 * Select proper stringbuilder depending on size of char 2024-02-20 10:46:44 +01:00
Michaël Van Canneyt
0790b98277 * Correct case 2024-02-20 10:36:14 +01:00
Michaël Van Canneyt
1e1b273c67 * Correct TCharArray declaration, disambiguate between widechar/char 2024-02-20 10:16:56 +01:00
Karoly Balogh
572a340a26 m68k-atari: mark functions and API calls related to exiting the program as noreturn 2024-02-20 03:56:17 +01:00
Karoly Balogh
eb6f29d084 m68k: disable verbose error reporting of the stub unicode and threadmanagers by default on Amiga, Atari, Human68k, and Sinclair QL 2024-02-20 03:56:17 +01:00
Karoly Balogh
88c7954d9f rtl: add two defines toallow disabling the verbose error of the stub unicodestringmanager and threadmanager 2024-02-20 03:56:17 +01:00
florian
bf57750436 * cosmetics 2024-02-19 22:27:06 +01:00
florian
a75e453c30 + thlcgobj.location_force_mem now supports LOC_JUMP as well, resolves #40650 2024-02-19 22:22:12 +01:00
Pierre Muller
728fb7c58c Set ba variable upfront to avoid warning treated as error 2024-02-19 22:12:46 +01:00
Jonas Maebe
a512273976 WPO: handle classes defined in localsymtables
Can happen since the support for anonymous methods
2024-02-19 21:26:42 +01:00
florian
906571fa25 * improve pretty printing of symbols 2024-02-19 20:41:08 +01:00
Pierre Muller
79ed0db624 Avoid warning about unintialized 'ba' variable 2024-02-19 20:37:35 +01:00
Pierre Muller
2044868c10 Swap real constant in internal assembler 2024-02-19 20:19:36 +01:00
Pierre Muller
e3b93b07c6 * Fix writereloc for cross-endian compilation 2024-02-19 20:19:36 +01:00
Pierre Muller
f3e03f0483 Fix tabs 2024-02-19 20:19:35 +01:00
Pierre Muller
1d1e070ad2 Support cross-endian compilation for telfobjdata.writereloc method 2024-02-19 20:19:35 +01:00
Pierre Muller
5c564ea940 Use writeint8/writeuint8 methods to avoid cross-endian issues 2024-02-19 20:19:35 +01:00
Pierre Muller
ca6fe96360 Add writeInt8/writeUInt8 methods to fix some cross-endian generation issues 2024-02-19 20:19:35 +01:00
Michaël Van Canneyt
30f514eb6b * Add CanObserve and ObserverAdded to TComponent, for delphi compatibility 2024-02-19 11:21:42 +01:00
Pierre Muller
71a46465c8 Fix msdos compilation failure by using CodePointer type for GetCodeAddress TRttiRecordMethod function 2024-02-19 09:37:29 +01:00
Michaël Van Canneyt
c9888f9774 * Remove uses of exttypes 2024-02-19 09:13:44 +01:00
florian
af482fde23 * generate specializations only of no error happened so far to prevent further (internal)errors, resolves #40646 2024-02-18 23:08:21 +01:00
Rika Ichinose
2d6294eb26 MovQ + Shr → PExtrW. 2024-02-18 21:37:39 +00:00
Rika Ichinose
e5b47310c8 Supposedly faster i386 int() and frac(). 2024-02-18 21:37:39 +00:00
Michaël Van Canneyt
ccb1985953 * Fix latex error due to unescaped dollar 2024-02-18 21:39:04 +01:00
Michaël Van Canneyt
ca8d867d57 * Get extended methods, fields and property info. 2024-02-18 21:36:05 +01:00
Michaël Van Canneyt
b7e8dd6268 * Add optional parameter to get methods of only current class 2024-02-18 21:36:05 +01:00
Pierre Muller
462d0eb07c Restrict use of A_MOVE to ufromsize and utosize = OS_INT. (contributed by Jinyang He)
Fix issue #40648
2024-02-18 20:18:50 +00:00
Sven/Sarah Barth
ae06528db4 + add test for already fixed #24285 2024-02-18 19:35:24 +01:00
Sven/Sarah Barth
60c94c50ff + add test for now fixed #40639 2024-02-18 19:35:24 +01:00