Commit Graph

56415 Commits

Author SHA1 Message Date
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
pierre
243c967967 Commit of new debug feature implemented by J. Gareth Moreton
Allows compilation of compiler using -dDEBUG_NODE_XML
  which will generate a NAME-node-dump.xml file for each 
  unit, program or library compiled,
  containing a XML description of the nodes handled during
  compilation of the unit, program or library.

git-svn-id: trunk@42271 -
2019-06-22 14:08:47 +00:00
michael
c22982383f * Fix parsing of command-line in ParseSource
git-svn-id: trunk@42270 -
2019-06-22 14:01:06 +00:00
michael
bf54543518 * Add SplitCommandLine
git-svn-id: trunk@42269 -
2019-06-22 13:37:47 +00:00
Jonas Maebe
fb387da807 * use variables of correct size with movd (test checks whether movd only
reads 32 bit even when destination is xmm register) (mantis #35701,
    as noted by J. Gareth Moreton)

git-svn-id: trunk@42268 -
2019-06-22 13:31:02 +00:00
michael
67172ef705 * Correct autoincrement handling
git-svn-id: trunk@42267 -
2019-06-22 08:22:30 +00:00
michael
01e5861255 * Make sure output contains something in case of empty dataset
git-svn-id: trunk@42266 -
2019-06-22 08:19:16 +00:00
michael
ba1fb2c0cf * Unregister routes
git-svn-id: trunk@42265 -
2019-06-22 07:44:18 +00:00
michael
961b27b4a7 * Add RoutesRegistered property to TSQLDBRestBridge
git-svn-id: trunk@42264 -
2019-06-22 07:33:49 +00:00
michael
4cb612252a * Correct registration of metadata resource in case rdoConnectionInURL is specified
git-svn-id: trunk@42263 -
2019-06-22 07:29:34 +00:00
michael
ce528e1808 * Make sure error content is sent
git-svn-id: trunk@42262 -
2019-06-22 07:16:19 +00:00
marcus
2651f867e8 MorphOS: overloads for Get/SetRGB32 to be compatible with other Amiga flavours
OS4: Missing forward declaration

git-svn-id: trunk@42261 -
2019-06-21 18:07:39 +00:00
Jonas Maebe
ee1be45df9 * reintegrated debug_eh branch
o the LLVM compiler is now functional for Darwin/x86-64, and also (but less
     tested) for Linux/x86-64, Linux/AArch64 and Linux/ARMHF. See
     https://wiki.freepascal.org/LLVM for details and the current state
   o Dwarf-eh-based "zero-cost" exceptions are available with the regular
     code generators for Linux/x86-64 and Linux/i386 if the compiler is
     compiled with -dpsabieh

git-svn-id: trunk@42260 -
2019-06-21 16:56:44 +00:00
Jonas Maebe
b08b6a17bd * synchronised with trunk till r42258
git-svn-id: branches/debug_eh@42259 -
2019-06-20 20:57:37 +00:00