paul
|
f5965a9ce4
compiler: specialize record methods the same way as currently done for object and class methods + test
|
пре 14 година |
paul
|
e8502b8ec2
compiler: make current_genericdef, current_specializedef tstoreddef instead of tabstractrecorddef to implement generic arrays
|
пре 14 година |
paul
|
52667b6822
compiler: implement generics for records based on generic objects implementation + 1 test
|
пре 14 година |
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
|
пре 14 година |
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
|
пре 14 година |
paul
|
dc5f5c3f63
compiler: use current_structdef instead of current_objectdef in more places
|
пре 14 година |
Jonas Maebe
|
780e75bfac
o patch by Jeppe Johansen to fix mantis #17472:
|
пре 14 година |
sergei
|
8cbef5627e
Fixed rtti/finalization of objects that have ancestors and fields of managed types:
|
пре 14 година |
paul
|
b811f1be15
compiler: implement delphi style class operators:
|
пре 14 година |
paul
|
d1026bb052
compiler: reintegrate branch http://svn.freepascal.org/svn/fpc/branches/paul/extended_records
|
пре 15 година |
paul
|
11d4eddf67
compiler: a trial to implement record constructor
|
пре 15 година |
paul
|
56bf42de57
compiler: implement record methods and class methods:
|
пре 15 година |
paul
|
ab4a5c74c1
compiler: allow TFoo.TBar types for object methods (bug #0018123)
|
пре 15 година |
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
|
пре 15 година |
paul
|
37179a6558
compiler: cleanup
|
пре 15 година |
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
|
пре 15 година |
florian
|
38b90c987b
+ enable non local goto in macpas mode, test/tmacnonlocalgoto.pp does not fail anymore
|
пре 15 година |
joost
|
07bf44517c
* Merged XPCom branch into trunk, added support for constref and changed
|
пре 15 година |
mazen
|
b127fc154a
* Fixed spell error revealed by lintian.
|
пре 15 година |
Jonas Maebe
|
f13f6627c4
* moved use_fixed_stack from cgutils to a method in paramgr so it can
|
пре 15 година |
joost
|
65ab1e820b
* Safecall on linux/i386 now behaves like cdecl plus hidden exception support.
|
пре 15 година |
florian
|
ad23569cf1
* renamed pi_has_goto into pi_has_label because the problematic thing is if a procedure has a label as target and not if it has some goto
|
пре 15 година |
florian
|
24fea58b92
+ initial implementation of iso style gotos in iso mode
|
пре 15 година |
Jonas Maebe
|
5b0962b735
* fixed misplaced bracket in condition test that caused all blocks
|
пре 15 година |
Jonas Maebe
|
c30279cdc8
* no longer create implicit fail-cleanup code for TP-style object
|
пре 15 година |
Jonas Maebe
|
86d2316a76
* check for self<>nil again before calling afterconstruction, fixes
|
пре 15 година |
Jonas Maebe
|
a07bb94fcb
* separate the finally block that dezals with cleaning up temps and the
|
пре 15 година |
Jonas Maebe
|
0cef599317
* removed a number of unnecessary calls to
|
пре 15 година |
Jonas Maebe
|
f5c52b25cd
* removed "and not is_class()" condition from is_managed_type(), because
|
пре 15 година |
Jonas Maebe
|
f2e1819bae
* put the call to afterconstructor inside the implicit try/catch block
|
пре 15 година |