paul
|
2155dadf5e
compiler: push to the stack not only nested hierarchy but also class hierarchy for each nested entry both in method declaration and for method body, also push child hierarchy while parsing object members because in other case parent types are invisible for descendants (fixes mantis #0018124, mantis #0018127 and more) + extended test
|
14 年 前 |
florian
|
d30952b408
* patch by Aleksa Todorovic which adds the ability to reference current generic class. Each reference to current generic class is "translated" to appropriate specialization of that generic class. There are two tests as part of the patch to test that it works. The patch, also, rejects declaring generic inside another generic. 0010479 is easy to implement with this patch applied, resolves #11777
|
14 年 前 |
paul
|
f5751d81db
compiler: reset section type to regular fields section after the "public", "protected", ... and other section visibility keywords
|
15 年 前 |
Jonas Maebe
|
1c9fed7ae3
* resolve anonymous external objcclass definitions to the real type also when
|
15 年 前 |
paul
|
790f6b0a4b
compiler: use delphi syntax for type, const and var section declarations in classes instead of fpc generics syntax
|
15 年 前 |
Jonas Maebe
|
62d677eb92
+ support for formally declared objcclasses ("type x=objcclass;external;")
|
15 年 前 |
paul
|
ceccce93f5
compiler: add class constructors, class destructors to the initfinal table as regular initialization/finalization sections (class constructors is still not striped away with the class)
|
15 年 前 |
paul
|
24d8a7d833
compiler: start implementation of class constructors/destructors: parsing is ready but at the moment neither class constructors nor destructors are called - this is to be implemented
|
15 年 前 |
paul
|
8a0028a62e
compiler: support *sealed* and *abstract* for objects (issue #0016174)
|
15 年 前 |
paul
|
973d947d6c
compiler: allow const, type, var and class var sections for objects + test
|
15 年 前 |
paul
|
06a37d1fb1
compiler: remove dummy assignment
|
15 年 前 |
Jonas Maebe
|
e693b47234
* don't insert bogus vmt field in forward-defined classes
|
15 年 前 |
Jonas Maebe
|
4469501835
* fixed indentation, simplified calling read_record_fields()
|
15 年 前 |
paul
|
bd6f1d7447
compiler: auto generate method/property dispid if it is not set explicitly
|
15 年 前 |
paul
|
166f8a63a2
compiler: implement class constants + tests
|
15 年 前 |
paul
|
91ed1c6e6f
compiler: types in classes:
|
15 年 前 |
paul
|
8de3b267a9
compiler: fix message regards VAR and TYPE sections in objects
|
15 年 前 |
paul
|
cb54b3e7a9
compiler: allow class to have local type sections + tests
|
15 年 前 |
paul
|
4b53a54b51
compiler: implement 'var' and 'class var' sections for classes + tests
|
15 年 前 |
paul
|
3ed4c58502
compiler:
|
15 年 前 |
Jonas Maebe
|
f8754d8fab
+ Objective-C category support (old and new ABI, both external and
|
16 年 前 |
Jonas Maebe
|
60a9ef963d
* finished basic support for calling methods from external C++ classes
|
16 年 前 |
Jonas Maebe
|
559e284bd0
* merged r13762-14047 from trunk
|
16 年 前 |
paul
|
aa5a5e79ce
merge revisions: 13909,13923,13924,13934,13935,13942,13943,13944,13946,13948,13950,13951,13952,13983,13994:
|
16 年 前 |
paul
|
e784ec1079
merge revisions 13898-13899:
|
16 年 前 |
florian
|
eb433d1bdd
* merged sealed and abstract support by Paul Ishenin
|
16 年 前 |
Jonas Maebe
|
4c57a5f504
+ support multiple inheritance for obj-c protocols
|
16 年 前 |
Jonas Maebe
|
f586299b6a
* don't warn that a constructor is necessary for objc classes/protocols
|
16 年 前 |
Jonas Maebe
|
744d20d086
* allow "array of const" parameters again for objcclass/objcprotocol methods
|
16 年 前 |
Jonas Maebe
|
335e159c11
Merged revisions 13351-13373,13376-13457 via svnmerge from
|
16 年 前 |