Jonas Maebe
|
b57c95043f
+ support overriding tdef/tsym methods with target-specific functionality:
|
11 tahun lalu |
svenbarth
|
ddb78fefdc
Add a modeswitch for type helpers as discussed in core on 24th October 2013. It is disabled by default in all modes (afterall type helper support in Delphi started only beginning with XE3)
|
11 tahun lalu |
florian
|
4d5119bf1c
* fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables
|
12 tahun lalu |
svenbarth
|
798bb91e90
Extract tdef.is_related plus its overrides in tobjectdef, trecorddef and tstringdef into a new function def_is_related in unit defcmp.
|
12 tahun lalu |
svenbarth
|
76f6de5cf1
Refactor tobjectdef.find_implemented_interface out into unit defcmp so that the recently introduced cycle between symdef and defcmp can be broken again.
|
12 tahun lalu |
svenbarth
|
d91d4afb0f
Fix for Mantis #25210 .
|
12 tahun lalu |
florian
|
2fdd3e2d0a
+ introduce tvariantrecbranch to be able to store
|
12 tahun lalu |
Jonas Maebe
|
3a03586ca9
* give an error when declaring a class as conforming to a forward-declared
|
12 tahun lalu |
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 tahun lalu |
paul
|
7c663af588
compiler: also don't allow record constructors with only default arguments
|
12 tahun lalu |
paul
|
1b8369dd99
compiler: don't allow parameterless constructors
|
12 tahun lalu |
paul
|
e9615716c1
compiler: allow constructors in helpers for records
|
12 tahun lalu |
paul
|
1508fd427d
compiler: handle calling convention of record (class)constructors/destructors later as it is done with other record methods
|
12 tahun lalu |
Jonas Maebe
|
3798b79fd7
+ optimization that (re)orders instance fields of Delphi-style classes in
|
13 tahun lalu |
svenbarth
|
d2fabd2a22
Fix for Mantis #21350
|
13 tahun lalu |
svenbarth
|
7dfaec7a05
Fix for Mantis #21457
|
13 tahun lalu |
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 tahun lalu |
Jonas Maebe
|
0fd9228deb
* extended r21290 to also apply to Java interfaces (they can also contain
|
13 tahun lalu |
paul
|
4312aa4e08
compiler: allow compiler to find real class definition during class members parse to handle references to self constants + test
|
13 tahun lalu |
svenbarth
|
7ebbebc877
- removed a duplicated include statement
|
13 tahun lalu |
Jonas Maebe
|
6850653296
* replaced "set1<=set2" expression with "(set1*set2)=set1", because the
|
13 tahun lalu |
Jonas Maebe
|
aee5380ae0
* merged trunk up to r20882
|
13 tahun lalu |
svenbarth
|
a28a9a9521
* pdecobj.pas, object_dec:
|
13 tahun lalu |
Jonas Maebe
|
0d5b2b84a8
+ Android/JVM target, including a translation of the Android r14 SDK
|
14 tahun lalu |
svenbarth
|
4419dc3d34
Rebase to revision 19673
|
14 tahun lalu |
svenbarth
|
461d231daa
Rebase to revision 19078 (directly before the merge of cpstrnew)
|
14 tahun lalu |
Jonas Maebe
|
2d7e674168
* fixed error in r19248 whereby the namespace for automatically generated
|
14 tahun lalu |
svenbarth
|
988c799b0e
generate_specialization needs to return the correct generic def if the parent classes are parsed, so that that the usage of generic interfaces is allowed.
|
14 tahun lalu |
svenbarth
|
d54b7dd58f
Added two reminders for me
|
14 tahun lalu |
florian
|
df75368d0b
--- Merging r19281 into '.':
|
14 tahun lalu |