Commit Graph

71064 Commits

Author SHA1 Message Date
florian
c8b649186f + g_array* aliases as proposed by sechshelme, resolves #41026 2024-11-30 14:07:44 +01:00
J. Gareth "Curious Kit" Moreton
36f771a312 * x86: Modification to PostPeepholeOptShr to skip over MOV instructions if they don't modify the current register 2024-11-30 12:51:07 +00:00
J. Gareth "Curious Kit" Moreton
130c36c406 * a_load_subsetreg_reg will no longer generate an AND instruction if it isn't necessary 2024-11-30 12:51:07 +00:00
Margers
7e593750e8 fvclip unit file name fixes 2024-11-30 12:46:43 +00:00
florian
3d6710c0e3 * don't see illegal calling conventions for procedure variables, resolves #41041 2024-11-29 21:40:33 +01:00
Michaël Van Canneyt
9c4a354d7b * Add SharedMemoryBuffer 2024-11-29 11:58:29 +01:00
florian
798f2ba632 * better code for ... downto 1 for-loops 2024-11-28 22:32:38 +01:00
Michaël Van Canneyt
45f7be1b3c * Unique names for imports 2024-11-28 16:57:08 +01:00
Michaël Van Canneyt
fc0fb5968a * Make names unique across modules 2024-11-28 16:17:46 +01:00
Michaël Van Canneyt
7b213bb4e6 * Store session info only for project files 2024-11-28 11:40:48 +01:00
Michaël Van Canneyt
74ea291454 * Typecast to pointer of self() needed 2024-11-28 11:38:30 +01:00
Margers
ae495ab888 Editor load files in read only mode 2024-11-28 07:47:24 +00:00
Michaël Van Canneyt
7b4a5c9728 * Last patch did not contain all changes... 2024-11-27 23:38:11 +01:00
marcoonthegit
83cc5be952 * remove functions commented in the commdlg/ctl spinoff of 2008 2024-11-27 23:06:26 +01:00
florian
246d7865c5 * less strict condition when a loop decrement can be moved to the end of a loop to increase code quality 2024-11-27 22:56:30 +01:00
Michaël Van Canneyt
a30222daed * Fix issue where refresh causes access violation in TBufDataset. Fixes issue #40987 2024-11-27 22:46:26 +01:00
florian
3206b2e0cd * clean up 2024-11-26 22:50:15 +01:00
Michaël Van Canneyt
1b8209fee4 * correct TValue.Cast<AnsiString>, patch by Евгений Савин. Fixes issue #41042 2024-11-26 09:04:08 +01:00
Michaël Van Canneyt
6f5f567087 * Patch from Amexander Bagel to restore Delphi-compatible behaviour in TThread.Queue. Fixes issue #41043 2024-11-26 08:52:40 +01:00
Michaël Van Canneyt
7148866f8d * Correctly get callback type 2024-11-25 21:58:17 +01:00
Michaël Van Canneyt
8cedb10c3a * Search for correct element type when checking array types 2024-11-25 21:58:17 +01:00
Michaël Van Canneyt
0ca0990e8b * System.Types for Delphi code 2024-11-25 21:58:17 +01:00
Michaël Van Canneyt
8d24a28c56 * Do not call parsing if JSON is empty (e.g. return 204 with empty body) 2024-11-25 21:58:17 +01:00
Michaël Van Canneyt
e15f731a9b * Allow to parse internal symbol names generated for generics. 2024-11-25 21:58:17 +01:00
florian
ac4b089e14 * avoid that types of limits of reverted loops are widened 2024-11-25 21:16:30 +01:00
florian
81d24975f0 * properly take care of tempinitcode when calculating def./use. sums of tempcreate nodes 2024-11-25 20:33:54 +01:00
Michaël Van Canneyt
8ffbbe6a93 * Patch from Евгений Савин to fix TValue.From<managedrecord>. Fixes issue #41013 2024-11-25 14:01:26 +01:00
Michaël Van Canneyt
e1e301dea8 * Add missing methods to thunk class for parent interfaces without RTTI 2024-11-25 11:32:36 +01:00
florian
cc7325e316 * increase stack margin for x86-64 so back tracing a stack overfow with line info does not cause another stack overflow 2024-11-24 22:58:47 +01:00
Michaël Van Canneyt
e03e62f013 * Some fixes in handling of headers 2024-11-23 22:54:40 +01:00
florian
c236ac5e97 * revert for loops also if the upper limit is non-constant 2024-11-23 22:29:03 +01:00
Michaël Van Canneyt
b05e85dda9 * Implement some GetValue methods 2024-11-23 22:08:17 +01:00
Rika Ichinose
d1db5d2104 Darwin: re-enable new assembler fill*word variants
Work around with an extra jump to an extra function.
2024-11-23 19:06:47 +03:00
Michaël Van Canneyt
26b6d0223e * Add IsType with aEmptyAsAnyType param 2024-11-23 10:23:36 +01:00
Michaël Van Canneyt
0c83b3dc6c * Add Delphi-Compatible new findCmdLineSwitch overload 2024-11-23 10:23:36 +01:00
Sven/Sarah Barth
8f37905609 * use a static data label for the case-label table on aarch64-win64 to avoid the linker discarding it 2024-11-22 17:57:02 +01:00
Sven/Sarah Barth
7b3efe6397 * on aarch64-win64 the case-labels are a list of 8-Byte aligned 8—Byte values, so adjust the alignment to avoid 2 32-bit loads 2024-11-22 17:56:11 +01:00
Sven/Sarah Barth
ad4fe174b1 * ensure that the section with the case-labels is 8-Byte aligned 2024-11-22 17:55:35 +01:00
Sven/Sarah Barth
0e39308416 * adjust comments to better match the situation with aarch64-win64 added to the mix 2024-11-22 17:54:57 +01:00
florian
09f3600cc4 * patch by Lipinast Lekrisov: fix building ffi.pp on macOS, resolves #41035 2024-11-21 22:02:10 +01:00
mattias
3c6f111209 pastojs: added resourcestring 2024-11-21 12:13:40 +01:00
mattias
3fbb5e3ecf fcl-passrc: started test for method param attributes 2024-11-21 12:13:40 +01:00
Michaël Van Canneyt
03f98e749c * Fix TValue casts, patch by Евгений Савин, fixes issue #41030 2024-11-21 11:51:11 +01:00
Sven/Sarah Barth
40f90b60eb * DWARF line info: only use the cached module if the base address also is the same; this can happen if the initial exception occurred at a random address outside the module, but the next stack address can be found inside the correct module 2024-11-20 22:56:09 +01:00
florian
4d732b44d4 * correctly calculate the number of labels of a c boolean in case statemnts, resolves #41025 2024-11-20 22:04:58 +01:00
Jonas Maebe
28e9ebc7da Darwin: disable new assembler fill*word variants
They use interprocedural gotos at the assembler level, which is incompatible
with auto-generated CFI
2024-11-20 21:39:19 +01:00
Michaël Van Canneyt
1230e5a623 * Delphi-compatible output for tvalue.asstring for float value. Fixes issue #41027 2024-11-19 23:34:28 +01:00
Pierre Muller
930596bd85 Fix directories for some source files, based on suggestion by Alfred Glänzer in #40995 2024-11-19 22:12:31 +00:00
zamtmn
b3e8d88f68 GetMutableValue and TryGetMutableValue for fcl-stl.TMap and rtl-generics.generics.TDictionary 2024-11-19 16:42:59 +00:00
Ondrej Pokorny
bc7ed55aab fix TCustomBase64Encoding.DoEncode(TStream) 2024-11-18 22:24:21 +00:00