svenbarth
|
6f15aef215
To correctly generate the import library for a package we need to resolve the dangling external symbols of all units. For this each unit now stores which symbols it exported from another unit and it also stores all global and external assembler symbols it has (maybe this can be streamlined later on, but for now this works).
|
10 жил өмнө |
svenbarth
|
5e33294782
Extract functionality that is shared between the metadata files for units (PPU) and for packages (PCP) into a parent class called tentryfile
|
11 жил өмнө |
Jonas Maebe
|
4ff597afae
* call "message" rather than "cgmessage" when throwing fatal errors, because
|
11 жил өмнө |
svenbarth
|
c623824374
Fix for Mantis #25605.
|
11 жил өмнө |
Jonas Maebe
|
4a7e6b8b8f
* instantiate the cpu-specific version of all defs/syms when loading them
|
11 жил өмнө |
Jonas Maebe
|
b57c95043f
+ support overriding tdef/tsym methods with target-specific functionality:
|
11 жил өмнө |
Jonas Maebe
|
5fc4af09dd
* don't crash when searching for a type helper in an anonymous array (or
|
11 жил өмнө |
florian
|
4d5119bf1c
* fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables
|
11 жил өмнө |
svenbarth
|
798bb91e90
Extract tdef.is_related plus its overrides in tobjectdef, trecorddef and tstringdef into a new function def_is_related in unit defcmp.
|
11 жил өмнө |
paul
|
ce6c8c1b59
compiler: search namespace symbols also in the interface symtable of a unit when we are registering a unit with a namespace in the implementation section (fixes issue #0025059)
|
12 жил өмнө |
paul
|
d373ad27bc
compiler: don't allow unit/namespace symbols be visible outside current unit or unit of currently specialized generic
|
12 жил өмнө |
paul
|
f3963172ba
compiler: don't look at unit and namespace symbols from other units while searching for a type (issue #0025054)
|
12 жил өмнө |
svenbarth
|
9d48bc0baf
Implement cross unit type overloading of generics. This fixes the regression introduced with revision 25498.
|
12 жил өмнө |
svenbarth
|
f1f89c77c3
Finally refactor "b_needs_init_final" flag to be a symtable flag which is written to/loaded from the PPU (as discussed in the thread "Status report for "class helpers"" in fpc-devel on 29th January 2011).
|
12 жил өмнө |
florian
|
075abd6220
+ support of stackframesize for arm thumb
|
12 жил өмнө |
svenbarth
|
70886d1727
Fix the exception reported in Mantis #24072. This does not mean though that the bug is fixed, because the bug itself is related to the topic "partial specialization".
|
12 жил өмнө |
Jonas Maebe
|
bab4aac42e
* use same symtable check in sym_is_owned_by() as in is_owned_by() to
|
12 жил өмнө |
Jonas Maebe
|
a972de5a32
* renamed the first parameter of is_owned_by() from "childdef" into
|
12 жил өмнө |
svenbarth
|
344571cb4e
Added support for type helpers. In non Delphi modes they use "type helper" and in mode Delphi they use "record helper". They can also be used on constants.
|
12 жил өмнө |
paul
|
5d74e0578a
compiler: remove unused variables and unneeded assignments
|
12 жил өмнө |
paul
|
3a3c10a474
compiler: don't allow constants, methods, class members and properties for local or anonymous records (fixes bug #0023000)
|
12 жил өмнө |
Jonas Maebe
|
69c29a415f
* pass the procdef to getintparaloc instead of only the proccalloption, so
|
12 жил өмнө |
florian
|
728c074bd6
* accept with statements with generic variables having a generic parameter type, resolves #21329
|
12 жил өмнө |
Jonas Maebe
|
1c32590294
+ added search_struct_member_no_helper() to search a struct for a symbol
|
12 жил өмнө |
Jonas Maebe
|
42f6caa0d1
* allow accessing strict protected symbols from the extended struct inside
|
13 жил өмнө |
Jonas Maebe
|
e9f4b095e1
+ explanation for the parameters of is_visible_for_object
|
13 жил өмнө |
florian
|
ca5fabda6d
* cleanup some unused units from uses clauses
|
13 жил өмнө |
Jonas Maebe
|
3798b79fd7
+ optimization that (re)orders instance fields of Delphi-style classes in
|
13 жил өмнө |
svenbarth
|
71c13190e1
Fix for Mantis #22329.
|
13 жил өмнө |
Jonas Maebe
|
572012fad3
* mark units as used in case only static symbols from inside object,
|
13 жил өмнө |