svenbarth
|
5fa181b5d9
* second fix for Mantis #31033: also check for df_specialization instead of is_specialization for parameters to correctly handle nested types that aren't really true specializations themselves
|
vor 8 Jahren |
Jonas Maebe
|
94d7a7274b
* compare floating point default parameter values bytewise instead of as
|
vor 9 Jahren |
svenbarth
|
0500c678e5
* fix for Mantis #30534: don't consider all types with generic constraints as equal, but at least ensure that they have the same basetype (Note: this still needs a bit more improvement)
|
vor 9 Jahren |
florian
|
a4d2f71d3d
* better estimation of compatibility of array constructors with open arrays, resolves issue #29244
|
vor 9 Jahren |
Jonas Maebe
|
9258b5d76b
+ non-functional 128 bit integer types (inaccessible from Pascal), for use
|
vor 9 Jahren |
Jonas Maebe
|
8087389f63
* support assigning static methods to regular procvars in (obj)fpc mode
|
vor 9 Jahren |
Jonas Maebe
|
4f7b4a2735
* changed {$ifdef x86} code in defcmp into virtual methods
|
vor 10 Jahren |
nickysn
|
e2740f0fd7
* disallow procvar to pointer conversion, if the pointer type isn't the default
|
vor 10 Jahren |
svenbarth
|
8fbd57080b
defcmp.pas, compare_paras:
|
vor 10 Jahren |
Jonas Maebe
|
dd3d0ae5bc
* set the type of the hidden $vmt parameter to the correct classrefdef and
|
vor 10 Jahren |
svenbarth
|
19c6d72c7b
Fix for Mantis #27750.
|
vor 10 Jahren |
Jonas Maebe
|
2bc8afaa63
+ support for calling a method via a block: we capture the method as a
|
vor 11 Jahren |
Jonas Maebe
|
bd09b88a5b
+ support for http://en.wikipedia.org/wiki/Blocks_(C_language_extension)
|
vor 11 Jahren |
Jonas Maebe
|
f29a7b827e
* initialise doconv after comparing procvars, and in particular set it to
|
vor 11 Jahren |
svenbarth
|
639a59df92
Added support for partial specialization. This should fix a few problems with generics, the tests for which will be added in the next days after I've verified them.
|
vor 11 Jahren |
Jonas Maebe
|
338c064beb
* moved x86-specific tpointerdef functionality to architecture-specific
|
vor 11 Jahren |
svenbarth
|
c077adf499
Fix for Mantis #25132
|
vor 12 Jahren |
svenbarth
|
798bb91e90
Extract tdef.is_related plus its overrides in tobjectdef, trecorddef and tstringdef into a new function def_is_related in unit defcmp.
|
vor 12 Jahren |
svenbarth
|
76f6de5cf1
Refactor tobjectdef.find_implemented_interface out into unit defcmp so that the recently introduced cycle between symdef and defcmp can be broken again.
|
vor 12 Jahren |
Jonas Maebe
|
de56f909d5
* synchronized with trunk up to and including r25430
|
vor 12 Jahren |
Jonas Maebe
|
f539e9158a
* small change to r24997: also use the {$modeswitch unicodestrings} state to
|
vor 12 Jahren |
paul
|
17ef986b17
compiler: don't treat methods without self node (static class methods, class contructors, destructors, operators) as method pointers, fix comparison of procdef and procvardef to allow assignment of a static class method to a regular procedural variable (issue #24486)
|
vor 12 Jahren |
Jonas Maebe
|
29132f45b7
* synchronised with trunk up to r25167 (fixes glib compilation via r25164,
|
vor 12 Jahren |
Jonas Maebe
|
35b771e421
* previously, we preferred pchar->shortstring to pchar->ansistring in
|
vor 12 Jahren |
Jonas Maebe
|
eb93429cf0
* prefer "constant string" -> pwidechar for {$modeswitch unicodestrings}
|
vor 12 Jahren |
nickysn
|
6431ebe7f3
* treat the nil node as equal to near, far and all the special x86 pointer types
|
vor 12 Jahren |
svenbarth
|
956b26bc97
Completely reworked implementation of generic constraints, by moving the generic constraint data from the symbols to the definitions (I originally thought that this would simplyfy things, but the more correct approach is to add it to the defs).
|
vor 12 Jahren |
svenbarth
|
cc5a108cca
Allocate the list for generic parameters in tstoreddef only on demand as most defs won't contain generic parameters anyway (avoids a little bit of runtime and memory overhead per def).
|
vor 12 Jahren |
nickysn
|
b0f7786782
+ added support for special versions of near data pointers associated with a x86 segment register. They are supported on all x86 platforms: i8086, i386 and x86_64
|
vor 12 Jahren |
Jonas Maebe
|
1244cdff70
* don't treat bitpacked arrays of subranges of char that can be represented
|
vor 12 Jahren |