florian
|
0e41df598e
* merge i8086 branch by Nikolay Nikolov
|
12 years ago |
sergei
|
d54d38b4ab
* Moved all code responsible for writing VMTs and interface wrappers (nobj.TVMTWriter, ncgutil.gen_intf_wrappers, ptype.write_persistent_type_info) into a new unit ncgvmt.pas.
|
12 years ago |
florian
|
2fdd3e2d0a
+ introduce tvariantrecbranch to be able to store
|
12 years ago |
florian
|
1f978ba9fe
* 16 bit targets cannot use Word and Longint as array index
|
12 years ago |
svenbarth
|
489e038379
Disallow "protected" and "strict protected" in extended records (Delphi compatible).
|
12 years ago |
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 years ago |
paul
|
7c663af588
compiler: also don't allow record constructors with only default arguments
|
12 years ago |
paul
|
1b8369dd99
compiler: don't allow parameterless constructors
|
12 years ago |
paul
|
3a3c10a474
compiler: don't allow constants, methods, class members and properties for local or anonymous records (fixes bug #0023000)
|
12 years ago |
paul
|
b2a613c17f
compiler: implement record constructors + tests
|
12 years ago |
svenbarth
|
29bd000a4a
Fix for Mantis #23571.
|
12 years ago |
svenbarth
|
4adb36e8da
Add support for generic type constraints. They are currently only useful to stop specialization of a generic. The parsing of a generic is still too lax and needs to be changed in the future...
|
12 years ago |
Jonas Maebe
|
64740049bf
* fix for mantis #22796: add alignment padding to records before inserting
|
13 years ago |
Jonas Maebe
|
3798b79fd7
+ optimization that (re)orders instance fields of Delphi-style classes in
|
13 years ago |
svenbarth
|
f9211271d5
Fix for Mantis #22154:
|
13 years ago |
svenbarth
|
cc65ac20c5
Fix for Mantis #22220
|
13 years ago |
svenbarth
|
8c95ea039f
Fix for Mantis #22219
|
13 years ago |
svenbarth
|
d2fabd2a22
Fix for Mantis #21350
|
13 years ago |
svenbarth
|
bf9cb352b3
ptype.pas, single_type: If the generic dummy type is used in mode Delphi then generate an error. This fixes Mantis #21363.
|
13 years ago |
svenbarth
|
dbc410de63
Allow the usage of a generic's name without type arguments inside of nested classes inside the generic. This fixes Mantis #19499, but also Mantis #18688.
|
13 years ago |
paul
|
4312aa4e08
compiler: allow compiler to find real class definition during class members parse to handle references to self constants + test
|
13 years ago |
paul
|
62a91ef626
compiler: don't search symbol in other symtables than in found nested class, fix wrong test + add another one
|
13 years ago |
Jonas Maebe
|
aee5380ae0
* merged trunk up to r20882
|
13 years ago |
florian
|
9fcff238f1
* create and push array def before the array range is parsed, this allows generic parameters to be used in the range definition, resolves #21592
|
13 years ago |
florian
|
0f9b8c8936
* don't throw an error if a non-generic is tried to be specialized, resolves #21238
|
13 years ago |
paul
|
4d863aff03
compiler: fix accidentally committed code in r20285
|
13 years ago |
svenbarth
|
2a872978dc
Fix Mantis #21179
|
13 years ago |
paul
|
3b153c223a
compiler:
|
13 years ago |
svenbarth
|
a28a9a9521
* pdecobj.pas, object_dec:
|
13 years ago |
paul
|
a71d588105
compiler: write INIT and RTTI info also for defs of nested records and classes + test (issue #0020909)
|
13 years ago |