Commit Graph

62650 Commits

Author SHA1 Message Date
michael
affefb6ce0 * Fix issue ID #36822. Total was being misused in check
git-svn-id: trunk@49421 -
2021-05-31 20:07:18 +00:00
nickysn
99f33824a7 * patch from Alfred for setting source_cpu_string for the wasm32 platform
git-svn-id: trunk@49420 -
2021-05-31 19:33:03 +00:00
nickysn
ea5ffd597f * set self to nil in current_module.deflist for registered defs in the
tstoreddef.destroy destructor, instead of doing it after each call to
  x.owner.deletedef(x)

git-svn-id: trunk@49417 -
2021-05-30 21:27:57 +00:00
nickysn
93fea6de3a + enabled compilation of unit SysUtils for the WASI target. Note that WASI
snapshot building fails, when compiler is built with -CR, because of a
  use-after-free bug in the compiler, related to generics. A fix for this bug
  is currently being worked on.

git-svn-id: trunk@49416 -
2021-05-30 20:52:21 +00:00
florian
5e3efa4455 * Aarch64: apply OptPass1Data to CSEL as well
git-svn-id: trunk@49414 -
2021-05-30 18:08:37 +00:00
marco
9bc8f17f16 * implemented LeftPromotion to fmtbcd to fix mantis 38496 but unfortunately FPC doesn't call it.
git-svn-id: trunk@49413 -
2021-05-30 13:00:00 +00:00
pierre
0ed69fc662 Fix compilation with 3.2.2 release for arm and i386 CPUs
git-svn-id: trunk@49411 -
2021-05-29 21:25:16 +00:00
joost
8cdbf5887b * test for r49387
git-svn-id: trunk@49410 -
2021-05-29 11:30:54 +00:00
joost
1e3de5db58 * Parse the contenttype according to rfc1341 also for non-streaming
processing

git-svn-id: trunk@49409 -
2021-05-29 11:17:54 +00:00
joost
52813c8965 * Fixed mime-multipart processing for solutions that do
not support chunked processing of content. (like CGI)

git-svn-id: trunk@49408 -
2021-05-29 10:57:51 +00:00
florian
0a3efb6702 + test for already fixed #26016
git-svn-id: trunk@49407 -
2021-05-29 10:05:54 +00:00
nickysn
d5a0dd3d25 * prevent a range check error in TFPList.IndexOfItem when searching backwards in
an empty list and the compiler is compiled with range checking turned on

git-svn-id: trunk@49406 -
2021-05-28 21:59:57 +00:00
florian
f2e0af6d37 * check used registers properly for SETcc/TEST/Jcc -> Jcc, resolves #38940
git-svn-id: trunk@49405 -
2021-05-28 21:23:09 +00:00
florian
30df955001 * the MovOpMov2Op optimization needs to take care of the second operand, should resolve #38359
git-svn-id: trunk@49404 -
2021-05-27 21:13:23 +00:00
svenbarth
cb953f68c2 * as 3.2.0 is now the oldest compiler we support we can now use {$push} {$pop} to reset the $minenumsize in the RTTI header
git-svn-id: trunk@49403 -
2021-05-27 05:43:01 +00:00
florian
bae583118a * patch by J. Gareth Moreton: x86 JccMovJmpMov2MovSetcc improvement, resolves #38761
git-svn-id: trunk@49402 -
2021-05-26 21:03:56 +00:00
yury
73448deda6 * Windows: Prevent removal of the TLS directory by the linker when RTL is compiled with -O4 or when inlining is enabled.
git-svn-id: trunk@49400 -
2021-05-25 16:03:34 +00:00
florian
8006900e8e - clean up
git-svn-id: trunk@49399 -
2021-05-24 09:26:44 +00:00
florian
814b68fac0 * more fixes for VASM for ARM
git-svn-id: trunk@49398 -
2021-05-23 19:46:40 +00:00
florian
e9b3db0d78 * more fixes to support vasm on arm
* do not crash on empty eabi attribute strings

