Commit Graph

71286 Commits

Author SHA1 Message Date
Sven/Sarah Barth
50b160651c * fix #38122 in a more correct way than previously done: instead of adjusting the methodpointer node when it's a deref node adjust what value is stored in a temp if a call node is encountered: store the pointer value, not the pointed to value to avoid the reference getting lost
+ added test (note: the test fails at least on x86_64-win64 due to some different reason :/ )
2025-01-04 10:31:26 +01:00
mattias
d18a565e72 fcl-passrc: resolver: inherit RTTI visibility 2025-01-03 19:57:23 +01:00
Michaël Van Canneyt
ce72fbe54d * Some improvements to proxy server module generation 2025-01-03 19:25:47 +01:00
florian
06f8ad2e3d * write " as octal number as well in assembler output, it is more compatible 2025-01-03 17:38:37 +01:00
florian
dc6057a112 * .toc sections do not need a .csect on powerpc-macosclassic 2025-01-03 17:38:36 +01:00
florian
f7264d3f29 * MacOS Classic uses apparently very similiar mechanisms for the TOC as powerpc-aix 2025-01-03 17:38:36 +01:00
mattias
8c28eb0935 pastojs: fixed compile 2025-01-03 13:16:26 +01:00
mattias
9a7d1ad07c fcl-passrc: option to parse directive rtti 2025-01-03 13:09:07 +01:00
Michaël Van Canneyt
835c50d97c * Build unixsockets for linux 2025-01-03 12:12:36 +01:00
Michaël Van Canneyt
3741d4443f * Fix len field types 2025-01-03 12:12:36 +01:00
florian
83f1d1eefb * write sections/section names correctly for as-macos 2025-01-02 16:06:22 +01:00
florian
8674d45d7b * better checking of valid addr_no 2025-01-02 16:06:22 +01:00
Sven/Sarah Barth
4185e1dc67 * fix typo in comment 2025-01-02 13:24:46 +01:00
Sven/Sarah Barth
ead882f58d * fix #40876: correctly check for generic constant parameters without concrete value
+ added test
2025-01-02 13:24:46 +01:00
mattias
c40dd8bdc1 fcl-passrc: added todo 2025-01-02 11:30:49 +01:00
florian
bc3b68ae7e + as-macos for using as from Retro68 2025-01-01 23:13:15 +01:00
Jonas Maebe
f3b2836947 Extended RTTI: generate RTTI for Objective-C fields like for generic pointers
Resolves #41034
2025-01-01 22:07:15 +01:00
florian
5add799193 * fix trvinlinenode.second_fma 2025-01-01 18:00:15 +01:00
Sven/Sarah Barth
ceed183e33 * declare Msgs parameter as "const" for better code generation 2025-01-01 16:15:47 +01:00
Sven/Sarah Barth
cffb0a0845 * use StartsStr() instead of a manual copy to check whether the line starts with the message id 2025-01-01 16:13:48 +01:00
Sven/Sarah Barth
2c9bbc932a * the message id might not be at the start of the line, but after a visibility specifier followed by a colon and space 2025-01-01 15:55:04 +01:00
Jonas Maebe
540807c5c8 WPO: don't crash on TP-style objects with only abstract virtual methods 2025-01-01 15:23:06 +01:00
Sven/Sarah Barth
2a6fb32974 * don't use $MINSTACKSIZE and $MAXSTACKSIZE on non-Windows instead of disabling the warning 2024-12-31 21:44:23 +01:00
Sven/Sarah Barth
72a3729ca0 - remove further unnecessary sub classing of a specialization 2024-12-31 18:32:17 +01:00
Sven/Sarah Barth
9627f98f7b * disable notes for the Collections.Generics unit 2024-12-31 18:32:17 +01:00
Sven/Sarah Barth
4f5b708d49 * fix typo in comment 2024-12-31 18:32:17 +01:00
Sven/Sarah Barth
faf085662d - current Lazarus IDEs can handle generic methods, so no need for NoGenericMethods anymore 2024-12-31 18:32:17 +01:00
Sven/Sarah Barth
70c153123b + add tests for the adjusted message handling, especially one that checks that messages inside generics can be silenced correctly 2024-12-31 18:32:17 +01:00
Sven/Sarah Barth
558a7ef1ed * store the current verbosity as part of the settings so that they're stored as part of a generic token stream as well 2024-12-31 18:32:17 +01:00
Sven/Sarah Barth
59be46a6fb * reset the message state only inside flushpendingswitchesstate(), not during $POP itself 2024-12-31 18:32:17 +01:00
Sven/Sarah Barth
b1791af0a3 * also (re)store the pending state when replaying a token stream 2024-12-31 18:32:17 +01:00
Sven/Sarah Barth
3ba27d3160 * ensure that current_settings.pmessage is reset when doing a replay and when loading the current message state from the token stream 2024-12-31 18:32:17 +01:00
Sven/Sarah Barth
5ec9386d27 * ensure that only the newest message state is applied 2024-12-31 18:32:17 +01:00
Sven/Sarah Barth
1388e2af5b * don't use tmessage.setverbosity() to check whether the message is valid as it should only be applied when the switches are flushed, so use the new tmessage.valid() instead 2024-12-31 18:32:17 +01:00
Sven/Sarah Barth
9a2d0e0692 + add method to TMessage to check whether a message is valid 2024-12-31 18:32:16 +01:00
Sven/Sarah Barth
f2d41e680b * when restoring the state after parsing the last token of the token buffer append the message state to the pending state so that they are reapplied at the correct time 2024-12-31 18:32:16 +01:00
Sven/Sarah Barth
c3a6df26ee * apply message state to the pending state so that they are applied at the correct moment 2024-12-31 18:32:16 +01:00
Sven/Sarah Barth
d335ce60dd * ensure that flushpendingswitchesstate had been called before the start of replaying tokens 2024-12-31 18:32:16 +01:00
Sven/Sarah Barth
7fe7e26659 * use dispose() instead of freemem() for consistency with the allocation of pmessagestaterecord 2024-12-31 18:32:16 +01:00
Michaël Van Canneyt
df365a56cf * Use IsYAMLFileName, detect other extensions 2024-12-31 13:51:43 +01:00
Michaël Van Canneyt
abeccabdf1 * Add IsYAMLfileName 2024-12-31 13:46:32 +01:00
Michaël Van Canneyt
2b56b2d725 * Add possibility to scan single document in consecutive calls 2024-12-31 13:39:14 +01:00
Michaël Van Canneyt
417ba4cca8 * Alias support 2024-12-31 13:12:07 +01:00
Michaël Van Canneyt
349003662c * Fix extensions in filenames 2024-12-31 12:47:45 +01:00
Michaël Van Canneyt
e9eb8297bc * Handle case where there is no end-of-document 2024-12-31 12:33:41 +01:00
Michaël Van Canneyt
2f086e1ec2 * Some formatting fixes, make sure string argument is const where possible 2024-12-31 12:33:41 +01:00
Margers
93d855b2ca Remove one of two CPULLVM define macro 2024-12-30 21:25:43 +00:00
Margers
f7cbed1a72 def_system_macro -> undef_system_macro (fix oversight as if then block is equal to else block) 2024-12-30 21:23:30 +00:00
Michaël Van Canneyt
498ff5c56c * Allow to read YAML files. 2024-12-30 19:33:23 +01:00
Michaël Van Canneyt
52d1a5da94 * Add YAML parser & converter to JSON 2024-12-30 18:14:34 +01:00