Commit Graph

54942 Commits

Author SHA1 Message Date
Jonas Maebe
ff002e2664 * set paralocations correctly for LLVM/AArch (must be register-type instead
of parameter-type based)

git-svn-id: trunk@40568 -
2018-12-16 20:44:18 +00:00
Jonas Maebe
6b58185bda * fixed shifval for big endian (bits instead of bytes)
git-svn-id: trunk@40567 -
2018-12-16 20:44:15 +00:00
Jonas Maebe
6e453a1477 * fixed paraloc def when changing the size to OS_32
git-svn-id: trunk@40566 -
2018-12-16 20:44:12 +00:00
Jonas Maebe
97bc58d248 * fixed bug that caused the "sret" argument attribute to never be used (and
a guaranteed internalerror on AArch64/llvm)

git-svn-id: trunk@40565 -
2018-12-16 20:44:09 +00:00
Mattias Gaertner
2e98c7d41b pas2js: set trunk version to 1.3.1
git-svn-id: trunk@40562 -
2018-12-16 19:52:16 +00:00
marco
8ef868591d * deprecate .commandline property setter setcommandline too.
git-svn-id: trunk@40561 -
2018-12-16 12:15:23 +00:00
pierre
0846456ce4 * Skip all surrogate values in for loops from low(word) to high(word)
git-svn-id: trunk@40560 -
2018-12-15 21:06:01 +00:00
Mattias Gaertner
f7661c6fd4 pastojs: added -iJ
git-svn-id: trunk@40559 -
2018-12-15 13:38:23 +00:00
Mattias Gaertner
dbdf8e14df pastojs: added -iJ
git-svn-id: trunk@40558 -
2018-12-15 13:32:59 +00:00
Mattias Gaertner
2972be4ddd pastojs: fixed compile under pas2js
git-svn-id: trunk@40555 -
2018-12-15 11:32:28 +00:00
Mattias Gaertner
38a511a2f0 pas2js: cleaned up pcu
git-svn-id: trunk@40554 -
2018-12-15 11:11:24 +00:00
Mattias Gaertner
95c4736785 pas2js: added option -JoRTL-x=y, added shared converter options
git-svn-id: trunk@40553 -
2018-12-15 11:04:50 +00:00
yury
67f10be246 * Use the "doc" subdir instead of "docs" for non-unix targets. The "doc" name is used in classic makefiles and we've got 2 sub-dirs "doc" and "docs" for non-unix targets. This commit fixes that.
git-svn-id: trunk@40552 -
2018-12-14 19:17:11 +00:00
Mattias Gaertner
cea0060507 pastojs: procedure val(const string; out enum; out int)
git-svn-id: trunk@40551 -
2018-12-14 15:36:12 +00:00
Mattias Gaertner
f15a8b90f1 pastojs: procedure val(const string; out enum; out int)
git-svn-id: trunk@40550 -
2018-12-14 14:57:58 +00:00
Mattias Gaertner
ce1c2487ec fcl-passrc: resolver: procedure val(const string; out enum|int|bool|float; out int)
git-svn-id: trunk@40549 -
2018-12-14 14:57:22 +00:00
michael
d49510cc8c * Fix bug #0034499
git-svn-id: trunk@40548 -
2018-12-14 10:00:44 +00:00
pierre
0fafe640c5 Change tstringlistexchange test code to give different error values and check that sort is done properly instead of requiring a given number of exchanges
git-svn-id: trunk@40547 -
2018-12-14 09:51:45 +00:00
pierre
bf7af550c8 Add mode objfpc to units/character/tutf32convert test
git-svn-id: trunk@40546 -
2018-12-14 09:32:01 +00:00
nickysn
99528f9774 + added all the missing test/units/* subdirectories: classes character dateutil fpcunit softfpu variants
git-svn-id: trunk@40538 -
2018-12-13 16:00:23 +00:00
pierre
f8563772c5 Always accept empty string as meaning zero is TryRomanToInt, fixes intermittent errors in tromantoint test
git-svn-id: trunk@40537 -
2018-12-13 10:21:58 +00:00
yury
f7efca92ec * android: Disabled usage of the "pselect6" and "ppoll" syscalls for arm-android. These syscalls are not available on old Android versions (2.3 or older).
git-svn-id: trunk@40536 -
2018-12-12 14:04:57 +00:00
yury
a2a59bcb7d * android: Regenerated syscalls.
git-svn-id: trunk@40535 -
2018-12-12 13:47:40 +00:00
Mattias Gaertner
3053d554a8 pastojs: mode delphi assign ano proc
git-svn-id: trunk@40534 -
2018-12-12 12:25:05 +00:00
Mattias Gaertner
d985a016a5 fcl-passrc: resolver: check reference-to when assign ano proc
git-svn-id: trunk@40533 -
2018-12-12 12:24:43 +00:00
yury
21c867d3fc * android: Use libc for sockets since the "accept" syscall is blocked by SECCOMP, but the "accept4" alternative is not available on old Android versions (2.3 and older).
git-svn-id: trunk@40532 -
2018-12-12 11:49:38 +00:00
Mattias Gaertner
18f77f671b fcl-pasrc: resolver: mode delphi allow typecast anonymous proc
git-svn-id: trunk@40531 -
2018-12-12 10:52:49 +00:00
Mattias Gaertner
ac94267311 pastojs: anonymous functions docs
git-svn-id: trunk@40530 -
2018-12-12 10:24:29 +00:00
michael
93ec37a4bc Added overloads UintToStr for Delphi compatbibility (bug ID 0034690)
git-svn-id: trunk@40529 -
2018-12-12 08:29:24 +00:00
nickysn
da5868b668 + added method TBits.CopyBits for fast copying
git-svn-id: trunk@40524 -
2018-12-11 15:52:09 +00:00
Mattias Gaertner
c283775b73 pastojs: anonymous functions
git-svn-id: trunk@40523 -
2018-12-11 11:07:00 +00:00
Mattias Gaertner
077f88766b fcl-passrc: pass ano func asm-block as argument, ano funcs in analyzer
git-svn-id: trunk@40522 -
2018-12-11 11:05:39 +00:00
pierre
e7aadde92f Modify tbs/tb0588.pp to check that a warning is issued about non-initialized return value, moved to tbf directory
git-svn-id: trunk@40521 -
2018-12-11 08:47:59 +00:00
marco
c32c6c4cd6 * add similar retries to sysdeletefile as for removedirs.
because buildunits sometimes fail to erase. Seems to fix #21868

git-svn-id: trunk@40520 -
2018-12-10 22:42:52 +00:00
Mattias Gaertner
b0d7ba7e6f fcl-passrc: anonymous functions: with-block
git-svn-id: trunk@40518 -
2018-12-10 18:07:18 +00:00
Mattias Gaertner
7815ed4de1 fcl-passrc: changed operator precedence level of is to same as and,or,xor
git-svn-id: trunk@40517 -
2018-12-10 14:53:16 +00:00
Mattias Gaertner
193cbf1a3e fcl-passrc: typecast anonymous proc to proctype
git-svn-id: trunk@40516 -
2018-12-10 14:50:01 +00:00
joost
bfe870afd9 * Added version-number to fppkg
git-svn-id: trunk@40515 -
2018-12-09 23:40:44 +00:00
Mattias Gaertner
40673d713c fcl-passrc: anonymous functions: forbid semicolon in modifiers
git-svn-id: trunk@40514 -
2018-12-09 22:03:04 +00:00
marco
ea2a606b16 * some constants for solaris. Mantis #34668
git-svn-id: trunk@40513 -
2018-12-09 16:53:34 +00:00
Jonas Maebe
52fec8a94a * when optimising subsetreg moves for aarch64, take into account the fact
that the subsetreg itself can be 32 or 64 bit (mantis #33607)

git-svn-id: trunk@40512 -
2018-12-09 14:46:52 +00:00
michael
5e22121c21 * Increase mode name length, Win32 needs 26 at least
git-svn-id: trunk@40511 -
2018-12-09 09:03:33 +00:00
michael
05021bd2e0 * Fix bug #0034661, wrong max resolution specified
git-svn-id: trunk@40510 -
2018-12-09 08:59:18 +00:00
Mattias Gaertner
a97fd7e819 nodepas2js: fixed loading default cfg
git-svn-id: trunk@40509 -
2018-12-08 20:50:58 +00:00
Mattias Gaertner
2b2941e455 pastojs: clean up
git-svn-id: trunk@40508 -
2018-12-08 20:29:19 +00:00
Mattias Gaertner
408dc7b33c pastojs: fixed compile under nodejs
git-svn-id: trunk@40507 -
2018-12-08 20:20:21 +00:00
Mattias Gaertner
51d68c8f95 pastojs: fixed compile
git-svn-id: trunk@40506 -
2018-12-08 20:16:56 +00:00
pierre
d41de7fbf9 Fix fpdoc for Free Pascal doc-pdf generation
git-svn-id: trunk@40505 -
2018-12-08 17:59:22 +00:00
Jonas Maebe
32a51d7b62 * add nocapture and dereferenceable/dereferenceable_or_null decorators to
parameters for llvm where appropriate

git-svn-id: trunk@40503 -
2018-12-08 15:31:54 +00:00
Jonas Maebe
51502874af * emit temp lifetime information for llvm
o also allow freeing temps in the middle of a routine for llvm (we won't
     reuse them, but it results in better lifetime information)

git-svn-id: trunk@40502 -
2018-12-08 15:31:51 +00:00