Commit Graph

59920 Commits

Author SHA1 Message Date
michael
25b14f0bef * Calling conventions in casing as in Delphi, patch by Henrique Werlang, bug ID #37571
git-svn-id: trunk@46445 -
2020-08-15 07:34:43 +00:00
michael
c7841139f4 * Expose ExtraUnits, remove hardcoded DTypesUnit, patch by Henrique Werlang (bug ID 37570)
git-svn-id: trunk@46444 -
2020-08-15 07:31:43 +00:00
michael
cca2933e25 * Remove hints (by Henrique Werlang)
git-svn-id: trunk@46443 -
2020-08-15 07:30:23 +00:00
michael
9e3574027c * unit alias possibility
git-svn-id: trunk@46442 -
2020-08-15 07:26:44 +00:00
michael
cd5dcc278e * Check unit alias possibility
git-svn-id: trunk@46441 -
2020-08-15 07:25:48 +00:00
ondrej
672e59317a sql parser: add source position information to element lists
git-svn-id: trunk@46439 -
2020-08-14 19:56:36 +00:00
ondrej
98036f52be sql parser: support SELECT without a FROM clause
git-svn-id: trunk@46438 -
2020-08-14 19:23:45 +00:00
ondrej
f89650c470 sql parser: fix A*B, A/B and add tests
git-svn-id: trunk@46437 -
2020-08-14 19:14:37 +00:00
ondrej
5bac4c25e0 sql parser: support A.* syntax
git-svn-id: trunk@46436 -
2020-08-14 18:40:46 +00:00
florian
1ba8255af0 * do not try to unroll a loop if previously an error was thrown, resolves #37475
git-svn-id: trunk@46435 -
2020-08-14 18:10:56 +00:00
ondrej
9fca033ac3 sql parser: unify identifier path code
git-svn-id: trunk@46434 -
2020-08-14 17:46:38 +00:00
yury
f7d14128b5 * 8086: Do not force far calls in the TP mode by default. This is TP compatible. Other modes need forced far calls by default in order to compile non-TP code.
git-svn-id: trunk@46433 -
2020-08-14 16:56:13 +00:00
yury
9d3b105fab * msdos: By default external routine names with the pascal calling convention must be all upper case. This is TP and TASM compatible.
git-svn-id: trunk@46432 -
2020-08-14 16:21:12 +00:00
yury
631ec77157 * 8086: Fixed calling of local routines with the near attribute in the 'far code' memory models.
git-svn-id: trunk@46431 -
2020-08-14 16:17:18 +00:00
ondrej
38c7659d07 TEncoding: fix base convert functions for empty inputs
git-svn-id: trunk@46430 -
2020-08-14 14:59:05 +00:00
ondrej
56613723b9 sql parser: fix source position
git-svn-id: trunk@46429 -
2020-08-14 14:17:54 +00:00
ondrej
0fb6419edd sql parser: support CASE expression
git-svn-id: trunk@46428 -
2020-08-14 13:48:29 +00:00
yury
887de9f27c * Fixed nasm writer by adding a new line after the GLOBAL directive.
git-svn-id: trunk@46427 -
2020-08-14 13:10:12 +00:00
ondrej
6caf046df2 sql parser: support LIMIT for FireBird/MSSQL/Postgres/MySQL
git-svn-id: trunk@46426 -
2020-08-14 12:35:20 +00:00
michael
dfca0bf9c8 * Improved exception handling, patch by Henrique Werlang (bug ID 37567)
git-svn-id: trunk@46425 -
2020-08-14 10:33:07 +00:00
ondrej
0ca6707e95 sql parser: support []-identifiers
git-svn-id: trunk@46424 -
2020-08-14 10:32:37 +00:00
michael
2c545f3afe * Patch from Henrique Werlang to improve generation of IsImpl (bug ID 37510)
git-svn-id: trunk@46423 -
2020-08-14 10:24:24 +00:00
ondrej
67d2c51b8d sql parser: add test for SQL generation of fields with path
git-svn-id: trunk@46422 -
2020-08-14 10:15:40 +00:00
ondrej
97ced59af0 sql parser: support field with schema
git-svn-id: trunk@46421 -
2020-08-14 10:06:33 +00:00
ondrej
49f1d08467 sql parser: change Functions to Properties for better debugging
git-svn-id: trunk@46420 -
2020-08-14 09:03:43 +00:00
ondrej
f368c848a5 sql parser: support table with schema
git-svn-id: trunk@46419 -
2020-08-14 09:01:06 +00:00
florian
ac6f74a6a2 * patch by Christo Crause to make nostackframe with the windowed xtensa abi working, resolves #37550
git-svn-id: trunk@46417 -
2020-08-13 20:35:11 +00:00
yury
aefc1be555 * Reverted accidentally committed files.
git-svn-id: trunk@46416 -
2020-08-13 18:48:19 +00:00
yury
7b65f85a0b * Accidental commit.
git-svn-id: trunk@46415 -
2020-08-13 18:46:57 +00:00
michael
98d5654678 * Fix range check error (bug ID 37566)
git-svn-id: trunk@46414 -
2020-08-13 13:15:14 +00:00
michael
afcc7e0090 * Fix memleak
git-svn-id: trunk@46413 -
2020-08-13 10:15:19 +00:00
michael
d6760f0ded * Avoid reallocating string when parsing unicode char (bug ID 0037562)
git-svn-id: trunk@46412 -
2020-08-13 10:14:13 +00:00
svenbarth
8ae16284f2 - remove Writelns from JSONStringToString which were probably adding for debugging
git-svn-id: trunk@46411 -
2020-08-13 07:17:50 +00:00
svenbarth
17d583a419 * fix for Mantis #37559: the adjustment of the section type should only be done for internal COFF writers
git-svn-id: trunk@46410 -
2020-08-13 05:42:41 +00:00
svenbarth
dc4637862f + add a constant that describes all internal COFF writers (be it PE/COFF or not)
git-svn-id: trunk@46409 -
2020-08-13 05:42:36 +00:00
svenbarth
fbb8e161fa + add test for already fixed Mantis #37286
git-svn-id: trunk@46408 -
2020-08-13 05:42:32 +00:00
florian
43d66a4ac8 * it's usefull to enable the test for all platforms
git-svn-id: trunk@46406 -
2020-08-12 21:15:35 +00:00
florian
cdd80c131d + forgotten test
git-svn-id: trunk@46405 -
2020-08-12 21:13:58 +00:00
florian
c37f6c052e * patch by J. Gareth Moreton: fix constant handling on aarch64, resolves #37554
git-svn-id: trunk@46404 -
2020-08-12 21:13:01 +00:00
svenbarth
fab0cf9537 * regenerate msg*.inc files
git-svn-id: trunk@46403 -
2020-08-12 19:11:49 +00:00
svenbarth
352489c397 * document -FF option
git-svn-id: trunk@46402 -
2020-08-12 19:11:45 +00:00
svenbarth
4faea3a186 * fix order of options
git-svn-id: trunk@46401 -
2020-08-12 19:11:34 +00:00
Mattias Gaertner
eb1978fba6 pastojs: fixed TLibraryPas2JSCompiler.CheckUnitAlias changing size of unitname
git-svn-id: trunk@46400 -
2020-08-12 19:09:07 +00:00
svenbarth
f3541984ee * make sure that the resource compiler related globals are reset
git-svn-id: trunk@46399 -
2020-08-12 19:08:31 +00:00
svenbarth
b88d12c7b9 + add option -FF to force the use of fpcres as RC compiler
Note: if we merge this to 3.2.x then we can switch to this by default once 3.2.2 is released

git-svn-id: trunk@46398 -
2020-08-12 19:08:25 +00:00
svenbarth
f1b9989bdd * for RC files set the current directory to the directory of the RC file so that relative paths are resolved correctly
git-svn-id: trunk@46397 -
2020-08-12 19:07:24 +00:00
florian
61d44bba17 * allow iso gotos within a procedure
git-svn-id: trunk@46396 -
2020-08-12 19:07:23 +00:00
svenbarth
bd6d1e0b6a * do not automatically register the RC reader, because it captures any file, instead handle that in fpcres itself if the output format calls for it
git-svn-id: trunk@46395 -
2020-08-12 19:07:18 +00:00
svenbarth
226ee14c20 * add rcreader and rcparser with correct dependencies
git-svn-id: trunk@46394 -
2020-08-12 19:07:11 +00:00
svenbarth
d59321271b * fcl-base no longer needs to depend on fcl-res
git-svn-id: trunk@46393 -
2020-08-12 19:07:06 +00:00