Commit History

Author SHA1 Message Date
  florian 0968d095ed * convert function like used new into a appropriate nodes only in pass_1 so proper error checking can be carried out, resolves #24495 12 years ago
  florian e1233e0111 * asizeint => longint, it is unlikely that an variant record well ever have more than 2^31 branches 12 years ago
  florian 2fdd3e2d0a + introduce tvariantrecbranch to be able to store 12 years ago
  florian d67f31a0e1 * allow type parameters variables being passed to new/dispose, resolves #23270 12 years ago
  Jonas Maebe aee5380ae0 * merged trunk up to r20882 13 years ago
  florian fecafd8bb7 * unified formatting 13 years ago
  sergei 92f927976e * Rewrote fpc_dynarray_copy to trim out-of-range arguments instead of raising range error. Makes behavior Delphi-compatible and resolves #21396. 13 years ago
  paul 3b153c223a compiler: 13 years ago
  sergei 40f29ffd7a * Generate direct order of indexes passed to fpc_dynarray_setlength at compile time, eliminates the need of reversing them at runtime (in DynArraySetLength). 13 years ago
  florian 5d4607f65a * ignore errors in setlength parsing inside a generic functin, resolves #20557 13 years ago
  paul c1866d5c17 compiler: 14 years ago
  paul 723f3424d4 merge r17484 from cpstrnew branch by michael: 14 years ago
  Jonas Maebe d48fa1d7e2 * for all managed VM targets, reject ord->ptr typecasts (except for 0), 14 years ago
  Jonas Maebe 40cf2cefa0 * when the user calls initialize(), force initialization to happen on the 14 years ago
  Jonas Maebe 622107c605 * moved support for copy() from pinline to ninl, so it can be (partially) 14 years ago
  Jonas Maebe 00c095fa70 * moved setlength() handling from pinline to ninl so it can be overridden 14 years ago
  Jonas Maebe ab5b1fb686 * turned call_fail_node, initialize_data_node, and finalize_data_node from 14 years ago
  svenbarth f7f357f18e * symconst.pas: 14 years ago
  svenbarth 80e6498921 Rebase to revision 17096 14 years ago
  svenbarth 878c8c7806 Implemented correct handling of inherited methods. 14 years ago
  svenbarth 963a4d7b23 Commit of a completely restructured helper implementation. Instead of changing objectdefs with odt_classhelper to odt_class, they'll have the odt_helper type assigned to and this will be kept. This also implies that the parent of a helper is its true parent while the extended type is set to a field in tobjectdef (extendeddef). 14 years ago
  paul 56bf42de57 compiler: implement record methods and class methods: 14 years ago
  Jonas Maebe 749991ec02 + support extra parameter for initialize() that indicates how many elements 14 years ago
  florian 67416e958b * initialize file variables in iso mode 15 years ago
  Jonas Maebe f5c52b25cd * removed "and not is_class()" condition from is_managed_type(), because 15 years ago
  yury 6a6a6a6e6f * Copy() with WideChar array or PWideChar parameter should use fpc_unicodestr_copy compilerproc, since fpc_widestr_copy is available only on Windows. Bug #14307. 16 years ago
  Jonas Maebe f5a24d0f5b * fix from r13288 16 years ago
  Jonas Maebe 7885f6c892 * give a generic "type mismatch" error if copy() is called with less than 16 years ago
  peter 36cad44923 * refactor is_visible_for_object 16 years ago
  florian b178b08ba7 Merged revisions 11665-11738 via svnmerge from 17 years ago