marco
|
19ffe4bdc2
--- Merging r21582 into '.':
|
há 13 anos atrás |
marco
|
f0c986dcce
--- Merging r19343 into '.':
|
há 13 anos atrás |
marco
|
17941f0c2e
--- Merging r18098 into '.':
|
há 14 anos atrás |
paul
|
550ad700c3
compiler: allow class declarations inside records (1 part of issue #0019099)
|
há 14 anos atrás |
svenbarth
|
d0705a1779
Rebase to revision 17236
|
há 14 anos atrás |
svenbarth
|
a944be69a6
* nflw.pas: search for enumerators in helpers for records as well
|
há 14 anos atrás |
Jonas Maebe
|
c0423b6a78
* handle implementing objcprotocols that are defined as formal external
|
há 14 anos atrás |
svenbarth
|
f7f357f18e
* symconst.pas:
|
há 14 anos atrás |
svenbarth
|
5218666328
* ncgrtti.pas: RTTI generation for helpers is handled like that for classes
|
há 14 anos atrás |
svenbarth
|
963a4d7b23
Commit of a completely restructured helper implementation. Instead of changing objectdefs with odt_classhelper to odt_class, they'll have the odt_helper type assigned to and this will be kept. This also implies that the parent of a helper is its true parent while the extended type is set to a field in tobjectdef (extendeddef).
|
há 14 anos atrás |
svenbarth
|
7cc7826343
- msg*: found a message to reuse
|
há 14 anos atrás |
svenbarth
|
07eebff55c
Rebase to revision 16827
|
há 14 anos atrás |
svenbarth
|
433851ab36
- compiler/pdecsub.pas:
|
há 14 anos atrás |
svenbarth
|
d4be11cb42
Implement advanced class helper syntax which allows "inheritance" of class helpers. This is not the same as normal class inheritance as its only used to extend the scope to other class helpers (that pseudo heritage line) when searching for a symbol. The real parent is always the extended class.
|
há 14 anos atrás |
paul
|
368c215070
compiler: always derive DispInterface from IDispatch, this solve a problem with assigning dispinterface to IUnknown or IDispatch variables
|
há 14 anos atrás |
paul
|
86482658a8
compiler: fix tgeneric11 test:
|
há 14 anos atrás |
paul
|
d37fde7302
compiler: simplify _CLASS token handling in object declarations by Sven Barth (issue #18425)
|
há 14 anos atrás |
svenbarth
|
a9b64c80ad
Rebase to revision 16728
|
há 14 anos atrás |
svenbarth
|
aed9f0a5f7
Added first version of class helper support (not fully working and not fully featured)
|
há 14 anos atrás |
paul
|
e0e01899e5
compiler: move parse_generic_parameters to the interface of pdecl unit, move insert_generic_parameter_types to pdecl unit to access them from pdecsub (preparations for generic methods implementation)
|
há 14 anos atrás |
paul
|
2599cc63bd
compiler: implement generic procedural types
|
há 14 anos atrás |
paul
|
d55a141d70
compiler: allow generics as class parents + fixed test
|
há 14 anos atrás |
paul
|
fa41b6ffe3
compiler: allow generic classes to derive from generic classes and generic interfaces
|
há 14 anos atrás |
Jonas Maebe
|
3ca3276400
* changed syntax of external objcclasses (see wiki/FPC_PasCocoa). Another
|
há 14 anos atrás |
paul
|
55a0fefb1f
compiler: implement generic array type:
|
há 14 anos atrás |
paul
|
e8502b8ec2
compiler: make current_genericdef, current_specializedef tstoreddef instead of tabstractrecorddef to implement generic arrays
|
há 14 anos atrás |
paul
|
52667b6822
compiler: implement generics for records based on generic objects implementation + 1 test
|
há 14 anos atrás |
paul
|
101f545ad0
compiler: don't allow generic object types (interfaces,dispinterfaces,objclasses,...) to have type,var,const sections if regular object types don't have them. currently only objects, classes and records are allowed to have nested type,var,const sections.
|
há 14 anos atrás |
paul
|
2af416e145
compiler: move current_objectdef variable to implementation of pdecobj and use explicit type conversion to tobjectdef in other places where current_objectdef is needed
|
há 14 anos atrás |
paul
|
ee78cf0f06
compiler: use current_structdef in more places where current_objectdef was used, change type of current_genericdef and current_specializedef to tabstractrecorddef for future use with generic records
|
há 14 anos atrás |