Commit Graph

53890 Commits

Author SHA1 Message Date
marco
de160955e6 * patch from Jeppe
-  off by one error that causes keywords that only occur once from not
     being included in the full text search
  -  support for scanning files referenced in css file url()
  -  fix bug in sitemap wrt "merge" entry

git-svn-id: trunk@39378 -
2018-07-04 10:48:57 +00:00
michael
62fa67d9d8 * Patch 96bc38cb7f0230d9749a8b27ab01ccefcf4f4c03 from Maciej Izak
git-svn-id: trunk@39377 -
2018-07-04 08:05:11 +00:00
michael
2f2a5d968b * Git Patch 9ce10f8ba895c9d14a57df17910715bfd52b5257 from Maciej
git-svn-id: trunk@39376 -
2018-07-04 07:24:02 +00:00
michael
f1673275c7 * Git Patch 181ab62eacfe31cfdf76d704564e289a91e88487 from Maciej
git-svn-id: trunk@39375 -
2018-07-04 07:23:30 +00:00
pierre
1440fe7d0d Fix compilation for i386 CPU with -Cg option.
This is failing since commit #39345 because FPC_PIC macro is only set after _INTERFACE is parsed.
 + Warning about this added.

git-svn-id: trunk@39374 -
2018-07-04 05:31:08 +00:00
nickysn
65d8836952 * updated dependencies of unit ports (objpas and x86 is no longer required on
certain platforms) and regenerated makefiles

git-svn-id: trunk@39373 -
2018-07-04 00:33:12 +00:00
nickysn
f733e0a31c + use the x86 inline intrinsics for port access in the unix ports unit as well
git-svn-id: trunk@39372 -
2018-07-04 00:17:18 +00:00
nickysn
3ed284953b * use the new x86 port access intrinsics in the x86 unit for unix
git-svn-id: trunk@39371 -
2018-07-03 23:25:18 +00:00
nickysn
2c8853f239 + added the fpc_x86_*port* intrinsics to the x86_64 system unit as well
git-svn-id: trunk@39370 -
2018-07-03 22:53:48 +00:00
nickysn
a1bf5e2f07 + also added the fpc_x86_*port* intrinsics to the i386 system unit
git-svn-id: trunk@39369 -
2018-07-03 22:42:03 +00:00
nickysn
1c9d0d445b * moved the compiler intrinsics for the i8086 'in' and 'out' instructions to the
system unit (with a 'fpc_x86_' prefix added)

git-svn-id: trunk@39368 -
2018-07-03 22:32:17 +00:00
nickysn
26a3ac3fd4 * moved the fpc_in_x86_*port* constants to the system unit in cpuinnr.inc in the
i8086, i386 and x86_64 rtl directories. This is done for consistency with
  other compiler internal function numbers (which are declared in innr.inc).

git-svn-id: trunk@39367 -
2018-07-03 21:30:43 +00:00
nickysn
f93bda6e15 + also add {$inline on} to unit ports in order to enable inlining
git-svn-id: trunk@39366 -
2018-07-03 20:37:13 +00:00
nickysn
f34710faa0 + use the in and out instructions with immediate constant port number for ports
that are evaluated as a compile-time constant in the range 0..255

git-svn-id: trunk@39365 -
2018-07-03 20:15:20 +00:00
nickysn
8b55c071fa + declare the readport and writeport methods as inline in the interface part of
the ports unit, so the new inlining of in and out instructions actually works

git-svn-id: trunk@39364 -
2018-07-03 20:14:05 +00:00
svenbarth
ddb501bddf * use a TObject constraint for TFPGObjectList and TFPGObjectMap to ensure that only TObject and its descendants
are used (allows for a better error message)

git-svn-id: trunk@39363 -
2018-07-03 18:34:41 +00:00
nickysn
fdc896ad0a + inline support for the x86 'in' and 'out' instructions. Currently only enabled
in the i8086-msdos 'ports' unit, but will be enabled on other targets (e.g.
  go32v2) in the future as well. 32-bit 'in' and 'out' not inlined on i8086, but
  will be on i386 and x86_64.