git-svn-id: trunk@49397 -
2021-05-22 20:22:53 +00:00
Károly Balogh
19876ca805 qlunits: added channel definition structures based on C equivalents, added test code
git-svn-id: trunk@49396 -
2021-05-22 14:48:00 +00:00
Károly Balogh
7b03bac5d6 qlunits: remove word alignment test from sysvar test, as there are byte-sized vars, which are not aligned
git-svn-id: trunk@49395 -
2021-05-22 11:51:22 +00:00
Károly Balogh
94693e5f70 sinclairql: make sure smsfuncs.inc is in sync with the one in packages
git-svn-id: trunk@49394 -
2021-05-22 09:43:31 +00:00
Károly Balogh
70011c2306 qlunits: add a test program to test sysvar offsets
git-svn-id: trunk@49393 -
2021-05-22 09:42:32 +00:00
Károly Balogh
54f761b4da qlunits: make sure everything is two byte aligned
git-svn-id: trunk@49392 -
2021-05-22 09:20:45 +00:00
Károly Balogh
c9f875b15f qlunits: fix SMS unit build, declare all const/vars/types before functions, and minor tweaks
git-svn-id: trunk@49391 -
2021-05-22 08:21:10 +00:00
Károly Balogh
2bf7676f00 qlunits: fixed comments in qdos_sysvars.inc to avoid compiler directives warnings
git-svn-id: trunk@49390 -
2021-05-22 08:10:10 +00:00
michael
61cd38e6db * Fixed Issue ID38920: twriter crashes on readonly nil component
git-svn-id: trunk@49389 -
2021-05-22 07:54:30 +00:00
Károly Balogh
cd5c2b8271 qlunits: merged a modified version of a patch by Norman Dunbar, defines system variables as a record
git-svn-id: trunk@49388 -
2021-05-22 07:30:00 +00:00
joost
fd91e8263c * Fixed processing post-content of unknown content-types
git-svn-id: trunk@49387 -
2021-05-21 21:46:39 +00:00
florian
5726428dcc * patch by J. Gareth Moreton: Additional SETcc optimisations, resolves #38767
git-svn-id: trunk@49386 -
2021-05-21 20:36:15 +00:00
florian
578424cf51 * patch by J. Gareth Moreton: TEST chain shortcutting, resolves #38908
git-svn-id: trunk@49385 -
2021-05-20 20:45:38 +00:00
florian
6f482952de * patch by J. Gareth Moreton: Memory CMP optimisation, resolves #38907
git-svn-id: trunk@49382 -
2021-05-19 20:29:04 +00:00
Károly Balogh
12a0083c59 sinclairql: return true as default for do_isdevice to work around weird console flushing issues.
git-svn-id: trunk@49381 -
2021-05-19 07:45:04 +00:00
Károly Balogh
906d0ba06e sinclairql: make sure the end of bss (hence the bss size) is also aligned to two bytes
git-svn-id: trunk@49380 -
2021-05-19 07:39:24 +00:00
florian
c43d8e4adf * indention fixed
git-svn-id: trunk@49379 -
2021-05-18 19:13:49 +00:00
florian
430b2fd791 * AVR: second part of assembler optimizer rework
git-svn-id: trunk@49378 -
2021-05-18 19:13:13 +00:00
florian
6f1d965dac * first part of AVR assembler optimizer reword
git-svn-id: trunk@49377 -
2021-05-17 20:02:12 +00:00
michael
59d4aaf5ec * Fix issue ID #38900: union wrongly implemented
git-svn-id: trunk@49376 -
2021-05-17 14:56:09 +00:00
michael
83253676a3 * Some case fixes
git-svn-id: trunk@49375 -
2021-05-17 14:53:37 +00:00
florian
90afbc8114 * RiscV: unified cpu initialization and FPU exception handling, resolves #38893
git-svn-id: trunk@49374 -
2021-05-15 20:53:56 +00:00
marco
a714cfafb8 * fix for mantis 38889, swap bottom and rect in pointinside
git-svn-id: trunk@49373 -
2021-05-15 20:45:48 +00:00
florian
e57059eea3 * fix building on i386 after r49366
git-svn-id: trunk@49372 -
2021-05-15 16:02:22 +00:00
Mattias Gaertner
e72665051f pastojs: fixed float / 0.0 results at compiletime in inf instead of divbyzero, issue #38815
git-svn-id: trunk@49370 -
2021-05-15 12:09:26 +00:00
florian
884d24e321 * patch by J. Gareth Moreton: x86 MOVZX/CMP optimisation, resolves #38882
git-svn-id: trunk@49366 -
2021-05-14 20:50:03 +00:00
Károly Balogh
13f3cd2ae3 sinclairql: for setting the exit message of the default console, use a helper function instead.
git-svn-id: trunk@49365 -
2021-05-14 17:32:40 +00:00
Károly Balogh
6fbf4dfd90 sinclairql: introduce a way to override the system unit's console opening/closing and exit message via weakexternals
git-svn-id: trunk@49364 -
2021-05-14 15:26:31 +00:00
Károly Balogh
f0cc2c38b8 sinclairql: enable weak linking support for the Sinclair QL
git-svn-id: trunk@49363 -
2021-05-14 14:49:14 +00:00
florian
bc21634b46 * AVR: made avr_des intrinsic more usefull
git-svn-id: trunk@49362 -
2021-05-13 18:59:28 +00:00
michael
d77f249332 * Fix compilation
git-svn-id: trunk@49361 -
2021-05-13 17:18:37 +00:00