Commit Graph

60129 Commits

Author SHA1 Message Date
svenbarth
cce2dad1bf * fix for Mantis #37806: allow undefineddefs for Include() and Exclude()
+ added tests

git-svn-id: trunk@46953 -
2020-09-25 14:13:53 +00:00
Mattias Gaertner
86c25c6783 pastojs: generic function names similar to generic types using $G, ShortRefGlobals: static functions
git-svn-id: trunk@46952 -
2020-09-25 08:54:52 +00:00
michael
5198686c29 * Fix bug ID #37814: correctly initialize max chars
git-svn-id: trunk@46951 -
2020-09-25 08:51:21 +00:00
Károly Balogh
882ab946ed z80-zxspectrum: delete and remove the prt0.asm file. it's not used any more, as it doesn't contain the interrupt code required for stable operation of the target, and this removes sdasz80 dependency from the RTL build process, if another assembler is used by the compiler
git-svn-id: trunk@46950 -
2020-09-25 04:37:44 +00:00
florian
df6baa888b * another error message changed into a better one
git-svn-id: trunk@46947 -
2020-09-24 20:09:33 +00:00
Tomas Hajny
a71f87357d * simplified version of SeekEof for improved TP/BP/Delphi compatibility by Andrey 'Croco' Stolyarov as fix for #37716, plus a new test for testing the compatibility
git-svn-id: trunk@46946 -
2020-09-24 19:33:28 +00:00
pierre
a4e520180f Avoid range check error in a_op_const_reg_reg method when compiled with -CriotR
git-svn-id: trunk@46945 -
2020-09-24 16:06:49 +00:00
pierre
0e72cc94f6 Set FBuildEngine.Verbose also for -d option
git-svn-id: trunk@46944 -
2020-09-24 15:46:45 +00:00
svenbarth
e72f324f42 * according to ISO 10206 (Extended Pascal) 6.9.3.5 the "otherwise"-clause is supported for case-statements
+ added test

git-svn-id: trunk@46943 -
2020-09-24 11:41:43 +00:00
pierre
ea4950ee91 Add missing svn:ignore in some directories
git-svn-id: trunk@46942 -
2020-09-24 10:14:42 +00:00
michael
81bc4d9fec * Fix compilation on non-windows
git-svn-id: trunk@46941 -
2020-09-24 10:09:04 +00:00
michael
f44ce539a3 * Enable all tests
git-svn-id: trunk@46940 -
2020-09-24 10:08:46 +00:00
michael
409dacf52f * Fix lineending being converted to LF char in comments, patch by Joe Care (Bug ID 37808)
git-svn-id: trunk@46939 -
2020-09-24 10:02:34 +00:00
pierre
78dca42b0e Use sdasz80 instead of sdcc-sdasz80 to assemble prt0.asm, as sdasz80 is used by ppcz80
git-svn-id: trunk@46938 -
2020-09-24 10:00:53 +00:00
michael
0ef66a8631 * Fix from Joe care to implement .) as alternative for ], bug ID #37807
git-svn-id: trunk@46937 -
2020-09-24 09:56:48 +00:00
pierre
85f14ad357 Change list of compiled units for msxdos
git-svn-id: trunk@46936 -
2020-09-24 09:49:33 +00:00
pierre
d52aaf63eb msxdos target uses same __fpc_envp symbol as msdos
git-svn-id: trunk@46935 -
2020-09-24 09:48:49 +00:00
joost
69b1d61a76 * TPasParser.ParseAdhocExpression implemented + test
git-svn-id: trunk@46933 -
2020-09-23 21:39:24 +00:00
florian
dfc485c4f4 * better error message in case of illegal nodes for string constants, resolves #34054
git-svn-id: trunk@46931 -
2020-09-23 20:25:04 +00:00
Mattias Gaertner
5cde0fc1e2 pastojs: fixed spezialize other unit generic with param in unit intf of spezialize, issue #37762
git-svn-id: trunk@46930 -
2020-09-23 15:48:21 +00:00
Mattias Gaertner
135f3745d6 pastojs: docs
git-svn-id: trunk@46929 -
2020-09-23 14:35:38 +00:00
Mattias Gaertner
cf4ca3a280 pastojs: optimization ShortRefGlobals
git-svn-id: trunk@46928 -
2020-09-23 14:32:47 +00:00
Mattias Gaertner
755773caad pastojs: optimization ShortRefGlobals
git-svn-id: trunk@46927 -
2020-09-23 14:31:17 +00:00
Mattias Gaertner
54f08ea60f pastojs: set $ancestor of pascal descending of external class to null
git-svn-id: trunk@46926 -
2020-09-23 14:30:39 +00:00
pierre
37f1d08510 Fix problems in xtensa fpc_setjmp/fpc_longjmp for linux
git-svn-id: trunk@46925 -
2020-09-23 12:07:06 +00:00
Mattias Gaertner
56fbaf23da fcl-passrc: comments
git-svn-id: trunk@46919 -
2020-09-22 21:20:29 +00:00
florian
e33f794eb6 * correctly handle eof in typed files in iso mode
git-svn-id: trunk@46918 -
2020-09-22 19:51:43 +00:00
florian
4de5195a9a + modified patch by J. Gareth Moreton: Aarch64: LDR/STR pairing optimisation, resolves #37580
git-svn-id: trunk@46917 -
2020-09-22 19:51:42 +00:00
pierre
74e83e9d8b Disable af_smartlink_sections option for Z80 vasm and z80asm assemblers, as it leads to errors
git-svn-id: trunk@46916 -
2020-09-22 15:44:15 +00:00
svenbarth
ff4e1345ff * fix for Mantis #37779: use init RTTI instead of full RTTI when copying an array
+ added test

