- Move test functions out of class to local procedures and into
{$IFDEF DUMPARRAY} and change the parameters to match the rtl versions:
function GetDynArrayProp(P: PPropInfo) : Pointer; virtual;
procedure SetDynArrayProp(P: PPropInfo; AValue : Pointer); virtual;
- Add dyn arrays support to the ClearProperties method
- In SetArrayProperty, fix previous commit (fba7595b) because the
array properties were not being set and make the dyn array handling
code more typesafe.
- In SetObjectProperty use TObjectArray instead of Pointer to make the
dyn array handling code more typesafe.
- In ClearChildren use ClearProperty to do the work and simplify the code.
- Fix some compiler warnings and hints.
(googlediscoverytopas)
-Fix unit clause and "uses" for generated units
(googleapiconv)
-Add --version parameter
-Fix logging messages
-Set OutputUnitName so units have correct clause
(restbase)
-Add #todo notes for follow up
-Move function RFC3339ToDateTime next to related functions
- Add updated URL for google api discovery
- Fix incorrect usage / help messages and put options in alpha order
- Replace "with .. do" statement with a local variable for clarity
- Add missing DiscoveryJSONToPas.Execute so output files are not empty
- Add FreeAndNil(Application) to clear a memory leak
(it now has a clean Heaptrc)
- Minor fix to .lpi file which had incorrect dependency.
Separate hand coded files to a new directory "src/base"
(googlebase.pp, googleservice.pp, googleclient.pp)
Move generated api files to a new directory "src/bindings"
Move the the bindings generator program out of /examples to /generator
Move the unit googlediscoverytopas.pp to /generator
Fix paths in /generator/googleapiconv.lpi
Regenerate Makefile (using fpcmake -w -Tall)
Edit fpmake.pp
- remove src path
- add src/base path
- add src/bindings path
- fix bad path for unit googleadexchangebuyer.pp
- do not include unit googlediscoverytopas.pp (commented out)
(add this later if the generator is setup to be
included in the build)
Fixes compilation of test/timpfuncspez5 with LLVM and debug info, as the LLVM
debug info writer internalerror's when you try to generate debug info for
an array constructor (since those types should never appear as parameter/
variable types).
Replace them with reusable regular array types, so that multiple invocations
of the same generic function with array constructors of the same type and
number of elements are collapsed into the same specialisation