* fmtbcd.pp: convert BCD to strings directly (without intermediate conversion to Double) to avoid loss of precision.
+ variants.pp: support custom variants in Variant->AnsiString conversions.
git-svn-id: trunk@17170 -
* VarTypeIsValidElementType: moved check for custom types after checks for standard types, because it is expensive.
* sysvararrayput, DynArrayToVariant, DynArrayFromVariant: replaced calls to methods of variant manager by appropriate plain calls which still go through the variant manager, but GetVariantManager() is no longer necessary.
git-svn-id: trunk@17169 -
a temporary parameter location, since calls cannot overwrite parameters
already on the stack in that case (it will just grow)
git-svn-id: trunk@17144 -
* Now g_initialize, g_finalize, g_incrrefcount and g_decrrefcount should never more be used for open arrays, trigger internal error if it happens.
git-svn-id: trunk@17137 -
* Replaced $FPCTARGET->$fpctarget
* Moved fppkg package search-path so that packages can override apache units
* Renamed APACHE_1_13 define to APACHE_1_3
git-svn-id: trunk@17132 -
forward-declared class, only search the current symtable rather than the
entire symtable stack (to prevent finding types in e.g. nested types)
git-svn-id: trunk@17128 -
declared inside the the current structdef hierarchy: properly deal with
multiple types of the same name nested into each other, by keeping track
of at which point in the hierarchy we found the first type (and afterwards
continuing from there, instead of from any point in the hierarchy where
a type with this name can be found)
git-svn-id: trunk@17126 -
* Separated two almost identical parts of code into procedure rangecheck_string;
- Removed range checking of regular_array[constant], which should, according to the comments, happen in typecheckpass. tvecnode.pass_typecheck indeed does the necessary tests, so removing this duplicate check also eliminates duplicate warning when range checking is off.
git-svn-id: trunk@17124 -
* Use these new varaibles to simplify copyfiles rule, copy the objects
into output subdirectory and not in tests/test/cg.
+ New rules: create_c_objects and delete_c_objects.
create_c_objects: Compile using TEST_CCOMPILER variable value
all C_SOURCES and CPP_SOURCES, using TEST_CFLAGS option if set.
delete_c_objects: Delete the existing C compiled objects to force
recompilation in create_c_objects.
git-svn-id: trunk@17113 -
enclosing types, so that it works both for single_type() and
read_named_type() (-> works inside class definitions)
* modified tclass13 to test this
git-svn-id: trunk@17111 -