Commit Graph

65019 Commits

Author SHA1 Message Date
J. Gareth "Curious Kit" Moreton
1fd2d3a83d * x86: Improved TrySwapMovCmp to insert before
the FLAGS register is allocated.
2022-04-27 20:46:32 +00:00
J. Gareth "Curious Kit" Moreton
6f24c8b4ef * x86: Code generation fixes where FLAGS
register is not properly allocated.
2022-04-27 20:46:32 +00:00
mattias
b8a8068dce fcl-hash: added fprsa 2022-04-27 18:23:21 +02:00
mattias
ca9ea2be61 fcl-hash: added ASNFetch 2022-04-27 18:11:21 +02:00
mattias
86af4b8cd8 fcl-hash: added HexStrToString 2022-04-27 18:11:21 +02:00
marcoonthegit
7631dfb563 * Use memorystream as a kind of tstringbuilder for json escaping(StringToJSONString), fixes bug #39525 2022-04-27 17:10:59 +02:00
marcoonthegit
dcb3906741 * typo fix in last commit. 2022-04-27 16:47:15 +02:00
marcoonthegit
b42bc966ac * fix bit setting macros in windows unit. Should fix bug #39272.
(bit setting only allowed setting bits to one, not zero, and not added).
2022-04-27 15:21:15 +02:00
Ondrej Pokorny
fefb13da3b odbc: fix long string parameter bindings 2022-04-27 12:46:51 +00:00
Michaël Van Canneyt
96c6045023 * Patch from Alexey Torgashin for unquotechar issue 266. Fix issue #39696 2022-04-27 11:50:58 +02:00
Michaël Van Canneyt
ac95c20c5a * Add examples for syshelpers from Zeljko Avramovic. Fix issue #39541 2022-04-27 11:45:43 +02:00
Michaël Van Canneyt
a2a9db1e06 * Sync stored specifier names 2022-04-27 10:00:36 +02:00
Michaël Van Canneyt
045b938dfa * Add storage specifier for params 2022-04-26 17:48:03 +02:00
mattias
78fba07415 fcl-web: gitignore 2022-04-26 15:27:36 +02:00
mattias
3c5ad4eadf fcl-web: updated lpi 2022-04-26 15:27:36 +02:00
mattias
bf2d0853b6 fcl-web: fixed compile tcjwt 2022-04-26 15:27:36 +02:00
mattias
c2e9642b27 fcl-hash: gitignore testhash 2022-04-26 15:27:36 +02:00
marcoonthegit
d309b77b59 * header added remaining files for bug #39481 2022-04-26 14:49:05 +02:00
marcoonthegit
476a4f0f91 * fix headers other packages up to (but not including) fcl-res (which are generated files) bug #39481 2022-04-26 11:17:54 +02:00
marcoonthegit
afcf3e5201 * Added headers (bug #39481) for fcl-db. 2022-04-26 11:17:54 +02:00
florian
33eef1f9b1 * AVR: moved MovMov2Movw optimization into pass2 as it might prevent other optimizations 2022-04-25 22:18:37 +02:00
marcoonthegit
c203097ec2 * add overload to getenvironmentvariable so that it is also found when windows is before sysutils in the uses list. bug #39448 2022-04-25 14:07:57 +02:00
florian
9695dba4d9 * AVR: fix TCpuAsmOptimizer.InstructionLoadsFromReg for MOVW
* simplify code for MovMov2Movw optimization
2022-04-24 22:42:09 +02:00
florian
49edb0b606 * AVR: fix TAoptBaseCpu.RegModifiedByInstruction, resolves #39623 2022-04-24 22:41:10 +02:00
florian
e87c52d7dc * otherwise => else 2022-04-24 22:40:07 +02:00
florian
fc6d558727 * compile always with -CX -XX for Z80 2022-04-24 21:38:41 +02:00
J. Gareth "Curious Kit" Moreton
bdd26766ed * Changed -1 to $FFFFFFFF on DWord writes to suppress range check errors 2022-04-24 16:57:43 +00:00
J. Gareth "Curious Kit" Moreton
f62ffa74dc * x86: Changed the names of temporary register
stores in OptPass1MOV for reasons of clarity,
    and other minor optimisations.
2022-04-24 16:42:35 +00:00
J. Gareth "Curious Kit" Moreton
627fb9a25b * x86: New jump/label tracking in CrossJump optimisations 2022-04-24 16:42:35 +00:00
florian
3fac399683 * more precise test as suggested here: 876ae56158 (note_921869640) 2022-04-24 14:41:06 +02:00
florian
876ae56158 * patch by Rika: fix for ... in iterator for TMap and TSet, resolves #39354 2022-04-23 21:51:26 +02:00
marcoonthegit
616538c251 * Improve Delphi compatibility of TEvent(object) constructors, while keeping also backwards compat by adding default parameters. 2022-04-23 17:56:19 +02:00
Sven/Sarah Barth
74f9523806 * in case of an implicit specialization ensure that the symbol of the generic is indeed considered as used once the final implicit specialization has been picked
+ added test
2022-04-23 16:29:13 +02:00
Sven/Sarah Barth
e0e8620ded * use a single if-condition for both check_hints and addsymref 2022-04-23 16:29:13 +02:00
florian
6556d18bed * better fix for #39634 which avoids breaking existing code 2022-04-22 22:08:46 +02:00
Sven/Sarah Barth
97c16401f7 + add test for already fixed #39677 2022-04-22 10:40:58 +02:00
Sven/Sarah Barth
22a4cc66ec * fix #39675: consider the symbols for unnamed parameters as used so that there won't be unnecessary hints about them
+ added test
2022-04-22 10:40:58 +02:00
Sven/Sarah Barth
76753438ed * fix #39681: also handle the result type of a specialized procvar when checking for a possible implicit specialization
+ added test
2022-04-22 10:40:58 +02:00
Sven/Sarah Barth
c0fa45dc92 * a function can't be used to implicitely specialize a specialized procedure variable parameter and vice versa
+ added test
2022-04-22 10:40:58 +02:00
Sven/Sarah Barth
a5f3040da5 * the index of the generic type parameter is not the same index of the paras list
+ added test
2022-04-22 10:40:58 +02:00
Sven/Sarah Barth
66bac7c415 * fix #39679 and fix #39680: for implicit specializations a parameter used in a call might also inherit in some depth from a specialization used as parameter type
+ added tests
2022-04-22 10:40:58 +02:00
Sven/Sarah Barth
4053d59a2c * fix #39673: also resolve the dummy symbol in case this isn't a reuse of the current generic's name
+ added test
2022-04-22 10:40:58 +02:00
Sven/Sarah Barth
98a942a37e * move handling of a dummy symbol (mainly either resolving it or generating a suitable error) inside single_type to a nested function as the same code is used multiple times 2022-04-22 10:40:58 +02:00
mattias
ee7cbb61a0 fcl-passrc: resolver: fixed call generic function with anonymous specialize function type 2022-04-21 23:08:19 +02:00
florian
559fcdf736 * forbid cyclic pointer definitions, resolves #39634 2022-04-21 20:03:05 +02:00
Sven/Sarah Barth
b1d9d34665 * only abort due to a missing overload directive if there indeed was any procdef found (due to implicit specializations there might be none), fixes compilation of tests webtbs/tw38310b and webtbs/tw38310c 2022-04-21 18:01:30 +02:00
Bi0T1N
59672a6982 Add support for OpenSSL 3.0 2022-04-21 09:02:31 +00:00
florian
02289d1f5b + fold "a shl n1 shl n2" and "a shr n1 shr n2" into "a shl (n1+n2)" and "a shr (n1+n2)", resolves #39629 2022-04-20 22:16:32 +02:00
Ondrej Pokorny
adb264a711 db odbcconn: error messages received through SQLGetDiagRec are ANSI - convert them to CP_ACP 2022-04-20 18:35:03 +00:00
Sven/Sarah Barth
90844c2027 * fix #35261: apply slightly adjusted changes by Ryan Joseph to implement support for implicit generic function specializations
The main adjustments were as follows:
  - fixing coding style and identation
  - fixing some typos
  - using a better name for the property in tcallcandidates which holds the symbols created for anonymous parameter values
2022-04-20 18:59:31 +02:00