Commit Graph

60689 Commits

Author SHA1 Message Date
florian
8192bf1b33 * version update
git-svn-id: trunk@47628 -
2020-11-29 09:40:54 +00:00
Mattias Gaertner
8431584251 fcl-passrc: resolver: error on using generic types without params
git-svn-id: trunk@47627 -
2020-11-29 00:06:19 +00:00
pierre
8e13adad4c * Improve Test_Double_checksum with Test_Double_checksum_write CRC testing code.
Pass the three checksum arrays from ppufile to module owner,
    to be able to check that the checksums computed at the time pf ppu writing
    are compatible with the ones computed at interface level.

git-svn-id: trunk@47626 -
2020-11-28 18:32:46 +00:00
svenbarth
82957ec5a3 * Fix for Mantis #38122: when a deref node is passed as a Self parameter for a type helper (which is a var parameter) we need to pass the non-derefentiated value so that the data it points to can be modified by the helper's method (this is Delphi compatible)
+ added tests

git-svn-id: trunk@47625 -
2020-11-28 18:32:24 +00:00
michael
ece9c98362 * Avoid using volatile if NO_THREADING is defined
git-svn-id: trunk@47624 -
2020-11-28 18:09:59 +00:00
florian
5ca2356638 * take care of po_noreturn in more cases
git-svn-id: trunk@47623 -
2020-11-28 16:02:51 +00:00
florian
ff87df7581 + factor out PostProcessELFExecutable
+ write executable section size on linux

git-svn-id: trunk@47622 -
2020-11-28 16:02:50 +00:00
florian
99d88b91a9 * do not include fpcdefs in the cepiktimer unit
git-svn-id: trunk@47621 -
2020-11-28 16:02:49 +00:00
florian
7b88d1127f * remove unused file
git-svn-id: trunk@47619 -
2020-11-28 13:41:44 +00:00
michael
96c1da2bbd * Make timestamp reading more robust
git-svn-id: trunk@47618 -
2020-11-28 13:29:17 +00:00
Mattias Gaertner
150e78c56a pastojs: fixed test TestExternalClass_SameNamePublishedProperty
git-svn-id: trunk@47617 -
2020-11-28 13:19:30 +00:00
Mattias Gaertner
fc04a83ff5 pastojs: fixed -OoShortRefGlobals
git-svn-id: trunk@47616 -
2020-11-28 13:09:02 +00:00
pierre
f8c84dd1fd Fix compilation with DEBUG_PPU macro set
git-svn-id: trunk@47615 -
2020-11-28 12:06:36 +00:00
Mattias Gaertner
3808d9c7b6 pastojs: fixed typeinfo path of inline specialize type
git-svn-id: trunk@47614 -
2020-11-28 11:42:42 +00:00
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