svenbarth
|
aed9f0a5f7
Added first version of class helper support (not fully working and not fully featured)
|
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
|
7dd6cf07b4
compiler: comment TSymTableType entries + formatting
|
há 14 anos atrás |
paul
|
fc33a2542b
formatting
|
há 15 anos atrás |
paul
|
e8502b8ec2
compiler: make current_genericdef, current_specializedef tstoreddef instead of tabstractrecorddef to implement generic arrays
|
há 15 anos atrás |
Jonas Maebe
|
2222f2c44b
* renamed is_class_or_interface_or_dispinterface_or_objc() into
|
há 15 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á 15 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á 15 anos atrás |
paul
|
dc5f5c3f63
compiler: use current_structdef instead of current_objectdef in more places
|
há 15 anos atrás |
paul
|
86d3e41442
compiler: replace MODESWTICH POINTERARITHMETICS with $POINTERMATH directive, disable pointer arithmetic in delphi mode by default (compatible with delphi), enable pointer arithmetic in fpc/objfpc modes as they had it enabled by default before, add has_pointer_math field to tpointerdef to allow pointer arithmetic with such pointer even if pointer math mode is off (delphi compatible) + tests
|
há 15 anos atrás |
paul
|
b811f1be15
compiler: implement delphi style class operators:
|
há 15 anos atrás |
paul
|
bf3c098c18
compiler: check that records methods have implementation too. previously check worked only for some object types
|
há 15 anos atrás |
paul
|
54b5172286
compiler: fix compiler crash (bug #0018222)
|
há 15 anos atrás |
paul
|
7852295f26
compiler: start parsing of record constructors and destructors:
|
há 15 anos atrás |
paul
|
289c9bd192
compiler: remove unneeded checks and typecasting caused by move of objectoptions into tabstractrecorddef
|
há 15 anos atrás |
paul
|
4f274b157c
compiler: move objectoptions to tabstractrecorddef because it will be needed for records too
|
há 15 anos atrás |
paul
|
56bf42de57
compiler: implement record methods and class methods:
|
há 15 anos atrás |
paul
|
26cef34005
compiler:
|
há 15 anos atrás |
paul
|
902a78eec1
compiler: add current_structdef: tabstractrecorddef and point current_objectdef to it
|
há 15 anos atrás |
paul
|
5d1c9ab6ba
compiler: check visibility of record members, allow access to record consts and types:
|
há 15 anos atrás |
paul
|
d9a43f7858
compiler: cleanup
|
há 15 anos atrás |
florian
|
f570934b45
* patch by Aleksa Todorovic to fix generic interfaces, resolves #16100
|
há 15 anos atrás |
florian
|
b1a6ec532d
* fix bootstrapping with 2.4.2
|
há 15 anos atrás |
sergei
|
7dd93b1282
* Variant types: renamed varunicodestring to varustring and changed its value to $102 (for Delphi compatibility), introduced varUStrArg=$73, added some description comments.
|
há 15 anos atrás |
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
|
há 15 anos atrás |
sergei
|
532f8b9ab5
* Type Word maps to variant type varword, not varqword (probably a typo).
|
há 15 anos atrás |
Jonas Maebe
|
d36f8ac542
* fixed potential buffer overflow error when creating the fullprocname for
|
há 15 anos atrás |
Jonas Maebe
|
dd88644237
* record the vmt_offset as the actual offset of the vmt field, so that
|
há 15 anos atrás |
joost
|
07bf44517c
* Merged XPCom branch into trunk, added support for constref and changed
|
há 15 anos atrás |