Commit Graph

56478 Commits

Author SHA1 Message Date
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
pierre
af03c0208b Use tcgint typecast instead of aint, as it is the type of the second parameter of loadconst taicpu method
git-svn-id: trunk@42281 -
2019-06-25 04:24:56 +00:00
michael
4cd5a72d13 * Fix Bug ID #35759
git-svn-id: trunk@42280 -
2019-06-24 10:42:37 +00:00
michael
16b827aa88 * Allow using of connection charset if none is specified at DB level (bug ID 35755)
git-svn-id: trunk@42279 -
2019-06-24 07:51:45 +00:00
michael
73b365cd30 * Smarter handling of DispatchOptions options
git-svn-id: trunk@42278 -
2019-06-24 07:22:02 +00:00
michael
abf6c99304 * Correctly handle use in restmodule: use pathinfo to configure dispatcher
git-svn-id: trunk@42277 -
2019-06-24 07:18:34 +00:00
lacak
f53878c0db fcl-db: sqldb: add connection charset aliases "win1250" (Firebird) and "cp1250" (MySQL) (although unicode is preferred nowadays and these SBCS are just a remnant of the past)
git-svn-id: trunk@42276 -
2019-06-23 18:02:38 +00:00
Jonas Maebe
c038e4c3f2 * relaxation of r42272: again only show warnings rather than errors for
out-of-range constants, because of the comments mentioned in #35753
    (except for enums, as apparently Delphi does the same)
  * added range check warnings about explicit type casts that throw away
    bits (e.g. byte($fff)), without giving warnings for most common cases
    (like cardinal(-1))
  * fixed masking/sign exting constant array indices (must be based on index
    range type size/signedness rather than on array size/"signedness")

git-svn-id: trunk@42275 -
2019-06-23 14:12:33 +00:00
Jonas Maebe
b1a41aa5b8 * fixed NR_INVALID declaration
git-svn-id: trunk@42274 -
2019-06-23 14:12:28 +00:00
michael
28b87bed39 * Fix setusessl
git-svn-id: trunk@42273 -
2019-06-22 22:38:02 +00:00
Jonas Maebe
3a2fe24f49 * report range errors for assigning out-of-range constants to enums in
Delphi mode (mantis #35671)
  * always give an error (rather than only a warning in case range checking
    is disabled) when assigning an out-of-range constant to an ordinal variable
    whose type does not span the entire range that its bits can hold (because
    the result is undefined and FPC's optimisers rely on variables only
    holding values that are valid for the type)

git-svn-id: trunk@42272 -
2019-06-22 17:30:42 +00:00