Commit History

Autor SHA1 Mensaxe Data
  svenbarth d3660fec31 Implement support for parsing "generic [class] procedure" and "generic [class] function" in non-Delphi modes. Since "generic" is a prefix it is quite ugly to implement, but from a Pascal language point of view it fits better than "procedure generic xyz". %!s(int64=9) %!d(string=hai) anos
  svenbarth 0ff87336aa Convert the Boolean parameters accept_equal, typeonly and hadspecialize of comp_expr(), sub_expr() and factor() to a set parameter and adjust all calls. %!s(int64=9) %!d(string=hai) anos
  svenbarth d15cdefc37 pdecsub.pas: %!s(int64=10) %!d(string=hai) anos
  svenbarth 17a0ac7fc0 pdecsub.pas: %!s(int64=10) %!d(string=hai) anos
  yury 432248cbf1 * Removed lot of unused vars. %!s(int64=10) %!d(string=hai) anos
  svenbarth 84b9d9839c + extend tobjectdef with the possiblity to create it as unregistered %!s(int64=10) %!d(string=hai) anos
  florian f1decfb6b6 * do not generate a vmt record for generics, they are only needed for specializations %!s(int64=10) %!d(string=hai) anos
  Jonas Maebe 2dcd42d4f1 * fixed detection of an objcprotocols descending from a forward-defined %!s(int64=10) %!d(string=hai) anos
  svenbarth 7b216d7fa6 Fix for Mantis #27120. %!s(int64=10) %!d(string=hai) anos
  svenbarth 49a9f4c1ea Fix for Mantis #26123. %!s(int64=11) %!d(string=hai) anos
  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. %!s(int64=11) %!d(string=hai) anos
  Jonas Maebe 02d36c56f7 * fixed compilation (changes after testing :/ ) %!s(int64=11) %!d(string=hai) anos
  Jonas Maebe 5e1a895e95 * removed JVM-specific creation of methodpointertype and %!s(int64=11) %!d(string=hai) anos
  Jonas Maebe b57c95043f + support overriding tdef/tsym methods with target-specific functionality: %!s(int64=11) %!d(string=hai) anos
  svenbarth ddb78fefdc Add a modeswitch for type helpers as discussed in core on 24th October 2013. It is disabled by default in all modes (afterall type helper support in Delphi started only beginning with XE3) %!s(int64=11) %!d(string=hai) anos
  florian 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables %!s(int64=11) %!d(string=hai) anos
  svenbarth 798bb91e90 Extract tdef.is_related plus its overrides in tobjectdef, trecorddef and tstringdef into a new function def_is_related in unit defcmp. %!s(int64=11) %!d(string=hai) anos
  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. %!s(int64=11) %!d(string=hai) anos
  svenbarth d91d4afb0f Fix for Mantis #25210 . %!s(int64=11) %!d(string=hai) anos
  florian 2fdd3e2d0a + introduce tvariantrecbranch to be able to store %!s(int64=12) %!d(string=hai) anos
  Jonas Maebe 3a03586ca9 * give an error when declaring a class as conforming to a forward-declared %!s(int64=12) %!d(string=hai) anos
  svenbarth 344571cb4e Added support for type helpers. In non Delphi modes they use "type helper" and in mode Delphi they use "record helper". They can also be used on constants. %!s(int64=12) %!d(string=hai) anos
  paul 7c663af588 compiler: also don't allow record constructors with only default arguments %!s(int64=12) %!d(string=hai) anos
  paul 1b8369dd99 compiler: don't allow parameterless constructors %!s(int64=12) %!d(string=hai) anos
  paul e9615716c1 compiler: allow constructors in helpers for records %!s(int64=12) %!d(string=hai) anos
  paul 1508fd427d compiler: handle calling convention of record (class)constructors/destructors later as it is done with other record methods %!s(int64=12) %!d(string=hai) anos
  Jonas Maebe 3798b79fd7 + optimization that (re)orders instance fields of Delphi-style classes in %!s(int64=13) %!d(string=hai) anos
  svenbarth d2fabd2a22 Fix for Mantis #21350 %!s(int64=13) %!d(string=hai) anos
  svenbarth 7dfaec7a05 Fix for Mantis #21457 %!s(int64=13) %!d(string=hai) anos
  svenbarth dbc410de63 Allow the usage of a generic's name without type arguments inside of nested classes inside the generic. This fixes Mantis #19499, but also Mantis #18688. %!s(int64=13) %!d(string=hai) anos