Commit History

Auteur SHA1 Bericht Datum
  florian 546455faca * throw error properly if a target does not support sections 3 jaren geleden
  ccrause 665c1b3966 Move member variable "section" to tprocdef. Type of "section" to agree with symansistr define. 3 jaren geleden
  ccrause 738a0a35de Add section directive for subroutines for embedded and freertos systems. 3 jaren geleden
  Sven/Sarah Barth 2a5023508a + add support for forward declarations of generic classes and interfaces (any implicit pointer type really); fixes #34128 3 jaren geleden
  Karoly Balogh 568d4de77e * aros64: recent developments hanged the library call ABI, lets try to follow it (aros64 is experimental) 3 jaren geleden
  svenbarth f9957f30a5 * fix for Mantis #38771: the owner of the procdef might be Nil in case of a specialization (that virtual can't be used on generics is caught later on) 4 jaren geleden
  nickysn 9fa61a6c9f - removed the discardresult proc directive 4 jaren geleden
  nickysn 7e958e0a35 + introduced the discardresult directive and declared the UniqueString() 4 jaren geleden
  florian 7f775abb6d * throw a proper error if a contructur has a type parameter in delphi mode, resolves #37217 4 jaren geleden
  svenbarth 6160abe37e * have the generic dummy symbols for procsyms keep track of their overloaded generic procsyms so that they can be easily found (will be needed for implicit specializations) 4 jaren geleden
  svenbarth c96029ebd5 * Delphi does not allow a generic method to be overloaded by a non generic type of the same name (unlike for generic types and non generic routines); this is probably done to simplify the implementation of implicit specializations of generic methods so we do this as well. For this we change the dummy symbol for generic routines from a typesym to a procsym 4 jaren geleden
  svenbarth 43ba5b69d2 * ensure that the dummy symbol is registered if it's added due to a routine 4 jaren geleden
  svenbarth 2a897f5b6b * apply slightly adjusted patch by Blaise.ru which moves parsing of result types to a separate functions thus ensuring that File types can't be used for procedure variables (just like they already couldn't be used as a result type for normal functions) 4 jaren geleden
  florian f0298f63d0 * allow absolute variables with an address to be used as syscall base 4 jaren geleden
  svenbarth 3d2ee097b5 * fix for Mantis #38083: ensure that the sp_generic_dummy flag is set correctly on the new procsym when replacing a dummy sym 4 jaren geleden
  Jonas Maebe 1c61c30cd2 * added "const" to some string parameters 4 jaren geleden
  florian 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 5 jaren geleden
  yury 721e89fafd * msdos: Force names of external routines to be all uppercase only in TP mode. 5 jaren geleden
  yury 9d3b105fab * msdos: By default external routine names with the pascal calling convention must be all upper case. This is TP and TASM compatible. 5 jaren geleden
  svenbarth 56fdba2c9b * partial fix for Mantis #37253: po_hascallingconvention needs to be set as well when setting tprocdef.proccalloption 5 jaren geleden
  svenbarth 60345366f2 * fix for Mantis #35140: apply patch by Ryan Joseph together with some further changes by me to add support for constant parameters in generics 5 jaren geleden
  svenbarth 752ff32333 * fix WinAPI directive: the purpose is to present the OS' default calling convention which for Windows means stdcall (at least on those platforms that support stdcall) on other platforms it is cdecl (for now) 5 jaren geleden
  svenbarth 2ad3c6dd97 * fix global generic functions with constraints in mode Delphi by handling implementations with defines outside of parse_generic_parameters 5 jaren geleden
  florian b7afb2431c * do not allow constraints in headers of procedure implementations in delphi mode, resolves #36584 5 jaren geleden
  svenbarth 8111e92e1f * rework syntax for cblocks: now a cblock directive is required 5 jaren geleden
  Jonas Maebe a051b8d225 - remmoved doregister parameter from t*sym constructors, as the registration 6 jaren geleden
  svenbarth a72553eea2 * disable [...] syntax for procedure directives if modeswitch "prefixed attributes" is enabled; they conflict otherwise and it's not easily resolveable 6 jaren geleden
  svenbarth 2e4d8e36a5 * fix for Mantis #35670: when a unused dummy symbol is found for a non-generic procedure/function, hide that dummy symbol and create a new symbol for the procedure/function 6 jaren geleden
  Jonas Maebe 281b3ad276 * fix case completeness and unreachable code warnings in compiler that would 6 jaren geleden
  Jeppe Johansen 12879adc2f - Adds intrinsics to save/restore SREG when disabling interrupts. 6 jaren geleden