Commit Graph

14463 Commits

Author SHA1 Message Date
Sven/Sarah Barth
d5c1533377 * fix #40331: for enumeration with holes (that don't have type information) use the binary comparers
+ added test
2023-06-30 16:30:46 +02:00
Sven/Sarah Barth
82857174cc * move check for whether to use binary comparer functionality to a static function of TComparerService 2023-06-30 16:27:13 +02:00
Sven/Sarah Barth
574d07041e * ensure that the ATypeInfo parameter is valid before checking it 2023-06-30 16:26:16 +02:00
Michaël Van Canneyt
9cc08940dd * Small fix by Alexey Torgashin. Fixes issue #40335 2023-06-30 11:22:06 +02:00
Michaël Van Canneyt
e776368ac8 * Fix compilation. 2023-06-29 13:45:17 +02:00
mattias
74e24a3864 fcl-web: TWSFramePayload.ReadData: check for endless loop and wait for new data 2023-06-22 12:30:40 +02:00
mattias
f047c40bca fcl-net: fixed range check error 2023-06-22 12:20:06 +02:00
mattias
977d123b32 fcl-web: less hints 2023-06-22 12:14:44 +02:00
mattias
dea9aa56a7 fcl-web: added TCustomWebsocketUpgrader.OnConnect 2023-06-22 12:14:28 +02:00
Michaël Van Canneyt
b9aeeaa6e3 * Initialize result string 2023-06-21 13:30:29 +02:00
mattias
8f32a8190e fcl-pdf: fixed dump hexstring 2023-06-21 12:47:31 +02:00
mattias
3ef91538f9 fcl-pdf: less hints 2023-06-21 12:47:31 +02:00
mattias
51fa67c234 fcl-pdf: less hints 2023-06-21 12:47:31 +02:00
Jinyang He
6b4ee224bf set default result in TPCUWriter.IsExternalEl 2023-06-21 03:57:58 +00:00
florian
20884fdc1b * search for i386-linux-gcc also by trying i686-linux- as prefix as
apparently for newer gcc -m32 does not return the proper libgcc path anymore
2023-06-20 23:16:16 +02:00
Michaël Van Canneyt
41c2a2069a * Alphacolors, enhanced patch from Mattias 2023-06-20 11:55:48 +02:00
Michaël Van Canneyt
ab3916b0f8 * Make compression struct accessible to descendants. Fixes issue #40327 2023-06-19 14:27:02 +02:00
Michael VAN CANNEYT
fa735ba7b2 * Refactor, so the combination CPU-OS-SubTarget is a record. Allows for extension if need be 2023-06-19 07:04:50 +00:00
mattias
63bf4dacbf fcl-pdf: fixed example pdfdump 2023-06-15 11:34:57 +02:00
marcoonthegit
f1fcdcfbc3 * Switched from waitformultiple objects to -handles for xp/w7 compat, closes 40297 2023-06-14 14:22:08 +02:00
Michaël Van Canneyt
90b7c8ace7 * PDF internal link objects, example adapted to show possibility. Fixes issue #40318 2023-06-14 08:30:45 +02:00
Pierre Muller
61e53fd42a Rename variable called section to _section to avoid parsing error for morphos OS 2023-06-11 23:30:18 +02:00
Michaël Van Canneyt
0f5c126a45 * Correct filename extensions for qoi. Fixes issue #40314 2023-06-10 22:29:26 +02:00
marcoonthegit
9bfb45dc05 * move ifdefed part from tvitem* to tvitemex*, closes #40312 2023-06-10 16:57:11 +02:00
mattias
add67ca0e3 fcl-web: fixed compile 2023-06-06 15:43:52 +02:00
mattias
7056ec1a87 fcl-web: made TFPCustomHTTPServer.CreateUpgradeHandlerList virtual 2023-06-06 15:09:32 +02:00
Michaël Van Canneyt
1afe0114d4 * Correct name 2023-06-05 14:55:05 +02:00
Michaël Van Canneyt
92eab370c3 * Add some methods for improved DUnit compatibility 2023-06-05 14:41:44 +02:00
Michaël Van Canneyt
21f57606a6 * GetAttribute call 2023-06-05 11:43:07 +02:00
Michaël Van Canneyt
462536ca9b * Forgot to add file 2023-06-02 12:02:10 +02:00
Michaël Van Canneyt
a50be08348 * Reorganize tests in more clear sets 2023-06-01 18:17:41 +02:00
Michaël Van Canneyt
6e324989eb * Delphi compatibility: Add conversion between TValue from/to variant and TVarRec 2023-06-01 17:41:54 +02:00
Michaël Van Canneyt
5ee294f224 * GetExtendedFieldinfo, patch to fix #40300 2023-05-30 14:24:52 +02:00
Michaël Van Canneyt
ba9fc5edca * Fill algorithm for polygon fills. Patch by Werner Pamler. Fixes issue #40286 2023-05-24 00:43:01 +02:00
Michael VAN CANNEYT
b2f2c5671c * Make sure it compiles with previous release 2023-05-23 10:16:07 +02:00
Pierre Muller
a7578e144d Fix compilation for msdos targets 2023-05-22 23:53:48 +02:00
Michaël Van Canneyt
02b6e9143a * Patch from Werner Pamler to implement FillEllipsePattern. Fixes issue #40282 2023-05-22 22:46:43 +02:00
Pierre Muller
8b00faa4eb Remove accidentally added binary file 2023-05-22 13:26:41 +00:00
Pierre Muller
498b8be957 Add symbian target to UItypesOSes 2023-05-22 09:13:14 +00:00
marcoonthegit
b11d526fdf * patch from werne to rename parameters to avoid clashes with extended record rect. fixes 40281 2023-05-22 11:07:42 +02:00
Pierre Muller
53e3f7a5f7 Extend UItypesOSes set 2023-05-22 08:20:10 +00:00
ACTom
c39a9ffad3 Fix the error of Chinese system getting language information under Windows system 2023-05-22 06:53:25 +00:00
Michaël Van Canneyt
a99575b74c * Fix never-ending loop 2023-05-21 21:29:10 +02:00
mattias
e83bb19642 gtk2: fixed PPGdkScreen 2023-05-21 08:50:01 +02:00
Pierre Muller
4927025a2c Do not define HasSignal for aarch64-win64 target 2023-05-20 21:12:22 +00:00
marcoonthegit
b77fec3433 * TTimespan overload. Mostly fixes #37495 2023-05-20 16:40:52 +02:00
marcoonthegit
452ec93f06 * implement waitformultiple for win32 only.
* Change interface to allow for COM waiting + a basic windows implementation. (only for desktop apps? Use msgwait* for the rest?)
2023-05-20 14:37:26 +02:00
mattias
5b4ba67a85 fcl-passrc: started resolver tests for multi errors 2023-05-14 22:28:51 +02:00
mattias
96e89c43b8 fcl-passrc: refactor ParseStatement 2023-05-14 19:51:50 +02:00
mattias
3db1307ddc fcl-passrc: refactor ParseStatement 2023-05-14 19:26:18 +02:00
mattias
944e4087aa fcl-passrc: refactor ParseStatement, split ParseFor 2023-05-14 17:08:30 +02:00
mattias
5b9d738da0 fcl-passrc: refactor ParseStatement, split ParseElse 2023-05-14 16:59:52 +02:00
mattias
3d7481b2f0 fcl-passrc: less hints 2023-05-14 16:59:29 +02:00
mattias
98f1fdda94 fcl-passrc: parsestatements: simplified 2023-05-14 15:34:58 +02:00
mattias
f3c94ccbce fcl-passrc: less hints 2023-05-14 10:01:18 +02:00
Michaël Van Canneyt
b445e679e7 * Add showdeps example to ignore list 2023-05-13 15:15:40 +02:00
Michaël Van Canneyt
4bdf6233c3 * More error recovery: variable (lists) 2023-05-13 15:13:31 +02:00
Michaël Van Canneyt
54a9598084 * Start of error recovery 2023-05-13 12:06:08 +02:00
Michaël Van Canneyt
1750908824 * Fix compilation 2023-05-13 12:06:08 +02:00
mattias
5f757a2313 pastojs: fixed pass non safecall proctype to safecall proc type arg, issue #39261 2023-05-13 11:06:57 +02:00
Henrique Gottardi Werlang
9d7fe32028 The exit code isn't reseted in the pas2js compiler. 2023-05-12 17:54:46 -03:00
mattias
6ec8c9e2a2 passrc: test issue 39216 2023-05-12 22:21:07 +02:00
mattias
d96f9b8059 fcl-passrc: fixed adding specialized type behind array 2023-05-12 22:12:37 +02:00
mattias
12405f9ee4 fcl-passrc: fixed compile 2023-05-12 22:12:18 +02:00
Ondrej Pokorny
af476351f5 TPQConnection.Execute fixes 2023-05-03 08:38:03 +00:00
Ondrej Pokorny
262904b8c1 httpserver: make sure that socket is freed even if StartServerSocket raised an exception 2023-04-29 13:11:53 +00:00
marcoonthegit
ec7f2e6871 * own solution that resolves #40127 :
- attempt to read scanlines through the buffer till it is drained for types 4,5,6
2023-04-28 22:17:50 +02:00
Michaël Van Canneyt
f0f42ca2a2 * Add const for string where possible. Fixes issue #40051 2023-04-26 22:19:53 +02:00
marcoonthegit
8fc5324111 * first set of #40051, up to db.pp
* reverted change to a virtual method.