git-svn-id: trunk@46915 -
2020-09-21 20:17:55 +00:00
florian
9d6e34ffc8 * compilation on i386 fixed
git-svn-id: trunk@46914 -
2020-09-21 19:46:47 +00:00
florian
7107c39440 * search also /usr/lib64 for libraries etc. on aarch64-linux, apparently some distros use it
git-svn-id: trunk@46913 -
2020-09-21 17:57:19 +00:00
florian
b55c740702 * extended AndMovzToAnd to support more variants
git-svn-id: trunk@46912 -
2020-09-21 17:57:19 +00:00
florian
08b61997ca * MovzAnd2Movz* optimization improved
+ MovzAnd2And optimization introduced

git-svn-id: trunk@46911 -
2020-09-21 17:57:18 +00:00
pierre
6902539bd8 Disable ucomplex and matrix units for z80-embedded target
git-svn-id: trunk@46909 -
2020-09-21 13:43:39 +00:00
florian
0bdc1fdea4 * do not set nonlocal for inter-procedural labels, this is not needed, they use
the jmpbuf to reach the target

git-svn-id: trunk@46907 -
2020-09-20 18:57:00 +00:00
Jonas Maebe
0904ea0c3f * added missing "end." (fixup for r46904)
git-svn-id: trunk@46906 -
2020-09-20 12:43:49 +00:00
Jonas Maebe
aa75d39ab5 * don't perform "(x=y) or (z=u)" -> "(x xor y) or (z xor u)" optimization
if z or u may raise exceptions (mantis #37780)

git-svn-id: trunk@46905 -
2020-09-20 12:43:45 +00:00
Jonas Maebe
9f42931eeb * don't print range check warnings when evaluating inlined explicit typecasts
git-svn-id: trunk@46904 -
2020-09-20 10:29:51 +00:00
florian
e83d214e98 + allow in ISO mode that { ... } and (* ... *) comments are paired, resolves at least partly #37428
git-svn-id: trunk@46903 -
2020-09-20 08:47:00 +00:00
Mattias Gaertner
85a11c8204 fcl-passrc: resolver: fixed inteface constraints, iisue #37624
git-svn-id: trunk@46902 -
2020-09-19 23:41:36 +00:00
svenbarth
2c372071fd * correctly handle static arrays with a lower index <> 0
+ added test

git-svn-id: trunk@46901 -
2020-09-19 21:20:07 +00:00
florian
449cc8f152 * make use of AllocMem in fpc_dynarray_setlength
git-svn-id: trunk@46900 -
2020-09-19 21:06:11 +00:00
svenbarth
0c316deab5 * readd SmallInt typecasts to SmallInt overload of SwapEndian
git-svn-id: trunk@46898 -
2020-09-19 17:42:04 +00:00
svenbarth
9d86fed95b * avoid range check error when using SwapEndian with 16-bit constants
+ added test

git-svn-id: trunk@46897 -
2020-09-19 17:04:17 +00:00
Jonas Maebe
74a641344a * renamed WebFrame.DOMDocument_ back to DOMDocument after 10.10 update
(mantis #37769)

git-svn-id: trunk@46896 -
2020-09-19 16:17:10 +00:00
svenbarth
15141124f4 * restore ability to cycle with 3.0.4 (at least until 3.2.2 is released) after r46890
git-svn-id: trunk@46895 -
2020-09-19 13:54:25 +00:00
florian
b596b71130 * patch by Joe care to make fv more 64 Bit save, resolves #37772
git-svn-id: trunk@46893 -
2020-09-18 19:28:53 +00:00
svenbarth
bf1eae7bd6 * small formatting adjustments for the sake of consistency
git-svn-id: trunk@46892 -
2020-09-18 15:00:17 +00:00
svenbarth
2ff18e48a0 * fix for Mantis #36909: apply patch by Ryan Joseph so that array constructors can be used for static arrays as well.
+ added test

git-svn-id: trunk@46891 -
2020-09-18 15:00:15 +00:00