Commit Graph

64983 Commits

Author SHA1 Message Date
mattias
216c848075 fcl-hash: use randomize 2022-04-29 02:18:42 +02:00
mattias
6bf0de0ba2 fcl-hash: use RDTSCP on i386 and x86-64 2022-04-29 01:07:59 +02:00
mattias
0a44e3192d fcl-hash: test rsa encrypt/decrypt 2022-04-29 00:35:08 +02:00
mattias
8639593574 fcl-hash: rsa encrypt: fixed using non zero padding bytes 2022-04-29 00:18:24 +02:00
mattias
864b2ad3f3 fcl-hash: fixed freeing TBigIntContext.BIRadix and migrated to mode objfpc 2022-04-28 23:10:13 +02:00
mattias
67905957cb fcl-hash: fixed HexStrToBytes 2022-04-28 23:10:13 +02:00
mattias
606f27563e fcl-hash: fixed ASNParse_GetIntBytes for ASNSize<8 2022-04-28 23:10:13 +02:00
florian
1dd23696e3 * cleanup 2022-04-28 22:51:11 +02:00
mattias
c43579a325 fcl-hash: asn check boundary, added rsa private/public key parse functions 2022-04-28 19:28:28 +02:00
mattias
7664b32e5f fcl-hash: added rsa test 2022-04-28 19:26:02 +02:00
Sergey Larin
60c967f255 Optimized the comparison of a widestring variable with '' 2022-04-27 21:12:47 +00:00
Sergey Larin
35db2b2da3 Fixed optimization Length(W)=0 -> (Pointer(W)=nil) or (PLongword(Pointer(W)-4)^=0) for WideString 2022-04-27 21:12:47 +00:00
florian
7b39089d4f * updated 2022-04-27 22:57:43 +02:00
J. Gareth "Curious Kit" Moreton
62d5ddffb8 * x86: Improvement to CMP/JE/CMP/@Lbl/SETE ->
CMP/SETE/CMP/SETE/OR optimisation to reduce
    pass counts (and work better with improved
    FLAGS register allocation).
2022-04-27 20:46:32 +00:00
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