Commit Graph

56438 Commits

Author SHA1 Message Date
Jeppe Johansen
7dc515b62c - Fix result type of SizeOf and BitSizeOf to use sizesint instead of sint.
git-svn-id: trunk@42337 -
2019-07-07 14:37:45 +00:00
Jeppe Johansen
48a7c0989a - Change syntax of sbiw operands to work around syntax in older binutils.
git-svn-id: trunk@42336 -
2019-07-07 11:48:00 +00:00
Jeppe Johansen
a1a17447ff - Fix bug in 64bit softfloat double negation.
- Clean up handling of CPU/FPU type handling in RISCV.
- Do more fixes to get RISCV32 working.
- Fix most soft multiplication handling for generic RISCV code. Still missing a few.
- Add RISCV embedded targets.

git-svn-id: trunk@42335 -
2019-07-07 11:32:27 +00:00
Jeppe Johansen
e53cb61b11 Add support for softfloat in RISCV RTL.
git-svn-id: trunk@42334 -
2019-07-07 11:24:44 +00:00
Jeppe Johansen
9c77e87dd0 Fix types on embedded RTL.
Optimize consoleio for size on AVR.
Add support for RISC-V.
Regenerated makefile

git-svn-id: trunk@42333 -
2019-07-06 17:04:51 +00:00
Jonas Maebe
40082100e1 * fixed range test optimization for signed types and enabled it for them
git-svn-id: trunk@42332 -
2019-07-06 09:57:32 +00:00
svenbarth
b270b0f7f0 * fix typo
git-svn-id: trunk@42331 -
2019-07-05 15:33:43 +00:00
svenbarth
433f07c407 * forgot to commit tests in r42329
git-svn-id: trunk@42330 -
2019-07-05 15:30:53 +00:00
svenbarth
2e4d8e36a5 * fix for Mantis #35670: when a unused dummy symbol is found for a non-generic procedure/function, hide that dummy symbol and create a new symbol for the procedure/function
+ added tests

git-svn-id: trunk@42329 -
2019-07-05 14:12:16 +00:00
svenbarth
d0eddbcbb9 * fix for Mantis #35735: also handle "generic" keyword inside helper types
+ added test

git-svn-id: trunk@42328 -
2019-07-05 14:12:13 +00:00
svenbarth
a2ce2cea94 * fix for Mantis #35760: apply patch by user Bloodbatgot to fix drawing of thick lines
git-svn-id: trunk@42327 -
2019-07-05 12:40:55 +00:00
marco
2bebfeca3a * return to findexinfostandard, because it didn't work (only changes reporting, not searching).
However the sfn was user accessable via finddata, so for now enable that aain, mantis 35773

git-svn-id: trunk@42326 -
2019-07-05 09:12:47 +00:00
marcus
d9f3867783 Fixed ppudump compilation on big endian platforms after r42324
git-svn-id: trunk@42325 -
2019-07-04 16:49:26 +00:00
pierre
40f0372d8c Correctly read saved tsettings
git-svn-id: trunk@42324 -
2019-07-04 15:25:40 +00:00
pierre
d8b89432a2 * Set ControllerSupport to false for sparc/sparc64 and x86_64 CPUs.
This boolean must only be set to true if TControllerType is not simply (ct_none)
  * ppu.pas: Increment CurrentPPULongVersion constant as the above modification
    changes the number of fields of the TSettings record that is saved to
    PPU in ST_LOADSETTINGS field.

git-svn-id: trunk@42323 -
2019-07-04 15:24:49 +00:00
pierre
828a248287 Systematically include fpcdefs.inc at sart of all units used by compiler
git-svn-id: trunk@42322 -
2019-07-03 13:35:05 +00:00
pierre
67cf63049d Commit patch submitted in bug report #35787 by Gareth Moreton
git-svn-id: trunk@42318 -
2019-07-01 19:42:48 +00:00
pierre
b9649d17a5 Commit modified file after commit #42260
git-svn-id: trunk@42317 -
2019-07-01 17:34:08 +00:00
Mattias Gaertner
bd5a81c657 fcl-image: fpreadtiff: fixed inline
git-svn-id: trunk@42316 -
2019-07-01 14:16:32 +00:00
michael
561fa85104 * Fix comment for DateTimeToStr
git-svn-id: trunk@42315 -
2019-06-30 17:20:35 +00:00
Jonas Maebe
56acdd3a11 * fixed compilation with -dTest_Double_checksum_write
git-svn-id: trunk@42314 -
2019-06-30 17:19:31 +00:00
Jonas Maebe
40f6a4ea3c - removed remnants of old ppu file support (ppudump does not support any
other ppu version than the current one anyway)

git-svn-id: trunk@42313 -
2019-06-30 16:24:48 +00:00
Jonas Maebe
cc9f8b7f56 * record in ppu flag whether or not symbols are ansistrings, and use that
flag in ppudump rather than hardcoding targets (it's also the case for
    LLVM)

