Commit Graph

8 Commits

Author SHA1 Message Date
wsherman
6453af40d8 *fix compile warnings and hints in googleapiconv and googlediscoverytopas
- Fix compiler warnings and hints and unused local variables
  - Change deprecated ClassHeader to ClassComment
  - Fix comment in helper script
2023-01-09 23:48:05 -08:00
wsherman
b56ebfa93d * Remove conditional code for compiling googleapiconv with v2.6.4 on i386
(restbase.pp)
  - Remove {$ifdef ver2_6} directives and associated code
  - Remove {$ifndef ver2_6} directives (but keep code)

(googleapiconv.pp)
  - Remove {$ifdef ver2_6} directives and associated code
  - Remove synapse defines and associated code line

(googlediscoverytopas.pp)
  - Remove {$ifdef ver2_6} directives and associated code
2023-01-08 21:38:38 -08:00
wsherman
ed894b40c9 * minor updates to googleapiconv helper scripts (ref #40094) 2023-01-08 00:33:07 -08:00
wsherman
3224f2c8b5 * more fixes to googleapiconv (ref #40094)
(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
2023-01-08 00:33:07 -08:00
wsherman
731fd94b8c * bash scripts for testing and running googleapiconv (ref #40094) 2023-01-08 00:33:07 -08:00
wsherman
ab3aae149b * googleapiconv fixes and cleanup (ref #40094)
- 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.
2023-01-08 00:33:07 -08:00
wsherman
ea91170a81 * Add opensslsockets to uses so googleapiconv works with HTTPS 2023-01-05 11:04:03 -08:00
wsherman
17fab24221 * Reorganize packages/googleapi/ directory.
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)
2023-01-04 22:45:55 +00:00