Commit Graph

59811 Commits

Author SHA1 Message Date
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
svenbarth
aa95cfe0ae * move FileInfo unit and the corresponding example from fcl-base to fcl-extra
git-svn-id: trunk@46392 -
2020-08-12 19:06:57 +00:00
svenbarth
7c96b255f8 * use TFPGMap from fgl instead of TFPStringHashTable from Contnrs
git-svn-id: trunk@46391 -
2020-08-12 19:06:49 +00:00
svenbarth
7da2ee4578 * set correct compiler flags
git-svn-id: trunk@46390 -
2020-08-12 19:06:43 +00:00
svenbarth
108e78d441 * generate Makefile
git-svn-id: trunk@46389 -
2020-08-12 19:06:36 +00:00
svenbarth
cb98d97b78 * move lexlib and yacclib to their own package
git-svn-id: trunk@46388 -
2020-08-12 19:06:29 +00:00
svenbarth
5eabf9851e fcl-res, fpcres: command line switches for include and defines
Reintegrate fpcres-rc branch by Martok

git-svn-id: trunk@46387 -
2020-08-12 19:06:20 +00:00
svenbarth
a2750fc5dc fcl-res: memory management
Reintegrate fpcres-rc branch by Martok

git-svn-id: trunk@46386 -
2020-08-12 19:06:12 +00:00
svenbarth
8008f314b1 fcl-res: fix LANGUAGE attribute
Reintegrate fpcres-rc branch by Martok

git-svn-id: trunk@46385 -
2020-08-12 19:06:05 +00:00
svenbarth
81885c7e72 fcl-res: replace preproc defines with much faster hashtable
Reintegrate fpcres-rc branch by Martok

git-svn-id: trunk@46384 -
2020-08-12 19:05:57 +00:00