* second batch up to sqlscript

* up to sqldblib, skipping dbase/ (which is shortstring based)
2023-04-26 17:30:00 +02:00
marcoonthegit
a74bee2cb1 * some string parameters made const in fppdf units.
Resolves #40044 by Alexey T.

 Note that AddIntArray was not changed, the variable is changed inside the method
2023-04-26 16:38:22 +02:00
Michaël Van Canneyt
ce44efdae3 * Use const string where possible. Fix issue #40047 2023-04-26 12:06:31 +02:00
Michaël Van Canneyt
75256399b8 * Some nested loop improvements. fixes issue #40250 2023-04-25 08:39:20 +02:00
Michaël Van Canneyt
5da20fc860 * Some nested loop improvements. fixes issue #40250 2023-04-25 08:36:33 +02:00
marcoonthegit
4d0b397029 * more loopvar sorting by Lagwaggon. 2023-04-23 15:54:06 +02:00
marcoonthegit
facf28fb29 * fix from Werner P. Setter for clipregion to fix memory leak.
resolves #40232
2023-04-23 11:24:01 +02:00
Rika Ichinose
c88751a610 Re-enable QSort killer O(N²) detection, make it deterministic and instant, and make the killer itself universal. 2023-04-19 18:23:14 +00:00
Michaël Van Canneyt
3a4b494bf1 * No need to check standalone if no tag 2023-04-17 11:06:01 +02:00
marcoonthegit
322e8ca7e3 * fix #40242 by inverting some more x and y loops 2023-04-14 16:39:54 +02:00
Michaël Van Canneyt
3b58e18065 * Fix from Bart for range check error. Fix issue #40240 2023-04-13 21:18:51 +02:00
marcoonthegit
5e47b4a7b9 * switch loops in TFPCustomCanvas.Erase closes #40246 2023-04-11 11:16:37 +02:00
mattias
6fe22044e7 fcl-css: ECSSException, resolver log warnings 2023-04-07 15:55:01 +02:00
mattias
b6fec2c97e fcl-css: equals 2023-04-07 14:51:19 +02:00
mattias
c0f9878e2f fcl-web: fixed av on logging TFPHTTPConnection.DoHandleRequest 2023-04-03 11:46:26 +02:00
mattias
8bb8e5716e fcl-web: comment 2023-04-03 10:52:18 +02:00
mattias
854d110894 fcl-base: TAVLTree: do not use LazNodeMemManager by default for thread safety 2023-04-02 21:17:49 +02:00
mattias
342f9c58cd fcl-base: TAVLTree.FreeAndClear: clear Root while freeing to avoid accidental access 2023-04-02 21:14:44 +02:00
Michael Van Canneyt
5ec1ab2164 * Convert to HTTP app 2023-04-01 15:16:02 +02:00
Michael Van Canneyt
acdde37429 * Logging demo 2023-04-01 15:16:02 +02:00
Michael Van Canneyt
3d08253192 * JSON-RPC 2.0 allows params to be optional 2023-03-31 20:33:32 +02:00
Michael Van Canneyt
f2696ef1c8 * Add HTTP logging mechanism 2023-03-31 19:14:05 +02:00
Michael Van Canneyt
652f54fe31 * Some changes suggested by Edgar Fernando 2023-03-31 19:13:45 +02:00
Sven/Sarah Barth
db66d8f057 * ensure that _LookupVtableInfoEx isn't called with a type that needs special handling as we can't (or won't) really cover that using some generic RTTI handling 2023-03-28 23:14:42 +02:00
Sven/Sarah Barth
939f7345ac * essentially undo 4823ca7114 as comparers that need now use a suitable class implementation directly 2023-03-28 23:14:42 +02:00
Sven/Sarah Barth
073a6e91e6 * use the explicit implementations of the I*Comparer<> interfaces for types like records and objects; fixes #40074 and #40077 on systems using the Sys V ABI 2023-03-28 23:14:42 +02:00
Sven/Sarah Barth
2a8665ef94 + introduce explicit implementations for the IComparer<>, IEqualityComparer<> and IExtendedEqualityComparer<> interfaces for types that should be compared using binary comparison (e.g. records, objects, etc) 2023-03-28 23:14:42 +02:00
Dmytro Bogatskyy
327aac7f24 Add aarch64-iphonesim target 2023-03-27 18:45:00 +00:00
Pierre Muller
4ed8182c75 Fix interactive information log error 2023-03-20 14:51:18 +01:00
Michaël Van Canneyt
a35f66a730 * Add support for select query parameters 2023-03-19 15:22:53 +01:00
Michaël Van Canneyt
1da1a67369 * Port in small letters, postgres requires lowercase port setting 2023-03-19 15:22:53 +01:00
Marcus Sackrow
42e202f791 Arosunits: rexx unit added 2023-03-19 11:43:38 +01:00
florian
5fe8fbd43a * take care of mips64* when calling gcc for the libgcc path 2023-03-16 22:25:03 +01:00
Mikhail Novosyolov
7d31e25ba6 Fix messages about not found gcc
Code actually looks for the gcc executable inside $PATH, not for libgcc.
fpc works without the libgcc.so devel symlink.
2023-03-16 19:38:23 +03:00
Michaël Van Canneyt
9acf192141 * Add possibility to read updated data 2023-03-14 22:19:17 +01:00
Michaël Van Canneyt
8dcabc5796 * Fix default classname property 2023-03-07 13:48:40 +01:00
mattias
d383f6102d fcl-hash: fixed HOTPCalculateToken on non utf8 platform 2023-03-07 10:52:52 +01:00
mattias
bfa3e156d2 fcl-hash: fixed start without params, show config filename 2023-03-07 10:25:48 +01:00
mattias
93816c379b fcl-hash: fixed start without params, show config filename 2023-03-07 10:10:18 +01:00
Sven/Sarah Barth
4823ca7114 * fix #40074: adjust Generics.Defaults to make use of the new ConstParamIsRef<> utility function to correctly determine how a generic binary parameter needs to be compared 2023-03-06 23:24:36 +01:00
Sven/Sarah Barth
b0e9b9d705 * don't use size specific binary comparers 2023-03-06 23:24:36 +01:00
mattias
3cec86390a fcl-js: fixed writing small floats 2023-03-03 23:20:29 +01:00
mattias
acb1e59862 pastojs: allow readonly modeswitch functionreferences and anonymousfunctions 2023-03-03 23:20:29 +01:00
florian
1fad287896 * patch by Werner Pamler: Typo in TFPCustomCanvas.Draw, resolves #40176 2023-03-03 21:45:35 +01:00
Michalis Kamburelis
905c485ff4 Fix glDebugMessageXxx to use extdecl 2023-02-22 00:49:07 +00:00
Michaël Van Canneyt
e4ad313f8b * Better transaction handling, improved ranking mechanism speed 2023-02-18 09:48:54 +01:00
mattias
11cf24891d fcl-web: moved OnLog from TSimpleFileModule to TFPCustomFileModule 2023-02-15 00:52:42 +01:00
mattias
2780b5f830 fcl-web: updated lpi 2023-02-14 22:40:51 +01:00
mattias
b292e19862 fcl-web: simpleserver: fixed parsing config file 2023-02-14 22:40:24 +01:00
mattias
21897ff46c fcl-web: gitignore for linux 2023-02-14 22:39:05 +01:00
Michaël Van Canneyt
910fc7215d * Added additional constants for enumerated, fix build 2023-02-08 15:48:35 +01:00
Michaël Van Canneyt
047e360538 * Improvements so whole RTL can be parsed 2023-02-08 15:22:34 +01:00
Michaël Van Canneyt
08f396f64e * Additional modifiers 2023-02-08 15:22:34 +01:00
Pierre Muller
7ec5e24541 Add missing FILE_ATTRIBUTE_XXX constants as found in WinCE 5.0 headers (only FILE_ATTRIBUTE_DEVICE is not defined) 2023-02-08 12:44:30 +00:00
Pierre Muller
c29018d0ac Fix compilation of system.ioutils unit for wince system 2023-02-07 22:35:26 +00:00
Michaël Van Canneyt
9a08966d77 * Removed debug define 2023-02-06 09:47:02 +01:00
Jinyang He
783bbb66f9 Update Makefiles 2023-02-05 19:18:48 +00:00
Jinyang He
7cde8df8c7 Add loongarch64 packages support 2023-02-05 19:18:48 +00:00
Michaël Van Canneyt
d07e34297f * Fix interlockedincrement 2023-02-05 12:53:14 +01:00
Michaël Van Canneyt
2619e6b870 * Fix compiler warning 2023-02-05 11:59:06 +01:00
Michaël Van Canneyt
cb0ed2b6f0 * Correct params checking in case of array 2023-02-05 11:35:31 +01:00
Michaël Van Canneyt
6e5c5f599e * Completion of put/patch split 2023-02-05 11:35:31 +01:00
Michaël Van Canneyt
e84e0a16e1 * Different PUT/PATCH. Allow legacy PUT 2023-02-04 14:16:58 +01:00
Michaël Van Canneyt
15b49f4609 * Fix compiler warning 2023-02-04 13:09:33 +01:00
Michaël Van Canneyt
eaf665e8c4 * Fix some compiler warnings 2023-02-04 13:04:39 +01:00
Michaël Van Canneyt
1d9a17377d * Fix compiler warning 2023-02-04 13:03:36 +01:00
Michaël Van Canneyt
a33bd31734 * Remove baseunix 2023-02-04 12:55:04 +01:00
Michaël Van Canneyt
869496b9e2 * Allow to set LogEvents on created connections 2023-02-04 11:13:43 +01:00
Michaël Van Canneyt
9c0a59b069 * 32/64 bit, handle ExecPrepared result correctly 2023-02-04 11:11:44 +01:00
Michaël Van Canneyt
e01da2408f * Limit webdata/sqldbrest to platforms that support sqldb 2023-02-01 09:28:08 +01:00
Michaël Van Canneyt
03266e9057 * Fix copy & paste error 2023-01-31 19:42:29 +01:00
Michaël Van Canneyt
a9d38fd758 * Do not compile sqldbpool on uses that do not support sqldb 2023-01-31 19:08:24 +01:00
Michaël Van Canneyt
c5af4c420e * Hopefully fixed GetFileStamps/FileGetDateTimeInfo 2023-01-31 19:05:48 +01:00
Marcus Sackrow
9db751daff fcl-db: removed sqldbpool for atari, because no threading and no syncobjs 2023-01-30 18:03:05 +01:00
Michaël Van Canneyt
bdf5343770 ID only 32 bit 2023-01-30 10:45:52 +01:00
Michaël Van Canneyt
01d3af48a1 * Fix compilation on non-unix. fix issue #40132 2023-01-30 10:39:52 +01:00
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
Sven/Sarah Barth
43f4904d74 Revert commit 663ee7bc20 as it's simply not allowed to set an object instance value twice no matter if it's the same object instance or not. 2022-12-23 14:56:56 +01:00
Ondrej Pokorny
d9f05d341d fix TAnchorKind definition 2022-12-22 14:00:02 +00:00
Ondrej Pokorny
72fd08df03 UITypes: fix SizeOf() of sets for LCL compatibility 2022-12-22 14:00:02 +00:00
Michaël Van Canneyt
310db2ce92 * Add const to string args where possible. Fix issue #40050 2022-12-20 15:45:02 +01:00
Michaël Van Canneyt
e174738121 * Some missing consts 2022-12-20 15:21:17 +01:00
Michaël Van Canneyt
ade9ac865e * Add const to string args where possible. Fix issue #40049 2022-12-20 15:18:47 +01:00
Michaël Van Canneyt
fbe1db32ab * Remove debug statement 2022-12-20 15:01:30 +01:00
Michaël Van Canneyt
125dc64b1e * Add const to string args where possible. Fix issue #40048 2022-12-20 15:00:35 +01:00
Michaël Van Canneyt
c34eedb9cf * Free cached queries when committing 2022-12-20 14:53:52 +01:00
Michael Van Canneyt
3c2ab09a48 * Use const string where possible. Fix issue #40052 2022-12-20 00:49:45 +01:00
Michael Van Canneyt
817ec09ec0 * Add const to string params where possible. Fix issue #40053 2022-12-20 00:37:18 +01:00
Andrew Haines
bc17da25e1 fphttpclient allow to override supported protocols from url 2022-12-18 16:53:40 -05:00
Michaël Van Canneyt
ca97f25979 * Simple examples for reading 2022-12-18 12:57:15 +01:00
Michaël Van Canneyt
bd4b3af8b6 * Type helper for easier loading 2022-12-18 12:57:15 +01:00
Michaël Van Canneyt
394a4ba6a0 * Remove debug define 2022-12-17 17:19:04 +01:00
Michaël Van Canneyt
4e5eaaf52e * Fix GetFulltext when unicodemap is nil 2022-12-17 17:18:45 +01:00
Michaël Van Canneyt
5e996d8390 * Fix compilation 2022-12-17 17:13:33 +01:00
Michaël Van Canneyt
bdcfbca0b1 * Patch by Alexey Torgashin to make identifiers more distinguished 2022-12-17 16:19:18 +01:00
Michaël Van Canneyt
1b4616c22d * Pages -> page 2022-12-17 16:06:51 +01:00
Michaël Van Canneyt
024ab7b26f * Fix some warnings, add enumerators 2022-12-17 16:06:51 +01:00
Ondrej Pokorny
d1616cb0d1 Extend System.UITypes 2022-12-17 12:06:52 +00:00
Michaël Van Canneyt
6e7869bea0 * PDF reader, initial implementation 2022-12-16 20:22:16 +01:00
Michaël Van Canneyt
a5eba4b14f * Revert merge 2022-12-16 19:11:24 +01:00
Ondrej Pokorny
af4578f8ca fix whitespace 2022-12-16 15:11:54 +00:00
Ondrej Pokorny
2fc71285f4 async pool: procedure references simpler 2022-12-16 15:11:54 +00:00
Ondrej Pokorny
9e5cdc2abe Revert recent changes 2022-12-16 15:11:54 +00:00
Michaël Van Canneyt
9cceb41c04 * Some improvements by Rolf Wetjen 2022-12-15 11:56:51 +01:00
florian
e1bbcf7050 * patch by ab: Optimized default hash asm in generics.hashes, resolves #40035
* generic.hashes now uses the cpu unit to detect crc32 cpu support
2022-12-14 21:57:14 +01:00
Michaël Van Canneyt
3b1220e323 * Fix wong extension for fpcssresolver.pas 2022-12-14 17:20:04 +01:00
Michaël Van Canneyt
3eab1c1c02 * Fix loglevel for ListMode 2022-12-14 17:16:55 +01:00
Michael VAN CANNEYT
4b5c7ab0f5 * Fix compiler warnings: switch to TStrings for external command options 2022-12-14 15:17:49 +01:00
Michael VAN CANNEYT
7762897d32 * Fix some compiler warnings 2022-12-14 15:16:58 +01:00
Michael VAN CANNEYT
929b6ff18b * Fix some compiler warnings 2022-12-14 15:16:26 +01:00
Michael VAN CANNEYT
6605248b2d * Fix some compiler warnings 2022-12-14 15:16:06 +01:00
Michael VAN CANNEYT
59807472aa * Fix some compiler warnings 2022-12-14 15:15:53 +01:00
Luiz Américo Pereira Câmara
44a2d4a1eb fcl-json: add support to create JSONObject with QWord values 2022-12-12 21:03:54 -03:00
marcoonthegit
3b4c396edd * fix for issue #40006
set jwadhcpcsdk packing to 8 for win64.
2022-12-11 21:36:39 +01:00
J. Gareth "Curious Kit" Moreton
663ee7bc20 * Fix to TObjectOpenAddressingLP in generics.collections where SetValue
would free the object if the current value is the same as the new value
    (fixes #40024)
2022-12-09 01:43:37 +00:00
Ondrej Pokorny
b787203db7 webidl: add Document/DocumentFragment/Node types 2022-12-08 11:50:14 +01:00
florian
aff133cac2 * disable timing check as it causes too much false negatives on machines under load 2022-12-01 22:56:42 +01:00
florian
74bef61b99 * try to improve result stability by longer runtime 2022-11-25 23:11:11 +01:00
Michaël Van Canneyt
9cbcd399b1 * Accept I option 2022-11-23 21:50:31 +01:00
Michaël Van Canneyt
5288194d3c * Simulate position 2022-11-23 21:50:03 +01:00
Michaël Van Canneyt
dbd87a3cfc * More specific constant names 2022-11-23 19:12:07 +01:00
Michaël Van Canneyt
68b092a466 * LZW stream based on implementation in fpreadtiff 2022-11-23 16:48:43 +01:00
Michaël Van Canneyt
00dc793097 * Some improvements as proposed by Alexey Torgashin 2022-11-23 12:55:14 +01:00
Ondrej Pokorny
d9f5c47d2a fix broken JPEG loading. Issue #40001 2022-11-23 10:27:40 +01:00
Michaël Van Canneyt
d338206814 * Version number for compatibility with lazarus webserver 2022-11-23 09:02:17 +01:00
Michaël Van Canneyt
a1fae7a767 * Chained stream implementation 2022-11-23 09:02:17 +01:00
Marcus Sackrow
94368d06ee Amiga: Bugfix for Tagged Version of OpenWindow at WB1.2/1.3 2022-11-14 17:55:56 +01:00
Michaël Van Canneyt
9cda1666a6 * Modifier for allowed schemas 2022-11-13 23:46:59 +01:00
Michaël Van Canneyt
d38c3f8073 * Fix loading schemas 2022-11-13 23:46:59 +01:00
Michaël Van Canneyt
71f8893366 * Allow to specify DB connection params on command-line 2022-11-13 23:46:59 +01:00
Michaël Van Canneyt
9145565895 * Some extra published properties. Fix issue #39994 2022-11-13 23:46:59 +01:00
mattias
9b58545fb7 fcl-css: comments and warnings 2022-11-13 12:39:19 +01:00
florian
1853e94b98 * attempt to fix #39900 2022-11-12 22:08:21 +01:00