git-svn-id: trunk@42312 -
2019-06-30 16:24:44 +00:00
Jonas Maebe
789f13eb24 * LLVM-specific support for popcnt
git-svn-id: trunk@42311 -
2019-06-30 15:23:36 +00:00
Mattias Gaertner
5ee32296f0 pastojs: note about typeinfo(aClassVar)
git-svn-id: trunk@42310 -
2019-06-30 14:44:54 +00:00
Jonas Maebe
0a91fcb44f * LLVM-specific support for bsr*/bsf*
git-svn-id: trunk@42309 -
2019-06-29 16:27:18 +00:00
Jonas Maebe
6b97c712f6 * volatile syms should never be regable
git-svn-id: trunk@42308 -
2019-06-29 16:27:14 +00:00
Jonas Maebe
98f55b1d86 * also register symbols referenced from assembler via asolutevarsyms
git-svn-id: trunk@42307 -
2019-06-29 16:27:10 +00:00
Jonas Maebe
c425c51963 * simplify and optimize generated LLVM code for case statements
git-svn-id: trunk@42305 -
2019-06-29 12:17:49 +00:00
svenbarth
982a870b15 * remaining fix for Mantis #35346: add "inline" directives to various methods of tentryfile
git-svn-id: trunk@42304 -
2019-06-28 13:30:35 +00:00
svenbarth
a578993234 * partial fix for Mantis #35346: more "inline" directives for TCStream and TCMemoryStream methods
git-svn-id: trunk@42303 -
2019-06-28 13:30:33 +00:00
Jonas Maebe
7ef3d39d93 * one more disable location of DoPipe in case not on a Unix platform
(mantis #35743)

git-svn-id: trunk@42302 -
2019-06-27 19:20:45 +00:00
marcus
defcad25af Amiga-systems: bugfix for TProcess.commandline, left over space at exename
git-svn-id: trunk@42301 -
2019-06-27 18:47:47 +00:00
michael
d5a3528670 * Some fixes in parameter handling
git-svn-id: trunk@42300 -
2019-06-27 16:14:40 +00:00
michael
67b711013f * Better code documentation for processql, add %OPTIONALWHERE%
git-svn-id: trunk@42299 -
2019-06-27 16:13:55 +00:00
michael
2aaae5353e * Fix ISODateTime constant, trailing quote
git-svn-id: trunk@42298 -
2019-06-27 16:13:15 +00:00
michael
c47fe33586 * Better CORS handling: return origin if available and allowed domains not set (activate using option)
git-svn-id: trunk@42297 -
2019-06-27 12:42:34 +00:00
michael
2b8595d9da * Better CORS handling: return origin if available and allowed domains not set (fix compilation)
git-svn-id: trunk@42296 -
2019-06-27 11:37:38 +00:00
michael
eb6922b429 * Better CORS handling: return origin if available and allowed domains not set (* will prohibit credentials)
git-svn-id: trunk@42295 -
2019-06-27 11:33:26 +00:00
joost
2b4c68ecbe * hInstance has 64 bits on Win64, avoid cutting it off when storing it into SysInstance
git-svn-id: trunk@42294 -
2019-06-27 09:21:49 +00:00
Mattias Gaertner
ea28cd5268 pastojs: clean up
git-svn-id: trunk@42293 -
2019-06-26 19:34:59 +00:00
Mattias Gaertner
227514376e pastojs: fixed high(dynarrayvar with expr)
git-svn-id: trunk@42292 -
2019-06-26 19:32:49 +00:00
Mattias Gaertner
ec3c050ac7 fcl-passrc: clean up
git-svn-id: trunk@42291 -
2019-06-26 19:32:34 +00:00
Mattias Gaertner
02b66457f5 fcl-passrc: fixed compile under pas2js
git-svn-id: trunk@42290 -
2019-06-26 18:34:11 +00:00
Mattias Gaertner
b8369409bc fcl-passrc: fixed compile under fpc 3.0.4
git-svn-id: trunk@42289 -
2019-06-26 18:26:20 +00:00
Mattias Gaertner
9871196e8c pastojs: allow reintroduce published method
git-svn-id: trunk@42288 -
2019-06-26 16:38:17 +00:00
Mattias Gaertner
c971b4639f fcl-passrc: added separate error message duplicate published method
git-svn-id: trunk@42287 -
2019-06-26 16:37:15 +00:00
marco
c914655a67 * ignore sfn in findfirst win7+ mantis #35742. Entangled with symlink support
git-svn-id: trunk@42286 -
2019-06-26 16:35:37 +00:00
michael
ce68a56c01 * Allow generators in sqlite in 3.0.4
git-svn-id: trunk@42285 -
2019-06-26 08:34:47 +00:00
michael
7137289d41 Fix memleak (bug ID 0035761)
git-svn-id: trunk@42282 -
2019-06-25 05:54:25 +00:00