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
|
14 years ago |
paul
|
b811f1be15
compiler: implement delphi style class operators:
|
14 years ago |
paul
|
bf3c098c18
compiler: check that records methods have implementation too. previously check worked only for some object types
|
14 years ago |
paul
|
54b5172286
compiler: fix compiler crash (bug #0018222)
|
14 years ago |
paul
|
7852295f26
compiler: start parsing of record constructors and destructors:
|
14 years ago |
paul
|
289c9bd192
compiler: remove unneeded checks and typecasting caused by move of objectoptions into tabstractrecorddef
|
14 years ago |
paul
|
4f274b157c
compiler: move objectoptions to tabstractrecorddef because it will be needed for records too
|
14 years ago |
paul
|
56bf42de57
compiler: implement record methods and class methods:
|
14 years ago |
paul
|
26cef34005
compiler:
|
14 years ago |
paul
|
902a78eec1
compiler: add current_structdef: tabstractrecorddef and point current_objectdef to it
|
14 years ago |
paul
|
5d1c9ab6ba
compiler: check visibility of record members, allow access to record consts and types:
|
14 years ago |
paul
|
d9a43f7858
compiler: cleanup
|
14 years ago |
florian
|
f570934b45
* patch by Aleksa Todorovic to fix generic interfaces, resolves #16100
|
14 years ago |
florian
|
b1a6ec532d
* fix bootstrapping with 2.4.2
|
14 years ago |
sergei
|
7dd93b1282
* Variant types: renamed varunicodestring to varustring and changed its value to $102 (for Delphi compatibility), introduced varUStrArg=$73, added some description comments.
|
14 years ago |
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 years ago |
sergei
|
532f8b9ab5
* Type Word maps to variant type varword, not varqword (probably a typo).
|
14 years ago |
Jonas Maebe
|
d36f8ac542
* fixed potential buffer overflow error when creating the fullprocname for
|
14 years ago |
Jonas Maebe
|
dd88644237
* record the vmt_offset as the actual offset of the vmt field, so that
|
14 years ago |
joost
|
07bf44517c
* Merged XPCom branch into trunk, added support for constref and changed
|
15 years ago |
Jonas Maebe
|
31dab28eca
* when checking for stack tainting parameters, verify all locations of every
|
15 years ago |
Jonas Maebe
|
8b0301409a
+ i386/iphonesim target for the new iPhoneSimulator in Xcode 3.2.4 and
|
15 years ago |
Jonas Maebe
|
f13f6627c4
* moved use_fixed_stack from cgutils to a method in paramgr so it can
|
15 years ago |
Jonas Maebe
|
821d0c5d26
* use fact that a method belongs to an objectsymtable to determine that
|
15 years ago |
florian
|
24fea58b92
+ initial implementation of iso style gotos in iso mode
|
15 years ago |
Jonas Maebe
|
57bd6d2685
+ merged nestedprocvars branch
|
15 years ago |
Jonas Maebe
|
572f51867c
* fixed tobjectdef.find_destructor(), it did not search the parent classes
|
15 years ago |
Jonas Maebe
|
daef2efa69
- removed tstoreddef.reset() and overrides, and the associated
|
15 years ago |
Jonas Maebe
|
62d677eb92
+ support for formally declared objcclasses ("type x=objcclass;external;")
|
15 years ago |
Jonas Maebe
|
835899524b
+ support for Objective-Pascal for-in loops ("fast enumerations")
|
15 years ago |