Commit Graph

720 Commits

Author SHA1 Message Date
Michaël Van Canneyt
22d7033d18 * Attributes for methods. Fixes issue 41001 2024-11-08 11:11:26 +01:00
Sven/Sarah Barth
8450d4f5e7 * fix #40993: "inherit" the default RTTI options of a non-System unit from TObject as that picks up whatever had been declared in the System unit 2024-11-05 23:23:56 +01:00
florian
437e7fa75a * make warning on unsupported esp-idf version a warning string so it can be translated 2024-07-18 22:40:05 +02:00
Michael Ring
14b3c11c0d Initial support for esp32-c6-s2-s3. Support for idf versions 5.0.6 and 5.2.1 2024-07-18 20:16:04 +00:00
Michaël Van Canneyt
adc66b233d * Properly release procdefs. Patch by Evgenij Savin, fixes issue #40844 2024-07-05 14:35:05 +02:00
ccrause
8e717f4142 Add support for esp-idf v4.4 2024-05-25 17:26:15 +00:00
ccrause
c42bf9cdf5 Extend riscv32-freertos functionality for esp32c3 2024-05-25 17:26:15 +00:00
Michaël Van Canneyt
a04d2b59f6 * Emit better error when not able to load auto units 2024-05-06 16:56:29 +02:00
Michaël Van Canneyt
312cf246ad * Fix creating thunk class when inherited interfaces are used 2024-05-04 16:44:32 +02:00
Michaël Van Canneyt
564597a573 * Fix access violation: module can be reset while loading dependent units. Fixes issue #40705 2024-03-26 16:06:27 +01:00
Pierre Muller
f88622a799 Be sure not to consume semicolon after _USES twice 2024-03-11 11:07:02 +00:00
Michaël Van Canneyt
4c434ceb08 * Only consume semicolon after uses clause when units have been connected. Fixes remaining failing tests 2024-03-08 11:31:49 +01:00
Michaël Van Canneyt
22de07446d * Fix tgeneric91, need to postpone some additional generic procedures 2024-03-07 16:12:24 +01:00
Pierre Muller
821f3e326f Fix compilation with -dDEBUG_DEVIRT 2024-03-06 14:40:22 +00:00
Pierre Muller
cc552c0815 Fix compilation with -dEXTDEBUG 2024-03-06 14:34:53 +00:00
Michaël Van Canneyt
91946b78d5 * Fix xtensa compilation 2024-03-05 07:56:14 +00:00
Michaël Van Canneyt
6ac14de986 * Properly handle finish state 2024-03-05 07:56:14 +00:00
Michaël Van Canneyt
c96ef4902b * Handle finish state separately 2024-03-05 07:56:14 +00:00
Michaël Van Canneyt
2ba04dbd13 * generate init_final table from actual uses clauses 2024-03-05 07:56:14 +00:00
Michaël Van Canneyt
0bf0f26dd5 * Introduce m_processed 2024-03-05 07:56:14 +00:00
Michaël Van Canneyt
5298e25c84 * Introduce task (Single main-level task at the moment, no change in behaviour). 2024-03-05 07:56:14 +00:00
Michaël Van Canneyt
8aa9ac99a6 * Remove loaded_from in tmodule. The same unit can be loaded from different places 2024-03-05 07:56:14 +00:00
Michaël Van Canneyt
1351746a46 * Make tglobalstat a class 2024-03-05 07:56:14 +00:00
Michaël Van Canneyt
7cd044eae7 save/restore state when loading other modules. 2024-03-05 07:56:14 +00:00
Michaël Van Canneyt
5b27fa9375 * Remove commented variables 2024-03-05 07:56:14 +00:00
Michaël Van Canneyt
83b5047931 * Move program/library header parsing to separate routines 2024-03-05 07:56:14 +00:00
Michaël Van Canneyt
b45aee980f * Split parsing from post-processing, code generation and linking 2024-03-05 07:56:14 +00:00
Michaël Van Canneyt
122251f71d * Move interface parsing part to separate routine so we can split tasks later 2024-03-05 07:56:14 +00:00
Michaël Van Canneyt
560d597c85 * Move implementation part to separate routine so we can split tasks later 2024-03-05 07:56:14 +00:00
Michaël Van Canneyt
97f159e4b2 * Refactory: remove current_module use from top-level parsing 2024-03-05 07:56:14 +00:00
Michaël Van Canneyt
fb821b8c9b * Allow use of attributes on fields and properties in records and classes 2024-02-25 19:57:39 +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
Ryan Joseph
d74d41c5d2 * Allow RTTI directive also before uses clauses 2024-01-02 07:09:22 +01:00
Michaël Van Canneyt
9e228ff355 * Allow System.Variants (Delphi-compatible name) to be found when inserting variants unit 2023-07-27 18:40:34 +02:00
Michael VAN CANNEYT
64feb6a5cd * $NAMESPACES directive 2023-07-26 09:45:53 +02:00
Michaël Van Canneyt
9cfe6e97a0 * add uachar loading for unicode rtl 2023-07-22 08:26:22 +00:00
Michaël Van Canneyt
92f148e667 * Generate hidden class to be used for TVirtualInterface (wasm only) 2023-07-11 08:36:57 +00:00
Jonas Maebe
403292a131 LLVM backend: address sanitizer support
Activate with -Clfsanitize=address. Only tested on Darwin/x86-64 for now.
2022-07-06 22:26:13 +02:00
Sven/Sarah Barth
c3f27a2f1c * don't load the controller unit if the currently compiled unit *is* the controller unit (which might happen if one compiles the controller unit as part of a program) 2022-06-15 22:49:22 +02:00
Sven/Sarah Barth
ddba001b65 * ensure that nested functions of main program, main program finalization and unit initialization/finalization are generated 2022-05-26 21:43:00 +02:00
Jonas Maebe
3d3c904ac5 TSymStr: more consistent usage 2022-05-08 15:03:44 +02:00
Pierre Muller
5acd7a7b83 Rename tsymtable.insert and delete methods to insertsym ands deletesym 2022-05-03 23:00:28 +02:00
ccrause
181ee30174 Update build and link requirements for esp-idf v4.4. Refactor the version dependent linker fragments list into an array of version specific array of strings for easier updating in future. 2022-01-30 08:14:07 +00:00
ccrause
a9d883ada1 Add link unit for esp-idf v4.1. Version checks to allow for different patch levels in idf_version. 2022-01-18 21:34:26 +00:00
ccrause
985e8d3d13 Remove fall-through logic and separate idf_version checks of esp32 and esp8266. Also warn if idf_version is below the supported range. 2022-01-10 21:53:01 +02:00
ccrause
ea345f34aa Use different library link lists for esp8266-rtos-sdk v3.3 and v3.4. 2022-01-05 09:35:02 +00:00
ccrause
ab00794343 Keep esp32 and esp8266 version specific tweaks separate. 2021-11-29 22:42:49 +01:00
ccrause
e86d3af7e0 The linklib list for esp-idf v4.2 is also needed for v4.3 2021-11-29 22:42:49 +01:00
florian
54f2308d2a + draft for esp-idf version specific rtl unit which contains the necessery linklib statements 2021-11-29 22:42:49 +01:00
nickysn
ea5ffd597f * set self to nil in current_module.deflist for registered defs in the
tstoreddef.destroy destructor, instead of doing it after each call to
  x.owner.deletedef(x)

git-svn-id: trunk@49417 -
2021-05-30 21:27:57 +00:00