Commit Graph

72012 Commits

Author SHA1 Message Date
Pierre Muller
e42b16beb4 Disable assembly code in hash sha1 and fcl-hash fpsha256 units if -dOLD_ASSEMBLER compiler option is used 2025-05-19 16:27:26 +00:00
Rika Ichinose
2594c8c4bf fpjson.pp adjustments: 37.5% growth, remove unused NCachedIndents, de-unoptimize potentially usable IndentSize = 0. 2025-05-19 17:45:50 +03:00
Pierre Muller
1527c578bf Always return allocated size in TraceFreeMemSize 2025-05-19 11:58:16 +00:00
Rika Ichinose
463a14e295 RbTree.ChangeInPlace for cheaper reinsertions. 2025-05-19 09:58:17 +00:00
Rika Ichinose
a8baa49c86 Use red-black trees for variable freelists. 2025-05-19 09:58:17 +00:00
Pierre Muller
ecdea22992 Add explicit disabling of range check to test to avoid failure depending on global make variable TEST_OPT 2025-05-19 03:54:32 +00:00
Pierre Muller
95f8a78f90 Fix provided by Runewalsh to fix PIC error for i386 code inside SHA1Transform_Sha1Asm 2025-05-18 19:46:28 +00:00
Pierre Muller
49665f88a5 Fix line ending in file packages/hash/src/sha1x86.inc 2025-05-18 19:46:28 +00:00
Rika Ichinose
9658da7b2e Faster FormatJSON. 2025-05-18 21:06:23 +03:00
Michaël Van Canneyt
e4fcde8920 * Fix for THashSha2.GetHMACAsBytes by Zhan Wang. Fixes issue #41263 2025-05-18 13:44:04 +02:00
Michaël Van Canneyt
b590ad70d8 * Make tscoped.assign the less expensive operation 2025-05-18 13:44:04 +02:00
J. Gareth "Curious Kit" Moreton
0c00e3ae13 * Replaced impossible-to-reach errors in case blocks with internal errors in "texprvalue.evaluate" 2025-05-17 21:32:05 +02:00
J. Gareth "Curious Kit" Moreton
b49d2f689f * Replaced Illegal Expression error with Internal Error for
"getaddsub_for_incdec" since it should never logically reach this point
2025-05-17 21:32:05 +02:00
J. Gareth "Curious Kit" Moreton
5ffdfdd04f * Specify that an integer expression was expected for inline constant simplification routines 2025-05-17 21:32:05 +02:00
J. Gareth "Curious Kit" Moreton
95993ea7a4 * Str returns a nicer error (and corrects the position) if a non-ordinal type is passed into it 2025-05-17 21:32:05 +02:00
Margers
1a1ca72067 Fix namespace unit case. 2025-05-17 21:27:17 +02:00
Margers
826aabe99d Write sha1 of one million "a" symbols. 2025-05-17 21:27:17 +02:00
Margers
1e1cc16569 Asm sha1 comply with win64 ABI. 2025-05-17 21:27:17 +02:00
Margers
a4cf7ff6e4 Cosmetic update for sha1performancetest. 2025-05-17 21:27:17 +02:00
Margers
632ecfda9e Update fpmake for hash package. 2025-05-17 21:27:17 +02:00
Margers
36b59feeac Sha1 asm version using x86 SHA instructions set. 2025-05-17 21:27:17 +02:00
florian
de46b06f27 * fix 32 bit => 64 bit cross compilation, resolves #41626 2025-05-17 21:21:20 +02:00
florian
9bcb1b6f21 + range check assignments of constant sets, resolves #41132 2025-05-17 10:11:58 +02:00
Pierre Muller
ed1bbfc950 Allow compilation of rtl for i386-openbsd target with -dOLD_ASSEMBLER 2025-05-16 21:26:32 +00:00
Pierre Muller
0610d691b6 Avoid adding size if tf_needs_symbol_size is not in target_info.flags 2025-05-16 21:13:19 +00:00
Pierre Muller
4aaf65e9f8 Ensure that real constant put into rodata also get a end symbol to generate .size directive (required at least by llvm-mc-16 for wasm32 compiler) 2025-05-16 21:13:19 +00:00
Pierre Muller
08b7d2ffdb Discard ait_symbol_end if tai_symbol_end(hp).sym.is_used is false 2025-05-16 21:13:19 +00:00
Michaël Van Canneyt
86ac47508e * Gradient implementation, by Werner Pamler. Fixes issue #41257 2025-05-15 08:57:02 +02:00
Michaël Van Canneyt
3c5b049f6b * LLVM workaround 2025-05-14 08:47:14 +02:00
Pierre Muller
4ee4e9ae1e Fix failure in ppudump after 5462dd38
+ Handle new SetLow PPU field of TSetDef
2025-05-14 06:53:10 +02:00
florian
5462dd388b * store lower set bound in a setdef 2025-05-13 22:56:09 +02:00
Michaël Van Canneyt
1bbce99395 * TLockGuard, based on an idea by Loïc Touraine 2025-05-13 16:05:43 +02:00
Michaël Van Canneyt
fa7636ab66 * Fix possible infinite loop in TDirectory.IsEmpty. Fixes issue #41255 2025-05-13 14:22:13 +02:00
Michaël Van Canneyt
3df8de1994 * Make FreeAndNil type safe 2025-05-13 14:11:36 +02:00
Michaël Van Canneyt
1f232684e0 * Save run params in session file 2025-05-13 09:05:35 +02:00
Michaël Van Canneyt
63b57ea842 * Interfaces not always assigned 2025-05-13 09:05:10 +02:00
Yuri Serebrennikov
aa182cb147 The EHTTPClient class now implements an overloaded constructor that accepts both an error message and an associated HTTP status code, enabling retrieval of the HTTP error code when an exception occurs. 2025-05-13 02:04:51 +03:00
Rika Ichinose
37a7474471 Call custom MemoryManager.DoneThread before FinalizeHeap. 2025-05-12 21:57:50 +02:00
Michaël Van Canneyt
9a7a8f0d5c * Capitalize TScoped.Assign 2025-05-12 20:06:50 +02:00
Michaël Van Canneyt
e2d58b8b94 * add TScoped for auto-destroying classes, based on an idea of Loïc Touraine 2025-05-12 11:29:49 +02:00
florian
7d0ef33766 * avoid to call a_loadmm_reg_intreg for mm registers larger than the int registers, resolves #41252 2025-05-11 15:41:11 +02:00
Alligator-1
ad88310e5b Removing forgotten dead code 2025-05-09 02:10:53 +05:00
Pierre Muller
bab854df2f Add .section .note.GNU-stack,,@progbits to all .as files for FreeBSD OS 2025-05-08 20:56:41 +00:00
J. Gareth "Curious Kit" Moreton
c3b358d25b * x86-64: Fixed minor inaccuracy with "Exp" function at extreme values 2025-05-08 18:51:11 +01:00
Pierre Muller
8e6a4053e3 Add types unit as a dependency of macpas unit to avoid troubles when compiling rtl with make in parallel 2025-05-08 01:06:54 +00:00
Pierre Muller
5dcaabc91a Add ALL_EXEEXT Makefile variable to be able to clean cross-compiled executables 2025-05-07 20:57:19 +00:00
Pierre Muller
9dc3169e38 Regenerate fpcmake.inc after: Add symbol_order*.fpc pattern, used for Darwin targets, to clean rules 2025-05-07 20:57:19 +00:00
Pierre Muller
47f10ae336 Add symbol_order*.fpc pattern, used for Darwin targets, to clean rules 2025-05-07 20:57:19 +00:00
Michael Van Canneyt
17f7e9f578 Revert "Fix resource (handle) leak when connection or database selection fails using MySQL connection"
This reverts commit f2e4227fc2
2025-05-07 07:24:29 +00:00
J. Gareth "Curious Kit" Moreton
f8f7867198 * New test verifying that Internal Error 2013032603 no longer occurs for "Str" 2025-05-06 16:12:59 +01:00