Commit Graph

54253 Commits

Author SHA1 Message Date
pierre
841a166847 Add explicit {$hugecode off} for tests that need it
git-svn-id: trunk@39391 -
2018-07-05 20:58:13 +00:00
pierre
f36ac3adbd Use GetProcessId number for UniqueSuffix if -L is used without parameter
git-svn-id: trunk@39390 -
2018-07-05 11:11:15 +00:00
nickysn
5a84f21ba1 + use the new cli/sti intrinsics in go32.enable and go32.disable
git-svn-id: trunk@39389 -
2018-07-04 17:02:07 +00:00
nickysn
ff2fff365f + added x86 compiler intrinsics fpc_x86_sti and fpc_x86_cli, which generate the
'sti' and 'cli' instructions

git-svn-id: trunk@39388 -
2018-07-04 16:48:34 +00:00
nickysn
de3d14b606 + enabled the port intrinsics in the go32v2 unit ports as well
git-svn-id: trunk@39387 -
2018-07-04 16:05:58 +00:00
Mattias Gaertner
9b46f7d4be pastojs: version 0.9.30
git-svn-id: trunk@39386 -
2018-07-04 15:54:41 +00:00
nickysn
25cd354f87 * updated the go32 unit port access functions to use the new x86 port access
compiler intrinsics

git-svn-id: trunk@39385 -
2018-07-04 15:47:15 +00:00
Mattias Gaertner
967e1fd6b5 pastojs: initialize integer with 0, even if this is out of range
git-svn-id: trunk@39384 -
2018-07-04 15:41:12 +00:00
Mattias Gaertner
2fcdf1af19 pastojs: filer: catch EDecompressionError and ECompressionError and convert to reader/writer error
git-svn-id: trunk@39383 -
2018-07-04 14:38:18 +00:00
michael
5f8ea01d49 * Fix compilation for new UTF8 handling
git-svn-id: trunk@39382 -
2018-07-04 13:17:44 +00:00
michael
fca7e26ed6 * Codepage-aware, allow unicode, refactoring of SQLDB code, add PG connector
git-svn-id: trunk@39381 -
2018-07-04 13:15:28 +00:00
nickysn
6cd88a24dc * release al/ax/eax immediately after the 'in', before (instead of after) moving
it to the destination imaginary register. This generates better code.

git-svn-id: trunk@39380 -
2018-07-04 13:09:47 +00:00
michael
844a9b0ca6 * Actually observe TStringStream.OwnsEncoding in destructor
git-svn-id: trunk@39379 -
2018-07-04 11:03:21 +00:00
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