Commit Graph

60975 Commits

Author SHA1 Message Date
Mattias Gaertner
f858ee6355 pastojs: fixed crash when parser error in inline specialize expression
git-svn-id: trunk@47613 -
2020-11-28 10:41:53 +00:00
florian
eb098a3d11 * do not reuse a loaded reference for avrtiny in a_op_const*, resolves #38142
git-svn-id: trunk@47612 -
2020-11-27 21:16:31 +00:00
michael
b0cbff6463 * Try all OS/CPU combinations
git-svn-id: trunk@47611 -
2020-11-27 17:16:20 +00:00
michael
c7383e54cf * Some fixes in fpdoc generation
git-svn-id: trunk@47610 -
2020-11-27 16:59:40 +00:00
Mattias Gaertner
e1dd6fd932 pastojs: filer: fixed testsuite using shortrefglobals for all tests, added FormData js keyword, fixed shortrefglobals new/free instance fields
git-svn-id: trunk@47609 -
2020-11-27 16:57:08 +00:00
ondrej
63a231a93d * fcl-db: PQConnection needs a lowercase port param
git-svn-id: trunk@47607 -
2020-11-27 09:45:03 +00:00
ondrej
1a0ba60de6 * revert r47598: implement TRandomGenerator
git-svn-id: trunk@47605 -
2020-11-27 04:53:06 +00:00
florian
9c77e4a899 * support passing options to the emulator when using one for testing
git-svn-id: trunk@47604 -
2020-11-26 21:35:00 +00:00
svenbarth
903486642e * allow an integer expression for SetPeFlags and SetPeOptFlags (Delphi compatible)
* adjusted test to check that as well

git-svn-id: trunk@47602 -
2020-11-26 20:13:40 +00:00
svenbarth
a8d316d187 + add method to retrieve an integer expression from the scanner
git-svn-id: trunk@47601 -
2020-11-26 20:13:34 +00:00
pierre
48271b880c Add {$i fpcdefs.inc} to units that do not have that include
git-svn-id: trunk@47599 -
2020-11-26 10:34:02 +00:00
ondrej
c4dd3b661a * rtl: implement TRandomGenerator for thread-safe random
git-svn-id: trunk@47598 -
2020-11-26 05:59:00 +00:00
pierre
9c1c2acd64 Improve CRC_checksum testing code with -dDEBUG_UNIT_CRC_CHANGES -dTest_Double_checksum -dTest_Double_checksum_write
git-svn-id: trunk@47597 -
2020-11-25 23:40:02 +00:00
svenbarth
3d7c9690e0 * the "otherwise" clause is in fact allowed in ISO Extended Pascal (see 6.1.2 and 6.9.3.5 of ISO 10206)
git-svn-id: trunk@47596 -
2020-11-25 22:48:48 +00:00
svenbarth
5ce84538a4 * name of the mode for ISO Extended Pascal is ExtendedPascal, not Extended
git-svn-id: trunk@47595 -
2020-11-25 22:48:38 +00:00
pierre
787899b921 Allow easier disabling of $inline on, by using -dDISABLE_INLINE
git-svn-id: trunk@47593 -
2020-11-25 22:40:04 +00:00
florian
bb80851d65 * .def must be set on linux else it might be that the created executable is
deleted after compilation

git-svn-id: trunk@47592 -
2020-11-25 22:34:17 +00:00
florian
5cd4e5a016 * pass lp64d to GNU AS for abi_riscv_hf to get the right ABI set
git-svn-id: trunk@47585 -
2020-11-25 20:20:08 +00:00
Jonas Maebe
c3e2285c45 * when getting an llvm temporary recorddef, recurse into arrays rather than
treating them as opaque defs. This is required to ensure that the temporary
    recorddef for all x86-64 function results are the same on the caller and
    callee side, as we allocate new arrays when generating them

