Commit Graph

53865 Commits

Author SHA1 Message Date
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
Mattias Gaertner
e90f264224 pastojs version 0.9.28
git-svn-id: trunk@39327 -
2018-06-28 10:43:20 +00:00
michael
6b775a2090 * Fix bug ID #33714: do not allow string conversions on blob fields
git-svn-id: trunk@39326 -
2018-06-28 10:08:53 +00:00
michael
398ab09c8d * Fix bug ID #33885, correctly re-initialize parser when loading from stream
git-svn-id: trunk@39325 -
2018-06-28 09:58:58 +00:00
michael
b0c0102db4 * Fix bug ID #33886, handle files of less than 3 bytes
git-svn-id: trunk@39324 -
2018-06-28 09:55:53 +00:00
michael
01517dfab2 * (Slightly modified) Patch from Ondrey to allow customizing TParams created in TSQLQuery and friends
git-svn-id: trunk@39323 -
2018-06-28 09:29:54 +00:00
michael
7a6bd69685 * Fix bug ID #33883, incorrectly initialized CacheUpdates depending on what constructor is used
git-svn-id: trunk@39322 -
2018-06-28 08:46:32 +00:00
michael
9cb620e3ac * Fix bug #33918, make TParam getters/Setters virtual
git-svn-id: trunk@39321 -
2018-06-28 08:12:06 +00:00
michael
52fd3256ed * Fix bug ID #33916 (range Check error), patch from Ondrej Pokorny
git-svn-id: trunk@39320 -
2018-06-28 08:10:18 +00:00
michael
640c398ace * Fixed bug #33919, performance improvements by Ondrej Pokorny
git-svn-id: trunk@39319 -
2018-06-28 08:06:34 +00:00
michael
b2d386b404 * Fix bug ID #33922
git-svn-id: trunk@39318 -
2018-06-28 07:54:29 +00:00
nickysn
88d9dd23ae * the 'again' parameter of factor_read_id() changed to 'out' instead of 'var'
git-svn-id: trunk@39317 -
2018-06-27 15:59:40 +00:00
nickysn
a38e9ff12e * if an include file name ends in dot, and the file is not found, also search
for the file name without the dot. So, for example, if the code contains
  {$I MPAL256.} and 'MPAL256.' is not found, search also for 'MPAL256'

git-svn-id: trunk@39316 -
2018-06-27 14:41:06 +00:00
Mattias Gaertner
7a6fed75a0 fcl-passrc: $warn directive
git-svn-id: trunk@39315 -
2018-06-27 14:27:43 +00:00
Mattias Gaertner
7d95a993ca pastojs: fixed debug code
git-svn-id: trunk@39314 -
2018-06-27 12:40:09 +00:00
Mattias Gaertner
6e807dfbc4 fcl-passrc: fixed mode delphi static array of char = string literal, started $warn directive
git-svn-id: trunk@39313 -
2018-06-27 12:39:28 +00:00
nickysn
966564aade - removed 'if assigned(code)' before calling code.free in tcgprocinfo.destroy,
since .free already checks for <>nil

git-svn-id: trunk@39312 -
2018-06-27 12:38:58 +00:00
Mattias Gaertner
dfc5225671 pastojs: version 0.9.27
git-svn-id: trunk@39311 -
2018-06-26 11:33:34 +00:00
Mattias Gaertner
f791a20cab pastojs: atypeinfo:=pointer
git-svn-id: trunk@39310 -
2018-06-26 10:59:26 +00:00
Mattias Gaertner
62c05140cf fcl-passrc: resolver: pointer=class
git-svn-id: trunk@39309 -
2018-06-26 10:59:07 +00:00
Mattias Gaertner
9e3035383a fcl-passrc: resolver: mode delphi: allow passing static array to openarray
git-svn-id: trunk@39308 -
2018-06-26 09:49:50 +00:00
florian
78943ea843 + patch by J. Gareth Moreton: x86 optimisations for Jcc and SETcc, resolves #33899
* optimization also added for i386

git-svn-id: trunk@39307 -
2018-06-25 20:40:05 +00:00
florian
af37ca8563 - remove SetccMovbLeaveRet2SetccLeaveRet optimization, this type of code is not generated anymore for years
git-svn-id: trunk@39306 -
2018-06-25 20:40:04 +00:00
florian
1472a81768 * patch by J. Gareth Moreton to unify the x86 assembler optimizer method headers, resolves #33908
git-svn-id: trunk@39305 -
2018-06-25 20:13:34 +00:00
Mattias Gaertner
5228cada27 pas2js: set version 0.9.26
git-svn-id: trunk@39304 -
2018-06-25 18:21:04 +00:00
Mattias Gaertner
5c0a27a974 pastojs: external record field
git-svn-id: trunk@39303 -
2018-06-25 16:05:40 +00:00