Michaël Van Canneyt
68c52cf025
* Refactored to be able to solve threadsafety problem
2023-01-29 21:26:28 +01:00
Michaël Van Canneyt
1790b0c466
* SQLDB Database connection pool
2023-01-29 21:26:28 +01:00
Michaël Van Canneyt
ffd14f449d
* 32 bit counter
2023-01-28 23:06:46 +01:00
Michaël Van Canneyt
fc6c3cf487
* Create container with unique name, improve thread-safety
2023-01-28 16:26:11 +01:00
Michaël Van Canneyt
cdc6ff0a30
* Avoid error by checking if content was already sent
2023-01-28 16:26:11 +01:00
Michaël Van Canneyt
0e77ef6ebf
* Set result correctly in TCORSSupport.HandleRequest
2023-01-28 16:26:11 +01:00
florian
3e75ba52f3
* initial preparations for riscv32-freertos
2023-01-27 22:39:15 +01:00
Ondrej Pokorny
f9b1a5acfb
Postgres: more information in EPQDatabaseError
2023-01-25 13:49:22 +01:00
marcoonthegit
8c888d9744
* free doc before calling a readxmlfile procedure routine with OUT parameter. Fixes #40126
2023-01-23 18:48:08 +01:00
Marcus Sackrow
a57e34403c
System.ioutils changes some nested $if $else $if to $if $elseif
2023-01-22 14:51:05 +01:00
Marcus Sackrow
55c5c7e122
Fixed system.ioutils for windows and other non-unix systems
2023-01-21 23:50:06 +01:00
Michaël Van Canneyt
184d20cb06
* Fix some tests after recent changes, better test for special dirs
2023-01-21 21:44:00 +01:00
florian
87321a0e67
* fix one test failure for unixes
2023-01-21 21:35:18 +01:00
Michaël Van Canneyt
77ade8b74f
* Improve TPath initialization
2023-01-21 20:41:24 +01:00
Michael Van Canneyt
0b5eaa50fb
* Sysutils compatibility unit
2023-01-21 13:45:04 +01:00
Michael Van Canneyt
06a7610a35
* Stream writer
2023-01-19 12:21:56 +01:00
florian
46ab62fbb9
* alternative declaration for SDL_CreateThread added to keep old code working, resolves #40112
2023-01-14 20:59:26 +01:00
florian
51bb01734b
* patch by Alfred Glänzer: Prevent install of unnecessary files during cross-install, resolves #40101
2023-01-11 22:17:27 +01:00
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
cf50f8ede0
* More fixes and cleanups in restbase.pp (googleapiconv)
...
- 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.
2023-01-09 23:48:05 -08:00
Michaël Van Canneyt
00e3cdddce
* Add NetAddrIsPrivate function from Ondrej Pokorny
2023-01-09 09:37:23 +01:00
Ondrej Pokorny
f43912a383
add SSL functions
2023-01-09 07:17:04 +00: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
fba7595bb1
* Fix dynamic array (managed types) handling in restbase.pp (Ref #40094 )
...
Fixes code in method TBaseObject.SetArrayProperty
and removes private method SetArrayElements
This fixes AVs and memory leaks.
2023-01-08 00:30:51 -08:00
florian
4deb23ba58
* makefile regenerated with current fpcmake, resolves #40092
2023-01-07 22:52:01 +01:00
Kevin Jesshope
05f5e9ad12
Update file fpwebfile.pp
2023-01-06 13:08:33 +00:00
Kevin Jesshope
cee45ea6fc
The test for '' after getting the location into BaseDir should test BaseDir not BaseURL.
2023-01-06 13:08:33 +00: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
marcoonthegit
84ea64e59c
* timespan unit based on Delphi documentation declarations and an own implementation based on Microsoft documentation.
2023-01-03 19:37:52 +01:00
Marcus Sackrow
aced88e43c
Amiga: 32 bit set color functions for OS 1.x
2023-01-02 19:51:20 +01:00
Michaël Van Canneyt
9998104048
* Add PATCH method to router
2023-01-02 16:09:13 +01:00
Michaël Van Canneyt
d7870c81e9
* Example program to print unit dependencies
2022-12-29 09:49:59 +01:00
Pierre Muller
9e48addff5
Specify correct include files used in ptcwrapper unit, not in ptceventqueue
2022-12-28 15:39:23 +00:00
Pierre Muller
ea68c97f50
Remove convert.inc from fpmake include list as it was removed in commit 15ff16d852
2022-12-28 13:44:15 +00:00
Pierre Muller
20f649b7e9
Add missing include directory src/ptcwrapper
2022-12-28 13:43:44 +00:00
Pierre Muller
9f2f4a6574
Remove include files for collation_ru source, as they are gone since commit 27ed2808dc
2022-12-28 13:43:44 +00:00
Michaël Van Canneyt
535f11886d
* Fix missing semi-colon
2022-12-27 21:59:03 +01:00
Michaël Van Canneyt
234a955125
* Fix missing fields in TSQLDBRestResource.Assign
2022-12-27 21:49:02 +01:00
Michaël Van Canneyt
a5f49c1cef
* RFC states that client must use mask: enforce mask on connect
2022-12-27 09:43:40 +01:00
Michaël Van Canneyt
5469199726
* Sample program from Andrew Haines to test echo servers
2022-12-27 09:33:09 +01:00
Michaël Van Canneyt
4f054f4097
* Patch from Andrew Haines: do not send close connection message if already closed
2022-12-27 09:33:09 +01:00
Michaël Van Canneyt
23d61350bd
* Patch from Andrew Haines to actually pass OutgoingFrameMask to frames. Add woSendErrClosesConn flag
2022-12-27 09:33:09 +01:00
Michaël Van Canneyt
ef4a1c74cb
* Obey -p/--port command-line option
2022-12-26 14:00:19 +01:00
Michaël Van Canneyt
59501f11a5
* Fix hierarchy
2022-12-26 13:59:53 +01:00
Sven/Sarah Barth
693491048b
* change constref parameters to const for Delphi compatibility as well as better code generation
2022-12-23 15:12:32 +01:00