git-svn-id: trunk@47584 -
2020-11-25 18:44:44 +00:00
pierre
64866179a9 Add missing llvm directory for ppu unit compilation
git-svn-id: trunk@47578 -
2020-11-25 09:03:11 +00:00
Károly Balogh
d8997405c5 sinclairql: mark the qhdr metadata format as default in the help text
git-svn-id: trunk@47572 -
2020-11-25 04:57:33 +00:00
Károly Balogh
fcd9625d6b qlunits: make qlcube example still build with the current RTL
git-svn-id: trunk@47571 -
2020-11-25 04:54:57 +00:00
Károly Balogh
2294472ac7 sinclairql: changed startup code to be able to run directly as job without a BASIC loader. based on a patch by Marcel Kilgus in qlforum.co.uk
git-svn-id: trunk@47570 -
2020-11-25 04:42:44 +00:00
Károly Balogh
6a88f2fc28 sinclairql: drop support for the BASIC loader, write Q-emuLator or XTcc compatible metadata to the executable instead. based on a patch by Marcel Kilgus in qlforum.co.uk
git-svn-id: trunk@47569 -
2020-11-25 04:39:42 +00:00
Károly Balogh
3eece73a89 sinclairql: fix exitCode parameter accidentally overwritten in mt_frjob. also save d2 register.
git-svn-id: trunk@47568 -
2020-11-25 04:33:05 +00:00
Károly Balogh
45fc515400 sinclairql: added platform specific options to allow specifying executable metadata format
git-svn-id: trunk@47567 -
2020-11-25 01:48:36 +00:00
Tomas Hajny
74eb7b5050 + added coloured compiler output support for OS/2 and DOS targets, platform-specific parts refactored to a standalone unit to remove the heap of ifdefs in unit comphook
git-svn-id: trunk@47566 -
2020-11-24 23:09:01 +00:00
florian
6ac2957187 * Xtensa: cleanup of getreferencestring
git-svn-id: trunk@47565 -
2020-11-24 22:04:28 +00:00
florian
4a05053650 + Xtensa: make use of the LSX/SSX instructions
git-svn-id: trunk@47564 -
2020-11-24 21:22:20 +00:00
florian
9dcf85a8ef + Xtensa: FMA support
git-svn-id: trunk@47563 -
2020-11-24 20:59:47 +00:00
Károly Balogh
f9d54b7cb7 sinclairql: system unit changes and improvements, patch by Marcel Kilgus in qlforum.co.uk, merged with minor tweaks
git-svn-id: trunk@47562 -
2020-11-24 19:55:13 +00:00
Károly Balogh
aa1bbb591c sinclairql: initial implementation of RTL file I/O functions, patch by Marcel Kilgus in qlforum.co.uk
git-svn-id: trunk@47561 -
2020-11-24 19:28:47 +00:00
Károly Balogh
ab2db33b4c * backported vlink map file generation to other targets using vlink: Amiga, Atari and ZXSpectrum
git-svn-id: trunk@47560 -
2020-11-24 19:07:15 +00:00
Károly Balogh
ffa1b24f7e sinclairql: map file generation support with vlink, inspired by a patch posted by Marcel Kilgus in qlforum.co.uk
git-svn-id: trunk@47559 -
2020-11-24 18:34:09 +00:00
Károly Balogh
75eaca8ab4 sinclairql: QDOS interface wrapper function improvements, patch by Marcel Kilgus in qlforum.co.uk, merged with minor tweaks
git-svn-id: trunk@47558 -
2020-11-24 16:24:34 +00:00
pierre
96f2e683e7 Also accept s80bit real constants when FPC_SOFT_FPUX80 macro is defined
git-svn-id: trunk@47557 -
2020-11-24 15:31:26 +00:00
Károly Balogh
9cf99b818d sinclairql: use .exe as extension for executables instead of .bin, patch by Marcel Kilgus at qlforum.co.uk
git-svn-id: trunk@47556 -
2020-11-24 15:18:05 +00:00
pierre
40b7af1025 Use pascal code for LLVM fpc_sqr_real, because fmultp instruction is not accepted by llvm
git-svn-id: trunk@47555 -
2020-11-24 13:57:06 +00:00
pierre
e4e1ea586c Revert wrong change, llvm supports extended constants
git-svn-id: trunk@47554 -
2020-11-24 13:55:27 +00:00
ondrej
de6f3ea9b5 * rename generic TStringBuilder to TGenericStringBuilder to make code tools happy
git-svn-id: trunk@47553 -
2020-11-24 09:43:46 +00:00
pierre
233d883731 Correct computation of operatingsystem_parameter_envp, which wrongly pointed to the NIL pointer separating argv from environment variables
git-svn-id: trunk@47552 -
2020-11-24 09:39:55 +00:00
pierre
6d900039c4 Fix LLVM compilation by casting untyped real constants to double type, as LLVM does not support extended type constant apparently
git-svn-id: trunk@47551 -
2020-11-24 08:02:29 +00:00
pierre
e35e5ad349 Add missing CPULLVM versions for fpc_abs_real and fpc_sqr_real in x86_64/math.inc
git-svn-id: trunk@47550 -
2020-11-24 07:59:46 +00:00
Károly Balogh
6b1c5861af * remove obsolete comment from rautils/ConcatConstant, issue reported/initial patch by Marcel Kilgus in QLForum.co.uk
git-svn-id: trunk@47549 -
2020-11-24 05:47:09 +00:00
Károly Balogh
7444733f5d m68k: fix DB/DW/DD handling in inline assembler, update BuildConstant() method to current standards. issue reported/initial patch by Marcel Kilgus in QLForum.co.uk
git-svn-id: trunk@47548 -
2020-11-24 05:42:38 +00:00
Tomas Hajny
7169b6d04c * provided additional information in comments in the include file header
git-svn-id: trunk@47547 -
2020-11-24 00:45:00 +00:00
Tomas Hajny
91da9eae17 + TZ variable based offset calculation included for DOS targets
git-svn-id: trunk@47546 -
2020-11-24 00:35:52 +00:00
nickysn
44b7a1df18 + support reading .wav with an odd (uneven) fmt chunk size
git-svn-id: trunk@47545 -
2020-11-24 00:31:16 +00:00
Tomas Hajny
49fc7dc4cb * reverted a change not belonging to the previous commit
git-svn-id: trunk@47544 -
2020-11-24 00:29:08 +00:00
Tomas Hajny
2774a0094c * reverted a change not belonging to the previous commit
git-svn-id: trunk@47543 -
2020-11-24 00:27:06 +00:00