Commit Graph

12004 Commits

Author SHA1 Message Date
Mattias Gaertner
eec29225df fcl-passrc: generic function: inline specialize test
git-svn-id: trunk@46687 -
2020-08-25 12:58:53 +00:00
Mattias Gaertner
9ca61c10d0 fcl-passrc: generic function: inline specialize
git-svn-id: trunk@46686 -
2020-08-25 12:49:06 +00:00
pierre
4739762790 * Try to avoid deadlocks with worker threads:
* Add three separate try/except blocks:
       - Around thread create calls to handle fails in constructor
       - Around ProcessThreadResult calls
       - Around Terminate calls
    Set ErrorState and ErrorMessage if an exception is raised
    inside those try/except blocks.

git-svn-id: trunk@46684 -
2020-08-25 12:20:52 +00:00
Mattias Gaertner
0b6501fbfb fcl-passrc: test unitdot in constraint
git-svn-id: trunk@46663 -
2020-08-23 14:13:06 +00:00
Mattias Gaertner
050f1fa1f4 fcl-passrc: test TAnt<T:T>
git-svn-id: trunk@46662 -
2020-08-23 13:42:30 +00:00
michael
7759e0a222 * Patch from BaldZhang to fix checking peer certificate
git-svn-id: trunk@46540 -
2020-08-21 22:24:50 +00:00
michael
7e2dc6b345 * Removed unused assignment
git-svn-id: trunk@46534 -
2020-08-21 11:08:50 +00:00
Mattias Gaertner
c2cceaeba8 pastojs: started delay specialization
git-svn-id: trunk@46518 -
2020-08-20 17:25:51 +00:00
Mattias Gaertner
fcaf04686b fcl-passrc: check generic constraint T:T
git-svn-id: trunk@46517 -
2020-08-20 17:20:43 +00:00
Mattias Gaertner
16e50abd74 fcl-passrc: fixed memeleak when error during parsing generic constraints
git-svn-id: trunk@46516 -
2020-08-20 17:19:56 +00:00
Mattias Gaertner
89752e042d fcl-passrc: fixed anaylyzer
git-svn-id: trunk@46515 -
2020-08-20 17:18:59 +00:00
Mattias Gaertner
ccc26ad34c pastojs: compiler: reset hub
git-svn-id: trunk@46513 -
2020-08-20 16:41:46 +00:00
Mattias Gaertner
01d5519fe8 fcl-js: skip writeln test
git-svn-id: trunk@46512 -
2020-08-20 16:41:03 +00:00
Mattias Gaertner
dba6f9a828 fcl-passrc: simplify
git-svn-id: trunk@46509 -
2020-08-20 13:26:40 +00:00
Mattias Gaertner
dacf740561 fcl-passrc: resolver: FinishedInterfaceIndex
git-svn-id: trunk@46508 -
2020-08-20 13:26:09 +00:00
michael
460dc49d68 * Fix bug #37445, find resource file in subdir
git-svn-id: trunk@46502 -
2020-08-20 08:32:50 +00:00
ondrej
809db09169 sql parser: support CASE with selector (CASE A WHEN 1 THEN B ELSE C END)
git-svn-id: trunk@46489 -
2020-08-19 08:45:00 +00:00
ondrej
0b440758ea sql parser: support "SELECT 'a' 'b'" syntax (MSSQL)
git-svn-id: trunk@46472 -
2020-08-17 13:56:14 +00:00
ondrej
b814c41ea9 sql parser: support functions with identifier path (MSSQL)
git-svn-id: trunk@46467 -
2020-08-17 09:24:32 +00:00
Jonas Maebe
8d3ef67218 - disable {$optimization on} setting so the (fp)make settings are used
git-svn-id: trunk@46458 -
2020-08-16 12:29:35 +00:00
Mattias Gaertner
7e8b9122dd pastojs: started hub for shared values
git-svn-id: trunk@46452 -
2020-08-15 16:57:11 +00:00
Mattias Gaertner
db49df38bc fcl-passrc: resolver: started hub for shared values
git-svn-id: trunk@46451 -
2020-08-15 16:56:39 +00:00
marco
a9f9ee43af * fix for mantis 37573 by Sergey Larin. Manually chain coinitialize* running into the initproc chain, executing it depth first to make it as late as possible.
git-svn-id: trunk@46450 -
2020-08-15 15:21:38 +00:00
ondrej
bcde18f879 sql parser: fallback for all parser keywords to identifiers/functions if they are used in an expression (e.g. LEFT was affected)
git-svn-id: trunk@46446 -
2020-08-15 08:26:42 +00:00
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
cca2933e25 * Remove hints (by Henrique Werlang)
git-svn-id: trunk@46443 -
2020-08-15 07:30:23 +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
ondrej
9fca033ac3 sql parser: unify identifier path code
git-svn-id: trunk@46434 -
2020-08-14 17:46:38 +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
ondrej
6caf046df2 sql parser: support LIMIT for FireBird/MSSQL/Postgres/MySQL
git-svn-id: trunk@46426 -
2020-08-14 12:35:20 +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
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
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
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