Commit Graph

54777 Commits

Author SHA1 Message Date
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
Jonas Maebe
3b7efb5123 * only free the temp holding the function result after we've loaded it into
the function return register (so we won't load from an already freed
    temp once we emit lifetime info for temps on LLVM)

git-svn-id: trunk@40501 -
2018-12-08 15:31:48 +00:00
Jonas Maebe
14f3676b2a + llvm_lifetime_start/llvm_lifetime_end intrinsic declarations
git-svn-id: trunk@40500 -
2018-12-08 15:31:45 +00:00
Jonas Maebe
8a4947dba2 * don't do anything in thlcgllvm.allocallcpuregisters() like in
deallocallcpuregisters()

git-svn-id: trunk@40499 -
2018-12-08 15:31:41 +00:00
yury
ad269dedd4 * If ds_dwarf_cpp (C++ emulation) is enabled, add DW_AT_linkage_name attribute for methods.
LLDB uses it to display fully qualified method names. Add a simple C++ mangled name without params to achieve at least "Class::Method()" instead of just "Method" in LLDB.

git-svn-id: trunk@40498 -
2018-12-07 20:55:50 +00:00
marcus
1bde958889 arosunits, morphunits, os4units: serial, CreateExtIO(), DeleteExtIO() for all amiga systems
git-svn-id: trunk@40497 -
2018-12-07 19:28:12 +00:00
marcus
5881516cf4 amunits: fixed pack and checked against SDK serial unit
git-svn-id: trunk@40496 -
2018-12-07 18:56:19 +00:00
Mattias Gaertner
1e15e35eab pastojs: checked writeln
git-svn-id: trunk@40495 -
2018-12-07 17:16:14 +00:00
Mattias Gaertner
ca95175b1a pastojs: fixed initial pcu flags
git-svn-id: trunk@40494 -
2018-12-07 17:11:37 +00:00
Mattias Gaertner
8080b53489 pastojs: fixed storing procedurre scope references
git-svn-id: trunk@40493 -
2018-12-07 16:52:00 +00:00
yury
f0d42db82d * When ds_dwarf_cpp option is enabled, use dwarf2 implementation of strings debug info. It makes LLDB happy.
git-svn-id: trunk@40492 -
2018-12-07 16:14:02 +00:00
Mattias Gaertner
6e50894d6f pastojs: fixed searching pcu files
git-svn-id: trunk@40491 -
2018-12-07 15:19:22 +00:00
Mattias Gaertner
fe628565fb pastojs: enabled pcu tests
git-svn-id: trunk@40489 -
2018-12-07 09:45:42 +00:00
Mattias Gaertner
8d3c133caa pastojs: added $i %EnvVar%
git-svn-id: trunk@40488 -
2018-12-07 08:09:50 +00:00
Mattias Gaertner
58e50ef07e pastojs: added $i %file%
git-svn-id: trunk@40487 -
2018-12-07 07:57:49 +00:00
Mattias Gaertner
a82e5bab50 pastojs: added $i %linenum%
git-svn-id: trunk@40486 -
2018-12-07 07:26:26 +00:00