git-svn-id: trunk@39362 -
2018-07-03 17:01:42 +00:00
Mattias Gaertner
b8ae9f5d6d pastojs: fixed property RTTI for alias type in other unit
git-svn-id: trunk@39361 -
2018-07-03 14:59:49 +00:00
Mattias Gaertner
2086bdbbc0 pastojs: check reserved global JS identifiers only for non prefixed identifiers
git-svn-id: trunk@39360 -
2018-07-03 14:05:38 +00:00
michael
da249dacdd * Reinstate GenericsHash as default hash
git-svn-id: trunk@39358 -
2018-07-01 21:21:39 +00:00
florian
b70fc52874 * patch by Ondrej Pokorny: the stored property modifier does not delete the inherited default value anymore, resolves #33564
git-svn-id: trunk@39357 -
2018-07-01 20:11:13 +00:00
florian
eb61923762 * patch by Ondrej Pokorny: The nodefault is now inherited from parent class, resolves #33563
git-svn-id: trunk@39356 -
2018-07-01 19:01:41 +00:00
marcus
db43c69387 InetSocket: fixed connect without timeout set
git-svn-id: trunk@39355 -
2018-07-01 13:47:51 +00:00
florian
781ecf4a59 * modified patch by Bart Broersma to resolves #33932: fixes compilation error with FPC_SOFT_FPUX80 in TExtended80Rec.BuildUp
git-svn-id: trunk@39354 -
2018-07-01 12:54:30 +00:00
florian
5782acc32d * patch by J. Gareth Moreton to fix 33909
git-svn-id: trunk@39353 -
2018-07-01 12:54:30 +00:00
Károly Balogh
e7025b6759 another fix for the new warning introduced in r39347, hopefully it fixes win32 build
git-svn-id: trunk@39352 -
2018-06-30 16:51:41 +00:00
svenbarth
05ac42766d * fix test; it of course still fails, but now it fails with the expected warning instead of an error
git-svn-id: trunk@39351 -
2018-06-30 15:43:18 +00:00
florian
6a2cb0bbbd * more compilation fixes
git-svn-id: trunk@39350 -
2018-06-30 12:48:54 +00:00
florian
68eb921d46 * broken compilation after r39347 fixed
git-svn-id: trunk@39349 -
2018-06-30 12:30:25 +00:00
florian
2406bd052e * by default, TExtended80Rec.Mantissa should not return the hidden bit (the binary representation of the data type contains it always
git-svn-id: trunk@39348 -
2018-06-30 11:25:43 +00:00
florian
9af9658fa7 * first parameter of SetLength must be valid, as it is read
git-svn-id: trunk@39347 -
2018-06-30 11:25:43 +00:00
michael
a9205c9fba * Fix bug ID #32837, correct Mantissa and Fraction in float helpers, patch from Bart Broersma
git-svn-id: trunk@39346 -
2018-06-29 20:51:32 +00:00
michael
d4f2a593d4 * Update from Maciej Izak, bug ID #33921
git-svn-id: trunk@39345 -
2018-06-29 20:43:21 +00:00
Mattias Gaertner
7e64102b74 fcl-passrc: fixed scanner row, col in macro
git-svn-id: trunk@39344 -
2018-06-29 15:48:21 +00:00
nickysn
e813a11e85 + support TP7-compatible @proc^ (as in FillChar(@proc^,...))
git-svn-id: trunk@39343 -
2018-06-29 14:16:35 +00:00
michael
5de8f0cf69 * Correctly convert string param to bytes
git-svn-id: trunk@39342 -
2018-06-29 11:26:41 +00:00
michael
8774d22b01 * Make Int* functions private methods, avoid passing FSQLFormatSettings
git-svn-id: trunk@39341 -
2018-06-29 11:26:16 +00:00
pierre
c654739db9 Change default settings for i8086 compiler when compiled for go32v2 OS, to avoid use of Watcom tools
git-svn-id: trunk@39340 -
2018-06-29 09:41:38 +00:00
michael
566a6d289f * Fix negative values, reverted to strtoint
git-svn-id: trunk@39339 -
2018-06-29 09:25:13 +00:00
lacak
c73e831633 fcl-db: tests: use built-in function BytesOf() instead uf own implementation.
git-svn-id: trunk@39338 -
2018-06-29 06:57:57 +00:00
lacak
e9e9a26133 fcl-db: base: Fix "Invalid variant type cast" (when converting variant byte array to string) + remove unneded method (Delphi compat.)
git-svn-id: trunk@39337 -
2018-06-29 06:51:37 +00:00
Mattias Gaertner
c550bc1065 pas2js: version 0.9.29
git-svn-id: trunk@39336 -
2018-06-28 22:39:45 +00:00
Mattias Gaertner
c0fdf4103c pastojs: filer: read alias type, pcu: skip precompile typeinfo
git-svn-id: trunk@39335 -
2018-06-28 22:31:13 +00:00
Mattias Gaertner
7253451143 fcl-passrc: useanalyzer: mark typeinfo elements as normal used too
git-svn-id: trunk@39334 -
2018-06-28 22:30:30 +00:00
michael
c0535b9a6f * Use BytesOf instead of custom function
git-svn-id: trunk@39333 -
2018-06-28 15:52:26 +00:00
michael
33056c1858 * Bytes start at index 0
git-svn-id: trunk@39332 -
2018-06-28 15:50:24 +00:00
michael
b859d486b4 * TBlobData is now TBytes as in Delphi (avoid code page conversions)
git-svn-id: trunk@39331 -
2018-06-28 13:41:04 +00:00
michael
58b480e0b2 * Fix bug ID #33860
git-svn-id: trunk@39330 -
2018-06-28 12:41:49 +00:00
Mattias Gaertner
f0edd93e62 fcl-passrc: resolver: hint for text after final end.
git-svn-id: trunk@39329 -
2018-06-28 11:23:52 +00:00
Mattias Gaertner
541ead0b93 resolver: fixed call overload with default param
git-svn-id: trunk@39328 -
2018-06-28 10:43:52 +00:00